Bionic package_upgrade integration tests fail on htop

Bug #1769985 reported by Chad Smith on 2018-05-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Low
Chad Smith

Bug Description

Integration tests (cloud_test) on bionic because bionic images contain htop package already and the package_update_upgrade_install integration test is a bit brittle and only tries matching the specific 'Setting up htop' in cloud-init-output.log which now reports.

"htop is already the newest version"

The traceback for tox -e citest:

  File "/var/lib/jenkins/slaves/torkoal/workspace/cloud-init-integration-proposed-b/cloud-init/tests/cloud_tests/testcases/modules/package_update_upgrade_install.py", line 32, in test_cloud_init_output
    self.assertIn('Setting up htop (', out)
AssertionError: 'Setting up htop (' not found in "Cloud-init v. 18.2 running 'init-local' at Tue, 08 May 2018 11:35:46 +0000. Up 4.95

full logs @ https://jenkins.ubuntu.com/server/view/cloud-init/job/cloud-init-integration-proposed-b/9/console

Related branches

Chad Smith (chad.smith) on 2018-05-08
Changed in cloud-init:
assignee: nobody → Chad Smith (chad.smith)
importance: Undecided → Low
status: New → In Progress
Chad Smith (chad.smith) wrote :

An upstream commit landed for this bug.

To view that commit see the following URL:
https://git.launchpad.net/cloud-init/commit/?id=323eb309

Changed in cloud-init:
status: In Progress → Fix Committed

This bug is believed to be fixed in cloud-init in version 18.3. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in cloud-init:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers