MidnightBSD Magus

net-mgmt/promscale

Timescale analytical platform for Prometheus metrics

Flavor Version Run OSVersion Arch License Restricted Status
0.17.0_6 545 3.1 i386 apache2 0 fail

Events

Machine Type Time Message
m3132b info 2023-11-03 08:36:48.055462 Test Started
m3132b fail 2023-11-03 08:40:39.521748 make test returned non-zero: 1
m3132b fail 2023-11-03 08:40:39.71138 Test complete.

Log

===>  Testing for promscale-0.17.0_6
(cd /magus/work/usr/mports/net-mgmt/promscale/work/promscale-0.17.0;  for t in ./...; do  echo "===>  Testing ${t}";  /usr/bin/env XDG_DATA_HOME=/magus/work/usr/mports/net-mgmt/promscale/work  XDG_CONFIG_HOME=/magus/work/usr/mports/net-mgmt/promscale/work  HOME=/magus/work/usr/mports/net-mgmt/promscale/work TMPDIR="/tmp" PATH=/magus/work/usr/mports/net-mgmt/promscale/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/magus/work/usr/mports/net-mgmt/promscale/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES TARGETDIR=/usr/local  DESTDIR=  PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444" CGO_ENABLED=1  CGO_CFLAGS="-I/usr/local/include"  CGO_LDFLAGS="-L/usr/local/lib"  GOAMD64=  GOARM=  GOTMPDIR="/magus/work/usr/mports/net-mgmt/promscale/work" GOPATH="/magus/distfiles/go/net-mgmt_promscale"  GOBIN="/magus/work/usr/mports/net-mgmt/promscale/work/bin"  GO111MODULE=on  GOFLAGS=-modcacherw  GOSUMDB=sum.golang.org GOPROXY=off /usr/local/bin/go120 test -v -buildvcs=false -mod=vendor ${t};  done)
===>  Testing ./...
?   	github.com/timescale/promscale/cmd/promscale	[no test files]
?   	github.com/timescale/promscale/pkg/api/parser/protobuf	[no test files]
?   	github.com/timescale/promscale/pkg/ewma	[no test files]
?   	github.com/timescale/promscale/pkg/ha/client	[no test files]
?   	github.com/timescale/promscale/pkg/ha/state	[no test files]
2023/11/03 08:40:03 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined
=== RUN   TestCORSWrapper
=== RUN   TestCORSWrapper/No_origin
=== RUN   TestCORSWrapper/Origin_doesn't_match_accepted
=== RUN   TestCORSWrapper/Origin_matches_accepted
=== RUN   TestCORSWrapper/Wildcard_allowed_origin
--- PASS: TestCORSWrapper (0.00s)
    --- PASS: TestCORSWrapper/No_origin (0.00s)
    --- PASS: TestCORSWrapper/Origin_doesn't_match_accepted (0.00s)
    --- PASS: TestCORSWrapper/Origin_matches_accepted (0.00s)
    --- PASS: TestCORSWrapper/Wildcard_allowed_origin (0.00s)
=== RUN   TestMarshalExemplar
--- PASS: TestMarshalExemplar (0.00s)
=== RUN   TestDelete
=== RUN   TestDelete/normal_single_matcher
=== RUN   TestDelete/normal_multiple_matchers
=== RUN   TestDelete/empty_matchers
=== RUN   TestDelete/normal_with_start
level=warn ts=2023-11-03T12:40:03.123Z caller=delete.go:61 msg="Time based series deletion is unsupported."
level=warn ts=2023-11-03T12:40:03.123Z caller=delete.go:61 msg="Time based series deletion is unsupported."
=== RUN   TestDelete/normal_with_end
level=warn ts=2023-11-03T12:40:03.124Z caller=delete.go:61 msg="Time based series deletion is unsupported."
level=warn ts=2023-11-03T12:40:03.124Z caller=delete.go:61 msg="Time based series deletion is unsupported."
=== RUN   TestDelete/normal_with_start_end
level=warn ts=2023-11-03T12:40:03.125Z caller=delete.go:61 msg="Time based series deletion is unsupported."
level=warn ts=2023-11-03T12:40:03.125Z caller=delete.go:61 msg="Time based series deletion is unsupported."
=== RUN   TestDelete/normal_with_start_end_without_matchers
--- PASS: TestDelete (0.01s)
    --- PASS: TestDelete/normal_single_matcher (0.00s)
    --- PASS: TestDelete/normal_multiple_matchers (0.00s)
    --- PASS: TestDelete/empty_matchers (0.00s)
    --- PASS: TestDelete/normal_with_start (0.00s)
    --- PASS: TestDelete/normal_with_end (0.00s)
    --- PASS: TestDelete/normal_with_start_end (0.00s)
    --- PASS: TestDelete/normal_with_start_end_without_matchers (0.00s)
=== RUN   TestHealth
=== RUN   TestHealth/no_error
=== RUN   TestHealth/error
level=warn ts=2023-11-03T12:40:03.127Z caller=health.go:18 msg="Healthcheck failed"
--- PASS: TestHealth (0.00s)
    --- PASS: TestHealth/no_error (0.00s)
    --- PASS: TestHealth/error (0.00s)
=== RUN   TestLabels
=== RUN   TestLabels/Error_on_get_label_names
=== RUN   TestLabels/All_good
--- PASS: TestLabels (0.00s)
    --- PASS: TestLabels/Error_on_get_label_names (0.00s)
    --- PASS: TestLabels/All_good (0.00s)
=== RUN   TestMarshalVector
=== RUN   TestMarshalVector/empty
=== RUN   TestMarshalVector/single_metric
=== RUN   TestMarshalVector/multiple_labels
=== RUN   TestMarshalVector/multi_metric
=== RUN   TestMarshalVector/duplicate_metric
=== RUN   TestMarshalVector/escaped_names_and_warnings
--- PASS: TestMarshalVector (0.00s)
    --- PASS: TestMarshalVector/empty (0.00s)
    --- PASS: TestMarshalVector/single_metric (0.00s)
    --- PASS: TestMarshalVector/multiple_labels (0.00s)
    --- PASS: TestMarshalVector/multi_metric (0.00s)
    --- PASS: TestMarshalVector/duplicate_metric (0.00s)
    --- PASS: TestMarshalVector/escaped_names_and_warnings (0.00s)
=== RUN   TestMarshalVectorDuplicates
--- PASS: TestMarshalVectorDuplicates (0.00s)
=== RUN   TestMarshalMatrix
=== RUN   TestMarshalMatrix/nil
=== RUN   TestMarshalMatrix/empty
=== RUN   TestMarshalMatrix/empty_data_metric
=== RUN   TestMarshalMatrix/single_metric
=== RUN   TestMarshalMatrix/multiple_labels
=== RUN   TestMarshalMatrix/multi_metric
=== RUN   TestMarshalMatrix/escaped_names_and_warnings
--- PASS: TestMarshalMatrix (0.00s)
    --- PASS: TestMarshalMatrix/nil (0.00s)
    --- PASS: TestMarshalMatrix/empty (0.00s)
    --- PASS: TestMarshalMatrix/empty_data_metric (0.00s)
    --- PASS: TestMarshalMatrix/single_metric (0.00s)
    --- PASS: TestMarshalMatrix/multiple_labels (0.00s)
    --- PASS: TestMarshalMatrix/multi_metric (0.00s)
    --- PASS: TestMarshalMatrix/escaped_names_and_warnings (0.00s)
=== RUN   TestQueryExemplar
level=info ts=2023-11-03T12:40:03.128Z caller=query_exemplar.go:34 msg="Exemplar query bad request:" error="cannot parse \"\" to a valid timestamp"
level=info ts=2023-11-03T12:40:03.128Z caller=query_exemplar.go:40 msg="Exemplar query bad request:" error="cannot parse \"\" to a valid timestamp"
level=info ts=2023-11-03T12:40:03.128Z caller=query_exemplar.go:46 msg="Exemplar query bad request:" error="end timestamp must not be before start time"
level=error ts=2023-11-03T12:40:03.128Z caller=query_exemplar.go:70 msg="1:16: parse error: unexpected character inside braces: '~'" endpoint=query_exemplars
--- PASS: TestQueryExemplar (0.00s)
=== RUN   TestRangedQuery
=== RUN   TestRangedQuery/Start_is_unparsable
level=debug ts=2023-11-03T12:40:03.129Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
level=info ts=2023-11-03T12:40:03.129Z caller=query_range.go:36 msg="Query bad request:cannot parse \"unparsable\" to a valid timestamp"
=== RUN   TestRangedQuery/End_is_unparsable
level=debug ts=2023-11-03T12:40:03.130Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
level=info ts=2023-11-03T12:40:03.130Z caller=query_range.go:42 msg="Query bad request:cannot parse \"unparsable\" to a valid timestamp"
=== RUN   TestRangedQuery/End_is_before_start
level=debug ts=2023-11-03T12:40:03.130Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
level=info ts=2023-11-03T12:40:03.130Z caller=query_range.go:48 msg="Query bad request:end timestamp must not be before start time"
=== RUN   TestRangedQuery/Step_is_unparasable
level=debug ts=2023-11-03T12:40:03.131Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
level=info ts=2023-11-03T12:40:03.131Z caller=query_range.go:55 msg="Query bad request:cannot parse \"unparsable\" to a valid duration"
=== RUN   TestRangedQuery/Step_is_non-positive
level=debug ts=2023-11-03T12:40:03.131Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
level=info ts=2023-11-03T12:40:03.131Z caller=query_range.go:62 msg="Query bad request:zero or negative query resolution step widths are not accepted. Try a positive integer"
=== RUN   TestRangedQuery/Resolution_is_too_high
level=debug ts=2023-11-03T12:40:03.131Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
level=info ts=2023-11-03T12:40:03.131Z caller=query_range.go:72 msg="Query bad request:exceeded maximum resolution of 11000 points per timeseries. Try decreasing the query resolution (?step=XX) or increasing the 'promql-max-points-per-ts' limit"
=== RUN   TestRangedQuery/Timeout_is_unparsable
level=debug ts=2023-11-03T12:40:03.131Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
level=info ts=2023-11-03T12:40:03.131Z caller=query_range.go:55 msg="Query bad request:cannot parse \"\" to a valid duration"
=== RUN   TestRangedQuery/No_query_given
level=debug ts=2023-11-03T12:40:03.132Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
level=info ts=2023-11-03T12:40:03.132Z caller=query_range.go:101 msg="Query parse error: 1:1: parse error: no expression found in input"
=== RUN   TestRangedQuery/Timeout_query
level=debug ts=2023-11-03T12:40:03.133Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
level=error ts=2023-11-03T12:40:05.137Z caller=query_range.go:109 msg="query timed out in expression evaluation" endpoint=query_range
=== RUN   TestRangedQuery/Cancel_query
level=debug ts=2023-11-03T12:40:05.137Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
level=error ts=2023-11-03T12:40:05.137Z caller=query_range.go:109 msg="query was canceled in query execution" endpoint=query_range
=== RUN   TestRangedQuery/Select_error
level=debug ts=2023-11-03T12:40:05.138Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
level=error ts=2023-11-03T12:40:05.138Z caller=query_range.go:109 msg="expanding series: some error" endpoint=query_range
=== RUN   TestRangedQuery/All_good
level=debug ts=2023-11-03T12:40:05.138Z caller=query_range_test.go:156 msg="Lookback delta is zero, setting to default value" value=5m0s
--- PASS: TestRangedQuery (2.01s)
    --- PASS: TestRangedQuery/Start_is_unparsable (0.00s)
    --- PASS: TestRangedQuery/End_is_unparsable (0.00s)
    --- PASS: TestRangedQuery/End_is_before_start (0.00s)
    --- PASS: TestRangedQuery/Step_is_unparasable (0.00s)
    --- PASS: TestRangedQuery/Step_is_non-positive (0.00s)
    --- PASS: TestRangedQuery/Resolution_is_too_high (0.00s)
    --- PASS: TestRangedQuery/Timeout_is_unparsable (0.00s)
    --- PASS: TestRangedQuery/No_query_given (0.00s)
    --- PASS: TestRangedQuery/Timeout_query (2.00s)
    --- PASS: TestRangedQuery/Cancel_query (0.00s)
    --- PASS: TestRangedQuery/Select_error (0.00s)
    --- PASS: TestRangedQuery/All_good (0.00s)
=== RUN   TestParseDuration
--- PASS: TestParseDuration (0.00s)
=== RUN   TestQuery
=== RUN   TestQuery/Time_is_unparsable
level=debug ts=2023-11-03T12:40:05.139Z caller=query_test.go:220 msg="Lookback delta is zero, setting to default value" value=5m0s
level=error ts=2023-11-03T12:40:05.139Z caller=query.go:35 msg="Query error" reason="Invalid time value for 'time': cannot parse \"unparsable\" to a valid timestamp"
=== RUN   TestQuery/Timeout_is_unparsable
level=debug ts=2023-11-03T12:40:05.139Z caller=query_test.go:220 msg="Lookback delta is zero, setting to default value" value=5m0s
level=error ts=2023-11-03T12:40:05.139Z caller=query.go:35 msg="Query error" reason="Invalid time value for 'time': cannot parse \"1s\" to a valid timestamp"
=== RUN   TestQuery/No_query_given
level=debug ts=2023-11-03T12:40:05.140Z caller=query_test.go:220 msg="Lookback delta is zero, setting to default value" value=5m0s
level=error ts=2023-11-03T12:40:05.140Z caller=query.go:35 msg="Query error" reason="Invalid time value for 'time': cannot parse \"1s\" to a valid timestamp"
=== RUN   TestQuery/Timeout_query
level=debug ts=2023-11-03T12:40:05.141Z caller=query_test.go:220 msg="Lookback delta is zero, setting to default value" value=5m0s
level=error ts=2023-11-03T12:40:07.148Z caller=query.go:63 msg="query timed out in expression evaluation" endpoint=query
=== RUN   TestQuery/Cancel_query
level=debug ts=2023-11-03T12:40:07.149Z caller=query_test.go:220 msg="Lookback delta is zero, setting to default value" value=5m0s
level=error ts=2023-11-03T12:40:07.149Z caller=query.go:63 msg="query was canceled in query execution" endpoint=query
=== RUN   TestQuery/Select_error
level=debug ts=2023-11-03T12:40:07.149Z caller=query_test.go:220 msg="Lookback delta is zero, setting to default value" value=5m0s
level=error ts=2023-11-03T12:40:07.149Z caller=query.go:63 msg="expanding series: some error" endpoint=query
=== RUN   TestQuery/All_good
level=debug ts=2023-11-03T12:40:07.150Z caller=query_test.go:220 msg="Lookback delta is zero, setting to default value" value=5m0s
--- PASS: TestQuery (2.01s)
    --- PASS: TestQuery/Time_is_unparsable (0.00s)
    --- PASS: TestQuery/Timeout_is_unparsable (0.00s)
    --- PASS: TestQuery/No_query_given (0.00s)
    --- PASS: TestQuery/Timeout_query (2.01s)
    --- PASS: TestQuery/Cancel_query (0.00s)
    --- PASS: TestQuery/Select_error (0.00s)
    --- PASS: TestQuery/All_good (0.00s)
=== RUN   TestRead
=== RUN   TestRead/read_request_body_error
level=error ts=2023-11-03T12:40:07.150Z caller=read.go:35 msg="Read header validation error" err=timeout
=== RUN   TestRead/malformed_compression_data
level=error ts=2023-11-03T12:40:07.150Z caller=read.go:42 msg="Decode error" err="snappy: corrupt input"
=== RUN   TestRead/bad_header
level=error ts=2023-11-03T12:40:07.150Z caller=read.go:131 msg="Read header validation error" err="non-snappy compressed data got: "
=== RUN   TestRead/malformed_read_request
level=error ts=2023-11-03T12:40:07.150Z caller=read.go:49 msg="Unmarshal error" err="proto: ReadRequest: wiretype end group for non-group"
=== RUN   TestRead/reader_error
level=warn ts=2023-11-03T12:40:07.151Z caller=read.go:73 msg="Error executing query" query="unsupported value type" storage=PostgreSQL err="some error"
=== RUN   TestRead/happy_path
=== RUN   TestRead/happy_path_with_query
--- PASS: TestRead (0.00s)
    --- PASS: TestRead/read_request_body_error (0.00s)
    --- PASS: TestRead/malformed_compression_data (0.00s)
    --- PASS: TestRead/bad_header (0.00s)
    --- PASS: TestRead/malformed_read_request (0.00s)
    --- PASS: TestRead/reader_error (0.00s)
    --- PASS: TestRead/happy_path (0.00s)
    --- PASS: TestRead/happy_path_with_query (0.00s)
=== RUN   TestTimeHandler
--- PASS: TestTimeHandler (0.00s)
=== RUN   TestSeries
=== RUN   TestSeries/match[]_is_not_sent
=== RUN   TestSeries/Start_is_unparsable
level=info ts=2023-11-03T12:40:07.151Z caller=series.go:43 msg="Query bad request:Invalid time value for 'start': cannot parse \"unparsable\" to a valid timestamp"
=== RUN   TestSeries/End_is_unparsable
level=info ts=2023-11-03T12:40:07.151Z caller=series.go:49 msg="Query bad request:Invalid time value for 'end': cannot parse \"unparsable\" to a valid timestamp"
=== RUN   TestSeries/End_is_before_start
level=info ts=2023-11-03T12:40:07.151Z caller=series.go:55 msg="Query bad request:end timestamp must not be before start time"
=== RUN   TestSeries/Matcher_is_unparsable
=== RUN   TestSeries/Select_error
=== RUN   TestSeries/All_good
--- PASS: TestSeries (0.00s)
    --- PASS: TestSeries/match[]_is_not_sent (0.00s)
    --- PASS: TestSeries/Start_is_unparsable (0.00s)
    --- PASS: TestSeries/End_is_unparsable (0.00s)
    --- PASS: TestSeries/End_is_before_start (0.00s)
    --- PASS: TestSeries/Matcher_is_unparsable (0.00s)
    --- PASS: TestSeries/Select_error (0.00s)
    --- PASS: TestSeries/All_good (0.00s)
=== RUN   TestDetectSnappyStreamFormat
=== RUN   TestDetectSnappyStreamFormat/empty_input
=== RUN   TestDetectSnappyStreamFormat/invalid_input
=== RUN   TestDetectSnappyStreamFormat/block_format
=== RUN   TestDetectSnappyStreamFormat/too_short_stream_format
=== RUN   TestDetectSnappyStreamFormat/stream_format
=== RUN   TestDetectSnappyStreamFormat/invalid_contents_can_still_be_snappy_stream_formatted
--- PASS: TestDetectSnappyStreamFormat (0.00s)
    --- PASS: TestDetectSnappyStreamFormat/empty_input (0.00s)
    --- PASS: TestDetectSnappyStreamFormat/invalid_input (0.00s)
    --- PASS: TestDetectSnappyStreamFormat/block_format (0.00s)
    --- PASS: TestDetectSnappyStreamFormat/too_short_stream_format (0.00s)
    --- PASS: TestDetectSnappyStreamFormat/stream_format (0.00s)
    --- PASS: TestDetectSnappyStreamFormat/invalid_contents_can_still_be_snappy_stream_formatted (0.00s)
=== RUN   TestWrite
=== RUN   TestWrite/write_request_body_error
level=error ts=2023-11-03T12:40:07.152Z caller=write.go:254 msg="snappy decode error" err="payload too short or corrupt"
=== RUN   TestWrite/malformed_compression_data
level=error ts=2023-11-03T12:40:07.152Z caller=write.go:254 msg="snappy decode error" err="snappy: corrupt input"
=== RUN   TestWrite/malformed_write_request
level=error ts=2023-11-03T12:40:07.152Z caller=write.go:254 msg="parser error" err="parser error: protobuf unmarshal error: proto: WriteRequest: wiretype end group for non-group"
=== RUN   TestWrite/bad_header
level=error ts=2023-11-03T12:40:07.152Z caller=write.go:254 msg="Write header validation error" err="Error parsing media type from Content-Type header"
=== RUN   TestWrite/write_error
level=warn ts=2023-11-03T12:40:07.152Z caller=write.go:244 msg="Error sending samples to remote storage" err="some error" num_samples=1
=== RUN   TestWrite/bad_content_type_header
level=error ts=2023-11-03T12:40:07.152Z caller=write.go:254 msg="Write header validation error" err="unsupported data format (not protobuf, JSON, or text format)"
=== RUN   TestWrite/bad_content_encoding_header
level=error ts=2023-11-03T12:40:07.152Z caller=write.go:254 msg="Write header validation error" err="non-snappy compressed data got: "
=== RUN   TestWrite/missing_remote_write_version
level=error ts=2023-11-03T12:40:07.152Z caller=write.go:254 msg="Write header validation error" err="Missing X-Prometheus-Remote-Write-Version header"
=== RUN   TestWrite/bad_remote_write_version
level=error ts=2023-11-03T12:40:07.153Z caller=write.go:254 msg="Write header validation error" err="unexpected Remote-Write-Version 0.0.0, expected 0.1.X"
=== RUN   TestWrite/happy_path
=== RUN   TestWrite/malformed_JSON
level=error ts=2023-11-03T12:40:07.153Z caller=write.go:254 msg="parser error" err="parser error: JSON decode error: timeout"
=== RUN   TestWrite/happy_path_JSON
=== RUN   TestWrite/happy_path_JSON_with_snappy_(stream_format)
=== RUN   TestWrite/happy_path_JSON_with_snappy_(block_format)
--- PASS: TestWrite (0.00s)
    --- PASS: TestWrite/write_request_body_error (0.00s)
    --- PASS: TestWrite/malformed_compression_data (0.00s)
    --- PASS: TestWrite/malformed_write_request (0.00s)
    --- PASS: TestWrite/bad_header (0.00s)
    --- PASS: TestWrite/write_error (0.00s)
    --- PASS: TestWrite/bad_content_type_header (0.00s)
    --- PASS: TestWrite/bad_content_encoding_header (0.00s)
    --- PASS: TestWrite/missing_remote_write_version (0.00s)
    --- PASS: TestWrite/bad_remote_write_version (0.00s)
    --- PASS: TestWrite/happy_path (0.00s)
    --- PASS: TestWrite/malformed_JSON (0.00s)
    --- PASS: TestWrite/happy_path_JSON (0.00s)
    --- PASS: TestWrite/happy_path_JSON_with_snappy_(stream_format) (0.00s)
    --- PASS: TestWrite/happy_path_JSON_with_snappy_(block_format) (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/api	4.090s
2023/11/03 08:40:03 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined
=== RUN   TestParseRequest
=== RUN   TestParseRequest/unsupported_content_type
=== RUN   TestParseRequest/no_data
=== RUN   TestParseRequest/parser_error
=== RUN   TestParseRequest/no_preprocessors
=== RUN   TestParseRequest/samples_filtered_by_timestamp
=== RUN   TestParseRequest/samples_filtered_empty
=== RUN   TestParseRequest/preprocessor_error
--- PASS: TestParseRequest (0.00s)
    --- PASS: TestParseRequest/unsupported_content_type (0.00s)
    --- PASS: TestParseRequest/no_data (0.00s)
    --- PASS: TestParseRequest/parser_error (0.00s)
    --- PASS: TestParseRequest/no_preprocessors (0.00s)
    --- PASS: TestParseRequest/samples_filtered_by_timestamp (0.00s)
    --- PASS: TestParseRequest/samples_filtered_empty (0.00s)
    --- PASS: TestParseRequest/preprocessor_error (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/api/parser	0.019s
2023/11/03 08:40:03 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined
=== RUN   TestParseRequest
=== RUN   TestParseRequest/happy_path
=== RUN   TestParseRequest/json_streaming_with_multiple_labels
=== RUN   TestParseRequest/multiple_JSON_objects
=== RUN   TestParseRequest/invalid_json
=== RUN   TestParseRequest/invalid_samples_JSON
=== RUN   TestParseRequest/invalid_samples_JSON,_too_many_array_members
=== RUN   TestParseRequest/invalid_samples_JSON,_too_little_array_members
=== RUN   TestParseRequest/invalid_samples_JSON,_float_timestamp_not_allowed
--- PASS: TestParseRequest (0.00s)
    --- PASS: TestParseRequest/happy_path (0.00s)
    --- PASS: TestParseRequest/json_streaming_with_multiple_labels (0.00s)
    --- PASS: TestParseRequest/multiple_JSON_objects (0.00s)
    --- PASS: TestParseRequest/invalid_json (0.00s)
    --- PASS: TestParseRequest/invalid_samples_JSON (0.00s)
    --- PASS: TestParseRequest/invalid_samples_JSON,_too_many_array_members (0.00s)
    --- PASS: TestParseRequest/invalid_samples_JSON,_too_little_array_members (0.00s)
    --- PASS: TestParseRequest/invalid_samples_JSON,_float_timestamp_not_allowed (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/api/parser/json	0.024s
2023/11/03 08:40:04 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined
=== RUN   TestDBIngestorParseTextData
=== RUN   TestDBIngestorParseTextData/happy_path
=== RUN   TestDBIngestorParseTextData/multi_metric
=== RUN   TestDBIngestorParseTextData/invalid_input
=== RUN   TestDBIngestorParseTextData/input_with_time
=== RUN   TestDBIngestorParseTextData/open_metrics_content_type
=== RUN   TestDBIngestorParseTextData/body_reader_error
--- PASS: TestDBIngestorParseTextData (0.00s)
    --- PASS: TestDBIngestorParseTextData/happy_path (0.00s)
    --- PASS: TestDBIngestorParseTextData/multi_metric (0.00s)
    --- PASS: TestDBIngestorParseTextData/invalid_input (0.00s)
    --- PASS: TestDBIngestorParseTextData/input_with_time (0.00s)
    --- PASS: TestDBIngestorParseTextData/open_metrics_content_type (0.00s)
    --- PASS: TestDBIngestorParseTextData/body_reader_error (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/api/parser/text	0.024s
=== RUN   TestValidateConfig
=== RUN   TestValidateConfig/empty_config
=== RUN   TestValidateConfig/basic_auth_and_bearer_token_set
=== RUN   TestValidateConfig/basic_auth_missing_password
=== RUN   TestValidateConfig/basic_auth_password_and_password_file_set
=== RUN   TestValidateConfig/basic_auth_invalid_password_file
=== RUN   TestValidateConfig/basic_auth_password_set
=== RUN   TestValidateConfig/basic_auth_no_username_set
=== RUN   TestValidateConfig/basic_auth_password_file_set
=== RUN   TestValidateConfig/bearer_token_and_token_file_set
=== RUN   TestValidateConfig/bearer_token_set
=== RUN   TestValidateConfig/bearer_token_file_set
=== RUN   TestValidateConfig/bearer_token_file_invalid_file_set
=== RUN   TestValidateConfig/all_config_options_set
=== RUN   TestValidateConfig/invalid_ignore_path
=== RUN   TestValidateConfig/valid_ignore_path
--- PASS: TestValidateConfig (0.00s)
    --- PASS: TestValidateConfig/empty_config (0.00s)
    --- PASS: TestValidateConfig/basic_auth_and_bearer_token_set (0.00s)
    --- PASS: TestValidateConfig/basic_auth_missing_password (0.00s)
    --- PASS: TestValidateConfig/basic_auth_password_and_password_file_set (0.00s)
    --- PASS: TestValidateConfig/basic_auth_invalid_password_file (0.00s)
    --- PASS: TestValidateConfig/basic_auth_password_set (0.00s)
    --- PASS: TestValidateConfig/basic_auth_no_username_set (0.00s)
    --- PASS: TestValidateConfig/basic_auth_password_file_set (0.00s)
    --- PASS: TestValidateConfig/bearer_token_and_token_file_set (0.00s)
    --- PASS: TestValidateConfig/bearer_token_set (0.00s)
    --- PASS: TestValidateConfig/bearer_token_file_set (0.00s)
    --- PASS: TestValidateConfig/bearer_token_file_invalid_file_set (0.00s)
    --- PASS: TestValidateConfig/all_config_options_set (0.00s)
    --- PASS: TestValidateConfig/invalid_ignore_path (0.00s)
    --- PASS: TestValidateConfig/valid_ignore_path (0.00s)
=== RUN   TestAuthHandler
=== RUN   TestAuthHandler/no_auth
=== RUN   TestAuthHandler/no_auth_header
=== RUN   TestAuthHandler/wrong_auth_header
=== RUN   TestAuthHandler/correct_auth_header
=== RUN   TestAuthHandler/wrong_bearer_token
=== RUN   TestAuthHandler/correct_bearer_token
=== RUN   TestAuthHandler/basic_auth_with_ignore_path
=== RUN   TestAuthHandler/bearer_token_with_non_ignored_path
=== RUN   TestAuthHandler/basic_auth_with_non_ignore_path
=== RUN   TestAuthHandler/bearer_token_with_ignore_path
--- PASS: TestAuthHandler (0.00s)
    --- PASS: TestAuthHandler/no_auth (0.00s)
    --- PASS: TestAuthHandler/no_auth_header (0.00s)
    --- PASS: TestAuthHandler/wrong_auth_header (0.00s)
    --- PASS: TestAuthHandler/correct_auth_header (0.00s)
    --- PASS: TestAuthHandler/wrong_bearer_token (0.00s)
    --- PASS: TestAuthHandler/correct_bearer_token (0.00s)
    --- PASS: TestAuthHandler/basic_auth_with_ignore_path (0.00s)
    --- PASS: TestAuthHandler/bearer_token_with_non_ignored_path (0.00s)
    --- PASS: TestAuthHandler/basic_auth_with_non_ignore_path (0.00s)
    --- PASS: TestAuthHandler/bearer_token_with_ignore_path (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/auth	0.016s
?   	github.com/timescale/promscale/pkg/jaeger	[no test files]
?   	github.com/timescale/promscale/pkg/limits/mem	[no test files]
?   	github.com/timescale/promscale/pkg/log	[no test files]
?   	github.com/timescale/promscale/pkg/migrations	[no test files]
?   	github.com/timescale/promscale/pkg/jaeger/proxy	[no test files]
?   	github.com/timescale/promscale/pkg/pgmodel/common/extension	[no test files]
?   	github.com/timescale/promscale/pkg/pgmodel/common/schema	[no test files]
?   	github.com/timescale/promscale/pkg/pgmodel/delete	[no test files]
?   	github.com/timescale/promscale/pkg/pgmodel/exemplar	[no test files]
?   	github.com/timescale/promscale/pkg/pgmodel/health	[no test files]
?   	github.com/timescale/promscale/pkg/pgmodel/common/errors	[no test files]
?   	github.com/timescale/promscale/pkg/pgmodel	[no test files]
?   	github.com/timescale/promscale/pkg/pgmodel/metadata	[no test files]
?   	github.com/timescale/promscale/pkg/pgmodel/metrics	[no test files]
?   	github.com/timescale/promscale/pkg/pgxconn	[no test files]
?   	github.com/timescale/promscale/pkg/prompb	[no test files]
?   	github.com/timescale/promscale/pkg/query	[no test files]
?   	github.com/timescale/promscale/pkg/rules/adapters	[no test files]
?   	github.com/timescale/promscale/pkg/tests	[no test files]
# github.com/timescale/promscale/pkg/tests/end_to_end_tests [github.com/timescale/promscale/pkg/tests/end_to_end_tests.test]
pkg/tests/end_to_end_tests/promql_query_endpoint_test.go:2227:69: cannot use samplesStartTime + 30000 / 1000 (untyped int constant 1597055698728) as int value in argument to fmt.Sprintf (overflows)
?   	github.com/timescale/promscale/pkg/tests/test_migrations	[no test files]
?   	github.com/timescale/promscale/pkg/tests/testsupport	[no test files]
?   	github.com/timescale/promscale/pkg/thanos	[no test files]
?   	github.com/timescale/promscale/pkg/tracer	[no test files]
?   	github.com/timescale/promscale/pkg/version	[no test files]
=== RUN   TestWriteAndGetOnCache
=== PAUSE TestWriteAndGetOnCache
=== RUN   TestEntryNotFound
=== PAUSE TestEntryNotFound
=== RUN   TestUpdate
=== PAUSE TestUpdate
=== RUN   TestEviction
=== PAUSE TestEviction
=== RUN   TestEvictionStarvation
=== PAUSE TestEvictionStarvation
=== RUN   TestCacheGetRandomly
=== PAUSE TestCacheGetRandomly
=== RUN   TestBatch
=== PAUSE TestBatch
=== RUN   TestExpand
--- PASS: TestExpand (0.00s)
=== RUN   TestReset
--- PASS: TestReset (0.00s)
=== RUN   TestCacheEvictionOnWraparound
--- PASS: TestCacheEvictionOnWraparound (0.00s)
=== RUN   TestBitPacking
--- PASS: TestBitPacking (0.00s)
=== CONT  TestWriteAndGetOnCache
=== CONT  TestBatch
=== CONT  TestEntryNotFound
=== CONT  TestEvictionStarvation
--- PASS: TestWriteAndGetOnCache (0.00s)
=== CONT  TestUpdate
--- PASS: TestBatch (0.00s)
--- PASS: TestEntryNotFound (0.00s)
=== CONT  TestEviction
=== CONT  TestCacheGetRandomly
--- PASS: TestUpdate (0.00s)
--- PASS: TestEviction (0.00s)
--- PASS: TestCacheGetRandomly (13.84s)
--- PASS: TestEvictionStarvation (34.06s)
PASS
ok  	github.com/timescale/promscale/pkg/clockcache	34.086s
=== RUN   TestNewConfig
=== RUN   TestNewConfig/invalid_config_yaml
=== RUN   TestNewConfig/invalid_duration_format_1
=== RUN   TestNewConfig/invalid_duration_format_2
=== RUN   TestNewConfig/invalid_duration_format_3
=== RUN   TestNewConfig/duration_in_days_and_hours
=== RUN   TestNewConfig/happy_path
--- PASS: TestNewConfig (0.00s)
    --- PASS: TestNewConfig/invalid_config_yaml (0.00s)
    --- PASS: TestNewConfig/invalid_duration_format_1 (0.00s)
    --- PASS: TestNewConfig/invalid_duration_format_2 (0.00s)
    --- PASS: TestNewConfig/invalid_duration_format_3 (0.00s)
    --- PASS: TestNewConfig/duration_in_days_and_hours (0.00s)
    --- PASS: TestNewConfig/happy_path (0.00s)
=== RUN   TestApplyDefaults
--- PASS: TestApplyDefaults (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/dataset	0.008s
=== RUN   TestHaParserParseData
=== RUN   TestHaParserParseData/No_timeseries
=== RUN   TestHaParserParseData/HA_enabled_but___replica___&&_cluster_are_empty.
=== RUN   TestHaParserParseData/HA_enabled_but___replica___is_empty.
=== RUN   TestHaParserParseData/HA_enabled_but_cluster_is_empty.
=== RUN   TestHaParserParseData/HA_enabled_parse_samples_from_leader_prom_instance.
=== RUN   TestHaParserParseData/HA_enabled_parse_samples_from_standby_prom_instance.
=== RUN   TestHaParserParseData/HA_enabled_parse_samples_from_leader_prom_instance.#01
=== RUN   TestHaParserParseData/HA_enabled_parse_from_leader_&_samples_are_in_interval_[leaseStart-X,_leaseUntil)
=== RUN   TestHaParserParseData/HA_enabled_parse_from_leader_&_samples_are_in_interval_[leaseStart,_leaseUntil+X].
=== RUN   TestHaParserParseData/HA_enabled,_parse_samples_from_standby_instance._ReadLeaseState_returns_the_updated_leader_as_standby_prom_instance.
=== RUN   TestHaParserParseData/HA_enabled_parse_from_standby._ReadLeaseState_returns_the_updated_leader_as_standby_prom_instance_but_samples_aren't_part_lease_range.
=== RUN   TestHaParserParseData/HA_backfilling_from_previous_leases
=== RUN   TestHaParserParseData/Not_allowed_to_insert_backfill_or_in_lease
--- PASS: TestHaParserParseData (0.00s)
    --- PASS: TestHaParserParseData/No_timeseries (0.00s)
    --- PASS: TestHaParserParseData/HA_enabled_but___replica___&&_cluster_are_empty. (0.00s)
    --- PASS: TestHaParserParseData/HA_enabled_but___replica___is_empty. (0.00s)
    --- PASS: TestHaParserParseData/HA_enabled_but_cluster_is_empty. (0.00s)
    --- PASS: TestHaParserParseData/HA_enabled_parse_samples_from_leader_prom_instance. (0.00s)
    --- PASS: TestHaParserParseData/HA_enabled_parse_samples_from_standby_prom_instance. (0.00s)
    --- PASS: TestHaParserParseData/HA_enabled_parse_samples_from_leader_prom_instance.#01 (0.00s)
    --- PASS: TestHaParserParseData/HA_enabled_parse_from_leader_&_samples_are_in_interval_[leaseStart-X,_leaseUntil) (0.00s)
    --- PASS: TestHaParserParseData/HA_enabled_parse_from_leader_&_samples_are_in_interval_[leaseStart,_leaseUntil+X]. (0.00s)
    --- PASS: TestHaParserParseData/HA_enabled,_parse_samples_from_standby_instance._ReadLeaseState_returns_the_updated_leader_as_standby_prom_instance. (0.00s)
    --- PASS: TestHaParserParseData/HA_enabled_parse_from_standby._ReadLeaseState_returns_the_updated_leader_as_standby_prom_instance_but_samples_aren't_part_lease_range. (0.00s)
    --- PASS: TestHaParserParseData/HA_backfilling_from_previous_leases (0.00s)
    --- PASS: TestHaParserParseData/Not_allowed_to_insert_backfill_or_in_lease (0.00s)
=== RUN   TestFilterSamples
--- PASS: TestFilterSamples (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/ha	0.028s
Error setting up container Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?: failed to create container
FAIL	github.com/timescale/promscale/pkg/internal/testhelpers	0.034s
2023/11/03 08:40:08 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined
=== RUN   TestEncodeBinaryTag
--- PASS: TestEncodeBinaryTag (0.00s)
=== RUN   TestDecodeBinaryTags
--- PASS: TestDecodeBinaryTags (0.00s)
=== RUN   TestSpanMultipleParentProtoFromTraces
--- PASS: TestSpanMultipleParentProtoFromTraces (0.00s)
=== RUN   TestSpanWithMultipleParentProtoToTraces
--- PASS: TestSpanWithMultipleParentProtoToTraces (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/jaeger/store	0.042s
=== RUN   TestPercent
=== PAUSE TestPercent
=== RUN   TestBytes
=== PAUSE TestBytes
=== RUN   TestString
=== PAUSE TestString
=== RUN   TestParse
--- PASS: TestParse (0.00s)
=== CONT  TestPercent
=== CONT  TestString
=== CONT  TestBytes
--- PASS: TestPercent (0.00s)
--- PASS: TestBytes (0.00s)
--- PASS: TestString (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/limits	0.020s
2023/11/03 08:40:09 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined
=== RUN   TestDBReaderRead
=== RUN   TestDBReaderRead/No_request
=== RUN   TestDBReaderRead/No_queries
=== RUN   TestDBReaderRead/Query_error
=== RUN   TestDBReaderRead/Simple_query,_no_results
=== RUN   TestDBReaderRead/Simple_query
=== RUN   TestDBReaderRead/Multiple_queries
--- PASS: TestDBReaderRead (0.00s)
    --- PASS: TestDBReaderRead/No_request (0.00s)
    --- PASS: TestDBReaderRead/No_queries (0.00s)
    --- PASS: TestDBReaderRead/Query_error (0.00s)
    --- PASS: TestDBReaderRead/Simple_query,_no_results (0.00s)
    --- PASS: TestDBReaderRead/Simple_query (0.00s)
    --- PASS: TestDBReaderRead/Multiple_queries (0.00s)
=== RUN   TestHealthCheck
--- PASS: TestHealthCheck (0.00s)
=== RUN   TestConfig_GetConnectionStr
=== RUN   TestConfig_GetConnectionStr/Testcase_with_user_provided_db_flag_values_and_db-uri_as_default
=== RUN   TestConfig_GetConnectionStr/Testcase_with_both_user_provided_db_flags_&_db-uri_combination_1
=== RUN   TestConfig_GetConnectionStr/Testcase_with_both_user_provided_db_flags_&_db-uri_combination_2
=== RUN   TestConfig_GetConnectionStr/Testcase_with_default_db_flags
=== RUN   TestConfig_GetConnectionStr/Testcase_with_default_db_flags_&_user_provided_db-uri
=== RUN   TestConfig_GetConnectionStr/Testcase_with_db-uri_that_has_no_question_mark_in_it
=== RUN   TestConfig_GetConnectionStr/Testcase_with_db-uri_that_requires_password_to_be_URL_encoded
=== RUN   TestConfig_GetConnectionStr/Testcase_with_db-uri_that_requires_user_to_be_URL_encoded
=== RUN   TestConfig_GetConnectionStr/Testcase_with_db-uri_that_requires_database_to_be_URL_encoded
=== RUN   TestConfig_GetConnectionStr/Testcase_with_db-uri_that_requires_application_to_be_URL_encoded
--- PASS: TestConfig_GetConnectionStr (0.00s)
    --- PASS: TestConfig_GetConnectionStr/Testcase_with_user_provided_db_flag_values_and_db-uri_as_default (0.00s)
    --- PASS: TestConfig_GetConnectionStr/Testcase_with_both_user_provided_db_flags_&_db-uri_combination_1 (0.00s)
    --- PASS: TestConfig_GetConnectionStr/Testcase_with_both_user_provided_db_flags_&_db-uri_combination_2 (0.00s)
    --- PASS: TestConfig_GetConnectionStr/Testcase_with_default_db_flags (0.00s)
    --- PASS: TestConfig_GetConnectionStr/Testcase_with_default_db_flags_&_user_provided_db-uri (0.00s)
    --- PASS: TestConfig_GetConnectionStr/Testcase_with_db-uri_that_has_no_question_mark_in_it (0.00s)
    --- PASS: TestConfig_GetConnectionStr/Testcase_with_db-uri_that_requires_password_to_be_URL_encoded (0.00s)
    --- PASS: TestConfig_GetConnectionStr/Testcase_with_db-uri_that_requires_user_to_be_URL_encoded (0.00s)
    --- PASS: TestConfig_GetConnectionStr/Testcase_with_db-uri_that_requires_database_to_be_URL_encoded (0.00s)
    --- PASS: TestConfig_GetConnectionStr/Testcase_with_db-uri_that_requires_application_to_be_URL_encoded (0.00s)
=== RUN   TestConfig_GetPoolSizes
=== RUN   TestConfig_GetPoolSizes/read_only_defaults_max_100
=== RUN   TestConfig_GetPoolSizes/read_only_defaults_max_75
=== RUN   TestConfig_GetPoolSizes/read_only_defaults_HA_max_100
=== RUN   TestConfig_GetPoolSizes/small_max_conn
=== RUN   TestConfig_GetPoolSizes/read_only_too_high
=== RUN   TestConfig_GetPoolSizes/read_only_HA_too_high
=== RUN   TestConfig_GetPoolSizes/reader_too_high
=== RUN   TestConfig_GetPoolSizes/writer_too_high
=== RUN   TestConfig_GetPoolSizes/maint_too_high
=== RUN   TestConfig_GetPoolSizes/defaults
=== RUN   TestConfig_GetPoolSizes/defaults_HA
=== RUN   TestConfig_GetPoolSizes/exact_1
=== RUN   TestConfig_GetPoolSizes/exacts_greater_than_default_db.connections-max
=== RUN   TestConfig_GetPoolSizes/exacts_greater_than_specified_db.connections-max
=== RUN   TestConfig_GetPoolSizes/exact_HA
=== RUN   TestConfig_GetPoolSizes/exact_=_max_connections
=== RUN   TestConfig_GetPoolSizes/exact_=_max_connections_2
=== RUN   TestConfig_GetPoolSizes/exact_>_cfg_max
=== RUN   TestConfig_GetPoolSizes/exact_>_db_max
=== RUN   TestConfig_GetPoolSizes/explicit_reader
=== RUN   TestConfig_GetPoolSizes/explicit_reader_2
=== RUN   TestConfig_GetPoolSizes/explicit_writer
=== RUN   TestConfig_GetPoolSizes/explicit_writer_2
=== RUN   TestConfig_GetPoolSizes/explicit_writer_&_maint
=== RUN   TestConfig_GetPoolSizes/explicit_writer_&_maint_2
=== RUN   TestConfig_GetPoolSizes/explicit_reader_&_maint
=== RUN   TestConfig_GetPoolSizes/explicit_reader_&_maint_2
=== RUN   TestConfig_GetPoolSizes/maint_=_1
=== RUN   TestConfig_GetPoolSizes/reader_=_1
=== RUN   TestConfig_GetPoolSizes/writer_=_1
=== RUN   TestConfig_GetPoolSizes/ha_writer_=_2
=== RUN   TestConfig_GetPoolSizes/ha_reader_=_2
=== RUN   TestConfig_GetPoolSizes/maint_=_2
=== RUN   TestConfig_GetPoolSizes/ha_maint_=_2
--- PASS: TestConfig_GetPoolSizes (0.00s)
    --- PASS: TestConfig_GetPoolSizes/read_only_defaults_max_100 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/read_only_defaults_max_75 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/read_only_defaults_HA_max_100 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/small_max_conn (0.00s)
    --- PASS: TestConfig_GetPoolSizes/read_only_too_high (0.00s)
    --- PASS: TestConfig_GetPoolSizes/read_only_HA_too_high (0.00s)
    --- PASS: TestConfig_GetPoolSizes/reader_too_high (0.00s)
    --- PASS: TestConfig_GetPoolSizes/writer_too_high (0.00s)
    --- PASS: TestConfig_GetPoolSizes/maint_too_high (0.00s)
    --- PASS: TestConfig_GetPoolSizes/defaults (0.00s)
    --- PASS: TestConfig_GetPoolSizes/defaults_HA (0.00s)
    --- PASS: TestConfig_GetPoolSizes/exact_1 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/exacts_greater_than_default_db.connections-max (0.00s)
    --- PASS: TestConfig_GetPoolSizes/exacts_greater_than_specified_db.connections-max (0.00s)
    --- PASS: TestConfig_GetPoolSizes/exact_HA (0.00s)
    --- PASS: TestConfig_GetPoolSizes/exact_=_max_connections (0.00s)
    --- PASS: TestConfig_GetPoolSizes/exact_=_max_connections_2 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/exact_>_cfg_max (0.00s)
    --- PASS: TestConfig_GetPoolSizes/exact_>_db_max (0.00s)
    --- PASS: TestConfig_GetPoolSizes/explicit_reader (0.00s)
    --- PASS: TestConfig_GetPoolSizes/explicit_reader_2 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/explicit_writer (0.00s)
    --- PASS: TestConfig_GetPoolSizes/explicit_writer_2 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/explicit_writer_&_maint (0.00s)
    --- PASS: TestConfig_GetPoolSizes/explicit_writer_&_maint_2 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/explicit_reader_&_maint (0.00s)
    --- PASS: TestConfig_GetPoolSizes/explicit_reader_&_maint_2 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/maint_=_1 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/reader_=_1 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/writer_=_1 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/ha_writer_=_2 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/ha_reader_=_2 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/maint_=_2 (0.00s)
    --- PASS: TestConfig_GetPoolSizes/ha_maint_=_2 (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/pgclient	0.112s
=== RUN   TestMetricTableNameCache
=== RUN   TestMetricTableNameCache/empty
=== RUN   TestMetricTableNameCache/simple_metric
=== RUN   TestMetricTableNameCache/metric_as_table_name
=== RUN   TestMetricTableNameCache/empty_table_name
=== RUN   TestMetricTableNameCache/empty_schema
=== RUN   TestMetricTableNameCache/default_schema
=== RUN   TestMetricTableNameCache/with_schema
--- PASS: TestMetricTableNameCache (0.00s)
    --- PASS: TestMetricTableNameCache/empty (0.00s)
    --- PASS: TestMetricTableNameCache/simple_metric (0.00s)
    --- PASS: TestMetricTableNameCache/metric_as_table_name (0.00s)
    --- PASS: TestMetricTableNameCache/empty_table_name (0.00s)
    --- PASS: TestMetricTableNameCache/empty_schema (0.00s)
    --- PASS: TestMetricTableNameCache/default_schema (0.00s)
    --- PASS: TestMetricTableNameCache/with_schema (0.00s)
=== RUN   TestMetricNameCacheExemplarEntry
--- PASS: TestMetricNameCacheExemplarEntry (0.00s)
=== RUN   TestParse
--- PASS: TestParse (0.00s)
=== RUN   TestBigLabels
--- PASS: TestBigLabels (0.04s)
=== RUN   TestGenerateKey
--- PASS: TestGenerateKey (0.00s)
=== RUN   TestGrowSeriesCache
=== RUN   TestGrowSeriesCache/Grow_criteria_satisfied_-_we_shoulnd't_be_evicting_elements
=== RUN   TestGrowSeriesCache/Growth_criteria_not_satisfied_-_we_can_keep_evicting_old_elements
--- PASS: TestGrowSeriesCache (4.06s)
    --- PASS: TestGrowSeriesCache/Grow_criteria_satisfied_-_we_shoulnd't_be_evicting_elements (0.03s)
    --- PASS: TestGrowSeriesCache/Growth_criteria_not_satisfied_-_we_can_keep_evicting_old_elements (4.03s)
PASS
ok  	github.com/timescale/promscale/pkg/pgmodel/cache	4.147s
2023/11/03 08:40:10 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined
=== RUN   TestLabelArrayCreator
--- PASS: TestLabelArrayCreator (0.02s)
=== RUN   TestPGXInserterInsertSeries
=== RUN   TestPGXInserterInsertSeries/Zero_series
=== RUN   TestPGXInserterInsertSeries/One_series
=== RUN   TestPGXInserterInsertSeries/Two_series
=== RUN   TestPGXInserterInsertSeries/Double_series
=== RUN   TestPGXInserterInsertSeries/Query_err
--- PASS: TestPGXInserterInsertSeries (0.20s)
    --- PASS: TestPGXInserterInsertSeries/Zero_series (0.02s)
    --- PASS: TestPGXInserterInsertSeries/One_series (0.01s)
    --- PASS: TestPGXInserterInsertSeries/Two_series (0.03s)
    --- PASS: TestPGXInserterInsertSeries/Double_series (0.03s)
    --- PASS: TestPGXInserterInsertSeries/Query_err (0.10s)
=== RUN   TestPGXInserterCacheReset
--- PASS: TestPGXInserterCacheReset (0.07s)
=== RUN   TestPGXInserterInsertData
=== RUN   TestPGXInserterInsertData/Zero_data
=== RUN   TestPGXInserterInsertData/One_data
=== RUN   TestPGXInserterInsertData/Two_data
=== RUN   TestPGXInserterInsertData/Create_table_error
=== RUN   TestPGXInserterInsertData/Epoch_Error
=== RUN   TestPGXInserterInsertData/Copy_from_error
=== RUN   TestPGXInserterInsertData/Can't_find/create_table_in_DB
=== RUN   TestPGXInserterInsertData/Metrics_cache_get_error
=== RUN   TestPGXInserterInsertData/On_conflict_error_resolution
--- PASS: TestPGXInserterInsertData (0.52s)
    --- PASS: TestPGXInserterInsertData/Zero_data (0.08s)
    --- PASS: TestPGXInserterInsertData/One_data (0.09s)
    --- PASS: TestPGXInserterInsertData/Two_data (0.03s)
    --- PASS: TestPGXInserterInsertData/Create_table_error (0.04s)
    --- PASS: TestPGXInserterInsertData/Epoch_Error (0.06s)
    --- PASS: TestPGXInserterInsertData/Copy_from_error (0.05s)
    --- PASS: TestPGXInserterInsertData/Can't_find/create_table_in_DB (0.09s)
    --- PASS: TestPGXInserterInsertData/Metrics_cache_get_error (0.03s)
    --- PASS: TestPGXInserterInsertData/On_conflict_error_resolution (0.06s)
=== RUN   TestDBIngestorIngest
=== RUN   TestDBIngestorIngest/Zero_metrics
=== RUN   TestDBIngestorIngest/One_metric
=== RUN   TestDBIngestorIngest/One_metadata
=== RUN   TestDBIngestorIngest/One_metric_&_one_metadata
=== RUN   TestDBIngestorIngest/One_metric,_no_sample
=== RUN   TestDBIngestorIngest/Two_metrics
=== RUN   TestDBIngestorIngest/Two_metrics_&_two_metadata
=== RUN   TestDBIngestorIngest/Two_samples
=== RUN   TestDBIngestorIngest/Two_metrics,_one_series
=== RUN   TestDBIngestorIngest/Insert_series_error
=== RUN   TestDBIngestorIngest/Insert_data_error
=== RUN   TestDBIngestorIngest/Missing_metric_name
--- PASS: TestDBIngestorIngest (0.25s)
    --- PASS: TestDBIngestorIngest/Zero_metrics (0.01s)
    --- PASS: TestDBIngestorIngest/One_metric (0.04s)
    --- PASS: TestDBIngestorIngest/One_metadata (0.01s)
    --- PASS: TestDBIngestorIngest/One_metric_&_one_metadata (0.02s)
    --- PASS: TestDBIngestorIngest/One_metric,_no_sample (0.01s)
    --- PASS: TestDBIngestorIngest/Two_metrics (0.03s)
    --- PASS: TestDBIngestorIngest/Two_metrics_&_two_metadata (0.02s)
    --- PASS: TestDBIngestorIngest/Two_samples (0.02s)
    --- PASS: TestDBIngestorIngest/Two_metrics,_one_series (0.02s)
    --- PASS: TestDBIngestorIngest/Insert_series_error (0.01s)
    --- PASS: TestDBIngestorIngest/Insert_data_error (0.04s)
    --- PASS: TestDBIngestorIngest/Missing_metric_name (0.01s)
=== RUN   TestMetricTableName
=== RUN   TestMetricTableName/no_error
=== RUN   TestMetricTableName/no_error2
=== RUN   TestMetricTableName/error
=== RUN   TestMetricTableName/empty_table_name
=== RUN   TestMetricTableName/zero_metric_ID
--- PASS: TestMetricTableName (0.00s)
    --- PASS: TestMetricTableName/no_error (0.00s)
    --- PASS: TestMetricTableName/no_error2 (0.00s)
    --- PASS: TestMetricTableName/error (0.00s)
    --- PASS: TestMetricTableName/empty_table_name (0.00s)
    --- PASS: TestMetricTableName/zero_metric_ID (0.00s)
=== RUN   TestInitializeMetricBatcher
--- PASS: TestInitializeMetricBatcher (0.00s)
=== RUN   TestSendBatches
--- PASS: TestSendBatches (0.00s)
=== RUN   TestOrderExemplarLabelValues
--- PASS: TestOrderExemplarLabelValues (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/pgmodel/ingestor	1.113s
2023/11/03 08:40:10 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined
=== RUN   TestInstrumentationLibraryBatch
=== RUN   TestInstrumentationLibraryBatch/happy_path
=== RUN   TestInstrumentationLibraryBatch/all_urls_in_cache
=== RUN   TestInstrumentationLibraryBatch/send_batch_error
=== RUN   TestInstrumentationLibraryBatch/scan_error
=== RUN   TestInstrumentationLibraryBatch/cache_error
--- PASS: TestInstrumentationLibraryBatch (0.00s)
    --- PASS: TestInstrumentationLibraryBatch/happy_path (0.00s)
    --- PASS: TestInstrumentationLibraryBatch/all_urls_in_cache (0.00s)
    --- PASS: TestInstrumentationLibraryBatch/send_batch_error (0.00s)
    --- PASS: TestInstrumentationLibraryBatch/scan_error (0.00s)
    --- PASS: TestInstrumentationLibraryBatch/cache_error (0.00s)
=== RUN   TestOperationBatch
=== RUN   TestOperationBatch/happy_path
=== RUN   TestOperationBatch/all_urls_in_cache
=== RUN   TestOperationBatch/send_batch_error
=== RUN   TestOperationBatch/scan_error
=== RUN   TestOperationBatch/cache_error
--- PASS: TestOperationBatch (0.00s)
    --- PASS: TestOperationBatch/happy_path (0.00s)
    --- PASS: TestOperationBatch/all_urls_in_cache (0.00s)
    --- PASS: TestOperationBatch/send_batch_error (0.00s)
    --- PASS: TestOperationBatch/scan_error (0.00s)
    --- PASS: TestOperationBatch/cache_error (0.00s)
=== RUN   TestSchemaURLBatch
=== RUN   TestSchemaURLBatch/happy_path
=== RUN   TestSchemaURLBatch/all_urls_in_cache
=== RUN   TestSchemaURLBatch/send_batch_error
=== RUN   TestSchemaURLBatch/scan_error
=== RUN   TestSchemaURLBatch/cache_error
--- PASS: TestSchemaURLBatch (0.00s)
    --- PASS: TestSchemaURLBatch/happy_path (0.00s)
    --- PASS: TestSchemaURLBatch/all_urls_in_cache (0.00s)
    --- PASS: TestSchemaURLBatch/send_batch_error (0.00s)
    --- PASS: TestSchemaURLBatch/scan_error (0.00s)
    --- PASS: TestSchemaURLBatch/cache_error (0.00s)
=== RUN   TestTagBatch
=== RUN   TestTagBatch/happy_path
=== RUN   TestTagBatch/all_urls_in_cache
=== RUN   TestTagBatch/send_batch_error
=== RUN   TestTagBatch/scan_error_keyID
=== RUN   TestTagBatch/scan_error_valueID
=== RUN   TestTagBatch/cache_error
=== RUN   TestTagBatch/queue_error
--- PASS: TestTagBatch (0.01s)
    --- PASS: TestTagBatch/happy_path (0.00s)
    --- PASS: TestTagBatch/all_urls_in_cache (0.00s)
    --- PASS: TestTagBatch/send_batch_error (0.00s)
    --- PASS: TestTagBatch/scan_error_keyID (0.00s)
    --- PASS: TestTagBatch/scan_error_valueID (0.00s)
    --- PASS: TestTagBatch/cache_error (0.00s)
    --- PASS: TestTagBatch/queue_error (0.00s)
=== RUN   TestTraceBatcherBatching
--- PASS: TestTraceBatcherBatching (0.00s)
=== RUN   TestTraceBatcherTimeout
--- PASS: TestTraceBatcherTimeout (1.41s)
PASS
ok  	github.com/timescale/promscale/pkg/pgmodel/ingestor/trace	1.505s
=== RUN   TestLabelsReaderLabelsNames
=== RUN   TestLabelsReaderLabelsNames/Error_on_query
=== RUN   TestLabelsReaderLabelsNames/Error_on_scanning_values
=== RUN   TestLabelsReaderLabelsNames/Empty_result,_is_ok
=== RUN   TestLabelsReaderLabelsNames/Result_should_be_sorted
--- PASS: TestLabelsReaderLabelsNames (0.00s)
    --- PASS: TestLabelsReaderLabelsNames/Error_on_query (0.00s)
    --- PASS: TestLabelsReaderLabelsNames/Error_on_scanning_values (0.00s)
    --- PASS: TestLabelsReaderLabelsNames/Empty_result,_is_ok (0.00s)
    --- PASS: TestLabelsReaderLabelsNames/Result_should_be_sorted (0.00s)
=== RUN   TestLabelsReaderLabelsValues
=== RUN   TestLabelsReaderLabelsValues/Error_on_query
=== RUN   TestLabelsReaderLabelsValues/Error_on_scanning_values
=== RUN   TestLabelsReaderLabelsValues/Empty_result,_is_ok
=== RUN   TestLabelsReaderLabelsValues/Result_should_be_sorted
=== RUN   TestLabelsReaderLabelsValues/Tenant_values_are_not_filtered_when_tenant_is_not_configured
=== RUN   TestLabelsReaderLabelsValues/Tenant_values_are_filtered_when_tenant_is_configured
--- PASS: TestLabelsReaderLabelsValues (0.00s)
    --- PASS: TestLabelsReaderLabelsValues/Error_on_query (0.00s)
    --- PASS: TestLabelsReaderLabelsValues/Error_on_scanning_values (0.00s)
    --- PASS: TestLabelsReaderLabelsValues/Empty_result,_is_ok (0.00s)
    --- PASS: TestLabelsReaderLabelsValues/Result_should_be_sorted (0.00s)
    --- PASS: TestLabelsReaderLabelsValues/Tenant_values_are_not_filtered_when_tenant_is_not_configured (0.00s)
    --- PASS: TestLabelsReaderLabelsValues/Tenant_values_are_filtered_when_tenant_is_configured (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/pgmodel/lreader	0.051s
=== RUN   TestCustomPollConfig
--- PASS: TestCustomPollConfig (1.00s)
PASS
ok  	github.com/timescale/promscale/pkg/pgmodel/metrics/database	1.044s
=== RUN   TestOrderExemplarLabelsPositionExists
--- PASS: TestOrderExemplarLabelsPositionExists (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/pgmodel/model	0.018s
=== RUN   TestSanitizeNullCharAndReverting
--- PASS: TestSanitizeNullCharAndReverting (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/pgmodel/model/pgutf8str	0.008s
=== RUN   TestPGXQuerierQuery
=== RUN   TestPGXQuerierQuery/Error_metric_name_value
=== RUN   TestPGXQuerierQuery/Error_first_query
=== RUN   TestPGXQuerierQuery/Error_second_query
=== RUN   TestPGXQuerierQuery/Error_third_query
=== RUN   TestPGXQuerierQuery/Error_scan_values
=== RUN   TestPGXQuerierQuery/Empty_query
=== RUN   TestPGXQuerierQuery/Simple_query,_no_result
=== RUN   TestPGXQuerierQuery/Simple_query,_metric_doesn't_exist
=== RUN   TestPGXQuerierQuery/Simple_query,_exclude_matcher
=== RUN   TestPGXQuerierQuery/Simple_query,_metric_name_matcher
=== RUN   TestPGXQuerierQuery/Simple_query,_metric_name_matcher,_custom_schema
=== RUN   TestPGXQuerierQuery/Simple_query,_metric_name_matcher,_custom_column
=== RUN   TestPGXQuerierQuery/Simple_query,_empty_metric_name_matcher
=== RUN   TestPGXQuerierQuery/Simple_query,_double_metric_name_matcher
=== RUN   TestPGXQuerierQuery/Simple_query,_no_metric_name_matcher
=== RUN   TestPGXQuerierQuery/Complex_query,_multiple_matchers
=== RUN   TestPGXQuerierQuery/Complex_query,_empty_equal_matchers
--- PASS: TestPGXQuerierQuery (0.00s)
    --- PASS: TestPGXQuerierQuery/Error_metric_name_value (0.00s)
    --- PASS: TestPGXQuerierQuery/Error_first_query (0.00s)
    --- PASS: TestPGXQuerierQuery/Error_second_query (0.00s)
    --- PASS: TestPGXQuerierQuery/Error_third_query (0.00s)
    --- PASS: TestPGXQuerierQuery/Error_scan_values (0.00s)
    --- PASS: TestPGXQuerierQuery/Empty_query (0.00s)
    --- PASS: TestPGXQuerierQuery/Simple_query,_no_result (0.00s)
    --- PASS: TestPGXQuerierQuery/Simple_query,_metric_doesn't_exist (0.00s)
    --- PASS: TestPGXQuerierQuery/Simple_query,_exclude_matcher (0.00s)
    --- PASS: TestPGXQuerierQuery/Simple_query,_metric_name_matcher (0.00s)
    --- PASS: TestPGXQuerierQuery/Simple_query,_metric_name_matcher,_custom_schema (0.00s)
    --- PASS: TestPGXQuerierQuery/Simple_query,_metric_name_matcher,_custom_column (0.00s)
    --- PASS: TestPGXQuerierQuery/Simple_query,_empty_metric_name_matcher (0.00s)
    --- PASS: TestPGXQuerierQuery/Simple_query,_double_metric_name_matcher (0.00s)
    --- PASS: TestPGXQuerierQuery/Simple_query,_no_metric_name_matcher (0.00s)
    --- PASS: TestPGXQuerierQuery/Complex_query,_multiple_matchers (0.00s)
    --- PASS: TestPGXQuerierQuery/Complex_query,_empty_equal_matchers (0.00s)
=== RUN   TestPrepareExemplarQueryResult
--- PASS: TestPrepareExemplarQueryResult (0.00s)
=== RUN   TestPgxSeriesSet
=== RUN   TestPgxSeriesSet/invalid_row
=== RUN   TestPgxSeriesSet/empty_rows
=== RUN   TestPgxSeriesSet/timestamp/value_count_mismatch
=== RUN   TestPgxSeriesSet/happy_path_1
=== RUN   TestPgxSeriesSet/happy_path_2
=== RUN   TestPgxSeriesSet/check_nulls_(ts_and_vs_negative_values_are_encoded_as_null)
=== RUN   TestPgxSeriesSet/check_all_nulls
=== RUN   TestPgxSeriesSet/check_infinity
=== RUN   TestPgxSeriesSet/check_default_metric_schema
=== RUN   TestPgxSeriesSet/check_custom_metric_schema
=== RUN   TestPgxSeriesSet/check_custom_column_name
--- PASS: TestPgxSeriesSet (0.00s)
    --- PASS: TestPgxSeriesSet/invalid_row (0.00s)
    --- PASS: TestPgxSeriesSet/empty_rows (0.00s)
    --- PASS: TestPgxSeriesSet/timestamp/value_count_mismatch (0.00s)
    --- PASS: TestPgxSeriesSet/happy_path_1 (0.00s)
    --- PASS: TestPgxSeriesSet/happy_path_2 (0.00s)
    --- PASS: TestPgxSeriesSet/check_nulls_(ts_and_vs_negative_values_are_encoded_as_null) (0.00s)
    --- PASS: TestPgxSeriesSet/check_all_nulls (0.00s)
    --- PASS: TestPgxSeriesSet/check_infinity (0.00s)
    --- PASS: TestPgxSeriesSet/check_default_metric_schema (0.00s)
    --- PASS: TestPgxSeriesSet/check_custom_metric_schema (0.00s)
    --- PASS: TestPgxSeriesSet/check_custom_column_name (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/pgmodel/querier	0.026s
=== RUN   TestQueryConcurrency
--- PASS: TestQueryConcurrency (0.02s)
=== RUN   TestQueryTimeout
--- PASS: TestQueryTimeout (0.10s)
=== RUN   TestQueryCancel
--- PASS: TestQueryCancel (0.00s)
=== RUN   TestQueryError
--- PASS: TestQueryError (0.00s)
=== RUN   TestSelectHintsSetCorrectly
=== RUN   TestSelectHintsSetCorrectly/foo
=== RUN   TestSelectHintsSetCorrectly/foo_@_15
=== RUN   TestSelectHintsSetCorrectly/foo_@_1
=== RUN   TestSelectHintsSetCorrectly/foo[2m]
=== RUN   TestSelectHintsSetCorrectly/foo[2m]_@_180
=== RUN   TestSelectHintsSetCorrectly/foo[2m]_@_300
=== RUN   TestSelectHintsSetCorrectly/foo[2m]_@_60
=== RUN   TestSelectHintsSetCorrectly/foo[2m]_offset_2m
=== RUN   TestSelectHintsSetCorrectly/foo[2m]_@_200_offset_2m
=== RUN   TestSelectHintsSetCorrectly/foo[2m:1s]
=== RUN   TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s])
=== RUN   TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_300)
=== RUN   TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_200)
=== RUN   TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_100)
=== RUN   TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_offset_10s)
=== RUN   TestSelectHintsSetCorrectly/count_over_time((foo_offset_10s)[2m:1s]_offset_10s)
=== RUN   TestSelectHintsSetCorrectly/count_over_time((foo_@_200_offset_10s)[2m:1s]_offset_10s)
=== RUN   TestSelectHintsSetCorrectly/count_over_time((foo_@_200_offset_10s)[2m:1s]_@_100_offset_10s)
=== RUN   TestSelectHintsSetCorrectly/count_over_time((foo_offset_10s)[2m:1s]_@_100_offset_10s)
=== RUN   TestSelectHintsSetCorrectly/foo#01
=== RUN   TestSelectHintsSetCorrectly/foo_@_15#01
=== RUN   TestSelectHintsSetCorrectly/foo_@_1#01
=== RUN   TestSelectHintsSetCorrectly/rate(foo[2m]_@_180)
=== RUN   TestSelectHintsSetCorrectly/rate(foo[2m]_@_300)
=== RUN   TestSelectHintsSetCorrectly/rate(foo[2m]_@_60)
=== RUN   TestSelectHintsSetCorrectly/rate(foo[2m])
=== RUN   TestSelectHintsSetCorrectly/rate(foo[2m]_offset_2m)
=== RUN   TestSelectHintsSetCorrectly/rate(foo[2m:1s])
=== RUN   TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s])#01
=== RUN   TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_offset_10s)#01
=== RUN   TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_300)#01
=== RUN   TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_200)#01
=== RUN   TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_100)#01
=== RUN   TestSelectHintsSetCorrectly/count_over_time((foo_offset_10s)[2m:1s]_offset_10s)#01
=== RUN   TestSelectHintsSetCorrectly/count_over_time((foo_@_200_offset_10s)[2m:1s]_offset_10s)#01
=== RUN   TestSelectHintsSetCorrectly/count_over_time((foo_@_200_offset_10s)[2m:1s]_@_100_offset_10s)#01
=== RUN   TestSelectHintsSetCorrectly/count_over_time((foo_offset_10s)[2m:1s]_@_100_offset_10s)#01
=== RUN   TestSelectHintsSetCorrectly/sum_by_(dim1)_(foo)
=== RUN   TestSelectHintsSetCorrectly/sum_without_(dim1)_(foo)
=== RUN   TestSelectHintsSetCorrectly/sum_by_(dim1)_(avg_over_time(foo[1s]))
=== RUN   TestSelectHintsSetCorrectly/sum_by_(dim1)_(max_by_(dim2)_(foo))
=== RUN   TestSelectHintsSetCorrectly/(max_by_(dim1)_(foo))[5s:1s]
=== RUN   TestSelectHintsSetCorrectly/(sum(http_requests{group=~"p.*"})+max(http_requests{group=~"c.*"}))[20s:5s]
=== RUN   TestSelectHintsSetCorrectly/foo_@_50_+_bar_@_250_+_baz_@_900
=== RUN   TestSelectHintsSetCorrectly/foo_@_50_+_bar_+_baz_@_900
=== RUN   TestSelectHintsSetCorrectly/rate(foo[2s]_@_50)_+_bar_@_250_+_baz_@_900
=== RUN   TestSelectHintsSetCorrectly/rate(foo[2s:1s]_@_50)_+_bar_+_baz
=== RUN   TestSelectHintsSetCorrectly/rate(foo[2s:1s]_@_50)_+_bar_+_rate(baz[2m:1s]_@_900_offset_2m)_
=== RUN   TestSelectHintsSetCorrectly/sum_over_time(sum_over_time(metric{job="1"}[100s])[100s:25s]_@_50)[3s:1s]_@_3000
=== RUN   TestSelectHintsSetCorrectly/sum_over_time(sum_over_time(metric{job="1"}[100s])[100s:25s]_@_3000)[3s:1s]_@_50
--- PASS: TestSelectHintsSetCorrectly (0.06s)
    --- PASS: TestSelectHintsSetCorrectly/foo (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo_@_15 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo_@_1 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo[2m] (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo[2m]_@_180 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo[2m]_@_300 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo[2m]_@_60 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo[2m]_offset_2m (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo[2m]_@_200_offset_2m (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo[2m:1s] (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]) (0.01s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_300) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_200) (0.01s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_100) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_offset_10s) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time((foo_offset_10s)[2m:1s]_offset_10s) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time((foo_@_200_offset_10s)[2m:1s]_offset_10s) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time((foo_@_200_offset_10s)[2m:1s]_@_100_offset_10s) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time((foo_offset_10s)[2m:1s]_@_100_offset_10s) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo_@_15#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo_@_1#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/rate(foo[2m]_@_180) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/rate(foo[2m]_@_300) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/rate(foo[2m]_@_60) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/rate(foo[2m]) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/rate(foo[2m]_offset_2m) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/rate(foo[2m:1s]) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s])#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_offset_10s)#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_300)#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_200)#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time(foo[2m:1s]_@_100)#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time((foo_offset_10s)[2m:1s]_offset_10s)#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time((foo_@_200_offset_10s)[2m:1s]_offset_10s)#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time((foo_@_200_offset_10s)[2m:1s]_@_100_offset_10s)#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/count_over_time((foo_offset_10s)[2m:1s]_@_100_offset_10s)#01 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/sum_by_(dim1)_(foo) (0.01s)
    --- PASS: TestSelectHintsSetCorrectly/sum_without_(dim1)_(foo) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/sum_by_(dim1)_(avg_over_time(foo[1s])) (0.01s)
    --- PASS: TestSelectHintsSetCorrectly/sum_by_(dim1)_(max_by_(dim2)_(foo)) (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/(max_by_(dim1)_(foo))[5s:1s] (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/(sum(http_requests{group=~"p.*"})+max(http_requests{group=~"c.*"}))[20s:5s] (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo_@_50_+_bar_@_250_+_baz_@_900 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/foo_@_50_+_bar_+_baz_@_900 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/rate(foo[2s]_@_50)_+_bar_@_250_+_baz_@_900 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/rate(foo[2s:1s]_@_50)_+_bar_+_baz (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/rate(foo[2s:1s]_@_50)_+_bar_+_rate(baz[2m:1s]_@_900_offset_2m)_ (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/sum_over_time(sum_over_time(metric{job="1"}[100s])[100s:25s]_@_50)[3s:1s]_@_3000 (0.00s)
    --- PASS: TestSelectHintsSetCorrectly/sum_over_time(sum_over_time(metric{job="1"}[100s])[100s:25s]_@_3000)[3s:1s]_@_50 (0.00s)
=== RUN   TestEngineShutdown
--- PASS: TestEngineShutdown (0.00s)
=== RUN   TestEngineEvalStmtTimestamps
=== RUN   TestEngineEvalStmtTimestamps/0_query=1
=== RUN   TestEngineEvalStmtTimestamps/1_query=metric
=== RUN   TestEngineEvalStmtTimestamps/2_query=metric[20s]
=== RUN   TestEngineEvalStmtTimestamps/3_query=1
=== RUN   TestEngineEvalStmtTimestamps/4_query=metric
=== RUN   TestEngineEvalStmtTimestamps/5_query=metric
=== RUN   TestEngineEvalStmtTimestamps/6_query=count_values("wrong_label!",_metric)
--- PASS: TestEngineEvalStmtTimestamps (0.03s)
    --- PASS: TestEngineEvalStmtTimestamps/0_query=1 (0.00s)
    --- PASS: TestEngineEvalStmtTimestamps/1_query=metric (0.00s)
    --- PASS: TestEngineEvalStmtTimestamps/2_query=metric[20s] (0.00s)
    --- PASS: TestEngineEvalStmtTimestamps/3_query=1 (0.00s)
    --- PASS: TestEngineEvalStmtTimestamps/4_query=metric (0.00s)
    --- PASS: TestEngineEvalStmtTimestamps/5_query=metric (0.00s)
    --- PASS: TestEngineEvalStmtTimestamps/6_query=count_values("wrong_label!",_metric) (0.00s)
=== RUN   TestQueryStatistics
=== RUN   TestQueryStatistics/"literal_string"
=== RUN   TestQueryStatistics/1
=== RUN   TestQueryStatistics/metricWith1SampleEvery10Seconds
=== RUN   TestQueryStatistics/timestamp(metricWith1SampleEvery10Seconds)
=== RUN   TestQueryStatistics/metricWith1SampleEvery10Seconds#01
=== RUN   TestQueryStatistics/metricWith1SampleEvery10Seconds_offset_10s
=== RUN   TestQueryStatistics/metricWith1SampleEvery10Seconds_@_15
=== RUN   TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"}
=== RUN   TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"}_@_19
=== RUN   TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"}[20s]_@_19
=== RUN   TestQueryStatistics/metricWith3SampleEvery10Seconds
=== RUN   TestQueryStatistics/metricWith1SampleEvery10Seconds[60s]
=== RUN   TestQueryStatistics/max_over_time(metricWith1SampleEvery10Seconds[59s])[20s:5s]
=== RUN   TestQueryStatistics/max_over_time(metricWith1SampleEvery10Seconds[60s])[20s:5s]
=== RUN   TestQueryStatistics/metricWith1SampleEvery10Seconds[60s]_@_30
=== RUN   TestQueryStatistics/sum(max_over_time(metricWith3SampleEvery10Seconds[60s]_@_30))
=== RUN   TestQueryStatistics/sum_by_(b)_(max_over_time(metricWith3SampleEvery10Seconds[60s]_@_30))
=== RUN   TestQueryStatistics/metricWith1SampleEvery10Seconds[60s]_offset_10s
=== RUN   TestQueryStatistics/metricWith3SampleEvery10Seconds[60s]
=== RUN   TestQueryStatistics/max_over_time(metricWith1SampleEvery10Seconds[60s])
=== RUN   TestQueryStatistics/absent_over_time(metricWith1SampleEvery10Seconds[60s])
=== RUN   TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds[60s])
=== RUN   TestQueryStatistics/metricWith1SampleEvery10Seconds[60s:5s]
=== RUN   TestQueryStatistics/metricWith1SampleEvery10Seconds[60s:5s]_offset_10s
=== RUN   TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds[60s:5s])
=== RUN   TestQueryStatistics/sum(max_over_time(metricWith3SampleEvery10Seconds[60s:5s]))_+_sum(max_over_time(metricWith3SampleEvery10Seconds[60s:5s]))
=== RUN   TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"}#01
=== RUN   TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"}#02
=== RUN   TestQueryStatistics/timestamp(metricWith1SampleEvery10Seconds)#01
=== RUN   TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds{a="1"}[10s])
=== RUN   TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"}_offset_10s
=== RUN   TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds[60s]_@_30)
=== RUN   TestQueryStatistics/metricWith3SampleEvery10Seconds#01
=== RUN   TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds[60s])#01
=== RUN   TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds[60s:5s])#01
=== RUN   TestQueryStatistics/max_over_time(metricWith1SampleEvery10Seconds[60s:5s])
=== RUN   TestQueryStatistics/sum_by_(b)_(max_over_time(metricWith1SampleEvery10Seconds[60s:5s]))
=== RUN   TestQueryStatistics/sum(max_over_time(metricWith3SampleEvery10Seconds[60s:5s]))_+_sum(max_over_time(metricWith3SampleEvery10Seconds[60s:5s]))#01
=== RUN   TestQueryStatistics/sum(max_over_time(metricWith3SampleEvery10Seconds[60s:5s]))_+_sum(max_over_time(metricWith1SampleEvery10Seconds[60s:5s]))
--- PASS: TestQueryStatistics (0.03s)
    --- PASS: TestQueryStatistics/"literal_string" (0.00s)
    --- PASS: TestQueryStatistics/1 (0.00s)
    --- PASS: TestQueryStatistics/metricWith1SampleEvery10Seconds (0.00s)
    --- PASS: TestQueryStatistics/timestamp(metricWith1SampleEvery10Seconds) (0.00s)
    --- PASS: TestQueryStatistics/metricWith1SampleEvery10Seconds#01 (0.00s)
    --- PASS: TestQueryStatistics/metricWith1SampleEvery10Seconds_offset_10s (0.00s)
    --- PASS: TestQueryStatistics/metricWith1SampleEvery10Seconds_@_15 (0.00s)
    --- PASS: TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"} (0.00s)
    --- PASS: TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"}_@_19 (0.00s)
    --- PASS: TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"}[20s]_@_19 (0.00s)
    --- PASS: TestQueryStatistics/metricWith3SampleEvery10Seconds (0.00s)
    --- PASS: TestQueryStatistics/metricWith1SampleEvery10Seconds[60s] (0.00s)
    --- PASS: TestQueryStatistics/max_over_time(metricWith1SampleEvery10Seconds[59s])[20s:5s] (0.00s)
    --- PASS: TestQueryStatistics/max_over_time(metricWith1SampleEvery10Seconds[60s])[20s:5s] (0.00s)
    --- PASS: TestQueryStatistics/metricWith1SampleEvery10Seconds[60s]_@_30 (0.00s)
    --- PASS: TestQueryStatistics/sum(max_over_time(metricWith3SampleEvery10Seconds[60s]_@_30)) (0.00s)
    --- PASS: TestQueryStatistics/sum_by_(b)_(max_over_time(metricWith3SampleEvery10Seconds[60s]_@_30)) (0.00s)
    --- PASS: TestQueryStatistics/metricWith1SampleEvery10Seconds[60s]_offset_10s (0.00s)
    --- PASS: TestQueryStatistics/metricWith3SampleEvery10Seconds[60s] (0.00s)
    --- PASS: TestQueryStatistics/max_over_time(metricWith1SampleEvery10Seconds[60s]) (0.00s)
    --- PASS: TestQueryStatistics/absent_over_time(metricWith1SampleEvery10Seconds[60s]) (0.00s)
    --- PASS: TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds[60s]) (0.00s)
    --- PASS: TestQueryStatistics/metricWith1SampleEvery10Seconds[60s:5s] (0.00s)
    --- PASS: TestQueryStatistics/metricWith1SampleEvery10Seconds[60s:5s]_offset_10s (0.00s)
    --- PASS: TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds[60s:5s]) (0.00s)
    --- PASS: TestQueryStatistics/sum(max_over_time(metricWith3SampleEvery10Seconds[60s:5s]))_+_sum(max_over_time(metricWith3SampleEvery10Seconds[60s:5s])) (0.00s)
    --- PASS: TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"}#01 (0.00s)
    --- PASS: TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"}#02 (0.00s)
    --- PASS: TestQueryStatistics/timestamp(metricWith1SampleEvery10Seconds)#01 (0.00s)
    --- PASS: TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds{a="1"}[10s]) (0.00s)
    --- PASS: TestQueryStatistics/metricWith3SampleEvery10Seconds{a="1"}_offset_10s (0.00s)
    --- PASS: TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds[60s]_@_30) (0.00s)
    --- PASS: TestQueryStatistics/metricWith3SampleEvery10Seconds#01 (0.00s)
    --- PASS: TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds[60s])#01 (0.00s)
    --- PASS: TestQueryStatistics/max_over_time(metricWith3SampleEvery10Seconds[60s:5s])#01 (0.00s)
    --- PASS: TestQueryStatistics/max_over_time(metricWith1SampleEvery10Seconds[60s:5s]) (0.00s)
    --- PASS: TestQueryStatistics/sum_by_(b)_(max_over_time(metricWith1SampleEvery10Seconds[60s:5s])) (0.00s)
    --- PASS: TestQueryStatistics/sum(max_over_time(metricWith3SampleEvery10Seconds[60s:5s]))_+_sum(max_over_time(metricWith3SampleEvery10Seconds[60s:5s]))#01 (0.00s)
    --- PASS: TestQueryStatistics/sum(max_over_time(metricWith3SampleEvery10Seconds[60s:5s]))_+_sum(max_over_time(metricWith1SampleEvery10Seconds[60s:5s])) (0.00s)
