Project

Profile

Help

Task #7933

Job for monitoring running vms number and sending warning letters

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

Status:
Closed
Priority:
Immediate
Category:
jenkins_slaves
Sprint/Milestone:
Start date:
31.01.2017
Due date:
% Done:

100%

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

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

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

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

History

#1 Updated by Mark Zaslavskiy almost 5 years ago

  • Assignee set to Tatyana Berlenko

#2 Updated by Tatyana Berlenko almost 5 years ago

  • Estimated time set to 1:00 h

#3 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from New to Active / In progress

#4 Updated by Tatyana Berlenko over 4 years ago

  • Test scenario updated (diff)

#5 Updated by Tatyana Berlenko over 4 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Tatyana Berlenko to Mark Zaslavskiy
  • 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 Tatyana Berlenko

#7 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Tatyana Berlenko to Ilfat Kinyaev

#8 Updated by Ilfat Kinyaev over 4 years ago

  • Status changed from New to Active / In progress

#9 Updated by Ilfat Kinyaev over 4 years ago

Fix by comments in pull request.

#10 Updated by Ilfat Kinyaev over 4 years ago

  • % Done changed from 0 to 70

#11 Updated by Ilfat Kinyaev over 4 years ago

  • Assignee changed from Ilfat Kinyaev to Alexander Kaluzhny
  • % Done changed from 70 to 100

#12 Updated by Ilfat Kinyaev over 4 years ago

  • Status changed from Active / In progress to Review

#13 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Review to Testing

#14 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Alexander Kaluzhny to Timofey Turenko

#15 Updated by Timofey Turenko over 4 years ago

  • Status changed from Testing to New

test:

start 31 VMs
run this job

result:

http://127.0.0.1:8089/job/monitoring_running_vms_number/350/node=maxtst2/console

maxtst2] $ /bin/sh -xe /tmp/jenkins2416086439511011377.sh
+ export result_code=0
+ result_code=0
++ virsh list
++ wc -l
+ ACTUAL_NUMBER_OF_VMS_LIBVIRT=34
++ docker ps
++ wc -l
+ ACTUAL_NUMBER_OF_VMS__DOCKER=0
+ '[' 34 -gt 30 ']'
+ echo 'Number of running vms exceeds maximum for libvirt'
Number of running vms exceeds maximum for libvirt
+ export result_code=1
+ result_code=1
+ '[' '' -gt 30 ']'
/tmp/jenkins2416086439511011377.sh: line 9: [: : integer expression expected
+ exit 1
Build step 'Execute shell' marked build as failure

#16 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee changed from Timofey Turenko to Mark Zaslavskiy

#17 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from New to Active / In progress

#18 Updated by Mark Zaslavskiy over 4 years ago

  • Priority changed from High to Immediate

#19 Updated by Mark Zaslavskiy over 4 years ago

  • Test scenario updated (diff)

#20 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Active / In progress to Review

#21 Updated by Mark Zaslavskiy over 4 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF