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

Tests are failing on ppc64le #46

Open
rashmi-ibm opened this issue Oct 3, 2019 · 0 comments
Open

Tests are failing on ppc64le #46

rashmi-ibm opened this issue Oct 3, 2019 · 0 comments

Comments

@rashmi-ibm
Copy link

Can you please help to give more details on the below errors for test failures.
Trying to run this module on ppc64le.

t/count.t ... 1/18 WARNING: TEST 1: module size of resty.websocket.protocol - 2019/10/03 13:04:48 [warn] 15632#0: *1 [lua] _G write guard:12: __newindex(): writing a global lua variable ('n') which may lead to race conditions between concurrent requests, so prefer the use of 'local' variables
WARNING: TEST 2: module size of resty.websocket.client - 2019/10/03 13:04:48 [warn] 15648#0: *1 [lua] _G write guard:12: __newindex(): writing a global lua variable ('n') which may lead to race conditions between concurrent requests, so prefer the use of 'local' variables
t/count.t ... 13/18 WARNING: TEST 3: module size of resty.websocket.server - 2019/10/03 13:04:50 [warn] 15792#0: *1 [lua] _G write guard:12: __newindex(): writing a global lua variable ('n') which may lead to race conditions between concurrent requests, so prefer the use of 'local' variables
t/count.t ... ok
t/cs.t ...... 1/236
Failed test 'TEST 15: text frame (send masked frames on the server side) - pattern "recv_frame: mask bit: 1" should match a line in error.log (req 0)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 15: text frame (send masked frames on the server side) - pattern "recv_frame: mask bit: 1" should match a line in error.log (req 1)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.
t/cs.t ...... 13/236
Failed test 'TEST 18: directly calling close() without sending the close frame ourselves - pattern "sending the close frame" should match a line in error.log (req 0)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 18: directly calling close() without sending the close frame ourselves - pattern "sending the close frame" should match a line in error.log (req 1)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.
t/cs.t ...... 35/236
Failed test 'TEST 13: reused upstream websocket connections (set_keepalive) - pattern "recv_frame: mask bit: 0" should match a line in error.log (req 0)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 13: reused upstream websocket connections (set_keepalive) - pattern "recv_frame: mask bit: 1" should match a line in error.log (req 0)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 13: reused upstream websocket connections (set_keepalive) - pattern "recv_frame: mask bit: 0" should match a line in error.log (req 1)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 13: reused upstream websocket connections (set_keepalive) - pattern "recv_frame: mask bit: 1" should match a line in error.log (req 1)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.
t/cs.t ...... 73/236
Failed test 'TEST 17: close frame (without msg body) + close() - pattern "sending the close frame" should match a line in error.log (req 0)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 17: close frame (without msg body) + close() - pattern "sending the close frame" should match a line in error.log (req 1)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 1: text frame - pattern "recv_frame: mask bit: 0" should match a line in error.log (req 0)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 1: text frame - pattern "recv_frame: mask bit: 1" should match a line in error.log (req 0)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 1: text frame - pattern "recv_frame: mask bit: 0" should match a line in error.log (req 1)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 1: text frame - pattern "recv_frame: mask bit: 1" should match a line in error.log (req 1)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.
t/cs.t ...... 120/236
Failed test 'TEST 14: pool option - pattern "lua tcp socket keepalive create connection pool for key "my_conn_pool"" should match a line in error.log (req 0)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 14: pool option - pattern "lua tcp socket keepalive create connection pool for key "my_conn_pool"" should match a line in error.log (req 1)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.
t/cs.t ...... 197/236
Failed test 'TEST 16: text frame (send unmasked frames on the client side) - pattern "recv_frame: mask bit: 0" should match a line in error.log (req 0)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.

Failed test 'TEST 16: text frame (send unmasked frames on the client side) - pattern "recv_frame: mask bit: 0" should match a line in error.log (req 1)'
at /usr/local/share/perl5/Test/Nginx/Socket.pm line 1213.
t/cs.t ...... 229/236 # Looks like you failed 18 tests of 236.
t/cs.t ...... Dubious, test returned 18 (wstat 4608, 0x1200)
Failed 18/236 subtests
(less 2 skipped subtests: 216 okay)
t/sanity.t .. 1/324 WARNING: TEST 17: exceeding the default 65535 max frame len limit (65536 bytes) - HTTP response read failure: Connection reset by peer at /usr/local/share/perl5/Test/Nginx/Socket.pm line 2165.
WARNING: TEST 17: exceeding the default 65535 max frame len limit (65536 bytes) - HTTP response read failure: Connection reset by peer at /usr/local/share/perl5/Test/Nginx/Socket.pm line 2165.
t/sanity.t .. ok

Test Summary Report

t/cs.t (Wstat: 4608 Tests: 236 Failed: 18)
Failed tests: 3, 9, 26, 31, 51-52, 57-58, 82, 87, 99-100
105-106, 152, 158, 198, 203
Non-zero exit status: 18
Files=3, Tests=578, 19 wallclock secs ( 0.11 usr 0.02 sys + 2.10 cusr 0.99 csys = 3.22 CPU)
Result: FAIL

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