Bug 20868 - libnice-0.0.5 does not pass its testsuite
Summary: libnice-0.0.5 does not pass its testsuite
Status: RESOLVED FIXED
Alias: None
Product: nice
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Dafydd Harries
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 16:49 UTC by Gilles Dartiguelongue
Modified: 2009-04-11 03:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
build.log (97.06 KB, text/plain)
2009-03-25 16:49 UTC, Gilles Dartiguelongue
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Dartiguelongue 2009-03-25 16:49:04 UTC
Created attachment 24245 [details]
build.log

while reviewing ebuilds for gentoo for testing empathy 2.26,

make  check-TESTS
make[3]: entrant dans le répertoire « /var/tmp/portage/net-libs/libnice-0.0.5/work/libnice-0.0.5/stun/tests »
Comparing username '0x926b2b3e6aa54358a85125a6f79c0ae7d886f776f9cd8a2e45d7cbbbaee503c33a323aa99eb77b32e3f3a6c0e8544bef52d2e2c043c24cbcafd9f2fa488b8ce66214643a32000000' (72) with '0x926b2b3e6aa54358a85125a6f79c0ae7d886f776f9cd8a2e45d7cbbbaee503c33a323aa99eb77b32e3f3a6c0e8544bef52d2e2c043c24cbcafd9f2fa488b8ce66214643a32000000' (72) : 0
Found valid username, returning password : 'w�z���>�(�]��6�I'
 Message HMAC-SHA1 fingerprint:
key     : 0x77d97ae9cfe03ea228a05deccf36e849
  expected: 0xf74681c46f4c215cf68ec0810e203fb1b1ada48a
  received: 0xf74681c46f4c215cf68ec0810e203fb1b1ada48a
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
STUN error: No data!
STUN error: RTP or other non-protocol packet!
STUN error: 4 instead of 8 bytes for attribute!
STUN error: Invalid message length: 25!
STUN error: Incomplete message: 27 of 28 bytes!
STUN error: Incomplete STUN message header!
STUN error: Incomplete STUN message header!
STUN error: Incomplete STUN message header!
STUN error: Incomplete message: 4 of 20 bytes!
STUN error: Incomplete message: 5 of 20 bytes!
STUN error: Incomplete message: 6 of 20 bytes!
STUN error: Incomplete message: 7 of 20 bytes!
STUN error: Incomplete message: 8 of 20 bytes!
STUN error: Incomplete message: 9 of 20 bytes!
STUN error: Incomplete message: 10 of 20 bytes!
STUN error: Incomplete message: 11 of 20 bytes!
STUN error: Incomplete message: 12 of 20 bytes!
STUN error: Incomplete message: 13 of 20 bytes!
STUN error: Incomplete message: 14 of 20 bytes!
STUN error: Incomplete message: 15 of 20 bytes!
STUN error: Incomplete message: 16 of 20 bytes!
STUN error: Incomplete message: 17 of 20 bytes!
STUN error: Incomplete message: 18 of 20 bytes!
STUN error: Incomplete message: 19 of 20 bytes!
STUN error: Incomplete STUN message header!
STUN error: Incomplete STUN message header!
STUN error: Incomplete STUN message header!
STUN error: Incomplete message: 4 of 20 bytes!
STUN error: Incomplete message: 5 of 20 bytes!
STUN error: Incomplete message: 6 of 20 bytes!
STUN error: Incomplete message: 7 of 20 bytes!
STUN error: Incomplete message: 8 of 20 bytes!
STUN error: Incomplete message: 9 of 20 bytes!
STUN error: Incomplete message: 10 of 20 bytes!
STUN error: Incomplete message: 11 of 20 bytes!
STUN error: Incomplete message: 12 of 20 bytes!
STUN error: Incomplete message: 13 of 20 bytes!
STUN error: Incomplete message: 14 of 20 bytes!
STUN error: Incomplete message: 15 of 20 bytes!
STUN error: Incomplete message: 16 of 20 bytes!
STUN error: Incomplete message: 17 of 20 bytes!
STUN error: Incomplete message: 18 of 20 bytes!
STUN error: Incomplete message: 19 of 20 bytes!
STUN error: Incomplete STUN message header!
STUN error: Incomplete STUN message header!
STUN error: Incomplete STUN message header!
STUN error: Incomplete message: 4 of 36 bytes!
STUN error: Incomplete message: 5 of 36 bytes!
STUN error: Incomplete message: 6 of 36 bytes!
STUN error: Incomplete message: 7 of 36 bytes!
STUN error: Incomplete message: 8 of 36 bytes!
STUN error: Incomplete message: 9 of 36 bytes!
STUN error: Incomplete message: 10 of 36 bytes!
STUN error: Incomplete message: 11 of 36 bytes!
STUN error: Incomplete message: 12 of 36 bytes!
STUN error: Incomplete message: 13 of 36 bytes!
STUN error: Incomplete message: 14 of 36 bytes!
STUN error: Incomplete message: 15 of 36 bytes!
STUN error: Incomplete message: 16 of 36 bytes!
STUN error: Incomplete message: 17 of 36 bytes!
STUN error: Incomplete message: 18 of 36 bytes!
STUN error: Incomplete message: 19 of 36 bytes!
STUN error: Incomplete message: 20 of 36 bytes!
STUN error: Incomplete message: 21 of 36 bytes!
STUN error: Incomplete message: 22 of 36 bytes!
STUN error: Incomplete message: 23 of 36 bytes!
STUN error: Incomplete message: 24 of 36 bytes!
STUN error: Incomplete message: 25 of 36 bytes!
STUN error: Incomplete message: 26 of 36 bytes!
STUN error: Incomplete message: 27 of 36 bytes!
STUN error: Incomplete message: 28 of 36 bytes!
STUN error: Incomplete message: 29 of 36 bytes!
STUN error: Incomplete message: 30 of 36 bytes!
STUN error: Incomplete message: 31 of 36 bytes!
STUN error: Incomplete message: 32 of 36 bytes!
STUN error: Incomplete message: 33 of 36 bytes!
STUN error: Incomplete message: 34 of 36 bytes!
STUN error: Incomplete message: 35 of 36 bytes!
STUN demux error: no FINGERPRINT attribute!
STUN demux error: no cookie!
STUN demux error: bad fingerprint: 0x78cd9104, expected: 0x78cc9104!
STUN demux error: bad fingerprint: 0x00000000, expected: 0xd3459895!
STUN demux: OK!
Attribute test message length: 128
 Message HMAC-SHA1 fingerprint:
