Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
EVE-1150 builbot upgrade to 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bertranddemiddelaer committed Jun 15, 2021
1 parent 3063407 commit d6cade4
Show file tree
Hide file tree
Showing 15 changed files with 102 additions and 56 deletions.
41 changes: 23 additions & 18 deletions build/workers/focal/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,24 @@ bcrypt==3.2.0
# via crossbar
bitstring==3.1.7
# via crossbar
buildbot-pkg==2.0.1
buildbot-pkg==2.7.0
# via
# -c build/workers/focal/../../../requirements/constraints.txt
# -r build/workers/focal/../../../requirements/base.in
buildbot-worker==2.0.1
buildbot-worker==2.7.0
# via
# -c build/workers/focal/../../../requirements/constraints.txt
# -r build/workers/focal/../../../requirements/base.in
buildbot-www==2.0.1
buildbot-www==2.7.0
# via
# -c build/workers/focal/../../../requirements/constraints.txt
# -r build/workers/focal/../../../requirements/base.in
buildbot==2.0.1
buildbot[tls]==2.7.0
# via
# -c build/workers/focal/../../../requirements/constraints.txt
# -r build/workers/focal/../../../requirements/base.in
buildbot_wsgi_dashboards==2.0.1
# buildbot-www
buildbot_wsgi_dashboards==2.7.0
# via
# -c build/workers/focal/../../../requirements/constraints.txt
# -r build/workers/focal/../../../requirements/base.in
Expand All @@ -89,6 +90,7 @@ cffi==1.14.5
# bcrypt
# cryptography
# pynacl
# zlmdb
chardet==3.0.4
# via
# -c build/workers/focal/../../../requirements/constraints.txt
Expand All @@ -110,14 +112,16 @@ cliff==3.7.0
cmd2==1.5.0
# via cliff
colorama==0.4.4
# via cmd2
# via
# cmd2
# crossbar
constantly==15.1.0
# via
# crossbar
# twisted
coverage==5.5
# via pytest-cov
crossbar==21.1.1
crossbar==21.3.1
# via -r build/workers/focal/../../../requirements/system_tests.in
cryptography==3.4.7
# via
Expand Down Expand Up @@ -158,9 +162,7 @@ flatbuffers==1.12
# autobahn
# zlmdb
future==0.18.2
# via
# buildbot
# buildbot-worker
# via buildbot-worker
google-auth==1.28.1
# via kubernetes
h2==3.2.0
Expand All @@ -186,7 +188,7 @@ importlib-metadata==3.10.1
# via
# -c build/workers/focal/../../../requirements/constraints.txt
# -r build/workers/focal/../../../requirements/base.in
importlib-resources==5.1.2
importlib-resources==5.1.4
# via crossbar
incremental==21.3.0
# via
Expand Down Expand Up @@ -272,7 +274,7 @@ netifaces==0.10.9
# -r build/workers/focal/../../../requirements/base.in
# openstacksdk
# oslo.utils
numpy==1.19.5
numpy==1.20.3
# via zlmdb
oauthlib==3.1.0
# via requests-oauthlib
Expand Down Expand Up @@ -395,6 +397,8 @@ pyflakes==2.3.1
# flake8
pygments==2.8.1
# via crossbar
pyhamcrest==2.0.2
# via twisted
pyjwt==2.0.1
# via
# adal
Expand Down Expand Up @@ -542,7 +546,6 @@ six==1.15.0
# python-swiftclient
# sqlalchemy-migrate
# tox
# treq
# virtualenv
# websocket-client
snowballstemmer==2.1.0
Expand Down Expand Up @@ -582,11 +585,12 @@ towncrier==21.3.0
# via -r build/workers/focal/../../../requirements/relnotes.in
tox==3.23.0
# via -r build/workers/focal/requirements.in
treq==21.1.0
treq==21.5.0
# via
# -c build/workers/focal/../../../requirements/constraints.txt
# -r build/workers/focal/../../../requirements/base.in
# crossbar
twisted[tls]==21.2.0
twisted[tls]==20.3.0
# via
# -c build/workers/focal/../../../requirements/constraints.txt
# autobahn
Expand Down Expand Up @@ -631,8 +635,10 @@ wrapt==1.12.1
xunitparser==1.3.3
# via -r build/workers/focal/../../../requirements/base.in
zipp==3.4.1
# via importlib-metadata
zlmdb==21.1.1
# via
# importlib-metadata
# importlib-resources
zlmdb==21.2.1
# via crossbar
zope.interface==5.3.0
# via
Expand All @@ -643,5 +649,4 @@ zope.interface==5.3.0
# txtorcon

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
27 changes: 14 additions & 13 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,24 @@ babel==2.6.0
# via
# -c requirements/constraints.txt
# python-heatclient
buildbot-pkg==2.0.1
buildbot-pkg==2.7.0
# via
# -c requirements/constraints.txt
# -r requirements/base.in
buildbot-worker==2.0.1
buildbot-worker==2.7.0
# via
# -c requirements/constraints.txt
# -r requirements/base.in
buildbot-www==2.0.1
buildbot-www==2.7.0
# via
# -c requirements/constraints.txt
# -r requirements/base.in
buildbot==2.0.1
buildbot[tls]==2.7.0
# via
# -c requirements/constraints.txt
# -r requirements/base.in
buildbot_wsgi_dashboards==2.0.1
# buildbot-www
buildbot_wsgi_dashboards==2.7.0
# via
# -c requirements/constraints.txt
# -r requirements/base.in
Expand Down Expand Up @@ -94,9 +95,7 @@ dogpile.cache==1.1.2
flask==1.1.2
# via -r requirements/base.in
future==0.18.2
# via
# buildbot
# buildbot-worker
# via buildbot-worker
google-auth==1.30.0
# via kubernetes
hyperlink==21.0.0
Expand Down Expand Up @@ -258,6 +257,8 @@ pyflakes==2.3.1
# via
# -c requirements/constraints.txt
# -r requirements/base.in
pyhamcrest==2.0.2
# via twisted
pyjwt==2.1.0
# via
# adal
Expand Down Expand Up @@ -355,7 +356,6 @@ six==1.15.0
# python-keystoneclient
# python-swiftclient
# sqlalchemy-migrate
# treq
# websocket-client
snowballstemmer==2.1.0
# via pydocstyle
Expand All @@ -381,9 +381,11 @@ stevedore==3.3.0
# python-openstackclient
tempita==0.5.2
# via sqlalchemy-migrate
treq==21.1.0
# via -r requirements/base.in
twisted[tls]==21.2.0
treq==21.5.0
# via
# -c requirements/constraints.txt
# -r requirements/base.in
twisted[tls]==20.3.0
# via
# -c requirements/constraints.txt
# buildbot
Expand Down Expand Up @@ -416,5 +418,4 @@ zope.interface==5.4.0
# twisted

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
11 changes: 6 additions & 5 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# CONSTRAINTS for all installs

