-
Notifications
You must be signed in to change notification settings - Fork 501
make test: 70% of tests are failing #202
Comments
FAILED TEST SUMMARYTest pthreads connections [tests/binding.phpt] |
can you show me some diffs? remarkably similar: #165 |
my steps for building pthreads as a module.. I will give pthreads embedded a try ... build php 5.5.6 with pthreads as module
(removing an buildconf like suggested in #62)
building...
building pthreads module*
(using --with-php-config as suggested in #165) results
|
Diffs ?? (in tests/ directory) |
building into php I've cloned pthreads into the ext/ path and
used configure like above, but added:
|
complex-statics-set-null.diff
|
thread.diff
|
There is something wrong with your setup:
(that fail is semi expected) Any chance you can grant me access to the machine this is happening on ?? Other wise, try executing one of the examples and providing me the backtrace and errors from that ... |
Thanks for your quick response. I'll try to move the machine, so you can get access from remote. In the meanwhile I've switched from CentOS 6.5 to Debian 7.2 and tried it with the same configure command and even just with
The debian installation was a clean install without any third party packages. Just
...and the same tests are failing. |
which arch are you running? |
Tested with debian
and CentOS x86_64
A second ago I figured out, that the test passed when I configure with ``--disable-all`
|
After configure like suggested here #58 (comment)
the tests a failing again:
|
Just want you to know, that I'm able to run one of the examples https://raw.github.com/krakjoe/pthreads/master/examples/Stacking.php after getting it working with:
I just hope, that there's a better solution than Thanks a lot for your great support |
i had the same issue with the configure from here
than i tried
and the result was
|
I would be interested to know which extension is causing the failure, if that is the problem ... |
After a many dozens of builds I finally isolated the extension. It's The build after `./configure --disable-all --enable-maintainer-zts --enable-pthreads`` passes all tests. But `./configure --disable-all --enable-maintainer-zts --enable-pthreads --enable-session`` is failing
I performed all builds/tests on a clean installation of Debian x86_64. I will double-check this result on CentOS 6.5 as well. |
Just verified the result on CenOS 6
|
I can consistently pass all tests with this config.nice
With a 5.5.6 checkout. My OS is fedora core, so I shouldn't expect it to be any different to, at the very least, Cent OS, it should behave exactly the same. Can you checkout b7ebd3a, see if that's where the bug was introduced (in the commit after that one, I think) It's pretty hard to debug something I cannot reproduce, if you can organize access to a machine where this occurs, it would be a great help to everyone ... |
Thanks alot. I'm working on a machine with remote access. I'm waiting on approval of the necessary firewall rules. On my CentOS box I tried the following
tests passed
`make install``
Stacking.php
|
I finally managed it and can give you access to my CentOS machine. |
Excellent, you can find me on #php.pecl or #phpdbg on efnet |
Trying to reinstall php7 (zts) + pthreads on ubuntu 14.04 with this installation which was working and yields pass result of about 90% but now test pass result is 21.7%. Please help me. |
Hi.
I'm trying to build pthreads (0.45) using php 5.5.6, 5.4.22, 5.3.27 on CentOS6.5. I've tried several methods: building php with --enable-pthreads=static and --enable-maintainer-zts or as an module.
Number of tests : 40 40
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 28 ( 70.0%) ( 70.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 12 ( 30.0%) ( 30.0%)
php -dextension=pthreads.so --ri=pthreads
pthreads
Version => 0.45-rc
./configure
--with-libdir=lib64
--with-layout=PHP
--with-pear
--with-apxs2
--enable-calendar
--enable-bcmath
--with-gmp
--enable-exif
--with-mcrypt
--with-mhash
--with-zlib
--with-bz2
--enable-zip
--enable-ftp
--enable-mbstring
--with-iconv
--enable-intl
--with-icu-dir=/usr
--with-gettext
--with-pspell
--enable-sockets
--with-openssl
--with-curl
--with-curlwrappers
--with-gd
--enable-gd-native-ttf
--with-jpeg-dir=/usr
--with-png-dir=/usr
--with-zlib-dir=/usr
--with-xpm-dir=/usr
--with-vpx-dir=/usr
--with-freetype-dir=/usr
--with-t1lib=/usr
--with-libxml-dir=/usr
--with-mysql=mysqlnd
--with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd
--enable-soap
--with-xmlrpc
--with-xsl
--with-tidy=/usr
--with-readline
--enable-libxml
--enable-xml
--enable-dom
--enable-simplexml
--enable-xmlreader
--enable-xmlwriter
--enable-pcntl
--enable-sysvshm
--enable-sysvmsg
--enable-shmop
--enable-maintainer-zts
--enable-cli
make
make test
Thanks in advance
Stefab
The text was updated successfully, but these errors were encountered: