← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1769985] [NEW] Bionic package_upgrade integration tests fail on htop

 

Public bug reported:

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

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

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

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

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

-- 
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/1769985

Title:
  Bionic package_upgrade integration tests fail on htop

Status in cloud-init:
  In Progress

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

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


Follow ups