Comments (14)
I cannot reproduce it with self compiled PHP 5.5.7
nor 5.5.9
, CLI nor CGI. Could you send us a compile time options?
from tester.
@Majkl578 Or send me a distro name and package version + list of loaded extensions if any, I'll try to find it.
from tester.
@milo: I currently have self-compiled 5.5.9 with the following configure line:
--prefix=$PREFIX_VERSION --with-layout=GNU --with-config-file-path=$CONFIG_PATH --with-config-file-scan-dir=$CONFIG_PATH/conf.d --enable-shared --with-pear --enable-cli --enable-cgi --enable-fpm --disable-short-tags --enable-bcmath --enable-calendar --enable-exif --enable-ftp --enable-gd-native-ttf --enable-json --enable-mbstring --enable-soap --enable-sockets --enable-xml --enable-zip --with-bz2 --with-curl --with-enchant --with-gd=shared --with-gettext --with-gmp --with-iconv --with-imap --with-imap-ssl --with-mcrypt --with-mhash --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-mhash --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-openssl --with-pcre-regex --enable-pdo --with-pdo-mysql=mysqlnd --with-pdo-pgsql --with-pdo-sqlite --with-pgsql --with-pspell --with-readline --with-sqlite3 --with-tidy --with-xmlrpc --with-xsl --with-zlib --without-db2 --without-db3 --with-kerberos --with-jpeg-dir=/usr/lib
Using Debian with apt preference on stable < testing < unstable < experimental.
I may be able to debug it further, not now though.
from tester.
@Majkl578 I recompiled PHP in the same way as you and I still cannot reproduce it. Do you use any php.ini?
from tester.
After some debugging, I traced it up to calling stream_get_contents in Tester\Runner\Job::isRunning. It appears to be caused by xdebug, when it is off, it passes ok. Just wtf.
from tester.
And which version od xdebug do you use? I tried 2.2.3 and it pass. Could you post xdebug setting too, please?
from tester.
PHP 5.5.9 NTS + XDebug 2.3.0dev (derickr/xdebug#72b087).
from tester.
Still cannot reproduce it. Could you send me php -i | grep xdebug
?
from tester.
r$ php -i | grep -i xdebug
/usr/local/php/conf/5.5.9/conf.d/xdebug.ini,
with Xdebug v2.3.0dev, Copyright (c) 2002-2013, by Derick Rethans
xdebug
xdebug support => enabled
xdebug.auto_trace => Off => Off
xdebug.cli_color => 0 => 0
xdebug.collect_assignments => Off => Off
xdebug.collect_includes => On => On
xdebug.collect_params => 0 => 0
xdebug.collect_return => Off => Off
xdebug.collect_vars => Off => Off
xdebug.coverage_enable => On => On
xdebug.default_enable => On => On
xdebug.dump.COOKIE => no value => no value
xdebug.dump.ENV => no value => no value
xdebug.dump.FILES => no value => no value
xdebug.dump.GET => no value => no value
xdebug.dump.POST => no value => no value
xdebug.dump.REQUEST => no value => no value
xdebug.dump.SERVER => no value => no value
xdebug.dump.SESSION => no value => no value
xdebug.dump_globals => On => On
xdebug.dump_once => On => On
xdebug.dump_undefined => Off => Off
xdebug.extended_info => On => On
xdebug.file_link_format => no value => no value
xdebug.force_display_errors => Off => Off
xdebug.force_error_reporting => 0 => 0
xdebug.halt_level => 0 => 0
xdebug.idekey => no value => no value
xdebug.max_nesting_level => 250 => 250
xdebug.overload_var_dump => On => On
xdebug.profiler_aggregate => Off => Off
xdebug.profiler_append => Off => Off
xdebug.profiler_enable => Off => Off
xdebug.profiler_enable_trigger => Off => Off
xdebug.profiler_output_dir => /tmp => /tmp
xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p
xdebug.remote_autostart => On => On
xdebug.remote_connect_back => Off => Off
xdebug.remote_cookie_expire_time => 3600 => 3600
xdebug.remote_enable => On => On
xdebug.remote_handler => dbgp => dbgp
xdebug.remote_host => localhost => localhost
xdebug.remote_log => /tmp/xdebug.log => /tmp/xdebug.log
xdebug.remote_mode => req => req
xdebug.remote_port => 9009 => 9009
xdebug.scream => Off => Off
xdebug.show_exception_trace => Off => Off
xdebug.show_local_vars => Off => Off
xdebug.show_mem_delta => Off => Off
xdebug.trace_enable_trigger => Off => Off
xdebug.trace_format => 0 => 0
xdebug.trace_options => 0 => 0
xdebug.trace_output_dir => /tmp => /tmp
xdebug.trace_output_name => trace.%c => trace.%c
xdebug.var_display_max_children => 128 => 128
xdebug.var_display_max_data => 512 => 512
xdebug.var_display_max_depth => 3 => 3
This problem is just... weird. :)
from tester.
I see xdebug.remote_autostart
. Does any application listen on port 9009? If so, try to close it or disable autostart. Mainly if tests run in paralel debug clients may be confused.
I still cannot reproduce it, but I guess it is an issue of remote debugging, because if I somehow catch the 9009 port and I don't send a response, test get stuck.
from tester.
It's because of PhpStorm debugger, but it listens only when I ask him to do so. It was disabled while running tests. Maybe I will try tommorow to combine some config.
from tester.
@Majkl578 Could you try it with last master?
from tester.
@Majkl578 Could you try it again?
from tester.
Human timeout
from tester.
Related Issues (20)
- Dumper bug in version 1.7.1 HOT 8
- Teamcity native support HOT 6
- FileMock test fails in PHP 7.3.0beta3 HOT 1
- Missing response code assertion HOT 2
- Class 'SimpleXMLElement' not found
- bypassFinals: touch() expects parameter 2 to be integer, null given
- bypassFinals: breaks file locking HOT 1
- E_USER_WARNING: File's modification time is in the future. Cannot update it: touch(): Tester\FileMock::stream_metadata is not implemented! HOT 4
- Support for minor distinction of exceptions HOT 3
- Annotation like @accessPrivateMethod HOT 3
- Add warning about wrong regex form in Assert::match() in tester output HOT 1
- PHP 7.4 support HOT 4
- Runner: Waiting for last async Job causes high CPU usage HOT 1
- Wrong usage of ANSI terminal colors HOT 2
- dataProvider & Tester\DataProvider::testQuery() must be of the type string
- fwrite to php://stderr throws E_NOTICE on php 7.4 HOT 21
- Export coverage to Cobertura xml format HOT 1
- `\Tester\TestCase::tearDown` is not executed on php crash HOT 3
- Tracking deprecations HOT 6
- Assert::type should accept native type names "boolean" and "double" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tester.