ironbee / ironbee

Universal web application security sensor intended for real-time monitoring and defense.
https://www.ironbee.com/
Apache License 2.0
304 stars 61 forks source link

make test error : ipset #42

Closed onexpiece closed 10 years ago

onexpiece commented 10 years ago

CentOS release 5.2 (Final) 2.6.18-92.el5 i386 GNU/Linux

==============================================
   ironbee 0.9.0: util/tests/test-suite.log
==============================================

# TOTAL: 33
# PASS:  32
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test_util_ipset
=====================

Running main() from gtest_main.cc
[==========] Running 10 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 10 tests from TestIPSet
[ RUN      ] TestIPSet.TrivialCreation
[       OK ] TestIPSet.TrivialCreation (0 ms)
[ RUN      ] TestIPSet.Simple4
[       OK ] TestIPSet.Simple4 (0 ms)
[ RUN      ] TestIPSet.Complex4
test_util_ipset.cpp:284: Failure
Value of: reinterpret_cast<const int*>(specific->data)
  Actual: NULL
Expected: &marker_c
Which is: 0x8092430
[  FAILED  ] TestIPSet.Complex4 (0 ms)
[ RUN      ] TestIPSet.Structured4
[       OK ] TestIPSet.Structured4 (167 ms)
[ RUN      ] TestIPSet.PositiveSet4
[       OK ] TestIPSet.PositiveSet4 (108 ms)
[ RUN      ] TestIPSet.Simple6
[       OK ] TestIPSet.Simple6 (0 ms)
[ RUN      ] TestIPSet.Complex6
test_util_ipset.cpp:487: Failure
Value of: reinterpret_cast<const int*>(specific->data)
  Actual: NULL
Expected: &marker_c
Which is: 0x8092424
[  FAILED  ] TestIPSet.Complex6 (0 ms)
[ RUN      ] TestIPSet.Structured6
[       OK ] TestIPSet.Structured6 (318 ms)
[ RUN      ] TestIPSet.PositiveSet6
[       OK ] TestIPSet.PositiveSet6 (107 ms)
[ RUN      ] TestIPSet.Inval
[       OK ] TestIPSet.Inval (0 ms)
[----------] 10 tests from TestIPSet (700 ms total)

[----------] Global test environment tear-down
[==========] 10 tests from 1 test case ran. (700 ms total)
[  PASSED  ] 8 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] TestIPSet.Complex4
[  FAILED  ] TestIPSet.Complex6

 2 FAILED TESTS
Test ./test_util_ipset exited non-zero. See test_util_ipset_stderr.log for details.

test_util_ipset_stderr.log is empty.

b1v1r commented 10 years ago

Assigning to Chris to take a look. Thanks!

calfeld-zz commented 10 years ago

This is a strange and worrying failure. Unfortunately, I am unable to reproduce it.

onexpiece: Could you send me (calfeld@qualys.com) your config.log file and libc version?

calfeld-zz commented 10 years ago

Closing as unable to reproduce. onexpiece, please reopen with additional information when able.