Diff of the two buildlogs: -- --- b1/build.log 2024-05-08 08:19:45.047259746 +0000 +++ b2/build.log 2024-05-08 08:24:59.649866203 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jun 10 02:37:46 -12 2025 -I: pbuilder-time-stamp: 1749566266 +I: Current time: Wed May 8 22:19:47 +14 2024 +I: pbuilder-time-stamp: 1715156387 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,54 +27,86 @@ dpkg-source: info: unpacking erlang-lager_3.9.2-3.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/108257/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/28511/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 8 08:19 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/28511/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/28511/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='54e5f29573de4ce4b349267c76e6eaa6' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='108257' - PS1='# ' - PS2='> ' + INVOCATION_ID=1b93b82d08274227afe7fcfae16d3109 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=28511 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.1btSgr7X/pbuilderrc_iBrL --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1btSgr7X/b1 --logfile b1/build.log erlang-lager_3.9.2-3.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.1btSgr7X/pbuilderrc_AjwJ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1btSgr7X/b2 --logfile b2/build.log erlang-lager_3.9.2-3.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 8 17:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/108257/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 7 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/28511/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -420,7 +452,7 @@ Get: 298 http://deb.debian.org/debian trixie/main i386 rebar i386 2.6.4-4 [204 kB] Get: 299 http://deb.debian.org/debian trixie/main i386 dh-rebar all 0.0.6 [7820 B] Get: 300 http://deb.debian.org/debian trixie/main i386 erlang-goldrush i386 0.2.0-9 [72.3 kB] -Fetched 188 MB in 2s (81.8 MB/s) +Fetched 188 MB in 3s (62.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19683 files and directories currently installed.) @@ -1657,7 +1689,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/erlang-lager-3.9.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../erlang-lager_3.9.2-3_source.changes +I: user script /srv/workspace/pbuilder/28511/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/28511/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/erlang-lager-3.9.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../erlang-lager_3.9.2-3_source.changes dpkg-buildpackage: info: source package erlang-lager dpkg-buildpackage: info: source version 3.9.2-3 dpkg-buildpackage: info: source distribution unstable @@ -1815,27 +1851,27 @@ Compiled src/lager_transform.erl Compiled src/lager_rotator_behaviour.erl DEBUG: Starting 3 compile worker(s) +Compiled src/lager_common_test_backend.erl +Compiled src/lager_rotator_default.erl +Compiled src/lager_handler_watcher.erl +Compiled src/lager_console_backend.erl Compiled src/lager_msg.erl -Compiled src/lager_sup.erl Compiled src/lager_manager_killer.erl +Compiled src/lager_stdlib.erl Compiled src/lager_handler_watcher_sup.erl -Compiled src/lager_common_test_backend.erl +Compiled src/lager_crash_log.erl Compiled src/lager_backend_throttle.erl +Compiled src/lager_trunc_io.erl +Compiled src/lager_app.erl +Compiled src/lager_file_backend.erl Compiled src/lager_config.erl -Compiled src/lager_handler_watcher.erl +Compiled src/lager_sup.erl +Compiled src/lager.erl Compiled src/lager_format.erl -Compiled src/lager_default_formatter.erl -Compiled src/lager_stdlib.erl -Compiled src/lager_file_backend.erl -Compiled src/error_logger_lager_h.erl -Compiled src/lager_console_backend.erl -Compiled src/lager_app.erl -Compiled src/lager_crash_log.erl -Compiled src/lager_rotator_default.erl DEBUG: Worker exited cleanly -Compiled src/lager_trunc_io.erl +Compiled src/lager_default_formatter.erl DEBUG: Worker exited cleanly -Compiled src/lager.erl +Compiled src/error_logger_lager_h.erl DEBUG: Worker exited cleanly INFO: No app_vars_file defined. DEBUG: Postdirs: [] @@ -1847,51 +1883,278 @@ Compiled src/lager_util.erl Compiled src/lager_transform.erl Compiled src/lager_rotator_behaviour.erl +Compiled src/lager_common_test_backend.erl +Compiled src/lager_rotator_default.erl +Compiled src/lager_stdlib.erl +Compiled src/lager_handler_watcher.erl +Compiled src/lager_console_backend.erl Compiled src/lager_msg.erl -Compiled src/lager_sup.erl Compiled src/lager_manager_killer.erl Compiled src/lager_handler_watcher_sup.erl -Compiled src/lager_common_test_backend.erl +Compiled src/lager_crash_log.erl Compiled src/lager_backend_throttle.erl -Compiled src/lager_config.erl +Compiled src/lager_app.erl +Compiled src/lager.erl Compiled src/lager_format.erl -Compiled src/lager_handler_watcher.erl -Compiled src/lager_default_formatter.erl -Compiled src/lager_stdlib.erl Compiled src/lager_file_backend.erl -Compiled src/error_logger_lager_h.erl -Compiled src/lager_app.erl -Compiled src/lager_console_backend.erl -Compiled src/lager_crash_log.erl -Compiled src/lager_rotator_default.erl -Compiled test/lager_crash_backend.erl +Compiled src/lager_sup.erl +Compiled src/lager_config.erl +Compiled src/lager_trunc_io.erl +Compiled test/trunc_io_eqc.erl Compiled test/crash_statem.erl -Compiled test/crash_fsm.erl +Compiled test/lager_crash_backend.erl +Compiled test/pr_composite_test.erl +Compiled test/lager_manager_killer_test.erl pr_stacktrace_test.erl:14:5: Warning: the call to integer_to_list/1 will fail with a 'badarg' exception 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 -Compiled src/lager.erl -Compiled test/lager_metadata_whitelist_test.erl -Compiled test/zzzz_gh280_crash.erl -Compiled test/sync_error_logger.erl -Compiled test/compress_pr_record_test.erl +Compiled src/lager_default_formatter.erl Compiled test/lager_test_function_transform.erl +Compiled test/lager_rotate.erl Compiled test/lager_trace_test.erl +Compiled test/compress_pr_record_test.erl +Compiled test/zzzz_gh280_crash.erl Compiled test/lager_app_tests.erl -Compiled test/pr_composite_test.erl -Compiled test/trunc_io_eqc.erl crash.erl:27:13: Warning: invalid function call crash.erl:66:11: Warning: the call to list_to_binary/1 will fail with a 'badarg' exception crash.erl:27:13: Warning: invalid function call 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_manager_killer_test.erl -Compiled test/lager_rotate.erl Compiled test/lager_slow_backend.erl +Compiled test/lager_metadata_whitelist_test.erl +Compiled test/sync_error_logger.erl Compiled test/special_process.erl -Compiled src/lager_trunc_io.erl +Compiled test/crash_fsm.erl +Compiled src/error_logger_lager_h.erl Compiled test/lager_test_backend.erl ======================== EUnit ======================== +module 'lager_backend_throttle' +module 'lager_common_test_backend' +module 'lager_crash_log' + lager_crash_log: -filesystem_test_/0-fun-30- (under normal circumstances, file should be opened)...[0.003 s] ok + lager_crash_log: -filesystem_test_/0-fun-27- (file can't be opened on startup triggers an error message)...[0.003 s] ok + lager_crash_log: -filesystem_test_/0-fun-21- (file that becomes unavailable at runtime should trigger an error message)...[0.005 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.006 s] ok + [done in 5.370 s] +module 'lager_slow_backend' +module 'lager_stdlib' +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)...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)...=ERROR REPORT==== 8-May-2024::08:21:20.887438 === +Cannot have same file ("same_file.log") in multiple file backends + +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)...[0.005 s] 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.046 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.008 s] ok + lager_file_backend: -rotation_test_/0-fun-8- (Internal rotation and delayed write)...[1.004 s] ok + lager_file_backend: -filesystem_test_/0-fun-81- (under normal circumstances, file should be opened)...[0.003 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.003 s] ok + lager_file_backend: -filesystem_test_/0-fun-75- (file can't be opened on startup triggers an error message)...[0.003 s] ok + lager_file_backend: -filesystem_test_/0-fun-69- (file that becomes unavailable at runtime should trigger an error message)...[0.004 s] ok + lager_file_backend: -filesystem_test_/0-fun-62- (unavailable files that are fixed at runtime should start having log messages written)...[0.003 s] ok + lager_file_backend: -filesystem_test_/0-fun-55- (external logfile rotation/deletion should be handled)...[0.009 s] ok + lager_file_backend: -filesystem_test_/0-fun-45- (internal size rotation should work)...[0.005 s] ok + lager_file_backend: -filesystem_test_/0-fun-43- (internal time rotation should work)...[0.006 s] ok + lager_file_backend: -filesystem_test_/0-fun-41- (rotation call should work)...[0.006 s] ok + lager_file_backend: -filesystem_test_/0-fun-39- (sync_on option should work)...[0.003 s] ok + lager_file_backend: -filesystem_test_/0-fun-36- (sync_on none option should work (also tests sync_interval))...[2.002 s] ok + lager_file_backend: -filesystem_test_/0-fun-32- (sync_size option should work)...[0.002 s] ok + lager_file_backend: -filesystem_test_/0-fun-28- (runtime level changes)...[0.005 s] ok + lager_file_backend: -filesystem_test_/0-fun-23- (invalid runtime level changes)...[0.001 s] ok + lager_file_backend: -filesystem_test_/0-fun-21- (tracing should work)...[1.009 s] ok + lager_file_backend: -filesystem_test_/0-fun-18- (tracing should not duplicate messages)...[0.510 s] ok + lager_file_backend: -filesystem_test_/0-fun-12- (tracing to a dedicated file should work)...[0.052 s] ok + lager_file_backend: -filesystem_test_/0-fun-10- (tracing to a dedicated file should work even if root_log is set)...[0.051 s] ok + lager_file_backend: -filesystem_test_/0-fun-8- (tracing with options should work)...[0.070 s] ok + lager_file_backend: -filesystem_test_/0-fun-5- (no silent hwm drops)...[1.312 s] ok + lager_file_backend: -trace_files_test_/0-fun-5- (a trace using file backend set up in configuration should work)...[1.009 s] ok + lager_file_backend: -formatting_test_/0-fun-2- (Should have two log files, the second prefixed with 2>)...[0.004 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.610 s] +module 'lager_transform' +module 'lager_manager_killer' +module 'trunc_io_eqc' +module 'lager_msg' +module 'special_process' +module 'crash_fsm' +module 'pr_stacktrace_test' + pr_stacktrace_test: pr_stacktrace_throw_test...ok + pr_stacktrace_test: pr_stacktrace_bad_arg_test...*failed* +in function pr_stacktrace_test:pr_stacktrace_bad_arg_test/0 (pr_stacktrace_test.erl, line 34) +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:{assertNotEqual,[{module,pr_stacktrace_test}, + {line,34}, + {expression,"string : find ( Got , Want )"}, + {value,nomatch}]} + output:<<"">> + + pr_stacktrace_test: pr_stacktrace_bad_arity_test...ok + pr_stacktrace_test: pr_stacktrace_no_reverse_test...ok + [done in 0.012 s] +module 'lager_trace_test' + lager_trace_test: -trace_test_/0-fun-2- (Trace combined with log_root)...[4.177 s] ok + [done in 4.180 s] +module 'lager_handler_watcher' + lager_handler_watcher: -reinstall_on_initial_failure_test_/0-fun-3-...[6.051 s] ok + lager_handler_watcher: -reinstall_on_runtime_failure_test_/0-fun-3-...[6.050 s] ok + lager_handler_watcher: -reinstall_handlers_after_killer_hwm_test_/0-fun-1-...[6.100 s] ok + [done in 18.210 s] +module 'lager_rotator_default' + lager_rotator_default: rotate_file_test...*failed* +in function lager_util:delete_test_dir/1 + called as delete_test_dir("/tmp/lager_test/63153478") +in call from lager_rotator_default:rotate_file_test/0 +**error:undef + output:<<"">> + + lager_rotator_default: rotate_file_zero_count_test...*failed* +in function lager_util:delete_test_dir/1 + called as delete_test_dir("/tmp/lager_test/8587171") +in call from lager_rotator_default:rotate_file_zero_count_test/0 +**error:undef + output:<<"">> + + lager_rotator_default: rotate_file_fail_test...*failed* +in function lager_util:delete_test_dir/1 + called as delete_test_dir("/tmp/lager_test/60592175") +in call from lager_rotator_default:rotate_file_fail_test/0 +**error:undef + output:<<"">> + + [done in 0.060 s] +compress_pr_record_test: nested_record_test (module 'compress_pr_record_test')...ok +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.211 s] +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==== 8-May-2024::08:21:53.491643 === + application: lager + exited: stopped + type: permanent + +=INFO REPORT==== 8-May-2024::08:21:53.492871 === + application: goldrush + exited: stopped + type: permanent + +[0.093 s] ok + lager_util:753: -is_loggable_test_/0-fun-9- (Loggable by severity only)...ok + lager_util:754: -is_loggable_test_/0-fun-7- (Not loggable by severity only)...ok + lager_util:755: -is_loggable_test_/0-fun-5- (Loggable by severity with destination)...ok + lager_util:756: -is_loggable_test_/0-fun-3- (Not loggable by severity with destination)...ok + lager_util:757: -is_loggable_test_/0-fun-1- (Loggable by destination overriding severity)...ok + lager_util:762: -format_time_test_/0-fun-9-...ok + lager_util:767: -format_time_test_/0-fun-7-...ok + lager_util:772: -format_time_test_/0-fun-5-...ok + lager_util:777: -format_time_test_/0-fun-3-...ok + lager_util:782: -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:845: -sink_name_test_/0-fun-3-...ok + lager_util:846: -sink_name_test_/0-fun-1-...ok + [done in 0.153 s] +module 'lager_sup' +module 'lager_rotate' + lager_rotate: -rotate_test_/0-fun-7- (Rotate single file)...[0.011 s] ok + lager_rotate: -rotate_test_/0-fun-4- (Rotate sink)...[0.012 s] ok + lager_rotate: -rotate_test_/0-fun-1- (Rotate all)...[0.012 s] ok + [done in 3.205 s] +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 'lager_rotator_behaviour' +module 'error_logger_lager_h' + error_logger_lager_h: -no_silent_hwm_drops_test_/0-fun-2-...[2.183 s] ok + error_logger_lager_h: -shaper_does_not_forward_sup_progress_messages_to_info_level_backend_test_/0-fun-1-...[0.103 s] ok + error_logger_lager_h: -supressed_messages_are_not_counted_for_hwm_test_/0-fun-2-...[0.104 s] ok + [done in 2.399 s] +module 'crash' +module 'crash_statem' +module 'sync_error_logger' +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_crash_backend' +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] +zzzz_gh280_crash: gh280_crash_test (module 'zzzz_gh280_crash')...ok +module 'lager_handler_watcher_sup' +module 'lager_config' 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 @@ -1903,22 +2166,22 @@ 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)...ok - lager_test_backend: -lager_test_/0-fun-174- (logging works from inside a list comprehension)...ok + lager_test_backend: -lager_test_/0-fun-174- (logging works from inside a list comprehension)...[0.001 s] ok lager_test_backend: -lager_test_/0-fun-170- (logging works from a begin/end block inside a list comprehension)...ok - lager_test_backend: -lager_test_/0-fun-166- (logging works from a nested list comprehension)...[0.002 s] ok + lager_test_backend: -lager_test_/0-fun-166- (logging works from a nested list comprehension)...[0.004 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)...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)...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)...ok - lager_test_backend: -lager_test_/0-fun-95- (tracing works)...[0.035 s] ok - lager_test_backend: -lager_test_/0-fun-91- (tracing works with custom attributes)...[0.109 s] ok - lager_test_backend: -lager_test_/0-fun-85- (tracing works with custom attributes and event stream processing)...[0.556 s] ok - lager_test_backend: -lager_test_/0-fun-72- (tracing custom attributes works with event stream processing statistics and reductions)...[0.308 s] ok - lager_test_backend: -lager_test_/0-fun-61- (persistent traces work)...[0.071 s] ok - lager_test_backend: -lager_test_/0-fun-57- (tracing honors loglevel)...[0.062 s] ok - lager_test_backend: -lager_test_/0-fun-52- (stopped trace stops and removes its event handler - default sink (gh#267))...[0.146 s] 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)...[0.001 s] ok + lager_test_backend: -lager_test_/0-fun-128- (function calls inplace of literals in logging statements work)...[0.001 s] ok + lager_test_backend: -lager_test_/0-fun-116- (record fields inplace of literals in logging statements work)...[0.001 s] 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.049 s] ok + lager_test_backend: -lager_test_/0-fun-91- (tracing works with custom attributes)...[0.160 s] ok + lager_test_backend: -lager_test_/0-fun-85- (tracing works with custom attributes and event stream processing)...[0.872 s] ok + lager_test_backend: -lager_test_/0-fun-72- (tracing custom attributes works with event stream processing statistics and reductions)...[0.476 s] ok + lager_test_backend: -lager_test_/0-fun-61- (persistent traces work)...[0.108 s] ok + lager_test_backend: -lager_test_/0-fun-57- (tracing honors loglevel)...[0.098 s] ok + lager_test_backend: -lager_test_/0-fun-52- (stopped trace stops and removes its event handler - default sink (gh#267))...[0.217 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 @@ -1926,30 +2189,30 @@ 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-11- (unsafe messages really are not truncated)...[0.002 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)...[0.001 s] ok + lager_test_backend: -lager_test_/0-fun-2- (dates should be UTC if SASL is configured as UTC)...[0.001 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.001 s] 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)...[0.001 s] ok - lager_test_backend: -extra_sinks_test_/0-fun-20- (stopped trace stops and removes its event handler - test sink (gh#267))...[0.136 s] ok - lager_test_backend: -extra_sinks_test_/0-fun-9- (log messages below the threshold are ignored)...ok + lager_test_backend: -extra_sinks_test_/0-fun-20- (stopped trace stops and removes its event handler - test sink (gh#267))...[0.213 s] ok + lager_test_backend: -extra_sinks_test_/0-fun-9- (log messages below the threshold are ignored)...[0.001 s] ok FSM crash output tests Default sink lager_test_backend: -crash_fsm_test_/0-fun-7- (again, there is nothing up my sleeve)...ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem crash)...[0.101 s] ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem stop)...[0.101 s] ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem timeout)...[0.101 s] ok - [done in 0.859 s] + [done in 0.918 s] Error logger sink lager_test_backend: -crash_fsm_test_/0-fun-7- (again, there is nothing up my sleeve)...ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem crash)...[0.101 s] ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem stop)...[0.101 s] ok lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem timeout)...[0.101 s] ok - [done in 0.857 s] - [done in 1.716 s] + [done in 0.924 s] + [done in 1.842 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)...ok @@ -1998,16 +2261,16 @@ {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)...lager_test_backend.erl:949:<0.2772.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)" + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc)...lager_test_backend.erl:949:<0.4350.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.519 s] + [done in 2.829 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- (bad return uncaught throw)...[0.102 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 @@ -2050,82 +2313,82 @@ {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)...lager_test_backend.erl:949:<0.3552.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)" + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc)...lager_test_backend.erl:949:<0.5092.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 3.277 s] - [done in 5.796 s] + [done in 3.050 s] + [done in 5.879 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)...[0.006 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are truncated at 4096 characters)...[0.027 s] 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.013 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.012 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are truncated at 4096 characters)...[0.013 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.013 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are truncated at 4096 characters)...[0.019 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.005 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are truncated at 4096 characters)...[0.006 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- (warning reports are printed at the correct level)...[0.001 s] 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)...[0.001 s] 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)...[0.001 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports with real error and pid)...[0.001 s] 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- (supervisor_bridge reports)...[0.001 s] 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- (supervisor progress report)...[0.001 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report with pid)...[0.001 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for emfile)...[0.001 s] 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)...[0.001 s] 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)...[0.001 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system ets table limit)...[0.001 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.028 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.002 s] 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)...[0.001 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)...[0.001 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 10 arg version)...[0.001 s] 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)...[0.001 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.001 s] ok - [done in 47.796 s] + 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 48.480 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)...[0.006 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are truncated at 4096 characters)...[0.027 s] 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.006 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.007 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are truncated at 4096 characters)...[0.010 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.013 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are truncated at 4096 characters)...[0.020 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.004 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are truncated at 4096 characters)...[0.006 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)...[0.001 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor reports)...[0.001 s] 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 @@ -2135,9 +2398,9 @@ 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)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash report for system ets table limit)...[0.001 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 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)...[0.002 s] 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 @@ -2147,30 +2410,80 @@ lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 10 arg version)...[0.001 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 5 arg version)...[0.001 s] ok lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 6 arg version)...[0.001 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.001 s] ok - [done in 47.885 s] - [done in 95.681 s] + 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 48.621 s] + [done in 97.101 s] lager_test_backend: safe_format_test...ok - lager_test_backend: unsafe_format_test...ok - lager_test_backend: -async_threshold_test_/0-fun-8- (async threshold works)...[17.717 s] ok + lager_test_backend: unsafe_format_test...[0.001 s] ok + lager_test_backend: -async_threshold_test_/0-fun-8- (async threshold works)...[7.666 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 164.338 s] + [done in 157.509 s] +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.719 s] +module 'lager_trunc_io' + lager_trunc_io: format_test...ok + lager_trunc_io: atom_quoting_test...ok + lager_trunc_io: sane_float_printing_test...ok + lager_trunc_io: float_inside_list_test...ok + lager_trunc_io: quote_strip_test...ok + lager_trunc_io: binary_printing_test...ok + lager_trunc_io: bitstring_printing_test...ok + lager_trunc_io: list_printing_test...ok + lager_trunc_io: iolist_printing_test...ok + lager_trunc_io: tuple_printing_test...ok + lager_trunc_io: map_printing_test...ok + lager_trunc_io: unicode_test...ok + lager_trunc_io: depth_limit_test...[0.001 s] ok + lager_trunc_io: print_terms_without_format_string_test...ok + lager_trunc_io: improper_io_list_test...ok + [done in 0.046 s] +module 'lager_format' +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)...[0.001 s] ok + lager_console_backend: -console_log_test_/0-fun-42- (tracing should work)...[0.549 s] ok + lager_console_backend: -console_log_test_/0-fun-37- (tracing doesn't duplicate messages)...[1.051 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.501 s] ok + lager_console_backend: -console_log_test_/0-fun-20- (console backend with custom group leader)...[0.603 s] ok + lager_console_backend: -console_log_test_/0-fun-13- (console backend with custom group leader using a trace and an ID)...[1.153 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.932 s] module 'lager_manager_killer_test' - lager_manager_killer_test: -overload_test_/0-fun-3-...lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7263.0>,unlink,<0.7260.0>} -=ERROR REPORT==== 10-Jun-2025::14:41:35.911206 === + lager_manager_killer_test: -overload_test_/0-fun-3-...=ERROR REPORT==== 8-May-2024::08:24:44.628256 === +calling logger:remove_handler(default) failed: error {badmatch, + {error, + {not_found,default}}} +=ERROR REPORT==== 8-May-2024::08:24:45.629456 === ** gen_event handler lager_manager_killer crashed. ** Was installed in lager_event ** Last event was: {log,{lager_msg,[], - [{pid,<0.7265.0>}, + [{pid,<0.9054.0>}, {line,127}, {file,"lager_handler_watcher.erl"}, {module,lager_handler_watcher}], debug, - {["2025",45,"06",45,"10"], - ["14",58,"41",58,"34",46,"910"]}, - {1749,566494,910545}, + {["2024",45,"05",45,"08"], + ["08",58,"24",58,"44",46,"628"]}, + {1715,156684,628579}, [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, @@ -2178,62 +2491,45 @@ ** When handler state == {state,10,1000} ** Reason == {kill_me,[10,1000]} -=ERROR REPORT==== 10-Jun-2025::14:41:35.911656 === -Killing sink lager_event, current message_queue_len:11 +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9050.0>,unlink,<0.9048.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9048.0>,getting_unlinked,<0.9050.0>} +=ERROR REPORT==== 8-May-2024::08:24:45.630058 === +Killing sink lager_event, current message_queue_len:12 -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7260.0>,getting_unlinked,<0.7263.0>} -lager_manager_killer_test.erl:101:<0.719.0>: Manager <0.7260.0> killed -=INFO REPORT==== 10-Jun-2025::14:41:36.923258 === +lager_manager_killer_test.erl:101:<0.719.0>: Manager <0.9048.0> killed +=INFO REPORT==== 8-May-2024::08:24:46.641982 === application: lager exited: stopped type: temporary -[2.014 s] ok - lager_manager_killer_test: -overload_alternate_sink_test_/0-fun-3-...lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7260.0>,unregister,lager_event} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7259.0>,getting_unlinked,<0.7260.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.49.0>,spawn,<0.7267.0>, - {proc_lib,init_p, - [kernel_sup, - [<0.47.0>], - gen,init_it, - [gen_server,<0.49.0>,<0.49.0>, - {local,timer_server}, - timer,[],[]]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.49.0>,link,<0.7267.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7267.0>,spawned,<0.49.0>, - {proc_lib,init_p, - [kernel_sup, - [<0.47.0>], - gen,init_it, - [gen_server,<0.49.0>,<0.49.0>, - {local,timer_server}, - timer,[],[]]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7267.0>,getting_linked,<0.49.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7264.0>,getting_unlinked,<0.7260.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7267.0>,register,timer_server} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7259.0>,spawn,<0.7268.0>, +[2.016 s] ok + lager_manager_killer_test: -overload_alternate_sink_test_/0-fun-3-...lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9048.0>,unregister,lager_event} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9047.0>,getting_unlinked,<0.9048.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9051.0>,getting_unlinked,<0.9048.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9050.0>,exit,normal} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9049.0>,getting_unlinked,<0.9050.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9051.0>,exit,normal} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9049.0>,getting_unlinked,<0.9051.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9047.0>,spawn,<0.9060.0>, {proc_lib,init_p, [lager_sup, - [<0.7258.0>], + [<0.9046.0>], gen,init_it, - [gen_event,<0.7259.0>,<0.7259.0>, + [gen_event,<0.9047.0>,<0.9047.0>, {local,lager_event}, 'no callback module',[],[]]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7259.0>,link,<0.7268.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7268.0>,spawned,<0.7259.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9047.0>,link,<0.9060.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9060.0>,spawned,<0.9047.0>, {proc_lib,init_p, [lager_sup, - [<0.7258.0>], + [<0.9046.0>], gen,init_it, - [gen_event,<0.7259.0>,<0.7259.0>, + [gen_event,<0.9047.0>,<0.9047.0>, {local,lager_event}, 'no callback module',[],[]]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7268.0>,getting_linked,<0.7259.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7263.0>,exit,normal} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7261.0>,getting_unlinked,<0.7263.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7264.0>,exit,normal} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7261.0>,getting_unlinked,<0.7264.0>} -=ERROR REPORT==== 10-Jun-2025::14:41:37.959164 === +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9060.0>,getting_linked,<0.9047.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9075.0>,unlink,<0.9074.0>} +=ERROR REPORT==== 8-May-2024::08:24:47.693480 === ** gen_event handler lager_manager_killer crashed. ** Was installed in '__lager_test_sink_lager_event' ** Last event was: {log,{lager_msg,[], @@ -2243,301 +2539,26 @@ {pid,"<0.719.0>"}, {node,nonode@nohost}], info, - {["2025",45,"06",45,"10"], - ["14",58,"41",58,"36",46,"958"]}, - {1749,566496,958474}, + {["2024",45,"05",45,"08"], + ["08",58,"24",58,"46",46,"692"]}, + {1715,156686,692920}, ["1",39,116,104,32,109,101,115,115,97,103, 101]}} ** When handler state == {state,10,1000} ** Reason == {kill_me,[10,1000]} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7284.0>,unlink,<0.7283.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.7283.0>,getting_unlinked,<0.7284.0>} -=ERROR REPORT==== 10-Jun-2025::14:41:37.959663 === +=ERROR REPORT==== 8-May-2024::08:24:47.694038 === Killing sink '__lager_test_sink_lager_event', current message_queue_len:10 -lager_manager_killer_test.erl:101:<0.719.0>: Manager <0.7283.0> killed -=INFO REPORT==== 10-Jun-2025::14:41:38.971300 === +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.9074.0>,getting_unlinked,<0.9075.0>} +lager_manager_killer_test.erl:101:<0.719.0>: Manager <0.9074.0> killed +=INFO REPORT==== 8-May-2024::08:24:48.707229 === application: lager exited: stopped type: temporary -[2.045 s] ok - [done in 4.065 s] -module 'lager_common_test_backend' -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 'lager_rotate' - lager_rotate: -rotate_test_/0-fun-7- (Rotate single file)...[0.014 s] ok - lager_rotate: -rotate_test_/0-fun-4- (Rotate sink)...[0.061 s] ok - lager_rotate: -rotate_test_/0-fun-1- (Rotate all)...[0.013 s] ok - [done in 3.211 s] -module 'special_process' -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.698 s] -module 'lager_rotator_default' - lager_rotator_default: rotate_file_test...*failed* -in function lager_util:delete_test_dir/1 - called as delete_test_dir("/tmp/lager_test/106992307") -in call from lager_rotator_default:rotate_file_test/0 -**error:undef - output:<<"">> - - lager_rotator_default: rotate_file_zero_count_test...*failed* -in function lager_util:delete_test_dir/1 - called as delete_test_dir("/tmp/lager_test/17117684") -in call from lager_rotator_default:rotate_file_zero_count_test/0 -**error:undef - output:<<"">> - - lager_rotator_default: rotate_file_fail_test...*failed* -in function lager_util:delete_test_dir/1 - called as delete_test_dir("/tmp/lager_test/41825286") -in call from lager_rotator_default:rotate_file_fail_test/0 -**error:undef - output:<<"">> - - [done in 0.037 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_handler_watcher' - lager_handler_watcher: -reinstall_on_initial_failure_test_/0-fun-3-...[6.034 s] ok - lager_handler_watcher: -reinstall_on_runtime_failure_test_/0-fun-3-...[6.035 s] ok - lager_handler_watcher: -reinstall_handlers_after_killer_hwm_test_/0-fun-1-...[6.071 s] ok - [done in 18.149 s] -module 'crash' -module 'lager_stdlib' -module 'sync_error_logger' -zzzz_gh280_crash: gh280_crash_test (module 'zzzz_gh280_crash')...ok -module 'lager' - lager: get_sink_handler_status_ascii_test...ok - lager: get_sink_handler_status_latin_test...ok - lager: get_sink_handler_status_unicode_test...ok - [done in 0.009 s] -module 'lager_file_backend' - lager_file_backend: get_loglevel_test...ok - lager_file_backend: -rotation_test_/0-fun-17- (External rotation should work)...[0.004 s] ok - lager_file_backend: -rotation_test_/0-fun-8- (Internal rotation and delayed write)...[1.004 s] ok - lager_file_backend: -filesystem_test_/0-fun-81- (under normal circumstances, file should be opened)...[0.003 s] ok - lager_file_backend: -filesystem_test_/0-fun-79- (don't choke on unicode)...[0.009 s] ok - lager_file_backend: -filesystem_test_/0-fun-77- (don't choke on latin-1)...[0.005 s] ok - lager_file_backend: -filesystem_test_/0-fun-75- (file can't be opened on startup triggers an error message)...[0.006 s] ok - lager_file_backend: -filesystem_test_/0-fun-69- (file that becomes unavailable at runtime should trigger an error message)...[0.022 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.040 s] ok - lager_file_backend: -filesystem_test_/0-fun-45- (internal size rotation should work)...[0.018 s] ok - lager_file_backend: -filesystem_test_/0-fun-43- (internal time rotation should work)...[0.030 s] ok - lager_file_backend: -filesystem_test_/0-fun-41- (rotation call should work)...[0.061 s] ok - lager_file_backend: -filesystem_test_/0-fun-39- (sync_on option should work)...[0.008 s] ok - lager_file_backend: -filesystem_test_/0-fun-36- (sync_on none option should work (also tests sync_interval))...[2.047 s] ok - lager_file_backend: -filesystem_test_/0-fun-32- (sync_size option should work)...[0.007 s] ok - lager_file_backend: -filesystem_test_/0-fun-28- (runtime level changes)...[0.004 s] ok - lager_file_backend: -filesystem_test_/0-fun-23- (invalid runtime level changes)...[0.001 s] ok - lager_file_backend: -filesystem_test_/0-fun-21- (tracing should work)...[1.005 s] ok - lager_file_backend: -filesystem_test_/0-fun-18- (tracing should not duplicate messages)...[0.515 s] ok - lager_file_backend: -filesystem_test_/0-fun-12- (tracing to a dedicated file should work)...[0.057 s] ok - lager_file_backend: -filesystem_test_/0-fun-10- (tracing to a dedicated file should work even if root_log is set)...[0.057 s] ok - lager_file_backend: -filesystem_test_/0-fun-8- (tracing with options should work)...[0.077 s] ok - lager_file_backend: -filesystem_test_/0-fun-5- (no silent hwm drops)...[1.405 s] ok - lager_file_backend: -trace_files_test_/0-fun-5- (a trace using file backend set up in configuration should work)...[1.009 s] ok - lager_file_backend: -formatting_test_/0-fun-2- (Should have two log files, the second prefixed with 2>)...[0.004 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 9.265 s] -module 'lager_transform' -module 'crash_statem' -module 'crash_fsm' -module 'lager_handler_watcher_sup' -module 'lager_sup' -module 'lager_rotator_behaviour' -module 'pr_stacktrace_test' - pr_stacktrace_test: pr_stacktrace_throw_test...[0.001 s] ok - pr_stacktrace_test: pr_stacktrace_bad_arg_test...*failed* -in function pr_stacktrace_test:pr_stacktrace_bad_arg_test/0 (pr_stacktrace_test.erl, line 34) -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:{assertNotEqual,[{module,pr_stacktrace_test}, - {line,34}, - {expression,"string : find ( Got , Want )"}, - {value,nomatch}]} - output:<<"">> - - pr_stacktrace_test: pr_stacktrace_bad_arity_test...ok - pr_stacktrace_test: pr_stacktrace_no_reverse_test...ok - [done in 0.013 s] -module 'lager_slow_backend' -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.182 s] -module 'trunc_io_eqc' -module 'lager_config' -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)...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)...=ERROR REPORT==== 10-Jun-2025::14:42:13.779127 === -Cannot have same file ("same_file.log") in multiple file backends - -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)...[0.003 s] 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.043 s] -module 'lager_trunc_io' - lager_trunc_io: format_test...ok - lager_trunc_io: atom_quoting_test...ok - lager_trunc_io: sane_float_printing_test...ok - lager_trunc_io: float_inside_list_test...ok - lager_trunc_io: quote_strip_test...ok - lager_trunc_io: binary_printing_test...ok - lager_trunc_io: bitstring_printing_test...ok - lager_trunc_io: list_printing_test...ok - lager_trunc_io: iolist_printing_test...ok - lager_trunc_io: tuple_printing_test...ok - lager_trunc_io: map_printing_test...ok - lager_trunc_io: unicode_test...ok - lager_trunc_io: depth_limit_test...[0.001 s] ok - lager_trunc_io: print_terms_without_format_string_test...ok - lager_trunc_io: improper_io_list_test...ok - [done in 0.046 s] -module 'lager_format' -module 'lager_crash_log' - lager_crash_log: -filesystem_test_/0-fun-30- (under normal circumstances, file should be opened)...[0.001 s] 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.006 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.005 s] ok - [done in 5.228 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)...[0.001 s] ok - lager_console_backend: -console_log_test_/0-fun-42- (tracing should work)...[0.553 s] ok - lager_console_backend: -console_log_test_/0-fun-37- (tracing doesn't duplicate messages)...[1.054 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.147 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.969 s] -module 'error_logger_lager_h' - error_logger_lager_h: -no_silent_hwm_drops_test_/0-fun-2-...[2.979 s] ok - error_logger_lager_h: -shaper_does_not_forward_sup_progress_messages_to_info_level_backend_test_/0-fun-1-...[0.090 s] ok - error_logger_lager_h: -supressed_messages_are_not_counted_for_hwm_test_/0-fun-2-...[0.089 s] ok - [done in 3.167 s] -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==== 10-Jun-2025::14:42:27.313662 === - application: lager - exited: stopped - type: permanent - -=INFO REPORT==== 10-Jun-2025::14:42:27.314437 === - application: goldrush - exited: stopped - type: permanent - -[0.066 s] ok - lager_util:753: -is_loggable_test_/0-fun-9- (Loggable by severity only)...ok - lager_util:754: -is_loggable_test_/0-fun-7- (Not loggable by severity only)...ok - lager_util:755: -is_loggable_test_/0-fun-5- (Loggable by severity with destination)...ok - lager_util:756: -is_loggable_test_/0-fun-3- (Not loggable by severity with destination)...ok - lager_util:757: -is_loggable_test_/0-fun-1- (Loggable by destination overriding severity)...ok - lager_util:762: -format_time_test_/0-fun-9-...ok - lager_util:767: -format_time_test_/0-fun-7-...ok - lager_util:772: -format_time_test_/0-fun-5-...ok - lager_util:777: -format_time_test_/0-fun-3-...ok - lager_util:782: -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:845: -sink_name_test_/0-fun-3-...ok - lager_util:846: -sink_name_test_/0-fun-1-...ok - [done in 0.126 s] -module 'lager_msg' -module 'lager_manager_killer' -module 'lager_backend_throttle' -module 'lager_trace_test' - lager_trace_test: -trace_test_/0-fun-2- (Trace combined with log_root)...[4.181 s] ok - [done in 4.184 s] -compress_pr_record_test: nested_record_test (module 'compress_pr_record_test')...ok -module 'lager_crash_backend' +[2.062 s] ok + [done in 4.085 s] ======================================================= Failed: 8. Skipped: 0. Passed: 353. Cover analysis: /build/reproducible-path/erlang-lager-3.9.2/.eunit/index.html @@ -2672,12 +2693,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/28511/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/28511/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/108257 and its subdirectories -I: Current time: Tue Jun 10 02:42:44 -12 2025 -I: pbuilder-time-stamp: 1749566564 +I: removing directory /srv/workspace/pbuilder/28511 and its subdirectories +I: Current time: Wed May 8 22:24:58 +14 2024 +I: pbuilder-time-stamp: 1715156698