test_package_upload_new_leader fails sometimes

Bug #1475327 reported by Andreas Hasenack
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Charm

Bug Description

As seen in https://ci.lscape.net/job/charm-integration-test/22/console, timestamp 23:46:51:

23:46:51 Failure in test test_package_upload_new_leader (basic.test_leader.LandscapeLeaderDestroyedTest)
23:46:51 Traceback (most recent call last):
23:46:51 File "/usr/lib/python3.4/unittest/case.py", line 57, in testPartExecutor
23:46:51 yield
23:46:51 File "/usr/lib/python3.4/unittest/case.py", line 574, in run
23:46:51 testMethod()
23:46:51 File "/var/jenkins/workspace/charm-integration-test/tests/basic/test_leader.py", line 47, in test_package_upload_new_leader
23:46:51 self.environment.check_service("package-upload")
23:46:51 File "/var/jenkins/workspace/charm-integration-test/tests/helpers.py", line 224, in check_service
23:46:51 attempts=attempts, interval=interval)
23:46:51 File "/var/jenkins/workspace/charm-integration-test/tests/helpers.py", line 158, in check_url
23:46:51 raise AssertionError(msg.format(url, good_content, output))
23:46:51 AssertionError: Content Not found!
23:46:51 url:
23:46:51 good_content:['package upload service']
23:46:51 output:<!DOCTYPE html>
23:46:51 <!-- Copyright 2005-2015 Canonical Limited. All rights reserved. -->
23:46:51 <html>
23:46:51 <head>
23:46:51 <title>Error - Landscape</title>
(...) (that's a 404 page, btw)

I checked in another similar run that failed like this and there was no acl entry for the package upload service redirecting it to the right backend.

tags: removed: kanban
Revision history for this message
Andreas Hasenack (ahasenack) wrote :
Benji York (benji)
Changed in landscape-charm:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.