| Summary: | oe-selftest-centos: gotoolchain.oeGoToolchainSelfTest.test_go_dep_build failed | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Leonardo Sandoval <leonardo.sandoval> |
| Component: | core | Assignee: | vinay.m.engg <vinay.m.engg> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | meta.mr.watcher, meta.watcher, oobitots, randy.macleod, vinay.m.engg |
| Version: | 3.3 | ||
| Target Milestone: | 3.4 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
The same collection [1] has several other build failures, but all yielding the same error log. Status and Notes at [1] have been updated accordingly. Patch in master-next. debian8-ty-1 oe-selftest-debian https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/1936/steps/14/logs/stdio 2021-03-20 10:21:14,471 - oe-selftest - INFO - ====================================================================== 2021-03-20 10:21:14,471 - oe-selftest - INFO - FAIL: gotoolchain.oeGoToolchainSelfTest.test_go_dep_build (subunit.RemotedTestCase) 2021-03-20 10:21:14,471 - oe-selftest - INFO - ---------------------------------------------------------------------- 2021-03-20 10:21:14,472 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last): File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/gotoolchain.py", line 68, in test_go_dep_build retv = self.run_sdk_go_command('build', proj, name) File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/selftest/cases/gotoolchain.py", line 54, in run_sdk_go_command return runCmd(cmd).status File "/home/pokybuild/yocto-worker/oe-selftest-debian/build/meta/lib/oeqa/utils/commands.py", line 210, in runCmd raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output)) AssertionError: Command 'cd /tmp/SDKQAlwmawa9t/go/src/github.com/direnv/direnv; . /tmp/SDKQAlwmawa9t/environment-setup-core2-64-poky-linux; export GOPATH=/tmp/SDKQAlwmawa9t/go; ${CROSS_COMPILE}go build' returned non-zero exit status 1: go: github.com/BurntSushi/toml@v0.3.1: Get "https://proxy.golang.org/github.com/%21burnt%21sushi/toml/@v/v0.3.1.mod": net/http: TLS handshake timeout 2021-03-20 10:21:14,472 - oe-selftest - INFO - ---------------------------------------------------------------------- 2021-03-20 10:21:14,472 - oe-selftest - INFO - Ran 426 tests in 5585.262s 2021-03-20 10:21:14,472 - oe-selftest - INFO - FAILED 2021-03-20 10:21:14,472 - oe-selftest - INFO - (failures=1, skipped=7) Wrong bug, copied to the https://bugzilla.yoctoproject.org/show_bug.cgi?id=14290 Khem, was this fix merged? If so can you paste link to the commit? related to 14290? Vinay tried to reproduce this but wasn't able to. Is he missing something? -- Randy --- Command: $oe-selftest -r gotoolchain.oeGoToolchainSelfTest.test_go_dep_build #With latest master-next brach =============================== 2021-08-05 23:25:09,676 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it 2021-08-05 23:25:13,563 - oe-selftest - INFO - Adding layer libraries: 2021-08-05 23:25:13,564 - oe-selftest - INFO - /ala-lpggp31/vinay/R14290/master-next/meta/lib 2021-08-05 23:25:13,564 - oe-selftest - INFO - /ala-lpggp31/vinay/R14290/master-next/meta-yocto-bsp/lib 2021-08-05 23:25:13,564 - oe-selftest - INFO - /ala-lpggp31/vinay/R14290/master-next/meta-selftest/lib 2021-08-05 23:25:13,566 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable 2021-08-05 23:25:16,448 - oe-selftest - INFO - Adding: "include selftest.inc" in /ala-lpggp31/vinay/R14290/bld-next-st/conf/local.conf 2021-08-05 23:25:16,448 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf 2021-08-05 23:53:47,135 - oe-selftest - INFO - test_go_dep_build (gotoolchain.oeGoToolchainSelfTest) 2021-08-05 23:53:55,845 - oe-selftest - INFO - ... ok 2021-08-05 23:54:59,885 - oe-selftest - INFO - ---------------------------------------------------------------------- 2021-08-05 23:54:59,886 - oe-selftest - INFO - Ran 1 test in 1784.926s 2021-08-05 23:54:59,886 - oe-selftest - INFO - OK 2021-08-05 23:55:08,620 - oe-selftest - INFO - RESULTS: 2021-08-05 23:55:08,620 - oe-selftest - INFO - RESULTS - gotoolchain.oeGoToolchainSelfTest.test_go_dep_build: PASSED (8.71s) 2021-08-05 23:55:08,621 - oe-selftest - INFO - SUMMARY: 2021-08-05 23:55:08,621 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1784.927s 2021-08-05 23:55:08,621 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0) =============================== #With latest master branch =============================== 2021-08-05 22:10:19,910 - oe-selftest - INFO - Adding layer libraries: 2021-08-05 22:10:19,911 - oe-selftest - INFO - /ala-lpggp31/vinay/R14290/poky/meta/lib 2021-08-05 22:10:19,911 - oe-selftest - INFO - /ala-lpggp31/vinay/R14290/poky/meta-yocto-bsp/lib 2021-08-05 22:10:19,911 - oe-selftest - INFO - /ala-lpggp31/vinay/R14290/poky/meta-selftest/lib 2021-08-05 22:10:19,912 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable 2021-08-05 22:10:22,784 - oe-selftest - INFO - Adding: "include selftest.inc" in /ala-lpggp31/vinay/R14290/bld-st/conf/local.conf 2021-08-05 22:10:22,785 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf 2021-08-05 22:43:11,763 - oe-selftest - INFO - test_go_dep_build (gotoolchain.oeGoToolchainSelfTest) 2021-08-05 22:43:24,795 - oe-selftest - INFO - ... ok 2021-08-05 22:45:56,629 - oe-selftest - INFO - ---------------------------------------------------------------------- 2021-08-05 22:45:56,631 - oe-selftest - INFO - Ran 1 test in 2135.280s 2021-08-05 22:45:56,631 - oe-selftest - INFO - OK 2021-08-05 22:46:16,071 - oe-selftest - INFO - RESULTS: 2021-08-05 22:46:16,072 - oe-selftest - INFO - RESULTS - gotoolchain.oeGoToolchainSelfTest.test_go_dep_build: PASSED (13.03s) 2021-08-05 22:46:16,073 - oe-selftest - INFO - SUMMARY: 2021-08-05 22:46:16,074 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 2135.283s 2021-08-05 22:46:16,074 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0) =============================== Please let me know if anything is missing from my side to reproduce the issue. Regards, Vinay Hi, Also, the issue is not reproducible on, hardknott branch: https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=hardknott poky-yocto-3.3 release: https://git.yoctoproject.org/cgit/cgit.cgi/poky/snapshot/poky-yocto-3.3.tar.gz Regards, Vinay Hi, Could not reproduce issue with hardknott branch: https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=hardknott poky-yocto-3.3 release: https://git.yoctoproject.org/cgit/cgit.cgi/poky/snapshot/poky-yocto-3.3.tar.gz Regards, Vinay Works for Vinay. Please re-open if you can reproduce the problem and include step by step instructions. Thanks for testing Vinay, as a reward, I've given you the other bug: 14290 ;-) |
AB collection [1], build [2] failed: 2021-02-24 13:27:03,095 - oe-selftest - INFO - gotoolchain.oeGoToolchainSelfTest.test_go_dep_build (subunit.RemotedTestCase) 2021-02-24 13:27:03,095 - oe-selftest - INFO - ... FAIL 2021-02-24 13:27:03,095 - oe-selftest - INFO - 8: 2/8 219/424 (3.70s) (gotoolchain.oeGoToolchainSelfTest.test_go_dep_build) 2021-02-24 13:27:03,095 - 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/gotoolchain.py", line 69, in test_go_dep_build % (proj, name)) File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/gotoolchain.py", line 54, in run_sdk_go_command return runCmd(cmd).status File "/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/utils/commands.py", line 210, in runCmd raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output)) AssertionError: Command 'cd /tmp/SDKQAd5odnd7l; . /tmp/SDKQAd5odnd7l/environment-setup-core2-64-poky-linux; export GOPATH=/tmp/SDKQAd5odnd7l/go; ${CROSS_COMPILE}go build github.com/golang/dep/cmd/dep' returned non-zero exit status 1: no required module provides package github.com/golang/dep/cmd/dep: working directory is not part of a module [1] https://swatbot.yoctoproject.org/collection/561/ [2] https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/1869/steps/14/logs/stdio