FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18925&edit=1

ID: 18925
Updated by: daniel.oconnor@gmail.com
Reported By: Fedora at FamilleCollet dot com
Summary: Test fails with latest HTTP_Request2
Status: Open
Type: Bug
Package: XML_RPC2
Operating System: GNU/Linux (Fedora 15)
Package Version: 1.1.1
PHP Version: 5.3.8
Roadmap Versions:
New Comment:

Ah there we go
http://test.pear.php.net:8080/job/XML_RPC2/lastCompletedBuild/testReport/


Previous Comments:
------------------------------------------------------------------------

[2011-10-31 09:39:21] doconnor

I don't see the same on trunk. Is it possible that it's actually just
something
unique about your network environment and those tests having a lack of
proper
isolation?

$ pear run-tests -r tests/
(snip)
50 PASSED TESTS
56 SKIPPED TESTS
2 FAILED TESTS:
/media/Elements_/backup/home/clockwerx/pear-
svn/packages/XML_RPC2/trunk/tests/XML_RPC2/regressions/11314.phpt
/media/Elements_/backup/home/clockwerx/pear-
svn/packages/XML_RPC2/trunk/tests/XML_RPC2/regressions/18258.phpt
clockwerx@clockwerx-desktop:/media/Elements_/backup/home/clockwerx/pear-
svn/packages/XML_RPC2/trunk$

(annoyingly these failures are a bit due to utf-8 encoding and
formatting of the
results)

------------------------------------------------------------------------

[2011-10-23 08:19:25] remicollet

$ cat ./XML_RPC2/xmlrpcextBackend/client/protocolError.diff
001- string\(.*\) \"HTTP_Request2_Exception.*
001+ string(935) "HTTP_Request2_ConnectionException: Unable to connect
to tcp://rpc.example.com:1000. Error: php_network_getaddresses:
getaddrinfo failed: Name or service not known in
/usr/share/pear/HTTP/Request2/Adapter/Socket.php on line 154
002+ #0 /usr/share/pear/HTTP/Request2/Adapter/Socket.php(154):
HTTP_Request2_Adapter_Socket->connect()
003+ #1 /usr/share/pear/HTTP/Request2.php(923):
HTTP_Request2_Adapter_Socket->sendRequest(Object(HTTP_Request2))
004+ #2 /usr/share/pear/XML/RPC2/Util/HTTPRequest.php(234):
HTTP_Request2->send()
005+ #3 /usr/share/pear/XML/RPC2/Backend/Xmlrpcext/Client.php(113):
XML_RPC2_Util_HTTPRequest->sendRequest()
006+ #4
/usr/share/pear/test/XML_RPC2/tests/XML_RPC2/xmlrpcextBackend/client/protocolError.php(8):
XML_RPC2_Backend_Xmlrpcext_Client->__call('invalidMethod', Array)
007+ #5
/usr/share/pear/test/XML_RPC2/tests/XML_RPC2/xmlrpcextBackend/client/protocolError.php(8):
XML_RPC2_Backend_Xmlrpcext_Client->invalidMethod('World')

$ cat ./XML_RPC2/phpBackend/client/protocolError.diff
001- string\(.*\) \"HTTP_Request2_Exception.*
001+ string(905) "HTTP_Request2_ConnectionException: Unable to connect
to tcp://rpc.example.com:1000. Error: php_network_getaddresses:
getaddrinfo failed: Name or service not known in
/usr/share/pear/HTTP/Request2/Adapter/Socket.php on line 154
002+ #0 /usr/share/pear/HTTP/Request2/Adapter/Socket.php(154):
HTTP_Request2_Adapter_Socket->connect()
003+ #1 /usr/share/pear/HTTP/Request2.php(923):
HTTP_Request2_Adapter_Socket->sendRequest(Object(HTTP_Request2))
004+ #2 /usr/share/pear/XML/RPC2/Util/HTTPRequest.php(234):
HTTP_Request2->send()
005+ #3 /usr/share/pear/XML/RPC2/Backend/Php/Client.php(115):
XML_RPC2_Util_HTTPRequest->sendRequest()
006+ #4
/usr/share/pear/test/XML_RPC2/tests/XML_RPC2/phpBackend/client/protocolError.php(8):
XML_RPC2_Backend_Php_Client->__call('invalidMethod', Array)
007+ #5
/usr/share/pear/test/XML_RPC2/tests/XML_RPC2/phpBackend/client/protocolError.php(8):
XML_RPC2_Backend_Php_Client->invalidMethod('World')

