Several wimac system tests broken

Bug #380337 reported by Jan
6
This bug affects 1 person
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::frame::TimingControl AP1 current phase has finished
( 0.0051000) [WIMAC] wimac::frame::TimingControl AP1 TimingControl received timeout
( 0.0051000) [WIMAC] wimac::frame::DLMapCollector MAP duration is 0.0001, phase duration is 0
Backtrace (most recent call last, stack size: 23):
 23) __gxx_personality_v0
 22) __libc_start_main
 21) __gxx_personality_v0
 20) wns::simulator::IApplication::run()
 19) wns::simulator::Main<wns::simulator::Application>::doRun()
 18) wns::simulator::IApplication::run()
 17) wns::simulator::Application::doRun()
 16) wns::events::scheduler::Interface::start()
 15) wns::events::scheduler::Map::doStart()
 14) wns::events::scheduler::Interface::processOneEvent()
 13) wns::events::scheduler::Map::doProcessOneEvent()
 12) wns::events::scheduler::Map::Event::operator()()
 11) boost::function0<void, std::allocator<void> >::operator()() const
 10) boost::detail::function::void_function_obj_invoker0<wns::events::CanTimeout::TimeoutEvent, void>::invoke(boost::detail::function::function_buffer&)
  9) wns::events::CanTimeout::TimeoutEvent::operator()()
  8) wimac::frame::TimingControl::onTimeout()
  7) wimac::frame::TimingControl::processOneActivation()
  6) wns::ldk::fcf::CompoundCollector::start(int)
  5) wimac::frame::DLMapCollector::doStart(int)
  4) void wns::Assure::expression<wns::Assure::Exception>(std::string const&, std::string const&, int, std::string const&, std::string const&)
  3) wns::Assure::Exception::Exception(std::string const&)
  2) wns::Exception::Exception(std::string const&)
  1) wns::Backtrace::snapshot()
openWNS: Caught wns::Assure::Exception:

In 'virtual void wimac::frame::DLMapCollector::doStart(int)' (modules/dll/wimac/src/frame/DLMapCollector.cpp:116):
failed assertion (command->local.mapDuration <= this->getMaximumDuration()).
Reason: DLMapWriter: PDU overun the maximum duration of the frame phase!

configSubframe:
============
[...]

( 0.0000000) [CONST] Listener Listener created (domainName=SS3.wimax.wns.org.listener).
( 0.0000000) [CONST] IPListenerBinding New IpListenerBinding created for own IP=SS3.wimax.wns.org
( 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_personality_v0
 19) __libc_start_main
 18) __gxx_personality_v0
 17) wns::simulator::IApplication::run()
 16) wns::simulator::Main<wns::simulator::Application>::doRun()
 15) wns::simulator::IApplication::run()
 14) wns::simulator::Application::doRun()
 13) wns::simulator::ISimulationModel::startup()
 12) wns::node::NodeSimulationModel::doStartup()
 11) wns::node::Node::startup()
 10) wns::node::component::Interface::startup()
  9) wimac::Component::doStartup()
  8) dll::Layer2::doStartup()
  7) wns::ldk::configureFUN(wns::ldk::fun::FUN*, wns::pyconfig::View const&)
  6) wns::ldk::configuredFunctionalUnit(wns::ldk::fun::FUN*, wns::pyconfig::View const&)
  5) wns::ldk::FUNConfigCreator<dll::compoundSwitch::CompoundSwitch, wns::ldk::FunctionalUnit>::create(wns::ldk::fun::FUN*, wns::pyconfig::View const&)
  4) dll::compoundSwitch::CompoundSwitch::CompoundSwitch(wns::ldk::fun::FUN*, wns::pyconfig::View const&)
  3) wns::StaticFactory<dll::compoundSwitch::CompoundSwitchConfigCreator<dll::compoundSwitch::Filter, dll::compoundSwitch::Filter> >::creator(std::string)
  2) wns::Exception::Exception(std::string const&)
  1) wns::Backtrace::snapshot()
openWNS: Caught wns::Exception:

