Project

Profile

Help

Task #7983

Display content of maxscale-version-full block in build letter

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

Status:
Closed
Priority:
High
Category:
jenkins_jobs
Sprint/Milestone:
Start date:
22.02.2017
Due date:
% Done:

0%

Estimated time:
Target branch:
Test scenario:

https://github.com/OSLL/mdbci/tree/7983_maxscale_full_in_email

Testing: run ./scripts/build_parser/parse_ctest_log.rb -l ./scripts/build_parser/tes
t_maxscale_version_full -o YOUR_FILE_NAME

Expectation: в YOUR_FILE_NAME появится содержимое письма и там будет строка: Maxscale full version: MaxScale 2.1.0 - 1d8d526a01a1b5ce3ced81cc6878270d0cabc52d как раз которая находится между нужными токенами в логе


Description

17:46] 
timofey.turenko Я в вывод --version-full у Maxscale добавил всё, что нужно для https://dev.osll.ru/issues/7724

[17:46] 
Теперь https://dev.osll.ru/issues/7724 сводиться к тому, чтоб вытащить из лога дженкинса эту информацию

[18:50] 
alexander.kaluzhniy Задачу https://dev.osll.ru/issues/7724 с Марком обсудили, появились некоторые вопросы. Подробнее хотим обсудить на встрече mdbci f2f в среду.

[18:52] 
timofey.turenko в логе дженкинса пишется Maxscale_full_version_start: и Maxscale_full_version_end

[18:52] 
я предлагаю тупо всё, что между этими двумя сообщениями и копировать в email

[21:24] 
timofey.turenko https://github.com/mariadb-corporation/maxscale-jenkins-jobs/pull/140

=======
- extract all between Maxscale_full_version_start: и Maxscale_full_version_end using build_parser
- add extracted text to build letter

History

#1 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from New to Active / In progress

#2 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/tree/7983_maxscale_full_in_email

Testing: run ./scripts/build_parser/parse_ctest_log.rb -l ./scripts/build_parser/tes
t_maxscale_version_full -o YOUR_FILE_NAME

Expectation: в YOUR_FILE_NAME появится содержимое письма и там будет строка: Maxscale full version: MaxScale 2.1.0 - 1d8d526a01a1b5ce3ced81cc6878270d0cabc52d как раз которая находится между нужными токенами в логе

#3 Updated by Timofey Turenko almost 5 years ago

  • Status changed from Review to New

does not work:

log http://max-tst-01.mariadb.com/LOGS/run_test_snapshot-314/build_log_314 contains:

16:39:00.861 0.574932: Maxscale_full_version_start:
MaxScale 2.1.0 - aacf18278e309400eb36d3f361fbdd26764d5205
Source:        BRANCH extended_version_info
CMAKE flags:   -DBUILD_TESTS=Y -DCMAKE_BUILD_TYPE=Debug -DFAKE_CODE=Y -DBUILD_MMMON=Y -DBUILD_AVRO=Y -DBUILD_CDC=Y  -DPACKAGE=Y -DDISTRIB_SUFFIX=centos.7
Jenkins build: jenkins-build-5293

Maxscale_full_version_end

but emails contains only:

Maxscale full version: MaxScale 2.1.0 - aacf18278e309400eb36d3f361fbdd26764d5205

Coredumps: Coredumps was not found for build 314

Logs(ctest logs) for each test: http://max-tst-01.mariadb.com/LOGS/run_test_snapshot-314/LOGS/

#4 Updated by Mark Zaslavskiy almost 5 years ago

  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny

#5 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from New to Active / In progress

#6 Updated by Alexander Kaluzhny almost 5 years ago

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

Timofey Turenko wrote:

does not work:

log http://max-tst-01.mariadb.com/LOGS/run_test_snapshot-314/build_log_314 contains:

[...]

but emails contains only:
[...]

Fixed. Email subject to check: [mdbci-maxscale] 7983_run_test - Build # 4 - Fixed! (test01)
PR: https://github.com/OSLL/mdbci/pull/345/files

#7 Updated by Mark Zaslavskiy almost 5 years ago

  • Assignee changed from Mark Zaslavskiy to Timofey Turenko

#8 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from Review to Testing

#9 Updated by Timofey Turenko almost 5 years ago

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

#10 Updated by Mark Zaslavskiy almost 5 years ago

need to merge PR, deploy on all machines and carefuly check

#11 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from Merge to Closed

Also available in: Atom PDF