BIND 10 #2479: perfdhcp tests fail when using a build directory (and hence make distcheck fails)
BIND 10 Development
do-not-reply at isc.org
Tue Nov 13 16:37:18 UTC 2012
#2479: perfdhcp tests fail when using a build directory (and hence make distcheck
fails)
-------------------------------+-----------------------------------------
Reporter: jelte | Owner:
Type: defect | Status: new
Priority: medium | Milestone: New Tasks
Component: dhcp | Keywords:
Sensitive: 0 | Defect Severity: N/A
Sub-Project: DHCP | Feature Depending on Ticket:
Estimated Difficulty: 0 | Add Hours to Ticket: 0
Total Hours: 0 | Internal?: 0
-------------------------------+-----------------------------------------
This isn't caught by the buildbots since these tests are skipped on a lot
of systems, but when running from a separate build directory I get the
following error:
{{{
[ RUN ] TestControlTest.Packet4Exchange
Running: perfdhcp -l lo -r 100 -n 10 -R 20 -L 10547 127.0.0.1
Running: perfdhcp -l lo -r 100 -R 20 -n 20 -D 10% -L 10547 -T ../templates
/discover-example.hex -T ../templates/request4-example.hex 127.0.0.1
unknown file: Failure
C++ exception with description "unable to open template file ../templates
/discover-example.hex" thrown in the test body.
[ FAILED ] TestControlTest.Packet4Exchange (1 ms)
[ RUN ] TestControlTest.Packet6Exchange
Running: perfdhcp -l lo -6 -r 100 -n 10 -R 20 -L 10547 ::1
Running: perfdhcp -l lo -6 -r 100 -n 10 -R 20 -D 3 -L 10547 -T
../templates/solicit-example.hex -T ../templates/request6-example.hex ::1
unknown file: Failure
C++ exception with description "unable to open template file ../templates
/solicit-example.hex" thrown in the test body.
[ FAILED ] TestControlTest.Packet6Exchange (2 ms)
}}}
Those files aren't at '../', they are in the source tree, so those paths
should be based on some build-time values (probably derived from ${srcdir}
or ${top_srcdir}).
(there's 4 of them).
This makes distcheck of the current master fail. So unless this is fixed
before the release I propose we completely disable these tests.
Oh and Jeremy notes that these files are actually installed which
shouldn't be necessary.
--
Ticket URL: <http://bind10.isc.org/ticket/2479>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list