key     : 0x6261645f5f677579
  expected: 0x6f1e623958c702f1f38201bc392a8c3f213d28a3
  received: 0x0bc4b20c9458bb25a3221ac8e18732363afce2c3
STUN auth error: SHA1 fingerprint mismatch!
 Message HMAC-SHA1 fingerprint:
key     : 0x676f6f645f677579
  expected: 0x0bc4b20c9458bb25a3221ac8e18732363afce2c3
  received: 0x0bc4b20c9458bb25a3221ac8e18732363afce2c3
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
Checking test vectors...
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x564f6b4a7862526c31526d5478556b2f57764a784274
  expected: 0x624eebdc3cc92dd84b74bf85d1c0f5de3687bd33
  received: 0x624eebdc3cc92dd84b74bf85d1c0f5de3687bd33
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x564f6b4a7862526c31526d5478556b2f57764a784274
  expected: 0x624eebdc3cc92dd84b74bf85d1c0f5de3687bd33
  received: 0x624eebdc3cc92dd84b74bf85d1c0f5de3687bd33
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
 Message HMAC-SHA1 message integrity:
  key     : 0x564f6b4a7862526c31526d5478556b2f57764a784274
  sent    : 0x624eebdc3cc92dd84b74bf85d1c0f5de3687bd33
 Message HMAC-SHA1 fingerprint: 0xad8a85ff
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x564f6b4a7862526c31526d5478556b2f57764a784274
  expected: 0x7db7fc5270c6db1fc32634bb4c646ee71db3784a
  received: 0x7db7fc5270c6db1fc32634bb4c646ee71db3784a
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
STUN demux: OK!
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x564f6b4a7862526c31526d5478556b2f57764a784274
  expected: 0x624eebdc3cc92dd84b74bf85d1c0f5de3687bd33
  received: 0x624eebdc3cc92dd84b74bf85d1c0f5de3687bd33
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
 Message HMAC-SHA1 fingerprint: 0xad8a85ff
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x564f6b4a7862526c31526d5478556b2f57764a784274
  expected: 0x21cbbd251a8c4c388cc5cdb3276af561b221c82b
  received: 0x21cbbd251a8c4c388cc5cdb3276af561b221c82b
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
Done.
Testing long term credentials hash algorithm...
key for user:realm:pass is : 0x8493fbc53ba582fb4c044c456bdc40eb

