Skip to content

FAIL MemcachedServer [tests/memcachedserver6.phpt]  #513

Closed
@brianjmurrell

Description

Trying to build 3.2.0 on EL8 results in a test failure:

+ /usr/bin/php -n run-tests.php -x --show-diff

=====================================================================
PHP         : /usr/bin/php 
PHP_SAPI    : cli
PHP_VERSION : 7.3.20
ZEND_VERSION: 3.3.20
PHP_OS      : Linux - Linux bad5dae9360c4f7cba1813ecc399727e 5.16.15-201.fc35.x86_64 #1 SMP PREEMPT Thu Mar 17 05:45:13 UTC 2022 x86_64
INI actual  : /builddir/build/BUILD/php-pecl-memcached-3.2.0/NTS
More .INIs  :   
CWD         : /builddir/build/BUILD/php-pecl-memcached-3.2.0/NTS
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
TIME START 2022-03-26 14:19:06
=====================================================================
PASS Check for memcached presence [tests/001.phpt] 
PASS Memcached::add() [tests/add.phpt] 
PASS Memcached::append() [tests/append.phpt] 
PASS Memcached construct with bad arguments [tests/bad_construct.phpt] 
SKIP Memcached construct with bad arguments [tests/bad_construct_8.phpt] reason: PHP 8 only
PASS Memcached: Bug #16084 (Crash when addServers is called with an associative array) [tests/bug_16084.phpt] 
PASS Memcached: Bug #16959 (getMulti + BINARY_PROTOCOL problem) [tests/bug_16959.phpt] 
PASS Change prefix, pecl bug #17137 [tests/bug_17137.phpt] 
PASS Memcached::getServerByKey(): Bug pecl#18639 (Segfault in getServerByKey) [tests/bug_18639.phpt] 
PASS Memcached::get() with cache callback [tests/cachecallback.phpt] 
PASS make sure that callback exception behaves correctly [tests/callback_exception.phpt] 
PASS Callback initializer throws and dies [tests/callback_exception_2.phpt] 
PASS Memcached fetch cas & set cas [tests/cas.phpt] 
PASS Memcached multi fetch cas & set cas [tests/cas_multi.phpt] 
PASS Check if persistent object is persistent [tests/check_if_persistent.phpt] 
PASS Check if persistent object is new or an old persistent one [tests/check_if_pristine.phpt] 
PASS Memcached::checkKey() [tests/check_key.phpt] 
PASS Test cloning [tests/clone.phpt] 
PASS Memcached compression test [tests/compression_conditions.phpt] 
PASS Memcached compression test [tests/compression_types.phpt] 
PASS Conf settings persist. [tests/conf_persist.phpt] 
PASS Memcached constructor [tests/construct.phpt] 
PASS persistent memcached connection [tests/construct_persistent.phpt] 
PASS Default behaviors [tests/default_behavior.phpt] 
PASS Memcached store & fetch type correctness [tests/deleted.phpt] 
PASS Delete multi [tests/deletemulti.phpt] 
PASS Delete multi key types [tests/deletemultitypes.phpt] 
PASS Memcached::get/getMulti() flags [tests/get_flags.phpt] 
PASS Memcached getDelayed callback [tests/getdelayed.phpt] 
PASS Memcached::getMulti() [tests/getmulti.phpt] 
PASS Memcached::getServerByKey() [tests/getserverbykey.phpt] 
PASS getServerList [tests/getserverlist.phpt] 
PASS Test for bug 155 [tests/gh_155.phpt] 
PASS Test for Github issue 21 [tests/gh_21.phpt] 
PASS Test for Github issue 500 [tests/gh_500.phpt] 
PASS Test for Github issue #77 [tests/gh_77.phpt] 
PASS Test for GH #90 [tests/gh_90.phpt] 
PASS Test for Github issue #93 (double and long overflow) [tests/gh_93.phpt] 
PASS Memcached::increment() Memcached::decrement() [tests/incrdecr.phpt] 
PASS 64-bit Memcached::increment() decrement() incrementByKey() decrementByKey() [tests/incrdecr_64.phpt] 
PASS Memcached::incrementByKey() Memcached::decrementByKey() [tests/incrdecr_bykey.phpt] 
PASS Memcached::increment() Memcached::decrement() with initial support [tests/incrdecr_initial.phpt] 
PASS Memcached::increment() Memcached::decrement() with invalid key [tests/incrdecr_invalid_key.phpt] 
PASS Get version [tests/invalid_options.phpt] 
PASS Test that callback is invoked on new object [tests/invoke_callback.phpt] 
PASS Use callback initializer [tests/invoke_callback_2.phpt] 
PASS Test that callback is invoked on new object only once [tests/invoke_callback_twice.phpt] 
PASS Test valid and invalid keys - ascii [tests/keys_ascii.phpt] 
PASS Test valid and invalid keys - binary [tests/keys_binary.phpt] 
PASS Memcached local server test [tests/localserver.phpt] 
SKIP MemcachedServer [tests/memcachedserver.phpt] reason: needs at least libmemcached 1.1.0
TEST 52/96 [tests/memcachedserver6.phpt]
========DIFF========
003+ bool(false)
004+ bool(false)
005+ bool(false)
006+ bool(false)
007+ bool(false)
008+ bool(false)
009+ bool(false)
010+ Done
003- Incoming connection from [::1]:%s
004- client_id=[%s]: Add key=[add_key], value=[hello], flags=[0], expiration=[500]
005- client_id=[%s]: Append key=[append_key], value=[world], cas=[0]
006- client_id=[%s]: Prepend key=[prepend_key], value=[world], cas=[0]
007- client_id=[%s]: Incrementing key=[incr], delta=[2], initial=[1], expiration=[500]
008- client_id=[%s]: Decrementing key=[decr], delta=[2], initial=[1], expiration=[500]
009- client_id=[%s]: Delete key=[delete_k], cas=[0]
010- client_id=[%s]: Flush when=[1]
011- client_id=[%s]: Get key=[get_this]
012- client_id=[%s]: Noop
013- string(20) "Hello to you client!"
014- client_id=[%s]: Set key=[set_key], value=[value 1], flags=[0], expiration=[100], cas=[0]
015- client_id=[%s]: Replace key=[replace_key], value=[value 2], flags=[0], expiration=[200], cas=[0]
016- client_id=[%s]: Version
017- array(1) {
018-   ["[::1]:3434"]=>
019-   string(5) "1.1.1"
020- }
021- client_id=[%s]: Stat key=[]
022- array(1) {
023-   ["[::1]:3434"]=>
024-   array(2) {
025-     ["key"]=>
026-     string(0) ""
027-     ["foo"]=>
028-     string(3) "bar"
029-   }
030- }
031- client_id=[%s]: Stat key=[empty]
032- array(0) {
033- }
034- client_id=[%s]: Stat key=[foobar]
035- array(1) {
036-   ["[::1]:3434"]=>
037-   array(2) {
038-     ["key"]=>
039-     string(6) "foobar"
040-     ["foo"]=>
041-     string(3) "bar"
042-   }
043- }
044- client_id=[%s]: Stat key=[scalar]
045- array(1) {
046-   ["[::1]:3434"]=>
047-   array(1) {
048-     [0]=>
049-     string(%d) "you want it, you get it"
050-   }
051- }
052- client_id=[%s]: Stat key=[numeric array]
053- array(1) {
054-   ["[::1]:3434"]=>
055-   array(3) {
056-     [-1]=>
057-     string(3) "one"
058-     [0]=>
059-     string(3) "two"
060-     [1]=>
061-     string(5) "three"
062-   }
063- }
064- client_id=[%s]: Client quit
065- Done
========DONE========
FAIL MemcachedServer [tests/memcachedserver6.phpt] 
PASS Memcached GET_PRESERVE_ORDER flag in getMulti [tests/multi_order.phpt] 
PASS Test that correct return value is returned [tests/no-not-found.phpt] 
PASS Memcached options [tests/options.phpt] 
PASS Wrong return values for binary protocol [tests/pr_75.phpt] 
PASS Memcached::prepend() [tests/prepend.phpt] 
PASS Memcached::replace() [tests/replace.phpt] 
PASS Memcached result codes. [tests/rescode.phpt] 
PASS Cannot reset OPT_PREFIX_KEY #293 [tests/reset_keyprefix.phpt] 
SKIP Test SASL authentication [tests/sasl_basic.phpt] reason: MEMC_SASL_USER is not set
PASS Session bad configurations, prefix [tests/session_badconf_emptyprefix.phpt] 
SKIP Session bad configurations, lock wait time [tests/session_badconf_locktime.phpt] reason: skip until timeout in memcached set
PASS Session bad configurations, persistent [tests/session_badconf_persistent.phpt] 
PASS Session bad configurations, prefix [tests/session_badconf_prefix.phpt] 
PASS Session bad configurations, invalid save path (server list) [tests/session_badconf_servers-php72.phpt] 
SKIP Session bad configurations, invalid save path (server list) [tests/session_badconf_servers.phpt] 
PASS Session basic open, write, destroy [tests/session_basic.phpt] 
PASS Session basic open, write, destroy [tests/session_basic2.phpt] 
PASS Session basic open, write, destroy [tests/session_basic3.phpt] 
SKIP Session lazy binary warning old libmemcached [tests/session_lazy_warning.phpt] reason: too recent libmemcached
PASS Session lock [tests/session_lock-php71.phpt] 
SKIP Session lock [tests/session_lock.phpt] 
PASS Session persistent [tests/session_persistent.phpt] 
PASS Session regenerate [tests/session_regenerate.phpt] 
PASS Test libmemcached encryption [tests/set_encoding_key.phpt] 
SKIP Test libmemcached encryption [tests/set_encoding_key2.phpt] reason: test for libmemcached lower than 1.0.18
PASS set large data [tests/set_large.phpt] 
PASS Memcached::setMulti() [tests/setmulti.phpt] 
PASS Set options using setOptions [tests/setoptions.phpt] 
PASS Check stats [tests/stats.phpt] 
PASS Check stats does not hang on non-blocking binary protocol [tests/stats_hang.phpt] 
PASS Memcached store & fetch type and value correctness using igbinary serializer [tests/types_igbinary.phpt] 
PASS Memcached multi store & multi fetch type and value correctness using igbinary serializer [tests/types_igbinary_multi.phpt] 
PASS Memcached store & fetch type and value correctness using JSON serializer [tests/types_json.phpt] 
PASS Memcached multi store & multi fetch type and value correctness using JSON serializer [tests/types_json_multi.phpt] 
PASS Memcached store & fetch type and value correctness using msgpack serializer [tests/types_msgpack.phpt] 
PASS Memcached multi store & fetch type and value correctness using msgpack serializer [tests/types_msgpack_multi.phpt] 
PASS Memcached store & fetch type and value correctness using PHP serializer [tests/types_php.phpt] 
PASS Memcached multi store & fetch type and value correctness using PHP serializer [tests/types_php_multi.phpt] 
PASS Set with undefined key and value [tests/undefined_set.phpt] 
PASS Memcached user flags [tests/user-flags.phpt] 
PASS Memcached virtual buckets [tests/vbucket.phpt] 
PASS Memcached virtual buckets [tests/vbucket_error_7.phpt] 
SKIP Memcached virtual buckets [tests/vbucket_error_8.phpt] reason: PHP 8 only
PASS Get version [tests/version.phpt] 
=====================================================================
TIME END 2022-03-26 14:19:10

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   18
---------------------------------------------------------------------

Number of tests :   96                87
Tests skipped   :    9 (  9.4%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 (  1.0%) (  1.1%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :   86 ( 89.6%) ( 98.9%)
---------------------------------------------------------------------
Time taken      :    4 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
MemcachedServer [tests/memcachedserver6.phpt]
=====================================================================

Any ideas what the problem might be or how to chase it down?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions