minishift / minishift-centos-iso

CentOS based ISO as an alternative for boot2docker ISO
GNU Lesser General Public License v3.0
40 stars 33 forks source link

Issue #124 RHSM should be persistent across reboot #126

Closed praveenkumar closed 7 years ago

gbraad commented 7 years ago

The issue with restart (start) still happen...

praveenkumar commented 7 years ago

@LalatenduMohanty @amitkrout this is ready to test. make sure you build iso using this PR and give it a try.

praveenkumar commented 7 years ago

retest this please.

LalatenduMohanty commented 7 years ago

Works for me. Very nice @praveenkumar.

hferentschik commented 7 years ago

@praveenkumar @LalatenduMohanty what's up with the CI build?

hferentschik commented 7 years ago

Can we align commit message format?

LalatenduMohanty commented 7 years ago

@praveenkumar Can you force push to the branch to trigger CentOS CI, The error seems to be come from CentOS CI infra

Executing command : /root/payload/tests/../build/bin/minishift start --vm-driver kvm --iso-url file:///root/payload/tests/../build/minishift-centos7.iso
16:24:14 *******
16:35:54 Error: E0721 17:28:37.609898   14609 start.go:278] Error starting the VM: Error creating the VM. Error creating machine: Error running provisioning: Maximum number of retries (60) exceeded. Retrying.
16:35:54 E0721 17:32:15.970718   14609 start.go:278] Error starting the VM: Error configuring authorization on host: Maximum number of retries (60) exceeded. Retrying.
16:35:54 E0721 17:35:54.560899   14609 start.go:278] Error starting the VM: Error configuring authorization on host: Maximum number of retries (60) exceeded. Retrying.
16:35:54 Error starting the VM: Error creating the VM. Error creating machine: Error running provisioning: Maximum number of retries (60) exceeded
16:35:54 Error configuring authorization on host: Maximum number of retries (60) exceeded
16:35:54 Error configuring authorization on host: Maximum number of retries (60) exceeded
16:35:54 
16:35:54 
16:35:54 Reproduced traceback from: /usr/lib/python2.7/site-packages/avocado/core/test.py:596
16:35:54 Traceback (most recent call last):
16:35:54   File "/root/payload/tests/test.py", line 36, in test_boot_vm_out_of_iso
16:35:54     self.execute_test({ 'cmd': cmd })
16:35:54   File "/root/payload/tests/test.py", line 121, in execute_test
16:35:54     self.assertEqual(0, process.returncode)
16:35:54   File "/usr/lib64/python2.7/unittest/case.py", line 553, in assertEqual
16:35:54     assertion_func(first, second, msg=msg)
16:35:54   File "/usr/lib64/python2.7/unittest/case.py", line 546, in _baseAssertEqual
16:35:54     raise self.failureException(msg)
16:35:54 AssertionError: 0 != 1
16:35:54 
16:35:54 Local variables:
16:35:54  -> start_args <type 'tuple'>: ('kvm', 'file:///root/payload/tests/../build/minishift-centos7.iso')
16:35:54  -> cmd <type 'str'>: /root/payload/tests/../build/bin/minishift start --vm-driver kvm --iso-url file:///root/payload/tests/../build/minishift-centos7.iso
16:35:54  -> self <class 'test.MinishiftISOTest'>: 01-tests/test.py:MinishiftISOTest.test_boot_vm_out_of_iso
16:35:54 FAIL 01-tests/test.py:MinishiftISOTest.test_boot_vm_out_of_iso -> AssertionError: 0 != 1
gbraad commented 7 years ago

Force push is not going to really help, as it is likely to fail again; #121. Current root cause is unknown... so please... guess away on that issue. :-s

LalatenduMohanty commented 7 years ago

Merging the PR and we will look in to #121 to fix the CI.

hferentschik commented 7 years ago

Merging the PR and we will look in to #121 to fix the CI.

+1