Bug 1664

Summary: fix random streams in some test suites
Product: ns-3 Reporter: Tom Henderson <tomh>
Component: test frameworkAssignee: Tom Henderson <tomh>
Status: CONFIRMED ---    
Severity: normal CC: ns-bugs
Priority: P5    
Version: pre-release   
Hardware: All   
OS: All   

Description Tom Henderson 2013-05-01 09:34:51 EDT
When the test order is perturbed by running them like this:

./waf --run "test-runner --test-type=unit"

a few tests fail:

mobility-trace, devices-wifi, ipv6-raw, and ipv6-address-helper

this is most likely because there is usage of random variables in these tests that are not fixed to particular streams.  Another possible reason is that the seed and/or run number need to be fixed.

This changeset shows the nature of the fixes that are likely needed:

changeset:   9735:f514ef70e2f4
tag:         tip
user:        Tom Henderson <tomh@tomh.org>
date:        Wed May 01 06:29:57 2013 -0700
summary:     assign streams to burst error model test case

(reported by Daniel L.)
Comment 1 Tom Henderson 2013-05-01 09:37:58 EDT
before closing this bug, I'd like to see one of the jenkins scripts extended to run the tests this way, as well as the deep valgrind runs.