Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-buger-jsonparser.spec'], chrootPath='/var/lib/mock/f30-build-15086040-1075368/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-buger-jsonparser.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 BUILDSTDERR: warning: -u use in %forgemeta is deprecated, use -z instead to select a separate set of rpm variables! Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-buger-jsonparser.spec'], chrootPath='/var/lib/mock/f30-build-15086040-1075368/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-buger-jsonparser.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 BUILDSTDERR: warning: -u use in %forgemeta is deprecated, use -z instead to select a separate set of rpm variables! Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QoniTY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb + /usr/bin/gzip -dc /builddir/build/SOURCES/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm benchmark/benchmark_codecgen.go benchmark/benchmark_easyjson.go benchmark/benchmark_ffjson.go benchmark/benchmark_large_payload_test.go benchmark/benchmark_medium_payload_test.go benchmark/benchmark_small_payload_test.go + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ugsBCF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64 + cd jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb + go-rpm-integration install -i github.com/buger/jsonparser -o devel.file-list -p /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64 -g /usr/share/gocode -b /builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/_build -c 52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb -r '.*example.*' install: creating directory '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr' install: creating directory '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share' install: creating directory '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode' install: creating directory '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src' Installing: github.com/buger/jsonparser install: creating directory '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/_build' install: creating directory '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/_build/src' install: creating directory '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/_build/src/github.com' install: creating directory '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/_build/src/github.com/buger' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/_build/src/github.com/buger/jsonparser' -> '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb' install: creating directory '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com' install: creating directory '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger' install: creating directory '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/README.md' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/README.md' install: creating directory '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/benchmark' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/benchmark/benchmark.go' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/benchmark/benchmark.go' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/bytes.go' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/bytes.go' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/bytes_test.go' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/bytes_test.go' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/bytes_unsafe.go' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/bytes_unsafe.go' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/bytes_unsafe_test.go' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/bytes_unsafe_test.go' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/escape.go' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/escape.go' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/escape_test.go' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/escape_test.go' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/parser.go' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/parser.go' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/parser_error_test.go' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/parser_error_test.go' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/parser_test.go' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/parser_test.go' '/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/.goipath' -> '/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/gocode/src/github.com/buger/jsonparser/.goipath' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NhOIfn + umask 022 + cd /builddir/build/BUILD + cd jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb + PATH=/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/_bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i github.com/buger/jsonparser -p /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64 -g /usr/share/gocode -b /builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/_build -r '.*example.*' Testing: github.com/buger/jsonparser Testing: "/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/_build/src/github.com/buger/jsonparser" + GOPATH=/builddir/build/BUILD/jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb/_build:/usr/share/gocode + go test -buildmode pie -compiler gc -ldflags '-extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\''' Running: set unknown key (string) Running: set known key (string) Running: set unknown key (object) Running: set known key (object) Running: set known key (object within array) Running: set unknown key (replace object) Running: set unknown key (complex object within nested array) Running: set known key (complex object within nested array) Running: set unknown key (object, partial subtree exists) Running: set unknown key (object, empty partial subtree exists) Running: set unknown key (object, no subtree exists) Running: set in empty json Running: set subtree in empty json Running: set in empty string - not found Running: set in Number - not found Running: set known key (top level array) Running: set unknown key (trailing whitespace) Running: malformed with trailing whitespace Running: malformed 'colon chain', set second string Running: set indexed path to object on empty JSON Running: set indexed path on existing object with object Running: set indexed path on existing object with value Running: set indexed path on empty object with value Running: set indexed path on object with existing array Running: Delete test key Running: Delete object Running: Delete a nested object Running: Deleting a key that doesn't exist should return the same object Running: Delete object in an array Running: Deleting a object in an array that doesn't exists should return the same object Running: Delete a complex object in a nested array Running: Delete known key (simple type within nested array) Running: Delete in empty json Running: Delete empty array Running: Deleting non json should return the same value Running: Delete known key (top level array) Running: malformed with trailing whitespace Running: malformed 'colon chain', delete b Running: Delete object without inner array Running: Delete object without inner array Running: Delete object without inner array Running: Delete object without inner array Running: Remove trailing comma if last object is deleted Running: Correctly delete first element with space-comma Running: Correctly delete middle element with space-comma Running: read string Running: read number Running: read object Running: read array Running: read boolean Running: handling multiple nested keys with same name Running: read basic key Running: read basic key with space Running: read composite key Running: read numberic value as string Running: handle multiple nested keys with same name Running: read string values with quotes Running: read object Running: empty path Running: formatted JSON value Running: formatted JSON value 2 Running: whitespace Running: escaped backslash quote Running: unescaped backslash quote Running: unicode in JSON Running: no padding + nested Running: no padding + nested + array Running: empty key Running: key with simple escape Running: key and value with whitespace escapes Running: key with Unicode escape Running: key with complex escape Running: malformed with trailing whitespace Running: malformed with wrong closing bracket Running: empty input Running: non-existent key 1 Running: non-existent key 2 Running: non-existent key 3 Running: apply scope of parent when search for nested key Running: apply scope to key level Running: handle escaped quote in key name in JSON Running: handling multiple keys with different name Running: handling nested json Running: missing key in different key same level Running: handle escaped quote in key name in JSON Running: missing closing brace, but can still find key Running: missing value closing quote Running: missing value closing curly brace Running: missing value closing square bracket Running: missing value 1 Running: missing value 2 Running: missing value 3 Running: malformed array (no closing brace) Running: missing key in object in array Running: existing key in object in array Running: malformed key (followed by comma followed by colon) Running: malformed 'colon chain', lookup first string Running: malformed 'colon chain', lookup second string Running: last key in path is index Running: get string from array Running: key in path is index Running: last key in path is an index to value in array (formatted json) Running: key in path is index (formatted json) Running: Translate Unicode symbols Running: Translate Unicode symbols Running: Translate supplementary Unicode symbols Running: Translate escape symbols Running: key and value with whitespace escapes Running: read numeric value as number Running: read numeric value as number in formatted JSON Running: Fails because of overflow Running: Fails because of underflow Running: read numeric value as number Running: read numeric value as number in formatted JSON Running: read boolean true as boolean Running: boolean true in formatted JSON Running: read boolean false as boolean Running: boolean true in formatted JSON Running: read fake boolean true Running: read fake boolean false Running: read boolean true with whitespace and another key Running: read array of simple values Running: read array via empty path Running: read array of objects Running: read nested array PASS ok github.com/buger/jsonparser 0.009s + exit 0 Processing files: golang-github-buger-jsonparser-devel-0-0.5.20181113git52c6e14.fc30.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RvwBli + umask 022 + cd /builddir/build/BUILD + cd jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb + DOCDIR=/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/doc/golang-github-buger-jsonparser-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/doc/golang-github-buger-jsonparser-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/doc/golang-github-buger-jsonparser-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DNDzsd + umask 022 + cd /builddir/build/BUILD + cd jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/licenses/golang-github-buger-jsonparser-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/licenses/golang-github-buger-jsonparser-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64/usr/share/licenses/golang-github-buger-jsonparser-devel + exit 0 Provides: golang(github.com/buger/jsonparser) = 0-0.5.20181113git52c6e14.fc30 golang(github.com/buger/jsonparser)(commit=52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb) = 0-0.5.20181113git52c6e14.fc30 golang(github.com/buger/jsonparser/benchmark) = 0-0.5.20181113git52c6e14.fc30 golang(github.com/buger/jsonparser/benchmark)(commit=52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb) = 0-0.5.20181113git52c6e14.fc30 golang-github-buger-jsonparser-devel = 0-0.5.20181113git52c6e14.fc30 golang-ipath(github.com/buger/jsonparser) = 0-0.5.20181113git52c6e14.fc30 golang-ipath(github.com/buger/jsonparser)(commit=52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb) = 0-0.5.20181113git52c6e14.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64 Wrote: /builddir/build/RPMS/golang-github-buger-jsonparser-devel-0-0.5.20181113git52c6e14.fc30.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1OEWg9 + umask 022 + cd /builddir/build/BUILD + cd jsonparser-52c6e1462ebdfb4f59765ca13bd8fa1c31b1d7eb + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-buger-jsonparser-0-0.5.20181113git52c6e14.fc30.x86_64 + exit 0 Child return code was: 0