question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CI `run-tests (8)` sometimes times out after 6 hours

See original GitHub issue

From the CI run below, it might be that the JDK8 test runs has issues when the tasks :iceberg-hive3:test and :iceberg-mr:test run in parallel. Only JDK8 Gradle runs do include :iceberg-hive3, which explains why only the JDK8 CI test runs are affected (seen only the JDK8 test runs timing out).

I don’t know about the inner workings of both project tests, but I suspect those two projects somehow interfere with each other.

If it’s just those two test tasks, it might help to add a mustRunAfter(':iceberg-mr:test') to :iceberg-hive3:test.

Example failute From the raw log (sorry, the raw-log expired, so can’t link to it): (look at the timestamps)

2021-04-13T15:46:50.1563347Z Starting a Gradle Daemon (subsequent builds will be faster)
...
2021-04-13T15:51:44.2558196Z > Task :iceberg-hive3:test
...
2021-04-13T15:58:24.8564436Z > Task :iceberg-mr:test
...
2021-04-13T16:58:31.6625242Z > Task :iceberg-hive3:test
(reports test failure)
2021-04-13T20:50:20.3558417Z
(:iceberg-hive3:test reports next test failure)
...
2021-04-13T20:50:20.8582685Z > Task :iceberg-mr:test
(reports test failure)
2021-04-13T21:07:21.6565277Z > Task :iceberg-mr:test FAILED
...
2021-04-13T21:11:26.6561908Z > Task :iceberg-hive3:test FAILED
...
2021-04-13T21:11:26.6581909Z BUILD FAILED in 5h 24m 39s

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
snazycommented, Apr 14, 2021

Aha! So it seems that this commit fixed it. I’ll setup a PR with just that change.

1reaction
snazycommented, Apr 14, 2021

Thanks to @lhotari for pointing out the GH-runner issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

[GitHub] [iceberg] pvary commented on issue #2475: CI `run-tests (8 ...
[GitHub] [iceberg] pvary commented on issue #2475: CI `run-tests (8)` sometimes times out after 6 hours · Previous message · View by thread...
Read more >
Consider lowering runTest default timeout #3270 - GitHub
60 seconds is a really long time for nothing to happen. It's like an eternity for a CPU, especially one which is skipping...
Read more >
dotnet test times out after 6 hours - Visual Studio Feedback
When I run dotnet test (SDK 2.2) locally on my machine (Ubuntu 18.04), I am able to successfully perform 11 tests within 49...
Read more >
Unit tests not working on Android Studio Arctic Fox
The solution That worked for me is to use java 8(version 1.8) not Java that bundled with Android Studio which is (11.0.10) for...
Read more >
Configuring CircleCI
Jobs have a maximum runtime of 1 (Free), 3 (Performance), or 5 (Scale) hours depending on pricing plan. If your jobs are timing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found