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

Test failures on FreeBSD 11 #51

Open
DanielO opened this issue Apr 8, 2018 · 0 comments
Open

Test failures on FreeBSD 11 #51

DanielO opened this issue Apr 8, 2018 · 0 comments

Comments

@DanielO
Copy link

DanielO commented Apr 8, 2018

Hi,
I built this on a vanilla amd64 FreeBSD 11 system with no issues but the tests fail, ie

[vm11 6:28] ~/nopoll/test >./nopoll-regression-client
** NoPoll: Websocket toolkit (regression test).
** Copyright (C) 2015 Advanced Software Production Line, S.L.
**
** NoPoll regression tests: version=0.4.6.b400
**
** To gather information about time performance you can use:
**
**     >> time ./nopoll-regression-client [--debug,--show-critical-only]
**
** To gather information about memory consumed (and leaks) use:
**
**     >> libtool --mode=execute valgrind --leak-check=yes --error-limit=no ./nopoll-regression-client
**
**
** Report bugs to:
**
**     <[email protected]> noPoll mailing list
**
**     <[email protected]> ASPL's contact
**
INFO: install default threading functions to check noPoll locking code..
INFO: starting tests with pid: 8548
Test 01-strings: Library strings support [   OK   ]
Test 01-base64: Library base64 support [   OK   ]
Test-01 masking: using masking value 1408992891
Test 01 masking: found mask in the buffer 1408992891 == 1408992891
Test 01-masking: Library websocket content masking support [   OK   ]
Test 01: reference counting for the connection: 2
Test 01: Simple connect and disconnect [   OK   ]
Test 02: sending basic content..
Test 02: Simple request/reply [   OK   ]
Test 02a: connecting IPv6 (::1:2234)..
Test 02a: sending basic content..
Test 02a: Simple request/reply (IPv6) [   OK   ]
Test 02-b: creating connection localhost:1234 (errno=0)
Test 02-b: waiting until connection is ok (errno=57)
Test 02-b: sending content..
Test 02-b: received reply and echo matches..
Test 02-b: connection ready, sending PING frame (errno=0)..
Test 02-b: sending content..
Test 02-b: received reply and echo matches..
Test 02b: test sending ping [   OK   ]
Test 03: sending basic content..
Test 03: now reading reply..
Test 03: test streaming api [   OK   ]
Test 04: running test with chunk_size=1024
Test 04: creating connection to download file..
Test 04: sending get-file..
Test 04: stat file (nopoll-regression-client.c = 105815 bytes)
Test 04: checking content download (chunk_size=1024)...
Test 04: about to run diff nopoll-regression-client.c tmp > /dev/null
Test 04: test streaming api (II) [   OK   ]
Test 04: running test with chunk_size=512
Test 04: creating connection to download file..
Test 04: sending get-file..
Test 04: stat file (nopoll-regression-client.c = 105815 bytes)
Test 04: checking content download (chunk_size=512)...
Test 04: about to run diff nopoll-regression-client.c tmp > /dev/null
Test 04-a: test streaming api (III) [   OK   ]
Test 04: running test with chunk_size=137
Test 04: creating connection to download file..
Test 04: sending get-file..
Test 04: stat file (nopoll-regression-client.c = 105815 bytes)
Test 04: checking content download (chunk_size=137)...
Test 04: about to run diff nopoll-regression-client.c tmp > /dev/null
ERROR: failed to download file from server, content differs. Check: diff nopoll-regression-client.c tmp
Test 04-b: test streaming api (IV) [ FAILED ]

and..

[vm11 6:27] ~/nopoll/test >./nopoll-regression-listener
INFO: install default threading functions to check noPoll locking code..
noPoll listener started at: 0.0.0.0:1234 (refs: 2)..
noPoll listener started at (IPv6): ::1:2234 (refs: 2)..
Test: starting listener with TLS (TLSv1) at :1235
Test: starting listener with TLS IPv6 (TLSv1) at :2235
Test: starting listener with TLS (SSLv23) at :1236 (all methods)
Test: starting listener with TLS (SSLv3) at :1237
Test: starting listener with TLS (TLSv1.1) at :1238
Test: starting listener with TLS (TLSv1.1) (IPv6) at :2238
Test: starting listener with TLS (TLSv1.2) at :1240
Requested protocol: (null)
Reg test: called connection close (TLS: 0)..
Requested protocol: (null)
Listener received (size: 14, ctx refs: 12): (first 14 bytes, fragment: 0) 'This is a test'
Sending reply... (same message size: 14)
Reg test: called connection close (TLS: 0)..
Requested protocol: (null)
Listener received (size: 14, ctx refs: 12): (first 14 bytes, fragment: 0) 'This is a test'
Sending reply... (same message size: 14)
Reg test: called connection close (TLS: 0)..
Requested protocol: (null)
Listener received (size: 14, ctx refs: 12): (first 14 bytes, fragment: 0) 'This is a test'
Sending reply... (same message size: 14)
Listener received (size: 14, ctx refs: 12): (first 14 bytes, fragment: 0) 'This is a test'
Sending reply... (same message size: 14)
Reg test: called connection close (TLS: 0)..
Requested protocol: (null)
Listener received (size: 14, ctx refs: 12): (first 14 bytes, fragment: 0) 'This is a test'
Sending reply... (same message size: 14)
Reg test: called connection close (TLS: 0)..
Requested protocol: (null)
Listener received (size: 8, ctx refs: 12): (first 8 bytes, fragment: 0) 'get-file'
LISTENER: file pointer (0x801845ca0, errno=0 : No error: 0)..
Reg test: called connection close (TLS: 0)..
Requested protocol: (null)
Listener received (size: 8, ctx refs: 12): (first 8 bytes, fragment: 0) 'get-file'
LISTENER: file pointer (0x801845ca0, errno=0 : No error: 0)..
Reg test: called connection close (TLS: 0)..
Requested protocol: (null)
Listener received (size: 8, ctx refs: 12): (first 8 bytes, fragment: 0) 'get-file'
LISTENER: file pointer (0x801845ca0, errno=0 : No error: 0)..
Reg test: called connection close (TLS: 0)..
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