http://defect.opensolaris.org/bz/show_bug.cgi?id=9539
Summary: Ipv4 only NCU doesn't come online during event tests
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: ON daemon
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: John.Leser at sun.com
QAContact: nwam-dev at opensolaris.org
Here is the output from the testcase that isn't working. There is some common
setup that clears the User ncp out before this runs. All of the applied <foo>
stuff is working as far as nwamcfg is concerned, since it reports the error if
nwamcfg fails.
520|0 1 160290 1 1|unknown 21:38:58 ASSERT wired_basic_001: Assert text for
wire
d_basic goes here
520|0 1 160290 1 2|unknown 21:38:58 Iterators for this case:
520|0 1 160290 1 3|unknown 21:38:58 MODE=ipv4-static
520|0 1 160290 1 4|unknown 21:39:00 svc svc:/network/physical:nwam is disabled
a
fter 2 seconds
520|0 1 160290 1 5|unknown 21:39:00 test case startup done
520|0 1 160290 1 6|unknown 21:39:00 +++ Applied changes via nwamcfg +++
520|0 1 160290 1 7|unknown 21:39:00 create ncp User
520|0 1 160290 1 8|unknown 21:39:00 create ncu phys e1000g0
520|0 1 160290 1 9|unknown 21:39:00 set activation-mode=manual
520|0 1 160290 1 10|unknown 21:39:00 end
520|0 1 160290 1 11|unknown 21:39:00 create ncu ip e1000g0
520|0 1 160290 1 12|unknown 21:39:00 set ip-version=ipv4
520|0 1 160290 1 13|unknown 21:39:00 set ipv4-addrsrc=static
520|0 1 160290 1 14|unknown 21:39:00 set ipv4-addr=10.0.1.93/24
520|0 1 160290 1 15|unknown 21:39:00 end
520|0 1 160290 1 16|unknown 21:39:00 end
520|0 1 160290 1 17|unknown 21:39:00 +++ end +++
520|0 1 160290 1 18|unknown 21:39:00
520|0 1 160290 1 19|unknown 21:39:00 +++ Applied changes via nwamcfg +++
520|0 1 160290 1 20|unknown 21:39:00 create loc TestLoc
520|0 1 160290 1 21|unknown 21:39:00 set activation-mode=manual
520|0 1 160290 1 22|unknown 21:39:00 set nameservices=dns
520|0 1 160290 1 23|unknown 21:39:00 set
nameservices-config-file=/etc/nsswitch.
dns
520|0 1 160290 1 24|unknown 21:39:00 end
520|0 1 160290 1 25|unknown 21:39:00 +++ end +++
520|0 1 160290 1 26|unknown 21:39:00
520|0 1 160290 1 27|unknown 21:39:02 svc svc:/network/physical:nwam is online
af
ter 1 seconds
520|0 1 160290 1 28|unknown 21:39:04 ncp User is online after 1 seconds
520|0 1 160290 1 29|unknown 21:39:36 ncu e1000g0 failed to become online in 30s
520|0 1 160290 1 30|unknown 21:39:36 actual state was: offline
520|0 1 160290 1 31|unknown 21:39:36 FATAL: nwt_dverify_state(), did not reach
e
xpected state
520|0 1 160290 1 32|unknown 21:39:36 test case cleanup done
520|0 1 160290 1 33|unknown 21:39:36 ends PHASE=test, returning 3
220|0 1 1 21:39:36|FAIL
410|0 1 1 21:39:36|IC End
Here is the console output during the run of complains that nwam has:
Jun 18 21:38:59 unknown nwamd[159381]: 1: nwamd_ncu_handle_state_event: state
event for nonexistent NCU interface:e1000g0
Jun 18 21:39:01 unknown nwamd[160572]: 1: nwamd_loc_handle_state_event: state
event for nonexistent loc NoNet
Jun 18 21:39:03 unknown nwamd[160572]: 1: plumb_unplumb_interface: unplumb
failed for e1000g0: Interface does not exist
Jun 18 21:39:03 unknown last message repeated 1 time
Jun 18 21:39:04 unknown nwamd[160572]: 1: plumb_unplumb_interface: unplumb
failed for e1000g1: Interface does not exist
Jun 18 21:39:04 unknown last message repeated 1 time
Jun 18 21:39:04 unknown nwamd[160572]: 1: plumb_unplumb_interface: unplumb
failed for e1000g2: Interface does not exist
Jun 18 21:39:04 unknown last message repeated 1 time
Jun 18 21:39:04 unknown nwamd[160572]: 1: plumb_unplumb_interface: unplumb
failed for e1000g3: Interface does not exist
Jun 18 21:39:04 unknown last message repeated 1 time
Jun 18 21:39:04 unknown nwamd[160572]: 1: populate_ip_ncu_properties: could not
get ipv6-addrsrc value: argument is invalid
wired_basic_001: FATAL: nwt_dverify_state(), did not reach expected state
wired_basic_001: FAIL
To reproduce this case, set up the test suite to run according to the README,
and do "run_test nwam event:1" to run it.
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.