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

CpsFlowExecutionTest#loaderReleased times out with jenkins-test-harness 2.25+

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When moving to plugin parent 2.35, I discovered that CpsFlowExecutionTest#loaderReleased hangs - it loops forever with the following in the console:

      Skipped analysing class java.lang.reflect.Proxy because of java.lang.AssertionError
      [...]
      Skipped analysing class java.lang.reflect.Proxy because of java.lang.AssertionError
      Skipped analysing class hudson.model.Descriptor$PropertyType because of java.lang.AssertionError
      [...]
      Skipped analysing class hudson.model.Descriptor$PropertyType because of java.lang.AssertionError
      Failed analysing class org.kohsuke.stapler.JRebelFacet$ReloaderHook because of java.lang.NoClassDefFoundError: org/zeroturnaround/javarebel/ClassEventListener
      Failed to read field static final sun.awt.datatransfer.ToolkitThreadBlockedHandler sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.handler because of java.lang.NoClassDefFoundError: Could not initialize class sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher
      Failed to read field public static final hudson.util.jna.GNUCLibrary hudson.util.jna.GNUCLibrary.LIBC because of java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.GNUCLibrary
      Failed analysing class org.kohsuke.stapler.JRebelFacet$ReloaderHook because of java.lang.NoClassDefFoundError: org/zeroturnaround/javarebel/ClassEventListener
      Failed to read field private static final org.jvnet.solaris.libzfs.LibZFS hudson.os.solaris.ZFSProvisioner.libzfs because of java.lang.NoClassDefFoundError: Could not initialize class hudson.os.solaris.ZFSProvisioner
      Failed to read field public static final org.jvnet.solaris.libzfs.jna.libzfs org.jvnet.solaris.libzfs.jna.libzfs.LIBZFS because of java.lang.NoClassDefFoundError: Could not initialize class org.jvnet.solaris.libzfs.jna.libzfs
      Failed to read field public static final java.lang.String org.jvnet.solaris.libzfs.jna.libzfs.ZFS_MOUNTPOINT_NONE because of java.lang.NoClassDefFoundError: Could not initialize class org.jvnet.solaris.libzfs.jna.libzfs
      Failed to read field public static final java.lang.String org.jvnet.solaris.libzfs.jna.libzfs.ZFS_MOUNTPOINT_LEGACY because of java.lang.NoClassDefFoundError: Could not initialize class org.jvnet.solaris.libzfs.jna.libzfs
      GC after allocation of size 2249
      Failed analysing class org.kohsuke.stapler.JRebelFacet$ReloaderHook because of java.lang.NoClassDefFoundError: org/zeroturnaround/javarebel/ClassEventListener
      Failed to read field static final sun.awt.datatransfer.ToolkitThreadBlockedHandler sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.handler because of java.lang.NoClassDefFoundError: Could not initialize class sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher
      Failed to read field public static final hudson.util.jna.GNUCLibrary hudson.util.jna.GNUCLibrary.LIBC because of java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.GNUCLibrary
      Failed analysing class org.kohsuke.stapler.JRebelFacet$ReloaderHook because of java.lang.NoClassDefFoundError: org/zeroturnaround/javarebel/ClassEventListener
      Failed to read field private static final org.jvnet.solaris.libzfs.LibZFS hudson.os.solaris.ZFSProvisioner.libzfs because of java.lang.NoClassDefFoundError: Could not initialize class hudson.os.solaris.ZFSProvisioner
      Failed to read field public static final org.jvnet.solaris.libzfs.jna.libzfs org.jvnet.solaris.libzfs.jna.libzfs.LIBZFS because of java.lang.NoClassDefFoundError: Could not initialize class org.jvnet.solaris.libzfs.jna.libzfs
      Failed to read field public static final java.lang.String org.jvnet.solaris.libzfs.jna.libzfs.ZFS_MOUNTPOINT_NONE because of java.lang.NoClassDefFoundError: Could not initialize class org.jvnet.solaris.libzfs.jna.libzfs
      Failed to read field public static final java.lang.String org.jvnet.solaris.libzfs.jna.libzfs.ZFS_MOUNTPOINT_LEGACY because of java.lang.NoClassDefFoundError: Could not initialize class org.jvnet.solaris.libzfs.jna.libzfs
      

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Saw a failure when running the whole test suite, as opposed to the single test case. Right now I am trying to track down why LoggerRule is not working.

            Show
            jglick Jesse Glick added a comment - Saw a failure when running the whole test suite, as opposed to the single test case. Right now I am trying to track down why LoggerRule is not working.
            Hide
            jglick Jesse Glick added a comment -

            I think I have a lead: the test fails iff trustedShell is run first.

            Show
            jglick Jesse Glick added a comment - I think I have a lead: the test fails iff trustedShell is run first.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            Jenkinsfile
            pom.xml
            http://jenkins-ci.org/commit/workflow-cps-plugin/942402131d84b961a268a2100a945b3897f121ff
            Log:
            JENKINS-47105 Checking effect of updated parent.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: Jenkinsfile pom.xml http://jenkins-ci.org/commit/workflow-cps-plugin/942402131d84b961a268a2100a945b3897f121ff Log: JENKINS-47105 Checking effect of updated parent.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Sam Van Oort
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java
            src/test/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecutionMemoryTest.java
            src/test/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecutionTest.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/bbf99da6739b37bbaaba21993f4b8a3604224969
            Log:
            Merge pull request #178 from jglick/parent-JENKINS-47105

            JENKINS-47105 Fixing test failure in loaderReleased

            Compare: https://github.com/jenkinsci/workflow-cps-plugin/compare/aa4c4e78ecf7...bbf99da6739b

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Sam Van Oort Path: pom.xml src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java src/test/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecutionMemoryTest.java src/test/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecutionTest.java http://jenkins-ci.org/commit/workflow-cps-plugin/bbf99da6739b37bbaaba21993f4b8a3604224969 Log: Merge pull request #178 from jglick/parent- JENKINS-47105 JENKINS-47105 Fixing test failure in loaderReleased Compare: https://github.com/jenkinsci/workflow-cps-plugin/compare/aa4c4e78ecf7...bbf99da6739b
            Hide
            abayer Andrew Bayer added a comment -

            Jesse Glick So should this be resolved?

            Show
            abayer Andrew Bayer added a comment - Jesse Glick So should this be resolved?

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                abayer Andrew Bayer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: