Bug 1545 - LTE test fails on ubuntu
LTE test fails on ubuntu
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: lte
pre-release
PC Linux
: P5 normal
Assigned To: Nicola Baldo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-04 16:40 UTC by Mitch Watrous
Modified: 2012-12-17 00:53 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mitch Watrous 2012-12-04 16:40:34 UTC
This test works on my Linux machine but fails on the 32 bit ubuntu buildslave:

    FAIL: TestSuite lte-tta-ff-mac-scheduler
Comment 1 Tom Henderson 2012-12-05 10:17:20 UTC
I have a bit more debugging output on this:

./waf configure -d optimized --enable-tests --enable-modules=lte --disable-python
./test.py -s lte-tta-ff-mac-scheduler

FAIL: Test Suite "lte-tta-ff-mac-scheduler" (2.840)
PASS: Test Suite "1 UEs, distance 0 m" (0.150)
PASS: Test Suite "3 UEs, distance 0 m" (0.240)
PASS: Test Suite "6 UEs, distance 0 m" (0.360)
PASS: Test Suite "12 UEs, distance 0 m" (0.780)
PASS: Test Suite "15 UEs, distance 0 m" (0.990)
PASS: Test Suite "1 UEs, distance 3000 m" (0.110)
FAIL: Test Suite "3 UEs, distance 3000 m" (0.210)
    Details:
      Message:    Invalid Throughput!
      Condition: (double)dlDataRxed.at (i) / simulationTime (actual) < m_thrRefDl (limit) + m_thrRefDl * tolerance (tol) && (double)dlDataRxed.at (i) / simulationTime (actual) > m_thrRefDl (limit) - m_thrRefDl * tolerance (tol)
      Actual:    405
      Limit:     1.383e+06 +- 138300
      File:      ../src/lte/test/lte-test-tta-ff-mac-scheduler.cc
      Line:      282

This does not show up in debug builds.

This is probably due to Dizhi's patch to clear uninitialized variable warnings for optimized builds.  Perhaps some behavior was inadvertently changed.
Comment 2 Tom Henderson 2012-12-05 10:21:00 UTC
(In reply to comment #1)
> I have a bit more debugging output on this:
> 
> ./waf configure -d optimized --enable-tests --enable-modules=lte
> --disable-python
> ./test.py -s lte-tta-ff-mac-scheduler
> 

I should have specified that to get the output I posted, I needed to run:

./test.py -s lte-tta-ff-mac-scheduler -t out.txt
Comment 3 Tom Henderson 2012-12-17 00:53:49 UTC
fixed in changeset 495189af3137