Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-lager.spec'], chrootPath='/var/lib/mock/f39-build-1976485-43332/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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=1689724800 Wrote: /builddir/build/SRPMS/erlang-lager-3.9.2-8.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-lager.spec'], chrootPath='/var/lib/mock/f39-build-1976485-43332/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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=1689724800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5qhSN6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lager-3.9.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lager-3.9.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lager-3.9.2 + rm -rf /builddir/build/BUILD/lager-3.9.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/lager-3.9.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/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 /builddir/build/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 /builddir/build/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 /builddir/build/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 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/erlang-lager-0007-Workaround-for-Erlang-25.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/erlang-lager-0008-Workaround-for-slow-builders-increase-timeout.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IJF22u + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + 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 *.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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + VSN=3.9.2 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/lager-3.9.2/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/builddir/build/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/rebar3 compile skip_deps=true -vv ===> Verifying dependencies... ===> Analyzing applications... ===> Compiling lager /builddir/build/BUILD/lager-3.9.2/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 + '[' -f doc/overview.edoc ']' No 'doc/overview.edoc' file was found, so docs aren't generated. + 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.cIeY0J + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch ++ dirname /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + 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 + '[' lager '!=' '' ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch/usr/share/erlang/lib/lager-3.9.2/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch/usr/share/erlang/lib/lager-3.9.2/ebin/ + '[' -f _build/default/lib/lager/ebin/lager.app ']' + /usr/bin/install -m 0644 -p _build/default/lib/lager/ebin/lager.app /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch/usr/share/erlang/lib/lager-3.9.2/ebin/ + /usr/bin/install -m 0644 -p _build/default/lib/lager/ebin/error_logger_lager_h.beam _build/default/lib/lager/ebin/lager.beam _build/default/lib/lager/ebin/lager_app.beam _build/default/lib/lager/ebin/lager_backend_throttle.beam _build/default/lib/lager/ebin/lager_common_test_backend.beam _build/default/lib/lager/ebin/lager_config.beam _build/default/lib/lager/ebin/lager_console_backend.beam _build/default/lib/lager/ebin/lager_crash_log.beam _build/default/lib/lager/ebin/lager_default_formatter.beam _build/default/lib/lager/ebin/lager_file_backend.beam _build/default/lib/lager/ebin/lager_format.beam _build/default/lib/lager/ebin/lager_handler_watcher.beam _build/default/lib/lager/ebin/lager_handler_watcher_sup.beam _build/default/lib/lager/ebin/lager_manager_killer.beam _build/default/lib/lager/ebin/lager_msg.beam _build/default/lib/lager/ebin/lager_rotator_behaviour.beam _build/default/lib/lager/ebin/lager_rotator_default.beam _build/default/lib/lager/ebin/lager_stdlib.beam _build/default/lib/lager/ebin/lager_sup.beam _build/default/lib/lager/ebin/lager_transform.beam _build/default/lib/lager/ebin/lager_trunc_io.beam _build/default/lib/lager/ebin/lager_util.beam /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch/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 /builddir/build/BUILDROOT/erlang-lager-3.9.2-8.fc39.noarch/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/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.9.2-8.fc39 --unique-debug-suffix -3.9.2-8.fc39.noarch --unique-debug-src-base erlang-lager-3.9.2-8.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lager-3.9.2 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find-debuginfo: done + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fa0bZ4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + 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 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + VSN=3.9.2 + export VSN + REBAR_VSN_CACHE_FILE=/builddir/build/BUILD/lager-3.9.2/vsn.cache + export REBAR_VSN_CACHE_FILE + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + IGNORE_MISSING_DEPS=TRUE + export IGNORE_MISSING_DEPS + /usr/bin/rebar3 eunit skip_deps=true -vv ===> Verifying dependencies... ===> Analyzing applications... ===> Compiling lager /builddir/build/BUILD/lager-3.9.2/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 /builddir/build/BUILD/lager-3.9.2/test/crash.erl:27:13: Warning: invalid function call % 27| {reply, M(), State}; % | ^ /builddir/build/BUILD/lager-3.9.2/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 /builddir/build/BUILD/lager-3.9.2/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 ===> Performing EUnit tests... ======================== EUnit ======================== file "lager.app" application 'lager' module 'error_logger_lager_h' error_logger_lager_h: -no_silent_hwm_drops_test_/0-fun-2-...[4.243 s] ok error_logger_lager_h: -shaper_does_not_forward_sup_progress_messages_to_info_level_backend_test_/0-fun-1-...[1.109 s] ok error_logger_lager_h: -supressed_messages_are_not_counted_for_hwm_test_/0-fun-2-...[1.425 s] ok [done in 6.801 s] module 'lager' lager: get_sink_handler_status_ascii_test...[0.001 s] ok lager: get_sink_handler_status_latin_test...[0.006 s] ok lager: get_sink_handler_status_unicode_test...[0.001 s] ok [done in 0.021 s] module 'lager_app' 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)...[0.004 s] 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)...=ERROR REPORT==== 8-Dec-2023::17:19:46.836353 === Cannot have same file ("same_file.log") in multiple file backends [0.001 s] ok lager_app:411: -check_handler_config_test_/0-fun-12- (lager_file_backend_bad)...[0.006 s] ok lager_app:414: -check_handler_config_test_/0-fun-9- (Invalid config dies)...[0.001 s] ok lager_app:417: -check_handler_config_test_/0-fun-7- (Invalid config dies)...[0.009 s] ok lager_app:420: -check_handler_config_test_/0-fun-5- (Old Lager config works)...[0.001 s] 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')...[0.001 s] ok [done in 0.097 s] module 'lager_backend_throttle' module 'lager_common_test_backend' module 'lager_config' 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-...[0.001 s] ok lager_console_backend: -console_log_test_/0-fun-51- (regular console logging)...[0.145 s] ok lager_console_backend: -console_log_test_/0-fun-48- (verbose console logging)...[0.075 s] ok lager_console_backend: -console_log_test_/0-fun-45- (custom format console logging)...[0.027 s] ok lager_console_backend: -console_log_test_/0-fun-42- (tracing should work)...[1.895 s] ok lager_console_backend: -console_log_test_/0-fun-37- (tracing doesn't duplicate messages)...[2.176 s] ok lager_console_backend: -console_log_test_/0-fun-30- (blacklisting a loglevel works)...[0.553 s] ok lager_console_backend: -console_log_test_/0-fun-25- (whitelisting a loglevel works)...[0.552 s] ok lager_console_backend: -console_log_test_/0-fun-20- (console backend with custom group leader)...[0.648 s] ok lager_console_backend: -console_log_test_/0-fun-13- (console backend with custom group leader using a trace and an ID)...*failed* in function lager_console_backend:'-console_log_test_/0-fun-13-'/1 (/builddir/build/BUILD/lager-3.9.2/src/lager_console_backend.erl, line 550) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assertEqual,[{module,lager_console_backend}, {line,550}, {expression,"lager_config : get ( { lager_event , loglevel } )"}, {expected,{0,[]}}, {value,{0, [{{all,[{module,'=',lager_console_backend}]}, {mask,255}, {lager_console_backend,trace_test}}]}}]} output:<<"">> lager_console_backend: -set_loglevel_test_/0-fun-8- (Get/set loglevel test)...[0.051 s] ok lager_console_backend: -set_loglevel_test_/0-fun-3- (Get/set invalid loglevel test)...[0.002 s] ok [done in 23.593 s] module 'lager_crash_log' lager_crash_log: -filesystem_test_/0-fun-30- (under normal circumstances, file should be opened)...[0.090 s] ok lager_crash_log: -filesystem_test_/0-fun-27- (file can't be opened on startup triggers an error message)...[0.074 s] ok lager_crash_log: -filesystem_test_/0-fun-21- (file that becomes unavailable at runtime should trigger an error message)...[0.114 s] ok lager_crash_log: -filesystem_test_/0-fun-11- (unavailable files that are fixed at runtime should start having log messages written)...[0.068 s] ok lager_crash_log: -filesystem_test_/0-fun-6- (external logfile rotation/deletion should be handled)...[0.121 s] ok [done in 10.926 s] module 'lager_default_formatter' lager_default_formatter:277: -basic_test_/0-fun-59- (Default formatting test)...[0.001 s] 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)...[0.001 s] ok lager_default_formatter:305: -basic_test_/0-fun-53- (Non existent metadata can default to string)...[0.001 s] ok lager_default_formatter:315: -basic_test_/0-fun-51- (Non existent metadata can default to other metadata)...[0.001 s] ok lager_default_formatter:325: -basic_test_/0-fun-49- (Non existent metadata can default to a string2)...[0.001 s] ok lager_default_formatter:335: -basic_test_/0-fun-47- (Metadata can have extra formatting)...[0.002 s] ok lager_default_formatter:345: -basic_test_/0-fun-45- (Metadata can have extra formatting1)...[0.001 s] ok lager_default_formatter:355: -basic_test_/0-fun-43- (Metadata can have extra formatting2)...[0.001 s] ok lager_default_formatter:365: -basic_test_/0-fun-41- (Metadata can have extra formatting3)...[0.001 s] ok lager_default_formatter:375: -basic_test_/0-fun-39- (Metadata can be printed in its enterity)...[0.001 s] ok lager_default_formatter:385: -basic_test_/0-fun-37- (Metadata can be printed in its enterity with custom seperators)...[0.002 s] ok lager_default_formatter:395: -basic_test_/0-fun-35- (Metadata can have extra formatting with width 1)...[0.002 s] ok lager_default_formatter:409: -basic_test_/0-fun-33- (Metadata can have extra formatting with width 2)...[0.002 s] ok lager_default_formatter:419: -basic_test_/0-fun-31- (Metadata can have extra formatting with width 3)...[0.002 s] ok lager_default_formatter:429: -basic_test_/0-fun-29- (Metadata can have extra formatting with width 4)...[0.001 s] ok lager_default_formatter:439: -basic_test_/0-fun-27- (Metadata can have extra formatting with width 5)...[0.001 s] ok lager_default_formatter:449: -basic_test_/0-fun-25- (Metadata can have extra formatting with width 6)...[0.002 s] ok lager_default_formatter:459: -basic_test_/0-fun-23- (Uppercase Severity Formatting - DEBUG)...[0.001 s] ok lager_default_formatter:468: -basic_test_/0-fun-21- (Uppercase Severity Formatting - INFO)...[0.001 s] ok lager_default_formatter:477: -basic_test_/0-fun-19- (Uppercase Severity Formatting - NOTICE)...[0.001 s] ok lager_default_formatter:486: -basic_test_/0-fun-17- (Uppercase Severity Formatting - WARNING)...[0.001 s] ok lager_default_formatter:495: -basic_test_/0-fun-15- (Uppercase Severity Formatting - ERROR)...[0.001 s] ok lager_default_formatter:504: -basic_test_/0-fun-13- (Uppercase Severity Formatting - CRITICAL)...[0.001 s] ok lager_default_formatter:513: -basic_test_/0-fun-11- (Uppercase Severity Formatting - ALERT)...[0.002 s] ok lager_default_formatter:522: -basic_test_/0-fun-9- (Uppercase Severity Formatting - EMERGENCY)...[0.001 s] ok lager_default_formatter:534: -basic_test_/0-fun-5- (pterm presence test)...[0.003 s] ok lager_default_formatter:550: -basic_test_/0-fun-3- (pterm absence test)...[0.001 s] ok lager_default_formatter:566: -basic_test_/0-fun-1- (node formatting basic)...[0.007 s] ok [done in 0.217 s] module 'lager_file_backend' lager_file_backend: get_loglevel_test...[0.001 s] ok lager_file_backend: -rotation_test_/0-fun-17- (External rotation should work)...[0.195 s] ok lager_file_backend: -rotation_test_/0-fun-8- (Internal rotation and delayed write)...[1.076 s] ok lager_file_backend: -filesystem_test_/0-fun-81- (under normal circumstances, file should be opened)...[0.052 s] ok lager_file_backend: -filesystem_test_/0-fun-79- (don't choke on unicode)...[0.048 s] ok lager_file_backend: -filesystem_test_/0-fun-77- (don't choke on latin-1)...[0.052 s] ok lager_file_backend: -filesystem_test_/0-fun-75- (file can't be opened on startup triggers an error message)...[0.062 s] ok lager_file_backend: -filesystem_test_/0-fun-69- (file that becomes unavailable at runtime should trigger an error message)...[0.147 s] ok lager_file_backend: -filesystem_test_/0-fun-62- (unavailable files that are fixed at runtime should start having log messages written)...[0.129 s] ok lager_file_backend: -filesystem_test_/0-fun-55- (external logfile rotation/deletion should be handled)...[0.157 s] ok lager_file_backend: -filesystem_test_/0-fun-45- (internal size rotation should work)...[0.120 s] ok lager_file_backend: -filesystem_test_/0-fun-43- (internal time rotation should work)...[0.151 s] ok lager_file_backend: -filesystem_test_/0-fun-41- (rotation call should work)...[0.127 s] ok lager_file_backend: -filesystem_test_/0-fun-39- (sync_on option should work)...[0.069 s] ok lager_file_backend: -filesystem_test_/0-fun-36- (sync_on none option should work (also tests sync_interval))...[2.052 s] ok lager_file_backend: -filesystem_test_/0-fun-32- (sync_size option should work)...[0.120 s] ok lager_file_backend: -filesystem_test_/0-fun-28- (runtime level changes)...[0.088 s] ok lager_file_backend: -filesystem_test_/0-fun-23- (invalid runtime level changes)...[0.044 s] ok lager_file_backend: -filesystem_test_/0-fun-21- (tracing should work)...[1.072 s] ok lager_file_backend: -filesystem_test_/0-fun-18- (tracing should not duplicate messages)...[0.646 s] ok lager_file_backend: -filesystem_test_/0-fun-12- (tracing to a dedicated file should work)...[0.991 s] ok lager_file_backend: -filesystem_test_/0-fun-10- (tracing to a dedicated file should work even if root_log is set)...[0.967 s] ok lager_file_backend: -filesystem_test_/0-fun-8- (tracing with options should work)...[1.007 s] ok lager_file_backend: -filesystem_test_/0-fun-5- (no silent hwm drops)...[1.633 s] ok lager_file_backend: -trace_files_test_/0-fun-5- (a trace using file backend set up in configuration should work)...[1.167 s] ok lager_file_backend: -formatting_test_/0-fun-2- (Should have two log files, the second prefixed with 2>)...[0.121 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)...[0.001 s] 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)...[0.001 s] ok lager_file_backend:1165: -config_validation_test_/0-fun-13- (bad sync_interval)...[0.001 s] 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)...[0.001 s] 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 36.006 s] module 'lager_format' module 'lager_handler_watcher' lager_handler_watcher: -reinstall_on_initial_failure_test_/0-fun-3-...[6.960 s] ok lager_handler_watcher: -reinstall_on_runtime_failure_test_/0-fun-3-...[6.969 s] ok lager_handler_watcher: -reinstall_handlers_after_killer_hwm_test_/0-fun-1-...[8.110 s] ok [done in 22.058 s] module 'lager_handler_watcher_sup' [done in 0.001 s] module 'lager_manager_killer' module 'lager_msg' module 'lager_rotator_behaviour' module 'lager_rotator_default' lager_rotator_default: rotate_file_test...[1.922 s] ok lager_rotator_default: rotate_file_zero_count_test...[0.062 s] ok lager_rotator_default: rotate_file_fail_test...[2.078 s] ok [done in 4.081 s] module 'lager_stdlib' module 'lager_sup' module 'lager_transform' module 'lager_trunc_io' lager_trunc_io: format_test...[0.007 s] ok lager_trunc_io: atom_quoting_test...[0.002 s] ok lager_trunc_io: sane_float_printing_test...[0.003 s] ok lager_trunc_io: float_inside_list_test...[0.001 s] ok lager_trunc_io: quote_strip_test...[0.002 s] ok lager_trunc_io: binary_printing_test...[0.012 s] ok lager_trunc_io: bitstring_printing_test...[0.004 s] ok lager_trunc_io: list_printing_test...[0.012 s] ok lager_trunc_io: iolist_printing_test...[0.003 s] ok lager_trunc_io: tuple_printing_test...[0.004 s] ok lager_trunc_io: map_printing_test...*failed* in function lager_trunc_io:map_printing_test/0 (/builddir/build/BUILD/lager-3.9.2/src/lager_trunc_io.erl, line 753) in call from eunit_test:'-mf_wrapper/2-fun-0-'/2 (eunit_test.erl, line 273) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) **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...[0.001 s] ok lager_trunc_io: depth_limit_test...[0.026 s] ok lager_trunc_io: print_terms_without_format_string_test...[0.001 s] ok lager_trunc_io: improper_io_list_test...[0.001 s] ok [done in 0.157 s] module 'lager_util' lager_util: parse_test...ok lager_util: parse_fail_test...ok lager_util: rotation_calculation_test...[0.002 s] ok lager_util: check_trace_test...=INFO REPORT==== 8-Dec-2023::17:21:26.017495 === application: lager exited: stopped type: permanent =INFO REPORT==== 8-Dec-2023::17:21:26.040631 === application: goldrush exited: stopped type: permanent [1.846 s] ok lager_util:764: -is_loggable_test_/0-fun-9- (Loggable by severity only)...[0.001 s] ok lager_util:765: -is_loggable_test_/0-fun-7- (Not loggable by severity only)...[0.001 s] ok lager_util:766: -is_loggable_test_/0-fun-5- (Loggable by severity with destination)...[0.001 s] ok lager_util:767: -is_loggable_test_/0-fun-3- (Not loggable by severity with destination)...[0.001 s] ok lager_util:768: -is_loggable_test_/0-fun-1- (Loggable by destination overriding severity)...[0.001 s] 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...[0.002 s] ok lager_util: config_to_mask_test...[0.001 s] ok lager_util: mask_to_levels_test...[0.002 s] ok lager_util: expand_path_test...[0.022 s] ok lager_util:856: -sink_name_test_/0-fun-3-...ok lager_util:857: -sink_name_test_/0-fun-1-...ok [done in 1.978 s] [done in 106.260 s] [done in 106.276 s] compress_pr_record_test: nested_record_test (module 'compress_pr_record_test')...[0.001 s] ok module 'crash' module 'crash_fsm' module 'crash_statem' module 'lager_crash_backend' module 'lager_manager_killer_test' lager_manager_killer_test: -overload_test_/0-fun-3-...=ERROR REPORT==== 8-Dec-2023::17:21:26.382630 === calling logger:remove_handler(default) failed: error {badmatch, {error, {not_found,default}}} =ERROR REPORT==== 8-Dec-2023::17:21:27.395671 === ** gen_event handler lager_manager_killer crashed. ** Was installed in lager_event ** Last event was: {log, {lager_msg,[], [{pid,<0.2955.0>}, {line,127}, {file, "/builddir/build/BUILD/lager-3.9.2/src/lager_handler_watcher.erl"}, {module,lager_handler_watcher}], debug, {["2023",45,"12",45,"08"], ["17",58,"21",58,"26",46,"388"]}, {1702,74086,388784}, [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]} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2951.0>,unlink,<0.2949.0>} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2949.0>,getting_unlinked,<0.2951.0>} =ERROR REPORT==== 8-Dec-2023::17:21:27.413317 === Killing sink lager_event, current message_queue_len:12 /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:101:<0.1413.0>: Manager <0.2949.0> killed =INFO REPORT==== 8-Dec-2023::17:21:28.480470 === application: lager exited: stopped type: temporary [2.163 s] ok lager_manager_killer_test: -overload_alternate_sink_test_/0-fun-3-.../builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2949.0>,unregister,lager_event} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2952.0>,getting_unlinked,<0.2949.0>} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2948.0>,getting_unlinked,<0.2949.0>} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2951.0>,exit,normal} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2952.0>,exit,normal} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2950.0>,getting_unlinked,<0.2951.0>} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2950.0>,getting_unlinked,<0.2952.0>} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2948.0>,spawn,<0.2961.0>, {proc_lib,init_p, [lager_sup, [<0.2947.0>], gen,init_it, [gen_event,<0.2948.0>,<0.2948.0>, {local,lager_event}, 'no callback module',[],[]]]}} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2948.0>,link,<0.2961.0>} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2961.0>,spawned,<0.2948.0>, {proc_lib,init_p, [lager_sup, [<0.2947.0>], gen,init_it, [gen_event,<0.2948.0>,<0.2948.0>, {local,lager_event}, 'no callback module',[],[]]]}} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2961.0>,getting_linked,<0.2948.0>} =ERROR REPORT==== 8-Dec-2023::17:21:30.431400 === ** 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.1413.0>"}, {node,nonode@nohost}], info, {["2023",45,"12",45,"08"], ["17",58,"21",58,"29",46,"426"]}, {1702,74089,426574}, ["1",39,116,104,32,109,101,115,115,97,103, 101]}} ** When handler state == {state,10,1000} ** Reason == {kill_me,[10,1000]} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2976.0>,unlink,<0.2975.0>} /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:103:<0.1413.0>: OTHER MSG: {trace,<0.2975.0>,getting_unlinked,<0.2976.0>} =ERROR REPORT==== 8-Dec-2023::17:21:30.441154 === Killing sink '__lager_test_sink_lager_event', current message_queue_len:10 /builddir/build/BUILD/lager-3.9.2/test/lager_manager_killer_test.erl:101:<0.1413.0>: Manager <0.2975.0> killed =INFO REPORT==== 8-Dec-2023::17:21:31.544759 === application: lager exited: stopped type: temporary [3.047 s] ok [done in 5.233 s] module 'lager_metadata_whitelist_test' lager_metadata_whitelist_test: -basic_test_/0-fun-7- (Meta)...[0.003 s] ok lager_metadata_whitelist_test: -basic_test_/0-fun-5- (Meta1)...[0.004 s] ok lager_metadata_whitelist_test: -basic_test_/0-fun-3- (Meta2)...[0.006 s] ok lager_metadata_whitelist_test: -basic_test_/0-fun-1- (Meta3)...[0.004 s] ok [done in 5.207 s] module 'lager_rotate' lager_rotate: -rotate_test_/0-fun-7- (Rotate single file)...[0.242 s] ok lager_rotate: -rotate_test_/0-fun-4- (Rotate sink)...[0.245 s] ok lager_rotate: -rotate_test_/0-fun-1- (Rotate all)...[0.263 s] ok [done in 6.884 s] module 'lager_slow_backend' 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)...[0.002 s] ok lager_test_backend: -lager_test_/0-fun-203- (test sink not running)...[0.001 s] ok lager_test_backend: -lager_test_/0-fun-201- (logging works)...[0.005 s] ok lager_test_backend: -lager_test_/0-fun-197- (logging with macro works)...[0.004 s] ok lager_test_backend: -lager_test_/0-fun-193- (unsafe logging works)...[0.005 s] ok lager_test_backend: -lager_test_/0-fun-189- (logging with arguments works)...[0.010 s] ok lager_test_backend: -lager_test_/0-fun-185- (logging with macro and arguments works)...[0.004 s] ok lager_test_backend: -lager_test_/0-fun-181- (unsafe logging with args works)...[0.005 s] ok lager_test_backend: -lager_test_/0-fun-177- (logging works from inside a begin/end block)...[0.004 s] ok lager_test_backend: -lager_test_/0-fun-174- (logging works from inside a list comprehension)...[0.021 s] ok lager_test_backend: -lager_test_/0-fun-170- (logging works from a begin/end block inside a list comprehension)...[0.021 s] ok lager_test_backend: -lager_test_/0-fun-166- (logging works from a nested list comprehension)...[0.131 s] ok lager_test_backend: -lager_test_/0-fun-161- (logging with only metadata works)...[0.007 s] ok lager_test_backend: -lager_test_/0-fun-158- (variables inplace of literals in logging statements work)...[0.021 s] ok lager_test_backend: -lager_test_/0-fun-147- (list comprehension inplace of literals in logging statements work)...[0.019 s] ok lager_test_backend: -lager_test_/0-fun-128- (function calls inplace of literals in logging statements work)...[0.020 s] ok lager_test_backend: -lager_test_/0-fun-116- (record fields inplace of literals in logging statements work)...[0.019 s] ok lager_test_backend: -lager_test_/0-fun-105- (log messages below the threshold are ignored)...[0.012 s] ok lager_test_backend: -lager_test_/0-fun-95- (tracing works)...[0.956 s] ok lager_test_backend: -lager_test_/0-fun-91- (tracing works with custom attributes)...[2.951 s] ok lager_test_backend: -lager_test_/0-fun-85- (tracing works with custom attributes and event stream processing)...*timed out* in function compile:do_compile/2 (compile.erl, line 216) in call from glc_code:compile_forms/2 (src/glc_code.erl, line 621) in call from glc_code:compile/3 (src/glc_code.erl, line 52) in call from glc:compile/5 (src/glc.erl, line 227) in call from lager_util:trace_filter/2 (/builddir/build/BUILD/lager-3.9.2/src/lager_util.erl, line 344) in call from lager:add_trace_to_loglevel_config/2 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 515) in call from lager:trace/3 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 290) in call from lager_test_backend:'-lager_test_/0-fun-85-'/0 (/builddir/build/BUILD/lager-3.9.2/test/lager_test_backend.erl, line 495) undefined lager_test_backend: -lager_test_/0-fun-72- (tracing custom attributes works with event stream processing statistics and reductions)...*timed out* in function compile:do_compile/2 (compile.erl, line 216) in call from glc_code:compile_forms/2 (src/glc_code.erl, line 621) in call from glc_code:compile/3 (src/glc_code.erl, line 52) in call from glc:compile/5 (src/glc.erl, line 227) in call from lager_util:trace_filter/2 (/builddir/build/BUILD/lager-3.9.2/src/lager_util.erl, line 342) in call from lager:clear_all_traces/0 (/builddir/build/BUILD/lager-3.9.2/src/lager.erl, line 365) in call from lager_test_backend:'-lager_test_/0-fun-72-'/0 (/builddir/build/BUILD/lager-3.9.2/test/lager_test_backend.erl, line 561) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) undefined lager_test_backend: -lager_test_/0-fun-61- (persistent traces work)...[1.888 s] ok lager_test_backend: -lager_test_/0-fun-57- (tracing honors loglevel)...[1.736 s] ok lager_test_backend: -lager_test_/0-fun-52- (stopped trace stops and removes its event handler - default sink (gh#267))...[3.460 s] ok lager_test_backend: -lager_test_/0-fun-41- (record printing works)...[0.105 s] ok lager_test_backend: -lager_test_/0-fun-38- (record printing fails gracefully)...[0.106 s] ok lager_test_backend: -lager_test_/0-fun-35- (record printing fails gracefully when no lager_record attribute)...[0.104 s] ok lager_test_backend: -lager_test_/0-fun-31- (record printing fails gracefully when input is not a tuple)...[0.103 s] ok lager_test_backend: -lager_test_/0-fun-27- (record printing fails gracefully when module is invalid)...[1.003 s] ok lager_test_backend: -lager_test_/0-fun-23- (installing a new handler adjusts the global loglevel if necessary)...[0.005 s] ok lager_test_backend: -lager_test_/0-fun-20- (metadata in the process dictionary works)...[0.009 s] ok lager_test_backend: -lager_test_/0-fun-11- (unsafe messages really are not truncated)...[0.029 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)...[0.003 s] ok lager_test_backend: -lager_test_/0-fun-2- (dates should be UTC if SASL is configured as UTC)...[0.007 s] ok lager_test_backend: -extra_sinks_test_/0-fun-42- (observe that there is nothing up my sleeve)...[0.001 s] ok lager_test_backend: -extra_sinks_test_/0-fun-39- (logging works)...[0.005 s] ok lager_test_backend: -extra_sinks_test_/0-fun-35- (logging with arguments works)...[0.004 s] ok lager_test_backend: -extra_sinks_test_/0-fun-31- (variables inplace of literals in logging statements work)...[0.027 s] ok lager_test_backend: -extra_sinks_test_/0-fun-20- (stopped trace stops and removes its event handler - test sink (gh#267))...[3.819 s] ok lager_test_backend: -extra_sinks_test_/0-fun-9- (log messages below the threshold are ignored)...[0.025 s] ok FSM crash output tests Default sink lager_test_backend: -crash_fsm_test_/0-fun-7- (again, there is nothing up my sleeve)...[0.001 s] ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem crash)...[0.103 s] ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem stop)...[0.104 s] ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem timeout)...[0.104 s] ok [done in 4.034 s] Error logger sink lager_test_backend: -crash_fsm_test_/0-fun-7- (again, there is nothing up my sleeve)...[0.001 s] ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem crash)...[0.103 s] ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem stop)...[0.104 s] ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem timeout)...[0.105 s] ok [done in 4.174 s] [done in 8.209 s] 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)...[0.002 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return value)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return value with string)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return uncaught throw)...[0.103 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause)...[0.107 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause string)...[0.105 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (function clause)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (if clause)...[0.105 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (try clause)...[0.105 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (undefined function)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad math)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad match)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arity)...[0.103 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg1)...[0.107 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg2)...[0.105 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad record)...[0.105 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc).../builddir/build/BUILD/lager-3.9.2/test/lager_test_backend.erl:949:<0.5456.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.106 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc_proc_lib)...[0.105 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (badfun)...[0.104 s] ok [done in 18.142 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)...[0.001 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return value)...[0.105 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return value with string)...[0.103 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return uncaught throw)...[0.103 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause string)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (function clause)...[0.105 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (if clause)...[0.105 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (try clause)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (undefined function)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad math)...[0.103 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad match)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arity)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg1)...[0.105 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg2)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad record)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc).../builddir/build/BUILD/lager-3.9.2/test/lager_test_backend.erl:949:<0.6221.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.109 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc_proc_lib)...[0.104 s] ok lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (badfun)...[0.104 s] ok [done in 16.771 s] [done in 34.913 s] Error logger redirect Redirect to default sink lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error reports are printed)...[0.006 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string error reports are printed)...[0.008 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are printed)...[0.011 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages with unicode characters in Args are printed)...[0.007 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are truncated at 4096 characters)...[0.207 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are printed)...[0.009 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are truncated at 4096 characters)...[0.165 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term info reports are printed)...[0.010 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term error reports are printed)...[0.007 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are printed)...[0.007 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are truncated at 4096 characters)...[0.280 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (strings in a mixed report are printed as strings)...[0.007 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are printed)...[0.007 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are truncated at 4096 characters)...[0.149 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages with unicode characters in Args are printed)...[0.005 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning messages with unicode characters in Args are printed)...[0.006 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning messages are printed at the correct level)...[0.003 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning reports are printed at the correct level)...[0.005 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term warning reports are printed at the correct level)...[0.006 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (application stop reports)...[0.006 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports)...[0.007 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports with real error)...[0.013 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports with real error and pid)...[0.007 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor_bridge reports)...[0.010 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (application progress report)...[0.008 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report)...[0.008 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report with pid)...[0.013 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for emfile)...[0.013 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system process limit)...[0.025 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system process limit2)...[0.010 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system port limit)...[0.013 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system port limit)...[0.010 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system ets table limit)...[0.005 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for unknown system limit should be truncated at 500 characters)...[0.018 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - function_clause)...[0.526 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - case_clause)...[0.506 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - exit)...[0.507 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - error)...[0.510 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (webmachine error reports)...[0.012 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 8 arg version)...[0.011 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 10 arg version)...[0.007 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 5 arg version)...[0.005 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 6 arg version)...[0.009 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (messages should not be generated if they don't satisfy the threshold)...[0.054 s] ok [done in 81.267 s] Redirect to error_logger_lager_event sink lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error reports are printed)...[0.018 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string error reports are printed)...[0.013 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are printed)...[0.007 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages with unicode characters in Args are printed)...[0.005 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are truncated at 4096 characters)...[0.347 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are printed)...[0.007 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are truncated at 4096 characters)...[0.147 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term info reports are printed)...[0.030 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term error reports are printed)...[0.011 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are printed)...[0.004 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are truncated at 4096 characters)...[2.056 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (strings in a mixed report are printed as strings)...[0.008 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are printed)...[0.024 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are truncated at 4096 characters)...[0.177 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages with unicode characters in Args are printed)...[0.012 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning messages with unicode characters in Args are printed)...[0.010 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning messages are printed at the correct level)...[0.013 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning reports are printed at the correct level)...[0.009 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term warning reports are printed at the correct level)...[0.006 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (application stop reports)...[0.006 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports)...[0.015 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports with real error)...[0.036 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports with real error and pid)...[0.016 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor_bridge reports)...[0.021 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (application progress report)...[0.011 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report)...[0.009 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report with pid)...[0.014 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for emfile)...[0.007 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system process limit)...[0.010 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system process limit2)...[0.016 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system port limit)...[0.010 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system port limit)...[0.012 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system ets table limit)...[0.011 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for unknown system limit should be truncated at 500 characters)...[0.029 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - function_clause)...[0.509 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - case_clause)...[0.508 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - exit)...[0.506 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - error)...[0.506 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (webmachine error reports)...[0.009 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 8 arg version)...[0.012 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 10 arg version)...[0.025 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 5 arg version)...[0.009 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 6 arg version)...[0.009 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (messages should not be generated if they don't satisfy the threshold)...[0.043 s] ok [done in 98.516 s] [done in 179.785 s] lager_test_backend: safe_format_test...[0.003 s] ok lager_test_backend: unsafe_format_test...[0.020 s] ok lager_test_backend: -async_threshold_test_/0-fun-8- (async threshold works)...*failed* in function gen:do_for_proc/2 (gen.erl, line 579) in call from gen_event:rpc/2 (gen_event.erl, line 459) in call from lager_test_backend:'-async_threshold_test_/0-fun-8-'/0 (/builddir/build/BUILD/lager-3.9.2/test/lager_test_backend.erl, line 1821) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) **exit:noproc output:<<"">> lager_test_backend: -high_watermark_test_/0-fun-7- (Nothing dropped when error_logger high watermark is undefined)...*failed* in function lager_test_backend:'-high_watermark_test_/0-fun-7-'/0 (/builddir/build/BUILD/lager-3.9.2/test/lager_test_backend.erl, line 1891) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) in call from eunit_proc:run_test/1 (eunit_proc.erl, line 531) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 356) in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 514) in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 456) in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 346) in call from eunit_proc:run_group/2 (eunit_proc.erl, line 570) **error:{assert,[{module,lager_test_backend}, {line,1891}, {expression,"count ( ) >= 10"}, {expected,true}, {value,false}]} output:<<"">> lager_test_backend: -high_watermark_test_/0-fun-5- (Mostly dropped according to error_logger high watermark)...[1.119 s] ok lager_test_backend: -high_watermark_test_/0-fun-3- (Non-notifications are not dropped)...[1.159 s] ok [done in 333.214 s] module 'lager_test_function_transform' lager_test_function_transform: not_running_test...[0.001 s] ok lager_test_function_transform: -transform_function_test_/0-fun-37- (observe that there is nothing up my sleeve)...[0.001 s] ok lager_test_function_transform: -transform_function_test_/0-fun-34- (logging works)...[0.006 s] ok lager_test_function_transform: -transform_function_test_/0-fun-30- (Testing calling a function returns the same content on emit)...[0.013 s] ok lager_test_function_transform: -transform_function_test_/0-fun-27- (Testing calling a function which returns content which can change on emit)...[0.005 s] ok lager_test_function_transform: -transform_function_test_/0-fun-21- (Testing a undefined function returns undefined on emit)...[0.009 s] ok lager_test_function_transform: -transform_function_test_/0-fun-18- (Testing calling a function returns the same content on log)...[0.006 s] ok lager_test_function_transform: -transform_function_test_/0-fun-15- (Testing calling a dynamic function on log which returns the same value)...[0.009 s] ok lager_test_function_transform: -transform_function_test_/0-fun-8- (Testing differences in results for on_log vs on emit from dynamic function)...[0.010 s] ok lager_test_function_transform: -transform_function_test_/0-fun-3- (Testing a function provided via metadata)...[0.008 s] ok [done in 8.665 s] module 'lager_trace_test' lager_trace_test: -trace_test_/0-fun-2- (Trace combined with log_root)...[3.707 s] ok lager_trace_test: -trace_silence_test_/0-fun-2- (Trace filter silences output)...[3.724 s] ok [done in 10.208 s] module 'pr_composite_test' pr_composite_test: nested_record_test...ok pr_composite_test: list_field_test...[0.001 s] ok pr_composite_test: list_of_records_test...ok pr_composite_test: improper_list_test...[0.001 s] ok [done in 0.025 s] module 'pr_stacktrace_test' pr_stacktrace_test: pr_stacktrace_throw_test...[0.003 s] ok pr_stacktrace_test: pr_stacktrace_bad_arg_test...[0.005 s] ok pr_stacktrace_test: pr_stacktrace_bad_arity_test...[0.002 s] ok pr_stacktrace_test: pr_stacktrace_no_reverse_test...[0.004 s] ok [done in 0.030 s] module 'special_process' module 'sync_error_logger' module 'trunc_io_eqc' zzzz_gh280_crash: gh280_crash_test (module 'zzzz_gh280_crash')...ok ======================================================= Failed: 4. Skipped: 0. Passed: 356. One or more tests were cancelled. ===> Error running tests error: Bad exit status from /var/tmp/rpm-tmp.fa0bZ4 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.fa0bZ4 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-lager.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/erlang-lager.spec