Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 571031

Summary: Build fails in Jenkins -- but recorded as success in Gerrit
Product: Community Reporter: Jan-Philipp Steghöfer <ec>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: frederic.gurr, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Bug Depends on:    
Bug Blocks: 570140    

Description Jan-Philipp Steghöfer CLA 2021-02-08 12:46:33 EST
The Eclipse Capra project has two different build jobs that currently fail. One of them (build-src-develop-nightly) completes and I can see the Maven output, but fails finally with the following error:

[ssh-agent] Stopped.
Recording test results
[Checks API] No suitable checks publisher found.
Archiving artifacts
‘org.eclipse.capra.releng.p2/target/repository/’ doesn’t match anything, but ‘’ does. Perhaps that’s what you mean?
ERROR: Step ‘Archive the artifacts’ failed: No artifacts found that match the file pattern "org.eclipse.capra.releng.p2/target/repository/". Configuration error?
Recording fingerprints
Finished: FAILURE

The other one (build-gerrit-trigger) also fails, but it is recorded as succesful in Gerrit (see, e.g., https://git.eclipse.org/r/c/capra/org.eclipse.capra/+/175835). The error message is different, there's no Maven output, but apparently more low-level output as can be seen here:
https://ci-staging.eclipse.org/capra/job/build-gerrit-trigger/588/console

Could someone please have a look?
Comment 1 Frederic Gurr CLA 2021-02-08 13:08:35 EST
Both instances (ci.eclipse.org/capra and ci-staging.eclipse.org/capra) are triggered on Gerrit reviews. The build on ci-staging failed, because XVnc was not found. I've changed the build to run on the centos-7 image.

To fix this issue for good, please take a look at bug 570140 and help to finish the migration of the Capra Jenkins instance to the new infrastructure.
Comment 2 Frederic Gurr CLA 2021-02-08 13:52:05 EST
The build on ci-staging.eclipse.org/capra did finish successfully, but did not report on the Gerrit review.

In the Jenkins log I can see the following error:

https://ci-staging.eclipse.org/capra/job/build-gerrit-trigger/589/ : SUCCESS' --verified 1 --code-review 0
com.sonymobile.tools.gerrit.gerritevents.ssh.SshException: error: fatal: Applying label "Verified": 1 is restricted
fatal: one or more reviews failed; review output above (1)
at  com.sonymobile.tools.gerrit.gerritevents.ssh.SshConnectionImpl.executeCommand(SshconnectionImpl.java:273)
at com.sonymobile.tools.gerrit.gerritevents.workers.cmd.AbstractSendCommandJob.sendCommand2(AbstractSendCommandJob.java:116)
Caused: java.io.IOException: Error during sending command
[...]

I'll investigate.
Comment 3 Jan-Philipp Steghöfer CLA 2021-02-09 05:18:31 EST
Thanks for pointing me to the other bug. I will have a look as soon as ci-staging is up again. I get an "Application is not available" at the moment.
Comment 4 Frederic Gurr CLA 2021-02-09 05:39:29 EST
We are on it, see also: https://www.eclipsestatus.io/
Comment 5 Eclipse Webmaster CLA 2021-02-09 10:04:51 EST
The cluster is now operational.

-M.
Comment 6 Jan-Philipp Steghöfer CLA 2021-02-11 05:27:55 EST
Any progress on getting the build bot to report back to Gerrit?
Comment 7 Frederic Gurr CLA 2021-02-11 05:35:39 EST
Not yet, but it's on my list.
Comment 8 Frederic Gurr CLA 2021-03-11 12:51:31 EST
I have found a temporary workaround for now. Please try again.

We'll try to figure out a permanent solution.