>>> mtail: Building testing/mtail 3.2.26-r1 (using abuild 3.16.0-r0) started Sun, 07 Dec 2025 22:54:57 +0000 >>> mtail: Validating /home/buildozer/aports/testing/mtail/APKBUILD... >>> mtail: Analyzing dependencies... >>> mtail: Installing for build: build-base tzdata go go-tools (1/4) Installing tzdata (2025b-r0) (2/4) Installing go (1.25.5-r0) (3/4) Installing go-tools (0.39.0-r1) (4/4) Installing .makedepends-mtail (20251207.225504) Executing busybox-1.37.0-r29.trigger OK: 620 MiB in 107 packages >>> mtail: Cleaning up srcdir >>> mtail: Cleaning up pkgdir >>> mtail: Cleaning up tmpdir >>> mtail: Fetching https://distfiles.alpinelinux.org/distfiles/edge/mtail-3.2.26.tar.gz /var/cache/distfiles/edge/mtail-3.2.26.tar.gz: OK /home/buildozer/aports/testing/mtail/mtail.initd: OK /home/buildozer/aports/testing/mtail/mtail.confd: OK >>> mtail: Fetching https://distfiles.alpinelinux.org/distfiles/edge/mtail-3.2.26.tar.gz /var/cache/distfiles/edge/mtail-3.2.26.tar.gz: OK /home/buildozer/aports/testing/mtail/mtail.initd: OK /home/buildozer/aports/testing/mtail/mtail.confd: OK >>> mtail: Unpacking /var/cache/distfiles/edge/mtail-3.2.26.tar.gz... go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/golang/glog v1.2.5 # get https://proxy.golang.org/github.com/pkg/errors/@v/v0.9.1.zip # get https://proxy.golang.org/github.com/golang/glog/@v/v1.2.5.zip # get https://proxy.golang.org/github.com/golang/glog/@v/v1.2.5.zip: 200 OK (0.488s) # get https://proxy.golang.org/github.com/pkg/errors/@v/v0.9.1.zip: 200 OK (0.516s) # get https://proxy.golang.org/github.com/pkg/errors/@v/v0.9.1.mod # get https://proxy.golang.org/github.com/golang/glog/@v/v1.2.5.mod # get https://proxy.golang.org/github.com/pkg/errors/@v/v0.9.1.mod: 200 OK (0.049s) # get https://proxy.golang.org/github.com/golang/glog/@v/v1.2.5.mod: 200 OK (0.023s) goyacc -v y.output -o parser.go -p mtail parser.y go: downloading github.com/prometheus/client_golang v1.23.2 go: downloading github.com/google/go-cmp v0.7.0 go: downloading github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 go: downloading go.opentelemetry.io/otel v1.38.0 go: downloading go.opentelemetry.io/otel/sdk v1.38.0 go: downloading go.opentelemetry.io/otel/sdk/metric v1.38.0 go: downloading go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.38.0 go: downloading github.com/prometheus/common v0.67.4 go: downloading contrib.go.opencensus.io/exporter/jaeger v0.2.1 go: downloading go.opencensus.io v0.24.0 go: downloading github.com/uber/jaeger-client-go v2.25.0+incompatible go: downloading google.golang.org/api v0.105.0 go: downloading google.golang.org/protobuf v1.36.10 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 go: downloading github.com/prometheus/client_model v0.6.2 go: downloading go.yaml.in/yaml/v2 v2.4.3 go: downloading google.golang.org/grpc v1.75.0 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading github.com/prometheus/procfs v0.16.1 go: downloading github.com/beorn7/perks v1.0.1 go: downloading golang.org/x/sys v0.38.0 go: downloading go.opentelemetry.io/otel/trace v1.38.0 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/go-logr/logr v1.4.3 go: downloading go.opentelemetry.io/otel/metric v1.38.0 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5 go: downloading github.com/cenkalti/backoff/v5 v5.0.3 go: downloading github.com/go-logr/stdr v1.2.2 go: downloading go.opentelemetry.io/proto/otlp v1.7.1 go: downloading go.opentelemetry.io/auto/sdk v1.1.0 go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.2 go: downloading golang.org/x/net v0.47.0 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20250825161204-c5933d9347a5 go: downloading golang.org/x/text v0.31.0 go: downloading golang.org/x/sync v0.18.0 encoding internal/goarch internal/unsafeheader internal/byteorder internal/godebugs internal/coverage/rtcov internal/goos internal/asan internal/profilerecord internal/msan internal/trace/tracev2 internal/itoa internal/goexperiment cmp math/bits unicode/utf8 unicode/utf16 log/internal crypto/internal/fips140/alias container/list go.opencensus.io internal/nettrace unicode vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias log/slog/internal google.golang.org/protobuf/internal/flags go.opencensus.io/trace/internal go.opentelemetry.io/otel/trace/embedded go.opentelemetry.io/otel/sdk/metric/internal go.opentelemetry.io/otel/metric/embedded google.golang.org/grpc/serviceconfig go.opentelemetry.io/otel/sdk go.opencensus.io/internal/tagencoding github.com/google/go-cmp/cmp/internal/flags internal/runtime/math internal/runtime/gc internal/cpu sync/atomic internal/abi internal/runtime/atomic internal/runtime/syscall internal/runtime/sys crypto/internal/boring/sig crypto/internal/fips140deps/byteorder internal/runtime/strconv github.com/golang/groupcache/lru google.golang.org/protobuf/internal/set crypto/internal/fips140/subtle math internal/chacha8rand internal/bytealg crypto/internal/fips140deps/cpu internal/runtime/exithook internal/runtime/cgroup internal/stringslite internal/race internal/synctest internal/runtime/maps internal/sync runtime internal/reflectlite iter sync crypto/subtle weak runtime/metrics slices maps sort errors internal/oserror path strconv math/rand/v2 vendor/golang.org/x/net/dns/dnsmessage io internal/bisect internal/testlog internal/singleflight crypto/internal/fips140cache unique google.golang.org/protobuf/internal/pragma log/slog/internal/buffer google.golang.org/grpc/internal/buffer syscall runtime/cgo internal/godebug github.com/beorn7/perks/quantile reflect bytes github.com/prometheus/client_golang/prometheus/promhttp/internal internal/saferio crypto/internal/randutil hash strings encoding/base64 crypto/internal/fips140deps/godebug net/netip math/rand hash/crc32 crypto hash/fnv github.com/golang/glog/internal/stackdump vendor/golang.org/x/text/transform golang.org/x/text/transform crypto/internal/fips140 bufio regexp/syntax crypto/internal/impl github.com/munnerz/goautoneg net/http/internal/ascii encoding/pem html crypto/internal/fips140/sha256 crypto/internal/fips140/sha512 crypto/internal/fips140/sha3 internal/syscall/execenv internal/syscall/unix time crypto/sha3 crypto/internal/fips140hash crypto/internal/fips140/hmac crypto/internal/fips140/check crypto/internal/fips140/edwards25519/field crypto/internal/fips140/bigmod crypto/fips140 crypto/internal/fips140/tls12 crypto/internal/fips140/aes crypto/internal/fips140/hkdf crypto/internal/fips140/nistec/fiat crypto/tls/internal/fips140tls crypto/internal/fips140/tls13 crypto/internal/fips140/edwards25519 regexp context google.golang.org/grpc/backoff google.golang.org/grpc/balancer/pickfirst/internal internal/poll io/fs google.golang.org/grpc/keepalive github.com/google/go-cmp/cmp/internal/diff golang.org/x/sync/semaphore go.opentelemetry.io/otel/internal/baggage google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/grpcsync internal/filepathlite embed google.golang.org/protobuf/internal/editiondefaults os crypto/internal/fips140/nistec internal/fmtsort encoding/binary google.golang.org/api/support/bundler go.opentelemetry.io/otel/attribute/internal github.com/google/go-cmp/cmp/internal/function vendor/golang.org/x/crypto/internal/poly1305 github.com/cespare/xxhash/v2 golang.org/x/sys/unix fmt path/filepath crypto/internal/sysrand io/ioutil google.golang.org/protobuf/internal/detrand github.com/prometheus/procfs/internal/util go.opentelemetry.io/otel/sdk/internal/x go.opentelemetry.io/otel/sdk/metric/internal/x google.golang.org/grpc/internal/envconfig os/signal internal/sysinfo net crypto/internal/entropy crypto/internal/fips140/drbg crypto/internal/fips140only crypto/internal/fips140/ed25519 crypto/internal/fips140/mlkem crypto/internal/fips140/rsa crypto/internal/fips140/ecdh crypto/internal/fips140/ecdsa os/exec crypto/internal/fips140/aes/gcm crypto/hkdf crypto/rc4 crypto/md5 crypto/cipher crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 crypto/ecdh crypto/hmac crypto/aes crypto/sha512 crypto/sha1 crypto/sha256 github.com/jaqx0r/mtail/internal/logline flag github.com/golang/glog/internal/logsink log compress/flate text/tabwriter go.opencensus.io/internal go.opencensus.io/trace/tracestate encoding/hex os/user mime vendor/golang.org/x/net/http2/hpack mime/quotedprintable math/big net/http/internal github.com/pkg/errors encoding/json vendor/golang.org/x/text/unicode/norm net/url go/token google.golang.org/protobuf/internal/errors runtime/trace github.com/prometheus/procfs/internal/fs google.golang.org/protobuf/internal/version go.opencensus.io/resource github.com/jaqx0r/mtail/internal/runtime/compiler/position github.com/google/go-cmp/cmp/internal/value text/template/parse runtime/debug vendor/golang.org/x/crypto/chacha20poly1305 github.com/cenkalti/backoff/v5 database/sql/driver google.golang.org/grpc/internal/idle google.golang.org/grpc/attributes go.yaml.in/yaml/v2 go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal golang.org/x/net/http2/hpack golang.org/x/text/unicode/norm google.golang.org/protobuf/encoding/protowire go.opencensus.io/metric/metricdata github.com/jaqx0r/mtail/internal/runtime/compiler/errors go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal/retry go.opencensus.io/metric/metricproducer golang.org/x/net/internal/timeseries golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/bidi database/sql github.com/google/go-cmp/cmp google.golang.org/protobuf/reflect/protoreflect go.opentelemetry.io/otel/baggage github.com/grpc-ecosystem/grpc-gateway/v2/utilities testing compress/gzip github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule vendor/golang.org/x/text/secure/bidirule golang.org/x/text/secure/bidirule runtime/pprof internal/profile vendor/golang.org/x/net/idna text/template golang.org/x/net/idna google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/order google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/protolazy google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/encoding/json crypto/rand crypto/elliptic crypto/internal/boring/bbig crypto/dsa encoding/asn1 crypto/ed25519 crypto/internal/hpke crypto/rsa go.opencensus.io/trace github.com/jaqx0r/mtail/internal/metrics/datum go.opentelemetry.io/otel/codes go.opentelemetry.io/auto/sdk/internal/telemetry google.golang.org/grpc/grpclog/internal go.opentelemetry.io/otel/trace/internal/telemetry log/slog github.com/uber/jaeger-client-go/thrift go.opentelemetry.io/otel/attribute google.golang.org/protobuf/proto go.opencensus.io/tag google.golang.org/protobuf/internal/encoding/defval google.golang.org/grpc/grpclog go.opencensus.io/stats/internal github.com/google/go-cmp/cmp/cmpopts go.opencensus.io/stats github.com/prometheus/common/version html/template google.golang.org/grpc/internal/grpclog google.golang.org/grpc/connectivity go.opentelemetry.io/otel/sdk/instrumentation go.opentelemetry.io/otel/metric go.opentelemetry.io/otel/semconv/v1.26.0 go.opentelemetry.io/otel/semconv/v1.37.0 go.opencensus.io/stats/view crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/encoding/protodelim github.com/go-logr/logr go.opentelemetry.io/otel/metric/noop crypto/ecdsa github.com/uber/jaeger-client-go/thrift-gen/zipkincore github.com/uber/jaeger-client-go/thrift-gen/jaeger github.com/go-logr/logr/funcr github.com/golang/glog github.com/uber/jaeger-client-go/thrift-gen/agent github.com/go-logr/stdr go.opentelemetry.io/otel/trace google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protojson github.com/jaqx0r/mtail/internal/metrics github.com/jaqx0r/mtail/internal/runtime/compiler/types github.com/jaqx0r/mtail/internal/waker google.golang.org/protobuf/internal/impl go.opentelemetry.io/otel/trace/noop go.opentelemetry.io/otel/sdk/metric/exemplar github.com/jaqx0r/mtail/internal/runtime/compiler/symbol go.opentelemetry.io/auto/sdk github.com/jaqx0r/mtail/internal/runtime/code github.com/jaqx0r/mtail/internal/runtime/compiler/ast github.com/jaqx0r/mtail/internal/runtime/compiler/parser github.com/jaqx0r/mtail/internal/runtime/compiler/checker github.com/jaqx0r/mtail/internal/runtime/compiler/codegen github.com/jaqx0r/mtail/cmd/mgen github.com/jaqx0r/mtail/internal/runtime/compiler/opt net/textproto crypto/x509 vendor/golang.org/x/net/http/httpproxy google.golang.org/grpc/internal google.golang.org/grpc/internal/syscall github.com/google/uuid google.golang.org/grpc/internal/resolver/dns/internal github.com/prometheus/procfs google.golang.org/grpc/metadata google.golang.org/grpc/mem google.golang.org/grpc/codes github.com/jaqx0r/mtail/internal/runtime/compiler github.com/jaqx0r/mtail/cmd/mfmt google.golang.org/grpc/stats google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/internal/balancerload google.golang.org/grpc/tap vendor/golang.org/x/net/http/httpguts golang.org/x/net/http/httpguts mime/multipart google.golang.org/grpc/experimental/stats google.golang.org/grpc/encoding google.golang.org/grpc/internal/stats google.golang.org/grpc/encoding/gzip crypto/tls google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/protoadapt google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/known/anypb go.opentelemetry.io/proto/otlp/common/v1 google.golang.org/protobuf/types/known/fieldmaskpb google.golang.org/protobuf/types/known/structpb google.golang.org/protobuf/types/known/wrapperspb google.golang.org/grpc/internal/pretty google.golang.org/grpc/encoding/proto google.golang.org/genproto/googleapis/rpc/errdetails github.com/prometheus/client_model/go google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/genproto/googleapis/rpc/status google.golang.org/genproto/googleapis/api/httpbody go.opentelemetry.io/proto/otlp/resource/v1 go.opentelemetry.io/proto/otlp/metrics/v1 google.golang.org/grpc/internal/status github.com/prometheus/common/model google.golang.org/grpc/status google.golang.org/grpc/internal/binarylog github.com/prometheus/client_golang/prometheus/internal net/http/httptrace google.golang.org/grpc/internal/credentials google.golang.org/grpc/credentials net/http/internal/httpcommon golang.org/x/net/internal/httpcommon net/http google.golang.org/grpc/resolver google.golang.org/grpc/internal/channelz google.golang.org/grpc/credentials/insecure google.golang.org/grpc/peer google.golang.org/grpc/internal/metadata google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/proxyattributes google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/resolver/unix google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/resolver/dns google.golang.org/grpc/channelz google.golang.org/grpc/balancer google.golang.org/grpc/balancer/base google.golang.org/grpc/balancer/pickfirst/pickfirstleaf google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/internal/resolver google.golang.org/grpc/balancer/endpointsharding google.golang.org/grpc/internal/balancer/gracefulswitch google.golang.org/grpc/balancer/pickfirst google.golang.org/grpc/balancer/roundrobin contrib.go.opencensus.io/exporter/jaeger expvar github.com/prometheus/common/expfmt go.opentelemetry.io/otel/propagation net/http/httputil github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header go.opencensus.io/trace/propagation golang.org/x/net/trace net/http/pprof go.opencensus.io/zpages/internal golang.org/x/net/http2 go.opencensus.io/plugin/ocgrpc github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil go.opentelemetry.io/otel/internal/global go.opencensus.io/zpages github.com/jaqx0r/mtail/internal/tailer/logstream github.com/jaqx0r/mtail/internal/testutil go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal/envconfig go.opentelemetry.io/otel github.com/prometheus/client_golang/prometheus go.opentelemetry.io/otel/sdk/resource github.com/jaqx0r/mtail/internal/tailer go.opentelemetry.io/otel/sdk/metric/metricdata go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal/transform go.opentelemetry.io/otel/sdk/metric/internal/aggregate go.opentelemetry.io/otel/sdk/metric google.golang.org/grpc/internal/transport github.com/jaqx0r/mtail/internal/runtime/vm github.com/prometheus/client_golang/prometheus/collectors github.com/prometheus/client_golang/prometheus/collectors/version github.com/prometheus/client_golang/prometheus/promhttp github.com/jaqx0r/mtail/internal/runtime google.golang.org/grpc/internal/resolver/delegatingresolver google.golang.org/grpc go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal/oconf google.golang.org/grpc/health/grpc_health_v1 github.com/grpc-ecosystem/grpc-gateway/v2/runtime go.opentelemetry.io/proto/otlp/collector/metrics/v1 go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc github.com/jaqx0r/mtail/internal/exporter github.com/jaqx0r/mtail/internal/mtail github.com/jaqx0r/mtail/cmd/mdot github.com/jaqx0r/mtail/cmd/mtail go: downloading github.com/bazelbuild/rules_go v0.59.0 go: downloading github.com/kylelemons/godebug v1.1.0 ? github.com/jaqx0r/mtail/cmd/mdot [no test files] ? github.com/jaqx0r/mtail/cmd/mfmt [no test files] ? github.com/jaqx0r/mtail/cmd/mgen [no test files] ? github.com/jaqx0r/mtail/cmd/mtail [no test files] ok github.com/jaqx0r/mtail/internal/exporter 0.932s ? github.com/jaqx0r/mtail/internal/logline [no test files] ok github.com/jaqx0r/mtail/internal/metrics 0.756s ok github.com/jaqx0r/mtail/internal/metrics/datum 0.372s --- FAIL: TestExamplePrograms (11.17s) --- FAIL: TestExamplePrograms/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log (10.03s) examples_integration_test.go:92: timed out after 10s goroutine 321 [running]: github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1(0x3f64205180) github.com/jaqx0r/mtail/internal/testutil/timeout.go:62 +0x128 testing.tRunner(0x3f64205180, 0x3f64442600) testing/testing.go:1934 +0xf0 created by testing.(*T).Run in goroutine 150 testing/testing.go:1997 +0x3e4 goroutine 1 [chan receive]: testing.(*T).Run(0x3f644a8a80, {0x2acca81d92?, 0x254b316c644ddb88?}, 0x2accdb3050) testing/testing.go:2005 +0x3f8 testing.runTests.func1(0x3f644a8a80) testing/testing.go:2477 +0x4c testing.tRunner(0x3f644a8a80, 0x3f644ddca8) testing/testing.go:1934 +0xf0 testing.runTests(0x3f64012b40, {0x2acd32f820, 0x1f, 0x1f}, {0x3f64192e10?, 0x3f?, 0x2acd3a01c0?}) testing/testing.go:2475 +0x42c testing.(*M).Run(0x3f64153860) testing/testing.go:2337 +0x5b4 main.main() _testmain.go:109 +0x94 goroutine 19 [select]: github.com/golang/glog.(*fileSink).flushDaemon(0x2acd3a0258) github.com/golang/glog@v1.2.5/glog_file.go:380 +0xb8 created by github.com/golang/glog.init.1 in goroutine 1 github.com/golang/glog@v1.2.5/glog_file.go:188 +0x1c4 goroutine 20 [select]: go.opencensus.io/stats/view.(*worker).start(0x3f64296380) go.opencensus.io@v0.24.0/stats/view/worker.go:292 +0x94 created by go.opencensus.io/stats/view.init.0 in goroutine 1 go.opencensus.io@v0.24.0/stats/view/worker.go:34 +0x98 goroutine 150 [chan receive]: testing.(*T).Run(0x3f6447b500, {0x3f643427c0?, 0x3f6410bf38?}, 0x3f64442600) testing/testing.go:2005 +0x3f8 github.com/jaqx0r/mtail/internal/mtail_test.TestExamplePrograms(0x3f6447b500) github.com/jaqx0r/mtail/internal/mtail/examples_integration_test.go:92 +0x80 testing.tRunner(0x3f6447b500, 0x2accdb3050) testing/testing.go:1934 +0xf0 created by testing.(*T).Run in goroutine 1 testing/testing.go:1997 +0x3e4 goroutine 148 [select]: github.com/jaqx0r/mtail/internal/runtime.New.func3() github.com/jaqx0r/mtail/internal/runtime/runtime.go:343 +0x168 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:332 +0x398 goroutine 332 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x6e552e7473612a3b?, 0x61?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f643edb18) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/mtail.(*Server).Run(0x3f643edb00) github.com/jaqx0r/mtail/internal/mtail/mtail.go:241 +0x34 github.com/jaqx0r/mtail/internal/mtail_test.TestExamplePrograms.func1.1() github.com/jaqx0r/mtail/internal/mtail/examples_integration_test.go:105 +0x58 created by github.com/jaqx0r/mtail/internal/mtail_test.TestExamplePrograms.func1 in goroutine 322 github.com/jaqx0r/mtail/internal/mtail/examples_integration_test.go:103 +0x2f0 goroutine 80 [syscall]: os/signal.signal_recv() runtime/sigqueue.go:152 +0x34 os/signal.loop() os/signal/signal_unix.go:23 +0x20 created by os/signal.Notify.func1.1 in goroutine 104 os/signal/signal.go:152 +0x2c goroutine 147 [chan receive]: github.com/jaqx0r/mtail/internal/runtime.New.func2() github.com/jaqx0r/mtail/internal/runtime/runtime.go:302 +0x78 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:299 +0x334 goroutine 249 [chan send]: github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).send(0x3f6454e000, {0x2accdc6250, 0x3f64572cd0}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:94 +0x1d8 github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).ReadAndSend(0x3f6454e000, {0x2accdc6250, 0x3f64572cd0}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:60 +0x1fc github.com/jaqx0r/mtail/internal/tailer/logstream.(*fileStream).stream.func1() github.com/jaqx0r/mtail/internal/tailer/logstream/filestream.go:102 +0xec created by github.com/jaqx0r/mtail/internal/tailer/logstream.(*fileStream).stream in goroutine 322 github.com/jaqx0r/mtail/internal/tailer/logstream/filestream.go:88 +0x5a8 goroutine 149 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64426700?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f642d91e0) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/runtime.New.func1.1() github.com/jaqx0r/mtail/internal/runtime/runtime.go:294 +0x68 created by github.com/jaqx0r/mtail/internal/runtime.New.func1 in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:291 +0x94 goroutine 248 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64426380?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f64594680) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/runtime.New.func1.1() github.com/jaqx0r/mtail/internal/runtime/runtime.go:294 +0x68 created by github.com/jaqx0r/mtail/internal/runtime.New.func1 in goroutine 322 github.com/jaqx0r/mtail/internal/runtime/runtime.go:291 +0x94 goroutine 322 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f645c0020?, 0xc0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f645be010) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/mtail_test.TestExamplePrograms.func1(0x3f64205180) github.com/jaqx0r/mtail/internal/mtail/examples_integration_test.go:108 +0x2f8 github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1.1() github.com/jaqx0r/mtail/internal/testutil/timeout.go:57 +0x78 created by github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1 in goroutine 321 github.com/jaqx0r/mtail/internal/testutil/timeout.go:54 +0xb8 goroutine 330 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64426930?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f6424afd8) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/tailer.New.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:150 +0x68 created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 322 github.com/jaqx0r/mtail/internal/tailer/tail.go:147 +0x300 goroutine 331 [chan receive]: github.com/jaqx0r/mtail/internal/tailer.New.func2() github.com/jaqx0r/mtail/internal/tailer/tail.go:159 +0x8c created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 322 github.com/jaqx0r/mtail/internal/tailer/tail.go:156 +0x374 goroutine 247 [runnable]: github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).ProcessLogLine(0x3f646720e0, {0x2accdc62f8, 0x2acd3c1c80}, 0x3f641c2180) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:962 +0x20 github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).Run(0x3f646720e0, 0x3f644268c0, 0x3f644e8090?) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:1057 +0x140 created by github.com/jaqx0r/mtail/internal/runtime.(*Runtime).CompileAndRun in goroutine 322 github.com/jaqx0r/mtail/internal/runtime/runtime.go:213 +0xc24 goroutine 328 [chan send]: github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:274 +0x9c created by github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath in goroutine 322 github.com/jaqx0r/mtail/internal/tailer/tail.go:271 +0x284 goroutine 95 [runnable]: github.com/jaqx0r/mtail/internal/runtime.New.func2() github.com/jaqx0r/mtail/internal/runtime/runtime.go:309 +0x410 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 322 github.com/jaqx0r/mtail/internal/runtime/runtime.go:299 +0x334 goroutine 96 [select]: github.com/jaqx0r/mtail/internal/runtime.New.func3() github.com/jaqx0r/mtail/internal/runtime/runtime.go:343 +0x168 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 322 github.com/jaqx0r/mtail/internal/runtime/runtime.go:332 +0x398 --- FAIL: TestFilePipeStreamComparison (11.36s) --- FAIL: TestFilePipeStreamComparison/examples/dhcpd.mtail_on_testdata/anonymised_dhcpd_log (10.07s) examples_integration_unix_test.go:35: timed out after 10s goroutine 1529 [running]: github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1(0x3f6462cc40) github.com/jaqx0r/mtail/internal/testutil/timeout.go:62 +0x128 testing.tRunner(0x3f6462cc40, 0x3f642c6600) testing/testing.go:1934 +0xf0 created by testing.(*T).Run in goroutine 1008 testing/testing.go:1997 +0x3e4 goroutine 1 [chan receive]: testing.(*T).Run(0x3f644a8a80, {0x2acca8af8e?, 0x254b316c644ddb88?}, 0x2accdb3068) testing/testing.go:2005 +0x3f8 testing.runTests.func1(0x3f644a8a80) testing/testing.go:2477 +0x4c testing.tRunner(0x3f644a8a80, 0x3f644ddca8) testing/testing.go:1934 +0xf0 testing.runTests(0x3f64012b40, {0x2acd32f820, 0x1f, 0x1f}, {0x3f64192e10?, 0x3f?, 0x2acd3a01c0?}) testing/testing.go:2475 +0x42c testing.(*M).Run(0x3f64153860) testing/testing.go:2337 +0x5b4 main.main() _testmain.go:109 +0x94 goroutine 19 [select]: github.com/golang/glog.(*fileSink).flushDaemon(0x2acd3a0258) github.com/golang/glog@v1.2.5/glog_file.go:380 +0xb8 created by github.com/golang/glog.init.1 in goroutine 1 github.com/golang/glog@v1.2.5/glog_file.go:188 +0x1c4 goroutine 20 [select]: go.opencensus.io/stats/view.(*worker).start(0x3f64296380) go.opencensus.io@v0.24.0/stats/view/worker.go:292 +0x94 created by go.opencensus.io/stats/view.init.0 in goroutine 1 go.opencensus.io@v0.24.0/stats/view/worker.go:34 +0x98 goroutine 1008 [chan receive]: testing.(*T).Run(0x3f645d3500, {0x3f6415a340?, 0x3f6410bf38?}, 0x3f642c6600) testing/testing.go:2005 +0x3f8 github.com/jaqx0r/mtail/internal/mtail_test.TestFilePipeStreamComparison(0x3f645d3500) github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:35 +0x80 testing.tRunner(0x3f645d3500, 0x2accdb3068) testing/testing.go:1934 +0xf0 created by testing.(*T).Run in goroutine 1 testing/testing.go:1997 +0x3e4 goroutine 1547 [chan receive]: github.com/jaqx0r/mtail/internal/runtime.New.func2() github.com/jaqx0r/mtail/internal/runtime/runtime.go:302 +0x78 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 1533 github.com/jaqx0r/mtail/internal/runtime/runtime.go:299 +0x334 goroutine 148 [select]: github.com/jaqx0r/mtail/internal/runtime.New.func3() github.com/jaqx0r/mtail/internal/runtime/runtime.go:343 +0x168 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:332 +0x398 goroutine 1548 [select]: github.com/jaqx0r/mtail/internal/runtime.New.func3() github.com/jaqx0r/mtail/internal/runtime/runtime.go:343 +0x168 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 1533 github.com/jaqx0r/mtail/internal/runtime/runtime.go:332 +0x398 goroutine 1576 [chan receive]: github.com/jaqx0r/mtail/internal/tailer/logstream.SetReadDeadlineOnDone.func1() github.com/jaqx0r/mtail/internal/tailer/logstream/cancel.go:24 +0x44 created by github.com/jaqx0r/mtail/internal/tailer/logstream.SetReadDeadlineOnDone in goroutine 1571 github.com/jaqx0r/mtail/internal/tailer/logstream/cancel.go:23 +0xac goroutine 80 [syscall]: os/signal.signal_recv() runtime/sigqueue.go:152 +0x34 os/signal.loop() os/signal/signal_unix.go:23 +0x20 created by os/signal.Notify.func1.1 in goroutine 104 os/signal/signal.go:152 +0x2c goroutine 147 [chan receive]: github.com/jaqx0r/mtail/internal/runtime.New.func2() github.com/jaqx0r/mtail/internal/runtime/runtime.go:302 +0x78 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:299 +0x334 goroutine 1572 [runnable]: github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:274 +0x9c created by github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath in goroutine 1533 github.com/jaqx0r/mtail/internal/tailer/tail.go:271 +0x284 goroutine 149 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64426700?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f642d91e0) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/runtime.New.func1.1() github.com/jaqx0r/mtail/internal/runtime/runtime.go:294 +0x68 created by github.com/jaqx0r/mtail/internal/runtime.New.func1 in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:291 +0x94 goroutine 1571 [chan send]: github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).send(0x3f64171340, {0x2accdc6250, 0x3f641ad9a0}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:94 +0x1d8 github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).ReadAndSend(0x3f64171340, {0x2accdc6250, 0x3f641ad9a0}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:60 +0x1fc github.com/jaqx0r/mtail/internal/tailer/logstream.(*fifoStream).stream.func1() github.com/jaqx0r/mtail/internal/tailer/logstream/fifostream.go:99 +0xdc created by github.com/jaqx0r/mtail/internal/tailer/logstream.(*fifoStream).stream in goroutine 1533 github.com/jaqx0r/mtail/internal/tailer/logstream/fifostream.go:81 +0x250 goroutine 1574 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f641a0460?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f6457ecd8) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/tailer.New.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:150 +0x68 created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 1533 github.com/jaqx0r/mtail/internal/tailer/tail.go:147 +0x300 goroutine 1575 [chan receive]: github.com/jaqx0r/mtail/internal/tailer.New.func2() github.com/jaqx0r/mtail/internal/tailer/tail.go:159 +0x8c created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 1533 github.com/jaqx0r/mtail/internal/tailer/tail.go:156 +0x374 goroutine 1570 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64046c40?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f646a6dd0) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/runtime.New.func1.1() github.com/jaqx0r/mtail/internal/runtime/runtime.go:294 +0x68 created by github.com/jaqx0r/mtail/internal/runtime.New.func1 in goroutine 1533 github.com/jaqx0r/mtail/internal/runtime/runtime.go:291 +0x94 goroutine 1588 [chan receive]: github.com/jaqx0r/mtail/internal/tailer.New.func2() github.com/jaqx0r/mtail/internal/tailer/tail.go:159 +0x8c created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 1532 github.com/jaqx0r/mtail/internal/tailer/tail.go:156 +0x374 goroutine 1532 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x6?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f64398378) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/mtail.(*Server).Run(0x3f64398360) github.com/jaqx0r/mtail/internal/mtail/mtail.go:241 +0x34 github.com/jaqx0r/mtail/internal/mtail_test.TestFilePipeStreamComparison.func1.2() github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:73 +0x230 created by github.com/jaqx0r/mtail/internal/mtail_test.TestFilePipeStreamComparison.func1 in goroutine 1530 github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:67 +0x388 goroutine 1533 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x2acc489070?, 0x40?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f64398138) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/mtail.(*Server).Run(0x3f64398120) github.com/jaqx0r/mtail/internal/mtail/mtail.go:241 +0x34 github.com/jaqx0r/mtail/internal/mtail_test.TestFilePipeStreamComparison.func1.3() github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:81 +0x224 created by github.com/jaqx0r/mtail/internal/mtail_test.TestFilePipeStreamComparison.func1 in goroutine 1530 github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:77 +0x44c goroutine 1587 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f640462a0?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f6424af18) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/tailer.New.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:150 +0x68 created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 1532 github.com/jaqx0r/mtail/internal/tailer/tail.go:147 +0x300 goroutine 1454 [chan receive]: github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).Run(0x3f646720e0, 0x3f64046150, 0x3f64426230?) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:1056 +0x14c created by github.com/jaqx0r/mtail/internal/runtime.(*Runtime).CompileAndRun in goroutine 1532 github.com/jaqx0r/mtail/internal/runtime/runtime.go:213 +0xc24 goroutine 1530 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f644e7080?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f64485a00) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/mtail_test.TestFilePipeStreamComparison.func1(0x3f6462cc40) github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:87 +0x454 github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1.1() github.com/jaqx0r/mtail/internal/testutil/timeout.go:57 +0x78 created by github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1 in goroutine 1529 github.com/jaqx0r/mtail/internal/testutil/timeout.go:54 +0xb8 goroutine 1531 [IO wait]: internal/poll.runtime_pollWait(0x3f699eee00, 0x77) runtime/netpoll.go:351 +0xc0 internal/poll.(*pollDesc).wait(0x3f64334120?, 0x3f64436000?, 0x1) internal/poll/fd_poll_runtime.go:84 +0x44 internal/poll.(*pollDesc).waitWrite(...) internal/poll/fd_poll_runtime.go:93 internal/poll.(*FD).Write(0x3f64334120, {0x3f64436000, 0x8000, 0x8000}) internal/poll/fd_unix.go:390 +0x274 os.(*File).write(...) os/file_posix.go:46 os.(*File).Write(0x3f64206050, {0x3f64436000?, 0x8000, 0x2acc354c24?}) os/file.go:215 +0x7c io.copyBuffer({0x2accdbb678, 0x3f642062e8}, {0x2accdbb658, 0x3f64206060}, {0x0, 0x0, 0x0}) io/io.go:431 +0x1fc io.Copy(...) io/io.go:388 os.genericReadFrom(0x3f64206050?, {0x2accdbb658, 0x3f64206060}) os/file.go:205 +0x74 os.(*File).ReadFrom(0x3f64206050, {0x2accdbb658, 0x3f64206060}) os/file.go:181 +0xc0 io.copyBuffer({0x2accdbb6b8, 0x3f64206050}, {0x2accdbb658, 0x3f64206060}, {0x0, 0x0, 0x0}) io/io.go:415 +0x180 io.Copy(...) io/io.go:388 os.genericWriteTo(0x3f64206070?, {0x2accdbb6b8, 0x3f64206050}) os/file.go:295 +0x74 os.(*File).WriteTo(0x3f64206070, {0x2accdbb6b8, 0x3f64206050}) os/file.go:273 +0xc0 io.copyBuffer({0x2accdbb6b8, 0x3f64206050}, {0x2accdbb6d8, 0x3f64206070}, {0x0, 0x0, 0x0}) io/io.go:411 +0xd4 io.Copy(...) io/io.go:388 github.com/jaqx0r/mtail/internal/mtail_test.TestFilePipeStreamComparison.func1.1() github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:59 +0xf0 created by github.com/jaqx0r/mtail/internal/mtail_test.TestFilePipeStreamComparison.func1 in goroutine 1530 github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:52 +0x28c goroutine 1554 [select]: github.com/jaqx0r/mtail/internal/runtime.New.func3() github.com/jaqx0r/mtail/internal/runtime/runtime.go:343 +0x168 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 1532 github.com/jaqx0r/mtail/internal/runtime/runtime.go:332 +0x398 goroutine 1265 [runnable]: github.com/jaqx0r/mtail/internal/runtime.New.func2() github.com/jaqx0r/mtail/internal/runtime/runtime.go:309 +0x410 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 1532 github.com/jaqx0r/mtail/internal/runtime/runtime.go:299 +0x334 goroutine 1169 [runnable]: regexp.freeBitState(0x3f6416e0b0) regexp/backtrack.go:57 +0x10 regexp.(*Regexp).backtrack(0x3f64634a00, {0x0, 0x0, 0x0}, {0x3f646dd380, 0x7a}, 0x0, 0x6, {0x3f641c4ac0, 0x0, ...}) regexp/backtrack.go:342 +0x3c0 regexp.(*Regexp).doExecute(0x2acc381df0?, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x3f646dd380, 0x7a}, 0x0, 0x6, ...) regexp/exec.go:535 +0x238 regexp.(*Regexp).FindStringSubmatch(0x3f64634a00, {0x3f646dd380, 0x7a}) regexp/regexp.go:1040 +0x8c github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).execute(0x3f6473c000, 0x3f64766690, {0x2?, {0x2accc329e0?, 0x2accbaceb0?}, 0x10000000000001f?}) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:361 +0x7dc github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).ProcessLogLine(0x3f6473c000, {0x2accdc62f8?, 0x2acd3c1c80?}, 0x3f646ec480) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:982 +0x204 github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).Run(0x3f6473c000, 0x3f641a02a0, 0x3f644e81b0?) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:1057 +0x140 created by github.com/jaqx0r/mtail/internal/runtime.(*Runtime).CompileAndRun in goroutine 1533 github.com/jaqx0r/mtail/internal/runtime/runtime.go:213 +0xc24 goroutine 1455 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f641a0540?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f644b44e0) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/runtime.New.func1.1() github.com/jaqx0r/mtail/internal/runtime/runtime.go:294 +0x68 created by github.com/jaqx0r/mtail/internal/runtime.New.func1 in goroutine 1532 github.com/jaqx0r/mtail/internal/runtime/runtime.go:291 +0x94 goroutine 1457 [chan send]: github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:274 +0x9c created by github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath in goroutine 1532 github.com/jaqx0r/mtail/internal/tailer/tail.go:271 +0x284 goroutine 1456 [chan send]: github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).send(0x3f6455ea80, {0x2accdc6250, 0x3f64345040}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:94 +0x1d8 github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).ReadAndSend(0x3f6455ea80, {0x2accdc6250, 0x3f64345040}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:60 +0x1fc github.com/jaqx0r/mtail/internal/tailer/logstream.(*fileStream).stream.func1() github.com/jaqx0r/mtail/internal/tailer/logstream/filestream.go:102 +0xec created by github.com/jaqx0r/mtail/internal/tailer/logstream.(*fileStream).stream in goroutine 1532 github.com/jaqx0r/mtail/internal/tailer/logstream/filestream.go:88 +0x5a8 --- FAIL: TestFileSocketStreamComparison (22.28s) --- FAIL: TestFileSocketStreamComparison/examples/dhcpd.mtail_on_unixgram://testdata/anonymised_dhcpd_log (10.05s) examples_integration_unix_test.go:115: timed out after 10s goroutine 2565 [running]: github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1(0x3f646a8fc0) github.com/jaqx0r/mtail/internal/testutil/timeout.go:62 +0x128 testing.tRunner(0x3f646a8fc0, 0x3f6444eff0) testing/testing.go:1934 +0xf0 created by testing.(*T).Run in goroutine 2386 testing/testing.go:1997 +0x3e4 goroutine 1 [chan receive]: testing.(*T).Run(0x3f644a8a80, {0x2acca8d44e?, 0x254b316c644ddb88?}, 0x2accdb3070) testing/testing.go:2005 +0x3f8 testing.runTests.func1(0x3f644a8a80) testing/testing.go:2477 +0x4c testing.tRunner(0x3f644a8a80, 0x3f644ddca8) testing/testing.go:1934 +0xf0 testing.runTests(0x3f64012b40, {0x2acd32f820, 0x1f, 0x1f}, {0x3f64192e10?, 0x3f?, 0x2acd3a01c0?}) testing/testing.go:2475 +0x42c testing.(*M).Run(0x3f64153860) testing/testing.go:2337 +0x5b4 main.main() _testmain.go:109 +0x94 goroutine 19 [select]: github.com/golang/glog.(*fileSink).flushDaemon(0x2acd3a0258) github.com/golang/glog@v1.2.5/glog_file.go:380 +0xb8 created by github.com/golang/glog.init.1 in goroutine 1 github.com/golang/glog@v1.2.5/glog_file.go:188 +0x1c4 goroutine 20 [select]: go.opencensus.io/stats/view.(*worker).start(0x3f64296380) go.opencensus.io@v0.24.0/stats/view/worker.go:292 +0x94 created by go.opencensus.io/stats/view.init.0 in goroutine 1 go.opencensus.io@v0.24.0/stats/view/worker.go:34 +0x98 goroutine 2386 [chan receive]: testing.(*T).Run(0x3f646a8e00, {0x3f64264180?, 0x3f6410bf00?}, 0x3f6444eff0) testing/testing.go:2005 +0x3f8 github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison(0x3f646a8e00) github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:115 +0x108 testing.tRunner(0x3f646a8e00, 0x2accdb3070) testing/testing.go:1934 +0xf0 created by testing.(*T).Run in goroutine 1 testing/testing.go:1997 +0x3e4 goroutine 2111 [chan receive]: github.com/jaqx0r/mtail/internal/tailer.New.func2() github.com/jaqx0r/mtail/internal/tailer/tail.go:159 +0x8c created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 2567 github.com/jaqx0r/mtail/internal/tailer/tail.go:156 +0x374 goroutine 148 [select]: github.com/jaqx0r/mtail/internal/runtime.New.func3() github.com/jaqx0r/mtail/internal/runtime/runtime.go:343 +0x168 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:332 +0x398 goroutine 80 [syscall]: os/signal.signal_recv() runtime/sigqueue.go:152 +0x34 os/signal.loop() os/signal/signal_unix.go:23 +0x20 created by os/signal.Notify.func1.1 in goroutine 104 os/signal/signal.go:152 +0x2c goroutine 147 [chan receive]: github.com/jaqx0r/mtail/internal/runtime.New.func2() github.com/jaqx0r/mtail/internal/runtime/runtime.go:302 +0x78 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:299 +0x334 goroutine 2110 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f648142a0?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f6482ccd8) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/tailer.New.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:150 +0x68 created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 2567 github.com/jaqx0r/mtail/internal/tailer/tail.go:147 +0x300 goroutine 149 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64426700?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f642d91e0) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/runtime.New.func1.1() github.com/jaqx0r/mtail/internal/runtime/runtime.go:294 +0x68 created by github.com/jaqx0r/mtail/internal/runtime.New.func1 in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:291 +0x94 goroutine 2577 [runnable]: github.com/jaqx0r/mtail/internal/runtime.New.func2() github.com/jaqx0r/mtail/internal/runtime/runtime.go:309 +0x410 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 2567 github.com/jaqx0r/mtail/internal/runtime/runtime.go:299 +0x334 goroutine 2582 [select]: github.com/jaqx0r/mtail/internal/runtime.New.func3() github.com/jaqx0r/mtail/internal/runtime/runtime.go:343 +0x168 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 2566 github.com/jaqx0r/mtail/internal/runtime/runtime.go:332 +0x398 goroutine 2105 [runnable]: regexp.(*inputString).step(0x3f64720130, 0x15) regexp/regexp.go:385 +0x14 regexp.(*Regexp).tryBacktrack(0x3f64279b80, 0x3f647200b0, {0x2accdc70f8, 0x3f64720130}, 0x1?, 0xffffffff00000044?) regexp/backtrack.go:216 +0xa24 regexp.(*Regexp).backtrack(0x3f64279b80, {0x0, 0x0, 0x0}, {0x3f64890380, 0x65}, 0x0, 0x4, {0x3f641c8ac0, 0x0, ...}) regexp/backtrack.go:351 +0x31c regexp.(*Regexp).doExecute(0x2acc381df0?, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x3f64890380, 0x65}, 0x0, 0x4, ...) regexp/exec.go:535 +0x238 regexp.(*Regexp).FindStringSubmatch(0x3f64279b80, {0x3f64890380, 0x65}) regexp/regexp.go:1040 +0x8c github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).execute(0x3f6473c0e0, 0x3f647ac640, {0x2?, {0x2accc329e0?, 0x2accbacec0?}, 0x10000000000001f?}) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:361 +0x7dc github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).ProcessLogLine(0x3f6473c0e0, {0x2accdc62f8?, 0x2acd3c1c80?}, 0x3f64237080) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:982 +0x204 github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).Run(0x3f6473c0e0, 0x3f648141c0, 0x3f644e82d0?) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:1057 +0x140 created by github.com/jaqx0r/mtail/internal/runtime.(*Runtime).CompileAndRun in goroutine 2567 github.com/jaqx0r/mtail/internal/runtime/runtime.go:213 +0xc24 goroutine 2107 [chan send]: github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).send(0x3f64875340, {0x2accdc6250, 0x3f64701590}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:94 +0x1d8 github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).ReadAndSend(0x3f64875340, {0x2accdc6250, 0x3f64701590}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:60 +0x1fc github.com/jaqx0r/mtail/internal/tailer/logstream.(*fileStream).stream.func1() github.com/jaqx0r/mtail/internal/tailer/logstream/filestream.go:102 +0xec created by github.com/jaqx0r/mtail/internal/tailer/logstream.(*fileStream).stream in goroutine 2567 github.com/jaqx0r/mtail/internal/tailer/logstream/filestream.go:88 +0x5a8 goroutine 2566 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64a67dc0?, 0xc0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f6419c120) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1(0x3f646a8fc0) github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:179 +0x59c github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1.1() github.com/jaqx0r/mtail/internal/testutil/timeout.go:57 +0x78 created by github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1 in goroutine 2565 github.com/jaqx0r/mtail/internal/testutil/timeout.go:54 +0xb8 goroutine 2567 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x6?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f6417efd8) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/mtail.(*Server).Run(0x3f6417efc0) github.com/jaqx0r/mtail/internal/mtail/mtail.go:241 +0x34 github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1.1() github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:135 +0x230 created by github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1 in goroutine 2566 github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:129 +0x2c0 goroutine 2594 [select]: github.com/jaqx0r/mtail/internal/runtime.New.func3() github.com/jaqx0r/mtail/internal/runtime/runtime.go:343 +0x168 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 2567 github.com/jaqx0r/mtail/internal/runtime/runtime.go:332 +0x398 goroutine 2581 [runnable]: github.com/jaqx0r/mtail/internal/runtime.New.func2() github.com/jaqx0r/mtail/internal/runtime/runtime.go:309 +0x410 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 2566 github.com/jaqx0r/mtail/internal/runtime/runtime.go:299 +0x334 goroutine 2091 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64046fc0?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f6457ed98) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/tailer.New.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:150 +0x68 created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 2566 github.com/jaqx0r/mtail/internal/tailer/tail.go:147 +0x300 goroutine 2089 [chan send]: github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).send(0x3f64a67d50, {0x2accdc6250, 0x3f647accd0}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:94 +0x1d8 github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).ReadAndSend(0x3f64a67d50, {0x2accdc6250, 0x3f647accd0}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:60 +0x1fc github.com/jaqx0r/mtail/internal/tailer/logstream.(*dgramStream).stream.func1() github.com/jaqx0r/mtail/internal/tailer/logstream/dgramstream.go:79 +0x12c created by github.com/jaqx0r/mtail/internal/tailer/logstream.(*dgramStream).stream in goroutine 2566 github.com/jaqx0r/mtail/internal/tailer/logstream/dgramstream.go:59 +0x398 goroutine 2108 [chan send]: github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:274 +0x9c created by github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath in goroutine 2567 github.com/jaqx0r/mtail/internal/tailer/tail.go:271 +0x284 goroutine 2088 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64914e70?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f646469c0) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/runtime.New.func1.1() github.com/jaqx0r/mtail/internal/runtime/runtime.go:294 +0x68 created by github.com/jaqx0r/mtail/internal/runtime.New.func1 in goroutine 2566 github.com/jaqx0r/mtail/internal/runtime/runtime.go:291 +0x94 goroutine 2087 [runnable]: github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).execute(0x3f6473c1c0, 0x3f641ac7d0, {0x2, {0x2accc329e0, 0x2accbace80}, 0x1f}) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:336 +0x28 github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).ProcessLogLine(0x3f6473c1c0, {0x2accdc62f8?, 0x2acd3c1c80?}, 0x3f645a2540) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:982 +0x204 github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).Run(0x3f6473c1c0, 0x3f640463f0, 0x3f646bffc0?) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:1057 +0x140 created by github.com/jaqx0r/mtail/internal/runtime.(*Runtime).CompileAndRun in goroutine 2566 github.com/jaqx0r/mtail/internal/runtime/runtime.go:213 +0xc24 goroutine 2090 [chan send]: github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:274 +0x9c created by github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath in goroutine 2566 github.com/jaqx0r/mtail/internal/tailer/tail.go:271 +0x284 goroutine 2092 [chan receive]: github.com/jaqx0r/mtail/internal/tailer.New.func2() github.com/jaqx0r/mtail/internal/tailer/tail.go:159 +0x8c created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 2566 github.com/jaqx0r/mtail/internal/tailer/tail.go:156 +0x374 goroutine 2106 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64577880?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f644b52b0) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/runtime.New.func1.1() github.com/jaqx0r/mtail/internal/runtime/runtime.go:294 +0x68 created by github.com/jaqx0r/mtail/internal/runtime.New.func1 in goroutine 2567 github.com/jaqx0r/mtail/internal/runtime/runtime.go:291 +0x94 goroutine 2093 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64935830?, 0x1?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f6417eeb8) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/mtail.(*Server).Run(0x3f6417eea0) github.com/jaqx0r/mtail/internal/mtail/mtail.go:241 +0x34 github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1.2() github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:143 +0x58 created by github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1 in goroutine 2566 github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:141 +0x4d0 goroutine 2094 [IO wait]: internal/poll.runtime_pollWait(0x3f699eec00, 0x77) runtime/netpoll.go:351 +0xc0 internal/poll.(*pollDesc).wait(0x3f643f7280?, 0x3f64514000?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x44 internal/poll.(*pollDesc).waitWrite(...) internal/poll/fd_poll_runtime.go:93 internal/poll.(*FD).Write(0x3f643f7280, {0x3f64514000, 0x8000, 0x8000}) internal/poll/fd_unix.go:390 +0x274 net.(*netFD).Write(0x3f643f7280, {0x3f64514000?, 0x2acca7370c?, 0x8000?}) net/fd_posix.go:109 +0x4c net.(*conn).Write(0x3f640fa330, {0x3f64514000?, 0x3f640fa348?, 0x2acc354c24?}) net/net.go:208 +0x58 io.copyBuffer({0x2accdbbac0, 0x3f640fa330}, {0x2accdbb658, 0x3f640fa348}, {0x0, 0x0, 0x0}) io/io.go:431 +0x1fc io.Copy(...) io/io.go:388 os.genericWriteTo(0x3f640fa328?, {0x2accdbbac0, 0x3f640fa330}) os/file.go:295 +0x74 os.(*File).WriteTo(0x3f640fa328, {0x2accdbbac0, 0x3f640fa330}) os/file.go:273 +0xc0 io.copyBuffer({0x2accdbbac0, 0x3f640fa330}, {0x2accdbb6d8, 0x3f640fa328}, {0x0, 0x0, 0x0}) io/io.go:411 +0xd4 io.Copy(...) io/io.go:388 github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1.3() github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:154 +0x14c created by github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1 in goroutine 2566 github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:148 +0x594 goroutine 2095 [chan receive]: github.com/jaqx0r/mtail/internal/tailer/logstream.SetReadDeadlineOnDone.func1() github.com/jaqx0r/mtail/internal/tailer/logstream/cancel.go:24 +0x44 created by github.com/jaqx0r/mtail/internal/tailer/logstream.SetReadDeadlineOnDone in goroutine 2089 github.com/jaqx0r/mtail/internal/tailer/logstream/cancel.go:23 +0xac --- FAIL: TestFileSocketStreamComparison/examples/dhcpd.mtail_on_unix://testdata/anonymised_dhcpd_log (10.02s) examples_integration_unix_test.go:115: timed out after 10s goroutine 3658 [running]: github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1(0x3f6433d340) github.com/jaqx0r/mtail/internal/testutil/timeout.go:62 +0x128 testing.tRunner(0x3f6433d340, 0x3f64716ca8) testing/testing.go:1934 +0xf0 created by testing.(*T).Run in goroutine 2386 testing/testing.go:1997 +0x3e4 goroutine 1 [chan receive]: testing.(*T).Run(0x3f644a8a80, {0x2acca8d44e?, 0x254b316c644ddb88?}, 0x2accdb3070) testing/testing.go:2005 +0x3f8 testing.runTests.func1(0x3f644a8a80) testing/testing.go:2477 +0x4c testing.tRunner(0x3f644a8a80, 0x3f644ddca8) testing/testing.go:1934 +0xf0 testing.runTests(0x3f64012b40, {0x2acd32f820, 0x1f, 0x1f}, {0x3f64192e10?, 0x3f?, 0x2acd3a01c0?}) testing/testing.go:2475 +0x42c testing.(*M).Run(0x3f64153860) testing/testing.go:2337 +0x5b4 main.main() _testmain.go:109 +0x94 goroutine 19 [select]: github.com/golang/glog.(*fileSink).flushDaemon(0x2acd3a0258) github.com/golang/glog@v1.2.5/glog_file.go:380 +0xb8 created by github.com/golang/glog.init.1 in goroutine 1 github.com/golang/glog@v1.2.5/glog_file.go:188 +0x1c4 goroutine 20 [select]: go.opencensus.io/stats/view.(*worker).start(0x3f64296380) go.opencensus.io@v0.24.0/stats/view/worker.go:292 +0x94 created by go.opencensus.io/stats/view.init.0 in goroutine 1 go.opencensus.io@v0.24.0/stats/view/worker.go:34 +0x98 goroutine 2386 [chan receive]: testing.(*T).Run(0x3f646a8e00, {0x3f6470a240?, 0x3f6410bf00?}, 0x3f64716ca8) testing/testing.go:2005 +0x3f8 github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison(0x3f646a8e00) github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:115 +0x108 testing.tRunner(0x3f646a8e00, 0x2accdb3070) testing/testing.go:1934 +0xf0 created by testing.(*T).Run in goroutine 1 testing/testing.go:1997 +0x3e4 goroutine 148 [select]: github.com/jaqx0r/mtail/internal/runtime.New.func3() github.com/jaqx0r/mtail/internal/runtime/runtime.go:343 +0x168 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:332 +0x398 goroutine 80 [syscall]: os/signal.signal_recv() runtime/sigqueue.go:152 +0x34 os/signal.loop() os/signal/signal_unix.go:23 +0x20 created by os/signal.Notify.func1.1 in goroutine 104 os/signal/signal.go:152 +0x2c goroutine 3676 [chan send]: github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:274 +0x9c created by github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath in goroutine 3659 github.com/jaqx0r/mtail/internal/tailer/tail.go:271 +0x284 goroutine 3673 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64814930?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f64a5aea0) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/runtime.New.func1.1() github.com/jaqx0r/mtail/internal/runtime/runtime.go:294 +0x68 created by github.com/jaqx0r/mtail/internal/runtime.New.func1 in goroutine 3659 github.com/jaqx0r/mtail/internal/runtime/runtime.go:291 +0x94 goroutine 147 [chan receive]: github.com/jaqx0r/mtail/internal/runtime.New.func2() github.com/jaqx0r/mtail/internal/runtime/runtime.go:302 +0x78 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:299 +0x334 goroutine 149 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64426700?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f642d91e0) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/runtime.New.func1.1() github.com/jaqx0r/mtail/internal/runtime/runtime.go:294 +0x68 created by github.com/jaqx0r/mtail/internal/runtime.New.func1 in goroutine 105 github.com/jaqx0r/mtail/internal/runtime/runtime.go:291 +0x94 goroutine 3680 [IO wait]: internal/poll.runtime_pollWait(0x3f699eee00, 0x77) runtime/netpoll.go:351 +0xc0 internal/poll.(*pollDesc).wait(0x3f6471c880?, 0x0?, 0x0) internal/poll/fd_poll_runtime.go:84 +0x44 internal/poll.(*pollDesc).waitWrite(...) internal/poll/fd_poll_runtime.go:93 internal/poll.sendFile(0x3f6471c880, 0x2d, 0x0, 0x0) internal/poll/sendfile_unix.go:106 +0x2d0 internal/poll.SendFile(0x8?, 0x2acc3b77cc?, 0x2acc405f40?) internal/poll/sendfile_unix.go:35 +0x90 os.(*File).writeTo.func1(0x3f647b43c0?) os/zero_copy_linux.go:31 +0x50 internal/poll.(*FD).RawRead(0x3f647b43c0, 0x3f645a02d0) internal/poll/fd_unix.go:707 +0x130 os.(*rawConn).Read(0x3f6418c218, 0x3f6418c1e8?) os/rawconn.go:31 +0x78 os.(*File).writeTo(0x3f6418c1e0, {0x2accdbbac0, 0x3f6418c1e8}) os/zero_copy_linux.go:30 +0x27c os.(*File).WriteTo(0x3f6418c1e0, {0x2accdbbac0, 0x3f6418c1e8}) os/file.go:269 +0x70 io.copyBuffer({0x2accdbbac0, 0x3f6418c1e8}, {0x2accdbb6d8, 0x3f6418c1e0}, {0x0, 0x0, 0x0}) io/io.go:411 +0xd4 io.Copy(...) io/io.go:388 github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1.3() github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:154 +0x14c created by github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1 in goroutine 3659 github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:148 +0x594 goroutine 3689 [select]: github.com/jaqx0r/mtail/internal/runtime.New.func3() github.com/jaqx0r/mtail/internal/runtime/runtime.go:343 +0x168 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 3660 github.com/jaqx0r/mtail/internal/runtime/runtime.go:332 +0x398 goroutine 3659 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f641d8230?, 0xc0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f645bed60) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1(0x3f6433d340) github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:179 +0x59c github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1.1() github.com/jaqx0r/mtail/internal/testutil/timeout.go:57 +0x78 created by github.com/jaqx0r/mtail/internal/testutil.TimeoutTest.func1 in goroutine 3658 github.com/jaqx0r/mtail/internal/testutil/timeout.go:54 +0xb8 goroutine 3692 [chan send]: github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).send(0x3f64bb9880, {0x2accdc6250, 0x3f641adcc0}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:94 +0x1d8 github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).ReadAndSend(0x3f64bb9880, {0x2accdc6250, 0x3f641adcc0}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:60 +0x1fc github.com/jaqx0r/mtail/internal/tailer/logstream.(*fileStream).stream.func1() github.com/jaqx0r/mtail/internal/tailer/logstream/filestream.go:102 +0xec created by github.com/jaqx0r/mtail/internal/tailer/logstream.(*fileStream).stream in goroutine 3660 github.com/jaqx0r/mtail/internal/tailer/logstream/filestream.go:88 +0x5a8 goroutine 3693 [chan send]: github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:274 +0x9c created by github.com/jaqx0r/mtail/internal/tailer.(*Tailer).TailPath in goroutine 3660 github.com/jaqx0r/mtail/internal/tailer/tail.go:271 +0x284 goroutine 3670 [runnable]: github.com/jaqx0r/mtail/internal/runtime.New.func2() github.com/jaqx0r/mtail/internal/runtime/runtime.go:309 +0x410 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 3659 github.com/jaqx0r/mtail/internal/runtime/runtime.go:299 +0x334 goroutine 3660 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x6?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f64172918) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/mtail.(*Server).Run(0x3f64172900) github.com/jaqx0r/mtail/internal/mtail/mtail.go:241 +0x34 github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1.1() github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:135 +0x230 created by github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1 in goroutine 3659 github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:129 +0x2c0 goroutine 3696 [chan receive]: github.com/jaqx0r/mtail/internal/tailer.New.func2() github.com/jaqx0r/mtail/internal/tailer/tail.go:159 +0x8c created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 3660 github.com/jaqx0r/mtail/internal/tailer/tail.go:156 +0x374 goroutine 3672 [runnable]: github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).execute(0x3f6473c000, 0x3f646ea6e0, {0x0?, {0x2accc32ba0?, 0x2accbace80?}, 0x10000000000001f?}) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:958 +0x3f08 github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).ProcessLogLine(0x3f6473c000, {0x2accdc62f8?, 0x2acd3c1c80?}, 0x3f64553280) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:982 +0x204 github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).Run(0x3f6473c000, 0x3f64610070, 0x3f644e81b0?) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:1057 +0x140 created by github.com/jaqx0r/mtail/internal/runtime.(*Runtime).CompileAndRun in goroutine 3659 github.com/jaqx0r/mtail/internal/runtime/runtime.go:213 +0xc24 goroutine 3678 [chan receive]: github.com/jaqx0r/mtail/internal/tailer.New.func2() github.com/jaqx0r/mtail/internal/tailer/tail.go:159 +0x8c created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 3659 github.com/jaqx0r/mtail/internal/tailer/tail.go:156 +0x374 goroutine 3688 [chan send]: github.com/jaqx0r/mtail/internal/runtime.New.func2() github.com/jaqx0r/mtail/internal/runtime/runtime.go:309 +0x410 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 3660 github.com/jaqx0r/mtail/internal/runtime/runtime.go:299 +0x334 goroutine 3677 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f646100e0?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f64c0e198) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/tailer.New.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:150 +0x68 created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 3659 github.com/jaqx0r/mtail/internal/tailer/tail.go:147 +0x300 goroutine 3691 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64427260?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f644b4ea0) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/runtime.New.func1.1() github.com/jaqx0r/mtail/internal/runtime/runtime.go:294 +0x68 created by github.com/jaqx0r/mtail/internal/runtime.New.func1 in goroutine 3660 github.com/jaqx0r/mtail/internal/runtime/runtime.go:291 +0x94 goroutine 3695 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x3f64427a40?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f6464a318) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/tailer.New.func1() github.com/jaqx0r/mtail/internal/tailer/tail.go:150 +0x68 created by github.com/jaqx0r/mtail/internal/tailer.New in goroutine 3660 github.com/jaqx0r/mtail/internal/tailer/tail.go:147 +0x300 goroutine 3690 [runnable]: github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).execute(0x3f646720e0, 0x3f640367d0, {0x2?, {0x2accc329e0?, 0x2accbace90?}, 0x10000000000001f?}) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:958 +0x3f08 github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).ProcessLogLine(0x3f646720e0, {0x2accdc62f8?, 0x2acd3c1c80?}, 0x3f645a3680) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:982 +0x204 github.com/jaqx0r/mtail/internal/runtime/vm.(*VM).Run(0x3f646720e0, 0x3f64427960, 0x3f64482a20?) github.com/jaqx0r/mtail/internal/runtime/vm/vm.go:1057 +0x140 created by github.com/jaqx0r/mtail/internal/runtime.(*Runtime).CompileAndRun in goroutine 3660 github.com/jaqx0r/mtail/internal/runtime/runtime.go:213 +0xc24 goroutine 3674 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x10?, 0x20?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f643402f0) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/tailer/logstream.(*socketStream).stream.func1() github.com/jaqx0r/mtail/internal/tailer/logstream/socketstream.go:78 +0x1d0 created by github.com/jaqx0r/mtail/internal/tailer/logstream.(*socketStream).stream in goroutine 3659 github.com/jaqx0r/mtail/internal/tailer/logstream/socketstream.go:65 +0x24c goroutine 3671 [select]: github.com/jaqx0r/mtail/internal/runtime.New.func3() github.com/jaqx0r/mtail/internal/runtime/runtime.go:343 +0x168 created by github.com/jaqx0r/mtail/internal/runtime.New in goroutine 3659 github.com/jaqx0r/mtail/internal/runtime/runtime.go:332 +0x398 goroutine 3679 [sync.WaitGroup.Wait]: sync.runtime_SemacquireWaitGroup(0x2acd3a9d00?, 0x0?) runtime/sema.go:114 +0x54 sync.(*WaitGroup).Wait(0x3f6425e7f8) sync/waitgroup.go:206 +0xac github.com/jaqx0r/mtail/internal/mtail.(*Server).Run(0x3f6425e7e0) github.com/jaqx0r/mtail/internal/mtail/mtail.go:241 +0x34 github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1.2() github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:143 +0x58 created by github.com/jaqx0r/mtail/internal/mtail_test.TestFileSocketStreamComparison.func1 in goroutine 3659 github.com/jaqx0r/mtail/internal/mtail/examples_integration_unix_test.go:141 +0x4d0 goroutine 3368 [chan receive]: github.com/jaqx0r/mtail/internal/tailer/logstream.SetReadDeadlineOnDone.func1() github.com/jaqx0r/mtail/internal/tailer/logstream/cancel.go:24 +0x44 created by github.com/jaqx0r/mtail/internal/tailer/logstream.SetReadDeadlineOnDone in goroutine 3367 github.com/jaqx0r/mtail/internal/tailer/logstream/cancel.go:23 +0xac goroutine 3367 [chan send]: github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).send(0x3f646aef00, {0x2accdc6250, 0x3f648af9a0}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:94 +0x1d8 github.com/jaqx0r/mtail/internal/tailer/logstream.(*LineReader).ReadAndSend(0x3f646aef00, {0x2accdc6250, 0x3f648af9a0}) github.com/jaqx0r/mtail/internal/tailer/logstream/reader.go:60 +0x1fc github.com/jaqx0r/mtail/internal/tailer/logstream.(*socketStream).handleConn(0x3f646cc3c0, {0x2accdc6250, 0x3f648af9a0}, 0x0?, {0x2accdbba00, 0x3f640fa058}, {0x2accdca580, 0x3f647a8000}) github.com/jaqx0r/mtail/internal/tailer/logstream/socketstream.go:128 +0x218 created by github.com/jaqx0r/mtail/internal/tailer/logstream.(*socketStream).stream.func2 in goroutine 3675 github.com/jaqx0r/mtail/internal/tailer/logstream/socketstream.go:95 +0x250 --- FAIL: TestLogTruncation (20.08s) log_truncation_integration_test.go:59: Did not see lines_total have delta by deadline: got 19046 - 16 = 19030, want 2 log_truncation_integration_test.go:60: Did not see log_count have delta by deadline: got -1 - 0 = -1, want 1 FAIL FAIL github.com/jaqx0r/mtail/internal/mtail 68.874s ok github.com/jaqx0r/mtail/internal/mtail/golden 0.629s ok github.com/jaqx0r/mtail/internal/runtime 1.264s ok github.com/jaqx0r/mtail/internal/runtime/code 0.452s ok github.com/jaqx0r/mtail/internal/runtime/compiler 0.372s ok github.com/jaqx0r/mtail/internal/runtime/compiler/ast 0.548s ok github.com/jaqx0r/mtail/internal/runtime/compiler/checker 0.660s ok github.com/jaqx0r/mtail/internal/runtime/compiler/codegen 0.816s ok github.com/jaqx0r/mtail/internal/runtime/compiler/errors 0.246s ok github.com/jaqx0r/mtail/internal/runtime/compiler/opt 0.700s ok github.com/jaqx0r/mtail/internal/runtime/compiler/parser 0.767s ? github.com/jaqx0r/mtail/internal/runtime/compiler/position [no test files] ok github.com/jaqx0r/mtail/internal/runtime/compiler/symbol 18.951s ok github.com/jaqx0r/mtail/internal/runtime/compiler/types 0.348s ok github.com/jaqx0r/mtail/internal/runtime/vm 0.699s ok github.com/jaqx0r/mtail/internal/tailer 0.854s ok github.com/jaqx0r/mtail/internal/tailer/logstream 1.121s ok github.com/jaqx0r/mtail/internal/testutil 0.463s ok github.com/jaqx0r/mtail/internal/waker 0.324s FAIL >>> ERROR: mtail: check failed >>> mtail: Uninstalling dependencies... (1/4) Purging .makedepends-mtail (20251207.225504) (2/4) Purging tzdata (2025b-r0) (3/4) Purging go (1.25.5-r0) (4/4) Purging go-tools (0.39.0-r1) Executing busybox-1.37.0-r29.trigger OK: 361 MiB in 103 packages