Giter Site home page Giter Site logo

Failed make tests about phpiredis HOT 5 CLOSED

nrk avatar nrk commented on June 12, 2024
Failed make tests

from phpiredis.

Comments (5)

yanzzchn avatar yanzzchn commented on June 12, 2024 3

'Note': Installing the phpiredis extension requires php to install both the APC and APCU extensions in addition to Hiredis, otherwise the dynamic library cannot be loaded.

from phpiredis.

bitmammoth avatar bitmammoth commented on June 12, 2024

I see this was an old issue and version of this library apparently sorry :)

from phpiredis.

bitmammoth avatar bitmammoth commented on June 12, 2024

I closed this originally as I thought it had been caused by an old version of this lib but it seems this is different.

phpiredis enabled
phpiredis version 1.0.0
hiredis version 0.13.3

make test

Build complete.
Don't forget to run 'make test'.

PHP : /usr/bin/php7.2
PHP_SAPI : cli
PHP_VERSION : 7.2.9-1+ubuntu18.04.1+deb.sury.org+1
ZEND_VERSION: 3.2.0
PHP_OS : Linux - Linux -Q1 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64
INI actual : /phpiredis/tmp-php.ini
More .INIs :

PHP : /usr/bin/phpdbg7.2
PHP_SAPI : phpdbg
PHP_VERSION : 7.2.9-1+ubuntu18.04.1+deb.sury.org+1
ZEND_VERSION: 3.2.0
PHP_OS : Linux - Linux -Q1 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64
INI actual : /phpiredis/tmp-php.ini
More .INIs :

CWD : /phpiredis
Extra dirs :
VALGRIND : Not used

TIME START 2018-09-13 10:34:53

PASS [CLIENT] Connect to Redis [tests/client_001.phpt]
PASS [CLIENT] Persistent and non-persistent connections [tests/client_002.phpt]
SKIP [CLIENT] Persistent and non-persistent connections (UNIX socket) [tests/client_003.phpt] reason: Cannot find UNIX domain socket file at /tmp/redis.sock
PASS [CLIENT] Execute commands [tests/client_004.phpt]
PASS [CLIENT] Execute pipelined commands [tests/client_005.phpt]
PASS [CLIENT] Execute pipelined commands returning nested multibulk responses [tests/client_006.phpt]
PASS [CLIENT] Execute commands (binary-safe) [tests/client_007.phpt]
PASS [CLIENT] Execute commands with binary data (binary-safe) [tests/client_008.phpt]
PASS [CLIENT] Execute pipelined commands (binary safe) [tests/client_009.phpt]
PASS [CLIENT] Do not attempt to reconnect upon disconnection [tests/client_010.phpt]
PASS [CLIENT] Do not attempt to reconnect upon disconnection (pipeline) [tests/client_011.phpt]
FAIL [READER] Create reader resource [tests/reader_001.phpt]
FAIL [READER] Feed reader and parse responses [tests/reader_002.phpt]
FAIL [READER] Check reader state [tests/reader_003.phpt]
FAIL [READER] Reset reader [tests/reader_004.phpt]
FAIL [READER] Response types [tests/reader_005.phpt]
FAIL [READER] Set custom error handler [tests/reader_006.phpt]
FAIL [READER] Set custom status handler [tests/reader_007.phpt]
FAIL [READER] Custom error handler throwing exceptions or returning objects [tests/reader_008.phpt]
FAIL [READER] Properly handle NULL responses [tests/reader_009.phpt]
FAIL [READER] Keep multibulk responses types [tests/reader_010.phpt]
FAIL [READER] Test regression for segfaults [tests/reader_011.phpt]
PASS [READER] Parameters formatting should not modify input argument. [tests/reader_012.phpt]
PASS [READER] Parameters formatting should not break on many arguments [tests/reader_013.phpt]
PASS [SERIALIZER] Command serialization [tests/serializer_001.phpt]
PASS [SERIALIZER] Command serialization with non-string arguments [tests/serializer_002.phpt]
PASS [UTILS] Calculate the CRC16 of strings [tests/utils_001.phpt]

TIME END 2018-09-13 10:34:55

TEST RESULT SUMMARY

Exts skipped : 0
Exts tested : 15

Number of tests : 27 26
Tests skipped : 1 ( 3.7%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 11 ( 40.7%) ( 42.3%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 15 ( 55.6%) ( 57.7%)

Time taken : 2 seconds

FAILED TEST SUMMARY

[READER] Create reader resource [tests/reader_001.phpt]
[READER] Feed reader and parse responses [tests/reader_002.phpt]
[READER] Check reader state [tests/reader_003.phpt]
[READER] Reset reader [tests/reader_004.phpt]
[READER] Response types [tests/reader_005.phpt]
[READER] Set custom error handler [tests/reader_006.phpt]
[READER] Set custom status handler [tests/reader_007.phpt]
[READER] Custom error handler throwing exceptions or returning objects [tests/reader_008.phpt]
[READER] Properly handle NULL responses [tests/reader_009.phpt]
[READER] Keep multibulk responses types [tests/reader_010.phpt]
[READER] Test regression for segfaults [tests/reader_011.phpt]

from phpiredis.

bitmammoth avatar bitmammoth commented on June 12, 2024

php: symbol lookup error: /usr/lib/php/20170718/phpiredis.so: undefined symbol: redisReplyReaderCreate

Does this still happen with this version? I'm confused here :)

from phpiredis.

nrk avatar nrk commented on June 12, 2024

Changes to support Hiredis >= 0.14, >= 1.0 have been merged in the v1.1 branch, the new minor release will be shipped in a few days is everything is fine. Thank you.

from phpiredis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.