Project

Profile

Help

Task #6809

Add return codes and error messages to publicKeys method of session.rb

Added by Alexander Kaluzhny over 4 years ago. Updated about 4 years ago.

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

100%

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

# Raise: "Configuration name is required"
./mdbci public_keys

# 1. Generate node
./mdbci --template confs/mdbci_up_aws_test_config.json generate SOME_DIR
# 2. Up node\nodes (NOTE: maxscale.pem must be in mdbci directory).
./mdbci up SOME_DIR
# 3. Show public keys of node\nodes.
./mdbci public_keys --key maxscale.pem SOME_DIR
./mdbci public_keys --key maxscale.pem SOME_DIR/galera0

# Raise: "No such node with name galera123 in SOME_DIR"
./mdbci public_keys --key maxscale.pem SOME_DIR/galera123

# Raise: "Keyfile not found! Check path to it!"
./mdbci public_keys --key nowhere.pem SOME_DIR



Related issues

Related to [mdbci] Maria DB Continuous integration tool - Task #6747: Find places in app code where command line argument errors can occure and error messages should be shown. For every case create issue.Closed10.02.2016

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

History

#1 Updated by Alexander Kaluzhny over 4 years ago

  • Related to Task #6747: Find places in app code where command line argument errors can occure and error messages should be shown. For every case create issue. added

#2 Updated by Mark Zaslavskiy over 4 years ago

  • Assignee set to Ilfat Kinyaev

#3 Updated by Ilfat Kinyaev over 4 years ago

  • Status changed from New to Active / In progress
  • Estimated time set to 3:00 h

#4 Updated by Ilfat Kinyaev over 4 years ago

  • Description updated (diff)

#5 Updated by Ilfat Kinyaev over 4 years ago

  • Status changed from Active / In progress to New

#6 Updated by Ilfat Kinyaev over 4 years ago

  • Status changed from New to Active / In progress

#7 Updated by Ilfat Kinyaev over 4 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Ilfat Kinyaev to Alexander Kaluzhny
  • % Done changed from 0 to 100

#8 Updated by Alexander Kaluzhny over 4 years ago

#10 Updated by Alexander Kaluzhny over 4 years ago

Jenkins tests failed

#11 Updated by Alexander Kaluzhny over 4 years ago

  • Status changed from Review to New
  • Assignee changed from Alexander Kaluzhny to Ilfat Kinyaev

#12 Updated by Ilfat Kinyaev over 4 years ago

  • Status changed from New to Active / In progress
  • % Done changed from 100 to 90

#13 Updated by Ilfat Kinyaev over 4 years ago

maxscale-jenkins.mariadb.com:8090/job/mdbci_integration_test/247/ first test

#14 Updated by Ilfat Kinyaev over 4 years ago

#15 Updated by Ilfat Kinyaev over 4 years ago

#16 Updated by Ilfat Kinyaev about 4 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Ilfat Kinyaev to Alexander Kaluzhny
  • % Done changed from 90 to 100

#17 Updated by Alexander Kaluzhny about 4 years ago

  • Status changed from Review to New
  • Assignee changed from Alexander Kaluzhny to Ilfat Kinyaev

#18 Updated by Ilfat Kinyaev about 4 years ago

  • Status changed from New to Active / In progress

#21 Updated by Ilfat Kinyaev about 4 years ago

  • Status changed from Active / In progress to Review
  • Assignee changed from Ilfat Kinyaev to Alexander Kaluzhny

Last test was success.

#22 Updated by Alexander Kaluzhny about 4 years ago

  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

Reviewed

#23 Updated by Mark Zaslavskiy about 4 years ago

Please provide test scenario, all other checks were passed successfuly.

#24 Updated by Mark Zaslavskiy about 4 years ago

  • Status changed from Review to New
  • Assignee changed from Mark Zaslavskiy to Ilfat Kinyaev

#25 Updated by Ilfat Kinyaev about 4 years ago

  • Test scenario updated (diff)

#26 Updated by Mark Zaslavskiy about 4 years ago

Please provide more details at test scenario:
- what commands should be executed
- what result should appear

#27 Updated by Ilfat Kinyaev about 4 years ago

  • Status changed from New to Active / In progress
  • % Done changed from 100 to 80

#28 Updated by Ilfat Kinyaev about 4 years ago

  • Status changed from Active / In progress to New

#29 Updated by Ilfat Kinyaev about 4 years ago

  • Status changed from New to Review
  • Assignee changed from Ilfat Kinyaev to Mark Zaslavskiy
  • % Done changed from 80 to 100
  • Test scenario updated (diff)

#30 Updated by Mark Zaslavskiy about 4 years ago

Please fix conflicts with integration branch.

#31 Updated by Mark Zaslavskiy about 4 years ago

  • Status changed from Review to New
  • Assignee changed from Mark Zaslavskiy to Ilfat Kinyaev

#33 Updated by Ilfat Kinyaev about 4 years ago

  • Status changed from New to Review
  • Assignee changed from Ilfat Kinyaev to Mark Zaslavskiy

#34 Updated by Mark Zaslavskiy about 4 years ago

  • Assignee changed from Mark Zaslavskiy to Alexander Kaluzhny

#35 Updated by Mark Zaslavskiy about 4 years ago

  • Sprint/Milestone changed from 0.83 to 0.9

#36 Updated by Alexander Kaluzhny about 4 years ago

  • Assignee changed from Alexander Kaluzhny to Mark Zaslavskiy

Reviewed code. Test scenario checked with aws provider - works.

#37 Updated by Mark Zaslavskiy about 4 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF