Problem with regression tests in cloud-init 0.7.4.
Dear all,
I would like to update cloud-init to version 0.7.4, but it fails to build from
source in a clean schroot with errors such as the following.
dh_auto_test
/usr/bin/make test
make[2]: Entering directory `/«PKGBUILDDIR»'
...........................................................................................
.......FFFFFFFFFFFFFFF.....................................................................
.SS.............................................................................
======================================================================
FAIL: test_b64_keys (tests.unittests.test_datasource.test_smartos.TestSmartOSDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/mocker.py", line 146, in test_method_wrapper
result = test_method()
File "/«PKGBUILDDIR»/tests/unittests/test_datasource/test_smartos.py", line 238, in test_b64_keys
self.assertTrue(ret)
AssertionError: False is not true
-------------------- >> begin captured logging << --------------------
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_list'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_list with attributes ['Merger'] in ['cloudinit.mergers.m_list']
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_dict'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_dict with attributes ['Merger'] in ['cloudinit.mergers.m_dict']
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_str'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_str with attributes ['Merger'] in ['cloudinit.mergers.m_str']
cloudinit.mergers: DEBUG: Merging 'dict' into 'dict' using method '_handle_unknown' of 'LookupMerger: (3)'
cloudinit.mergers: DEBUG: Merging using located merger 'DictMerger: (method=no_replace,recurse_str=False,recurse_dict=True,recurse_array=False,allow_delete=False)' since it had method '_on_dict'
cloudinit.sources.DataSourceSmartOS: DEBUG: Host does not appear to be on SmartOS
--------------------- >> end captured logging << ---------------------
Strangely, it built fine on my Destktop machine. Perhaps a package is missing,
but the error message does not suggest which one.
Does anybody has an idea ?
--
Charles Plessy
Tsurumi, Kanagawa, Japan
Reply to: