Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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: ---Flags: pm-rhel: mirror+
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).