[
https://issues.apache.org/jira/browse/THRIFT-4302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16150464#comment-16150464
]
James E. King, III commented on THRIFT-4302:
--------------------------------------------
Example php failure:
{noformat}
Fri Sep 01 12:13:09 2017
Executing: php -dextension_dir=../../lib/php/src/ext/thrift_protocol/modules/
--php-ini=../../lib/php/thrift_protocol.ini --no-php-ini
-ddisplay_errors=stderr -dlog_errors=0 -derror_reporting=E_ALL TestClient.php
--protocol=binary --transport=buffered --port=42599
Directory: /thrift/src/test/php
config:delay: 5
config:timeout: 6
===============================================================================
Fatal error: Uncaught Error: Call to undefined function
Thrift\Transport\socket_import_stream() in
/thrift/src/lib/php/lib/Thrift/Transport/TSocket.php:245
Stack trace:
#0 /thrift/src/lib/php/lib/Thrift/Transport/TSocketPool.php(241):
Thrift\Transport\TSocket->open()
#1 /thrift/src/lib/php/lib/Thrift/Transport/TBufferedTransport.php(88):
Thrift\Transport\TSocketPool->open()
#2 /thrift/src/test/php/TestClient.php(121):
Thrift\Transport\TBufferedTransport->open()
#3 {main}
thrown in /thrift/src/lib/php/lib/Thrift/Transport/TSocket.php on line 245
===============================================================================
Return code: 255
Test execution took 0.1 seconds.
Fri Sep 01 12:13:09 2017
{noformat}
> Fix Ubuntu Xenial make cross testing for lua 5.3 and php7
> ---------------------------------------------------------
>
> Key: THRIFT-4302
> URL: https://issues.apache.org/jira/browse/THRIFT-4302
> Project: Thrift
> Issue Type: Sub-task
> Components: Test Suite
> Affects Versions: 0.11.0
> Environment: docker:ubuntu1604
> Reporter: James E. King, III
>
> The following tests failed:
> {noformat}
> ===============================================================================
> *** Following 156 failures were unexpected ***:
> If it is introduced by you, please fix it before submitting the code.
> ===============================================================================
> server-client: protocol: transport: result:
> c_glib-php compact buffered-ip
> failure(255)
> c_glib-php compact framed-ip
> failure(255)
> c_glib-php binary-accel buffered-ip
> failure(255)
> c_glib-php binary-accel framed-ip
> failure(255)
> c_glib-php binary buffered-ip
> failure(255)
> c_glib-php binary framed-ip
> failure(255)
> c_glib-lua compact buffered-ip failure(64)
> c_glib-lua compact framed-ip failure(64)
> c_glib-lua binary framed-ip failure(64)
> c_glib-lua binary buffered-ip failure(64)
> go-php compact buffered-ip
> failure(255)
> go-php compact framed-ip
> failure(255)
> go-php binary-accel buffered-ip
> failure(255)
> go-php binary-accel framed-ip
> failure(255)
> go-php binary buffered-ip
> failure(255)
> go-php binary framed-ip
> failure(255)
> go-lua compact http-ip failure(64)
> go-lua compact buffered-ip failure(64)
> go-lua compact framed-ip failure(64)
> go-lua binary http-ip failure(64)
> go-lua binary buffered-ip failure(64)
> go-lua binary framed-ip failure(64)
> go-lua json http-ip failure(64)
> go-lua json buffered-ip failure(64)
> go-lua json framed-ip failure(64)
> java-php multi-accel buffered-ip
> failure(255)
> java-php multi-accel framed-ip
> failure(255)
> java-php multi-accel fastframed-framed-ip
> failure(255)
> java-php multi-binary framed-ip
> failure(255)
> java-php multi-binary buffered-ip
> failure(255)
> java-php multi-binary fastframed-framed-ip
> failure(255)
> java-php compact framed-ip
> failure(255)
> java-php compact buffered-ip
> failure(255)
> java-php multic-compact framed-ip
> failure(255)
> java-php compact fastframed-framed-ip
> failure(255)
> java-php multic-compact buffered-ip
> failure(255)
> java-php multic-compact fastframed-framed-ip
> failure(255)
> java-php binary-accel framed-ip
> failure(255)
> java-php binary-accel buffered-ip
> failure(255)
> java-php binary buffered-ip
> failure(255)
> java-php binary framed-ip
> failure(255)
> java-php binary-accel fastframed-framed-ip
> failure(255)
> java-php binary fastframed-framed-ip
> failure(255)
> java-lua multi-binary framed-ip failure(64)
> java-lua multi-binary buffered-ip failure(64)
> java-lua multi-binary fastframed-framed-ip failure(64)
> java-lua compact framed-ip failure(64)
> java-lua compact buffered-ip failure(64)
> java-lua compact fastframed-framed-ip failure(64)
> java-lua multij-json buffered-ip failure(64)
> java-lua multij-json framed-ip failure(64)
> java-lua multij-json fastframed-framed-ip failure(64)
> java-lua json framed-ip failure(64)
> java-lua json buffered-ip failure(64)
> java-lua json fastframed-framed-ip failure(64)
> java-lua multic-compact buffered-ip failure(64)
> java-lua multic-compact framed-ip failure(64)
> java-lua multic-compact fastframed-framed-ip failure(64)
> java-lua binary framed-ip failure(64)
> java-lua binary fastframed-framed-ip failure(64)
> java-lua binary buffered-ip failure(64)
> nodejs-php compact framed-ip
> failure(255)
> nodejs-php binary-accel buffered-ip
> failure(255)
> nodejs-php compact buffered-ip
> failure(255)
> nodejs-php binary buffered-ip
> failure(255)
> nodejs-php binary framed-ip
> failure(255)
> nodejs-php binary-accel framed-ip
> failure(255)
> nodejs-lua compact buffered-ip failure(64)
> nodejs-lua compact framed-ip failure(64)
> nodejs-lua binary buffered-ip failure(64)
> nodejs-lua binary framed-ip failure(64)
> nodejs-lua json buffered-ip failure(64)
> nodejs-lua json framed-ip failure(64)
> hs-php compact buffered-ip
> failure(255)
> hs-php compact framed-ip
> failure(255)
> hs-php binary-accel buffered-ip
> failure(255)
> hs-php binary-accel framed-ip
> failure(255)
> hs-php binary buffered-ip
> failure(255)
> hs-php binary framed-ip
> failure(255)
> hs-lua compact buffered-ip failure(64)
> hs-lua compact framed-ip failure(64)
> hs-lua binary buffered-ip failure(64)
> hs-lua binary framed-ip failure(64)
> hs-lua json buffered-ip failure(64)
> hs-lua json framed-ip failure(64)
> cpp-php binary-accel framed-ip
> failure(255)
> cpp-php compact buffered-ip
> failure(255)
> cpp-php binary buffered-ip
> failure(255)
> cpp-php compact framed-ip
> failure(255)
> cpp-php binary framed-ip
> failure(255)
> cpp-php binary-accel buffered-ip
> failure(255)
> cpp-lua compact http-ip failure(64)
> cpp-lua compact buffered-ip failure(64)
> cpp-lua compact framed-ip failure(64)
> cpp-lua binary http-ip failure(64)
> cpp-lua binary framed-ip failure(64)
> cpp-lua binary buffered-ip failure(64)
> cpp-lua json http-ip failure(64)
> cpp-lua json buffered-ip failure(64)
> cpp-lua json framed-ip failure(64)
> rb-php accel framed-ip
> failure(255)
> rb-php accel buffered-ip
> failure(255)
> rb-php accel-binary buffered-ip
> failure(255)
> rb-php accel-binary framed-ip
> failure(255)
> rb-php compact framed-ip
> failure(255)
> rb-php compact buffered-ip
> failure(255)
> rb-php binary-accel framed-ip
> failure(255)
> rb-php binary-accel buffered-ip
> failure(255)
> rb-php binary buffered-ip
> failure(255)
> rb-php binary framed-ip
> failure(255)
> rb-lua accel-binary buffered-ip failure(64)
> rb-lua accel-binary framed-ip failure(64)
> rb-lua compact buffered-ip failure(64)
> rb-lua binary buffered-ip failure(64)
> rb-lua compact framed-ip failure(64)
> rb-lua binary framed-ip failure(64)
> rb-lua json buffered-ip failure(64)
> rb-lua json framed-ip failure(64)
> csharp-php compact buffered-ip
> failure(255)
> csharp-php compact framed-ip
> failure(255)
> csharp-php binary-accel framed-ip
> failure(255)
> csharp-php binary-accel buffered-ip
> failure(255)
> csharp-php binary framed-ip
> failure(255)
> csharp-php binary buffered-ip
> failure(255)
> csharp-lua compact buffered-ip failure(64)
> csharp-lua compact framed-ip failure(64)
> csharp-lua binary buffered-ip failure(64)
> csharp-lua binary framed-ip failure(64)
> csharp-lua json buffered-ip failure(64)
> csharp-lua json framed-ip failure(64)
> perl-php binary-accel buffered-ip
> failure(255)
> perl-php binary-accel framed-ip
> failure(255)
> perl-php binary buffered-ip
> failure(255)
> perl-php binary framed-ip
> failure(255)
> perl-lua binary buffered-ip failure(64)
> perl-lua binary framed-ip failure(64)
> erl-php compact buffered-ip
> failure(255)
> erl-php binary-accel buffered-ip
> failure(255)
> erl-php compact framed-ip
> failure(255)
> erl-php binary-accel framed-ip
> failure(255)
> erl-php binary buffered-ip
> failure(255)
> erl-php binary framed-ip
> failure(255)
> erl-lua compact buffered-ip failure(64)
> erl-lua compact framed-ip failure(64)
> erl-lua binary buffered-ip failure(64)
> erl-lua binary framed-ip failure(64)
> rs-php compact buffered-ip
> failure(255)
> rs-php compact framed-ip
> failure(255)
> rs-php binary-accel buffered-ip
> failure(255)
> rs-php binary-accel framed-ip
> failure(255)
> rs-php binary buffered-ip
> failure(255)
> rs-php binary framed-ip
> failure(255)
> rs-lua compact buffered-ip failure(64)
> rs-lua compact framed-ip failure(64)
> rs-lua binary buffered-ip failure(64)
> rs-lua binary framed-ip failure(64)
> ===============================================================================
> {noformat}
> It looks like all lua and php tests failed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)