Diff of the two buildlogs: -- --- b1/build.log 2023-05-05 17:32:18.883066602 +0000 +++ b2/build.log 2023-05-05 17:37:21.577780399 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 5 05:23:44 -12 2023 -I: pbuilder-time-stamp: 1683307424 +I: Current time: Fri Jun 7 13:55:25 +14 2024 +I: pbuilder-time-stamp: 1717718125 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./erlang-lager_3.9.2.orig.tar.gz] I: copying [./erlang-lager_3.9.2-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Dec 20 18:59:54 2021 -12 +gpgv: Signature made Tue Dec 21 20:59:54 2021 +14 gpgv: using RSA key 08418BBE44720F2DBAC505ECBA7A2496DAE40D1C gpgv: issuer "debalance@debian.org" gpgv: Can't check signature: No public key @@ -29,137 +29,169 @@ dpkg-source: info: applying remove-deps.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/16509/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/58220/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-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 Jun 7 13:55 /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/58220/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/58220/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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=8' - DISTRIBUTION='bookworm' - 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]="15" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='19e04ccbcd0543e7a4aaa6e4718ef0d8' - 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='16509' - PS1='# ' - PS2='> ' + INVOCATION_ID=489e83e48ba04d33a850d84d550c3f56 + 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=58220 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.nPIpS5yH/pbuilderrc_JDng --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nPIpS5yH/b1 --logfile b1/build.log erlang-lager_3.9.2-2.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://78.137.99.97: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.nPIpS5yH/pbuilderrc_aLHi --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nPIpS5yH/b2 --logfile b2/build.log --extrapackages usrmerge erlang-lager_3.9.2-2.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://85.184.249.68:3128 I: uname -a - Linux ionos2-i386 5.10.0-22-686-pae #1 SMP Debian 5.10.178-3 (2023-04-22) i686 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux I: ls -l /bin total 6036 - -rwxr-xr-x 1 root root 1408088 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 38404 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 17892 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 42920 Sep 20 2022 cat - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 79816 Sep 20 2022 chown - -rwxr-xr-x 1 root root 162024 Sep 20 2022 cp - -rwxr-xr-x 1 root root 136916 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 137160 Sep 20 2022 date - -rwxr-xr-x 1 root root 100364 Sep 20 2022 dd - -rwxr-xr-x 1 root root 108940 Sep 20 2022 df - -rwxr-xr-x 1 root root 162152 Sep 20 2022 dir - -rwxr-xr-x 1 root root 87760 Mar 22 22:20 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 38760 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 34664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 84272 Mar 22 22:20 findmnt - -rwsr-xr-x 1 root root 30240 Mar 22 20:38 fusermount - -rwxr-xr-x 1 root root 218680 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 100952 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 21916 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 75756 Sep 20 2022 ln - -rwxr-xr-x 1 root root 55600 Mar 22 23:43 login - -rwxr-xr-x 1 root root 162152 Sep 20 2022 ls - -rwxr-xr-x 1 root root 214568 Mar 22 22:20 lsblk - -rwxr-xr-x 1 root root 96328 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 84008 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 38792 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 63016 Mar 22 22:20 more - -rwsr-xr-x 1 root root 58912 Mar 22 22:20 mount - -rwxr-xr-x 1 root root 13856 Mar 22 22:20 mountpoint - -rwxr-xr-x 1 root root 157932 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38792 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 51080 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 75720 Sep 20 2022 rm - -rwxr-xr-x 1 root root 51080 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 22308 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133224 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 38760 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 87976 Sep 20 2022 stty - -rwsr-xr-x 1 root root 83492 Mar 22 22:20 su - -rwxr-xr-x 1 root root 38792 Sep 20 2022 sync - -rwxr-xr-x 1 root root 598456 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 13860 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 120776 Sep 20 2022 touch - -rwxr-xr-x 1 root root 34664 Sep 20 2022 true - -rwxr-xr-x 1 root root 17892 Mar 22 20:38 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Mar 22 22:20 umount - -rwxr-xr-x 1 root root 38760 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 162152 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 71216 Mar 22 22:20 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/16509/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1408088 Apr 24 2023 bash + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 38404 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 17892 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 42920 Sep 21 2022 cat + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 79816 Sep 21 2022 chown + -rwxr-xr-x 1 root root 162024 Sep 21 2022 cp + -rwxr-xr-x 1 root root 136916 Jan 6 2023 dash + -rwxr-xr-x 1 root root 137160 Sep 21 2022 date + -rwxr-xr-x 1 root root 100364 Sep 21 2022 dd + -rwxr-xr-x 1 root root 108940 Sep 21 2022 df + -rwxr-xr-x 1 root root 162152 Sep 21 2022 dir + -rwxr-xr-x 1 root root 87760 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 38760 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 34664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 84272 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 30240 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 218680 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 100952 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 21916 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 75756 Sep 21 2022 ln + -rwxr-xr-x 1 root root 55600 Mar 24 2023 login + -rwxr-xr-x 1 root root 162152 Sep 21 2022 ls + -rwxr-xr-x 1 root root 214568 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 96328 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 84008 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 38792 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 63016 Mar 24 2023 more + -rwsr-xr-x 1 root root 58912 Mar 24 2023 mount + -rwxr-xr-x 1 root root 13856 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 157932 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38792 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 51080 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 75720 Sep 21 2022 rm + -rwxr-xr-x 1 root root 51080 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 22308 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133224 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 7 13:55 sh -> /bin/bash + -rwxr-xr-x 1 root root 38760 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 87976 Sep 21 2022 stty + -rwsr-xr-x 1 root root 83492 Mar 24 2023 su + -rwxr-xr-x 1 root root 38792 Sep 21 2022 sync + -rwxr-xr-x 1 root root 598456 Apr 7 2023 tar + -rwxr-xr-x 1 root root 13860 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 120776 Sep 21 2022 touch + -rwxr-xr-x 1 root root 34664 Sep 21 2022 true + -rwxr-xr-x 1 root root 17892 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Mar 24 2023 umount + -rwxr-xr-x 1 root root 38760 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 162152 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 71216 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/58220/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -491,7 +523,7 @@ Get: 284 http://deb.debian.org/debian bookworm/main i386 rebar i386 2.6.4-3 [203 kB] Get: 285 http://deb.debian.org/debian bookworm/main i386 dh-rebar all 0.0.6 [7820 B] Get: 286 http://deb.debian.org/debian bookworm/main i386 erlang-goldrush i386 0.2.0-8 [72.6 kB] -Fetched 182 MB in 5s (37.0 MB/s) +Fetched 182 MB in 3s (64.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libargon2-1: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 ... 19604 files and directories currently installed.) @@ -1671,8 +1703,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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-2_source.changes +I: user script /srv/workspace/pbuilder/58220/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/58220/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/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-2_source.changes dpkg-buildpackage: info: source package erlang-lager dpkg-buildpackage: info: source version 3.9.2-2 dpkg-buildpackage: info: source distribution unstable @@ -1784,27 +1827,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_default_formatter.erl Compiled src/lager_console_backend.erl -Compiled src/lager_msg.erl -Compiled src/lager_manager_killer.erl -Compiled src/lager_stdlib.erl -Compiled src/lager_handler_watcher_sup.erl -Compiled src/lager_trunc_io.erl -Compiled src/lager_backend_throttle.erl +Compiled src/lager_handler_watcher.erl Compiled src/lager_crash_log.erl -Compiled src/lager_app.erl -Compiled src/lager_file_backend.erl Compiled src/lager.erl -Compiled src/lager_config.erl Compiled src/lager_sup.erl -Compiled src/lager_default_formatter.erl -DEBUG: Worker exited cleanly +Compiled src/error_logger_lager_h.erl +Compiled src/lager_trunc_io.erl +Compiled src/lager_common_test_backend.erl +Compiled src/lager_config.erl +Compiled src/lager_backend_throttle.erl +Compiled src/lager_manager_killer.erl +Compiled src/lager_app.erl +Compiled src/lager_rotator_default.erl Compiled src/lager_format.erl +Compiled src/lager_handler_watcher_sup.erl +Compiled src/lager_msg.erl DEBUG: Worker exited cleanly -Compiled src/error_logger_lager_h.erl +Compiled src/lager_file_backend.erl +DEBUG: Worker exited cleanly +Compiled src/lager_stdlib.erl DEBUG: Worker exited cleanly INFO: No app_vars_file defined. DEBUG: Postdirs: [] @@ -1816,106 +1859,84 @@ 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_msg.erl -Compiled src/lager_console_backend.erl -Compiled src/lager_manager_killer.erl -Compiled src/lager_handler_watcher_sup.erl +Compiled src/lager_default_formatter.erl Compiled src/lager_crash_log.erl -Compiled src/lager_backend_throttle.erl -Compiled src/lager_app.erl -Compiled src/lager.erl -Compiled src/lager_trunc_io.erl -Compiled src/lager_file_backend.erl +Compiled src/lager_console_backend.erl +Compiled src/lager_handler_watcher.erl +Compiled src/error_logger_lager_h.erl Compiled src/lager_sup.erl +Compiled src/lager_common_test_backend.erl +Compiled src/lager.erl Compiled src/lager_config.erl +Compiled src/lager_backend_throttle.erl +Compiled src/lager_manager_killer.erl Compiled src/lager_format.erl +Compiled src/lager_app.erl +Compiled src/lager_rotator_default.erl +Compiled src/lager_trunc_io.erl +Compiled src/lager_handler_watcher_sup.erl +Compiled src/lager_msg.erl Compiled test/trunc_io_eqc.erl -Compiled test/crash_statem.erl Compiled test/lager_crash_backend.erl -Compiled test/pr_composite_test.erl -Compiled src/lager_default_formatter.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 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/lager_slow_backend.erl +Compiled test/lager_metadata_whitelist_test.erl +Compiled src/lager_stdlib.erl +Compiled test/lager_manager_killer_test.erl Compiled test/zzzz_gh280_crash.erl Compiled test/lager_app_tests.erl +Compiled test/pr_composite_test.erl +Compiled test/lager_rotate.erl +Compiled test/special_process.erl +Compiled test/crash_statem.erl +Compiled test/sync_error_logger.erl +Compiled src/lager_file_backend.erl +Compiled test/lager_test_function_transform.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_slow_backend.erl -Compiled test/lager_metadata_whitelist_test.erl -Compiled test/sync_error_logger.erl -Compiled src/error_logger_lager_h.erl -Compiled test/special_process.erl +Compiled test/lager_trace_test.erl Compiled test/crash_fsm.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 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.004 s] ok - lager_crash_log: -filesystem_test_/0-fun-27- (file can't be opened on startup triggers an error message)...[0.005 s] 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.005 s] ok - lager_crash_log: -filesystem_test_/0-fun-6- (external logfile rotation/deletion should be handled)...[0.145 s] ok - [done in 5.895 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)...[0.001 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==== 5-May-2023::05:27:46.370663 === -Cannot have same file ("same_file.log") in multiple file backends - -ok - lager_app:411: -check_handler_config_test_/0-fun-12- (lager_file_backend_bad)...ok - lager_app:414: -check_handler_config_test_/0-fun-9- (Invalid config dies)...ok - lager_app:417: -check_handler_config_test_/0-fun-7- (Invalid config dies)...[0.016 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.084 s] +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 'sync_error_logger' module 'lager_file_backend' lager_file_backend: get_loglevel_test...ok - lager_file_backend: -rotation_test_/0-fun-17- (External rotation should work)...[0.020 s] ok - lager_file_backend: -rotation_test_/0-fun-8- (Internal rotation and delayed write)...[1.045 s] ok - lager_file_backend: -filesystem_test_/0-fun-81- (under normal circumstances, file should be opened)...[0.016 s] ok - lager_file_backend: -filesystem_test_/0-fun-79- (don't choke on unicode)...[0.056 s] ok - lager_file_backend: -filesystem_test_/0-fun-77- (don't choke on latin-1)...[0.062 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.014 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.093 s] ok - lager_file_backend: -filesystem_test_/0-fun-45- (internal size rotation should work)...[0.055 s] ok - lager_file_backend: -filesystem_test_/0-fun-43- (internal time rotation should work)...[0.017 s] ok - lager_file_backend: -filesystem_test_/0-fun-41- (rotation call should work)...[0.068 s] ok - lager_file_backend: -filesystem_test_/0-fun-39- (sync_on option should work)...[0.042 s] ok - lager_file_backend: -filesystem_test_/0-fun-36- (sync_on none option should work (also tests sync_interval))...[2.008 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.043 s] ok - lager_file_backend: -filesystem_test_/0-fun-23- (invalid runtime level changes)...[0.007 s] ok - lager_file_backend: -filesystem_test_/0-fun-21- (tracing should work)...[2.122 s] ok - lager_file_backend: -filesystem_test_/0-fun-18- (tracing should not duplicate messages)...[0.664 s] ok - lager_file_backend: -filesystem_test_/0-fun-12- (tracing to a dedicated file should work)...[0.114 s] ok - lager_file_backend: -filesystem_test_/0-fun-10- (tracing to a dedicated file should work even if root_log is set)...[0.080 s] ok - lager_file_backend: -filesystem_test_/0-fun-8- (tracing with options should work)...[0.166 s] ok - lager_file_backend: -filesystem_test_/0-fun-5- (no silent hwm drops)...[1.397 s] ok - lager_file_backend: -trace_files_test_/0-fun-5- (a trace using file backend set up in configuration should work)...[1.085 s] ok - lager_file_backend: -formatting_test_/0-fun-2- (Should have two log files, the second prefixed with 2>)...[0.057 s] ok + lager_file_backend: -rotation_test_/0-fun-17- (External rotation should work)...[0.015 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.002 s] ok + lager_file_backend: -filesystem_test_/0-fun-75- (file can't be opened on startup triggers an error message)...[0.004 s] ok + lager_file_backend: -filesystem_test_/0-fun-69- (file that becomes unavailable at runtime should trigger an error message)...[0.003 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.006 s] ok + lager_file_backend: -filesystem_test_/0-fun-45- (internal size rotation should work)...[0.003 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.010 s] ok + lager_file_backend: -filesystem_test_/0-fun-39- (sync_on option should work)...[0.002 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.004 s] ok + lager_file_backend: -filesystem_test_/0-fun-23- (invalid runtime level changes)...ok + lager_file_backend: -filesystem_test_/0-fun-21- (tracing should work)...[1.006 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.036 s] ok + lager_file_backend: -filesystem_test_/0-fun-10- (tracing to a dedicated file should work even if root_log is set)...[0.036 s] ok + lager_file_backend: -filesystem_test_/0-fun-8- (tracing with options should work)...[0.052 s] ok + lager_file_backend: -filesystem_test_/0-fun-5- (no silent hwm drops)...[2.199 s] ok + lager_file_backend: -trace_files_test_/0-fun-5- (a trace using file backend set up in configuration should work)...[1.010 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 @@ -1930,500 +1951,9 @@ 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 12.699 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...[0.001 s] ok - pr_stacktrace_test: pr_stacktrace_no_reverse_test...ok - [done in 0.018 s] -module 'lager_trace_test' - lager_trace_test: -trace_test_/0-fun-2- (Trace combined with log_root)...[4.270 s] ok - [done in 4.279 s] -module 'lager_handler_watcher' - lager_handler_watcher: -reinstall_on_initial_failure_test_/0-fun-3-...[6.099 s] ok - lager_handler_watcher: -reinstall_on_runtime_failure_test_/0-fun-3-...[6.121 s] ok - lager_handler_watcher: -reinstall_handlers_after_killer_hwm_test_/0-fun-1-...[6.328 s] ok - [done in 18.575 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/78144223") -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/90976645") -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/104759276") -in call from lager_rotator_default:rotate_file_fail_test/0 -**error:undef - output:<<"">> - - [done in 0.908 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.509 s] -module 'lager_util' - lager_util: parse_test...ok - lager_util: parse_fail_test...ok - lager_util: rotation_calculation_test...[0.001 s] ok - lager_util: check_trace_test...=INFO REPORT==== 5-May-2023::05:28:26.463667 === - application: lager - exited: stopped - type: permanent - -=INFO REPORT==== 5-May-2023::05:28:26.465010 === - application: goldrush - exited: stopped - type: permanent - -[0.147 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...[0.030 s] ok - lager_util:845: -sink_name_test_/0-fun-3-...ok - lager_util:846: -sink_name_test_/0-fun-1-...ok - [done in 0.252 s] -module 'lager_sup' -module 'lager_rotate' - lager_rotate: -rotate_test_/0-fun-7- (Rotate single file)...[0.081 s] ok - lager_rotate: -rotate_test_/0-fun-4- (Rotate sink)...[0.033 s] ok - lager_rotate: -rotate_test_/0-fun-1- (Rotate all)...[0.200 s] ok - [done in 3.775 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.204 s] -module 'lager_rotator_behaviour' -module 'error_logger_lager_h' - error_logger_lager_h: -no_silent_hwm_drops_test_/0-fun-2-...[3.073 s] ok - error_logger_lager_h: -shaper_does_not_forward_sup_progress_messages_to_info_level_backend_test_/0-fun-1-...[0.266 s] ok - error_logger_lager_h: -supressed_messages_are_not_counted_for_hwm_test_/0-fun-2-...[0.186 s] ok - [done in 3.543 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.011 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 - lager_test_backend: -lager_test_/0-fun-203- (test sink not running)...ok - lager_test_backend: -lager_test_/0-fun-201- (logging works)...ok - lager_test_backend: -lager_test_/0-fun-197- (logging with macro works)...ok - lager_test_backend: -lager_test_/0-fun-193- (unsafe logging works)...[0.001 s] ok - lager_test_backend: -lager_test_/0-fun-189- (logging with arguments works)...[0.001 s] ok - lager_test_backend: -lager_test_/0-fun-185- (logging with macro and arguments works)...ok - lager_test_backend: -lager_test_/0-fun-181- (unsafe logging with args works)...[0.001 s] 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)...[0.001 s] ok - lager_test_backend: -lager_test_/0-fun-170- (logging works from a begin/end block inside a list comprehension)...[0.001 s] ok - lager_test_backend: -lager_test_/0-fun-166- (logging works from a nested list comprehension)...[0.005 s] ok - lager_test_backend: -lager_test_/0-fun-161- (logging with only metadata works)...ok - lager_test_backend: -lager_test_/0-fun-158- (variables inplace of literals in logging statements work)...[0.001 s] ok - lager_test_backend: -lager_test_/0-fun-147- (list comprehension inplace of literals in logging statements work)...[0.003 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.002 s] ok - lager_test_backend: -lager_test_/0-fun-95- (tracing works)...[0.112 s] ok - lager_test_backend: -lager_test_/0-fun-91- (tracing works with custom attributes)...[0.388 s] ok - lager_test_backend: -lager_test_/0-fun-85- (tracing works with custom attributes and event stream processing)...[1.534 s] ok - lager_test_backend: -lager_test_/0-fun-72- (tracing custom attributes works with event stream processing statistics and reductions)...[0.963 s] ok - lager_test_backend: -lager_test_/0-fun-61- (persistent traces work)...[0.237 s] ok - lager_test_backend: -lager_test_/0-fun-57- (tracing honors loglevel)...[0.176 s] ok - lager_test_backend: -lager_test_/0-fun-52- (stopped trace stops and removes its event handler - default sink (gh#267))...[0.504 s] ok - lager_test_backend: -lager_test_/0-fun-41- (record printing works)...[0.104 s] ok - lager_test_backend: -lager_test_/0-fun-38- (record printing fails gracefully)...[0.104 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.104 s] ok - lager_test_backend: -lager_test_/0-fun-27- (record printing fails gracefully when module is invalid)...[1.005 s] ok - lager_test_backend: -lager_test_/0-fun-23- (installing a new handler adjusts the global loglevel if necessary)...[0.001 s] ok - lager_test_backend: -lager_test_/0-fun-20- (metadata in the process dictionary works)...[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)...[0.001 s] ok - lager_test_backend: -lager_test_/0-fun-2- (dates should be UTC if SASL is configured as UTC)...ok - lager_test_backend: -extra_sinks_test_/0-fun-42- (observe that there is nothing up my sleeve)...ok - lager_test_backend: -extra_sinks_test_/0-fun-39- (logging works)...ok - lager_test_backend: -extra_sinks_test_/0-fun-35- (logging with arguments works)...ok - lager_test_backend: -extra_sinks_test_/0-fun-31- (variables inplace of literals in logging statements work)...[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.512 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.104 s] ok - lager_test_backend: -crash_fsm_test_/0-fun-2- (gen_statem timeout)...[0.101 s] ok - [done in 1.159 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.104 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.104 s] ok - [done in 1.289 s] - [done in 2.449 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 - 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.104 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return uncaught throw)...[0.104 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause)...[0.102 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.104 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (if clause)...[0.103 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.102 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad math)...[0.101 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad match)...[0.104 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arity)...[0.105 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg1)...*failed* -in function lager_test_backend:test_body/2 (lager_test_backend.erl, line 927) -in call from lager_test_backend:'-error_logger_redirect_crash_test_/0-fun-2-'/3 (lager_test_backend.erl, line 1096) -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_test_backend}, - {line,927}, - {expression,"Body"}, - {expected,"gen_server crash terminated with reason: bad argument in crash:handle_call/3"}, - {value,"gen_server crash terminated with reason: bad argument in call to erlang:list"}]} - output:<<"">> - - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg2)...[0.103 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad record)...*failed* -in function lager_test_backend:test_body/2 (lager_test_backend.erl, line 927) -in call from lager_test_backend:'-error_logger_redirect_crash_test_/0-fun-2-'/3 (lager_test_backend.erl, line 1096) -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_test_backend}, - {line,927}, - {expression,"Body"}, - {expected,"gen_server crash terminated with reason: bad record state in crash:handle_call/3"}, - {value,"gen_server crash terminated with reason: bad record {} in crash:handle_call/3 li"}]} - output:<<"">> - - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc)...lager_test_backend.erl:949:<0.4331.0>: Trailing data " in gen_event:call1/3" following "gen_server crash terminated with reason: no such process or port in call to gen_event:call(foo, bar, baz)" -[0.102 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc_proc_lib)...[0.105 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (badfun)...[0.102 s] ok - [done in 4.147 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.104 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return uncaught throw)...[0.101 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause)...[0.102 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.102 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (if clause)...[0.104 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.101 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad math)...[0.101 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad match)...[0.108 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)...*failed* -in function lager_test_backend:test_body/2 (lager_test_backend.erl, line 927) -in call from lager_test_backend:'-error_logger_redirect_crash_test_/0-fun-2-'/3 (lager_test_backend.erl, line 1096) -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_test_backend}, - {line,927}, - {expression,"Body"}, - {expected,"gen_server crash terminated with reason: bad argument in crash:handle_call/3"}, - {value,"gen_server crash terminated with reason: bad argument in call to erlang:list"}]} - output:<<"">> - - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg2)...[0.101 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad record)...*failed* -in function lager_test_backend:test_body/2 (lager_test_backend.erl, line 927) -in call from lager_test_backend:'-error_logger_redirect_crash_test_/0-fun-2-'/3 (lager_test_backend.erl, line 1096) -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_test_backend}, - {line,927}, - {expression,"Body"}, - {expected,"gen_server crash terminated with reason: bad record state in crash:handle_call/3"}, - {value,"gen_server crash terminated with reason: bad record {} in crash:handle_call/3 li"}]} - output:<<"">> - - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc)...lager_test_backend.erl:949:<0.5070.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.106 s] ok - lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (badfun)...[0.101 s] ok - [done in 5.293 s] - [done in 9.440 s] - Error logger redirect - Redirect to default sink - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error reports are printed)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string error reports are printed)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are printed)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages with unicode characters in Args are printed)...[0.001 s] 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)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are truncated at 4096 characters)...[0.025 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.038 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (strings in a mixed report are printed as strings)...[0.001 s] 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.010 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages with unicode characters in Args are printed)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning messages with unicode characters in Args are printed)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (warning messages are printed at the correct level)...[0.001 s] 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)...[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)...[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)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (application progress report)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report)...[0.002 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report with pid)...[0.002 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)...[0.001 s] 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 port limit)...[0.001 s] 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)...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.504 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - case_clause)...[0.504 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - exit)...[0.504 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - error)...[0.501 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (webmachine error reports)...ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (Cowboy error reports, 8 arg version)...[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)...[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.003 s] ok - [done in 51.673 s] - Redirect to error_logger_lager_event sink - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error reports are printed)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string error reports are printed)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are printed)...[0.001 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.012 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.020 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term info reports are printed)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (single term error reports are printed)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are printed)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string info reports are truncated at 4096 characters)...[0.041 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (strings in a mixed report are printed as strings)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are printed)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages are truncated at 4096 characters)...[0.011 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info messages with unicode characters in Args are printed)...[0.001 s] 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)...[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)...[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)...[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)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (application progress report)...[0.001 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (supervisor progress report)...[0.002 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 port limit)...[0.001 s] 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)...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.504 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - case_clause)...[0.504 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - exit)...[0.504 s] ok - lager_test_backend: -error_logger_redirect_test_/0-fun-170- (crash reports for 'special processes' should be handled right - error)...[0.504 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- (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)...[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.014 s] ok - [done in 53.500 s] - [done in 105.173 s] - lager_test_backend: safe_format_test...ok - lager_test_backend: unsafe_format_test...[0.001 s] ok - lager_test_backend: -async_threshold_test_/0-fun-8- (async threshold works)...[6.398 s] ok - lager_test_backend: -high_watermark_test_/0-fun-7- (Nothing dropped when error_logger high watermark is undefined)...[0.608 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.155 s] ok - [done in 175.008 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)...[0.001 s] 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 3.597 s] -module 'lager_trunc_io' - lager_trunc_io: format_test...[0.001 s] 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...[0.001 s] ok - lager_trunc_io: bitstring_printing_test...[0.001 s] ok - lager_trunc_io: list_printing_test...[0.001 s] ok - lager_trunc_io: iolist_printing_test...ok - lager_trunc_io: tuple_printing_test...[0.001 s] ok - lager_trunc_io: map_printing_test...[0.001 s] ok - lager_trunc_io: unicode_test...ok - lager_trunc_io: depth_limit_test...[0.002 s] ok - lager_trunc_io: print_terms_without_format_string_test...ok - lager_trunc_io: improper_io_list_test...ok - [done in 0.112 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.006 s] ok - lager_console_backend: -console_log_test_/0-fun-48- (verbose console logging)...[0.001 s] 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.626 s] ok - lager_console_backend: -console_log_test_/0-fun-37- (tracing doesn't duplicate messages)...[1.132 s] ok - lager_console_backend: -console_log_test_/0-fun-30- (blacklisting a loglevel works)...[0.508 s] ok - lager_console_backend: -console_log_test_/0-fun-25- (whitelisting a loglevel works)...[0.512 s] ok - lager_console_backend: -console_log_test_/0-fun-20- (console backend with custom group leader)...[0.611 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 (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.004 s] ok - lager_console_backend: -set_loglevel_test_/0-fun-3- (Get/set invalid loglevel test)...ok - [done in 5.457 s] + [done in 9.083 s] module 'lager_manager_killer_test' - lager_manager_killer_test: -overload_test_/0-fun-3-...=ERROR REPORT==== 5-May-2023::05:31:41.345337 === -calling logger:remove_handler(default) failed: error {badmatch, - {error, - {not_found,default}}} -*failed* + lager_manager_killer_test: -overload_test_/0-fun-3-...*failed* in function lager_manager_killer_test:confirm_manager_exit/2 (lager_manager_killer_test.erl, line 106) in call from lager_manager_killer_test:'-overload_test_/0-fun-3-'/0 (lager_manager_killer_test.erl, line 31) in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71) @@ -2439,64 +1969,45 @@ {value,false}]} output:<<"">> - lager_manager_killer_test: -overload_alternate_sink_test_/0-fun-3-...=ERROR REPORT==== 5-May-2023::05:31:43.350647 === -** gen_event handler lager_manager_killer crashed. -** Was installed in lager_event -** Last event was: {log,{lager_msg,[], - [{module,lager_manager_killer_test}, - {function,overload_test_}, - {line,{29,15}}, - {pid,"<0.719.0>"}, - {node,nonode@nohost}], - info, - {["2023",45,"05",45,"05"], - ["05",58,"31",58,"41",46,"463"]}, - {1683,307901,463156}, - ["1",39,116,104,32,109,101,115,115,97,103, - 101]}} -** When handler state == {state,10,1000} -** Reason == {kill_me,[10,1000]} - -=INFO REPORT==== 5-May-2023::05:31:47.584569 === - application: lager - exited: stopped - type: temporary - -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8941.0>,exit,normal} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8965.0>,spawned,<0.719.0>, + lager_manager_killer_test: -overload_alternate_sink_test_/0-fun-3-...lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1362.0>,exit,normal} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1388.0>,spawned,<0.719.0>, {eunit_proc,group_leader_process,[<0.719.0>]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8965.0>,getting_linked,<0.719.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.44.0>,unlink,<0.8950.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8950.0>,getting_unlinked,<0.44.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8955.0>,exit,shutdown} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8953.0>,getting_unlinked,<0.8955.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8954.0>,getting_unlinked,<0.8955.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8954.0>,unlink,<0.8955.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8956.0>,exit,shutdown} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8953.0>,getting_unlinked,<0.8956.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8954.0>,getting_unlinked,<0.8956.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8954.0>,unlink,<0.8956.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8959.0>,exit,shutdown} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8954.0>,getting_unlinked,<0.8959.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8954.0>,unlink,<0.8959.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8954.0>,exit,shutdown} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8954.0>,unregister,lager_handler_watcher_sup} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8952.0>,getting_unlinked,<0.8954.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8952.0>,unlink,<0.8954.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8957.0>,getting_unlinked,<0.8959.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8953.0>,exit,killed} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8953.0>,unregister,lager_event} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8952.0>,getting_unlinked,<0.8953.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8952.0>,unlink,<0.8953.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8952.0>,exit,shutdown} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8952.0>,unregister,lager_sup} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8951.0>,getting_unlinked,<0.8952.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8951.0>,exit,normal} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8950.0>,getting_unlinked,<0.8951.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8950.0>,exit,normal} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.44.0>,spawn,<0.8966.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1388.0>,getting_linked,<0.719.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.44.0>,unlink,<0.1371.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1371.0>,getting_unlinked,<0.44.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1376.0>,exit,shutdown} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1376.0>,unregister,lager_crash_log} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1373.0>,getting_unlinked,<0.1376.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1373.0>,unlink,<0.1376.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1377.0>,exit,shutdown} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1378.0>,exit,shutdown} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1382.0>,exit,shutdown} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1374.0>,getting_unlinked,<0.1377.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1374.0>,getting_unlinked,<0.1378.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1375.0>,getting_unlinked,<0.1377.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1375.0>,getting_unlinked,<0.1378.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1379.0>,getting_unlinked,<0.1382.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1375.0>,getting_unlinked,<0.1382.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1375.0>,unlink,<0.1377.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1375.0>,unlink,<0.1378.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1375.0>,unlink,<0.1382.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1375.0>,exit,shutdown} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1375.0>,unregister,lager_handler_watcher_sup} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1373.0>,getting_unlinked,<0.1375.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1373.0>,unlink,<0.1375.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1374.0>,exit,killed} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1374.0>,unregister,lager_event} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1373.0>,getting_unlinked,<0.1374.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1373.0>,unlink,<0.1374.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1373.0>,exit,shutdown} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1373.0>,unregister,lager_sup} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1372.0>,getting_unlinked,<0.1373.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1372.0>,exit,normal} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1371.0>,getting_unlinked,<0.1372.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1371.0>,exit,normal} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.44.0>,spawn,<0.1389.0>, {application_controller,init_starter, - [{<0.719.0>,#Ref<0.3242495582.1745879043.100395>}, + [{<0.719.0>,#Ref<0.2568198948.701759495.174226>}, {appl,lager, {appl_data,lager, [lager_sup,lager_event,lager_crash_log, @@ -2517,7 +2028,7 @@ "Erlang logging framework",[],"3.9.2",undefined,[],[], [kernel,stdlib,goldrush]}, {state,[],[],[], - [{goldrush,<0.8943.0>}, + [{goldrush,<0.1364.0>}, {compiler,undefined}, {syntax_tools,undefined}, {crypto,undefined}, @@ -2532,10 +2043,10 @@ {kernel,permanent}], [],[]}, normal]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.44.0>,link,<0.8966.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8966.0>,spawned,<0.44.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.44.0>,link,<0.1389.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1389.0>,spawned,<0.44.0>, {application_controller,init_starter, - [{<0.719.0>,#Ref<0.3242495582.1745879043.100395>}, + [{<0.719.0>,#Ref<0.2568198948.701759495.174226>}, {appl,lager, {appl_data,lager, [lager_sup,lager_event,lager_crash_log, @@ -2556,7 +2067,7 @@ "Erlang logging framework",[],"3.9.2",undefined,[],[], [kernel,stdlib,goldrush]}, {state,[],[],[], - [{goldrush,<0.8943.0>}, + [{goldrush,<0.1364.0>}, {compiler,undefined}, {syntax_tools,undefined}, {crypto,undefined}, @@ -2571,11 +2082,11 @@ {kernel,permanent}], [],[]}, normal]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8966.0>,getting_linked,<0.44.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8966.0>,spawn,<0.8967.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1389.0>,getting_linked,<0.44.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1389.0>,spawn,<0.1390.0>, {proc_lib,init_p, - [<0.8966.0>,[],application_master,init, - [<0.44.0>,<0.8966.0>, + [<0.1389.0>,[],application_master,init, + [<0.44.0>,<0.1389.0>, {appl_data,lager, [lager_sup,lager_event,lager_crash_log, lager_handler_watcher_sup], @@ -2592,11 +2103,11 @@ lager_transform,lager_trunc_io,lager_util], infinity,infinity}, normal]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8966.0>,link,<0.8967.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8967.0>,spawned,<0.8966.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1389.0>,link,<0.1390.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1390.0>,spawned,<0.1389.0>, {proc_lib,init_p, - [<0.8966.0>,[],application_master,init, - [<0.44.0>,<0.8966.0>, + [<0.1389.0>,[],application_master,init, + [<0.44.0>,<0.1389.0>, {appl_data,lager, [lager_sup,lager_event,lager_crash_log, lager_handler_watcher_sup], @@ -2613,11 +2124,11 @@ lager_transform,lager_trunc_io,lager_util], infinity,infinity}, normal]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8967.0>,getting_linked,<0.8966.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8967.0>,link,<0.44.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8967.0>,spawn,<0.8968.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1390.0>,getting_linked,<0.1389.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1390.0>,link,<0.44.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1390.0>,spawn,<0.1391.0>, {application_master,start_it, - [#Ref<0.3242495582.1745879043.100396>, + [#Ref<0.2568198948.701759495.174227>, {state,undefined, {appl_data,lager, [lager_sup,lager_event,lager_crash_log, @@ -2636,11 +2147,11 @@ lager_trunc_io,lager_util], infinity,infinity}, [],0,<0.65.0>,[]}, - <0.8967.0>,normal]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8967.0>,link,<0.8968.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8968.0>,spawned,<0.8967.0>, + <0.1390.0>,normal]}} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1390.0>,link,<0.1391.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1391.0>,spawned,<0.1390.0>, {application_master,start_it, - [#Ref<0.3242495582.1745879043.100396>, + [#Ref<0.2568198948.701759495.174227>, {state,undefined, {appl_data,lager, [lager_sup,lager_event,lager_crash_log, @@ -2659,192 +2170,219 @@ lager_trunc_io,lager_util], infinity,infinity}, [],0,<0.65.0>,[]}, - <0.8967.0>,normal]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8968.0>,getting_linked,<0.8967.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.44.0>,getting_linked,<0.8967.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8968.0>,spawn,<0.8969.0>, + <0.1390.0>,normal]}} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1391.0>,getting_linked,<0.1390.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.44.0>,getting_linked,<0.1390.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1391.0>,spawn,<0.1392.0>, {proc_lib,init_p, - [<0.8968.0>,[],gen,init_it, - [gen_server,<0.8968.0>,<0.8968.0>, + [<0.1391.0>,[],gen,init_it, + [gen_server,<0.1391.0>,<0.1391.0>, {local,lager_sup}, supervisor, {{local,lager_sup},lager_sup,[]}, []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8968.0>,link,<0.8969.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8969.0>,spawned,<0.8968.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1391.0>,link,<0.1392.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1392.0>,spawned,<0.1391.0>, {proc_lib,init_p, - [<0.8968.0>,[],gen,init_it, - [gen_server,<0.8968.0>,<0.8968.0>, + [<0.1391.0>,[],gen,init_it, + [gen_server,<0.1391.0>,<0.1391.0>, {local,lager_sup}, supervisor, {{local,lager_sup},lager_sup,[]}, []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8969.0>,getting_linked,<0.8968.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8969.0>,register,lager_sup} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8969.0>,spawn,<0.8970.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1392.0>,getting_linked,<0.1391.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1392.0>,register,lager_sup} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1392.0>,spawn,<0.1393.0>, {proc_lib,init_p, [lager_sup, - [<0.8968.0>], + [<0.1391.0>], gen,init_it, - [gen_event,<0.8969.0>,<0.8969.0>, + [gen_event,<0.1392.0>,<0.1392.0>, {local,lager_event}, 'no callback module',[],[]]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8969.0>,link,<0.8970.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8970.0>,spawned,<0.8969.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1392.0>,link,<0.1393.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1393.0>,spawned,<0.1392.0>, {proc_lib,init_p, [lager_sup, - [<0.8968.0>], + [<0.1391.0>], gen,init_it, - [gen_event,<0.8969.0>,<0.8969.0>, + [gen_event,<0.1392.0>,<0.1392.0>, {local,lager_event}, 'no callback module',[],[]]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8970.0>,getting_linked,<0.8969.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8970.0>,register,lager_event} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8969.0>,spawn,<0.8971.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1393.0>,getting_linked,<0.1392.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1393.0>,register,lager_event} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1392.0>,spawn,<0.1394.0>, {proc_lib,init_p, [lager_sup, - [<0.8968.0>], + [<0.1391.0>], gen,init_it, - [gen_server,<0.8969.0>,<0.8969.0>, + [gen_server,<0.1392.0>,<0.1392.0>, {local,lager_handler_watcher_sup}, supervisor, {{local,lager_handler_watcher_sup}, lager_handler_watcher_sup,[]}, []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8969.0>,link,<0.8971.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8971.0>,spawned,<0.8969.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1392.0>,link,<0.1394.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1394.0>,spawned,<0.1392.0>, {proc_lib,init_p, [lager_sup, - [<0.8968.0>], + [<0.1391.0>], gen,init_it, - [gen_server,<0.8969.0>,<0.8969.0>, + [gen_server,<0.1392.0>,<0.1392.0>, {local,lager_handler_watcher_sup}, supervisor, {{local,lager_handler_watcher_sup}, lager_handler_watcher_sup,[]}, []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8971.0>,getting_linked,<0.8969.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8971.0>,register,lager_handler_watcher_sup} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8971.0>,spawn,<0.8972.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1394.0>,getting_linked,<0.1392.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1394.0>,register,lager_handler_watcher_sup} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1392.0>,spawn,<0.1395.0>, + {proc_lib,init_p, + [lager_sup, + [<0.1391.0>], + gen,init_it, + [gen_server,<0.1392.0>,<0.1392.0>, + {local,lager_crash_log}, + lager_crash_log, + ["crash.log",65536,10485760, + [{hour,0}], + 5,lager_rotator_default], + []]]}} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1392.0>,link,<0.1395.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1395.0>,spawned,<0.1392.0>, + {proc_lib,init_p, + [lager_sup, + [<0.1391.0>], + gen,init_it, + [gen_server,<0.1392.0>,<0.1392.0>, + {local,lager_crash_log}, + lager_crash_log, + ["crash.log",65536,10485760, + [{hour,0}], + 5,lager_rotator_default], + []]]}} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1395.0>,getting_linked,<0.1392.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1395.0>,register,lager_crash_log} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1394.0>,spawn,<0.1396.0>, {proc_lib,init_p, [lager_handler_watcher_sup, - [lager_sup,<0.8968.0>], + [lager_sup,<0.1391.0>], gen,init_it, - [gen_server,<0.8971.0>,<0.8971.0>, + [gen_server,<0.1394.0>,<0.1394.0>, lager_handler_watcher, [lager_event,lager_manager_killer,[10,1000]], []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8971.0>,link,<0.8972.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8972.0>,spawned,<0.8971.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1394.0>,link,<0.1396.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1396.0>,spawned,<0.1394.0>, {proc_lib,init_p, [lager_handler_watcher_sup, - [lager_sup,<0.8968.0>], + [lager_sup,<0.1391.0>], gen,init_it, - [gen_server,<0.8971.0>,<0.8971.0>, + [gen_server,<0.1394.0>,<0.1394.0>, lager_handler_watcher, [lager_event,lager_manager_killer,[10,1000]], []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8972.0>,getting_linked,<0.8971.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8970.0>,link,<0.8972.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8972.0>,getting_linked,<0.8970.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8971.0>,spawn,<0.8973.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1396.0>,getting_linked,<0.1394.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1393.0>,link,<0.1396.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1396.0>,getting_linked,<0.1393.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1394.0>,spawn,<0.1397.0>, {proc_lib,init_p, [lager_handler_watcher_sup, - [lager_sup,<0.8968.0>], + [lager_sup,<0.1391.0>], gen,init_it, - [gen_server,<0.8971.0>,<0.8971.0>, + [gen_server,<0.1394.0>,<0.1394.0>, lager_handler_watcher, - [error_logger,error_logger_lager_h,[5,handle]], + [error_logger,error_logger_lager_h,[50,handle]], []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8971.0>,link,<0.8973.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8973.0>,spawned,<0.8971.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1394.0>,link,<0.1397.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1397.0>,spawned,<0.1394.0>, {proc_lib,init_p, [lager_handler_watcher_sup, - [lager_sup,<0.8968.0>], + [lager_sup,<0.1391.0>], gen,init_it, - [gen_server,<0.8971.0>,<0.8971.0>, + [gen_server,<0.1394.0>,<0.1394.0>, lager_handler_watcher, - [error_logger,error_logger_lager_h,[5,handle]], + [error_logger,error_logger_lager_h,[50,handle]], []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8973.0>,getting_linked,<0.8971.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8957.0>,link,<0.8973.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8973.0>,getting_linked,<0.8957.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8969.0>,spawn,<0.8974.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1397.0>,getting_linked,<0.1394.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1379.0>,link,<0.1397.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1397.0>,getting_linked,<0.1379.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1392.0>,spawn,<0.1398.0>, {proc_lib,init_p, [lager_sup, - [<0.8968.0>], + [<0.1391.0>], gen,init_it, - [gen_event,<0.8969.0>,<0.8969.0>, + [gen_event,<0.1392.0>,<0.1392.0>, {local,'__lager_test_sink_lager_event'}, 'no callback module',[],[]]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8969.0>,link,<0.8974.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8974.0>,spawned,<0.8969.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1392.0>,link,<0.1398.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1398.0>,spawned,<0.1392.0>, {proc_lib,init_p, [lager_sup, - [<0.8968.0>], + [<0.1391.0>], gen,init_it, - [gen_event,<0.8969.0>,<0.8969.0>, + [gen_event,<0.1392.0>,<0.1392.0>, {local,'__lager_test_sink_lager_event'}, 'no callback module',[],[]]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8974.0>,getting_linked,<0.8969.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8974.0>,register,'__lager_test_sink_lager_event'} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8971.0>,spawn,<0.8975.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1398.0>,getting_linked,<0.1392.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1398.0>,register,'__lager_test_sink_lager_event'} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1394.0>,spawn,<0.1399.0>, {proc_lib,init_p, [lager_handler_watcher_sup, - [lager_sup,<0.8968.0>], + [lager_sup,<0.1391.0>], gen,init_it, - [gen_server,<0.8971.0>,<0.8971.0>, + [gen_server,<0.1394.0>,<0.1394.0>, lager_handler_watcher, ['__lager_test_sink_lager_event', lager_manager_killer, [10,1000]], []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8971.0>,link,<0.8975.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8975.0>,spawned,<0.8971.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1394.0>,link,<0.1399.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1399.0>,spawned,<0.1394.0>, {proc_lib,init_p, [lager_handler_watcher_sup, - [lager_sup,<0.8968.0>], + [lager_sup,<0.1391.0>], gen,init_it, - [gen_server,<0.8971.0>,<0.8971.0>, + [gen_server,<0.1394.0>,<0.1394.0>, lager_handler_watcher, ['__lager_test_sink_lager_event', lager_manager_killer, [10,1000]], []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8975.0>,getting_linked,<0.8971.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8974.0>,link,<0.8975.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8975.0>,getting_linked,<0.8974.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8971.0>,spawn,<0.8976.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1399.0>,getting_linked,<0.1394.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1398.0>,link,<0.1399.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1399.0>,getting_linked,<0.1398.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1394.0>,spawn,<0.1400.0>, {proc_lib,init_p, [lager_handler_watcher_sup, - [lager_sup,<0.8968.0>], + [lager_sup,<0.1391.0>], gen,init_it, - [gen_server,<0.8971.0>,<0.8971.0>, + [gen_server,<0.1394.0>,<0.1394.0>, lager_handler_watcher, ['__lager_test_sink_lager_event', lager_slow_backend, [{delay,1000}]], []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8971.0>,link,<0.8976.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8976.0>,spawned,<0.8971.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1394.0>,link,<0.1400.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1400.0>,spawned,<0.1394.0>, {proc_lib,init_p, [lager_handler_watcher_sup, - [lager_sup,<0.8968.0>], + [lager_sup,<0.1391.0>], gen,init_it, - [gen_server,<0.8971.0>,<0.8971.0>, + [gen_server,<0.1394.0>,<0.1394.0>, lager_handler_watcher, ['__lager_test_sink_lager_event', lager_slow_backend, [{delay,1000}]], []]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8976.0>,getting_linked,<0.8971.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8974.0>,link,<0.8976.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8976.0>,getting_linked,<0.8974.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8968.0>,spawn,<0.8977.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1400.0>,getting_linked,<0.1394.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1398.0>,link,<0.1400.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1400.0>,getting_linked,<0.1398.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1391.0>,spawn,<0.1401.0>, {erlang,apply,[#Fun,[]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8977.0>,spawned,<0.8968.0>, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1401.0>,spawned,<0.1391.0>, {erlang,apply,[#Fun,[]]}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8977.0>,exit, +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1401.0>,exit, {ok,lager_default_tracer, <<70,79,82,49,0,0,8,140,66,69,65,77,65,116,85,56,0,0,1, 126,0,0,0,39,20,108,97,103,101,114,95,100,101,102,97, @@ -2971,46 +2509,522 @@ 11,0,0,0,0,0,0,0,0,84,121,112,101,0,0,0,26,0,0,0,1,0, 0,0,1,31,255,0,0,0,0,0,0,0,0,255,255,255,255,255,255, 255,255,0,0>>}} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8968.0>,link,<0.8969.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8967.0>,unlink,<0.8966.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8966.0>,getting_unlinked,<0.8967.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8966.0>,exit,normal} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.44.0>,getting_unlinked,<0.8966.0>} -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8975.0>,unlink,<0.8974.0>} -=ERROR REPORT==== 5-May-2023::05:31:48.751133 === -** 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,16}}, - {pid,"<0.719.0>"}, - {node,nonode@nohost}], - info, - {["2023",45,"05",45,"05"], - ["05",58,"31",58,"47",46,"743"]}, - {1683,307907,743060}, - ["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.1391.0>,link,<0.1392.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1390.0>,unlink,<0.1389.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1389.0>,getting_unlinked,<0.1390.0>} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.1389.0>,exit,normal} +lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.44.0>,getting_unlinked,<0.1389.0>} +*failed* +in function lager_manager_killer_test:confirm_manager_exit/2 (lager_manager_killer_test.erl, line 106) +in call from lager_manager_killer_test:'-overload_alternate_sink_test_/0-fun-3-'/0 (lager_manager_killer_test.erl, line 71) +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:{assert,[{module,lager_manager_killer_test}, + {line,106}, + {expression,"false"}, + {expected,true}, + {value,false}]} + output:<<"">> + + [done in 7.295 s] +module 'lager_backend_throttle' +module 'lager_crash_backend' +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)...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.534 s] ok + lager_console_backend: -console_log_test_/0-fun-37- (tracing doesn't duplicate messages)...[1.035 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.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.139 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 5.595 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/28613253") +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/23039649") +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/81321328") +in call from lager_rotator_default:rotate_file_fail_test/0 +**error:undef + output:<<"">> + + [done in 0.057 s] +module 'lager_format' +module 'pr_composite_test' + pr_composite_test: nested_record_test...ok + pr_composite_test: list_field_test...ok + pr_composite_test: list_of_records_test...ok + pr_composite_test: improper_list_test...ok + [done in 0.012 s] +module 'lager_trace_test' + lager_trace_test: -trace_test_/0-fun-2- (Trace combined with log_root)...[4.177 s] ok + [done in 4.180 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.178 s] +module 'lager_transform' +module 'lager_manager_killer' +module 'lager_stdlib' +module 'lager_test_backend' + lager_test_backend: not_running_test...ok + lager_test_backend: -lager_test_/0-fun-206- (observe that there is nothing up my sleeve)...ok + lager_test_backend: -lager_test_/0-fun-203- (test sink not running)...ok + lager_test_backend: -lager_test_/0-fun-201- (logging works)...ok + lager_test_backend: -lager_test_/0-fun-197- (logging with macro works)...ok + lager_test_backend: -lager_test_/0-fun-193- (unsafe logging works)...ok + lager_test_backend: -lager_test_/0-fun-189- (logging with arguments works)...ok + lager_test_backend: -lager_test_/0-fun-185- (logging with macro and arguments works)...ok + lager_test_backend: -lager_test_/0-fun-181- (unsafe logging with args works)...ok + lager_test_backend: -lager_test_/0-fun-177- (logging works from inside a begin/end block)...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.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)...[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.054 s] ok + lager_test_backend: -lager_test_/0-fun-91- (tracing works with custom attributes)...[0.167 s] ok + lager_test_backend: -lager_test_/0-fun-85- (tracing works with custom attributes and event stream processing)...[0.862 s] ok + lager_test_backend: -lager_test_/0-fun-72- (tracing custom attributes works with event stream processing statistics and reductions)...[0.484 s] ok + lager_test_backend: -lager_test_/0-fun-61- (persistent traces work)...[0.110 s] ok + lager_test_backend: -lager_test_/0-fun-57- (tracing honors loglevel)...[0.081 s] ok + lager_test_backend: -lager_test_/0-fun-52- (stopped trace stops and removes its event handler - default sink (gh#267))...[0.330 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.102 s] ok + lager_test_backend: -lager_test_/0-fun-35- (record printing fails gracefully when no lager_record attribute)...[0.101 s] ok + lager_test_backend: -lager_test_/0-fun-31- (record printing fails gracefully when input is not a tuple)...[0.101 s] ok + lager_test_backend: -lager_test_/0-fun-27- (record printing fails gracefully when module is invalid)...[1.001 s] ok + lager_test_backend: -lager_test_/0-fun-23- (installing a new handler adjusts the global loglevel if necessary)...ok + lager_test_backend: -lager_test_/0-fun-20- (metadata in the process dictionary works)...ok + lager_test_backend: -lager_test_/0-fun-11- (unsafe messages really are not truncated)...[0.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)...[0.001 s] ok + lager_test_backend: -extra_sinks_test_/0-fun-42- (observe that there is nothing up my sleeve)...ok + lager_test_backend: -extra_sinks_test_/0-fun-39- (logging works)...ok + lager_test_backend: -extra_sinks_test_/0-fun-35- (logging with arguments works)...ok + lager_test_backend: -extra_sinks_test_/0-fun-31- (variables inplace of literals in logging statements work)...ok + lager_test_backend: -extra_sinks_test_/0-fun-20- (stopped trace stops and removes its event handler - test sink (gh#267))...[0.148 s] ok + lager_test_backend: -extra_sinks_test_/0-fun-9- (log messages below the threshold are ignored)...[0.003 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.907 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.916 s] + [done in 1.823 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 + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return value)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return value with string)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return uncaught throw)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause string)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (function clause)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (if clause)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (try clause)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (undefined function)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad math)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad match)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arity)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg1)...*failed* +in function lager_test_backend:test_body/2 (lager_test_backend.erl, line 927) +in call from lager_test_backend:'-error_logger_redirect_crash_test_/0-fun-2-'/3 (lager_test_backend.erl, line 1096) +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_test_backend}, + {line,927}, + {expression,"Body"}, + {expected,"gen_server crash terminated with reason: bad argument in crash:handle_call/3"}, + {value,"gen_server crash terminated with reason: bad argument in call to erlang:list"}]} + output:<<"">> -lager_manager_killer_test.erl:103:<0.719.0>: OTHER MSG: {trace,<0.8974.0>,getting_unlinked,<0.8975.0>} -=ERROR REPORT==== 5-May-2023::05:31:48.751908 === -Killing sink '__lager_test_sink_lager_event', current message_queue_len:10 + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg2)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad record)...*failed* +in function lager_test_backend:test_body/2 (lager_test_backend.erl, line 927) +in call from lager_test_backend:'-error_logger_redirect_crash_test_/0-fun-2-'/3 (lager_test_backend.erl, line 1096) +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_test_backend}, + {line,927}, + {expression,"Body"}, + {expected,"gen_server crash terminated with reason: bad record state in crash:handle_call/3"}, + {value,"gen_server crash terminated with reason: bad record {} in crash:handle_call/3 li"}]} + output:<<"">> + + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc)...lager_test_backend.erl:949:<0.4285.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.782 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.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return value with string)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad return uncaught throw)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (case clause string)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (function clause)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (if clause)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (try clause)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (undefined function)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad math)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad match)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arity)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg1)...*failed* +in function lager_test_backend:test_body/2 (lager_test_backend.erl, line 927) +in call from lager_test_backend:'-error_logger_redirect_crash_test_/0-fun-2-'/3 (lager_test_backend.erl, line 1096) +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_test_backend}, + {line,927}, + {expression,"Body"}, + {expected,"gen_server crash terminated with reason: bad argument in crash:handle_call/3"}, + {value,"gen_server crash terminated with reason: bad argument in call to erlang:list"}]} + output:<<"">> -lager_manager_killer_test.erl:101:<0.719.0>: Manager <0.8974.0> killed -=INFO REPORT==== 5-May-2023::05:31:49.795729 === + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad arg2)...[0.101 s] ok + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (bad record)...*failed* +in function lager_test_backend:test_body/2 (lager_test_backend.erl, line 927) +in call from lager_test_backend:'-error_logger_redirect_crash_test_/0-fun-2-'/3 (lager_test_backend.erl, line 1096) +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_test_backend}, + {line,927}, + {expression,"Body"}, + {expected,"gen_server crash terminated with reason: bad record state in crash:handle_call/3"}, + {value,"gen_server crash terminated with reason: bad record {} in crash:handle_call/3 li"}]} + output:<<"">> + + lager_test_backend: -error_logger_redirect_crash_test_/0-fun-2- (noproc)...lager_test_backend.erl:949:<0.5067.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.951 s] + [done in 5.734 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)...[0.001 s] 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.008 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are truncated at 4096 characters)...[0.026 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are printed)...[0.001 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are truncated at 4096 characters)...[0.008 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.014 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 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)...[0.001 s] 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)...[0.001 s] 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)...[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)...[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)...[0.001 s] 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 port limit)...[0.001 s] 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.002 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.031 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- (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)...[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.003 s] ok + [done in 48.460 s] + Redirect to error_logger_lager_event sink + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error reports are printed)...[0.001 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (string error reports are printed)...[0.001 s] ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (error messages are printed)...[0.001 s] 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- (info reports are printed)...ok + lager_test_backend: -error_logger_redirect_test_/0-fun-170- (info reports are truncated at 4096 characters)...[0.008 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.014 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 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)...[0.001 s] 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)...[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)...[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)...[0.001 s] 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 port limit)...[0.001 s] 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.033 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- (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)...[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.005 s] ok + [done in 49.236 s] + [done in 97.696 s] + lager_test_backend: safe_format_test...ok + lager_test_backend: unsafe_format_test...[0.001 s] ok + lager_test_backend: -async_threshold_test_/0-fun-8- (async threshold works)...[1.508 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.154 s] ok + [done in 151.926 s] +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_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==== 7-Jun-2024::13:59:36.990770 === application: lager exited: stopped - type: temporary + type: permanent -[7.218 s] ok - [done in 8.464 s] +=INFO REPORT==== 7-Jun-2024::13:59:36.995694 === + application: goldrush + exited: stopped + type: permanent + +[0.119 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.179 s] +module 'trunc_io_eqc' +module 'lager_crash_log' + lager_crash_log: -filesystem_test_/0-fun-30- (under normal circumstances, file should be opened)...[0.002 s] ok + lager_crash_log: -filesystem_test_/0-fun-27- (file can't be opened on startup triggers an error message)...[0.001 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.008 s] ok + [done in 5.253 s] +module 'special_process' +module 'lager_config' +module 'lager_handler_watcher_sup' +module 'crash_statem' +module 'lager_slow_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 'crash' +module 'lager_trunc_io' + lager_trunc_io: format_test...[0.001 s] 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.047 s] +zzzz_gh280_crash: gh280_crash_test (module 'zzzz_gh280_crash')...ok +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.675 s] +module 'lager_handler_watcher' + lager_handler_watcher: -reinstall_on_initial_failure_test_/0-fun-3-...[6.047 s] ok + lager_handler_watcher: -reinstall_on_runtime_failure_test_/0-fun-3-...[6.042 s] ok + lager_handler_watcher: -reinstall_handlers_after_killer_hwm_test_/0-fun-1-...[6.086 s] ok + [done in 18.184 s] +module 'crash_fsm' +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==== 7-Jun-2024::14:00:03.387722 === +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.044 s] +module 'lager_rotate' + lager_rotate: -rotate_test_/0-fun-7- (Rotate single file)...[4.810 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.015 s] ok + [done in 8.008 s] +module 'lager_msg' +module 'lager_common_test_backend' +module 'error_logger_lager_h' + error_logger_lager_h: -no_silent_hwm_drops_test_/0-fun-2-...[2.699 s] ok + error_logger_lager_h: -shaper_does_not_forward_sup_progress_messages_to_info_level_backend_test_/0-fun-1-...[0.100 s] ok + error_logger_lager_h: -supressed_messages_are_not_counted_for_hwm_test_/0-fun-2-...[0.103 s] ok + [done in 2.911 s] +module 'lager_rotator_behaviour' +module 'lager_sup' ======================================================= Failed: 10. Skipped: 0. Passed: 351. Cover analysis: /build/erlang-lager-3.9.2/.eunit/index.html -Logger - error: {removed_failing_handler,error_logger_tty_true} ERROR: One or more eunit tests failed. ERROR: eunit failed while processing /build/erlang-lager-3.9.2: rebar_abort make[1]: Leaving directory '/build/erlang-lager-3.9.2' @@ -3143,12 +3157,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/58220/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/58220/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/16509 and its subdirectories -I: Current time: Fri May 5 05:32:18 -12 2023 -I: pbuilder-time-stamp: 1683307938 +I: removing directory /srv/workspace/pbuilder/58220 and its subdirectories +I: Current time: Fri Jun 7 14:00:20 +14 2024 +I: pbuilder-time-stamp: 1717718420