Project

Profile

Help

Task #7789

Extract sublogs for particular ctest tests from jenkins job log

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

Status:
Closed
Priority:
High
Assignee:
Timofey Turenko
Category:
mdbci features
Sprint/Milestone:
Start date:
22.11.2016
Due date:
% Done:

40%

Estimated time:
Target branch:
Test scenario:

https://github.com/OSLL/mdbci/pull/339/files

https://github.com/mariadb-corporation/maxscale-jenkins-jobs/pull/136/files
#1
Testing: open configure for all jobs from link: http://maxscale-jenkins.mariadb.com:8090/job/7789_run_test/search/?q=7789

Expectations: every job has shell build step with comand: '$HOME/mdbci/scripts/build_parser/parse_ctest_log.rb -l $WORKSPACE/build_log_$BUILD_ID -o $WORKSPACE/results_$BUILD_ID -r -f -j $WORKSPACE/json_$BUILD_ID -s $HOME/LOGS/$JOB_NAME-$BUILD_ID/ctest_sublogs/'

#2
Testing: run http://maxscale-jenkins.mariadb.com:8090/job/7789_run_test

Expectation: in $HOME/LOGS willbe created new directory named JOB_NAME-BUILD_ID in which will be created directory ctest_sublogs where you wil see logs for every ctest

Example: http://maxscale-jenkins.mariadb.com:8090/job/7789_run_test/6/console


Description

- Add additional parsing of jenkins job log in parse_build_log.rb:
-- for each test extract exeuction log (can be found as strings with prefix "N:", where N is a test number)
-- copy each sublog to the same place as coredumps ( https://github.com/mariadb-corporation/maxscale-jenkins-jobs/blob/master/maxscale_jobs/include/coredumps/copy_coredumps.yaml)


Related issues

Related to [mdbci] Maria DB Continuous integration tool - Task #7980: Move ctest sublogs to appropriate folder in LOGSClosed20.02.2017

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Mark Zaslavskiy about 5 years ago

  • Priority changed from Normal to High

#2 Updated by Mark Zaslavskiy almost 5 years ago

  • Description updated (diff)

#3 Updated by Mark Zaslavskiy almost 5 years ago

  • Assignee changed from Ilfat Kinyaev to Alexander Kaluzhny

#4 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from New to Active / In progress

#5 Updated by Alexander Kaluzhny almost 5 years ago

  • % Done changed from 0 to 40
  • Test scenario updated (diff)

#6 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from Active / In progress to New

#7 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from New to Active / In progress

#8 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from Active / In progress to New

#9 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from New to Active / In progress

#10 Updated by Alexander Kaluzhny almost 5 years ago

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

https://github.com/OSLL/mdbci/pull/339/files

https://github.com/mariadb-corporation/maxscale-jenkins-jobs/pull/136/files
#1
Testing: open configure for all jobs from link: http://maxscale-jenkins.mariadb.com:8090/job/7789_run_test/search/?q=7789

Expectations: every job has shell build step with comand: '$HOME/mdbci/scripts/build_parser/parse_ctest_log.rb -l $WORKSPACE/build_log_$BUILD_ID -o $WORKSPACE/results_$BUILD_ID -r -f -j $WORKSPACE/json_$BUILD_ID -s $HOME/LOGS/$JOB_NAME-$BUILD_ID/ctest_sublogs/'

#2
Testing: run http://maxscale-jenkins.mariadb.com:8090/job/7789_run_test

Expectation: in $HOME/LOGS willbe created new directory named JOB_NAME-BUILD_ID in which will be created directory ctest_sublogs where you wil see logs for every ctest

Example: http://maxscale-jenkins.mariadb.com:8090/job/7789_run_test/6/console

#13 Updated by Mark Zaslavskiy almost 5 years ago

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

#14 Updated by Alexander Kaluzhny almost 5 years ago

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

Mark Zaslavskiy wrote:

Deployed on production, only one sublog was copied

http://max-tst-01.mariadb.com:8089/view/All/job/run_test_snapshot/271/console

http://max-tst-01.mariadb.com/LOGS/run_test_snapshot-271/ctest_sublogs/

There was one log because only one test failed

#15 Updated by Mark Zaslavskiy almost 5 years ago

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

#16 Updated by Timofey Turenko almost 5 years ago

  • Status changed from Testing to Active / In progress
  • Assignee changed from Timofey Turenko to Alexander Kaluzhny

#17 Updated by Alexander Kaluzhny almost 5 years ago

  • Related to Task #7980: Move ctest sublogs to appropriate folder in LOGS added

#18 Updated by Alexander Kaluzhny almost 5 years ago

Added issue https://dev.osll.ru/issues/7980 to be relative for current issue

#19 Updated by Alexander Kaluzhny almost 5 years ago

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

#20 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from Review to Closed

#21 Updated by Mark Zaslavskiy almost 5 years ago

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

#22 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from Testing to Closed

Also available in: Atom PDF