Uploaded image for project: 'Zanata'
  1. ZNTA-1509

build-tools failed on release:prepare: Unable to tag SCM

    Details

    • Tested Version/s:
      None
    • Sprint:
      16.23

      Description

      Error messages:
      [INFO] Working directory: /home/dchen/devel/zanata-platform/build-tools
      [INFO] Executing: /bin/sh -c cd /home/dchen/devel/zanata-platform/build-tools && git symbolic-ref HEAD
      [INFO] Working directory: /home/dchen/devel/zanata-platform/build-tools
      [INFO] Executing: /bin/sh -c cd /home/dchen/devel/zanata-platform/build-tools && git push git@github.com:zanata/zanata-platform.git refs/heads/master:refs/heads/master
      [INFO] Working directory: /home/dchen/devel/zanata-platform/build-tools
      [INFO] Tagging release with the label platform-4.0.0-alpha-2...
      [INFO] Executing: /bin/sh -c cd /home/dchen/devel/zanata-platform && git tag -F /tmp/maven-scm-1395116424.commit platform-4.0.0-alpha-2
      [INFO] Working directory: /home/dchen/devel/zanata-platform
      [INFO] Executing: /bin/sh -c cd /home/dchen/devel/zanata-platform && git push git@github.com:zanata refs/tags/platform-4.0.0-alpha-2
      [INFO] Working directory: /home/dchen/devel/zanata-platform
      [INFO] FAILURE build of project org.zanata:build-tools
      [INFO] Ready org.zanata:parent
      [INFO] Builder state: blocked=23 finished=1 ready-or-running=1
      ......
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project build-tools: Unable to tag SCM
      [ERROR] Provider message:
      [ERROR] The git-push command failed.
      [ERROR] Command output:
      [ERROR] ERROR: Repository not found.
      [ERROR] fatal: Could not read from remote repository.
      [ERROR]
      [ERROR] Please make sure you have the correct access rights
      [ERROR] and the repository exists.
      [ERROR] -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project build-tools: Unable to tag SCM
      Provider message:
      The git-push command failed.
      Command output:
      ERROR: Repository not found.
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists.

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      at io.takari.maven.builder.smart.SmartBuilderImpl.buildProject(SmartBuilderImpl.java:334)
      at io.takari.maven.builder.smart.SmartBuilderImpl$ProjectBuildTask.run(SmartBuilderImpl.java:104)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.maven.plugin.MojoFailureException: Unable to tag SCM
      Provider message:
      The git-push command failed.
      Command output:
      ERROR: Repository not found.
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists.

      at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:294)
      at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:240)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      ... 10 more
      Caused by: org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to tag SCM
      Provider message:
      The git-push command failed.
      Command output:
      ERROR: Repository not found.
      fatal: Could not read from remote repository.

      Please make sure you have the correct access rights
      and the repository exists.

      at org.apache.maven.shared.release.phase.ScmTagPhase.execute(ScmTagPhase.java:136)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:234)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:169)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:146)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:107)
      at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:286)
      ... 13 more

        Attachments

          Activity

            People

            • Assignee:
              dchen Ding-Yi Chen
              Reporter:
              dchen Ding-Yi Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: