nus-cs2103-AY2223S2 / forum

12 stars 0 forks source link

Stuck on "Job is about to start running on the hosted runner" #254

Closed eugenetangkj closed 1 year ago

eugenetangkj commented 1 year ago

Hi, I recently followed the GUI tests that AB4 has, to conduct testing for my team's updates to the GUI. However, I encountered an issue of being stuck at the ubuntu-latest CI build, where on GitHub, it would be stuck at Build and check with Gradle, having no progress in doing the required checks. There is no problem for macos-latest and windows-latest where the builds managed to successfully complete.

Loading: image

Log message: image

I thought that it might be a problem with my build.gradle file but the ubuntu-latest build managed to complete when I push only my changes to build.gradle without my GUI unit tests. Hence, the problem might be with my GUI unit tests, but I am not sure whether that would be the case because all tests managed to complete successfully locally and the CI builds for macos-latest and windows-latest were complete.

Could I kindly seek some advice on this issue? Thank you!

damithc commented 1 year ago

@eugenetangkj This is the kind of problem one encounters with GUI tests, especially in CI, and especially on Linux. Quite hard to debug.

Some suggestions:

eugenetangkj commented 1 year ago

Hi Prof @damithc, thank you for your reply! I managed to resolve it with the help of a method in GuiUnitTest from a past CS2103T project. I have given credit for the method accordingly in my code as well. Appreciate the guidance!