Merge lp:~maxiberta/ols-jenkaas/drop-personal-ppa into lp:~ols-jenkaas-admins/ols-jenkaas/trunk

Proposed by Maximiliano Bertacchini
Status: Merged
Approved by: Daniel Manrique
Approved revision: 615
Merged at revision: 618
Proposed branch: lp:~maxiberta/ols-jenkaas/drop-personal-ppa
Merge into: lp:~ols-jenkaas-admins/ols-jenkaas/trunk
Diff against target: 58 lines (+8/-9)
4 files modified
ols-vms.conf (+1/-3)
setup/seed-slave (+4/-3)
testing/new-launchpad-oauth-token (+2/-2)
testing/setup-jenkaas (+1/-1)
To merge this branch: bzr merge lp:~maxiberta/ols-jenkaas/drop-personal-ppa
Reviewer Review Type Date Requested Status
Daniel Manrique (community) Approve
Review via email: mp+358573@code.launchpad.net

Commit message

Replace ppa:vila/ppa by ppa:ubuntuone/ols-tests.

Additionally:
- Increase verbosity of ./testing/setup-jenkaas.
- Print LP token confirmation URL in ./testing/new-launchpad-oauth-token.

Description of the change

All needed packages are now in ppa:ubuntuone/ols-tests and I believe no extra porting is needed.

The old ppa contains forks with greater version numbers, in particular:

  $ sudo add-apt-repository ppa:vila/ppa
  $ sudo apt update && apt list --upgradable
  python-ols-config/xenial 1.0.2-0~95~ubuntu16.04.1 all [upgradable from: 1.0.2-0~93~ubuntu16.04.1]
  python-ols-tests/xenial 1.0.3-0~228~ubuntu16.04.1 all [upgradable from: 1.0.0-0~212~ubuntu16.04.1]
  python-ols-vms/xenial 1.3.1-0~324~ubuntu16.04.1 all [upgradable from: 1.2.5-0~303~ubuntu16.04.1]
  python3-ols-config/xenial 1.0.2-0~95~ubuntu16.04.1 all [upgradable from: 1.0.2-0~93~ubuntu16.04.1]
  python3-ols-vms/xenial 1.3.1-0~324~ubuntu16.04.1 all [upgradable from: 1.2.5-0~303~ubuntu16.04.1]

OLS-CONFIG: no changes.
  https://bazaar.launchpad.net/~vila/ols-config/trunk/view/head:/NEWS.rst
  https://bazaar.launchpad.net/~ubuntuone-hackers/ols-config/trunk/view/head:/NEWS.rst

OLS-TESTS: vila's fork contains a small fix for tests on py36.
  https://bazaar.launchpad.net/~vila/ols-tests/trunk/view/head:/NEWS.rst
  https://bazaar.launchpad.net/~ubuntuone-hackers/ols-tests/trunk/view/head:/NEWS.rst

OLS-VMS: vila's fork contains a number of fixes and improvements but nothing relevant to us afaict, but *lacks* a critical fix for lxd 3.0 present in the ~ubuntuone-hackers version.
  https://bazaar.launchpad.net/~vila/ols-vms/trunk/view/head:/NEWS.rst
  https://bazaar.launchpad.net/~ubuntuone-hackers/ols-vms/trunk/view/head:/NEWS.rst

Additionally, printing the LP URL is useful when running the script in an container with no graphics or browser.

To post a comment you must log in.
Revision history for this message
Daniel Manrique (roadmr) wrote :

🔥 all personal PPAs.

We may want ols-tests' py36 fix, and we could potentially merge vila's ols-vms branch into ours with the lxd 3.0 fix and rebuild from that, but that can be done later once we've switched to the team PPA.

review: Approve
Revision history for this message
Daniel Manrique (roadmr) wrote :

I also think we'll need to remove all lxd containers on slaves so they're recreated without the evil PPA.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ols-vms.conf'
2--- ols-vms.conf 2018-02-06 16:21:06 +0000
3+++ ols-vms.conf 2018-11-09 20:03:31 +0000
4@@ -119,9 +119,7 @@
5 # Allow nesting so test containers can be created (second level allows a
6 # container to run ols-jenkaas self tests)
7 lxd.nesting = 2
8-# FIXME: Remove vila/ppa once the jenkins-slave package is available from
9-# somewhere else (including a snap) -- vila 2016-06-20
10-apt.sources = ppa:vila/ppa
11+apt.sources = ppa:ubuntuone/ols-tests
12
13 # One real slave to test with
14
15
16=== modified file 'setup/seed-slave'
17--- setup/seed-slave 2018-01-12 22:27:10 +0000
18+++ setup/seed-slave 2018-11-09 20:03:31 +0000
19@@ -2,10 +2,11 @@
20
21 # Install the required dependencies
22
23-sudo add-apt-repository -y ppa:ubuntuone/ols-tests
24-# Note this PPA was deprecated, so we need to remove it explicitly
25-# otherwise it'll remain forever on slaves which have it configured.
26+# Note these PPAs were deprecated, so we need to remove them explicitly
27+# otherwise they'll remain forever on slaves which have it configured.
28 sudo rm -vf /etc/apt/sources.list.d/*lxd-stable*.list
29+sudo rm -vf /etc/apt/sources.list.d/vila-*.list
30+
31 sudo add-apt-repository -y ppa:mojo-maintainers
32 sudo apt-get update
33
34
35=== modified file 'testing/new-launchpad-oauth-token'
36--- testing/new-launchpad-oauth-token 2016-11-25 14:53:12 +0000
37+++ testing/new-launchpad-oauth-token 2018-11-09 20:03:31 +0000
38@@ -36,8 +36,8 @@
39 url = creds.get_request_token(web_root=ns.launchpad)
40
41 subprocess.call(['xdg-open', url])
42- sys.stderr.write("Authenticate from your browser (just opened),"
43- " choose 'Change anything'\nthen press enter\n")
44+ sys.stderr.write("Authenticate from your browser (" + url + "), \n"
45+ "choose 'Change anything' then press ENTER\n")
46 sys.stdin.readline()
47 try:
48 creds.exchange_request_token_for_access_token(web_root=ns.launchpad)
49
50=== modified file 'testing/setup-jenkaas'
51--- testing/setup-jenkaas 2017-09-11 13:05:26 +0000
52+++ testing/setup-jenkaas 2018-11-09 20:03:31 +0000
53@@ -1,4 +1,4 @@
54-#!/bin/sh -e
55+#!/bin/sh -ex
56
57 # Setup a local jenkaas for testing purposes. This includes a master and a
58 # single slave

Subscribers

People subscribed via source and target branches