D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/erlang-lager-3.9.2-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3GJteW sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ca703l + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build + rm -rf lager-3.9.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lager-3.9.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lager-3.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/erlang-lager-0001-Disable-failing-test.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/erlang-lager-0002-Disable-async-test-fails-in-our-buildsystem.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/erlang-lager-0003-Allow-trace-filter-to-silence-log-output.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/erlang-lager-0004-Add-test-and-some-documentation.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/erlang-lager-0005-Separate-line-and-col-metadata-on-OTP-24.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/erlang-lager-0006-Since-Erlang-24-stacktraces-include-BIF-and-NIF-func.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ozb7a8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lager-3.9.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' '!' -f src/lager.app.src -a '!' -f src/lager.app -a '!' -f ebin/lager.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=3.9.2 + export VSN + REBAR_VSN_CACHE_FILE=/home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2"}, "3.9.2"}.' + 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/erlang-lager-3.9.2-build/lager-3.9.2/rebar.config.script" DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/src/lager.app.src" DEBUG: is_app_available, looking for App goldrush with Path "/home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/deps/goldrush" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/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 /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2 DEBUG: Plugins requested while processing /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2: [] 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.2 (compile) DEBUG: Matched required ERTS version: 15.2.4 -> .* DEBUG: Matched required OTP release: 27 -> .* DEBUG: Min OTP version unconfigured DEBUG: is_app_available, looking for App goldrush with Path "/home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/deps/goldrush" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/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"] src/lager_util.erl:436:44: Warning: variable 'F' is unused % 436| check_trace(Attrs, {Filter, Level, Dest} = F) when is_tuple(Filter) -> % | ^ src/lager_util.erl:436:44: Warning: variable 'F' is unused 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_manager_killer.erl Compiled src/lager_stdlib.erl Compiled src/lager_config.erl Compiled src/lager_common_test_backend.erl Compiled src/lager_trunc_io.erl Compiled src/lager_default_formatter.erl Compiled src/lager_file_backend.erl Compiled src/lager_rotator_default.erl Compiled src/lager.erl Compiled src/lager_app.erl Compiled src/lager_format.erl Compiled src/lager_msg.erl Compiled src/lager_sup.erl Compiled src/lager_handler_watcher_sup.erl Compiled src/lager_backend_throttle.erl Compiled src/lager_handler_watcher.erl Compiled src/lager_console_backend.erl DEBUG: Worker exited cleanly Compiled src/lager_crash_log.erl DEBUG: Worker exited cleanly Compiled src/error_logger_lager_h.erl DEBUG: Worker exited cleanly INFO: No app_vars_file defined. 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 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Y72LYr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build + mkdir /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lager-3.9.2 + '[' 1 -eq 1 ']' + '[' lager '!=' '' ']' + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/BUILDROOT/usr/share/erlang/lib/lager-3.9.2/ + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/BUILDROOT/usr/share/erlang/lib/lager-3.9.2/ebin/ + '[' -f ebin/lager.app ']' + /usr/bin/install -m 0644 -p ebin/lager.app /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/BUILDROOT/usr/share/erlang/lib/lager-3.9.2/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 /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/BUILDROOT/usr/share/erlang/lib/lager-3.9.2/ebin/ + '[' -d include/ ']' ++ ls include/lager.hrl + for erlincludefile in `ls include/*.hrl` + /usr/bin/install -D -m 0644 -p include/lager.hrl /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/BUILDROOT/usr/share/erlang/lib/lager-3.9.2/include/lager.hrl + '[' -d priv/ ']' ++ ls 'priv/*.so' ls: cannot access 'priv/*.so': No such file or directory + /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/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qgwJIo + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lager-3.9.2 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=3.9.2 + export VSN + REBAR_VSN_CACHE_FILE=/home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/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/erlang-lager-3.9.2-build/lager-3.9.2/rebar.config.script" DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/src/lager.app.src" DEBUG: is_app_available, looking for App goldrush with Path "/home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/deps/goldrush" DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?): /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/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 /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2 DEBUG: Plugins requested while processing /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2: [] 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.2 (eunit) DEBUG: Matched required ERTS version: 15.2.4 -> .* DEBUG: Matched required OTP release: 27 -> .* 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/erlang-lager-3.9.2-build/lager-3.9.2" cmd: cp -R src/lager_file_backend.erl src/lager_rotator_behaviour.erl src/lager_manager_killer.erl src/lager_trunc_io.erl src/lager_stdlib.erl src/lager_config.erl src/lager_common_test_backend.erl src/lager_default_formatter.erl src/lager_transform.erl src/lager.erl src/lager_rotator_default.erl src/error_logger_lager_h.erl src/lager_format.erl src/lager_app.erl src/lager_msg.erl src/lager_sup.erl src/lager_handler_watcher_sup.erl src/lager_backend_throttle.erl src/lager_handler_watcher.erl src/lager_console_backend.erl src/lager_util.erl src/lager_crash_log.erl test/zzzz_gh280_crash.erl test/crash_statem.erl test/lager_app_tests.erl test/crash_fsm.erl test/compress_pr_record_test.erl test/lager_trace_test.erl test/special_process.erl test/sync_error_logger.erl test/trunc_io_eqc.erl test/lager_rotate.erl test/pr_composite_test.erl test/lager_test_backend.erl test/crash.erl test/pr_stacktrace_test.erl test/lager_crash_backend.erl test/lager_manager_killer_test.erl test/lager_test_function_transform.erl test/lager_slow_backend.erl test/lager_metadata_whitelist_test.erl ".eunit" DEBUG: opts: [{use_stdout,false},abort_on_error] DEBUG: Port Cmd: "cp -R src/lager_file_backend.erl src/lager_rotator_behaviour.erl src/lager_manager_killer.erl src/lager_trunc_io.erl src/lager_stdlib.erl src/lager_config.erl src/lager_common_test_backend.erl src/lager_default_formatter.erl src/lager_transform.erl src/lager.erl src/lager_rotator_default.erl src/error_logger_lager_h.erl src/lager_format.erl src/lager_app.erl src/lager_msg.erl src/lager_sup.erl src/lager_handler_watcher_sup.erl src/lager_backend_throttle.erl src/lager_handler_watcher.erl src/lager_console_backend.erl src/lager_util.erl src/lager_crash_log.erl test/zzzz_gh280_crash.erl test/crash_statem.erl test/lager_app_tests.erl test/crash_fsm.erl test/compress_pr_record_test.erl test/lager_trace_test.erl test/special_process.erl test/sync_error_logger.erl test/trunc_io_eqc.erl test/lager_rotate.erl test/pr_composite_test.erl test/lager_test_backend.erl test/crash.erl test/pr_stacktrace_test.erl test/lager_crash_backend.erl test/lager_manager_killer_test.erl test/lager_test_function_transform.erl test/lager_slow_backend.erl test/lager_metadata_whitelist_test.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"] src/lager_util.erl:436:44: Warning: variable 'F' is unused % 436| check_trace(Attrs, {Filter, Level, Dest} = F) when is_tuple(Filter) -> % | ^ src/lager_util.erl:436:44: Warning: variable 'F' is unused 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_manager_killer.erl Compiled src/lager_stdlib.erl Compiled src/lager_config.erl Compiled src/lager_common_test_backend.erl Compiled src/lager_default_formatter.erl Compiled src/lager.erl Compiled src/lager_rotator_default.erl Compiled src/lager_file_backend.erl Compiled src/lager_format.erl Compiled src/lager_trunc_io.erl Compiled src/lager_msg.erl Compiled src/lager_sup.erl Compiled src/lager_handler_watcher_sup.erl Compiled src/lager_backend_throttle.erl Compiled src/lager_app.erl Compiled src/lager_handler_watcher.erl Compiled src/lager_console_backend.erl Compiled test/zzzz_gh280_crash.erl Compiled test/crash_statem.erl Compiled test/lager_app_tests.erl Compiled src/lager_crash_log.erl Compiled test/crash_fsm.erl Compiled test/compress_pr_record_test.erl Compiled test/special_process.erl Compiled test/sync_error_logger.erl Compiled test/trunc_io_eqc.erl Compiled test/lager_trace_test.erl Compiled test/pr_composite_test.erl Compiled src/error_logger_lager_h.erl Compiled test/lager_rotate.erl test/pr_stacktrace_test.erl:14:5: Warning: the call to integer_to_list/1 will fail with a 'badarg' exception % 14| integer_to_list(1.0). % | ^ test/pr_stacktrace_test.erl:14:5: Warning: the call to integer_to_list/1 will fail with a 'badarg' exception Compiled test/pr_stacktrace_test.erl test/crash.erl:27:13: Warning: invalid function call % 27| {reply, M(), State}; % | ^ test/crash.erl:66:11: Warning: the call to list_to_binary/1 will fail with a 'badarg' exception % 66| Res = list_to_binary(["foo", bar]), % | ^ test/crash.erl:27:13: Warning: invalid function call test/crash.erl:66:11: Warning: the call to list_to_binary/1 will fail with a 'badarg' exception Compiled test/crash.erl Compiled test/lager_crash_backend.erl Compiled test/lager_manager_killer_test.erl Compiled test/lager_slow_backend.erl Compiled test/lager_metadata_whitelist_test.erl DEBUG: Worker exited cleanly Compiled test/lager_test_function_transform.erl DEBUG: Worker exited cleanly Compiled test/lager_test_backend.erl DEBUG: Worker exited cleanly INFO: Cover compiling /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2 ======================== EUnit ======================== module 'lager_handler_watcher' lager_handler_watcher: -reinstall_on_initial_failure_test_/0-fun-3-...[6.048 s] ok lager_handler_watcher: -reinstall_on_runtime_failure_test_/0-fun-3-...[6.021 s] ok lager_handler_watcher: -reinstall_handlers_after_killer_hwm_test_/0-fun-1-...[6.042 s] ok [done in 18.120 s] module 'lager_file_backend' lager_file_backend: get_loglevel_test...ok lager_file_backend: -rotation_test_/0-fun-17- (External rotation should work)...[0.048 s] ok lager_file_backend: -rotation_test_/0-fun-8- (Internal rotation and delayed write)...[1.025 s] ok lager_file_backend: -filesystem_test_/0-fun-81- (under normal circumstances, file should be opened)...[0.006 s] ok lager_file_backend: -filesystem_test_/0-fun-79- (don't choke on unicode)...[0.003 s] ok lager_file_backend: -filesystem_test_/0-fun-77- (don't choke on latin-1)...[0.011 s] ok lager_file_backend: -filesystem_test_/0-fun-75- (file can't be opened on startup triggers an error message)...[0.007 s] ok lager_file_backend: -filesystem_test_/0-fun-69- (file that becomes unavailable at runtime should trigger an error message)...[0.010 s] ok lager_file_backend: -filesystem_test_/0-fun-62- (unavailable files that are fixed at runtime should start having log messages written)...[0.008 s] ok lager_file_backend: -filesystem_test_/0-fun-55- (external logfile rotation/deletion should be handled)...[0.015 s] ok lager_file_backend: -filesystem_test_/0-fun-45- (internal size rotation should work)...[0.008 s] ok lager_file_backend: -filesystem_test_/0-fun-43- (internal time rotation should work)...[0.009 s] ok lager_file_backend: -filesystem_test_/0-fun-41- (rotation call should work)...[0.009 s] ok lager_file_backend: -filesystem_test_/0-fun-39- (sync_on option should work)...[0.004 s] ok lager_file_backend: -filesystem_test_/0-fun-36- (sync_on none option should work (also tests sync_interval))...[2.001 s] ok lager_file_backend: -filesystem_test_/0-fun-32- (sync_size option should work)...ok lager_file_backend: -filesystem_test_/0-fun-28- (runtime level changes)...[0.013 s] ok lager_file_backend: -filesystem_test_/0-fun-23- (invalid runtime level changes)...ok lager_file_backend: -filesystem_test_/0-fun-21- (tracing should work)...[1.023 s] ok lager_file_backend: -filesystem_test_/0-fun-18- (tracing should not duplicate messages)...[0.516 s] ok lager_file_backend: -filesystem_test_/0-fun-12- (tracing to a dedicated file should work)...[0.018 s] ok lager_file_backend: -filesystem_test_/0-fun-10- (tracing to a dedicated file should work even if root_log is set)...[0.021 s] ok lager_file_backend: -filesystem_test_/0-fun-8- (tracing with options should work)...[0.042 s] ok lager_file_backend: -filesystem_test_/0-fun-5- (no silent hwm drops)...[1.691 s] ok lager_file_backend: -trace_files_test_/0-fun-5- (a trace using file backend set up in configuration should work)...[1.090 s] ok lager_file_backend: -formatting_test_/0-fun-2- (Should have two log files, the second prefixed with 2>)...[0.039 s] ok lager_file_backend:1137: -config_validation_test_/0-fun-27- (missing file)...ok lager_file_backend:1141: -config_validation_test_/0-fun-25- (bad level)...ok lager_file_backend:1145: -config_validation_test_/0-fun-23- (bad size)...ok lager_file_backend:1149: -config_validation_test_/0-fun-21- (bad count)...ok lager_file_backend:1153: -config_validation_test_/0-fun-19- (bad high water mark)...ok lager_file_backend:1157: -config_validation_test_/0-fun-17- (bad date)...ok lager_file_backend:1161: -config_validation_test_/0-fun-15- (blank date is ok)...ok lager_file_backend:1165: -config_validation_test_/0-fun-13- (bad sync_interval)...ok lager_file_backend:1169: -config_validation_test_/0-fun-11- (bad sync_size)...ok lager_file_backend:1173: -config_validation_test_/0-fun-9- (bad check_interval)...ok lager_file_backend:1177: -config_validation_test_/0-fun-7- (bad sync_on level)...ok lager_file_backend:1181: -config_validation_test_/0-fun-5- (bad formatter module)...ok lager_file_backend:1185: -config_validation_test_/0-fun-3- (bad formatter config)...ok lager_file_backend:1189: -config_validation_test_/0-fun-1- (unknown option)...ok [done in 8.405 s] module 'special_process' module 'crash_fsm' module 'lager_transform' 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_rotator_behaviour' module 'lager_app' =ERROR REPORT==== 25-Apr-2025::08:57:40.571298 === Cannot have same file ("same_file.log") in multiple file backends lager_app:326: -application_config_mangling_test_/0-fun-9- (Explode the file backend handlers)...ok lager_app:339: -application_config_mangling_test_/0-fun-7- (Explode the short form of backend file handlers)...ok lager_app:352: -application_config_mangling_test_/0-fun-5- (Explode with formatter info)...ok lager_app:363: -application_config_mangling_test_/0-fun-3- (Explode short form with short formatter info)...ok lager_app:374: -application_config_mangling_test_/0-fun-1- (New form needs no expansion)...ok lager_app:408: -check_handler_config_test_/0-fun-15- (lager_file_backend_good)...ok lager_app:411: -check_handler_config_test_/0-fun-12- (lager_file_backend_bad)...ok lager_app:414: -check_handler_config_test_/0-fun-9- (Invalid config dies)...ok lager_app:417: -check_handler_config_test_/0-fun-7- (Invalid config dies)...ok lager_app:420: -check_handler_config_test_/0-fun-5- (Old Lager config works)...ok lager_app:423: -check_handler_config_test_/0-fun-2- (New Config missing its list should fail)...ok lager_app_tests: get_env_test (module 'lager_app_tests')...ok [done in 0.036 s] module 'lager_test_backend' lager_test_backend: not_running_test...ok lager_test_backend: -lager_test_/0-fun-206- (observe that there is nothing up my sleeve)...ok lager_test_backend: -lager_test_/0-fun-203- (test sink not running)...ok lager_test_backend: -lager_test_/0-fun-201- (logging works)...ok lager_test_backend: -lager_test_/0-fun-197- (logging with macro works)...ok lager_test_backend: -lager_test_/0-fun-193- (unsafe logging works)...ok lager_test_backend: -lager_test_/0-fun-189- (logging with arguments works)...ok lager_test_backend: -lager_test_/0-fun-185- (logging with macro and arguments works)...ok lager_test_backend: -lager_test_/0-fun-181- (unsafe logging with args works)...ok lager_test_backend: -lager_test_/0-fun-177- (logging works from inside a begin/end block)...[0.001 s] ok lager_test_backend: -lager_test_/0-fun-174- (logging works from inside a list comprehension)...ok lager_test_backend: -lager_test_/0-fun-170- (logging works from a begin/end block inside a list comprehension)...[0.002 s] ok lager_test_backend: -lager_test_/0-fun-166- (logging works from a nested list comprehension)...[0.001 s] ok lager_test_backend: -lager_test_/0-fun-161- (logging with only metadata works)...ok lager_test_backend: -lager_test_/0-fun-158- (variables inplace of literals in logging statements work)...[0.001 s] ok lager_test_backend: -lager_test_/0-fun-147- (list comprehension inplace of literals in logging statements work)...ok lager_test_backend: -lager_test_/0-fun-128- (function calls inplace of literals in logging statements work)...[0.013 s] ok lager_test_backend: -lager_test_/0-fun-116- (record fields inplace of literals in logging statements work)...ok lager_test_backend: -lager_test_/0-fun-105- (log messages below the threshold are ignored)...[0.001 s] ok lager_test_backend: -lager_test_/0-fun-95- (tracing works)...[0.052 s] ok lager_test_backend: -lager_test_/0-fun-91- (tracing works with custom attributes)...[0.199 s] ok lager_test_backend: -lager_test_/0-fun-85- (tracing works with custom attributes and event stream processing)...[0.804 s] ok lager_test_backend: -lager_test_/0-fun-72- (tracing custom attributes works with event stream processing statistics and reductions)...[0.362 s] ok lager_test_backend: -lager_test_/0-fun-61- (persistent traces work)...[0.099 s] ok lager_test_backend: -lager_test_/0-fun-57- (tracing honors loglevel)...[0.123 s] ok lager_test_backend: -lager_test_/0-fun-52- (stopped trace stops and removes its event handler - default sink (gh#267))...[0.190 s] ok lager_test_backend: -lager_test_/0-fun-41- (record printing works)...[0.101 s] ok lager_test_backend: -lager_test_/0-fun-38- (record printing fails gracefully)...[0.101 s] ok lager_test_backend: -lager_test_/0-fun-35- (record printing fails gracefully when no lager_record attribute)...[0.101 s] ok lager_test_backend: -lager_test_/0-fun-31- (record printing fails gracefully when input is not a tuple)...[0.101 s] ok lager_test_backend: -lager_test_/0-fun-27- (record printing fails gracefully when module is invalid)...[1.001 s] ok lager_test_backend: -lager_test_/0-fun-23- (installing a new handler adjusts the global loglevel if necessary)...ok lager_test_backend: -lager_test_/0-fun-20- (metadata in the process dictionary works)...ok lager_test_backend: -lager_test_/0-fun-11- (unsafe messages really are not truncated)...[0.001 s] ok lager_test_backend: -lager_test_/0-fun-9- (can't store invalid metadata)...ok lager_test_backend: -lager_test_/0-fun-5- (dates should be local by default)...ok lager_test_backend: -lager_test_/0-fun-2- (dates should be UTC if SASL is configured as UTC)...ok lager_test_backend: -extra_sinks_test_/0-fun-42- (observe that there is nothing up my sleeve)...ok lager_test_backend: -extra_sinks_test_/0-fun-39- (logging works)...ok lager_test_backend: -extra_sinks_test_/0-fun-35- (logging with arguments works)...ok lager_test_backend: -extra_sinks_test_/0-fun-31- (variables inplace of literals in logging statements work)...ok lager_test_backend: -extra_sinks_test_/0-fun-20- (stopped trace stops and removes its event handler - test sink (gh#267))...[0.067 s] ok lager_test_backend: -extra_sinks_test_/0-fun-9- (log messages below the threshold are ignored)...ok Error logger redirect crash Redirect to default sink lager_test_backend: -error_logger_redirect_crash_test_/0-fun-7- (again, there is nothing up my sleeve)...ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return value)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return value with string)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return uncaught throw)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause string)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (function clause)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (if clause)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (try clause)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (undefined function)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad math)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad match)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arity)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg1)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg2)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad record)...*failed* in function lager_test_backend:test_body/2 (test/lager_test_backend.erl, line 927) in call from lager_test_backend:'-error_logger_redirect_crash_test_/0-fun-2-'/3 (test/lager_test_backend.erl, line 1096) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 72) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 544) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 369) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 527) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 469) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 359) **error:{assertEqual,[{module,lager_test_backend}, {line,927}, {expression,"Body"}, {expected,"gen_server crash terminated with reason: bad record state in crash:handle_call/3"}, {value,"gen_server crash terminated with reason: bad record {} in crash:handle_call/3 li"}]} output:<<"">> lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc)...test/lager_test_backend.erl:949:<0.2898.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_/0-fun-2- (noproc_proc_lib)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (badfun)...[0.101 s] ok [done in 2.341 s] Redirect to error_logger_lager_event sink lager_test_backend: -error_logger_redirect_crash_test_/0-fun-7- (again, there is nothing up my sleeve)...ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return value)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return value with string)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return uncaught throw)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause string)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (function clause)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (if clause)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (try clause)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (undefined function)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad math)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad match)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arity)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg1)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg2)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad record)...*failed* in function lager_test_backend:test_body/2 (test/lager_test_backend.erl, line 927) in call from lager_test_backend:'-error_logger_redirect_crash_test_/0-fun-2-'/3 (test/lager_test_backend.erl, line 1096) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 72) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 544) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 369) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 527) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 469) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 359) **error:{assertEqual,[{module,lager_test_backend}, {line,927}, {expression,"Body"}, {expected,"gen_server crash terminated with reason: bad record state in crash:handle_call/3"}, {value,"gen_server crash terminated with reason: bad record {} in crash:handle_call/3 li"}]} output:<<"">> lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc)...test/lager_test_backend.erl:949:<0.3600.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_/0-fun-2- (noproc_proc_lib)...[0.101 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (badfun)...[0.101 s] ok [done in 2.343 s] [done in 4.684 s] Error logger redirect Redirect to default sink lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error reports are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string error reports are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages with unicode characters in Args are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are truncated at 4096 characters)...[0.002 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are truncated at 4096 characters)...[0.001 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term info reports are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term error reports are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are truncated at 4096 characters)...[0.004 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (strings in a mixed report are printed as strings)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are truncated at 4096 characters)...[0.002 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages with unicode characters in Args are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning messages with unicode characters in Args are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning messages are printed at the correct level)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning reports are printed at the correct level)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term warning reports are printed at the correct level)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (application stop reports)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports with real error)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports with real error and pid)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor_bridge reports)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (application progress report)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report with pid)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for emfile)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system process limit)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system process limit2)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system port limit)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system port limit)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system ets table limit)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for unknown system limit should be truncated at 500 characters)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - function_clause)...[0.501 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - case_clause)...[0.501 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - exit)...[0.501 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - error)...[0.501 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (webmachine error reports)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 8 arg version)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 10 arg version)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 5 arg version)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 6 arg version)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (messages should not be generated if they don't satisfy the threshold)...[0.002 s] ok [done in 47.173 s] Redirect to error_logger_lager_event sink lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error reports are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string error reports are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages with unicode characters in Args are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are truncated at 4096 characters)...[0.003 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are truncated at 4096 characters)...[0.002 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term info reports are printed)...[0.001 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term error reports are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are truncated at 4096 characters)...[0.004 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (strings in a mixed report are printed as strings)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are truncated at 4096 characters)...[0.003 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages with unicode characters in Args are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning messages with unicode characters in Args are printed)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning messages are printed at the correct level)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning reports are printed at the correct level)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term warning reports are printed at the correct level)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (application stop reports)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports with real error)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports with real error and pid)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor_bridge reports)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (application progress report)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report with pid)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for emfile)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system process limit)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system process limit2)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system port limit)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system port limit)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system ets table limit)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for unknown system limit should be truncated at 500 characters)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - function_clause)...[0.501 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - case_clause)...[0.501 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - exit)...[0.501 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - error)...[0.501 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (webmachine error reports)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 8 arg version)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 10 arg version)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 5 arg version)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 6 arg version)...ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (messages should not be generated if they don't satisfy the threshold)...[0.001 s] ok [done in 47.844 s] [done in 95.017 s] lager_test_backend: safe_format_test...ok lager_test_backend: unsafe_format_test...[0.001 s] ok lager_test_backend: -high_watermark_test_/0-fun-7- (Nothing dropped when error_logger high watermark is undefined)...[0.602 s] ok lager_test_backend: -high_watermark_test_/0-fun-5- (Mostly dropped according to error_logger high watermark)...[1.102 s] ok lager_test_backend: -high_watermark_test_/0-fun-3- (Non-notifications are not dropped)...[1.153 s] ok [done in 143.847 s] module 'lager_msg' module 'lager_default_formatter' lager_default_formatter:277: -basic_test_/0-fun-59- (Default formatting test)...ok lager_default_formatter:286: -basic_test_/0-fun-57- (Basic Formatting)...ok lager_default_formatter:295: -basic_test_/0-fun-55- (Default equivalent formatting test)...ok lager_default_formatter:305: -basic_test_/0-fun-53- (Non existent metadata can default to string)...ok lager_default_formatter:315: -basic_test_/0-fun-51- (Non existent metadata can default to other metadata)...ok lager_default_formatter:325: -basic_test_/0-fun-49- (Non existent metadata can default to a string2)...ok lager_default_formatter:335: -basic_test_/0-fun-47- (Metadata can have extra formatting)...ok lager_default_formatter:345: -basic_test_/0-fun-45- (Metadata can have extra formatting1)...ok lager_default_formatter:355: -basic_test_/0-fun-43- (Metadata can have extra formatting2)...ok lager_default_formatter:365: -basic_test_/0-fun-41- (Metadata can have extra formatting3)...ok lager_default_formatter:375: -basic_test_/0-fun-39- (Metadata can be printed in its enterity)...ok lager_default_formatter:385: -basic_test_/0-fun-37- (Metadata can be printed in its enterity with custom seperators)...ok lager_default_formatter:395: -basic_test_/0-fun-35- (Metadata can have extra formatting with width 1)...ok lager_default_formatter:409: -basic_test_/0-fun-33- (Metadata can have extra formatting with width 2)...ok lager_default_formatter:419: -basic_test_/0-fun-31- (Metadata can have extra formatting with width 3)...ok lager_default_formatter:429: -basic_test_/0-fun-29- (Metadata can have extra formatting with width 4)...ok lager_default_formatter:439: -basic_test_/0-fun-27- (Metadata can have extra formatting with width 5)...ok lager_default_formatter:449: -basic_test_/0-fun-25- (Metadata can have extra formatting with width 6)...ok lager_default_formatter:459: -basic_test_/0-fun-23- (Uppercase Severity Formatting - DEBUG)...ok lager_default_formatter:468: -basic_test_/0-fun-21- (Uppercase Severity Formatting - INFO)...ok lager_default_formatter:477: -basic_test_/0-fun-19- (Uppercase Severity Formatting - NOTICE)...ok lager_default_formatter:486: -basic_test_/0-fun-17- (Uppercase Severity Formatting - WARNING)...ok lager_default_formatter:495: -basic_test_/0-fun-15- (Uppercase Severity Formatting - ERROR)...ok lager_default_formatter:504: -basic_test_/0-fun-13- (Uppercase Severity Formatting - CRITICAL)...ok lager_default_formatter:513: -basic_test_/0-fun-11- (Uppercase Severity Formatting - ALERT)...ok lager_default_formatter:522: -basic_test_/0-fun-9- (Uppercase Severity Formatting - EMERGENCY)...ok lager_default_formatter:534: -basic_test_/0-fun-5- (pterm presence test)...ok lager_default_formatter:550: -basic_test_/0-fun-3- (pterm absence test)...ok lager_default_formatter:566: -basic_test_/0-fun-1- (node formatting basic)...ok [done in 0.087 s] module 'crash' module 'trunc_io_eqc' module 'crash_statem' module 'lager_manager_killer' module 'lager_config' module 'lager_slow_backend' module 'lager_crash_backend' zzzz_gh280_crash: gh280_crash_test (module 'zzzz_gh280_crash')...ok module 'lager_sup' module 'lager_test_function_transform' lager_test_function_transform: not_running_test...ok lager_test_function_transform: -transform_function_test_/0-fun-37- (observe that there is nothing up my sleeve)...ok lager_test_function_transform: -transform_function_test_/0-fun-34- (logging works)...ok lager_test_function_transform: -transform_function_test_/0-fun-30- (Testing calling a function returns the same content on emit)...ok lager_test_function_transform: -transform_function_test_/0-fun-27- (Testing calling a function which returns content which can change on emit)...ok lager_test_function_transform: -transform_function_test_/0-fun-21- (Testing a undefined function returns undefined on emit)...ok lager_test_function_transform: -transform_function_test_/0-fun-18- (Testing calling a function returns the same content on log)...ok lager_test_function_transform: -transform_function_test_/0-fun-15- (Testing calling a dynamic function on log which returns the same value)...ok lager_test_function_transform: -transform_function_test_/0-fun-8- (Testing differences in results for on_log vs on emit from dynamic function)...ok lager_test_function_transform: -transform_function_test_/0-fun-3- (Testing a function provided via metadata)...ok [done in 2.466 s] 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 =ERROR REPORT==== 25-Apr-2025::09:00:07.016852 === calling logger:remove_handler(default) failed: error {badmatch, {error, {not_found,default}}} [done in 0.012 s] module 'lager_manager_killer_test' lager_manager_killer_test: -overload_test_/0-fun-3-...=ERROR REPORT==== 25-Apr-2025::09:00:08.017401 === ** gen_event handler lager_manager_killer crashed. ** Was installed in lager_event ** Last event was: {log,{lager_msg,[], [{pid,<0.6910.0>}, {line,127}, {file,"src/lager_handler_watcher.erl"}, {module,lager_handler_watcher}], debug, {["2025",45,"04",45,"25"], ["09",58,"00",58,"07",46,"017"]}, {1745,571607,17001}, [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]} test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6906.0>,unlink,<0.6904.0>} =ERROR REPORT==== 25-Apr-2025::09:00:08.017677 === Killing sink lager_event, current message_queue_len:12 test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6904.0>,getting_unlinked,<0.6906.0>} test/lager_manager_killer_test.erl:101:<0.727.0>: Manager <0.6904.0> killed =INFO REPORT==== 25-Apr-2025::09:00:09.032315 === application: lager exited: stopped type: temporary [2.018 s] ok lager_manager_killer_test: -overload_alternate_sink_test_/0-fun-3-...test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6904.0>,unregister,lager_event} test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6903.0>,getting_unlinked,<0.6904.0>} test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6907.0>,getting_unlinked,<0.6904.0>} test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6907.0>,exit,normal} test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6903.0>,spawn,<0.6916.0>, {proc_lib,init_p, [lager_sup, [<0.6902.0>], gen,init_it, [gen_event,<0.6903.0>,<0.6903.0>, {local,lager_event}, 'no callback module',[],[]]]}} test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6903.0>,link,<0.6916.0>} test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6916.0>,spawned,<0.6903.0>, {proc_lib,init_p, [lager_sup, [<0.6902.0>], gen,init_it, [gen_event,<0.6903.0>,<0.6903.0>, {local,lager_event}, 'no callback module',[],[]]]}} test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6916.0>,getting_linked,<0.6903.0>} test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6906.0>,exit,normal} test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6905.0>,getting_unlinked,<0.6907.0>} test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6905.0>,getting_unlinked,<0.6906.0>} =ERROR REPORT==== 25-Apr-2025::09:00:10.054394 === ** 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}, {col,16}, {pid,"<0.727.0>"}, {node,nonode@nohost}], info, {["2025",45,"04",45,"25"], ["09",58,"00",58,"09",46,"053"]}, {1745,571609,53434}, ["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.727.0>: OTHER MSG: {trace,<0.6930.0>,unlink,<0.6929.0>} =ERROR REPORT==== 25-Apr-2025::09:00:10.054717 === Killing sink '__lager_test_sink_lager_event', current message_queue_len:10 test/lager_manager_killer_test.erl:103:<0.727.0>: OTHER MSG: {trace,<0.6929.0>,getting_unlinked,<0.6930.0>} test/lager_manager_killer_test.erl:101:<0.727.0>: Manager <0.6929.0> killed =INFO REPORT==== 25-Apr-2025::09:00:11.069929 === application: lager exited: stopped type: temporary [2.034 s] ok [done in 4.058 s] module 'lager_rotator_default' lager_rotator_default: rotate_file_test...[0.012 s] ok lager_rotator_default: rotate_file_zero_count_test...ok lager_rotator_default: rotate_file_fail_test...[0.119 s] ok [done in 0.140 s] module 'lager_metadata_whitelist_test' lager_metadata_whitelist_test: -basic_test_/0-fun-7- (Meta)...ok lager_metadata_whitelist_test: -basic_test_/0-fun-5- (Meta1)...ok lager_metadata_whitelist_test: -basic_test_/0-fun-3- (Meta2)...ok lager_metadata_whitelist_test: -basic_test_/0-fun-1- (Meta3)...ok [done in 1.110 s] module 'lager_crash_log' lager_crash_log: -filesystem_test_/0-fun-30- (under normal circumstances, file should be opened)...ok lager_crash_log: -filesystem_test_/0-fun-27- (file can't be opened on startup triggers an error message)...ok lager_crash_log: -filesystem_test_/0-fun-21- (file that becomes unavailable at runtime should trigger an error message)...[0.043 s] ok lager_crash_log: -filesystem_test_/0-fun-11- (unavailable files that are fixed at runtime should start having log messages written)...[0.001 s] ok lager_crash_log: -filesystem_test_/0-fun-6- (external logfile rotation/deletion should be handled)...[0.027 s] ok [done in 5.219 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_trace_test' lager_trace_test: -trace_test_/0-fun-2- (Trace combined with log_root)...[4.177 s] ok lager_trace_test: -trace_silence_test_/0-fun-2- (Trace filter silences output)...[4.176 s] ok [done in 8.461 s] module 'lager_console_backend' lager_console_backend:242: -console_config_validation_test_/0-fun-7-...ok lager_console_backend:243: -console_config_validation_test_/0-fun-5-...ok lager_console_backend:244: -console_config_validation_test_/0-fun-3-...ok lager_console_backend:245: -console_config_validation_test_/0-fun-1-...ok lager_console_backend: -console_log_test_/0-fun-51- (regular console logging)...[0.001 s] ok lager_console_backend: -console_log_test_/0-fun-48- (verbose console logging)...ok lager_console_backend: -console_log_test_/0-fun-45- (custom format console logging)...ok lager_console_backend: -console_log_test_/0-fun-42- (tracing should work)...[0.517 s] ok lager_console_backend: -console_log_test_/0-fun-37- (tracing doesn't duplicate messages)...[1.017 s] ok lager_console_backend: -console_log_test_/0-fun-30- (blacklisting a loglevel works)...[0.502 s] ok lager_console_backend: -console_log_test_/0-fun-25- (whitelisting a loglevel works)...[0.502 s] ok lager_console_backend: -console_log_test_/0-fun-20- (console backend with custom group leader)...[0.602 s] ok lager_console_backend: -console_log_test_/0-fun-13- (console backend with custom group leader using a trace and an ID)...[1.119 s] ok lager_console_backend: -set_loglevel_test_/0-fun-8- (Get/set loglevel test)...[0.001 s] ok lager_console_backend: -set_loglevel_test_/0-fun-3- (Get/set invalid loglevel test)...ok [done in 4.567 s] module 'lager_common_test_backend' 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...*failed* in function lager_trunc_io:map_printing_test/0 (src/lager_trunc_io.erl, line 753) in call from eunit_test:'-mf_wrapper/2-fun-0-'/2 (eunit_test.erl, line 274) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 72) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 544) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 369) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 527) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 469) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 359) **error:{assertEqual,[{module,lager_trunc_io}, {line,753}, {expression,"lists : flatten ( format ( \"~p\" , [ maps : from_list ( [ { bar , foo } , { foo , bar } ] ) ] , 9 ) )"}, {expected,"#{bar => ...,...}"}, {value,"#{foo => ...,...}"}]} output:<<"">> lager_trunc_io: unicode_test...ok lager_trunc_io: depth_limit_test...ok lager_trunc_io: print_terms_without_format_string_test...ok lager_trunc_io: improper_io_list_test...ok [done in 0.045 s] module 'lager_stdlib' 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==== 25-Apr-2025::09:00:30.678921 === application: lager exited: stopped type: permanent =INFO REPORT==== 25-Apr-2025::09:00:30.681639 === application: goldrush exited: stopped type: permanent [0.040 s] ok lager_util:764: -is_loggable_test_/0-fun-9- (Loggable by severity only)...ok lager_util:765: -is_loggable_test_/0-fun-7- (Not loggable by severity only)...ok lager_util:766: -is_loggable_test_/0-fun-5- (Loggable by severity with destination)...ok lager_util:767: -is_loggable_test_/0-fun-3- (Not loggable by severity with destination)...ok lager_util:768: -is_loggable_test_/0-fun-1- (Loggable by destination overriding severity)...ok lager_util:773: -format_time_test_/0-fun-9-...ok lager_util:778: -format_time_test_/0-fun-7-...ok lager_util:783: -format_time_test_/0-fun-5-...ok lager_util:788: -format_time_test_/0-fun-3-...ok lager_util:793: -format_time_test_/0-fun-1-...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:856: -sink_name_test_/0-fun-3-...ok lager_util:857: -sink_name_test_/0-fun-1-...ok [done in 0.100 s] compress_pr_record_test: nested_record_test (module 'compress_pr_record_test')...ok module 'error_logger_lager_h' error_logger_lager_h: -no_silent_hwm_drops_test_/0-fun-2-...[2.313 s] ok error_logger_lager_h: -shaper_does_not_forward_sup_progress_messages_to_info_level_backend_test_/0-fun-1-...[0.076 s] ok error_logger_lager_h: -supressed_messages_are_not_counted_for_hwm_test_/0-fun-2-...[0.077 s] ok [done in 2.475 s] module 'lager_backend_throttle' module 'lager_handler_watcher_sup' module 'lager_rotate' lager_rotate: -rotate_test_/0-fun-7- (Rotate single file)...[0.030 s] ok lager_rotate: -rotate_test_/0-fun-4- (Rotate sink)...[0.021 s] ok lager_rotate: -rotate_test_/0-fun-1- (Rotate all)...[0.025 s] ok [done in 3.167 s] module 'sync_error_logger' module 'lager_format' ======================================================= Failed: 3. Skipped: 0. Passed: 350. Cover analysis: /home/pterjan/rpmbuild/BUILD/erlang-lager-3.9.2-build/lager-3.9.2/.eunit/index.html DEBUG: Reconstruct kernel [{logger_level,notice}, {logger_sasl_compatible,false}, {net_tickintensity,4}, {net_ticktime,60}, {prevent_overlapping_partitions,true}, {shell_docs_ansi,auto}, {shell_history_drop,[]}] DEBUG: Reconstruct stdlib [] DEBUG: Reconstruct crypto [{fips_mode,false},{rand_cache_size,896}] DEBUG: Reconstruct goldrush [] 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/erlang-lager-3.9.2-build/lager-3.9.2: rebar_abort error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qgwJIo (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qgwJIo (%check) I: [iurt_root_command] ERROR: chroot