Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53810

Launch Agents fails with ERROR: null java.util.concurrent.CancellationException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
    • Environment:
    • Similar Issues:

      Description

      Launching node/agent fails with

      ERROR: null
      java.util.concurrent.CancellationException

      We have large number number of jobs in queue which gets assigned to slaves being created by Docker plugin. Even, if we try creating slave and try to launch agent, it fails.
      Note: Slave image adheres to all the requirement and works well if there is no huge queue.

      Executor Status
      SSHLauncher{host='9.47.78.144', port=32870, credentialsId='slave-test', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=210, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.NonVerifyingKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
      [09/27/18 02:53:32] [SSH] Opening SSH connection to 9.47.78.144:32870.
      [09/27/18 02:53:32] [SSH] WARNING: SSH Host Keys are not being verified. Man-in-the-middle attacks may be possible against this connection.
      [09/27/18 02:53:32] [SSH] Authentication successful.
      [09/27/18 02:53:32] [SSH] The remote user's environment is:
      BASH=/usr/bin/bash
      BASHOPTS=cmdhist:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
      BASH_ALIASES=()
      BASH_ARGC=()
      BASH_ARGV=()
      BASH_CMDS=()
      BASH_EXECUTION_STRING=set
      BASH_LINENO=()
      BASH_SOURCE=()
      BASH_VERSINFO=([0]="4" [1]="2" [2]="46" [3]="1" [4]="release" [5]="s390x-ibm-linux-gnu")
      BASH_VERSION='4.2.46(1)-release'
      DIRSTACK=()
      EUID=1000
      GROUPS=()
      HOME=/home/test
      HOSTNAME=01695f4aae73
      HOSTTYPE=s390x
      IFS=$' \t\n'
      LESSOPEN='||/usr/bin/lesspipe.sh %s'
      LOGNAME=test
      MACHTYPE=s390x-ibm-linux-gnu
      MAIL=/var/mail/test
      OPTERR=1
      OPTIND=1
      OSTYPE=linux-gnu
      PATH=/usr/local/bin:/usr/bin
      PIPESTATUS=([0]="0")
      PPID=13
      PS4='+ '
      PWD=/home/test
      SHELL=/bin/bash
      SHELLOPTS=braceexpand:hashall:interactive-comments
      SHLVL=1
      SSH_CLIENT='9.42.27.56 44378 22'
      SSH_CONNECTION='9.42.27.56 44378 172.17.0.2 22'
      TERM=dumb
      UID=1000
      USER=test
      _=sudo
      [09/27/18 02:53:32] [SSH] Checking java version of /home/test/jdk/bin/java
      Couldn't figure out the Java version of /home/test/jdk/bin/java
      bash: /home/test/jdk/bin/java: No such file or directory
      
      [09/27/18 02:53:33] [SSH] Checking java version of java
      [09/27/18 02:53:34] [SSH] java -version returned 1.8.0_151.
      [09/27/18 02:53:34] [SSH] Starting sftp client.
      [09/27/18 02:53:34] [SSH] Copying latest remoting.jar...
      [09/27/18 02:53:36] [SSH] Copied 776,265 bytes.
      Expanded the channel window size to 4MB
      [09/27/18 02:53:36] [SSH] Starting agent process: cd "/home/test" && java  -jar remoting.jar -workDir /home/test
      Sep 27, 2018 6:54:09 AM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
      INFO: Using /home/test/remoting as a remoting work directory
      Both error and output logs will be printed to /home/test/remoting
      ERROR: null
      java.util.concurrent.CancellationException
      	at java.util.concurrent.FutureTask.report(FutureTask.java:121)
      	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
      	at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:904)
      	at hudson.slaves.DelegatingComputerLauncher.launch(DelegatingComputerLauncher.java:64)
      	at io.jenkins.docker.connector.DockerComputerConnector$1.launch(DockerComputerConnector.java:117)
      	at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:294)
      	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      	at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      [09/27/18 02:57:02] Launch failed - cleaning up connection
      Slave JVM has not reported exit code. Is it still running?
      [09/27/18 02:57:02] [SSH] Connection closed.
      
      
      

        Attachments

          Issue Links

            Activity

            Hide
            ifernandezcalvo Ivan Fernandez Calvo added a comment -

            yong wu Could you grab a thread dump meanwhile the agent is stuck trying to start? I see in the log that you have about a minute to get it

            https://wiki.jenkins.io/display/JENKINS/Obtaining+a+thread+dump

            Show
            ifernandezcalvo Ivan Fernandez Calvo added a comment - yong wu Could you grab a thread dump meanwhile the agent is stuck trying to start? I see in the log that you have about a minute to get it https://wiki.jenkins.io/display/JENKINS/Obtaining+a+thread+dump
            Hide
            kraxel72 Gerd Hoffmann added a comment -

            I see the agent fail with the same stacktrace, thread dump below

            --------------------------------- cut here ------------------------------
            [11/29/18 14:35:45] [SSH] Checking java version of java
            [11/29/18 14:35:45] [SSH] java -version returned 1.8.0_191.
            [11/29/18 14:35:45] [SSH] Starting sftp client.
            [11/29/18 14:35:45] [SSH] Copying latest remoting.jar...
            [11/29/18 14:35:45] [SSH] Copied 776,717 bytes.
            Expanded the channel window size to 4MB
            [11/29/18 14:35:45] [SSH] Starting agent process: cd "/home/jenkins" && java -jar remoting.jar -workDir /home/jenkins

            Nov 29, 2018 2:35:50 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir
            INFO: Using /home/jenkins/remoting as a remoting work directory
            Both error and output logs will be printed to /home/jenkins/remoting

            2018-11-29 14:36:18
            Full thread dump OpenJDK Zero VM (25.191-b12 interpreted mode):

            "Service Thread" #5 daemon prio=9 os_prio=0 tid=0xb62d2cb8 nid=0x6692 runnable [0x00000000]
            java.lang.Thread.State: RUNNABLE

            "Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0xb62d0530 nid=0x6691 waiting on condition [0x00000000]
            java.lang.Thread.State: RUNNABLE

            "Finalizer" #3 daemon prio=8 os_prio=0 tid=0xb62b4ba0 nid=0x6690 in Object.wait() [0xa34fe000]
            java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)

            • waiting on <0xa9718618> (a java.lang.ref.ReferenceQueue$Lock)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
            • locked <0xa9718618> (a java.lang.ref.ReferenceQueue$Lock)
              at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
              at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)

            "Reference Handler" #2 daemon prio=10 os_prio=0 tid=0xb62b2160 nid=0x668f in Object.wait() [0xa37fe000]
            java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)

            • waiting on <0xa97187b8> (a java.lang.ref.Reference$Lock)
              at java.lang.Object.wait(Object.java:502)
              at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
            • locked <0xa97187b8> (a java.lang.ref.Reference$Lock)
              at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

            "main" #1 prio=5 os_prio=0 tid=0xb6246b10 nid=0x668d runnable [0xb6562000]
            java.lang.Thread.State: RUNNABLE
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3782)
            at java.util.regex.Pattern$Curly.match0(Pattern.java:4262)
            at java.util.regex.Pattern$Curly.match(Pattern.java:4236)
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Loop.match(Pattern.java:4787)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
            at java.util.regex.Pattern$Curly.match0(Pattern.java:4274)
            at java.util.regex.Pattern$Curly.match(Pattern.java:4236)
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Loop.match(Pattern.java:4787)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
            at java.util.regex.Pattern$Curly.match0(Pattern.java:4274)
            at java.util.regex.Pattern$Curly.match(Pattern.java:4236)
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Loop.match(Pattern.java:4787)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
            at java.util.regex.Pattern$Curly.match0(Pattern.java:4274)
            at java.util.regex.Pattern$Curly.match(Pattern.java:4236)
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Loop.match(Pattern.java:4787)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
            at java.util.regex.Pattern$Curly.match0(Pattern.java:4274)
            at java.util.regex.Pattern$Curly.match(Pattern.java:4236)
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Loop.match(Pattern.java:4787)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
            at java.util.regex.Pattern$Curly.match0(Pattern.java:4274)
            at java.util.regex.Pattern$Curly.match(Pattern.java:4236)
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Loop.match(Pattern.java:4787)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$BranchConn.match(Pattern.java:4570)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$BranchConn.match(Pattern.java:4570)
            at java.util.regex.Pattern$Slice.match(Pattern.java:3974)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4606)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4606)
            at java.util.regex.Pattern$Curly.match0(Pattern.java:4274)
            at java.util.regex.Pattern$Curly.match(Pattern.java:4236)
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Loop.match(Pattern.java:4787)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
            at java.util.regex.Pattern$Curly.match0(Pattern.java:4274)
            at java.util.regex.Pattern$Curly.match(Pattern.java:4236)
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Loop.match(Pattern.java:4787)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
            at java.util.regex.Pattern$Curly.match0(Pattern.java:4274)
            at java.util.regex.Pattern$Curly.match(Pattern.java:4236)
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Loop.match(Pattern.java:4787)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$BranchConn.match(Pattern.java:4570)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$BranchConn.match(Pattern.java:4570)
            at java.util.regex.Pattern$Slice.match(Pattern.java:3974)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4606)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4606)
            at java.util.regex.Pattern$Curly.match0(Pattern.java:4274)
            at java.util.regex.Pattern$Curly.match(Pattern.java:4236)
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Loop.match(Pattern.java:4787)
            at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719)
            at java.util.regex.Pattern$Branch.match(Pattern.java:4604)
            at java.util.regex.Pattern$Curly.match0(Pattern.java:4274)
            at java.util.regex.Pattern$Curly.match(Pattern.java:4236)
            at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$Loop.matchInit(Pattern.java:4803)
            at java.util.regex.Pattern$Prolog.match(Pattern.java:4743)
            at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660)
            at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3800)
            at java.util.regex.Pattern$Begin.match(Pattern.java:3527)
            at java.util.regex.Matcher.match(Matcher.java:1270)
            at java.util.regex.Matcher.matches(Matcher.java:604)
            at hudson.remoting.ClassFilter$RegExpClassFilter.add(ClassFilter.java:270)
            at hudson.remoting.ClassFilter$RegExpClassFilter.<init>(ClassFilter.java:264)
            at hudson.remoting.ClassFilter.createDefaultInstance(ClassFilter.java:191)
            at hudson.remoting.ClassFilter.<clinit>(ClassFilter.java:147)
            at hudson.remoting.ChannelBuilder.<init>(ChannelBuilder.java:59)
            at hudson.remoting.Launcher.main(Launcher.java:734)
            at hudson.remoting.Launcher.runWithStdinStdout(Launcher.java:691)
            at hudson.remoting.Launcher.run(Launcher.java:373)
            at hudson.remoting.Launcher.main(Launcher.java:283)

            "VM Thread" os_prio=0 tid=0xb629ad60 nid=0x668e runnable

            "VM Periodic Task Thread" os_prio=0 tid=0xb62d4590 nid=0x6693 waiting on condition

            JNI global references: 316

            Heap
            def new generation total 4992K, used 2007K [0xa4000000, 0xa4560000, 0xa9550000)
            eden space 4480K, 44% used [0xa4000000, 0xa41f5c30, 0xa4460000)
            from space 512K, 0% used [0xa4460000, 0xa4460000, 0xa44e0000)
            to space 512K, 0% used [0xa44e0000, 0xa44e0000, 0xa4560000)
            tenured generation total 10944K, used 2165K [0xa9550000, 0xaa000000, 0xb4000000)
            the space 10944K, 19% used [0xa9550000, 0xa976d588, 0xa976d600, 0xaa000000)
            Metaspace used 5424K, capacity 5565K, committed 5680K, reserved 6448K

            Show
            kraxel72 Gerd Hoffmann added a comment - I see the agent fail with the same stacktrace, thread dump below --------------------------------- cut here ------------------------------ [11/29/18 14:35:45] [SSH] Checking java version of java [11/29/18 14:35:45] [SSH] java -version returned 1.8.0_191. [11/29/18 14:35:45] [SSH] Starting sftp client. [11/29/18 14:35:45] [SSH] Copying latest remoting.jar... [11/29/18 14:35:45] [SSH] Copied 776,717 bytes. Expanded the channel window size to 4MB [11/29/18 14:35:45] [SSH] Starting agent process: cd "/home/jenkins" && java -jar remoting.jar -workDir /home/jenkins Nov 29, 2018 2:35:50 PM org.jenkinsci.remoting.engine.WorkDirManager initializeWorkDir INFO: Using /home/jenkins/remoting as a remoting work directory Both error and output logs will be printed to /home/jenkins/remoting 2018-11-29 14:36:18 Full thread dump OpenJDK Zero VM (25.191-b12 interpreted mode): "Service Thread" #5 daemon prio=9 os_prio=0 tid=0xb62d2cb8 nid=0x6692 runnable [0x00000000] java.lang.Thread.State: RUNNABLE "Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0xb62d0530 nid=0x6691 waiting on condition [0x00000000] java.lang.Thread.State: RUNNABLE "Finalizer" #3 daemon prio=8 os_prio=0 tid=0xb62b4ba0 nid=0x6690 in Object.wait() [0xa34fe000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) waiting on <0xa9718618> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144) locked <0xa9718618> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216) "Reference Handler" #2 daemon prio=10 os_prio=0 tid=0xb62b2160 nid=0x668f in Object.wait() [0xa37fe000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) waiting on <0xa97187b8> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:502) at java.lang.ref.Reference.tryHandlePending(Reference.java:191) locked <0xa97187b8> (a java.lang.ref.Reference$Lock) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153) "main" #1 prio=5 os_prio=0 tid=0xb6246b10 nid=0x668d runnable [0xb6562000] java.lang.Thread.State: RUNNABLE at java.util.regex.Pattern$CharProperty.match(Pattern.java:3782) at java.util.regex.Pattern$Curly.match0(Pattern.java:4262) at java.util.regex.Pattern$Curly.match(Pattern.java:4236) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Loop.match(Pattern.java:4787) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$Branch.match(Pattern.java:4604) at java.util.regex.Pattern$Curly.match0(Pattern.java:4274) at java.util.regex.Pattern$Curly.match(Pattern.java:4236) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Loop.match(Pattern.java:4787) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$Branch.match(Pattern.java:4604) at java.util.regex.Pattern$Curly.match0(Pattern.java:4274) at java.util.regex.Pattern$Curly.match(Pattern.java:4236) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Loop.match(Pattern.java:4787) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$Branch.match(Pattern.java:4604) at java.util.regex.Pattern$Curly.match0(Pattern.java:4274) at java.util.regex.Pattern$Curly.match(Pattern.java:4236) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Loop.match(Pattern.java:4787) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$Branch.match(Pattern.java:4604) at java.util.regex.Pattern$Curly.match0(Pattern.java:4274) at java.util.regex.Pattern$Curly.match(Pattern.java:4236) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Loop.match(Pattern.java:4787) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$Branch.match(Pattern.java:4604) at java.util.regex.Pattern$Curly.match0(Pattern.java:4274) at java.util.regex.Pattern$Curly.match(Pattern.java:4236) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Loop.match(Pattern.java:4787) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$BranchConn.match(Pattern.java:4570) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$BranchConn.match(Pattern.java:4570) at java.util.regex.Pattern$Slice.match(Pattern.java:3974) at java.util.regex.Pattern$Branch.match(Pattern.java:4606) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Branch.match(Pattern.java:4606) at java.util.regex.Pattern$Curly.match0(Pattern.java:4274) at java.util.regex.Pattern$Curly.match(Pattern.java:4236) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Loop.match(Pattern.java:4787) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$Branch.match(Pattern.java:4604) at java.util.regex.Pattern$Curly.match0(Pattern.java:4274) at java.util.regex.Pattern$Curly.match(Pattern.java:4236) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Loop.match(Pattern.java:4787) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$Branch.match(Pattern.java:4604) at java.util.regex.Pattern$Curly.match0(Pattern.java:4274) at java.util.regex.Pattern$Curly.match(Pattern.java:4236) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Loop.match(Pattern.java:4787) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$BranchConn.match(Pattern.java:4570) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$BranchConn.match(Pattern.java:4570) at java.util.regex.Pattern$Slice.match(Pattern.java:3974) at java.util.regex.Pattern$Branch.match(Pattern.java:4606) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Branch.match(Pattern.java:4606) at java.util.regex.Pattern$Curly.match0(Pattern.java:4274) at java.util.regex.Pattern$Curly.match(Pattern.java:4236) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Loop.match(Pattern.java:4787) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4719) at java.util.regex.Pattern$Branch.match(Pattern.java:4604) at java.util.regex.Pattern$Curly.match0(Pattern.java:4274) at java.util.regex.Pattern$Curly.match(Pattern.java:4236) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3779) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$Loop.matchInit(Pattern.java:4803) at java.util.regex.Pattern$Prolog.match(Pattern.java:4743) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4660) at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3800) at java.util.regex.Pattern$Begin.match(Pattern.java:3527) at java.util.regex.Matcher.match(Matcher.java:1270) at java.util.regex.Matcher.matches(Matcher.java:604) at hudson.remoting.ClassFilter$RegExpClassFilter.add(ClassFilter.java:270) at hudson.remoting.ClassFilter$RegExpClassFilter.<init>(ClassFilter.java:264) at hudson.remoting.ClassFilter.createDefaultInstance(ClassFilter.java:191) at hudson.remoting.ClassFilter.<clinit>(ClassFilter.java:147) at hudson.remoting.ChannelBuilder.<init>(ChannelBuilder.java:59) at hudson.remoting.Launcher.main(Launcher.java:734) at hudson.remoting.Launcher.runWithStdinStdout(Launcher.java:691) at hudson.remoting.Launcher.run(Launcher.java:373) at hudson.remoting.Launcher.main(Launcher.java:283) "VM Thread" os_prio=0 tid=0xb629ad60 nid=0x668e runnable "VM Periodic Task Thread" os_prio=0 tid=0xb62d4590 nid=0x6693 waiting on condition JNI global references: 316 Heap def new generation total 4992K, used 2007K [0xa4000000, 0xa4560000, 0xa9550000) eden space 4480K, 44% used [0xa4000000, 0xa41f5c30, 0xa4460000) from space 512K, 0% used [0xa4460000, 0xa4460000, 0xa44e0000) to space 512K, 0% used [0xa44e0000, 0xa44e0000, 0xa4560000) tenured generation total 10944K, used 2165K [0xa9550000, 0xaa000000, 0xb4000000) the space 10944K, 19% used [0xa9550000, 0xa976d588, 0xa976d600, 0xaa000000) Metaspace used 5424K, capacity 5565K, committed 5680K, reserved 6448K
            Hide
            ifernandezcalvo Ivan Fernandez Calvo added a comment -

            Jeff Thompson Jesse Glick Could the ClassFilter block the agent launch? the stack trace that Gerd Hoffmann post in the previous comment it is really near to the error but I am not sure if it could be the RC.

            Show
            ifernandezcalvo Ivan Fernandez Calvo added a comment - Jeff Thompson Jesse Glick Could the ClassFilter block the agent launch? the stack trace that Gerd Hoffmann post in the previous comment it is really near to the error but I am not sure if it could be the RC.
            Hide
            jglick Jesse Glick added a comment -

            Not sure what would cause that. This is within ClassFilter.createDefaultInstance using the DEFAULT_PATTERNS, so it should not behave differently in one environment than another.

            Show
            jglick Jesse Glick added a comment - Not sure what would cause that. This is within ClassFilter.createDefaultInstance using the DEFAULT_PATTERNS , so it should not behave differently in one environment than another.
            Hide
            jthompson Jeff Thompson added a comment -

            I can't see how ClassFilter could cause that, either. It may take a little bit of time to process those patterns though it still shouldn't be very long.

            Show
            jthompson Jeff Thompson added a comment - I can't see how ClassFilter could cause that, either. It may take a little bit of time to process those patterns though it still shouldn't be very long.

              People

              • Assignee:
                ifernandezcalvo Ivan Fernandez Calvo
                Reporter:
                durgadas Durgadas Kamath
              • Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: