Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-19702

Out of memory errors on H23

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Jenkins
    • Labels:
      None
    • Project:
      Kafka

      Description

      Started seeing consistent failures for jenkins jobs running on H23. Not sure if that's the only node affected. For example: https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/4190/console.

      {code}
      15:50:57 Building remotely on H23 (ubuntu) in workspace /home/jenkins/jenkins-slave/workspace/kafka-pr-jdk11-scala2.13
      15:50:57 [WS-CLEANUP] Deleting project workspace...
      15:50:57 [WS-CLEANUP] Deferred wipeout is used...
      15:50:58 [WS-CLEANUP] Done
      15:51:02 No credentials specified
      15:51:02 Wiping out workspace first.
      15:51:03 Cloning the remote Git repository
      15:51:03 Cloning repository git://github.com/apache/kafka.git
      15:51:03 > git init /home/jenkins/jenkins-slave/workspace/kafka-pr-jdk11-scala2.13 # timeout=10
      15:51:04 Fetching upstream changes from git://github.com/apache/kafka.git
      15:51:04 > git --version # timeout=10
      15:51:04 > git fetch --tags --progress -- git://github.com/apache/kafka.git +refs/heads/*:refs/remotes/origin/*
      15:51:13 > git config remote.origin.url git://github.com/apache/kafka.git # timeout=10
      15:51:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
      15:51:13 > git config remote.origin.url git://github.com/apache/kafka.git # timeout=10
      15:51:13 Fetching upstream changes from git://github.com/apache/kafka.git
      15:51:13 > git fetch --tags --progress -- git://github.com/apache/kafka.git +refs/heads/*:refs/remotes/origin/* +refs/pull/*:refs/remotes/origin/pr/*
      15:51:56 > git rev-parse refs/remotes/origin/pr/7924/merge^{commit} # timeout=10
      15:51:56 > git rev-parse refs/remotes/origin/origin/pr/7924/merge^{commit} # timeout=10
      15:51:56 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://wiki.jenkins-ci.org/display/JENKINS/Remove+Git+Plugin+BuildsByBranch+BuildData
      15:51:56 Checking out Revision 9d90463e662965ab0accb831e7cb2cc8cfe77b94 (refs/remotes/origin/pr/7924/merge)
      15:51:57 > git config core.sparsecheckout # timeout=10
      15:51:57 > git checkout -f 9d90463e662965ab0accb831e7cb2cc8cfe77b94
      15:52:13 Commit message: "Merge 137563e19e1c116edc0818e57b7c1b4f7c97d115 into be4f50e7fdda4b22781ce0dae3e19d385e244400"
      15:52:13 First time build. Skipping changelog.
      15:52:14 Setting MAVEN_LATEST__HOME=/home/jenkins/tools/maven/latest/
      15:52:14 Setting GRADLE_4_10_3_HOME=/home/jenkins/tools/gradle/4.10.3
      15:52:14 [kafka-pr-jdk11-scala2.13] $ /bin/bash -xe /tmp/jenkins5773076891576132166.sh
      15:52:14 + rm -rf /home/jenkins/jenkins-slave/workspace/kafka-pr-jdk11-scala2.13/.gradle
      15:52:15 Setting MAVEN_LATEST__HOME=/home/jenkins/tools/maven/latest/
      15:52:15 Setting GRADLE_4_10_3_HOME=/home/jenkins/tools/gradle/4.10.3
      15:52:15 [kafka-pr-jdk11-scala2.13] $ /bin/bash -xe /tmp/jenkins741872601233453343.sh
      15:52:15 + export GRADLE_OPTS=-Xmx1024m
      15:52:15 + GRADLE_OPTS=-Xmx1024m
      15:52:15 + ./jenkins.sh -PmaxParallelForks=2 -PscalaVersion=2.13
      15:52:15 [0.049s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 0k, detached.
      15:52:15 Error occurred during initialization of VM
      15:52:15 java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
      {code}

        Attachments

          Activity

            People

            • Assignee:
              cml Chris Lambertus
              Reporter:
              hachikuji Jason Gustafson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: