Bug 2014704

Summary: 'go tool dist test' failures on rhel-8.6 x86_64
Product: Red Hat Enterprise Linux 8 Reporter: Edjunior Barbosa Machado <emachado>
Component: golangAssignee: Alejandro Sáez Morollón <asm>
Status: CLOSED ERRATA QA Contact: Edjunior Barbosa Machado <emachado>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: asm, dbenoit, emachado, tschelle, tstellar
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: go-toolset-rhel8-8060020211027190916.76a129d7 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 13:44:31 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:
Attachments:
Description Flags
'go tool dist test' full output none

Description Edjunior Barbosa Machado 2021-10-15 22:21:46 UTC
Created attachment 1833579 [details]
'go tool dist test' full output

Description of problem:
Some failures occur when issuing 'go tool dist test' on rhel-8.6 go-toolset:rhel8:8060020211014151133:76a129d7:

[root@ci-vm-10-0-138-239 ~]# go tool dist test -rebuild -v -v -v -k
(...)
##### internal linking of -buildmode=pie
# go tool dist test -run=^pie_internal$
go test -short=true -count=1 -tags= -run= reflect -buildmode=pie -ldflags=-linkmode=internal -timeout=1m0s
fork/exec /tmp/go-build2931230975/b001/reflect.test: no such file or directory
FAIL    reflect 0.001s
FAIL
2021/10/15 17:58:40 Failed: exit status 1
(...)
go test -short=true -count=1 -tags= -run= -buildmode=pie
fork/exec /tmp/go-build3044346001/b001/nocgo.test: no such file or directory
FAIL    misc/cgo/nocgo  0.003s
2021/10/15 17:59:37 Failed: exit status 1
(...)
##### ../misc/cgo/testshared
# go tool dist test -run=^testshared$
go test -short=true -count=1 -tags= -run= -timeout=10m0s .
--- FAIL: TestTrivialPIE (0.16s)
    shared_test.go:50: executing ./trivial_pie (trivial_pie) failed fork/exec ./trivial_pie: no such file or directory:
FAIL
FAIL    misc/cgo/testshared     42.203s
FAIL
2021/10/15 18:00:24 Failed: exit status 1
(...)

These failures were not reproducible with previous rhel-8.5 go-toolset:rhel8:8050020210817155413:8aa62369 (golang-1.16.7-1.module+el8.5.0+12246+1aac4e3f).

Version-Release number of selected component (if applicable):
go-toolset:rhel8:8060020211014151133:76a129d7 (golang-1.17.2-1.module+el8.6.0+12972+ebab5911)
RHEL-8.6.0-20211008.1

How reproducible:
100%

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

Comment 10 errata-xmlrpc 2022-05-10 13:44:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: go-toolset:rhel8 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1819