[krillin] NetworkTime is available when no SIMs are inserted and modems online

Bug #1399746 reported by Tony Espy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ofono (Ubuntu)
Confirmed
Medium
Unassigned
ofono (Ubuntu RTM)
Confirmed
Medium
Unassigned

Bug Description

Device: krillin with no SIMs inserted
Channel, Image: ubuntu-rtm/14.09-proposed, #169

While working on test scripts for the SIM sub-section of the ofono test plan I had to quirk the verification of the modem's 'Interfaces' property, which indicates which ofono interfaces are available at any given moment.

On krillin, "org.ofono.NetworkTime" is available even when there are no SIMs present. As a phone in this state can only be used for emergency calls and the phone will not auto-register to a network, it shouldn't be possible for NITZ messages to be received. For this reason, "NetworkTime" shouldn't be available if no SIMs are present.

The test cases in question are the first four in the SIM sub-section of the test plan:

https://wiki.ubuntu.com/Process/Merges/TestPlans/ofono/SIM

The tests themselves can be found in the following pull request. The code in question is in the simtestutil.py module, in the function validate_modem_properties():

https://github.com/rilmodem/ofono/pull/136

Tony Espy (awe)
Changed in ofono (Ubuntu):
importance: Undecided → Medium
Tony Espy (awe)
description: updated
Tony Espy (awe)
Changed in ofono (Ubuntu):
status: New → Confirmed
Revision history for this message
Tony Espy (awe) wrote :

Re-confirmed on RTM/stable/#19.

Changed in ofono (Ubuntu RTM):
status: New → Confirmed
importance: Undecided → Medium
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.