php-5.3.10 /tests/ errors

Help
2012-02-21
2013-04-29
  • Stuart Shelton
    Stuart Shelton
    2012-02-21

    All tests
    Exception: TestOfMisc -> testGetValueOrDefault -> Unexpected PHP error [Undefined variable: thisVarIsNotDefined] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/tests/test_misc.php line 38]
    Exception: TestOfMisc -> testGetValueOrDefault -> Unexpected PHP error [Undefined offset: 2] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/tests/test_misc.php line 41]
    Exception: TestOfMisc -> testGetValueOrDefault -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/tests/test_misc.php line 44]
    Fail: TestOfRequest -> testFileGetContents -> Equal expectation fails at character 0 with [R1] and [] at [/var/www/localhost/htdocs/opennab/vl/tests/test_request.php line 35]
    Exception: TestOfRequest -> testFileGetContents -> Unexpected PHP error [Use of undefined constant LOG_LEVEL - assumed 'LOG_LEVEL'] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 99]
    Exception: TestOfPing -> testPackUnpack -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testEmptyBlock -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testCreateFromScratch -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testEnhancedMessage -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testEnhancedMessage -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testPackEmptyBlock -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testReboot -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Fail: TestOfBurrow -> testSave -> at [/var/www/localhost/htdocs/opennab/vl/tests/test_burrow.php line 88]
    Exception: TestOfBurrow -> testSave -> Unexpected PHP error [fopen(/var/www/localhost/htdocs/opennab/vl/burrows/test_to_delete): failed to open stream: Permission denied] severity [E_WARNING] in [/var/www/localhost/htdocs/opennab/vl/includes/misc.php line 54]
    Exception: TestOfBurrow -> testSave -> Unexpected PHP error [fwrite() expects parameter 1 to be resource, boolean given] severity [E_WARNING] in [/var/www/localhost/htdocs/opennab/vl/includes/misc.php line 55]
    Exception: TestOfBurrow -> testSave -> Unexpected PHP error [fclose() expects parameter 1 to be resource, boolean given] severity [E_WARNING] in [/var/www/localhost/htdocs/opennab/vl/includes/misc.php line 56]
    Exception: TestOfBurrow -> testSave -> Unexpected PHP error [fopen(/var/www/localhost/htdocs/opennab/vl/burrows/test_to_delete): failed to open stream: Permission denied] severity [E_WARNING] in [/var/www/localhost/htdocs/opennab/vl/includes/misc.php line 54]
    Exception: TestOfBurrow -> testSave -> Unexpected PHP error [fwrite() expects parameter 1 to be resource, boolean given] severity [E_WARNING] in [/var/www/localhost/htdocs/opennab/vl/includes/misc.php line 55]
    Exception: TestOfBurrow -> testSave -> Unexpected PHP error [fclose() expects parameter 1 to be resource, boolean given] severity [E_WARNING] in [/var/www/localhost/htdocs/opennab/vl/includes/misc.php line 56]
    Exception: TestOfBurrow -> testSave -> Unexpected PHP error [fopen(/var/www/localhost/htdocs/opennab/vl/burrows/test_to_delete): failed to open stream: Permission denied] severity [E_WARNING] in [/var/www/localhost/htdocs/opennab/vl/includes/misc.php line 54]
    Exception: TestOfBurrow -> testSave -> Unexpected PHP error [fwrite() expects parameter 1 to be resource, boolean given] severity [E_WARNING] in [/var/www/localhost/htdocs/opennab/vl/includes/misc.php line 55]
    Exception: TestOfBurrow -> testSave -> Unexpected PHP error [fclose() expects parameter 1 to be resource, boolean given] severity [E_WARNING] in [/var/www/localhost/htdocs/opennab/vl/includes/misc.php line 56]
    Exception: TestOfPluginAmbient -> testAmbient -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginMyWeather -> testWeather -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginMyRadio -> testRadio -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPlsM3u -> testChangeContents -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginDowntime -> testDowntime -> Unexpected PHP error [Undefined index: nextcall] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/plugins/downtime/_test.php line 37]
    17/17 test cases complete: 455 passes, 2 fails and 43 exceptions.

     
  • Stuart Shelton
    Stuart Shelton
    2012-02-21

    Correction, permissions were incorrect.  New results:

    All tests
    Exception: TestOfMisc -> testGetValueOrDefault -> Unexpected PHP error [Undefined variable: thisVarIsNotDefined] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/tests/test_misc.php line 38]
    Exception: TestOfMisc -> testGetValueOrDefault -> Unexpected PHP error [Undefined offset: 2] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/tests/test_misc.php line 41]
    Exception: TestOfMisc -> testGetValueOrDefault -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/tests/test_misc.php line 44]
    Exception: TestOfRequest -> testFileGetContents -> Unexpected PHP error [Use of undefined constant LOG_LEVEL - assumed 'LOG_LEVEL'] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 99]
    Exception: TestOfPing -> testPackUnpack -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testEmptyBlock -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testCreateFromScratch -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testEnhancedMessage -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testEnhancedMessage -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testPackEmptyBlock -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPing -> testReboot -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAmbient -> testAmbient -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginMyWeather -> testWeather -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginMyRadio -> testRadio -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPlsM3u -> testChangeContents -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginPingInterval -> testPingInterval -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginAsleep -> testSleep -> Unexpected PHP error [Undefined offset: 1] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/includes/request.php line 32]
    Exception: TestOfPluginDowntime -> testDowntime -> Unexpected PHP error [Undefined index: nextcall] severity [E_NOTICE] in [/var/www/localhost/htdocs/opennab/vl/plugins/downtime/_test.php line 37]
    17/17 test cases complete: 457 passes, 0 fails and 34 exceptions.
    
     
  • Stuart Shelton
    Stuart Shelton
    2012-02-21

    PHP's error.log contains:

    [21-Feb-2012 01:50:58 UTC] PHP Notice:  Use of undefined constant LOG_IN_SAME_FILE - assumed 'LOG_IN_SAME_FILE' in /var/www/localhost/htdocs/opennab/vl/includes/misc.php on line 70
    [21-Feb-2012 01:50:58 UTC] PHP Notice:  Constant OPENNAB_BASE_DIR already defined in /var/www/localhost/htdocs/opennab/vl/tests/test_burrow.php on line 25
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined variable: thisVarIsNotDefined in /var/www/localhost/htdocs/opennab/vl/tests/test_misc.php on line 38
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 2 in /var/www/localhost/htdocs/opennab/vl/tests/test_misc.php on line 41
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/tests/test_misc.php on line 44
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Use of undefined constant LOG_LEVEL - assumed 'LOG_LEVEL' in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 99
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined offset: 1 in /var/www/localhost/htdocs/opennab/vl/includes/request.php on line 32
    [21-Feb-2012 01:50:58 UTC] E_NOTICE: Undefined index: nextcall in /var/www/localhost/htdocs/opennab/vl/plugins/downtime/_test.php on line 37