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
StackOverflowError #87
Comments
That very unexpected, it seems to be a problem of infinite recursion on Do you know what is the impacted job type? Do you use special plugins that could create special folders... ? @Exported
public final String getFullName() {
String n = getParent().getFullName();
if(n.length()==0) return getName();
else return n+'/'+getName();
} |
I'll try to double check the job type, not sure how easy it'll be since there doesn't seem to be much indication which one failed. With regards to folder plugins we have a standard
but also have
which I guess creates special folders |
Thanks. We will have to look at the existing log messages to see if we can better understand. Otherwise, we may have to update the code to capture exception details. @skundrik do you agree with the idea that it seems to be a problem with the nature of the "pipeline full name"? A mismatch between the expectation of the Otel Plugin to use |
FYI troubleshooting version in progress #99 |
We have created a new release to capture more details on the StackOverflowError and identify the cause. Can you please test with https://github.com/jenkinsci/opentelemetry-plugin/releases/tag/opentelemetry-0.10-beta and search in the logs for the following log messages: LOGGER.log(Level.WARNING, "Issue #87: StackOverflowError getting job name for " + jobName + "#" + run.getNumber()); or LOGGER.log(Level.WARNING, "Issue #87: StackOverflowError getting job name for unknown job #" + run.getNumber()); |
I will install and report findings. |
I have installed |
@skundrik do you see problems like the stackoverflow either? I'm wondering if we "catched" the wrong thing or if your problem "disappeared". |
Sorry for not making it clearer, I can still see the
|
@skundrik the StackOverflow errors on |
No, it's a default size |
This looks suspect to me opentelemetry-plugin/src/main/java/io/jenkins/plugins/opentelemetry/job/MonitoringRunListener.java Lines 241 to 244 in 48a6c76
When Lines 97 to 102 in 48a6c76
StackOverflowError .
|
@cyrille-leclerc I think I managed to reproduce it by deleting an old build and added to the reproduction steps in the description. Can you reproduce it as well? |
@skundrik could you please test https://github.com/jenkinsci/opentelemetry-plugin/releases/tag/opentelemetry-0.12-beta ? |
@cyrille-leclerc Can't see the error any more. 👍 LGTM |
Thank you for your patience @skundrik |
…ailures-rate-with-provisioning * upstream/master: Bump GRPC from 1.37.0 to 1.37.1 Bump OpenTelemetry Collector from 0.26.0 to 0.27.0 cosmetic: change the image reference [dashboards] Provide some dashboards to visualise the CI status No serialisation for the loadedStepsPlugins data structure (jenkinsci#110) [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release opentelemetry-0.13 Bump the testing OpenTelemetry Collector from 0.23.0 to 0.26.0 Bump OpenTelemetry from 1.1.0 to 1.2.0 [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release opentelemetry-0.12-beta Fix jenkinsci#87 : infinite loop on delete [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release opentelemetry-0.11-beta Update src/main/java/io/jenkins/plugins/opentelemetry/job/MonitoringRunListener.java Fix jenkinsci#105, OpenTelemetry span attributes don't support null attributes Refactor: remove duplicated display name Default name for the ObservabilityBackend
Version report
Jenkins versions report:
Reproduction steps
The text was updated successfully, but these errors were encountered: