-
Task
-
Resolution: Done
-
Minor
-
None
FolderTest#copyJob is failing with a NPE, due to the jobs not being copied, in newer Jenkins versions. The test does not always fail, but it does so quite frequently.
copyJob(com.cloudbees.hudson.plugins.folder.FolderTest) Time elapsed: 5.73 sec <<< ERROR! java.lang.NullPointerException at com.cloudbees.hudson.plugins.folder.FolderTest.copyJob(FolderTest.java:140)
It seems like a timing/focus issue, but I have tested different approaches (putting focus into the input field, clicking on it, adding a generous wait time) and neither of them is working. Also some weird log traces are being displayed, so maybe this should be investigated more in depth (see attached screenshot).
PS: I am using this profile to execute the test:
<profile> <id>jenkins-2.32</id> <properties> <jenkins.version>2.32.3</jenkins.version> <hpi-plugin.version>1.120</hpi-plugin.version> <stapler-plugin.version>1.17</stapler-plugin.version> <java.level>7</java.level> </properties> </profile>
- is related to
-
JENKINS-45501 cloudbees-folder is failing in the PCT against cores 2.32, 2.42 and 2.60
-
- Resolved
-
- links to