[Koha-bugs] [Bug 36381] "not a tree object" error from Jenkins

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 21 09:56:18 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36381

--- Comment #1 from Jonathan Druart <jonathan.druart at gmail.com> ---
>From #koha-bots, earlier this year

[08:43:33] <Joubu> So I was looking at:
https://jenkins.koha-community.org/job/Koha_Master/2796/consoleText
[08:43:35] <ashimema> haha, no worries 
[08:43:36] <Joubu> the last one
[08:43:37] <Joubu> and noticed:.
[08:43:43] <Joubu> koha_1       | error: object directory
/srv/jenkins/workspace/Koha_Source/.git/objects does not exist; check
.git/objects/info/alternates
[08:43:46] <Joubu> koha_1       | fatal: not a tree object                      
[08:44:00] <Joubu> and I thought it was because or Koha_Source not existing at
the beginning of the run



[09:02:29] <Joubu> Does `git ls-tree -d --name-only HEAD` work?
[09:02:55] <Joubu> it should return the list of the directories at the root of
Koha
[09:03:56] <ashimema> yup
[09:04:02] <ashimema> looks present and correct
[09:04:10] <Joubu> ok good
[09:04:57] <Joubu> so, Koha_Master is currently running and git command works
correctly. We will wait for the end of the run, where the "not a tree object"
errors appear
[09:05:36] <Joubu> if they do not appear, it means Koha_Source is not correct
(corrupt, or bare repo?) on the nodes where the errors pop up
[09:06:48] <Joubu> look at this one:
[09:06:54] <Joubu>
https://jenkins.koha-community.org/job/Koha_23.05_U22/155/consoleText on
Docker_7
[09:07:05] <Joubu> => no "not a tree" errors
[09:07:21] <Joubu> the next run
https://jenkins.koha-community.org/job/Koha_23.05_U22/156/consoleText on
Docker_15
[09:07:26] <Joubu> => lot of "not a tree" errors
[09:07:55] <ashimema> I think jake recloned a bunch yesterday afternoon using
github instead of gittea
[09:08:45] <Joubu> this last run of from 2024-02-07 19:27:28.
[09:14:07] <Joubu> ashimema: There is a current run on Docker_15
[09:14:43] <Joubu> the errors didn't appear yet but it would be interesting to
inspect the clone there
[09:14:54] <Joubu> and run `git ls-tree -d --name-only HEAD`
[09:16:35] <ashimema> all looks good there too
[09:17:38] <Joubu> hum ok, weird
[09:17:56] <Joubu> let's see if the errors appear then

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list