infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lambertus (JIRA)" <>
Subject [jira] [Updated] (INFRA-16808) Jenkins GitException "fatal: unable to read tree"
Date Thu, 26 Jul 2018 00:29:00 GMT


Chris Lambertus updated INFRA-16808:
    Status: Waiting for user  (was: Waiting for Infra)

I don't see any obvious reasons for this. The error seems like it is git related, possibly
a peering issue between jenkins and git-wip. There are a couple things we can try:

1) Set your build to clean the workspace at start

2) Set your build to use the github mirror instead of git-wip

Please try these options and let me know how it goes.

> Jenkins GitException "fatal: unable to read tree"
> -------------------------------------------------
>                 Key: INFRA-16808
>                 URL:
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Patrick Hunt
>            Priority: Major
> We're seeing some Jenkins jobs fail due to the following:
> Caused by: hudson.plugins.git.GitException: Command "git reset --hard" returned status
code 128:
> stdout: 
> stderr: fatal: unable to read tree 4d579c6c4dd72a231d20e53a2ec357c48c331d20
> This is for
>  > git config remote.origin.url git:// # timeout=10
> and seems to be happening on certain hosts for certain jobs.
> I'm guessing that the git workspace is corrupted? What's the right way to handle something
like this from a project perspective? Should I be specifying an "Additional Behaviours" of
some kind? Any help would be appreciated.
> Here are two hosts I've seen recently:
> H22:
> H32:
> different job,
> H30:

This message was sent by Atlassian JIRA

View raw message