r while flushing response back to client: Forcing close connection 2020/06/04 22:59:23 INFO: martian: closing down proxy 2020/06/04 22:59:23 INFO: martian: waiting for connections to close 2020/06/04 22:59:23 INFO: martian: all connections closed 2020/06/04 22:59:23 INFO: trafficshape: configuration request 2020/06/04 22:59:23 INFO: trafficshape: set capacity: 62500000000 2020/06/04 22:59:23 INFO: trafficshape: set capacity: 62500000000 2020/06/04 22:59:23 INFO: trafficshape: set capacity: 250 2020/06/04 22:59:23 INFO: trafficshape: Request http://example/example with Range Start: 250 matches a Shaping request http://example/example. Will enforce Traffic shaping. 2020/06/04 22:59:23 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 450 2020/06/04 22:59:23 ERROR: martian: got error while flushing response back to client: Forcing close connection 2020/06/04 22:59:23 INFO: trafficshape: set capacity: 250 2020/06/04 22:59:23 INFO: trafficshape: Request http://example/example with Range Start: 0 matches a Shaping request http://example/example. Will enforce Traffic shaping. 2020/06/04 22:59:23 INFO: trafficshape: Changing connection bandwidth to 250 for urlregex http://example/example at byte offset 0 2020/06/04 22:59:23 INFO: trafficshape: set capacity: 250 2020/06/04 22:59:24 INFO: trafficshape: Closing connection for urlregex http://example/example at byte offset 500 2020/06/04 22:59:24 ERROR: martian: got error while flushing response back to client: Forcing close connection 2020/06/04 22:59:24 INFO: martian: closing down proxy 2020/06/04 22:59:24 INFO: martian: waiting for connections to close 2020/06/04 22:59:24 INFO: martian: all connections closed 2020/06/04 22:59:24 INFO: martian: closing down proxy 2020/06/04 22:59:24 INFO: martian: waiting for connections to close 2020/06/04 22:59:24 INFO: martian: all connections closed 2020/06/04 22:59:24 INFO: martian: closing down proxy 2020/06/04 22:59:24 INFO: martian: waiting for connections to close 2020/06/04 22:59:24 INFO: martian: all connections closed 2020/06/04 22:59:24 ERROR: martian: failed to round trip: round trip error 2020/06/04 22:59:24 INFO: martian: closing down proxy 2020/06/04 22:59:24 INFO: martian: waiting for connections to close 2020/06/04 22:59:24 INFO: martian: all connections closed HTTP/1.1 301 MOVED PERMANENTLY Connection: close Content-Type: text/html Date: Location: http://www.foo.com/ Referer: Server: PASS ok github.com/google/martian 173.253s github.com/google/martian/api PASS ok github.com/google/martian/api 0.340s github.com/google/martian/auth PASS ok github.com/google/martian/auth 0.364s github.com/google/martian/cmd/proxy 2020/06/04 23:03:23 martian: starting proxy on [::]:33197 and api on [::]:44815 2020/06/04 23:03:23 martian: shutting down 2020/06/04 23:04:18 martian: starting proxy on [::]:33819 and api on [::]:37217 2020/06/04 23:04:18 martian: starting proxy on [::]:40319 and api on [::]:36229 2020/06/04 23:04:18 martian: shutting down 2020/06/04 23:04:18 martian: shutting down --- FAIL: TestProxyMain (80.66s) --- FAIL: TestProxyMain/HttpsGenerateCert (54.51s) main_test.go:56: waitForProxy: did not start up within 5.0 seconds FAIL exit status 1 FAIL github.com/google/martian/cmd/proxy 81.027s error: Bad exit status from /var/tmp/rpm-tmp.LiO3Jj (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.LiO3Jj (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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-google-martian.spec