Several wimac system tests broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openWNS SystemTest WiMAC |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I adapted the "configOFDMA", "configSubframe", and "configSubframeTDD" to the openWNS simulation environment (e.g., renamed from WNS -> openWNS etc.), see the uploaded branch.
However, the system tests mentioned above still seem to fail for reasons not directly connected to the openWNS adaptation:
configOFDMA:
===========
There seems to be a frame timing issue:
[...]
( 0.0051000) [WIMAC] wimac::
( 0.0051000) [WIMAC] wimac::
( 0.0051000) [WIMAC] wimac::
Backtrace (most recent call last, stack size: 23):
23) __gxx_personali
22) __libc_start_main
21) __gxx_personali
20) wns::simulator:
19) wns::simulator:
18) wns::simulator:
17) wns::simulator:
16) wns::events:
15) wns::events:
14) wns::events:
13) wns::events:
12) wns::events:
11) boost::
10) boost::
9) wns::events:
8) wimac::
7) wimac::
6) wns::ldk:
5) wimac::
4) void wns::Assure:
3) wns::Assure:
2) wns::Exception:
1) wns::Backtrace:
openWNS: Caught wns::Assure:
In 'virtual void wimac::
failed assertion (command-
Reason: DLMapWriter: PDU overun the maximum duration of the frame phase!
configSubframe:
============
[...]
( 0.0000000) [CONST] Listener Listener created (domainName=
( 0.0000000) [CONST] IPListenerBinding New IpListenerBinding created for own IP=SS3.
( 0.0000000) [WIMAC] wimac::Component Creating station FRS4 with station ID 4 and station type 2
( 0.0000000) [ DLL] CompoundSwitch Configuring onDataFilters. Number of onDataFilters: 1
( 0.0000000) [ DLL] CompoundSwitch Configuring sendDataFilters. Number of sendDataFilters: 2
Backtrace (most recent call last, stack size: 20):
20) __gxx_personali
19) __libc_start_main
18) __gxx_personali
17) wns::simulator:
16) wns::simulator:
15) wns::simulator:
14) wns::simulator:
13) wns::simulator:
12) wns::node:
11) wns::node:
10) wns::node:
9) wimac::
8) dll::Layer2:
7) wns::ldk:
6) wns::ldk:
5) wns::ldk:
4) dll::compoundSw
3) wns::StaticFact
2) wns::Exception:
1) wns::Backtrace:
openWNS: Caught wns::Exception:
StaticFactory<
You tried to create a 'wimac.
Valid choices are:
* dll.compoundSwi
* dll.compoundSwi
* dll.compoundSwi
* dll.compoundSwi
* dll.compoundSwi
configSubframeTDD:
===============
First of all, this still seems to rely on the old probes system.
[...]
( 0.0000000) [ WNS] CompoundSwitch AP1: onData association: [ Filter, Functional Unit ]
( 0.0000000) [ WNS] CompoundSwitch AP1 ( All, errormodelling )
( 0.0000000) [ WNS] CompoundSwitch AP1: sendData association: [ Filter, Functional Unit ]
Backtrace (most recent call last, stack size: 18):
18) __gxx_personali
17) __libc_start_main
16) __gxx_personali
15) wns::simulator:
14) wns::simulator:
13) wns::simulator:
12) wns::simulator:
11) wns::simulator:
10) wns::node:
9) wns::node:
8) wimac::
7) wns::ldk:
6) wimac::
5) wimac::
4) void wns::Assure:
3) wns::Assure:
2) wns::Exception:
1) wns::Backtrace:
openWNS: Caught wns::Assure:
In 'void wimac::
failed assertion (filters.
Reason: Number of FUs mismatch the number of Filters
Related branches
Changed in openwns-systemtest-wimac: | |
status: | New → In Progress |
Changed in openwns-systemtest-wimac: | |
status: | In Progress → Fix Committed |
Hi,
the stuff used in there was not maintained for a long time. I even thought
about removing it before publishing. Unfortunately I can not offer much
support to fix that. I do not know if OFDMA ever worked.
Greats
Mac
> ** Branch linked: lp:~jan-ellenbeck/openwns-systemtest- rOpenWNS /bugs.launchpad .net/bugs/ 380337 frame:: TimingControl AP1 frame:: TimingControl AP1 frame:: DLMapCollector MAP ty_v0 ty_v0 :IApplication: :run() :Main<wns: :simulator: :Application> ::doRun( ) :IApplication: :run() :Application: :doRun( ) :scheduler: :Interface: :start( ) :scheduler: :Map::doStart( ) :scheduler: :Interface: :processOneEven t() :scheduler: :Map::doProcess OneEvent( ) :scheduler: :Map::Event: :operator( )() function0< void, std::allocator< void> >::operator()() const detail: :function: :void_function_ obj_invoker0< wns::events: :CanTimeout: :TimeoutEvent, invoke( boost:: detail: :function: :function_ buffer& ) :CanTimeout: :TimeoutEvent: :operator( )() frame:: TimingControl: :onTimeout( ) frame:: TimingControl: :processOneActi vation( ) :fcf::CompoundC ollector: :start( int) frame:: DLMapCollector: :doStart( int) :expression< wns::Assure: :Exception> (std::string :Exception: :Exception( std::string const&) :Exception( std::string const&) :snapshot( ) :Exception: frame:: DLMapCollector: :doStart( int)' dll/wimac/ src/frame/ DLMapCollector. cpp:116) : >local. mapDuration <= mDuration( )). SS3.wimax. wns.org. listener) .
> wimac/patchesFo
>
> --
> Several wimac system tests broken
> https:/
> You received this bug notification because you are a member of openWNS
> Bugsquad, which is subscribed to openWNS.
>
> Status in openWNS SystemTest WiMAC: New
>
> Bug description:
> I adapted the "configOFDMA", "configSubframe", and "configSubframeTDD" to
> the openWNS simulation environment (e.g., renamed from WNS -> openWNS
> etc.), see the uploaded branch.
>
> However, the system tests mentioned above still seem to fail for reasons
> not directly connected to the openWNS adaptation:
>
> configOFDMA:
> ===========
>
> There seems to be a frame timing issue:
> [...]
> ( 0.0051000) [WIMAC] wimac::
> current phase has finished
> ( 0.0051000) [WIMAC] wimac::
> TimingControl received timeout
> ( 0.0051000) [WIMAC] wimac::
> duration is 0.0001, phase duration is 0
> Backtrace (most recent call last, stack size: 23):
> 23) __gxx_personali
> 22) __libc_start_main
> 21) __gxx_personali
> 20) wns::simulator:
> 19) wns::simulator:
> 18) wns::simulator:
> 17) wns::simulator:
> 16) wns::events:
> 15) wns::events:
> 14) wns::events:
> 13) wns::events:
> 12) wns::events:
> 11) boost::
> 10)
> boost::
> void>::
> 9) wns::events:
> 8) wimac::
> 7) wimac::
> 6) wns::ldk:
> 5) wimac::
> 4) void wns::Assure:
> const&, std::string const&, int, std::string const&, std::string const&)
> 3) wns::Assure:
> 2) wns::Exception:
> 1) wns::Backtrace:
> openWNS: Caught wns::Assure:
>
> In 'virtual void wimac::
> (modules/
> failed assertion (command-
> this->getMaximu
> Reason: DLMapWriter: PDU overun the maximum duration of the frame phase!
>
> configSubframe:
> ============
> [...]
>
> ( 0.0000000) [CONST] Listener Listener
> created (domainName=
> (...