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

Fix createSlave for RestartableJenkinsRule

    XMLWordPrintable

Details

    • 1746.v2b_3c5d1983b_e

    Description

      If you use JenkinsRule.createSlave (or createOnlineSlave) from a test based on RestartableJenkinsRule, it seems to work during the first session. But then the whole slave directory gets quietly deleted during the restart.

      Either this deletion should be suppressed, or there should be an alternate method to create a slave that actually survives the restart intact.

      See WorkflowTest.buildShellScriptAcrossRestart and BindingStepTest.cleanupAfterRestart.

      Attachments

        Issue Links

          Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Issue Type Improvement [ 4 ] Bug [ 1 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-25975 [ JENKINS-25975 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 160464 ] JNJira + In-Review [ 180362 ]
            abayer Andrew Bayer made changes -
            Labels testing workflow pipeline testing workflow
            abayer Andrew Bayer made changes -
            Labels pipeline testing workflow pipeline testing
            oleg_nenashev Oleg Nenashev made changes -
            Component/s jenkins-test-harness [ 21462 ]
            Component/s core [ 15593 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "jenkins-test-harness #428 (Web Link)" [ 27706 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jglick Jesse Glick made changes -
            Released As 1746.v2b_3c5d1983b_e
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

            People

              jglick Jesse Glick
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: