Project

Profile

Help

Task #7496

Add failed yamls list to validate_yaml_by_pushes email

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

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

0%

Estimated time:
Target branch:
Test scenario:

http://max-tst-01.mariadb.com:8089/job/validate_yaml_by_pushes/29/console

clone https://github.com/OSLL/jjg
clone https://github.com/mariadb-corporation/maxscale-jenkins-jobs/tree/7496_failed_yamls_to_mail

cp -r maxscale-jenkins-jobs/maxscale_jobs jjg
cd jjg
./scripts/validate_yaml.sh maxscale_jobs/validate_yaml_by_pushes.yaml

Expect no errors in output.

http://max-tst-01.mariadb.com:8089/view/All/job/validate_yaml_by_pushes/63/

History

#1 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee set to Tatyana Berlenko

#2 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Tatyana Berlenko to Alexander Kaluzhny

#3 Updated by Alexander Kaluzhny over 4 years ago

  • Status changed from New to Active / In progress

#4 Updated by Alexander Kaluzhny over 4 years ago

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

#5 Updated by Alexander Kaluzhny over 4 years ago

  • Test scenario updated (diff)

#6 Updated by Mark Zaslavskiy over 4 years ago

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

Pull request does not contain any env file injection steps, may be it is missing.
Please provide examples of emails containing list of failed tests.

#7 Updated by Alexander Kaluzhny over 4 years ago

  • Status changed from New to Active / In progress

#8 Updated by Alexander Kaluzhny over 4 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

Example when all tests passed(http://maxscale-jenkins.mariadb.com:8090/view/All/job/kaluzny_test_job/71/)

kaluzny_test_job - Build # 60 - Successful:

Check console output at http://maxscale-jenkins.mariadb.com:8090/job/kaluzny_test_job/60/ to view the results.
All jobs are valid

Example when some tests failed(http://maxscale-jenkins.mariadb.com:8090/view/All/job/kaluzny_test_job/72/)

kaluzny_test_job - Build # 72 - Failure:

Check console output at http://maxscale-jenkins.mariadb.com:8090/job/kaluzny_test_job/72/ to view the results.
Failed yaml jobs:
maxscale_jobs/build_all.yaml
maxscale_jobs/build_and_performance_test.yaml
maxscale_jobs/build_and_test.yaml
maxscale_jobs/build_regular.yaml
maxscale_jobs/build.yaml
maxscale_jobs/cleanup.yaml
maxscale_jobs/clone_configuration.yaml
maxscale_jobs/collect_coredumps_for_build.yaml
maxscale_jobs/create_env.yaml
maxscale_jobs/create_snapshot.yaml
maxscale_jobs/daily_heavy_run_test.yaml
maxscale_jobs/daily_maxscale_bsl_branch_run_test.yaml
maxscale_jobs/destroy.yaml
maxscale_jobs/monitoring_of_particular_branch_set_in_maxscale-bsl.yaml
maxscale_jobs/monitor_maxscale_bsl.yaml
maxscale_jobs/performance_test.yaml
maxscale_jobs/print_branch_list.yaml
maxscale_jobs/remove_line_from_branches_file.yaml
maxscale_jobs/remove_lock_snapshot.yaml
maxscale_jobs/report_sql.yaml
maxscale_jobs/restore_snapshot.yaml
maxscale_jobs/run_named_test.yaml
maxscale_jobs/run_test_all_distros.yaml
maxscale_jobs/run_test_matrix_mysql.yaml
maxscale_jobs/run_test_matrix.yaml
maxscale_jobs/run_test_no_env_rebuild.yaml
maxscale_jobs/run_test_pre_def_template_matrix.yaml
maxscale_jobs/run_test_pre_def_template.yaml
maxscale_jobs/run_test_snapshot.yaml
maxscale_jobs/run_test.yaml
maxscale_jobs/show_IP.yaml
maxscale_jobs/smart_remove_lock_snapshot.yaml
maxscale_jobs/smart_remove_lock.yaml
maxscale_jobs/update_branches_file.yaml
maxscale_jobs/update_test_set_in_branches_file.yaml
maxscale_jobs/upgrade_test_all.yaml
maxscale_jobs/upgrade_test.yaml
maxscale_jobs/validate_yaml_by_pushes.yaml
maxscale_jobs/weekly_no_smoke_run_test.yaml
maxscale_jobs/weekly_smoke_run_test_matrix.yaml

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

#9 Updated by Mark Zaslavskiy over 4 years ago

  • Priority changed from High to Normal

#10 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Mark Zaslavskiy to Ilfat Kinyaev

#11 Updated by Ilfat Kinyaev over 4 years ago

http://maxscale-jenkins.mariadb.com:8090/view/All/job/validate_yaml_by_pushes/45/console :
+ /home/vagranttest/jjg/scripts/validate_yaml.sh maxscale_jobs/build_all.yaml
/tmp/hudson6505605497149537576.sh: line 16: /home/vagranttest/jjg/scripts/validate_yaml.sh: No such file or directory

Path changed to

/home/vagranttest/jjg/jenkins_job_gitizer/scripts/validate_yaml.sh

$HOME/jjg/jenkins_job_gitizer/scripts/validate_yaml.sh

vagranttest@maxscale-jenkins:~$ echo $HOME
/home/vagranttest
vagranttest@maxscale-jenkins:~/jjg/jenkins_job_gitizer/scripts$ ls
setup_environment.sh sync_jobs.sh validate_jobs.sh
setup_git_sync_target.sh ud_job.sh validate_yaml.sh

Before it was (http://max-tst-01.mariadb.com:8089/job/validate_yaml_by_pushes/40/console):
+ /home/vagrant/jjg/scripts/validate_yaml.sh maxscale_jobs/build.yaml

#12 Updated by Ilfat Kinyaev over 4 years ago

  • Status changed from Review to New
  • Assignee changed from Ilfat Kinyaev to Alexander Kaluzhny

Job checked, all good (just https://dev.osll.ru/issues/7496#note-11 need resolve).

#13 Updated by Alexander Kaluzhny over 4 years ago

  • Status changed from New to Active / In progress

#14 Updated by Alexander Kaluzhny over 4 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Alexander Kaluzhny to Ilfat Kinyaev

#15 Updated by pytift bot over 4 years ago

  • Status changed from Review to New

#16 Updated by pytift bot over 4 years ago

  • Assignee changed from Ilfat Kinyaev to Alexander Kaluzhny

#17 Updated by pytift bot over 4 years ago

Test failed.
Pullrequest is missed

#18 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from New to Review
  • Assignee changed from Alexander Kaluzhny to Ilfat Kinyaev

#19 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Ilfat Kinyaev to Tatyana Berlenko

#20 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Tatyana Berlenko to Mark Zaslavskiy
  • Test scenario updated (diff)

#21 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Review to Testing
  • Assignee changed from Mark Zaslavskiy to Timofey Turenko

#22 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Testing to New
  • Assignee changed from Timofey Turenko to Mark Zaslavskiy

#24 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny

#25 Updated by Mark Zaslavskiy over 4 years ago

  • Priority changed from Normal to High

#26 Updated by Alexander Kaluzhny over 4 years ago

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

#27 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Review to Testing
  • Assignee changed from Mark Zaslavskiy to Timofey Turenko

#28 Updated by Timofey Turenko over 4 years ago

  • Status changed from Testing to Closed

Also available in: Atom PDF