Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/erlang-meck.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-20de218f026de875137c46090133ecef3e06af24/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/erlang-meck.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/erlang-meck-0.7.2-5.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/erlang-meck.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-20de218f026de875137c46090133ecef3e06af24/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/erlang-meck.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NkBbg7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf eproxus-meck-37715e6 + /usr/bin/gzip -dc /builddir/build/SOURCES/eproxus-meck-0.7.2-0-g2447206.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd eproxus-meck-37715e6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (erlang-meck-0001-Remove-parametrized-module-test.patch): + echo 'Patch #1 (erlang-meck-0001-Remove-parametrized-module-test.patch):' + /usr/bin/cat /builddir/build/SOURCES/erlang-meck-0001-Remove-parametrized-module-test.patch + /usr/bin/patch -p1 -b --suffix .no_param_mods --fuzz=0 patching file test/meck_test_parametrized_module.erl patching file test/meck_tests.erl Patch #2 (erlang-meck-0001-Build-with-R16B03.patch): + echo 'Patch #2 (erlang-meck-0001-Build-with-R16B03.patch):' + /usr/bin/cat /builddir/build/SOURCES/erlang-meck-0001-Build-with-R16B03.patch + /usr/bin/patch -p1 -b --suffix .r16b03 --fuzz=0 patching file test/meck_tests.erl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cUKpZa + umask 022 + cd /builddir/build/BUILD + cd eproxus-meck-37715e6 + rebar compile -v ==> eproxus-meck-37715e6 (compile) Compiled src/meck_cover.erl Compiled src/meck_mod.erl Compiled src/meck.erl + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wSx6Vb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm ++ dirname /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm + cd eproxus-meck-37715e6 + mkdir -p /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm/usr/lib/erlang/lib/meck-0.7.2/ebin + install -m 644 ebin/meck.app /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm/usr/lib/erlang/lib/meck-0.7.2/ebin + install -m 644 ebin/meck.beam ebin/meck_cover.beam ebin/meck_mod.beam /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm/usr/lib/erlang/lib/meck-0.7.2/ebin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1LFExr + umask 022 + cd /builddir/build/BUILD + cd eproxus-meck-37715e6 + rebar eunit -v ==> eproxus-meck-37715e6 (eunit) Compiled test/meck_test_module.erl Compiled test/meck_performance_test.erl Compiled src/meck_mod.erl Compiled src/meck_cover.erl Compiled src/meck.erl Compiled test/meck_tests.erl ======================== EUnit ======================== module 'meck_performance_test' module 'meck' module 'meck_tests' meck_tests: new_...[0.001 s] ok meck_tests: unload_...[0.013 s] ok meck_tests: double_new_...ok meck_tests: validate_...ok meck_tests: expect_...[0.015 s] ok meck_tests: exports_...[0.049 s] ok meck_tests: call_return_value_...[0.016 s] ok meck_tests: call_argument_...[0.016 s] ok meck_tests: call_undef_...[0.016 s] ok meck_tests: call_function_clause_...[0.025 s] ok meck_tests: validate_unexpected_error_...[0.017 s] ok meck_tests: validate_expected_error_...[0.017 s] ok meck_tests: validate_chained_...[0.087 s] ok meck_tests: stacktrace_...[0.017 s] ok meck_tests: stacktrace_function_clause_...[0.018 s] ok meck_tests: change_func_...[0.031 s] ok meck_tests: caller_does_not_crash_on_reload_...[0.076 s] ok meck_tests: call_original_undef_...[0.047 s] ok meck_tests: history_empty_...[0.001 s] ok meck_tests: history_call_...[0.051 s] ok meck_tests: history_throw_...[0.015 s] ok meck_tests: history_throw_fun_...[0.017 s] ok meck_tests: history_exit_...[0.016 s] ok meck_tests: history_error_...[0.015 s] ok meck_tests: history_error_args_...[0.015 s] ok meck_tests: history_meck_throw_...[0.016 s] ok meck_tests: history_meck_throw_fun_...[0.019 s] ok meck_tests: history_meck_exit_...[0.016 s] ok meck_tests: history_meck_error_...[0.015 s] ok meck_tests: history_by_pid_...[0.032 s] ok meck_tests: shortcut_expect_...[0.016 s] ok meck_tests: shortcut_expect_negative_arity_...ok meck_tests: shortcut_call_return_value_...[0.016 s] ok meck_tests: shortcut_call_argument_...[0.017 s] ok meck_tests: shortcut_re_add_...[0.033 s] ok meck_tests: shortcut_opaque_...[0.016 s] ok meck_tests: delete_...[0.036 s] ok meck_tests: called_false_no_args_...[0.017 s] ok meck_tests: called_true_no_args_...[0.016 s] ok meck_tests: called_true_two_functions_...[0.035 s] ok meck_tests: called_false_one_arg_...[0.022 s] ok meck_tests: called_true_one_arg_...[0.017 s] ok meck_tests: called_false_few_args_...[0.017 s] ok meck_tests: called_true_few_args_...[0.018 s] ok meck_tests: called_false_error_...[0.016 s] ok meck_tests: called_true_error_...[0.016 s] ok meck_tests: called_with_pid_no_args_...[0.017 s] ok meck_tests: num_calls_...[0.017 s] ok meck_tests: num_calls_error_...[0.017 s] ok meck_tests: num_calls_with_pid_no_args_...[0.017 s] ok meck_tests: called_wildcard_...[0.016 s] ok meck_tests: sequence_...[0.018 s] ok meck_tests: sequence_multi_...[0.079 s] ok meck_tests: loop_...[0.022 s] ok meck_tests: loop_multi_...[0.095 s] ok meck_tests: call_original_test...[0.079 s] ok meck_tests: unload_renamed_original_test...[0.043 s] ok meck_tests: unload_all_test...[0.248 s] ok meck_tests: original_no_file_test...[0.062 s] ok meck_tests: original_has_no_object_code_test...[0.036 s] ok meck_tests: passthrough_nonexisting_module_test...[0.118 s] ok meck_tests: passthrough_test...[0.085 s] ok meck_tests: passthrough_different_arg_test...[0.056 s] ok meck_tests: passthrough_bif_test...[0.840 s] ok meck_tests: cover_test...[2.002 s] ok meck_tests: cover_options_...[0.288 s] ok meck_tests: cover_options_fail_...[0.353 s] ok meck_tests: no_cover_passthrough_test...[0.168 s] ok meck_tests: cover_passthrough_test...[0.185 s] ok meck_tests: unload_when_crashed_test... =ERROR REPORT==== 24-Aug-2018::23:09:57 === ** Generic server mymod_meck terminating ** Last message in was {'EXIT',<0.112.0>,expected_test_exit} ** When Server state == {state,mymod, {dict,0,16,16,8,80,48, {[],[],[],[],[],[],[],[],[],[],[],[],[], [],[],[]}, {{[],[],[],[],[],[],[],[],[],[],[],[],[], [],[],[]}}}, true,[], {false,no_binary}, false} ** Reason for termination == ** expected_test_exit [0.148 s] ok meck_tests: unlink_test...[0.067 s] ok meck_tests: expect_without_new_test...ok meck_tests: history_passthrough_test...[0.202 s] ok meck_tests: multi_test...[0.244 s] ok meck_tests: multi_invalid_test...[0.208 s] ok meck_tests: multi_option_test...[0.353 s] ok meck_tests: multi_shortcut_test...[0.203 s] ok meck_tests: multi_delete_test...[0.289 s] ok meck_tests: handle_cast_unmodified_state_test...ok meck_tests: code_change_unmodified_state_test...ok meck_tests: remote_meck_test_...[1.183 s] ok meck_tests: remote_meck_test_...[1.955 s] ok meck_tests: can_mock_sticky_modules_test...[0.169 s] ok meck_tests: can_mock_sticky_module_not_yet_loaded_...[0.056 s] ok meck_tests: cannot_mock_sticky_module_without_unstick_... =ERROR REPORT==== 24-Aug-2018::23:10:05 === Can't load module that resides in sticky dir [0.027 s] ok meck_tests: can_mock_non_sticky_module_test...[0.072 s] ok meck_tests: cannot_expect_bif_or_autogenerated_test...[0.528 s] ok [done in 17.848 s] [done in 17.848 s] module 'meck_mod' module 'meck_cover' module 'meck_test_module' ======================================================= All 87 tests passed. Cover analysis: /builddir/build/BUILD/eproxus-meck-37715e6/.eunit/index.html Node State Type In Out Address + exit 0 Processing files: erlang-meck-0.7.2-5.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HvEA1T + umask 022 + cd /builddir/build/BUILD + cd eproxus-meck-37715e6 + DOCDIR=/builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm/usr/share/doc/erlang-meck-0.7.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm/usr/share/doc/erlang-meck-0.7.2 + cp -pr LICENSE /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm/usr/share/doc/erlang-meck-0.7.2 + cp -pr README.md /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm/usr/share/doc/erlang-meck-0.7.2 + cp -pr NOTICE /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm/usr/share/doc/erlang-meck-0.7.2 + exit 0 Provides: erlang-meck = 0.7.2-5.el7 erlang-meck(armv7hl-32) = 0.7.2-5.el7 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/erlang-meck-0.7.2-5.el7.arm Wrote: /builddir/build/RPMS/erlang-meck-0.7.2-5.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1Dp7KM + umask 022 + cd /builddir/build/BUILD + cd eproxus-meck-37715e6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-meck-0.7.2-5.el7.arm + exit 0 Child return code was: 0