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

Vagrant up fails with error #45

Open
amitkrout opened this issue Oct 6, 2016 · 2 comments
Open

Vagrant up fails with error #45

amitkrout opened this issue Oct 6, 2016 · 2 comments

Comments

@amitkrout
Copy link
Contributor

This line ``self.log.info(child.after)` is throwing error. Need to debug it more

@amitkrout amitkrout changed the title Vagrant up failes with error Vagrant up fails with error Oct 20, 2016
@hferentschik
Copy link

What is the error?

@amitkrout
Copy link
Contributor Author

Environment :

System Version: OS X 10.11.6 (15G31)
Kernel Version: Darwin 15.6.0
Avocado 36.0lts

Steps to reproduce

1. Download latest CDK + virtualbox provider on mac 
2. Clone  "https://github.com/projectatomic/adb-tests" and modify the config.yaml 
    vagrant_VAGRANTFILE_DIR : ".../cdk/components/rhel/rhel-ose"
     vagrant_PROVIDER : "virtualbox"
     vagrant_RHN_USERNAME : "usename"
     vagrant_RHN_PASSWORD : "password"
     openshift_lib_MODULE : ".../adb-tests/cdk-testsuite/libraries/openshift/openshift.py"
     openshift_util_MODULE : ".../adb-tests/cdk-testsuite/utils/openshiftUtils.py"
3. Go to the directory "/adb-tests/cdk-testsuite/tests" and execute the command 
    "avocado run vagrant_sanity.py -m ../config/config.yaml"

ERROR :

2016-10-26 15:33:26,871 stacktrace       L0036 ERROR| 
2016-10-26 15:33:26,871 stacktrace       L0039 ERROR| Reproduced traceback from: /Library/Python/2.7/site-packages/avocado-36.0lts-py2.7.egg/avocado/core/test.py:435
2016-10-26 15:33:26,874 stacktrace       L0042 ERROR| Traceback (most recent call last):
2016-10-26 15:33:26,874 stacktrace       L0042 ERROR|   File "/Users/cdkqe/NightlyBuild/adb-tests/cdk-testsuite/tests/vagrant_sanity.py", line 54, in test_vagrant_up
2016-10-26 15:33:26,874 stacktrace       L0042 ERROR|     child.sendline (self.sudo_PASSWORD)
2016-10-26 15:33:26,874 stacktrace       L0042 ERROR|   File "/Library/Python/2.7/site-packages/pexpect/pty_spawn.py", line 535, in sendline
2016-10-26 15:33:26,875 stacktrace       L0042 ERROR|     return self.send(s + self.linesep)
2016-10-26 15:33:26,875 stacktrace       L0042 ERROR|   File "/Library/Python/2.7/site-packages/pexpect/pty_spawn.py", line 526, in send
2016-10-26 15:33:26,875 stacktrace       L0042 ERROR|     return os.write(self.child_fd, b)
2016-10-26 15:33:26,875 stacktrace       L0042 ERROR| OSError: [Errno 5] Input/output error
2016-10-26 15:33:26,875 stacktrace       L0043 ERROR| 
2016-10-26 15:33:26,978 test             L0550 ERROR| Traceback (most recent call last):

2016-10-26 15:33:26,978 test             L0550 ERROR|   File "/Library/Python/2.7/site-packages/avocado-36.0lts-py2.7.egg/avocado/core/test.py", line 490, in _run_avocado
    raise test_exception

2016-10-26 15:33:26,979 test             L0550 ERROR| OSError: [Errno 5] Input/output error

2016-10-26 15:33:26,979 test             L0567 ERROR| ERROR 1-vagrant_sanity.py:VagrantSanity.test_vagrant_up -> OSError: [Errno 5] Input/output error

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

2 participants