Skip to content
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

packet_parser_tests fails in R18 #90

Open
krestenkrab opened this issue Dec 8, 2015 · 0 comments
Open

packet_parser_tests fails in R18 #90

krestenkrab opened this issue Dec 8, 2015 · 0 comments

Comments

@krestenkrab
Copy link
Contributor

So, @eriksoe - it looks like we have a networking issue on R18. The tail is now ..., http_eoh, {recv_error,timeout}]. But sometimes the value does not include the last headers.

Kresten

** Erjang 18 **  [root:/usr/local/lib/erlang] [erts:7.1] [smp S:2 A:10] [java:1.7.0_51] [unicode]
-
=ERROR REPORT==== 8-Dec-2015::15:12:37 ===
handle_Info({'DOWN',#Ref<nonode@nohost.0.0.0.24>,process,<0.0.481>,enoent}, _)\
=ERROR REPORT==== 8-Dec-2015::15:12:38 ===
handle_Info({'DOWN',#Ref<nonode@nohost.0.0.0.27>,process,<0.0.483>,enoent}, _)Eshell V7.1  (abort with ^G)
1> packet_parser_tests:test().
========== Running test suite packet_parser_tests ==========
---------- Running test http_parser_wholesend_test ----------
DB| Server: error timeout
:) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :)      ----- Test http_parser_wholesend_test SUCCEEDED -----
---------- Running test http_parser_splitsend_test ----------
DB| Server: error timeout
:) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) *** Exception: {assertion_failed,
                   {line,44},
                   {expr,"M"},
                   {expected_pattern,
                       "[ { http_request , 'GET' , { abs_path , << \"/foo\" >> } , { 1 , 1 } } , { http_header , _ , << \"Header1\" >> , _ , << \"Value1\" >> } , { http_header , _ , << \"Verylongheadernameyesindeed\" >> , _ , << \"And then some long value, just like, you, know, ...\" >> } , http_eoh ]"},
                   {actual_value,
                       [{http_request,'GET',{abs_path,<<"/foo">>},{1,1}},
                        {http_header,0,<<"Header1">>,undefined,<<"Value1">>},
                        {http_header,0,<<"Verylongheadernameyesindeed">>,
                            undefined,
                            <<"And then some long value, just like, you, know, ...">>},
                        http_eoh,
                        {recv_error,timeout}]}}
*** Trace: [{packet_parser_tests,'-do_test_http_parser/2-fun-1-',1,
                                 [{file,"packet_parser_tests.erl"},{line,-1}]},
            {packet_parser_tests,'-do_test_http_parser/2-fun-2-',1,
                                 [{file,"packet_parser_tests.erl"},{line,41}]},
            {lists,foreach,2,[{file,"lists.erl"},{line,1337}]},
            {packet_parser_tests,do_test_http_parser,2,
                                 [{file,"packet_parser_tests.erl"},{line,40}]},
            {packet_parser_tests,'-eunit_test/1-fun-0-',1,
                                 [{file,"packet_parser_tests.erl"},{line,11}]},
            {lists,map,3,[]},
            {packet_parser_tests,eunit_test,1,
                                 [{file,"packet_parser_tests.erl"},{line,9}]},
            {erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,673}]},
            {shell,exprs,7,[{file,"shell.erl"},{line,686}]},
            {shell,eval_exprs,7,[{file,"shell.erl"},{line,641}]},
            {shell,eval_loop,3,[{file,"shell.erl"},{line,626}]}]
     ----- Test http_parser_splitsend_test FAILED -----
     ===== Test suite packet_parser_tests: Tests: 2  Failed: 1 =====
** exception exit: {test_suite_failed,packet_parser_tests,
                                      [http_parser_splitsend_test]}
     in function  packet_parser_tests:eunit_test/1 (packet_parser_tests.erl, line 33)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant