Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-franela-goblin.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-102874-66105/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-franela-goblin.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-franela-goblin-0.0.3-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-franela-goblin.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-102874-66105/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-franela-goblin.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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iiNHYG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf goblin-0.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/goblin-0.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd goblin-0.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/goblin-0.0.3/vendor + [[ ! -e /builddir/build/BUILD/goblin-0.0.3/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/goblin-0.0.3/_build/bin install: creating directory '/builddir/build/BUILD/goblin-0.0.3/_build' install: creating directory '/builddir/build/BUILD/goblin-0.0.3/_build/bin' + export GOPATH=/builddir/build/BUILD/goblin-0.0.3/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/goblin-0.0.3/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin ]] ++ dirname /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin + install -m 0755 -vd /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela install: creating directory '/builddir/build/BUILD/goblin-0.0.3/_build/src' install: creating directory '/builddir/build/BUILD/goblin-0.0.3/_build/src/github.com' install: creating directory '/builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela' + ln -fs /builddir/build/BUILD/goblin-0.0.3 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin + cd /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hv84ZK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64 + cd goblin-0.0.3 + cd /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/franela/goblin -b /builddir/build/BUILD/goblin-0.0.3/_build/bin -s /builddir/build/BUILD/goblin-0.0.3/_build -o golang-github-franela-goblin-devel.file-list -O /builddir/build/BUILD/goblin-0.0.3 -V 0.0.3-1.oc9 -T 0.0.3 -p /builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/franela/goblin + IFS= +++ realpath -e --relative-base=. README.md +++ sort -u ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Td5Imi + umask 022 + cd /builddir/build/BUILD + cd goblin-0.0.3 + GO_LDFLAGS=' -X github.com/franela/goblin/version=0.0.3 -X github.com/franela/goblin/version.tag=0.0.3' + 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/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 ' + go-rpm-integration check -i github.com/franela/goblin -b /builddir/build/BUILD/goblin-0.0.3/_build/bin -s /builddir/build/BUILD/goblin-0.0.3/_build -V 0.0.3-1.oc9 -T 0.0.3 -p /builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/goblin-0.0.3/_build/src PATH: /builddir/build/BUILD/goblin-0.0.3/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/goblin-0.0.3/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/franela/goblin/version=0.0.3 -X github.com/franela/goblin/version.tag=0.0.3 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 '" testing: github.com/franela/goblin github.com/franela/goblin Numbers ✓ Should have called before ✓ Should have called before only once 2 tests complete (0 ms) Numbers ✓ Should have called all the registered before 1 tests complete (0 ms) Numbers Addition ✓ Should have called all the registered before ✓ Should have called all the registered before only once 2 tests complete (0 ms) Numbers ✓ Should call after only once ✓ Should call after only once 2 tests complete (0 ms) Numbers ✓ Should call all the registered after 1 tests complete (0 ms) Numbers Addition ✓ Should call all the registered after ✓ Should have called all the registered after only once 2 tests complete (0 ms) Async test 1) Should fail when Fail is called immediately 2) Should fail when Fail is called 3) Should fail if done receives a parameter ✓ Should pass when done is called ✓ Should fail if done has been called multiple times 2 tests complete (0 ms) 3 tests failed: 1) Async test Should fail when Fail is called immediately: Failed /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:17 +0x25 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:242 +0xb6 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:241 +0xaf /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:238 +0x234 2) Async test Should fail when Fail is called: foo is not bar /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:22 +0x3d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:20 +0x56 3) Async test Should fail if done receives a parameter: [Error] /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:244 +0xa5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:29 +0x5b /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:27 +0x4f Async test nested ✓ Should fail when Fail is called 1 tests complete (0 ms) Numbers ✓ Should add numbers 1 tests complete (0 ms) Numbers 1) Should add numbers 0 tests complete (0 ms) 1 tests failed: 1) Numbers Should add numbers: 2 does not equal 4 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:67 +0x142 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:129 +0xa5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Numbers ✓ Should add numbers 1) Should add numbers 1 tests complete (0 ms) 1 tests failed: 1) Numbers Should add numbers: 2 does not equal 4 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:67 +0x142 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:154 +0xa7 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Numbers Addition ✓ Should add numbers Subtraction 1) Should subtract numbers 1 tests complete (0 ms) 1 tests failed: 1) Subtraction Should subtract numbers: 0 does not equal 1 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:67 +0x142 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:183 +0xa5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Numbers - Should add numbers Subtraction - Should subtract numbers 0 tests complete (0 ms) 2 test(s) pending Numbers - Should add numbers Subtraction - Should subtract numbers 0 tests complete (0 ms) 2 test(s) excluded Outer ✓ should run all before handles by now Nested ✓ should run all before handles by now 2 tests complete (0 ms) Numbers 1) Does something 0 tests complete (0 ms) 1 tests failed: 1) Numbers Does something: Something /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:381 +0x25 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Errors 2) Should fail with structs 0 tests complete (0 ms) 2 tests failed: 1) Numbers Does something: Something /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:381 +0x25 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 2) Errors Should fail with structs: {Error} /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:389 +0x4f /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Numbers 1) Does something 0 tests complete (0 ms) 1 tests failed: 1) Numbers Does something: Something goes wrong /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:405 +0x4e /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Test ✓ It matches regex ✓ It also matches 2 tests complete (0 ms) Errors 1) Should fail immediately for sync test 2) Should fail immediately for async test 0 tests complete (0 ms) 2 tests failed: 1) Errors Should fail immediately for sync test: false expected false to be truthy /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:77 +0xfd /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:443 +0x98 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 2) Errors Should fail immediately for async test: false expected false to be truthy /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:77 +0xfd /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:449 +0xa7 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:448 +0x89 Test 1) Should fail if test exceeds the specified timeout with sync test 2) Should fail if test exceeds the specified timeout with async test 0 tests complete (0 ms) 2 tests failed: 1) Test Should fail if test exceeds the specified timeout with sync test: Test exceeded 10ms /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:265 +0x40f /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:144 +0x5e /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:105 +0xbe /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:39 +0x1c5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:468 +0x15d /usr/lib/golang/src/testing/testing.go:1595 +0xff /usr/lib/golang/src/testing/testing.go:1648 +0x3ad 2) Test Should fail if test exceeds the specified timeout with async test: Test exceeded 10ms /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:265 +0x40f /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:144 +0x5e /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:105 +0xbe /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:39 +0x1c5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:468 +0x15d /usr/lib/golang/src/testing/testing.go:1595 +0xff /usr/lib/golang/src/testing/testing.go:1648 +0x3ad Test ✓ Should override default timeout ✓ Should revert for different it 2 tests complete (15 ms) Test for IsNil ✓ Should assert successfully with nil value 1 tests complete (0 ms) Test for IsNotNil ✓ Should assert successfully with not nil value 2 tests complete (0 ms) Test for IsNil with failed assertion 1) Should fail 2 tests complete (0 ms) 1 tests failed: 1) Test for IsNil with failed assertion Should fail: 100 expected to be nil /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:99 +0xf1 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:528 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Test for IsNotNil with failed assertion 2) Should fail 2 tests complete (0 ms) 2 tests failed: 1) Test for IsNil with failed assertion Should fail: 100 expected to be nil /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:99 +0xf1 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:528 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 2) Test for IsNotNil with failed assertion Should fail: is nil /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:108 +0xf1 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:534 +0x79 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Test for IsZero ✓ Should assert successfully with int zero value ✓ Should assert successfully with float zero value ✓ Should assert successfully with string zero value ✓ Should assert successfully with struct zero value ✓ Should assert successfully with struct field with zero value 5 tests complete (0 ms) Test for IsNotZero ✓ Should assert successfully with int not zero value ✓ Should assert successfully with float not zero value ✓ Should assert successfully with string not zero value ✓ Should assert successfully with struct not zero value 9 tests complete (0 ms) Test for IsZero with failed assertion 1) Should fail 2) Should fail 3) Should fail 4) Should fail 9 tests complete (0 ms) 4 tests failed: 1) Test for IsZero with failed assertion Should fail: 100 is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:593 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 2) Test for IsZero with failed assertion Should fail: 1 is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:597 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 3) Test for IsZero with failed assertion Should fail: "A" is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:601 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 4) Test for IsZero with failed assertion Should fail: struct { value int }{value:1} is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:605 +0x9b /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Test for IsNotZero with failed assertion 5) Should fail 6) Should fail 7) Should fail 8) Should fail 9 tests complete (0 ms) 8 tests failed: 1) Test for IsZero with failed assertion Should fail: 100 is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:593 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 2) Test for IsZero with failed assertion Should fail: 1 is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:597 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 3) Test for IsZero with failed assertion Should fail: "A" is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:601 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 4) Test for IsZero with failed assertion Should fail: struct { value int }{value:1} is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:605 +0x9b /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 5) Test for IsNotZero with failed assertion Should fail: 0 is a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:134 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:611 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 6) Test for IsNotZero with failed assertion Should fail: 0 is a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:134 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:615 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 7) Test for IsNotZero with failed assertion Should fail: "" is a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:134 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:619 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 8) Test for IsNotZero with failed assertion Should fail: struct {}{} is a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:134 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:623 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Numbers ✓ Should have called beforeEach ✓ Should have called beforeEach also for this one 2 tests complete (0 ms) Numbers ✓ Should have called all the registered beforeEach 1 tests complete (0 ms) Numbers Addition ✓ Should have called all the registered beforeEach ✓ Should have called all the registered beforeEach also for this one 2 tests complete (0 ms) Numbers ✓ Should call afterEach after this test ✓ Should have called afterEach before this test 2 tests complete (0 ms) Numbers ✓ Should call all the registered afterEach 1 tests complete (0 ms) Numbers Addition ✓ Should call all the registered afterEach ✓ Should have called all the registered afterEach 2 tests complete (0 ms) Async test 1) Should not create a data race if done() is called multiple times 0 tests complete (0 ms) 1 tests failed: 1) Async test Should not create a data race if done() is called multiple times: Test exceeded 10ms /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:265 +0x40f /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:144 +0x5e /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:105 +0xbe /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:39 +0x1c5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/race_test.go:13 +0x79 /usr/lib/golang/src/testing/testing.go:1595 +0xff /usr/lib/golang/src/testing/testing.go:1648 +0x3ad Synchronous test 1) Should not create a data race on fail 0 tests complete (0 ms) 1 tests failed: 1) Synchronous test Should not create a data race on fail: Failed /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/race_test.go:29 +0x25 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Resolver ✓ Should resolve the stack until the test 1 tests complete (0 ms) PASS ok github.com/franela/goblin 0.563s github.com/franela/goblin Numbers ✓ Should have called before ✓ Should have called before only once 2 tests complete (0 ms) Numbers ✓ Should have called all the registered before 1 tests complete (0 ms) Numbers Addition ✓ Should have called all the registered before ✓ Should have called all the registered before only once 2 tests complete (0 ms) Numbers ✓ Should call after only once ✓ Should call after only once 2 tests complete (0 ms) Numbers ✓ Should call all the registered after 1 tests complete (0 ms) Numbers Addition ✓ Should call all the registered after ✓ Should have called all the registered after only once 2 tests complete (0 ms) Async test 1) Should fail when Fail is called immediately 2) Should fail when Fail is called 3) Should fail if done receives a parameter ✓ Should pass when done is called 4) Should fail if done has been called multiple times 1 tests complete (0 ms) 4 tests failed: 1) Async test Should fail when Fail is called immediately: Failed /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:17 +0x25 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:242 +0xb6 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:241 +0xaf /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:238 +0x234 2) Async test Should fail when Fail is called: foo is not bar /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:22 +0x3d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:20 +0x56 3) Async test Should fail if done receives a parameter: [Error] /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:244 +0xa5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:29 +0x5b /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:27 +0x4f 4) Async test Should fail if done has been called multiple times: Done called multiple times /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:248 +0x65 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:44 +0x4d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:41 +0x4f Async test nested ✓ Should fail when Fail is called 1 tests complete (0 ms) Numbers ✓ Should add numbers 1 tests complete (0 ms) Numbers 1) Should add numbers 0 tests complete (0 ms) 1 tests failed: 1) Numbers Should add numbers: 2 does not equal 4 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:67 +0x142 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:129 +0xa5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Numbers ✓ Should add numbers 1) Should add numbers 1 tests complete (0 ms) 1 tests failed: 1) Numbers Should add numbers: 2 does not equal 4 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:67 +0x142 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:154 +0xa7 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Numbers Addition ✓ Should add numbers Subtraction 1) Should subtract numbers 1 tests complete (0 ms) 1 tests failed: 1) Subtraction Should subtract numbers: 0 does not equal 1 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:67 +0x142 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:183 +0xa5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Numbers - Should add numbers Subtraction - Should subtract numbers 0 tests complete (0 ms) 2 test(s) pending Numbers - Should add numbers Subtraction - Should subtract numbers 0 tests complete (0 ms) 2 test(s) excluded Outer ✓ should run all before handles by now Nested ✓ should run all before handles by now 2 tests complete (0 ms) Numbers 1) Does something 0 tests complete (0 ms) 1 tests failed: 1) Numbers Does something: Something /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:381 +0x25 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Errors 2) Should fail with structs 0 tests complete (0 ms) 2 tests failed: 1) Numbers Does something: Something /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:381 +0x25 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 2) Errors Should fail with structs: {Error} /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:389 +0x4f /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Numbers 1) Does something 0 tests complete (0 ms) 1 tests failed: 1) Numbers Does something: Something goes wrong /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:405 +0x4e /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Test ✓ It matches regex ✓ It also matches 2 tests complete (0 ms) Errors 1) Should fail immediately for sync test 2) Should fail immediately for async test 0 tests complete (0 ms) 2 tests failed: 1) Errors Should fail immediately for sync test: false expected false to be truthy /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:77 +0xfd /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:443 +0x98 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 2) Errors Should fail immediately for async test: false expected false to be truthy /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:77 +0xfd /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:449 +0xa7 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:448 +0x89 Test 1) Should fail if test exceeds the specified timeout with sync test 2) Should fail if test exceeds the specified timeout with async test 0 tests complete (0 ms) 2 tests failed: 1) Test Should fail if test exceeds the specified timeout with sync test: Test exceeded 10ms /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:265 +0x40f /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:144 +0x5e /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:105 +0xbe /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:39 +0x1c5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:468 +0x15d /usr/lib/golang/src/testing/testing.go:1595 +0xff /usr/lib/golang/src/testing/testing.go:1648 +0x3ad 2) Test Should fail if test exceeds the specified timeout with async test: Test exceeded 10ms /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:265 +0x40f /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:144 +0x5e /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:105 +0xbe /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:39 +0x1c5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:468 +0x15d /usr/lib/golang/src/testing/testing.go:1595 +0xff /usr/lib/golang/src/testing/testing.go:1648 +0x3ad Test ✓ Should override default timeout ✓ Should revert for different it 2 tests complete (15 ms) Test for IsNil ✓ Should assert successfully with nil value 1 tests complete (0 ms) Test for IsNotNil ✓ Should assert successfully with not nil value 2 tests complete (0 ms) Test for IsNil with failed assertion 1) Should fail 2 tests complete (0 ms) 1 tests failed: 1) Test for IsNil with failed assertion Should fail: 100 expected to be nil /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:99 +0xf1 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:528 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Test for IsNotNil with failed assertion 2) Should fail 2 tests complete (0 ms) 2 tests failed: 1) Test for IsNil with failed assertion Should fail: 100 expected to be nil /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:99 +0xf1 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:528 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 2) Test for IsNotNil with failed assertion Should fail: is nil /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:108 +0xf1 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:534 +0x79 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Test for IsZero ✓ Should assert successfully with int zero value ✓ Should assert successfully with float zero value ✓ Should assert successfully with string zero value ✓ Should assert successfully with struct zero value ✓ Should assert successfully with struct field with zero value 5 tests complete (0 ms) Test for IsNotZero ✓ Should assert successfully with int not zero value ✓ Should assert successfully with float not zero value ✓ Should assert successfully with string not zero value ✓ Should assert successfully with struct not zero value 9 tests complete (0 ms) Test for IsZero with failed assertion 1) Should fail 2) Should fail 3) Should fail 4) Should fail 9 tests complete (0 ms) 4 tests failed: 1) Test for IsZero with failed assertion Should fail: 100 is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:593 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 2) Test for IsZero with failed assertion Should fail: 1 is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:597 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 3) Test for IsZero with failed assertion Should fail: "A" is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:601 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 4) Test for IsZero with failed assertion Should fail: struct { value int }{value:1} is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:605 +0x9b /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Test for IsNotZero with failed assertion 5) Should fail 6) Should fail 7) Should fail 8) Should fail 9 tests complete (0 ms) 8 tests failed: 1) Test for IsZero with failed assertion Should fail: 100 is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:593 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 2) Test for IsZero with failed assertion Should fail: 1 is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:597 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 3) Test for IsZero with failed assertion Should fail: "A" is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:601 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 4) Test for IsZero with failed assertion Should fail: struct { value int }{value:1} is not a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:124 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:605 +0x9b /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 5) Test for IsNotZero with failed assertion Should fail: 0 is a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:134 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:611 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 6) Test for IsNotZero with failed assertion Should fail: 0 is a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:134 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:615 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 7) Test for IsNotZero with failed assertion Should fail: "" is a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:134 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:619 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 8) Test for IsNotZero with failed assertion Should fail: struct {}{} is a zero value /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/assertions.go:134 +0x147 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin_test.go:623 +0x90 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Numbers ✓ Should have called beforeEach ✓ Should have called beforeEach also for this one 2 tests complete (0 ms) Numbers ✓ Should have called all the registered beforeEach 1 tests complete (0 ms) Numbers Addition ✓ Should have called all the registered beforeEach ✓ Should have called all the registered beforeEach also for this one 2 tests complete (0 ms) Numbers ✓ Should call afterEach after this test ✓ Should have called afterEach before this test 2 tests complete (0 ms) Numbers ✓ Should call all the registered afterEach 1 tests complete (0 ms) Numbers Addition ✓ Should call all the registered afterEach ✓ Should have called all the registered afterEach 2 tests complete (0 ms) Async test 1) Should not create a data race if done() is called multiple times 0 tests complete (0 ms) 1 tests failed: 1) Async test Should not create a data race if done() is called multiple times: Test exceeded 10ms /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:265 +0x40f /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:144 +0x5e /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:105 +0xbe /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:39 +0x1c5 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/race_test.go:13 +0x79 /usr/lib/golang/src/testing/testing.go:1595 +0xff /usr/lib/golang/src/testing/testing.go:1648 +0x3ad Synchronous test 1) Should not create a data race on fail 0 tests complete (0 ms) 1 tests failed: 1) Synchronous test Should not create a data race on fail: Failed /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/race_test.go:29 +0x25 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x13 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:355 +0x7d /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:232 +0x77 /builddir/build/BUILD/goblin-0.0.3/_build/src/github.com/franela/goblin/goblin.go:229 +0x305 Resolver ✓ Should resolve the stack until the test 1 tests complete (0 ms) PASS ok github.com/franela/goblin 0.564s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-franela-goblin-devel-0.0.3-1.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DJYQx1 + umask 022 + cd /builddir/build/BUILD + cd goblin-0.0.3 + DOCDIR=/builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64/usr/share/doc/golang-github-franela-goblin-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64/usr/share/doc/golang-github-franela-goblin-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64/usr/share/doc/golang-github-franela-goblin-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sUWhDo + umask 022 + cd /builddir/build/BUILD + cd goblin-0.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64/usr/share/licenses/golang-github-franela-goblin-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64/usr/share/licenses/golang-github-franela-goblin-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64/usr/share/licenses/golang-github-franela-goblin-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/franela/goblin) = 0.0.3-1.oc9 golang(github.com/franela/goblin)(tag=0.0.3) = 0.0.3-1.oc9 golang-github-franela-goblin-devel = 0.0.3-1.oc9 golang-ipath(github.com/franela/goblin) = 0.0.3-1.oc9 golang-ipath(github.com/franela/goblin)(tag=0.0.3) = 0.0.3-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-franela-goblin-0.0.3-1.oc9.x86_64 Wrote: /builddir/build/RPMS/golang-github-franela-goblin-devel-0.0.3-1.oc9.noarch.rpm Child return code was: 0