Unable to run autopilot tests due to missing local storage db

Bug #1218598 reported by Francis Ginther
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Weather App
Invalid
Low
Unassigned

Bug Description

This issue appears to only impact the jenkins system. I was unable to reproduce on my development desktop. Right now, a workaround is in place to keep ci going.

When there is no local storage db in ~/.local/share/Qt Project/QtQmlViewer/QML/OfflineStorage/Databases, all of the tests fail with:

[Failure log]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntu_weather_app/tests/test_mainview.py", line 28, in setUp
    self.clean_db()
  File "/usr/lib/python2.7/dist-packages/ubuntu_weather_app/tests/__init__.py", line 128, in clean_db
    self.assertNotEquals(path, None)
AssertionError: None == None

[Example]
http://91.189.93.70:8080/job/generic-mediumtests/93

[Workaround]
The workaround was to seed the jenkins test machine with a working DB from another system.

Changed in ubuntu-weather-app:
status: New → Confirmed
David Planella (dpm)
Changed in ubuntu-weather-app:
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

This occurs on the device as well

Changed in ubuntu-weather-app:
importance: Low → High
importance: High → Low
Revision history for this message
Evan McIntire (mcintire-evan) wrote :

Can anyone confirm that this is still an issue?

Changed in ubuntu-weather-app:
status: Triaged → Incomplete
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

This seems to be related to the old weather-app and the old test suite. As this is such an old bug and has been incomplete for long time, I am going to mark this bug as invalid. Please report any current test failures as new bugs.

Changed in ubuntu-weather-app:
status: Incomplete → Invalid
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.