Bug 15001

Summary: AB-INT archiver.Archiver.test_archiver_srpm_mode failure (KeyError: 1)
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Alexandre Belloni <alexandre.belloni>
Component: coreAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: alexandre.belloni, meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2023-01-11 22:41:28 UTC
2022-12-30 02:57:17,002 - oe-selftest - INFO - ======================================================================
2022-12-30 02:57:17,002 - oe-selftest - INFO - FAIL: archiver.Archiver.test_archiver_srpm_mode (subunit.RemotedTestCase)
2022-12-30 02:57:17,003 - oe-selftest - INFO - ----------------------------------------------------------------------
2022-12-30 02:57:17,003 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/archiver.py", line 166, in test_archiver_srpm_mode
    bitbake('-n selftest-nopackages selftest-ed')
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 236, in bitbake
    return runCmd(cmd, ignore_status, timeout, output_log=output_log, **options)
  File "/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/utils/commands.py", line 214, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'bitbake  -n selftest-nopackages selftest-ed' returned non-zero exit status 1:
NOTE: Reconnecting to bitbake server...
Loading cache...done.
Loaded 0 entries from dependency cache.
Parsing recipes...ERROR: Exception during parse: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/cooker.py", line 2319, in parse_next
    parsed, mc, result = next(self.results)
  File "/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/cooker.py", line 2303, in parse_generator
    result = self.result_queue.get(timeout=0.25)
  File "/usr/lib64/python3.10/multiprocessing/queues.py", line 122, in get
    return _ForkingPickler.loads(res)
  File "/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/cache.py", line 337, in __setstate__
    setattr(self, key, self._restore(state[key], pid))
  File "/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/cache.py", line 316, in _restore
    ret[dep] = map[mapnum]
KeyError: 1
ERROR: Parsing halted due to errors, see error messages above


https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/2092/steps/14/logs/stdio
oe-selftest debian11-ty-2

https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/723/steps/14/logs/stdio
oe-selftest-armhost ubuntu2204-arm-1


https://autobuilder.yoctoproject.org/typhoon/#builders/56/builds/2090/steps/14/logs/stdio
oe-selftest fedora36-ty-2


https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/2091/steps/14/logs/stdio
oe-selftest ubuntu2204-ty-3
Comment 1 Alexandre Belloni 2023-01-12 11:24:45 UTC
Fixed by RP in the meantime