Project

Profile

Help

Task #7895

Cascade task abort

Added by Mark Zaslavskiy over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Timofey Turenko
Category:
jenkins_jobs
Sprint/Milestone:
Start date:
09.01.2017
Due date:
% Done:

100%

Estimated time:
Target branch:
Test scenario:

To test new job run http://maxscale-jenkins.mariadb.com:8090/job/7895_build_all/ and abort in a few seconds (wait anough time until 3 jobs of http://maxscale-jenkins.mariadb.com:8090/job/7895_build/ starts)
check console output of http://maxscale-jenkins.mariadb.com:8090/job/7895_build_all/ there, after abortion notice, should be scheduled another job http://maxscale-jenkins.mariadb.com:8090/job/7895_parametrized_triggerred_subjobs_killer/ which will kill all 3 jobs of http://maxscale-jenkins.mariadb.com:8090/job/7895_build/ they should be aborted (may be it will take a few seconds)

https://github.com/mariadb-corporation/maxscale-jenkins-jobs/pull/149/files


Description

- Не убиваются подзадачи для build_all (применимо ко многим задачам), проверить как можно реализовать остановки подзадач остановив родительскую задачу

History

#1 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny

#2 Updated by Alexander Kaluzhny about 4 years ago

  • Status changed from New to Active / In progress

#3 Updated by Alexander Kaluzhny about 4 years ago

#4 Updated by Alexander Kaluzhny about 4 years ago

Managed to create groovy script for getting live jobs, next step to get upstream job id or find out how to get triggered jobs numbers

#5 Updated by Alexander Kaluzhny about 4 years ago

Alexander Kaluzhny wrote:

Managed to create groovy script for getting live jobs, next step to get upstream job id or find out how to get triggered jobs numbers

http://maxscale-jenkins.mariadb.com:8090/job/7895_build_all/search/?q=7895

#6 Updated by Alexander Kaluzhny about 4 years ago

  • % Done changed from 0 to 50

Job that removes subjobs http://maxscale-jenkins.mariadb.com:8090/job/7895_child_jobs/66/console expects job name and job number which subjobs needs to be deleted.

Solution needs to be added to next tasks: build_all, run_test_matrix*, upgrade_test_all*

#7 Updated by Alexander Kaluzhny about 4 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy
  • Test scenario updated (diff)

To test new job run http://maxscale-jenkins.mariadb.com:8090/job/7895_build_all/ and abort in a few seconds (wait anough time until 3 jobs of http://maxscale-jenkins.mariadb.com:8090/job/7895_build/ starts)
check console output of http://maxscale-jenkins.mariadb.com:8090/job/7895_build_all/ there, after abortion notice, should be scheduled another job http://maxscale-jenkins.mariadb.com:8090/job/7895_parametrized_triggerred_subjobs_killer/ which will kill all 3 jobs of http://maxscale-jenkins.mariadb.com:8090/job/7895_build/ they should be aborted (may be it will take a few seconds)

https://github.com/mariadb-corporation/maxscale-jenkins-jobs/pull/149/files

#8 Updated by Alexander Kaluzhny about 4 years ago

  • % Done changed from 50 to 100

#9 Updated by Mark Zaslavskiy about 4 years ago

  • Status changed from Review to New
  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny

#10 Updated by Alexander Kaluzhny about 4 years ago

  • Status changed from New to Review
  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

Mark Zaslavskiy wrote:

Fail http://maxscale-jenkins.mariadb.com:8090/job/7895_parametrized_triggerred_subjobs_killer/1/console

Fixed.

Testing: run build_all wait until buld job tasks start, then run 7895_parametrized_triggerred_subjobs_killer

#11 Updated by Mark Zaslavskiy about 4 years ago

  • Status changed from Review to Testing

#12 Updated by Mark Zaslavskiy about 4 years ago

  • Assignee changed from Mark Zaslavskiy to Timofey Turenko

#13 Updated by Timofey Turenko about 4 years ago

closing, but one issue is https://dev.osll.ru/issues/8047

#14 Updated by Timofey Turenko about 4 years ago

  • Status changed from Testing to Closed

Also available in: Atom PDF