------------------------------------------------------------------------

[2011-10-23 08:17:27] remicollet

Description:
------------
Test expects a HTTP_Request2_Exception while a
HTTP_Request2_ConnectionException is raised by HTTP_Request2 2.0.0

in
tests/phpBackend/client/protocolError.phpt
tests/xmlrpcextBackend/client/protocolError.phpt

------------------------------------------------------------------------

Search Discussions

  • Daniel Oconnor at Nov 6, 2011 at 9:32 am
    Edit report at http://pear.php.net/bugs/bug.php?id=18925&edit=1

    ID: 18925
    Updated by: daniel.oconnor@gmail.com
    Reported By: Fedora at FamilleCollet dot com
    Summary: Test fails with latest HTTP_Request2
    -Status: Open
    +Status: Verified
    Type: Bug
    Package: XML_RPC2
    Operating System: GNU/Linux (Fedora 15)
    Package Version: 1.1.1
    PHP Version: 5.3.8
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Verified



    Previous Comments:
    ------------------------------------------------------------------------

    [2011-11-06 10:30:52] doconnor

    Ah there we go
    http://test.pear.php.net:8080/job/XML_RPC2/lastCompletedBuild/testReport/

    ------------------------------------------------------------------------

    [2011-10-31 09:39:21] doconnor

    I don't see the same on trunk. Is it possible that it's actually just
    something
    unique about your network environment and those tests having a lack of
    proper
    isolation?

    $ pear run-tests -r tests/
    (snip)
    50 PASSED TESTS
    56 SKIPPED TESTS
    2 FAILED TESTS:
    /media/Elements_/backup/home/clockwerx/pear-
    svn/packages/XML_RPC2/trunk/tests/XML_RPC2/regressions/11314.phpt
    /media/Elements_/backup/home/clockwerx/pear-
    svn/packages/XML_RPC2/trunk/tests/XML_RPC2/regressions/18258.phpt
    clockwerx@clockwerx-desktop:/media/Elements_/backup/home/clockwerx/pear-
    svn/packages/XML_RPC2/trunk$

    (annoyingly these failures are a bit due to utf-8 encoding and
    formatting of the
    results)

    ------------------------------------------------------------------------

    [2011-10-23 08:19:25] remicollet

    $ cat ./XML_RPC2/xmlrpcextBackend/client/protocolError.diff
    001- string\(.*\) \"HTTP_Request2_Exception.*
    001+ string(935) "HTTP_Request2_ConnectionException: Unable to connect
    to tcp://rpc.example.com:1000. Error: php_network_getaddresses:
    getaddrinfo failed: Name or service not known in
    /usr/share/pear/HTTP/Request2/Adapter/Socket.php on line 154
    002+ #0 /usr/share/pear/HTTP/Request2/Adapter/Socket.php(154):
    HTTP_Request2_Adapter_Socket->connect()
    003+ #1 /usr/share/pear/HTTP/Request2.php(923):
    HTTP_Request2_Adapter_Socket->sendRequest(Object(HTTP_Request2))
    004+ #2 /usr/share/pear/XML/RPC2/Util/HTTPRequest.php(234):
    HTTP_Request2->send()
    005+ #3 /usr/share/pear/XML/RPC2/Backend/Xmlrpcext/Client.php(113):
    XML_RPC2_Util_HTTPRequest->sendRequest()
    006+ #4
    /usr/share/pear/test/XML_RPC2/tests/XML_RPC2/xmlrpcextBackend/client/protocolError.php(8):
    XML_RPC2_Backend_Xmlrpcext_Client->__call('invalidMethod', Array)
    007+ #5
    /usr/share/pear/test/XML_RPC2/tests/XML_RPC2/xmlrpcextBackend/client/protocolError.php(8):
    XML_RPC2_Backend_Xmlrpcext_Client->invalidMethod('World')

    $ cat ./XML_RPC2/phpBackend/client/protocolError.diff
    001- string\(.*\) \"HTTP_Request2_Exception.*
    001+ string(905) "HTTP_Request2_ConnectionException: Unable to connect
    to tcp://rpc.example.com:1000. Error: php_network_getaddresses:
    getaddrinfo failed: Name or service not known in
    /usr/share/pear/HTTP/Request2/Adapter/Socket.php on line 154
    002+ #0 /usr/share/pear/HTTP/Request2/Adapter/Socket.php(154):
    HTTP_Request2_Adapter_Socket->connect()
    003+ #1 /usr/share/pear/HTTP/Request2.php(923):
    HTTP_Request2_Adapter_Socket->sendRequest(Object(HTTP_Request2))
    004+ #2 /usr/share/pear/XML/RPC2/Util/HTTPRequest.php(234):
    HTTP_Request2->send()
    005+ #3 /usr/share/pear/XML/RPC2/Backend/Php/Client.php(115):
    XML_RPC2_Util_HTTPRequest->sendRequest()
    006+ #4
    /usr/share/pear/test/XML_RPC2/tests/XML_RPC2/phpBackend/client/protocolError.php(8):
    XML_RPC2_Backend_Php_Client->__call('invalidMethod', Array)
    007+ #5
    /usr/share/pear/test/XML_RPC2/tests/XML_RPC2/phpBackend/client/protocolError.php(8):
    XML_RPC2_Backend_Php_Client->invalidMethod('World')

    ------------------------------------------------------------------------

    [2011-10-23 08:17:27] remicollet

    Description:
    ------------
    Test expects a HTTP_Request2_Exception while a
    HTTP_Request2_ConnectionException is raised by HTTP_Request2 2.0.0

    in
    tests/phpBackend/client/protocolError.phpt
    tests/xmlrpcextBackend/client/protocolError.phpt

    ------------------------------------------------------------------------
  • Daniel Oconnor at Nov 21, 2011 at 1:59 am
    Edit report at http://pear.php.net/bugs/bug.php?id=18925&edit=1

    ID: 18925
    Updated by: daniel.oconnor@gmail.com
    Reported By: Fedora at FamilleCollet dot com
    Summary: Test fails with latest HTTP_Request2
    -Status: Verified
    +Status: Closed
    Type: Bug
    Package: XML_RPC2
    Operating System: GNU/Linux (Fedora 15)
    Package Version: 1.1.1
    PHP Version: 5.3.8
    -Assigned To:
    +Assigned To: doconnor
    Roadmap Versions:
    New Comment:

    -Status: Verified
    +Status: Closed
    -Assigned To:
    +Assigned To: doconnor
    This bug has been fixed in SVN.

    If this was a documentation problem, the fix will appear on pear.php.net
    by the end of next Sunday (CET).

    If this was a problem with the pear.php.net website, the change should
    be live shortly.

    Otherwise, the fix will appear in the package's next release.

    Thank you for the report and for helping us make PEAR better.

    Completed: At revision: 319588


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-11-06 10:31:04] doconnor

    -Status: Open
    +Status: Verified


    ------------------------------------------------------------------------

    [2011-11-06 10:30:52] doconnor

    Ah there we go
    http://test.pear.php.net:8080/job/XML_RPC2/lastCompletedBuild/testReport/

    ------------------------------------------------------------------------

    [2011-10-31 09:39:21] doconnor

    I don't see the same on trunk. Is it possible that it's actually just
    something
    unique about your network environment and those tests having a lack of
    proper
    isolation?

    $ pear run-tests -r tests/
    (snip)
    50 PASSED TESTS
    56 SKIPPED TESTS
    2 FAILED TESTS:
    /media/Elements_/backup/home/clockwerx/pear-
    svn/packages/XML_RPC2/trunk/tests/XML_RPC2/regressions/11314.phpt
    /media/Elements_/backup/home/clockwerx/pear-
    svn/packages/XML_RPC2/trunk/tests/XML_RPC2/regressions/18258.phpt
    clockwerx@clockwerx-desktop:/media/Elements_/backup/home/clockwerx/pear-
    svn/packages/XML_RPC2/trunk$

    (annoyingly these failures are a bit due to utf-8 encoding and
    formatting of the
    results)

    ------------------------------------------------------------------------

    [2011-10-23 08:19:25] remicollet

    $ cat ./XML_RPC2/xmlrpcextBackend/client/protocolError.diff
    001- string\(.*\) \"HTTP_Request2_Exception.*
    001+ string(935) "HTTP_Request2_ConnectionException: Unable to connect
    to tcp://rpc.example.com:1000. Error: php_network_getaddresses:
    getaddrinfo failed: Name or service not known in
    /usr/share/pear/HTTP/Request2/Adapter/Socket.php on line 154
    002+ #0 /usr/share/pear/HTTP/Request2/Adapter/Socket.php(154):
    HTTP_Request2_Adapter_Socket->connect()
    003+ #1 /usr/share/pear/HTTP/Request2.php(923):
    HTTP_Request2_Adapter_Socket->sendRequest(Object(HTTP_Request2))
    004+ #2 /usr/share/pear/XML/RPC2/Util/HTTPRequest.php(234):
    HTTP_Request2->send()
    005+ #3 /usr/share/pear/XML/RPC2/Backend/Xmlrpcext/Client.php(113):
    XML_RPC2_Util_HTTPRequest->sendRequest()
    006+ #4
    /usr/share/pear/test/XML_RPC2/tests/XML_RPC2/xmlrpcextBackend/client/protocolError.php(8):
    XML_RPC2_Backend_Xmlrpcext_Client->__call('invalidMethod', Array)
    007+ #5
    /usr/share/pear/test/XML_RPC2/tests/XML_RPC2/xmlrpcextBackend/client/protocolError.php(8):
    XML_RPC2_Backend_Xmlrpcext_Client->invalidMethod('World')

    $ cat ./XML_RPC2/phpBackend/client/protocolError.diff
    001- string\(.*\) \"HTTP_Request2_Exception.*
    001+ string(905) "HTTP_Request2_ConnectionException: Unable to connect
    to tcp://rpc.example.com:1000. Error: php_network_getaddresses:
    getaddrinfo failed: Name or service not known in
    /usr/share/pear/HTTP/Request2/Adapter/Socket.php on line 154
    002+ #0 /usr/share/pear/HTTP/Request2/Adapter/Socket.php(154):
    HTTP_Request2_Adapter_Socket->connect()
    003+ #1 /usr/share/pear/HTTP/Request2.php(923):
    HTTP_Request2_Adapter_Socket->sendRequest(Object(HTTP_Request2))
    004+ #2 /usr/share/pear/XML/RPC2/Util/HTTPRequest.php(234):
    HTTP_Request2->send()
    005+ #3 /usr/share/pear/XML/RPC2/Backend/Php/Client.php(115):
    XML_RPC2_Util_HTTPRequest->sendRequest()
    006+ #4
    /usr/share/pear/test/XML_RPC2/tests/XML_RPC2/phpBackend/client/protocolError.php(8):
    XML_RPC2_Backend_Php_Client->__call('invalidMethod', Array)
    007+ #5
    /usr/share/pear/test/XML_RPC2/tests/XML_RPC2/phpBackend/client/protocolError.php(8):
    XML_RPC2_Backend_Php_Client->invalidMethod('World')

    ------------------------------------------------------------------------

    [2011-10-23 08:17:27] remicollet

    Description:
    ------------
    Test expects a HTTP_Request2_Exception while a
    HTTP_Request2_ConnectionException is raised by HTTP_Request2 2.0.0

    in
    tests/phpBackend/client/protocolError.phpt
    tests/xmlrpcextBackend/client/protocolError.phpt

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedNov 6, '11 at 9:32a
activeNov 21, '11 at 1:59a
posts3
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 3 posts

People

Translate

site design / logo © 2021 Grokbase