=== RUN   TestMaxQuerySamples
=== RUN   TestMaxQuerySamples/1
=== RUN   TestMaxQuerySamples/metric
=== RUN   TestMaxQuerySamples/metric[20s]
=== RUN   TestMaxQuerySamples/rate(metric[20s])
=== RUN   TestMaxQuerySamples/metric[20s:5s]
=== RUN   TestMaxQuerySamples/metric[20s]_@_10
=== RUN   TestMaxQuerySamples/1#01
=== RUN   TestMaxQuerySamples/1#02
=== RUN   TestMaxQuerySamples/metric#01
=== RUN   TestMaxQuerySamples/metric#02
=== RUN   TestMaxQuerySamples/rate(bigmetric[1s])
=== RUN   TestMaxQuerySamples/metric_@_10
=== RUN   TestMaxQuerySamples/rate(bigmetric[10s:1s]_@_10)
=== RUN   TestMaxQuerySamples/rate(bigmetric[10s:1s]_@_10)_+_rate(bigmetric[10s:1s]_@_30)
=== RUN   TestMaxQuerySamples/rate(bigmetric[10s:1s])_+_rate(bigmetric[10s:1s]_@_30)
=== RUN   TestMaxQuerySamples/rate(rate(bigmetric[10s:1s]_@_10)[100s:25s]_@_1000)[100s:20s]_@_2000
=== RUN   TestMaxQuerySamples/rate(rate(bigmetric[10s:1s]_@_10)[100s:25s]_@_1000)[17s:1s]_@_2000
--- PASS: TestMaxQuerySamples (0.01s)
    --- PASS: TestMaxQuerySamples/1 (0.00s)
    --- PASS: TestMaxQuerySamples/metric (0.00s)
    --- PASS: TestMaxQuerySamples/metric[20s] (0.00s)
    --- PASS: TestMaxQuerySamples/rate(metric[20s]) (0.00s)
    --- PASS: TestMaxQuerySamples/metric[20s:5s] (0.00s)
    --- PASS: TestMaxQuerySamples/metric[20s]_@_10 (0.00s)
    --- PASS: TestMaxQuerySamples/1#01 (0.00s)
    --- PASS: TestMaxQuerySamples/1#02 (0.00s)
    --- PASS: TestMaxQuerySamples/metric#01 (0.00s)
    --- PASS: TestMaxQuerySamples/metric#02 (0.00s)
    --- PASS: TestMaxQuerySamples/rate(bigmetric[1s]) (0.00s)
    --- PASS: TestMaxQuerySamples/metric_@_10 (0.00s)
    --- PASS: TestMaxQuerySamples/rate(bigmetric[10s:1s]_@_10) (0.00s)
    --- PASS: TestMaxQuerySamples/rate(bigmetric[10s:1s]_@_10)_+_rate(bigmetric[10s:1s]_@_30) (0.00s)
    --- PASS: TestMaxQuerySamples/rate(bigmetric[10s:1s])_+_rate(bigmetric[10s:1s]_@_30) (0.00s)
    --- PASS: TestMaxQuerySamples/rate(rate(bigmetric[10s:1s]_@_10)[100s:25s]_@_1000)[100s:20s]_@_2000 (0.00s)
    --- PASS: TestMaxQuerySamples/rate(rate(bigmetric[10s:1s]_@_10)[100s:25s]_@_1000)[17s:1s]_@_2000 (0.00s)
