View Issue Details

IDProjectCategoryView StatusLast Update
0001709XdebugInstallationpublic2019-10-31 10:44
Reporterremi Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.8.0beta2 
Target Version2.8.0devFixed in Version2.8.0 
Summary0001709: Wrong data type breaks tests on Big Endian build (s390)
Description

=====================================================================
Number of tests : 680 498
Tests skipped : 182 ( 26.8%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 8 ( 1.2%) ( 1.6%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 490 ( 72.1%) ( 98.4%)

Time taken : 17 seconds

Additional Information

TEST 236/680 [tests/bug00964-1.phpt]
========DIFF========
001+ Notice: Undefined offset: 1 in /builddir/build/BUILD/php-pecl-xdebug-2.8.0~beta2/NTS/tests/bug00964-1.php on line 8
001- 192.168.111.111
========DONE========
FAIL Test for bug 0000964: IP retrival from X-Forwarded-For complies with RFC 7239 (without comma) [tests/bug00964-1.phpt]

TEST 237/680 [tests/bug00964-2.phpt]
========DIFF========
001+ Notice: Undefined offset: 1 in /builddir/build/BUILD/php-pecl-xdebug-2.8.0~beta2/NTS/tests/bug00964-2.php on line 8
001- 192.168.111.111
========DONE========
FAIL Test for bug 0000964: IP retrival from X-Forwarded-For complies with RFC 7239 (with comma) [tests/bug00964-2.phpt]

TEST 556/680 [tests/remote_log-unix-2.phpt]
========DIFF========
003- [%d] I: Checking remote connect back address.
004- [%d] I: Checking user configured header 'I_LIKE_COOKIES'.
005- [%d] W: Invalid remote address provided containing URI spec 'unix:///tmp/haxx0r.sock'.
006- [%d] W: Remote address not found, connecting to configured address/port: unix:///tmp/xdbg.sock:0. :-|
007- [%d] W: Creating socket for 'unix:///tmp/xdbg.sock', connect: No such file or directory.
008- [%d] E: Could not connect to client. :-(
012- [%d] I: Checking remote connect back address.
013- [%d] I: Checking user configured header 'I_LIKE_COOKIES'.
014- [%d] W: Invalid remote address provided containing URI spec 'unix:///tmp/haxx0r.sock'.
015- [%d] W: Remote address not found, connecting to configured address/port: unix:///tmp/xdbg.sock:0. :-|
016- [%d] W: Creating socket for 'unix:///tmp/xdbg.sock', connect: No such file or directory.
017- [%d] E: Could not connect to client. :-(
========DONE========
FAIL Test for Xdebug's remote log (with unix sockets and header) [tests/remote_log-unix-2.phpt]

TEST 557/680 [tests/remote_log-unix.phpt]
========DIFF========
003- [%d] I: Connecting to configured address/port: unix:///tmp/xdbg.sock:0.
004- [%d] W: Creating socket for 'unix:///tmp/xdbg.sock', connect: No such file or directory.
005- [%d] E: Could not connect to client. :-(
009- [%d] I: Connecting to configured address/port: unix:///tmp/xdbg.sock:0.
010- [%d] W: Creating socket for 'unix:///tmp/xdbg.sock', connect: No such file or directory.
011- [%d] E: Could not connect to client. :-(
========DONE========
FAIL Test for Xdebug's remote log (with unix sockets) [tests/remote_log-unix.phpt]

TEST 559/680 [tests/remote_log1.phpt]
========DIFF========
003- [%d] I: Connecting to configured address/port: doesnotexist:9002.
004- [%d] W: Creating socket for 'doesnotexist:9002', getaddrinfo: %s.
005- [%d] E: Could not connect to client. :-(
009- [%d] I: Connecting to configured address/port: doesnotexist:9002.
010- [%d] W: Creating socket for 'doesnotexist:9002', getaddrinfo: %s.
011- [%d] E: Could not connect to client. :-(
========DONE========
FAIL Test for Xdebug's remote log (can not connect, no remote callback) [tests/remote_log1.phpt]

TEST 560/680 [tests/remote_log2.phpt]
========DIFF========
003- [%d] I: Checking remote connect back address.
004- [%d] I: Checking header 'HTTP_X_FORWARDED_FOR'.
005- [%d] I: Checking header 'REMOTE_ADDR'.
006- [%d] W: Remote address not found, connecting to configured address/port: doesnotexist2:9003. :-|
007- [%d] W: Creating socket for 'doesnotexist2:9003', getaddrinfo: %s.
008- [%d] E: Could not connect to client. :-(
012- [%d] I: Checking remote connect back address.
013- [%d] I: Checking header 'HTTP_X_FORWARDED_FOR'.
014- [%d] I: Checking header 'REMOTE_ADDR'.
015- [%d] W: Remote address not found, connecting to configured address/port: doesnotexist2:9003. :-|
016- [%d] W: Creating socket for 'doesnotexist2:9003', getaddrinfo: %s.
017- [%d] E: Could not connect to client. :-(
========DONE========
FAIL Test for Xdebug's remote log (can not connect, with not-found remote callback) [tests/remote_log2.phpt]

TEST 561/680 [tests/remote_log3.phpt]
========DIFF========
03+ [31556] Log closed at 2019-10-02 13:40:29
004+
005+ [31558] Log opened at 2019-10-02 13:40:29
003- [%d] I: Checking remote connect back address.
004- [%d] I: Checking user configured header 'I_LIKE_COOKIES'.
005- [%d] I: Checking header 'HTTP_X_FORWARDED_FOR'.
006- [%d] I: Checking header 'REMOTE_ADDR'.
007- [%d] W: Remote address not found, connecting to configured address/port: doesnotexist2:9003. :-|
008- [%d] W: Creating socket for 'doesnotexist2:9003', getaddrinfo: %s.
009- [%d] E: Could not connect to client. :-(
011-
012- [%d] Log opened at %d-%d-%d %d:%d:%d
013- [%d] I: Checking remote connect back address.
014- [%d] I: Checking user configured header 'I_LIKE_COOKIES'.
015- [%d] I: Checking header 'HTTP_X_FORWARDED_FOR'.
016- [%d] I: Checking header 'REMOTE_ADDR'.
017- [%d] W: Remote address not found, connecting to configured address/port: doesnotexist2:9003. :-|
018- [%d] W: Creating socket for 'doesnotexist2:9003', getaddrinfo: %s.
019- [%d] E: Could not connect to client. :-(
020- [%d] Log closed at %d-%d-%d %d:%d:%d
========DONE========
FAIL Test for Xdebug's remote log (with xdebug.remote_addr_header) [tests/remote_log3.phpt]

TEST 562/680 [tests/remote_log4.phpt]
========DIFF========
003- [%d] I: Checking remote connect back address.
004- [%d] I: Checking user configured header 'I_LIKE_COOKIES'.
005- [%d] I: Remote address found, connecting to doesnotexist3:9003.
006- [%d] W: Creating socket for 'doesnotexist3:9003', getaddrinfo: %s.
007- [%d] E: Could not connect to client. :-(
011- [%d] I: Checking remote connect back address.
012- [%d] I: Checking user configured header 'I_LIKE_COOKIES'.
013- [%d] I: Remote address found, connecting to doesnotexist3:9003.
014- [%d] W: Creating socket for 'doesnotexist3:9003', getaddrinfo: %s.
015- [%d] E: Could not connect to client. :-(
========DONE========
FAIL Test for Xdebug's remote log (with xdebug.remote_addr_header value) [tests/remote_log4.phpt]

TagsNo tags attached.
Operating System
PHP Version7.3.5-7.3.9

Activities

remi

2019-10-02 14:09

reporter   ~0005164

Fixed by https://github.com/xdebug/xdebug/pull/507

derick

2019-10-07 14:36

administrator   ~0005167

Fixed on GitHub - thanks for the patch!

Issue History

Date Modified Username Field Change
2019-10-02 13:50 remi New Issue
2019-10-02 14:09 remi Note Added: 0005164
2019-10-07 14:33 derick Target Version => 2.8.0dev
2019-10-07 14:33 derick Summary Test suite fails on s390x (bigendian) => Wrong data type breaks tests on Big Endian build (s390)
2019-10-07 14:36 derick Assigned To => derick
2019-10-07 14:36 derick Status new => closed
2019-10-07 14:36 derick Resolution open => fixed
2019-10-07 14:36 derick Fixed in Version => 2.8.0dev
2019-10-07 14:36 derick Note Added: 0005167
2019-10-31 10:44 derick Fixed in Version 2.8.0dev => 2.8.0