cs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: github.com/mattermost/xml-roundtrip-validator github.com/mattermost/xml-roundtrip-validator --- FAIL: TestValidateZippedReader (0.00s) reader_test.go:42: Error Trace: /builddir/build/BUILD/xml-roundtrip-validator-8fd2afad43d104eeb8d281c6a399660974a965e5/_build/src/github.com/mattermost/xml-roundtrip-validator/reader_test.go:42 Error: An error is expected but got nil. Test: TestValidateZippedReader Messages: Should error on an invalid XML document --- FAIL: TestColonsInLocalNames (0.00s) validator_test.go:41: Error Trace: /builddir/build/BUILD/xml-roundtrip-validator-8fd2afad43d104eeb8d281c6a399660974a965e5/_build/src/github.com/mattermost/xml-roundtrip-validator/validator_test.go:41 Error: An error is expected but got nil. Test: TestColonsInLocalNames Messages: Should error on input with colons in the root element's name --- FAIL: TestEmptyNames (0.00s) validator_test.go:73: Error Trace: /builddir/build/BUILD/xml-roundtrip-validator-8fd2afad43d104eeb8d281c6a399660974a965e5/_build/src/github.com/mattermost/xml-roundtrip-validator/validator_test.go:73 Error: An error is expected but got nil. Test: TestEmptyNames Messages: Should error on start element with no local name --- FAIL: TestEmptyAttributes (0.00s) validator_test.go:83: Error Trace: /builddir/build/BUILD/xml-roundtrip-validator-8fd2afad43d104eeb8d281c6a399660974a965e5/_build/src/github.com/mattermost/xml-roundtrip-validator/validator_test.go:83 Error: An error is expected but got nil. Test: TestEmptyAttributes Messages: Should error on input with empty attribute names --- FAIL: TestDirectives (0.00s) validator_test.go:115: Error Trace: /builddir/build/BUILD/xml-roundtrip-validator-8fd2afad43d104eeb8d281c6a399660974a965e5/_build/src/github.com/mattermost/xml-roundtrip-validator/validator_test.go:115 Error: An error is expected but got nil. Test: TestDirectives Messages: Should error on bad directive --- FAIL: TestUnparseableXML (0.00s) validator_test.go:151: Error Trace: /builddir/build/BUILD/xml-roundtrip-validator-8fd2afad43d104eeb8d281c6a399660974a965e5/_build/src/github.com/mattermost/xml-roundtrip-validator/validator_test.go:151 Error: "[XML syntax error on line 1: unescaped ]]> not in CDATA section]" should have 2 item(s), but has 1 Test: TestUnparseableXML Messages: Should return exactly two errors --- FAIL: TestValidateAll (0.00s) validator_test.go:162: Error Trace: /builddir/build/BUILD/xml-roundtrip-validator-8fd2afad43d104eeb8d281c6a399660974a965e5/_build/src/github.com/mattermost/xml-roundtrip-validator/validator_test.go:162 Error: Not equal: expected: 3 actual : 0 Test: TestValidateAll Messages: Should return three errors FAIL exit status 1 FAIL github.com/mattermost/xml-roundtrip-validator 0.098s RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.DmRKri (%check) Bad exit status from /var/tmp/rpm-tmp.DmRKri (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-mattermost-xml-roundtrip-validator.spec