Merge lp:~yolanda.robla/neutron/havana into lp:~openstack-ubuntu-testing/neutron/havana

Proposed by Yolanda Robla
Status: Merged
Merged at revision: 158
Proposed branch: lp:~yolanda.robla/neutron/havana
Merge into: lp:~openstack-ubuntu-testing/neutron/havana
Diff against target: 90 lines (+42/-1)
6 files modified
debian/changelog (+5/-1)
debian/control (+1/-0)
debian/tests/control (+4/-0)
debian/tests/python-quantum (+14/-0)
debian/tests/quantum-daemons (+14/-0)
debian/tests/test_import_quantum.py (+4/-0)
To merge this branch: bzr merge lp:~yolanda.robla/neutron/havana
Reviewer Review Type Date Requested Status
James Page Approve
Chuck Short (community) Needs Fixing
Review via email: mp+167230@code.launchpad.net

Description of the change

Added autopkgtests

To post a comment you must log in.
Revision history for this message
Chuck Short (zulcss) wrote :

needs to be UNRELEASED in the debian/changelog

review: Needs Fixing
lp:~yolanda.robla/neutron/havana updated
158. By Yolanda Robla

Modified to UNRELEASED

Revision history for this message
Yolanda Robla (yolanda.robla) wrote :

recheck

Revision history for this message
Chuck Short (zulcss) wrote :

merge conflict

review: Needs Fixing
lp:~yolanda.robla/neutron/havana updated
159. By Yolanda Robla

* debian/control:
  - Add version requirement to python-stevedore (>= 0.8), also add to
    python-quantum depends.
  - Add version requirement to python-fixtures (>= 0.3.12).

Revision history for this message
Chuck Short (zulcss) wrote :

Please collapse the changelog into the previous UNRELEASED branch

review: Needs Fixing
Revision history for this message
Chuck Short (zulcss) :
review: Needs Fixing
lp:~yolanda.robla/neutron/havana updated
160. By Yolanda Robla

[ Yolanda Robla ]
debian/tests: added autopkg tests

Revision history for this message
James Page (james-page) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-06-04 19:00:19 +0000
3+++ debian/changelog 2013-06-07 16:23:28 +0000
4@@ -1,12 +1,16 @@
5 quantum (1:2013.2~b1-0ubuntu1) UNRELEASED; urgency=low
6
7+ [ Adam Gandelman ]
8 * debian/control:
9 - Add version requirement to python-stevedore (>= 0.8), also add to
10 python-quantum depends.
11 - Add version requirement to python-fixtures (>= 0.3.12).
12 * debian/patches/*: Refreshed.
13
14- -- Adam Gandelman <adamg@ubuntu.com> Wed, 29 May 2013 11:54:06 -0700
15+ [ Yolanda Robla ]
16+ * debian/tests: added autopkg tests
17+
18+ -- Yolanda Robla <yolanda.robla@canonical.com> Tue, 04 Jun 2013 12:16:29 +0200
19
20 quantum (1:2013.2~b1-0ubuntu1) saucy; urgency=low
21
22
23=== modified file 'debian/control'
24--- debian/control 2013-06-04 19:00:19 +0000
25+++ debian/control 2013-06-07 16:23:28 +0000
26@@ -45,6 +45,7 @@
27 testrepository ( >= 0.0.8)
28 XS-Python-Version: >= 2.6
29 Standards-Version: 3.9.4
30+XS-Testsuite: autopkgtest
31
32 Package: quantum-server
33 Architecture: all
34
35=== added directory 'debian/tests'
36=== added file 'debian/tests/control'
37--- debian/tests/control 1970-01-01 00:00:00 +0000
38+++ debian/tests/control 2013-06-07 16:23:28 +0000
39@@ -0,0 +1,4 @@
40+Tests: quantum-daemons python-quantum
41+Depends: quantum-server, quantum-l3-agent, quantum-dhcp-agent, quantum-metadata-agent,
42+ quantum-lbaas-agent, python-quantum
43+Restrictions: needs-root
44
45=== added file 'debian/tests/python-quantum'
46--- debian/tests/python-quantum 1970-01-01 00:00:00 +0000
47+++ debian/tests/python-quantum 2013-06-07 16:23:28 +0000
48@@ -0,0 +1,14 @@
49+#!/bin/bash
50+#-------------------------
51+# Testing client utilities
52+#-------------------------
53+set -e
54+
55+result=$(python `dirname $0`/test_import_quantum.py 2>&1)
56+if [ "$result" ]; then
57+ echo "ERROR: PYTHON-QUANTUM MODULE CANNOT BE IMPORTED"
58+ exit 1
59+else
60+ echo "OK"
61+ exit 0
62+fi
63
64=== added file 'debian/tests/quantum-daemons'
65--- debian/tests/quantum-daemons 1970-01-01 00:00:00 +0000
66+++ debian/tests/quantum-daemons 2013-06-07 16:23:28 +0000
67@@ -0,0 +1,14 @@
68+#!/bin/bash
69+#-----------------------
70+# Testing quantum-daemon
71+#-----------------------
72+set -e
73+DAEMONS=('quantum-server' 'quantum-l3-agent' 'quantum-dhcp-agent' 'quantum-metadata-agent' 'quantum-lbaas-agent')
74+for daemon in "${DAEMONS[@]}"; do
75+ if pidof -x $daemon > /dev/null; then
76+ echo "OK"
77+ else
78+ echo "ERROR: ${daemon} IS NOT RUNNING"
79+ exit 1
80+ fi
81+done
82
83=== added file 'debian/tests/test_import_quantum.py'
84--- debian/tests/test_import_quantum.py 1970-01-01 00:00:00 +0000
85+++ debian/tests/test_import_quantum.py 2013-06-07 16:23:28 +0000
86@@ -0,0 +1,4 @@
87+try:
88+ import quantum
89+except ImportError, e:
90+ print "ERROR IMPORTING MODULE"

Subscribers

People subscribed via source and target branches