← Back to team overview

canonical-hw-cert team mailing list archive

[Merge] ~jocave/hwcert-jenkins-jobs:tillamook-wlan0-managed into hwcert-jenkins-jobs:master

 

Jonathan Cave has proposed merging ~jocave/hwcert-jenkins-jobs:tillamook-wlan0-managed into hwcert-jenkins-jobs:master.

Requested reviews:
  hwcert-jenkins (hwcert-jenkins)

For more details, see:
https://code.launchpad.net/~jocave/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/428262

NetworkManager seems to keep falling back to a state where it does not manage the wlan0 device. This causes all the wlan tests to be skipped during a testing session. I think this may be because the device also has wifi-ap installed and we run tests against this each session. This uses hostapd under the hood so I believe ownership of the interface is likely removed from NetworkManager. 


Exmaple run with modification:

http://10.102.156.15:8080/job/cert-tillamook-core-beta/71/
-- 
Your team hwcert-jenkins is requested to review the proposed merge of ~jocave/hwcert-jenkins-jobs:tillamook-wlan0-managed into hwcert-jenkins-jobs:master.
diff --git a/jobs/snap-testing/projects/tillamook.yaml b/jobs/snap-testing/projects/tillamook.yaml
index a42d843..a9e6d4b 100644
--- a/jobs/snap-testing/projects/tillamook.yaml
+++ b/jobs/snap-testing/projects/tillamook.yaml
@@ -23,6 +23,8 @@
       !include-raw-escape: jobs/snap-testing/configs/checkbox.conf.tillamook
     manifest:
       !include-raw-escape: jobs/snap-testing/manifests/tillamook_manifest.conf
+    post_setup_cmds: |
+      _run sudo nmcli dev set wlan0 managed yes
     jobs:
       - '{prefix}-{name}-{snap}-{channel}':
           snap: cascade

Follow ups