Project

Profile

Help

Task #6733

Virtual machines clean target

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

Status:
Closed
Priority:
Normal
Category:
mdbci testing
Sprint/Milestone:
Start date:
09.02.2016
Due date:
% Done:

100%

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

Description

VBoxManage list vms | grep mdbci | grep -o '"[^\"]*"' - vm name list
VBoxManage  controlvm mdbci-test-ubuntu_trusty-mariadb-51_galera1_1454942396961_9993 poweroff 
VBoxManage unregistervm mdbci-test-ubuntu_trusty-mariadb-51_galera0_1454942043129_91028 -delete

History

#1 Updated by Mark Zaslavskiy almost 6 years ago

  • Description updated (diff)

#2 Updated by Mark Zaslavskiy almost 6 years ago

  • Assignee changed from Mark Zaslavskiy to Kirill Yudenok

#3 Updated by Kirill Yudenok almost 6 years ago

  • Estimated time set to 1:00 h

#4 Updated by Kirill Yudenok almost 6 years ago

  • Status changed from New to Active / In progress

#5 Updated by Kirill Yudenok almost 6 years ago

  • Status changed from Active / In progress to New

#6 Updated by Kirill Yudenok almost 6 years ago

  • Status changed from New to Active / In progress

#7 Updated by Kirill Yudenok almost 6 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Kirill Yudenok to Mark Zaslavskiy
  • % Done changed from 0 to 100

#8 Updated by Timofey Turenko almost 6 years ago

first, it is not possible to select any other value except "'mdbci' (should it be just text string?)

second, can clean up script print names of all removed machines? also ask confirmation for every machine removing (+ parameter --force which tells to the script "do not ask, just delete")

#9 Updated by Mark Zaslavskiy almost 6 years ago

second issue added as task https://dev.osll.ru/issues/6798
My comments:
- remove all code from shell step, leave only

scripts/clean_vms.sh $prefix

- commit chmod +x for script into branch (this changes added to commit)

#10 Updated by Mark Zaslavskiy almost 6 years ago

  • Status changed from Review to New
  • Assignee changed from Mark Zaslavskiy to Kirill Yudenok

#11 Updated by Kirill Yudenok almost 6 years ago

  • Status changed from New to Active / In progress
  • Ok, prefix value is a text string
  • Mark, i dont understand, where i should to commit chmod +x? Branch with script cleanup_vms.sh already merged.

#12 Updated by Kirill Yudenok almost 6 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Kirill Yudenok to Mark Zaslavskiy
  • mdbci_vms_cleanup job settings updated;
  • script cleanup_vms.sh already with chmod +x

#13 Updated by Mark Zaslavskiy almost 6 years ago

  • Status changed from Review to Merge

#14 Updated by Mark Zaslavskiy almost 6 years ago

  • Status changed from Merge to Closed

Also available in: Atom PDF