Bug 2076495

Summary: 'go tool dist test' failures on rhel-8.7 ppc64le
Product: Red Hat Enterprise Linux 8 Reporter: Edjunior Barbosa Machado <emachado>
Component: golangAssignee: David Benoit <dbenoit>
Status: CLOSED CURRENTRELEASE QA Contact: Edjunior Barbosa Machado <emachado>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.7CC: asm, emachado, sipoyare, tstellar
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
Fixed In Version: go-toolset-rhel8-8070020221025141415.ded9a3e2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2079067 2098211 (view as bug list) Environment:
Last Closed: 2022-12-15 13:54:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2079067, 2098211    
Attachments:
Description Flags
'go tool dist test' full output none

Description Edjunior Barbosa Machado 2022-04-19 08:01:53 UTC
Created attachment 1873463 [details]
'go tool dist test' full output

Description of problem:
Some failures occur on ppc64le when executing 'go tool dist test' on rhel-8.7:

[root@ibm-p8-kvm-03-guest-02 ~]# GO_TEST_TIMEOUT_SCALE=20 GOCACHE=off go tool dist test -rebuild -v -v -v -k
(...)
run: go list -gcflags=all= -ldflags=all= -f={{if .Stale}}	STALE {{.ImportPath}}: {{.StaleReason}}{{end}} std DONE
go test -short=true -count=1 -run= -buildmode=pie -tags=no_openssl
fork/exec /tmp/go-build1780314525/b001/nocgo.test: no such file or directory
FAIL	misc/cgo/nocgo	0.001s
2022/04/18 17:58:24 Failed: exit status 1
(...)
##### ../misc/cgo/testshared
# go tool dist test -run=^testshared$
go test -short=true -count=1 -tags= -run= -timeout=3h20m0s .
--- FAIL: TestTrivialPIE (0.16s)
    shared_test.go:51: executing ./trivial_pie (trivial_pie) failed fork/exec ./trivial_pie: no such file or directory:
FAIL
FAIL	misc/cgo/testshared	61.546s
FAIL
2022/04/18 17:59:32 Failed: exit status 1
(...)

The failures were not reproducible on previous golang-1.17.7-1.module+el8.6.0+14297+32a15e19 on rhel-8.6.

This is similar to bug #2014704 found on rhel-8.6 x86_64, already solved on golang-1.17.2-2.module+el8.6.0+13072+44fdffd1.

Version-Release number of selected component (if applicable):
go-toolset:rhel8:8070020220414195051:347cc21f
golang-1.18.0-1.module+el8.7.0+14844+3c99e33e.ppc64le
RHEL-8.7.0-20220418.0

Steps to Reproduce:
1. go tool dist test -rebuild -v -v -v -k

Comment 1 Edjunior Barbosa Machado 2022-04-22 09:54:38 UTC
Also reproducible with latest golang-1.18.0-2.module+el8.7.0+14880+f5e30240.ppc64le (go-toolset:rhel8:8070020220419133936:347cc21f).