Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/erlang-lager.spec'], chrootPath='/var/lib/mock/f35-build-26558301-3270486/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/erlang-lager.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1617408000 Wrote: /builddir/build/SRPMS/erlang-lager-3.9.1-1.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/erlang-lager.spec'], chrootPath='/var/lib/mock/f35-build-26558301-3270486/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/erlang-lager.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1617408000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49vYCL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lager-3.9.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/lager-3.9.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lager-3.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/erlang-lager-0001-Disable-failing-test.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/erlang-lager-0002-Disable-async-test-fails-in-our-buildsystem.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IliDgy + umask 022 + cd /builddir/build/BUILD + cd lager-3.9.1 *.app file (or *.app.src template) was found. + '[' '!' -f src/lager.app.src -a '!' -f src/lager.app -a '!' -f ebin/lager.app ']' + echo '*.app file (or *.app.src template) was found.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + VSN=3.9.1 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/lager-3.9.1/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/BUILD/lager-3.9.1"}, "3.9.1"}.' + 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 "/builddir/build/BUILD/lager-3.9.1/rebar.config.script" DEBUG: Consult config file "/builddir/build/BUILD/lager-3.9.1/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/builddir/build/BUILD/lager-3.9.1/src/lager.app.src" DEBUG: is_app_available, looking for App goldrush with Path "/builddir/build/BUILD/lager-3.9.1/deps/goldrush" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/lager-3.9.1/deps/goldrush DEBUG: is_app_available, looking for App goldrush with Path "/usr/share/erlang/lib/goldrush-0.2.0" INFO: Looking for goldrush-.* ; found goldrush-0.2.0 at /usr/share/erlang/lib/goldrush-0.2.0 DEBUG: Available deps: [{dep,"/usr/share/erlang/lib/goldrush-0.2.0",goldrush, ".*", {git,"https://github.com/DeadZen/goldrush.git", {tag,"0.1.9"}}, false}] DEBUG: Missing deps : [] DEBUG: is_app_available, looking for App goldrush with Path "/usr/share/erlang/lib/goldrush-0.2.0" INFO: Looking for goldrush-.* ; found goldrush-0.2.0 at /usr/share/erlang/lib/goldrush-0.2.0 DEBUG: Adding /usr/share/erlang/lib/goldrush-0.2.0/ebin to code path DEBUG: Adding skip dir: /usr/share/erlang/lib/goldrush-0.2.0 DEBUG: Associate sub_dir /usr/share/erlang/lib/goldrush-0.2.0 with /builddir/build/BUILD/lager-3.9.1 DEBUG: Plugins requested while processing /builddir/build/BUILD/lager-3.9.1: [] DEBUG: Predirs: ["/usr/share/erlang/lib/goldrush-0.2.0"] DEBUG: Consult config file "/usr/share/erlang/lib/goldrush-0.2.0/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/share/erlang/lib/goldrush-0.2.0: [] DEBUG: Predirs: [] INFO: Skipping compile in /usr/share/erlang/lib/goldrush-0.2.0 DEBUG: Postdirs: [] ==> lager-3.9.1 (compile) DEBUG: Matched required ERTS version: 11.2 -> .* DEBUG: Matched required OTP release: 23 -> .* DEBUG: Min OTP version unconfigured DEBUG: is_app_available, looking for App goldrush with Path "/builddir/build/BUILD/lager-3.9.1/deps/goldrush" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/lager-3.9.1/deps/goldrush DEBUG: is_app_available, looking for App goldrush with Path "/usr/share/erlang/lib/goldrush-0.2.0" INFO: Looking for goldrush-.* ; found goldrush-0.2.0 at /usr/share/erlang/lib/goldrush-0.2.0 DEBUG: erl_opts [debug_info, {d,'HAVE_PERSISTENT_TERM'}, {lager_extra_sinks,['__lager_test_sink']}, debug_info,report,verbose,warn_deprecated_function, warn_deprecated_type,warn_export_all,warn_export_vars, warn_obsolete_guard,warn_untyped_record,warn_unused_import] DEBUG: Files to compile first: ["src/lager_util.erl", "src/lager_rotator_behaviour.erl", "src/lager_transform.erl"] Compiled src/lager_util.erl Compiled src/lager_rotator_behaviour.erl Compiled src/lager_transform.erl DEBUG: Starting 3 compile worker(s) Compiled src/lager_sup.erl Compiled src/lager_common_test_backend.erl Compiled src/lager_msg.erl Compiled src/lager_handler_watcher.erl Compiled src/lager_config.erl Compiled src/lager_default_formatter.erl Compiled src/lager_backend_throttle.erl Compiled src/lager_format.erl Compiled src/lager_manager_killer.erl Compiled src/lager_handler_watcher_sup.erl Compiled src/lager_stdlib.erl Compiled src/lager_app.erl Compiled src/lager_trunc_io.erl Compiled src/lager_console_backend.erl Compiled src/lager_crash_log.erl Compiled src/lager_file_backend.erl Compiled src/lager_rotator_default.erl DEBUG: Worker exited cleanly Compiled src/lager.erl DEBUG: Worker exited cleanly Compiled src/error_logger_lager_h.erl DEBUG: Worker exited cleanly INFO: No app_vars_file defined. DEBUG: Postdirs: [] No 'doc/overview.edoc' file was found, so docs aren't generated. + '[' -f doc/overview.edoc ']' + echo 'No '\''doc/overview.edoc'\'' file was found, so docs aren'\''t generated.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bBOiH7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch ++ dirname /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch + cd lager-3.9.1 + '[' lager '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/erlang/lib/lager-3.9.1/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/erlang/lib/lager-3.9.1/ebin/ + '[' -f ebin/lager.app ']' + /usr/bin/install -m 0644 -p ebin/lager.app /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/erlang/lib/lager-3.9.1/ebin/ + /usr/bin/install -m 0644 -p ebin/error_logger_lager_h.beam ebin/lager.beam ebin/lager_app.beam ebin/lager_backend_throttle.beam ebin/lager_common_test_backend.beam ebin/lager_config.beam ebin/lager_console_backend.beam ebin/lager_crash_log.beam ebin/lager_default_formatter.beam ebin/lager_file_backend.beam ebin/lager_format.beam ebin/lager_handler_watcher.beam ebin/lager_handler_watcher_sup.beam ebin/lager_manager_killer.beam ebin/lager_msg.beam ebin/lager_rotator_behaviour.beam ebin/lager_rotator_default.beam ebin/lager_stdlib.beam ebin/lager_sup.beam ebin/lager_transform.beam ebin/lager_trunc_io.beam ebin/lager_util.beam /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/erlang/lib/lager-3.9.1/ebin/ + '[' -d include/ ']' ++ ls include/lager.hrl + for erlincludefile in `ls include/*.hrl` + /usr/bin/install -D -m 0644 -p include/lager.hrl /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/erlang/lib/lager-3.9.1/include/lager.hrl + '[' -d priv/ ']' ++ ls 'priv/*.so' ls: cannot access 'priv/*.so': No such file or directory + /usr/lib/rpm/find-debuginfo.sh -j3 --strict-build-id -m -i --build-id-seed 3.9.1-1.fc35 --unique-debug-suffix -3.9.1-1.fc35.noarch --unique-debug-src-base erlang-lager-3.9.1-1.fc35.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lager-3.9.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZDvNcc + umask 022 + cd /builddir/build/BUILD + cd lager-3.9.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + VSN=3.9.1 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/lager-3.9.1/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 "/builddir/build/BUILD/lager-3.9.1/rebar.config.script" DEBUG: Consult config file "/builddir/build/BUILD/lager-3.9.1/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/builddir/build/BUILD/lager-3.9.1/src/lager.app.src" DEBUG: is_app_available, looking for App goldrush with Path "/builddir/build/BUILD/lager-3.9.1/deps/goldrush" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/lager-3.9.1/deps/goldrush DEBUG: is_app_available, looking for App goldrush with Path "/usr/share/erlang/lib/goldrush-0.2.0" INFO: Looking for goldrush-.* ; found goldrush-0.2.0 at /usr/share/erlang/lib/goldrush-0.2.0 DEBUG: Available deps: [{dep,"/usr/share/erlang/lib/goldrush-0.2.0",goldrush, ".*", {git,"https://github.com/DeadZen/goldrush.git", {tag,"0.1.9"}}, false}] DEBUG: Missing deps : [] DEBUG: is_app_available, looking for App goldrush with Path "/usr/share/erlang/lib/goldrush-0.2.0" INFO: Looking for goldrush-.* ; found goldrush-0.2.0 at /usr/share/erlang/lib/goldrush-0.2.0 DEBUG: Adding /usr/share/erlang/lib/goldrush-0.2.0/ebin to code path DEBUG: Adding skip dir: /usr/share/erlang/lib/goldrush-0.2.0 DEBUG: Associate sub_dir /usr/share/erlang/lib/goldrush-0.2.0 with /builddir/build/BUILD/lager-3.9.1 DEBUG: Plugins requested while processing /builddir/build/BUILD/lager-3.9.1: [] DEBUG: Predirs: ["/usr/share/erlang/lib/goldrush-0.2.0"] DEBUG: Consult config file "/usr/share/erlang/lib/goldrush-0.2.0/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/share/erlang/lib/goldrush-0.2.0: [] DEBUG: Predirs: [] DEBUG: Postdirs: [] ==> lager-3.9.1 (eunit) DEBUG: Matched required ERTS version: 11.2 -> .* DEBUG: Matched required OTP release: 23 -> .* DEBUG: Min OTP version unconfigured DEBUG: Triq availability: true DEBUG: PropEr availability: false DEBUG: QuickCheck availability: false INFO: sh info: cwd: "/builddir/build/BUILD/lager-3.9.1" cmd: cp -R src/lager_common_test_backend.erl src/lager_default_formatter.erl src/lager_sup.erl src/lager_handler_watcher.erl src/lager_msg.erl src/lager_format.erl src/lager_config.erl src/lager_backend_throttle.erl src/lager_trunc_io.erl src/lager_rotator_behaviour.erl src/lager_stdlib.erl src/lager_manager_killer.erl src/lager_handler_watcher_sup.erl src/lager_app.erl src/error_logger_lager_h.erl src/lager_console_backend.erl src/lager_file_backend.erl src/lager_crash_log.erl src/lager.erl src/lager_transform.erl src/lager_rotator_default.erl src/lager_util.erl test/lager_slow_backend.erl test/lager_manager_killer_test.erl test/lager_trace_test.erl test/lager_crash_backend.erl test/lager_rotate.erl test/sync_error_logger.erl test/crash.erl test/trunc_io_eqc.erl test/lager_test_backend.erl test/lager_metadata_whitelist_test.erl test/lager_app_tests.erl test/special_process.erl test/pr_composite_test.erl test/crash_fsm.erl test/compress_pr_record_test.erl test/crash_statem.erl test/lager_test_function_transform.erl test/pr_stacktrace_test.erl test/zzzz_gh280_crash.erl ".eunit" DEBUG: opts: [{use_stdout,false},abort_on_error] DEBUG: Port Cmd: "cp -R src/lager_common_test_backend.erl src/lager_default_formatter.erl src/lager_sup.erl src/lager_handler_watcher.erl src/lager_msg.erl src/lager_format.erl src/lager_config.erl src/lager_backend_throttle.erl src/lager_trunc_io.erl src/lager_rotator_behaviour.erl src/lager_stdlib.erl src/lager_manager_killer.erl src/lager_handler_watcher_sup.erl src/lager_app.erl src/error_logger_lager_h.erl src/lager_console_backend.erl src/lager_file_backend.erl src/lager_crash_log.erl src/lager.erl src/lager_transform.erl src/lager_rotator_default.erl src/lager_util.erl test/lager_slow_backend.erl test/lager_manager_killer_test.erl test/lager_trace_test.erl test/lager_crash_backend.erl test/lager_rotate.erl test/sync_error_logger.erl test/crash.erl test/trunc_io_eqc.erl test/lager_test_backend.erl test/lager_metadata_whitelist_test.erl test/lager_app_tests.erl test/special_process.erl test/pr_composite_test.erl test/crash_fsm.erl test/compress_pr_record_test.erl test/crash_statem.erl test/lager_test_function_transform.erl test/pr_stacktrace_test.erl test/zzzz_gh280_crash.erl \".eunit\"" Port Opts: [exit_status,{line,16384},use_stdio,stderr_to_stdout,hide] DEBUG: erl_opts [{d,'TEST'}, debug_info, {d,'HAVE_PERSISTENT_TERM'}, {lager_extra_sinks,['__lager_test_sink']}, debug_info,report,verbose,warn_deprecated_function, warn_deprecated_type,warn_export_all,warn_export_vars, warn_obsolete_guard,warn_untyped_record,warn_unused_import, export_all,nowarn_untyped_record,nowarn_export_all, {d,'TRIQ'}] DEBUG: Files to compile first: ["src/lager_util.erl", "src/lager_rotator_behaviour.erl", "src/lager_transform.erl"] Compiled src/lager_util.erl Compiled src/lager_rotator_behaviour.erl Compiled src/lager_transform.erl DEBUG: Starting 3 compile worker(s) Compiled src/lager_sup.erl Compiled src/lager_common_test_backend.erl Compiled src/lager_msg.erl Compiled src/lager_handler_watcher.erl Compiled src/lager_config.erl Compiled src/lager_backend_throttle.erl Compiled src/lager_default_formatter.erl Compiled src/lager_format.erl Compiled src/lager_manager_killer.erl Compiled src/lager_handler_watcher_sup.erl Compiled src/lager_stdlib.erl Compiled src/lager_app.erl Compiled src/lager_console_backend.erl Compiled src/error_logger_lager_h.erl Compiled src/lager_trunc_io.erl Compiled src/lager_crash_log.erl Compiled src/lager.erl Compiled src/lager_rotator_default.erl Compiled test/lager_slow_backend.erl Compiled test/lager_trace_test.erl Compiled test/lager_crash_backend.erl Compiled test/lager_manager_killer_test.erl Compiled test/sync_error_logger.erl test/crash.erl:27: Warning: invalid function call test/crash.erl:66: Warning: this expression will fail with a 'badarg' exception test/crash.erl:27: Warning: invalid function call test/crash.erl:66: Warning: this expression will fail with a 'badarg' exception Compiled test/crash.erl Compiled test/trunc_io_eqc.erl Compiled test/lager_rotate.erl Compiled test/lager_metadata_whitelist_test.erl Compiled test/lager_app_tests.erl Compiled test/special_process.erl Compiled test/pr_composite_test.erl Compiled test/crash_fsm.erl Compiled test/compress_pr_record_test.erl Compiled test/crash_statem.erl Compiled test/lager_test_function_transform.erl test/pr_stacktrace_test.erl:14: Warning: this expression will fail with a 'badarg' exception test/pr_stacktrace_test.erl:14: Warning: this expression will fail with a 'badarg' exception Compiled test/pr_stacktrace_test.erl Compiled test/zzzz_gh280_crash.erl DEBUG: Worker exited cleanly Compiled src/lager_file_backend.erl DEBUG: Worker exited cleanly Compiled test/lager_test_backend.erl DEBUG: Worker exited cleanly INFO: Cover compiling /builddir/build/BUILD/lager-3.9.1 ======================== EUnit ======================== module 'pr_stacktrace_test' pr_stacktrace_test: pr_stacktrace_throw_test...ok pr_stacktrace_test: pr_stacktrace_bad_arg_test...ok pr_stacktrace_test: pr_stacktrace_bad_arity_test...ok pr_stacktrace_test: pr_stacktrace_no_reverse_test...ok [done in 0.012 s] module 'lager_rotator_default' lager_rotator_default: rotate_file_test...[0.021 s] ok lager_rotator_default: rotate_file_zero_count_test...ok lager_rotator_default: rotate_file_fail_test...[0.010 s] ok [done in 0.040 s] module 'crash_statem' module 'lager_stdlib' module 'lager_config' module 'sync_error_logger' module 'lager_console_backend' lager_console_backend:242: console_config_validation_test_...ok lager_console_backend:243: console_config_validation_test_...ok lager_console_backend:244: console_config_validation_test_...ok lager_console_backend:245: console_config_validation_test_...ok lager_console_backend: console_log_test_ (regular console logging)...ok lager_console_backend: console_log_test_ (verbose console logging)...[0.001 s] ok lager_console_backend: console_log_test_ (custom format console logging)...[0.001 s] ok lager_console_backend: console_log_test_ (tracing should work)...[0.524 s] ok lager_console_backend: console_log_test_ (tracing doesn't duplicate messages)...[1.026 s] ok lager_console_backend: console_log_test_ (blacklisting a loglevel works)...[0.503 s] ok lager_console_backend: console_log_test_ (whitelisting a loglevel works)...[0.502 s] ok lager_console_backend: console_log_test_ (console backend with custom group leader)...[0.604 s] ok lager_console_backend: console_log_test_ (console backend with custom group leader using a trace and an ID)...[1.128 s] ok lager_console_backend: set_loglevel_test_ (Get/set loglevel test)...[0.001 s] ok lager_console_backend: set_loglevel_test_ (Get/set invalid loglevel test)...ok [done in 4.632 s] module 'lager_app' lager_app:326: application_config_mangling_test_ (Explode the file backend handlers)...ok lager_app:339: application_config_mangling_test_ (Explode the short form of backend file handlers)...ok lager_app:352: application_config_mangling_test_ (Explode with formatter info)...ok lager_app:363: application_config_mangling_test_ (Explode short form with short formatter info)...ok lager_app:374: application_config_mangling_test_ (New form needs no expansion)...ok lager_app:408: check_handler_config_test_ (lager_file_backend_good)...ok lager_app:411: check_handler_config_test_ (lager_file_backend_bad)...=ERROR REPORT==== 3-Apr-2021::17:58:48.717556 === Cannot have same file ("same_file.log") in multiple file backends ok lager_app:414: check_handler_config_test_ (Invalid config dies)...ok lager_app:417: check_handler_config_test_ (Invalid config dies)...[0.001 s] ok lager_app:420: check_handler_config_test_ (Old Lager config works)...ok lager_app:423: check_handler_config_test_ (New Config missing its list should fail)...ok lager_app_tests: get_env_test (module 'lager_app_tests')...ok [done in 0.038 s] module 'lager_rotate' lager_rotate: rotate_test_ (Rotate single file)...[0.010 s] ok lager_rotate: rotate_test_ (Rotate sink)...[0.010 s] ok lager_rotate: rotate_test_ (Rotate all)...[0.009 s] ok [done in 3.127 s] module 'pr_composite_test' pr_composite_test: nested_record_test...ok pr_composite_test: list_field_test...ok pr_composite_test: list_of_records_test...ok pr_composite_test: improper_list_test...ok [done in 0.012 s] module 'lager_test_function_transform' lager_test_function_transform: not_running_test...ok lager_test_function_transform: transform_function_test_ (observe that there is nothing up my sleeve)...ok lager_test_function_transform: transform_function_test_ (logging works)...ok lager_test_function_transform: transform_function_test_ (Testing calling a function returns the same content on emit)...ok lager_test_function_transform: transform_function_test_ (Testing calling a function which returns content which can change on emit)...ok lager_test_function_transform: transform_function_test_ (Testing a undefined function returns undefined on emit)...ok lager_test_function_transform: transform_function_test_ (Testing calling a function returns the same content on log)...ok lager_test_function_transform: transform_function_test_ (Testing calling a dynamic function on log which returns the same value)...ok lager_test_function_transform: transform_function_test_ (Testing differences in results for on_log vs on emit from dynamic function)...ok lager_test_function_transform: transform_function_test_ (Testing a function provided via metadata)...ok [done in 2.528 s] module 'lager_crash_backend' module 'crash' module 'lager_sup' module 'lager_test_backend' lager_test_backend: not_running_test...ok lager_test_backend: lager_test_ (observe that there is nothing up my sleeve)...ok lager_test_backend: lager_test_ (test sink not running)...ok lager_test_backend: lager_test_ (logging works)...ok lager_test_backend: lager_test_ (logging with macro works)...ok lager_test_backend: lager_test_ (unsafe logging works)...ok lager_test_backend: lager_test_ (logging with arguments works)...ok lager_test_backend: lager_test_ (logging with macro and arguments works)...ok lager_test_backend: lager_test_ (unsafe logging with args works)...ok lager_test_backend: lager_test_ (logging works from inside a begin/end block)...ok lager_test_backend: lager_test_ (logging works from inside a list comprehension)...ok lager_test_backend: lager_test_ (logging works from a begin/end block inside a list comprehension)...ok lager_test_backend: lager_test_ (logging works from a nested list comprehension)...[0.001 s] ok lager_test_backend: lager_test_ (logging with only metadata works)...ok lager_test_backend: lager_test_ (variables inplace of literals in logging statements work)...ok lager_test_backend: lager_test_ (list comprehension inplace of literals in logging statements work)...ok lager_test_backend: lager_test_ (function calls inplace of literals in logging statements work)...ok lager_test_backend: lager_test_ (record fields inplace of literals in logging statements work)...ok lager_test_backend: lager_test_ (log messages below the threshold are ignored)...ok lager_test_backend: lager_test_ (tracing works)...[0.023 s] ok lager_test_backend: lager_test_ (tracing works with custom attributes)...[0.073 s] ok lager_test_backend: lager_test_ (tracing works with custom attributes and event stream processing)...[0.371 s] ok lager_test_backend: lager_test_ (tracing custom attributes works with event stream processing statistics and reductions)...[0.204 s] ok lager_test_backend: lager_test_ (persistent traces work)...[0.052 s] ok lager_test_backend: lager_test_ (tracing honors loglevel)...[0.044 s] ok lager_test_backend: lager_test_ (stopped trace stops and removes its event handler - default sink (gh#267))...[0.091 s] ok lager_test_backend: lager_test_ (record printing works)...[0.101 s] ok lager_test_backend: lager_test_ (record printing fails gracefully)...[0.101 s] ok lager_test_backend: lager_test_ (record printing fails gracefully when no lager_record attribute)...[0.101 s] ok lager_test_backend: lager_test_ (record printing fails gracefully when input is not a tuple)...[0.101 s] ok lager_test_backend: lager_test_ (record printing fails gracefully when module is invalid)...[1.001 s] ok lager_test_backend: lager_test_ (installing a new handler adjusts the global loglevel if necessary)...ok lager_test_backend: lager_test_ (metadata in the process dictionary works)...ok lager_test_backend: lager_test_ (unsafe messages really are not truncated)...[0.001 s] ok lager_test_backend: lager_test_ (can't store invalid metadata)...ok lager_test_backend: lager_test_ (dates should be local by default)...ok lager_test_backend: lager_test_ (dates should be UTC if SASL is configured as UTC)...ok lager_test_backend: extra_sinks_test_ (observe that there is nothing up my sleeve)...ok lager_test_backend: extra_sinks_test_ (logging works)...ok lager_test_backend: extra_sinks_test_ (logging with arguments works)...ok lager_test_backend: extra_sinks_test_ (variables inplace of literals in logging statements work)...ok lager_test_backend: extra_sinks_test_ (stopped trace stops and removes its event handler - test sink (gh#267))...[0.088 s] ok lager_test_backend: extra_sinks_test_ (log messages below the threshold are ignored)...[0.001 s] ok Error logger redirect crash Redirect to default sink lager_test_backend: error_logger_redirect_crash_test_ (again, there is nothing up my sleeve)...ok lager_test_backend: error_logger_redirect_crash_test_ (bad return value)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad return value with string)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad return uncaught throw)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (case clause)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (case clause string)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (function clause)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (if clause)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (try clause)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (undefined function)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad math)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad match)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad arity)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad arg1)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad arg2)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad record)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (noproc)...test/lager_test_backend.erl:949:<0.3231.0>: Trailing data " in gen_event:call1/3" following "gen_server crash terminated with reason: no such process or port in call to gen_event:call(foo, bar, baz)" [0.102 s] ok lager_test_backend: error_logger_redirect_crash_test_ (noproc_proc_lib)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (badfun)...[0.101 s] ok [done in 2.348 s] Redirect to error_logger_lager_event sink lager_test_backend: error_logger_redirect_crash_test_ (again, there is nothing up my sleeve)...ok lager_test_backend: error_logger_redirect_crash_test_ (bad return value)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad return value with string)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad return uncaught throw)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (case clause)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (case clause string)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (function clause)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (if clause)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (try clause)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (undefined function)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad math)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad match)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad arity)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad arg1)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad arg2)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (bad record)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (noproc)...test/lager_test_backend.erl:949:<0.4012.0>: Trailing data " in gen_event:call1/3" following "gen_server crash terminated with reason: no such process or port in call to gen_event:call(foo, bar, baz)" [0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (noproc_proc_lib)...[0.101 s] ok lager_test_backend: error_logger_redirect_crash_test_ (badfun)...[0.101 s] ok [done in 2.405 s] [done in 4.753 s] Error logger redirect Redirect to default sink lager_test_backend: error_logger_redirect_test_ (error reports are printed)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (string error reports are printed)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (error messages are printed)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (error messages with unicode characters in Args are printed)...[0.004 s] ok lager_test_backend: error_logger_redirect_test_ (error messages are truncated at 4096 characters)...[0.026 s] ok lager_test_backend: error_logger_redirect_test_ (info reports are printed)...ok lager_test_backend: error_logger_redirect_test_ (info reports are truncated at 4096 characters)...[0.005 s] ok lager_test_backend: error_logger_redirect_test_ (single term info reports are printed)...ok lager_test_backend: error_logger_redirect_test_ (single term error reports are printed)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (string info reports are printed)...ok lager_test_backend: error_logger_redirect_test_ (string info reports are truncated at 4096 characters)...[0.011 s] ok lager_test_backend: error_logger_redirect_test_ (strings in a mixed report are printed as strings)...ok lager_test_backend: error_logger_redirect_test_ (info messages are printed)...ok lager_test_backend: error_logger_redirect_test_ (info messages are truncated at 4096 characters)...[0.004 s] ok lager_test_backend: error_logger_redirect_test_ (info messages with unicode characters in Args are printed)...ok lager_test_backend: error_logger_redirect_test_ (warning messages with unicode characters in Args are printed)...ok lager_test_backend: error_logger_redirect_test_ (warning messages are printed at the correct level)...ok lager_test_backend: error_logger_redirect_test_ (warning reports are printed at the correct level)...ok lager_test_backend: error_logger_redirect_test_ (single term warning reports are printed at the correct level)...ok lager_test_backend: error_logger_redirect_test_ (application stop reports)...ok lager_test_backend: error_logger_redirect_test_ (supervisor reports)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (supervisor reports with real error)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (supervisor reports with real error and pid)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (supervisor_bridge reports)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (application progress report)...ok lager_test_backend: error_logger_redirect_test_ (supervisor progress report)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (supervisor progress report with pid)...ok lager_test_backend: error_logger_redirect_test_ (crash report for emfile)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for system process limit)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for system process limit2)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for system port limit)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for system port limit)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for system ets table limit)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for unknown system limit should be truncated at 500 characters)...[0.025 s] ok lager_test_backend: error_logger_redirect_test_ (crash reports for 'special processes' should be handled right - function_clause)...[0.501 s] ok lager_test_backend: error_logger_redirect_test_ (crash reports for 'special processes' should be handled right - case_clause)...[0.501 s] ok lager_test_backend: error_logger_redirect_test_ (crash reports for 'special processes' should be handled right - exit)...[0.501 s] ok lager_test_backend: error_logger_redirect_test_ (crash reports for 'special processes' should be handled right - error)...[0.501 s] ok lager_test_backend: error_logger_redirect_test_ (webmachine error reports)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (Cowboy error reports, 8 arg version)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (Cowboy error reports, 10 arg version)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (Cowboy error reports, 5 arg version)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (Cowboy error reports, 6 arg version)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (messages should not be generated if they don't satisfy the threshold)...[0.003 s] ok [done in 47.419 s] Redirect to error_logger_lager_event sink lager_test_backend: error_logger_redirect_test_ (error reports are printed)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (string error reports are printed)...ok lager_test_backend: error_logger_redirect_test_ (error messages are printed)...ok lager_test_backend: error_logger_redirect_test_ (error messages with unicode characters in Args are printed)...[0.005 s] ok lager_test_backend: error_logger_redirect_test_ (error messages are truncated at 4096 characters)...[0.024 s] ok lager_test_backend: error_logger_redirect_test_ (info reports are printed)...ok lager_test_backend: error_logger_redirect_test_ (info reports are truncated at 4096 characters)...[0.005 s] ok lager_test_backend: error_logger_redirect_test_ (single term info reports are printed)...ok lager_test_backend: error_logger_redirect_test_ (single term error reports are printed)...ok lager_test_backend: error_logger_redirect_test_ (string info reports are printed)...ok lager_test_backend: error_logger_redirect_test_ (string info reports are truncated at 4096 characters)...[0.011 s] ok lager_test_backend: error_logger_redirect_test_ (strings in a mixed report are printed as strings)...ok lager_test_backend: error_logger_redirect_test_ (info messages are printed)...ok lager_test_backend: error_logger_redirect_test_ (info messages are truncated at 4096 characters)...[0.005 s] ok lager_test_backend: error_logger_redirect_test_ (info messages with unicode characters in Args are printed)...ok lager_test_backend: error_logger_redirect_test_ (warning messages with unicode characters in Args are printed)...ok lager_test_backend: error_logger_redirect_test_ (warning messages are printed at the correct level)...ok lager_test_backend: error_logger_redirect_test_ (warning reports are printed at the correct level)...ok lager_test_backend: error_logger_redirect_test_ (single term warning reports are printed at the correct level)...ok lager_test_backend: error_logger_redirect_test_ (application stop reports)...ok lager_test_backend: error_logger_redirect_test_ (supervisor reports)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (supervisor reports with real error)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (supervisor reports with real error and pid)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (supervisor_bridge reports)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (application progress report)...ok lager_test_backend: error_logger_redirect_test_ (supervisor progress report)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (supervisor progress report with pid)...[0.002 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for emfile)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for system process limit)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for system process limit2)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for system port limit)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for system port limit)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for system ets table limit)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (crash report for unknown system limit should be truncated at 500 characters)...[0.024 s] ok lager_test_backend: error_logger_redirect_test_ (crash reports for 'special processes' should be handled right - function_clause)...[0.501 s] ok lager_test_backend: error_logger_redirect_test_ (crash reports for 'special processes' should be handled right - case_clause)...[0.501 s] ok lager_test_backend: error_logger_redirect_test_ (crash reports for 'special processes' should be handled right - exit)...[0.501 s] ok lager_test_backend: error_logger_redirect_test_ (crash reports for 'special processes' should be handled right - error)...[0.501 s] ok lager_test_backend: error_logger_redirect_test_ (webmachine error reports)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (Cowboy error reports, 8 arg version)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (Cowboy error reports, 10 arg version)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (Cowboy error reports, 5 arg version)...ok lager_test_backend: error_logger_redirect_test_ (Cowboy error reports, 6 arg version)...[0.001 s] ok lager_test_backend: error_logger_redirect_test_ (messages should not be generated if they don't satisfy the threshold)...[0.003 s] ok [done in 47.580 s] [done in 94.999 s] lager_test_backend: safe_format_test...ok lager_test_backend: unsafe_format_test...ok lager_test_backend: high_watermark_test_ (Nothing dropped when error_logger high watermark is undefined)...[0.602 s] ok lager_test_backend: high_watermark_test_ (Mostly dropped according to error_logger high watermark)...[1.102 s] ok lager_test_backend: high_watermark_test_ (Non-notifications are not dropped)...[1.153 s] ok [done in 142.320 s] module 'trunc_io_eqc' module 'lager_common_test_backend' module 'lager_slow_backend' module 'lager_crash_log' lager_crash_log: filesystem_test_ (under normal circumstances, file should be opened)...[0.002 s] ok lager_crash_log: filesystem_test_ (file can't be opened on startup triggers an error message)...[0.003 s] ok lager_crash_log: filesystem_test_ (file that becomes unavailable at runtime should trigger an error message)...[0.003 s] ok lager_crash_log: filesystem_test_ (unavailable files that are fixed at runtime should start having log messages written)...[0.001 s] ok lager_crash_log: filesystem_test_ (external logfile rotation/deletion should be handled)...[0.006 s] ok [done in 5.176 s] module 'lager_handler_watcher_sup' module 'lager' lager: get_sink_handler_status_ascii_test...ok lager: get_sink_handler_status_latin_test...ok lager: get_sink_handler_status_unicode_test...ok [done in 0.009 s] module 'lager_file_backend' lager_file_backend: get_loglevel_test...ok lager_file_backend: rotation_test_ (External rotation should work)...[0.004 s] ok lager_file_backend: rotation_test_ (Internal rotation and delayed write)...[1.005 s] ok lager_file_backend: filesystem_test_ (under normal circumstances, file should be opened)...[0.002 s] ok lager_file_backend: filesystem_test_ (don't choke on unicode)...[0.002 s] ok lager_file_backend: filesystem_test_ (don't choke on latin-1)...[0.002 s] ok lager_file_backend: filesystem_test_ (file can't be opened on startup triggers an error message)...[0.002 s] ok lager_file_backend: filesystem_test_ (file that becomes unavailable at runtime should trigger an error message)...[0.002 s] ok lager_file_backend: filesystem_test_ (unavailable files that are fixed at runtime should start having log messages written)...[0.002 s] ok lager_file_backend: filesystem_test_ (external logfile rotation/deletion should be handled)...[0.005 s] ok lager_file_backend: filesystem_test_ (internal size rotation should work)...[0.003 s] ok lager_file_backend: filesystem_test_ (internal time rotation should work)...[0.005 s] ok lager_file_backend: filesystem_test_ (rotation call should work)...[0.006 s] ok lager_file_backend: filesystem_test_ (sync_on option should work)...[0.003 s] ok lager_file_backend: filesystem_test_ (sync_on none option should work (also tests sync_interval))...[2.003 s] ok lager_file_backend: filesystem_test_ (sync_size option should work)...[0.001 s] ok lager_file_backend: filesystem_test_ (runtime level changes)...[0.004 s] ok lager_file_backend: filesystem_test_ (invalid runtime level changes)...ok lager_file_backend: filesystem_test_ (tracing should work)...[1.003 s] ok lager_file_backend: filesystem_test_ (tracing should not duplicate messages)...[0.508 s] ok lager_file_backend: filesystem_test_ (tracing to a dedicated file should work)...[0.024 s] ok lager_file_backend: filesystem_test_ (tracing to a dedicated file should work even if root_log is set)...[0.025 s] ok lager_file_backend: filesystem_test_ (tracing with options should work)...[0.040 s] ok lager_file_backend: filesystem_test_ (no silent hwm drops)...[1.981 s] ok lager_file_backend: trace_files_test_ (a trace using file backend set up in configuration should work)...[1.010 s] ok lager_file_backend: formatting_test_ (Should have two log files, the second prefixed with 2>)...[0.005 s] ok lager_file_backend:1137: config_validation_test_ (missing file)...ok lager_file_backend:1141: config_validation_test_ (bad level)...ok lager_file_backend:1145: config_validation_test_ (bad size)...ok lager_file_backend:1149: config_validation_test_ (bad count)...ok lager_file_backend:1153: config_validation_test_ (bad high water mark)...ok lager_file_backend:1157: config_validation_test_ (bad date)...ok lager_file_backend:1161: config_validation_test_ (blank date is ok)...ok lager_file_backend:1165: config_validation_test_ (bad sync_interval)...ok lager_file_backend:1169: config_validation_test_ (bad sync_size)...ok lager_file_backend:1173: config_validation_test_ (bad check_interval)...ok lager_file_backend:1177: config_validation_test_ (bad sync_on level)...ok lager_file_backend:1181: config_validation_test_ (bad formatter module)...ok lager_file_backend:1185: config_validation_test_ (bad formatter config)...ok lager_file_backend:1189: config_validation_test_ (unknown option)...ok [done in 8.503 s] module 'lager_backend_throttle' module 'lager_rotator_behaviour' zzzz_gh280_crash: gh280_crash_test (module 'zzzz_gh280_crash')...ok module 'lager_transform' module 'lager_format' module 'crash_fsm' module 'lager_handler_watcher' lager_handler_watcher: reinstall_on_initial_failure_test_...[6.027 s] ok lager_handler_watcher: reinstall_on_runtime_failure_test_...[6.027 s] ok lager_handler_watcher: reinstall_handlers_after_killer_hwm_test_...[6.055 s] ok [done in 18.118 s] module 'lager_trace_test' lager_trace_test: trace_test_ (Trace combined with log_root)...[4.177 s] ok [done in 4.181 s] module 'lager_trunc_io' lager_trunc_io: format_test...ok lager_trunc_io: atom_quoting_test...ok lager_trunc_io: sane_float_printing_test...ok lager_trunc_io: float_inside_list_test...ok lager_trunc_io: quote_strip_test...ok lager_trunc_io: binary_printing_test...ok lager_trunc_io: bitstring_printing_test...ok lager_trunc_io: list_printing_test...ok lager_trunc_io: iolist_printing_test...ok lager_trunc_io: tuple_printing_test...ok lager_trunc_io: map_printing_test...ok lager_trunc_io: unicode_test...ok lager_trunc_io: depth_limit_test...[0.001 s] ok lager_trunc_io: print_terms_without_format_string_test...ok lager_trunc_io: improper_io_list_test...ok [done in 0.046 s] module 'error_logger_lager_h' error_logger_lager_h: no_silent_hwm_drops_test_...[2.204 s] ok error_logger_lager_h: shaper_does_not_forward_sup_progress_messages_to_info_level_backend_test_...[0.074 s] ok error_logger_lager_h: supressed_messages_are_not_counted_for_hwm_test_...[0.071 s] ok [done in 2.359 s] module 'lager_metadata_whitelist_test' lager_metadata_whitelist_test: basic_test_ (Meta)...ok lager_metadata_whitelist_test: basic_test_ (Meta1)...ok lager_metadata_whitelist_test: basic_test_ (Meta2)...ok lager_metadata_whitelist_test: basic_test_ (Meta3)...ok [done in 1.114 s] module 'special_process' module 'lager_default_formatter' lager_default_formatter:277: basic_test_ (Default formatting test)...ok lager_default_formatter:286: basic_test_ (Basic Formatting)...ok lager_default_formatter:295: basic_test_ (Default equivalent formatting test)...ok lager_default_formatter:305: basic_test_ (Non existent metadata can default to string)...ok lager_default_formatter:315: basic_test_ (Non existent metadata can default to other metadata)...ok lager_default_formatter:325: basic_test_ (Non existent metadata can default to a string2)...ok lager_default_formatter:335: basic_test_ (Metadata can have extra formatting)...ok lager_default_formatter:345: basic_test_ (Metadata can have extra formatting1)...ok lager_default_formatter:355: basic_test_ (Metadata can have extra formatting2)...ok lager_default_formatter:365: basic_test_ (Metadata can have extra formatting3)...ok lager_default_formatter:375: basic_test_ (Metadata can be printed in its enterity)...ok lager_default_formatter:385: basic_test_ (Metadata can be printed in its enterity with custom seperators)...ok lager_default_formatter:395: basic_test_ (Metadata can have extra formatting with width 1)...ok lager_default_formatter:409: basic_test_ (Metadata can have extra formatting with width 2)...ok lager_default_formatter:419: basic_test_ (Metadata can have extra formatting with width 3)...ok lager_default_formatter:429: basic_test_ (Metadata can have extra formatting with width 4)...ok lager_default_formatter:439: basic_test_ (Metadata can have extra formatting with width 5)...ok lager_default_formatter:449: basic_test_ (Metadata can have extra formatting with width 6)...ok lager_default_formatter:459: basic_test_ (Uppercase Severity Formatting - DEBUG)...ok lager_default_formatter:468: basic_test_ (Uppercase Severity Formatting - INFO)...ok lager_default_formatter:477: basic_test_ (Uppercase Severity Formatting - NOTICE)...ok lager_default_formatter:486: basic_test_ (Uppercase Severity Formatting - WARNING)...ok lager_default_formatter:495: basic_test_ (Uppercase Severity Formatting - ERROR)...ok lager_default_formatter:504: basic_test_ (Uppercase Severity Formatting - CRITICAL)...ok lager_default_formatter:513: basic_test_ (Uppercase Severity Formatting - ALERT)...ok lager_default_formatter:522: basic_test_ (Uppercase Severity Formatting - EMERGENCY)...ok lager_default_formatter:534: basic_test_ (pterm presence test)...ok lager_default_formatter:550: basic_test_ (pterm absence test)...ok lager_default_formatter:566: basic_test_ (node formatting basic)...ok [done in 0.087 s] compress_pr_record_test: nested_record_test (module 'compress_pr_record_test')...ok module 'lager_manager_killer_test' lager_manager_killer_test: overload_test_...=ERROR REPORT==== 3-Apr-2021::18:01:56.412587 === calling logger:remove_handler(default) failed: error {badmatch, {error, {not_found,default}}} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8660.0>,unlink,<0.8658.0>} =ERROR REPORT==== 3-Apr-2021::18:01:57.413683 === ** gen_event handler lager_manager_killer crashed. ** Was installed in lager_event ** Last event was: {log,{lager_msg,[], [{pid,<0.8664.0>}, {line,127}, {file,"src/lager_handler_watcher.erl"}, {module,lager_handler_watcher}], debug, {["2021",45,"04",45,"03"], ["18",58,"01",58,"56",46,"412"]}, {1617,472916,412794}, [76,97,103,101,114,32,105,110,115,116,97, 108,108,101,100,32,104,97,110,100,108,101, 114,32,"error_logger_lager_h",32,105,110, 116,111,32,"error_logger"]}} ** When handler state == {state,10,1000} ** Reason == {kill_me,[10,1000]} =ERROR REPORT==== 3-Apr-2021::18:01:57.414244 === Killing sink lager_event, current message_queue_len:11 test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8658.0>,getting_unlinked,<0.8660.0>} test/lager_manager_killer_test.erl:101:<0.722.0>: Manager <0.8658.0> killed =INFO REPORT==== 3-Apr-2021::18:01:58.429879 === application: lager exited: stopped type: temporary [2.019 s] ok lager_manager_killer_test: overload_alternate_sink_test_...test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8658.0>,unregister,lager_event} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8660.0>,exit,normal} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8657.0>,getting_unlinked,<0.8658.0>} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8657.0>,spawn,<0.8670.0>, {proc_lib,init_p, [lager_sup, [<0.8656.0>], gen,init_it, [gen_event,<0.8657.0>,<0.8657.0>, {local,lager_event}, 'no callback module',[],[]]]}} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8657.0>,link,<0.8670.0>} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8670.0>,spawned,<0.8657.0>, {proc_lib,init_p, [lager_sup, [<0.8656.0>], gen,init_it, [gen_event,<0.8657.0>,<0.8657.0>, {local,lager_event}, 'no callback module',[],[]]]}} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8670.0>,getting_linked,<0.8657.0>} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8661.0>,getting_unlinked,<0.8658.0>} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8659.0>,getting_unlinked,<0.8660.0>} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8661.0>,exit,normal} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8659.0>,getting_unlinked,<0.8661.0>} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8685.0>,unlink,<0.8684.0>} =ERROR REPORT==== 3-Apr-2021::18:01:59.454701 === ** gen_event handler lager_manager_killer crashed. ** Was installed in '__lager_test_sink_lager_event' ** Last event was: {log,{lager_msg,[], [{module,lager_manager_killer_test}, {function,overload_alternate_sink_test_}, {line,69}, {pid,"<0.722.0>"}, {node,nonode@nohost}], info, {["2021",45,"04",45,"03"], ["18",58,"01",58,"58",46,"454"]}, {1617,472918,454302}, ["1",39,116,104,32,109,101,115,115,97,103, 101]}} ** When handler state == {state,10,1000} ** Reason == {kill_me,[10,1000]} test/lager_manager_killer_test.erl:103:<0.722.0>: OTHER MSG: {trace,<0.8684.0>,getting_unlinked,<0.8685.0>} test/lager_manager_killer_test.erl:101:<0.722.0>: Manager <0.8684.0> killed =ERROR REPORT==== 3-Apr-2021::18:01:59.455363 === Killing sink '__lager_test_sink_lager_event', current message_queue_len:10 =INFO REPORT==== 3-Apr-2021::18:02:00.468848 === application: lager exited: stopped type: temporary [2.036 s] ok [done in 4.061 s] module 'lager_manager_killer' module 'lager_msg' module 'lager_util' lager_util: parse_test...ok lager_util: parse_fail_test...ok lager_util: rotation_calculation_test...ok lager_util: check_trace_test...=INFO REPORT==== 3-Apr-2021::18:02:00.526404 === application: lager exited: stopped type: permanent =INFO REPORT==== 3-Apr-2021::18:02:00.527375 === application: goldrush exited: stopped type: temporary [0.044 s] ok lager_util:753: is_loggable_test_ (Loggable by severity only)...ok lager_util:754: is_loggable_test_ (Not loggable by severity only)...ok lager_util:755: is_loggable_test_ (Loggable by severity with destination)...ok lager_util:756: is_loggable_test_ (Not loggable by severity with destination)...ok lager_util:757: is_loggable_test_ (Loggable by destination overriding severity)...ok lager_util:762: format_time_test_...ok lager_util:767: format_time_test_...ok lager_util:772: format_time_test_...ok lager_util:777: format_time_test_...ok lager_util:782: format_time_test_...ok lager_util: config_to_levels_test...ok lager_util: config_to_mask_test...ok lager_util: mask_to_levels_test...ok lager_util: expand_path_test...ok lager_util:845: sink_name_test_...ok lager_util:846: sink_name_test_...ok [done in 0.104 s] ======================================================= All 352 tests passed. Cover analysis: /builddir/build/BUILD/lager-3.9.1/.eunit/index.html DEBUG: Reconstruct kernel [{logger_level,notice}, {logger_sasl_compatible,false}, {shell_docs_ansi,auto}] DEBUG: Reconstruct compiler [] DEBUG: Reconstruct goldrush [] DEBUG: Reconstruct crypto [{fips_mode,false},{rand_cache_size,896}] 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']}] + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + VSN=3.9.1 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/lager-3.9.1/vsn.cache + export REBAR_VSN_CACHE_FILE + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + /usr/bin/rebar ct skip_deps=true -vv DEBUG: Evaluating config script "/builddir/build/BUILD/lager-3.9.1/rebar.config.script" DEBUG: Consult config file "/builddir/build/BUILD/lager-3.9.1/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/builddir/build/BUILD/lager-3.9.1/src/lager.app.src" DEBUG: is_app_available, looking for App goldrush with Path "/builddir/build/BUILD/lager-3.9.1/deps/goldrush" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /builddir/build/BUILD/lager-3.9.1/deps/goldrush DEBUG: is_app_available, looking for App goldrush with Path "/usr/share/erlang/lib/goldrush-0.2.0" INFO: Looking for goldrush-.* ; found goldrush-0.2.0 at /usr/share/erlang/lib/goldrush-0.2.0 DEBUG: Available deps: [{dep,"/usr/share/erlang/lib/goldrush-0.2.0",goldrush, ".*", {git,"https://github.com/DeadZen/goldrush.git", {tag,"0.1.9"}}, false}] DEBUG: Missing deps : [] DEBUG: is_app_available, looking for App goldrush with Path "/usr/share/erlang/lib/goldrush-0.2.0" INFO: Looking for goldrush-.* ; found goldrush-0.2.0 at /usr/share/erlang/lib/goldrush-0.2.0 DEBUG: Adding /usr/share/erlang/lib/goldrush-0.2.0/ebin to code path DEBUG: Adding skip dir: /usr/share/erlang/lib/goldrush-0.2.0 DEBUG: Associate sub_dir /usr/share/erlang/lib/goldrush-0.2.0 with /builddir/build/BUILD/lager-3.9.1 DEBUG: Plugins requested while processing /builddir/build/BUILD/lager-3.9.1: [] DEBUG: Predirs: ["/usr/share/erlang/lib/goldrush-0.2.0"] DEBUG: Consult config file "/usr/share/erlang/lib/goldrush-0.2.0/rebar.config" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /usr/share/erlang/lib/goldrush-0.2.0: [] DEBUG: Predirs: [] DEBUG: Postdirs: [] ==> lager-3.9.1 (ct) WARN: test directory present, but no common_test SUITES - skipping DEBUG: Postdirs: [] + RPM_EC=0 ++ jobs -p + exit 0 Processing files: erlang-lager-3.9.1-1.fc35.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bxcExH + umask 022 + cd /builddir/build/BUILD + cd lager-3.9.1 + DOCDIR=/builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/doc/erlang-lager + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/doc/erlang-lager + cp -pr README.md /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/doc/erlang-lager + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dzMcIf + umask 022 + cd /builddir/build/BUILD + cd lager-3.9.1 + LICENSEDIR=/builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/licenses/erlang-lager + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/licenses/erlang-lager + cp -pr LICENSE /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/licenses/erlang-lager + RPM_EC=0 ++ jobs -p + exit 0 ERROR: Cant find lager_default_tracer:info/1 while processing '/builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch/usr/share/erlang/lib/lager-3.9.1/ebin/lager.beam' Provides: erlang-lager = 3.9.1-1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: erlang-common_test erlang-erts erlang-goldrush erlang-kernel erlang-sasl erlang-stdlib Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch Wrote: /builddir/build/RPMS/erlang-lager-3.9.1-1.fc35.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.l5xC9K + umask 022 + cd /builddir/build/BUILD + cd lager-3.9.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-lager-3.9.1-1.fc35.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0