account-polld

Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2014-05-13 17:29:40
Size: 1565
Editor: sergiusens
Comment:
Revision 6 as of 2014-07-17 21:35:38
Size: 2873
Editor: sergiusens
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Process/Merges/TestPlan/nuntium
Line 13: Line 14:
 * ofono
 * ubuntu-upload-manager
 * ubuntu-download-manager
Line 20: Line 24:
 * SUT:: System Under Test
 * m-send.req:: An MMS originating from a terminal (sent over the cellular data network)
 * m-retrieve.conf:: An MMS downloaded from a message proxy (retrieved over the cellular data network)
 * m-notification.ind:: A push message sent from ofono to nuntium
 SUT:: System Under Test
 m-send.req:: An MMS originating from a terminal (sent over the cellular data network)
 m-retrieve.conf:: An MMS downloaded from a message proxy (retrieved over the cellular data network)
 m-notification.ind:: A push message sent from ofono to nuntium
Line 33: Line 37:
 * Install image on phone: {{{ubuntu-device-flash --channel ubuntu-touch/devel-proposed}}}
 * Activate silo and only install nuntium (no dist-upgrade)
 * Send a {{{m-send.req}}} from test phone to '''SUT'''
 * On the '''SUT''', verify that an {{{m-retrieve.conf}}} is correctly parsed and that a {{{MessageAdded}}} is signalled over dbus to telepathy-ofono: {{{dbus-monitor sender=org.ofono.mms}}}
 * Install image on '''SUT''': {{{ubuntu-device-flash --channel ubuntu-touch/devel-proposed}}}
 * Run {{{citrain device-upgrade [silo]}}}

==== Receiving ====

 * Send a {{{m-send.req}}} from an additional phone to the '''SUT'''
 * On the '''SUT''', verify that an {{{m-retrieve.conf}}} is correctly parsed and that a {{{MessageAdded}}} is signalled over dbus to {{{telepathy-ofono}}}: {{{dbus-monitor sender=org.ofono.mms}}}

==== Sending ====

 * Send a {{{m-send.req}}} from '''SUT''' to a target phone.
 * On the '''SUT''', verify that no {{{TransientError}}} or {{{PermanentError}}} is signalled over dbus to {{{telepathy-ofono}}}: {{{dbus-monitor sender=org.ofono.mms}}}

=== Additional information ===

Upon running tests it is of good information to provide the wire capture, to do so first you need to verify the interface the MMS would be sent through; you can accomplish that by running:

{{{
phablet-shell
/usr/share/ofono/scrips/list-contexts
}}}

Locate a {{{type=mms}}} context; it exists; activate the context and take note of the interface. If there is no {{{type=mms}}} context available; what is most likely to be correct, given proper provisioning, is that the MMS would be sent thorough the {{{type=internet}}} context which by default should be activated (provided that it wasn't disabled manually either through a UI or call to ofono).

The interface has the form of {{{rmnet_usb[X]}}}, where {{{X}}} corresponds to the one associated to the MMS context, so to get the capture, run:
{{{
phablet-shell
sudo tcpdump -w mms.pcap -i rmnet_usbX
}}}

Dependents/Clients

  • telepathy-ofono
  • ofono
  • ubuntu-upload-manager
  • ubuntu-download-manager

Test Plan

These are only integration tests which require too much specialized infrastructure to automate (although they should eventually be worked through the ubuntu emulator).

Definitions

SUT
System Under Test
m-send.req
An MMS originating from a terminal (sent over the cellular data network)
m-retrieve.conf
An MMS downloaded from a message proxy (retrieved over the cellular data network)
m-notification.ind
A push message sent from ofono to nuntium

Prereqs

  • Two devices, one to be the SUT, others to be the originating terminals (Android, iOS)
  • A correct MMS context configured by ofono on the SUT.
  • SIMs on all terminals with a working cellular data connection.

Plan

  • Install image on SUT: ubuntu-device-flash --channel ubuntu-touch/devel-proposed

  • Run citrain device-upgrade [silo]

Receiving

  • Send a m-send.req from an additional phone to the SUT

  • On the SUT, verify that an m-retrieve.conf is correctly parsed and that a MessageAdded is signalled over dbus to telepathy-ofono: dbus-monitor sender=org.ofono.mms

Sending

  • Send a m-send.req from SUT to a target phone.

  • On the SUT, verify that no TransientError or PermanentError is signalled over dbus to telepathy-ofono: dbus-monitor sender=org.ofono.mms

Additional information

Upon running tests it is of good information to provide the wire capture, to do so first you need to verify the interface the MMS would be sent through; you can accomplish that by running:

phablet-shell
/usr/share/ofono/scrips/list-contexts

Locate a type=mms context; it exists; activate the context and take note of the interface. If there is no type=mms context available; what is most likely to be correct, given proper provisioning, is that the MMS would be sent thorough the type=internet context which by default should be activated (provided that it wasn't disabled manually either through a UI or call to ofono).

The interface has the form of rmnet_usb[X], where X corresponds to the one associated to the MMS context, so to get the capture, run:

phablet-shell
sudo tcpdump -w mms.pcap -i rmnet_usbX

Process/Merges/TestPlans/account-polld (last edited 2016-04-27 12:58:09 by localhost)