← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1693307] [NEW] tests: centos6 env failures

 

Public bug reported:

There are two current test failures on centos6 tox env.


Steps to reproduce:
0. lxc launch images:centos/6 c6
1. lxc exec c6 bash
2. yum install epel-release -y
3. yum install git python-pip -y
4. git clone master
5. cd cloud-init
6. tox -e centos6

======================================================================
ERROR: Test read_user_data_callback() no files are found.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/cloud-init/tests/unittests/test_datasource/test_altcloud.py", line 422, in test_callback_none
    self.assertIsNone(dsac.read_user_data_callback(self.mount_dir))
AttributeError: 'TestReadUserDataCallback' object has no attribute 'assertIsNone'

======================================================================
FAIL: test_scripts_shebanged (tests.unittests.test_datasource.test_smartos.TestSmartOSDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/cloud-init/tests/unittests/test_datasource/test_smartos.py", line 465, in test_scripts_shebanged
    self.assertEqual(shebang, "#!/bin/bash")
AssertionError: '/bin/true' != '#!/bin/bash'
- /bin/true
+ #!/bin/bash

** Affects: cloud-init
     Importance: Undecided
         Status: New

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

Title:
  tests: centos6 env failures

Status in cloud-init:
  New

Bug description:
  There are two current test failures on centos6 tox env.

  
  Steps to reproduce:
  0. lxc launch images:centos/6 c6
  1. lxc exec c6 bash
  2. yum install epel-release -y
  3. yum install git python-pip -y
  4. git clone master
  5. cd cloud-init
  6. tox -e centos6

  ======================================================================
  ERROR: Test read_user_data_callback() no files are found.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/root/cloud-init/tests/unittests/test_datasource/test_altcloud.py", line 422, in test_callback_none
      self.assertIsNone(dsac.read_user_data_callback(self.mount_dir))
  AttributeError: 'TestReadUserDataCallback' object has no attribute 'assertIsNone'

  ======================================================================
  FAIL: test_scripts_shebanged (tests.unittests.test_datasource.test_smartos.TestSmartOSDataSource)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/root/cloud-init/tests/unittests/test_datasource/test_smartos.py", line 465, in test_scripts_shebanged
      self.assertEqual(shebang, "#!/bin/bash")
  AssertionError: '/bin/true' != '#!/bin/bash'
  - /bin/true
  + #!/bin/bash

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


Follow ups