Merge lp:~vila/ubuntu-ci-services-itself/doc-fixes into lp:ubuntu-ci-services-itself

Proposed by Vincent Ladeuil
Status: Merged
Approved by: Chris Johnston
Approved revision: 259
Merged at revision: 256
Proposed branch: lp:~vila/ubuntu-ci-services-itself/doc-fixes
Merge into: lp:ubuntu-ci-services-itself
Diff against target: 66 lines (+14/-6)
3 files modified
cli/README (+5/-4)
test_runner/tstrun/testbed.py (+6/-1)
tests/run.py (+3/-1)
To merge this branch: bzr merge lp:~vila/ubuntu-ci-services-itself/doc-fixes
Reviewer Review Type Date Requested Status
Chris Johnston (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+207483@code.launchpad.net

Commit message

Minor doc fixes.

Description of the change

Here are a few uncommited changes I was accrying on my trunk from some minor
issues I encountered and are not worth fixing yet. I still prefer to have
these recorded in shared place in case others ran into similar issues.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:257
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/196/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/196/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Chris Johnston (cjohnston) wrote :

On Thu, Feb 20, 2014 at 11:14 AM, Vincent Ladeuil <email address hidden>wrote:

> -To use this app, you will need to create the files
> -~/.ubuntu-ci/auth_config.yaml and ~/.ubuntu-ci/config.yaml.
> +To use this app, you will need to create the files ~/.ubuntu-ci
> +(./cli/ubuntu-ci-autoconfig can help). It needs to include:
>

s/files/file please as it is now only one file. Good catch on the update

258. By Vincent Ladeuil

Thanks for catch Andy !

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:258
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/197/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/197/rebuild

review: Needs Fixing (continuous-integration)
259. By Vincent Ladeuil

Tsk, tsk, typo. Thanks Chris ;)

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:259
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/198/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/198/rebuild

review: Approve (continuous-integration)
Revision history for this message
Chris Johnston (cjohnston) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'cli/README'
2--- cli/README 2014-01-10 15:35:32 +0000
3+++ cli/README 2014-02-20 17:08:27 +0000
4@@ -1,11 +1,12 @@
5-To use this app, you will need to create the files
6-~/.ubuntu-ci/auth_config.yaml and ~/.ubuntu-ci/config.yaml.
7+To use this app, you will need to create the file ~/.ubuntu-ci
8+(./cli/ubuntu-ci-autoconfig can help). It needs to include:
9
10-auth_config.yaml needs to include:
11+from your cloud credentials:
12 - 'auth_url'
13 - 'auth_user'
14 - 'auth_password'
15 - 'auth_tenant_name'
16+- 'auth_region_name'
17
18-config.yaml needs to include:
19+from your juju deployment:
20 - 'ci_url'
21
22=== modified file 'test_runner/tstrun/testbed.py'
23--- test_runner/tstrun/testbed.py 2014-02-17 17:54:55 +0000
24+++ test_runner/tstrun/testbed.py 2014-02-20 17:08:27 +0000
25@@ -209,6 +209,11 @@
26 # but there should be only one IP address defined so we just
27 # get the first one and avoid the need for a config option for
28 # the network name.
29+
30+ # FIXME: ev encountered a case where the instance is in an
31+ # error state and has no networks leading to a KeyError
32+ # exception. It should be handled in its own branch based on
33+ # 'status == "ERROR"'. -- vila 2014-02-18
34 self.ip = networks[0][0]
35 log.info('Got IP {} for {}'.format(self.ip, self.instance.id))
36 # FIXME: Right place to report how long it took to spin up the
37@@ -298,7 +303,7 @@
38 # precise_image = ('ubuntu-released/ubuntu-precise-12.04'
39 # '-amd64-server-20131205-disk1.img')
40 saucy_image = ('ubuntu-released/ubuntu-saucy-13.10'
41- '-amd64-server-20140129-disk1.img')
42+ '-amd64-server-20140212-disk1.img')
43 test_bed = TestBed('vila1', 'm1.small', saucy_image,
44 lambda x: None)
45 test_bed.setup()
46
47=== modified file 'tests/run.py'
48--- tests/run.py 2014-02-17 10:13:29 +0000
49+++ tests/run.py 2014-02-20 17:08:27 +0000
50@@ -94,7 +94,7 @@
51
52
53 def destroy_services():
54- """This is a quick way of desroying the services without having to
55+ """This is a quick way of destroying the services without having to
56 re-bootstrap for the next test. We would just use juju-deployer -T here,
57 but https://bugs.launchpad.net/juju-deployer/+bug/1269783 prevents that for
58 now."""
59@@ -389,6 +389,8 @@
60 try:
61 subprocess.check_output(args)
62 except subprocess.CalledProcessError as e:
63+ # FIXME: if check_output raise an exception, we don't get a proper
64+ # output to check for the text below -- vila 2014-02-07
65 if 'environment is already bootstrapped' not in e.output:
66 raise
67

Subscribers

People subscribed via source and target branches