Merge ~alfonsosanchezbeato/snappy-hwe-snaps/+git/network-manager:fix-tests into ~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager:master
- Git
- lp:~alfonsosanchezbeato/snappy-hwe-snaps/+git/network-manager
- fix-tests
- Merge into master
Status: | Merged |
---|---|
Approved by: | Simon Fels |
Approved revision: | f4a05c251884b8199a34048a095138886c600726 |
Merged at revision: | 05f56594a2200e69cd17144a3cb98dd3ea606388 |
Proposed branch: | ~alfonsosanchezbeato/snappy-hwe-snaps/+git/network-manager:fix-tests |
Merge into: | ~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager:master |
Diff against target: |
65 lines (+15/-10) 3 files modified
.gitignore (+4/-0) snapcraft.yaml (+7/-6) tests/main/wifi-connect-secured-ap/task.yaml (+4/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Simon Fels | Approve | ||
System Enablement Bot | continuous-integration | Approve | |
Review via email: mp+319062@code.launchpad.net |
Commit message
Run NM unit tests
Description of the change
Run NM unit tests
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:65ae571269f
https:/
Executed test runs:
FAILURE: https:/
None: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:65ae571269f
https:/
Executed test runs:
FAILURE: https:/
None: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:4ee83393b81
https:/
Executed test runs:
SUCCESS: https:/
None: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:4ee83393b81
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
Simon Fels (morphis) : | # |
Alfonso Sanchez-Beato (alfonsosanchezbeato) : | # |
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:4ee83393b81
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:4ee83393b81
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:7b9f5c983ec
https:/
Executed test runs:
SUCCESS: https:/
None: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:7b9f5c983ec
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:6ee93ce3da8
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:1b6d498c388
https:/
Executed test runs:
SUCCESS: https:/
None: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:6ee93ce3da8
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:6ee93ce3da8
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild:
https:/
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:6ee93ce3da8
https:/
Executed test runs:
SUCCESS: https:/
None: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
Matteo Croce (teknoraver) : | # |
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote : | # |
@matteo, nice catch, fixed now
System Enablement Bot (system-enablement-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:f4a05c25188
https:/
Executed test runs:
SUCCESS: https:/
None: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
Preview Diff
1 | diff --git a/.gitignore b/.gitignore |
2 | index 082484d..3568cd0 100644 |
3 | --- a/.gitignore |
4 | +++ b/.gitignore |
5 | @@ -1 +1,5 @@ |
6 | +/parts/ |
7 | +/stage/ |
8 | +/prime/ |
9 | +network-manager_*.snap |
10 | .tests-extras |
11 | diff --git a/snapcraft.yaml b/snapcraft.yaml |
12 | index b809f7b..3498a9b 100644 |
13 | --- a/snapcraft.yaml |
14 | +++ b/snapcraft.yaml |
15 | @@ -1,5 +1,5 @@ |
16 | name: network-manager |
17 | -version: 1.2.2-11 |
18 | +version: 1.2.2-11-dev |
19 | summary: Network management framework |
20 | description: | |
21 | NetworkManager is a system network service that manages your network |
22 | @@ -74,11 +74,7 @@ parts: |
23 | |
24 | source: https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager |
25 | source-type: git |
26 | - # For development you can directly build from the xenial branch if |
27 | - # needed. Otherwise use the tag to the latest version which will be |
28 | - # used by the published snap. |
29 | - # source-branch: network-manager/xenial/1.2.2 |
30 | - source-tag: network-manager-xenial-1.2.2-2 |
31 | + source-branch: network-manager/xenial/1.2.2 |
32 | |
33 | build-packages: |
34 | - intltool |
35 | @@ -162,6 +158,11 @@ parts: |
36 | - --with-libsoup=no |
37 | # We want to support ModemManager |
38 | - --with-modem-manager-1=yes |
39 | + - --enable-tests=yes |
40 | + |
41 | + install: | |
42 | + # Run all tests NetworkManager ships by default |
43 | + make check |
44 | |
45 | # Filter files pulled in by stage-packages so they aren't |
46 | # included in the final snap. We only need them to build |
47 | diff --git a/tests/main/wifi-connect-secured-ap/task.yaml b/tests/main/wifi-connect-secured-ap/task.yaml |
48 | index aa6a70c..4db7449 100644 |
49 | --- a/tests/main/wifi-connect-secured-ap/task.yaml |
50 | +++ b/tests/main/wifi-connect-secured-ap/task.yaml |
51 | @@ -19,10 +19,10 @@ execute: | |
52 | sleep 0.5 |
53 | |
54 | # Setup the AP on wlan0 |
55 | - /snap/bin/wifi-ap.config set wifi.interface wlan0 |
56 | - /snap/bin/wifi-ap.config set wifi.ssid $WIFI_SSID |
57 | - /snap/bin/wifi-ap.config set wifi.security wpa2 |
58 | - /snap/bin/wifi-ap.config set wifi.security-passphrase $WIFI_PASSPHRASE |
59 | + /snap/bin/wifi-ap.config set wifi.interface=wlan0 |
60 | + /snap/bin/wifi-ap.config set wifi.ssid=$WIFI_SSID |
61 | + /snap/bin/wifi-ap.config set wifi.security=wpa2 |
62 | + /snap/bin/wifi-ap.config set wifi.security-passphrase=$WIFI_PASSPHRASE |
63 | |
64 | # AP needs a bit to appear and be visible for NetworkManager |
65 | /snap/bin/network-manager.nmcli d wifi rescan |
FAILED: Continuous integration, rev:03d43a2f919 dc6c1afd3d8dd47 0b4756c22e4c36 /jenkins. canonical. com/system- enablement/ job/generic- build-snap/ 1183/ /jenkins. canonical. com/system- enablement/ job/generic- build-snap- worker/ 231/console /jenkins. canonical. com/system- enablement/ job/generic- update- snap-mp/ 1090/console
https:/
Executed test runs:
FAILURE: https:/
None: https:/
Click here to trigger a rebuild: /jenkins. canonical. com/system- enablement/ job/generic- build-snap/ 1183/rebuild
https:/