Log
[1m===> Testing for php74-sockets-7.4.1[0m
Build complete.
Don't forget to run 'make test'.
=====================================================================
PHP : /usr/local/bin/php
PHP_SAPI : cli
PHP_VERSION : 7.4.1
ZEND_VERSION: 3.4.0
PHP_OS : MidnightBSD - MidnightBSD m1264 1.2 MidnightBSD 1.2 #1 r12277: Sun Oct 20 12:57:50 EDT 2019 laffer1@m1264:/usr/obj/usr/src/sys/GENERIC amd64
INI actual : /magus/work/usr/mports/net/php74-sockets/work/php-7.4.1/ext/sockets/tmp-php.ini
More .INIs :
CWD : /magus/work/usr/mports/net/php74-sockets/work/php-7.4.1/ext/sockets
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2020-05-21 23:57:46
=====================================================================
TEST 1/83 [tests/ai_idn_deprecation.phpt]
SKIP AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES are deprecated [tests/ai_idn_deprecation.phpt] reason: AI_IDN_ALLOW_UNASSIGNED not defined
TEST 2/83 [tests/bug46360.phpt]
PASS Bug 46360 - TCP_NODELAY constant (sock_get_option, sock_set_option) [tests/bug46360.phpt]
TEST 3/83 [tests/bug49341.phpt]
PASS Bug #49341: add SO_REUSEPORT support for socket_set_option() [tests/bug49341.phpt]
TEST 4/83 [tests/bug51958.phpt]
SKIP Bug #51958: socket_accept() fails on IPv6 server sockets [tests/bug51958.phpt] reason: test relies Winsock's error code for WSAEWOULDBLOCK/EAGAIN
TEST 5/83 [tests/bug63000.phpt]
FAIL Bug #63000: Multicast on OSX [tests/bug63000.phpt]
TEST 6/83 [tests/bug76839.phpt]
PASS Bug #76839: socket_recvfrom may return an invalid 'from' address on MacOS [tests/bug76839.phpt]
TEST 7/83 [tests/ipv4loop.phpt]
PASS IPv4 Loopback test [tests/ipv4loop.phpt]
TEST 8/83 [tests/ipv6loop.phpt]
PASS IPv6 Loopback test [tests/ipv6loop.phpt]
TEST 9/83 [tests/mcast_ipv4_recv.phpt]
SKIP Multicast support: IPv4 receive options [tests/mcast_ipv4_recv.phpt] reason: interface 'lo' is unavailable.
TEST 10/83 [tests/mcast_ipv4_send.phpt]
PASS Multicast support: IPv4 send options [tests/mcast_ipv4_send.phpt]
TEST 11/83 [tests/mcast_ipv4_send_error.phpt]
PASS Multicast support: IPv4 send options with unusual values [tests/mcast_ipv4_send_error.phpt]
TEST 12/83 [tests/mcast_ipv6_recv.phpt]
SKIP Multicast support: IPv6 receive options [tests/mcast_ipv6_recv.phpt] reason: unable to join multicast group on any interface.
TEST 13/83 [tests/mcast_ipv6_recv_limited.phpt]
SKIP Multicast support: IPv6 receive options (limited) [tests/mcast_ipv6_recv_limited.phpt] reason: unable to join multicast group on any interface.
TEST 14/83 [tests/mcast_ipv6_send.phpt]
PASS Multicast support: IPv6 send options [tests/mcast_ipv6_send.phpt]
TEST 15/83 [tests/socket_abstract_path.phpt]
SKIP Support for paths in the abstract namespace (bind, connect) [tests/socket_abstract_path.phpt] reason: For Linux only
TEST 16/83 [tests/socket_abstract_path_sendmsg.phpt]
SKIP Support for paths in the abstract namespace (bind, sendmsg, recvmsg) [tests/socket_abstract_path_sendmsg.phpt] reason: For Linux only
TEST 17/83 [tests/socket_addrinfo_bind.phpt]
PASS Test socket_addrinfo_bind() [tests/socket_addrinfo_bind.phpt]
TEST 18/83 [tests/socket_addrinfo_connect.phpt]
PASS Test socket_addrinfo_connect() [tests/socket_addrinfo_connect.phpt]
TEST 19/83 [tests/socket_addrinfo_explain.phpt]
PASS Test socket_addrinfo_explain() [tests/socket_addrinfo_explain.phpt]
TEST 20/83 [tests/socket_addrinfo_lookup.phpt]
PASS Test socket_addrinfo_lookup() [tests/socket_addrinfo_lookup.phpt]
TEST 21/83 [tests/socket_bind.phpt]
PASS ext/sockets - socket_bind - basic test [tests/socket_bind.phpt]
TEST 22/83 [tests/socket_clear_error-win32.phpt]
SKIP void socket_clear_error ([ resource $socket ] ) ; [tests/socket_clear_error-win32.phpt] reason: windows only test
TEST 23/83 [tests/socket_clear_error.phpt]
PASS void socket_clear_error ([ resource $socket ] ) ; [tests/socket_clear_error.phpt]
TEST 24/83 [tests/socket_cmsg_credentials.phpt]
SKIP recvmsg(): receive SCM_CREDENTIALS messages [tests/socket_cmsg_credentials.phpt] reason: SO_PASSCRED is not defined
TEST 25/83 [tests/socket_cmsg_rights.phpt]
PASS recvmsg(): receive SCM_CREDENTIALS messages [tests/socket_cmsg_rights.phpt]
TEST 26/83 [tests/socket_connect_params.phpt]
PASS ext/sockets - socket_connect - test with empty parameters [tests/socket_connect_params.phpt]
TEST 27/83 [tests/socket_create_listen-nobind.phpt]
SKIP Test if socket_create_listen() returns false, when it cannot bind to the port. [tests/socket_create_listen-nobind.phpt] reason: Test cannot be run as root.
TEST 28/83 [tests/socket_create_listen-win32.phpt]
SKIP Test if socket binds on 31338 [tests/socket_create_listen-win32.phpt] reason: .. Not valid for non Windows
TEST 29/83 [tests/socket_create_listen.phpt]
PASS Test if socket binds on 31338 [tests/socket_create_listen.phpt]
TEST 30/83 [tests/socket_create_listen_used.phpt]
PASS ext/sockets - socket_create_listen - test for used socket [tests/socket_create_listen_used.phpt]
TEST 31/83 [tests/socket_create_pair-wrongparams-win32.phpt]
SKIP Test parameter handling in socket_create_pair() [tests/socket_create_pair-wrongparams-win32.phpt] reason: .. Not valid for non Windows
TEST 32/83 [tests/socket_create_pair-wrongparams.phpt]
PASS Test parameter handling in socket_create_pair() [tests/socket_create_pair-wrongparams.phpt]
TEST 33/83 [tests/socket_create_pair.phpt]
PASS Test for socket_create_pair() [tests/socket_create_pair.phpt]
TEST 34/83 [tests/socket_export_stream-1.phpt]
PASS socket_export_stream: Basic test [tests/socket_export_stream-1.phpt]
TEST 35/83 [tests/socket_export_stream-2.phpt]
PASS socket_export_stream: Bad arguments [tests/socket_export_stream-2.phpt]
TEST 36/83 [tests/socket_export_stream-3.phpt]
SKIP socket_export_stream: Test with multicasting [tests/socket_export_stream-3.phpt] reason: joining group 224.0.0.23 on interface lo failed
TEST 37/83 [tests/socket_export_stream-4-win.phpt]
SKIP socket_export_stream: effects of closing [tests/socket_export_stream-4-win.phpt] reason: Not Valid for Linux
TEST 38/83 [tests/socket_export_stream-4.phpt]
PASS socket_export_stream: effects of closing [tests/socket_export_stream-4.phpt]
TEST 39/83 [tests/socket_export_stream-5.phpt]
SKIP socket_export_stream: effects of leaked handles [tests/socket_export_stream-5.phpt] reason: only for debug builds
TEST 40/83 [tests/socket_getopt.phpt]
PASS mixed socket_getopt( resource $socket , int $level , int $optname ) ; [tests/socket_getopt.phpt]
TEST 41/83 [tests/socket_getpeername.phpt]
PASS ext/sockets - socket_getpeername - basic test [tests/socket_getpeername.phpt]
TEST 42/83 [tests/socket_getpeername_ipv4loop.phpt]
PASS ext/sockets - socket_getpeername_ipv4loop - basic test [tests/socket_getpeername_ipv4loop.phpt]
TEST 43/83 [tests/socket_getpeername_ipv6loop.phpt]
PASS ext/sockets - socket_getpeername_ipv6loop - basic test [tests/socket_getpeername_ipv6loop.phpt]
TEST 44/83 [tests/socket_getsockname.phpt]
PASS ext/sockets - socket_getsockname - basic test [tests/socket_getsockname.phpt]
TEST 45/83 [tests/socket_import_stream-1.phpt]
PASS socket_import_stream: Basic test [tests/socket_import_stream-1.phpt]
TEST 46/83 [tests/socket_import_stream-2.phpt]
PASS socket_import_stream: Bad arguments [tests/socket_import_stream-2.phpt]
TEST 47/83 [tests/socket_import_stream-3.phpt]
SKIP socket_import_stream: Test with multicasting [tests/socket_import_stream-3.phpt] reason: joining group 224.0.0.23 on interface lo failed
TEST 48/83 [tests/socket_import_stream-4-win.phpt]
SKIP socket_import_stream: effects of closing [tests/socket_import_stream-4-win.phpt] reason: Not Valid for Linux
TEST 49/83 [tests/socket_import_stream-4.phpt]
PASS socket_import_stream: effects of closing [tests/socket_import_stream-4.phpt]
TEST 50/83 [tests/socket_import_stream-5.phpt]
SKIP socket_import_stream: effects of leaked handles [tests/socket_import_stream-5.phpt] reason: only for debug builds
TEST 51/83 [tests/socket_listen-wrongparams.phpt]
PASS Test parameter handling in socket_listen(). [tests/socket_listen-wrongparams.phpt]
TEST 52/83 [tests/socket_read_params.phpt]
PASS ext/sockets - socket_read- test with incorrect parameter [tests/socket_read_params.phpt]
TEST 53/83 [tests/socket_recvmsg.phpt]
PASS recvmsg(): basic test [tests/socket_recvmsg.phpt]
TEST 54/83 [tests/socket_select-wrongparams-1-win32.phpt]
SKIP Test parameter handling in socket_select(). [tests/socket_select-wrongparams-1-win32.phpt] reason: .. Not valid for non Windows
TEST 55/83 [tests/socket_select-wrongparams-1.phpt]
PASS Test parameter handling in socket_select(). [tests/socket_select-wrongparams-1.phpt]
TEST 56/83 [tests/socket_select-wrongparams-2.phpt]
PASS Test parameter handling in socket_select(). [tests/socket_select-wrongparams-2.phpt]
TEST 57/83 [tests/socket_select-wrongparams-3.phpt]
PASS Test parameter handling in socket_select(). [tests/socket_select-wrongparams-3.phpt]
TEST 58/83 [tests/socket_select-wrongparams-4.phpt]
PASS Test parameter handling in socket_select(). [tests/socket_select-wrongparams-4.phpt]
TEST 59/83 [tests/socket_select.phpt]
PASS Test parameter handling in socket_select(). [tests/socket_select.phpt]
TEST 60/83 [tests/socket_send.phpt]
FAIL int socket_send ( resource $socket , string $buf , int $len , int $flags ); [tests/socket_send.phpt]
TEST 61/83 [tests/socket_send_params.phpt]
PASS ext/sockets - socket_send - test with incorrect parameters [tests/socket_send_params.phpt]
TEST 62/83 [tests/socket_sendrecvmsg_multi_msg-unix.phpt]
PASS sendmsg()/recvmsg(): test ability to receive multiple messages [tests/socket_sendrecvmsg_multi_msg-unix.phpt]
TEST 63/83 [tests/socket_sendrecvmsg_multi_msg.phpt]
FAIL sendmsg()/recvmsg(): test ability to receive multiple messages (WIN32) [tests/socket_sendrecvmsg_multi_msg.phpt]
TEST 64/83 [tests/socket_sendto_params.phpt]
PASS ext/sockets - socket_sendto - test with incorrect parameters [tests/socket_sendto_params.phpt]
TEST 65/83 [tests/socket_sentto_recvfrom_ipv4_udp.phpt]
PASS Test if socket_recvfrom() receives data sent by socket_sendto() via IPv4 UDP [tests/socket_sentto_recvfrom_ipv4_udp.phpt]
TEST 66/83 [tests/socket_sentto_recvfrom_ipv6_udp-win32.phpt]
SKIP Test if socket_recvfrom() receives data sent by socket_sendto() via IPv6 UDP (Win32) [tests/socket_sentto_recvfrom_ipv6_udp-win32.phpt] reason: only for Windows
TEST 67/83 [tests/socket_sentto_recvfrom_ipv6_udp.phpt]
PASS Test if socket_recvfrom() receives data sent by socket_sendto() via IPv6 UDP [tests/socket_sentto_recvfrom_ipv6_udp.phpt]
TEST 68/83 [tests/socket_sentto_recvfrom_unix.phpt]
PASS Test if socket_recvfrom() receives data sent by socket_sendto() through a Unix domain socket [tests/socket_sentto_recvfrom_unix.phpt]
TEST 69/83 [tests/socket_set_block-retval.phpt]
PASS Test socket_set_block return values [tests/socket_set_block-retval.phpt]
TEST 70/83 [tests/socket_set_nonblock-retval.phpt]
PASS Test socket_set_nonblock return values [tests/socket_set_nonblock-retval.phpt]
TEST 71/83 [tests/socket_set_nonblock.phpt]
PASS ext/sockets - socket_set_block - basic test [tests/socket_set_nonblock.phpt]
TEST 72/83 [tests/socket_set_option_bindtodevice.phpt]
SKIP Test if socket_set_option() works, option:SO_BINDTODEVICE [tests/socket_set_option_bindtodevice.phpt] reason: SO_BINDTODEVICE not supported on this platform.
TEST 73/83 [tests/socket_set_option_error_socket_option.phpt]
SKIP Test if socket_set_option() returns 'unable to set socket option' failure for invalid options [tests/socket_set_option_error_socket_option.phpt] reason: Test cannot be run as root.
TEST 74/83 [tests/socket_set_option_in6_pktinfo.phpt]
PASS socket_set_option() with IPV6_PKTINFO [tests/socket_set_option_in6_pktinfo.phpt]
TEST 75/83 [tests/socket_set_option_rcvtimeo.phpt]
PASS Test if socket_set_option() works, option:SO_RCVTIMEO [tests/socket_set_option_rcvtimeo.phpt]
TEST 76/83 [tests/socket_set_option_seolinger.phpt]
PASS Test if socket_set_option() works, option:SO_SEOLINGER [tests/socket_set_option_seolinger.phpt]
TEST 77/83 [tests/socket_set_option_sndtimeo.phpt]
PASS Test if socket_set_option() works, option:SO_SNDTIMEO [tests/socket_set_option_sndtimeo.phpt]
TEST 78/83 [tests/socket_setopt_basic.phpt]
PASS Test socket_setopt() basic functionality [tests/socket_setopt_basic.phpt]
TEST 79/83 [tests/socket_shutdown-win32.phpt]
SKIP bool socket_shutdown ( resource $socket [, int $how = 2 ] ) ; [tests/socket_shutdown-win32.phpt] reason: windows only test
TEST 80/83 [tests/socket_shutdown.phpt]
FAIL bool socket_shutdown ( resource $socket [, int $how = 2 ] ) ; [tests/socket_shutdown.phpt]
TEST 81/83 [tests/socket_strerror.phpt]
SKIP ext/sockets - socket_strerror - basic test [tests/socket_strerror.phpt] reason: - test validates linux error strings only.
TEST 82/83 [tests/unixloop.phpt]
PASS Unix domain socket Loopback test [tests/unixloop.phpt]
TEST 83/83 [tests/wsaprotocol_info_0.phpt]
SKIP Winsock export/import socket, basic test [tests/wsaprotocol_info_0.phpt] reason: .. Windows only test
=====================================================================
TIME END 2020-05-21 23:57:50
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 0
Exts tested : 10
---------------------------------------------------------------------
Number of tests : 83 58
Tests skipped : 25 ( 30.1%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 4 ( 4.8%) ( 6.9%)
Tests passed : 54 ( 65.1%) ( 93.1%)
---------------------------------------------------------------------
Time taken : 4 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #63000: Multicast on OSX [tests/bug63000.phpt]
int socket_send ( resource $socket , string $buf , int $len , int $flags ); [tests/socket_send.phpt]
sendmsg()/recvmsg(): test ability to receive multiple messages (WIN32) [tests/socket_sendrecvmsg_multi_msg.phpt]
bool socket_shutdown ( resource $socket [, int $how = 2 ] ) ; [tests/socket_shutdown.phpt]
=====================================================================
You may have found a problem in PHP.
This report can be automatically sent to the PHP QA team at
http://qa.php.net/reports and http://news.php.net/php.qa.reports
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it. You can then email it to qa-reports@lists.php.net later.
Do you want to send this report now? [Yns]: *** Error code 1
Stop.
make[1]: stopped in /magus/work/usr/mports/net/php74-sockets/work/php-7.4.1/ext/sockets
*** Error code 1
Stop.
make: stopped in /usr/mports/net/php74-sockets