Skip to content

OpenTelemetryInstrumenterMojoTest is sporadically failing #1636

Open
@trask

Description

see example at https://github.com/open-telemetry/opentelemetry-java-contrib/actions/runs/12638416021/job/35214627397

OpenTelemetryInstrumenterMojoTest > shouldInstrumentSampleApplication() FAILED
    java.lang.AssertionError: 
    Expecting actual:
      "Exception in thread "main" org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
    	at org.json.JSONTokener.syntaxError(JSONTokener.java:507)
    	at org.json.JSONObject.<init>(JSONObject.java:222)
    	at org.json.JSONObject.<init>(JSONObject.java:406)
    	at org.example.SingleGetter.makeCall(SingleGetter.java:37)
    	at org.example.SingleGetter.main(SingleGetter.java:20)
    "
    to contain:
      "SUCCESS" 
        at io.opentelemetry.contrib.staticinstrumenter.plugin.maven.OpenTelemetryInstrumenterMojoTest.verifyApplicationByExampleRun(OpenTelemetryInstrumenterMojoTest.java:47)
        at io.opentelemetry.contrib.staticinstrumenter.plugin.maven.OpenTelemetryInstrumenterMojoTest.shouldInstrumentSampleApplication(OpenTelemetryInstrumenterMojoTest.java:29)

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions