Opennab 0.9 Test Errors

Help
2007-11-24
2013-04-29
  • lukosanthropos
    lukosanthropos
    2007-11-24

    Hi  I get the following errors during install I've checked everything I can, any suggestions?

    Server Details:
    Apache version  1.3.37 (Unix)
    PHP version 4.4.2
    MySQL version  4.1.22-standard
    Operating system Linux
    I have chmodded every file to 777 even that doesn't help, It

    Errors
    All tests
    Fail: testofblock -> testpackunpack -> Equal expectation fails at character 34 with [abcdef01234567899876543210fedcba1a0] and [abcdef01234567899876543210fedcba1a] at [/home/lukosant/public_html/nab/vl/tests/test_block.php line 38]
    Fail: testofblock -> testpackunpack -> Equal expectation fails because [Float: 17.5] differs from [Integer: 17] by 0.5 at [/home/lukosant/public_html/nab/vl/tests/test_block.php line 39]
    Fail: testofblock -> testpackunpack -> Equal expectation fails at character 21 with [��«Íï#Eg‰˜vT2þܺ�] and [��«Íï#Eg‰˜vT2þܺ] at [/home/lukosant/public_html/nab/vl/tests/test_block.php line 41]
    Fail: testofblock -> testpackunpack -> Equal expectation fails at character 6 with [[05,17.5]abcdef01234567899876543210fedcba1a0] and [[05,17]abcdef01234567899876543210fedcba1a] at [/home/lukosant/public_html/nab/vl/tests/test_block.php line 42]
    Fail: testofping -> testpackunpack -> Equal expectation fails because [Float: 1.5] differs from [Integer: 1] by 0.5 at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 42]
    Fail: testofping -> testpackunpack -> Equal expectation fails because [Float: 23.5] differs from [Integer: 23] by 0.5 at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 44]
    Fail: testofping -> testpackunpack -> Equal expectation fails because [Float: 332.5] differs from [Integer: 332] by 0.5 at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 46]
    Fail: testofping -> testpackunpack -> Equal expectation fails because [Integer: 1920] differs from [Integer: 120] by 1800 at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 47]
    Fail: testofping -> testpackunpack -> Equal expectation fails at character 337 with [...c©&§OùòîûúÆÀ›† ùòîûf¬HÍ<ÌЬc¶,l˜‰i²–„ž©€ÂÑî‡nýqˆ$Eˆ¨ùòîûúÆÀ›† ùòîûf¬HÍ<ÌЬc¶,l˜‰i²œ^Ìa„«Ü°ù€•&ƒOát?_gVY!&§OùòîûúÆÀ›† ùòîûf¬HÍ<ÌÐn),îlœ^Ì Œ~µÖcœùî‡nýqˆ$E���ÿÿÿ(������������ ����<ÿ ] and [...?ûOc©&§OùòîûúÆÀ›† ùòîûf¬HÍ<ÌЬc¶,l˜‰i²–„ž©€ÂÑî‡nýqˆ$Eˆ¨ùòîûúÆÀ›† ùòîûf¬HÍ<ÌЬc¶,l˜‰i²œ^Ìa„«Ü°ù€•&ƒOát?_gVY!&§OùòîûúÆÀ›† ùòîûf¬HÍ<ÌÐn),îlœ^Ì Œ~µÖcœùî‡nýqˆ$E��ÿÿÿ(������������ ���<ÿ ] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 51]
    Fail: testofping -> testemptyblock -> Equal expectation fails at character 337 with [...©&§OùòîûúÆÀ›† ùòîûf¬HÍ<ÌЬc¶,l˜‰i²–„ž©€ÂÑî‡nýqˆ$Eˆ¨ùòîûúÆÀ›† ùòîûf¬HÍ<ÌЬc¶,l˜‰i²œ^Ìa„«Ü°ù€•&ƒOát?_gVY!&§OùòîûúÆÀ›† ùòîûf¬HÍ<ÌÐn),îlœ^Ì Œ~µÖcœùî‡nýqˆ$E���ÿÿÿ(������������ ����x�ÿ ] and [...?ûOc©&§OùòîûúÆÀ›† ùòîûf¬HÍ<ÌЬc¶,l˜‰i²–„ž©€ÂÑî‡nýqˆ$Eˆ¨ùòîûúÆÀ›† ùòîûf¬HÍ<ÌЬc¶,l˜‰i²œ^Ìa„«Ü°ù€•&ƒOát?_gVY!&§OùòîûúÆÀ›† ùòîûf¬HÍ<ÌÐn),îlœ^Ì Œ~µÖcœùî‡nýqˆ$E��ÿÿÿ(������������ ���xÿ ] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 62]
    Fail: testofping -> testcreatefromscratch -> Equal expectation fails at character 678 with [...60df9f2eefb66ac4881cd3cccd0ac63b62c6c988969b29c5ecc6184abdc05b0f9807fc29526834fe1743f5f6756592126a74f11f9f2eefbfac6c09b860df9f2eefb66ac4881cd3cccd06e292cee6c9c5ecca08c7eb5d6639cf9ee876efd71882445ff0a0] and [...860df9f2eefb66ac4881cd3cccd0ac63b62c6c988969b29c5ecc6184abdc05b0f9807fc29526834fe1743f5f6756592126a74f11f9f2eefbfac6c09b860df9f2eefb66ac4881cd3cccd06e292cee6c9c5ecca08c7eb5d6639cf9ee876efd71882445ff0a] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 74]
    Fail: testofping -> testcreatefromscratch -> Equal expectation fails at character 732 with [...4abdc05b0f9807fc29526834fe1743f5f6756592126a74f11f9f2eefbfac6c09b860df9f2eefb66ac4881cd3cccd06e292cee6c9c5ecca08c7eb5d6639cf9ee876efd71882445040000177fffffff01010e280000000000000000000000000a0a00ff0a0] and [...84abdc05b0f9807fc29526834fe1743f5f6756592126a74f11f9f2eefbfac6c09b860df9f2eefb66ac4881cd3cccd06e292cee6c9c5ecca08c7eb5d6639cf9ee876efd71882445040000177fffffff01010e280000000000000000000000000a0a00ff0a] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 81]
    Fail: testofping -> testcreatefromscratch -> Equal expectation fails at character 742 with [...9807fc29526834fe1743f5f6756592126a74f11f9f2eefbfac6c09b860df9f2eefb66ac4881cd3cccd06e292cee6c9c5ecca08c7eb5d6639cf9ee876efd71882445040000177fffffff01010e280000000000000000000000000a0a000300000178ff0a0] and [...f9807fc29526834fe1743f5f6756592126a74f11f9f2eefbfac6c09b860df9f2eefb66ac4881cd3cccd06e292cee6c9c5ecca08c7eb5d6639cf9ee876efd71882445040000177fffffff01010e280000000000000000000000000a0a000300000178ff0a] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 86]
    Fail: testofping -> testenhancedmessage -> Equal expectation fails at character 22 with [017fbe9ef43d32dc287b2d0] and [017fbe9ef43d32dc287b2d] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 106]
    Fail: testofping -> testenhancedmessage -> Equal expectation fails at character 22 with [017fbeffbe3d32dc287b2d0] and [017fbeffbe3d32dc287b2d] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 108]
    Fail: testofping -> testpackemptyblock -> Equal expectation fails at character 28 with [��ÿÿÿ(������������ ����x�ÿ ] and [��ÿÿÿ(������������ ���xÿ ] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 117]
    Fail: testofping -> testpackemptyblock -> Equal expectation fails at character 28 with [��ÿÿÿ(������������ �����x�ÿ ] and [��ÿÿÿ(������������ ���xÿ ] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 120]
    Fail: testofping -> testpackemptyblock -> Equal expectation fails at character 28 with [��ÿÿÿ(������������ ���������ÿ ] and [��ÿÿÿ(������������ ���xÿ ] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 124]
    Fail: testofping -> testpackemptyblock -> Equal expectation fails at character 28 with [��ÿÿÿ(������������ ���������� �ÿ ] and [��ÿÿÿ(������������ ���xÿ ] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 129]
    Fail: testofping -> testreboot -> Equal expectation fails at character 14 with [7f09000000ff0a000] and [7f09000000ff0a] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 139]
    Fail: testofping -> testreboot -> Equal expectation fails at character 7 with [ ���ÿ ] and [ ���ÿ ] at [/home/lukosant/public_html/nab/vl/tests/test_ping.php line 140]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails because [Integer: 1920] differs from [Integer: 120] by 1800 at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 65]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails because [Integer: 1920] differs from [Integer: 120] by 1800 at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 67]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails because [Integer: 1920] differs from [Integer: 120] by 1800 at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 79]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails at character 46 with [7fffffff010102020000000000000000000000000000000] and [7fffffff01010202000000000000000000000000000000] at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 83]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails at character 46 with [7fffffff010102020000000000000000000000000000000] and [7fffffff01010202000000000000000000000000000000] at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 93]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails at character 46 with [7fffffff010102020000000000000000000000000000000] and [7fffffff01010202000000000000000000000000000000] at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 103]
    Fail: testofpluginpinginterval -> testpinginterval -> Expected false, got [Boolean: true] at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 107]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails because [Integer: 1920] differs from [Integer: 120] by 1800 at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 110]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails at character 46 with [7fffffff010102020000000000000000000000000000000] and [7fffffff01010202000000000000000000000000000000] at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 114]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails because [Integer: 1920] differs from [Integer: 120] by 1800 at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 122]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails at character 46 with [7fffffff010102020000000000000000000000000000000] and [7fffffff01010202000000000000000000000000000000] at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 126]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails because [Integer: 1920] differs from [Integer: 120] by 1800 at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 138]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails because [Integer: 1920] differs from [Integer: 120] by 1800 at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 140]
    Fail: testofpluginpinginterval -> testpinginterval -> Equal expectation fails at character 46 with [7fffffff010102020000000000000000000000000000000] and [7fffffff01010202000000000000000000000000000000] at [/home/lukosant/public_html/nab/vl/tests/test_plugin_pinginterval.php line 142]
    17/17 test cases complete: 422 passes, 35 fails and 0 exceptions.

     
    • Olivier Azeau
      Olivier Azeau
      2007-11-24

      Hello,

      All these errors are due to a bug in php 4.4.2 which was fixed in 4.4.3.

      See http://www.php.net/ChangeLog-4.php :
      Fixed bug #36148 (unpack("H*hex", $data) is adding an extra character to the end of the string).

      You've got no other option than having your php install upgraded.
      OpenNab needs php 4.4.x or 5.2.x (or higher versions)

      Regards,
      Olivier

       
      • lukosanthropos
        lukosanthropos
        2007-11-24

        ok I upgraded to 4.4.7 and now i get

        All tests
        Fail: testofrequest -> testfilegetcontents -> Equal expectation fails at character 0 with [R1] and [] at [C:\xampp\htdocs\nab\vl\tests\test_request.php line 35]
        Fail: testofrequest -> testfilegetcontents -> Equal expectation fails at character 0 with [R1] and [] at [C:\xampp\htdocs\nab\vl\tests\test_request.php line 36]
        Exception: testofrequest -> testfilegetcontents -> Unexpected PHP error [file_get_contents(http://127.0.0.1:80/vl/tests/request1.txt) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found ] severity [E_WARNING] in [C:\xampp\htdocs\nab\vl\tests\test_request.php line 35]
        17/17 test cases complete: 455 passes, 2 fails and 1 exceptions.

         
    • lukosanthropos
      lukosanthropos
      2007-11-24

      Thanks Dude I'll try upgrading ... It'll be a pain convincing my host to do it but i will

       
  • jean_bruder
    jean_bruder
    2010-04-28

    Hello everybody,

    Just tried to install OpenNab 0.09, and got the same issues :

    All tests
    Fail: TestOfRequest -> testFileGetContents -> Equal expectation fails at character 0 with [R1] and [] at [/mnt/disk_usb/www/v_hosts/nabtux.no-ip.org/vl/tests/test_request.php line 35]
    Fail: TestOfRequest -> testFileGetContents -> Equal expectation fails at character 0 with [R1] and [] at [/mnt/disk_usb/www/v_hosts/nabtux.no-ip.org/vl/tests/test_request.php line 36]
    Exception: TestOfRequest -> testFileGetContents -> Unexpected PHP error [file_get_contents() [<a href='function.file-get-contents'>function.file-get-contents</a>]: php_network_getaddresses: getaddrinfo failed: Name or service not known] severity [E_WARNING] in [/mnt/disk_usb/www/v_hosts/nabtux.no-ip.org/vl/tests/test_request.php line 35]
    Exception: TestOfRequest -> testFileGetContents -> Unexpected PHP error [file_get_contents(http://nabtux:80/vl/tests/request1.txt) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known] severity [E_WARNING] in [/mnt/disk_usb/www/v_hosts/nabtux.no-ip.org/vl/tests/test_request.php line 35]
    17/17 test cases complete: 455 passes, 2 fails and 2 exceptions.
    

    Can you please help ?

    Configuration : Linux, lighttpd, php as fastcgi.