← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1797155] [NEW] lxd/kvm integration test failures due to changed metadata value

 

Public bug reported:

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

v1_data (instance-data.json) changed cloud_name for nocloud kvm and lxd
to report 'nocloud' instead of 'unknown' for the cloud_name key. Need to
fix test assertions.


FAIL: test_instance_data_json_kvm (tests.cloud_tests.testcases.bugs.lp1628337.TestLP1628337)
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 263, in test_instance_data_json_kvm
    self.assertEqual('unknown', v1_data['cloud_name'])
AssertionError: 'unknown' != 'nocloud'
- unknown


FAIL: test_instance_data_json_lxd (tests.cloud_tests.testcases.modules.ssh_auth_key_fingerprints_disable.TestSshKeyFingerprintsDisable)
Validate instance-data.json content by lxd platform.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/slaves/torkoal/workspace/cloud-init-integration-lxd-c/cloud-init/tests/cloud_tests/testcases/base.py", line 226, in test_instance_data_json_lxd
    self.assertEqual('unknown', v1_data['cloud_name'])
AssertionError: 'unknown' != 'nocloud'
- unknown
+ nocloud

** Affects: cloud-init
     Importance: High
     Assignee: Chad Smith (chad.smith)
         Status: In Progress

** Changed in: cloud-init
   Importance: Undecided => High

** Changed in: cloud-init
       Status: New => In Progress

** Changed in: cloud-init
     Assignee: (unassigned) => Chad Smith (chad.smith)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1797155

Title:
  lxd/kvm integration test failures due to changed metadata value

Status in cloud-init:
  In Progress

Bug description:
  Cosmic integration tests are failing on lxd and nocloud kvm platforms
  due to failed/invalid assertions.

  v1_data (instance-data.json) changed cloud_name for nocloud kvm and
  lxd to report 'nocloud' instead of 'unknown' for the cloud_name key.
  Need to fix test assertions.



  FAIL: test_instance_data_json_kvm (tests.cloud_tests.testcases.bugs.lp1628337.TestLP1628337)
  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 263, in test_instance_data_json_kvm
      self.assertEqual('unknown', v1_data['cloud_name'])
  AssertionError: 'unknown' != 'nocloud'
  - unknown

  
  FAIL: test_instance_data_json_lxd (tests.cloud_tests.testcases.modules.ssh_auth_key_fingerprints_disable.TestSshKeyFingerprintsDisable)
  Validate instance-data.json content by lxd platform.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/var/lib/jenkins/slaves/torkoal/workspace/cloud-init-integration-lxd-c/cloud-init/tests/cloud_tests/testcases/base.py", line 226, in test_instance_data_json_lxd
      self.assertEqual('unknown', v1_data['cloud_name'])
  AssertionError: 'unknown' != 'nocloud'
  - unknown
  + nocloud

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1797155/+subscriptions


Follow ups