=== RUN   TestAtModifier
=== RUN   TestAtModifier/metric_neg_@_0
=== RUN   TestAtModifier/metric_neg_@_-200
=== RUN   TestAtModifier/metric{job="2"}_@_50
=== RUN   TestAtModifier/metric[20s]_@_300
=== RUN   TestAtModifier/metric_neg[2s]_@_0
=== RUN   TestAtModifier/metric_neg[3s]_@_-500
=== RUN   TestAtModifier/metric_ms[3ms]_@_2.345
=== RUN   TestAtModifier/metric[100s:25s]_@_300
=== RUN   TestAtModifier/metric_neg[50s:25s]_@_0
=== RUN   TestAtModifier/metric_neg[50s:25s]_@_-100
=== RUN   TestAtModifier/metric_ms[100ms:25ms]_@_2.345
=== RUN   TestAtModifier/metric_topk_and_topk(1,_sum_over_time(metric_topk[50s]_@_100))
=== RUN   TestAtModifier/metric_topk_and_topk(1,_sum_over_time(metric_topk[50s]_@_5000))
=== RUN   TestAtModifier/metric_topk_and_topk(1,_sum_over_time(metric_topk[50s]_@_end()))
=== RUN   TestAtModifier/metric_topk_and_topk(1,_sum_over_time(metric_topk[50s]_@_start()))
=== RUN   TestAtModifier/timestamp(metric_timestamp_@_3600)
--- PASS: TestAtModifier (0.06s)
    --- PASS: TestAtModifier/metric_neg_@_0 (0.00s)
    --- PASS: TestAtModifier/metric_neg_@_-200 (0.00s)
    --- PASS: TestAtModifier/metric{job="2"}_@_50 (0.00s)
    --- PASS: TestAtModifier/metric[20s]_@_300 (0.00s)
    --- PASS: TestAtModifier/metric_neg[2s]_@_0 (0.00s)
    --- PASS: TestAtModifier/metric_neg[3s]_@_-500 (0.00s)
    --- PASS: TestAtModifier/metric_ms[3ms]_@_2.345 (0.00s)
    --- PASS: TestAtModifier/metric[100s:25s]_@_300 (0.00s)
    --- PASS: TestAtModifier/metric_neg[50s:25s]_@_0 (0.00s)
    --- PASS: TestAtModifier/metric_neg[50s:25s]_@_-100 (0.00s)
    --- PASS: TestAtModifier/metric_ms[100ms:25ms]_@_2.345 (0.00s)
    --- PASS: TestAtModifier/metric_topk_and_topk(1,_sum_over_time(metric_topk[50s]_@_100)) (0.00s)
    --- PASS: TestAtModifier/metric_topk_and_topk(1,_sum_over_time(metric_topk[50s]_@_5000)) (0.00s)
    --- PASS: TestAtModifier/metric_topk_and_topk(1,_sum_over_time(metric_topk[50s]_@_end())) (0.00s)
    --- PASS: TestAtModifier/metric_topk_and_topk(1,_sum_over_time(metric_topk[50s]_@_start())) (0.00s)
    --- PASS: TestAtModifier/timestamp(metric_timestamp_@_3600) (0.00s)
=== RUN   TestRecoverEvaluatorRuntime
--- PASS: TestRecoverEvaluatorRuntime (0.00s)
=== RUN   TestRecoverEvaluatorError
--- PASS: TestRecoverEvaluatorError (0.00s)
=== RUN   TestRecoverEvaluatorErrorWithWarnings
--- PASS: TestRecoverEvaluatorErrorWithWarnings (0.00s)
=== RUN   TestSubquerySelector
=== RUN   TestSubquerySelector/#00
=== RUN   TestSubquerySelector/#00/metric[20s:10s]
=== RUN   TestSubquerySelector/#00/metric[20s:5s]
=== RUN   TestSubquerySelector/#00/metric[20s:5s]_offset_2s
=== RUN   TestSubquerySelector/#00/metric[20s:5s]_offset_6s
=== RUN   TestSubquerySelector/#00/metric[20s:5s]_offset_4s
=== RUN   TestSubquerySelector/#00/metric[20s:5s]_offset_5s
=== RUN   TestSubquerySelector/#00/metric[20s:5s]_offset_6s#01
=== RUN   TestSubquerySelector/#00/metric[20s:5s]_offset_7s
=== RUN   TestSubquerySelector/#01
=== RUN   TestSubquerySelector/#01/http_requests{group=~"pro.*",instance="0"}[30s:10s]
=== RUN   TestSubquerySelector/#01/http_requests{group=~"pro.*",instance="0"}[5m:]
=== RUN   TestSubquerySelector/#01/http_requests{group=~"pro.*",instance="0"}[5m:]_offset_20m
=== RUN   TestSubquerySelector/#01/rate(http_requests[1m])[15s:5s]
=== RUN   TestSubquerySelector/#01/sum(http_requests{group=~"pro.*"})[30s:10s]
=== RUN   TestSubquerySelector/#01/sum(http_requests)[40s:10s]
=== RUN   TestSubquerySelector/#01/(sum(http_requests{group=~"p.*"})+sum(http_requests{group=~"c.*"}))[20s:5s]
--- PASS: TestSubquerySelector (0.08s)
    --- PASS: TestSubquerySelector/#00 (0.01s)
        --- PASS: TestSubquerySelector/#00/metric[20s:10s] (0.00s)
        --- PASS: TestSubquerySelector/#00/metric[20s:5s] (0.00s)
        --- PASS: TestSubquerySelector/#00/metric[20s:5s]_offset_2s (0.00s)
        --- PASS: TestSubquerySelector/#00/metric[20s:5s]_offset_6s (0.00s)
        --- PASS: TestSubquerySelector/#00/metric[20s:5s]_offset_4s (0.00s)
        --- PASS: TestSubquerySelector/#00/metric[20s:5s]_offset_5s (0.00s)
        --- PASS: TestSubquerySelector/#00/metric[20s:5s]_offset_6s#01 (0.00s)
        --- PASS: TestSubquerySelector/#00/metric[20s:5s]_offset_7s (0.00s)
    --- PASS: TestSubquerySelector/#01 (0.07s)
        --- PASS: TestSubquerySelector/#01/http_requests{group=~"pro.*",instance="0"}[30s:10s] (0.00s)
        --- PASS: TestSubquerySelector/#01/http_requests{group=~"pro.*",instance="0"}[5m:] (0.00s)
        --- PASS: TestSubquerySelector/#01/http_requests{group=~"pro.*",instance="0"}[5m:]_offset_20m (0.00s)
        --- PASS: TestSubquerySelector/#01/rate(http_requests[1m])[15s:5s] (0.00s)
        --- PASS: TestSubquerySelector/#01/sum(http_requests{group=~"pro.*"})[30s:10s] (0.00s)
        --- PASS: TestSubquerySelector/#01/sum(http_requests)[40s:10s] (0.00s)
        --- PASS: TestSubquerySelector/#01/(sum(http_requests{group=~"p.*"})+sum(http_requests{group=~"c.*"}))[20s:5s] (0.00s)
