D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/erlang-rebar-2.6.4-9.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mQtWGv + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf rebar-2.6.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rebar-2.6.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rebar-2.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (rebar-0001-Load-templates-from-the-filesystem-first.patch):' Patch #1 (rebar-0001-Load-templates-from-the-filesystem-first.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .load_templates_from_fs --fuzz=0 patching file src/rebar_templater.erl + echo 'Patch #2 (rebar-0002-Remove-bundled-mustache.patch):' Patch #2 (rebar-0002-Remove-bundled-mustache.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_bundled_mustache --fuzz=0 patching file ebin/rebar.app patching file src/rebar_mustache.erl patching file src/rebar_templater.erl + echo 'Patch #3 (rebar-0003-Remove-bundled-getopt.patch):' Patch #3 (rebar-0003-Remove-bundled-getopt.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_bundled_getopt --fuzz=0 patching file ebin/rebar.app patching file src/rebar.erl patching file src/rebar_getopt.erl + echo 'Patch #4 (rebar-0004-Allow-discarding-building-ports.patch):' Patch #4 (rebar-0004-Allow-discarding-building-ports.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .allow_discarding_ports --fuzz=0 patching file src/rebar_port_compiler.erl + echo 'Patch #5 (rebar-0005-Remove-any-traces-of-long-time-obsolete-escript-fold.patch):' Patch #5 (rebar-0005-Remove-any-traces-of-long-time-obsolete-escript-fold.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_escript_foldl_3 --fuzz=0 patching file src/rebar_utils.erl + echo 'Patch #6 (rebar-0006-remove-abnfc.patch):' Patch #6 (rebar-0006-remove-abnfc.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_abnfc --fuzz=0 patching file ebin/rebar.app patching file rebar.config patching file src/rebar_abnfc_compiler.erl + echo 'Patch #7 (rebar-0007-Remove-support-for-gpb-compiler.patch):' Patch #7 (rebar-0007-Remove-support-for-gpb-compiler.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_gpb --fuzz=0 patching file ebin/rebar.app patching file src/rebar_proto_gpb_compiler.erl + echo 'Patch #8 (rebar-0008-Remove-pre-R15B02-workaround.patch):' Patch #8 (rebar-0008-Remove-pre-R15B02-workaround.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .remove_pre_R15B02 --fuzz=0 patching file src/rebar_eunit.erl + echo 'Patch #9 (rebar-0009-Use-erlang-timestamp-0-explicitly.patch):' Patch #9 (rebar-0009-Use-erlang-timestamp-0-explicitly.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .erlang_timestamp_0 --fuzz=0 patching file src/rebar_utils.erl + echo 'Patch #10 (rebar-0010-Try-shell-variable-VSN-first.patch):' Patch #10 (rebar-0010-Try-shell-variable-VSN-first.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .vsn_override --fuzz=0 patching file src/rebar_otp_app.erl + echo 'Patch #11 (rebar-0011-Allow-ignoring-missing-deps.patch):' Patch #11 (rebar-0011-Allow-ignoring-missing-deps.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .skip_deps_checking --fuzz=0 patching file src/rebar_deps.erl + echo 'Patch #12 (rebar-0012-Drop-obsolete-crypto-rand_uniform-2.patch):' Patch #12 (rebar-0012-Drop-obsolete-crypto-rand_uniform-2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .erl20 --fuzz=0 patching file src/rebar_ct.erl patching file src/rebar_eunit.erl + echo 'Patch #13 (rebar-0013-Remove-compat-random-modules.patch):' Patch #13 (rebar-0013-Remove-compat-random-modules.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .erl22_compat --fuzz=0 patching file ebin/rebar.app patching file rebar.config patching file src/rebar.erl patching file src/rebar_eunit.erl patching file src/rebar_rand_compat.erl + echo 'Patch #14 (rebar-0014-erl_interface-was-removed-in-Erlang-23.patch):' Patch #14 (rebar-0014-erl_interface-was-removed-in-Erlang-23.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .erl23_compat --fuzz=0 patching file src/rebar_port_compiler.erl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NFrFV4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd rebar-2.6.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' '!' -f src/rebar.app.src -a '!' -f src/rebar.app -a '!' -f ebin/rebar.app ']' + echo '*.app file (or *.app.src template) was found.' *.app file (or *.app.src template) was found. + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + VSN=2.6.4 + export VSN + REBAR_VSN_CACHE_FILE=/home/pterjan/rpmbuild/BUILD/rebar-2.6.4/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/home/pterjan/rpmbuild/BUILD/rebar-2.6.4"}, "2.6.4"}.' + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + IGNORE_MISSING_DEPS=TRUE + export IGNORE_MISSING_DEPS + ERL_LIBS=/usr/share/erlang/lib/ + export ERL_LIBS + /usr/bin/rebar compile skip_deps=true -vv DEBUG: Evaluating config script "/home/pterjan/rpmbuild/BUILD/rebar-2.6.4/rebar.config.script" DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/rebar-2.6.4/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /home/pterjan/rpmbuild/BUILD/rebar-2.6.4: [] DEBUG: Predirs: [] ==> rebar-2.6.4 (compile) DEBUG: Matched required ERTS version: 12.3.2.6 -> .* DEBUG: Matched required OTP release: 24 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info,{d,namespaced_types}] DEBUG: Files to compile first: [] DEBUG: Starting 3 compile worker(s) Compiled src/rebar_subdirs.erl Compiled src/rebar_log.erl Compiled src/rebar_upgrade.erl Compiled src/rebar_asn1_compiler.erl Compiled src/rebar_file_utils.erl Compiled src/rebar_dialyzer.erl Compiled src/rebar_cover_utils.erl Compiled src/rebar_qc.erl Compiled src/rebar_appups.erl Compiled src/rebar_utils.erl Compiled src/rebar_base_compiler.erl Compiled src/rebar_require_vsn.erl Compiled src/rebar_templater.erl Compiled src/rebar_dia_compiler.erl Compiled src/rebar_otp_appup.erl Compiled src/rebar_erlc_compiler.erl Compiled src/rebar_metacmds.erl Compiled src/rebar_neotoma_compiler.erl Compiled src/rebar_rel_utils.erl Compiled src/rebar.erl Compiled src/rebar_config.erl Compiled src/rebar_app_utils.erl Compiled src/rebar_escripter.erl Compiled src/rebar_erlydtl_compiler.erl Compiled src/rebar_otp_app.erl Compiled src/rebar_protobuffs_compiler.erl Compiled src/rebar_cleaner.erl Compiled src/rebar_xref.erl Compiled src/rebar_proto_compiler.erl Compiled src/rebar_core.erl Compiled src/rebar_reltool.erl Compiled src/rebar_port_compiler.erl Compiled src/rebar_eunit.erl Compiled src/rebar_ct.erl Compiled src/rmemo.erl Compiled src/rebar_edoc.erl Compiled src/rebar_shell.erl DEBUG: Worker exited cleanly Compiled src/rebar_lfe_compiler.erl DEBUG: Worker exited cleanly Compiled src/rebar_deps.erl DEBUG: Worker exited cleanly DEBUG: Postdirs: [] + '[' -f doc/overview.edoc ']' + echo 'No '\''doc/overview.edoc'\'' file was found, so docs aren'\''t generated.' No 'doc/overview.edoc' file was found, so docs aren't generated. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8hWg6X + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/erlang-rebar-2.6.4-9.mga9.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/erlang-rebar-2.6.4-9.mga9.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/erlang-rebar-2.6.4-9.mga9.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/erlang-rebar-2.6.4-9.mga9.noarch + cd rebar-2.6.4 + '[' 1 -eq 1 ']' + '[' rebar '!=' '' ']' + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/erlang-rebar-2.6.4-9.mga9.noarch/usr/share/erlang/lib/rebar-2.6.4/ + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/erlang-rebar-2.6.4-9.mga9.noarch/usr/share/erlang/lib/rebar-2.6.4/ebin/ + '[' -f ebin/rebar.app ']' + /usr/bin/install -m 0644 -p ebin/rebar.app /home/pterjan/rpmbuild/BUILDROOT/erlang-rebar-2.6.4-9.mga9.noarch/usr/share/erlang/lib/rebar-2.6.4/ebin/ + /usr/bin/install -m 0644 -p ebin/rebar.beam ebin/rebar_app_utils.beam ebin/rebar_appups.beam ebin/rebar_asn1_compiler.beam ebin/rebar_base_compiler.beam ebin/rebar_cleaner.beam ebin/rebar_config.beam ebin/rebar_core.beam ebin/rebar_cover_utils.beam ebin/rebar_ct.beam ebin/rebar_deps.beam ebin/rebar_dia_compiler.beam ebin/rebar_dialyzer.beam ebin/rebar_edoc.beam ebin/rebar_erlc_compiler.beam ebin/rebar_erlydtl_compiler.beam ebin/rebar_escripter.beam ebin/rebar_eunit.beam ebin/rebar_file_utils.beam ebin/rebar_lfe_compiler.beam ebin/rebar_log.beam ebin/rebar_metacmds.beam ebin/rebar_neotoma_compiler.beam ebin/rebar_otp_app.beam ebin/rebar_otp_appup.beam ebin/rebar_port_compiler.beam ebin/rebar_proto_compiler.beam ebin/rebar_protobuffs_compiler.beam ebin/rebar_qc.beam ebin/rebar_rel_utils.beam ebin/rebar_reltool.beam ebin/rebar_require_vsn.beam ebin/rebar_shell.beam ebin/rebar_subdirs.beam ebin/rebar_templater.beam ebin/rebar_upgrade.beam ebin/rebar_utils.beam ebin/rebar_xref.beam ebin/rmemo.beam /home/pterjan/rpmbuild/BUILDROOT/erlang-rebar-2.6.4-9.mga9.noarch/usr/share/erlang/lib/rebar-2.6.4/ebin/ + '[' -d include/ ']' ++ ls include/rebar.hrl + for erlincludefile in `ls include/*.hrl` + /usr/bin/install -D -m 0644 -p include/rebar.hrl /home/pterjan/rpmbuild/BUILDROOT/erlang-rebar-2.6.4-9.mga9.noarch/usr/share/erlang/lib/rebar-2.6.4/include/rebar.hrl + '[' -d priv/ ']' ++ ls 'priv/*.so' ls: cannot access 'priv/*.so': No such file or directory + install -D -p -m 0755 /home/pterjan/rpmbuild/SOURCES/rebar.escript /home/pterjan/rpmbuild/BUILDROOT/erlang-rebar-2.6.4-9.mga9.noarch/usr/bin/rebar + cp -a priv /home/pterjan/rpmbuild/BUILDROOT/erlang-rebar-2.6.4-9.mga9.noarch/usr/share/erlang/lib/rebar-2.6.4/ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.6.4-9.mga9 --unique-debug-suffix -2.6.4-9.mga9.noarch --unique-debug-src-base erlang-rebar-2.6.4-9.mga9.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/rebar-2.6.4 + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/rebar from /usr/bin/env escript to #!/usr/bin/escript mangling shebang in /usr/share/erlang/lib/rebar-2.6.4/priv/templates/simplenode.runner from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/erlang/lib/rebar-2.6.4/priv/templates/simplenode.nodetool from /usr/bin/env escript to #!/usr/bin/escript + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FcfghZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd rebar-2.6.4 + '[' 1 -eq 1 ']' + install -D -p -m 0755 /home/pterjan/rpmbuild/SOURCES/rebar.escript ./rebar + sed -i -e 's,-noshell -noinput,-noshell -noinput -pa .,g' ./rebar + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + VSN=2.6.4 + export VSN + REBAR_VSN_CACHE_FILE=/home/pterjan/rpmbuild/BUILD/rebar-2.6.4/vsn.cache + export REBAR_VSN_CACHE_FILE + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + /usr/bin/rebar eunit skip_deps=true -vv DEBUG: Evaluating config script "/home/pterjan/rpmbuild/BUILD/rebar-2.6.4/rebar.config.script" DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/rebar-2.6.4/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /home/pterjan/rpmbuild/BUILD/rebar-2.6.4: [] DEBUG: Predirs: [] ==> rebar-2.6.4 (eunit) DEBUG: Matched required ERTS version: 12.3.2.6 -> .* DEBUG: Matched required OTP release: 24 -> .* DEBUG: Min OTP version unconfigured DEBUG: Triq availability: true DEBUG: PropEr availability: false DEBUG: QuickCheck availability: false INFO: sh info: cwd: "/home/pterjan/rpmbuild/BUILD/rebar-2.6.4" cmd: cp -R src/rebar_subdirs.erl src/rebar_upgrade.erl src/rebar_log.erl src/rebar_utils.erl src/rebar_file_utils.erl src/rebar_asn1_compiler.erl src/rebar_cover_utils.erl src/rebar_dialyzer.erl src/rebar_qc.erl src/rebar_appups.erl src/rebar_base_compiler.erl src/rebar_erlc_compiler.erl src/rebar_templater.erl src/rebar_require_vsn.erl src/rebar_dia_compiler.erl src/rebar_otp_appup.erl src/rebar.erl src/rebar_neotoma_compiler.erl src/rebar_metacmds.erl src/rebar_rel_utils.erl src/rebar_config.erl src/rebar_app_utils.erl src/rebar_escripter.erl src/rebar_erlydtl_compiler.erl src/rebar_otp_app.erl src/rebar_xref.erl src/rebar_core.erl src/rebar_protobuffs_compiler.erl src/rebar_cleaner.erl src/rebar_port_compiler.erl src/rebar_proto_compiler.erl src/rebar_reltool.erl src/rebar_eunit.erl src/rebar_deps.erl src/rebar_ct.erl src/rmemo.erl src/rebar_edoc.erl src/rebar_shell.erl src/rebar_lfe_compiler.erl test/rebar_compiler_tests.erl test/rebar_require_vsn_tests.erl test/rebar_otp_release_tests.erl test/rebar_eunit_tests.erl test/rebar_dia_tests.erl test/upgrade_project/apps/dummy/src/dummy_sup.erl test/upgrade_project/apps/dummy/src/dummy_app.erl test/upgrade_project/apps/dummy/src/dummy_server.erl test/rebar_utils_tests.erl test/rebar_xref_eunit.erl test/rebar_file_utils_tests.erl ".eunit" DEBUG: opts: [{use_stdout,false},abort_on_error] DEBUG: Port Cmd: "cp -R src/rebar_subdirs.erl src/rebar_upgrade.erl src/rebar_log.erl src/rebar_utils.erl src/rebar_file_utils.erl src/rebar_asn1_compiler.erl src/rebar_cover_utils.erl src/rebar_dialyzer.erl src/rebar_qc.erl src/rebar_appups.erl src/rebar_base_compiler.erl src/rebar_erlc_compiler.erl src/rebar_templater.erl src/rebar_require_vsn.erl src/rebar_dia_compiler.erl src/rebar_otp_appup.erl src/rebar.erl src/rebar_neotoma_compiler.erl src/rebar_metacmds.erl src/rebar_rel_utils.erl src/rebar_config.erl src/rebar_app_utils.erl src/rebar_escripter.erl src/rebar_erlydtl_compiler.erl src/rebar_otp_app.erl src/rebar_xref.erl src/rebar_core.erl src/rebar_protobuffs_compiler.erl src/rebar_cleaner.erl src/rebar_port_compiler.erl src/rebar_proto_compiler.erl src/rebar_reltool.erl src/rebar_eunit.erl src/rebar_deps.erl src/rebar_ct.erl src/rmemo.erl src/rebar_edoc.erl src/rebar_shell.erl src/rebar_lfe_compiler.erl test/rebar_compiler_tests.erl test/rebar_require_vsn_tests.erl test/rebar_otp_release_tests.erl test/rebar_eunit_tests.erl test/rebar_dia_tests.erl test/upgrade_project/apps/dummy/src/dummy_sup.erl test/upgrade_project/apps/dummy/src/dummy_app.erl test/upgrade_project/apps/dummy/src/dummy_server.erl test/rebar_utils_tests.erl test/rebar_xref_eunit.erl test/rebar_file_utils_tests.erl \".eunit\"" Port Opts: [exit_status,{line,16384},use_stdio,stderr_to_stdout,hide] DEBUG: erl_opts [{d,'TEST'},debug_info,{d,namespaced_types},{d,'TRIQ'}] DEBUG: Files to compile first: [] DEBUG: Starting 3 compile worker(s) Compiled src/rebar_upgrade.erl Compiled src/rebar_subdirs.erl Compiled src/rebar_log.erl Compiled src/rebar_asn1_compiler.erl Compiled src/rebar_file_utils.erl Compiled src/rebar_dialyzer.erl Compiled src/rebar_cover_utils.erl Compiled src/rebar_qc.erl Compiled src/rebar_utils.erl Compiled src/rebar_appups.erl Compiled src/rebar_base_compiler.erl Compiled src/rebar_require_vsn.erl Compiled src/rebar_templater.erl Compiled src/rebar_dia_compiler.erl Compiled src/rebar_otp_appup.erl Compiled src/rebar_erlc_compiler.erl Compiled src/rebar_metacmds.erl Compiled src/rebar_neotoma_compiler.erl Compiled src/rebar_rel_utils.erl Compiled src/rebar.erl Compiled src/rebar_config.erl Compiled src/rebar_app_utils.erl Compiled src/rebar_escripter.erl Compiled src/rebar_erlydtl_compiler.erl Compiled src/rebar_otp_app.erl Compiled src/rebar_protobuffs_compiler.erl Compiled src/rebar_cleaner.erl Compiled src/rebar_xref.erl Compiled src/rebar_proto_compiler.erl Compiled src/rebar_core.erl Compiled src/rebar_reltool.erl Compiled src/rebar_port_compiler.erl Compiled src/rebar_ct.erl Compiled src/rebar_eunit.erl Compiled src/rmemo.erl Compiled src/rebar_edoc.erl Compiled src/rebar_shell.erl Compiled src/rebar_lfe_compiler.erl test/rebar_compiler_tests.erl:33:2: Warning: export_all flag enabled - all functions will be exported Compiled test/rebar_compiler_tests.erl Compiled test/rebar_otp_release_tests.erl test/rebar_require_vsn_tests.erl:5:2: Warning: export_all flag enabled - all functions will be exported Compiled test/rebar_require_vsn_tests.erl test/rebar_dia_tests.erl:5:2: Warning: export_all flag enabled - all functions will be exported Compiled test/rebar_dia_tests.erl Compiled test/upgrade_project/apps/dummy/src/dummy_sup.erl Compiled test/upgrade_project/apps/dummy/src/dummy_app.erl Compiled test/upgrade_project/apps/dummy/src/dummy_server.erl test/rebar_utils_tests.erl:33:2: Warning: export_all flag enabled - all functions will be exported Compiled test/rebar_utils_tests.erl Compiled src/rebar_deps.erl test/rebar_xref_eunit.erl:5:2: Warning: export_all flag enabled - all functions will be exported Compiled test/rebar_xref_eunit.erl DEBUG: Worker exited cleanly test/rebar_file_utils_tests.erl:33:2: Warning: export_all flag enabled - all functions will be exported Compiled test/rebar_file_utils_tests.erl DEBUG: Worker exited cleanly test/rebar_eunit_tests.erl:33:2: Warning: export_all flag enabled - all functions will be exported Compiled test/rebar_eunit_tests.erl DEBUG: Worker exited cleanly ======================== EUnit ======================== module 'rebar_app_utils' module 'rebar_config' module 'rebar_utils' module 'rebar_utils_tests' rebar_utils_tests: expand_env_variable_test_ (Ensure that variable expansion handles nonwhitespace)...ok rebar_utils_tests: expand_env_variable_test_ (Ensure that variable expansion with braces works)...ok [done in 0.006 s] [done in 0.006 s] module 'rebar_cover_utils' module 'rebar_escripter' module 'rebar_neotoma_compiler' module 'rebar_xref_eunit' Test the various xref warnings rebar_xref_eunit:19: xref_test_ (Undefined function)...ok rebar_xref_eunit:21: xref_test_ (Undefined function call)...*failed* in function rebar_xref_eunit:'-xref_test_/0-fun-3-'/1 (test/rebar_xref_eunit.erl, line 22) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assert,[{module,rebar_xref_eunit}, {line,22}, {expression,"string : str ( RebarOut , \"myapp_othermod:somefunc/0 calls undefined function myapp_somemod:notavailable/1\" ) =/= 0"}, {expected,true}, {value,false}]} output:<<"">> rebar_xref_eunit:23: xref_test_ (Deprecated function)...*failed* in function rebar_xref_eunit:'-xref_test_/0-fun-5-'/1 (test/rebar_xref_eunit.erl, line 24) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assert,[{module,rebar_xref_eunit}, {line,24}, {expression,"string : str ( RebarOut , \"myapp_mymod:fdeprecated/0 is deprecated function\" ) =/= 0"}, {expected,true}, {value,false}]} output:<<"">> rebar_xref_eunit:25: xref_test_ (Deprecated function call)...*failed* in function rebar_xref_eunit:'-xref_test_/0-fun-7-'/1 (test/rebar_xref_eunit.erl, line 26) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assert,[{module,rebar_xref_eunit}, {line,26}, {expression,"string : str ( RebarOut , \"myapp_othermod:somefunc/0 calls deprecated function myapp_mymod:fdeprecated/0\" ) =/= 0"}, {expected,true}, {value,false}]} output:<<"">> rebar_xref_eunit:27: xref_test_ (Unused local)...*failed* in function rebar_xref_eunit:'-xref_test_/0-fun-9-'/1 (test/rebar_xref_eunit.erl, line 28) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assert,[{module,rebar_xref_eunit}, {line,28}, {expression,"string : str ( RebarOut , \"myapp_mymod:localfunc2/0 is unused local function\" ) =/= 0"}, {expected,true}, {value,false}]} output:<<"">> rebar_xref_eunit:29: xref_test_ (Unused export 1)...*failed* in function rebar_xref_eunit:'-xref_test_/0-fun-11-'/1 (test/rebar_xref_eunit.erl, line 30) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assert,[{module,rebar_xref_eunit}, {line,30}, {expression,"string : str ( RebarOut , \"myapp_behaviour1:behaviour_info/1 is unused export\" ) =/= 0"}, {expected,true}, {value,false}]} output:<<"">> rebar_xref_eunit:31: xref_test_ (Unused export 2)...*failed* in function rebar_xref_eunit:'-xref_test_/0-fun-13-'/1 (test/rebar_xref_eunit.erl, line 32) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assert,[{module,rebar_xref_eunit}, {line,32}, {expression,"string : str ( RebarOut , \"myapp_behaviour2:behaviour_info/1 is unused export\" ) =/= 0"}, {expected,true}, {value,false}]} output:<<"">> rebar_xref_eunit:33: xref_test_ (Unused export 3)...*failed* in function rebar_xref_eunit:'-xref_test_/0-fun-15-'/1 (test/rebar_xref_eunit.erl, line 34) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assert,[{module,rebar_xref_eunit}, {line,34}, {expression,"string : str ( RebarOut , \"myapp_mymod:other2/1 is unused export\" ) =/= 0"}, {expected,true}, {value,false}]} output:<<"">> rebar_xref_eunit:35: xref_test_ (Unused export 4)...*failed* in function rebar_xref_eunit:'-xref_test_/0-fun-17-'/1 (test/rebar_xref_eunit.erl, line 36) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assert,[{module,rebar_xref_eunit}, {line,36}, {expression,"string : str ( RebarOut , \"myapp_othermod:somefunc/0 is unused export\" ) =/= 0"}, {expected,true}, {value,false}]} output:<<"">> rebar_xref_eunit:37: xref_test_ (Suppressed behaviour export 1)...ok rebar_xref_eunit:39: xref_test_ (Suppressed behaviour export 2)...ok rebar_xref_eunit:41: xref_test_ (Suppressed behaviour export 3)...ok rebar_xref_eunit:43: xref_test_ (Suppressed behaviour export 4)...ok [done in 0.040 s] Test the suppression of xref warnings rebar_xref_eunit:54: xref_ignore_test_ (Undefined function can not be suppressed.)...ok rebar_xref_eunit:56: xref_ignore_test_ (Supppressed undefined function call)...ok rebar_xref_eunit:58: xref_ignore_test_ (Supppressed deprecated function)...ok rebar_xref_eunit:60: xref_ignore_test_ (Supppressed deprecated function call)...ok rebar_xref_eunit:62: xref_ignore_test_ (Supppressed unused local)...ok rebar_xref_eunit:64: xref_ignore_test_ (Supppressed unused export 1)...ok rebar_xref_eunit:66: xref_ignore_test_ (Supppressed unused export 2)...ok rebar_xref_eunit:68: xref_ignore_test_ (Supppressed unused export 3)...ok rebar_xref_eunit:70: xref_ignore_test_ (Supppressed unused export 4)...ok rebar_xref_eunit:72: xref_ignore_test_ (Suppressed behaviour export 1)...ok rebar_xref_eunit:74: xref_ignore_test_ (Suppressed behaviour export 2)...ok rebar_xref_eunit:76: xref_ignore_test_ (Suppressed behaviour export 3)...ok rebar_xref_eunit:78: xref_ignore_test_ (Suppressed behaviour export 4)...ok [done in 0.039 s] [done in 1.635 s] module 'rebar_upgrade' module 'rebar_templater' module 'rebar_erlydtl_compiler' module 'rebar_deps' module 'rebar_qc' module 'rebar_port_compiler' module 'dummy_sup' module 'rebar_otp_appup' module 'rebar_xref' module 'rebar_proto_compiler' module 'rebar_metacmds' module 'rebar_erlc_compiler' module 'rebar_dia_compiler' module 'rebar_log' module 'rebar_base_compiler' module 'dummy_server' module 'rebar_rel_utils' module 'rebar_cleaner' module 'rebar_reltool' module 'rebar_shell' module 'rebar_require_vsn' module 'rebar_require_vsn_tests' rebar_require_vsn_tests:11: version_tuple_test_...ok rebar_require_vsn_tests:12: version_tuple_test_...ok rebar_require_vsn_tests:13: version_tuple_test_...ok rebar_require_vsn_tests:14: version_tuple_test_...ok rebar_require_vsn_tests:15: version_tuple_test_...ok rebar_require_vsn_tests:16: version_tuple_test_...ok rebar_require_vsn_tests:17: version_tuple_test_...ok rebar_require_vsn_tests:18: version_tuple_test_...ok rebar_require_vsn_tests:19: version_tuple_test_...ok rebar_require_vsn_tests:20: version_tuple_test_...ok rebar_require_vsn_tests:21: version_tuple_test_...ok rebar_require_vsn_tests:22: version_tuple_test_...ok rebar_require_vsn_tests:23: version_tuple_test_...ok rebar_require_vsn_tests:24: version_tuple_test_...ok rebar_require_vsn_tests:25: version_tuple_test_...ok rebar_require_vsn_tests:26: version_tuple_test_...ok rebar_require_vsn_tests:27: version_tuple_test_...ok rebar_require_vsn_tests:28: version_tuple_test_...ok rebar_require_vsn_tests:29: version_tuple_test_...ok rebar_require_vsn_tests:30: version_tuple_test_...ok rebar_require_vsn_tests:31: version_tuple_test_...ok rebar_require_vsn_tests:32: version_tuple_test_...ok rebar_require_vsn_tests:33: version_tuple_test_...ok rebar_require_vsn_tests:34: version_tuple_test_...ok rebar_require_vsn_tests:35: version_tuple_test_...ok rebar_require_vsn_tests:36: version_tuple_test_...ok rebar_require_vsn_tests:38: version_tuple_test_...ERROR: Cannot parse eunit version string: ERROR: Cannot parse eunit version string: abc ok rebar_require_vsn_tests:39: version_tuple_test_...ok [done in 0.084 s] [done in 0.084 s] module 'rebar_protobuffs_compiler' module 'rmemo' module 'rebar_file_utils' module 'rebar_file_utils_tests' delete_each survives nonexisting files rebar_file_utils_tests:54: delete_bogus_test_...ok rebar_file_utils_tests:55: delete_bogus_test_...ok [done in 0.006 s] delete_each removes files rebar_file_utils_tests:280: assert_files_not_in (source dir does not have file: tmp_file_utils/source dir/file 1)...ok rebar_file_utils_tests:280: assert_files_not_in (source dir does not have file: tmp_file_utils/source dir/file(2))...ok [done in 0.006 s] rm_rf removes files based on wildcard spec rebar_file_utils_tests:280: assert_files_not_in (source dir does not have file: tmp_file_utils/source dir/file 1)...ok rebar_file_utils_tests:280: assert_files_not_in (source dir does not have file: tmp_file_utils/source dir/file(2))...ok [done in 0.006 s] rm_rf removes directory tree rebar_file_utils_tests:89: rm_rf_dir_test_...ok [done in 0.003 s] cp_r copies a file to file rebar_file_utils_tests:104: cp_r_file_to_file_test_...ok [done in 0.003 s] cp_r copies a file to directory rebar_file_utils_tests:115: cp_r_file_to_dir_test_...ok [done in 0.003 s] cp_r copies a directory to directory rebar_file_utils_tests:126: cp_r_dir_to_dir_test_...ok rebar_file_utils_tests:274: assert_files_in (dest/source has file: tmp_file_utils/dest (dir)/source dir/file 1)...ok rebar_file_utils_tests:274: assert_files_in (dest/source has file: tmp_file_utils/dest (dir)/source dir/file(2))...ok [done in 0.009 s] cp_r copies wildcard files to directory rebar_file_utils_tests:140: cp_r_wildcard_file_to_dir_test_...ok [done in 0.003 s] cp_r copies wildcard directory to directory rebar_file_utils_tests:151: cp_r_wildcard_dir_to_dir_test_...ok rebar_file_utils_tests:274: assert_files_in (dest/source has file: tmp_file_utils/dest (dir)/source dir/file 1)...ok rebar_file_utils_tests:274: assert_files_in (dest/source has file: tmp_file_utils/dest (dir)/source dir/file(2))...ok [done in 0.009 s] cp_r overwrites destination file rebar_file_utils_tests:167: cp_r_overwrite_file_test_...[0.003 s] ok [done in 0.006 s] cp_r overwrites destination file (xcopy case on win32) rebar_file_utils_tests:184: cp_r_overwrite_dir_test_...ok [done in 0.003 s] cp_r fails to fs permission errors (file:copy/2 case on win32) rebar_file_utils_tests:199: cp_r_overwrite_file_fail_test_...ERROR: sh(cp -R tmp_file_utils/source\ dir/file\ 1 "tmp_file_utils/dest (dir)") failed with return code 1 and the following output: cp: cannot create regular file 'tmp_file_utils/dest (dir)/file 1': Permission denied [0.002 s] ok [done in 0.005 s] cp_r fails to fs permission error (xcopy case on win32) rebar_file_utils_tests:218: cp_r_overwrite_dir_fail_test_...ERROR: sh(cp -R tmp_file_utils/source\ dir "tmp_file_utils/dest (dir)") failed with return code 1 and the following output: cp: cannot create regular file 'tmp_file_utils/dest (dir)/source dir/file 1': Permission denied [0.002 s] ok [done in 0.005 s] move a file to folder rebar_file_utils_tests:232: mv_file_test_...ok rebar_file_utils_tests:233: mv_file_test_...ok [done in 0.006 s] [done in 0.173 s] [done in 0.173 s] module 'rebar_subdirs' module 'rebar_core' module 'rebar_dialyzer' module 'rebar_lfe_compiler' module 'dummy_app' module 'rebar_appups' module 'rebar_asn1_compiler' module 'rebar_eunit' module 'rebar_eunit_tests' Ensure EUnit runs with tests in a 'test' dir and no defined suite rebar_eunit_tests:53: eunit_test_ (Tests in 'test' directory are found and run)...ok rebar_eunit_tests:56: eunit_test_ (Tests in 'src' directory are found and run)...ok rebar_eunit_tests:59: eunit_test_ (Tests are only run once)...ok [done in 0.010 s] Ensure EUnit runs selected suites rebar_eunit_tests:71: eunit_with_suites_and_tests_test_ (Selected suite tests in 'test' directory are found and run)...ok rebar_eunit_tests:74: eunit_with_suites_and_tests_test_ (Selected suite tests in 'src' directory are found and run)...ok rebar_eunit_tests:77: eunit_with_suites_and_tests_test_ (Unselected suite tests in 'test' directory are not run)...ok rebar_eunit_tests:80: eunit_with_suites_and_tests_test_ (Unselected suite tests in 'src' directory are not run)...ok rebar_eunit_tests:83: eunit_with_suites_and_tests_test_ (Selected suite tests are only run once)...ok [done in 0.015 s] Ensure EUnit runs selected _tests suites rebar_eunit_tests:93: eunit_with_suites_and_tests_test_ (Selected suite tests in 'test' directory are found and run)...ok rebar_eunit_tests:96: eunit_with_suites_and_tests_test_ (Selected suite tests in 'src' directory are not run)...ok rebar_eunit_tests:99: eunit_with_suites_and_tests_test_ (Unselected suite tests in 'test' directory are not run)...ok rebar_eunit_tests:102: eunit_with_suites_and_tests_test_ (Unselected suite tests in 'src' directory are not run)...ok rebar_eunit_tests:105: eunit_with_suites_and_tests_test_ (Selected suite tests are only run once)...ok [done in 0.015 s] Ensure EUnit runs a specific test defined in a selected suite rebar_eunit_tests:115: eunit_with_suites_and_tests_test_ (Selected suite tests are found and run)...ok rebar_eunit_tests:119: eunit_with_suites_and_tests_test_ (Selected suite tests is run once)...ok [done in 0.006 s] Ensure EUnit runs a specific generator test defined in a selected suite rebar_eunit_tests:129: eunit_with_suites_and_tests_test_ (Selected suite's generator test is found and run)...ok rebar_eunit_tests:133: eunit_with_suites_and_tests_test_ (Selected suite's generator test raises an error)...ok rebar_eunit_tests:137: eunit_with_suites_and_tests_test_ (Selected suite tests is run once)...ok [done in 0.009 s] Ensure EUnit runs specific tests defined in selected suites Selected suite tests are found and run rebar_eunit_tests:148: eunit_with_suites_and_tests_test_...ok rebar_eunit_tests:150: eunit_with_suites_and_tests_test_...ok rebar_eunit_tests:152: eunit_with_suites_and_tests_test_...ok [done in 0.009 s] rebar_eunit_tests:157: eunit_with_suites_and_tests_test_ (Selected suite tests are run once)...ok [done in 0.013 s] Ensure EUnit runs specific test in a _tests suite Only selected suite tests are found and run rebar_eunit_tests:168: eunit_with_suites_and_tests_test_...ok rebar_eunit_tests:170: eunit_with_suites_and_tests_test_...ok [done in 0.006 s] rebar_eunit_tests:175: eunit_with_suites_and_tests_test_ (Selected suite tests is run once)...ok [done in 0.009 s] Ensure EUnit runs a specific test without a specified suite Only selected suite tests are found and run rebar_eunit_tests:186: eunit_with_suites_and_tests_test_...ok rebar_eunit_tests:188: eunit_with_suites_and_tests_test_...ok [done in 0.006 s] rebar_eunit_tests:193: eunit_with_suites_and_tests_test_ (Selected suite tests is run once)...ok [done in 0.010 s] Ensure EUnit runs a specific test by qualified function name rebar_eunit_tests:204: eunit_with_suites_and_tests_test_ (Selected test is run)...ok rebar_eunit_tests:209: eunit_with_suites_and_tests_test_ (Only selected test is run)...ok [done in 0.006 s] Ensure EUnit runs a specific test by qualified function name and tests from other module rebar_eunit_tests:223: eunit_with_suites_and_tests_test_ (Selected test is run)...ok rebar_eunit_tests:227: eunit_with_suites_and_tests_test_ (Tests from module are run)...ok rebar_eunit_tests:231: eunit_with_suites_and_tests_test_ (Only selected tests are run)...ok [done in 0.009 s] Ensure EUnit runs a test with eunit_first_files rebar_eunit_tests:245: eunit_with_suites_and_tests_test_ (Don't pass tests without erl_first_file)...ok [done in 0.003 s] Ensure Cover runs with tests in a test dir and no defined suite rebar_eunit_tests:257: cover_test_ (Error messages are not present)...ok All cover reports are generated rebar_eunit_tests:554: assert_files_in (the temporary eunit directory has file: .eunit/index.html)...ok rebar_eunit_tests:554: assert_files_in (the temporary eunit directory has file: .eunit/myapp_app.COVER.html)...ok rebar_eunit_tests:554: assert_files_in (the temporary eunit directory has file: .eunit/myapp_mymod.COVER.html)...ok rebar_eunit_tests:554: assert_files_in (the temporary eunit directory has file: .eunit/myapp_sup.COVER.html)...ok [done in 0.012 s] Only production modules get coverage reports rebar_eunit_tests:560: assert_files_not_in (the temporary eunit directory does not have file: .eunit/myapp_mymod_tests.COVER.html)...ok [done in 0.003 s] [done in 0.018 s] Ensure Cover runs with Tests in a test dir and a test suite rebar_eunit_tests:279: cover_with_suite_test_ (Error messages are not present)...ok Cover reports are generated for module rebar_eunit_tests:554: assert_files_in (the temporary eunit directory has file: .eunit/index.html)...ok rebar_eunit_tests:554: assert_files_in (the temporary eunit directory has file: .eunit/mysuite.COVER.html)...ok [done in 0.006 s] Only production modules get coverage reports rebar_eunit_tests:560: assert_files_not_in (the temporary eunit directory does not have file: .eunit/myapp_app.COVER.html)...ok rebar_eunit_tests:560: assert_files_not_in (the temporary eunit directory does not have file: .eunit/myapp_mymod.COVER.html)...ok rebar_eunit_tests:560: assert_files_not_in (the temporary eunit directory does not have file: .eunit/myapp_sup.COVER.html)...ok rebar_eunit_tests:560: assert_files_not_in (the temporary eunit directory does not have file: .eunit/myapp_mymod_tests.COVER.html)...ok [done in 0.012 s] [done in 0.021 s] Coverage is accurately calculated rebar_eunit_tests: assert_full_coverage (Modules that include the EUnit header can still have 100% coverage)...*failed* in function rebar_eunit_tests:'-assert_full_coverage/1-fun-2-'/1 (test/rebar_eunit_tests.erl, line 569) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assert,[{module,rebar_eunit_tests}, {line,569}, {expression,"length ( Result ) =:= 1"}, {expected,true}, {value,false}]} output:<<"">> [done in 0.003 s] Sanity check the testing environment rebar_eunit_tests:320: environment_test_ (Ensure a test project can be created)...ok Ensure the rebar script can be found, copied, and run rebar_eunit_tests:323: environment_test_...ok rebar_eunit_tests: fun.assert_rebar_runs...[0.152 s] ok [done in 0.158 s] [done in 0.162 s] Create a simple project with a 'test' directory, a test, and a module rebar_eunit_tests:549: assert_dirs_in (Basic Project has directory: src)...[0.001 s] ok rebar_eunit_tests:549: assert_dirs_in (Basic Project has directory: ebin)...ok rebar_eunit_tests:549: assert_dirs_in (Basic Project has directory: test)...ok rebar_eunit_tests:554: assert_files_in (Basic Project has file: test/myapp_mymod_tests.erl)...ok rebar_eunit_tests:554: assert_files_in (Basic Project has file: src/myapp_mymod.erl)...ok [done in 0.016 s] Ensuring that fast code path cleanup is correct for adds rebar_eunit_tests: code_path_test_...ok [done in 0.003 s] Ensuring that fast code path cleanup is correct for removes rebar_eunit_tests: code_path_test_...[0.003 s] ok [done in 0.006 s] Ensuring that fast code path cleanup is equivalent for adds rebar_eunit_tests: code_path_test_...[0.004 s] ok [done in 0.007 s] [done in 8.964 s] [done in 8.964 s] module 'rebar_ct' module 'rebar_otp_app' module 'rebar_edoc' module 'rebar' rebar_otp_release_tests: check_otp_release_test (module 'rebar_otp_release_tests')...ok module 'rebar_dia_tests' Test the dia compiler rebar_dia_tests:21: dia_test_ (Check ebin is created)...ok rebar_dia_tests:24: dia_test_ (Check include is created)...ok rebar_dia_tests:27: dia_test_ (Check dia/a.dia is compiled)...ok rebar_dia_tests:30: dia_test_ (Check dia/b.dia is compiled)...ok [done in 0.012 s] [done in 0.904 s] module 'rebar_compiler_tests' Ensure compiler keeps going after finding errors, when --keep-going is requested rebar_compiler_tests:58: keep_going_test_ (Continue after error)...ok rebar_compiler_tests:59: keep_going_test_...ok rebar_compiler_tests:184: assert_files_in (ebin has file: ebin/myapp_mymod2.beam)...ok [done in 0.009 s] Ensure compiler keeps going after finding errors in erl_first_files, when --keep-going is requested rebar_compiler_tests:76: keep_going_firstfiles_test_ (Continue after error)...ok rebar_compiler_tests:77: keep_going_firstfiles_test_...ok rebar_compiler_tests:184: assert_files_in (ebin has file: ebin/myapp_mymod2.beam)...ok [done in 0.009 s] Ensure compiler stops after finding errors rebar_compiler_tests: not_keep_going_test_...[0.220 s] ok [done in 0.223 s] [done in 1.636 s] ======================================================= Failed: 9. Skipped: 0. Passed: 140. DEBUG: Reconstruct rebar [{log_level,warn}, {log_colored,uncolored}, {any_dir_modules, [rebar_require_vsn,rebar_deps,rebar_subdirs, rebar_templater,rebar_cleaner]}, {modules, [{app_dir, [rebar_proto_compiler, rebar_protobuffs_compiler, rebar_neotoma_compiler, rebar_asn1_compiler,rebar_dia_compiler, rebar_dialyzer,rebar_erlc_compiler, rebar_lfe_compiler,rebar_erlydtl_compiler, rebar_port_compiler,rebar_otp_app, rebar_otp_appup,rebar_ct,rebar_eunit, rebar_qc,rebar_escripter,rebar_edoc, rebar_shell,rebar_xref,rebar_metacmds]}, {rel_dir, [rebar_appups,rebar_reltool, rebar_upgrade]}]}, {recursive_cmds, ['check-deps',compile,'delete-deps','get-deps', 'list-deps','update-deps']}] ERROR: One or more eunit tests failed. ERROR: eunit failed while processing /home/pterjan/rpmbuild/BUILD/rebar-2.6.4: rebar_abort error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FcfghZ (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FcfghZ (%check) I: [iurt_root_command] ERROR: chroot