Project

Profile

Help

Task #6931

Creaete script which will mask docker machine as mdbci

Added by Alexander Kaluzhny about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Alexander Kaluzhny
Category:
mdbci_practice
Sprint/Milestone:
Start date:
03.04.2016
Due date:
% Done:

0%

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

Run and wail till it's done:
./scripts/run_docker_as_mdbci.rb confs/docker_test.json

Check that was created next directories:
mdbci_testing_config_docker_docker_test/
mdbci_testing_config_mdbci_from_docker_docker_test/

Mdbci environment now in directory:
mdbci_testing_config_mdbci_from_docker_docker_test/

Docker machines in:
mdbci_testing_config_docker_docker_test/

Check that keyfiles was added, in KEYS directory look for:
mdbci_testing_config_mdbci_from_docker_centos_6.7_docker
mdbci_testing_config_mdbci_from_docker_centos_7_docker
mdbci_testing_config_mdbci_from_docker_ubuntu_trusty_docker

Check that new boxes file was added in BOXES directory:
mdbci_testing_config_mdbci_from_docker.json

Check that mdbci machines are accessible:
./mdbci ssh --command ls mdbci_testing_config_mdbci_from_docker_docker_test/node0
./mdbci ssh --command ls mdbci_testing_config_mdbci_from_docker_docker_test/node1
./mdbci ssh --command ls mdbci_testing_config_mdbci_from_docker_docker_test/node2

Check that all command exited with 0 exit code.

To remove all previously created directories/files/machines run next command:
./scripts/run_docker_as_mdbci.rb -r confs/docker_test.json


Description

Create script that creates fake aws box with ip, username, keyfile of docker machine


Related issues

Related to [mdbci] Maria DB Continuous integration tool - Task #6934: Kaluzny practice - parametrized testing automationClosed03.04.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocks [mdbci] Maria DB Continuous integration tool - Task #7023: Create scripts for complex testing with snapshotsClosed06.06.2016

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

History

#1 Updated by Alexander Kaluzhny about 5 years ago

  • Related to Task #6934: Kaluzny practice - parametrized testing automation added

#2 Updated by Alexander Kaluzhny about 5 years ago

  • Subject changed from Use vbox machines as aws for testing to Use vbox/docker machines as aws for testing

#3 Updated by Alexander Kaluzhny about 5 years ago

  • Description updated (diff)

#4 Updated by Alexander Kaluzhny about 5 years ago

  • Estimated time set to 3:00 h

#5 Updated by Alexander Kaluzhny about 5 years ago

  • Blocks Task #6929: Scripts for start/stop machines for paramterized tests added

#6 Updated by Mark Zaslavskiy about 5 years ago

  • Subject changed from Use vbox/docker machines as aws for testing to Implement --port option (Use vbox/docker machines as aws for testing)

#7 Updated by Alexander Kaluzhny about 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 Mark Zaslavskiy almost 5 years ago

  • Status changed from Active / In progress to New

#11 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from New to Active / In progress

#12 Updated by Alexander Kaluzhny almost 5 years ago

  • Subject changed from Implement --port option (Use vbox/docker machines as aws for testing) to Creaete script mask docker machine as aws
  • Description updated (diff)

#13 Updated by Mark Zaslavskiy almost 5 years ago

  • Subject changed from Creaete script mask docker machine as aws to Creaete script which will mask docker machine as aws

#14 Updated by Alexander Kaluzhny almost 5 years ago

  • Test scenario updated (diff)

#15 Updated by Alexander Kaluzhny almost 5 years ago

  • Test scenario updated (diff)

#16 Updated by Alexander Kaluzhny almost 5 years ago

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

#17 Updated by Mark Zaslavskiy almost 5 years ago

  • Blocks deleted (Task #6929: Scripts for start/stop machines for paramterized tests)

#18 Updated by Alexander Kaluzhny almost 5 years ago

  • Blocks Task #7023: Create scripts for complex testing with snapshots added

#19 Updated by Mark Zaslavskiy almost 5 years ago

INFO: ERROR: /home/vagrant/mdbci_zmm/core/session.rb:701:in `up'
INFO: /home/vagrant/mdbci_zmm/core/session.rb:438:in `commands'
INFO: ./mdbci:128:in `<main>'
INFO: ERROR: Bringing up failed (error description is above)
./scripts/run_docker_as_mdbci.rb:72:in `execute_bash': ./mdbci up mdbci_testing_config_docker_docker_test exited with non-zero exit code: 1 (RuntimeError)
from ./scripts/run_docker_as_mdbci.rb:94:in `prepare_mdbci_environment'
from ./scripts/run_docker_as_mdbci.rb:160:in `main'
from ./scripts/run_docker_as_mdbci.rb:167:in `<main>'

#20 Updated by Mark Zaslavskiy almost 5 years ago

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

#21 Updated by Alexander Kaluzhny almost 5 years ago

  • Status changed from New to Active / In progress

#22 Updated by Alexander Kaluzhny almost 5 years ago

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

#23 Updated by Mark Zaslavskiy almost 5 years ago

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

#24 Updated by Alexander Kaluzhny almost 5 years ago

  • Subject changed from Creaete script which will mask docker machine as aws to Creaete script which will mask docker machine as mdbci

Also available in: Atom PDF