BIND 10 #2735: tests using outside components
BIND 10 Development
do-not-reply at isc.org
Wed Feb 13 21:29:55 UTC 2013
#2735: tests using outside components
-------------------------------------+-------------------------------------
Reporter: jreed | Owner:
Type: | Status: new
defect | Milestone: New Tasks
Priority: | Keywords:
medium | Sensitive: 0
Component: | Sub-Project: Core
Unclassified | Estimated Difficulty: 0
CVSS Scoring: | Total Hours: 0
Defect Severity: N/A |
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
See
http://git.bind10.isc.org/~tester/builder//BIND10-valgrind/20130213183503-CentOS5-x86_64-GCC/logs/unittests.out
The error was:
{{{
make[7]: Entering directory
`/home/b10builder/builder/work/BIND10-valgrind/20130213183503-CentOS5-x86_64-GCC/build/src/lib/log/tests'
terminate called after throwing an instance of
'isc::util::InterprocessSyncFileError'
what(): Unable to use interprocess sync lockfile (Permission denied):
/home/jreed/pkgsrc/new/bind10/work/bind10-1.0.0-rc/logger_lockfile
/bin/sh: line 5: 6899 Aborted /bin/sh ../../../../libtool
--mode=execute ${dir}$tst
}}}
This is user b10builder running a cronjob in a unique build (and install)
directory. It tried to use a file from a different user in a different
home!
I assume this was caused by this:
The test using python3.3 found in its default path:
/usr/pkg/lib/python3.3/site-packages/bind10_config.py
which has:
{{{
if "B10_FROM_SOURCE" in os.environ:
...
LIBEXECPATH =
':'.join(['/home/jreed/pkgsrc/new/bind10/work/bind10-1.0.0-rc/src/bin/' +
p for p in
}}}
Ouch. We can't assume that source location exists anymore. That is a
temporary work directory -- and it is not even the same version of BIND10!
And we should never hardcode it in an installed file.
--
Ticket URL: <http://bind10.isc.org/ticket/2735>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list