Skip to content

Increase CI build timeout from 7 hours to 600 minutes (10h)#22380

Closed
Croway wants to merge 1 commit into
camel-4.14.xfrom
fix/ci-increase-build-timeout-4.14.x
Closed

Increase CI build timeout from 7 hours to 600 minutes (10h)#22380
Croway wants to merge 1 commit into
camel-4.14.xfrom
fix/ci-increase-build-timeout-4.14.x

Conversation

@Croway
Copy link
Copy Markdown
Contributor

@Croway Croway commented Apr 1, 2026

Summary

Claude Code on behalf of Federico Mariani

Test plan

  • CI Camel Core (Build and test) / camel-4.14.x should no longer ABORT due to timeout
  • Monitor next few builds to confirm completion within 600 minutes

🤖 Generated with Claude Code

The matrix build cells are consistently timing out at 7 hours,
causing 3 consecutive ABORTs (builds #160-162). Build #159 shows
a cell legitimately needed ~9.8h to complete. 600 minutes allows
completion while still catching hung builds.
Copy link
Copy Markdown
Contributor

@apupier apupier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you provide the output when the abort occurred? From my experience, when the 7 hours is reached it is that the build is completely stuck and increasing to 10 hours won't change anything if it is the same case

recently, it was regularly the JMS tests which are blocked: https://issues.apache.org/jira/browse/CAMEL-23194

@Croway
Copy link
Copy Markdown
Contributor Author

Croway commented Apr 1, 2026

@apupier in the latest builds I could find any stuck test, but, the issue was with PPC/S390 hosts that waited too much in the queue

@apupier
Copy link
Copy Markdown
Contributor

apupier commented Apr 1, 2026

with the latest build on 4.14.x https://ci-builds.apache.org/job/Camel/job/Camel%20Core%20(Build%20and%20test)/job/camel-4.14.x/162/cloudbees-pipeline-explorer/?filter=43

it is also the JMS tests which are blcoked

 [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.36 s -- in org.apache.camel.component.jms.async.AsyncJmsProducerTest
	
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.304 s -- in org.apache.camel.component.jms.issues.JmsInOutPipelineWithBeanTest
	
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.51 s -- in org.apache.camel.component.jms.issues.JmsInOutRoutingSlipTest
	
Cancelling nested steps due to timeout
	
Sending interrupt signal to process

@apupier
Copy link
Copy Markdown
Contributor

apupier commented Apr 1, 2026

easier to see with the timestamps:

image

@apupier
Copy link
Copy Markdown
Contributor

apupier commented Apr 1, 2026

@Croway
Copy link
Copy Markdown
Contributor Author

Croway commented Apr 1, 2026

I see, on the 4.18.x and 4.14.x some back ports are missing.

@apupier right now the surefire fork timeout is 20 minutes, do you think we can reduce it to 10? maybe with the reduced timeout, and higher CI build timeout we can gather more information? moreover, this way all the tests will be executed every time, this will provide more information about the build quality

@apupier
Copy link
Copy Markdown
Contributor

apupier commented Apr 1, 2026

@apupier right now the surefire fork timeout is 20 minutes, do you think we can reduce it to 10? maybe with the reduced timeout, and higher CI build timeout we can gather more information? moreover, this way all the tests will be executed every time, this will provide more information about the build quality

unfortunately no. The surefire timeout is bypassed. The current timeout is the one from the jenkins global job.

@apupier
Copy link
Copy Markdown
Contributor

apupier commented Apr 1, 2026

I see, on the 4.18.x and 4.14.x some back ports are missing.

not the root cause. it is still happening on the main branch. the previous attempts were infructuous. (see the reopeoned state of https://issues.apache.org/jira/browse/CAMEL-23194 )

Copy link
Copy Markdown
Contributor

@apupier apupier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as we checked that it is related to blocked tests as reported to https://issues.apache.org/jira/browse/CAMEL-23194 increasing the timeout will make the things worse as it will await even more for no chance to pass.

@Croway Croway closed this Apr 1, 2026
@davsclaus davsclaus deleted the fix/ci-increase-build-timeout-4.14.x branch April 12, 2026 04:22
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

Successfully merging this pull request may close these issues.

3 participants