We tracked the issue to a change in our Jenkinsfile. We added forkCount: 
'1C'; after that change, the builds started failing.

https://github.com/jenkinsci/opentelemetry-plugin/commit/cd1906b0ae27f4c04bda3ceff279f5e3a6de0ff0#diff-e6ffa5dc854b843b3ee3c3c28f8eae2f436c2df2b1ca299cca1fa5982e390cf8R6

On Tuesday, December 10, 2024 at 11:09:46 AM UTC+1 Ivan Fernandez Calvo 
wrote:

> Hi,
>
> Since two weeks ago or so, we have hit errors in the OpenTelemetry plugin 
> pipeline when accessing the Update center. We see two patterns: a 500 error 
> and a JSON truncated.
> It started happening recently and is mainly on Windows.
>
> Does anyone face the same issues?
>
>
> [2024-12-10T08:13:26.414Z] [INFO] Running 
> io.jenkins.plugins.opentelemetry.JenkinsOtelPluginMBPIntegrationTest
> [2024-12-10T08:14:07.779Z] [ERROR] Tests run: 1, Failures: 0, Errors: 1, 
> Skipped: 0, Time elapsed: 48.54 s <<< FAILURE! -- in 
> io.jenkins.plugins.opentelemetry.JenkinsOtelPluginIntegrationTest
> [2024-12-10T08:14:07.780Z] [ERROR] 
> io.jenkins.plugins.opentelemetry.JenkinsOtelPluginIntegrationTest -- Time 
> elapsed: 48.54 s <<< ERROR!
> [2024-12-10T08:14:07.780Z] java.util.concurrent.ExecutionException: 
> java.io.IOException: Server returned HTTP response code: 500 for URL: 
> http://localhost:50167/update-center.json?id=default&version=2.479.1
> [2024-12-10T08:14:07.780Z] at 
> java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
> [2024-12-10T08:14:07.780Z] at 
> java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
> [2024-12-10T08:14:07.780Z] at 
> hudson.model.UpdateCenter.updateAllSites(UpdateCenter.java:1166)
> [2024-12-10T08:14:07.780Z] at 
> io.jenkins.plugins.opentelemetry.BaseIntegrationTest.beforeClass(BaseIntegrationTest.java:108)
> [2024-12-10T08:14:07.780Z] at 
> java.base/java.lang.reflect.Method.invoke(Method.java:569)
> [2024-12-10T08:14:07.780Z] at 
> org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:658)
> [2024-12-10T08:14:07.780Z] at 
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> [2024-12-10T08:14:07.781Z] at 
> java.base/java.lang.Thread.run(Thread.java:840)
> [2024-12-10T08:14:07.781Z] Caused by: java.io.IOException: Server returned 
> HTTP response code: 500 for URL: 
> http://localhost:50167/update-center.json?id=default&version=2.479.1
> [2024-12-10T08:14:07.781Z] at 
> java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:2036)
> [2024-12-10T08:14:07.781Z] at 
> java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
> [2024-12-10T08:14:07.781Z] at 
> hudson.model.DownloadService.loadJSON(DownloadService.java:122)
> [2024-12-10T08:14:07.781Z] at 
> hudson.model.UpdateSite.updateDirectlyNow(UpdateSite.java:217)
> [2024-12-10T08:14:07.782Z] at 
> hudson.model.UpdateSite$1.call(UpdateSite.java:197)
> [2024-12-10T08:14:07.782Z] at 
> hudson.model.UpdateSite$1.call(UpdateSite.java:195)
> [2024-12-10T08:14:07.782Z] at 
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> [2024-12-10T08:14:07.782Z] at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> [2024-12-10T08:14:07.783Z] at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> [2024-12-10T08:14:07.783Z] ... 1 more
>
>
> https://github.com/jenkinsci/opentelemetry-plugin/pull/1003
>
> -- 
> Regards
> Iván Fernández
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/jenkinsci-dev/7f8443ba-2016-411d-a93a-ff7de9d5e83en%40googlegroups.com.

Reply via email to