Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/google-osconfig-agent.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-603021-26217/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/google-osconfig-agent.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1683763200 Wrote: /builddir/build/SRPMS/google-osconfig-agent-20230403.00-1.fc38.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/google-osconfig-agent.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-603021-26217/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/google-osconfig-agent.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1683763200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IfKs2z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf osconfig-20230403.00 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/osconfig-20230403.00.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd osconfig-20230403.00 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/osconfig-20230403.00/vendor + [[ ! -e /builddir/build/BUILD/osconfig-20230403.00/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/osconfig-20230403.00/_build/bin install: creating directory '/builddir/build/BUILD/osconfig-20230403.00/_build' install: creating directory '/builddir/build/BUILD/osconfig-20230403.00/_build/bin' + export GOPATH=/builddir/build/BUILD/osconfig-20230403.00/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/osconfig-20230403.00/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/osconfig-20230403.00/_build/src/github.com/GoogleCloudPlatform/osconfig ]] ++ dirname /builddir/build/BUILD/osconfig-20230403.00/_build/src/github.com/GoogleCloudPlatform/osconfig + install -m 0755 -vd /builddir/build/BUILD/osconfig-20230403.00/_build/src/github.com/GoogleCloudPlatform install: creating directory '/builddir/build/BUILD/osconfig-20230403.00/_build/src' install: creating directory '/builddir/build/BUILD/osconfig-20230403.00/_build/src/github.com' install: creating directory '/builddir/build/BUILD/osconfig-20230403.00/_build/src/github.com/GoogleCloudPlatform' + ln -fs /builddir/build/BUILD/osconfig-20230403.00 /builddir/build/BUILD/osconfig-20230403.00/_build/src/github.com/GoogleCloudPlatform/osconfig + cd /builddir/build/BUILD/osconfig-20230403.00/_build/src/github.com/GoogleCloudPlatform/osconfig Patch #0 (google-osconfig-agent-remove-containeros.patch): + echo 'Patch #0 (google-osconfig-agent-remove-containeros.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file go.mod patching file packages/cos.go patching file packages/cos_test.go patching file packages/packages_linux.go + rm -rf examples + rm -rf e2e_tests + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.AIJWzt + umask 022 + cd /builddir/build/BUILD + cd osconfig-20230403.00 + GOPATH=/builddir/build/BUILD/osconfig-20230403.00/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/GoogleCloudPlatform/osconfig --template 'golang({{.}})\n' --with-tests --skip-self runtime: lfstack.push invalid packing: node=0xffffff8b8d2c60 cnt=0x1 packed=0xffff8b8d2c600001 -> node=0xffff8b8d2c60 fatal error: lfstack.push runtime stack: runtime.throw({0x2052ec?, 0x48968?}) /usr/lib/go/src/runtime/panic.go:1047 +0x44 fp=0xc00005bf38 sp=0xc00005bf10 pc=0x43c04 runtime.(*lfstack).push(0xc000036500?, 0xffffff8b8d2c60) /usr/lib/go/src/runtime/lfstack.go:30 +0x120 fp=0xc00005bf68 sp=0xc00005bf38 pc=0x19270 runtime.(*spanSetBlockAlloc).free(...) /usr/lib/go/src/runtime/mspanset.go:292 runtime.(*spanSet).reset(0x3c7418) /usr/lib/go/src/runtime/mspanset.go:265 +0xb0 fp=0xc00005bf98 sp=0xc00005bf68 pc=0x3e828 runtime.finishsweep_m() /usr/lib/go/src/runtime/mgcsweep.go:260 +0xc0 fp=0xc00005bfd0 sp=0xc00005bf98 pc=0x32a68 runtime.gcStart.func1() /usr/lib/go/src/runtime/mgc.go:668 +0x20 fp=0xc00005bfd8 sp=0xc00005bfd0 pc=0x27908 runtime.systemstack() /usr/lib/go/src/runtime/asm_riscv64.s:133 +0x54 fp=0xc00005bfe0 sp=0xc00005bfd8 pc=0x6e5bc goroutine 1 [running]: runtime.systemstack_switch() /usr/lib/go/src/runtime/asm_riscv64.s:96 +0x8 fp=0xc0004d0480 sp=0xc0004d0478 pc=0x6e550 runtime.gcStart({0xc000460000?, 0xc0?, 0x425c20?}) /usr/lib/go/src/runtime/mgc.go:667 +0x358 fp=0xc0004d0510 sp=0xc0004d0480 pc=0x27c80 runtime.mallocgc(0xb8, 0x1ec340, 0x1) /usr/lib/go/src/runtime/malloc.go:1148 +0x6a8 fp=0xc0004d0588 sp=0xc0004d0510 pc=0x1ae88 runtime.newobject(0x14?) /usr/lib/go/src/runtime/malloc.go:1202 +0x38 fp=0xc0004d05a8 sp=0xc0004d0588 pc=0x1b0b0 os.statNolog({0xc0004287c8, 0x14}) /usr/lib/go/src/os/stat_unix.go:30 +0x40 fp=0xc0004d05f0 sp=0xc0004d05a8 pc=0xd21a8 os.Stat({0xc0004287c8, 0x14}) /usr/lib/go/src/os/stat.go:13 +0x44 fp=0xc0004d0608 sp=0xc0004d05f0 pc=0xd1ccc go/build.(*Context).isDir(0x3a0ae0?, {0xc0004287c8?, 0xc000363431?}) /usr/lib/go/src/go/build/build.go:143 +0x4c fp=0xc0004d0620 sp=0xc0004d0608 pc=0x1963fc go/build.(*Context).Import(0x3a0ae0, {0xc000363431, 0x4}, {0x0, 0x0}, 0x8) /usr/lib/go/src/go/build/build.go:706 +0x3c8c fp=0xc0004d0d28 sp=0xc0004d0620 pc=0x19b0cc go/build.Import(...) /usr/lib/go/src/go/build/build.go:1484 pagure.io/golist/pkg/util.(*PackageInfoCollector).CollectProjectDeps(0xc0004d1140, 0x0, 0x1, 0x1, 0x0) /home/amankwah/tgo/pkg/mod/pagure.io/golist@v0.10.1/pkg/util/util.go:330 +0x2c0 fp=0xc0004d0f58 sp=0xc0004d0d28 pc=0x1a7028 main.main.func2(0xc000194000) /home/amankwah/tgo/pkg/mod/pagure.io/golist@v0.10.1/cmd/golist/golist.go:178 +0x520 fp=0xc0004d1448 sp=0xc0004d0f58 pc=0x1a8c00 github.com/urfave/cli.HandleAction({0x1c8100?, 0xc000116e50?}, 0xc00018e000?) /home/amankwah/tgo/pkg/mod/github.com/urfave/cli@v1.22.10/app.go:524 +0x6c fp=0xc0004d1458 sp=0xc0004d1448 pc=0x14fcb4 github.com/urfave/cli.(*App).Run(0xc00018e000, {0xc00012e000, 0x8, 0x8}) /home/amankwah/tgo/pkg/mod/github.com/urfave/cli@v1.22.10/app.go:286 +0x594 fp=0xc0004d1a28 sp=0xc0004d1458 pc=0x14da84 main.main() /home/amankwah/tgo/pkg/mod/pagure.io/golist@v0.10.1/cmd/golist/golist.go:210 +0x950 fp=0xc0004d1f80 sp=0xc0004d1a28 pc=0x1a8680 runtime.main() /usr/lib/go/src/runtime/proc.go:250 +0x218 fp=0xc0004d1fd8 sp=0xc0004d1f80 pc=0x46230 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc0004d1fd8 sp=0xc0004d1fd8 pc=0x7078c goroutine 2 [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc000046fb0 sp=0xc000046f98 pc=0x46630 runtime.goparkunlock(...) /usr/lib/go/src/runtime/proc.go:369 runtime.forcegchelper() /usr/lib/go/src/runtime/proc.go:302 +0xb0 fp=0xc000046fd8 sp=0xc000046fb0 pc=0x464b8 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc000046fd8 sp=0xc000046fd8 pc=0x7078c created by runtime.init.5 /usr/lib/go/src/runtime/proc.go:290 +0x28 goroutine 3 [GC sweep wait]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc000047798 sp=0xc000047780 pc=0x46630 runtime.goparkunlock(...) /usr/lib/go/src/runtime/proc.go:369 runtime.bgsweep(0x0?) /usr/lib/go/src/runtime/mgcsweep.go:297 +0x114 fp=0xc0000477c8 sp=0xc000047798 pc=0x32c14 runtime.gcenable.func1() /usr/lib/go/src/runtime/mgc.go:178 +0x2c fp=0xc0000477d8 sp=0xc0000477c8 pc=0x273d4 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc0000477d8 sp=0xc0000477d8 pc=0x7078c created by runtime.gcenable /usr/lib/go/src/runtime/mgc.go:178 +0x70 goroutine 4 [GC scavenge wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x412e848000000000?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc000047f80 sp=0xc000047f68 pc=0x46630 runtime.goparkunlock(...) /usr/lib/go/src/runtime/proc.go:369 runtime.(*scavengerState).park(0x3a08c0) /usr/lib/go/src/runtime/mgcscavenge.go:389 +0x68 fp=0xc000047fa8 sp=0xc000047f80 pc=0x30b40 runtime.bgscavenge(0x0?) /usr/lib/go/src/runtime/mgcscavenge.go:622 +0x6c fp=0xc000047fc8 sp=0xc000047fa8 pc=0x310ac runtime.gcenable.func2() /usr/lib/go/src/runtime/mgc.go:179 +0x2c fp=0xc000047fd8 sp=0xc000047fc8 pc=0x27374 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc000047fd8 sp=0xc000047fd8 pc=0x7078c created by runtime.gcenable /usr/lib/go/src/runtime/mgc.go:179 +0xb0 goroutine 17 [finalizer wait]: runtime.gopark(0xffffff8ba57600?, 0x25260?, 0x0?, 0x76?, 0x60000001001001?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc0000465a8 sp=0xc000046590 pc=0x46630 runtime.goparkunlock(...) /usr/lib/go/src/runtime/proc.go:369 runtime.runfinq() /usr/lib/go/src/runtime/mfinal.go:180 +0x110 fp=0xc0000467d8 sp=0xc0000465a8 pc=0x265c8 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc0000467d8 sp=0xc0000467d8 pc=0x7078c created by runtime.createfing /usr/lib/go/src/runtime/mfinal.go:157 +0x64 goroutine 19 [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc000042f48 sp=0xc000042f30 pc=0x46630 runtime.gcBgMarkWorker() /usr/lib/go/src/runtime/mgc.go:1235 +0x100 fp=0xc000042fd8 sp=0xc000042f48 pc=0x295c0 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc000042fd8 sp=0xc000042fd8 pc=0x7078c created by runtime.gcBgMarkStartWorkers /usr/lib/go/src/runtime/mgc.go:1159 +0x2c goroutine 5 [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc000048748 sp=0xc000048730 pc=0x46630 runtime.gcBgMarkWorker() /usr/lib/go/src/runtime/mgc.go:1235 +0x100 fp=0xc0000487d8 sp=0xc000048748 pc=0x295c0 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc0000487d8 sp=0xc0000487d8 pc=0x7078c created by runtime.gcBgMarkStartWorkers /usr/lib/go/src/runtime/mgc.go:1159 +0x2c goroutine 20 [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc000043748 sp=0xc000043730 pc=0x46630 runtime.gcBgMarkWorker() /usr/lib/go/src/runtime/mgc.go:1235 +0x100 fp=0xc0000437d8 sp=0xc000043748 pc=0x295c0 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc0000437d8 sp=0xc0000437d8 pc=0x7078c created by runtime.gcBgMarkStartWorkers /usr/lib/go/src/runtime/mgc.go:1159 +0x2c goroutine 6 [GC worker (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc000048f48 sp=0xc000048f30 pc=0x46630 runtime.gcBgMarkWorker() /usr/lib/go/src/runtime/mgc.go:1235 +0x100 fp=0xc000048fd8 sp=0xc000048f48 pc=0x295c0 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc000048fd8 sp=0xc000048fd8 pc=0x7078c created by runtime.gcBgMarkStartWorkers /usr/lib/go/src/runtime/mgc.go:1159 +0x2c goroutine 7 [GC worker (idle)]: runtime.gopark(0x10107dbab7b58?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc000049748 sp=0xc000049730 pc=0x46630 runtime.gcBgMarkWorker() /usr/lib/go/src/runtime/mgc.go:1235 +0x100 fp=0xc0000497d8 sp=0xc000049748 pc=0x295c0 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc0000497d8 sp=0xc0000497d8 pc=0x7078c created by runtime.gcBgMarkStartWorkers /usr/lib/go/src/runtime/mgc.go:1159 +0x2c goroutine 8 [GC worker (idle)]: runtime.gopark(0x10107dbdb01c1?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc000049f48 sp=0xc000049f30 pc=0x46630 runtime.gcBgMarkWorker() /usr/lib/go/src/runtime/mgc.go:1235 +0x100 fp=0xc000049fd8 sp=0xc000049f48 pc=0x295c0 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc000049fd8 sp=0xc000049fd8 pc=0x7078c created by runtime.gcBgMarkStartWorkers /usr/lib/go/src/runtime/mgc.go:1159 +0x2c goroutine 21 [GC worker (idle)]: runtime.gopark(0x10107dbb44a6c?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc000043f48 sp=0xc000043f30 pc=0x46630 runtime.gcBgMarkWorker() /usr/lib/go/src/runtime/mgc.go:1235 +0x100 fp=0xc000043fd8 sp=0xc000043f48 pc=0x295c0 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc000043fd8 sp=0xc000043fd8 pc=0x7078c created by runtime.gcBgMarkStartWorkers /usr/lib/go/src/runtime/mgc.go:1159 +0x2c goroutine 22 [GC worker (idle)]: runtime.gopark(0x213c10?, 0xc00001cd20?, 0x18?, 0x14?, 0x0?) /usr/lib/go/src/runtime/proc.go:363 +0x110 fp=0xc000044748 sp=0xc000044730 pc=0x46630 runtime.gcBgMarkWorker() /usr/lib/go/src/runtime/mgc.go:1235 +0x100 fp=0xc0000447d8 sp=0xc000044748 pc=0x295c0 runtime.goexit() /usr/lib/go/src/runtime/asm_riscv64.s:516 +0x4 fp=0xc0000447d8 sp=0xc0000447d8 pc=0x7078c created by runtime.gcBgMarkStartWorkers /usr/lib/go/src/runtime/mgc.go:1159 +0x2c RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.AIJWzt (%generate_buildrequires) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.AIJWzt (%generate_buildrequires) Child return code was: 1