Project

Profile

Help

Task #7227

Create jenkins job which will up maxscale machine from given config and copy there all coredumps from given builds

Added by Mark Zaslavskiy almost 5 years ago. Updated almost 5 years ago.

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

0%

Estimated time:
2:00 h
Target branch:
Test scenario:

Test scenario for coredump_finder.sh (perform on max-tst01)

1. Run

./scripts/build_parser/coredump_finder.sh matrix-11 file

Expected results (may differ)

./backend=mariadb-10.0,box=sles_12_aws-11/LOGS/mxs711_two_ports/core-maxscale-11-494-491-9464-1468683964
./backend=mariadb-10.0,box=sles_12_aws-11/LOGS/mxs710_bad_socket/core-maxscale-11-494-491-8594-1468683894
./backend=mariadb-10.0,box=sles_12_aws-11/LOGS/mxs598/core-maxscale-11-494-491-18028-1468684882
./backend=mariadb-10.0,box=sles_12_aws-11/LOGS/mxs585/core-maxscale-11-494-491-18028-1468684882

2. Run

./scripts/build_parser/coredump_finder.sh matrix-11 url

http://max-tst-01.mariadb.com/LOGS/matrix-11/backend=mariadb-10.0,box=sles_12_aws-11/LOGS/mxs711_two_ports/core-maxscale-11-494-491-9464-1468683964
http://max-tst-01.mariadb.com/LOGS/matrix-11/backend=mariadb-10.0,box=sles_12_aws-11/LOGS/mxs710_bad_socket/core-maxscale-11-494-491-8594-1468683894

3. http://max-tst-01.mariadb.com:8089/view/All/job/collect_coredumps_for_build/3/console


Description

1. Add yaml of a job with:
- Parameters:
-- BUILD_TO_PROCESS (<build_name>_<build_id>)
-- CONFIGURATION_NAME
- Shell builders

 cd ~/mdbci && ./mdbci up $CONFIGURATION_NAME

 cp `~/mdbci/scripts/build_parser/coredump_finder.sh $BUILD_TO_PROCESS file` ~/mdbci/$CONFIGURATION_NAME

2. Modify coredump_finder.sh to better understand different catalogs at LOGS/

3. Fix coredump_finder.sh call at
https://github.com/mariadb-corporation/maxscale-jenkins-jobs/blob/master/maxscale_jobs/include/build_parser/create_env_coredumps.yaml

History

#1 Updated by Mark Zaslavskiy almost 5 years ago

Please use this script for getting coredumps https://github.com/OSLL/mdbci/pull/249/files

#2 Updated by Mark Zaslavskiy almost 5 years ago

  • Assignee set to Mark Zaslavskiy

#3 Updated by Mark Zaslavskiy almost 5 years ago

  • Estimated time set to 2:00 h

#4 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from New to Active / In progress

#5 Updated by Mark Zaslavskiy almost 5 years ago

  • Description updated (diff)

#6 Updated by Mark Zaslavskiy almost 5 years ago

  • Description updated (diff)

#7 Updated by Mark Zaslavskiy almost 5 years ago

  • Test scenario updated (diff)

#8 Updated by Mark Zaslavskiy almost 5 years ago

https://github.com/OSLL/mdbci/pull/252/files
https://github.com/mariadb-corporation/maxscale-jenkins-jobs/pull/20

How to apply changes:

0. git pull for mdbci repo
1. Merge https://github.com/mariadb-corporation/maxscale-jenkins-jobs/pull/20
2. Update following jobs:

./maxscale_jobs/run_named_test.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.yaml

#9 Updated by Mark Zaslavskiy almost 5 years ago

All steps done, require testing by deployment and execution on max-tst01.

#10 Updated by Mark Zaslavskiy almost 5 years ago

  • Test scenario updated (diff)

#11 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from Active / In progress to Testing
  • Assignee changed from Mark Zaslavskiy to Timofey Turenko

#12 Updated by Timofey Turenko almost 5 years ago

  • Status changed from Testing to Closed

Also available in: Atom PDF