[Koha-bugs] [Bug 36381] New: "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:53:04 CET 2024


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

            Bug ID: 36381
           Summary: "not a tree object" error from Jenkins
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: jonathan.druart at gmail.com
        QA Contact: testopia at bugs.koha-community.org

"not a tree object" warning on Jenkins.

It's like the test are not run inside a git repository:

koha_1       | error: object directory
/srv/jenkins/workspace/Koha_Source/.git/objects does not exist; check
.git/objects/info/alternates
koha_1       | error: Could not read 3288f3a2129207626916d7a7b49f580c16d097a1
koha_1       | Nothing to critique at t/00-testcritic.t line 18.
koha_1       | [18:52:15] t/00-testcritic.t
........................................................... 
koha_1       | Dubious, test returned 25 (wstat 6400, 0x1900)
koha_1       | No subtests run 


In this case we have t/00-testcritic.t that is failing.

But even on green runs we see:
koha_1       | error: object directory
/srv/jenkins/workspace/Koha_Source/.git/objects does not exist; check
.git/objects/info/alternates
koha_1       | fatal: not a tree object
koha_1       | [18:17:56] t/00-testcritic.t

And lot of other "not a tree object" error (I guess everytime we run 'git'
commands from tests).

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


More information about the Koha-bugs mailing list