[==========] Running 6 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 6 tests from MiniPrometheusTest
[ RUN      ] MiniPrometheusTest.StartStopNoTargets
time=2026-08-12T08:03:17.623Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T08:03:17.624Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T08:03:17.625Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142552883 previous=9223372036854775807
time=2026-08-12T08:03:17.625Z level=INFO source=main.go:851 msg="Starting Prometheus Server" mode=server version="(version=3.11.2, branch=HEAD, revision=f0f0fdd679dcd6df320b0558b20919f7cd44c407)"
time=2026-08-12T08:03:17.625Z 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-44d2 (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T08:03:17.893Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T08:03:17.895Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T08:03:17.898Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:38057
time=2026-08-12T08:03:17.899Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:38057
time=2026-08-12T08:03:17.901Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T08:03:17.901Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=68.306µs
time=2026-08-12T08:03:17.901Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T08:03:17.902Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=760.389µs
time=2026-08-12T08:03:17.902Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=110.455µs wal_replay_duration=882.254µs wbl_replay_duration=92ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=68.306µs total_replay_duration=1.143097ms
time=2026-08-12T08:03:17.904Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T08:03:17.904Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T08:03:17.904Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.StartStopNoTargets.1786521797405726-15545-0/prometheus.yml
time=2026-08-12T08:03:17.905Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T08:03:17.912Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=118.292µs remote_storage=28.451µs web_handler=586ns query_engine=1.387µs scrape=6.652559ms scrape_sd=22.127µs notify=33.919µs notify_sd=1.209µs rules=20.302µs tracing=170.044µs filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.StartStopNoTargets.1786521797405726-15545-0/prometheus.yml totalDuration=7.629641ms
time=2026-08-12T08:03:17.912Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T08:03:17.912Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T08:03:19.902Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T08:03:19.902Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T08:03:19.902Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T08:03:19.902Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T08:03:19.903Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T08:03:19.903Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T08:03:19.903Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T08:03:19.903Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T08:03:19.903Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T08:03:19.904Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T08:03:19.904Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.StartStopNoTargets (2512 ms)
[ RUN      ] MiniPrometheusTest.StaticTargetScrape
WARNING: Logging before InitGoogleLogging() is written to STDERR
I20260812 08:03:19.924573 15545 webserver.cc:533] Webserver started at http://127.0.0.1:34073/ using document root <none> and password file <none>
time=2026-08-12T08:03:19.983Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T08:03:19.984Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T08:03:19.985Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142552883 previous=9223372036854775807
time=2026-08-12T08:03:19.985Z level=INFO source=main.go:851 msg="Starting Prometheus Server" mode=server version="(version=3.11.2, branch=HEAD, revision=f0f0fdd679dcd6df320b0558b20919f7cd44c407)"
time=2026-08-12T08:03:19.985Z 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-44d2 (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T08:03:20.230Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T08:03:20.231Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T08:03:20.235Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:45781
time=2026-08-12T08:03:20.235Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:45781
time=2026-08-12T08:03:20.239Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T08:03:20.239Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=1.848µs
time=2026-08-12T08:03:20.239Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T08:03:20.240Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=409.365µs
time=2026-08-12T08:03:20.240Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=73.205µs wal_replay_duration=474.971µs wbl_replay_duration=375ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.848µs total_replay_duration=579.364µs
time=2026-08-12T08:03:20.245Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T08:03:20.245Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T08:03:20.245Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.StaticTargetScrape.1786521797405726-15545-0/prometheus.yml
time=2026-08-12T08:03:20.245Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T08:03:20.249Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=65.338µs remote_storage=2.608µs web_handler=642ns query_engine=1.315µs scrape=3.775136ms scrape_sd=179.051µs notify=2.159µs notify_sd=1.514µs rules=2.242µs tracing=12.162µs filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.StaticTargetScrape.1786521797405726-15545-0/prometheus.yml totalDuration=4.388021ms
time=2026-08-12T08:03:20.249Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T08:03:20.249Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T08:03:26.190Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T08:03:26.190Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T08:03:26.190Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T08:03:26.190Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T08:03:26.191Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T08:03:26.194Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T08:03:26.194Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T08:03:26.194Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T08:03:26.194Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T08:03:26.194Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T08:03:26.194Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T08:03:26.195Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.StaticTargetScrape (6298 ms)
[ RUN      ] MiniPrometheusTest.DiscoverAndScrapeTarget
I20260812 08:03:26.222604 15545 webserver.cc:533] Webserver started at http://127.0.0.1:35105/ using document root <none> and password file <none>
time=2026-08-12T08:03:26.298Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T08:03:26.301Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T08:03:26.301Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142552883 previous=9223372036854775807
time=2026-08-12T08:03:26.301Z level=INFO source=main.go:851 msg="Starting Prometheus Server" mode=server version="(version=3.11.2, branch=HEAD, revision=f0f0fdd679dcd6df320b0558b20919f7cd44c407)"
time=2026-08-12T08:03:26.302Z 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-44d2 (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T08:03:26.547Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T08:03:26.548Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T08:03:26.551Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:37983
time=2026-08-12T08:03:26.551Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:37983
time=2026-08-12T08:03:26.553Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T08:03:26.553Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=3.726µs
time=2026-08-12T08:03:26.553Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T08:03:26.554Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=509.77µs
time=2026-08-12T08:03:26.554Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=72.289µs wal_replay_duration=559.203µs wbl_replay_duration=144ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=3.726µs total_replay_duration=693.543µs
time=2026-08-12T08:03:26.556Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T08:03:26.556Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T08:03:26.556Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.DiscoverAndScrapeTarget.1786521797405726-15545-0/prometheus.yml
time=2026-08-12T08:03:26.556Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T08:03:26.562Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=45.797µs remote_storage=2.368µs web_handler=436ns query_engine=712ns scrape=5.636008ms scrape_sd=181.578µs notify=1.625µs notify_sd=732ns rules=1.847µs tracing=7.056µs filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.DiscoverAndScrapeTarget.1786521797405726-15545-0/prometheus.yml totalDuration=6.210295ms
time=2026-08-12T08:03:26.562Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T08:03:26.562Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T08:03:32.612Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T08:03:32.612Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T08:03:32.612Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T08:03:32.612Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T08:03:32.612Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T08:03:32.612Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T08:03:32.612Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T08:03:32.612Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T08:03:32.614Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T08:03:32.614Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T08:03:32.614Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T08:03:32.614Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T08:03:32.614Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T08:03:32.614Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T08:03:32.614Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T08:03:32.614Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T08:03:32.619Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T08:03:32.619Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T08:03:32.619Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T08:03:32.619Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T08:03:32.619Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T08:03:32.619Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T08:03:32.619Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.DiscoverAndScrapeTarget (6421 ms)
[ RUN      ] MiniPrometheusTest.WaitForActiveTargetsTimeout
time=2026-08-12T08:03:32.713Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T08:03:32.714Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T08:03:32.715Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142552883 previous=9223372036854775807
time=2026-08-12T08:03:32.715Z level=INFO source=main.go:851 msg="Starting Prometheus Server" mode=server version="(version=3.11.2, branch=HEAD, revision=f0f0fdd679dcd6df320b0558b20919f7cd44c407)"
time=2026-08-12T08:03:32.715Z 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-44d2 (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T08:03:32.984Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T08:03:32.985Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T08:03:32.986Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:34001
time=2026-08-12T08:03:32.986Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:34001
time=2026-08-12T08:03:32.988Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T08:03:32.988Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=1.688µs
time=2026-08-12T08:03:32.988Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T08:03:32.989Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=328.428µs
time=2026-08-12T08:03:32.989Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=42.935µs wal_replay_duration=379.818µs wbl_replay_duration=189ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.688µs total_replay_duration=454.753µs
time=2026-08-12T08:03:32.991Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T08:03:32.991Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T08:03:32.991Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.WaitForActiveTargetsTimeout.1786521797405726-15545-0/prometheus.yml
time=2026-08-12T08:03:32.991Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T08:03:32.998Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=62.25µs remote_storage=3.247µs web_handler=624ns query_engine=1.393µs scrape=6.854078ms scrape_sd=2.603µs notify=2.056µs notify_sd=1.074µs rules=5.782µs tracing=7.998µs filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.WaitForActiveTargetsTimeout.1786521797405726-15545-0/prometheus.yml totalDuration=7.19616ms
time=2026-08-12T08:03:32.998Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T08:03:32.998Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T08:03:36.956Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T08:03:36.956Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T08:03:36.956Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T08:03:36.956Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T08:03:36.960Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T08:03:36.960Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T08:03:36.960Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T08:03:36.960Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T08:03:36.960Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T08:03:36.960Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T08:03:36.960Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.WaitForActiveTargetsTimeout (4333 ms)
[ RUN      ] MiniPrometheusTest.DuplicateSDTargetsAreDeduplicatedByPrometheus
I20260812 08:03:36.978171 15545 webserver.cc:533] Webserver started at http://127.0.0.1:37687/ using document root <none> and password file <none>
I20260812 08:03:36.978516 15545 webserver.cc:533] Webserver started at http://127.0.0.1:40039/ using document root <none> and password file <none>
I20260812 08:03:36.978828 15545 webserver.cc:533] Webserver started at http://127.0.0.1:37655/ using document root <none> and password file <none>
I20260812 08:03:36.979206 15545 webserver.cc:533] Webserver started at http://127.0.0.1:37559/ using document root <none> and password file <none>
I20260812 08:03:36.979561 15545 webserver.cc:533] Webserver started at http://127.0.0.1:36385/ using document root <none> and password file <none>
I20260812 08:03:36.979915 15545 webserver.cc:533] Webserver started at http://127.0.0.1:32935/ using document root <none> and password file <none>
time=2026-08-12T08:03:37.045Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T08:03:37.046Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T08:03:37.047Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142552883 previous=9223372036854775807
time=2026-08-12T08:03:37.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-12T08:03:37.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-44d2 (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T08:03:37.293Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T08:03:37.294Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T08:03:37.298Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:41969
time=2026-08-12T08:03:37.298Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:41969
time=2026-08-12T08:03:37.299Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T08:03:37.299Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=1.9µs
time=2026-08-12T08:03:37.299Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T08:03:37.299Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=260.492µs
time=2026-08-12T08:03:37.299Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=61.665µs wal_replay_duration=309.029µs wbl_replay_duration=172ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=1.9µs total_replay_duration=425.448µs
time=2026-08-12T08:03:37.301Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T08:03:37.301Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T08:03:37.301Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.DuplicateSDTargetsAreDeduplicatedByPrometheus.1786521797405726-15545-0/prometheus.yml
time=2026-08-12T08:03:37.301Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T08:03:37.303Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=39.885µs remote_storage=2.805µs web_handler=484ns query_engine=1.186µs scrape=1.262558ms scrape_sd=152.281µs notify=1.447µs notify_sd=633ns rules=1.518µs tracing=4.778µs filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.DuplicateSDTargetsAreDeduplicatedByPrometheus.1786521797405726-15545-0/prometheus.yml totalDuration=1.807715ms
time=2026-08-12T08:03:37.303Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T08:03:37.303Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T08:03:44.327Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T08:03:44.328Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T08:03:44.328Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T08:03:44.328Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T08:03:44.332Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T08:03:44.332Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T08:03:44.332Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T08:03:44.332Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T08:03:44.332Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T08:03:44.332Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T08:03:44.332Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.DuplicateSDTargetsAreDeduplicatedByPrometheus (7432 ms)
[ RUN      ] MiniPrometheusTest.QueryScrapedMetric
I20260812 08:03:44.410674 15545 webserver.cc:533] Webserver started at http://127.0.0.1:39033/ using document root <none> and password file <none>
time=2026-08-12T08:03:44.473Z level=INFO source=main.go:1678 msg="updated GOGC" old=100 new=75
time=2026-08-12T08:03:44.474Z level=INFO source=main.go:744 msg="Leaving GOMAXPROCS=4: CPU quota undefined" component=automaxprocs
time=2026-08-12T08:03:44.474Z level=INFO source=memlimit.go:198 msg="GOMEMLIMIT is updated" component=automemlimit package=github.com/KimMachineGun/automemlimit/memlimit GOMEMLIMIT=14142552883 previous=9223372036854775807
time=2026-08-12T08:03:44.474Z level=INFO source=main.go:851 msg="Starting Prometheus Server" mode=server version="(version=3.11.2, branch=HEAD, revision=f0f0fdd679dcd6df320b0558b20919f7cd44c407)"
time=2026-08-12T08:03:44.474Z 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-44d2 (none))" fd_limits="(soft=1048576, hard=1048576)" vm_limits="(soft=unlimited, hard=unlimited)"
time=2026-08-12T08:03:44.725Z level=INFO source=web.go:710 msg="Start listening for connections" component=web address=127.0.0.1:0
time=2026-08-12T08:03:44.726Z level=INFO source=main.go:1410 msg="Starting TSDB ..."
time=2026-08-12T08:03:44.730Z level=INFO source=tls_config.go:354 msg="Listening on" component=web address=127.0.0.1:34995
time=2026-08-12T08:03:44.730Z level=INFO source=tls_config.go:357 msg="TLS is disabled." component=web http2=false address=127.0.0.1:34995
time=2026-08-12T08:03:44.731Z level=INFO source=head.go:698 msg="Replaying on-disk memory mappable chunks if any" component=tsdb
time=2026-08-12T08:03:44.731Z level=INFO source=head.go:784 msg="On-disk memory mappable chunks replay completed" component=tsdb duration=2.4µs
time=2026-08-12T08:03:44.731Z level=INFO source=head.go:792 msg="Replaying WAL, this may take a while" component=tsdb
time=2026-08-12T08:03:44.731Z level=INFO source=head.go:865 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=370.154µs
time=2026-08-12T08:03:44.731Z level=INFO source=head.go:902 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=45.906µs wal_replay_duration=406.727µs wbl_replay_duration=450ns chunk_snapshot_load_duration=0s mmap_chunk_replay_duration=2.4µs total_replay_duration=487.41µs
time=2026-08-12T08:03:44.733Z level=INFO source=main.go:1431 msg="filesystem information" fs_type=OVERLAYFS_SUPER_MAGIC
time=2026-08-12T08:03:44.733Z level=INFO source=main.go:1434 msg="TSDB started"
time=2026-08-12T08:03:44.733Z level=INFO source=main.go:1632 msg="Loading configuration file" filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.QueryScrapedMetric.1786521797405726-15545-0/prometheus.yml
time=2026-08-12T08:03:44.734Z level=INFO source=main.go:1048 msg="TSDB retention updated" duration=15d size=0B percentage=0
time=2026-08-12T08:03:44.741Z level=INFO source=main.go:1671 msg="Completed loading of configuration file" db_storage=68.472µs remote_storage=3.348µs web_handler=712ns query_engine=1.636µs scrape=6.942377ms scrape_sd=220.889µs notify=1.963µs notify_sd=1.172µs rules=3.097µs tracing=11.781µs filename=/tmp/dist-test-taskDKaQZS/test-tmp/mini_prometheus-test.0.MiniPrometheusTest.QueryScrapedMetric.1786521797405726-15545-0/prometheus.yml totalDuration=7.607371ms
time=2026-08-12T08:03:44.741Z level=INFO source=main.go:1395 msg="Server is ready to receive web requests."
time=2026-08-12T08:03:44.741Z level=INFO source=manager.go:209 msg="Starting rule manager..." component="rule manager"
time=2026-08-12T08:03:51.734Z level=WARN source=main.go:1191 msg="Received an OS signal, exiting gracefully..." signal=terminated
time=2026-08-12T08:03:51.734Z level=INFO source=main.go:1216 msg="Stopping scrape discovery manager..."
time=2026-08-12T08:03:51.734Z level=INFO source=main.go:1230 msg="Stopping notify discovery manager..."
time=2026-08-12T08:03:51.734Z level=INFO source=main.go:1245 msg="Stopping rule manager manager..."
time=2026-08-12T08:03:51.734Z level=INFO source=manager.go:223 msg="Stopping rule manager..." component="rule manager"
time=2026-08-12T08:03:51.734Z level=INFO source=manager.go:239 msg="Rule manager stopped" component="rule manager"
time=2026-08-12T08:03:51.734Z level=INFO source=main.go:1269 msg="Stopping scrape manager..."
time=2026-08-12T08:03:51.735Z level=INFO source=main.go:1284 msg="Stopping tracing manager..."
time=2026-08-12T08:03:51.735Z level=INFO source=main.go:1261 msg="Scrape manager stopped"
time=2026-08-12T08:03:51.735Z level=INFO source=main.go:1369 msg="Stopping reloaders..."
time=2026-08-12T08:03:51.735Z level=INFO source=main.go:1226 msg="Notify discovery manager stopped"
time=2026-08-12T08:03:51.735Z level=INFO source=main.go:1458 msg="Stopping storage..."
time=2026-08-12T08:03:51.735Z level=INFO source=main.go:1241 msg="Rule manager stopped"
time=2026-08-12T08:03:51.735Z level=INFO source=main.go:1361 msg="Reloaders stopped"
time=2026-08-12T08:03:51.735Z level=INFO source=main.go:1280 msg="Tracing manager stopped"
time=2026-08-12T08:03:51.734Z level=INFO source=main.go:1212 msg="Scrape discovery manager stopped"
time=2026-08-12T08:03:51.738Z level=INFO source=main.go:1536 msg="Stopping web handler..."
time=2026-08-12T08:03:51.738Z level=INFO source=main.go:1559 msg="Stopping notifier manager..."
time=2026-08-12T08:03:51.738Z level=INFO source=main.go:1454 msg="TSDB stopped"
time=2026-08-12T08:03:51.738Z level=INFO source=manager.go:321 msg="Stopping notification manager..." component=notifier
time=2026-08-12T08:03:51.738Z level=INFO source=main.go:1555 msg="Notifier manager stopped"
time=2026-08-12T08:03:51.738Z level=INFO source=main.go:1532 msg="Web handler stopped"
time=2026-08-12T08:03:51.738Z level=INFO source=main.go:1570 msg="See you next time!"
[       OK ] MiniPrometheusTest.QueryScrapedMetric (7355 ms)
[----------] 6 tests from MiniPrometheusTest (34355 ms total)

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