StaticFactory<dll::compoundSwitch::CompoundSwitchConfigCreator<dll::compoundSwitch::Filter, dll::compoundSwitch::Filter>> says:
You tried to create a 'wimac.compoundSwitch.filter.RelayDirection' instance.
Valid choices are:

  * dll.compoundSwitch.filter.FilterAll
  * dll.compoundSwitch.filter.FilterCommand
  * dll.compoundSwitch.filter.FilterMACAddress
  * dll.compoundSwitch.filter.FilterName
  * dll.compoundSwitch.filter.FilterNone

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_personality_v0
 17) __libc_start_main
 16) __gxx_personality_v0
 15) wns::simulator::IApplication::run()
 14) wns::simulator::Main<wns::simulator::Application>::doRun()
 13) wns::simulator::IApplication::run()
 12) wns::simulator::Application::doRun()
 11) wns::simulator::ISimulationModel::startup()
 10) wns::node::NodeSimulationModel::doStartup()
  9) wns::node::Node::startup()
  8) wimac::Component::onNodeCreated()
  7) wns::ldk::fun::Main::onFUNCreated(wns::logger::Logger*)
  6) wimac::compoundSwitch::CompoundSwitch::onFUNCreated()
  5) wimac::compoundSwitch::CompoundSwitch::printFilterAssociation()
  4) void wns::Assure::expression<wns::Assure::Exception>(std::string const&, std::string const&, int, std::string const&, std::string const&)
  3) wns::Assure::Exception::Exception(std::string const&)
  2) wns::Exception::Exception(std::string const&)
  1) wns::Backtrace::snapshot()
openWNS: Caught wns::Assure::Exception:

In 'void wimac::compoundSwitch::CompoundSwitch::printFilterAssociation()' (modules/dll/wimac/src/compoundSwitch/CompoundSwitch.cpp:201):
failed assertion (filters.size()==fus.size()).
Reason: Number of FUs mismatch the number of Filters

Revision history for this message
Maciej Muehleisen (mue-comnets) wrote : Re: [openWNS-bugsquad] [Bug 380337] Re: Several wimac system tests broken
Download full text (7.2 KiB)

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-
> wimac/patchesForOpenWNS
>
> --
> Several wimac system tests broken
> https://bugs.launchpad.net/bugs/380337
> 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::frame::TimingControl AP1
> current phase has finished
> ( 0.0051000) [WIMAC] wimac::frame::TimingControl AP1
> TimingControl received timeout
> ( 0.0051000) [WIMAC] wimac::frame::DLMapCollector MAP
> duration is 0.0001, phase duration is 0
> Backtrace (most recent call last, stack size: 23):
> 23) __gxx_personality_v0
> 22) __libc_start_main
> 21) __gxx_personality_v0
> 20) wns::simulator::IApplication::run()
> 19) wns::simulator::Main<wns::simulator::Application>::doRun()
> 18) wns::simulator::IApplication::run()
> 17) wns::simulator::Application::doRun()
> 16) wns::events::scheduler::Interface::start()
> 15) wns::events::scheduler::Map::doStart()
> 14) wns::events::scheduler::Interface::processOneEvent()
> 13) wns::events::scheduler::Map::doProcessOneEvent()
> 12) wns::events::scheduler::Map::Event::operator()()
> 11) boost::function0<void, std::allocator<void> >::operator()() const
> 10)
> boost::detail::function::void_function_obj_invoker0<wns::events::CanTimeout::TimeoutEvent,
> void>::invoke(boost::detail::function::function_buffer&)
> 9) wns::events::CanTimeout::TimeoutEvent::operator()()
> 8) wimac::frame::TimingControl::onTimeout()
> 7) wimac::frame::TimingControl::processOneActivation()
> 6) wns::ldk::fcf::CompoundCollector::start(int)
> 5) wimac::frame::DLMapCollector::doStart(int)
> 4) void wns::Assure::expression<wns::Assure::Exception>(std::string
> const&, std::string const&, int, std::string const&, std::string const&)
> 3) wns::Assure::Exception::Exception(std::string const&)
> 2) wns::Exception::Exception(std::string const&)
> 1) wns::Backtrace::snapshot()
> openWNS: Caught wns::Assure::Exception:
>
> In 'virtual void wimac::frame::DLMapCollector::doStart(int)'
> (modules/dll/wimac/src/frame/DLMapCollector.cpp:116):
> failed assertion (command->local.mapDuration <=
> this->getMaximumDuration()).
> Reason: DLMapWriter: PDU overun the maximum duration of the frame phase!
>
> configSubframe:
> ============
> [...]
>
> ( 0.0000000) [CONST] Listener Listener
> created (domainName=SS3.wimax.wns.org.listener).
> (...

Read more...

Changed in openwns-systemtest-wimac:
status: New → In Progress
Changed in openwns-systemtest-wimac:
status: In Progress → Fix Committed
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.