=== RUN   TestQueryLogger_basic
--- PASS: TestQueryLogger_basic (0.00s)
=== RUN   TestQueryLogger_fields
--- PASS: TestQueryLogger_fields (0.00s)
=== RUN   TestQueryLogger_error
--- PASS: TestQueryLogger_error (0.00s)
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/123.4567
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/"foo"
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/foo_*_bar
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/foo_*_bar_@_10
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/foo_@_20_*_bar_@_10
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/test[5s]
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/test{a="b"}[5y]_@_1603774699
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/sum_by_(foo)(some_metric)
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/sum_by_(foo)(some_metric_@_10)
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/sum(some_metric1_@_10)_+_sum(some_metric2_@_20)
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/some_metric_and_topk(5,_rate(some_metric[1m]_@_20))
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/time()
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/foo{bar="baz"}[10m:6s]
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/foo{bar="baz"}[10m:6s]_@_10
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/sum(foo{bar="baz"}_@_20)[10m:6s]_@_10
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/min_over_time(rate(foo{bar="baz"}[2s])[5m:]_@_1603775091)[4m:3s]
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/some_metric_@_123_offset_1m_[10m:5s]
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/some_metric[10m:5s]_offset_1m_@_123
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/(foo_+_bar{nm="val"}_@_1234)[5m:]_@_1603775019
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/abs(abs(metric_@_10))
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/sum(sum(some_metric1_@_10)_+_sum(some_metric2_@_20))
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/foo_@_start()
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/foo_@_end()
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/test[5y]_@_start()
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/test[5y]_@_end()
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/some_metric[10m:5s]_@_start()
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/some_metric[10m:5s]_@_end()
=== RUN   TestPreprocessAndWrapWithStepInvariantExpr/floor(some_metric_/_(3_*_1024))
--- PASS: TestPreprocessAndWrapWithStepInvariantExpr (0.01s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/123.4567 (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/"foo" (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/foo_*_bar (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/foo_*_bar_@_10 (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/foo_@_20_*_bar_@_10 (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/test[5s] (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/test{a="b"}[5y]_@_1603774699 (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/sum_by_(foo)(some_metric) (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/sum_by_(foo)(some_metric_@_10) (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/sum(some_metric1_@_10)_+_sum(some_metric2_@_20) (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/some_metric_and_topk(5,_rate(some_metric[1m]_@_20)) (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/time() (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/foo{bar="baz"}[10m:6s] (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/foo{bar="baz"}[10m:6s]_@_10 (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/sum(foo{bar="baz"}_@_20)[10m:6s]_@_10 (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/min_over_time(rate(foo{bar="baz"}[2s])[5m:]_@_1603775091)[4m:3s] (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/some_metric_@_123_offset_1m_[10m:5s] (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/some_metric[10m:5s]_offset_1m_@_123 (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/(foo_+_bar{nm="val"}_@_1234)[5m:]_@_1603775019 (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/abs(abs(metric_@_10)) (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/sum(sum(some_metric1_@_10)_+_sum(some_metric2_@_20)) (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/foo_@_start() (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/foo_@_end() (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/test[5y]_@_start() (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/test[5y]_@_end() (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/some_metric[10m:5s]_@_start() (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/some_metric[10m:5s]_@_end() (0.00s)
    --- PASS: TestPreprocessAndWrapWithStepInvariantExpr/floor(some_metric_/_(3_*_1024)) (0.00s)
=== RUN   TestEngineOptsValidation
--- PASS: TestEngineOptsValidation (0.00s)
=== RUN   TestRangeQuery
=== RUN   TestRangeQuery/sum_over_time_with_all_values
=== RUN   TestRangeQuery/sum_over_time_with_trailing_values
=== RUN   TestRangeQuery/sum_over_time_with_all_values_long
=== RUN   TestRangeQuery/sum_over_time_with_all_values_random
=== RUN   TestRangeQuery/metric_query
=== RUN   TestRangeQuery/metric_query_with_trailing_values
=== RUN   TestRangeQuery/short-circuit
--- PASS: TestRangeQuery (0.08s)
    --- PASS: TestRangeQuery/sum_over_time_with_all_values (0.00s)
    --- PASS: TestRangeQuery/sum_over_time_with_trailing_values (0.00s)
    --- PASS: TestRangeQuery/sum_over_time_with_all_values_long (0.00s)
    --- PASS: TestRangeQuery/sum_over_time_with_all_values_random (0.05s)
    --- PASS: TestRangeQuery/metric_query (0.01s)
    --- PASS: TestRangeQuery/metric_query_with_trailing_values (0.01s)
    --- PASS: TestRangeQuery/short-circuit (0.00s)
=== RUN   TestQueryLookbackDelta
=== RUN   TestQueryLookbackDelta/default_lookback_delta
=== RUN   TestQueryLookbackDelta/outside_default_lookback_delta
=== RUN   TestQueryLookbackDelta/custom_engine_lookback_delta
=== RUN   TestQueryLookbackDelta/outside_custom_engine_lookback_delta
=== RUN   TestQueryLookbackDelta/custom_query_lookback_delta
=== RUN   TestQueryLookbackDelta/outside_custom_query_lookback_delta
=== RUN   TestQueryLookbackDelta/negative_custom_query_lookback_delta
--- PASS: TestQueryLookbackDelta (0.09s)
    --- PASS: TestQueryLookbackDelta/default_lookback_delta (0.02s)
    --- PASS: TestQueryLookbackDelta/outside_default_lookback_delta (0.01s)
    --- PASS: TestQueryLookbackDelta/custom_engine_lookback_delta (0.05s)
    --- PASS: TestQueryLookbackDelta/outside_custom_engine_lookback_delta (0.00s)
    --- PASS: TestQueryLookbackDelta/custom_query_lookback_delta (0.00s)
    --- PASS: TestQueryLookbackDelta/outside_custom_query_lookback_delta (0.00s)
    --- PASS: TestQueryLookbackDelta/negative_custom_query_lookback_delta (0.00s)
=== RUN   TestDeriv
--- PASS: TestDeriv (0.02s)
=== RUN   TestFunctionList
--- PASS: TestFunctionList (0.00s)
=== RUN   TestKahanSum
--- PASS: TestKahanSum (0.00s)
=== RUN   TestEvaluations
=== RUN   TestEvaluations/testdata/aggregators.test
=== RUN   TestEvaluations/testdata/at_modifier.test
=== RUN   TestEvaluations/testdata/collision.test
=== RUN   TestEvaluations/testdata/functions.test
=== RUN   TestEvaluations/testdata/histograms.test
=== RUN   TestEvaluations/testdata/literals.test
=== RUN   TestEvaluations/testdata/operators.test
=== RUN   TestEvaluations/testdata/selectors.test
=== RUN   TestEvaluations/testdata/staleness.test
=== RUN   TestEvaluations/testdata/subquery.test
=== RUN   TestEvaluations/testdata/trig_functions.test
--- PASS: TestEvaluations (2.64s)
    --- PASS: TestEvaluations/testdata/aggregators.test (0.16s)
    --- PASS: TestEvaluations/testdata/at_modifier.test (0.06s)
    --- PASS: TestEvaluations/testdata/collision.test (0.01s)
    --- PASS: TestEvaluations/testdata/functions.test (0.85s)
    --- PASS: TestEvaluations/testdata/histograms.test (0.10s)
    --- PASS: TestEvaluations/testdata/literals.test (0.16s)
    --- PASS: TestEvaluations/testdata/operators.test (0.33s)
    --- PASS: TestEvaluations/testdata/selectors.test (0.23s)
    --- PASS: TestEvaluations/testdata/staleness.test (0.02s)
    --- PASS: TestEvaluations/testdata/subquery.test (0.53s)
    --- PASS: TestEvaluations/testdata/trig_functions.test (0.19s)
=== RUN   TestQueryLogging
--- PASS: TestQueryLogging (0.00s)
=== RUN   TestIndexReuse
--- PASS: TestIndexReuse (0.00s)
=== RUN   TestMMapFile
--- PASS: TestMMapFile (0.02s)
=== RUN   TestParseBrokenJSON
=== RUN   TestParseBrokenJSON/#00
=== RUN   TestParseBrokenJSON/#01
=== RUN   TestParseBrokenJSON/#02
=== RUN   TestParseBrokenJSON/#03
=== RUN   TestParseBrokenJSON/#04
--- PASS: TestParseBrokenJSON (0.00s)
    --- PASS: TestParseBrokenJSON/#00 (0.00s)
    --- PASS: TestParseBrokenJSON/#01 (0.00s)
    --- PASS: TestParseBrokenJSON/#02 (0.00s)
    --- PASS: TestParseBrokenJSON/#03 (0.00s)
    --- PASS: TestParseBrokenJSON/#04 (0.00s)
=== RUN   TestLazyLoader_WithSamplesTill
--- PASS: TestLazyLoader_WithSamplesTill (0.09s)
=== RUN   TestVector_ContainsSameLabelset
=== RUN   TestVector_ContainsSameLabelset/empty_vector
=== RUN   TestVector_ContainsSameLabelset/vector_with_one_series
=== RUN   TestVector_ContainsSameLabelset/vector_with_two_different_series
=== RUN   TestVector_ContainsSameLabelset/vector_with_two_equal_series
=== RUN   TestVector_ContainsSameLabelset/vector_with_three_series,_two_equal
--- PASS: TestVector_ContainsSameLabelset (0.00s)
    --- PASS: TestVector_ContainsSameLabelset/empty_vector (0.00s)
    --- PASS: TestVector_ContainsSameLabelset/vector_with_one_series (0.00s)
    --- PASS: TestVector_ContainsSameLabelset/vector_with_two_different_series (0.00s)
    --- PASS: TestVector_ContainsSameLabelset/vector_with_two_equal_series (0.00s)
    --- PASS: TestVector_ContainsSameLabelset/vector_with_three_series,_two_equal (0.00s)
=== RUN   TestMatrix_ContainsSameLabelset
=== RUN   TestMatrix_ContainsSameLabelset/matrix_with_three_series,_two_equal
=== RUN   TestMatrix_ContainsSameLabelset/empty_matrix
=== RUN   TestMatrix_ContainsSameLabelset/matrix_with_one_series
=== RUN   TestMatrix_ContainsSameLabelset/matrix_with_two_different_series
=== RUN   TestMatrix_ContainsSameLabelset/matrix_with_two_equal_series
--- PASS: TestMatrix_ContainsSameLabelset (0.00s)
    --- PASS: TestMatrix_ContainsSameLabelset/matrix_with_three_series,_two_equal (0.00s)
    --- PASS: TestMatrix_ContainsSameLabelset/empty_matrix (0.00s)
    --- PASS: TestMatrix_ContainsSameLabelset/matrix_with_one_series (0.00s)
    --- PASS: TestMatrix_ContainsSameLabelset/matrix_with_two_different_series (0.00s)
    --- PASS: TestMatrix_ContainsSameLabelset/matrix_with_two_equal_series (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/promql	3.405s
2023/11/03 08:40:13 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined
=== RUN   TestValidate
--- PASS: TestValidate (0.00s)
=== RUN   TestRegexInConfig
--- PASS: TestRegexInConfig (0.00s)
=== RUN   TestVectorCompatibility
--- PASS: TestVectorCompatibility (0.00s)
=== RUN   TestYoloVector
--- PASS: TestYoloVector (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/rules	0.061s
2023/11/03 08:40:14 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined
=== RUN   TestParseFlags
=== RUN   TestParseFlags/Default_config
=== RUN   TestParseFlags/Invalid_flag_error
flag provided but not defined: -foo
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -auth.tls-cert-file string
    	TLS Certificate file used for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_CERT_FILE]
  -auth.tls-key-file string
    	TLS Key file for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_KEY_FILE]
  -cache.memory-target value
    	Target for max amount of memory to use. Specified in bytes or as a percentage of system memory (e.g. 80%). [PROMSCALE_CACHE_MEMORY_TARGET] (default 80%)
  -config string
    	YAML configuration file path for Promscale. [PROMSCALE_CONFIG] (default "config.yml")
  -db.app string
    	This sets the application_name in database connection string. This is helpful during debugging when looking at pg_stat_activity. [PROMSCALE_DB_APP] (default "promscale@0.17.0")
  -db.connection-timeout duration
    	Timeout for establishing the connection between Promscale and TimescaleDB. [PROMSCALE_DB_CONNECTION_TIMEOUT] (default 1m0s)
  -db.connections-max int
    	Maximum number of connections to the database that should be opened at once. It defaults to 80% of the maximum connections that the database can handle.  [PROMSCALE_DB_CONNECTIONS_MAX] (default -1)
  -db.connections.maint-pool.size int
    	Maximum size of the maintenance pool of database connections. This defaults to 5 [PROMSCALE_DB_CONNECTIONS_MAINT_POOL_SIZE] (default 5)
  -db.connections.num-writers int
    	Number of database connections for writing metrics/traces to database. By default, this will be set based on the number of CPUs available to the DB Promscale is connected to. [PROMSCALE_DB_CONNECTIONS_NUM_WRITERS]
  -db.connections.reader-pool.size int
    	Maximum size of the reader pool of database connections. This defaults to roughly 30% of max_connections allowed by the database. 50% in read-only mode [PROMSCALE_DB_CONNECTIONS_READER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.size int
    	Maximum size of the writer pool of database connections. This defaults to 50% of max_connections allowed by the database. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.synchronous-commit
    	Enable/disable synchronous_commit on database connections in the writer pool. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SYNCHRONOUS_COMMIT]
  -db.host string
    	Host for TimescaleDB. [PROMSCALE_DB_HOST] (default "localhost")
  -db.name string
    	Database name. [PROMSCALE_DB_NAME] (default "timescale")
  -db.password string
    	Password for connecting to TimescaleDB. [PROMSCALE_DB_PASSWORD]
  -db.port int
    	Port for TimescaleDB. [PROMSCALE_DB_PORT] (default 5432)
  -db.read-only
    	Read-only mode for the connector. Operations related to writing or updating the database are disallowed. It is used when pointing the connector to a TimescaleDB read replica. [PROMSCALE_DB_READ_ONLY]
  -db.ssl-mode string
    	TimescaleDB connection ssl mode. If you do not want to use ssl, pass 'allow' as value. [PROMSCALE_DB_SSL_MODE] (default "require")
  -db.statements-cache
    	Whether database connection pool should use cached prepared statements. Disable if using PgBouncer [PROMSCALE_DB_STATEMENTS_CACHE] (default true)
  -db.uri postgres://postgres:password@localhost:5432/timescale?sslmode=require
    	TimescaleDB URI. Example DB URI postgres://postgres:password@localhost:5432/timescale?sslmode=require [PROMSCALE_DB_URI]
  -db.user string
    	TimescaleDB user. [PROMSCALE_DB_USER] (default "postgres")
  -enable-feature value
    	Enable beta/experimental features as a comma-separated list. Currently the following values can be passed: promql-at-modifier, promql-negative-offset, promql-per-step-stats [PROMSCALE_ENABLE_FEATURE]
  -metrics.alertmanager.notification-queue-capacity int
    	The capacity of the queue for pending Alertmanager notifications. [PROMSCALE_METRICS_ALERTMANAGER_NOTIFICATION_QUEUE_CAPACITY] (default 10000)
  -metrics.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of metric data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_METRICS_ASYNC_ACKS]
  -metrics.cache.exemplar.size uint
    	Maximum number of exemplar metrics key-position to cache. It has one-to-one mapping with number of metrics that have exemplar, as key positions are saved per metric basis. [PROMSCALE_METRICS_CACHE_EXEMPLAR_SIZE] (default 10000)
  -metrics.cache.inverted-labels.max-bytes value
    	Initial size of elements in the invreted labels cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_MAX_BYTES] (default 10%)
  -metrics.cache.inverted-labels.size uint
    	Maximum number of label-ids to cache. This helps increase ingest performance. [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_SIZE] (default 500000)
  -metrics.cache.labels.size uint
    	Maximum number of labels to cache. [PROMSCALE_METRICS_CACHE_LABELS_SIZE] (default 100000)
  -metrics.cache.metrics.size uint
    	Maximum number of metric names to cache. [PROMSCALE_METRICS_CACHE_METRICS_SIZE] (default 10000)
  -metrics.cache.series.initial-size uint
    	Maximum number of series to cache. [PROMSCALE_METRICS_CACHE_SERIES_INITIAL_SIZE] (default 1000000)
  -metrics.cache.series.max-bytes value
    	Initial number of elements in the series cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_SERIES_MAX_BYTES] (default 50%)
  -metrics.high-availability
    	Enable external_labels based HA. [PROMSCALE_METRICS_HIGH_AVAILABILITY]
  -metrics.ignore-samples-written-to-compressed-chunks
    	Ignore/drop samples that are being written to compressed chunks. Setting this to false allows Promscale to ingest older data by decompressing chunks that were earlier compressed. However, setting this to true will save your resources that may be required during decompression.  [PROMSCALE_METRICS_IGNORE_SAMPLES_WRITTEN_TO_COMPRESSED_CHUNKS]
  -metrics.multi-tenancy
    	Use multi-tenancy mode in Promscale. [PROMSCALE_METRICS_MULTI_TENANCY]
  -metrics.multi-tenancy.allow-non-tenants
    	Allow Promscale to ingest/query all tenants as well as non-tenants. By setting this to true, Promscale will ingest data from non multi-tenant Prometheus instances as well. If this is false, only multi-tenants (tenants listed in 'multi-tenancy-valid-tenants') are allowed for ingesting and querying data. [PROMSCALE_METRICS_MULTI_TENANCY_ALLOW_NON_TENANTS]
  -metrics.multi-tenancy.experimental.label-queries
    	[EXPERIMENTAL] Use label queries that returns labels of authorized tenants only. This may affect system performance while running PromQL queries. By default this is enabled in -metrics.multi-tenancy mode. [PROMSCALE_METRICS_MULTI_TENANCY_EXPERIMENTAL_LABEL_QUERIES] (default true)
  -metrics.multi-tenancy.valid-tenants string
    	Sets valid tenants that are allowed to be ingested/queried from Promscale. This can be set as: 'allow-all' (default) or a comma separated tenant names. 'allow-all' makes Promscale ingest or query any tenant from itself. A comma separated list will indicate only those tenants that are authorized for operations from Promscale. [PROMSCALE_METRICS_MULTI_TENANCY_VALID_TENANTS] (default "allow-all")
  -metrics.promql.default-subquery-step-interval duration
    	Default step interval to be used for PromQL subquery evaluation. This value is used if the subquery does not specify the step value explicitly. Example: [30m:]. Note: in Prometheus this setting is set by the evaluation_interval option. [PROMSCALE_METRICS_PROMQL_DEFAULT_SUBQUERY_STEP_INTERVAL] (default 1m0s)
  -metrics.promql.lookback-delta duration
    	Maximum lookback duration for retrieving metrics during expression evaluations and federation. [PROMSCALE_METRICS_PROMQL_LOOKBACK_DELTA] (default 5m0s)
  -metrics.promql.max-points-per-ts int
    	Maximum number of points per time-series in a query-range request. This calculation is an estimation, that happens as (start - end)/step where start and end are the 'start' and 'end' timestamps of the query_range. [PROMSCALE_METRICS_PROMQL_MAX_POINTS_PER_TS] (default 11000)
  -metrics.promql.max-samples int
    	Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can return. [PROMSCALE_METRICS_PROMQL_MAX_SAMPLES] (default 50000000)
  -metrics.promql.query-timeout duration
    	Maximum time a query may take before being aborted. This option sets both the default and maximum value of the 'timeout' parameter in '/api/v1/query.*' endpoints. [PROMSCALE_METRICS_PROMQL_QUERY_TIMEOUT] (default 2m0s)
  -metrics.rules.alert.for-grace-period duration
    	Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period. [PROMSCALE_METRICS_RULES_ALERT_FOR_GRACE_PERIOD] (default 10m0s)
  -metrics.rules.alert.for-outage-tolerance duration
    	Max time to tolerate Promscale outage for restoring "for" state of alert. [PROMSCALE_METRICS_RULES_ALERT_FOR_OUTAGE_TOLERANCE] (default 1h0m0s)
  -metrics.rules.alert.resend-delay duration
    	Minimum amount of time to wait before resending an alert to Alertmanager. [PROMSCALE_METRICS_RULES_ALERT_RESEND_DELAY] (default 1m0s)
  -metrics.rules.config-file rule_files
    	Path to configuration file in Prometheus-format, containing rule_files and optional `alerting`, `global` fields. For more details, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/. Note: If this is flag empty or `rule_files` is empty, Promscale rule-manager will not start. If `alertmanagers` is empty, alerting will not be initialized. [PROMSCALE_METRICS_RULES_CONFIG_FILE]
  -startup.dataset.config string
    	Dataset configuration in YAML format for Promscale. It is used for setting various dataset configuration like default metric chunk interval [PROMSCALE_STARTUP_DATASET_CONFIG]
  -startup.install-extensions
    	Install TimescaleDB, Promscale extension. [PROMSCALE_STARTUP_INSTALL_EXTENSIONS] (default true)
  -startup.only
    	Only run startup configuration with Promscale (i.e. migrate) and exit. Can be used to run promscale as an init container for HA setups. [PROMSCALE_STARTUP_ONLY]
  -startup.skip-migrate
    	Skip migrating Promscale SQL schema to latest version on startup. [PROMSCALE_STARTUP_SKIP_MIGRATE]
  -startup.upgrade-extensions
    	Upgrades TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_EXTENSIONS] (default true)
  -startup.upgrade-prerelease-extensions
    	Upgrades to pre-release TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS]
  -startup.use-schema-version-lease
    	Use schema version lease to prevent race conditions during migration. [PROMSCALE_STARTUP_USE_SCHEMA_VERSION_LEASE] (default true)
  -telemetry.log.format string
    	The log format to use [ 'logfmt', 'json' ]. [PROMSCALE_TELEMETRY_LOG_FORMAT] (default "logfmt")
  -telemetry.log.level string
    	Log level to use from [ 'error', 'warn', 'info', 'debug' ]. [PROMSCALE_TELEMETRY_LOG_LEVEL] (default "info")
  -telemetry.log.throughput-report-interval 0
    	Duration interval at which throughput should be reported. Setting duration to 0 will disable reporting throughput, otherwise, an interval with unit must be provided, e.g. `10s` or `3m`. [PROMSCALE_TELEMETRY_LOG_THROUGHPUT_REPORT_INTERVAL] (default 1s)
  -telemetry.trace.jaeger-endpoint string
    	Jaeger tracing collector thrift HTTP URL endpoint to send telemetry to (e.g. https://jaeger-collector:14268/api/traces). [PROMSCALE_TELEMETRY_TRACE_JAEGER_ENDPOINT]
  -telemetry.trace.otel-endpoint string
    	OpenTelemetry tracing collector GRPC URL endpoint to send telemetry to. (i.e. otel-collector:4317) [PROMSCALE_TELEMETRY_TRACE_OTEL_ENDPOINT]
  -telemetry.trace.otel-tls-cert-file string
    	TLS Certificate file used for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_CERT_FILE]
  -telemetry.trace.otel-tls-key-file string
    	TLS Key file for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_KEY_FILE]
  -telemetry.trace.sampling-ratio float
    	Trace sampling ratio, amount of spans to send to collector. Valid values from 0.0 (none) to 1.0 (all). [PROMSCALE_TELEMETRY_TRACE_SAMPLING_RATIO] (default 1)
  -thanos.store-api.server-address string
    	Address to listen on for Thanos Store API endpoints. [PROMSCALE_THANOS_STORE_API_SERVER_ADDRESS]
  -tracing.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of traces data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_TRACING_ASYNC_ACKS] (default true)
  -tracing.batch-timeout duration
    	Timeout after new trace batch is created [PROMSCALE_TRACING_BATCH_TIMEOUT] (default 100ms)
  -tracing.batch-workers int
    	Number of workers responsible for creating trace batches. Defaults to number of CPUs. [PROMSCALE_TRACING_BATCH_WORKERS] (default 6)
  -tracing.grpc.server-address string
    	GRPC server address to listen on for Jaeger and OTEL traces. [PROMSCALE_TRACING_GRPC_SERVER_ADDRESS] (default ":9202")
  -tracing.max-batch-size int
    	Maximum size of trace batch that is written to DB [PROMSCALE_TRACING_MAX_BATCH_SIZE] (default 1000)
  -tracing.max-trace-duration duration
    	Maximum duration of any trace in the system. This parameter is used to optimize queries. [PROMSCALE_TRACING_MAX_TRACE_DURATION] (default 1h0m0s)
  -tracing.otlp.server-address tracing.grpc.server-address
    	GRPC server address to listen on for Jaeger and OTEL traces(DEPRECATED: use tracing.grpc.server-address instead). [PROMSCALE_TRACING_OTLP_SERVER_ADDRESS] (default ":9202")
  -tracing.streaming-span-writer
    	StreamingSpanWriter for remote Jaeger grpc store. [PROMSCALE_TRACING_STREAMING_SPAN_WRITER] (default true)
  -vacuum.disable
    	disables the vacuum engine [PROMSCALE_VACUUM_DISABLE]
  -vacuum.parallelism int
    	the maximum number of goroutines/connections used to vacuum [PROMSCALE_VACUUM_PARALLELISM] (default 4)
  -vacuum.run-frequency duration
    	how often should the vacuum engine run [PROMSCALE_VACUUM_RUN_FREQUENCY] (default 10m0s)
  -web.auth.bearer-token string
    	Bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token-file and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN]
  -web.auth.bearer-token-file string
    	Path of the file containing the bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN_FILE]
  -web.auth.ignore-path value
    	HTTP paths which has to be skipped from authentication. This flag shall be repeated and each one would be appended to the ignore list. [PROMSCALE_WEB_AUTH_IGNORE_PATH]
  -web.auth.password string
    	Authentication password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password-file and bearer-token flags. [PROMSCALE_WEB_AUTH_PASSWORD]
  -web.auth.password-file string
    	Path for auth password file containing the actual password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password and bearer-token methods. [PROMSCALE_WEB_AUTH_PASSWORD_FILE]
  -web.auth.username string
    	Authentication username used for web endpoint authentication. Disabled by default. [PROMSCALE_WEB_AUTH_USERNAME]
  -web.cors-origin string
    	Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2)\.com' [PROMSCALE_WEB_CORS_ORIGIN] (default ".*")
  -web.enable-admin-api
    	Allow operations via API that are for advanced users. Currently, these operations are limited to deletion of series. [PROMSCALE_WEB_ENABLE_ADMIN_API]
  -web.listen-address string
    	Address to listen on for web endpoints. [PROMSCALE_WEB_LISTEN_ADDRESS] (default ":9201")
  -web.telemetry-path string
    	Web endpoint for exposing Promscale's Prometheus metrics. [PROMSCALE_WEB_TELEMETRY_PATH] (default "/metrics")
flag provided but not defined: -foo
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -app string
    	alias: db.app
  -async-acks string
    	alias: metrics.async-acks
  -auth-password string
    	alias: web.auth.password
  -auth-password-file string
    	alias: web.auth.password-file
  -auth-username string
    	alias: web.auth.username
  -bearer-token string
    	alias: web.auth.bearer-token
  -bearer-token-file string
    	alias: web.auth.bearer-token-file
  -config string
    	 (default "config.yml")
  -db-connection-timeout string
    	alias: db.connection-timeout
  -db-connections-max string
    	alias: db.connections-max
  -db-host string
    	alias: db.host
  -db-name string
    	alias: db.name
  -db-password string
    	alias: db.password
  -db-port string
    	alias: db.port
  -db-ssl-mode string
    	alias: db.ssl-mode
  -db-statements-cache string
    	alias: db.statements-cache
  -db-uri string
    	alias: db.uri
  -db-user string
    	alias: db.user
  -db-writer-connection-concurrency string
    	alias: db.num-writer-connections
  -exemplar-cache-size string
    	alias: metrics.cache.exemplar.size
  -high-availability string
    	alias: metrics.high-availability
  -ignore-samples-written-to-compressed-chunks string
    	alias: metrics.ignore-samples-written-to-compressed-chunks
  -install-extensions string
    	alias: startup.install-extensions
  -labels-cache-size string
    	alias: metrics.cache.labels.size
  -log-format string
    	alias: telemetry.log.format
  -log-level string
    	alias: telemetry.log.level
  -memory-target string
    	alias: cache.memory-target
  -metrics-cache-size string
    	alias: metrics.cache.metrics.size
  -migrate string
    	 (default "true")
  -multi-tenancy string
    	alias: metrics.multi-tenancy
  -multi-tenancy-allow-non-tenants string
    	alias: metrics.multi-tenancy.allow-non-tenants
  -multi-tenancy-valid-tenants string
    	alias: metrics.multi-tenancy.valid-tenants
  -otlp-grpc-server-listen-address string
    	alias: tracing.otlp.server-address
  -promql-default-subquery-step-interval string
    	alias: metrics.promql.default-subquery-step-interval
  -promql-lookback-delta string
    	alias: metrics.promql.lookback-delta
  -promql-max-points-per-ts string
    	alias: metrics.promql.max-points-per-ts
  -promql-max-samples string
    	alias: metrics.promql.max-samples
  -promql-query-timeout string
    	alias: metrics.promql.query-timeout
  -read-only string
    	alias: db.read-only
  -series-cache-initial-size string
    	alias: metrics.cache.series.initial-size
  -series-cache-max-bytes string
    	alias: metrics.cache.series.max-bytes
  -thanos-store-api-listen-address string
    	alias: thanos.store-api.server-address
  -tls-cert-file string
    	alias: auth.tls-cert-file
  -tls-key-file string
    	alias: auth.tls-key-file
  -tput-report string
    	alias: telemetry.log.throughput-report-interval
  -upgrade-extensions string
    	alias: startup.upgrade-extensions
  -upgrade-prerelease-extensions string
    	alias: startup.upgrade-prerelease-extensions
  -use-schema-version-lease string
    	alias: startup.use-schema-version-lease
  -web-cors-origin string
    	alias: web.cors-origin
  -web-enable-admin-api string
    	alias: web.enable-admin-api
  -web-listen-address string
    	alias: web.listen-address
  -web-telemetry-path string
    	alias: web.telemetry-path
=== RUN   TestParseFlags/Invalid_config_file
=== RUN   TestParseFlags/CORS_Origin_regex_error
=== RUN   TestParseFlags/Don't_migrate
=== RUN   TestParseFlags/test_removed_promql_flags
flag provided but not defined: -promql-enable-feature
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -auth.tls-cert-file string
    	TLS Certificate file used for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_CERT_FILE]
  -auth.tls-key-file string
    	TLS Key file for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_KEY_FILE]
  -cache.memory-target value
    	Target for max amount of memory to use. Specified in bytes or as a percentage of system memory (e.g. 80%). [PROMSCALE_CACHE_MEMORY_TARGET] (default 80%)
  -config string
    	YAML configuration file path for Promscale. [PROMSCALE_CONFIG] (default "config.yml")
  -db.app string
    	This sets the application_name in database connection string. This is helpful during debugging when looking at pg_stat_activity. [PROMSCALE_DB_APP] (default "promscale@0.17.0")
  -db.connection-timeout duration
    	Timeout for establishing the connection between Promscale and TimescaleDB. [PROMSCALE_DB_CONNECTION_TIMEOUT] (default 1m0s)
  -db.connections-max int
    	Maximum number of connections to the database that should be opened at once. It defaults to 80% of the maximum connections that the database can handle.  [PROMSCALE_DB_CONNECTIONS_MAX] (default -1)
  -db.connections.maint-pool.size int
    	Maximum size of the maintenance pool of database connections. This defaults to 5 [PROMSCALE_DB_CONNECTIONS_MAINT_POOL_SIZE] (default 5)
  -db.connections.num-writers int
    	Number of database connections for writing metrics/traces to database. By default, this will be set based on the number of CPUs available to the DB Promscale is connected to. [PROMSCALE_DB_CONNECTIONS_NUM_WRITERS]
  -db.connections.reader-pool.size int
    	Maximum size of the reader pool of database connections. This defaults to roughly 30% of max_connections allowed by the database. 50% in read-only mode [PROMSCALE_DB_CONNECTIONS_READER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.size int
    	Maximum size of the writer pool of database connections. This defaults to 50% of max_connections allowed by the database. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.synchronous-commit
    	Enable/disable synchronous_commit on database connections in the writer pool. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SYNCHRONOUS_COMMIT]
  -db.host string
    	Host for TimescaleDB. [PROMSCALE_DB_HOST] (default "localhost")
  -db.name string
    	Database name. [PROMSCALE_DB_NAME] (default "timescale")
  -db.password string
    	Password for connecting to TimescaleDB. [PROMSCALE_DB_PASSWORD]
  -db.port int
    	Port for TimescaleDB. [PROMSCALE_DB_PORT] (default 5432)
  -db.read-only
    	Read-only mode for the connector. Operations related to writing or updating the database are disallowed. It is used when pointing the connector to a TimescaleDB read replica. [PROMSCALE_DB_READ_ONLY]
  -db.ssl-mode string
    	TimescaleDB connection ssl mode. If you do not want to use ssl, pass 'allow' as value. [PROMSCALE_DB_SSL_MODE] (default "require")
  -db.statements-cache
    	Whether database connection pool should use cached prepared statements. Disable if using PgBouncer [PROMSCALE_DB_STATEMENTS_CACHE] (default true)
  -db.uri postgres://postgres:password@localhost:5432/timescale?sslmode=require
    	TimescaleDB URI. Example DB URI postgres://postgres:password@localhost:5432/timescale?sslmode=require [PROMSCALE_DB_URI]
  -db.user string
    	TimescaleDB user. [PROMSCALE_DB_USER] (default "postgres")
  -enable-feature value
    	Enable beta/experimental features as a comma-separated list. Currently the following values can be passed: promql-at-modifier, promql-negative-offset, promql-per-step-stats [PROMSCALE_ENABLE_FEATURE]
  -metrics.alertmanager.notification-queue-capacity int
    	The capacity of the queue for pending Alertmanager notifications. [PROMSCALE_METRICS_ALERTMANAGER_NOTIFICATION_QUEUE_CAPACITY] (default 10000)
  -metrics.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of metric data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_METRICS_ASYNC_ACKS]
  -metrics.cache.exemplar.size uint
    	Maximum number of exemplar metrics key-position to cache. It has one-to-one mapping with number of metrics that have exemplar, as key positions are saved per metric basis. [PROMSCALE_METRICS_CACHE_EXEMPLAR_SIZE] (default 10000)
  -metrics.cache.inverted-labels.max-bytes value
    	Initial size of elements in the invreted labels cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_MAX_BYTES] (default 10%)
  -metrics.cache.inverted-labels.size uint
    	Maximum number of label-ids to cache. This helps increase ingest performance. [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_SIZE] (default 500000)
  -metrics.cache.labels.size uint
    	Maximum number of labels to cache. [PROMSCALE_METRICS_CACHE_LABELS_SIZE] (default 100000)
  -metrics.cache.metrics.size uint
    	Maximum number of metric names to cache. [PROMSCALE_METRICS_CACHE_METRICS_SIZE] (default 10000)
  -metrics.cache.series.initial-size uint
    	Maximum number of series to cache. [PROMSCALE_METRICS_CACHE_SERIES_INITIAL_SIZE] (default 1000000)
  -metrics.cache.series.max-bytes value
    	Initial number of elements in the series cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_SERIES_MAX_BYTES] (default 50%)
  -metrics.high-availability
    	Enable external_labels based HA. [PROMSCALE_METRICS_HIGH_AVAILABILITY]
  -metrics.ignore-samples-written-to-compressed-chunks
    	Ignore/drop samples that are being written to compressed chunks. Setting this to false allows Promscale to ingest older data by decompressing chunks that were earlier compressed. However, setting this to true will save your resources that may be required during decompression.  [PROMSCALE_METRICS_IGNORE_SAMPLES_WRITTEN_TO_COMPRESSED_CHUNKS]
  -metrics.multi-tenancy
    	Use multi-tenancy mode in Promscale. [PROMSCALE_METRICS_MULTI_TENANCY]
  -metrics.multi-tenancy.allow-non-tenants
    	Allow Promscale to ingest/query all tenants as well as non-tenants. By setting this to true, Promscale will ingest data from non multi-tenant Prometheus instances as well. If this is false, only multi-tenants (tenants listed in 'multi-tenancy-valid-tenants') are allowed for ingesting and querying data. [PROMSCALE_METRICS_MULTI_TENANCY_ALLOW_NON_TENANTS]
  -metrics.multi-tenancy.experimental.label-queries
    	[EXPERIMENTAL] Use label queries that returns labels of authorized tenants only. This may affect system performance while running PromQL queries. By default this is enabled in -metrics.multi-tenancy mode. [PROMSCALE_METRICS_MULTI_TENANCY_EXPERIMENTAL_LABEL_QUERIES] (default true)
  -metrics.multi-tenancy.valid-tenants string
    	Sets valid tenants that are allowed to be ingested/queried from Promscale. This can be set as: 'allow-all' (default) or a comma separated tenant names. 'allow-all' makes Promscale ingest or query any tenant from itself. A comma separated list will indicate only those tenants that are authorized for operations from Promscale. [PROMSCALE_METRICS_MULTI_TENANCY_VALID_TENANTS] (default "allow-all")
  -metrics.promql.default-subquery-step-interval duration
    	Default step interval to be used for PromQL subquery evaluation. This value is used if the subquery does not specify the step value explicitly. Example: [30m:]. Note: in Prometheus this setting is set by the evaluation_interval option. [PROMSCALE_METRICS_PROMQL_DEFAULT_SUBQUERY_STEP_INTERVAL] (default 1m0s)
  -metrics.promql.lookback-delta duration
    	Maximum lookback duration for retrieving metrics during expression evaluations and federation. [PROMSCALE_METRICS_PROMQL_LOOKBACK_DELTA] (default 5m0s)
  -metrics.promql.max-points-per-ts int
    	Maximum number of points per time-series in a query-range request. This calculation is an estimation, that happens as (start - end)/step where start and end are the 'start' and 'end' timestamps of the query_range. [PROMSCALE_METRICS_PROMQL_MAX_POINTS_PER_TS] (default 11000)
  -metrics.promql.max-samples int
    	Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can return. [PROMSCALE_METRICS_PROMQL_MAX_SAMPLES] (default 50000000)
  -metrics.promql.query-timeout duration
    	Maximum time a query may take before being aborted. This option sets both the default and maximum value of the 'timeout' parameter in '/api/v1/query.*' endpoints. [PROMSCALE_METRICS_PROMQL_QUERY_TIMEOUT] (default 2m0s)
  -metrics.rules.alert.for-grace-period duration
    	Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period. [PROMSCALE_METRICS_RULES_ALERT_FOR_GRACE_PERIOD] (default 10m0s)
  -metrics.rules.alert.for-outage-tolerance duration
    	Max time to tolerate Promscale outage for restoring "for" state of alert. [PROMSCALE_METRICS_RULES_ALERT_FOR_OUTAGE_TOLERANCE] (default 1h0m0s)
  -metrics.rules.alert.resend-delay duration
    	Minimum amount of time to wait before resending an alert to Alertmanager. [PROMSCALE_METRICS_RULES_ALERT_RESEND_DELAY] (default 1m0s)
  -metrics.rules.config-file rule_files
    	Path to configuration file in Prometheus-format, containing rule_files and optional `alerting`, `global` fields. For more details, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/. Note: If this is flag empty or `rule_files` is empty, Promscale rule-manager will not start. If `alertmanagers` is empty, alerting will not be initialized. [PROMSCALE_METRICS_RULES_CONFIG_FILE]
  -startup.dataset.config string
    	Dataset configuration in YAML format for Promscale. It is used for setting various dataset configuration like default metric chunk interval [PROMSCALE_STARTUP_DATASET_CONFIG]
  -startup.install-extensions
    	Install TimescaleDB, Promscale extension. [PROMSCALE_STARTUP_INSTALL_EXTENSIONS] (default true)
  -startup.only
    	Only run startup configuration with Promscale (i.e. migrate) and exit. Can be used to run promscale as an init container for HA setups. [PROMSCALE_STARTUP_ONLY]
  -startup.skip-migrate
    	Skip migrating Promscale SQL schema to latest version on startup. [PROMSCALE_STARTUP_SKIP_MIGRATE]
  -startup.upgrade-extensions
    	Upgrades TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_EXTENSIONS] (default true)
  -startup.upgrade-prerelease-extensions
    	Upgrades to pre-release TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS]
  -startup.use-schema-version-lease
    	Use schema version lease to prevent race conditions during migration. [PROMSCALE_STARTUP_USE_SCHEMA_VERSION_LEASE] (default true)
  -telemetry.log.format string
    	The log format to use [ 'logfmt', 'json' ]. [PROMSCALE_TELEMETRY_LOG_FORMAT] (default "logfmt")
  -telemetry.log.level string
    	Log level to use from [ 'error', 'warn', 'info', 'debug' ]. [PROMSCALE_TELEMETRY_LOG_LEVEL] (default "info")
  -telemetry.log.throughput-report-interval 0
    	Duration interval at which throughput should be reported. Setting duration to 0 will disable reporting throughput, otherwise, an interval with unit must be provided, e.g. `10s` or `3m`. [PROMSCALE_TELEMETRY_LOG_THROUGHPUT_REPORT_INTERVAL] (default 1s)
  -telemetry.trace.jaeger-endpoint string
    	Jaeger tracing collector thrift HTTP URL endpoint to send telemetry to (e.g. https://jaeger-collector:14268/api/traces). [PROMSCALE_TELEMETRY_TRACE_JAEGER_ENDPOINT]
  -telemetry.trace.otel-endpoint string
    	OpenTelemetry tracing collector GRPC URL endpoint to send telemetry to. (i.e. otel-collector:4317) [PROMSCALE_TELEMETRY_TRACE_OTEL_ENDPOINT]
  -telemetry.trace.otel-tls-cert-file string
    	TLS Certificate file used for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_CERT_FILE]
  -telemetry.trace.otel-tls-key-file string
    	TLS Key file for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_KEY_FILE]
  -telemetry.trace.sampling-ratio float
    	Trace sampling ratio, amount of spans to send to collector. Valid values from 0.0 (none) to 1.0 (all). [PROMSCALE_TELEMETRY_TRACE_SAMPLING_RATIO] (default 1)
  -thanos.store-api.server-address string
    	Address to listen on for Thanos Store API endpoints. [PROMSCALE_THANOS_STORE_API_SERVER_ADDRESS]
  -tracing.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of traces data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_TRACING_ASYNC_ACKS] (default true)
  -tracing.batch-timeout duration
    	Timeout after new trace batch is created [PROMSCALE_TRACING_BATCH_TIMEOUT] (default 100ms)
  -tracing.batch-workers int
    	Number of workers responsible for creating trace batches. Defaults to number of CPUs. [PROMSCALE_TRACING_BATCH_WORKERS] (default 6)
  -tracing.grpc.server-address string
    	GRPC server address to listen on for Jaeger and OTEL traces. [PROMSCALE_TRACING_GRPC_SERVER_ADDRESS] (default ":9202")
  -tracing.max-batch-size int
    	Maximum size of trace batch that is written to DB [PROMSCALE_TRACING_MAX_BATCH_SIZE] (default 1000)
  -tracing.max-trace-duration duration
    	Maximum duration of any trace in the system. This parameter is used to optimize queries. [PROMSCALE_TRACING_MAX_TRACE_DURATION] (default 1h0m0s)
  -tracing.otlp.server-address tracing.grpc.server-address
    	GRPC server address to listen on for Jaeger and OTEL traces(DEPRECATED: use tracing.grpc.server-address instead). [PROMSCALE_TRACING_OTLP_SERVER_ADDRESS] (default ":9202")
  -tracing.streaming-span-writer
    	StreamingSpanWriter for remote Jaeger grpc store. [PROMSCALE_TRACING_STREAMING_SPAN_WRITER] (default true)
  -vacuum.disable
    	disables the vacuum engine [PROMSCALE_VACUUM_DISABLE]
  -vacuum.parallelism int
    	the maximum number of goroutines/connections used to vacuum [PROMSCALE_VACUUM_PARALLELISM] (default 4)
  -vacuum.run-frequency duration
    	how often should the vacuum engine run [PROMSCALE_VACUUM_RUN_FREQUENCY] (default 10m0s)
  -web.auth.bearer-token string
    	Bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token-file and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN]
  -web.auth.bearer-token-file string
    	Path of the file containing the bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN_FILE]
  -web.auth.ignore-path value
    	HTTP paths which has to be skipped from authentication. This flag shall be repeated and each one would be appended to the ignore list. [PROMSCALE_WEB_AUTH_IGNORE_PATH]
  -web.auth.password string
    	Authentication password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password-file and bearer-token flags. [PROMSCALE_WEB_AUTH_PASSWORD]
  -web.auth.password-file string
    	Path for auth password file containing the actual password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password and bearer-token methods. [PROMSCALE_WEB_AUTH_PASSWORD_FILE]
  -web.auth.username string
    	Authentication username used for web endpoint authentication. Disabled by default. [PROMSCALE_WEB_AUTH_USERNAME]
  -web.cors-origin string
    	Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2)\.com' [PROMSCALE_WEB_CORS_ORIGIN] (default ".*")
  -web.enable-admin-api
    	Allow operations via API that are for advanced users. Currently, these operations are limited to deletion of series. [PROMSCALE_WEB_ENABLE_ADMIN_API]
  -web.listen-address string
    	Address to listen on for web endpoints. [PROMSCALE_WEB_LISTEN_ADDRESS] (default ":9201")
  -web.telemetry-path string
    	Web endpoint for exposing Promscale's Prometheus metrics. [PROMSCALE_WEB_TELEMETRY_PATH] (default "/metrics")
flag provided but not defined: -promql-enable-feature
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -app string
    	alias: db.app
  -async-acks string
    	alias: metrics.async-acks
  -auth-password string
    	alias: web.auth.password
  -auth-password-file string
    	alias: web.auth.password-file
  -auth-username string
    	alias: web.auth.username
  -bearer-token string
    	alias: web.auth.bearer-token
  -bearer-token-file string
    	alias: web.auth.bearer-token-file
  -config string
    	 (default "config.yml")
  -db-connection-timeout string
    	alias: db.connection-timeout
  -db-connections-max string
    	alias: db.connections-max
  -db-host string
    	alias: db.host
  -db-name string
    	alias: db.name
  -db-password string
    	alias: db.password
  -db-port string
    	alias: db.port
  -db-ssl-mode string
    	alias: db.ssl-mode
  -db-statements-cache string
    	alias: db.statements-cache
  -db-uri string
    	alias: db.uri
  -db-user string
    	alias: db.user
  -db-writer-connection-concurrency string
    	alias: db.num-writer-connections
  -exemplar-cache-size string
    	alias: metrics.cache.exemplar.size
  -high-availability string
    	alias: metrics.high-availability
  -ignore-samples-written-to-compressed-chunks string
    	alias: metrics.ignore-samples-written-to-compressed-chunks
  -install-extensions string
    	alias: startup.install-extensions
  -labels-cache-size string
    	alias: metrics.cache.labels.size
  -log-format string
    	alias: telemetry.log.format
  -log-level string
    	alias: telemetry.log.level
  -memory-target string
    	alias: cache.memory-target
  -metrics-cache-size string
    	alias: metrics.cache.metrics.size
  -migrate string
    	 (default "true")
  -multi-tenancy string
    	alias: metrics.multi-tenancy
  -multi-tenancy-allow-non-tenants string
    	alias: metrics.multi-tenancy.allow-non-tenants
  -multi-tenancy-valid-tenants string
    	alias: metrics.multi-tenancy.valid-tenants
  -otlp-grpc-server-listen-address string
    	alias: tracing.otlp.server-address
  -promql-default-subquery-step-interval string
    	alias: metrics.promql.default-subquery-step-interval
  -promql-lookback-delta string
    	alias: metrics.promql.lookback-delta
  -promql-max-points-per-ts string
    	alias: metrics.promql.max-points-per-ts
  -promql-max-samples string
    	alias: metrics.promql.max-samples
  -promql-query-timeout string
    	alias: metrics.promql.query-timeout
  -read-only string
    	alias: db.read-only
  -series-cache-initial-size string
    	alias: metrics.cache.series.initial-size
  -series-cache-max-bytes string
    	alias: metrics.cache.series.max-bytes
  -thanos-store-api-listen-address string
    	alias: thanos.store-api.server-address
  -tls-cert-file string
    	alias: auth.tls-cert-file
  -tls-key-file string
    	alias: auth.tls-key-file
  -tput-report string
    	alias: telemetry.log.throughput-report-interval
  -upgrade-extensions string
    	alias: startup.upgrade-extensions
  -upgrade-prerelease-extensions string
    	alias: startup.upgrade-prerelease-extensions
  -use-schema-version-lease string
    	alias: startup.use-schema-version-lease
  -web-cors-origin string
    	alias: web.cors-origin
  -web-enable-admin-api string
    	alias: web.enable-admin-api
  -web-listen-address string
    	alias: web.listen-address
  -web-telemetry-path string
    	alias: web.telemetry-path
=== RUN   TestParseFlags/enable_disabled-features
=== RUN   TestParseFlags/Old_migrate_flag
flag provided but not defined: -migrate
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -auth.tls-cert-file string
    	TLS Certificate file used for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_CERT_FILE]
  -auth.tls-key-file string
    	TLS Key file for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_KEY_FILE]
  -cache.memory-target value
    	Target for max amount of memory to use. Specified in bytes or as a percentage of system memory (e.g. 80%). [PROMSCALE_CACHE_MEMORY_TARGET] (default 80%)
  -config string
    	YAML configuration file path for Promscale. [PROMSCALE_CONFIG] (default "config.yml")
  -db.app string
    	This sets the application_name in database connection string. This is helpful during debugging when looking at pg_stat_activity. [PROMSCALE_DB_APP] (default "promscale@0.17.0")
  -db.connection-timeout duration
    	Timeout for establishing the connection between Promscale and TimescaleDB. [PROMSCALE_DB_CONNECTION_TIMEOUT] (default 1m0s)
  -db.connections-max int
    	Maximum number of connections to the database that should be opened at once. It defaults to 80% of the maximum connections that the database can handle.  [PROMSCALE_DB_CONNECTIONS_MAX] (default -1)
  -db.connections.maint-pool.size int
    	Maximum size of the maintenance pool of database connections. This defaults to 5 [PROMSCALE_DB_CONNECTIONS_MAINT_POOL_SIZE] (default 5)
  -db.connections.num-writers int
    	Number of database connections for writing metrics/traces to database. By default, this will be set based on the number of CPUs available to the DB Promscale is connected to. [PROMSCALE_DB_CONNECTIONS_NUM_WRITERS]
  -db.connections.reader-pool.size int
    	Maximum size of the reader pool of database connections. This defaults to roughly 30% of max_connections allowed by the database. 50% in read-only mode [PROMSCALE_DB_CONNECTIONS_READER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.size int
    	Maximum size of the writer pool of database connections. This defaults to 50% of max_connections allowed by the database. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.synchronous-commit
    	Enable/disable synchronous_commit on database connections in the writer pool. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SYNCHRONOUS_COMMIT]
  -db.host string
    	Host for TimescaleDB. [PROMSCALE_DB_HOST] (default "localhost")
  -db.name string
    	Database name. [PROMSCALE_DB_NAME] (default "timescale")
  -db.password string
    	Password for connecting to TimescaleDB. [PROMSCALE_DB_PASSWORD]
  -db.port int
    	Port for TimescaleDB. [PROMSCALE_DB_PORT] (default 5432)
  -db.read-only
    	Read-only mode for the connector. Operations related to writing or updating the database are disallowed. It is used when pointing the connector to a TimescaleDB read replica. [PROMSCALE_DB_READ_ONLY]
  -db.ssl-mode string
    	TimescaleDB connection ssl mode. If you do not want to use ssl, pass 'allow' as value. [PROMSCALE_DB_SSL_MODE] (default "require")
  -db.statements-cache
    	Whether database connection pool should use cached prepared statements. Disable if using PgBouncer [PROMSCALE_DB_STATEMENTS_CACHE] (default true)
  -db.uri postgres://postgres:password@localhost:5432/timescale?sslmode=require
    	TimescaleDB URI. Example DB URI postgres://postgres:password@localhost:5432/timescale?sslmode=require [PROMSCALE_DB_URI]
  -db.user string
    	TimescaleDB user. [PROMSCALE_DB_USER] (default "postgres")
  -enable-feature value
    	Enable beta/experimental features as a comma-separated list. Currently the following values can be passed: promql-at-modifier, promql-negative-offset, promql-per-step-stats [PROMSCALE_ENABLE_FEATURE]
  -metrics.alertmanager.notification-queue-capacity int
    	The capacity of the queue for pending Alertmanager notifications. [PROMSCALE_METRICS_ALERTMANAGER_NOTIFICATION_QUEUE_CAPACITY] (default 10000)
  -metrics.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of metric data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_METRICS_ASYNC_ACKS]
  -metrics.cache.exemplar.size uint
    	Maximum number of exemplar metrics key-position to cache. It has one-to-one mapping with number of metrics that have exemplar, as key positions are saved per metric basis. [PROMSCALE_METRICS_CACHE_EXEMPLAR_SIZE] (default 10000)
  -metrics.cache.inverted-labels.max-bytes value
    	Initial size of elements in the invreted labels cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_MAX_BYTES] (default 10%)
  -metrics.cache.inverted-labels.size uint
    	Maximum number of label-ids to cache. This helps increase ingest performance. [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_SIZE] (default 500000)
  -metrics.cache.labels.size uint
    	Maximum number of labels to cache. [PROMSCALE_METRICS_CACHE_LABELS_SIZE] (default 100000)
  -metrics.cache.metrics.size uint
    	Maximum number of metric names to cache. [PROMSCALE_METRICS_CACHE_METRICS_SIZE] (default 10000)
  -metrics.cache.series.initial-size uint
    	Maximum number of series to cache. [PROMSCALE_METRICS_CACHE_SERIES_INITIAL_SIZE] (default 1000000)
  -metrics.cache.series.max-bytes value
    	Initial number of elements in the series cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_SERIES_MAX_BYTES] (default 50%)
  -metrics.high-availability
    	Enable external_labels based HA. [PROMSCALE_METRICS_HIGH_AVAILABILITY]
  -metrics.ignore-samples-written-to-compressed-chunks
    	Ignore/drop samples that are being written to compressed chunks. Setting this to false allows Promscale to ingest older data by decompressing chunks that were earlier compressed. However, setting this to true will save your resources that may be required during decompression.  [PROMSCALE_METRICS_IGNORE_SAMPLES_WRITTEN_TO_COMPRESSED_CHUNKS]
  -metrics.multi-tenancy
    	Use multi-tenancy mode in Promscale. [PROMSCALE_METRICS_MULTI_TENANCY]
  -metrics.multi-tenancy.allow-non-tenants
    	Allow Promscale to ingest/query all tenants as well as non-tenants. By setting this to true, Promscale will ingest data from non multi-tenant Prometheus instances as well. If this is false, only multi-tenants (tenants listed in 'multi-tenancy-valid-tenants') are allowed for ingesting and querying data. [PROMSCALE_METRICS_MULTI_TENANCY_ALLOW_NON_TENANTS]
  -metrics.multi-tenancy.experimental.label-queries
    	[EXPERIMENTAL] Use label queries that returns labels of authorized tenants only. This may affect system performance while running PromQL queries. By default this is enabled in -metrics.multi-tenancy mode. [PROMSCALE_METRICS_MULTI_TENANCY_EXPERIMENTAL_LABEL_QUERIES] (default true)
  -metrics.multi-tenancy.valid-tenants string
    	Sets valid tenants that are allowed to be ingested/queried from Promscale. This can be set as: 'allow-all' (default) or a comma separated tenant names. 'allow-all' makes Promscale ingest or query any tenant from itself. A comma separated list will indicate only those tenants that are authorized for operations from Promscale. [PROMSCALE_METRICS_MULTI_TENANCY_VALID_TENANTS] (default "allow-all")
  -metrics.promql.default-subquery-step-interval duration
    	Default step interval to be used for PromQL subquery evaluation. This value is used if the subquery does not specify the step value explicitly. Example: [30m:]. Note: in Prometheus this setting is set by the evaluation_interval option. [PROMSCALE_METRICS_PROMQL_DEFAULT_SUBQUERY_STEP_INTERVAL] (default 1m0s)
  -metrics.promql.lookback-delta duration
    	Maximum lookback duration for retrieving metrics during expression evaluations and federation. [PROMSCALE_METRICS_PROMQL_LOOKBACK_DELTA] (default 5m0s)
  -metrics.promql.max-points-per-ts int
    	Maximum number of points per time-series in a query-range request. This calculation is an estimation, that happens as (start - end)/step where start and end are the 'start' and 'end' timestamps of the query_range. [PROMSCALE_METRICS_PROMQL_MAX_POINTS_PER_TS] (default 11000)
  -metrics.promql.max-samples int
    	Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can return. [PROMSCALE_METRICS_PROMQL_MAX_SAMPLES] (default 50000000)
  -metrics.promql.query-timeout duration
    	Maximum time a query may take before being aborted. This option sets both the default and maximum value of the 'timeout' parameter in '/api/v1/query.*' endpoints. [PROMSCALE_METRICS_PROMQL_QUERY_TIMEOUT] (default 2m0s)
  -metrics.rules.alert.for-grace-period duration
    	Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period. [PROMSCALE_METRICS_RULES_ALERT_FOR_GRACE_PERIOD] (default 10m0s)
  -metrics.rules.alert.for-outage-tolerance duration
    	Max time to tolerate Promscale outage for restoring "for" state of alert. [PROMSCALE_METRICS_RULES_ALERT_FOR_OUTAGE_TOLERANCE] (default 1h0m0s)
  -metrics.rules.alert.resend-delay duration
    	Minimum amount of time to wait before resending an alert to Alertmanager. [PROMSCALE_METRICS_RULES_ALERT_RESEND_DELAY] (default 1m0s)
  -metrics.rules.config-file rule_files
    	Path to configuration file in Prometheus-format, containing rule_files and optional `alerting`, `global` fields. For more details, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/. Note: If this is flag empty or `rule_files` is empty, Promscale rule-manager will not start. If `alertmanagers` is empty, alerting will not be initialized. [PROMSCALE_METRICS_RULES_CONFIG_FILE]
  -startup.dataset.config string
    	Dataset configuration in YAML format for Promscale. It is used for setting various dataset configuration like default metric chunk interval [PROMSCALE_STARTUP_DATASET_CONFIG]
  -startup.install-extensions
    	Install TimescaleDB, Promscale extension. [PROMSCALE_STARTUP_INSTALL_EXTENSIONS] (default true)
  -startup.only
    	Only run startup configuration with Promscale (i.e. migrate) and exit. Can be used to run promscale as an init container for HA setups. [PROMSCALE_STARTUP_ONLY]
  -startup.skip-migrate
    	Skip migrating Promscale SQL schema to latest version on startup. [PROMSCALE_STARTUP_SKIP_MIGRATE]
  -startup.upgrade-extensions
    	Upgrades TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_EXTENSIONS] (default true)
  -startup.upgrade-prerelease-extensions
    	Upgrades to pre-release TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS]
  -startup.use-schema-version-lease
    	Use schema version lease to prevent race conditions during migration. [PROMSCALE_STARTUP_USE_SCHEMA_VERSION_LEASE] (default true)
  -telemetry.log.format string
    	The log format to use [ 'logfmt', 'json' ]. [PROMSCALE_TELEMETRY_LOG_FORMAT] (default "logfmt")
  -telemetry.log.level string
    	Log level to use from [ 'error', 'warn', 'info', 'debug' ]. [PROMSCALE_TELEMETRY_LOG_LEVEL] (default "info")
  -telemetry.log.throughput-report-interval 0
    	Duration interval at which throughput should be reported. Setting duration to 0 will disable reporting throughput, otherwise, an interval with unit must be provided, e.g. `10s` or `3m`. [PROMSCALE_TELEMETRY_LOG_THROUGHPUT_REPORT_INTERVAL] (default 1s)
  -telemetry.trace.jaeger-endpoint string
    	Jaeger tracing collector thrift HTTP URL endpoint to send telemetry to (e.g. https://jaeger-collector:14268/api/traces). [PROMSCALE_TELEMETRY_TRACE_JAEGER_ENDPOINT]
  -telemetry.trace.otel-endpoint string
    	OpenTelemetry tracing collector GRPC URL endpoint to send telemetry to. (i.e. otel-collector:4317) [PROMSCALE_TELEMETRY_TRACE_OTEL_ENDPOINT]
  -telemetry.trace.otel-tls-cert-file string
    	TLS Certificate file used for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_CERT_FILE]
  -telemetry.trace.otel-tls-key-file string
    	TLS Key file for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_KEY_FILE]
  -telemetry.trace.sampling-ratio float
    	Trace sampling ratio, amount of spans to send to collector. Valid values from 0.0 (none) to 1.0 (all). [PROMSCALE_TELEMETRY_TRACE_SAMPLING_RATIO] (default 1)
  -thanos.store-api.server-address string
    	Address to listen on for Thanos Store API endpoints. [PROMSCALE_THANOS_STORE_API_SERVER_ADDRESS]
  -tracing.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of traces data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_TRACING_ASYNC_ACKS] (default true)
  -tracing.batch-timeout duration
    	Timeout after new trace batch is created [PROMSCALE_TRACING_BATCH_TIMEOUT] (default 100ms)
  -tracing.batch-workers int
    	Number of workers responsible for creating trace batches. Defaults to number of CPUs. [PROMSCALE_TRACING_BATCH_WORKERS] (default 6)
  -tracing.grpc.server-address string
    	GRPC server address to listen on for Jaeger and OTEL traces. [PROMSCALE_TRACING_GRPC_SERVER_ADDRESS] (default ":9202")
  -tracing.max-batch-size int
    	Maximum size of trace batch that is written to DB [PROMSCALE_TRACING_MAX_BATCH_SIZE] (default 1000)
  -tracing.max-trace-duration duration
    	Maximum duration of any trace in the system. This parameter is used to optimize queries. [PROMSCALE_TRACING_MAX_TRACE_DURATION] (default 1h0m0s)
  -tracing.otlp.server-address tracing.grpc.server-address
    	GRPC server address to listen on for Jaeger and OTEL traces(DEPRECATED: use tracing.grpc.server-address instead). [PROMSCALE_TRACING_OTLP_SERVER_ADDRESS] (default ":9202")
  -tracing.streaming-span-writer
    	StreamingSpanWriter for remote Jaeger grpc store. [PROMSCALE_TRACING_STREAMING_SPAN_WRITER] (default true)
  -vacuum.disable
    	disables the vacuum engine [PROMSCALE_VACUUM_DISABLE]
  -vacuum.parallelism int
    	the maximum number of goroutines/connections used to vacuum [PROMSCALE_VACUUM_PARALLELISM] (default 4)
  -vacuum.run-frequency duration
    	how often should the vacuum engine run [PROMSCALE_VACUUM_RUN_FREQUENCY] (default 10m0s)
  -web.auth.bearer-token string
    	Bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token-file and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN]
  -web.auth.bearer-token-file string
    	Path of the file containing the bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN_FILE]
  -web.auth.ignore-path value
    	HTTP paths which has to be skipped from authentication. This flag shall be repeated and each one would be appended to the ignore list. [PROMSCALE_WEB_AUTH_IGNORE_PATH]
  -web.auth.password string
    	Authentication password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password-file and bearer-token flags. [PROMSCALE_WEB_AUTH_PASSWORD]
  -web.auth.password-file string
    	Path for auth password file containing the actual password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password and bearer-token methods. [PROMSCALE_WEB_AUTH_PASSWORD_FILE]
  -web.auth.username string
    	Authentication username used for web endpoint authentication. Disabled by default. [PROMSCALE_WEB_AUTH_USERNAME]
  -web.cors-origin string
    	Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2)\.com' [PROMSCALE_WEB_CORS_ORIGIN] (default ".*")
  -web.enable-admin-api
    	Allow operations via API that are for advanced users. Currently, these operations are limited to deletion of series. [PROMSCALE_WEB_ENABLE_ADMIN_API]
  -web.listen-address string
    	Address to listen on for web endpoints. [PROMSCALE_WEB_LISTEN_ADDRESS] (default ":9201")
  -web.telemetry-path string
    	Web endpoint for exposing Promscale's Prometheus metrics. [PROMSCALE_WEB_TELEMETRY_PATH] (default "/metrics")
