[Bug 1098006] New: golang-packaging: gotest does not print failure reason
http://bugzilla.opensuse.org/show_bug.cgi?id=1098006 Bug ID: 1098006 Summary: golang-packaging: gotest does not print failure reason Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: msuchanek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The %gotest macro does not produce any intelligible output on test failure. ie golang-github-stretchr-testify fails tests pretty much in every distro in the devel project. The successful test run looks like: [ 61s] $WORK/github.com/stretchr/testify/require/_test/require.test [ 61s] $WORK/github.com/stretchr/testify/_test/testify.test [ 61s] ok github.com/stretchr/testify 0.037s [ 61s] $WORK/github.com/stretchr/testify/assert/_test/assert.test [ 61s] ok github.com/stretchr/testify/assert 0.042s [ 61s] ? github.com/stretchr/testify/http [no test files] [ 62s] $WORK/github.com/stretchr/testify/suite/_test/suite.test [ 62s] $WORK/github.com/stretchr/testify/mock/_test/mock.test [ 62s] ok github.com/stretchr/testify/mock 0.023s [ 62s] ok github.com/stretchr/testify/require 0.014s [ 62s] ok github.com/stretchr/testify/suite 0.017s [ 62s] ? github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew [no test files] [ 62s] ? github.com/stretchr/testify/vendor/github.com/pmezard/go-difflib/difflib [no test files] [ 62s] ? github.com/stretchr/testify/vendor/github.com/stretchr/objx [no test files] [ 62s] + exit 0 the failed run looks like: [ 80s] $WORK/b115/mock.test -test.testlogfile=$WORK/b115/testlog.txt [ 80s] rm -r $WORK/b115/ [ 80s] ok github.com/stretchr/testify/mock 0.020s [ 80s] ok github.com/stretchr/testify/require 0.020s [ 81s] $WORK/b122/suite.test -test.testlogfile=$WORK/b122/testlog.txt [ 81s] rm -r $WORK/b122/ [ 81s] ok github.com/stretchr/testify/suite 0.013s [ 81s] error: Bad exit status from /var/tmp/rpm-tmp.BMIlfE (%check) WTF? What failed, why ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1098006
Michal Suchanek
participants (1)
-
bugzilla_noreply@novell.com