Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1441078 - golang-github-cznic-mathutil fails its test-suite with golang 1.8 on s390x
Summary: golang-github-cznic-mathutil fails its test-suite with golang 1.8 on s390x
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: golang
Version: rawhide
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Čajka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1434337 (view as bug list)
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2017-04-11 07:56 UTC by Dan Horák
Modified: 2017-05-02 15:57 UTC (History)
8 users (show)

Fixed In Version: golang-1.8.1-2.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-02 15:57:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Reduced reproducer (623 bytes, text/x-csrc)
2017-04-12 13:57 UTC, Jakub Čajka
no flags Details

Description Dan Horák 2017-04-11 07:56:41 UTC
Description of problem:
The golang-github-cznic-mathutil package fails its test-suite with golang 1.8, but passes with golang 1.7. For koji builds see https://s390.koji.fedoraproject.org/koji/packageinfo?packageID=23503


Version-Release number of selected component (if applicable):
golang-1.8-2.fc26
golang-github-cznic-mathutil-0-0.2.git1447ad2.fc27


How reproducible:
100%


Steps to Reproduce:
1. fedpkg local


Actual results:
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.o5kbGD
+ umask 022
+ cd /builddir/build/BUILD
+ cd mathutil-1447ad269d64ca91aa8d7079baa40b6fc8b965e7
+ export GOPATH=/builddir/build/BUILDROOT/golang-github-cznic-mathutil-0-0.2.git1447ad2.fc27.s390x//usr/share/gocode:/usr/share/gocode
+ GOPATH=/builddir/build/BUILDROOT/golang-github-cznic-mathutil-0-0.2.git1447ad2.fc27.s390x//usr/share/gocode:/usr/share/gocode
+ go test -compiler gc -ldflags '' github.com/cznic/mathutil -timeout 30m
--- FAIL: TestNextPrimeUint64 (0.00s)
	all_test.go:656: 1999999999999999999
FAIL
FAIL	github.com/cznic/mathutil	47.705s
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.o5kbGD (%check)
    Unknown option t in gotest()
    Bad exit status from /var/tmp/rpm-tmp.o5kbGD (%check)


Expected results:
%check passes as it does on F<=25

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.9qks53
+ /usr/lib/rpm/redhat/brp-java-repack-jars
+ umask 022
+ cd /builddir/build/BUILD
+ cd mathutil-1447ad269d64ca91aa8d7079baa40b6fc8b965e7
+ export GOPATH=/builddir/build/BUILDROOT/golang-github-cznic-mathutil-0-0.2.git1447ad2.fc25.s390x//usr/share/gocode:/usr/share/gocode
+ GOPATH=/builddir/build/BUILDROOT/golang-github-cznic-mathutil-0-0.2.git1447ad2.fc25.s390x//usr/share/gocode:/usr/share/gocode
+ go test -compiler gc -ldflags '' github.com/cznic/mathutil -timeout 30m
ok  	github.com/cznic/mathutil	96.800s
+ exit 0

Additional info:

Comment 1 Jakub Čajka 2017-04-12 13:57:53 UTC
Created attachment 1271163 [details]
Reduced reproducer

Comment 2 Jakub Čajka 2017-04-12 14:11:12 UTC
Probably golang compiler bug opened upstream issue https://github.com/golang/go/issues/19940.

Also most probably same issues as in BZ#1434337.

Comment 3 Jakub Čajka 2017-04-12 15:43:37 UTC
*** Bug 1434337 has been marked as a duplicate of this bug. ***

Comment 4 Jakub Čajka 2017-04-12 16:16:20 UTC
Upstream CL https://go-review.googlesource.com/c/40433/

Comment 5 Fedora Update System 2017-04-26 08:41:50 UTC
golang-1.8.1-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e6ec8b8162

Comment 6 Fedora Update System 2017-04-26 21:52:31 UTC
golang-1.8.1-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e6ec8b8162

Comment 7 Fedora Update System 2017-05-02 15:57:46 UTC
golang-1.8.1-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.