Bug 808496

Summary: fedpkg - Could not execute build: [Errno 111] Connection refused / has already been built
Product: [Fedora] Fedora Reporter: Jaromír Cápík <jcapik>
Component: kojiAssignee: Dennis Gilmore <dennis>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 16CC: dennis, mikem, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-30 16:08:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jaromír Cápík 2012-03-30 14:26:10 UTC
Description of problem:
From time to time the following happens when I try to build with fedpkg (sorry if this is a fedpkg issue, but it's hard to guess now). The first build returns "Connection refused" and the second try returns "has already been built".

$ fedpkg build
Building atomix-2.14.0-13.fc18 for f18-candidate
Created task: 3947222
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=3947222
Watching tasks (this may be safely interrupted)...
3947222 build (f18-candidate, /atomix:2ecb17cc59708c982851f43b1d5bea9913f6dccb): free
3947222 build (f18-candidate, /atomix:2ecb17cc59708c982851f43b1d5bea9913f6dccb): free -> open (x86-13.phx2.fedoraproject.org)
  3947225 buildSRPMFromSCM (/atomix:2ecb17cc59708c982851f43b1d5bea9913f6dccb): free
  3947225 buildSRPMFromSCM (/atomix:2ecb17cc59708c982851f43b1d5bea9913f6dccb): free -> open (x86-09.phx2.fedoraproject.org)
  3947225 buildSRPMFromSCM (/atomix:2ecb17cc59708c982851f43b1d5bea9913f6dccb): open (x86-09.phx2.fedoraproject.org) -> closed
  0 free  1 open  1 done  0 failed
  3947245 buildArch (atomix-2.14.0-13.fc18.src.rpm, x86_64): free
  3947245 buildArch (atomix-2.14.0-13.fc18.src.rpm, x86_64): free -> open (buildvm-03.phx2.fedoraproject.org)
  3947246 buildArch (atomix-2.14.0-13.fc18.src.rpm, i686): open (x86-14.phx2.fedoraproject.org)
  3947246 buildArch (atomix-2.14.0-13.fc18.src.rpm, i686): open (x86-14.phx2.fedoraproject.org) -> closed
  0 free  2 open  2 done  0 failed

Could not execute build: [Errno 111] Connection refused
$ fedpkg build
Could not execute build: atomix-2.14.0-13.fc18 has already been built



Version-Release number of selected component (if applicable):
1.6.0-2.fc15

How reproducible:
rarely

Comment 1 Dennis Gilmore 2012-03-30 16:08:45 UTC
whats happening here is that while your watching the build your getting disconnect from koji, so when you try to resubmit the build is done and completed. everything is working as it should.  why your getting disconnected from koji is a different thing and could be down to a number of reasons.

Comment 2 Jaromír Cápík 2012-04-03 09:46:22 UTC
Hi Dennis.

Are you sure these disconnects are not caused by koji?