*****************************************************************
***** *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!! *****
***** *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD, *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
***** *****
***** THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS *****
***** *****
*****************************************************************
Affected Version:
What steps will reproduce the problem?
1. master: modify file, git add; git commit; git push origin HEAD:/refs/for/master
2. replication.config
[remote "pubmirror"]
url = ssh://jenkins-jb@hctest02:29418/${name}.git
push = +refs/tags/*:refs/tags/*
push = +refs/heads/*:refs/heads/*
createMissingRepositories = true
What is the expected output? What do you see instead?
Replicate updated change from master to slave. However, replication error repeated.
Please provide any additional information below. (error message from master:[git_site]/logs/replication_log)
[2015-08-21 18:42:45,930] [09c908e2] Replication to ssh://jenkins-jb@hctest02:29418/AAA.git started...
[2015-08-21 18:42:45,931] [09c908e2] Push to ssh://jenkins-jb@hctest02:29418/AAA.git references: [RemoteRefUpdate[remoteName=refs/heads/master, NOT_ATTEMPTED, (null)...e92747db80fefc29a6b691c09d2bdcfc5310868c, srcRef=refs/heads/master, forceUpdate, message=null]
[2015-08-21 18:42:46,069] [09c908e2]Cannot replicate to ssh://jenkins-jb@hctest
02:29418/AAA.git
org.eclipse.jgit.errors.TransportException: ssh://jenkins-jb@hctest02:29418/AAA.
git: push not permitted
at org.eclipse.jgit.transport.BasePackPushConnection.noRepository(BasePa
ckPushConnection.java:175)
at org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefsImpl(
BasePackConnection.java:198)
at org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefs(Base
PackConnection.java:176)
at org.eclipse.jgit.transport.TransportGitSsh$SshPushConnection.<init>(T
ransportGitSsh.java:341)
at org.eclipse.jgit.transport.TransportGitSsh.openPush(TransportGitSsh.j
ava:166)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:154)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1200)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1246)
root@hctest01:/home/gerrit2/review_site/logs# tail -f replication_log
at com.google.gerrit.server.git.PerThreadRequestScope$Propagator$1.call(PerThreadRequestScope.java:75)
at com.googlesource.gerrit.plugins.replication.PushOne.run(PushOne.java:254)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:368)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[2015-08-21 18:33:44,574] [09c908e2] Replication to ssh://jenkins-jb@hctest02:29418/AAA.git started...
[2015-08-21 18:33:44,575] [09c908e2] Push to ssh://jenkins-jb@hctest02:29418/AAA.git references: [RemoteRefUpdate[remoteName=refs/heads/master, NOT_ATTEMPTED, (null)...e92747db80fefc29a6b691c09d2bdcfc5310868c, srcRef=refs/heads/master, forceUpdate, message=null]]
[2015-08-21 18:33:44,725] [09c908e2] Cannot replicate to ssh://jenkins-jb@hctest02:29418/AAA.git
org.eclipse.jgit.errors.TransportException: ssh://jenkins-jb@hctest02:29418/AAA.git: push not permitted
at org.eclipse.jgit.transport.BasePackPushConnection.noRepository(BasePackPushConnection.java:175)
at org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefsImpl(BasePackConnection.java:198)
at org.eclipse.jgit.transport.BasePackConnection.readAdvertisedRefs(BasePackConnection.java:176)
at org.eclipse.jgit.transport.TransportGitSsh$SshPushConnection.<init>(TransportGitSsh.java:341)
at org.eclipse.jgit.transport.TransportGitSsh.openPush(TransportGitSsh.java:166)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:154)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1200)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1246)
at com.googlesource.gerrit.plugins.replication.PushOne.pushVia(PushOne.java:407)
at com.googlesource.gerrit.plugins.replication.PushOne.runImpl(PushOne.java:379)
at com.googlesource.gerrit.plugins.replication.PushOne.runPushOperation(PushOne.java:287)
at com.googlesource.gerrit.plugins.replication.PushOne.access$000(PushOne.java:82)
at com.googlesource.gerrit.plugins.replication.PushOne$1.call(PushOne.java:257)
at com.googlesource.gerrit.plugins.replication.PushOne$1.call(PushOne.java:254)
at com.google.gerrit.server.util.RequestScopePropagator$5.call(RequestScopePropagator.java:222)
at com.google.gerrit.server.util.RequestScopePropagator$4.call(RequestScopePropagator.java:201)
at com.google.gerrit.server.git.PerThreadRequestScope$Propagator$1.call(PerThreadRequestScope.java:75)
at com.googlesource.gerrit.plugins.replication.PushOne.run(PushOne.java:254)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:368)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)