RFC key for user:realm:pass is : 0x8493fbc53ba582fb4c044c456bdc40eb

Done!
PASS: test-parse
 Message HMAC-SHA1 fingerprint: 0x34ce5243
STUN demux: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 28 bytes
 Message HMAC-SHA1 message integrity:
  key     : 0x73336b723374
  sent    : 0x8b06ead3348f022c0d369242446c5f5cb3c2dfbe
 Message HMAC-SHA1 fingerprint: 0xf26b0f9e
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x73336b723374
  expected: 0x8b06ead3348f022c0d369242446c5f5cb3c2dfbe
  received: 0x8b06ead3348f022c0d369242446c5f5cb3c2dfbe
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 64 bytes
 Message HMAC-SHA1 fingerprint: 0x51a96905
STUN demux: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 28 bytes
 Message HMAC-SHA1 message integrity:
  key     : 0x73336b723374
  sent    : 0xd63535e6ad4ae318ffec39041bd835f871cbfd78
 Message HMAC-SHA1 fingerprint: 0x55fef50c
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x73336b723374
  expected: 0xd63535e6ad4ae318ffec39041bd835f871cbfd78
  received: 0xd63535e6ad4ae318ffec39041bd835f871cbfd78
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 64 bytes
 Message HMAC-SHA1 fingerprint: 0xe484cfc9
STUN demux: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 28 bytes
 Message HMAC-SHA1 message integrity:
  key     : 0x73336b723374
  sent    : 0x7b9fda39f508898ef849599bd01bd403345d46a2
 Message HMAC-SHA1 fingerprint: 0xaea9aad9
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x73336b723374
  expected: 0x7b9fda39f508898ef849599bd01bd403345d46a2
  received: 0x7b9fda39f508898ef849599bd01bd403345d46a2
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 64 bytes
 Message HMAC-SHA1 fingerprint: 0xd1115f87
STUN demux: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 48 bytes
 Message HMAC-SHA1 message integrity:
  key     : 0x73336b723374
  sent    : 0x74530adad62217254cbe9ea25a27ae42732bf320
 Message HMAC-SHA1 fingerprint: 0xd741790e
STUN demux: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 84 bytes
 Message HMAC-SHA1 fingerprint: 0x562fbef3
STUN demux: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 28 bytes
 Message HMAC-SHA1 message integrity:
  key     : 0x73336b723374
  sent    : 0xe8fdee898cfb2c29e0dd1b8096f5db8771bf9486
 Message HMAC-SHA1 fingerprint: 0xcf4e3795
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x73336b723374
  expected: 0xe8fdee898cfb2c29e0dd1b8096f5db8771bf9486
  received: 0xe8fdee898cfb2c29e0dd1b8096f5db8771bf9486
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 64 bytes
 Message HMAC-SHA1 fingerprint: 0x49677899
STUN demux: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 52 bytes
 Message HMAC-SHA1 message integrity:
  key     : 0x73336b723374
  sent    : 0x325f487a479b41ac552361af11161f0ce207fac3
 Message HMAC-SHA1 fingerprint: 0x8455a437
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x73336b723374
  expected: 0x325f487a479b41ac552361af11161f0ce207fac3
  received: 0x325f487a479b41ac552361af11161f0ce207fac3
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
Built message of 88 bytes
PASS: test-format
STUN transaction failed: couldn't create transport.
Bad socket family test... OK
STUN transaction failed: couldn't create transport.
Too small server address test... OK
STUN transaction failed: couldn't create transport.
Too big server address test... OK
STUN unknown: 0 mandatory attribute(s)!
Bad responses test... OK
STUN unknown: 0 mandatory attribute(s)!
 STUN error message received (code: 500)
