[releng] fedretire: Add all active branches
by Till Maas
commit 3aecacdf43c734a164d9375695e931452d8f68a4
Author: Till Maas <opensource(a)till.name>
Date: Fri Nov 21 23:26:54 2014 +0100
fedretire: Add all active branches
scripts/fedretire | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/fedretire b/scripts/fedretire
index 94618d5..b2f93de 100755
--- a/scripts/fedretire
+++ b/scripts/fedretire
@@ -34,7 +34,7 @@ def retire(pkg, branch, reason, dryrun=False):
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Helper to retire packages")
parser.add_argument("--branch", default="master", nargs="*",
- choices=["master", "f21", "epel7", "el6", "el5"])
+ choices=["master", "f21", "f20", "f19", "epel7", "el6", "el5"])
parser.add_argument("--reasonfile", default=None)
parser.add_argument("--reason", default=None)
parser.add_argument("pkg", nargs="+")
9 years, 5 months
[releng] block_retired: Document race condition
by Till Maas
commit 1088dd3dd7703579b15d7862bdf84ad6d274e980
Author: Till Maas <opensource(a)till.name>
Date: Fri Nov 21 23:26:36 2014 +0100
block_retired: Document race condition
scripts/block_retired.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/scripts/block_retired.py b/scripts/block_retired.py
index e6058f2..c6f6bbd 100755
--- a/scripts/block_retired.py
+++ b/scripts/block_retired.py
@@ -169,6 +169,8 @@ def block_package(packages, branch="master", staging=False):
# Untag builds first due to koji/mash bug:
# https://fedorahosted.org/koji/ticket/299
+ # FIXME: This introduces a theoretical race condition when a package is
+ # built after all builds were untagged and before the package is blocked
if epel_build_tag:
run_koji(["untag-build", "--all", tag] + packages)
9 years, 5 months
#6054: fedpkg build broken after crypto-policies update to disable SSL3
by Fedora Release Engineering
#6054: fedpkg build broken after crypto-policies update to disable SSL3
-----------------------------+------------------------
Reporter: amigadave | Owner: rel-eng@…
Type: task | Status: new
Milestone: Fedora 21 Final | Component: koji
Keywords: | Blocked By:
Blocking: |
-----------------------------+------------------------
I came across this today, after updating crypto-policies in Rawhide:
fedpkg -v build
Creating repo object from /home/david/checkout/rpms/gnome-logs
Could not read /home/david/.koji/config for config values
Initiating a koji session to http://koji.fedoraproject.org/kojihub
Could not execute build: [('SSL routines', 'SSL3_CLIENT_HELLO', 'no
ciphers available')]
Traceback (most recent call last):
File "/usr/bin/fedpkg", line 16, in <module>
main()
File "/usr/lib/python2.7/site-packages/fedpkg/__main__.py", line 68,
in main
sys.exit(client.args.command())
File "/usr/lib/python2.7/site-packages/pyrpkg/cli.py", line 938, in
build
sets, nvr_check)
File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line
1717, in build
build_target = self.kojisession.getBuildTarget(self.target)
File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line
396, in kojisession
self.load_kojisession()
File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line
248, in load_kojisession
defaults['serverca'])
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1729,
in ssl_login
sinfo = self.callMethod('sslLogin', proxyuser)
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1778,
in callMethod
return self._callMethod(name, args, opts)
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1898,
in _callMethod
return self._sendCall(handler, headers, request)
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1809,
in _sendCall
return self._sendOneCall(handler, headers, request)
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1827,
in _sendOneCall
cnx.endheaders()
File "/usr/lib64/python2.7/httplib.py", line 991, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 844, in _send_output
self.send(msg)
File "/usr/lib64/python2.7/httplib.py", line 820, in send
self.sock.sendall(data)
File "/usr/lib/python2.7/site-packages/koji/ssl/SSLConnection.py",
line 108, in sendall
sent = con.send(data, flags)
OpenSSL.SSL.Error: [('SSL routines', 'SSL3_CLIENT_HELLO', 'no ciphers
available')]
I was advised to file it as a releng ticket by pingou on #fedora-devel. It
seems like this change is only on the master branch of crypto-policies,
not f21:
http://pkgs.fedoraproject.org/cgit/crypto-
policies.git/commit/?id=9e4e7ddc76b3f22db8fd4a15eba9ed4140a831fa
--
Ticket URL: <https://fedorahosted.org/rel-eng/ticket/6054>
Fedora Release Engineering <http://fedorahosted.org/rel-eng>
Release Engineering for the Fedora Project
9 years, 5 months
[releng] Updated tag rawhide-stable
by Till Maas
The lightweight tag 'rawhide-stable' was updated to point to:
52784e0... block_retired: Untag EPEL builds first
It previously pointed to:
fc1f5ab... we never need the extra rsync opts and sudo doesnt like the
NOTE: People pulling from the repository will not get the new tag.
For more information, please see:
http://live.gnome.org/Git/Help/TagUpdates
9 years, 5 months
[releng] block_retired: Untag EPEL builds first
by Till Maas
commit 52784e026b07af0223bbed60d80054e4168c1dfd
Author: Till Maas <opensource(a)till.name>
Date: Wed Nov 19 22:32:57 2014 +0100
block_retired: Untag EPEL builds first
scripts/block_retired.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/scripts/block_retired.py b/scripts/block_retired.py
index 746cff9..e6058f2 100755
--- a/scripts/block_retired.py
+++ b/scripts/block_retired.py
@@ -165,12 +165,16 @@ def block_package(packages, branch="master", staging=False):
mapper = ReleaseMapper(staging=staging)
tag = mapper.koji_tag(branch)
- run_koji(["block-pkg", tag] + packages)
-
epel_build_tag = mapper.epel_build_tag(branch)
+ # Untag builds first due to koji/mash bug:
+ # https://fedorahosted.org/koji/ticket/299
if epel_build_tag:
run_koji(["untag-build", "--all", tag] + packages)
+
+ run_koji(["block-pkg", tag] + packages)
+
+ if epel_build_tag:
run_koji(["unblock-pkg", epel_build_tag] + packages)
9 years, 5 months
[releng] fedretire: Allow to specify multiple branches
by Till Maas
commit 5e388e2e3b0f4f151d54c5878996790b952aa692
Author: Till Maas <opensource(a)till.name>
Date: Wed Nov 19 22:30:35 2014 +0100
fedretire: Allow to specify multiple branches
scripts/fedretire | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/scripts/fedretire b/scripts/fedretire
index 9b516e8..94618d5 100755
--- a/scripts/fedretire
+++ b/scripts/fedretire
@@ -33,7 +33,7 @@ def retire(pkg, branch, reason, dryrun=False):
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Helper to retire packages")
- parser.add_argument("--branch", default="master",
+ parser.add_argument("--branch", default="master", nargs="*",
choices=["master", "f21", "epel7", "el6", "el5"])
parser.add_argument("--reasonfile", default=None)
parser.add_argument("--reason", default=None)
@@ -59,4 +59,5 @@ if __name__ == "__main__":
reason += "\n"
for pkg in args.pkg:
- retire(pkg, args.branch, reason, dryrun=False)
+ for branch in args.branch:
+ retire(pkg, branch, reason, dryrun=False)
9 years, 5 months