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

FolderTest#copyJob is failing for 2.32 and 2.46

    Details

    • Similar Issues:

      Description

      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>
      

        Attachments

          Issue Links

            Activity

            egutierrez Evaristo Gutierrez created issue -
            egutierrez Evaristo Gutierrez made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            egutierrez Evaristo Gutierrez made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            egutierrez Evaristo Gutierrez made changes -
            Remote Link This issue links to "cloudbees-folder plugin PR #84 (Web Link)" [ 15311 ]
            egutierrez Evaristo Gutierrez made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rarabaolaza Raul Arabaolaza made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            Assignee Evaristo Gutierrez [ egutierrez ] Raul Arabaolaza [ rarabaolaza ]
            egutierrez Evaristo Gutierrez made changes -
            Summary Fix PCT for 2.32.1 FolderTest#copyJob is failing for 2.32 and 2.46
            egutierrez Evaristo Gutierrez made changes -
            Description FolderTest#copyJob is failing with a NullPointerException when jenkins.version=2.32.1


            {code:java}
            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)
            {code}
            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.
            {code:java}
            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)
            {code}
            It seems like a timing/focus issue, but I have tested different approaches and neither of them is working. Also some weird log traces are being displayed, so maybe this should be investigated more in depth.

             
            egutierrez Evaristo Gutierrez made changes -
            egutierrez Evaristo Gutierrez made changes -
            Description 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.
            {code:java}
            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)
            {code}
            It seems like a timing/focus issue, but I have tested different approaches and neither of them is working. Also some weird log traces are being displayed, so maybe this should be investigated more in depth.

             
            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.
            {code:java}
            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)
            {code}
            It seems like a timing/focus issue, but I have tested different approaches 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).

             

             
            egutierrez Evaristo Gutierrez made changes -
            Description 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.
            {code:java}
            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)
            {code}
            It seems like a timing/focus issue, but I have tested different approaches 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).

             

             
            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.
            {code:java}
            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)
            {code}
            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).

             

             
            egutierrez Evaristo Gutierrez made changes -
            Description 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.
            {code:java}
            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)
            {code}
            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).

             

             
            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.
            {code:java}
            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)
            {code}
            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:
            {code:java}
            <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>
            {code}
             

             
            egutierrez Evaristo Gutierrez made changes -
            Description 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.
            {code:java}
            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)
            {code}
            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:
            {code:java}
            <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>
            {code}
             

             
            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.
            {code:java}
            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)
            {code}
            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:
            {code:java}
            <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>
            {code}
            rarabaolaza Raul Arabaolaza made changes -
            Assignee Raul Arabaolaza [ rarabaolaza ]
            rarabaolaza Raul Arabaolaza made changes -
            Link This issue is related to JENKINS-45501 [ JENKINS-45501 ]
            rarabaolaza Raul Arabaolaza made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Assignee Raul Arabaolaza [ rarabaolaza ]
            Resolution Done [ 10000 ]

              People

              • Assignee:
                rarabaolaza Raul Arabaolaza
                Reporter:
                egutierrez Evaristo Gutierrez
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: