Comments (8)
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:
- The complete output of 'make check' in the clipp subdirectory.
- Your configure.log.
?
Thanks,
c.
from ironbee.
- There are many outputs of "make check" in the clipp subdirectory which are like clipp_test_{number}.clipp.
- config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
(edited by calfeld to remove config.log output for clarity. config.log at https://gist.github.com/calfeld/5678484)
from ironbee.
In the clipp subdirectory, please run
make clean
make check >& output.txt
And provide output.txt.
Thanks,
c.
from ironbee.
cat output.txt
make check-am
make[1]: Entering directory `/home/hyf/ironbee-master/clipp'
make check-local
make[2]: Entering directory `/home/hyf/ironbee-master/clipp'
(cd ./tests; abs_builddir=/home/hyf/ironbee-master/clipp abs_top_builddir=/home/hyf/ironbee-master /usr/local/bin/ruby ./ts_all.rb --verbose )
Generating 1000 samples request/response pairs.
Finished in 10.942746 seconds
Run options: --verbose
# Running tests:
TestFast#test_contradiction = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_9569.clipp
0.04 s = .
TestFast#test_falseinject = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_6224.clipp
0.04 s = .
TestFast#test_headers = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_939.clipp
0.04 s = .
TestFast#test_load = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_8559.clipp
0.04 s = .
TestFast#test_load_automata = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_8119.clipp
0.04 s = .
TestFast#test_multiple = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_2948.clipp
0.04 s = .
TestFast#test_nonfast = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_5537.clipp
0.04 s = .
TestFast#test_response = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_393.clipp
0.04 s = F
TestFast#test_without_fast = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_7496.clipp
0.04 s = .
TestHolistic#test_multi_threaded = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_3474.clipp
0.04 s = F
TestHolistic#test_single_threaded = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_3731.clipp
0.04 s = F
TestOperators#test_imatch = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_2424.clipp
0.04 s = .
TestOperators#test_ipmatch6_11 = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_8951.clipp
0.04 s = F
TestOperators#test_ipmatch_09 = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_7900.clipp
0.04 s = .
TestOperators#test_ipmatch_11 = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_1212.clipp
0.04 s = F
TestOperators#test_istreq = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_1968.clipp
0.05 s = .
TestOperators#test_match = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_5062.clipp
0.04 s = .
TestOperators#test_streq = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_3188.clipp
0.04 s = .
TestRegression#test_basic_rule = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_6846.clipp
0.04 s = .
TestRegression#test_body_before_header = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_3466.clipp
0.04 s = .
TestRegression#test_empty_header = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_7589.clipp
0.04 s = .
TestRegression#test_http09 = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_8997.clipp
0.04 s = .
TestRegression#test_ipmatch6_11 = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_2516.clipp
0.04 s = F
TestRegression#test_ipmatch_09 = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_9303.clipp
0.04 s = .
TestRegression#test_ipmatch_11 = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_4527.clipp
0.04 s = F
TestRegression#test_manyblank = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_1591.clipp
0.04 s = .
TestRegression#test_negative_content_length = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_8385.clipp
0.04 s = F
TestRegression#test_negative_content_length2 = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_3437.clipp
0.04 s = F
TestRegression#test_parse_http09 = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_2213.clipp
0.03 s = .
TestRegression#test_request_body_rule = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_1900.clipp
0.04 s = F
TestRegression#test_response_no_response_line = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_9631.clipp
0.04 s = .
TestRegression#test_rule_engine_log_with_empty_header = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_8611.clipp
0.04 s = F
TestRegression#test_trivial = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_8188.clipp
0.04 s = .
TestTesting#test_clipp_header = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_9722.clipp
0.04 s = .
TestTesting#test_erb = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_8751.clipp
0.03 s = .
TestTesting#test_input_hashes = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_6211.clipp
0.04 s = .
TestTesting#test_log_count = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_1541.clipp
0.03 s = .
TestTesting#test_simple_hash = /home/hyf/ironbee-master/clipp/clipp -c /home/hyf/ironbee-master/clipp/clipp_test_416.clipp
0.03 s = .
Finished tests in 1.488872s, 25.5227 tests/s, 77.2397 assertions/s.
1) Failure:
test_response(TestFast) [/home/hyf/ironbee-master/clipp/tests/tc_fast.rb:108]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
expected to not match
<"CLIPP ANNOUNCE: rmessage\n2013-05-31T13:38:34.4173+0800 INFO - [1911] [tx:77a65212-9729-45fd-90cc-2d46300f0684] [rule:\"site/57f2b6d0-7783-012f-86c6-001f5b320164/9\" rev:1] ACTION clipp_announce(\"rmessage\") \n2013-05-31T13:38:34.4174+0800 INFO - [1911] [tx:77a65212-9729-45fd-90cc-2d46300f0684] [rule:\"site/57f2b6d0-7783-012f-86c6-001f5b320164/9\" rev:1] ACTION fast(\"HelloWorld\") \nCLIPP ANNOUNCE: rheader\n2013-05-31T13:38:34.4175+0800 INFO - [1911] [tx:77a65212-9729-45fd-90cc-2d46300f0684] [rule:\"site/57f2b6d0-7783-012f-86c6-001f5b320164/10\" rev:1] ACTION clipp_announce(\"rheader\") \n2013-05-31T13:38:34.4175+0800 INFO - [1911] [tx:77a65212-9729-45fd-90cc-2d46300f0684] [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">.
2) Failure:
test_multi_threaded(TestHolistic) [/home/hyf/ironbee-master/clipp/tests/tc_holistic.rb:254]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
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">.
3) Failure:
test_single_threaded(TestHolistic) [/home/hyf/ironbee-master/clipp/tests/tc_holistic.rb:243]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
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">.
4) Failure:
test_ipmatch6_11(TestOperators) [/home/hyf/ironbee-master/clipp/tests/tc_operators.rb:123]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
expected to not match
<"2013-05-31T13:38:34.6103+0800 NOTICE - [2000] [tx:29b0bc80-f2f8-4005-8b17-16e4391e97b1] Set hostname to local IP \"1.2.3.4\"\nCLIPP ANNOUNCE: ipmatch6_11a\n2013-05-31T13:38:34.6106+0800 INFO - [2000] [tx:29b0bc80-f2f8-4005-8b17-16e4391e97b1] [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">.
5) Failure:
test_ipmatch_11(TestOperators) [/home/hyf/ironbee-master/clipp/tests/tc_operators.rb:85]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
expected to not match
<"2013-05-31T13:38:34.6853+0800 NOTICE - [2033] [tx:9e93855f-59fd-4273-a6c8-d7e79f16ebb6] Set hostname to local IP \"1.2.3.4\"\nCLIPP ANNOUNCE: ipmatch_11a\n2013-05-31T13:38:34.6856+0800 INFO - [2033] [tx:9e93855f-59fd-4273-a6c8-d7e79f16ebb6] [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">.
6) Failure:
test_ipmatch6_11(TestRegression) [/home/hyf/ironbee-master/clipp/tests/tc_regression.rb:173]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
expected to not match
<"2013-05-31T13:38:35.0027+0800 NOTICE - [2163] [tx:7ba10bec-2c80-4553-9771-03a00c6980ab] Set hostname to local IP \"1.2.3.4\"\nCLIPP ANNOUNCE: ipmatch6_11a\n2013-05-31T13:38:35.0030+0800 INFO - [2163] [tx:7ba10bec-2c80-4553-9771-03a00c6980ab] [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">.
7) Failure:
test_ipmatch_11(TestRegression) [/home/hyf/ironbee-master/clipp/tests/tc_regression.rb:135]:
/ (EMERGENCY|CRITICAL|ALERT|ERROR|WARNING) / was found in log..
expected to not match
<"2013-05-31T13:38:35.0781+0800 NOTICE - [2196] [tx:cb936a2f-ff65-4dd7-9d06-a573236f807c] Set hostname to local IP \"1.2.3.4\"\nCLIPP ANNOUNCE: ipmatch_11a\n2013-05-31T13:38:35.0784+0800 INFO - [2196] [tx:cb936a2f-ff65-4dd7-9d06-a573236f807c] [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">.
8) 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..
expected to not match
<"2013-05-31T13:38:35.1545+0800 NOTICE - [2228] [tx:02aae03f-6a39-43f8-bea5-60144038e749] 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">.
9) 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..
expected to not match
<"2013-05-31T13:38:35.1937+0800 NOTICE - [2244] [tx:793b461c-bf86-4ef1-abc6-14271c85c640] 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">.
10) 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..
expected to not match
<"2013-05-31T13:38:35.2668+0800 NOTICE - [2282] [tx:d230294f-8b17-4fb5-8f94-56bfa708e575] 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">.
11) 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..
expected to not match
<"2013-05-31T13:38:35.3434+0800 NOTICE - [2326] [tx:f5bc9c14-3c1c-4ad6-bb1c-039aacd0660c] 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">.
38 tests, 115 assertions, 11 failures, 0 errors, 0 skips
ruby -v: ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]
make[2]: *** [check-local] Error 11
make[2]: Leaving directory `/home/hyf/ironbee-master/clipp'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/hyf/ironbee-master/clipp'
make: *** [check] Error 2
Thanks
afu
from ironbee.
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
make check RUBY=ruby18
It might also helped if you e-mailed me ([email protected]) one of the clipp_test_*.pb files in the clipp/tests directory.
Thanks, c.
from ironbee.
Yes, after I tried ruby1.8.7, "make check" passed all the tests!
Thank you very much for your patient reply.
from ironbee.
Good to hear. I'll update the configure test on Monday and close this item.
from ironbee.
Looks like there are protobuf related issues with both 1.9 and 2.0. I've added a configure warning (6c06293).
from ironbee.
Related Issues (20)
- ironbee dies if there is a body in response to HEAD request HOT 5
- File descriptor leak fix HOT 3
- Sync libinjection to latest HOT 4
- sync libinjection to 1.1.0 HOT 6
- Sync libinjection to 1.2.0 HOT 1
- make nginx error HOT 11
- make test error : ipset HOT 3
- include rex_pcre error HOT 9
- nginx reload causes complete failure of all requests HOT 14
- "unknown directive ironbee_loglevel" in nginx HOT 3
- Register Directive Error HOT 3
- nginx/1.7.0 and ironbee logging problem HOT 16
- ld command not picking boost libraries HOT 1
- centos 6.5 make errors out with error libironbee_la-core.lo HOT 12
- Ubuntu 14.04 error HOT 2
- Nginx with Ironbee rpms HOT 8
- Cannot find mod_ironbee.so
- Getting errors while executing the 'make' command
- Site dead? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ironbee.