Mobile broadband tests should disconnect themselves after finished

Bug #1204799 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
High
Po-Hsu Lin

Bug Description

Currently, the mobile broadband connection will stay connected after the mobile broadband tests finished.

I suggest maybe we should disconnect it when the job is done to avoid unexpected expenses.

Tags: scripts

Related branches

Po-Hsu Lin (cypressyew)
Changed in checkbox:
assignee: nobody → Po-Hsu Lin (cypressyew)
Daniel Manrique (roadmr)
Changed in checkbox:
importance: Undecided → High
tags: added: scripts
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

It's odd that that happens since the job command contains the following statement:

nmcli con delete id $GSM_CONN_NAME

Which should delete the connection from network-manager

Changed in checkbox:
assignee: Po-Hsu Lin (cypressyew) → nobody
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

yes, but currently, the $GSM_CONN_NAME is set to ""

furthermore, it seems that the trap command cannot catch the exit signal

Daniel Manrique (roadmr)
Changed in checkbox:
status: New → In Progress
assignee: nobody → Po-Hsu Lin (cypressyew)
Daniel Manrique (roadmr)
Changed in checkbox:
status: In Progress → Fix Committed
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.