Bug 10921

Summary: nightly-oe-selftest ross/mut devtools test failed
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Armin Kuster <akuster>
Component: coreAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Armin Kuster 2017-01-13 00:46:54 UTC
2017-01-12 09:38:42 - test_devtool_upgrade (oeqa.selftest.devtool.DevtoolTests) ... FAIL
2017-01-12 09:39:04 - test_devtool_upgrade_git (oeqa.selftest.devtool.DevtoolTests) ... FAIL

<snipped>

======================================================================
FAIL: test_devtool_upgrade (oeqa.selftest.devtool.DevtoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/devtool.py", line 1285, in test_devtool_upgrade
    self.assertEqual(desiredlines, newlines)
AssertionError: Lists differ: ['SUM[524 chars]n', 'inherit autotools\n', '\n'] != ['SUM[524 chars]n', 'EXCLUDE_FROM_WORLD = "1"\n', '\n', 'inher[17 chars]'\n']

First differing element 12:
'inherit autotools\n'
'EXCLUDE_FROM_WORLD = "1"\n'

Second list contains 2 additional elements.
First extra element 14:
'inherit autotools\n'

Diff is 657 characters long. Set self.maxDiff to None to see it.

======================================================================
FAIL: test_devtool_upgrade_git (oeqa.selftest.devtool.DevtoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py", line 109, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/devtool.py", line 1322, in test_devtool_upgrade_git
    self.assertEqual(desiredlines, newlines)
AssertionError: Lists differ: ['SUM[551 chars]n', 'inherit autotools pkgconfig\n'] != ['SUM[551 chars]n', 'EXCLUDE_FROM_WORLD = "1"\n', '\n', 'inher[21 chars]g\n']

First differing element 16:
'inherit autotools pkgconfig\n'
'EXCLUDE_FROM_WORLD = "1"\n'

Second list contains 2 additional elements.
First extra element 17:
'\n'

Diff is 685 characters long. Set self.maxDiff to None to see it.

----------------------------------------------------------------------
Ran 247 tests in 18819.762s

FAILED (failures=2)
Comment 1 Ross Burton 2017-01-13 11:40:55 UTC
One of the selftest cleanups wasn't tested, fixed in mut.