# fix version of buildbot
buildbot-pkg==2.0.1
buildbot-worker==2.0.1
buildbot-www==2.0.1
buildbot==2.0.1
buildbot_wsgi_dashboards==2.0.1
buildbot-pkg==2.7.0
buildbot-worker==2.7.0
buildbot-www==2.7.0
buildbot==2.7.0
buildbot_wsgi_dashboards==2.7.0

# Buildbot deps
sqlalchemy==1.2.17
Expand All @@ -18,6 +18,7 @@ certifi==2018.11.29
babel==2.6.0
urllib3==1.24.3
chardet==3.0.4
treq==21.5.0

# pydocstyle 2.1.1 raises new errors
# we will need a proper integration of the new version
Expand Down
17 changes: 11 additions & 6 deletions requirements/system_tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ idna==2.5
# hyperlink
# requests
# twisted
importlib-resources==5.1.2
importlib-resources==5.1.4
# via crossbar
incremental==21.3.0
# via
Expand All @@ -122,7 +122,7 @@ msgpack==1.0.2
# via autobahn
netaddr==0.8.0
# via crossbar
numpy==1.20.2
numpy==1.20.3
# via zlmdb
packaging==20.9
# via pytest
Expand Down Expand Up @@ -157,6 +157,8 @@ pycparser==2.20
# via cffi
pygments==2.8.1
# via crossbar
pyhamcrest==2.0.2
# via twisted
pynacl==1.4.0
# via
# autobahn
Expand Down Expand Up @@ -218,14 +220,15 @@ six==1.15.0
# bcrypt
# pynacl
# pyopenssl
# treq
sortedcontainers==2.3.0
# via pytrie
toml==0.10.2
# via pytest
treq==21.1.0
# via crossbar
twisted[tls]==21.2.0
treq==21.5.0
# via
# -c requirements/constraints.txt
# crossbar
twisted[tls]==20.3.0
# via
# -c requirements/constraints.txt
# autobahn
Expand All @@ -251,6 +254,8 @@ watchdog==2.0.3
# via crossbar
werkzeug==1.0.1
# via crossbar
zipp==3.4.1
# via importlib-resources
zlmdb==21.2.1
# via crossbar
zope.interface==5.4.0
Expand Down
1 change: 1 addition & 0 deletions tests/docker/test_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ def test_long_step_name(self):
step_names_and_descriptions = [(step['name'], step['state_string'])
for step in premerge_steps]
self.assertEqual(step_names_and_descriptions, [
(u'worker_preparation', u'worker ready'),
(u'prevent unuseful restarts', u"'[ $(expr ...'"),
(u'set the artifacts private url',
u"property 'artifacts_private_url' set"),
Expand Down
4 changes: 4 additions & 0 deletions tests/docker/test_docker_with_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def test_simple_build(self):
step_names_and_descriptions = [(step['name'], step['state_string'])
for step in bootstrap_steps]
self.assertEqual(step_names_and_descriptions, [
(u'worker_preparation', u'worker ready'),
(u'set the bootstrap build number', u'Set'),
(u'check index.lock', u"'test ! ...'"),
(u'checkout git branch', u'update'),
Expand Down Expand Up @@ -110,6 +111,7 @@ def test_simple_build(self):
step_names_and_descriptions = [(step['name'], step['state_string'])
for step in steps]
self.assertEqual(step_names_and_descriptions, [
(u'worker_preparation', u'worker ready'),
(u'prevent unuseful restarts', u"'[ $(expr ...'"),
(u'set the artifacts private url',
u"property 'artifacts_private_url' set"),
Expand Down Expand Up @@ -139,6 +141,7 @@ def test_simple_build(self):
step_names_and_descriptions = [(step['name'], step['state_string'])
for step in bootstrap_steps]
self.assertEqual(step_names_and_descriptions, [
(u'worker_preparation', u'worker ready'),
(u'set the bootstrap build number', u'Set'),
(u'check index.lock', u"'test ! ...'"),
(u'checkout git branch', u'update'),
Expand Down Expand Up @@ -187,6 +190,7 @@ def test_simple_build(self):
step_names_and_descriptions = [(step['name'], step['state_string'])
for step in bootstrap_steps]
self.assertEqual(step_names_and_descriptions, [
(u'worker_preparation', u'worker ready'),
(u'set the bootstrap build number', u'Set'),
(u'check index.lock', u"'test ! ...'"),
(u'checkout git branch', u'update'),
Expand Down
5 changes: 5 additions & 0 deletions tests/system/junit/test_junit.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ def test_junit_step(self): # pylint: disable=too-many-statements
results = [(step.name, step.state_string, step.result)
for step in child_build.steps]
expected = [
(
u'worker_preparation',
u'worker ready',
'success'
),
(
u'prevent unuseful restarts',
u"'[ $(expr ...'",
Expand Down
7 changes: 5 additions & 2 deletions tests/system/test_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def test_simple_success(self):
step_names_and_descriptions = [(step['name'], step['state_string'])
for step in bootstrap_steps]
self.assertEqual(step_names_and_descriptions, [
(u'worker_preparation', u'worker ready'),
(u'set the bootstrap build number', u'Set'),
(u'check index.lock', u"'test ! ...'"),
(u'checkout git branch', u'update'),
Expand Down Expand Up @@ -106,6 +107,7 @@ def test_simple_success(self):
step_names_and_descriptions = [(step['name'], step['state_string'])
for step in premerge_steps]
self.assertEqual(step_names_and_descriptions, [
(u'worker_preparation', u'worker ready'),
(u'prevent unuseful restarts', u"'[ $(expr ...'"),
(u'set the artifacts private url',
u"property 'artifacts_private_url' set"),
Expand Down Expand Up @@ -196,6 +198,7 @@ def test_index_lock_failure(self):
step_names_and_descriptions = [(step['name'], step['state_string'])
for step in bootstrap_steps]
self.assertEqual(step_names_and_descriptions, [
(u'worker_preparation', u'worker ready'),
(u'set the bootstrap build number', u'Set'),
(u'check index.lock', u"'test ! ...' (failure)")])

Expand Down Expand Up @@ -332,7 +335,7 @@ def check_prop(name, value=None, source=None):
check_prop('artifacts_public_url')
check_prop('bootstrap', 1, 'set the bootstrap build number')
check_prop('branch', 'spam', 'Build')
check_prop('buildbot_version', '2.0.1')
check_prop('buildbot_version', '2.7.0')
check_prop('builddir')
check_prop('buildername', 'bootstrap', 'Builder')
check_prop('buildnumber', 1, 'Build')
Expand Down Expand Up @@ -363,7 +366,7 @@ def check_prop(name, value=None, source=None):
check_prop('bootstrap', 1, 'set the bootstrap build number')
check_prop('bootstrap_reason', 'branch updated', 'BuildOrder')
check_prop('branch', 'spam', 'Build')
check_prop('buildbot_version', '2.0.1')
check_prop('buildbot_version', '2.7.0')
check_prop('builddir')
check_prop('buildername', 'local-test_suffix', 'Builder')
check_prop('buildnumber', 1, 'Build')
Expand Down
1 change: 1 addition & 0 deletions tests/system/test_patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def test_patcher_branch_no_match(self):
step_names_and_descriptions = [(step['name'], step['state_string'])
for step in premerge_steps]
self.assertEqual(step_names_and_descriptions, [
(u'worker_preparation', u'worker ready'),
(u'prevent unuseful restarts', u"'[ $(expr ...'"),
(u'set the artifacts private url',
u"property 'artifacts_private_url' set"),
Expand Down
Loading

0 comments on commit d6cade4

Please sign in to comment.