=== RUN   TestParseFlags/Invalid_migrate_option
flag provided but not defined: -migrate
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -auth.tls-cert-file string
    	TLS Certificate file used for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_CERT_FILE]
  -auth.tls-key-file string
    	TLS Key file for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_KEY_FILE]
  -cache.memory-target value
    	Target for max amount of memory to use. Specified in bytes or as a percentage of system memory (e.g. 80%). [PROMSCALE_CACHE_MEMORY_TARGET] (default 80%)
  -config string
    	YAML configuration file path for Promscale. [PROMSCALE_CONFIG] (default "config.yml")
  -db.app string
    	This sets the application_name in database connection string. This is helpful during debugging when looking at pg_stat_activity. [PROMSCALE_DB_APP] (default "promscale@0.17.0")
  -db.connection-timeout duration
    	Timeout for establishing the connection between Promscale and TimescaleDB. [PROMSCALE_DB_CONNECTION_TIMEOUT] (default 1m0s)
  -db.connections-max int
    	Maximum number of connections to the database that should be opened at once. It defaults to 80% of the maximum connections that the database can handle.  [PROMSCALE_DB_CONNECTIONS_MAX] (default -1)
  -db.connections.maint-pool.size int
    	Maximum size of the maintenance pool of database connections. This defaults to 5 [PROMSCALE_DB_CONNECTIONS_MAINT_POOL_SIZE] (default 5)
  -db.connections.num-writers int
    	Number of database connections for writing metrics/traces to database. By default, this will be set based on the number of CPUs available to the DB Promscale is connected to. [PROMSCALE_DB_CONNECTIONS_NUM_WRITERS]
  -db.connections.reader-pool.size int
    	Maximum size of the reader pool of database connections. This defaults to roughly 30% of max_connections allowed by the database. 50% in read-only mode [PROMSCALE_DB_CONNECTIONS_READER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.size int
    	Maximum size of the writer pool of database connections. This defaults to 50% of max_connections allowed by the database. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.synchronous-commit
    	Enable/disable synchronous_commit on database connections in the writer pool. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SYNCHRONOUS_COMMIT]
  -db.host string
    	Host for TimescaleDB. [PROMSCALE_DB_HOST] (default "localhost")
  -db.name string
    	Database name. [PROMSCALE_DB_NAME] (default "timescale")
  -db.password string
    	Password for connecting to TimescaleDB. [PROMSCALE_DB_PASSWORD]
  -db.port int
    	Port for TimescaleDB. [PROMSCALE_DB_PORT] (default 5432)
  -db.read-only
    	Read-only mode for the connector. Operations related to writing or updating the database are disallowed. It is used when pointing the connector to a TimescaleDB read replica. [PROMSCALE_DB_READ_ONLY]
  -db.ssl-mode string
    	TimescaleDB connection ssl mode. If you do not want to use ssl, pass 'allow' as value. [PROMSCALE_DB_SSL_MODE] (default "require")
  -db.statements-cache
    	Whether database connection pool should use cached prepared statements. Disable if using PgBouncer [PROMSCALE_DB_STATEMENTS_CACHE] (default true)
  -db.uri postgres://postgres:password@localhost:5432/timescale?sslmode=require
    	TimescaleDB URI. Example DB URI postgres://postgres:password@localhost:5432/timescale?sslmode=require [PROMSCALE_DB_URI]
  -db.user string
    	TimescaleDB user. [PROMSCALE_DB_USER] (default "postgres")
  -enable-feature value
    	Enable beta/experimental features as a comma-separated list. Currently the following values can be passed: promql-at-modifier, promql-negative-offset, promql-per-step-stats [PROMSCALE_ENABLE_FEATURE]
  -metrics.alertmanager.notification-queue-capacity int
    	The capacity of the queue for pending Alertmanager notifications. [PROMSCALE_METRICS_ALERTMANAGER_NOTIFICATION_QUEUE_CAPACITY] (default 10000)
  -metrics.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of metric data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_METRICS_ASYNC_ACKS]
  -metrics.cache.exemplar.size uint
    	Maximum number of exemplar metrics key-position to cache. It has one-to-one mapping with number of metrics that have exemplar, as key positions are saved per metric basis. [PROMSCALE_METRICS_CACHE_EXEMPLAR_SIZE] (default 10000)
  -metrics.cache.inverted-labels.max-bytes value
    	Initial size of elements in the invreted labels cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_MAX_BYTES] (default 10%)
  -metrics.cache.inverted-labels.size uint
    	Maximum number of label-ids to cache. This helps increase ingest performance. [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_SIZE] (default 500000)
  -metrics.cache.labels.size uint
    	Maximum number of labels to cache. [PROMSCALE_METRICS_CACHE_LABELS_SIZE] (default 100000)
  -metrics.cache.metrics.size uint
    	Maximum number of metric names to cache. [PROMSCALE_METRICS_CACHE_METRICS_SIZE] (default 10000)
  -metrics.cache.series.initial-size uint
    	Maximum number of series to cache. [PROMSCALE_METRICS_CACHE_SERIES_INITIAL_SIZE] (default 1000000)
  -metrics.cache.series.max-bytes value
    	Initial number of elements in the series cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_SERIES_MAX_BYTES] (default 50%)
  -metrics.high-availability
    	Enable external_labels based HA. [PROMSCALE_METRICS_HIGH_AVAILABILITY]
  -metrics.ignore-samples-written-to-compressed-chunks
    	Ignore/drop samples that are being written to compressed chunks. Setting this to false allows Promscale to ingest older data by decompressing chunks that were earlier compressed. However, setting this to true will save your resources that may be required during decompression.  [PROMSCALE_METRICS_IGNORE_SAMPLES_WRITTEN_TO_COMPRESSED_CHUNKS]
  -metrics.multi-tenancy
    	Use multi-tenancy mode in Promscale. [PROMSCALE_METRICS_MULTI_TENANCY]
  -metrics.multi-tenancy.allow-non-tenants
    	Allow Promscale to ingest/query all tenants as well as non-tenants. By setting this to true, Promscale will ingest data from non multi-tenant Prometheus instances as well. If this is false, only multi-tenants (tenants listed in 'multi-tenancy-valid-tenants') are allowed for ingesting and querying data. [PROMSCALE_METRICS_MULTI_TENANCY_ALLOW_NON_TENANTS]
  -metrics.multi-tenancy.experimental.label-queries
    	[EXPERIMENTAL] Use label queries that returns labels of authorized tenants only. This may affect system performance while running PromQL queries. By default this is enabled in -metrics.multi-tenancy mode. [PROMSCALE_METRICS_MULTI_TENANCY_EXPERIMENTAL_LABEL_QUERIES] (default true)
  -metrics.multi-tenancy.valid-tenants string
    	Sets valid tenants that are allowed to be ingested/queried from Promscale. This can be set as: 'allow-all' (default) or a comma separated tenant names. 'allow-all' makes Promscale ingest or query any tenant from itself. A comma separated list will indicate only those tenants that are authorized for operations from Promscale. [PROMSCALE_METRICS_MULTI_TENANCY_VALID_TENANTS] (default "allow-all")
  -metrics.promql.default-subquery-step-interval duration
    	Default step interval to be used for PromQL subquery evaluation. This value is used if the subquery does not specify the step value explicitly. Example: [30m:]. Note: in Prometheus this setting is set by the evaluation_interval option. [PROMSCALE_METRICS_PROMQL_DEFAULT_SUBQUERY_STEP_INTERVAL] (default 1m0s)
  -metrics.promql.lookback-delta duration
    	Maximum lookback duration for retrieving metrics during expression evaluations and federation. [PROMSCALE_METRICS_PROMQL_LOOKBACK_DELTA] (default 5m0s)
  -metrics.promql.max-points-per-ts int
    	Maximum number of points per time-series in a query-range request. This calculation is an estimation, that happens as (start - end)/step where start and end are the 'start' and 'end' timestamps of the query_range. [PROMSCALE_METRICS_PROMQL_MAX_POINTS_PER_TS] (default 11000)
  -metrics.promql.max-samples int
    	Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can return. [PROMSCALE_METRICS_PROMQL_MAX_SAMPLES] (default 50000000)
  -metrics.promql.query-timeout duration
    	Maximum time a query may take before being aborted. This option sets both the default and maximum value of the 'timeout' parameter in '/api/v1/query.*' endpoints. [PROMSCALE_METRICS_PROMQL_QUERY_TIMEOUT] (default 2m0s)
  -metrics.rules.alert.for-grace-period duration
    	Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period. [PROMSCALE_METRICS_RULES_ALERT_FOR_GRACE_PERIOD] (default 10m0s)
  -metrics.rules.alert.for-outage-tolerance duration
    	Max time to tolerate Promscale outage for restoring "for" state of alert. [PROMSCALE_METRICS_RULES_ALERT_FOR_OUTAGE_TOLERANCE] (default 1h0m0s)
  -metrics.rules.alert.resend-delay duration
    	Minimum amount of time to wait before resending an alert to Alertmanager. [PROMSCALE_METRICS_RULES_ALERT_RESEND_DELAY] (default 1m0s)
  -metrics.rules.config-file rule_files
    	Path to configuration file in Prometheus-format, containing rule_files and optional `alerting`, `global` fields. For more details, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/. Note: If this is flag empty or `rule_files` is empty, Promscale rule-manager will not start. If `alertmanagers` is empty, alerting will not be initialized. [PROMSCALE_METRICS_RULES_CONFIG_FILE]
  -startup.dataset.config string
    	Dataset configuration in YAML format for Promscale. It is used for setting various dataset configuration like default metric chunk interval [PROMSCALE_STARTUP_DATASET_CONFIG]
  -startup.install-extensions
    	Install TimescaleDB, Promscale extension. [PROMSCALE_STARTUP_INSTALL_EXTENSIONS] (default true)
  -startup.only
    	Only run startup configuration with Promscale (i.e. migrate) and exit. Can be used to run promscale as an init container for HA setups. [PROMSCALE_STARTUP_ONLY]
  -startup.skip-migrate
    	Skip migrating Promscale SQL schema to latest version on startup. [PROMSCALE_STARTUP_SKIP_MIGRATE]
  -startup.upgrade-extensions
    	Upgrades TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_EXTENSIONS] (default true)
  -startup.upgrade-prerelease-extensions
    	Upgrades to pre-release TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS]
  -startup.use-schema-version-lease
    	Use schema version lease to prevent race conditions during migration. [PROMSCALE_STARTUP_USE_SCHEMA_VERSION_LEASE] (default true)
  -telemetry.log.format string
    	The log format to use [ 'logfmt', 'json' ]. [PROMSCALE_TELEMETRY_LOG_FORMAT] (default "logfmt")
  -telemetry.log.level string
    	Log level to use from [ 'error', 'warn', 'info', 'debug' ]. [PROMSCALE_TELEMETRY_LOG_LEVEL] (default "info")
  -telemetry.log.throughput-report-interval 0
    	Duration interval at which throughput should be reported. Setting duration to 0 will disable reporting throughput, otherwise, an interval with unit must be provided, e.g. `10s` or `3m`. [PROMSCALE_TELEMETRY_LOG_THROUGHPUT_REPORT_INTERVAL] (default 1s)
  -telemetry.trace.jaeger-endpoint string
    	Jaeger tracing collector thrift HTTP URL endpoint to send telemetry to (e.g. https://jaeger-collector:14268/api/traces). [PROMSCALE_TELEMETRY_TRACE_JAEGER_ENDPOINT]
  -telemetry.trace.otel-endpoint string
    	OpenTelemetry tracing collector GRPC URL endpoint to send telemetry to. (i.e. otel-collector:4317) [PROMSCALE_TELEMETRY_TRACE_OTEL_ENDPOINT]
  -telemetry.trace.otel-tls-cert-file string
    	TLS Certificate file used for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_CERT_FILE]
  -telemetry.trace.otel-tls-key-file string
    	TLS Key file for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_KEY_FILE]
  -telemetry.trace.sampling-ratio float
    	Trace sampling ratio, amount of spans to send to collector. Valid values from 0.0 (none) to 1.0 (all). [PROMSCALE_TELEMETRY_TRACE_SAMPLING_RATIO] (default 1)
  -thanos.store-api.server-address string
    	Address to listen on for Thanos Store API endpoints. [PROMSCALE_THANOS_STORE_API_SERVER_ADDRESS]
  -tracing.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of traces data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_TRACING_ASYNC_ACKS] (default true)
  -tracing.batch-timeout duration
    	Timeout after new trace batch is created [PROMSCALE_TRACING_BATCH_TIMEOUT] (default 100ms)
  -tracing.batch-workers int
    	Number of workers responsible for creating trace batches. Defaults to number of CPUs. [PROMSCALE_TRACING_BATCH_WORKERS] (default 6)
  -tracing.grpc.server-address string
    	GRPC server address to listen on for Jaeger and OTEL traces. [PROMSCALE_TRACING_GRPC_SERVER_ADDRESS] (default ":9202")
  -tracing.max-batch-size int
    	Maximum size of trace batch that is written to DB [PROMSCALE_TRACING_MAX_BATCH_SIZE] (default 1000)
  -tracing.max-trace-duration duration
    	Maximum duration of any trace in the system. This parameter is used to optimize queries. [PROMSCALE_TRACING_MAX_TRACE_DURATION] (default 1h0m0s)
  -tracing.otlp.server-address tracing.grpc.server-address
    	GRPC server address to listen on for Jaeger and OTEL traces(DEPRECATED: use tracing.grpc.server-address instead). [PROMSCALE_TRACING_OTLP_SERVER_ADDRESS] (default ":9202")
  -tracing.streaming-span-writer
    	StreamingSpanWriter for remote Jaeger grpc store. [PROMSCALE_TRACING_STREAMING_SPAN_WRITER] (default true)
  -vacuum.disable
    	disables the vacuum engine [PROMSCALE_VACUUM_DISABLE]
  -vacuum.parallelism int
    	the maximum number of goroutines/connections used to vacuum [PROMSCALE_VACUUM_PARALLELISM] (default 4)
  -vacuum.run-frequency duration
    	how often should the vacuum engine run [PROMSCALE_VACUUM_RUN_FREQUENCY] (default 10m0s)
  -web.auth.bearer-token string
    	Bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token-file and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN]
  -web.auth.bearer-token-file string
    	Path of the file containing the bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN_FILE]
  -web.auth.ignore-path value
    	HTTP paths which has to be skipped from authentication. This flag shall be repeated and each one would be appended to the ignore list. [PROMSCALE_WEB_AUTH_IGNORE_PATH]
  -web.auth.password string
    	Authentication password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password-file and bearer-token flags. [PROMSCALE_WEB_AUTH_PASSWORD]
  -web.auth.password-file string
    	Path for auth password file containing the actual password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password and bearer-token methods. [PROMSCALE_WEB_AUTH_PASSWORD_FILE]
  -web.auth.username string
    	Authentication username used for web endpoint authentication. Disabled by default. [PROMSCALE_WEB_AUTH_USERNAME]
  -web.cors-origin string
    	Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2)\.com' [PROMSCALE_WEB_CORS_ORIGIN] (default ".*")
  -web.enable-admin-api
    	Allow operations via API that are for advanced users. Currently, these operations are limited to deletion of series. [PROMSCALE_WEB_ENABLE_ADMIN_API]
  -web.listen-address string
    	Address to listen on for web endpoints. [PROMSCALE_WEB_LISTEN_ADDRESS] (default ":9201")
  -web.telemetry-path string
    	Web endpoint for exposing Promscale's Prometheus metrics. [PROMSCALE_WEB_TELEMETRY_PATH] (default "/metrics")