STUN unknown: 0 mandatory attribute(s)!
STUN unknown: 0 mandatory attribute(s)!
Received 20-bytes STUN message
 No XOR-MAPPED-ADDRESS: 1
 No MAPPED-ADDRESS: 1
STUN unknown: 0 mandatory attribute(s)!
STUN unknown: 0 mandatory attribute(s)!
Received 44-bytes STUN message
 No XOR-MAPPED-ADDRESS: 1
 Mapped address found!
Error responses test... OK
test-bind: test-bind.c:429: keepalive: Assertion `val < 0' failed.
Keep alives test... /bin/sh: line 4:  3507 Abandon                 ${dir}$tst
FAIL: test-bind
STUN unknown: 0 mandatory attribute(s)!
 STUN error message received (code: 401)
 Message HMAC-SHA1 message integrity:
  key     : 0x626164676572
  sent    : 0x060bcb90d2ee4c849717711d037d958240f035ba
 Message HMAC-SHA1 fingerprint:
key     : 0x626164676572
  expected: 0x0cfa66c4c08505bcd957762e37422ae337cb0f3c
  received: 0x0cfa66c4c08505bcd957762e37422ae337cb0f3c
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
Received 84-bytes STUN message
 Mapped address found!
numb.viagenie.ca TURN server test... Relay address found : : 216.146.46.55 port 49155
Mapped address found : : 92.132.251.170 port 55206
 Message HMAC-SHA1 message integrity:
  key     : 0x626164676572
  sent    : 0x910318b6f228af0f067cc1a24f2a494d58394db6
 Message HMAC-SHA1 fingerprint:
key     : 0x626164676572
  expected: 0x2555db45495ac0ee3a18560389b92a18eeac9ea1
  received: 0x2555db45495ac0ee3a18560389b92a18eeac9ea1
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
OK
PASS: test-turn
 Message HMAC-SHA1 fingerprint: 0xf9363c66
STUN Reply (buffer size = 65552)...
 Unhandled non-request (class 2) message.
 Message HMAC-SHA1 message integrity:
  key     : 0x736563726574
  sent    : 0x23293463b99eb38a355fa6f3e2b6121f791ac3b0
 Message HMAC-SHA1 fingerprint: 0xc75cdfba
STUN Reply (buffer size = 65552)...
 Bad request (method 1638) message.
STUN Error Reply (buffer size: 65552)...
 Message HMAC-SHA1 message integrity:
  key     : 0x736563726574
  sent    : 0x6ef2a818fa3ae3429e4cf772858eb4f4b3fec853
 Message HMAC-SHA1 fingerprint: 0x71a303a8
 Error response (400) of 72 bytes
 Message HMAC-SHA1 message integrity:
  key     : 0x736563726574
  sent    : 0x9da7dc01c5bbc86d91e6e4c9c0f7dfc7182b3357
 Message HMAC-SHA1 fingerprint: 0x9a551709
STUN demux: OK!
Comparing username '0x4c3a52' (3) with '0x4c' (1) : 1
Comparing username '0x4c3a52' (3) with '0x4c3a52' (3) : 0
Found valid username, returning password : 'secret'
 Message HMAC-SHA1 fingerprint:
key     : 0x736563726574
  expected: 0x9da7dc01c5bbc86d91e6e4c9c0f7dfc7182b3357
  received: 0x9da7dc01c5bbc86d91e6e4c9c0f7dfc7182b3357
STUN auth: OK!
STUN unknown: attribute 0x0666(27 bytes)
STUN unknown: 1 mandatory attribute(s)!
 Message HMAC-SHA1 fingerprint: 0xcfe4289d
STUN demux: OK!
 Message HMAC-SHA1 message integrity:
  key     : 0x736563726574
  sent    : 0xc429653b115c29767b448ded5dec5578c819bdf5
 Message HMAC-SHA1 fingerprint: 0xe74561ad
STUN demux: OK!
 Message HMAC-SHA1 message integrity:
  key     : 0x736563726574
  sent    : 0xa60d9b109b3a9c05401541924a8659695479397e
 Message HMAC-SHA1 fingerprint: 0x2cb34c52
STUN Reply (buffer size = 65552)...
STUN Role not specified by peer!
 Message HMAC-SHA1 message integrity:
  key     : 0x736563726574
  sent    : 0xfcbade76b8465a45983343b9f333b145e1817995
 Message HMAC-SHA1 fingerprint: 0x3a3a5147
 All done (response size: 72)
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x736563726574
  expected: 0xfcbade76b8465a45983343b9f333b145e1817995
  received: 0xfcbade76b8465a45983343b9f333b145e1817995
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
 Message HMAC-SHA1 message integrity:
  key     : 0x736563726574
  sent    : 0x9b65eed0089b6a3a3255c5a857514906e02a04da
 Message HMAC-SHA1 fingerprint: 0x3f222dd4
STUN Reply (buffer size = 65552)...
STUN Role not specified by peer!
 Mapped address problem: 4
 Fatal error formatting Response: 4
 Message HMAC-SHA1 message integrity:
  key     : 0x736563726574
  sent    : 0x4cbfb0441916f6e817c4b3f844f681123dcdb0c0
 Message HMAC-SHA1 fingerprint: 0x3888bc45
STUN Reply (buffer size = 65552)...
STUN Role Conflict detected:
 switching role from "controlling" to "controlled"
 Message HMAC-SHA1 message integrity:
  key     : 0x736563726574
  sent    : 0x806b5a3ca93635e330423865a8aea4baf13a8a25
 Message HMAC-SHA1 fingerprint: 0xd60ed236
 All done (response size: 72)
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x736563726574
  expected: 0x806b5a3ca93635e330423865a8aea4baf13a8a25
  received: 0x806b5a3ca93635e330423865a8aea4baf13a8a25
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
 Message HMAC-SHA1 message integrity:
  key     : 0x736563726574
  sent    : 0xb4028ff7829f23f24f28fc0482cdc8cce880aa8e
 Message HMAC-SHA1 fingerprint: 0xaa7a2ed5
STUN Reply (buffer size = 65552)...
STUN Role Conflict detected:
 staying "controlled" (sending error)
STUN Error Reply (buffer size: 65552)...
 Message HMAC-SHA1 message integrity:
  key     : 0x736563726574
  sent    : 0x56e20073ab5de626e3bdcf5db0340e5516d3cc30
 Message HMAC-SHA1 fingerprint: 0x02824c38
 Error response (487) of 76 bytes
STUN demux: OK!
 Message HMAC-SHA1 fingerprint:
key     : 0x736563726574
  expected: 0x56e20073ab5de626e3bdcf5db0340e5516d3cc30
  received: 0x56e20073ab5de626e3bdcf5db0340e5516d3cc30
STUN auth: OK!
STUN unknown: 0 mandatory attribute(s)!
PASS: test-conncheck
HMAC of 'world' with key 'hello' is : 0x8a3a84bcd0d0065e97f175d370447c7d02e00973
Expected : 0x8a3a84bcd0d0065e97f175d370447c7d02e00973
SHA1 of 'abc' : 0xa9993e364706816aba3e25717850c26c9cd0d89d
Expected : 0xa9993e364706816aba3e25717850c26c9cd0d89d
MD5 of 'abc' : 0x0x900150983cd24fb0d6963f7d28e17f72
Expected : 0x900150983cd24fb0d6963f7d28e17f72
SHA1 of 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq' : 0x84983e441c3bd26ebaae4aa1f95129e5e54670f1
Expected : 0x84983e441c3bd26ebaae4aa1f95129e5e54670f1
MD5 of 'abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq' : 0x0x8215ef0796a20bcaaae116d3876c664a
Expected : 0x8215ef0796a20bcaaae116d3876c664a
PASS: test-hmac
===================
1 of 6 tests failed
===================


full build.log attached.
Comment 1 Nirbheek Chauhan 2009-04-08 03:17:44 UTC
0.0.6 seems to pass tests for me
Comment 2 Gilles Dartiguelongue 2009-04-11 03:06:23 UTC
confirming 0.0.6 passes tests for me as well.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.