Bug 2077956

Summary: delve internal testsuite fails on rhel-8.7 x86_64
Product: Red Hat Enterprise Linux 8 Reporter: Edjunior Barbosa Machado <emachado>
Component: delveAssignee: Alejandro Sáez Morollón <asm>
Status: CLOSED ERRATA QA Contact: Edjunior Barbosa Machado <emachado>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.7CC: asm, sipoyare
Target Milestone: rcKeywords: Bugfix, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: go-toolset:rhel8:8070020220503122809:347cc21f Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-08 09:30:17 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
delve-1.7.2-1.module+el8.6.0+12972+ebab5911 rpmbuild output none

Description Edjunior Barbosa Machado 2022-04-22 17:05:49 UTC
Created attachment 1874465 [details]
delve-1.7.2-1.module+el8.6.0+12972+ebab5911 rpmbuild output

Description of problem:
rpmbuild delve on RHEL-8.7 crashes due to internal testsuite failures on %check stage.

Version-Release number of selected component (if applicable):
go-toolset:rhel8:8070020220419133936:347cc21f
delve-1.7.2-1.module+el8.6.0+12972+ebab5911.src.rpm
golang-1.18.0-2.module+el8.7.0+14880+f5e30240

Steps to Reproduce:
1. rpmbuild --rebuild delve-1.7.2-1.module+el8.6.0+12972+ebab5911.src.rpm

Actual results:
[root@ci-vm-10-0-136-159 ~]# rpmbuild --rebuild delve-1.7.2-1.module+el8.6.0+12972+ebab5911.src.rpm|& tee _rpmbuild.log
(...)
187800000
187900000
188000000
--- FAIL: TestDwrapStartLocation (0.12s)
    proc_test.go:5486: "runtime.main"
    proc_test.go:5486: "runtime.forcegchelper"
    proc_test.go:5486: "runtime.gcenable.func1"
    proc_test.go:5486: "runtime.gcenable.func2"
    proc_test.go:5486: "main.main.func1"
    proc_test.go:5486: "main.main.func1"
    proc_test.go:5486: "main.main.func1"
    proc_test.go:5486: "main.main.func1"
    proc_test.go:5486: "main.main.func1"
    proc_test.go:5486: "main.main.func1"
    proc_test.go:5486: "main.main.func1"
    proc_test.go:5486: "main.main.func1"
    proc_test.go:5486: "main.main.func1"
    proc_test.go:5486: "main.main.func1"
    proc_test.go:5493: could not find any goroutine with a start location of main.agoroutine
Start
Receive signal interrupt 
End
FAIL
FAIL	github.com/go-delve/delve/pkg/proc	127.352s
FAIL
error: Bad exit status from /var/tmp/rpm-tmp.GYpt5l (%check)


RPM build errors:
    user mockbuild does not exist - using root
    group mock does not exist - using root
    user mockbuild does not exist - using root
    group mock does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.GYpt5l (%check)
[root@ci-vm-10-0-136-159 ~]# grep -- '--- FAIL:' _rpmbuild.log 
--- FAIL: TestStepDeferReturn (0.31s)
--- FAIL: TestReadDefer (0.34s)
--- FAIL: TestDwrapStartLocation (0.12s)
[root@ci-vm-10-0-136-159 ~]#

Comment 7 errata-xmlrpc 2022-11-08 09:30:17 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 (go-toolset:rhel8 bug fix and enhancement 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/RHBA-2022:7522