=== RUN   TestParseFlags/Read-only_mode
=== RUN   TestParseFlags/Running_HA_and_read-only_error
flag provided but not defined: -read-only
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -auth.tls-cert-file string
    	TLS Certificate file used for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_CERT_FILE]
  -auth.tls-key-file string
    	TLS Key file for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_KEY_FILE]
  -cache.memory-target value
    	Target for max amount of memory to use. Specified in bytes or as a percentage of system memory (e.g. 80%). [PROMSCALE_CACHE_MEMORY_TARGET] (default 80%)
  -config string
    	YAML configuration file path for Promscale. [PROMSCALE_CONFIG] (default "config.yml")
  -db.app string
    	This sets the application_name in database connection string. This is helpful during debugging when looking at pg_stat_activity. [PROMSCALE_DB_APP] (default "promscale@0.17.0")
  -db.connection-timeout duration
    	Timeout for establishing the connection between Promscale and TimescaleDB. [PROMSCALE_DB_CONNECTION_TIMEOUT] (default 1m0s)
  -db.connections-max int
    	Maximum number of connections to the database that should be opened at once. It defaults to 80% of the maximum connections that the database can handle.  [PROMSCALE_DB_CONNECTIONS_MAX] (default -1)
  -db.connections.maint-pool.size int
    	Maximum size of the maintenance pool of database connections. This defaults to 5 [PROMSCALE_DB_CONNECTIONS_MAINT_POOL_SIZE] (default 5)
  -db.connections.num-writers int
    	Number of database connections for writing metrics/traces to database. By default, this will be set based on the number of CPUs available to the DB Promscale is connected to. [PROMSCALE_DB_CONNECTIONS_NUM_WRITERS]
  -db.connections.reader-pool.size int
    	Maximum size of the reader pool of database connections. This defaults to roughly 30% of max_connections allowed by the database. 50% in read-only mode [PROMSCALE_DB_CONNECTIONS_READER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.size int
    	Maximum size of the writer pool of database connections. This defaults to 50% of max_connections allowed by the database. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.synchronous-commit
    	Enable/disable synchronous_commit on database connections in the writer pool. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SYNCHRONOUS_COMMIT]
  -db.host string
    	Host for TimescaleDB. [PROMSCALE_DB_HOST] (default "localhost")
  -db.name string
    	Database name. [PROMSCALE_DB_NAME] (default "timescale")
  -db.password string
    	Password for connecting to TimescaleDB. [PROMSCALE_DB_PASSWORD]
  -db.port int
    	Port for TimescaleDB. [PROMSCALE_DB_PORT] (default 5432)
  -db.read-only
    	Read-only mode for the connector. Operations related to writing or updating the database are disallowed. It is used when pointing the connector to a TimescaleDB read replica. [PROMSCALE_DB_READ_ONLY]
  -db.ssl-mode string
    	TimescaleDB connection ssl mode. If you do not want to use ssl, pass 'allow' as value. [PROMSCALE_DB_SSL_MODE] (default "require")
  -db.statements-cache
    	Whether database connection pool should use cached prepared statements. Disable if using PgBouncer [PROMSCALE_DB_STATEMENTS_CACHE] (default true)
  -db.uri postgres://postgres:password@localhost:5432/timescale?sslmode=require
    	TimescaleDB URI. Example DB URI postgres://postgres:password@localhost:5432/timescale?sslmode=require [PROMSCALE_DB_URI]
  -db.user string
    	TimescaleDB user. [PROMSCALE_DB_USER] (default "postgres")
  -enable-feature value
    	Enable beta/experimental features as a comma-separated list. Currently the following values can be passed: promql-at-modifier, promql-negative-offset, promql-per-step-stats [PROMSCALE_ENABLE_FEATURE]
  -metrics.alertmanager.notification-queue-capacity int
    	The capacity of the queue for pending Alertmanager notifications. [PROMSCALE_METRICS_ALERTMANAGER_NOTIFICATION_QUEUE_CAPACITY] (default 10000)
  -metrics.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of metric data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_METRICS_ASYNC_ACKS]
  -metrics.cache.exemplar.size uint
    	Maximum number of exemplar metrics key-position to cache. It has one-to-one mapping with number of metrics that have exemplar, as key positions are saved per metric basis. [PROMSCALE_METRICS_CACHE_EXEMPLAR_SIZE] (default 10000)
  -metrics.cache.inverted-labels.max-bytes value
    	Initial size of elements in the invreted labels cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_MAX_BYTES] (default 10%)
  -metrics.cache.inverted-labels.size uint
    	Maximum number of label-ids to cache. This helps increase ingest performance. [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_SIZE] (default 500000)
  -metrics.cache.labels.size uint
    	Maximum number of labels to cache. [PROMSCALE_METRICS_CACHE_LABELS_SIZE] (default 100000)
  -metrics.cache.metrics.size uint
    	Maximum number of metric names to cache. [PROMSCALE_METRICS_CACHE_METRICS_SIZE] (default 10000)
  -metrics.cache.series.initial-size uint
    	Maximum number of series to cache. [PROMSCALE_METRICS_CACHE_SERIES_INITIAL_SIZE] (default 1000000)
  -metrics.cache.series.max-bytes value
    	Initial number of elements in the series cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_SERIES_MAX_BYTES] (default 50%)
  -metrics.high-availability
    	Enable external_labels based HA. [PROMSCALE_METRICS_HIGH_AVAILABILITY]
  -metrics.ignore-samples-written-to-compressed-chunks
    	Ignore/drop samples that are being written to compressed chunks. Setting this to false allows Promscale to ingest older data by decompressing chunks that were earlier compressed. However, setting this to true will save your resources that may be required during decompression.  [PROMSCALE_METRICS_IGNORE_SAMPLES_WRITTEN_TO_COMPRESSED_CHUNKS]
  -metrics.multi-tenancy
    	Use multi-tenancy mode in Promscale. [PROMSCALE_METRICS_MULTI_TENANCY]
  -metrics.multi-tenancy.allow-non-tenants
    	Allow Promscale to ingest/query all tenants as well as non-tenants. By setting this to true, Promscale will ingest data from non multi-tenant Prometheus instances as well. If this is false, only multi-tenants (tenants listed in 'multi-tenancy-valid-tenants') are allowed for ingesting and querying data. [PROMSCALE_METRICS_MULTI_TENANCY_ALLOW_NON_TENANTS]
  -metrics.multi-tenancy.experimental.label-queries
    	[EXPERIMENTAL] Use label queries that returns labels of authorized tenants only. This may affect system performance while running PromQL queries. By default this is enabled in -metrics.multi-tenancy mode. [PROMSCALE_METRICS_MULTI_TENANCY_EXPERIMENTAL_LABEL_QUERIES] (default true)
  -metrics.multi-tenancy.valid-tenants string
    	Sets valid tenants that are allowed to be ingested/queried from Promscale. This can be set as: 'allow-all' (default) or a comma separated tenant names. 'allow-all' makes Promscale ingest or query any tenant from itself. A comma separated list will indicate only those tenants that are authorized for operations from Promscale. [PROMSCALE_METRICS_MULTI_TENANCY_VALID_TENANTS] (default "allow-all")
  -metrics.promql.default-subquery-step-interval duration
    	Default step interval to be used for PromQL subquery evaluation. This value is used if the subquery does not specify the step value explicitly. Example: [30m:]. Note: in Prometheus this setting is set by the evaluation_interval option. [PROMSCALE_METRICS_PROMQL_DEFAULT_SUBQUERY_STEP_INTERVAL] (default 1m0s)
  -metrics.promql.lookback-delta duration
    	Maximum lookback duration for retrieving metrics during expression evaluations and federation. [PROMSCALE_METRICS_PROMQL_LOOKBACK_DELTA] (default 5m0s)
  -metrics.promql.max-points-per-ts int
    	Maximum number of points per time-series in a query-range request. This calculation is an estimation, that happens as (start - end)/step where start and end are the 'start' and 'end' timestamps of the query_range. [PROMSCALE_METRICS_PROMQL_MAX_POINTS_PER_TS] (default 11000)
  -metrics.promql.max-samples int
    	Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can return. [PROMSCALE_METRICS_PROMQL_MAX_SAMPLES] (default 50000000)
  -metrics.promql.query-timeout duration
    	Maximum time a query may take before being aborted. This option sets both the default and maximum value of the 'timeout' parameter in '/api/v1/query.*' endpoints. [PROMSCALE_METRICS_PROMQL_QUERY_TIMEOUT] (default 2m0s)
  -metrics.rules.alert.for-grace-period duration
    	Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period. [PROMSCALE_METRICS_RULES_ALERT_FOR_GRACE_PERIOD] (default 10m0s)
  -metrics.rules.alert.for-outage-tolerance duration
    	Max time to tolerate Promscale outage for restoring "for" state of alert. [PROMSCALE_METRICS_RULES_ALERT_FOR_OUTAGE_TOLERANCE] (default 1h0m0s)
  -metrics.rules.alert.resend-delay duration
    	Minimum amount of time to wait before resending an alert to Alertmanager. [PROMSCALE_METRICS_RULES_ALERT_RESEND_DELAY] (default 1m0s)
  -metrics.rules.config-file rule_files
    	Path to configuration file in Prometheus-format, containing rule_files and optional `alerting`, `global` fields. For more details, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/. Note: If this is flag empty or `rule_files` is empty, Promscale rule-manager will not start. If `alertmanagers` is empty, alerting will not be initialized. [PROMSCALE_METRICS_RULES_CONFIG_FILE]
  -startup.dataset.config string
    	Dataset configuration in YAML format for Promscale. It is used for setting various dataset configuration like default metric chunk interval [PROMSCALE_STARTUP_DATASET_CONFIG]
  -startup.install-extensions
    	Install TimescaleDB, Promscale extension. [PROMSCALE_STARTUP_INSTALL_EXTENSIONS] (default true)
  -startup.only
    	Only run startup configuration with Promscale (i.e. migrate) and exit. Can be used to run promscale as an init container for HA setups. [PROMSCALE_STARTUP_ONLY]
  -startup.skip-migrate
    	Skip migrating Promscale SQL schema to latest version on startup. [PROMSCALE_STARTUP_SKIP_MIGRATE]
  -startup.upgrade-extensions
    	Upgrades TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_EXTENSIONS] (default true)
  -startup.upgrade-prerelease-extensions
    	Upgrades to pre-release TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS]
  -startup.use-schema-version-lease
    	Use schema version lease to prevent race conditions during migration. [PROMSCALE_STARTUP_USE_SCHEMA_VERSION_LEASE] (default true)
  -telemetry.log.format string
    	The log format to use [ 'logfmt', 'json' ]. [PROMSCALE_TELEMETRY_LOG_FORMAT] (default "logfmt")
  -telemetry.log.level string
    	Log level to use from [ 'error', 'warn', 'info', 'debug' ]. [PROMSCALE_TELEMETRY_LOG_LEVEL] (default "info")
  -telemetry.log.throughput-report-interval 0
    	Duration interval at which throughput should be reported. Setting duration to 0 will disable reporting throughput, otherwise, an interval with unit must be provided, e.g. `10s` or `3m`. [PROMSCALE_TELEMETRY_LOG_THROUGHPUT_REPORT_INTERVAL] (default 1s)
  -telemetry.trace.jaeger-endpoint string
    	Jaeger tracing collector thrift HTTP URL endpoint to send telemetry to (e.g. https://jaeger-collector:14268/api/traces). [PROMSCALE_TELEMETRY_TRACE_JAEGER_ENDPOINT]
  -telemetry.trace.otel-endpoint string
    	OpenTelemetry tracing collector GRPC URL endpoint to send telemetry to. (i.e. otel-collector:4317) [PROMSCALE_TELEMETRY_TRACE_OTEL_ENDPOINT]
  -telemetry.trace.otel-tls-cert-file string
    	TLS Certificate file used for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_CERT_FILE]
  -telemetry.trace.otel-tls-key-file string
    	TLS Key file for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_KEY_FILE]
  -telemetry.trace.sampling-ratio float
    	Trace sampling ratio, amount of spans to send to collector. Valid values from 0.0 (none) to 1.0 (all). [PROMSCALE_TELEMETRY_TRACE_SAMPLING_RATIO] (default 1)
  -thanos.store-api.server-address string
    	Address to listen on for Thanos Store API endpoints. [PROMSCALE_THANOS_STORE_API_SERVER_ADDRESS]
  -tracing.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of traces data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_TRACING_ASYNC_ACKS] (default true)
  -tracing.batch-timeout duration
    	Timeout after new trace batch is created [PROMSCALE_TRACING_BATCH_TIMEOUT] (default 100ms)
  -tracing.batch-workers int
    	Number of workers responsible for creating trace batches. Defaults to number of CPUs. [PROMSCALE_TRACING_BATCH_WORKERS] (default 6)
  -tracing.grpc.server-address string
    	GRPC server address to listen on for Jaeger and OTEL traces. [PROMSCALE_TRACING_GRPC_SERVER_ADDRESS] (default ":9202")
  -tracing.max-batch-size int
    	Maximum size of trace batch that is written to DB [PROMSCALE_TRACING_MAX_BATCH_SIZE] (default 1000)
  -tracing.max-trace-duration duration
    	Maximum duration of any trace in the system. This parameter is used to optimize queries. [PROMSCALE_TRACING_MAX_TRACE_DURATION] (default 1h0m0s)
  -tracing.otlp.server-address tracing.grpc.server-address
    	GRPC server address to listen on for Jaeger and OTEL traces(DEPRECATED: use tracing.grpc.server-address instead). [PROMSCALE_TRACING_OTLP_SERVER_ADDRESS] (default ":9202")
  -tracing.streaming-span-writer
    	StreamingSpanWriter for remote Jaeger grpc store. [PROMSCALE_TRACING_STREAMING_SPAN_WRITER] (default true)
  -vacuum.disable
    	disables the vacuum engine [PROMSCALE_VACUUM_DISABLE]
  -vacuum.parallelism int
    	the maximum number of goroutines/connections used to vacuum [PROMSCALE_VACUUM_PARALLELISM] (default 4)
  -vacuum.run-frequency duration
    	how often should the vacuum engine run [PROMSCALE_VACUUM_RUN_FREQUENCY] (default 10m0s)
  -web.auth.bearer-token string
    	Bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token-file and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN]
  -web.auth.bearer-token-file string
    	Path of the file containing the bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN_FILE]
  -web.auth.ignore-path value
    	HTTP paths which has to be skipped from authentication. This flag shall be repeated and each one would be appended to the ignore list. [PROMSCALE_WEB_AUTH_IGNORE_PATH]
  -web.auth.password string
    	Authentication password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password-file and bearer-token flags. [PROMSCALE_WEB_AUTH_PASSWORD]
  -web.auth.password-file string
    	Path for auth password file containing the actual password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password and bearer-token methods. [PROMSCALE_WEB_AUTH_PASSWORD_FILE]
  -web.auth.username string
    	Authentication username used for web endpoint authentication. Disabled by default. [PROMSCALE_WEB_AUTH_USERNAME]
  -web.cors-origin string
    	Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2)\.com' [PROMSCALE_WEB_CORS_ORIGIN] (default ".*")
  -web.enable-admin-api
    	Allow operations via API that are for advanced users. Currently, these operations are limited to deletion of series. [PROMSCALE_WEB_ENABLE_ADMIN_API]
  -web.listen-address string
    	Address to listen on for web endpoints. [PROMSCALE_WEB_LISTEN_ADDRESS] (default ":9201")
  -web.telemetry-path string
    	Web endpoint for exposing Promscale's Prometheus metrics. [PROMSCALE_WEB_TELEMETRY_PATH] (default "/metrics")
=== RUN   TestParseFlags/Running_migrate_and_read-only_error
flag provided but not defined: -migrate
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -auth.tls-cert-file string
    	TLS Certificate file used for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_CERT_FILE]
  -auth.tls-key-file string
    	TLS Key file for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_KEY_FILE]
  -cache.memory-target value
    	Target for max amount of memory to use. Specified in bytes or as a percentage of system memory (e.g. 80%). [PROMSCALE_CACHE_MEMORY_TARGET] (default 80%)
  -config string
    	YAML configuration file path for Promscale. [PROMSCALE_CONFIG] (default "config.yml")
  -db.app string
    	This sets the application_name in database connection string. This is helpful during debugging when looking at pg_stat_activity. [PROMSCALE_DB_APP] (default "promscale@0.17.0")
  -db.connection-timeout duration
    	Timeout for establishing the connection between Promscale and TimescaleDB. [PROMSCALE_DB_CONNECTION_TIMEOUT] (default 1m0s)
  -db.connections-max int
    	Maximum number of connections to the database that should be opened at once. It defaults to 80% of the maximum connections that the database can handle.  [PROMSCALE_DB_CONNECTIONS_MAX] (default -1)
  -db.connections.maint-pool.size int
    	Maximum size of the maintenance pool of database connections. This defaults to 5 [PROMSCALE_DB_CONNECTIONS_MAINT_POOL_SIZE] (default 5)
  -db.connections.num-writers int
    	Number of database connections for writing metrics/traces to database. By default, this will be set based on the number of CPUs available to the DB Promscale is connected to. [PROMSCALE_DB_CONNECTIONS_NUM_WRITERS]
  -db.connections.reader-pool.size int
    	Maximum size of the reader pool of database connections. This defaults to roughly 30% of max_connections allowed by the database. 50% in read-only mode [PROMSCALE_DB_CONNECTIONS_READER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.size int
    	Maximum size of the writer pool of database connections. This defaults to 50% of max_connections allowed by the database. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.synchronous-commit
    	Enable/disable synchronous_commit on database connections in the writer pool. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SYNCHRONOUS_COMMIT]
  -db.host string
    	Host for TimescaleDB. [PROMSCALE_DB_HOST] (default "localhost")
  -db.name string
    	Database name. [PROMSCALE_DB_NAME] (default "timescale")
  -db.password string
    	Password for connecting to TimescaleDB. [PROMSCALE_DB_PASSWORD]
  -db.port int
    	Port for TimescaleDB. [PROMSCALE_DB_PORT] (default 5432)
  -db.read-only
    	Read-only mode for the connector. Operations related to writing or updating the database are disallowed. It is used when pointing the connector to a TimescaleDB read replica. [PROMSCALE_DB_READ_ONLY]
  -db.ssl-mode string
    	TimescaleDB connection ssl mode. If you do not want to use ssl, pass 'allow' as value. [PROMSCALE_DB_SSL_MODE] (default "require")
  -db.statements-cache
    	Whether database connection pool should use cached prepared statements. Disable if using PgBouncer [PROMSCALE_DB_STATEMENTS_CACHE] (default true)
  -db.uri postgres://postgres:password@localhost:5432/timescale?sslmode=require
    	TimescaleDB URI. Example DB URI postgres://postgres:password@localhost:5432/timescale?sslmode=require [PROMSCALE_DB_URI]
  -db.user string
    	TimescaleDB user. [PROMSCALE_DB_USER] (default "postgres")
  -enable-feature value
    	Enable beta/experimental features as a comma-separated list. Currently the following values can be passed: promql-at-modifier, promql-negative-offset, promql-per-step-stats [PROMSCALE_ENABLE_FEATURE]
  -metrics.alertmanager.notification-queue-capacity int
    	The capacity of the queue for pending Alertmanager notifications. [PROMSCALE_METRICS_ALERTMANAGER_NOTIFICATION_QUEUE_CAPACITY] (default 10000)
  -metrics.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of metric data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_METRICS_ASYNC_ACKS]
  -metrics.cache.exemplar.size uint
    	Maximum number of exemplar metrics key-position to cache. It has one-to-one mapping with number of metrics that have exemplar, as key positions are saved per metric basis. [PROMSCALE_METRICS_CACHE_EXEMPLAR_SIZE] (default 10000)
  -metrics.cache.inverted-labels.max-bytes value
    	Initial size of elements in the invreted labels cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_MAX_BYTES] (default 10%)
  -metrics.cache.inverted-labels.size uint
    	Maximum number of label-ids to cache. This helps increase ingest performance. [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_SIZE] (default 500000)
  -metrics.cache.labels.size uint
    	Maximum number of labels to cache. [PROMSCALE_METRICS_CACHE_LABELS_SIZE] (default 100000)
  -metrics.cache.metrics.size uint
    	Maximum number of metric names to cache. [PROMSCALE_METRICS_CACHE_METRICS_SIZE] (default 10000)
  -metrics.cache.series.initial-size uint
    	Maximum number of series to cache. [PROMSCALE_METRICS_CACHE_SERIES_INITIAL_SIZE] (default 1000000)
  -metrics.cache.series.max-bytes value
    	Initial number of elements in the series cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_SERIES_MAX_BYTES] (default 50%)
  -metrics.high-availability
    	Enable external_labels based HA. [PROMSCALE_METRICS_HIGH_AVAILABILITY]
  -metrics.ignore-samples-written-to-compressed-chunks
    	Ignore/drop samples that are being written to compressed chunks. Setting this to false allows Promscale to ingest older data by decompressing chunks that were earlier compressed. However, setting this to true will save your resources that may be required during decompression.  [PROMSCALE_METRICS_IGNORE_SAMPLES_WRITTEN_TO_COMPRESSED_CHUNKS]
  -metrics.multi-tenancy
    	Use multi-tenancy mode in Promscale. [PROMSCALE_METRICS_MULTI_TENANCY]
  -metrics.multi-tenancy.allow-non-tenants
    	Allow Promscale to ingest/query all tenants as well as non-tenants. By setting this to true, Promscale will ingest data from non multi-tenant Prometheus instances as well. If this is false, only multi-tenants (tenants listed in 'multi-tenancy-valid-tenants') are allowed for ingesting and querying data. [PROMSCALE_METRICS_MULTI_TENANCY_ALLOW_NON_TENANTS]
  -metrics.multi-tenancy.experimental.label-queries
    	[EXPERIMENTAL] Use label queries that returns labels of authorized tenants only. This may affect system performance while running PromQL queries. By default this is enabled in -metrics.multi-tenancy mode. [PROMSCALE_METRICS_MULTI_TENANCY_EXPERIMENTAL_LABEL_QUERIES] (default true)
  -metrics.multi-tenancy.valid-tenants string
    	Sets valid tenants that are allowed to be ingested/queried from Promscale. This can be set as: 'allow-all' (default) or a comma separated tenant names. 'allow-all' makes Promscale ingest or query any tenant from itself. A comma separated list will indicate only those tenants that are authorized for operations from Promscale. [PROMSCALE_METRICS_MULTI_TENANCY_VALID_TENANTS] (default "allow-all")
  -metrics.promql.default-subquery-step-interval duration
    	Default step interval to be used for PromQL subquery evaluation. This value is used if the subquery does not specify the step value explicitly. Example: [30m:]. Note: in Prometheus this setting is set by the evaluation_interval option. [PROMSCALE_METRICS_PROMQL_DEFAULT_SUBQUERY_STEP_INTERVAL] (default 1m0s)
  -metrics.promql.lookback-delta duration
    	Maximum lookback duration for retrieving metrics during expression evaluations and federation. [PROMSCALE_METRICS_PROMQL_LOOKBACK_DELTA] (default 5m0s)
  -metrics.promql.max-points-per-ts int
    	Maximum number of points per time-series in a query-range request. This calculation is an estimation, that happens as (start - end)/step where start and end are the 'start' and 'end' timestamps of the query_range. [PROMSCALE_METRICS_PROMQL_MAX_POINTS_PER_TS] (default 11000)
  -metrics.promql.max-samples int
    	Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can return. [PROMSCALE_METRICS_PROMQL_MAX_SAMPLES] (default 50000000)
  -metrics.promql.query-timeout duration
    	Maximum time a query may take before being aborted. This option sets both the default and maximum value of the 'timeout' parameter in '/api/v1/query.*' endpoints. [PROMSCALE_METRICS_PROMQL_QUERY_TIMEOUT] (default 2m0s)
  -metrics.rules.alert.for-grace-period duration
    	Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period. [PROMSCALE_METRICS_RULES_ALERT_FOR_GRACE_PERIOD] (default 10m0s)
  -metrics.rules.alert.for-outage-tolerance duration
    	Max time to tolerate Promscale outage for restoring "for" state of alert. [PROMSCALE_METRICS_RULES_ALERT_FOR_OUTAGE_TOLERANCE] (default 1h0m0s)
  -metrics.rules.alert.resend-delay duration
    	Minimum amount of time to wait before resending an alert to Alertmanager. [PROMSCALE_METRICS_RULES_ALERT_RESEND_DELAY] (default 1m0s)
  -metrics.rules.config-file rule_files
    	Path to configuration file in Prometheus-format, containing rule_files and optional `alerting`, `global` fields. For more details, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/. Note: If this is flag empty or `rule_files` is empty, Promscale rule-manager will not start. If `alertmanagers` is empty, alerting will not be initialized. [PROMSCALE_METRICS_RULES_CONFIG_FILE]
  -startup.dataset.config string
    	Dataset configuration in YAML format for Promscale. It is used for setting various dataset configuration like default metric chunk interval [PROMSCALE_STARTUP_DATASET_CONFIG]
  -startup.install-extensions
    	Install TimescaleDB, Promscale extension. [PROMSCALE_STARTUP_INSTALL_EXTENSIONS] (default true)
  -startup.only
    	Only run startup configuration with Promscale (i.e. migrate) and exit. Can be used to run promscale as an init container for HA setups. [PROMSCALE_STARTUP_ONLY]
  -startup.skip-migrate
    	Skip migrating Promscale SQL schema to latest version on startup. [PROMSCALE_STARTUP_SKIP_MIGRATE]
  -startup.upgrade-extensions
    	Upgrades TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_EXTENSIONS] (default true)
  -startup.upgrade-prerelease-extensions
    	Upgrades to pre-release TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS]
  -startup.use-schema-version-lease
    	Use schema version lease to prevent race conditions during migration. [PROMSCALE_STARTUP_USE_SCHEMA_VERSION_LEASE] (default true)
  -telemetry.log.format string
    	The log format to use [ 'logfmt', 'json' ]. [PROMSCALE_TELEMETRY_LOG_FORMAT] (default "logfmt")
  -telemetry.log.level string
    	Log level to use from [ 'error', 'warn', 'info', 'debug' ]. [PROMSCALE_TELEMETRY_LOG_LEVEL] (default "info")
  -telemetry.log.throughput-report-interval 0
    	Duration interval at which throughput should be reported. Setting duration to 0 will disable reporting throughput, otherwise, an interval with unit must be provided, e.g. `10s` or `3m`. [PROMSCALE_TELEMETRY_LOG_THROUGHPUT_REPORT_INTERVAL] (default 1s)
  -telemetry.trace.jaeger-endpoint string
    	Jaeger tracing collector thrift HTTP URL endpoint to send telemetry to (e.g. https://jaeger-collector:14268/api/traces). [PROMSCALE_TELEMETRY_TRACE_JAEGER_ENDPOINT]
  -telemetry.trace.otel-endpoint string
    	OpenTelemetry tracing collector GRPC URL endpoint to send telemetry to. (i.e. otel-collector:4317) [PROMSCALE_TELEMETRY_TRACE_OTEL_ENDPOINT]
  -telemetry.trace.otel-tls-cert-file string
    	TLS Certificate file used for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_CERT_FILE]
  -telemetry.trace.otel-tls-key-file string
    	TLS Key file for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_KEY_FILE]
  -telemetry.trace.sampling-ratio float
    	Trace sampling ratio, amount of spans to send to collector. Valid values from 0.0 (none) to 1.0 (all). [PROMSCALE_TELEMETRY_TRACE_SAMPLING_RATIO] (default 1)
  -thanos.store-api.server-address string
    	Address to listen on for Thanos Store API endpoints. [PROMSCALE_THANOS_STORE_API_SERVER_ADDRESS]
  -tracing.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of traces data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_TRACING_ASYNC_ACKS] (default true)
  -tracing.batch-timeout duration
    	Timeout after new trace batch is created [PROMSCALE_TRACING_BATCH_TIMEOUT] (default 100ms)
  -tracing.batch-workers int
    	Number of workers responsible for creating trace batches. Defaults to number of CPUs. [PROMSCALE_TRACING_BATCH_WORKERS] (default 6)
  -tracing.grpc.server-address string
    	GRPC server address to listen on for Jaeger and OTEL traces. [PROMSCALE_TRACING_GRPC_SERVER_ADDRESS] (default ":9202")
  -tracing.max-batch-size int
    	Maximum size of trace batch that is written to DB [PROMSCALE_TRACING_MAX_BATCH_SIZE] (default 1000)
  -tracing.max-trace-duration duration
    	Maximum duration of any trace in the system. This parameter is used to optimize queries. [PROMSCALE_TRACING_MAX_TRACE_DURATION] (default 1h0m0s)
  -tracing.otlp.server-address tracing.grpc.server-address
    	GRPC server address to listen on for Jaeger and OTEL traces(DEPRECATED: use tracing.grpc.server-address instead). [PROMSCALE_TRACING_OTLP_SERVER_ADDRESS] (default ":9202")
  -tracing.streaming-span-writer
    	StreamingSpanWriter for remote Jaeger grpc store. [PROMSCALE_TRACING_STREAMING_SPAN_WRITER] (default true)
  -vacuum.disable
    	disables the vacuum engine [PROMSCALE_VACUUM_DISABLE]
  -vacuum.parallelism int
    	the maximum number of goroutines/connections used to vacuum [PROMSCALE_VACUUM_PARALLELISM] (default 4)
  -vacuum.run-frequency duration
    	how often should the vacuum engine run [PROMSCALE_VACUUM_RUN_FREQUENCY] (default 10m0s)
  -web.auth.bearer-token string
    	Bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token-file and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN]
  -web.auth.bearer-token-file string
    	Path of the file containing the bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN_FILE]
  -web.auth.ignore-path value
    	HTTP paths which has to be skipped from authentication. This flag shall be repeated and each one would be appended to the ignore list. [PROMSCALE_WEB_AUTH_IGNORE_PATH]
  -web.auth.password string
    	Authentication password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password-file and bearer-token flags. [PROMSCALE_WEB_AUTH_PASSWORD]
  -web.auth.password-file string
    	Path for auth password file containing the actual password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password and bearer-token methods. [PROMSCALE_WEB_AUTH_PASSWORD_FILE]
  -web.auth.username string
    	Authentication username used for web endpoint authentication. Disabled by default. [PROMSCALE_WEB_AUTH_USERNAME]
  -web.cors-origin string
    	Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2)\.com' [PROMSCALE_WEB_CORS_ORIGIN] (default ".*")
  -web.enable-admin-api
    	Allow operations via API that are for advanced users. Currently, these operations are limited to deletion of series. [PROMSCALE_WEB_ENABLE_ADMIN_API]
  -web.listen-address string
    	Address to listen on for web endpoints. [PROMSCALE_WEB_LISTEN_ADDRESS] (default ":9201")
  -web.telemetry-path string
    	Web endpoint for exposing Promscale's Prometheus metrics. [PROMSCALE_WEB_TELEMETRY_PATH] (default "/metrics")
