clearcontainers / jenkins

Used to store the Jenkins based CI configuration files - both for backup, re-creation and history etc.
Apache License 2.0
3 stars 4 forks source link

coveralls frequently gets "stuck" #9

Open jodh-intel opened 7 years ago

jodh-intel commented 7 years ago

coveralls is being run from the 16.04 Jenkins node. Even though the builds pass under Jenkins and Jenkins triggers the coveralls run (which also passes), the github PR page never updates for the coveralls test.

Examples:

jodh-intel commented 7 years ago

This is still happening. See for example https://github.com/clearcontainers/runtime/pull/729.

jodh-intel commented 7 years ago

Another stuck PR: https://github.com/clearcontainers/runtime/pull/760

The coveralls report is: https://coveralls.io/jobs/30598315

Looking back to before we switched to Jenkins (when we triggered coveralls from travis-ci) and comparing the above report with an old one (https://coveralls.io/builds/11704922), there are a few differences:

Here's are some examples of successful (non-"stuck") coveralls build titles before we switched to Jenkins:

I can't find any coveralls reports in the pre-Jenkins era that don't conform to the above pattern. But if we look at the titles of "stuck" Jenkins+coveralls reports:

Prior to switching to Jenkins, the title never mentioned "FIRST BUILD" fwics. It appears that coveralls is considering the committer + branch name and if it hasn't seen either the committer or the branch before (or possibly that it hasn't seen the committers repo before), it will create a new baseline unit-test coverage figure for that combination. If so, that really isn't what we want.

But still, why no github updates? Could it be some sort of permissions issue where coveralls is attempting to update the PR status as the committer user?

jodh-intel commented 7 years ago

Any thoughts on this @sboeuf?

sboeuf commented 7 years ago

@jodh-intel nope, this needs to be further investigated.