zendtech / ZendOptimizerPlus

Other
914 stars 142 forks source link

test suite fails on 7.0.4 #200

Closed cgtx closed 9 years ago

cgtx commented 9 years ago

I'm building as an RPM for CentOS 6. Part of the test suite is failing.

=====================================================================
PHP         : /usr/bin/php 
PHP_SAPI    : cli
PHP_VERSION : 5.4.36
ZEND_VERSION: 2.4.0
PHP_OS      : Linux - Linux george.rpmdev.rackspace.com 3.17.8-300.fc21.x86_64 #1 SMP Thu Jan 8 23:32:49 UTC 2015 x86_64
INI actual  : /builddir/build/BUILD/php54-pecl-zendopcache-7.0.4/NTS
More .INIs  :  
CWD         : /builddir/build/BUILD/php54-pecl-zendopcache-7.0.4/NTS
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
TIME START 2015-01-12 14:38:11
=====================================================================
PASS 001: O+ works in CLI [tests/001_cli.phpt] 
SKIP Blacklist (with glob, quote and comments) [tests/blacklist-win32.phpt] reason: only for Windows
PASS Blacklist (with glob, quote and comments) [tests/blacklist.phpt] 
PASS Bug #64353 (Built-in classes can be unavailable with dynamic includes and OPcache) [tests/bug64353.phpt] 
PASS Bug #64482 (Opcodes for dynamic includes should not be cached) [tests/bug64482.phpt] 
PASS Bug #65510 (5.5.2 crashes in _get_zval_ptr_ptr_var) [tests/bug65510.phpt] 
PASS Bug #65559 (cache not cleared if changes occur while running) [tests/bug65559.phpt] 
PASS Bug #65665 (Exception not properly caught when opcache enabled) [tests/bug65665.phpt] 
PASS Bug #65845 (Error when Zend Opcache Optimizer is fully enabled) [tests/bug65845.phpt] 
PASS Bug #65915 (Inconsistent results with require return value) [tests/bug65915.phpt] 
PASS Bug #66176 (Invalid constant substitution) [tests/bug66176.phpt] 
PASS Bug #66461 (PHP crashes if opcache.interned_strings_buffer=0) [tests/bug66461.phpt] 
PASS Bug #66474 (Optimizer bug in constant string to boolean conversion) [tests/bug66474.phpt] 
PASS Bug #67215 (php-cgi work with opcache, may be segmentation fault happen) [tests/bug67215.phpt] 
FAIL Test that script cached info is correct [tests/is_script_cached.phpt] 
PASS ISSUE #57 (segfaults in drupal7) [tests/issue0057.phpt] 
PASS ISSUE #79 (Optimization Problem/Bug) [tests/issue0079.phpt] 
SKIP ISSUE #115 (path issue when using phar) [tests/issue0115.phpt] 
PASS ISSUE #128 (opcache_invalidate segmentation fault) [tests/issue0128.phpt] 
PASS Issue #140: "opcache.enable_file_override" doesn't respect "opcache.revalidate_freq" [tests/issue0140.phpt] 
SKIP ISSUE #149 (Phar mount points not working this OPcache enabled) [tests/issue0149.phpt] 
PASS ISSUE #183 (TMP_VAR is not only used once) [tests/issue0183.phpt] 
PASS revalidate_path 01: OPCache must cache only resolved real paths when revalidate_path is set [tests/revalidate_path_01.phpt] 
=====================================================================
TIME END 2015-01-12 14:38:17
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   30
---------------------------------------------------------------------
Number of tests :   23                20
Tests skipped   :    3 ( 13.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 (  4.3%) (  5.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :   19 ( 82.6%) ( 95.0%)
---------------------------------------------------------------------
Time taken      :    6 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test that script cached info is correct [tests/is_script_cached.phpt]
=====================================================================

Checking the changelog, it appears that this was added in 7.0.4.

laruence commented 9 years ago

yeah, we are aware about it.... I will have a look into it ..

laruence commented 9 years ago

Now it must be fixed. and please ignore previouse fail, it is no harm.

cgtx commented 9 years ago

Thanks!