=== RUN   TestParseFlags/Running_install_TimescaleDB_and_read-only_error
flag provided but not defined: -install-extensions
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -auth.tls-cert-file string
    	TLS Certificate file used for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_CERT_FILE]
  -auth.tls-key-file string
    	TLS Key file for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_KEY_FILE]
  -cache.memory-target value
    	Target for max amount of memory to use. Specified in bytes or as a percentage of system memory (e.g. 80%). [PROMSCALE_CACHE_MEMORY_TARGET] (default 80%)
  -config string
    	YAML configuration file path for Promscale. [PROMSCALE_CONFIG] (default "config.yml")
  -db.app string
    	This sets the application_name in database connection string. This is helpful during debugging when looking at pg_stat_activity. [PROMSCALE_DB_APP] (default "promscale@0.17.0")
  -db.connection-timeout duration
    	Timeout for establishing the connection between Promscale and TimescaleDB. [PROMSCALE_DB_CONNECTION_TIMEOUT] (default 1m0s)
  -db.connections-max int
    	Maximum number of connections to the database that should be opened at once. It defaults to 80% of the maximum connections that the database can handle.  [PROMSCALE_DB_CONNECTIONS_MAX] (default -1)
  -db.connections.maint-pool.size int
    	Maximum size of the maintenance pool of database connections. This defaults to 5 [PROMSCALE_DB_CONNECTIONS_MAINT_POOL_SIZE] (default 5)
  -db.connections.num-writers int
    	Number of database connections for writing metrics/traces to database. By default, this will be set based on the number of CPUs available to the DB Promscale is connected to. [PROMSCALE_DB_CONNECTIONS_NUM_WRITERS]
  -db.connections.reader-pool.size int
    	Maximum size of the reader pool of database connections. This defaults to roughly 30% of max_connections allowed by the database. 50% in read-only mode [PROMSCALE_DB_CONNECTIONS_READER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.size int
    	Maximum size of the writer pool of database connections. This defaults to 50% of max_connections allowed by the database. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.synchronous-commit
    	Enable/disable synchronous_commit on database connections in the writer pool. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SYNCHRONOUS_COMMIT]
  -db.host string
    	Host for TimescaleDB. [PROMSCALE_DB_HOST] (default "localhost")
  -db.name string
    	Database name. [PROMSCALE_DB_NAME] (default "timescale")
  -db.password string
    	Password for connecting to TimescaleDB. [PROMSCALE_DB_PASSWORD]
  -db.port int
    	Port for TimescaleDB. [PROMSCALE_DB_PORT] (default 5432)
  -db.read-only
    	Read-only mode for the connector. Operations related to writing or updating the database are disallowed. It is used when pointing the connector to a TimescaleDB read replica. [PROMSCALE_DB_READ_ONLY]
  -db.ssl-mode string
    	TimescaleDB connection ssl mode. If you do not want to use ssl, pass 'allow' as value. [PROMSCALE_DB_SSL_MODE] (default "require")
  -db.statements-cache
    	Whether database connection pool should use cached prepared statements. Disable if using PgBouncer [PROMSCALE_DB_STATEMENTS_CACHE] (default true)
  -db.uri postgres://postgres:password@localhost:5432/timescale?sslmode=require
    	TimescaleDB URI. Example DB URI postgres://postgres:password@localhost:5432/timescale?sslmode=require [PROMSCALE_DB_URI]
  -db.user string
    	TimescaleDB user. [PROMSCALE_DB_USER] (default "postgres")
  -enable-feature value
    	Enable beta/experimental features as a comma-separated list. Currently the following values can be passed: promql-at-modifier, promql-negative-offset, promql-per-step-stats [PROMSCALE_ENABLE_FEATURE]
  -metrics.alertmanager.notification-queue-capacity int
    	The capacity of the queue for pending Alertmanager notifications. [PROMSCALE_METRICS_ALERTMANAGER_NOTIFICATION_QUEUE_CAPACITY] (default 10000)
  -metrics.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of metric data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_METRICS_ASYNC_ACKS]
  -metrics.cache.exemplar.size uint
    	Maximum number of exemplar metrics key-position to cache. It has one-to-one mapping with number of metrics that have exemplar, as key positions are saved per metric basis. [PROMSCALE_METRICS_CACHE_EXEMPLAR_SIZE] (default 10000)
  -metrics.cache.inverted-labels.max-bytes value
    	Initial size of elements in the invreted labels cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_MAX_BYTES] (default 10%)
  -metrics.cache.inverted-labels.size uint
    	Maximum number of label-ids to cache. This helps increase ingest performance. [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_SIZE] (default 500000)
  -metrics.cache.labels.size uint
    	Maximum number of labels to cache. [PROMSCALE_METRICS_CACHE_LABELS_SIZE] (default 100000)
  -metrics.cache.metrics.size uint
    	Maximum number of metric names to cache. [PROMSCALE_METRICS_CACHE_METRICS_SIZE] (default 10000)
  -metrics.cache.series.initial-size uint
    	Maximum number of series to cache. [PROMSCALE_METRICS_CACHE_SERIES_INITIAL_SIZE] (default 1000000)
  -metrics.cache.series.max-bytes value
    	Initial number of elements in the series cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_SERIES_MAX_BYTES] (default 50%)
  -metrics.high-availability
    	Enable external_labels based HA. [PROMSCALE_METRICS_HIGH_AVAILABILITY]
  -metrics.ignore-samples-written-to-compressed-chunks
    	Ignore/drop samples that are being written to compressed chunks. Setting this to false allows Promscale to ingest older data by decompressing chunks that were earlier compressed. However, setting this to true will save your resources that may be required during decompression.  [PROMSCALE_METRICS_IGNORE_SAMPLES_WRITTEN_TO_COMPRESSED_CHUNKS]
  -metrics.multi-tenancy
    	Use multi-tenancy mode in Promscale. [PROMSCALE_METRICS_MULTI_TENANCY]
  -metrics.multi-tenancy.allow-non-tenants
    	Allow Promscale to ingest/query all tenants as well as non-tenants. By setting this to true, Promscale will ingest data from non multi-tenant Prometheus instances as well. If this is false, only multi-tenants (tenants listed in 'multi-tenancy-valid-tenants') are allowed for ingesting and querying data. [PROMSCALE_METRICS_MULTI_TENANCY_ALLOW_NON_TENANTS]
  -metrics.multi-tenancy.experimental.label-queries
    	[EXPERIMENTAL] Use label queries that returns labels of authorized tenants only. This may affect system performance while running PromQL queries. By default this is enabled in -metrics.multi-tenancy mode. [PROMSCALE_METRICS_MULTI_TENANCY_EXPERIMENTAL_LABEL_QUERIES] (default true)
  -metrics.multi-tenancy.valid-tenants string
    	Sets valid tenants that are allowed to be ingested/queried from Promscale. This can be set as: 'allow-all' (default) or a comma separated tenant names. 'allow-all' makes Promscale ingest or query any tenant from itself. A comma separated list will indicate only those tenants that are authorized for operations from Promscale. [PROMSCALE_METRICS_MULTI_TENANCY_VALID_TENANTS] (default "allow-all")
  -metrics.promql.default-subquery-step-interval duration
    	Default step interval to be used for PromQL subquery evaluation. This value is used if the subquery does not specify the step value explicitly. Example: [30m:]. Note: in Prometheus this setting is set by the evaluation_interval option. [PROMSCALE_METRICS_PROMQL_DEFAULT_SUBQUERY_STEP_INTERVAL] (default 1m0s)
  -metrics.promql.lookback-delta duration
    	Maximum lookback duration for retrieving metrics during expression evaluations and federation. [PROMSCALE_METRICS_PROMQL_LOOKBACK_DELTA] (default 5m0s)
  -metrics.promql.max-points-per-ts int
    	Maximum number of points per time-series in a query-range request. This calculation is an estimation, that happens as (start - end)/step where start and end are the 'start' and 'end' timestamps of the query_range. [PROMSCALE_METRICS_PROMQL_MAX_POINTS_PER_TS] (default 11000)
  -metrics.promql.max-samples int
    	Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can return. [PROMSCALE_METRICS_PROMQL_MAX_SAMPLES] (default 50000000)
  -metrics.promql.query-timeout duration
    	Maximum time a query may take before being aborted. This option sets both the default and maximum value of the 'timeout' parameter in '/api/v1/query.*' endpoints. [PROMSCALE_METRICS_PROMQL_QUERY_TIMEOUT] (default 2m0s)
  -metrics.rules.alert.for-grace-period duration
    	Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period. [PROMSCALE_METRICS_RULES_ALERT_FOR_GRACE_PERIOD] (default 10m0s)
  -metrics.rules.alert.for-outage-tolerance duration
    	Max time to tolerate Promscale outage for restoring "for" state of alert. [PROMSCALE_METRICS_RULES_ALERT_FOR_OUTAGE_TOLERANCE] (default 1h0m0s)
  -metrics.rules.alert.resend-delay duration
    	Minimum amount of time to wait before resending an alert to Alertmanager. [PROMSCALE_METRICS_RULES_ALERT_RESEND_DELAY] (default 1m0s)
  -metrics.rules.config-file rule_files
    	Path to configuration file in Prometheus-format, containing rule_files and optional `alerting`, `global` fields. For more details, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/. Note: If this is flag empty or `rule_files` is empty, Promscale rule-manager will not start. If `alertmanagers` is empty, alerting will not be initialized. [PROMSCALE_METRICS_RULES_CONFIG_FILE]
  -startup.dataset.config string
    	Dataset configuration in YAML format for Promscale. It is used for setting various dataset configuration like default metric chunk interval [PROMSCALE_STARTUP_DATASET_CONFIG]
  -startup.install-extensions
    	Install TimescaleDB, Promscale extension. [PROMSCALE_STARTUP_INSTALL_EXTENSIONS] (default true)
  -startup.only
    	Only run startup configuration with Promscale (i.e. migrate) and exit. Can be used to run promscale as an init container for HA setups. [PROMSCALE_STARTUP_ONLY]
  -startup.skip-migrate
    	Skip migrating Promscale SQL schema to latest version on startup. [PROMSCALE_STARTUP_SKIP_MIGRATE]
  -startup.upgrade-extensions
    	Upgrades TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_EXTENSIONS] (default true)
  -startup.upgrade-prerelease-extensions
    	Upgrades to pre-release TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS]
  -startup.use-schema-version-lease
    	Use schema version lease to prevent race conditions during migration. [PROMSCALE_STARTUP_USE_SCHEMA_VERSION_LEASE] (default true)
  -telemetry.log.format string
    	The log format to use [ 'logfmt', 'json' ]. [PROMSCALE_TELEMETRY_LOG_FORMAT] (default "logfmt")
  -telemetry.log.level string
    	Log level to use from [ 'error', 'warn', 'info', 'debug' ]. [PROMSCALE_TELEMETRY_LOG_LEVEL] (default "info")
  -telemetry.log.throughput-report-interval 0
    	Duration interval at which throughput should be reported. Setting duration to 0 will disable reporting throughput, otherwise, an interval with unit must be provided, e.g. `10s` or `3m`. [PROMSCALE_TELEMETRY_LOG_THROUGHPUT_REPORT_INTERVAL] (default 1s)
  -telemetry.trace.jaeger-endpoint string
    	Jaeger tracing collector thrift HTTP URL endpoint to send telemetry to (e.g. https://jaeger-collector:14268/api/traces). [PROMSCALE_TELEMETRY_TRACE_JAEGER_ENDPOINT]
  -telemetry.trace.otel-endpoint string
    	OpenTelemetry tracing collector GRPC URL endpoint to send telemetry to. (i.e. otel-collector:4317) [PROMSCALE_TELEMETRY_TRACE_OTEL_ENDPOINT]
  -telemetry.trace.otel-tls-cert-file string
    	TLS Certificate file used for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_CERT_FILE]
  -telemetry.trace.otel-tls-key-file string
    	TLS Key file for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_KEY_FILE]
  -telemetry.trace.sampling-ratio float
    	Trace sampling ratio, amount of spans to send to collector. Valid values from 0.0 (none) to 1.0 (all). [PROMSCALE_TELEMETRY_TRACE_SAMPLING_RATIO] (default 1)
  -thanos.store-api.server-address string
    	Address to listen on for Thanos Store API endpoints. [PROMSCALE_THANOS_STORE_API_SERVER_ADDRESS]
  -tracing.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of traces data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_TRACING_ASYNC_ACKS] (default true)
  -tracing.batch-timeout duration
    	Timeout after new trace batch is created [PROMSCALE_TRACING_BATCH_TIMEOUT] (default 100ms)
  -tracing.batch-workers int
    	Number of workers responsible for creating trace batches. Defaults to number of CPUs. [PROMSCALE_TRACING_BATCH_WORKERS] (default 6)
  -tracing.grpc.server-address string
    	GRPC server address to listen on for Jaeger and OTEL traces. [PROMSCALE_TRACING_GRPC_SERVER_ADDRESS] (default ":9202")
  -tracing.max-batch-size int
    	Maximum size of trace batch that is written to DB [PROMSCALE_TRACING_MAX_BATCH_SIZE] (default 1000)
  -tracing.max-trace-duration duration
    	Maximum duration of any trace in the system. This parameter is used to optimize queries. [PROMSCALE_TRACING_MAX_TRACE_DURATION] (default 1h0m0s)
  -tracing.otlp.server-address tracing.grpc.server-address
    	GRPC server address to listen on for Jaeger and OTEL traces(DEPRECATED: use tracing.grpc.server-address instead). [PROMSCALE_TRACING_OTLP_SERVER_ADDRESS] (default ":9202")
  -tracing.streaming-span-writer
    	StreamingSpanWriter for remote Jaeger grpc store. [PROMSCALE_TRACING_STREAMING_SPAN_WRITER] (default true)
  -vacuum.disable
    	disables the vacuum engine [PROMSCALE_VACUUM_DISABLE]
  -vacuum.parallelism int
    	the maximum number of goroutines/connections used to vacuum [PROMSCALE_VACUUM_PARALLELISM] (default 4)
  -vacuum.run-frequency duration
    	how often should the vacuum engine run [PROMSCALE_VACUUM_RUN_FREQUENCY] (default 10m0s)
  -web.auth.bearer-token string
    	Bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token-file and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN]
  -web.auth.bearer-token-file string
    	Path of the file containing the bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN_FILE]
  -web.auth.ignore-path value
    	HTTP paths which has to be skipped from authentication. This flag shall be repeated and each one would be appended to the ignore list. [PROMSCALE_WEB_AUTH_IGNORE_PATH]
  -web.auth.password string
    	Authentication password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password-file and bearer-token flags. [PROMSCALE_WEB_AUTH_PASSWORD]
  -web.auth.password-file string
    	Path for auth password file containing the actual password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password and bearer-token methods. [PROMSCALE_WEB_AUTH_PASSWORD_FILE]
  -web.auth.username string
    	Authentication username used for web endpoint authentication. Disabled by default. [PROMSCALE_WEB_AUTH_USERNAME]
  -web.cors-origin string
    	Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2)\.com' [PROMSCALE_WEB_CORS_ORIGIN] (default ".*")
  -web.enable-admin-api
    	Allow operations via API that are for advanced users. Currently, these operations are limited to deletion of series. [PROMSCALE_WEB_ENABLE_ADMIN_API]
  -web.listen-address string
    	Address to listen on for web endpoints. [PROMSCALE_WEB_LISTEN_ADDRESS] (default ":9201")
  -web.telemetry-path string
    	Web endpoint for exposing Promscale's Prometheus metrics. [PROMSCALE_WEB_TELEMETRY_PATH] (default "/metrics")
=== RUN   TestParseFlags/invalid_TLS_setup,_missing_key_file
=== RUN   TestParseFlags/invalid_TLS_setup,_missing_cert_file
=== RUN   TestParseFlags/invalid_auth_setup
=== RUN   TestParseFlags/invalid_env_variable_type_causing_parse_error
=== RUN   TestParseFlags/enable_feature_should_fail_on_unknown_feature
=== RUN   TestParseFlags/enable_feature_should_populate_map_of_enabled_features
=== RUN   TestParseFlags/test_deprecated_CLI_flag
flag provided but not defined: -db-writer-connection-concurrency
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -auth.tls-cert-file string
    	TLS Certificate file used for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_CERT_FILE]
  -auth.tls-key-file string
    	TLS Key file for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_KEY_FILE]
  -cache.memory-target value
    	Target for max amount of memory to use. Specified in bytes or as a percentage of system memory (e.g. 80%). [PROMSCALE_CACHE_MEMORY_TARGET] (default 80%)
  -config string
    	YAML configuration file path for Promscale. [PROMSCALE_CONFIG] (default "config.yml")
  -db.app string
    	This sets the application_name in database connection string. This is helpful during debugging when looking at pg_stat_activity. [PROMSCALE_DB_APP] (default "promscale@0.17.0")
  -db.connection-timeout duration
    	Timeout for establishing the connection between Promscale and TimescaleDB. [PROMSCALE_DB_CONNECTION_TIMEOUT] (default 1m0s)
  -db.connections-max int
    	Maximum number of connections to the database that should be opened at once. It defaults to 80% of the maximum connections that the database can handle.  [PROMSCALE_DB_CONNECTIONS_MAX] (default -1)
  -db.connections.maint-pool.size int
    	Maximum size of the maintenance pool of database connections. This defaults to 5 [PROMSCALE_DB_CONNECTIONS_MAINT_POOL_SIZE] (default 5)
  -db.connections.num-writers int
    	Number of database connections for writing metrics/traces to database. By default, this will be set based on the number of CPUs available to the DB Promscale is connected to. [PROMSCALE_DB_CONNECTIONS_NUM_WRITERS]
  -db.connections.reader-pool.size int
    	Maximum size of the reader pool of database connections. This defaults to roughly 30% of max_connections allowed by the database. 50% in read-only mode [PROMSCALE_DB_CONNECTIONS_READER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.size int
    	Maximum size of the writer pool of database connections. This defaults to 50% of max_connections allowed by the database. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.synchronous-commit
    	Enable/disable synchronous_commit on database connections in the writer pool. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SYNCHRONOUS_COMMIT]
  -db.host string
    	Host for TimescaleDB. [PROMSCALE_DB_HOST] (default "localhost")
  -db.name string
    	Database name. [PROMSCALE_DB_NAME] (default "timescale")
  -db.password string
    	Password for connecting to TimescaleDB. [PROMSCALE_DB_PASSWORD]
  -db.port int
    	Port for TimescaleDB. [PROMSCALE_DB_PORT] (default 5432)
  -db.read-only
    	Read-only mode for the connector. Operations related to writing or updating the database are disallowed. It is used when pointing the connector to a TimescaleDB read replica. [PROMSCALE_DB_READ_ONLY]
  -db.ssl-mode string
    	TimescaleDB connection ssl mode. If you do not want to use ssl, pass 'allow' as value. [PROMSCALE_DB_SSL_MODE] (default "require")
  -db.statements-cache
    	Whether database connection pool should use cached prepared statements. Disable if using PgBouncer [PROMSCALE_DB_STATEMENTS_CACHE] (default true)
  -db.uri postgres://postgres:password@localhost:5432/timescale?sslmode=require
    	TimescaleDB URI. Example DB URI postgres://postgres:password@localhost:5432/timescale?sslmode=require [PROMSCALE_DB_URI]
  -db.user string
    	TimescaleDB user. [PROMSCALE_DB_USER] (default "postgres")
  -enable-feature value
    	Enable beta/experimental features as a comma-separated list. Currently the following values can be passed: promql-at-modifier, promql-negative-offset, promql-per-step-stats [PROMSCALE_ENABLE_FEATURE]
  -metrics.alertmanager.notification-queue-capacity int
    	The capacity of the queue for pending Alertmanager notifications. [PROMSCALE_METRICS_ALERTMANAGER_NOTIFICATION_QUEUE_CAPACITY] (default 10000)
  -metrics.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of metric data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_METRICS_ASYNC_ACKS]
  -metrics.cache.exemplar.size uint
    	Maximum number of exemplar metrics key-position to cache. It has one-to-one mapping with number of metrics that have exemplar, as key positions are saved per metric basis. [PROMSCALE_METRICS_CACHE_EXEMPLAR_SIZE] (default 10000)
  -metrics.cache.inverted-labels.max-bytes value
    	Initial size of elements in the invreted labels cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_MAX_BYTES] (default 10%)
  -metrics.cache.inverted-labels.size uint
    	Maximum number of label-ids to cache. This helps increase ingest performance. [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_SIZE] (default 500000)
  -metrics.cache.labels.size uint
    	Maximum number of labels to cache. [PROMSCALE_METRICS_CACHE_LABELS_SIZE] (default 100000)
  -metrics.cache.metrics.size uint
    	Maximum number of metric names to cache. [PROMSCALE_METRICS_CACHE_METRICS_SIZE] (default 10000)
  -metrics.cache.series.initial-size uint
    	Maximum number of series to cache. [PROMSCALE_METRICS_CACHE_SERIES_INITIAL_SIZE] (default 1000000)
  -metrics.cache.series.max-bytes value
    	Initial number of elements in the series cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_SERIES_MAX_BYTES] (default 50%)
  -metrics.high-availability
    	Enable external_labels based HA. [PROMSCALE_METRICS_HIGH_AVAILABILITY]
  -metrics.ignore-samples-written-to-compressed-chunks
    	Ignore/drop samples that are being written to compressed chunks. Setting this to false allows Promscale to ingest older data by decompressing chunks that were earlier compressed. However, setting this to true will save your resources that may be required during decompression.  [PROMSCALE_METRICS_IGNORE_SAMPLES_WRITTEN_TO_COMPRESSED_CHUNKS]
  -metrics.multi-tenancy
    	Use multi-tenancy mode in Promscale. [PROMSCALE_METRICS_MULTI_TENANCY]
  -metrics.multi-tenancy.allow-non-tenants
    	Allow Promscale to ingest/query all tenants as well as non-tenants. By setting this to true, Promscale will ingest data from non multi-tenant Prometheus instances as well. If this is false, only multi-tenants (tenants listed in 'multi-tenancy-valid-tenants') are allowed for ingesting and querying data. [PROMSCALE_METRICS_MULTI_TENANCY_ALLOW_NON_TENANTS]
  -metrics.multi-tenancy.experimental.label-queries
    	[EXPERIMENTAL] Use label queries that returns labels of authorized tenants only. This may affect system performance while running PromQL queries. By default this is enabled in -metrics.multi-tenancy mode. [PROMSCALE_METRICS_MULTI_TENANCY_EXPERIMENTAL_LABEL_QUERIES] (default true)
  -metrics.multi-tenancy.valid-tenants string
    	Sets valid tenants that are allowed to be ingested/queried from Promscale. This can be set as: 'allow-all' (default) or a comma separated tenant names. 'allow-all' makes Promscale ingest or query any tenant from itself. A comma separated list will indicate only those tenants that are authorized for operations from Promscale. [PROMSCALE_METRICS_MULTI_TENANCY_VALID_TENANTS] (default "allow-all")
  -metrics.promql.default-subquery-step-interval duration
    	Default step interval to be used for PromQL subquery evaluation. This value is used if the subquery does not specify the step value explicitly. Example: [30m:]. Note: in Prometheus this setting is set by the evaluation_interval option. [PROMSCALE_METRICS_PROMQL_DEFAULT_SUBQUERY_STEP_INTERVAL] (default 1m0s)
  -metrics.promql.lookback-delta duration
    	Maximum lookback duration for retrieving metrics during expression evaluations and federation. [PROMSCALE_METRICS_PROMQL_LOOKBACK_DELTA] (default 5m0s)
  -metrics.promql.max-points-per-ts int
    	Maximum number of points per time-series in a query-range request. This calculation is an estimation, that happens as (start - end)/step where start and end are the 'start' and 'end' timestamps of the query_range. [PROMSCALE_METRICS_PROMQL_MAX_POINTS_PER_TS] (default 11000)
  -metrics.promql.max-samples int
    	Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can return. [PROMSCALE_METRICS_PROMQL_MAX_SAMPLES] (default 50000000)
  -metrics.promql.query-timeout duration
    	Maximum time a query may take before being aborted. This option sets both the default and maximum value of the 'timeout' parameter in '/api/v1/query.*' endpoints. [PROMSCALE_METRICS_PROMQL_QUERY_TIMEOUT] (default 2m0s)
  -metrics.rules.alert.for-grace-period duration
    	Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period. [PROMSCALE_METRICS_RULES_ALERT_FOR_GRACE_PERIOD] (default 10m0s)
  -metrics.rules.alert.for-outage-tolerance duration
    	Max time to tolerate Promscale outage for restoring "for" state of alert. [PROMSCALE_METRICS_RULES_ALERT_FOR_OUTAGE_TOLERANCE] (default 1h0m0s)
  -metrics.rules.alert.resend-delay duration
    	Minimum amount of time to wait before resending an alert to Alertmanager. [PROMSCALE_METRICS_RULES_ALERT_RESEND_DELAY] (default 1m0s)
  -metrics.rules.config-file rule_files
    	Path to configuration file in Prometheus-format, containing rule_files and optional `alerting`, `global` fields. For more details, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/. Note: If this is flag empty or `rule_files` is empty, Promscale rule-manager will not start. If `alertmanagers` is empty, alerting will not be initialized. [PROMSCALE_METRICS_RULES_CONFIG_FILE]
  -startup.dataset.config string
    	Dataset configuration in YAML format for Promscale. It is used for setting various dataset configuration like default metric chunk interval [PROMSCALE_STARTUP_DATASET_CONFIG]
  -startup.install-extensions
    	Install TimescaleDB, Promscale extension. [PROMSCALE_STARTUP_INSTALL_EXTENSIONS] (default true)
  -startup.only
    	Only run startup configuration with Promscale (i.e. migrate) and exit. Can be used to run promscale as an init container for HA setups. [PROMSCALE_STARTUP_ONLY]
  -startup.skip-migrate
    	Skip migrating Promscale SQL schema to latest version on startup. [PROMSCALE_STARTUP_SKIP_MIGRATE]
  -startup.upgrade-extensions
    	Upgrades TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_EXTENSIONS] (default true)
  -startup.upgrade-prerelease-extensions
    	Upgrades to pre-release TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS]
  -startup.use-schema-version-lease
    	Use schema version lease to prevent race conditions during migration. [PROMSCALE_STARTUP_USE_SCHEMA_VERSION_LEASE] (default true)
  -telemetry.log.format string
    	The log format to use [ 'logfmt', 'json' ]. [PROMSCALE_TELEMETRY_LOG_FORMAT] (default "logfmt")
  -telemetry.log.level string
    	Log level to use from [ 'error', 'warn', 'info', 'debug' ]. [PROMSCALE_TELEMETRY_LOG_LEVEL] (default "info")
  -telemetry.log.throughput-report-interval 0
    	Duration interval at which throughput should be reported. Setting duration to 0 will disable reporting throughput, otherwise, an interval with unit must be provided, e.g. `10s` or `3m`. [PROMSCALE_TELEMETRY_LOG_THROUGHPUT_REPORT_INTERVAL] (default 1s)
  -telemetry.trace.jaeger-endpoint string
    	Jaeger tracing collector thrift HTTP URL endpoint to send telemetry to (e.g. https://jaeger-collector:14268/api/traces). [PROMSCALE_TELEMETRY_TRACE_JAEGER_ENDPOINT]
  -telemetry.trace.otel-endpoint string
    	OpenTelemetry tracing collector GRPC URL endpoint to send telemetry to. (i.e. otel-collector:4317) [PROMSCALE_TELEMETRY_TRACE_OTEL_ENDPOINT]
  -telemetry.trace.otel-tls-cert-file string
    	TLS Certificate file used for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_CERT_FILE]
  -telemetry.trace.otel-tls-key-file string
    	TLS Key file for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_KEY_FILE]
  -telemetry.trace.sampling-ratio float
    	Trace sampling ratio, amount of spans to send to collector. Valid values from 0.0 (none) to 1.0 (all). [PROMSCALE_TELEMETRY_TRACE_SAMPLING_RATIO] (default 1)
  -thanos.store-api.server-address string
    	Address to listen on for Thanos Store API endpoints. [PROMSCALE_THANOS_STORE_API_SERVER_ADDRESS]
  -tracing.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of traces data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_TRACING_ASYNC_ACKS] (default true)
  -tracing.batch-timeout duration
    	Timeout after new trace batch is created [PROMSCALE_TRACING_BATCH_TIMEOUT] (default 100ms)
  -tracing.batch-workers int
    	Number of workers responsible for creating trace batches. Defaults to number of CPUs. [PROMSCALE_TRACING_BATCH_WORKERS] (default 6)
  -tracing.grpc.server-address string
    	GRPC server address to listen on for Jaeger and OTEL traces. [PROMSCALE_TRACING_GRPC_SERVER_ADDRESS] (default ":9202")
  -tracing.max-batch-size int
    	Maximum size of trace batch that is written to DB [PROMSCALE_TRACING_MAX_BATCH_SIZE] (default 1000)
  -tracing.max-trace-duration duration
    	Maximum duration of any trace in the system. This parameter is used to optimize queries. [PROMSCALE_TRACING_MAX_TRACE_DURATION] (default 1h0m0s)
  -tracing.otlp.server-address tracing.grpc.server-address
    	GRPC server address to listen on for Jaeger and OTEL traces(DEPRECATED: use tracing.grpc.server-address instead). [PROMSCALE_TRACING_OTLP_SERVER_ADDRESS] (default ":9202")
  -tracing.streaming-span-writer
    	StreamingSpanWriter for remote Jaeger grpc store. [PROMSCALE_TRACING_STREAMING_SPAN_WRITER] (default true)
  -vacuum.disable
    	disables the vacuum engine [PROMSCALE_VACUUM_DISABLE]
  -vacuum.parallelism int
    	the maximum number of goroutines/connections used to vacuum [PROMSCALE_VACUUM_PARALLELISM] (default 4)
  -vacuum.run-frequency duration
    	how often should the vacuum engine run [PROMSCALE_VACUUM_RUN_FREQUENCY] (default 10m0s)
  -web.auth.bearer-token string
    	Bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token-file and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN]
  -web.auth.bearer-token-file string
    	Path of the file containing the bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN_FILE]
  -web.auth.ignore-path value
    	HTTP paths which has to be skipped from authentication. This flag shall be repeated and each one would be appended to the ignore list. [PROMSCALE_WEB_AUTH_IGNORE_PATH]
  -web.auth.password string
    	Authentication password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password-file and bearer-token flags. [PROMSCALE_WEB_AUTH_PASSWORD]
  -web.auth.password-file string
    	Path for auth password file containing the actual password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password and bearer-token methods. [PROMSCALE_WEB_AUTH_PASSWORD_FILE]
  -web.auth.username string
    	Authentication username used for web endpoint authentication. Disabled by default. [PROMSCALE_WEB_AUTH_USERNAME]
  -web.cors-origin string
    	Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2)\.com' [PROMSCALE_WEB_CORS_ORIGIN] (default ".*")
  -web.enable-admin-api
    	Allow operations via API that are for advanced users. Currently, these operations are limited to deletion of series. [PROMSCALE_WEB_ENABLE_ADMIN_API]
  -web.listen-address string
    	Address to listen on for web endpoints. [PROMSCALE_WEB_LISTEN_ADDRESS] (default ":9201")
  -web.telemetry-path string
    	Web endpoint for exposing Promscale's Prometheus metrics. [PROMSCALE_WEB_TELEMETRY_PATH] (default "/metrics")
=== RUN   TestParseFlags/test_vacuum.disable
=== RUN   TestParseFlags/test_vacuum
--- PASS: TestParseFlags (0.03s)
    --- PASS: TestParseFlags/Default_config (0.00s)
    --- PASS: TestParseFlags/Invalid_flag_error (0.00s)
    --- PASS: TestParseFlags/Invalid_config_file (0.00s)
    --- PASS: TestParseFlags/CORS_Origin_regex_error (0.00s)
    --- PASS: TestParseFlags/Don't_migrate (0.00s)
    --- PASS: TestParseFlags/test_removed_promql_flags (0.00s)
    --- PASS: TestParseFlags/enable_disabled-features (0.00s)
    --- PASS: TestParseFlags/Old_migrate_flag (0.00s)
    --- PASS: TestParseFlags/Invalid_migrate_option (0.00s)
    --- PASS: TestParseFlags/Read-only_mode (0.00s)
    --- PASS: TestParseFlags/Running_HA_and_read-only_error (0.00s)
    --- PASS: TestParseFlags/Running_migrate_and_read-only_error (0.00s)
    --- PASS: TestParseFlags/Running_install_TimescaleDB_and_read-only_error (0.00s)
    --- PASS: TestParseFlags/invalid_TLS_setup,_missing_key_file (0.00s)
    --- PASS: TestParseFlags/invalid_TLS_setup,_missing_cert_file (0.00s)
    --- PASS: TestParseFlags/invalid_auth_setup (0.00s)
    --- PASS: TestParseFlags/invalid_env_variable_type_causing_parse_error (0.00s)
    --- PASS: TestParseFlags/enable_feature_should_fail_on_unknown_feature (0.00s)
    --- PASS: TestParseFlags/enable_feature_should_populate_map_of_enabled_features (0.00s)
    --- PASS: TestParseFlags/test_deprecated_CLI_flag (0.00s)
    --- PASS: TestParseFlags/test_vacuum.disable (0.00s)
    --- PASS: TestParseFlags/test_vacuum (0.00s)
=== RUN   TestParseFlagsConfigPrecedence
=== RUN   TestParseFlagsConfigPrecedence/Default_config
=== RUN   TestParseFlagsConfigPrecedence/Config_file_only
=== RUN   TestParseFlagsConfigPrecedence/Config_file_with_dataset
=== RUN   TestParseFlagsConfigPrecedence/Config_file_only_with_flat_map
=== RUN   TestParseFlagsConfigPrecedence/Config_file_only_with_semi_flat_map
=== RUN   TestParseFlagsConfigPrecedence/Config_file_only_flat_takes_precendence_over_yaml_mapping
=== RUN   TestParseFlagsConfigPrecedence/Env_variable_only,_PROMSCALE_prefix
=== RUN   TestParseFlagsConfigPrecedence/Env_variable_takes_precedence_over_config_file_setting
=== RUN   TestParseFlagsConfigPrecedence/CLI_arg_takes_precedence_over_env_variable
--- PASS: TestParseFlagsConfigPrecedence (0.01s)
    --- PASS: TestParseFlagsConfigPrecedence/Default_config (0.00s)
    --- PASS: TestParseFlagsConfigPrecedence/Config_file_only (0.00s)
    --- PASS: TestParseFlagsConfigPrecedence/Config_file_with_dataset (0.00s)
    --- PASS: TestParseFlagsConfigPrecedence/Config_file_only_with_flat_map (0.00s)
    --- PASS: TestParseFlagsConfigPrecedence/Config_file_only_with_semi_flat_map (0.00s)
    --- PASS: TestParseFlagsConfigPrecedence/Config_file_only_flat_takes_precendence_over_yaml_mapping (0.00s)
    --- PASS: TestParseFlagsConfigPrecedence/Env_variable_only,_PROMSCALE_prefix (0.00s)
    --- PASS: TestParseFlagsConfigPrecedence/Env_variable_takes_precedence_over_config_file_setting (0.01s)
    --- PASS: TestParseFlagsConfigPrecedence/CLI_arg_takes_precedence_over_env_variable (0.00s)
