You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Vladimir Gorej (JIRA)" <ji...@apache.org> on 2012/12/24 16:02:12 UTC

[jira] [Updated] (LOG4PHP-201) Tests are not passing

     [ https://issues.apache.org/jira/browse/LOG4PHP-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Gorej updated LOG4PHP-201:
-----------------------------------

    Environment: 
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.1 LTS
Release:	12.04
Codename:	precise

PHP 5.3.10-1ubuntu3.4 with Suhosin-Patch (cli) (built: Sep 12 2012 18:59:41) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
    with Zlib extension installed

  was:
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04.1 LTS
Release:	12.04
Codename:	precise

PHP 5.3.10-1ubuntu3.4 with Suhosin-Patch (cli) (built: Sep 12 2012 18:59:41) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans


    
> Tests are not passing
> ---------------------
>
>                 Key: LOG4PHP-201
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-201
>             Project: Log4php
>          Issue Type: Bug
>         Environment: Distributor ID:	Ubuntu
> Description:	Ubuntu 12.04.1 LTS
> Release:	12.04
> Codename:	precise
> PHP 5.3.10-1ubuntu3.4 with Suhosin-Patch (cli) (built: Sep 12 2012 18:59:41) 
> Copyright (c) 1997-2012 The PHP Group
> Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
>     with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans
>     with Zlib extension installed
>            Reporter: Vladimir Gorej
>              Labels: test
>
> I cloned log4php git repository with anonymous access and tried to run the tests with phpunit. Tests did not pass and I got following error:
> char0n:~/projects/php/log4php$ phpunit
> PHPUnit 3.5.15 by Sebastian Bergmann.
> .............SSSSSS..........SSSSS..........E..................  63 / 260 ( 24%)
> ............................................................... 126 / 260 ( 48%)
> ............................................................... 189 / 260 ( 72%)
> .......DEBUG - test
> ........................................................ 252 / 260 ( 96%)
> ........
> Time: 4 seconds, Memory: 27.75Mb
> There was 1 error:
> 1) LoggerAppenderRollingFileTest::testRolloverWithCompression
> filesize(): stat failed for /home/char0n/projects/php/log4php/target/temp/phpunit/TEST-rolling.txt
> /home/char0n/projects/php/log4php/src/main/php/appenders/LoggerAppenderRollingFile.php:222
> /home/char0n/projects/php/log4php/src/main/php/appenders/LoggerAppenderFile.php:164
> /home/char0n/projects/php/log4php/src/main/php/LoggerAppender.php:84
> /home/char0n/projects/php/log4php/src/main/php/Logger.php:322
> /home/char0n/projects/php/log4php/src/test/php/appenders/LoggerAppenderRollingFileTest.php:156
> FAILURES!
> Tests: 260, Assertions: 944, Errors: 1, Skipped: 11.
> Generating code coverage report, this may take a moment.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira