nus-cs2103-AY2122S2 / forum

13 stars 1 forks source link

Randomly failing CI #237

Closed TypeDefinition closed 2 years ago

TypeDefinition commented 2 years ago

From time to time, Java CI will fail for no reason at all. Sometimes, it may be merging 2 PRs too quickly, or sometimes it may be for nothing at all. This has been extremely frustrating.

Over the past hour, I've gotten a string of failures, but I know for a fact that the code is correct and compiles because every single one of those failed CI runs only contain changes to the UserGuide.md.

image

image

yusufaine commented 2 years ago

@TypeDefinition I'm facing the same issues as well but was able to push some PRs earlier without an issue. Chances are it's most-likely a GitHub issue as CI isn't able to get the gradle dependencies. Even if it's just a change to documentation, CI runs ./gradlew build every time a push is detected.

damithc commented 2 years ago

Anyone else is facing similar problems? Also monitor https://www.githubstatus.com/ in case it's a problem on GitHub side.

TypeDefinition commented 2 years ago

Anyone else is facing similar problems? Also monitor https://www.githubstatus.com/ in case it's a problem on GitHub side.

Hi prof, I think it's definitely GitHub's side. I re-ran some older commits that passed and they also failed now.

lkldev commented 2 years ago

From the error msg seems like it is coming from gradle instead, they are unable to pull some packages from their repo... tried to load them manually and couldn't connect to them as well

image

yusufaine commented 2 years ago

@TypeDefinition connection issue seems to have already been resolved and CI is working on my side.