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: git tag sometimes fails #3009
Comments
Thank you for reporting the problem! @Mistreated any progress on Debian packaging? Alternatively, I think it is best to disable Debian Buster packages until @Mistreated has progress. |
I met Djordje yesterday. As far as I know generating packages for Ubuntu Bionic should work now. |
I think the problem lies somewhere in the following code for the Pipeline SCM Step Plugin: libelektra/scripts/jenkins/Jenkinsfile Lines 1050 to 1059 in 5519cb8
. Here is some documentation for the plugin. |
@ingwinlu do you have an idea? |
@Mistreated can you reenable the buster packages together with the Ubuntu packages? |
Seems like commit 883e0e7 did not fix this problem. |
Master builds now: https://github.com/ElektraInitiative/libelektra/commits/master# Did you see the problem also somewhere else or can this be closed now? |
Looks like building the packages still fails sometimes. |
Why are the |
As far as I know that is the case, because the build step fails before these commands are executed (see also #3009 (comment)) |
Build 1040 and Build 1041 also failed, because of this issue. |
Is there something wrong in the Jenkins configuration? Seems like some module of Jenkins already does this |
It still happens but not so often anymore. I removed "urgent". |
I think it still happens from time to time. @Mistreated did you already investigate? |
Happens on a regular basis. Sometimes many rebuilds do not help to the point that I gave up on this. Would be great if someone knows how to fix it. |
Can you link the build that fails with this error? |
Here is one example from master. |
If this mistake happens from now on again. I would appreciate, if someone could link it if I do not see it immediately (debugging purposes). |
Anyone encountered this problem last 10 days? |
This error does not repeat after a default git user is set:
Closed. |
It looks like this issue popped up again! It is some undocumented assumption of how build server agents are configured. The error occurs on master: https://build.libelektra.org/blue/organizations/jenkins/libelektra/detail/master/793/pipeline
@lukashartl can you please fix the Ansible scripts that the default git user will be set (see post directly above) and apply it to l1? I disabled l1 till then. |
@lukashartl any update here? I see l1 is enabled again? |
has been fixed |
Thx, so this issue can be closed! |
Description
Seems like the Jenkins build now fails every time when its time to build Debian packages. According to the build server the command
git tag -a -f -m Jenkins Build #1007 jenkins-master-1007 # timeout=10
does not work, printing the error message:
. This failure happened at least in build 1005 up until build 1009 of the
master
branch. The last time the Debian packages were built successfully was build 983. The last overall successful Jenkins build was build 982 😭.The text was updated successfully, but these errors were encountered: