Project

Profile

Help

Task #7102

Collect info from set_environment during mdbci up and put it to text file in case of successful up

Added by Mark Zaslavskiy about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
mdbci features
Sprint/Milestone:
Start date:
22.06.2016
Due date:
% Done:

0%

Estimated time:
Target branch:
Test scenario:

Description

0. Collect all mdbci calls from https://github.com/mariadb-corporation/build-scripts-vagrant/blob/master/test/set_env_vagrant.sh at comment in this task

1. Investigate, does mdbci have separate function for each call.

3. Create task for refactoring each function.

2. Implement (or call existing functions) to do the same during mdbci up and put results to file network_settings.


Related issues

Related to [mdbci] Maria DB Continuous integration tool - Task #7106: Refactor def self.show(name)Closed23.06.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to [mdbci] Maria DB Continuous integration tool - Task #7107: Refactor def self.showKeyFile(name)Closed23.06.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to [mdbci] Maria DB Continuous integration tool - Task #7108: Refactor def self.private_ip(name)Closed23.06.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to [mdbci] Maria DB Continuous integration tool - Task #7109: Refactor def ssh(args)Closed23.06.2016

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to [mdbci] Maria DB Continuous integration tool - Task #7110: Implement function collectConfigurationNetworkInfo which does (almost) the same as set_env_vagrant.shClosed23.06.2016

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

History

#1 Updated by Mark Zaslavskiy about 4 years ago

  • Description updated (diff)
  • Assignee changed from Ilfat Kinyaev to Mark Zaslavskiy

#2 Updated by Mark Zaslavskiy about 4 years ago

./mdbci show network $config_name/maxscale --silent 2> /dev/null
./mdbci show network $config_name/maxscale --silent 2> /dev/null
./mdbci show keyfile $config_name/maxscale --silent | sed 's/"//g'
./mdbci show network $config_name/$node_n$i --silent 2> /dev/null
./mdbci show network $config_name/$node_n$i --silent 2> /dev/null
./mdbci show keyfile $config_name/$node_n$i --silent 2> /dev/null | sed 's/"//g'
./mdbci show private_ip $config_name/$node_n$i --silent 2> /dev/null
./mdbci ssh --command 'whoami' $config_name/$node_n$i --silent 2> /dev/null | tr -cd "[:print:]" 
./mdbci ssh --command 'ls /etc/init.d/mysql* 2> /dev/null | tr -cd "[:print:]"' $config_name/$node_n$i  --silent 2> /dev/null
./mdbci ssh --command 'systemctl list-unit-files | grep mysql' $config_name/$node_n$i  --silent
./mdbci ssh --command 'echo \"/usr/sbin/mysqld \$* 2> stderr.log > stdout.log &\" > mysql_start.sh; echo \"sleep 20\" >> mysql_start.sh; echo \"disown\" >> mysql_start.sh; chmod a+x mysql_start.sh' $config_name/$node_n$i  --silent
./mdbci ssh --command 'whoami' $config_name/maxscale --silent 2> /dev/null | tr -cd "[:print:]" 
./mdbci ssh --command 'hostname' $config_name/maxscale --silent 2> /dev/null | tr -cd "[:print:]" 

#4 Updated by Mark Zaslavskiy about 4 years ago

  • Related to Task #7106: Refactor def self.show(name) added

#5 Updated by Mark Zaslavskiy about 4 years ago

  • Related to Task #7107: Refactor def self.showKeyFile(name) added

#6 Updated by Mark Zaslavskiy about 4 years ago

  • Related to Task #7108: Refactor def self.private_ip(name) added

#7 Updated by Mark Zaslavskiy about 4 years ago

  • Related to Task #7109: Refactor def ssh(args) added

#8 Updated by Mark Zaslavskiy about 4 years ago

  • Related to Task #7110: Implement function collectConfigurationNetworkInfo which does (almost) the same as set_env_vagrant.sh added

#9 Updated by Mark Zaslavskiy about 4 years ago

  • Sprint/Milestone changed from 0.83 to 0.9

#10 Updated by Mark Zaslavskiy about 4 years ago

  • Status changed from New to Closed

Also available in: Atom PDF