-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make check error #39
Comments
Part of our testing infrastructure uses protobuf to represent test data. It appears that something is going wrong in the parsing or generation. Could you provide:
? Thanks, |
(edited by calfeld to remove config.log output for clarity. config.log at https://gist.github.com/calfeld/5678484) |
In the clipp subdirectory, please run
And provide output.txt. Thanks, |
Thanks |
Hi, The issue is mysterious. The only item that stands out is that you are using ruby 2.0 which we don't use much. Is it possible for you to try with a lower version of ruby? If you have a lower version installed, e.g., as ruby18, you could do
It might also helped if you e-mailed me (calfeld@qualys.com) one of the clipp_test_*.pb files in the clipp/tests directory. Thanks, c. |
Yes, after I tried ruby1.8.7, "make check" passed all the tests! Thank you very much for your patient reply. |
Good to hear. I'll update the configure test on Monday and close this item. |
Looks like there are protobuf related issues with both 1.9 and 2.0. I've added a configure warning (6c06293). |
I have successfully pass commonds below:
./autogen.sh
./configure --prefix=/usr/local/ironbee
make
but when i trying to make check, i got errors:
Failure:
test_response(TestFast) [/home/hyf/ironbee-master/clipp/tests/tc_fast.rb:108]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
</ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) /> expected to not match
<"CLIPP ANNOUNCE: rmessage\n2013-05-29T15:14:28.7841+0800 INFO - [22949] [tx:67bb163b-ff07-450b-a952-9bc7c02dc42a] [rule:"site/57f2b6d0-7783-012f-86c6-001f5b320164/9" rev:1] ACTION clipp_announce("rmessage") \n2013-05-29T15:14:28.7842+0800 INFO - [22949] [tx:67bb163b-ff07-450b-a952-9bc7c02dc42a] [rule:"site/57f2b6d0-7783-012f-86c6-001f5b320164/9" rev:1] ACTION fast("HelloWorld") \nCLIPP ANNOUNCE: rheader\n2013-05-29T15:14:28.7842+0800 INFO - [22949] [tx:67bb163b-ff07-450b-a952-9bc7c02dc42a] [rule:"site/57f2b6d0-7783-012f-86c6-001f5b320164/10" rev:1] ACTION clipp_announce("rheader") \n2013-05-29T15:14:28.7842+0800 INFO - [22949] [tx:67bb163b-ff07-450b-a952-9bc7c02dc42a] [rule:"site/57f2b6d0-7783-012f-86c6-001f5b320164/10" rev:1] ACTION fast("DEF") \n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "IronBee.CLIPP.PB.Input" because it is missing required fields: connection\nError generating input: Failed to parse input.\n">.
Failure:
test_multi_threaded(TestHolistic) [/home/hyf/ironbee-master/clipp/tests/tc_holistic.rb:254]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
</ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) /> expected to not match
<"Error generating input: Failed to parse input.\n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "IronBee.CLIPP.PB.Input" because it is missing required fields: connection\nError generating input: Failed to parse input.\n">.
Failure:
test_single_threaded(TestHolistic) [/home/hyf/ironbee-master/clipp/tests/tc_holistic.rb:243]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
</ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) /> expected to not match
<"Error generating input: Failed to parse input.\n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "IronBee.CLIPP.PB.Input" because it is missing required fields: connection\nError generating input: Failed to parse input.\n">.
Failure:
test_ipmatch6_11(TestOperators) [/home/hyf/ironbee-master/clipp/tests/tc_operators.rb:123]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
</ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) /> expected to not match
<"2013-05-29T15:14:28.9792+0800 NOTICE - [23033] [tx:4acd0449-a13c-40ec-a20b-4dc9506e9b23] Set hostname to local IP "1.2.3.4"\nCLIPP ANNOUNCE: ipmatch6_11a\n2013-05-29T15:14:28.9796+0800 INFO - [23033] [tx:4acd0449-a13c-40ec-a20b-4dc9506e9b23] [rule:"site/57f2b6d0-7783-012f-86c6-001f5b320164/1" rev:1] ACTION clipp_announce("ipmatch6_11a") \n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "IronBee.CLIPP.PB.Input" because it is missing required fields: connection\nError generating input: Failed to parse input.\n">.
Failure:
test_ipmatch_11(TestOperators) [/home/hyf/ironbee-master/clipp/tests/tc_operators.rb:85]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
</ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) /> expected to not match
<"2013-05-29T15:14:29.0538+0800 NOTICE - [23065] [tx:23ff18a4-3533-4343-a510-b1265007b6cc] Set hostname to local IP "1.2.3.4"\nCLIPP ANNOUNCE: ipmatch_11a\n2013-05-29T15:14:29.0541+0800 INFO - [23065] [tx:23ff18a4-3533-4343-a510-b1265007b6cc] [rule:"site/57f2b6d0-7783-012f-86c6-001f5b320164/1" rev:1] ACTION clipp_announce("ipmatch_11a") \n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "IronBee.CLIPP.PB.Input" because it is missing required fields: connection\nError generating input: Failed to parse input.\n">.
Failure:
test_ipmatch6_11(TestRegression) [/home/hyf/ironbee-master/clipp/tests/tc_regression.rb:173]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
</ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) /> expected to not match
<"2013-05-29T15:14:29.3915+0800 NOTICE - [23193] [tx:f6562b3f-7647-46ea-98db-fe72a657401a] Set hostname to local IP "1.2.3.4"\nCLIPP ANNOUNCE: ipmatch6_11a\n2013-05-29T15:14:29.3917+0800 INFO - [23193] [tx:f6562b3f-7647-46ea-98db-fe72a657401a] [rule:"site/57f2b6d0-7783-012f-86c6-001f5b320164/1" rev:1] ACTION clipp_announce("ipmatch6_11a") \n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "IronBee.CLIPP.PB.Input" because it is missing required fields: connection\nError generating input: Failed to parse input.\n">.
Failure:
test_ipmatch_11(TestRegression) [/home/hyf/ironbee-master/clipp/tests/tc_regression.rb:135]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
</ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) /> expected to not match
<"2013-05-29T15:14:29.4735+0800 NOTICE - [23225] [tx:f39660b8-1b54-4410-9cb7-eda8b1904a5d] Set hostname to local IP "1.2.3.4"\nCLIPP ANNOUNCE: ipmatch_11a\n2013-05-29T15:14:29.4737+0800 INFO - [23225] [tx:f39660b8-1b54-4410-9cb7-eda8b1904a5d] [rule:"site/57f2b6d0-7783-012f-86c6-001f5b320164/1" rev:1] ACTION clipp_announce("ipmatch_11a") \n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "IronBee.CLIPP.PB.Input" because it is missing required fields: connection\nError generating input: Failed to parse input.\n">.
Failure:
test_negative_content_length(TestRegression) [/home/hyf/ironbee-master/clipp/tests/tc_regression.rb:53]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
</ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) /> expected to not match
<"2013-05-29T15:14:29.5561+0800 NOTICE - [23257] [tx:bbc5fb33-2f12-4188-ba7b-88f55435dd71] Set hostname to local IP "1.2.3.4"\n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "IronBee.CLIPP.PB.Input" because it is missing required fields: connection\nError generating input: Failed to parse input.\n">.
Failure:
test_negative_content_length2(TestRegression) [/home/hyf/ironbee-master/clipp/tests/tc_regression.rb:68]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
</ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) /> expected to not match
<"2013-05-29T15:14:29.5975+0800 NOTICE - [23273] [tx:3b72287c-2d73-436f-a7b4-6b9f040fcb0e] Set hostname to local IP "1.2.3.4"\n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "IronBee.CLIPP.PB.Input" because it is missing required fields: connection\nError generating input: Failed to parse input.\n">.
Failure:
test_request_body_rule(TestRegression) [/home/hyf/ironbee-master/clipp/tests/tc_regression.rb:203]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
</ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) /> expected to not match
<"2013-05-29T15:14:29.6736+0800 NOTICE - [23305] [tx:398832e6-c336-4a41-8102-227b70f70e6c] Set hostname to local IP "1.2.3.4"\n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "IronBee.CLIPP.PB.Input" because it is missing required fields: connection\nError generating input: Failed to parse input.\n">.
Failure:
test_rule_engine_log_with_empty_header(TestRegression) [/home/hyf/ironbee-master/clipp/tests/tc_regression.rb:89]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
</ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) /> expected to not match
<"2013-05-29T15:14:29.7610+0800 NOTICE - [23337] [tx:1afa6499-f572-4201-8763-bb672f6b7711] Set hostname to local IP "1.2.3.4"\n[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "IronBee.CLIPP.PB.Input" because it is missing required fields: connection\nError generating input: Failed to parse input.\n">.
how does this happen and how to slove it?
The text was updated successfully, but these errors were encountered: