Merge ~sylvain-pineau/checkbox-provider-edgex:hanoi_launcher into ~checkbox-dev/checkbox-provider-edgex:master

Proposed by Sylvain Pineau
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 0c0716d329cf445b70a0c57b5fcbe9fd3783a64c
Merged at revision: cccdf366382d39fdabc5a432d4271072f6dc23f3
Proposed branch: ~sylvain-pineau/checkbox-provider-edgex:hanoi_launcher
Merge into: ~checkbox-dev/checkbox-provider-edgex:master
Diff against target: 127 lines (+91/-0)
5 files modified
dev/null (+0/-0)
launchers/hanoi (+19/-0)
snap/snapcraft.yaml (+3/-0)
units/hanoi.pxu (+62/-0)
units/test-plan.pxu (+7/-0)
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Tony Espy Pending
Review via email: mp+389954@code.launchpad.net

Description of the change

New Hanoi launcher

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Note: test-device-virtual.sh was not used in Geneva. Since Hanoi test plan is a copy of it, still unused. Should we remove it?

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

self-approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/data/hanoi/placeholder.txt b/data/hanoi/placeholder.txt
2deleted file mode 100644
3index e69de29..0000000
4--- a/data/hanoi/placeholder.txt
5+++ /dev/null
6diff --git a/launchers/hanoi b/launchers/hanoi
7new file mode 100755
8index 0000000..0162b35
9--- /dev/null
10+++ b/launchers/hanoi
11@@ -0,0 +1,19 @@
12+#!/usr/bin/env checkbox-cli-wrapper
13+[launcher]
14+app_id = com.canonical.certification:checkbox-edgexfoundry
15+api_flags = restartable
16+launcher_version = 1
17+stock_reports = text, submission_files
18+
19+[test plan]
20+unit = com.canonical.certification::edgex-hanoi-tp
21+forced = yes
22+
23+[test selection]
24+forced = yes
25+
26+[ui]
27+type = silent
28+auto_retry = yes
29+max_attempts = 4
30+delay_before_retry = 30
31diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
32index d88315b..992a773 100644
33--- a/snap/snapcraft.yaml
34+++ b/snap/snapcraft.yaml
35@@ -22,6 +22,9 @@ apps:
36 geneva:
37 command: bin/geneva
38 plugs: *standard
39+ hanoi:
40+ command: bin/hanoi
41+ plugs: *standard
42 test-runner:
43 command: bin/test-runner
44 plugs: *standard
45diff --git a/units/hanoi.pxu b/units/hanoi.pxu
46new file mode 100644
47index 0000000..e944b82
48--- /dev/null
49+++ b/units/hanoi.pxu
50@@ -0,0 +1,62 @@
51+id: edgex/hanoi/install
52+_summary: Test installation of EdgeX snap
53+command: $PLAINBOX_PROVIDER_DATA/hanoi/test-install.sh
54+user: root
55+category_id: edgex
56+flags: simple
57+
58+id: edgex/hanoi/security-services-proxy-certs
59+_summary: Test security services proxy certs work properly
60+command: $PLAINBOX_PROVIDER_DATA/hanoi/test-security-services-proxy-certs.sh
61+user: root
62+category_id: edgex
63+flags: simple
64+
65+id: edgex/hanoi/services-alive
66+_summary: Test that all services can be started properly
67+command: $PLAINBOX_PROVIDER_DATA/hanoi/test-services-alive.sh
68+user: root
69+category_id: edgex
70+flags: simple
71+
72+id: edgex/hanoi/install-config-paths
73+_summary: Test that installing uses "current" based filepaths in config files
74+command: $PLAINBOX_PROVIDER_DATA/hanoi/test-install-config-paths.sh
75+user: root
76+category_id: edgex
77+flags: simple
78+
79+id: edgex/hanoi/refresh-config-paths
80+_summary: Test that refreshing uses "current" based filepaths in config files
81+command: $PLAINBOX_PROVIDER_DATA/hanoi/test-refresh-config-paths.sh
82+user: root
83+category_id: edgex
84+flags: simple
85+
86+id: edgex/hanoi/refresh-services
87+_summary: Test that services start after refreshing
88+command: $PLAINBOX_PROVIDER_DATA/hanoi/test-refresh-services.sh
89+user: root
90+category_id: edgex
91+flags: simple
92+
93+id: edgex/hanoi/self-refresh-services
94+_summary: Test that services start after refreshing to this revision from self
95+command: $PLAINBOX_PROVIDER_DATA/hanoi/test-self-refresh-services.sh
96+user: root
97+category_id: edgex
98+flags: simple
99+
100+id: edgex/hanoi/sys-mgmt-agent
101+_summary: Test that the system management agent works with the snap
102+command: $PLAINBOX_PROVIDER_DATA/hanoi/test-sys-mgmt-agent.sh
103+user: root
104+category_id: edgex
105+flags: simple
106+
107+id: edgex/hanoi/network-interfaces
108+_summary: Test that services are not listening on external network interfaces
109+command: $PLAINBOX_PROVIDER_DATA/hanoi/test-network-interfaces.sh
110+user: root
111+category_id: edgex
112+flags: simple
113diff --git a/units/test-plan.pxu b/units/test-plan.pxu
114index d9524a3..34532ee 100644
115--- a/units/test-plan.pxu
116+++ b/units/test-plan.pxu
117@@ -11,3 +11,10 @@ _name: EdgeX Geneva
118 _description: EdgeX Geneva tests
119 include:
120 edgex/geneva/.*
121+
122+id: edgex-hanoi-tp
123+unit: test plan
124+_name: EdgeX Hanoi
125+_description: EdgeX Hanoi tests
126+include:
127+ edgex/hanoi/.*

Subscribers

People subscribed via source and target branches