[Koha-devel] Build failed in Jenkins: Koha_master #1913

Jonathan Druart jonathan.druart at biblibre.com
Mon Jun 9 09:34:57 CEST 2014


Hello,

Jenkins failed ("Failed to determine") because of a git error on fetching.

I launched the following commands:

root at ks356124:/var/lib/jenkins/jobs/Koha_master/workspace# git remote -v
origin    git://git.koha-community.org/koha.git (fetch)
origin    git://git.koha-community.org/koha.git (push)
root at ks356124:/var/lib/jenkins/jobs/Koha_master/workspace# git fetch origin
error: unable to resolve reference
refs/remotes/origin/MM-OPAC/bug_11169: Not a directory
>From git://git.koha-community.org/koha
 ! [new branch]      MM-OPAC/bug_11169 -> origin/MM-OPAC/bug_11169
(unable to update local ref)
error: some local refs could not be updated; try running
 'git remote prune origin' to remove any old, conflicting branches
root at ks356124:/var/lib/jenkins/jobs/Koha_master/workspace# git remote
prune origin
Pruning origin
URL: git://git.koha-community.org/koha.git
 * [pruned] origin/MM-OPAC
 * [pruned] origin/biblibre-acq-preview-only
 * [pruned] origin/biblibre-integration
 * [pruned] origin/biblibre-sopac
 * [pruned] origin/labels_recon
 * [pruned] origin/new/3_6_0_po_files
 * [pruned] origin/new/awaiting_qa/analytical_records
 * [pruned] origin/new/awaiting_qa/biblibre_various
 * [pruned] origin/new/awaiting_qa/bug_4506
 * [pruned] origin/new/awaiting_qa/bug_4903
 * [pruned] origin/new/awaiting_qa/bug_4990
[...]


2014-06-09 8:48 GMT+02:00  <chris at bigballofwax.co.nz>:
> See <http://jenkins.koha-community.org/job/Koha_master/1913/>
>
> ------------------------------------------
> Started by an SCM change
> Building on master in workspace <http://jenkins.koha-community.org/job/Koha_master/ws/>
>  > git rev-parse --is-inside-work-tree
> Fetching changes from the remote Git repository
>  > git config remote.origin.url git://git.koha-community.org/koha.git
> Fetching upstream changes from git://git.koha-community.org/koha.git
>  > git --version
>  > git fetch --tags --progress git://git.koha-community.org/koha.git +refs/heads/*:refs/remotes/origin/*
> FATAL: Failed to fetch from git://git.koha-community.org/koha.git
> hudson.plugins.git.GitException: Failed to fetch from git://git.koha-community.org/koha.git
>         at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:625)
>         at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:847)
>         at hudson.plugins.git.GitSCM.checkout(GitSCM.java:872)
>         at hudson.model.AbstractProject.checkout(AbstractProject.java:1252)
>         at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
>         at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
>         at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513)
>         at hudson.model.Run.execute(Run.java:1706)
>         at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>         at hudson.model.ResourceController.execute(ResourceController.java:88)
>         at hudson.model.Executor.run(Executor.java:231)
> Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress git://git.koha-community.org/koha.git +refs/heads/*:refs/remotes/origin/*" returned status code 1:
> stdout:
> stderr: error: unable to resolve reference refs/remotes/origin/MM-OPAC/bug_11169: Not a directory
> From git://git.koha-community.org/koha
>  ! [new branch]      MM-OPAC/bug_11169 -> origin/MM-OPAC/bug_11169  (unable to update local ref)
> error: some local refs could not be updated; try running
>  'git remote prune git://git.koha-community.org/koha.git' to remove any old, conflicting branches
>
>         at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1325)
>         at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1186)
>         at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:87)
>         at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:257)
>         at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623)
>         ... 10 more


More information about the Koha-devel mailing list