Bug 14786

Summary: AB-INT: prservice.BitbakePrTests.test_pr_service_deb_arch_dep failure
Product: [QA/Testing] Functional (self) Testing Reporter: Alexandre Belloni <alexandre.belloni>
Component: oe-selftestAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: alex.kanavin, alexandre.belloni, pavel, randy.macleod, richard.purdie
Version: unspecified   
Target Milestone: 4.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT AB-NON-SSD
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandre Belloni 2022-04-14 13:15:09 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/3400/steps/14/logs/stdio

oe-selftest-ubuntu ubuntu1804-ty-3


022-04-03 13:41:17,920 - oe-selftest - INFO - prservice.BitbakePrTests.test_pr_service_deb_arch_dep (subunit.RemotedTestCase)
2022-04-03 13:41:17,921 - oe-selftest - INFO -  ... FAIL
2022-04-03 13:41:17,921 - oe-selftest - INFO - 3: 50/60 297/479 (240.60s) (prservice.BitbakePrTests.test_pr_service_deb_arch_dep)
2022-04-03 13:41:17,921 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/prservice.py", line 104, in test_pr_service_deb_arch_dep
    self.run_test_pr_service('m4', 'deb', 'do_package')
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/prservice.py", line 66, in run_test_pr_service
    self.assertTrue(pr_2 - pr_1 == 1, "New PR %s did not increment as expected (from %s), difference should be 1" % (pr_2, pr_1))
  File "/usr/lib/python3.6/unittest/case.py", line 682, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : New PR 0 did not increment as expected (from 4), difference should be 1
Comment 1 Randy MacLeod 2022-04-14 14:50:35 UTC
This was with memory-resident bitbake.
Closing https://bugzilla.yoctoproject.org/show_bug.cgi?id=14023 and using this bug to track the situation now.
Comment 2 Richard Purdie 2022-04-16 09:45:20 UTC
This is with BB_SERVER_TIMEOUT = "60"
Comment 3 Randy MacLeod 2022-06-30 14:50:39 UTC
We've just enabled server timeout again after having not had it enabled for months.
Comment 4 Randy MacLeod 2022-07-21 14:43:09 UTC
WE re-enabled memory resident bitbake on June 25. 
https://git.yoctoproject.org/yocto-autobuilder-helper/commit/?id=8f078d87906b4bd331e19b0fea61420b77dddc08 

so this may happen again. Waiting.
Comment 5 Alexander Kanavin 2022-08-31 19:00:42 UTC
I think it happened here?
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/4011/steps/14/logs/stdio
Comment 6 Alexandre Belloni 2022-10-14 15:22:50 UTC
Obviously, this happened on 4.1 rc1:

https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/4193/steps/15/logs/stdio

2022-09-29 21:33:56,221 - oe-selftest - INFO - prservice.BitbakePrTests.test_pr_service_ipk_arch_indep (subunit.RemotedTestCase)
2022-09-29 21:33:56,222 - oe-selftest - INFO -  ... FAIL
2022-09-29 21:33:56,222 - oe-selftest - INFO - 6: 15/22 317/503 (102.31s) (prservice.BitbakePrTests.test_pr_service_ipk_arch_indep)
2022-09-29 21:33:56,222 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/prservice.py", line 118, in test_pr_service_ipk_arch_indep
    self.run_test_pr_service('xcursor-transparent-theme', 'ipk', 'do_package')
  File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/prservice.py", line 68, in run_test_pr_service
    self.assertTrue(pr_2 - pr_1 == 1, "New PR %s did not increment as expected (from %s), difference should be 1" % (pr_2, pr_1))
  File "/usr/lib64/python3.6/unittest/case.py", line 699, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : New PR 0 did not increment as expected (from 2), difference should be 1
Comment 8 Alexandre Belloni 2022-11-24 16:16:08 UTC
The build directory is saved on debian11-ty-1:/home/pokybuild/bug14786
Comment 9 Alexandre Belloni 2022-12-12 21:31:11 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/4432/steps/14/logs/stdio
oe-selftest-debian debian11-ty-1
Comment 10 Alexandre Belloni 2023-01-12 13:53:41 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/4620/steps/14/logs/stdio
oe-selftest-fedora fedora36-ty-3
Comment 11 Alexandre Belloni 2023-01-28 09:48:40 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/822/steps/14/logs/stdio

oe-selftest-armhost ubuntu2204-arm-1