Repository navigation
make test fail while soap extention build #8426
Copy link
Copy link
Closed
ThePHPF/thephp.foundation
#90Description
Description
I have faced with problem in soap extension while building and testing
tests/bug73037.phpt
Resulted in this output:
Iteration 0
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
Iteration 1
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
Iteration 2
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
Iteration 3
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
Iteration 4
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
Iteration 5
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
Iteration 6
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
HTTP/1.1 200 OK
Date: Fri, 22 Apr 2022 14:09:28 GMT
Connection: close
X-Powered-By: PHP/7.4.29
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class 'SoapServer' not found in /usr/src/php/sapi/cli/tests/bug73037_server.php:1
Stack trace:
#0 {main}
thrown in <b>/usr/src/php/sapi/cli/tests/bug73037_server.php</b> on line <b>1</b><br />
==DONE==
PHP Version
PHP 8.1.5 PHP 7.4.29
Operating System
REHL
Activity
cmb69 commentedon Apr 22, 2022
Apparently, the soap extension has not been loaded, and the test currently caters to Windows only wrt. to dynamically built ext/soap:
php-src/ext/soap/tests/bug73037.phpt
Lines 62 to 63 in 15ee285
evrinoma commentedon Apr 22, 2022
Sure, I tried to check this idea here
/usr/src/php/ext/soap/tests/bug73037.php
and it throw exception
cmb69 commentedon Apr 26, 2022
Why did you close this ticket? The issue already has been acknowledged as bug, and even if you don't need this bug to be fixed, I don't see a reason to close it prematurely.
evrinoma commentedon Apr 26, 2022
My apologies, I don't want to spend your time waste, I solve this problem locally and that's why I've closed all issue, but if you would like to solve it, please do it.
Fix phpGH-8426: make test fail while soap extension build
Fix GH-8426: make test fail while soap extension build
Merge branch 'PHP-8.1' into PHP-8.2
Merge branch 'PHP-8.2'