kvm integration test failures due to invalid config-disk path

Bug #1797199 reported by Chad Smith on 2018-10-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Chad Smith

Bug Description

Cosmic and bionic integration tests are failing on nocloud kvm platforms due to invalid/strict assertions.

FAIL: test_instance_data_json_kvm (tests.cloud_tests.testcases.modules.set_password_expire.TestPasswordExpire)
Validate instance-data.json content by nocloud-kvm platform.
Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/torkoal/workspace/cloud-init-integration-nocloud-kvm-c/cloud-init/tests/cloud_tests/testcases/base.py", line 265, in test_instance_data_json_kvm
    self.assertEqual('config-disk (/dev/vda)', v1_data['subplatform'])
AssertionError: 'config-disk (/dev/vda)' != 'config-disk (/dev/vdb)'
- config-disk (/dev/vda)
? ^
+ config-disk (/dev/vdb)

Related branches

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

This bug is fixed with commit 9f88125a to cloud-init on branch master.
To view that commit see the following URL:

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

This bug is believed to be fixed in cloud-init in version 18.5. 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