[bind10-dev] unitests failed.
Włodzimierz Wencel
wlodek.wencel at gmail.com
Mon Aug 26 11:31:45 UTC 2013
Hi,
for some time I'm trying to test my patches for Kea6 but.. on every
progress level I have some issues. That's one of them:
in unitests:
ForwardTest.connect
ForwardTest.pushAndPop
ForwardTest.badPush
ForwardTest.pushTooFast
ForwardTest.badPop
I got error:
C++ exception with description "failed to bind UNIX domain
socketOperation not permitted" thrown in the test body
(whole unitest report attached)
that's odd because I run 'make check' form root acc. My question is:
what is going on? Anybody has some solutions?
regards
Włodek Wencel
--
Goal of Open Source is to *Share *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20130826/6f136e64/attachment.html>
-------------- next part --------------
Making check in compatcheck
make[1]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/compatcheck'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/compatcheck'
Making check in doc
make[1]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc'
Making check in guide
make[2]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc/guide'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc/guide'
Making check in design
make[2]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc/design'
Making check in datasrc
make[3]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc/design/datasrc'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc/design/datasrc'
make[3]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc/design'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc/design'
make[2]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc/design'
make[2]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc'
make[1]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/doc'
Making check in .
make[1]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10'
make[1]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10'
Making check in src
make[1]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src'
Making check in lib
make[2]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib'
Making check in exceptions
make[3]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/exceptions'
Making check in .
make[4]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/exceptions'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/exceptions'
Making check in tests
make[4]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/exceptions/tests'
make check-TESTS
make[5]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/exceptions/tests'
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from ExceptionTest
[ RUN ] ExceptionTest.basicMethods
[ OK ] ExceptionTest.basicMethods (8 ms)
[ RUN ] ExceptionTest.stdInheritance
[ OK ] ExceptionTest.stdInheritance (0 ms)
[----------] 2 tests from ExceptionTest (14 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (35 ms total)
[ PASSED ] 2 tests.
PASS: run_unittests
=============
1 test passed
=============
make[5]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/exceptions/tests'
make[4]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/exceptions/tests'
make[3]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/exceptions'
Making check in util
make[3]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util'
Making check in .
make[4]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util'
make[4]: Nothing to be done for `check-am'.
make[4]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util'
Making check in io
make[4]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util/io'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util/io'
Making check in unittests
make[4]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util/unittests'
make[4]: Nothing to be done for `check'.
make[4]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util/unittests'
Making check in tests
make[4]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util/tests'
Making check in .
make[5]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util/tests'
make check-TESTS
make[6]: Entering directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util/tests'
[==========] Running 83 tests from 19 test cases.
[----------] Global test environment set-up.
[----------] 5 tests from Base32HexTest
[ RUN ] Base32HexTest.decode
[ OK ] Base32HexTest.decode (31 ms)
[ RUN ] Base32HexTest.decodeLower
[ OK ] Base32HexTest.decodeLower (0 ms)
[ RUN ] Base32HexTest.encode
[ OK ] Base32HexTest.encode (4 ms)
[ RUN ] Base32HexTest.decodeMap
[ OK ] Base32HexTest.decodeMap (4 ms)
[ RUN ] Base32HexTest.encodeMap
[ OK ] Base32HexTest.encodeMap (0 ms)
[----------] 5 tests from Base32HexTest (59 ms total)
[----------] 2 tests from Base64Test
[ RUN ] Base64Test.decode
[ OK ] Base64Test.decode (7 ms)
[ RUN ] Base64Test.encode
[ OK ] Base64Test.encode (0 ms)
[----------] 2 tests from Base64Test (13 ms total)
[----------] 15 tests from BufferTest
[ RUN ] BufferTest.inputBufferRead
[ OK ] BufferTest.inputBufferRead (13 ms)
[ RUN ] BufferTest.inputBufferException
[ OK ] BufferTest.inputBufferException (2 ms)
[ RUN ] BufferTest.outputBufferExtend
[ OK ] BufferTest.outputBufferExtend (4 ms)
[ RUN ] BufferTest.outputBufferWrite
[ OK ] BufferTest.outputBufferWrite (1 ms)
[ RUN ] BufferTest.outputBufferWriteat
[ OK ] BufferTest.outputBufferWriteat (3 ms)
[ RUN ] BufferTest.outputBufferSkip
[ OK ] BufferTest.outputBufferSkip (0 ms)
[ RUN ] BufferTest.outputBufferTrim
[ OK ] BufferTest.outputBufferTrim (1 ms)
[ RUN ] BufferTest.outputBufferReadat
[ OK ] BufferTest.outputBufferReadat (1528 ms)
[ RUN ] BufferTest.outputBufferClear
[ OK ] BufferTest.outputBufferClear (0 ms)
[ RUN ] BufferTest.outputBufferCopy
[ OK ] BufferTest.outputBufferCopy (2 ms)
[ RUN ] BufferTest.outputBufferAssign
[ OK ] BufferTest.outputBufferAssign (0 ms)
[ RUN ] BufferTest.outputBufferAssignSelf
[ OK ] BufferTest.outputBufferAssignSelf (0 ms)
[ RUN ] BufferTest.outputBufferZeroSize
[ OK ] BufferTest.outputBufferZeroSize (0 ms)
[ RUN ] BufferTest.inputBufferReadVectorAll
[ OK ] BufferTest.inputBufferReadVectorAll (0 ms)
[ RUN ] BufferTest.inputBufferReadVectorChunks
[ OK ] BufferTest.inputBufferReadVectorChunks (0 ms)
[----------] 15 tests from BufferTest (1603 ms total)
[----------] 1 test from FDShare
[ RUN ] FDShare.transfer
[ OK ] FDShare.transfer (212 ms)
[----------] 1 test from FDShare (214 ms total)
[----------] 2 tests from FDTest
[ RUN ] FDTest.read
[ OK ] FDTest.read (1376 ms)
[ RUN ] FDTest.write
[ OK ] FDTest.write (1351 ms)
[----------] 2 tests from FDTest (2740 ms total)
[----------] 5 tests from FilenameTest
[ RUN ] FilenameTest.SetName
[ OK ] FilenameTest.SetName (5 ms)
[ RUN ] FilenameTest.Components
[ OK ] FilenameTest.Components (18 ms)
[ RUN ] FilenameTest.ExpandWithDefault
[ OK ] FilenameTest.ExpandWithDefault (2 ms)
[ RUN ] FilenameTest.UseAsDefault
[ OK ] FilenameTest.UseAsDefault (0 ms)
[ RUN ] FilenameTest.setDirectory
[ OK ] FilenameTest.setDirectory (3 ms)
[----------] 5 tests from FilenameTest (42 ms total)
[----------] 4 tests from HexTest
[ RUN ] HexTest.encodeHex
[ OK ] HexTest.encodeHex (1 ms)
[ RUN ] HexTest.decodeHex
[ OK ] HexTest.decodeHex (5 ms)
[ RUN ] HexTest.decodeMap
[ OK ] HexTest.decodeMap (5 ms)
[ RUN ] HexTest.encodeMap
[ OK ] HexTest.encodeMap (1 ms)
[----------] 4 tests from HexTest (31 ms total)
[----------] 4 tests from asioutil
[ RUN ] asioutil.readUint16
[ OK ] asioutil.readUint16 (10 ms)
[ RUN ] asioutil.writeUint16
[ OK ] asioutil.writeUint16 (2 ms)
[ RUN ] asioutil.readUint32
[ OK ] asioutil.readUint32 (3 ms)
[ RUN ] asioutil.writeUint32
[ OK ] asioutil.writeUint32 (0 ms)
[----------] 4 tests from asioutil (27 ms total)
[----------] 9 tests from LruListTest
[ RUN ] LruListTest.Constructor
[ OK ] LruListTest.Constructor (4 ms)
[ RUN ] LruListTest.GetSet
[ OK ] LruListTest.GetSet (1 ms)
[ RUN ] LruListTest.Add
[ OK ] LruListTest.Add (0 ms)
[ RUN ] LruListTest.Remove
[ OK ] LruListTest.Remove (2 ms)
[ RUN ] LruListTest.SizeLimit
[ OK ] LruListTest.SizeLimit (6 ms)
[ RUN ] LruListTest.Touch
[ OK ] LruListTest.Touch (2 ms)
[ RUN ] LruListTest.Dropped
[ OK ] LruListTest.Dropped (0 ms)
[ RUN ] LruListTest.Clear
[ OK ] LruListTest.Clear (0 ms)
[ RUN ] LruListTest.Miscellaneous
[ OK ] LruListTest.Miscellaneous (1 ms)
[----------] 9 tests from LruListTest (42 ms total)
[----------] 5 tests from MemorySegmentLocal
[ RUN ] MemorySegmentLocal.TestLocal
[ OK ] MemorySegmentLocal.TestLocal (8 ms)
[ RUN ] MemorySegmentLocal.TestTooMuchMemory
[ OK ] MemorySegmentLocal.TestTooMuchMemory (9 ms)
[ RUN ] MemorySegmentLocal.TestBadDeallocate
[ OK ] MemorySegmentLocal.TestBadDeallocate (2 ms)
[ RUN ] MemorySegmentLocal.TestNullDeallocate
[ OK ] MemorySegmentLocal.TestNullDeallocate (0 ms)
[ RUN ] MemorySegmentLocal.namedAddress
[ OK ] MemorySegmentLocal.namedAddress (5 ms)
[----------] 5 tests from MemorySegmentLocal (36 ms total)
[----------] 2 tests from QidGenerator
[ RUN ] QidGenerator.singleton
[ OK ] QidGenerator.singleton (1 ms)
[ RUN ] QidGenerator.generate
[ OK ] QidGenerator.generate (1 ms)
[----------] 2 tests from QidGenerator (5 ms total)
[----------] 2 tests from UniformRandomIntegerGeneratorTest
[ RUN ] UniformRandomIntegerGeneratorTest.Constructor
[ OK ] UniformRandomIntegerGeneratorTest.Constructor (1 ms)
[ RUN ] UniformRandomIntegerGeneratorTest.IntegerRange
[ OK ] UniformRandomIntegerGeneratorTest.IntegerRange (1 ms)
[----------] 2 tests from UniformRandomIntegerGeneratorTest (4 ms total)
[----------] 3 tests from WeightedRandomIntegerGeneratorTest
[ RUN ] WeightedRandomIntegerGeneratorTest.Constructor
[ OK ] WeightedRandomIntegerGeneratorTest.Constructor (4 ms)
[ RUN ] WeightedRandomIntegerGeneratorTest.WeightedRandomization
[ OK ] WeightedRandomIntegerGeneratorTest.WeightedRandomization (13 ms)
[ RUN ] WeightedRandomIntegerGeneratorTest.ResetProbabilities
[ OK ] WeightedRandomIntegerGeneratorTest.ResetProbabilities (6 ms)
[----------] 3 tests from WeightedRandomIntegerGeneratorTest (27 ms total)
[----------] 4 tests from Sha1Test
[ RUN ] Sha1Test.Test1
[ OK ] Sha1Test.Test1 (1 ms)
[ RUN ] Sha1Test.Test2
[ OK ] Sha1Test.Test2 (1 ms)
[ RUN ] Sha1Test.Test3
[ OK ] Sha1Test.Test3 (27 ms)
[ RUN ] Sha1Test.Test4
[ OK ] Sha1Test.Test4 (1 ms)
[----------] 4 tests from Sha1Test (36 ms total)
[----------] 7 tests from ForwardTest
[ RUN ] ForwardTest.construct
[ OK ] ForwardTest.construct (11 ms)
[ RUN ] ForwardTest.connect
unknown file: Failure
C++ exception with description "failed to bind UNIX domain socketOperation not permitted" thrown in the test body.
[ FAILED ] ForwardTest.connect (16 ms)
[ RUN ] ForwardTest.close
[ OK ] ForwardTest.close (6 ms)
[ RUN ] ForwardTest.pushAndPop
unknown file: Failure
C++ exception with description "failed to bind UNIX domain socketOperation not permitted" thrown in the test body.
[ FAILED ] ForwardTest.pushAndPop (16 ms)
[ RUN ] ForwardTest.badPush
unknown file: Failure
C++ exception with description "failed to bind UNIX domain socketOperation not permitted" thrown in the test body.
[ FAILED ] ForwardTest.badPush (11 ms)
[ RUN ] ForwardTest.pushTooFast
unknown file: Failure
C++ exception with description "failed to bind UNIX domain socketOperation not permitted" thrown in the test body.
[ FAILED ] ForwardTest.pushTooFast (7 ms)
[ RUN ] ForwardTest.badPop
unknown file: Failure
C++ exception with description "failed to bind UNIX domain socketOperation not permitted" thrown in the test body.
[ FAILED ] ForwardTest.badPop (6 ms)
[----------] 7 tests from ForwardTest (81 ms total)
[----------] 1 test from SocketSessionTest
[ RUN ] SocketSessionTest.badValue
[ OK ] SocketSessionTest.badValue (0 ms)
[----------] 1 test from SocketSessionTest (1 ms total)
[----------] 7 tests from StringUtilTest
[ RUN ] StringUtilTest.Slash
[ OK ] StringUtilTest.Slash (2 ms)
[ RUN ] StringUtilTest.Trim
[ OK ] StringUtilTest.Trim (1 ms)
[ RUN ] StringUtilTest.Tokens
[ OK ] StringUtilTest.Tokens (6 ms)
[ RUN ] StringUtilTest.ChangeCase
[ OK ] StringUtilTest.ChangeCase (0 ms)
[ RUN ] StringUtilTest.Formatting
[ OK ] StringUtilTest.Formatting (2 ms)
[ RUN ] StringUtilTest.getToken
[ OK ] StringUtilTest.getToken (1 ms)
[ RUN ] StringUtilTest.tokenToNum
[ OK ] StringUtilTest.tokenToNum (5 ms)
[----------] 7 tests from StringUtilTest (24 ms total)
[----------] 3 tests from DNSSECTimeTest
[ RUN ] DNSSECTimeTest.fromText
[ OK ] DNSSECTimeTest.fromText (6 ms)
[ RUN ] DNSSECTimeTest.toText
[ OK ] DNSSECTimeTest.toText (2 ms)
[ RUN ] DNSSECTimeTest.overflow
[ OK ] DNSSECTimeTest.overflow (1 ms)
[----------] 3 tests from DNSSECTimeTest (11 ms total)
[----------] 2 tests from RangeUtilitiesTest
[ RUN ] RangeUtilitiesTest.isZero
[ OK ] RangeUtilitiesTest.isZero (1 ms)
[ RUN ] RangeUtilitiesTest.randomFill
[ OK ] RangeUtilitiesTest.randomFill (0 ms)
[----------] 2 tests from RangeUtilitiesTest (3 ms total)
[----------] Global test environment tear-down
[==========] 83 tests from 19 test cases ran. (5043 ms total)
[ PASSED ] 78 tests.
[ FAILED ] 5 tests, listed below:
[ FAILED ] ForwardTest.connect
[ FAILED ] ForwardTest.pushAndPop
[ FAILED ] ForwardTest.badPush
[ FAILED ] ForwardTest.pushTooFast
[ FAILED ] ForwardTest.badPop
5 FAILED TESTS
FAIL: run_unittests
===================================
1 of 1 test failed
Please report to bind10-dev at isc.org
===================================
make[6]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util/tests'
make[5]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util/tests'
make[4]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util/tests'
make[3]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib/util'
make[2]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src/lib'
make[1]: Leaving directory `/media/sf_mgr/programy/bind10_19082013/bind10/src'
More information about the bind10-dev
mailing list