repositoryhudson.plugins.git.GitException: Could not fetch from any repository

Jenkins JIRA | jpschewe | 6 years ago
  1. 0

    If I have a matrix job run and it fails, then the next job or two attempted will also fail. Output from master job: {{ 16:50:56 Started by user jschewe 16:50:56 Building on master 16:50:56 Checkout:workspace / /nfshomes/hudson/.hudson/jobs/build-matrix/workspace - hudson.remoting.LocalChannel@449764b 16:50:56 Using strategy: Default 16:50:56 Last Built Revision: Revision c935addc3502b2a49a0642f3e545241f4193a53d (origin/jschewe-dev) 16:50:56 Checkout:workspace / /nfshomes/hudson/.hudson/jobs/build-matrix/workspace - hudson.remoting.LocalChannel@449764b 16:50:56 Fetching changes from the remote Git repository 16:50:56 Fetching upstream changes from git@gitserver:repo.git 16:50:56 Seen branch in repository origin/jschewe-dev 16:50:56 Seen branch in repository origin/master 16:50:56 Commencing build of Revision c935addc3502b2a49a0642f3e545241f4193a53d (origin/jschewe-dev) 16:50:56 Checking out Revision c935addc3502b2a49a0642f3e545241f4193a53d (origin/jschewe-dev) 16:50:56 Triggering cygwin 16:51:01 FATAL: null 16:51:01 java.lang.NullPointerException 16:51:01 at hudson.plugins.tasks.TasksAnnotationsAggregator.endRun(TasksAnnotationsAggregator.java:62) 16:51:01 at hudson.matrix.MatrixBuild$RunnerImpl.waitForCompletion(MatrixBuild.java:299) 16:51:01 at hudson.matrix.MatrixBuild$RunnerImpl.doRun(MatrixBuild.java:234) 16:51:01 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) 16:51:01 at hudson.model.Run.run(Run.java:1362) 16:51:01 at hudson.matrix.MatrixBuild.run(MatrixBuild.java:152) 16:51:01 at hudson.model.ResourceController.execute(ResourceController.java:88) 16:51:01 at hudson.model.Executor.run(Executor.java:145) 16:51:01 at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) }} Output from child job: {{ 16:50:56 Started by upstream project "build-matrix" build number 14 16:50:56 Building remotely on gull 16:50:56 Checkout:cygwin / d:/cygwin/home/hudson/workspace/build-matrix/label/cygwin - hudson.remoting.Channel@50ea9f6e:gull 16:50:56 Using strategy: Default 16:50:56 Last Built Revision: Revision 481cbee466ebe9d2026eb07aba63c9581cb2d18c (origin/jschewe-dev) 16:50:56 Checkout:cygwin / d:\cygwin\home\hudson\workspace\build-matrix\label\cygwin - hudson.remoting.LocalChannel@6b05f5 16:50:56 Fetching changes from the remote Git repository 16:50:56 Fetching upstream changes from git@gitserver:repo.git 16:50:58 ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway 16:50:58 FATAL: Could not fetch from any repository 16:50:58 ERROR: Could not fetch from any repositoryhudson.plugins.git.GitException: Could not fetch from any repository 16:50:58 at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:852) 16:50:58 at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812) 16:50:58 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1944) 16:50:58 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 16:50:58 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 16:50:58 at hudson.remoting.Request$2.run(Request.java:270) 16:50:58 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 16:50:58 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 16:50:58 at java.util.concurrent.FutureTask.run(Unknown Source) 16:50:58 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 16:50:58 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 16:50:58 at java.lang.Thread.run(Unknown Source) }}

    Jenkins JIRA | 6 years ago | jpschewe
    repositoryhudson.plugins.git.GitException: Could not fetch from any repository
  2. 0

    If I have a matrix job run and it fails, then the next job or two attempted will also fail. Output from master job: {{ 16:50:56 Started by user jschewe 16:50:56 Building on master 16:50:56 Checkout:workspace / /nfshomes/hudson/.hudson/jobs/build-matrix/workspace - hudson.remoting.LocalChannel@449764b 16:50:56 Using strategy: Default 16:50:56 Last Built Revision: Revision c935addc3502b2a49a0642f3e545241f4193a53d (origin/jschewe-dev) 16:50:56 Checkout:workspace / /nfshomes/hudson/.hudson/jobs/build-matrix/workspace - hudson.remoting.LocalChannel@449764b 16:50:56 Fetching changes from the remote Git repository 16:50:56 Fetching upstream changes from git@gitserver:repo.git 16:50:56 Seen branch in repository origin/jschewe-dev 16:50:56 Seen branch in repository origin/master 16:50:56 Commencing build of Revision c935addc3502b2a49a0642f3e545241f4193a53d (origin/jschewe-dev) 16:50:56 Checking out Revision c935addc3502b2a49a0642f3e545241f4193a53d (origin/jschewe-dev) 16:50:56 Triggering cygwin 16:51:01 FATAL: null 16:51:01 java.lang.NullPointerException 16:51:01 at hudson.plugins.tasks.TasksAnnotationsAggregator.endRun(TasksAnnotationsAggregator.java:62) 16:51:01 at hudson.matrix.MatrixBuild$RunnerImpl.waitForCompletion(MatrixBuild.java:299) 16:51:01 at hudson.matrix.MatrixBuild$RunnerImpl.doRun(MatrixBuild.java:234) 16:51:01 at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) 16:51:01 at hudson.model.Run.run(Run.java:1362) 16:51:01 at hudson.matrix.MatrixBuild.run(MatrixBuild.java:152) 16:51:01 at hudson.model.ResourceController.execute(ResourceController.java:88) 16:51:01 at hudson.model.Executor.run(Executor.java:145) 16:51:01 at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) }} Output from child job: {{ 16:50:56 Started by upstream project "build-matrix" build number 14 16:50:56 Building remotely on gull 16:50:56 Checkout:cygwin / d:/cygwin/home/hudson/workspace/build-matrix/label/cygwin - hudson.remoting.Channel@50ea9f6e:gull 16:50:56 Using strategy: Default 16:50:56 Last Built Revision: Revision 481cbee466ebe9d2026eb07aba63c9581cb2d18c (origin/jschewe-dev) 16:50:56 Checkout:cygwin / d:\cygwin\home\hudson\workspace\build-matrix\label\cygwin - hudson.remoting.LocalChannel@6b05f5 16:50:56 Fetching changes from the remote Git repository 16:50:56 Fetching upstream changes from git@gitserver:repo.git 16:50:58 ERROR: Problem fetching from origin / origin - could be unavailable. Continuing anyway 16:50:58 FATAL: Could not fetch from any repository 16:50:58 ERROR: Could not fetch from any repositoryhudson.plugins.git.GitException: Could not fetch from any repository 16:50:58 at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:852) 16:50:58 at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812) 16:50:58 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1944) 16:50:58 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 16:50:58 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 16:50:58 at hudson.remoting.Request$2.run(Request.java:270) 16:50:58 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 16:50:58 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 16:50:58 at java.util.concurrent.FutureTask.run(Unknown Source) 16:50:58 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 16:50:58 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 16:50:58 at java.lang.Thread.run(Unknown Source) }}

    Jenkins JIRA | 6 years ago | jpschewe
    repositoryhudson.plugins.git.GitException: Could not fetch from any repository

    Root Cause Analysis

    1. repositoryhudson.plugins.git.GitException

      Could not fetch from any repository

      at hudson.plugins.git.GitSCM$2.invoke()
    2. Hudson GIT plugin
      GitSCM$2.invoke
      1. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:852)
      2. hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:812)
      2 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:1944)
      1 frame
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:270)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      3. java.util.concurrent.FutureTask.run(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      6. java.lang.Thread.run(Unknown Source)
      6 frames