Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange issues with tracing tests but only when run as an entire SUITE #87

Open
chiroptical opened this issue Sep 5, 2024 · 0 comments

Comments

@chiroptical
Copy link
Contributor

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 run rebar3 ct --suite=test/pgo_trace_SUITE.erl it 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 here

int4_range(_Config) ->

The error,

%%% 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}]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant