%%% pgo_trace_SUITE ==> {function_clause,
[{pg_range,decode_range,
[2,<<0,0,0,4,0,0,0,1,0,0,0,4,0,0,0,2>>,unknown_oid],
[]},
{pgo_protocol,decode_row0,5,
[{file,"/home/runner/work/pgo/pgo/src/pgo_protocol.erl"},{line,591}]},
{pgo_handler,receive_loop0,6,
[{file,"/home/runner/work/pgo/pgo/src/pgo_handler.erl"},{line,456}]},
{pgo_handler,extended_query,6,
[{file,"/home/runner/work/pgo/pgo/src/pgo_handler.erl"},{line,363}]},
{otel_tracer_default,with_span,5,
[{file,
"/home/runner/work/pgo/pgo/_build/test/lib/opentelemetry/src/otel_tracer_default.erl"},
{line,47}]},
{pgo,query,3,[{file,"/home/runner/work/pgo/pgo/src/pgo.erl"},{line,103}]},
{pgo_trace_SUITE,trace_with_parent_query,1,
[{file,"/home/runner/work/pgo/pgo/test/pgo_trace_SUITE.erl"},
{line,67}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]}]}
An example of the failure is here: https://github.com/erleans/pgo/actions/runs/10596363707/job/29364169996
Essentially, the only way I could reproduce this was running
rebar3 ct. If you runrebar3 ct --suite=test/pgo_trace_SUITE.erlit will run fine. I also only experienced this failure with int4range, but int4 worked fine. Also note there are int4range tests which work without tracing herepgo/test/pgo_basic_SUITE.erl
Line 77 in abe8b5b
The error,