failed to test because apache timed out
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-test |
Fix Committed
|
High
|
Raphaël Badin |
Bug Description
Retried maas-test and this time, it failed to do any testing because apache failed to start:
2013-12-12 10:01:56,783 INFO Checking for KVM extensions.
2013-12-12 10:02:00,933 INFO Checking for virtualised hardware...
2013-12-12 10:02:01,292 INFO Checking for running proxy instance...
2013-12-12 10:02:01,292 INFO Starting proxy...
2013-12-12 10:02:01,333 INFO Done starting proxy.
2013-12-12 10:02:01,363 INFO Downloading KVM image for series=saucy, arch=amd64...
2013-12-12 10:02:06,681 INFO Done downloading KVM image for series=saucy, arch=amd64.
2013-12-12 10:02:06,682 INFO Creating virtual machine 5acb2b28-
..
2013-12-12 10:02:09,498 INFO Done creating virtual machine 5acb2b28-
2013-12-12 10:02:09,498 INFO Waiting for the virtual machine to come up...
2013-12-12 10:02:30,241 INFO Virtual machine is running.
2013-12-12 10:02:30,242 INFO Waiting for cloud-init to finish its work...
2013-12-12 10:03:09,357 INFO Cloud-init run finished.
2013-12-12 10:03:09,358 INFO Configuring network interface on virtual machine 5acb2b28-
2013-12-12 10:03:17,514 INFO Done configuring network interface on virtual machine 5acb2b28-
2013-12-12 10:03:20,084 INFO Virtual machine 5acb2b28-
2013-12-12 10:03:20,085 INFO Installing MAAS...
2013-12-12 10:05:05,677 INFO Done installing MAAS.
2013-12-12 10:05:26,169 INFO Destroying virtual machine 5acb2b28-
2013-12-12 10:05:27,193 INFO Done destroying virtual machine 5acb2b28-
2013-12-12 10:05:27,194 INFO Killing proxy...
2013-12-12 10:05:27,199 INFO Done killing proxy.
ERROR
=======
ERROR: setUpClass (maastest.
-------
Traceback (most recent call last):
File "/usr/lib/
cls.
File "/usr/lib/
super(
File "/usr/lib/
fixture.setUp()
File "/usr/lib/
self.
File "/usr/lib/
['sudo', 'service', 'apache2', 'restart'], check_call=True)
File "/usr/lib/
args, check_call=
File "/usr/lib/
stderr.
Exception: Command 'ssh -i /home/bladernr/
* Restarting web server apache2
Action 'start' failed.
The Apache error log may have more information.
...fail!
* The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
-------
Ran 0 tests in 205.973s
FAILED (errors=1)
Can't get those logs because teh VM has been destroyed
192.168.122.76 is the address I think it's complaining about... but not sure... but either way, I don't know where that IP is being used other than this VM... it's the only thing running on that network.
Related branches
- Jeroen T. Vermeulen (community): Approve
-
Diff: 206 lines (+116/-12)4 files modifiedmaastest/maasfixture.py (+10/-2)
maastest/tests/test_maasfixture.py (+78/-4)
maastest/tests/test_utils.py (+17/-0)
maastest/utils.py (+11/-6)
Changed in maas-test: | |
assignee: | nobody → Raphaël Badin (rvb) |
status: | Triaged → Fix Committed |
I've seen that happen as well. Not sure what we can do apart from catching the error and retrying.