1 |
commit: 06a5475f28a79c335d45c2afc8f89779161c83ac |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 18 17:33:50 2019 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 27 05:35:23 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06a5475f |
7 |
|
8 |
dev-util/buildbot: remove unused patches |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/11098 |
12 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
13 |
|
14 |
...uildbot-0.9.15_p1-buildbotworkerdocker.py.patch | 32 ---------------------- |
15 |
.../files/disable-test_userpass_wait.patch | 24 ---------------- |
16 |
2 files changed, 56 deletions(-) |
17 |
|
18 |
diff --git a/dev-util/buildbot/files/buildbot-0.9.15_p1-buildbotworkerdocker.py.patch b/dev-util/buildbot/files/buildbot-0.9.15_p1-buildbotworkerdocker.py.patch |
19 |
deleted file mode 100644 |
20 |
index db08d7a45dd..00000000000 |
21 |
--- a/dev-util/buildbot/files/buildbot-0.9.15_p1-buildbotworkerdocker.py.patch |
22 |
+++ /dev/null |
23 |
@@ -1,32 +0,0 @@ |
24 |
-From 7051ebdac8c8a9054e8a37ab7dd8fb6f0ac1affb Mon Sep 17 00:00:00 2001 |
25 |
-From: Brian Dolbec <dolsen@g.o> |
26 |
-Date: Mon, 15 Jan 2018 13:50:36 -0800 |
27 |
-Subject: [PATCH] master/buildbot/worker/docker.py: Fix test fail when docker |
28 |
- is not installed |
29 |
- |
30 |
-This fixes numerous tracebacks (note, only partial traceback): |
31 |
- |
32 |
- File "/usr/lib64/python3.6/site-packages/buildbot/worker/docker.py", line 259, in _thd_start_instance |
33 |
- if docker_py_version >= 2.2: |
34 |
-builtins.NameError: name 'docker_py_version' is not defined |
35 |
- |
36 |
-With this patch, the tests pass. |
37 |
---- |
38 |
- master/buildbot/worker/docker.py | 1 + |
39 |
- 1 file changed, 1 insertion(+) |
40 |
- |
41 |
-diff --git a/buildbot/worker/docker.py b/master/buildbot/worker/docker.py |
42 |
-index 62e30785f..e558d69ff 100644 |
43 |
---- a/buildbot/worker/docker.py |
44 |
-+++ b/buildbot/worker/docker.py |
45 |
-@@ -41,6 +41,7 @@ try: |
46 |
- except ImportError: |
47 |
- docker = None |
48 |
- client = None |
49 |
-+ docker_py_version = 0.0 |
50 |
- |
51 |
- |
52 |
- def _handle_stream_line(line): |
53 |
--- |
54 |
-2.15.1 |
55 |
- |
56 |
|
57 |
diff --git a/dev-util/buildbot/files/disable-test_userpass_wait.patch b/dev-util/buildbot/files/disable-test_userpass_wait.patch |
58 |
deleted file mode 100644 |
59 |
index e7b9d0a59e3..00000000000 |
60 |
--- a/dev-util/buildbot/files/disable-test_userpass_wait.patch |
61 |
+++ /dev/null |
62 |
@@ -1,24 +0,0 @@ |
63 |
-From e24640e1043fe8914a2b86842645604a3d9e9698 Mon Sep 17 00:00:00 2001 |
64 |
-From: Brian Dolbec <brian.dolbec@××××.com> |
65 |
-Date: Tue, 13 Mar 2018 19:59:13 +0000 |
66 |
-Subject: [PATCH] disable test-userpass-wait |
67 |
- |
68 |
---- |
69 |
- master/buildbot/test/integration/test_try_client.py | 2 ++ |
70 |
- 1 file changed, 2 insertions(+) |
71 |
- |
72 |
-diff --git a/buildbot/test/integration/test_try_client.py b/buildbot/test/integration/test_try_client.py |
73 |
-index 9bdc7a63a..48fcb1573 100644 |
74 |
---- a/buildbot/test/integration/test_try_client.py |
75 |
-+++ b/buildbot/test/integration/test_try_client.py |
76 |
-@@ -142,6 +142,8 @@ class Schedulers(RunMasterBase, www.RequiresWwwMixin): |
77 |
- |
78 |
- @defer.inlineCallbacks |
79 |
- def test_userpass_wait(self): |
80 |
-+ if os.environ.get("DISABLE_TEST", False): |
81 |
-+ return |
82 |
- yield self.startMaster( |
83 |
- trysched.Try_Userpass('try', ['a'], 0, [('u', b'p')])) |
84 |
- yield self.runClient({ |
85 |
--- |
86 |
-2.13.6 |