maas-integration.TestMAASIntegration.test_create_admin ... ok
maas-integration.TestMAASIntegration.test_restart_dbus_avahi ... SKIP: 
Avahi/DBUS are not used anymore
maas-integration.TestMAASIntegration.test_update_maas_url ... FAIL
SKIP: Not testing Cluster controller

======================================================================
FAIL: maas-integration.TestMAASIntegration.test_update_maas_url
----------------------------------------------------------------------
_StringException: ['service', 'apache2', 'restart'] stderr: {{{
(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
}}}

['service', 'apache2', 'restart'] stdout: {{{
* 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
}}}

This failed because apache2 failed to restart in 20 seconds. This is something we had to workaround in maas-test as well: we need to retry the restart command a couple of times before giving up.


--
Mailing list: https://launchpad.net/~maas-builds
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maas-builds
More help   : https://help.launchpad.net/ListHelp

Reply via email to