Error printed when pushing into Redmine GIT repositories
When pushing into LArSoft repositories, I see an error message.
This is from
git -c color.ui=always flow feature publish on
hooks/post-receive: line 16: [[: 09: value too great for base (error token is "09") No interesting branches, not triggering CI build. *** no recipients configured so no email will be sent *** for 'refs/heads/feature/gp_PhotonVisTransformations' update None->9199915dc0a3a865d5687060b393d2b7a784871f
My guess is that the
hooks/post-receivescript contains some version number in the form of
09, which is interpreted as a octal number because starting with
0, and an invalid one for that, having a digit
Pushes apparently succeeded.
#2 Updated by Vito Di Benedetto almost 2 years ago
- % Done changed from 0 to 100
- Status changed from Assigned to Resolved
Gianluca, thank you to report this issue.
This was caused by code in the git
post-receive hook used by the CI to schedule nightly CI builds for
When the commit happened between 7:00 AM and 9:59 AM that error was raised.
As you figured out, this error didn't prevented the code push to happen, but, in case of commits in develop branches, it could have been prevented to schedule nightly CI builds for the above qualifiers.
Now this has been fixed.
#4 Updated by Vito Di Benedetto almost 2 years ago
Gianluca Petrillo wrote:
I apologise in advance for the facetious comment...
But we should save this bug. "The bug that happened between 8 and 10 am" is perversely hilarious.
(I think you meant 8:00 rather than 7:00)
You are right, I meant 8:00 ;)
And yes, not sure there is an existing category for such a bug.