Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment Tests Fail #317

Open
prasadtalasila opened this issue Dec 24, 2018 · 0 comments
Open

Deployment Tests Fail #317

prasadtalasila opened this issue Dec 24, 2018 · 0 comments

Comments

@prasadtalasila
Copy link
Member

Description

The deployment tests fail because of hardcoded MySQL user credentials as root and root. Also there is an assumption that the AutolabJS components are running on the local machine. It is appropriate to consolidate the testing configuration to top-level INI file or ENV file.

MySQL plaintext commandline-based login. This problem was fixed for the installation setup in issue #302. A similar fix need to be applied to the deployment tests.

Steps to Reproduce

  1. Install AutolabJS v0.5.0
  2. Run the deployment tests
  3. Watch The concurrent evaluation test fail

Expected behavior: [What you expect to happen]
All the deployment tests pass

Actual behavior: [What actually happens]
Deployment tests fail due to hard coded configuration.

Reproduces how often: [What percentage of the time does it reproduce?]
For all new installations of AutolabJS v0.5.0 with non-default credentials.

Additional Information

The relevant part of the installation logs are as follows.

....
+ testName='Concurrent Eval.Sh'
+ echo -e '\n========== Concurrent Eval Checks =========='

========== Concurrent Eval Checks ==========
...
# mysql: [Warning] Using a password on the command line interface can be insecure.
# ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
not ok 2 Five concurrent executions run on five different execution nodes
# (from function `teardown' in test file bats/execution_node.bats, line 20)
#   `mysql -h 127.0.0.1 -uroot -proot -e "DELETE FROM AutolabJS.llab1;"' failed
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant