New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jenkins: Retry Failed Builds #2967
Comments
Thank you for collecting the issues! For the maven builds we already have an issue: #2855 |
I know 😊. I already added a link in the issue description. |
Thank you for this elaborate research. We now need to fix one issue after the other. |
For the Haskell problems we can remove the haskell bindings/plugins. They are not maintained anyway. |
Haskell will be removed in #3017 |
The failures with |
I just got connection problems for build-elektra-web-base, too.
|
Is this all the retrying and waiting after Additionally, I think this error is new: |
Yes, I agree test_service_convertengine is not reported here yet. Actually we can disable the test as the service is not modified anyway. @sanssecours is there some procedure how to add new tests in the above list? |
Nope. I already gave up on modifying the list, since the Jenkins build fails too often. I would recommend we just open an issue for each specific problem. |
For issues related to source code I agree. For the issues related to docker/jenkins instability it is enough to collect issues here as it is very limited what we can do next to the migration we already do but unfortunately takes longer as expected. It would be nice if @Mistreated could give more information about the status, maybe in #160. |
Can you please report that separately? The fix is to disable the tests. |
Done, see #3086 |
I think our best guess to make our lives much easier is to "fix" these problems using https://wiki.jenkins.io/display/JENKINS/Naginator+Plugin Then Jenkins will restart failed jobs several times. I think we could try 5 restarts before giving up? @Mistreated Can you implement this also on the old server? Or is this too risky? Before we implement this, however, we need the new Jenkins Node as otherwise the queue will get too long. |
I updated the node. It should work now. If something goes wrong you can update me here again. |
Looks like
. |
Node updated. |
Build jobs on
. |
I updated the Node, again, there shouldnt be any permission issues anymore. |
Why does Jenkins wants to build a '/.config' and not just '.config' directory? I dont think user 'jenkins' should be able to do that. |
@Mistreated please also make a PR to actually test if the builds work now.
This might happen if the home directory of the user is /. Did you look into /etc/passwd, maybe something is wrong there? |
'jenkins:x:47000:47000::/home/jenkins:/bin/sh' All looks fine, even in the logs of the node: 'HOME='/home/jenkins' ' |
It would be easier to debug to see a PR with the whole log. |
Master node is down.
|
Thank you for the information. I deleted all log information for old pull requests and reenabled the node. Unfortunately the amount of free space on the Jenkins master is still very low (~ 3.9G). |
@Mistreated I moved the discussion about the hetzner node to #3138. This issue is about temporary failures in the build server, not about wrong setup of the build server. |
Looks like building Docker images does not work on
. I disabled the node. |
It just |
Two more tests that sometimes fail (#3168):
|
Yet another error in https://build.libelektra.org/jenkins/blue/organizations/jenkins/libelektra/detail/master/12/pipeline/
I am afraid https://wiki.jenkins.io/display/JENKINS/Naginator+Plugin is the only bigger step forwards. Unfortunately, it will not fix the problems for Travis or Cirrus. |
Do we updated "Times failed" in the start post? |
Trying to update the start post or trying to fix all these issues is hopeless. We need automatic retrying. I hope @Mistreated will implement this soon on our new server. |
What do you think about #3224? |
might improve ElektraInitiative#2967
might improve ElektraInitiative#2967
Problems are solved now. Please open new issues if builds still fail. |
Description
Currently the Jenkins build fails quite often for various reasons. This issue should list some of the problems that currently include:
.
Failures
PR #2932
debian-unstable-clang-asan
master
master
PR #2945
build-elektra-web-base
master
debian-stretch-full
master
master
master
master
master
master
PR #2945
debian-stretch-full-optimizations-off
PR #2945
build-elektra-website
PR #2932
debian-unstable-clang-asan
master
debian-stretch-full-mmap-asan
PR #2975
debian-buster-mingw-w64
master
master
master
debian-buster-full
master
debian-stretch-full-ini
master
debian-unstable-full
master
debian-buster-full
master
build-elektra-web-base
master
master
master
master
PR #2998
build-elektra-web-base
,debian-buster-full-i386
master
debian-unstable-clang-asan
PR #2998
build-elektra-website-backend
master
build-elektra-web-base
master
master
debian-unstable-full-clang
master
buildPackage/debian/buster
master
buildPackage/debian/buster
master
buildPackage/debian/buster
,buildPackage/debian/stretch
master
buildPackage/debian/buster
master
buildPackage/debian/buster
Failing Tests
check_external_example_codegen_econf
debian-buster-full
check_external_example_codegen_menu
debian-buster-full
check_external_example_codegen_tree
debian-buster-full
check_external_example_highlevel
debian-buster-full
check_spec
debian-buster-full
testkdb_ensure
debian-buster-full
The text was updated successfully, but these errors were encountered: