[==========] Running 6 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 6 tests from MiniPrometheusTest
[ RUN      ] MiniPrometheusTest.StartStopNoTargets
time=2026-08-12T06:37:02.597Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T06:37:02.599Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T06:37:02.599Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142549196 previous=9223372036854775807
time=2026-08-12T06:37:02.600Z level=INFO source=main.go:851 msg="Starting Prometheus Server" mode=server version="(version=3.11.2, branch=HEAD, revision=f0f0fdd679dcd6df320b0558b20919f7cd44c407)"
time=2026-08-12T06:37:02.600Z level=INFO source=main.go:856 msg="operational information" build_context="(go=go1.26.2, platform=linux/amd64, user=root@d2684485c347, date=20260413-11:53:40, tags=netgo,builtinassets)" host_details="(Linux 5.4.0-1157-gcp #166~18.04.1-Ubuntu SMP Wed Jan 21 01:57:46 UTC 2026 x86_64 dist-test-slave-njxd (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T06:37:02.893Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T06:37:02.897Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T06:37:02.903Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:40963
time=2026-08-12T06:37:02.903Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:40963
time=2026-08-12T06:37:02.908Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T06:37:02.910Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=3.911µs
time=2026-08-12T06:37:02.910Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T06:37:02.912Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=1.692388ms
time=2026-08-12T06:37:02.912Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=80.029µs wal_replay_duration=1.799933ms wbl_replay_duration=490ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=3.911µs total_replay_duration=1.973635ms
time=2026-08-12T06:37:02.914Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T06:37:02.914Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T06:37:02.914Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.StartStopNoTargets.1786516621773392-5175-0/prometheus.yml
time=2026-08-12T06:37:02.914Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T06:37:02.920Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=71.105µs remote_storage=2.685µs web_handler=1.059µs query_engine=1.475µs scrape=5.910763ms scrape_sd=4.464µs notify=2.581µs notify_sd=1.731µs rules=2.156µs tracing=9.689µs filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.StartStopNoTargets.1786516621773392-5175-0/prometheus.yml totalDuration=6.303803ms
time=2026-08-12T06:37:02.920Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T06:37:02.920Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T06:37:03.871Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T06:37:03.871Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T06:37:03.871Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T06:37:03.871Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T06:37:03.871Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T06:37:03.871Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T06:37:03.873Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T06:37:03.873Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T06:37:03.873Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T06:37:03.873Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T06:37:03.873Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T06:37:03.873Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T06:37:03.873Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T06:37:03.873Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T06:37:03.873Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T06:37:03.873Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T06:37:03.879Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T06:37:03.879Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T06:37:03.879Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T06:37:03.879Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T06:37:03.882Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T06:37:03.884Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T06:37:03.884Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.StartStopNoTargets (2114 ms)
[ RUN      ] MiniPrometheusTest.StaticTargetScrape
WARNING: Logging before InitGoogleLogging() is written to STDERR
I20260812 06:37:03.894289  5175 webserver.cc:533] Webserver started at http://127.0.0.1:46353/ using document root <none> and password file <none>
time=2026-08-12T06:37:03.964Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T06:37:03.966Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T06:37:03.966Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142549196 previous=9223372036854775807
time=2026-08-12T06:37:03.966Z level=INFO source=main.go:851 msg="Starting Prometheus Server" mode=server version="(version=3.11.2, branch=HEAD, revision=f0f0fdd679dcd6df320b0558b20919f7cd44c407)"
time=2026-08-12T06:37:03.966Z level=INFO source=main.go:856 msg="operational information" build_context="(go=go1.26.2, platform=linux/amd64, user=root@d2684485c347, date=20260413-11:53:40, tags=netgo,builtinassets)" host_details="(Linux 5.4.0-1157-gcp #166~18.04.1-Ubuntu SMP Wed Jan 21 01:57:46 UTC 2026 x86_64 dist-test-slave-njxd (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T06:37:04.201Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T06:37:04.202Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T06:37:04.204Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:46413
time=2026-08-12T06:37:04.204Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:46413
time=2026-08-12T06:37:04.206Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T06:37:04.206Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=1.33µs
time=2026-08-12T06:37:04.206Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T06:37:04.207Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=326.426µs
time=2026-08-12T06:37:04.207Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=70.219µs wal_replay_duration=371.19µs wbl_replay_duration=169ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.33µs total_replay_duration=471.034µs
time=2026-08-12T06:37:04.208Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T06:37:04.209Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T06:37:04.209Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.StaticTargetScrape.1786516621773392-5175-0/prometheus.yml
time=2026-08-12T06:37:04.209Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T06:37:04.210Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=41.845µs remote_storage=2.312µs web_handler=635ns query_engine=909ns scrape=1.366236ms scrape_sd=77.312µs notify=3.393µs notify_sd=1.677µs rules=2.839µs tracing=15.663µs filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.StaticTargetScrape.1786516621773392-5175-0/prometheus.yml totalDuration=1.880545ms
time=2026-08-12T06:37:04.211Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T06:37:04.211Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T06:37:09.947Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T06:37:09.947Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T06:37:09.948Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T06:37:09.948Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T06:37:09.948Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T06:37:09.948Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T06:37:09.948Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T06:37:09.948Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T06:37:09.948Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T06:37:09.948Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T06:37:09.948Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T06:37:09.948Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T06:37:09.949Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T06:37:09.949Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T06:37:09.949Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T06:37:09.949Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T06:37:09.951Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T06:37:09.952Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T06:37:09.952Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T06:37:09.952Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T06:37:09.952Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T06:37:09.952Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T06:37:09.952Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.StaticTargetScrape (6086 ms)
[ RUN      ] MiniPrometheusTest.DiscoverAndScrapeTarget
I20260812 06:37:09.980062  5175 webserver.cc:533] Webserver started at http://127.0.0.1:44315/ using document root <none> and password file <none>
time=2026-08-12T06:37:10.046Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T06:37:10.047Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T06:37:10.047Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142549196 previous=9223372036854775807
time=2026-08-12T06:37:10.047Z level=INFO source=main.go:851 msg="Starting Prometheus Server" mode=server version="(version=3.11.2, branch=HEAD, revision=f0f0fdd679dcd6df320b0558b20919f7cd44c407)"
time=2026-08-12T06:37:10.047Z level=INFO source=main.go:856 msg="operational information" build_context="(go=go1.26.2, platform=linux/amd64, user=root@d2684485c347, date=20260413-11:53:40, tags=netgo,builtinassets)" host_details="(Linux 5.4.0-1157-gcp #166~18.04.1-Ubuntu SMP Wed Jan 21 01:57:46 UTC 2026 x86_64 dist-test-slave-njxd (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T06:37:10.287Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T06:37:10.288Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T06:37:10.290Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:33009
time=2026-08-12T06:37:10.291Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:33009
time=2026-08-12T06:37:10.295Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T06:37:10.295Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=1.546µs
time=2026-08-12T06:37:10.295Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T06:37:10.296Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=318.151µs
time=2026-08-12T06:37:10.296Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=61.524µs wal_replay_duration=361.335µs wbl_replay_duration=155ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.546µs total_replay_duration=466.661µs
time=2026-08-12T06:37:10.298Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T06:37:10.298Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T06:37:10.298Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.DiscoverAndScrapeTarget.1786516621773392-5175-0/prometheus.yml
time=2026-08-12T06:37:10.298Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T06:37:10.304Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=106.915µs remote_storage=2.353µs web_handler=495ns query_engine=1.261µs scrape=5.318097ms scrape_sd=221.564µs notify=1.738µs notify_sd=805ns rules=1.76µs tracing=7.263µs filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.DiscoverAndScrapeTarget.1786516621773392-5175-0/prometheus.yml totalDuration=6.156683ms
time=2026-08-12T06:37:10.304Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T06:37:10.304Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T06:37:18.050Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T06:37:18.050Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T06:37:18.050Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T06:37:18.050Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T06:37:18.053Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T06:37:18.053Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T06:37:18.053Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T06:37:18.054Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T06:37:18.054Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T06:37:18.054Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T06:37:18.054Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.DiscoverAndScrapeTarget (8102 ms)
[ RUN      ] MiniPrometheusTest.WaitForActiveTargetsTimeout
time=2026-08-12T06:37:18.149Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T06:37:18.150Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T06:37:18.152Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142549196 previous=9223372036854775807
time=2026-08-12T06:37:18.152Z level=INFO source=main.go:851 msg="Starting Prometheus Server" mode=server version="(version=3.11.2, branch=HEAD, revision=f0f0fdd679dcd6df320b0558b20919f7cd44c407)"
time=2026-08-12T06:37:18.152Z level=INFO source=main.go:856 msg="operational information" build_context="(go=go1.26.2, platform=linux/amd64, user=root@d2684485c347, date=20260413-11:53:40, tags=netgo,builtinassets)" host_details="(Linux 5.4.0-1157-gcp #166~18.04.1-Ubuntu SMP Wed Jan 21 01:57:46 UTC 2026 x86_64 dist-test-slave-njxd (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T06:37:18.404Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T06:37:18.405Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T06:37:18.408Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:41055
time=2026-08-12T06:37:18.408Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:41055
time=2026-08-12T06:37:18.413Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T06:37:18.413Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=1.357µs
time=2026-08-12T06:37:18.413Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T06:37:18.414Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=349.485µs
time=2026-08-12T06:37:18.414Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=43.583µs wal_replay_duration=392.764µs wbl_replay_duration=129ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.357µs total_replay_duration=468.922µs
time=2026-08-12T06:37:18.416Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T06:37:18.416Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T06:37:18.416Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.WaitForActiveTargetsTimeout.1786516621773392-5175-0/prometheus.yml
time=2026-08-12T06:37:18.416Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T06:37:18.425Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=65.091µs remote_storage=2.458µs web_handler=564ns query_engine=1.294µs scrape=8.086816ms scrape_sd=5.562µs notify=4.811µs notify_sd=2.11µs rules=3.65µs tracing=48.488µs filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.WaitForActiveTargetsTimeout.1786516621773392-5175-0/prometheus.yml totalDuration=8.558731ms
time=2026-08-12T06:37:18.425Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T06:37:18.425Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T06:37:22.149Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T06:37:22.150Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T06:37:22.150Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T06:37:22.150Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T06:37:22.153Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T06:37:22.153Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T06:37:22.153Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T06:37:22.153Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T06:37:22.153Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T06:37:22.153Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T06:37:22.153Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.WaitForActiveTargetsTimeout (4079 ms)
[ RUN      ] MiniPrometheusTest.DuplicateSDTargetsAreDeduplicatedByPrometheus
I20260812 06:37:22.161314  5175 webserver.cc:533] Webserver started at http://127.0.0.1:45977/ using document root <none> and password file <none>
I20260812 06:37:22.161580  5175 webserver.cc:533] Webserver started at http://127.0.0.1:43837/ using document root <none> and password file <none>
I20260812 06:37:22.161825  5175 webserver.cc:533] Webserver started at http://127.0.0.1:40579/ using document root <none> and password file <none>
I20260812 06:37:22.162030  5175 webserver.cc:533] Webserver started at http://127.0.0.1:41919/ using document root <none> and password file <none>
I20260812 06:37:22.162318  5175 webserver.cc:533] Webserver started at http://127.0.0.1:41133/ using document root <none> and password file <none>
I20260812 06:37:22.162597  5175 webserver.cc:533] Webserver started at http://127.0.0.1:45555/ using document root <none> and password file <none>
time=2026-08-12T06:37:22.219Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T06:37:22.221Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T06:37:22.221Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142549196 previous=9223372036854775807
time=2026-08-12T06:37:22.221Z level=INFO source=main.go:851 msg="Starting Prometheus Server" mode=server version="(version=3.11.2, branch=HEAD, revision=f0f0fdd679dcd6df320b0558b20919f7cd44c407)"
time=2026-08-12T06:37:22.221Z level=INFO source=main.go:856 msg="operational information" build_context="(go=go1.26.2, platform=linux/amd64, user=root@d2684485c347, date=20260413-11:53:40, tags=netgo,builtinassets)" host_details="(Linux 5.4.0-1157-gcp #166~18.04.1-Ubuntu SMP Wed Jan 21 01:57:46 UTC 2026 x86_64 dist-test-slave-njxd (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T06:37:22.462Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T06:37:22.463Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T06:37:22.465Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:33931
time=2026-08-12T06:37:22.465Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:33931
time=2026-08-12T06:37:22.467Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T06:37:22.467Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=3.554µs
time=2026-08-12T06:37:22.467Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T06:37:22.468Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=300.188µs
time=2026-08-12T06:37:22.468Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=62.239µs wal_replay_duration=357.783µs wbl_replay_duration=151ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=3.554µs total_replay_duration=463.08µs
time=2026-08-12T06:37:22.470Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T06:37:22.470Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T06:37:22.470Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.DuplicateSDTargetsAreDeduplicatedByPrometheus.1786516621773392-5175-0/prometheus.yml
time=2026-08-12T06:37:22.470Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T06:37:22.472Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=75.957µs remote_storage=2.637µs web_handler=891ns query_engine=1.48µs scrape=1.715674ms scrape_sd=242.695µs notify=2.392µs notify_sd=1.613µs rules=3.015µs tracing=5.839µs filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.DuplicateSDTargetsAreDeduplicatedByPrometheus.1786516621773392-5175-0/prometheus.yml totalDuration=2.458057ms
time=2026-08-12T06:37:22.472Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T06:37:22.473Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T06:37:29.229Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T06:37:29.229Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T06:37:29.229Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T06:37:29.229Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T06:37:29.233Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T06:37:29.234Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T06:37:29.234Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T06:37:29.234Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T06:37:29.234Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T06:37:29.234Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T06:37:29.234Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.DuplicateSDTargetsAreDeduplicatedByPrometheus (7140 ms)
[ RUN      ] MiniPrometheusTest.QueryScrapedMetric
I20260812 06:37:29.302089  5175 webserver.cc:533] Webserver started at http://127.0.0.1:41249/ using document root <none> and password file <none>
time=2026-08-12T06:37:29.370Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T06:37:29.372Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T06:37:29.372Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142549196 previous=9223372036854775807
time=2026-08-12T06:37:29.373Z level=INFO source=main.go:851 msg="Starting Prometheus Server" mode=server version="(version=3.11.2, branch=HEAD, revision=f0f0fdd679dcd6df320b0558b20919f7cd44c407)"
time=2026-08-12T06:37:29.373Z level=INFO source=main.go:856 msg="operational information" build_context="(go=go1.26.2, platform=linux/amd64, user=root@d2684485c347, date=20260413-11:53:40, tags=netgo,builtinassets)" host_details="(Linux 5.4.0-1157-gcp #166~18.04.1-Ubuntu SMP Wed Jan 21 01:57:46 UTC 2026 x86_64 dist-test-slave-njxd (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T06:37:29.654Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T06:37:29.655Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T06:37:29.658Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:43325
time=2026-08-12T06:37:29.658Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:43325
time=2026-08-12T06:37:29.659Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T06:37:29.659Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=1.648µs
time=2026-08-12T06:37:29.659Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T06:37:29.660Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=373.22µs
time=2026-08-12T06:37:29.660Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=71.429µs wal_replay_duration=416.045µs wbl_replay_duration=147ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.648µs total_replay_duration=516.926µs
time=2026-08-12T06:37:29.662Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T06:37:29.662Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T06:37:29.662Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.QueryScrapedMetric.1786516621773392-5175-0/prometheus.yml
time=2026-08-12T06:37:29.662Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T06:37:29.668Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=86.659µs remote_storage=2.559µs web_handler=768ns query_engine=1.638µs scrape=4.816404ms scrape_sd=231.466µs notify=3.602µs notify_sd=2.626µs rules=4.112µs tracing=16.208µs filename=/tmp/dist-test-taskQ9qBdh/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.QueryScrapedMetric.1786516621773392-5175-0/prometheus.yml totalDuration=5.553676ms
time=2026-08-12T06:37:29.668Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T06:37:29.668Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T06:37:37.365Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T06:37:37.365Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T06:37:37.365Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T06:37:37.368Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T06:37:37.368Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T06:37:37.368Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T06:37:37.368Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T06:37:37.368Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T06:37:37.368Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T06:37:37.365Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T06:37:37.369Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.QueryScrapedMetric (8084 ms)
[----------] 6 tests from MiniPrometheusTest (35608 ms total)

[----------] Global test environment tear-down
[==========] 6 tests from 1 test suite ran. (35608 ms total)
[  PASSED  ] 6 tests.