=== RUN   TestRemovedFlagUsage
=== RUN   TestRemovedFlagUsage/No_error
=== RUN   TestRemovedFlagUsage/Old_env_variable
=== RUN   TestRemovedFlagUsage/Old_migrate_env_variable
=== RUN   TestRemovedFlagUsage/Old_flag_in_config_file
(0x9206484,0x32910090)
=== RUN   TestRemovedFlagUsage/Old_flag_in_config_file_2
(0x9206484,0x32910090)
=== RUN   TestRemovedFlagUsage/Old_migrate_flag_in_config_file
(0x9206484,0x32910090)
=== RUN   TestRemovedFlagUsage/Old_flag_in_args
flag provided but not defined: -web-listen-address
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -auth.tls-cert-file string
    	TLS Certificate file used for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_CERT_FILE]
  -auth.tls-key-file string
    	TLS Key file for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_KEY_FILE]
  -cache.memory-target value
    	Target for max amount of memory to use. Specified in bytes or as a percentage of system memory (e.g. 80%). [PROMSCALE_CACHE_MEMORY_TARGET] (default 80%)
  -config string
    	YAML configuration file path for Promscale. [PROMSCALE_CONFIG] (default "config.yml")
  -db.app string
    	This sets the application_name in database connection string. This is helpful during debugging when looking at pg_stat_activity. [PROMSCALE_DB_APP] (default "promscale@0.17.0")
  -db.connection-timeout duration
    	Timeout for establishing the connection between Promscale and TimescaleDB. [PROMSCALE_DB_CONNECTION_TIMEOUT] (default 1m0s)
  -db.connections-max int
    	Maximum number of connections to the database that should be opened at once. It defaults to 80% of the maximum connections that the database can handle.  [PROMSCALE_DB_CONNECTIONS_MAX] (default -1)
  -db.connections.maint-pool.size int
    	Maximum size of the maintenance pool of database connections. This defaults to 5 [PROMSCALE_DB_CONNECTIONS_MAINT_POOL_SIZE] (default 5)
  -db.connections.num-writers int
    	Number of database connections for writing metrics/traces to database. By default, this will be set based on the number of CPUs available to the DB Promscale is connected to. [PROMSCALE_DB_CONNECTIONS_NUM_WRITERS]
  -db.connections.reader-pool.size int
    	Maximum size of the reader pool of database connections. This defaults to roughly 30% of max_connections allowed by the database. 50% in read-only mode [PROMSCALE_DB_CONNECTIONS_READER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.size int
    	Maximum size of the writer pool of database connections. This defaults to 50% of max_connections allowed by the database. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.synchronous-commit
    	Enable/disable synchronous_commit on database connections in the writer pool. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SYNCHRONOUS_COMMIT]
  -db.host string
    	Host for TimescaleDB. [PROMSCALE_DB_HOST] (default "localhost")
  -db.name string
    	Database name. [PROMSCALE_DB_NAME] (default "timescale")
  -db.password string
    	Password for connecting to TimescaleDB. [PROMSCALE_DB_PASSWORD]
  -db.port int
    	Port for TimescaleDB. [PROMSCALE_DB_PORT] (default 5432)
  -db.read-only
    	Read-only mode for the connector. Operations related to writing or updating the database are disallowed. It is used when pointing the connector to a TimescaleDB read replica. [PROMSCALE_DB_READ_ONLY]
  -db.ssl-mode string
    	TimescaleDB connection ssl mode. If you do not want to use ssl, pass 'allow' as value. [PROMSCALE_DB_SSL_MODE] (default "require")
  -db.statements-cache
    	Whether database connection pool should use cached prepared statements. Disable if using PgBouncer [PROMSCALE_DB_STATEMENTS_CACHE] (default true)
  -db.uri postgres://postgres:password@localhost:5432/timescale?sslmode=require
    	TimescaleDB URI. Example DB URI postgres://postgres:password@localhost:5432/timescale?sslmode=require [PROMSCALE_DB_URI]
  -db.user string
    	TimescaleDB user. [PROMSCALE_DB_USER] (default "postgres")
  -enable-feature value
    	Enable beta/experimental features as a comma-separated list. Currently the following values can be passed: promql-at-modifier, promql-negative-offset, promql-per-step-stats [PROMSCALE_ENABLE_FEATURE]
  -metrics.alertmanager.notification-queue-capacity int
    	The capacity of the queue for pending Alertmanager notifications. [PROMSCALE_METRICS_ALERTMANAGER_NOTIFICATION_QUEUE_CAPACITY] (default 10000)
  -metrics.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of metric data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_METRICS_ASYNC_ACKS]
  -metrics.cache.exemplar.size uint
    	Maximum number of exemplar metrics key-position to cache. It has one-to-one mapping with number of metrics that have exemplar, as key positions are saved per metric basis. [PROMSCALE_METRICS_CACHE_EXEMPLAR_SIZE] (default 10000)
  -metrics.cache.inverted-labels.max-bytes value
    	Initial size of elements in the invreted labels cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_MAX_BYTES] (default 10%)
  -metrics.cache.inverted-labels.size uint
    	Maximum number of label-ids to cache. This helps increase ingest performance. [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_SIZE] (default 500000)
  -metrics.cache.labels.size uint
    	Maximum number of labels to cache. [PROMSCALE_METRICS_CACHE_LABELS_SIZE] (default 100000)
  -metrics.cache.metrics.size uint
    	Maximum number of metric names to cache. [PROMSCALE_METRICS_CACHE_METRICS_SIZE] (default 10000)
  -metrics.cache.series.initial-size uint
    	Maximum number of series to cache. [PROMSCALE_METRICS_CACHE_SERIES_INITIAL_SIZE] (default 1000000)
  -metrics.cache.series.max-bytes value
    	Initial number of elements in the series cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_SERIES_MAX_BYTES] (default 50%)
  -metrics.high-availability
    	Enable external_labels based HA. [PROMSCALE_METRICS_HIGH_AVAILABILITY]
  -metrics.ignore-samples-written-to-compressed-chunks
    	Ignore/drop samples that are being written to compressed chunks. Setting this to false allows Promscale to ingest older data by decompressing chunks that were earlier compressed. However, setting this to true will save your resources that may be required during decompression.  [PROMSCALE_METRICS_IGNORE_SAMPLES_WRITTEN_TO_COMPRESSED_CHUNKS]
  -metrics.multi-tenancy
    	Use multi-tenancy mode in Promscale. [PROMSCALE_METRICS_MULTI_TENANCY]
  -metrics.multi-tenancy.allow-non-tenants
    	Allow Promscale to ingest/query all tenants as well as non-tenants. By setting this to true, Promscale will ingest data from non multi-tenant Prometheus instances as well. If this is false, only multi-tenants (tenants listed in 'multi-tenancy-valid-tenants') are allowed for ingesting and querying data. [PROMSCALE_METRICS_MULTI_TENANCY_ALLOW_NON_TENANTS]
  -metrics.multi-tenancy.experimental.label-queries
    	[EXPERIMENTAL] Use label queries that returns labels of authorized tenants only. This may affect system performance while running PromQL queries. By default this is enabled in -metrics.multi-tenancy mode. [PROMSCALE_METRICS_MULTI_TENANCY_EXPERIMENTAL_LABEL_QUERIES] (default true)
  -metrics.multi-tenancy.valid-tenants string
    	Sets valid tenants that are allowed to be ingested/queried from Promscale. This can be set as: 'allow-all' (default) or a comma separated tenant names. 'allow-all' makes Promscale ingest or query any tenant from itself. A comma separated list will indicate only those tenants that are authorized for operations from Promscale. [PROMSCALE_METRICS_MULTI_TENANCY_VALID_TENANTS] (default "allow-all")
  -metrics.promql.default-subquery-step-interval duration
    	Default step interval to be used for PromQL subquery evaluation. This value is used if the subquery does not specify the step value explicitly. Example: [30m:]. Note: in Prometheus this setting is set by the evaluation_interval option. [PROMSCALE_METRICS_PROMQL_DEFAULT_SUBQUERY_STEP_INTERVAL] (default 1m0s)
  -metrics.promql.lookback-delta duration
    	Maximum lookback duration for retrieving metrics during expression evaluations and federation. [PROMSCALE_METRICS_PROMQL_LOOKBACK_DELTA] (default 5m0s)
  -metrics.promql.max-points-per-ts int
    	Maximum number of points per time-series in a query-range request. This calculation is an estimation, that happens as (start - end)/step where start and end are the 'start' and 'end' timestamps of the query_range. [PROMSCALE_METRICS_PROMQL_MAX_POINTS_PER_TS] (default 11000)
  -metrics.promql.max-samples int
    	Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can return. [PROMSCALE_METRICS_PROMQL_MAX_SAMPLES] (default 50000000)
  -metrics.promql.query-timeout duration
    	Maximum time a query may take before being aborted. This option sets both the default and maximum value of the 'timeout' parameter in '/api/v1/query.*' endpoints. [PROMSCALE_METRICS_PROMQL_QUERY_TIMEOUT] (default 2m0s)
  -metrics.rules.alert.for-grace-period duration
    	Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period. [PROMSCALE_METRICS_RULES_ALERT_FOR_GRACE_PERIOD] (default 10m0s)
  -metrics.rules.alert.for-outage-tolerance duration
    	Max time to tolerate Promscale outage for restoring "for" state of alert. [PROMSCALE_METRICS_RULES_ALERT_FOR_OUTAGE_TOLERANCE] (default 1h0m0s)
  -metrics.rules.alert.resend-delay duration
    	Minimum amount of time to wait before resending an alert to Alertmanager. [PROMSCALE_METRICS_RULES_ALERT_RESEND_DELAY] (default 1m0s)
  -metrics.rules.config-file rule_files
    	Path to configuration file in Prometheus-format, containing rule_files and optional `alerting`, `global` fields. For more details, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/. Note: If this is flag empty or `rule_files` is empty, Promscale rule-manager will not start. If `alertmanagers` is empty, alerting will not be initialized. [PROMSCALE_METRICS_RULES_CONFIG_FILE]
  -startup.dataset.config string
    	Dataset configuration in YAML format for Promscale. It is used for setting various dataset configuration like default metric chunk interval [PROMSCALE_STARTUP_DATASET_CONFIG]
  -startup.install-extensions
    	Install TimescaleDB, Promscale extension. [PROMSCALE_STARTUP_INSTALL_EXTENSIONS] (default true)
  -startup.only
    	Only run startup configuration with Promscale (i.e. migrate) and exit. Can be used to run promscale as an init container for HA setups. [PROMSCALE_STARTUP_ONLY]
  -startup.skip-migrate
    	Skip migrating Promscale SQL schema to latest version on startup. [PROMSCALE_STARTUP_SKIP_MIGRATE]
  -startup.upgrade-extensions
    	Upgrades TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_EXTENSIONS] (default true)
  -startup.upgrade-prerelease-extensions
    	Upgrades to pre-release TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS]
  -startup.use-schema-version-lease
    	Use schema version lease to prevent race conditions during migration. [PROMSCALE_STARTUP_USE_SCHEMA_VERSION_LEASE] (default true)
  -telemetry.log.format string
    	The log format to use [ 'logfmt', 'json' ]. [PROMSCALE_TELEMETRY_LOG_FORMAT] (default "logfmt")
  -telemetry.log.level string
    	Log level to use from [ 'error', 'warn', 'info', 'debug' ]. [PROMSCALE_TELEMETRY_LOG_LEVEL] (default "info")
  -telemetry.log.throughput-report-interval 0
    	Duration interval at which throughput should be reported. Setting duration to 0 will disable reporting throughput, otherwise, an interval with unit must be provided, e.g. `10s` or `3m`. [PROMSCALE_TELEMETRY_LOG_THROUGHPUT_REPORT_INTERVAL] (default 1s)
  -telemetry.trace.jaeger-endpoint string
    	Jaeger tracing collector thrift HTTP URL endpoint to send telemetry to (e.g. https://jaeger-collector:14268/api/traces). [PROMSCALE_TELEMETRY_TRACE_JAEGER_ENDPOINT]
  -telemetry.trace.otel-endpoint string
    	OpenTelemetry tracing collector GRPC URL endpoint to send telemetry to. (i.e. otel-collector:4317) [PROMSCALE_TELEMETRY_TRACE_OTEL_ENDPOINT]
  -telemetry.trace.otel-tls-cert-file string
    	TLS Certificate file used for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_CERT_FILE]
  -telemetry.trace.otel-tls-key-file string
    	TLS Key file for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_KEY_FILE]
  -telemetry.trace.sampling-ratio float
    	Trace sampling ratio, amount of spans to send to collector. Valid values from 0.0 (none) to 1.0 (all). [PROMSCALE_TELEMETRY_TRACE_SAMPLING_RATIO] (default 1)
  -thanos.store-api.server-address string
    	Address to listen on for Thanos Store API endpoints. [PROMSCALE_THANOS_STORE_API_SERVER_ADDRESS]
  -tracing.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of traces data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_TRACING_ASYNC_ACKS] (default true)
  -tracing.batch-timeout duration
    	Timeout after new trace batch is created [PROMSCALE_TRACING_BATCH_TIMEOUT] (default 100ms)
  -tracing.batch-workers int
    	Number of workers responsible for creating trace batches. Defaults to number of CPUs. [PROMSCALE_TRACING_BATCH_WORKERS] (default 6)
  -tracing.grpc.server-address string
    	GRPC server address to listen on for Jaeger and OTEL traces. [PROMSCALE_TRACING_GRPC_SERVER_ADDRESS] (default ":9202")
  -tracing.max-batch-size int
    	Maximum size of trace batch that is written to DB [PROMSCALE_TRACING_MAX_BATCH_SIZE] (default 1000)
  -tracing.max-trace-duration duration
    	Maximum duration of any trace in the system. This parameter is used to optimize queries. [PROMSCALE_TRACING_MAX_TRACE_DURATION] (default 1h0m0s)
  -tracing.otlp.server-address tracing.grpc.server-address
    	GRPC server address to listen on for Jaeger and OTEL traces(DEPRECATED: use tracing.grpc.server-address instead). [PROMSCALE_TRACING_OTLP_SERVER_ADDRESS] (default ":9202")
  -tracing.streaming-span-writer
    	StreamingSpanWriter for remote Jaeger grpc store. [PROMSCALE_TRACING_STREAMING_SPAN_WRITER] (default true)
  -vacuum.disable
    	disables the vacuum engine [PROMSCALE_VACUUM_DISABLE]
  -vacuum.parallelism int
    	the maximum number of goroutines/connections used to vacuum [PROMSCALE_VACUUM_PARALLELISM] (default 4)
  -vacuum.run-frequency duration
    	how often should the vacuum engine run [PROMSCALE_VACUUM_RUN_FREQUENCY] (default 10m0s)
  -web.auth.bearer-token string
    	Bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token-file and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN]
  -web.auth.bearer-token-file string
    	Path of the file containing the bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN_FILE]
  -web.auth.ignore-path value
    	HTTP paths which has to be skipped from authentication. This flag shall be repeated and each one would be appended to the ignore list. [PROMSCALE_WEB_AUTH_IGNORE_PATH]
  -web.auth.password string
    	Authentication password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password-file and bearer-token flags. [PROMSCALE_WEB_AUTH_PASSWORD]
  -web.auth.password-file string
    	Path for auth password file containing the actual password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password and bearer-token methods. [PROMSCALE_WEB_AUTH_PASSWORD_FILE]
  -web.auth.username string
    	Authentication username used for web endpoint authentication. Disabled by default. [PROMSCALE_WEB_AUTH_USERNAME]
  -web.cors-origin string
    	Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2)\.com' [PROMSCALE_WEB_CORS_ORIGIN] (default ".*")
  -web.enable-admin-api
    	Allow operations via API that are for advanced users. Currently, these operations are limited to deletion of series. [PROMSCALE_WEB_ENABLE_ADMIN_API]
  -web.listen-address string
    	Address to listen on for web endpoints. [PROMSCALE_WEB_LISTEN_ADDRESS] (default ":9201")
  -web.telemetry-path string
    	Web endpoint for exposing Promscale's Prometheus metrics. [PROMSCALE_WEB_TELEMETRY_PATH] (default "/metrics")
=== RUN   TestRemovedFlagUsage/Old_migrate_flag_in_args
flag provided but not defined: -migrate
Usage of /magus/work/usr/mports/net-mgmt/promscale/work/go-build981427913/b858/runner.test:
  -auth.tls-cert-file string
    	TLS Certificate file used for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_CERT_FILE]
  -auth.tls-key-file string
    	TLS Key file for server authentication, leave blank to disable TLS. NOTE: this option is used for all servers that Promscale runs (web and GRPC). [PROMSCALE_AUTH_TLS_KEY_FILE]
  -cache.memory-target value
    	Target for max amount of memory to use. Specified in bytes or as a percentage of system memory (e.g. 80%). [PROMSCALE_CACHE_MEMORY_TARGET] (default 80%)
  -config string
    	YAML configuration file path for Promscale. [PROMSCALE_CONFIG] (default "config.yml")
  -db.app string
    	This sets the application_name in database connection string. This is helpful during debugging when looking at pg_stat_activity. [PROMSCALE_DB_APP] (default "promscale@0.17.0")
  -db.connection-timeout duration
    	Timeout for establishing the connection between Promscale and TimescaleDB. [PROMSCALE_DB_CONNECTION_TIMEOUT] (default 1m0s)
  -db.connections-max int
    	Maximum number of connections to the database that should be opened at once. It defaults to 80% of the maximum connections that the database can handle.  [PROMSCALE_DB_CONNECTIONS_MAX] (default -1)
  -db.connections.maint-pool.size int
    	Maximum size of the maintenance pool of database connections. This defaults to 5 [PROMSCALE_DB_CONNECTIONS_MAINT_POOL_SIZE] (default 5)
  -db.connections.num-writers int
    	Number of database connections for writing metrics/traces to database. By default, this will be set based on the number of CPUs available to the DB Promscale is connected to. [PROMSCALE_DB_CONNECTIONS_NUM_WRITERS]
  -db.connections.reader-pool.size int
    	Maximum size of the reader pool of database connections. This defaults to roughly 30% of max_connections allowed by the database. 50% in read-only mode [PROMSCALE_DB_CONNECTIONS_READER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.size int
    	Maximum size of the writer pool of database connections. This defaults to 50% of max_connections allowed by the database. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SIZE] (default -1)
  -db.connections.writer-pool.synchronous-commit
    	Enable/disable synchronous_commit on database connections in the writer pool. [PROMSCALE_DB_CONNECTIONS_WRITER_POOL_SYNCHRONOUS_COMMIT]
  -db.host string
    	Host for TimescaleDB. [PROMSCALE_DB_HOST] (default "localhost")
  -db.name string
    	Database name. [PROMSCALE_DB_NAME] (default "timescale")
  -db.password string
    	Password for connecting to TimescaleDB. [PROMSCALE_DB_PASSWORD]
  -db.port int
    	Port for TimescaleDB. [PROMSCALE_DB_PORT] (default 5432)
  -db.read-only
    	Read-only mode for the connector. Operations related to writing or updating the database are disallowed. It is used when pointing the connector to a TimescaleDB read replica. [PROMSCALE_DB_READ_ONLY]
  -db.ssl-mode string
    	TimescaleDB connection ssl mode. If you do not want to use ssl, pass 'allow' as value. [PROMSCALE_DB_SSL_MODE] (default "require")
  -db.statements-cache
    	Whether database connection pool should use cached prepared statements. Disable if using PgBouncer [PROMSCALE_DB_STATEMENTS_CACHE] (default true)
  -db.uri postgres://postgres:password@localhost:5432/timescale?sslmode=require
    	TimescaleDB URI. Example DB URI postgres://postgres:password@localhost:5432/timescale?sslmode=require [PROMSCALE_DB_URI]
  -db.user string
    	TimescaleDB user. [PROMSCALE_DB_USER] (default "postgres")
  -enable-feature value
    	Enable beta/experimental features as a comma-separated list. Currently the following values can be passed: promql-at-modifier, promql-negative-offset, promql-per-step-stats [PROMSCALE_ENABLE_FEATURE]
  -metrics.alertmanager.notification-queue-capacity int
    	The capacity of the queue for pending Alertmanager notifications. [PROMSCALE_METRICS_ALERTMANAGER_NOTIFICATION_QUEUE_CAPACITY] (default 10000)
  -metrics.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of metric data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_METRICS_ASYNC_ACKS]
  -metrics.cache.exemplar.size uint
    	Maximum number of exemplar metrics key-position to cache. It has one-to-one mapping with number of metrics that have exemplar, as key positions are saved per metric basis. [PROMSCALE_METRICS_CACHE_EXEMPLAR_SIZE] (default 10000)
  -metrics.cache.inverted-labels.max-bytes value
    	Initial size of elements in the invreted labels cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_MAX_BYTES] (default 10%)
  -metrics.cache.inverted-labels.size uint
    	Maximum number of label-ids to cache. This helps increase ingest performance. [PROMSCALE_METRICS_CACHE_INVERTED_LABELS_SIZE] (default 500000)
  -metrics.cache.labels.size uint
    	Maximum number of labels to cache. [PROMSCALE_METRICS_CACHE_LABELS_SIZE] (default 100000)
  -metrics.cache.metrics.size uint
    	Maximum number of metric names to cache. [PROMSCALE_METRICS_CACHE_METRICS_SIZE] (default 10000)
  -metrics.cache.series.initial-size uint
    	Maximum number of series to cache. [PROMSCALE_METRICS_CACHE_SERIES_INITIAL_SIZE] (default 1000000)
  -metrics.cache.series.max-bytes value
    	Initial number of elements in the series cache. Specified in bytes or as a percentage of the cache.memory-target (e.g. 50%). [PROMSCALE_METRICS_CACHE_SERIES_MAX_BYTES] (default 50%)
  -metrics.high-availability
    	Enable external_labels based HA. [PROMSCALE_METRICS_HIGH_AVAILABILITY]
  -metrics.ignore-samples-written-to-compressed-chunks
    	Ignore/drop samples that are being written to compressed chunks. Setting this to false allows Promscale to ingest older data by decompressing chunks that were earlier compressed. However, setting this to true will save your resources that may be required during decompression.  [PROMSCALE_METRICS_IGNORE_SAMPLES_WRITTEN_TO_COMPRESSED_CHUNKS]
  -metrics.multi-tenancy
    	Use multi-tenancy mode in Promscale. [PROMSCALE_METRICS_MULTI_TENANCY]
  -metrics.multi-tenancy.allow-non-tenants
    	Allow Promscale to ingest/query all tenants as well as non-tenants. By setting this to true, Promscale will ingest data from non multi-tenant Prometheus instances as well. If this is false, only multi-tenants (tenants listed in 'multi-tenancy-valid-tenants') are allowed for ingesting and querying data. [PROMSCALE_METRICS_MULTI_TENANCY_ALLOW_NON_TENANTS]
  -metrics.multi-tenancy.experimental.label-queries
    	[EXPERIMENTAL] Use label queries that returns labels of authorized tenants only. This may affect system performance while running PromQL queries. By default this is enabled in -metrics.multi-tenancy mode. [PROMSCALE_METRICS_MULTI_TENANCY_EXPERIMENTAL_LABEL_QUERIES] (default true)
  -metrics.multi-tenancy.valid-tenants string
    	Sets valid tenants that are allowed to be ingested/queried from Promscale. This can be set as: 'allow-all' (default) or a comma separated tenant names. 'allow-all' makes Promscale ingest or query any tenant from itself. A comma separated list will indicate only those tenants that are authorized for operations from Promscale. [PROMSCALE_METRICS_MULTI_TENANCY_VALID_TENANTS] (default "allow-all")
  -metrics.promql.default-subquery-step-interval duration
    	Default step interval to be used for PromQL subquery evaluation. This value is used if the subquery does not specify the step value explicitly. Example: [30m:]. Note: in Prometheus this setting is set by the evaluation_interval option. [PROMSCALE_METRICS_PROMQL_DEFAULT_SUBQUERY_STEP_INTERVAL] (default 1m0s)
  -metrics.promql.lookback-delta duration
    	Maximum lookback duration for retrieving metrics during expression evaluations and federation. [PROMSCALE_METRICS_PROMQL_LOOKBACK_DELTA] (default 5m0s)
  -metrics.promql.max-points-per-ts int
    	Maximum number of points per time-series in a query-range request. This calculation is an estimation, that happens as (start - end)/step where start and end are the 'start' and 'end' timestamps of the query_range. [PROMSCALE_METRICS_PROMQL_MAX_POINTS_PER_TS] (default 11000)
  -metrics.promql.max-samples int
    	Maximum number of samples a single query can load into memory. Note that queries will fail if they try to load more samples than this into memory, so this also limits the number of samples a query can return. [PROMSCALE_METRICS_PROMQL_MAX_SAMPLES] (default 50000000)
  -metrics.promql.query-timeout duration
    	Maximum time a query may take before being aborted. This option sets both the default and maximum value of the 'timeout' parameter in '/api/v1/query.*' endpoints. [PROMSCALE_METRICS_PROMQL_QUERY_TIMEOUT] (default 2m0s)
  -metrics.rules.alert.for-grace-period duration
    	Minimum duration between alert and restored "for" state. This is maintained only for alerts with configured "for" time greater than grace period. [PROMSCALE_METRICS_RULES_ALERT_FOR_GRACE_PERIOD] (default 10m0s)
  -metrics.rules.alert.for-outage-tolerance duration
    	Max time to tolerate Promscale outage for restoring "for" state of alert. [PROMSCALE_METRICS_RULES_ALERT_FOR_OUTAGE_TOLERANCE] (default 1h0m0s)
  -metrics.rules.alert.resend-delay duration
    	Minimum amount of time to wait before resending an alert to Alertmanager. [PROMSCALE_METRICS_RULES_ALERT_RESEND_DELAY] (default 1m0s)
  -metrics.rules.config-file rule_files
    	Path to configuration file in Prometheus-format, containing rule_files and optional `alerting`, `global` fields. For more details, see https://prometheus.io/docs/prometheus/latest/configuration/configuration/. Note: If this is flag empty or `rule_files` is empty, Promscale rule-manager will not start. If `alertmanagers` is empty, alerting will not be initialized. [PROMSCALE_METRICS_RULES_CONFIG_FILE]
  -startup.dataset.config string
    	Dataset configuration in YAML format for Promscale. It is used for setting various dataset configuration like default metric chunk interval [PROMSCALE_STARTUP_DATASET_CONFIG]
  -startup.install-extensions
    	Install TimescaleDB, Promscale extension. [PROMSCALE_STARTUP_INSTALL_EXTENSIONS] (default true)
  -startup.only
    	Only run startup configuration with Promscale (i.e. migrate) and exit. Can be used to run promscale as an init container for HA setups. [PROMSCALE_STARTUP_ONLY]
  -startup.skip-migrate
    	Skip migrating Promscale SQL schema to latest version on startup. [PROMSCALE_STARTUP_SKIP_MIGRATE]
  -startup.upgrade-extensions
    	Upgrades TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_EXTENSIONS] (default true)
  -startup.upgrade-prerelease-extensions
    	Upgrades to pre-release TimescaleDB, Promscale extensions. [PROMSCALE_STARTUP_UPGRADE_PRERELEASE_EXTENSIONS]
  -startup.use-schema-version-lease
    	Use schema version lease to prevent race conditions during migration. [PROMSCALE_STARTUP_USE_SCHEMA_VERSION_LEASE] (default true)
  -telemetry.log.format string
    	The log format to use [ 'logfmt', 'json' ]. [PROMSCALE_TELEMETRY_LOG_FORMAT] (default "logfmt")
  -telemetry.log.level string
    	Log level to use from [ 'error', 'warn', 'info', 'debug' ]. [PROMSCALE_TELEMETRY_LOG_LEVEL] (default "info")
  -telemetry.log.throughput-report-interval 0
    	Duration interval at which throughput should be reported. Setting duration to 0 will disable reporting throughput, otherwise, an interval with unit must be provided, e.g. `10s` or `3m`. [PROMSCALE_TELEMETRY_LOG_THROUGHPUT_REPORT_INTERVAL] (default 1s)
  -telemetry.trace.jaeger-endpoint string
    	Jaeger tracing collector thrift HTTP URL endpoint to send telemetry to (e.g. https://jaeger-collector:14268/api/traces). [PROMSCALE_TELEMETRY_TRACE_JAEGER_ENDPOINT]
  -telemetry.trace.otel-endpoint string
    	OpenTelemetry tracing collector GRPC URL endpoint to send telemetry to. (i.e. otel-collector:4317) [PROMSCALE_TELEMETRY_TRACE_OTEL_ENDPOINT]
  -telemetry.trace.otel-tls-cert-file string
    	TLS Certificate file used for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_CERT_FILE]
  -telemetry.trace.otel-tls-key-file string
    	TLS Key file for client authentication against the OTEL tracing collectore GRPC endpoint, leave blank to disable TLS. [PROMSCALE_TELEMETRY_TRACE_OTEL_TLS_KEY_FILE]
  -telemetry.trace.sampling-ratio float
    	Trace sampling ratio, amount of spans to send to collector. Valid values from 0.0 (none) to 1.0 (all). [PROMSCALE_TELEMETRY_TRACE_SAMPLING_RATIO] (default 1)
  -thanos.store-api.server-address string
    	Address to listen on for Thanos Store API endpoints. [PROMSCALE_THANOS_STORE_API_SERVER_ADDRESS]
  -tracing.async-acks
    	Acknowledge asynchronous inserts. If this is true, the inserter will not wait after insertion of traces data in the database. This increases throughput at the cost of a small chance of data loss. [PROMSCALE_TRACING_ASYNC_ACKS] (default true)
  -tracing.batch-timeout duration
    	Timeout after new trace batch is created [PROMSCALE_TRACING_BATCH_TIMEOUT] (default 100ms)
  -tracing.batch-workers int
    	Number of workers responsible for creating trace batches. Defaults to number of CPUs. [PROMSCALE_TRACING_BATCH_WORKERS] (default 6)
  -tracing.grpc.server-address string
    	GRPC server address to listen on for Jaeger and OTEL traces. [PROMSCALE_TRACING_GRPC_SERVER_ADDRESS] (default ":9202")
  -tracing.max-batch-size int
    	Maximum size of trace batch that is written to DB [PROMSCALE_TRACING_MAX_BATCH_SIZE] (default 1000)
  -tracing.max-trace-duration duration
    	Maximum duration of any trace in the system. This parameter is used to optimize queries. [PROMSCALE_TRACING_MAX_TRACE_DURATION] (default 1h0m0s)
  -tracing.otlp.server-address tracing.grpc.server-address
    	GRPC server address to listen on for Jaeger and OTEL traces(DEPRECATED: use tracing.grpc.server-address instead). [PROMSCALE_TRACING_OTLP_SERVER_ADDRESS] (default ":9202")
  -tracing.streaming-span-writer
    	StreamingSpanWriter for remote Jaeger grpc store. [PROMSCALE_TRACING_STREAMING_SPAN_WRITER] (default true)
  -vacuum.disable
    	disables the vacuum engine [PROMSCALE_VACUUM_DISABLE]
  -vacuum.parallelism int
    	the maximum number of goroutines/connections used to vacuum [PROMSCALE_VACUUM_PARALLELISM] (default 4)
  -vacuum.run-frequency duration
    	how often should the vacuum engine run [PROMSCALE_VACUUM_RUN_FREQUENCY] (default 10m0s)
  -web.auth.bearer-token string
    	Bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token-file and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN]
  -web.auth.bearer-token-file string
    	Path of the file containing the bearer token (JWT) used for web endpoint authentication. Disabled by default. Mutually exclusive with bearer-token and basic auth methods. [PROMSCALE_WEB_AUTH_BEARER_TOKEN_FILE]
  -web.auth.ignore-path value
    	HTTP paths which has to be skipped from authentication. This flag shall be repeated and each one would be appended to the ignore list. [PROMSCALE_WEB_AUTH_IGNORE_PATH]
  -web.auth.password string
    	Authentication password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password-file and bearer-token flags. [PROMSCALE_WEB_AUTH_PASSWORD]
  -web.auth.password-file string
    	Path for auth password file containing the actual password used for web endpoint authentication. This flag should be set together with auth-username. It is mutually exclusive with auth-password and bearer-token methods. [PROMSCALE_WEB_AUTH_PASSWORD_FILE]
  -web.auth.username string
    	Authentication username used for web endpoint authentication. Disabled by default. [PROMSCALE_WEB_AUTH_USERNAME]
  -web.cors-origin string
    	Regex for CORS origin. It is fully anchored. Example: 'https?://(domain1|domain2)\.com' [PROMSCALE_WEB_CORS_ORIGIN] (default ".*")
  -web.enable-admin-api
    	Allow operations via API that are for advanced users. Currently, these operations are limited to deletion of series. [PROMSCALE_WEB_ENABLE_ADMIN_API]
  -web.listen-address string
    	Address to listen on for web endpoints. [PROMSCALE_WEB_LISTEN_ADDRESS] (default ":9201")
  -web.telemetry-path string
    	Web endpoint for exposing Promscale's Prometheus metrics. [PROMSCALE_WEB_TELEMETRY_PATH] (default "/metrics")
--- PASS: TestRemovedFlagUsage (0.01s)
    --- PASS: TestRemovedFlagUsage/No_error (0.00s)
    --- PASS: TestRemovedFlagUsage/Old_env_variable (0.00s)
    --- PASS: TestRemovedFlagUsage/Old_migrate_env_variable (0.00s)
    --- PASS: TestRemovedFlagUsage/Old_flag_in_config_file (0.00s)
    --- PASS: TestRemovedFlagUsage/Old_flag_in_config_file_2 (0.00s)
    --- PASS: TestRemovedFlagUsage/Old_migrate_flag_in_config_file (0.00s)
    --- PASS: TestRemovedFlagUsage/Old_flag_in_args (0.00s)
    --- PASS: TestRemovedFlagUsage/Old_migrate_flag_in_args (0.00s)
=== RUN   TestAddAlias
--- PASS: TestAddAlias (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/runner	0.169s
=== RUN   TestRegisterMetric
--- PASS: TestRegisterMetric (0.00s)
=== RUN   TestEngineStop
--- PASS: TestEngineStop (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/telemetry	0.045s
=== RUN   TestTenantAllowed
--- PASS: TestTenantAllowed (0.00s)
=== RUN   TestGetTenantSafetyMatcher
--- PASS: TestGetTenantSafetyMatcher (0.00s)
=== RUN   TestParseFlags
--- PASS: TestParseFlags (0.00s)
=== RUN   TestRemoveEmptyTenants
--- PASS: TestRemoveEmptyTenants (0.00s)
=== RUN   TestMultiTenancyRead
--- PASS: TestMultiTenancyRead (0.00s)
=== RUN   TestVerifyAndApplyTenantLabel
--- PASS: TestVerifyAndApplyTenantLabel (0.00s)
=== RUN   TestLabelsWithoutTenants
--- PASS: TestLabelsWithoutTenants (0.00s)
=== RUN   TestLabelsWithTenants
--- PASS: TestLabelsWithTenants (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/tenancy	0.022s
FAIL	github.com/timescale/promscale/pkg/tests/end_to_end_tests [build failed]
2023/11/03 08:40:19 maxprocs: Leaving GOMAXPROCS=6: CPU quota undefined
=== RUN   TestUpgradeFromPrev
--- FAIL: TestUpgradeFromPrev (0.00s)
panic: Only use pg12 for upgrade tests [recovered]
	panic: Only use pg12 for upgrade tests

goroutine 11 [running]:
testing.tRunner.func1.2({0x49db60, 0x8b70d0})
	/usr/local/go120/src/testing/testing.go:1526 +0x2a5
testing.tRunner.func1()
	/usr/local/go120/src/testing/testing.go:1529 +0x446
panic({0x49db60, 0x8b70d0})
	/usr/local/go120/src/runtime/panic.go:884 +0x1b4
github.com/timescale/promscale/pkg/tests/upgrade_tests.getDBImages({0x1, {0x2a9fd240, 0x38}}, 0x2aa0dde0)
	/magus/work/usr/mports/net-mgmt/promscale/work/promscale-0.17.0/pkg/tests/upgrade_tests/upgrade_test.go:86 +0x22a
github.com/timescale/promscale/pkg/tests/upgrade_tests.withDBStartingAtOldVersionAndUpgrading({0x8c343c, 0x2a882c30}, {0x5d1f1c, 0x1d}, {0x0, 0x10, 0x0, {0x0, 0x0, 0x0}, ...}, ...)
	/magus/work/usr/mports/net-mgmt/promscale/work/promscale-0.17.0/pkg/tests/upgrade_tests/upgrade_test.go:405 +0x2e4
github.com/timescale/promscale/pkg/tests/upgrade_tests.getUpgradedDbInfo(0x2a882c30, 0x0, {0x5b421b, 0x6}, {0x1, {0x2a9fd240, 0x38}})
	/magus/work/usr/mports/net-mgmt/promscale/work/promscale-0.17.0/pkg/tests/upgrade_tests/upgrade_test.go:200 +0x131
github.com/timescale/promscale/pkg/tests/upgrade_tests.TestUpgradeFromPrev(0x2a882c30)
	/magus/work/usr/mports/net-mgmt/promscale/work/promscale-0.17.0/pkg/tests/upgrade_tests/upgrade_test.go:131 +0x63
testing.tRunner(0x2a882c30, 0x62717c)
	/usr/local/go120/src/testing/testing.go:1576 +0x10d
created by testing.(*T).Run
	/usr/local/go120/src/testing/testing.go:1629 +0x421
FAIL	github.com/timescale/promscale/pkg/tests/upgrade_tests	0.061s
=== RUN   TestParseEnv
=== RUN   TestParseEnv/No_env_variables_set
=== RUN   TestParseEnv/single_prefix
=== RUN   TestParseEnv/cli_args_have_precedence
=== RUN   TestParseEnv/multiple_prefixes,_first_prefix_parsed_gets_precedence
=== RUN   TestParseEnv/error_parsing_env_variables,_wrong_type
--- PASS: TestParseEnv (0.00s)
    --- PASS: TestParseEnv/No_env_variables_set (0.00s)
    --- PASS: TestParseEnv/single_prefix (0.00s)
    --- PASS: TestParseEnv/cli_args_have_precedence (0.00s)
    --- PASS: TestParseEnv/multiple_prefixes,_first_prefix_parsed_gets_precedence (0.00s)
    --- PASS: TestParseEnv/error_parsing_env_variables,_wrong_type (0.00s)
=== RUN   TestExtractMetricValue
--- PASS: TestExtractMetricValue (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/util	0.021s
=== RUN   TestThroughputWatcher
--- PASS: TestThroughputWatcher (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/util/throughput	0.016s
=== RUN   Test_runWorkers
=== RUN   Test_runWorkers/1
=== RUN   Test_runWorkers/2
=== RUN   Test_runWorkers/3
=== RUN   Test_runWorkers/4
=== RUN   Test_runWorkers/5
=== RUN   Test_runWorkers/6
--- PASS: Test_runWorkers (0.00s)
    --- PASS: Test_runWorkers/1 (0.00s)
    --- PASS: Test_runWorkers/2 (0.00s)
    --- PASS: Test_runWorkers/3 (0.00s)
    --- PASS: Test_runWorkers/4 (0.00s)
    --- PASS: Test_runWorkers/5 (0.00s)
    --- PASS: Test_runWorkers/6 (0.00s)
=== RUN   Test_every
--- PASS: Test_every (0.46s)
=== RUN   TestValidate
=== RUN   TestValidate/ok
=== RUN   TestValidate/bad_runFrequency
=== RUN   TestValidate/bad_parallelism
=== RUN   TestValidate/both_bad
=== RUN   TestValidate/disable_both_bad
--- PASS: TestValidate (0.00s)
    --- PASS: TestValidate/ok (0.00s)
    --- PASS: TestValidate/bad_runFrequency (0.00s)
    --- PASS: TestValidate/bad_parallelism (0.00s)
    --- PASS: TestValidate/both_bad (0.00s)
    --- PASS: TestValidate/disable_both_bad (0.00s)
=== RUN   Test_interpolate
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_1000
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_2000
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_3000
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_4000
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_5000
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_5333
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_6000
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_7000
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_8000
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_9000
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_10000
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_10500
=== RUN   Test_interpolate/maxParallelism_3_maxChunkAge_11000
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_1000
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_2000
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_3000
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_4000
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_5000
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_5333
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_6000
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_7000
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_8000
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_9000
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_10000
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_10500
=== RUN   Test_interpolate/maxParallelism_5_maxChunkAge_11000
=== RUN   Test_interpolate/capped
--- PASS: Test_interpolate (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_1000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_2000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_3000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_4000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_5000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_5333 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_6000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_7000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_8000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_9000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_10000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_10500 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_3_maxChunkAge_11000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_1000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_2000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_3000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_4000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_5000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_5333 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_6000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_7000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_8000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_9000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_10000 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_10500 (0.00s)
    --- PASS: Test_interpolate/maxParallelism_5_maxChunkAge_11000 (0.00s)
    --- PASS: Test_interpolate/capped (0.00s)
PASS
ok  	github.com/timescale/promscale/pkg/vacuum	0.467s
FAIL
*** Error code 1

Stop.
make: stopped in /usr/mports/net-mgmt/promscale

Links

Depends On

Depend Of

Nothing

Categories