[ 
https://issues.apache.org/jira/browse/LOG4PHP-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540857#comment-13540857
 ] 

Ivan Habunek commented on LOG4PHP-201:
--------------------------------------

You probably don't have the permissions for that. Please have a whack at it.

I had a look at the stack trace and it's pretty weird...
Logger.php:322 is adding a new appender to $this->appenders
LoggerAppender.php:84 is the appender destructor

                
> 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: VladimĂ­r 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

Reply via email to