Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force fastFail to work for concurrent cases in Jenkins Pipeline #2829

Open
TerrenceMcGuinness-NOAA opened this issue Aug 14, 2024 · 0 comments
Assignees
Labels
CI/CD Issue related to CI/CD feature New feature or request

Comments

@TerrenceMcGuinness-NOAA
Copy link
Collaborator

TerrenceMcGuinness-NOAA commented Aug 14, 2024

What new functionality do you need?

Currently in the Jenkins Pipeline fastFail does not work with the concurrent cases that are running because the system will not kill long running jobs in the shell scripts running on remote machines. Additional code to the pipeline needs to be added that can allow these jobs on the remote machine to run in the background with the PIDs stored so they can be killed force the fastFail behavior.

What are the requirements for the new functionality?

  • fastFail works for when a case fails
  • This feature should be configurable so fastFail can be enforced not by the code manager at will.

Acceptance Criteria

The behavior can be demonstrated and tested and works on restart in a full end-to-end CI self test

Suggest a solution (optional)

  • Run run-check_ci.sh in the background with & and capture the PID in a list for each
  • In the try catch kill all those jobs and cancel all the batch processes for the entire CI
  • Run FINALIZE with the fail state saved and acted on accordingly
@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA added feature New feature or request triage Issues that are triage labels Aug 14, 2024
@TerrenceMcGuinness-NOAA TerrenceMcGuinness-NOAA added CI/CD Issue related to CI/CD and removed triage Issues that are triage labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Issue related to CI/CD feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant