Bug 4237

Summary: [crownbay] offline mode does not work using connman-properties
Product: [Build System, Metadata & Runtime] BSPs Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: bsps-meta-intelAssignee: Cristian Iorga <cristian.iorga>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: codrin.c.pruteanu, corneliux.stoicescu, dvhart, sauravkg, sgw, tom.zanussi
Version: 1.4   
Target Milestone: 1.5 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
by default network symbol is DISABLE none

Description Alexandru Georgescu 2013-04-10 08:08:21 UTC
meta-intel 3de2325133eb581c5c8d66133821ea5a801cf8ae
http://autobuilder03.jf.intel.com/pub/nightly-meta-intel/20130403-2/machines/crownbay-noemgd/core-image-sato-sdk-crownbay-noemgd.hddimg


STEPS TO REPRODUCE:
1. Install cronwnbay-noemgd image on a crownbay BSP
2. Boot 
3. Open connman from Matchbox and set up manual ip
4. Check if network works (ping, ssh, etc)
5. In System Configuration (form connman-properties) press Offline Mode
6. Repeat step 4.

EXPECTED RESULTS
6. Network connection stops when the button is pressed (to Offline)

ACTUAL RESULTS
6. Network is still working. Nothing happenes.
Comment 1 Stoicescu Cornel 2013-04-18 13:33:13 UTC
Issue present in sugarbay in the following conditions:

1) install and boot sugarbay image
2) set static IP in connman-properties 
3) set to Offline Mode
4) reboot
5) set Online Mode in connman-properties

Notice you can no longer set Offline Mode in connman-properties

dylan:87eb70243749e0e2431f98770746fa42002f4441
meta-intel:76f70c337e5daa9593153dfdf5107aec08610a44
Comment 2 Stoicescu Cornel 2013-04-18 13:34:42 UTC
Issue is not present in core-image-sato-qemux86-64.

dylan:87eb70243749e0e2431f98770746fa42002f4441
Comment 3 Saurav Kumar Gupta 2013-04-19 12:28:44 UTC
Created attachment 1192 [details]
by default network symbol is DISABLE
Comment 4 Saurav Kumar Gupta 2013-04-19 12:30:01 UTC
I observed that the same issue is present in core-image-sato-qemux86-64.

dylan:789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4
Comment 5 Saurav Kumar Gupta 2013-04-19 14:02:27 UTC
These issues (both "offline mode issue" and "network icon disable by default") are happening if qemux86-64 is brought up using core-image-sato-sdk-qemux86-64.tar.bz2 using following steps
1. runqemu-extract-sdk <core-image-sato-arch.rootfs.tar.bz2> rootfs
2. runqemu nfs <kernel> rootfs

Same are working fine if qemux86-64 is brought up using 
1. runqemu <kernel> <core-image-sato-sdk-qemux86-64.ext3>
Comment 6 Codrin Pruteanu 2013-06-07 12:32:25 UTC
I tested this bug and is not present anymore in meta-intel 1.5_M1.rc1:

http://autobuilder03.jf.intel.com/pub/nightly-meta-intel/20130605-1

meta-intel 	24d63bd57269f3142c57c2d697c56101f73b23dc
poky 		a62aed41f2d8f874f7ae24d0e5be5dbc66ea2199
Comment 7 Cristian Iorga 2013-06-10 12:16:45 UTC
Issue no longer present.
Comment 8 Alexandru Georgescu 2013-06-17 12:08:37 UTC
verified as per above comments.