Diff of the two buildlogs: -- --- b1/build.log 2025-05-01 06:09:07.353840691 +0000 +++ b2/build.log 2025-05-01 06:16:52.523941498 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Apr 30 17:54:25 -12 2025 -I: pbuilder-time-stamp: 1746078865 +I: Current time: Thu May 1 20:09:15 +14 2025 +I: pbuilder-time-stamp: 1746079755 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking alertmanager-irc-relay_0.5.1-3.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/32410/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/24397/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 1 06:09 /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/24397/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/24397/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='a5acd96b79e847a2bfec939e86379e12' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='32410' - PS1='# ' - PS2='> ' + INVOCATION_ID=42dd385a180f4a3da3911ad35d3a2430 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=24397 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.mr9bFcvf/pbuilderrc_Ao3u --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.mr9bFcvf/b1 --logfile b1/build.log alertmanager-irc-relay_0.5.1-3.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.mr9bFcvf/pbuilderrc_HM4T --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.mr9bFcvf/b2 --logfile b2/build.log alertmanager-irc-relay_0.5.1-3.dsc' + SUDO_GID=114 + SUDO_UID=108 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux wbq0 6.1.0-34-armmp #1 SMP Debian 6.1.135-1 (2025-04-25) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-34-arm64 #1 SMP Debian 6.1.135-1 (2025-04-25) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/32410/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/24397/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -343,7 +375,7 @@ Get: 222 http://deb.debian.org/debian trixie/main armhf golang-protobuf-extensions-dev all 1.0.4-2 [29.7 kB] Get: 223 http://deb.debian.org/debian trixie/main armhf golang-uber-automaxprocs-dev all 1.5.3-1 [22.3 kB] Get: 224 http://deb.debian.org/debian trixie/main armhf golang-github-prometheus-alertmanager-dev all 0.28.1+ds-1 [1139 kB] -Fetched 150 MB in 14s (11.0 MB/s) +Fetched 150 MB in 3s (53.7 MB/s) Preconfiguring packages ... Selecting previously unselected package tzdata. (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 ... 19566 files and directories currently installed.) @@ -1074,8 +1106,8 @@ Setting up tzdata (2025b-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu May 1 05:57:52 UTC 2025. -Universal Time is now: Thu May 1 05:57:52 UTC 2025. +Local time is now: Thu May 1 06:12:26 UTC 2025. +Universal Time is now: Thu May 1 06:12:26 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-cespare-xxhash-dev (2.3.0-1) ... @@ -1260,7 +1292,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/alertmanager-irc-relay-0.5.1/ && 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 > ../alertmanager-irc-relay_0.5.1-3_source.changes +I: user script /srv/workspace/pbuilder/24397/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/24397/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/alertmanager-irc-relay-0.5.1/ && 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 > ../alertmanager-irc-relay_0.5.1-3_source.changes dpkg-buildpackage: info: source package alertmanager-irc-relay dpkg-buildpackage: info: source version 0.5.1-3 dpkg-buildpackage: info: source distribution unstable @@ -1278,18 +1314,18 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 3 github.com/google/alertmanager-irc-relay github.com/google/alertmanager-irc-relay/logging + cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 4 github.com/google/alertmanager-irc-relay github.com/google/alertmanager-irc-relay/logging internal/goarch internal/unsafeheader -internal/cpu internal/byteorder +internal/cpu internal/abi -internal/chacha8rand -internal/bytealg internal/coverage/rtcov +internal/chacha8rand internal/godebugs internal/goexperiment internal/goos +internal/bytealg internal/profilerecord internal/runtime/atomic internal/asan @@ -1303,9 +1339,6 @@ math/bits unicode unicode/utf8 -internal/race -internal/runtime/maps -internal/sync internal/itoa container/list math @@ -1313,8 +1346,10 @@ crypto/internal/fips140deps/byteorder crypto/internal/fips140deps/cpu cmp +internal/race crypto/internal/boring/sig -runtime +internal/runtime/maps +internal/sync unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias @@ -1326,149 +1361,156 @@ google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set github.com/klauspost/compress -iter -internal/reflectlite +runtime sync +iter crypto/internal/fips140/subtle +internal/reflectlite slices crypto/subtle maps weak runtime/metrics -errors -sort internal/bisect +internal/testlog +internal/singleflight +errors +unique +runtime/cgo +internal/oserror io internal/godebug -bytes -internal/oserror syscall +bytes hash strconv crypto/internal/fips140deps/godebug strings -crypto crypto/internal/fips140 -path crypto/internal/fips140/sha256 +crypto crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 -internal/testlog +path math/rand/v2 crypto/internal/fips140/hmac time crypto/internal/fips140/check -crypto/internal/fips140/aes internal/syscall/unix +crypto/internal/fips140/aes internal/syscall/execenv crypto/internal/randutil -crypto/internal/fips140/edwards25519/field crypto/internal/fips140/nistec/fiat +crypto/internal/fips140/edwards25519/field reflect context io/fs internal/filepathlite internal/poll -os -crypto/internal/fips140/nistec -internal/fmtsort math/rand crypto/internal/impl crypto/internal/fips140/bigmod +os +crypto/sha3 +crypto/internal/fips140hash +crypto/internal/fips140/edwards25519 +crypto/internal/fips140/nistec +crypto/internal/fips140/hkdf +crypto/internal/fips140/tls12 +internal/fmtsort +crypto/internal/fips140/tls13 +encoding/binary +crypto/tls/internal/fips140tls crypto/internal/sysrand +fmt crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140/aes/gcm crypto/internal/fips140only -fmt crypto/cipher +crypto/internal/fips140/ed25519 crypto/internal/boring -crypto/aes crypto/des -crypto/sha3 -crypto/internal/fips140/ecdh -crypto/internal/fips140/ecdsa -crypto/ecdh -math/big -crypto/internal/fips140hash +crypto/aes crypto/sha512 -crypto/internal/fips140/edwards25519 +math/big crypto/hmac -crypto/internal/fips140/hkdf crypto/internal/fips140/mlkem -crypto/internal/fips140/ed25519 -crypto/internal/fips140/tls12 -crypto/internal/fips140/tls13 -encoding/binary +crypto/internal/fips140/ecdh +crypto/internal/fips140/ecdsa +crypto/ecdh +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/internal/poly1305 crypto/md5 crypto/rc4 crypto/internal/fips140/rsa -vendor/golang.org/x/crypto/chacha20 -crypto/elliptic -crypto/internal/boring/bbig -encoding/asn1 -crypto/rand -crypto/ed25519 -vendor/golang.org/x/crypto/internal/poly1305 -crypto/rsa vendor/golang.org/x/crypto/chacha20poly1305 -crypto/internal/hpke crypto/sha1 -vendor/golang.org/x/crypto/cryptobyte crypto/sha256 -crypto/tls/internal/fips140tls -crypto/dsa encoding/hex encoding/base64 -crypto/x509/pkix vendor/golang.org/x/net/dns/dnsmessage encoding/pem -crypto/ecdsa -internal/singleflight -unique net/netip -runtime/cgo net/url path/filepath +sort +crypto/elliptic +crypto/internal/boring/bbig +encoding/asn1 +crypto/rand +crypto/dsa +crypto/ed25519 +crypto/internal/hpke +crypto/rsa encoding/json flag +net +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix bufio +crypto/ecdsa github.com/golang/mock/gomock log github.com/fluffle/goirc/state -github.com/google/alertmanager-irc-relay/logging compress/flate -net +github.com/google/alertmanager-irc-relay/logging hash/crc32 vendor/golang.org/x/text/transform -compress/gzip vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/secure/bidirule +compress/gzip vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/secure/bidirule mime -vendor/golang.org/x/net/idna mime/quotedprintable net/http/internal net/http/internal/ascii +vendor/golang.org/x/net/idna regexp/syntax log/slog/internal/buffer log/slog -regexp -github.com/prometheus/alertmanager/featurecontrol hash/fnv +regexp google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/internal/pragma -embed google.golang.org/protobuf/reflect/protoreflect +github.com/prometheus/alertmanager/featurecontrol +embed google.golang.org/protobuf/internal/editiondefaults go/token google.golang.org/protobuf/internal/version runtime/debug github.com/prometheus/common/promslog github.com/beorn7/perks/quantile +github.com/cespare/xxhash +github.com/munnerz/goautoneg +github.com/prometheus/procfs/internal/fs +github.com/prometheus/procfs/internal/util +golang.org/x/sys/unix +golang.org/x/text/internal/tag google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs @@ -1476,90 +1518,84 @@ google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order -google.golang.org/protobuf/internal/encoding/defval -google.golang.org/protobuf/reflect/protoregistry -golang.org/x/net/internal/socks crypto/x509 +golang.org/x/net/internal/socks net/textproto golang.org/x/net/proxy -vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy mime/multipart +google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface -google.golang.org/protobuf/proto google.golang.org/protobuf/internal/protolazy -github.com/cespare/xxhash -github.com/munnerz/goautoneg +google.golang.org/protobuf/proto +golang.org/x/text/internal/language +crypto/tls google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/encoding/prototext -crypto/tls google.golang.org/protobuf/encoding/protodelim -github.com/prometheus/procfs/internal/fs -github.com/prometheus/procfs/internal/util -golang.org/x/sys/unix -google.golang.org/protobuf/internal/encoding/tag -google.golang.org/protobuf/internal/impl github.com/prometheus/procfs -github.com/fluffle/goirc/client -net/http/httptrace -net/http -golang.org/x/text/internal/tag -golang.org/x/text/internal/language -google.golang.org/protobuf/internal/filetype -google.golang.org/protobuf/runtime/protoimpl golang.org/x/text/internal/language/compact -google.golang.org/protobuf/types/known/timestamppb golang.org/x/text/language -github.com/prometheus/client_model/go -github.com/prometheus/common/model golang.org/x/text/internal golang.org/x/text/transform +google.golang.org/protobuf/internal/encoding/tag golang.org/x/text/unicode/norm -github.com/prometheus/alertmanager/pkg/labels -github.com/prometheus/alertmanager/matcher/parse -github.com/prometheus/alertmanager/matcher/compat -github.com/prometheus/client_golang/prometheus/internal -github.com/prometheus/common/helpers/templates +google.golang.org/protobuf/internal/impl golang.org/x/text/cases html text/template/parse github.com/klauspost/compress/fse github.com/klauspost/compress/internal/le -github.com/klauspost/compress/huff0 text/template +github.com/klauspost/compress/huff0 +github.com/fluffle/goirc/client +net/http/httptrace +html/template github.com/klauspost/compress/internal/snapref +net/http github.com/klauspost/compress/zstd -github.com/gorilla/mux +gopkg.in/yaml.v2 +google.golang.org/protobuf/internal/filetype +google.golang.org/protobuf/runtime/protoimpl +io/ioutil +google.golang.org/protobuf/types/known/timestamppb +os/signal +github.com/prometheus/client_model/go +github.com/prometheus/common/model +github.com/prometheus/client_golang/prometheus/internal +github.com/prometheus/alertmanager/pkg/labels +github.com/prometheus/common/helpers/templates +github.com/prometheus/alertmanager/matcher/parse +github.com/prometheus/alertmanager/matcher/compat expvar github.com/prometheus/common/expfmt -html/template -github.com/prometheus/client_golang/prometheus +github.com/gorilla/mux github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil -gopkg.in/yaml.v2 -io/ioutil -os/signal -github.com/prometheus/client_golang/prometheus/promauto +github.com/prometheus/client_golang/prometheus github.com/prometheus/alertmanager/types +github.com/prometheus/client_golang/prometheus/promauto github.com/prometheus/client_golang/prometheus/promhttp github.com/prometheus/alertmanager/template github.com/google/alertmanager-irc-relay dh_auto_test -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 github.com/google/alertmanager-irc-relay github.com/google/alertmanager-irc-relay/logging + cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 4 github.com/google/alertmanager-irc-relay github.com/google/alertmanager-irc-relay/logging === RUN TestBackoffIncreasesAndReachesMax --- PASS: TestBackoffIncreasesAndReachesMax (0.00s) === RUN TestBackoffReset --- PASS: TestBackoffReset (0.00s) === RUN TestBackoffDelayContext -2025/04/30 18:06:46.698405 backoff.go:111: INFO Backoff for 0s starts -2025/04/30 18:06:46.699105 backoff.go:114: INFO Backoff for 0s ends -2025/04/30 18:06:46.699202 backoff.go:111: INFO Backoff for 2ms starts -2025/04/30 18:06:46.699372 backoff.go:116: INFO Backoff for 2ms canceled by context +2025/05/01 20:15:47.830399 backoff.go:111: INFO Backoff for 0s starts +2025/05/01 20:15:47.830635 backoff.go:114: INFO Backoff for 0s ends +2025/05/01 20:15:47.830670 backoff.go:111: INFO Backoff for 2ms starts +2025/05/01 20:15:47.830694 backoff.go:116: INFO Backoff for 2ms canceled by context --- PASS: TestBackoffDelayContext (0.00s) === RUN TestNoConfig --- PASS: TestNoConfig (0.00s) === RUN TestLoadGoodConfig ---- PASS: TestLoadGoodConfig (0.01s) +--- PASS: TestLoadGoodConfig (0.00s) === RUN TestLoadWithEnvironmentVariables --- PASS: TestLoadWithEnvironmentVariables (0.00s) === RUN TestLoadBadFile @@ -1571,491 +1607,495 @@ === RUN TestMsgDefaultTemplate --- PASS: TestMsgDefaultTemplate (0.00s) === RUN TestGivenTemplateNotOverwritten ---- PASS: TestGivenTemplateNotOverwritten (0.01s) +--- PASS: TestGivenTemplateNotOverwritten (0.00s) === RUN TestTemplateErrorsCreateRawAlertMsg -2025/04/30 18:06:46.749821 format.go:59: ERROR Could not apply msg template on alert (template: msg:1:18: executing "msg" at : nil is not a command): {"status":"resolved","labels":{"alertname":"airDown","instance":"instance1:3456","job":"air","service":"prometheus","severity":"ticket","zone":"global"},"annotations":{"DESCRIPTION":"service /prometheus has irc gateway down on instance1","SUMMARY":"service /prometheus air down on instance1"},"startsAt":"2017-05-15T13:49:37.834Z","endsAt":"2017-05-15T13:50:37.835Z","generatorURL":"https://prometheus.example.com/prometheus/...","fingerprint":"66214a361160fb6f"} -2025/04/30 18:06:46.749942 format.go:61: WARN Sending raw alert -2025/04/30 18:06:46.750316 format.go:59: ERROR Could not apply msg template on alert (template: msg:1:18: executing "msg" at : nil is not a command): {"status":"resolved","labels":{"alertname":"airDown","instance":"instance2:7890","job":"air","service":"prometheus","severity":"ticket","zone":"global"},"annotations":{"DESCRIPTION":"service /prometheus has irc gateway down on instance2","SUMMARY":"service /prometheus air down on instance2"},"startsAt":"2017-05-15T11:47:37.834Z","endsAt":"2017-05-15T11:48:37.834Z","generatorURL":"https://prometheus.example.com/prometheus/...","fingerprint":"25a874c99325d1ce"} -2025/04/30 18:06:46.750395 format.go:61: WARN Sending raw alert +2025/05/01 20:15:47.837395 format.go:59: ERROR Could not apply msg template on alert (template: msg:1:18: executing "msg" at : nil is not a command): {"status":"resolved","labels":{"alertname":"airDown","instance":"instance1:3456","job":"air","service":"prometheus","severity":"ticket","zone":"global"},"annotations":{"DESCRIPTION":"service /prometheus has irc gateway down on instance1","SUMMARY":"service /prometheus air down on instance1"},"startsAt":"2017-05-15T13:49:37.834Z","endsAt":"2017-05-15T13:50:37.835Z","generatorURL":"https://prometheus.example.com/prometheus/...","fingerprint":"66214a361160fb6f"} +2025/05/01 20:15:47.837437 format.go:61: WARN Sending raw alert +2025/05/01 20:15:47.837547 format.go:59: ERROR Could not apply msg template on alert (template: msg:1:18: executing "msg" at : nil is not a command): {"status":"resolved","labels":{"alertname":"airDown","instance":"instance2:7890","job":"air","service":"prometheus","severity":"ticket","zone":"global"},"annotations":{"DESCRIPTION":"service /prometheus has irc gateway down on instance2","SUMMARY":"service /prometheus air down on instance2"},"startsAt":"2017-05-15T11:47:37.834Z","endsAt":"2017-05-15T11:48:37.834Z","generatorURL":"https://prometheus.example.com/prometheus/...","fingerprint":"25a874c99325d1ce"} +2025/05/01 20:15:47.837578 format.go:61: WARN Sending raw alert --- PASS: TestTemplateErrorsCreateRawAlertMsg (0.00s) === RUN TestAlertsDispatchedOnce ---- PASS: TestAlertsDispatchedOnce (0.01s) +--- PASS: TestAlertsDispatchedOnce (0.00s) === RUN TestStringsFunctions --- PASS: TestStringsFunctions (0.00s) === RUN TestUrlFunctions --- PASS: TestUrlFunctions (0.00s) === RUN TestMultilineTemplates ---- PASS: TestMultilineTemplates (0.01s) +--- PASS: TestMultilineTemplates (0.00s) === RUN TestAlertsDispatched -2025/04/30 18:06:46.766262 http.go:132: INFO Starting HTTP server +2025/05/01 20:15:47.839936 http.go:132: INFO Starting HTTP server --- PASS: TestAlertsDispatched (0.00s) === RUN TestRootReturnsError -2025/04/30 18:06:46.769925 http.go:132: INFO Starting HTTP server +2025/05/01 20:15:47.840807 http.go:132: INFO Starting HTTP server --- PASS: TestRootReturnsError (0.00s) === RUN TestInvalidDataReturnsError -2025/04/30 18:06:46.780285 http.go:132: INFO Starting HTTP server -2025/04/30 18:06:46.780730 http.go:96: ERROR Could not decode request body (invalid character '}' looking for beginning of object key string): {"this is not": "a valid alert",} ---- PASS: TestInvalidDataReturnsError (0.01s) +2025/05/01 20:15:47.841359 http.go:132: INFO Starting HTTP server +2025/05/01 20:15:47.841452 http.go:96: ERROR Could not decode request body (invalid character '}' looking for beginning of object key string): {"this is not": "a valid alert",} +--- PASS: TestInvalidDataReturnsError (0.00s) === RUN TestServerPassword -2025/04/30 18:06:46.796183 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:37599 -2025/04/30 18:06:46.796824 irc.go:302: INFO Connecting to IRC 127.0.0.1:37599 -2025/04/30 18:06:46.796915 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.797006 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:37599. -2025/04/30 18:06:46.798606 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:58928 -2025/04/30 18:06:46.800082 irc.go:310: INFO Connected to IRC server, waiting to establish session -2025/04/30 18:06:46.801315 irc_server_for_test.go:119: INFO =Server= Received PASS hostsecret -2025/04/30 18:06:46.801528 irc_server_for_test.go:96: INFO =Server= No handler for command 'PASS', skipping -2025/04/30 18:06:46.801623 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.801723 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:46.801807 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.802698 irc.go:146: INFO Session established -2025/04/30 18:06:46.803010 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:46.803095 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.803207 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:46.808153 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:46.808303 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.808371 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:46.808541 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join -2025/04/30 18:06:46.808635 irc.go:296: INFO IRC routine asked to terminate -2025/04/30 18:06:46.808696 irc.go:271: INFO IRC client connected, quitting -2025/04/30 18:06:46.808757 irc.go:274: INFO Wait for IRC disconnect to complete -2025/04/30 18:06:46.809031 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:46.809154 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:46.809567 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.810076 irc.go:152: INFO Disconnected from IRC -2025/04/30 18:06:46.810209 irc.go:282: INFO IRC shutdown complete -2025/04/30 18:06:46.810536 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestServerPassword (0.03s) +2025/05/01 20:15:47.842114 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:33565 +2025/05/01 20:15:47.842253 irc.go:302: INFO Connecting to IRC 127.0.0.1:33565 +2025/05/01 20:15:47.842284 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.842315 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:33565. +2025/05/01 20:15:47.842862 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:51200 +2025/05/01 20:15:47.844146 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.844709 irc_server_for_test.go:119: INFO =Server= Received PASS hostsecret +2025/05/01 20:15:47.844804 irc_server_for_test.go:96: INFO =Server= No handler for command 'PASS', skipping +2025/05/01 20:15:47.844831 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.844859 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.844878 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.845080 irc.go:146: INFO Session established +2025/05/01 20:15:47.845162 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.845188 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.845220 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.845373 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.845416 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.845436 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.845485 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join +2025/05/01 20:15:47.845516 irc.go:296: INFO IRC routine asked to terminate +2025/05/01 20:15:47.845538 irc.go:271: INFO IRC client connected, quitting +2025/05/01 20:15:47.845561 irc.go:274: INFO Wait for IRC disconnect to complete +2025/05/01 20:15:47.845660 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.845706 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.845857 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.846026 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.846068 irc.go:282: INFO IRC shutdown complete +2025/05/01 20:15:47.846163 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestServerPassword (0.00s) === RUN TestSendAlertOnPreJoinedChannel -2025/04/30 18:06:46.811471 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:38773 -2025/04/30 18:06:46.811839 irc.go:302: INFO Connecting to IRC 127.0.0.1:38773 -2025/04/30 18:06:46.811912 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.811990 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:38773. -2025/04/30 18:06:46.816097 irc.go:310: INFO Connected to IRC server, waiting to establish session -2025/04/30 18:06:46.817318 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:59118 -2025/04/30 18:06:46.817664 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.817820 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:46.817900 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.818690 irc.go:146: INFO Session established -2025/04/30 18:06:46.819039 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:46.819137 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.819688 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:46.820348 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:46.820489 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.820565 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:46.821349 reconciler.go:205: INFO Received JOIN confirmation for channel #foo -2025/04/30 18:06:46.821493 reconciler.go:79: INFO Setting JOIN state on channel #foo -2025/04/30 18:06:46.821949 reconciler.go:118: INFO Channel #foo monitor: join succeeded -2025/04/30 18:06:46.822128 irc_server_for_test.go:119: INFO =Server= Received NOTICE #foo :test message -2025/04/30 18:06:46.822324 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring -2025/04/30 18:06:46.822418 irc.go:296: INFO IRC routine asked to terminate -2025/04/30 18:06:46.822487 irc.go:271: INFO IRC client connected, quitting -2025/04/30 18:06:46.822557 irc.go:274: INFO Wait for IRC disconnect to complete -2025/04/30 18:06:46.823145 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:46.823550 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:46.824178 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.824853 irc.go:152: INFO Disconnected from IRC -2025/04/30 18:06:46.825076 irc.go:282: INFO IRC shutdown complete -2025/04/30 18:06:46.825403 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestSendAlertOnPreJoinedChannel (0.01s) +2025/05/01 20:15:47.846416 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:45523 +2025/05/01 20:15:47.846500 irc.go:302: INFO Connecting to IRC 127.0.0.1:45523 +2025/05/01 20:15:47.846523 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.846547 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:45523. +2025/05/01 20:15:47.846841 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:58130 +2025/05/01 20:15:47.847267 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.847641 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.847744 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.847771 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.847976 irc.go:146: INFO Session established +2025/05/01 20:15:47.848063 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.848089 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.848117 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.848267 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.848311 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.848331 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.848481 reconciler.go:205: INFO Received JOIN confirmation for channel #foo +2025/05/01 20:15:47.848515 reconciler.go:79: INFO Setting JOIN state on channel #foo +2025/05/01 20:15:47.848640 reconciler.go:118: INFO Channel #foo monitor: join succeeded +2025/05/01 20:15:47.848692 irc_server_for_test.go:119: INFO =Server= Received NOTICE #foo :test message +2025/05/01 20:15:47.848747 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring +2025/05/01 20:15:47.848774 irc.go:296: INFO IRC routine asked to terminate +2025/05/01 20:15:47.848795 irc.go:271: INFO IRC client connected, quitting +2025/05/01 20:15:47.848815 irc.go:274: INFO Wait for IRC disconnect to complete +2025/05/01 20:15:47.848926 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.848972 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.849100 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.849254 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.849297 irc.go:282: INFO IRC shutdown complete +2025/05/01 20:15:47.849357 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestSendAlertOnPreJoinedChannel (0.00s) === RUN TestUsePrivmsgToSendAlertOnPreJoinedChannel -2025/04/30 18:06:46.826517 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:36655 -2025/04/30 18:06:46.827094 irc.go:302: INFO Connecting to IRC 127.0.0.1:36655 -2025/04/30 18:06:46.827229 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.832137 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:36655. -2025/04/30 18:06:46.836268 irc.go:310: INFO Connected to IRC server, waiting to establish session -2025/04/30 18:06:46.837380 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:44952 -2025/04/30 18:06:46.838654 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.838859 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:46.838946 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.839920 irc.go:146: INFO Session established -2025/04/30 18:06:46.840224 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:46.840324 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.840441 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:46.841067 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:46.841237 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.841320 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:46.841927 reconciler.go:205: INFO Received JOIN confirmation for channel #foo -2025/04/30 18:06:46.842057 reconciler.go:79: INFO Setting JOIN state on channel #foo -2025/04/30 18:06:46.842530 reconciler.go:118: INFO Channel #foo monitor: join succeeded -2025/04/30 18:06:46.842773 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG #foo :test message -2025/04/30 18:06:46.843040 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring -2025/04/30 18:06:46.843170 irc.go:296: INFO IRC routine asked to terminate -2025/04/30 18:06:46.847736 irc.go:271: INFO IRC client connected, quitting -2025/04/30 18:06:46.847920 irc.go:274: INFO Wait for IRC disconnect to complete -2025/04/30 18:06:46.849470 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:46.849722 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:46.850168 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.850658 irc.go:152: INFO Disconnected from IRC -2025/04/30 18:06:46.850787 irc.go:282: INFO IRC shutdown complete -2025/04/30 18:06:46.850989 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestUsePrivmsgToSendAlertOnPreJoinedChannel (0.03s) +2025/05/01 20:15:47.849604 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:45653 +2025/05/01 20:15:47.849687 irc.go:302: INFO Connecting to IRC 127.0.0.1:45653 +2025/05/01 20:15:47.849709 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.849734 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:45653. +2025/05/01 20:15:47.850023 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:41186 +2025/05/01 20:15:47.850216 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.850402 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.850445 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.850465 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.850610 irc.go:146: INFO Session established +2025/05/01 20:15:47.850679 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.850702 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.850728 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.850860 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.850903 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.851180 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.851529 reconciler.go:205: INFO Received JOIN confirmation for channel #foo +2025/05/01 20:15:47.851575 reconciler.go:79: INFO Setting JOIN state on channel #foo +2025/05/01 20:15:47.851690 reconciler.go:118: INFO Channel #foo monitor: join succeeded +2025/05/01 20:15:47.851742 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG #foo :test message +2025/05/01 20:15:47.851797 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring +2025/05/01 20:15:47.851828 irc.go:296: INFO IRC routine asked to terminate +2025/05/01 20:15:47.851849 irc.go:271: INFO IRC client connected, quitting +2025/05/01 20:15:47.851872 irc.go:274: INFO Wait for IRC disconnect to complete +2025/05/01 20:15:47.851986 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.852033 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.852166 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.852326 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.852368 irc.go:282: INFO IRC shutdown complete +2025/05/01 20:15:47.852424 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestUsePrivmsgToSendAlertOnPreJoinedChannel (0.00s) === RUN TestSendAlertAndJoinChannel -2025/04/30 18:06:46.851978 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:40219 -2025/04/30 18:06:46.852218 irc.go:302: INFO Connecting to IRC 127.0.0.1:40219 -2025/04/30 18:06:46.852283 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.852369 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:40219. -2025/04/30 18:06:46.853236 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:33208 -2025/04/30 18:06:46.868251 irc.go:310: INFO Connected to IRC server, waiting to establish session -2025/04/30 18:06:46.869118 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.869234 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:46.869294 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.869668 irc.go:146: INFO Session established -2025/04/30 18:06:46.869946 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:46.870010 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.870087 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:46.870410 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:46.870510 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.870568 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:46.870765 reconciler.go:249: INFO Request to JOIN new channel #foobar -2025/04/30 18:06:46.870867 reconciler.go:105: INFO Channel #foobar monitor: waiting to join -2025/04/30 18:06:46.870918 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.870992 reconciler.go:114: INFO Channel #foobar monitor: join request sent -2025/04/30 18:06:46.883666 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foobar -2025/04/30 18:06:46.883849 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.883919 irc_server_for_test.go:119: INFO =Server= Received JOIN #foobar -2025/04/30 18:06:46.884349 reconciler.go:205: INFO Received JOIN confirmation for channel #foo -2025/04/30 18:06:46.884431 reconciler.go:79: INFO Setting JOIN state on channel #foo -2025/04/30 18:06:46.884556 reconciler.go:205: INFO Received JOIN confirmation for channel #foobar -2025/04/30 18:06:46.884619 reconciler.go:79: INFO Setting JOIN state on channel #foobar -2025/04/30 18:06:46.884727 reconciler.go:118: INFO Channel #foo monitor: join succeeded -2025/04/30 18:06:46.884821 reconciler.go:118: INFO Channel #foobar monitor: join succeeded -2025/04/30 18:06:46.885151 irc_server_for_test.go:119: INFO =Server= Received NOTICE #foobar :test message -2025/04/30 18:06:46.885310 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring -2025/04/30 18:06:46.885382 irc.go:296: INFO IRC routine asked to terminate -2025/04/30 18:06:46.885439 irc.go:271: INFO IRC client connected, quitting -2025/04/30 18:06:46.885497 irc.go:274: INFO Wait for IRC disconnect to complete -2025/04/30 18:06:46.885705 reconciler.go:131: INFO Channel #foobar monitor: context canceled while monitoring -2025/04/30 18:06:46.885900 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:46.886010 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:46.886372 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.886778 irc.go:152: INFO Disconnected from IRC -2025/04/30 18:06:46.886897 irc.go:282: INFO IRC shutdown complete -2025/04/30 18:06:46.887060 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestSendAlertAndJoinChannel (0.04s) +2025/05/01 20:15:47.852658 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:35153 +2025/05/01 20:15:47.852738 irc.go:302: INFO Connecting to IRC 127.0.0.1:35153 +2025/05/01 20:15:47.852760 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.852789 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:35153. +2025/05/01 20:15:47.853078 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:47646 +2025/05/01 20:15:47.853243 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.853404 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.853445 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.853466 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.853646 irc.go:146: INFO Session established +2025/05/01 20:15:47.853714 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.853735 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.853765 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.853904 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.853946 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.853965 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.854058 reconciler.go:249: INFO Request to JOIN new channel #foobar +2025/05/01 20:15:47.854099 reconciler.go:105: INFO Channel #foobar monitor: waiting to join +2025/05/01 20:15:47.854118 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.854176 reconciler.go:114: INFO Channel #foobar monitor: join request sent +2025/05/01 20:15:47.854343 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foobar +2025/05/01 20:15:47.854387 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.854406 irc_server_for_test.go:119: INFO =Server= Received JOIN #foobar +2025/05/01 20:15:47.854530 reconciler.go:205: INFO Received JOIN confirmation for channel #foo +2025/05/01 20:15:47.854560 reconciler.go:79: INFO Setting JOIN state on channel #foo +2025/05/01 20:15:47.854598 reconciler.go:205: INFO Received JOIN confirmation for channel #foobar +2025/05/01 20:15:47.854619 reconciler.go:79: INFO Setting JOIN state on channel #foobar +2025/05/01 20:15:47.854654 reconciler.go:118: INFO Channel #foo monitor: join succeeded +2025/05/01 20:15:47.854687 reconciler.go:118: INFO Channel #foobar monitor: join succeeded +2025/05/01 20:15:47.854837 irc_server_for_test.go:119: INFO =Server= Received NOTICE #foobar :test message +2025/05/01 20:15:47.855131 irc.go:296: INFO IRC routine asked to terminate +2025/05/01 20:15:47.855192 irc.go:271: INFO IRC client connected, quitting +2025/05/01 20:15:47.855215 irc.go:274: INFO Wait for IRC disconnect to complete +2025/05/01 20:15:47.855328 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.855374 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.855505 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.855658 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.855699 irc.go:282: INFO IRC shutdown complete +2025/05/01 20:15:47.855760 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestSendAlertAndJoinChannel (0.00s) === RUN TestSendAlertDisconnected -2025/04/30 18:06:46.896382 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:37891 -2025/04/30 18:06:46.896665 irc.go:302: INFO Connecting to IRC 127.0.0.1:37891 -2025/04/30 18:06:46.896725 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.896797 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:37891. -2025/04/30 18:06:46.897581 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:47082 -2025/04/30 18:06:46.898307 irc.go:310: INFO Connected to IRC server, waiting to establish session -2025/04/30 18:06:46.898748 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.898871 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:46.898931 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.898994 irc_test.go:294: INFO =Server= Wait before completing session -2025/04/30 18:06:46.899045 irc_test.go:296: INFO =Server= Completing session -2025/04/30 18:06:46.899638 irc.go:146: INFO Session established -2025/04/30 18:06:46.899871 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:46.899948 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.900034 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:46.900305 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:46.900422 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.900575 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:46.901064 reconciler.go:205: INFO Received JOIN confirmation for channel #foo -2025/04/30 18:06:46.901139 reconciler.go:79: INFO Setting JOIN state on channel #foo -2025/04/30 18:06:46.901433 reconciler.go:118: INFO Channel #foo monitor: join succeeded -2025/04/30 18:06:46.901567 irc_server_for_test.go:119: INFO =Server= Received NOTICE #foo :connected test message -2025/04/30 18:06:46.901723 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring -2025/04/30 18:06:46.901797 irc.go:296: INFO IRC routine asked to terminate -2025/04/30 18:06:46.901855 irc.go:271: INFO IRC client connected, quitting -2025/04/30 18:06:46.901915 irc.go:274: INFO Wait for IRC disconnect to complete -2025/04/30 18:06:46.902184 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:46.902288 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:46.902617 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.903010 irc.go:152: INFO Disconnected from IRC -2025/04/30 18:06:46.903131 irc.go:282: INFO IRC shutdown complete -2025/04/30 18:06:46.903413 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestSendAlertDisconnected (0.01s) +2025/05/01 20:15:47.855996 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:35765 +2025/05/01 20:15:47.856082 irc.go:302: INFO Connecting to IRC 127.0.0.1:35765 +2025/05/01 20:15:47.856107 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.856134 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:35765. +2025/05/01 20:15:47.856421 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:58724 +2025/05/01 20:15:47.856586 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.856763 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.856806 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.856836 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.856860 irc_test.go:294: INFO =Server= Wait before completing session +2025/05/01 20:15:47.856877 irc_test.go:296: INFO =Server= Completing session +2025/05/01 20:15:47.857025 irc.go:146: INFO Session established +2025/05/01 20:15:47.857095 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.857117 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.857146 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.857284 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.857328 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.857350 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.857496 reconciler.go:205: INFO Received JOIN confirmation for channel #foo +2025/05/01 20:15:47.857527 reconciler.go:79: INFO Setting JOIN state on channel #foo +2025/05/01 20:15:47.857637 reconciler.go:118: INFO Channel #foo monitor: join succeeded +2025/05/01 20:15:47.857691 irc_server_for_test.go:119: INFO =Server= Received NOTICE #foo :connected test message +2025/05/01 20:15:47.857746 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring +2025/05/01 20:15:47.857777 irc.go:296: INFO IRC routine asked to terminate +2025/05/01 20:15:47.857799 irc.go:271: INFO IRC client connected, quitting +2025/05/01 20:15:47.857820 irc.go:274: INFO Wait for IRC disconnect to complete +2025/05/01 20:15:47.857933 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.857978 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.858104 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.858287 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.858332 irc.go:282: INFO IRC shutdown complete +2025/05/01 20:15:47.858394 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestSendAlertDisconnected (0.00s) === RUN TestReconnect -2025/04/30 18:06:46.904289 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:33727 -2025/04/30 18:06:46.904644 irc.go:302: INFO Connecting to IRC 127.0.0.1:33727 -2025/04/30 18:06:46.904709 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.904780 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:33727. -2025/04/30 18:06:46.905689 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:36638 -2025/04/30 18:06:46.907919 irc.go:310: INFO Connected to IRC server, waiting to establish session -2025/04/30 18:06:46.908389 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.908480 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:46.908540 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.908912 irc.go:146: INFO Session established -2025/04/30 18:06:46.909101 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:46.909158 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.909232 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:46.909534 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:46.909626 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.909682 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:46.910143 irc_server_for_test.go:115: INFO =Server= Could not read from 127.0.0.1:36638: read tcp 127.0.0.1:33727->127.0.0.1:36638: use of closed network connection -2025/04/30 18:06:46.910400 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.910767 reconciler.go:205: INFO Received JOIN confirmation for channel #foo -2025/04/30 18:06:46.910843 reconciler.go:79: INFO Setting JOIN state on channel #foo -2025/04/30 18:06:46.910983 irc.go:152: INFO Disconnected from IRC -2025/04/30 18:06:46.911081 reconciler.go:118: INFO Channel #foo monitor: join succeeded -2025/04/30 18:06:46.911199 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring -2025/04/30 18:06:46.911407 irc.go:302: INFO Connecting to IRC 127.0.0.1:33727 -2025/04/30 18:06:46.911484 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.911689 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:33727. -2025/04/30 18:06:46.915859 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:36642 -2025/04/30 18:06:46.916153 irc.go:310: INFO Connected to IRC server, waiting to establish session -2025/04/30 18:06:46.916480 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.916602 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:46.916692 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.923884 irc.go:146: INFO Session established -2025/04/30 18:06:46.924257 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:46.924346 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.924445 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:46.925055 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:46.925222 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.925303 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:46.925778 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join -2025/04/30 18:06:46.925902 irc.go:296: INFO IRC routine asked to terminate -2025/04/30 18:06:46.925979 irc.go:271: INFO IRC client connected, quitting -2025/04/30 18:06:46.926055 irc.go:274: INFO Wait for IRC disconnect to complete -2025/04/30 18:06:46.926427 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:46.926647 reconciler.go:205: INFO Received JOIN confirmation for channel #foo -2025/04/30 18:06:46.926556 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:46.926727 reconciler.go:79: INFO Setting JOIN state on channel #foo -2025/04/30 18:06:46.926943 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.927468 irc.go:152: INFO Disconnected from IRC -2025/04/30 18:06:46.927623 irc.go:282: INFO IRC shutdown complete -2025/04/30 18:06:46.927818 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestReconnect (0.02s) +2025/05/01 20:15:47.858625 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:45525 +2025/05/01 20:15:47.858710 irc.go:302: INFO Connecting to IRC 127.0.0.1:45525 +2025/05/01 20:15:47.858737 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.858765 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:45525. +2025/05/01 20:15:47.859022 reconciler.go:131: INFO Channel #foobar monitor: context canceled while monitoring +2025/05/01 20:15:47.859132 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:43892 +2025/05/01 20:15:47.859665 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.859877 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.859921 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.859941 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.860091 irc.go:146: INFO Session established +2025/05/01 20:15:47.860163 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.860185 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.860215 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.860351 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.860393 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.860413 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.860615 irc_server_for_test.go:115: INFO =Server= Could not read from 127.0.0.1:43892: read tcp 127.0.0.1:45525->127.0.0.1:43892: use of closed network connection +2025/05/01 20:15:47.860730 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.860883 reconciler.go:205: INFO Received JOIN confirmation for channel #foo +2025/05/01 20:15:47.860917 reconciler.go:79: INFO Setting JOIN state on channel #foo +2025/05/01 20:15:47.860961 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.860994 reconciler.go:118: INFO Channel #foo monitor: join succeeded +2025/05/01 20:15:47.861037 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring +2025/05/01 20:15:47.861073 irc.go:302: INFO Connecting to IRC 127.0.0.1:45525 +2025/05/01 20:15:47.861095 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.861122 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:45525. +2025/05/01 20:15:47.861472 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.861693 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:43900 +2025/05/01 20:15:47.861754 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.861789 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.861812 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.861963 irc.go:146: INFO Session established +2025/05/01 20:15:47.862032 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.862054 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.862096 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.862257 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.862298 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.862318 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.862410 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join +2025/05/01 20:15:47.862444 irc.go:296: INFO IRC routine asked to terminate +2025/05/01 20:15:47.862463 irc.go:271: INFO IRC client connected, quitting +2025/05/01 20:15:47.862483 irc.go:274: INFO Wait for IRC disconnect to complete +2025/05/01 20:15:47.862579 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.862624 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.862773 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.862983 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring +2025/05/01 20:15:47.863155 reconciler.go:205: INFO Received JOIN confirmation for channel #foo +2025/05/01 20:15:47.863220 reconciler.go:79: INFO Setting JOIN state on channel #foo +2025/05/01 20:15:47.863267 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.863305 irc.go:282: INFO IRC shutdown complete +2025/05/01 20:15:47.863373 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestReconnect (0.00s) === RUN TestConnectErrorRetry -2025/04/30 18:06:46.928620 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:35539 -2025/04/30 18:06:46.928905 irc.go:302: INFO Connecting to IRC 127.0.0.1:35539 -2025/04/30 18:06:46.928992 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.929121 fake_delayer.go:45: INFO Waiting StopDelay signal -2025/04/30 18:06:46.929178 fake_delayer.go:47: INFO Received StopDelay signal -2025/04/30 18:06:46.929260 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:35539. -2025/04/30 18:06:46.935889 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:54244 -2025/04/30 18:06:46.936034 irc_server_for_test.go:157: INFO =Server= Closing connection early -2025/04/30 18:06:46.936472 connection.go:399: INFO irc.Connect(): Performing SSL handshake. -2025/04/30 18:06:46.943504 irc.go:307: ERROR Could not connect to IRC: EOF -2025/04/30 18:06:46.943647 irc.go:302: INFO Connecting to IRC 127.0.0.1:35539 -2025/04/30 18:06:46.943708 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.943761 fake_delayer.go:45: INFO Waiting StopDelay signal -2025/04/30 18:06:46.943841 fake_delayer.go:47: INFO Received StopDelay signal -2025/04/30 18:06:46.944001 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:35539. -2025/04/30 18:06:46.947925 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:54258 -2025/04/30 18:06:46.948040 irc.go:310: INFO Connected to IRC server, waiting to establish session -2025/04/30 18:06:46.948680 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.948836 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:46.948907 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.949480 irc.go:146: INFO Session established -2025/04/30 18:06:46.949720 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:46.949787 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.949866 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:46.950264 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:46.950378 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.950436 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:46.950771 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join -2025/04/30 18:06:46.950855 irc.go:296: INFO IRC routine asked to terminate -2025/04/30 18:06:46.950911 irc.go:271: INFO IRC client connected, quitting -2025/04/30 18:06:46.950999 irc.go:274: INFO Wait for IRC disconnect to complete -2025/04/30 18:06:46.951470 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:46.951630 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:46.951526 reconciler.go:205: INFO Received JOIN confirmation for channel #foo -2025/04/30 18:06:46.951802 reconciler.go:79: INFO Setting JOIN state on channel #foo -2025/04/30 18:06:46.951951 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.952383 irc.go:152: INFO Disconnected from IRC -2025/04/30 18:06:46.952511 irc.go:282: INFO IRC shutdown complete -2025/04/30 18:06:46.952687 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestConnectErrorRetry (0.02s) +2025/05/01 20:15:47.863628 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:33709 +2025/05/01 20:15:47.863715 irc.go:302: INFO Connecting to IRC 127.0.0.1:33709 +2025/05/01 20:15:47.863737 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.863754 fake_delayer.go:45: INFO Waiting StopDelay signal +2025/05/01 20:15:47.863773 fake_delayer.go:47: INFO Received StopDelay signal +2025/05/01 20:15:47.863798 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:33709. +2025/05/01 20:15:47.864123 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:32882 +2025/05/01 20:15:47.864153 irc_server_for_test.go:157: INFO =Server= Closing connection early +2025/05/01 20:15:47.864504 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.864731 connection.go:444: ERROR irc.send(): write tcp 127.0.0.1:32882->127.0.0.1:33709: write: broken pipe +2025/05/01 20:15:47.864762 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.864837 connection.go:466: ERROR irc.recv(): read tcp 127.0.0.1:32882->127.0.0.1:33709: use of closed network connection +2025/05/01 20:15:47.864902 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.864946 irc.go:321: WARN Receiving a session down before the session is up, this is odd +2025/05/01 20:15:47.864973 irc.go:302: INFO Connecting to IRC 127.0.0.1:33709 +2025/05/01 20:15:47.864990 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.865006 fake_delayer.go:45: INFO Waiting StopDelay signal +2025/05/01 20:15:47.865024 fake_delayer.go:47: INFO Received StopDelay signal +2025/05/01 20:15:47.865049 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:33709. +2025/05/01 20:15:47.865383 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.865603 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:32886 +2025/05/01 20:15:47.865664 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.865700 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.865722 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.865878 irc.go:146: INFO Session established +2025/05/01 20:15:47.865948 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.865971 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.866000 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.866171 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.866214 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.866233 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.866328 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join +2025/05/01 20:15:47.866361 irc.go:296: INFO IRC routine asked to terminate +2025/05/01 20:15:47.866382 irc.go:271: INFO IRC client connected, quitting +2025/05/01 20:15:47.866403 irc.go:274: INFO Wait for IRC disconnect to complete +2025/05/01 20:15:47.866544 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.866591 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.866634 reconciler.go:205: INFO Received JOIN confirmation for channel #foo +2025/05/01 20:15:47.866670 reconciler.go:79: INFO Setting JOIN state on channel #foo +2025/05/01 20:15:47.866717 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.866885 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.866992 irc.go:282: INFO IRC shutdown complete +2025/05/01 20:15:47.867055 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestConnectErrorRetry (0.00s) === RUN TestIdentify -2025/04/30 18:06:46.953327 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:41859 -2025/04/30 18:06:46.953535 irc.go:302: INFO Connecting to IRC 127.0.0.1:41859 -2025/04/30 18:06:46.953594 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.953666 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:41859. -2025/04/30 18:06:46.954510 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:34606 -2025/04/30 18:06:46.955957 irc.go:310: INFO Connected to IRC server, waiting to establish session -2025/04/30 18:06:46.956602 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.956816 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.957346 irc.go:167: INFO Received NOTICE from NickServ: This nickname is registered. Please choose a different nickname, or identify yourself ktnxbye. -2025/04/30 18:06:46.957507 irc.go:191: INFO Handling NickServ request to IDENTIFY -2025/04/30 18:06:46.957749 irc.go:146: INFO Session established -2025/04/30 18:06:46.958061 irc.go:226: INFO Waiting for NickServ to notice us and issue an identify request -2025/04/30 18:06:46.958191 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:46.958249 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.958322 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:46.958646 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG NickServ :IDENTIFY nickpassword -2025/04/30 18:06:46.958751 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.958807 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:46.958877 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.958924 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:46.959124 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join -2025/04/30 18:06:46.959730 reconciler.go:205: INFO Received JOIN confirmation for channel #foo -2025/04/30 18:06:46.959828 reconciler.go:79: INFO Setting JOIN state on channel #foo -2025/04/30 18:06:46.959207 irc.go:296: INFO IRC routine asked to terminate -2025/04/30 18:06:46.960087 irc.go:271: INFO IRC client connected, quitting -2025/04/30 18:06:46.960155 irc.go:274: INFO Wait for IRC disconnect to complete -2025/04/30 18:06:46.960501 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:46.960607 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:46.960984 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.961470 irc.go:152: INFO Disconnected from IRC -2025/04/30 18:06:46.961603 irc.go:282: INFO IRC shutdown complete -2025/04/30 18:06:46.961792 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestIdentify (0.01s) +2025/05/01 20:15:47.867318 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:41257 +2025/05/01 20:15:47.867398 irc.go:302: INFO Connecting to IRC 127.0.0.1:41257 +2025/05/01 20:15:47.867416 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.867436 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:41257. +2025/05/01 20:15:47.867716 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:48098 +2025/05/01 20:15:47.867891 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.868050 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.868117 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.868224 irc.go:167: INFO Received NOTICE from NickServ: This nickname is registered. Please choose a different nickname, or identify yourself ktnxbye. +2025/05/01 20:15:47.868269 irc.go:191: INFO Handling NickServ request to IDENTIFY +2025/05/01 20:15:47.868346 irc.go:146: INFO Session established +2025/05/01 20:15:47.868427 irc.go:226: INFO Waiting for NickServ to notice us and issue an identify request +2025/05/01 20:15:47.868466 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.868482 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.868505 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.868602 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG NickServ :IDENTIFY nickpassword +2025/05/01 20:15:47.868635 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.868652 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.868673 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.868687 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.868751 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join +2025/05/01 20:15:47.868774 irc.go:296: INFO IRC routine asked to terminate +2025/05/01 20:15:47.868791 irc.go:271: INFO IRC client connected, quitting +2025/05/01 20:15:47.868808 irc.go:274: INFO Wait for IRC disconnect to complete +2025/05/01 20:15:47.868887 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.868920 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.869045 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.869165 reconciler.go:205: INFO Received JOIN confirmation for channel #foo +2025/05/01 20:15:47.869190 reconciler.go:79: INFO Setting JOIN state on channel #foo +2025/05/01 20:15:47.869226 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.869255 irc.go:282: INFO IRC shutdown complete +2025/05/01 20:15:47.869303 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestIdentify (0.00s) === RUN TestGhost -2025/04/30 18:06:46.962583 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:41511 -2025/04/30 18:06:46.962849 irc.go:302: INFO Connecting to IRC 127.0.0.1:41511 -2025/04/30 18:06:46.962919 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.962993 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:41511. -2025/04/30 18:06:46.966108 irc.go:310: INFO Connected to IRC server, waiting to establish session -2025/04/30 18:06:46.966989 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:33794 -2025/04/30 18:06:46.967230 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.967469 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.968005 irc.go:57: INFO Received: ':example.com 433 * foo :nick in use' -2025/04/30 18:06:46.968256 irc_server_for_test.go:119: INFO =Server= Received NICK foo^ -2025/04/30 18:06:46.968571 irc.go:146: INFO Session established -2025/04/30 18:06:46.968716 irc.go:206: INFO My nick is 'foo^', sending GHOST to NickServ to get 'foo' -2025/04/30 18:06:46.968793 irc.go:212: INFO Changing nick to 'foo' -2025/04/30 18:06:46.968851 irc.go:226: INFO Waiting for NickServ to notice us and issue an identify request -2025/04/30 18:06:46.968994 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:46.969053 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.969123 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:46.969557 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG NickServ :GHOST foo nickpassword -2025/04/30 18:06:46.969654 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.969709 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.969781 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:46.969844 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.969892 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:46.970072 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join -2025/04/30 18:06:46.970145 irc.go:296: INFO IRC routine asked to terminate -2025/04/30 18:06:46.970203 irc.go:271: INFO IRC client connected, quitting -2025/04/30 18:06:46.970258 irc.go:274: INFO Wait for IRC disconnect to complete -2025/04/30 18:06:46.970480 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:46.970572 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:46.970917 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.977568 irc.go:152: INFO Disconnected from IRC -2025/04/30 18:06:46.977896 irc.go:282: INFO IRC shutdown complete -2025/04/30 18:06:46.978240 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestGhost (0.02s) +2025/05/01 20:15:47.869495 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:40147 +2025/05/01 20:15:47.869569 irc.go:302: INFO Connecting to IRC 127.0.0.1:40147 +2025/05/01 20:15:47.869587 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.869607 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:40147. +2025/05/01 20:15:47.869856 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:60264 +2025/05/01 20:15:47.869994 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.870162 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.870201 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.870324 irc.go:57: INFO Received: ':example.com 433 * foo :nick in use' +2025/05/01 20:15:47.870396 irc_server_for_test.go:119: INFO =Server= Received NICK foo^ +2025/05/01 20:15:47.870490 irc.go:146: INFO Session established +2025/05/01 20:15:47.870527 irc.go:206: INFO My nick is 'foo^', sending GHOST to NickServ to get 'foo' +2025/05/01 20:15:47.870550 irc.go:212: INFO Changing nick to 'foo' +2025/05/01 20:15:47.870567 irc.go:226: INFO Waiting for NickServ to notice us and issue an identify request +2025/05/01 20:15:47.870599 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.870614 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.870645 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.870783 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG NickServ :GHOST foo nickpassword +2025/05/01 20:15:47.870815 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.870832 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.870853 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.870872 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.870886 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.871157 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join +2025/05/01 20:15:47.871222 irc.go:296: INFO IRC routine asked to terminate +2025/05/01 20:15:47.871241 irc.go:271: INFO IRC client connected, quitting +2025/05/01 20:15:47.871260 irc.go:274: INFO Wait for IRC disconnect to complete +2025/05/01 20:15:47.871543 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.871588 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.871758 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.871909 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.871945 irc.go:282: INFO IRC shutdown complete +2025/05/01 20:15:47.871997 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestGhost (0.00s) === RUN TestStopRunningWhenHalfConnected -2025/04/30 18:06:46.978994 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:46075 -2025/04/30 18:06:46.980152 irc.go:302: INFO Connecting to IRC 127.0.0.1:46075 -2025/04/30 18:06:46.980253 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.980334 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:46075. -2025/04/30 18:06:46.981262 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:45734 -2025/04/30 18:06:46.981476 irc.go:310: INFO Connected to IRC server, waiting to establish session -2025/04/30 18:06:46.981771 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.981884 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:46.982001 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.982101 irc_test.go:591: INFO =Server= NOT completing session -2025/04/30 18:06:46.982259 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.982427 irc.go:323: INFO IRC routine asked to terminate -2025/04/30 18:06:46.982529 irc.go:282: INFO IRC shutdown complete -2025/04/30 18:06:46.982541 connection.go:466: ERROR irc.recv(): read tcp 127.0.0.1:45734->127.0.0.1:46075: use of closed network connection -2025/04/30 18:06:46.982706 irc.go:152: INFO Disconnected from IRC -2025/04/30 18:06:46.983082 irc_server_for_test.go:113: INFO =Server= Client 127.0.0.1:45734 disconnected -2025/04/30 18:06:46.983488 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestStopRunningWhenHalfConnected (0.01s) +2025/05/01 20:15:47.872201 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:41607 +2025/05/01 20:15:47.872272 irc.go:302: INFO Connecting to IRC 127.0.0.1:41607 +2025/05/01 20:15:47.872292 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.872313 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:41607. +2025/05/01 20:15:47.872566 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:47622 +2025/05/01 20:15:47.872707 irc.go:310: INFO Connected to IRC server, waiting to establish session +2025/05/01 20:15:47.872845 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.872880 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.872897 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.872919 irc_test.go:591: INFO =Server= NOT completing session +2025/05/01 20:15:47.872957 irc.go:323: INFO IRC routine asked to terminate +2025/05/01 20:15:47.872976 irc.go:282: INFO IRC shutdown complete +2025/05/01 20:15:47.873034 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.873107 connection.go:466: ERROR irc.recv(): read tcp 127.0.0.1:47622->127.0.0.1:41607: use of closed network connection +2025/05/01 20:15:47.873146 irc.go:152: INFO Disconnected from IRC +2025/05/01 20:15:47.873189 irc_server_for_test.go:113: INFO =Server= Client 127.0.0.1:47622 disconnected +2025/05/01 20:15:47.873279 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestStopRunningWhenHalfConnected (0.00s) === RUN TestPreJoinChannels -2025/04/30 18:06:46.984229 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:39027 -2025/04/30 18:06:46.984429 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:39027. -2025/04/30 18:06:46.985297 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:56774 -2025/04/30 18:06:46.986944 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.987099 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:46.987161 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.987797 reconciler.go:105: INFO Channel #baz monitor: waiting to join -2025/04/30 18:06:46.987878 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.987956 reconciler.go:114: INFO Channel #baz monitor: join request sent -2025/04/30 18:06:46.988200 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:46.988259 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.988330 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:46.988564 reconciler.go:105: INFO Channel #bar monitor: waiting to join -2025/04/30 18:06:46.988622 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:46.988732 reconciler.go:114: INFO Channel #bar monitor: join request sent -2025/04/30 18:06:46.989081 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #baz -2025/04/30 18:06:46.989191 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.989248 irc_server_for_test.go:119: INFO =Server= Received JOIN #baz -2025/04/30 18:06:46.989405 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:46.989482 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.989534 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:46.989658 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #bar -2025/04/30 18:06:46.989724 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:46.989777 irc_server_for_test.go:119: INFO =Server= Received JOIN #bar -2025/04/30 18:06:46.990944 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:46.991936 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:46.992894 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:46.991548 reconciler.go:205: INFO Received JOIN confirmation for channel #baz -2025/04/30 18:06:46.993440 reconciler.go:79: INFO Setting JOIN state on channel #baz -2025/04/30 18:06:46.993715 reconciler.go:118: INFO Channel #baz monitor: join succeeded -2025/04/30 18:06:46.993854 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join -2025/04/30 18:06:46.993934 reconciler.go:131: INFO Channel #baz monitor: context canceled while monitoring -2025/04/30 18:06:46.994015 reconciler.go:122: INFO Channel #bar monitor: context canceled while waiting for join -2025/04/30 18:06:46.994734 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestPreJoinChannels (0.01s) +2025/05/01 20:15:47.873472 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:44745 +2025/05/01 20:15:47.873533 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:44745. +2025/05/01 20:15:47.873753 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:53090 +2025/05/01 20:15:47.874001 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.874037 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.874054 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.874209 reconciler.go:105: INFO Channel #baz monitor: waiting to join +2025/05/01 20:15:47.874231 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.874256 reconciler.go:114: INFO Channel #baz monitor: join request sent +2025/05/01 20:15:47.874335 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.874353 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.874374 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.874433 reconciler.go:105: INFO Channel #bar monitor: waiting to join +2025/05/01 20:15:47.874447 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.874468 reconciler.go:114: INFO Channel #bar monitor: join request sent +2025/05/01 20:15:47.874554 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #baz +2025/05/01 20:15:47.874584 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.874601 irc_server_for_test.go:119: INFO =Server= Received JOIN #baz +2025/05/01 20:15:47.874645 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.874665 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.874684 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.874720 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #bar +2025/05/01 20:15:47.874740 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.874754 irc_server_for_test.go:119: INFO =Server= Received JOIN #bar +2025/05/01 20:15:47.875036 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.875108 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.875258 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.875379 reconciler.go:205: INFO Received JOIN confirmation for channel #baz +2025/05/01 20:15:47.875404 reconciler.go:79: INFO Setting JOIN state on channel #baz +2025/05/01 20:15:47.875450 reconciler.go:118: INFO Channel #baz monitor: join succeeded +2025/05/01 20:15:47.875481 reconciler.go:122: INFO Channel #foo monitor: context canceled while waiting for join +2025/05/01 20:15:47.875501 reconciler.go:131: INFO Channel #baz monitor: context canceled while monitoring +2025/05/01 20:15:47.875519 reconciler.go:122: INFO Channel #bar monitor: context canceled while waiting for join +2025/05/01 20:15:47.875566 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestPreJoinChannels (0.00s) === RUN TestKeepJoining -2025/04/30 18:06:46.996487 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:39461 -2025/04/30 18:06:46.996753 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:39461. -2025/04/30 18:06:46.997561 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:59672 -2025/04/30 18:06:46.998975 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:46.999136 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:46.999199 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:46.999964 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:47.000039 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:47.000122 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:47.000480 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:47.000579 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:47.000642 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:47.000753 reconciler.go:120: WARN Channel #foo monitor: could not join after 10 seconds, will retry -2025/04/30 18:06:47.000815 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:47.000863 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:47.000940 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:47.001243 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:47.001338 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:47.001398 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:47.001495 reconciler.go:120: WARN Channel #foo monitor: could not join after 10 seconds, will retry -2025/04/30 18:06:47.001557 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:47.001603 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:47.001671 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:47.001949 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:47.002038 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:47.002095 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:47.002461 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:47.002555 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:47.002948 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:47.003526 reconciler.go:205: INFO Received JOIN confirmation for channel #foo -2025/04/30 18:06:47.003626 reconciler.go:79: INFO Setting JOIN state on channel #foo -2025/04/30 18:06:47.003752 reconciler.go:118: INFO Channel #foo monitor: join succeeded -2025/04/30 18:06:47.004560 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring -2025/04/30 18:06:47.004805 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestKeepJoining (0.01s) +2025/05/01 20:15:47.875762 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:40621 +2025/05/01 20:15:47.875823 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:40621. +2025/05/01 20:15:47.876061 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:59522 +2025/05/01 20:15:47.876314 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.876348 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.876365 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.876487 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.876506 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.876529 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.876623 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.876648 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.876664 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.876699 reconciler.go:120: WARN Channel #foo monitor: could not join after 10 seconds, will retry +2025/05/01 20:15:47.876716 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.876730 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.876750 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.876831 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.876859 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.876875 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.876907 reconciler.go:120: WARN Channel #foo monitor: could not join after 10 seconds, will retry +2025/05/01 20:15:47.876923 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.876937 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.876956 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.877037 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.877063 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.877079 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.877310 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.877381 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.877519 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.877637 reconciler.go:205: INFO Received JOIN confirmation for channel #foo +2025/05/01 20:15:47.877662 reconciler.go:79: INFO Setting JOIN state on channel #foo +2025/05/01 20:15:47.877707 reconciler.go:118: INFO Channel #foo monitor: join succeeded +2025/05/01 20:15:47.877736 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring +2025/05/01 20:15:47.877782 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestKeepJoining (0.00s) === RUN TestKickRejoin -2025/04/30 18:06:47.005371 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:34987 -2025/04/30 18:06:47.005675 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:34987. -2025/04/30 18:06:47.006639 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:59844 -2025/04/30 18:06:47.013383 irc_server_for_test.go:119: INFO =Server= Received NICK foo -2025/04/30 18:06:47.013582 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping -2025/04/30 18:06:47.013647 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : -2025/04/30 18:06:47.014158 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:47.014227 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:47.014304 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:47.014628 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:47.014731 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:47.014788 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:47.015008 irc_server_for_test.go:139: INFO =Server= sending to client: :test!~test@example.com KICK #foo foo :Bye! -2025/04/30 18:06:47.015847 reconciler.go:205: INFO Received JOIN confirmation for channel #foo -2025/04/30 18:06:47.015962 reconciler.go:79: INFO Setting JOIN state on channel #foo -2025/04/30 18:06:47.016160 reconciler.go:223: INFO Received KICK for channel #foo -2025/04/30 18:06:47.016341 reconciler.go:93: INFO Removing JOIN state on channel #foo -2025/04/30 18:06:47.016449 reconciler.go:118: INFO Channel #foo monitor: join succeeded -2025/04/30 18:06:47.016509 reconciler.go:105: INFO Channel #foo monitor: waiting to join -2025/04/30 18:06:47.016556 fake_delayer.go:43: INFO Faking Backoff -2025/04/30 18:06:47.016629 reconciler.go:114: INFO Channel #foo monitor: join request sent -2025/04/30 18:06:47.017097 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo -2025/04/30 18:06:47.017217 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping -2025/04/30 18:06:47.017279 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo -2025/04/30 18:06:47.017677 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya -2025/04/30 18:06:47.017818 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate -2025/04/30 18:06:47.018287 connection.go:577: INFO irc.Close(): Disconnected from server. -2025/04/30 18:06:47.018711 reconciler.go:205: INFO Received JOIN confirmation for channel #foo -2025/04/30 18:06:47.018794 reconciler.go:79: INFO Setting JOIN state on channel #foo -2025/04/30 18:06:47.018961 reconciler.go:118: INFO Channel #foo monitor: join succeeded -2025/04/30 18:06:47.019073 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring -2025/04/30 18:06:47.019224 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections ---- PASS: TestKickRejoin (0.01s) +2025/05/01 20:15:47.877949 irc_server_for_test.go:201: INFO =Server= Test server listening on 127.0.0.1:34939 +2025/05/01 20:15:47.878039 connection.go:390: INFO irc.Connect(): Connecting to 127.0.0.1:34939. +2025/05/01 20:15:47.878298 irc_server_for_test.go:171: INFO =Server= New client connected from 127.0.0.1:38036 +2025/05/01 20:15:47.878546 irc_server_for_test.go:119: INFO =Server= Received NICK foo +2025/05/01 20:15:47.878581 irc_server_for_test.go:96: INFO =Server= No handler for command 'NICK', skipping +2025/05/01 20:15:47.878598 irc_server_for_test.go:119: INFO =Server= Received USER foo 12 * : +2025/05/01 20:15:47.878716 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.878735 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.878758 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.878851 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.878879 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.878897 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.879046 irc_server_for_test.go:139: INFO =Server= sending to client: :test!~test@example.com KICK #foo foo :Bye! +2025/05/01 20:15:47.879149 reconciler.go:205: INFO Received JOIN confirmation for channel #foo +2025/05/01 20:15:47.879171 reconciler.go:79: INFO Setting JOIN state on channel #foo +2025/05/01 20:15:47.879202 reconciler.go:223: INFO Received KICK for channel #foo +2025/05/01 20:15:47.879221 reconciler.go:93: INFO Removing JOIN state on channel #foo +2025/05/01 20:15:47.879247 reconciler.go:118: INFO Channel #foo monitor: join succeeded +2025/05/01 20:15:47.879265 reconciler.go:105: INFO Channel #foo monitor: waiting to join +2025/05/01 20:15:47.879278 fake_delayer.go:43: INFO Faking Backoff +2025/05/01 20:15:47.879316 reconciler.go:114: INFO Channel #foo monitor: join request sent +2025/05/01 20:15:47.879421 irc_server_for_test.go:119: INFO =Server= Received PRIVMSG ChanServ :UNBAN #foo +2025/05/01 20:15:47.879453 irc_server_for_test.go:96: INFO =Server= No handler for command 'PRIVMSG', skipping +2025/05/01 20:15:47.879469 irc_server_for_test.go:119: INFO =Server= Received JOIN #foo +2025/05/01 20:15:47.879562 irc_server_for_test.go:119: INFO =Server= Received QUIT :see ya +2025/05/01 20:15:47.879590 irc_server_for_test.go:127: INFO =Server= Closing connection: client asked to terminate +2025/05/01 20:15:47.879701 connection.go:577: INFO irc.Close(): Disconnected from server. +2025/05/01 20:15:47.879812 reconciler.go:205: INFO Received JOIN confirmation for channel #foo +2025/05/01 20:15:47.879836 reconciler.go:79: INFO Setting JOIN state on channel #foo +2025/05/01 20:15:47.879880 reconciler.go:118: INFO Channel #foo monitor: join succeeded +2025/05/01 20:15:47.879909 reconciler.go:131: INFO Channel #foo monitor: context canceled while monitoring +2025/05/01 20:15:47.879955 irc_server_for_test.go:168: INFO =Server= Stopped accepting new connections +--- PASS: TestKickRejoin (0.00s) PASS -ok github.com/google/alertmanager-irc-relay 0.462s +ok github.com/google/alertmanager-irc-relay 0.064s ? github.com/google/alertmanager-irc-relay/logging [no test files] create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang @@ -2096,12 +2136,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/24397/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/24397/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/32410 and its subdirectories -I: Current time: Wed Apr 30 18:08:52 -12 2025 -I: pbuilder-time-stamp: 1746079732 +I: removing directory /srv/workspace/pbuilder/24397 and its subdirectories +I: Current time: Thu May 1 20:16:33 +14 2025 +I: pbuilder-time-stamp: 1746080193