Continuous Integration toolchain, powering https://jenkins.softwareheritage.org/
Nov 13 2019
Nov 12 2019
Another simple way to reproduce is just removing the *.jar file and running pytest on test_api_client.py.
This is not even a Java exception, but chances are fixing that case will fix at least a significant part of the general problem, if not all.
Nov 11 2019
AFAICT this is a more general problem, the Java backend can hang forever in case of unexpected situations (uncaught exceptions? I really don't know…), which will make it not respond to any incoming request with no visible output.
We should make this visible and debuggable.
Nov 8 2019
Nov 7 2019
I've been wondering about this for a while too. The only use case for having red/green on every commit is that it might help people who bisect a repo, and it's certainly not worth the downsides that much.
+1 on this.
closing this, as we have "proper" CI since quite a while now (it could always be improved of course, but no need to keep the meta task open at this point)
Nov 4 2019
The .jar file is never installed within the tox environment, so the graph backend process fixture never actually succeeds in launching the server. FWIW, when running tox on my system, the tests hang just the same.
Nov 3 2019
Oct 1 2019
I've rebased the jdk11 image on top of buster using the awful, awful a3776d744f. This means python 3.7 by default, and it looks like swh.graph CI works.
Sep 19 2019
I've definitely got a "build failed" automatic notification after a push I did a while ago. I think it was on swh-environment, before we (recently) disabled the CI on it. If this notification behavior is not uniform across repos, we should make it so.
From what you wrote, what I think will actually fix your problem is seeing the OK/KO CI marker in the list of pending review requests, so that you can just skip the ones with failing build without having to click them. Would that be enough?
I totally agree that we need safeguards against pushing stuff that breaks CI, but we seem to have plenty already: we use code review thoroughly, and that triggers CI;
Count me as -1 on this.
Aug 2 2019
Jul 11 2019
Build plan for new commits: https://forge.softwareheritage.org/harbormaster/plan/7/
Rule to trigger the cypress tests execution on new commits: H35
Jul 10 2019
Turns out yarn is already installed on the base docker image used by Jenkins to run tests.
Jul 9 2019
Jun 28 2019
in 288055f74683ae517770dc2f5a17a8b4bdaeff03 i've added a (Python!) script to check for CONTRIBUTORS completeness
Jun 24 2019
I've now excluded that repo from the H27 herald rule.