Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
-
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
- is related to
-
JENKINS-25975 More reliable test infrastructure
-
- Resolved
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Issue Type | Improvement [ 4 ] | Bug [ 1 ] |
Link |
This issue is related to |
Workflow | JNJira [ 160464 ] | JNJira + In-Review [ 180362 ] |
Labels | testing workflow | pipeline testing workflow |
Labels | pipeline testing workflow | pipeline testing |
Component/s | jenkins-test-harness [ 21462 ] | |
Component/s | core [ 15593 ] |
Assignee | Jesse Glick [ jglick ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Remote Link | This issue links to "jenkins-test-harness #428 (Web Link)" [ 27706 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Released As | 1746.v2b_3c5d1983b_e | |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
The workaround is to add a DumbSlave manually.