Skip to content

Conversation

@slonopotamus
Copy link
Contributor

@slonopotamus slonopotamus commented Sep 27, 2019

Test currently passes. This is caused by the fact that Jenkins test framework ignores exceptions happening during build process.

However, if you look at test output, you'll notice all bad effects described in JENKINS-59152:

  1. Pinging continues for a long time after "Sending interrupt signal to process"
  2. FileMonitoringTask$FileMonitoringController.cleanup fails to remove a directory because 20s timer in DurableTaskStep.Execution#stop works independently of SoftKillWaitSeconds and doesn't properly wait until processes are killed
  3. There's InterruptedException because WindowsOSProcess#killSoftly was interrupted by timeout in CpsThread#stop
  4. There's IllegalStateException from CpsStepContext#completed because CpsThread#stop attempted to complete step after it was already completed by stopTask in DurableTaskStep.Execution

References: JENKINS-59152, JENKINS-17116, jenkinsci/jenkins#4216, jenkinsci/jenkins#4225

Test currently passes. This is caused by the fact that Jenkins test framework ignores exceptions happening during build process.

However, if you look at test output, you'll notice all bad effects described in JENKINS-59152:

1. Pinging continues for a long time after "Sending interrupt signal to process"
2. FileMonitoringTask$FileMonitoringController.cleanup fails to remove a directory because 20s timer in DurableTaskStep.Execution#stop works independently of SoftKillWaitSeconds and doesn't properly wait until processes are killed
3. There's InterruptedException because WindowsOSProcess#killSoftly was interrupted by timeout in CpsThread#stop
4. There's IllegalStateException from CpsStepContext#completed because CpsThread#stop attempted to complete step after it was already completed by stopTask in DurableTaskStep.Execution

References: JENKINS-59152, JENKINS-17116, jenkinsci/jenkins#4216, jenkinsci/jenkins#4225
@slonopotamus slonopotamus deleted the mass-abort-test branch July 12, 2023 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant