Created attachment 4448 [details] Test logs from public Autobuilder Following test case failed in Public autobuilder: testseries | result_id : oe-selftest | oeselftest_opensuseleap-15.0_qemux86-64_20190320011444 wic.Wic2.test_wic_cp_ext "wic.Wic2.test_wic_cp_ext": { "log": "testtools.testresult.real._StringException: Traceback (most recent call last):\n File \"/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/wic.py\", line 1020, in test_wic_cp_ext\n self.assertEqual(newdirs.difference(dirs), set([os.path.basename(testfile.name)]))\n File \"/usr/lib64/python3.6/unittest/case.py\", line 829, in assertEqual\n assertion_func(first, second, msg=msg)\n File \"/usr/lib64/python3.6/unittest/case.py\", line 1082, in assertSetEqual\n self.fail(self._formatMessage(msg, standardMsg))\n File \"/usr/lib64/python3.6/unittest/case.py\", line 670, in fail\n raise self.failureException(msg)\nAssertionError: Items in the second set but not the first:\n'tmpj6hrnagn.wic-cp'\n\n", "status": "FAILED" },
This consistently fails only on opensuse150
Reproduced outside OEQA with: (add meta-selftest to layers, build core-image-minimal) wic create wictestdisk --image-name=core-image-minimal -D -o rptemp touch foo.bar wic cp foo.bar rptemp/wictestdisk-201904031001-sda.direct:2/ -n /home/rpurdie /poky/build/build/tmp/work/core2-64-poky-linux/wic-tools/1.0-r0/recipe-sysroot-native/ wic ls rptemp/wictestdisk-201904031001-sda.direct:2/ -n /home/rpurdie/poky/build/build/tmp/work/core2-64-poky-linux/wic-tools/1.0-r0/recipe-sysroot-native/ and the file isn't listed.
Reverting http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=89d4a8df074598cfb3a76e41db7c45d845afd961 fixes this. /bin/sh is bash on the machine in question.
Due to a missing \n at the end
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=904873381133d631e44640cd5e303b9352bd7f29