redis / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
http://redis.io
Other
66.37k stars 23.72k forks source link

[BUG] `make test` fails: [exception]: Executing test client: error writing "file70": broken pipe. #7704

Open wolf99 opened 4 years ago

wolf99 commented 4 years ago

Describe the bug

make runs OK and the server and CLI seem to run OK given a basic CRUD test . but trying make test fails.

To reproduce

wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make test

Expected behavior

make test should not fail

Additional information

Guessing this is a problem with either my system or the config (although I haven't added any of my own) as probably CI would not be OK with failing tests:

Building on Ubuntu 18.04 on WSL 1 on Windows 10 (1809) gcc --version: 7.5.0 make --version: 4.1 pkg-config --version: 0.29.1

logged test output: ``` cd src && make test make[1]: Entering directory '/home/toby/make-redis/redis-stable/src' Cleanup: may take some time... OK Starting test server at port 11111 [ready]: 2535 Testing unit/printver [ready]: 2536 Testing unit/dump [ready]: 2534 Testing unit/auth [ready]: 2537 Testing unit/protocol [ready]: 2538 Testing unit/keyspace [ready]: 2539 Testing unit/scan [ready]: 2540 Testing unit/type/string [ready]: 2541 Testing unit/type/incr [ready]: 2542 Testing unit/type/list [ready]: 2544 Testing unit/type/list-2 [ready]: 2543 Testing unit/type/list-3 [ready]: 2545 Testing unit/type/set [ready]: 2547 Testing unit/type/zset [ready]: 2546 Testing unit/type/hash [ready]: 2548 Testing unit/type/stream [ready]: 2549 Testing unit/type/stream-cgroups [ok]: LPOS basic usage [ok]: XADD can add entries into a stream that XRANGE can fetch [ok]: LPOS RANK (positive and negative rank) option [ok]: AUTH fails if there is no password configured server side [ok]: XADD IDs are incremental [ok]: LPOS COUNT option [ok]: LPOS COUNT + RANK option [ok]: LPOS non existing key [ok]: XADD IDs are incremental when ms is the same as well [ok]: Check encoding - ziplist [ok]: LPOS no match [ok]: Handle an empty query [ok]: XADD IDs correctly report an error when overflowing Testing Redis version 6.0.6 (00000000) [ok]: HSET/HLEN - Small hash creation [ok]: Negative multibulk length [ok]: Out of range multibulk length [ok]: LPOS MAXLEN [ok]: ZSET basic ZADD and score update - ziplist [ok]: DUMP / RESTORE are able to serialize / unserialize a simple key [ok]: Is the small hash encoded with a ziplist? [ok]: ZSET element can't be set to NaN with ZADD - ziplist [ok]: Wrong multibulk payload header [ok]: ZSET element can't be set to NaN with ZINCRBY [ok]: DEL against a single item [ok]: Negative multibulk payload length [ok]: SET and GET an item [ok]: SADD, SCARD, SISMEMBER, SMEMBERS basics - regular set [ok]: ZADD with options syntax error with incomplete pair [ok]: Out of range multibulk payload length [ok]: Non-number multibulk payload length [ok]: ZADD XX option without key - ziplist [ok]: SET and GET an empty item [ok]: Vararg DEL [ok]: RESTORE can set an arbitrary expire to the materialized key [ok]: ZADD XX existing key - ziplist [ok]: Multi bulk request not followed by bulk arguments [ok]: RESTORE can set an expire that overflows a 32 bit integer [ok]: ZADD XX returns the number of elements actually added [ok]: RESTORE can set an absolute expire [ok]: Generic wrong number of args [ok]: INCR against non existing key [ok]: INCR against key created by incr itself [ok]: RESTORE with ABSTTL in the past [ok]: KEYS with pattern [ok]: INCR against key originally set with SET [ok]: INCR over 32bit value [ok]: Explicit regression for a list bug [ok]: INCRBY over 32bit value with over 32bit increment [ok]: RESTORE can set LRU [ok]: SADD, SCARD, SISMEMBER, SMEMBERS basics - intset [ok]: INCR fails against key with spaces (left) [ok]: KEYS to get all keys [ok]: Unbalanced number of quotes [ok]: INCR fails against key with spaces (right) [ok]: RESTORE can set LFU [ok]: DBSIZE [ok]: SADD against non set [ok]: RESTORE returns an error of the key already exists [ok]: INCR fails against key with spaces (both) [ok]: ZADD XX updates existing elements score [ok]: Regression for quicklist #3343 bug [ok]: LPUSH, RPUSH, LLENGTH, LINDEX, LPOP - ziplist [ok]: ZADD XX and NX are not compatible [ok]: INCR fails against a key holding a list [ok]: DECRBY over 32bit value with over 32bit increment, negative res [ok]: ZADD NX with non existing key [ok]: SADD a non-integer against an intset [ok]: DEL all keys [ok]: RESTORE can overwrite an existing key with REPLACE [ok]: RESTORE can detect a syntax error for unrecongized options [ok]: SADD an integer larger than 64 bits [ok]: ZADD NX only add new elements without updating old ones [ok]: DUMP of non existing key returns nil [ok]: ZADD INCR works like ZINCRBY [ok]: INCR uses shared objects in the 0-9999 range [ok]: ZADD INCR works with a single score-elemenet pair [ok]: INCR can modify objects in-place [ok]: INCRBYFLOAT against non existing key [ok]: ZADD CH option changes return value to all changed elements [ok]: INCRBYFLOAT against key originally set with SET [ok]: INCRBYFLOAT over 32bit value [ok]: INCRBYFLOAT over 32bit value with over 32bit increment [ok]: ZINCRBY calls leading to NaN result in error [ok]: INCRBYFLOAT fails against key with spaces (left) [ok]: INCRBYFLOAT fails against key with spaces (right) [ok]: LPUSH, RPUSH, LLENGTH, LINDEX, LPOP - regular list [ok]: ZADD - Variadic version base case [ok]: R/LPOP against empty list [ok]: INCRBYFLOAT fails against key with spaces (both) [ok]: ZADD - Return value is the number of actually added items [ok]: INCRBYFLOAT fails against a key holding a list [ok]: INCRBYFLOAT does not allow NaN or Infinity [ok]: ZADD - Variadic version does not add nothing on single parsing err [ok]: Variadic RPUSH/LPUSH [ok]: INCRBYFLOAT decrement [ok]: DEL a list [ok]: ZADD - Variadic version will raise error on missing arg [ok]: ZINCRBY does not work variadic even if shares ZADD implementation [ok]: string to double with null terminator [ok]: ZCARD basics - ziplist [err]: No negative zero in tests/unit/type/incr.tcl Expected '0' to equal or match '0.00000000000000001' [ok]: ZREM removes key after last element is removed [ok]: SCAN basic [ok]: BLPOP, BRPOP: single existing list - linkedlist [ok]: ZREM variadic version [ok]: ZREM variadic version -- remove elements after key deletion [ok]: XGROUP CREATE: creation and duplicate group name detection [ok]: XGROUP CREATE: automatic stream creation fails without MKSTREAM [ok]: XGROUP CREATE: automatic stream creation works with MKSTREAM [ok]: XREADGROUP will return only new elements [ok]: XREADGROUP can read the history of the elements we own [ok]: XPENDING is able to return pending items [ok]: XPENDING can return single consumer items [ok]: XACK is able to remove items from the client/group PEL [ok]: XACK can't remove the same item multiple times [ok]: XACK is able to accept multiple arguments [ok]: XACK should fail if got at least one invalid ID [ok]: PEL NACK reassignment after XGROUP SETID event [1/56 done]: unit/printver (2 seconds) Testing unit/sort [ok]: BLPOP, BRPOP: multiple existing lists - linkedlist [ok]: XREADGROUP will not report data on empty history. Bug #5577 [ok]: XREADGROUP history reporting of deleted entries. Bug #5570 [ok]: ZRANGE basics - ziplist [ok]: BLPOP, BRPOP: second list has an entry - linkedlist [ok]: Very big payload in GET/SET [ok]: Blocking XREADGROUP will not reply with an empty array [ok]: XGROUP DESTROY should unblock XREADGROUP with -NOGROUP [ok]: ZREVRANGE basics - ziplist [ok]: RENAME can unblock XREADGROUP with data [ok]: BRPOPLPUSH - linkedlist [ok]: RENAME can unblock XREADGROUP with -NOGROUP [ok]: BLPOP, BRPOP: single existing list - ziplist [ok]: ZRANK/ZREVRANK basics - ziplist [ok]: Protocol desync regression test #1 [ok]: ZRANK - after deletion - ziplist [ok]: ZINCRBY - can create a new sorted set - ziplist [ok]: ZINCRBY - increment and decrement - ziplist [2/56 done]: unit/type/incr (2 seconds) Testing unit/expire [ok]: ZINCRBY return value [ok]: BLPOP, BRPOP: multiple existing lists - ziplist [ok]: SCAN COUNT [ok]: BLPOP, BRPOP: second list has an entry - ziplist [ok]: BRPOPLPUSH - ziplist [ok]: BLPOP, LPUSH + DEL should not awake blocked client [ok]: ZRANGEBYSCORE/ZREVRANGEBYSCORE/ZCOUNT basics [ok]: BLPOP, LPUSH + DEL + SET should not awake blocked client [ok]: DEL against expired key [ok]: EXISTS [ok]: BLPOP with same key multiple times should work (issue #801) [ok]: SCAN MATCH [ok]: ZRANGEBYSCORE with WITHSCORES [ok]: Zero length value in key. SET/GET/EXISTS [ok]: Commands pipelining [ok]: Non existing command [ok]: MULTI/EXEC is isolated from the point of view of BLPOP [ok]: RENAME basic usage [ok]: RENAME source key should no longer exist [ok]: BLPOP with variadic LPUSH [ok]: RENAME against already existing key [ok]: ZRANGEBYSCORE with LIMIT [ok]: AUTH fails when a wrong password is given [ok]: RENAMENX basic usage [ok]: Arbitrary command gives an error when AUTH is required [ok]: RENAMENX against already existing key [ok]: AUTH succeeds when the right password is given [ok]: Once AUTH succeeded we can actually send commands to the server [ok]: ZRANGEBYSCORE with LIMIT and WITHSCORES [ok]: RENAMENX against already existing key (2) [ok]: RENAME against non existing source key [ok]: RENAME where source and dest key are the same (existing) [ok]: ZRANGEBYSCORE with non-value min or max [ok]: RENAMENX where source and dest key are the same (existing) [ok]: RENAME where source and dest key are the same (non existing) [ok]: Old Ziplist: SORT BY key [ok]: Old Ziplist: SORT BY key with limit [ok]: MIGRATE is caching connections [ok]: Old Ziplist: SORT BY hash field [ok]: RENAME with volatile key, should move the TTL as well [ok]: RENAME with volatile key, should not inherit TTL of target key [ok]: DEL all keys again (DB 0) [ok]: EXPIRE - set timeouts multiple times [ok]: EXPIRE - It should be still possible to read 'x' [ok]: DEL all keys again (DB 1) [ok]: ZRANGEBYLEX/ZREVRANGEBYLEX/ZLEXCOUNT basics [ok]: MOVE basic usage [ok]: MOVE against key existing in the target DB [ok]: MOVE against non-integer DB (#1428) [ok]: ZLEXCOUNT advanced [ok]: XCLAIM can claim PEL items from another consumer [ok]: MOVE can move key expire metadata as well [ok]: Protocol desync regression test #2 [ok]: MOVE does not create an expire if it does not exist [ok]: ZRANGEBYSLEX with LIMIT [ok]: ZRANGEBYLEX with invalid lex range specifiers [ok]: SET/GET keys in different DBs [ok]: RANDOMKEY [ok]: RANDOMKEY against empty DB [ok]: RANDOMKEY regression 1 [ok]: KEYS * two times with long key, Github issue #1208 [ok]: ZREMRANGEBYSCORE basics [ok]: ZREMRANGEBYSCORE with non-value min or max [3/56 done]: unit/auth (3 seconds) Testing unit/other [ok]: SCAN TYPE [ok]: ZREMRANGEBYRANK basics [ok]: SSCAN with encoding intset [ok]: ZUNIONSTORE against non-existing key doesn't set destination - ziplist [ok]: ZUNIONSTORE with empty set - ziplist [ok]: XCLAIM without JUSTID increments delivery count [ok]: ZUNIONSTORE basics - ziplist [ok]: SSCAN with encoding hashtable [ok]: ZUNIONSTORE with weights - ziplist [ok]: HSCAN with encoding ziplist [ok]: ZUNIONSTORE with a regular set and weights - ziplist [ok]: ZUNIONSTORE with AGGREGATE MIN - ziplist [ok]: ZUNIONSTORE with AGGREGATE MAX - ziplist [ok]: ZINTERSTORE basics - ziplist [ok]: ZINTERSTORE with weights - ziplist [ok]: HSET/HLEN - Big hash creation [ok]: ZINTERSTORE with a regular set and weights - ziplist [ok]: XINFO FULL output [ok]: Is the big hash encoded with an hash table? [ok]: HGET against the small hash [ok]: ZINTERSTORE with AGGREGATE MIN - ziplist [ok]: ZINTERSTORE with AGGREGATE MAX - ziplist [ok]: ZUNIONSTORE with +inf/-inf scores - ziplist [ok]: ZUNIONSTORE with NaN weights ziplist [ok]: BRPOPLPUSH with zero timeout should block indefinitely [ok]: SADD overflows the maximum allowed integers in an intset [ok]: Variadic SADD [ok]: ZINTERSTORE with +inf/-inf scores - ziplist [ok]: ZINTERSTORE with NaN weights ziplist [ok]: Protocol desync regression test #3 [ok]: Basic ZPOP with a single key - ziplist [ok]: ZPOP with count - ziplist [ok]: BZPOP with a single existing sorted set - ziplist [ok]: SAVE - make sure there are all the types as values [ok]: HSCAN with encoding hashtable [ok]: ZSCAN with encoding ziplist [ok]: BZPOP with multiple existing sorted sets - ziplist [ok]: BZPOP second sorted set has members - ziplist [ok]: Check encoding - skiplist [4/56 done]: unit/keyspace (4 seconds) Testing unit/multi [ok]: ZSET basic ZADD and score update - skiplist [ok]: ZSET element can't be set to NaN with ZADD - skiplist [ok]: ZSET element can't be set to NaN with ZINCRBY [ok]: ZADD with options syntax error with incomplete pair [ok]: ZADD XX option without key - skiplist [ok]: ZADD XX existing key - skiplist [ok]: ZADD XX returns the number of elements actually added [ok]: ZADD XX updates existing elements score [ok]: ZADD XX and NX are not compatible [ok]: ZADD NX with non existing key [ok]: ZADD NX only add new elements without updating old ones [ok]: ZADD INCR works like ZINCRBY [ok]: ZADD INCR works with a single score-elemenet pair [ok]: ZADD CH option changes return value to all changed elements [ok]: ZINCRBY calls leading to NaN result in error [ok]: ZADD - Variadic version base case [ok]: ZADD - Return value is the number of actually added items [ok]: ZADD - Variadic version does not add nothing on single parsing err [ok]: ZADD - Variadic version will raise error on missing arg [ok]: ZINCRBY does not work variadic even if shares ZADD implementation [ok]: ZCARD basics - skiplist [ok]: ZREM removes key after last element is removed [ok]: ZREM variadic version [ok]: ZREM variadic version -- remove elements after key deletion [ok]: ZSCAN with encoding skiplist [ok]: ZRANGE basics - skiplist [ok]: ZREVRANGE basics - skiplist [ok]: ZRANK/ZREVRANK basics - skiplist [ok]: ZRANK - after deletion - skiplist [ok]: MUTLI / EXEC basics [ok]: ZINCRBY - can create a new sorted set - skiplist [ok]: ZINCRBY - increment and decrement - skiplist [ok]: DISCARD [ok]: ZINCRBY return value [ok]: Nested MULTI are not allowed [ok]: MULTI where commands alter argc/argv [ok]: WATCH inside MULTI is not allowed [ok]: EXEC fails if there are errors while queueing commands #1 [ok]: EXEC fails if there are errors while queueing commands #2 [ok]: If EXEC aborts, the client MULTI state is cleared [ok]: ZRANGEBYSCORE/ZREVRANGEBYSCORE/ZCOUNT basics [ok]: EXEC works on WATCHed key not modified [ok]: EXEC fail on WATCHed key modified (1 key of 1 watched) [ok]: ZRANGEBYSCORE with WITHSCORES [ok]: EXEC fail on WATCHed key modified (1 key of 5 watched) [ok]: EXEC fail on WATCHed key modified by SORT with STORE even if the result is empty [ok]: ZRANGEBYSCORE with LIMIT [ok]: After successful EXEC key is no longer watched [ok]: HGET against the big hash [ok]: HGET against non existing key [ok]: ZRANGEBYSCORE with LIMIT and WITHSCORES [ok]: ZRANGEBYSCORE with non-value min or max [ok]: HSET in update and insert mode [ok]: HSETNX target key missing - small hash [ok]: After failed EXEC key is no longer watched [ok]: HSETNX target key exists - small hash [ok]: SCAN guarantees check under write load [ok]: HSETNX target key missing - big hash [ok]: BRPOPLPUSH with a client BLPOPing the target list [ok]: HSETNX target key exists - big hash [ok]: It is possible to UNWATCH [ok]: HMSET wrong number of args [ok]: UNWATCH when there is nothing watched works as expected [ok]: BRPOPLPUSH with wrong source type [ok]: SSCAN with integer encoded object (issue #1345) [ok]: HMSET - small hash [ok]: HMSET - big hash [ok]: SSCAN with PATTERN [ok]: HMGET against non existing key and fields [ok]: HMGET against wrong type [ok]: HSCAN with PATTERN [ok]: HMGET - small hash [ok]: HMGET - big hash [ok]: ZSCAN with PATTERN [ok]: FLUSHALL is able to touch the watched keys [ok]: HKEYS - small hash [ok]: ZRANGEBYLEX/ZREVRANGEBYLEX/ZLEXCOUNT basics [ok]: HKEYS - big hash [ok]: HVALS - small hash [ok]: FLUSHALL does not touch non affected keys [ok]: HVALS - big hash [ok]: FLUSHDB is able to touch the watched keys [ok]: HGETALL - small hash [ok]: HGETALL - big hash [ok]: FLUSHDB does not touch non affected keys [ok]: HDEL and return value [ok]: ZLEXCOUNT advanced [ok]: HDEL - more than a single value [ok]: HDEL - hash becomes empty before deleting all specified fields [ok]: HEXISTS [ok]: WATCH is able to remember the DB a key belongs to [ok]: Is a ziplist encoded Hash promoted on big payload? [ok]: HINCRBY against non existing database key [ok]: HINCRBY against non existing hash key [ok]: HINCRBY against hash key created by hincrby itself [ok]: HINCRBY against hash key originally set with HSET [ok]: WATCH will consider touched keys target of EXPIRE [ok]: ZRANGEBYSLEX with LIMIT [ok]: HINCRBY over 32bit value [ok]: HINCRBY over 32bit value with over 32bit increment [ok]: HINCRBY fails against hash value with spaces (left) [ok]: ZRANGEBYLEX with invalid lex range specifiers [ok]: HINCRBY fails against hash value with spaces (right) [ok]: HINCRBY can detect overflows [ok]: HINCRBYFLOAT against non existing database key [ok]: Consumer group last ID propagation to slave (NOACK=0) [ok]: HINCRBYFLOAT against non existing hash key [ok]: HINCRBYFLOAT against hash key created by hincrby itself [ok]: HINCRBYFLOAT against hash key originally set with HSET [ok]: HINCRBYFLOAT over 32bit value [ok]: HINCRBYFLOAT over 32bit value with over 32bit increment [ok]: HINCRBYFLOAT fails against hash value with spaces (left) [ok]: HINCRBYFLOAT fails against hash value with spaces (right) [ok]: EXPIRE - After 2.1 seconds the key should no longer be here [ok]: HINCRBYFLOAT fails against hash value that contains a null-terminator in the middle [ok]: HSTRLEN against the small hash [ok]: EXPIRE - write on expire should work [ok]: EXPIREAT - Check for EXPIRE alike behavior [ok]: SETEX - Set + Expire combo operation. Check for TTL [ok]: Regression for a crash with blocking ops and pipelining [ok]: SETEX - Check value [ok]: SETEX - Overwrite old key [ok]: XADD with MAXLEN option [ok]: ZREMRANGEBYSCORE basics [ok]: ZREMRANGEBYSCORE with non-value min or max [ok]: ZREMRANGEBYRANK basics [ok]: ZUNIONSTORE against non-existing key doesn't set destination - skiplist [ok]: ZUNIONSTORE with empty set - skiplist [ok]: ZUNIONSTORE basics - skiplist [ok]: ZUNIONSTORE with weights - skiplist [ok]: ZUNIONSTORE with a regular set and weights - skiplist [ok]: ZUNIONSTORE with AGGREGATE MIN - skiplist [ok]: ZUNIONSTORE with AGGREGATE MAX - skiplist [ok]: ZINTERSTORE basics - skiplist [ok]: ZINTERSTORE with weights - skiplist [ok]: ZINTERSTORE with a regular set and weights - skiplist [ok]: ZINTERSTORE with AGGREGATE MIN - skiplist [ok]: ZINTERSTORE with AGGREGATE MAX - skiplist [ok]: ZUNIONSTORE with +inf/-inf scores - skiplist [ok]: ZUNIONSTORE with NaN weights skiplist [ok]: ZINTERSTORE with +inf/-inf scores - skiplist [ok]: ZINTERSTORE with NaN weights skiplist [ok]: Basic ZPOP with a single key - skiplist [ok]: ZPOP with count - skiplist [ok]: BZPOP with a single existing sorted set - skiplist [ok]: BZPOP with multiple existing sorted sets - skiplist [ok]: BZPOP second sorted set has members - skiplist [ok]: ZINTERSTORE regression with two sets, intset+hashtable [ok]: ZUNIONSTORE regression, should not create NaN in scores [5/56 done]: unit/protocol (5 seconds) Testing unit/quit [ok]: ZINTERSTORE #516 regression, mixed sets and ziplist zsets [ok]: BRPOPLPUSH with wrong destination type [ok]: BRPOPLPUSH maintains order of elements after failure [ok]: BRPOPLPUSH with multiple blocked clients [ok]: ZUNIONSTORE result is sorted [ok]: ZSET commands don't accept the empty strings as valid score [ok]: Linked BRPOPLPUSH [ok]: Circular BRPOPLPUSH [ok]: Self-referential BRPOPLPUSH [ok]: BRPOPLPUSH inside a transaction [ok]: PUSH resulting from BRPOPLPUSH affect WATCH [ok]: WATCH will not consider touched expired keys [ok]: Consumer group last ID propagation to slave (NOACK=1) [err]: BRPOPLPUSH does not affect WATCH while still blocked in tests/unit/type/list.tcl Expected 'somevalue' to equal or match '' [ok]: DISCARD should clear the WATCH dirty flag on the client [ok]: DISCARD should UNWATCH all the keys [ok]: ZSCAN scores: regression test for issue #2175 [ok]: SETEX - Wait for the key to expire [ok]: SETEX - Wrong time parameter [ok]: PERSIST can undo an EXPIRE [ok]: MULTI / EXEC is propagated correctly (single write command) [ok]: PERSIST returns 0 against non existing or non volatile keys [ok]: HSTRLEN against the big hash [ok]: HSTRLEN against non existing field [ok]: HSTRLEN corner cases [ok]: Hash ziplist regression test for large keys [ok]: MULTI / EXEC is propagated correctly (empty transaction) [ok]: MULTI / EXEC is propagated correctly (read-only commands) [ok]: MULTI / EXEC is propagated correctly (write command, no effect) [ok]: DISCARD should not fail during OOM [ok]: Hash fuzzing #1 - 10 fields [ok]: QUIT returns OK [ok]: Pipelined commands after QUIT must not be executed [ok]: Pipelined commands after QUIT that exceed read buffer size [ok]: ZSCORE - ziplist [ok]: Hash fuzzing #2 - 10 fields [ok]: MULTI and script timeout [6/56 done]: unit/quit (2 seconds) Testing unit/aofrw [ok]: ZSCORE after a DEBUG RELOAD - ziplist [ok]: EXEC and script timeout [ok]: MULTI-EXEC body and script timeout [ok]: BRPOPLPUSH timeout [ok]: BLPOP when new key is moved into place [ok]: BLPOP when result key is created by SORT..STORE [ok]: BLPOP: with single empty list argument [ok]: BLPOP: with negative timeout [ok]: BLPOP: with non-integer timeout [ok]: EXPIRE pricision is now the millisecond [ok]: Empty stream with no lastid can be rewrite into AOF correctly [ok]: just EXEC and script timeout [ok]: exec with write commands and state change [ok]: ZSET sorting stresser - ziplist [ok]: exec with read commands and stale replica state change [ok]: Set encoding after DEBUG RELOAD [ok]: SREM basics - regular set [ok]: SREM basics - intset [ok]: SREM with multiple arguments [ok]: SREM variadic version with more args needed to destroy the key [ok]: BLPOP: with zero timeout should block indefinitely [ok]: BLPOP: second argument is not a list [7/56 done]: unit/multi (5 seconds) Testing unit/acl [ok]: BLPOP: timeout [ok]: BLPOP: arguments are empty [ok]: BRPOP: with single empty list argument [ok]: BRPOP: with negative timeout [ok]: BRPOP: with non-integer timeout [err]: PEXPIRE/PSETEX/PEXPIREAT can set sub-second expires in tests/unit/expire.tcl Expected 'somevalue {}' to equal or match '{} {}' [ok]: TTL returns time to live in seconds [8/56 done]: unit/type/stream-cgroups (11 seconds) Testing unit/latency-monitor [ok]: PTTL returns time to live in milliseconds [ok]: TTL / PTTL return -1 if key has no expire [ok]: TTL / PTTL return -2 if key does not exit [ok]: BRPOP: with zero timeout should block indefinitely [ok]: BRPOP: second argument is not a list [ok]: Very big payload random access [ok]: Connections start with the default user [ok]: It is possible to create new users [ok]: New users start disabled [ok]: Enabling the user allows the login [ok]: Redis should actively expire keys incrementally [ok]: BRPOP: timeout [ok]: Only the set of correct passwords work [ok]: It is possible to remove passwords from the set of valid ones [ok]: BRPOP: arguments are empty [ok]: Test password hashes can be added [ok]: Test password hashes validate input [ok]: ACL GETUSER returns the password hash instead of the actual password [ok]: BLPOP inside a transaction [ok]: Test hashed passwords removal [ok]: By default users are not able to access any command [ok]: LPUSHX, RPUSHX - generic [ok]: By default users are not able to access any key [ok]: LPUSHX, RPUSHX - linkedlist [ok]: It's possible to allow the access of a subset of keys [ok]: Users can be configured to authenticate with any password [ok]: ACLs can exclude single commands [ok]: Redis should lazy expire keys [ok]: LINSERT - linkedlist [ok]: ACLs can include or exclude whole classes of commands [ok]: LPUSHX, RPUSHX - ziplist [ok]: ACLs can include single subcommands [ok]: ACL GETUSER is able to translate back command permissions [ok]: ACL #5998 regression: memory leaks adding / removing subcommands [ok]: LINSERT - ziplist [ok]: LINSERT raise error on bad syntax [ok]: ACL LOG shows failed command executions at toplevel [ok]: EXPIRE should not resurrect keys (issue #1026) [ok]: ACL LOG is able to test similar events [ok]: 5 keys in, 5 keys out [ok]: ACL LOG is able to log keys access violations and key name [ok]: EXPIRE with empty string as TTL should report an error [ok]: ACL LOG RESET is able to flush the entries in the log [ok]: ACL LOG can distinguish the transaction context (1) [ok]: ACL LOG can distinguish the transaction context (2) [ok]: ACL can log errors in the context of Lua scripting [ok]: ACL LOG can accept a numerical argument to show less entries [ok]: ACL LOG can log failed auth attempts [ok]: ACL LOG entries are limited to a maximum amount [ok]: When default user is off, new connections are not authenticated [ok]: ACL HELP should not have unexpected options [ok]: Test latency events logging [ok]: LATENCY HISTORY output is ok [ok]: LATENCY LATEST output is ok [ok]: LATENCY HISTORY / RESET with wrong event name is fine [ok]: LATENCY DOCTOR produces some output [ok]: MIGRATE cached connections are released after some time [ok]: LATENCY RESET is able to reset events [9/56 done]: unit/acl (10 seconds) Testing integration/block-repl [ok]: FUZZ stresser with data model binary [ok]: Generated sets must be encoded as hashtable [ok]: SINTER with two sets - hashtable [ok]: SINTERSTORE with two sets - hashtable [ok]: MIGRATE is able to migrate a key between two instances [ok]: SINTERSTORE with two sets, after a DEBUG RELOAD - hashtable [ok]: SUNION with two sets - hashtable [ok]: SUNIONSTORE with two sets - hashtable [ok]: SINTER against three sets - hashtable [ok]: SINTERSTORE with three sets - hashtable [ok]: SET - use EX/PX option, TTL should not be reseted after loadaof [ok]: SUNION with non existing keys - hashtable [ok]: SET command will remove expire [ok]: SDIFF with two sets - hashtable [ok]: SDIFF with three sets - hashtable [ok]: SET - use KEEPTTL option, TTL should not be removed [ok]: SDIFFSTORE with three sets - hashtable [ok]: First server should have role slave after SLAVEOF [ok]: MIGRATE is able to copy a key between two instances [ok]: SET - use KEEPTTL option, TTL should not be removed after loadaof [ok]: Old Linked list: SORT BY key [ok]: Old Linked list: SORT BY key with limit [ok]: Old Linked list: SORT BY hash field [ok]: LINDEX consistency test - quicklist [10/56 done]: unit/expire (21 seconds) Testing integration/replication [ok]: MIGRATE will not overwrite existing keys, unless REPLACE is used [ok]: AOF rewrite during write load: RDB preamble=yes [ok]: Generated sets must be encoded as intset [ok]: SINTER with two sets - intset [ok]: SINTERSTORE with two sets - intset [ok]: SINTERSTORE with two sets, after a DEBUG RELOAD - intset [ok]: SUNION with two sets - intset [ok]: SUNIONSTORE with two sets - intset [ok]: SINTER against three sets - intset [ok]: SINTERSTORE with three sets - intset [ok]: SUNION with non existing keys - intset [ok]: SDIFF with two sets - intset [ok]: SDIFF with three sets - intset [ok]: SDIFFSTORE with three sets - intset [ok]: SDIFF with first set empty [ok]: SDIFF with same set two times [ok]: Slave enters handshake [ok]: MIGRATE propagates TTL correctly [ok]: LINDEX random access - quicklist [ok]: LATENCY of expire events are correctly collected [ok]: LATENCY HELP should not have unexpected options [11/56 done]: unit/latency-monitor (24 seconds) Testing integration/replication-2 [ok]: Check if list is still ok after a DEBUG RELOAD - quicklist [ok]: FUZZ stresser with data model alpha [ok]: First server should have role slave after SLAVEOF [ok]: If min-slaves-to-write is honored, write is accepted [ok]: No write if min-slaves-to-write is < attached slaves [ok]: If min-slaves-to-write is honored, write is accepted (again) [ok]: Slave is able to detect timeout during handshake [ok]: Hash fuzzing #1 - 512 fields [ok]: Set instance A as slave of B [ok]: LINDEX consistency test - quicklist [ok]: Stress tester for #3343-alike bugs [ok]: INCRBYFLOAT replication, should not remove expire [ok]: BRPOPLPUSH replication, when blocking against empty list [ok]: FUZZ stresser with data model compr [ok]: LINDEX random access - quicklist [ok]: BRPOPLPUSH replication, list exists [ok]: BLPOP followed by role change, issue #2473 [ok]: No write if min-slaves-max-lag is > of the slave lag [ok]: BGSAVE [ok]: SELECT an out of range DB [ok]: min-slaves-to-write is ignored by slaves [ok]: EXPIRES after a reload (snapshot + append only file rewrite) [ok]: Second server should have role master at first [ok]: SLAVEOF should start with link status "down" [ok]: The role should immediately be changed to "replica" [ok]: Sync should have transferred keys from master [ok]: The link status should be up [ok]: SET on the master should immediately propagate [ok]: FLUSHALL should replicate [ok]: ROLE in master reports master with a slave [ok]: ROLE in slave reports slave in connected state [ok]: AOF rewrite during write load: RDB preamble=no [ok]: Test replication with blocking lists and sorted sets operations [ok]: EXPIRES after AOF reload (without rewrite) [12/56 done]: integration/block-repl (30 seconds) Testing integration/replication-3 [ok]: Check if list is still ok after a DEBUG RELOAD - quicklist [ok]: LLEN against non-list value error [ok]: LLEN against non existing key [ok]: LINDEX against non-list value error [ok]: LINDEX against non existing key [ok]: LPUSH against non-list value error [ok]: RPUSH against non-list value error [ok]: RPOPLPUSH base case - linkedlist [ok]: RPOPLPUSH with the same list as src and dst - linkedlist [ok]: RPOPLPUSH with linkedlist source and existing target linkedlist [ok]: RPOPLPUSH with linkedlist source and existing target ziplist [ok]: PIPELINING stresser (also a regression for the old epoll bug) [ok]: APPEND basics [ok]: RPOPLPUSH base case - ziplist [ok]: APPEND basics, integer encoded values [ok]: RPOPLPUSH with the same list as src and dst - ziplist [ok]: RPOPLPUSH with ziplist source and existing target linkedlist [ok]: RPOPLPUSH with ziplist source and existing target ziplist [ok]: RPOPLPUSH against non existing key [ok]: RPOPLPUSH against non list src key [ok]: RPOPLPUSH against non list dst key [ok]: RPOPLPUSH against non existing src key [ok]: Basic LPOP/RPOP - linkedlist [ok]: Basic LPOP/RPOP - ziplist [ok]: LPOP/RPOP against non list value [ok]: Turning off AOF kills the background writing child if any [ok]: First server should have role slave after SLAVEOF [ok]: Mass RPOP/LPOP - quicklist [ok]: Hash fuzzing #2 - 512 fields [ok]: ziplist implementation: value encoding and backlink [ok]: Mass RPOP/LPOP - quicklist [ok]: LRANGE basics - linkedlist [ok]: AOF rewrite of list with quicklist encoding, string data [ok]: LRANGE inverted indexes - linkedlist [ok]: LRANGE out of range indexes including the full list - linkedlist [ok]: LRANGE out of range negative end index - linkedlist [ok]: LRANGE basics - ziplist [ok]: LRANGE inverted indexes - ziplist [ok]: LRANGE out of range indexes including the full list - ziplist [ok]: LRANGE out of range negative end index - ziplist [ok]: LRANGE against non existing key [ok]: LTRIM basics - linkedlist [ok]: LTRIM out of range negative end index - linkedlist [ok]: LTRIM basics - ziplist [ok]: LTRIM out of range negative end index - ziplist [ok]: LSET - linkedlist [ok]: LSET out of range index - linkedlist [ok]: LSET - ziplist [ok]: LSET out of range index - ziplist [ok]: LSET against non existing key [ok]: LSET against non list value [ok]: LREM remove all the occurrences - linkedlist [ok]: LREM remove the first occurrence - linkedlist [ok]: LREM remove non existing element - linkedlist [ok]: LREM starting from tail with negative count - linkedlist [ok]: LREM starting from tail with negative count (2) - linkedlist [ok]: LREM deleting objects that may be int encoded - linkedlist [ok]: LREM remove all the occurrences - ziplist [ok]: LREM remove the first occurrence - ziplist [ok]: LREM remove non existing element - ziplist [ok]: LREM starting from tail with negative count - ziplist [ok]: LREM starting from tail with negative count (2) - ziplist [ok]: LREM deleting objects that may be int encoded - ziplist [ok]: XADD mass insertion and XLEN [ok]: XADD with ID 0-0 [ok]: XRANGE COUNT works as expected [ok]: XREVRANGE COUNT works as expected [ok]: Regression for bug 593 - chaining BRPOPLPUSH with other blocking cmds [13/56 done]: unit/type/list (59 seconds) Testing integration/replication-4 [ok]: XRANGE can be used to iterate the whole stream [ok]: AOF rewrite of list with quicklist encoding, int data [ok]: First server should have role slave after SLAVEOF [ok]: APPEND fuzzing [ok]: FLUSHDB [ok]: Perform a final SAVE to leave a clean DB on disk [ok]: AOF rewrite of set with intset encoding, string data [14/56 done]: unit/other (60 seconds) Testing integration/replication-psync [ok]: XREVRANGE returns the reverse of XRANGE [ok]: XREAD with non empty stream [ok]: Non blocking XREAD with empty streams [ok]: XREAD with non empty second stream [ok]: Connect multiple replicas at the same time (issue #141), master diskless=no, replica diskless=disabled [ok]: Slave should be able to synchronize with the master [ok]: Detect write load to master [ok]: AOF rewrite of set with hashtable encoding, string data [ok]: Test replication partial resync: no reconnection, just sync (diskless: no, disabled, reconnect: 0) [ok]: Stress test the hash ziplist -> hashtable encoding conversion [err]: Test HINCRBYFLOAT for correct float representation (issue #2846) in tests/unit/type/hash.tcl Expected [r hincrbyfloat myhash float 1.23] eq {1.23} (context: type eval line 3 cmd {assert {[r hincrbyfloat myhash float 1.23] eq {1.23}}} proc ::test) [ok]: Test replication with parallel clients writing in differnet DBs [ok]: AOF rewrite of set with intset encoding, int data [15/56 done]: unit/type/hash (67 seconds) Testing integration/aof [ok]: Unfinished MULTI: Server should start if load-truncated is yes [ok]: Short read: Server should start if load-truncated is yes [ok]: Truncated AOF loaded: we expect foo to be equal to 5 [ok]: Append a new command after loading an incomplete AOF [ok]: Slave should be able to synchronize with the master [ok]: First server should have role slave after SLAVEOF [ok]: With min-slaves-to-write (1,3): master should be writable [ok]: With min-slaves-to-write (2,3): master should not be writable [ok]: Short read + command: Server should start [ok]: Truncated AOF loaded: we expect foo to be equal to 6 now [ok]: Detect write load to master [ok]: Bad format: Server should have logged an error [ok]: AOF rewrite of set with hashtable encoding, int data [ok]: Unfinished MULTI: Server should have logged an error [ok]: AOF rewrite of hash with ziplist encoding, string data [ok]: Short read: Server should have logged an error [ok]: With min-slaves-to-write: master not writable with lagged slave [ok]: Short read: Utility should confirm the AOF is not valid [ok]: Short read: Utility should be able to fix the AOF [ok]: Fixed AOF: Server should have been started [ok]: Fixed AOF: Keyspace should contain values that were parseable [ok]: AOF+SPOP: Server should have been started [ok]: AOF+SPOP: Set should have 1 member [ok]: Test replication partial resync: ok psync (diskless: no, disabled, reconnect: 1) [ok]: First server should have role slave after SLAVEOF [ok]: AOF+SPOP: Server should have been started [ok]: AOF+SPOP: Set should have 1 member [ok]: AOF rewrite of hash with hashtable encoding, string data [ok]: AOF+EXPIRE: Server should have been started [ok]: AOF+EXPIRE: List should be empty [ok]: AOF rewrite of hash with ziplist encoding, int data [ok]: Redis should not try to convert DEL into EXPIREAT for EXPIRE -1 [err]: Blocking XREAD waiting new data in tests/unit/type/stream.tcl Expected [lindex 0 0] eq {s2} (context: type eval line 7 cmd {assert {[lindex $res 0 0] eq {s2}}} proc ::test) [ok]: Blocking XREAD waiting old data [ok]: Connect multiple replicas at the same time (issue #141), master diskless=no, replica diskless=swapdb [ok]: Blocking XREAD will not reply with an empty array [ok]: XREAD: XADD + DEL should not awake client [ok]: Slave should be able to synchronize with the master [ok]: XREAD: XADD + DEL + LPUSH should not awake client [ok]: Detect write load to master [ok]: AOF rewrite of hash with hashtable encoding, int data [ok]: AOF rewrite of zset with ziplist encoding, string data [ok]: Test replication partial resync: no backlog (diskless: no, disabled, reconnect: 1) [ok]: AOF fsync always barrier issue [16/56 done]: integration/aof (29 seconds) Testing integration/rdb [ok]: RDB encoding loading test [ok]: Slave should be able to synchronize with the master [ok]: Server started empty with non-existing RDB file [ok]: Server started empty with empty RDB file [ok]: AOF rewrite of zset with skiplist encoding, string data [err]: XREAD with same stream name multiple times should work in tests/unit/type/stream.tcl Expected [lindex 0 0] eq {s2} (context: type eval line 7 cmd {assert {[lindex $res 0 0] eq {s2}}} proc ::test) [ok]: XREAD + multiple XADD inside transaction [ok]: XDEL basic test [ok]: Detect write load to master [ok]: AOF rewrite of zset with ziplist encoding, int data [ok]: Test RDB stream encoding [ok]: Connect multiple replicas at the same time (issue #141), master diskless=yes, replica diskless=disabled [ok]: Server should not start if RDB file can't be open [ok]: Server should not start if RDB is corrupted [ok]: Replication: commands with many arguments (issue #1221) [ok]: Test FLUSHALL aborts bgsave [ok]: Replication of SPOP command -- alsoPropagate() API [ok]: AOF rewrite of zset with skiplist encoding, int data [ok]: BGREWRITEAOF is delayed if BGSAVE is in progress [ok]: BGREWRITEAOF is refused if already in progress [17/56 done]: unit/aofrw (105 seconds) Testing integration/convert-zipmap-hash-on-load [18/56 done]: integration/replication-4 (54 seconds) Testing integration/logging [ok]: Test replication partial resync: ok after delay (diskless: no, disabled, reconnect: 1) [ok]: RDB load zipmap hash: converts to ziplist [ok]: LTRIM stress testing - linkedlist [ok]: Server is able to generate a stack trace on selected systems [19/56 done]: integration/logging (3 seconds) Testing integration/psync2 [ok]: RDB load zipmap hash: converts to hash table when hash-max-ziplist-entries is exceeded [ok]: RDB load zipmap hash: converts to hash table when hash-max-ziplist-value is exceeded [ok]: SET 10000 numeric keys and access all them in reverse order [ok]: DBSIZE should be 10000 now [ok]: SETNX target key missing [ok]: SETNX target key exists [ok]: SETNX against not-expired volatile key [20/56 done]: integration/convert-zipmap-hash-on-load (8 seconds) Testing integration/psync2-reg [ok]: Slave should be able to synchronize with the master [ok]: PSYNC2: --- CYCLE 1 --- [ok]: PSYNC2: [NEW LAYOUT] Set #2 as master [ok]: PSYNC2: Set #4 to replicate from #2 [ok]: PSYNC2: Set #0 to replicate from #4 [ok]: PSYNC2: Set #1 to replicate from #0 [ok]: PSYNC2: Set #3 to replicate from #0 [ok]: Detect write load to master [ok]: PSYNC2 #3899 regression: setup [ok]: PSYNC2 #3899 regression: kill first replica [ok]: PSYNC2: cluster is consistent after failover [ok]: PSYNC2 #3899 regression: kill chained replica [ok]: PSYNC2 #3899 regression: kill chained replica [ok]: Connect multiple replicas at the same time (issue #141), master diskless=yes, replica diskless=swapdb [ok]: PSYNC2 #3899 regression: kill chained replica [ok]: PSYNC2: generate load while killing replication links [ok]: PSYNC2: cluster is consistent after load (x = 1516) [ok]: PSYNC2: total sum of full synchronizations is exactly 4 [ok]: PSYNC2: --- CYCLE 2 --- [ok]: PSYNC2: [NEW LAYOUT] Set #0 as master [ok]: PSYNC2: Set #1 to replicate from #0 [ok]: PSYNC2: Set #3 to replicate from #0 [ok]: PSYNC2: Set #4 to replicate from #0 [ok]: PSYNC2: Set #2 to replicate from #3 [ok]: PSYNC2 #3899 regression: kill first replica [ok]: PSYNC2: cluster is consistent after failover [ok]: PSYNC2 #3899 regression: kill first replica [ok]: Test replication partial resync: backlog expired (diskless: no, disabled, reconnect: 1) [ok]: PSYNC2 #3899 regression: kill first replica [ok]: PSYNC2 #3899 regression: kill chained replica [ok]: PSYNC2 #3899 regression: kill first replica [ok]: PSYNC2: generate load while killing replication links [ok]: Slave should be able to synchronize with the master [ok]: PSYNC2 #3899 regression: kill first replica [ok]: PSYNC2: cluster is consistent after load (x = 3374) [ok]: PSYNC2: total sum of full synchronizations is exactly 4 [ok]: PSYNC2: --- CYCLE 3 --- [ok]: PSYNC2: [NEW LAYOUT] Set #3 as master [ok]: PSYNC2: Set #4 to replicate from #3 [ok]: PSYNC2: Set #1 to replicate from #3 [ok]: PSYNC2: Set #2 to replicate from #4 [ok]: PSYNC2: Set #0 to replicate from #3 [ok]: PSYNC2 #3899 regression: kill chained replica [ok]: Detect write load to master [ok]: PSYNC2 #3899 regression: kill first replica [ok]: Test replication partial resync: no reconnection, just sync (diskless: no, swapdb, reconnect: 0) [ok]: PSYNC2 #3899 regression: kill first replica [ok]: ZRANGEBYSCORE fuzzy test, 100 ranges in 128 element sorted set - ziplist [ok]: PSYNC2: cluster is consistent after failover [ok]: XDEL fuzz test [ok]: ZRANGEBYLEX fuzzy test, 100 ranges in 128 element sorted set - ziplist [ok]: SDIFF fuzzing [ok]: SINTER against non-set should throw error [ok]: SUNION against non-set should throw error [ok]: SINTER should handle non existing key as empty [ok]: PSYNC2 #3899 regression: kill first replica [ok]: SINTER with same integer elements but different encoding [ok]: SINTERSTORE against non existing keys should delete dstkey [ok]: SUNIONSTORE against non existing keys should delete dstkey [ok]: SPOP basics - hashtable [ok]: SPOP with =1 - hashtable [ok]: PSYNC2 #3899 regression: kill first replica [ok]: PSYNC2 #3899 regression: kill chained replica [ok]: PSYNC2 #3899 regression: kill first replica [ok]: SRANDMEMBER - hashtable [ok]: SPOP basics - intset [ok]: SPOP with =1 - intset [ok]: PSYNC2 #3899 regression: kill first replica [ok]: Slave should be able to synchronize with the master [ok]: SRANDMEMBER - intset [ok]: PSYNC2 #3899 regression: kill first replica [ok]: PSYNC2 #3899 regression: kill chained replica [ok]: SPOP with [ok]: SPOP with [ok]: SPOP using integers, testing Knuth's and Floyd's algorithm [ok]: SPOP using integers with Knuth's algorithm [ok]: SPOP new implementation: code path #1 [ok]: SPOP new implementation: code path #2 [ok]: SPOP new implementation: code path #3 [ok]: SRANDMEMBER with against non existing key [ok]: SRANDMEMBER with - hashtable [ok]: Detect write load to master [ok]: SRANDMEMBER with - intset [ok]: ZREMRANGEBYLEX fuzzy test, 100 ranges in 128 element sorted set - ziplist [ok]: SMOVE basics - from regular set to intset [ok]: SMOVE basics - from intset to regular set [ok]: SMOVE non existing key [ok]: SMOVE non existing src set [ok]: SMOVE from regular set to non existing destination set [ok]: SMOVE from intset to non existing destination set [ok]: SMOVE wrong src key type [ok]: SMOVE wrong dst key type [ok]: PSYNC2: generate load while killing replication links [ok]: SMOVE with identical source and destination [ok]: PSYNC2 #3899 regression: verify consistency [ok]: ZSETs skiplist implementation backlink consistency test - ziplist [ok]: PSYNC2: cluster is consistent after load (x = 4355) [ok]: PSYNC2: total sum of full synchronizations is exactly 4 [ok]: PSYNC2: --- CYCLE 4 --- [ok]: PSYNC2: [NEW LAYOUT] Set #3 as master [ok]: PSYNC2: Set #2 to replicate from #3 [ok]: PSYNC2: Set #0 to replicate from #2 [ok]: PSYNC2: Set #4 to replicate from #2 [ok]: PSYNC2: Set #1 to replicate from #3 [21/56 done]: integration/psync2-reg (27 seconds) Testing integration/psync2-pingoff [ok]: PSYNC2: cluster is consistent after failover [ok]: PSYNC2 pingoff: setup [ok]: PSYNC2 pingoff: write and wait replication [ok]: Test replication partial resync: ok psync (diskless: no, swapdb, reconnect: 1) [ok]: Old Big Linked list: SORT BY key [ok]: Old Big Linked list: SORT BY key with limit [ok]: Old Big Linked list: SORT BY hash field [ok]: Intset: SORT BY key [ok]: Intset: SORT BY key with limit [ok]: Intset: SORT BY hash field [ok]: PSYNC2: generate load while killing replication links [ok]: PSYNC2: cluster is consistent after load (x = 5736) [ok]: PSYNC2: total sum of full synchronizations is exactly 4 [ok]: PSYNC2: --- CYCLE 5 --- [ok]: PSYNC2: [NEW LAYOUT] Set #4 as master [ok]: PSYNC2: Set #0 to replicate from #4 [ok]: PSYNC2: Set #3 to replicate from #0 [ok]: PSYNC2: Set #2 to replicate from #4 [ok]: PSYNC2: Set #1 to replicate from #3 [ok]: Slave should be able to synchronize with the master [ok]: PSYNC2 pingoff: pause replica and promote it [ok]: Detect write load to master [ok]: Make the old master a replica of the new one and check conditions [ok]: SETNX against expired volatile key [ok]: MGET [ok]: MGET against non existing key [ok]: MGET against non-string key [ok]: GETSET (set new value) [ok]: GETSET (replace old value) [ok]: MSET base case [ok]: MSET wrong number of args [ok]: MSETNX with already existent key [ok]: MSETNX with not existing keys [ok]: STRLEN against non-existing key [ok]: STRLEN against integer-encoded value [ok]: STRLEN against plain string [ok]: SETBIT against non-existing key [ok]: SETBIT against string-encoded key [ok]: SETBIT against integer-encoded key [ok]: SETBIT against key with wrong type [ok]: SETBIT with out of range bit offset [ok]: SETBIT with non-bit argument [ok]: PSYNC2: cluster is consistent after failover [ok]: MASTER and SLAVE consistency with expire [ok]: PSYNC2: generate load while killing replication links [ok]: PSYNC2: cluster is consistent after load (x = 6978) [ok]: PSYNC2: total sum of full synchronizations is exactly 4 [ok]: Hash table: SORT BY key [ok]: Hash table: SORT BY key with limit [ok]: Hash table: SORT BY hash field [ok]: PSYNC2: Bring the master back again for next test [ok]: Test replication partial resync: no backlog (diskless: no, swapdb, reconnect: 1) [ok]: XRANGE fuzzing [ok]: XREVRANGE regression test for issue #5006 [ok]: XREAD streamID edge (no-blocking) [ok]: XREAD streamID edge (blocking) [ok]: XADD streamID edge [ok]: PSYNC2: Partial resync after restart using RDB aux fields [ok]: XADD with MAXLEN > xlen can propagate correctly [ok]: PSYNC2: Replica RDB restart with EVALSHA in backlog issue #4483 [ok]: XADD with ~ MAXLEN can propagate correctly [ok]: Slave is able to evict keys created in writable slaves [ok]: Slave should be able to synchronize with the master [ok]: test various edge cases of repl topology changes with missing pings at the end [ok]: XTRIM with ~ MAXLEN can propagate correctly [ok]: First server should have role slave after SLAVEOF [22/56 done]: integration/psync2 (54 seconds) Testing integration/redis-cli [ok]: Detect write load to master [ok]: XADD can CREATE an empty stream [ok]: XSETID can set a specific ID [ok]: XSETID cannot SETID with smaller ID [ok]: XSETID cannot SETID on non-existent key [ok]: Interactive CLI: INFO response should be printed raw [ok]: Interactive CLI: Status reply [ok]: Interactive CLI: Integer reply [ok]: Interactive CLI: Bulk reply [ok]: Interactive CLI: Multi-bulk reply [ok]: Interactive CLI: Parsing quotes [ok]: SETBIT fuzzing [ok]: GETBIT against non-existing key [ok]: GETBIT against string-encoded key [ok]: GETBIT against integer-encoded key [ok]: Non-interactive TTY CLI: Status reply [ok]: SETRANGE against non-existing key [ok]: SETRANGE against string-encoded key [ok]: Non-interactive TTY CLI: Integer reply [ok]: SETRANGE against integer-encoded key [ok]: SETRANGE against key with wrong type [ok]: SETRANGE with out of range offset [ok]: GETRANGE against non-existing key [ok]: Non-interactive TTY CLI: Bulk reply [ok]: GETRANGE against string value [ok]: GETRANGE against integer-encoded value [ok]: Non-interactive TTY CLI: Multi-bulk reply [ok]: Non-interactive TTY CLI: Read last argument from pipe [ok]: Non-interactive TTY CLI: Read last argument from file [ok]: Non-interactive non-TTY CLI: Status reply [ok]: Empty stream can be rewrite into AOF correctly [ok]: Non-interactive non-TTY CLI: Integer reply [ok]: Non-interactive non-TTY CLI: Bulk reply [ok]: Non-interactive non-TTY CLI: Multi-bulk reply [ok]: Non-interactive non-TTY CLI: Read last argument from pipe [ok]: Non-interactive non-TTY CLI: Read last argument from file [ok]: Stream can be rewrite into AOF correctly after XDEL lastid [ok]: client freed during loading [23/56 done]: integration/rdb (79 seconds) Testing unit/pubsub [ok]: XGROUP HELP should not have unexpected options [ok]: Pub/Sub PING [ok]: PUBLISH/SUBSCRIBE basics [ok]: PUBLISH/SUBSCRIBE with two clients [err]: PUBLISH/SUBSCRIBE after UNSUBSCRIBE without arguments in tests/unit/pubsub.tcl Expected '0' to be equal to '1' (context: type eval line 5 cmd {assert_equal 0 [r publish chan1 hello]} proc ::test) [ok]: SUBSCRIBE to one channel more than once [ok]: UNSUBSCRIBE from non-subscribed channels [ok]: PUBLISH/PSUBSCRIBE basics [ok]: PUBLISH/PSUBSCRIBE with two clients [err]: PUBLISH/PSUBSCRIBE after PUNSUBSCRIBE without arguments in tests/unit/pubsub.tcl Expected '0' to be equal to '1' (context: type eval line 5 cmd {assert_equal 0 [r publish chan1.hi hello]} proc ::test) [ok]: PUNSUBSCRIBE from non-subscribed channels [ok]: NUMSUB returns numbers, not strings (#1561) [ok]: Mix SUBSCRIBE and PSUBSCRIBE [ok]: PUNSUBSCRIBE and UNSUBSCRIBE should always reply [ok]: Keyspace notifications: we receive keyspace notifications [ok]: Keyspace notifications: we receive keyevent notifications [ok]: Keyspace notifications: we can receive both kind of events [ok]: Keyspace notifications: we are able to mask events [ok]: Keyspace notifications: general events test [ok]: Keyspace notifications: list events test [ok]: Keyspace notifications: set events test [24/56 done]: unit/type/stream (177 seconds) Testing unit/slowlog [ok]: Keyspace notifications: zset events test [ok]: Keyspace notifications: hash events test [ok]: Keyspace notifications: expired events (triggered expire) [ok]: Keyspace notifications: expired events (background expire) [ok]: Keyspace notifications: evicted events [ok]: Keyspace notifications: test CONFIG GET/SET of event flags [ok]: SLOWLOG - check that it starts with an empty log [ok]: SLOWLOG - only logs commands taking more time than specified [ok]: SLOWLOG - max entries is correctly handled [ok]: SLOWLOG - GET optional argument to limit output len works [ok]: SLOWLOG - RESET subcommand works [25/56 done]: unit/pubsub (3 seconds) Testing unit/scripting [ok]: SLOWLOG - logged entry sanity check [ok]: SLOWLOG - commands with too many arguments are trimmed [ok]: SLOWLOG - too long arguments are trimmed [ok]: SLOWLOG - EXEC is not logged, just executed commands [ok]: SLOWLOG - can clean older entires [ok]: EVAL - Does Lua interpreter replies to our requests? [ok]: EVAL - Lua integer -> Redis protocol type conversion [ok]: EVAL - Lua string -> Redis protocol type conversion [ok]: EVAL - Lua true boolean -> Redis protocol type conversion [ok]: EVAL - Lua false boolean -> Redis protocol type conversion [ok]: EVAL - Lua status code reply -> Redis protocol type conversion [ok]: EVAL - Lua error reply -> Redis protocol type conversion [ok]: EVAL - Lua table -> Redis protocol type conversion [ok]: EVAL - Are the KEYS and ARGV arrays populated correctly? [ok]: EVAL - is Lua able to call Redis API? [ok]: ZSETs ZRANK augmented skip list stress testing - ziplist [ok]: EVALSHA - Can we call a SHA1 if already defined? [ok]: EVALSHA - Can we call a SHA1 in uppercase? [ok]: EVALSHA - Do we get an error on invalid SHA1? [ok]: BZPOPMIN, ZADD + DEL should not awake blocked client [ok]: EVALSHA - Do we get an error on non defined SHA1? [ok]: EVAL - Redis integer -> Lua type conversion [ok]: EVAL - Redis bulk -> Lua type conversion [ok]: EVAL - Redis multi bulk -> Lua type conversion [ok]: EVAL - Redis status reply -> Lua type conversion [ok]: EVAL - Redis error reply -> Lua type conversion [ok]: BZPOPMIN, ZADD + DEL + SET should not awake blocked client [ok]: EVAL - Redis nil bulk reply -> Lua type conversion [ok]: EVAL - Is the Lua client using the currently selected DB? [ok]: EVAL - SELECT inside Lua should not affect the caller [ok]: BZPOPMIN with same key multiple times should work [ok]: EVAL - Scripts can't run certain commands [ok]: EVAL - Scripts can't run XREAD and XREADGROUP with BLOCK option [ok]: EVAL - Scripts can't run certain commands [ok]: EVAL - No arguments to redis.call/pcall is considered an error [ok]: MULTI/EXEC is isolated from the point of view of BZPOPMIN [ok]: EVAL - redis.call variant raises a Lua error on Redis cmd error (1) [ok]: EVAL - redis.call variant raises a Lua error on Redis cmd error (1) [ok]: BZPOPMIN with variadic ZADD [ok]: EVAL - redis.call variant raises a Lua error on Redis cmd error (1) [ok]: EVAL - JSON numeric decoding [ok]: EVAL - JSON string decoding [ok]: EVAL - cmsgpack can pack double? [ok]: EVAL - cmsgpack can pack negative int64? [ok]: EVAL - cmsgpack can pack and unpack circular references? [ok]: EVAL - Numerical sanity check from bitop [ok]: EVAL - Verify minimal bitop functionality [ok]: EVAL - Able to parse trailing comments [ok]: SCRIPTING FLUSH - is able to clear the scripts cache? [ok]: SCRIPT EXISTS - can detect already defined scripts? [ok]: SCRIPT LOAD - is able to register scripts in the scripting cache [ok]: In the context of Lua the output of random commands gets ordered [ok]: SORT is normally not alpha re-ordered for the scripting engine [ok]: SORT BY output gets ordered for scripting [ok]: SORT BY with GET gets ordered for scripting [ok]: SLOWLOG - can be disabled [ok]: redis.sha1hex() implementation [ok]: Globals protection reading an undeclared global variable [ok]: Globals protection setting an undeclared global* [ok]: Test an example script DECR_IF_GT [ok]: Scripting engine resets PRNG at every script execution [ok]: Scripting engine PRNG can be seeded correctly [ok]: Chained replicas disconnect when replica re-connect with the same master [ok]: Master stream is correctly processed while the replica has a script in -BUSY state [ok]: Non-interactive non-TTY CLI: Dumping an RDB [ok]: BZPOPMIN with zero timeout should block indefinitely [26/56 done]: unit/slowlog (3 seconds) Testing unit/maxmemory [ok]: Test replication partial resync: ok after delay (diskless: no, swapdb, reconnect: 1) [ok]: EVAL does not leak in the Lua stack [ok]: Without maxmemory small integers are shared [ok]: With maxmemory and non-LRU policy integers are still shared [ok]: With maxmemory and LRU policy integers are not shared [ok]: EVAL processes writes from AOF in read-only slaves [ok]: We can call scripts rewriting client->argv from Lua [ok]: Call Redis command with many args from Lua (issue #1764) [ok]: Number conversion precision test (issue #1118) [ok]: String containing number precision test (regression of issue #1118) [ok]: SCAN regression test for issue #4906 [ok]: Verify negative arg count is error instead of crash (issue #1842) [ok]: Correct handling of reused argv (issue #1939) [ok]: Functions in the Redis namespace are able to report errors [ok]: ZSCORE - skiplist [27/56 done]: unit/scan (181 seconds) Testing unit/introspection [28/56 done]: integration/psync2-pingoff (35 seconds) Testing unit/introspection-2 [ok]: CLIENT LIST [ok]: MONITOR can log executed commands [ok]: MONITOR can log commands issued by the scripting engine [ok]: CLIENT GETNAME should return NIL if name is not assigned [ok]: CLIENT LIST shows empty fields for unassigned names [ok]: CLIENT SETNAME does not accept spaces [ok]: CLIENT SETNAME can assign a name to this connection [ok]: CLIENT SETNAME can change the name of an existing connection [ok]: After CLIENT SETNAME, connection can still be closed [ok]: ZSCORE after a DEBUG RELOAD - skiplist [ok]: CONFIG sanity [ok]: Non-interactive non-TTY CLI: Connecting as a replica [ok]: Timedout read-only scripts can be killed by SCRIPT KILL [ok]: GETRANGE fuzzing [ok]: Extended SET can detect syntax errors [ok]: Extended SET NX option [ok]: Extended SET XX option [ok]: Extended SET EX option [ok]: Extended SET PX option [ok]: Extended SET using multiple options at once [ok]: GETRANGE with huge ranges, Github issue #1844 [ok]: STRALGO LCS string output with STRINGS option [ok]: STRALGO LCS len [ok]: LCS with KEYS option [ok]: LCS indexes [ok]: LCS indexes with match len [ok]: LCS indexes with match len and minimum match len [ok]: Timedout script link is still usable after Lua returns [29/56 done]: unit/introspection (3 seconds) Testing unit/limits [ok]: ZSET sorting stresser - skiplist [ok]: Timedout scripts that modified data can't be killed by SCRIPT KILL [ok]: SHUTDOWN NOSAVE can kill a timedout script anyway [ok]: Slave should be able to synchronize with the master [30/56 done]: unit/type/string (184 seconds) Testing unit/obuf-limits [ok]: Check if maxclients works refusing connections [ok]: Before the replica connects we issue two EVAL commands (scripts replication) [ok]: TTL and TYPYE do not alter the last access time of a key [ok]: maxmemory - is the memory limit honoured? (policy allkeys-random) [ok]: Detect write load to master [31/56 done]: unit/limits (2 seconds) Testing unit/bitops [ok]: Connect a replica to the master instance (scripts replication) [ok]: Now use EVALSHA against the master, with both SHAs (scripts replication) [ok]: If EVALSHA was replicated as EVAL, 'x' should be '4' (scripts replication) [ok]: Replication of script multiple pushes to list with BLPOP (scripts replication) [ok]: EVALSHA replication when first call is readonly (scripts replication) [ok]: BITCOUNT returns 0 against non existing key [ok]: BITCOUNT returns 0 with out of range indexes [ok]: BITCOUNT returns 0 with negative indexes where start > end [ok]: BITCOUNT against test vector #1 [ok]: BITCOUNT against test vector #2 [ok]: BITCOUNT against test vector #3 [ok]: BITCOUNT against test vector #4 [ok]: Lua scripts using SELECT are replicated correctly (scripts replication) [ok]: BITCOUNT against test vector #5 Logged warnings (pid 4778): (none) [exception]: Executing test client: error writing "file70": broken pipe. error writing "file70": broken pipe while executing "$client set large-key [string repeat "x" 20000]" ("uplevel" body line 13) invoked from within "uplevel 1 $code" (procedure "test" line 47) invoked from within "test "Non-interactive non-TTY CLI: $name" $code" (procedure "test_nontty_cli" line 2) invoked from within "test_nontty_cli "Piping raw protocol" { set fd [open_cli "--pipe"] fconfigure $fd -blocking true # Create a new deferring cli..." ("uplevel" body line 259) invoked from within "uplevel 1 $code " (procedure "start_server" line 3) invoked from within "start_server {tags {"cli"}} { proc open_cli {{opts "-n 9"}} { set ::env(TERM) dumb set cmdline [rediscli [srv port] $opts] ..." (file "tests/integration/redis-cli.tcl" line 3) invoked from within "source $path" (procedure "execute_test_file" line 4) invoked from within "execute_test_file $data" (procedure "test_client_main" line 10) invoked from within "test_client_main $::test_server_port " Killing still running Redis server 2572 Killing still running Redis server 2574 Killing still running Redis server 2583 Killing still running Redis server 2576 Killing still running Redis server 2617 Killing still running Redis server 2741 Killing still running Redis server 3073 Killing still running Redis server 3083 Killing still running Redis server 3548 Killing still running Redis server 3558 Killing still running Redis server 3567 Killing still running Redis server 3925 Killing still running Redis server 3938 Killing still running Redis server 4118 Killing still running Redis server 4722 Killing still running Redis server 4745 Killing still running Redis server 4951 Killing still running Redis server 5006 Killing still running Redis server 5015 Killing still running Redis server 5034 Killing still running Redis server 5042 Killing still running Redis server 5070 Killing still running Redis server 5108 Killing still running Redis server 5115 Killing still running Redis server 5130 Killing still running Redis server 5153 Makefile:330: recipe for target 'test' failed make[1]: Leaving directory '/home/toby/make-redis/redis-stable/src' Makefile:6: recipe for target 'test' failed ```
oranagra commented 4 years ago

@wolf99 which version of tcl do you have? this could be due to https://github.com/redis/redis/pull/7548 can you test the unstable branch?

wolf99 commented 4 years ago
$ tclsh
% info patchlevel
8.6.8

If I read #7548 correctly, this version of Tcl means I shouldn't see that problem?

oranagra commented 4 years ago

yes. but maybe that's another side effect fixed by the new approach. can you test unstable anyway?

wolf99 commented 4 years ago

Have run with unstable. Still seeing an error, hopefully there is some more information in this time.

logged test output: ``` $ make test cd src && make test make[1]: Entering directory '/mnt/c/Users/emoltob/git/redis/src' CC Makefile.dep rm -rf redis-server redis-sentinel redis-cli redis-benchmark redis-check-rdb redis-check-aof *.o *.gcda *.gcno *.gcov redis.info lcov-html Makefile.dep dict-benchmark rm -f adlist.d quicklist.d ae.d anet.d dict.d server.d sds.d zmalloc.d lzf_c.d lzf_d.d pqsort.d zipmap.d sha1.d ziplist.d release.d networking.d util.d object.d db.d replication.d rdb.d t_string.d t_list.d t_set.d t_zset.d t_hash.d config.d aof.d pubsub.d multi.d debug.d sort.d intset.d syncio.d cluster.d crc16.d endianconv.d slowlog.d scripting.d bio.d rio.d rand.d memtest.d crcspeed.d crc64.d bitops.d sentinel.d notify.d setproctitle.d blocked.d hyperloglog.d latency.d sparkline.d redis-check-rdb.d redis-check-aof.d geo.d lazyfree.d module.d evict.d expire.d geohash.d geohash_helper.d childinfo.d defrag.d siphash.d rax.d t_stream.d listpack.d localtime.d lolwut.d lolwut5.d lolwut6.d acl.d gopher.d tracking.d connection.d tls.d sha256.d timeout.d setcpuaffinity.d anet.d adlist.d dict.d redis-cli.d zmalloc.d release.d ae.d crcspeed.d crc64.d siphash.d crc16.d ae.d anet.d redis-benchmark.d adlist.d dict.d zmalloc.d siphash.d (cd ../deps && make distclean) make[2]: Entering directory '/mnt/c/Users/emoltob/git/redis/deps' (cd hiredis && make clean) > /dev/null || true (cd linenoise && make clean) > /dev/null || true (cd lua && make clean) > /dev/null || true (cd jemalloc && [ -f Makefile ] && make distclean) > /dev/null || true (cd hdr_histogram && make clean) > /dev/null || true (rm -f .make-*) make[2]: Leaving directory '/mnt/c/Users/emoltob/git/redis/deps' (rm -f .make-*) echo STD=-std=c11 -pedantic -DREDIS_STATIC='' >> .make-settings echo WARN=-Wall -W -Wno-missing-field-initializers >> .make-settings echo OPT=-O2 >> .make-settings echo MALLOC=jemalloc >> .make-settings echo CFLAGS= >> .make-settings echo LDFLAGS= >> .make-settings echo REDIS_CFLAGS= >> .make-settings echo REDIS_LDFLAGS= >> .make-settings echo PREV_FINAL_CFLAGS=-std=c11 -pedantic -DREDIS_STATIC='' -Wall -W -Wno-missing-field-initializers -O2 -g -ggdb -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DUSE_JEMALLOC -I../deps/jemalloc/include >> .make-settings echo PREV_FINAL_LDFLAGS= -g -ggdb -rdynamic >> .make-settings (cd ../deps && make hiredis linenoise lua hdr_histogram jemalloc) make[2]: Entering directory '/mnt/c/Users/emoltob/git/redis/deps' (cd hiredis && make clean) > /dev/null || true (cd linenoise && make clean) > /dev/null || true (cd lua && make clean) > /dev/null || true (cd jemalloc && [ -f Makefile ] && make distclean) > /dev/null || true (cd hdr_histogram && make clean) > /dev/null || true (rm -f .make-*) (echo "" > .make-cflags) (echo "" > .make-ldflags) MAKE hiredis cd hiredis && make static make[3]: Entering directory '/mnt/c/Users/emoltob/git/redis/deps/hiredis' cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb alloc.c cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb net.c cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb hiredis.c cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb sds.c cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb async.c cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb read.c cc -std=c99 -pedantic -c -O3 -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb sockcompat.c ar rcs libhiredis.a alloc.o net.o hiredis.o sds.o async.o read.o sockcompat.o make[3]: Leaving directory '/mnt/c/Users/emoltob/git/redis/deps/hiredis' MAKE linenoise cd linenoise && make make[3]: Entering directory '/mnt/c/Users/emoltob/git/redis/deps/linenoise' cc -Wall -Os -g -c linenoise.c make[3]: Leaving directory '/mnt/c/Users/emoltob/git/redis/deps/linenoise' MAKE lua cd lua/src && make all CFLAGS="-O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' " MYLDFLAGS="" AR="ar rcu" make[3]: Entering directory '/mnt/c/Users/emoltob/git/redis/deps/lua/src' cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lapi.o lapi.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lcode.o lcode.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ldebug.o ldebug.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ldo.o ldo.c ldo.c: In function ‘f_parser’: ldo.c:496:7: warning: unused variable ‘c’ [-Wunused-variable] int c = luaZ_lookahead(p->z); ^ cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ldump.o ldump.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lfunc.o lfunc.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lgc.o lgc.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o llex.o llex.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lmem.o lmem.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lobject.o lobject.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lopcodes.o lopcodes.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lparser.o lparser.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lstate.o lstate.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lstring.o lstring.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ltable.o ltable.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ltm.o ltm.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lundump.o lundump.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lvm.o lvm.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lzio.o lzio.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o strbuf.o strbuf.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o fpconv.o fpconv.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lauxlib.o lauxlib.c lauxlib.c: In function ‘luaL_loadfile’: lauxlib.c:577:4: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ; ^~~~~ lauxlib.c:578:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ lf.extraline = 0; ^~ cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lbaselib.o lbaselib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ldblib.o ldblib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o liolib.o liolib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lmathlib.o lmathlib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o loslib.o loslib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o ltablib.o ltablib.c ltablib.c: In function ‘addfield’: ltablib.c:137:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (!lua_isstring(L, -1)) ^~ ltablib.c:140:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘i ’ luaL_addvalue(b); ^~~~~~~~~~~~~ cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lstrlib.o lstrlib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o loadlib.o loadlib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o linit.o linit.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lua_cjson.o lua_cjson.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lua_struct.o lua_struct.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lua_cmsgpack.o lua_cmsgpack.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lua_bit.o lua_bit.c ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o strbuf.o fpconv.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o lua_cjson.o lua_struct.o lua_cmsgpack.o lua_bit.o # DLL needs all object files ar: `u' modifier ignored since `D' is the default (see `U') ranlib liblua.a cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o lua.o lua.c cc -o lua lua.o liblua.a -lm liblua.a(loslib.o): In function `os_tmpname': loslib.c:(.text+0x290): warning: the use of `tmpnam' is dangerous, better use `mkstemp' cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o luac.o luac.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -c -o print.o print.c cc -o luac luac.o print.o liblua.a -lm make[3]: Leaving directory '/mnt/c/Users/emoltob/git/redis/deps/lua/src' MAKE hdr_histogram cd hdr_histogram && make make[3]: Entering directory '/mnt/c/Users/emoltob/git/redis/deps/hdr_histogram' cc -Wall -Os -g -c hdr_histogram.c make[3]: Leaving directory '/mnt/c/Users/emoltob/git/redis/deps/hdr_histogram' MAKE jemalloc cd jemalloc && ./configure --with-version=5.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence CFLAGS="-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops " LDFLAGS="" configure: WARNING: unrecognized options: --enable-cc-silence checking for xsltproc... false checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether compiler is cray... no checking whether compiler supports -std=gnu11... yes checking whether compiler supports -Wall... yes checking whether compiler supports -Wshorten-64-to-32... no checking whether compiler supports -Wsign-compare... yes checking whether compiler supports -Wundef... yes checking whether compiler supports -Wno-format-zero-length... yes checking whether compiler supports -pipe... yes checking whether compiler supports -g3... yes checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ supports C++14 features by default... yes checking whether compiler supports -Wall... yes checking whether compiler supports -g3... yes checking whether libstdc++ linkage is compilable... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking size of void *... 8 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of intmax_t... 8 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether pause instruction is compilable... yes checking number of significant virtual address bits... 48 checking for ar... ar checking for nm... nm checking for gawk... gawk checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking whether malloc_usable_size definition can use const argument... no checking for library containing log... -lm checking whether __attribute__ syntax is compilable... yes checking whether compiler supports -fvisibility=hidden... yes checking whether compiler supports -fvisibility=hidden... yes checking whether compiler supports -Werror... yes checking whether compiler supports -herror_on_warning... no checking whether tls_model attribute is compilable... yes checking whether compiler supports -Werror... yes checking whether compiler supports -herror_on_warning... no checking whether alloc_size attribute is compilable... yes checking whether compiler supports -Werror... yes checking whether compiler supports -herror_on_warning... no checking whether format(gnu_printf, ...) attribute is compilable... yes checking whether compiler supports -Werror... yes checking whether compiler supports -herror_on_warning... no checking whether format(printf, ...) attribute is compilable... yes checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for ld... /usr/bin/ld checking for autoconf... false checking for memalign... yes checking for valloc... yes checking whether compiler supports -O3... yes checking whether compiler supports -O3... yes checking whether compiler supports -funroll-loops... yes checking configured backtracing method... N/A checking for sbrk... yes checking whether utrace(2) is compilable... no checking whether a program using __builtin_unreachable is compilable... yes checking whether a program using __builtin_ffsl is compilable... yes checking LG_PAGE... 12 checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create in -lpthread... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlsym... no checking for dlsym in -ldl... yes checking whether pthread_atfork(3) is compilable... yes checking whether pthread_setname_np(3) is compilable... yes checking for library containing clock_gettime... none required checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable... yes checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable... yes checking whether mach_absolute_time() is compilable... no checking whether compiler supports -Werror... yes checking whether syscall(2) is compilable... yes checking for secure_getenv... yes checking for sched_getcpu... yes checking for sched_setaffinity... yes checking for issetugid... no checking for _malloc_thread_cleanup... no checking for _pthread_mutex_init_calloc_cb... no checking for TLS... yes checking whether C11 atomics is compilable... no checking whether GCC __atomic atomics is compilable... yes checking whether GCC __sync atomics is compilable... yes checking whether Darwin OSAtomic*() is compilable... no checking whether madvise(2) is compilable... yes checking whether madvise(..., MADV_FREE) is compilable... yes checking whether madvise(..., MADV_DONTNEED) is compilable... yes checking whether madvise(..., MADV_DO[NT]DUMP) is compilable... yes checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable... yes checking whether to force 32-bit __sync_{add,sub}_and_fetch()... no checking whether to force 64-bit __sync_{add,sub}_and_fetch()... no checking for __builtin_clz... yes checking whether Darwin os_unfair_lock_*() is compilable... no checking whether Darwin OSSpin*() is compilable... no checking whether glibc malloc hook is compilable... yes checking whether glibc memalign hook is compilable... yes checking whether pthreads adaptive mutexes is compilable... yes checking whether compiler supports -D_GNU_SOURCE... yes checking whether compiler supports -Werror... yes checking whether compiler supports -herror_on_warning... no checking whether strerror_r returns char with gnu source is compilable... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes configure: creating ./config.status config.status: creating Makefile config.status: creating jemalloc.pc config.status: creating doc/html.xsl config.status: creating doc/manpages.xsl config.status: creating doc/jemalloc.xml config.status: creating include/jemalloc/jemalloc_macros.h config.status: creating include/jemalloc/jemalloc_protos.h config.status: creating include/jemalloc/jemalloc_typedefs.h config.status: creating include/jemalloc/internal/jemalloc_preamble.h config.status: creating test/test.sh config.status: creating test/include/test/jemalloc_test.h config.status: creating config.stamp config.status: creating bin/jemalloc-config config.status: creating bin/jemalloc.sh config.status: creating bin/jeprof config.status: creating include/jemalloc/jemalloc_defs.h config.status: creating include/jemalloc/internal/jemalloc_internal_defs.h config.status: creating test/include/test/jemalloc_test_defs.h config.status: executing include/jemalloc/internal/public_symbols.txt commands config.status: executing include/jemalloc/internal/private_symbols.awk commands config.status: executing include/jemalloc/internal/private_symbols_jet.awk commands config.status: executing include/jemalloc/internal/public_namespace.h commands config.status: executing include/jemalloc/internal/public_unnamespace.h commands config.status: executing include/jemalloc/internal/size_classes.h commands config.status: executing include/jemalloc/jemalloc_protos_jet.h commands config.status: executing include/jemalloc/jemalloc_rename.h commands config.status: executing include/jemalloc/jemalloc_mangle.h commands config.status: executing include/jemalloc/jemalloc_mangle_jet.h commands config.status: executing include/jemalloc/jemalloc.h commands configure: WARNING: unrecognized options: --enable-cc-silence =============================================================================== jemalloc version : 5.1.0-0-g0 library revision : 2 CONFIG : --with-version=5.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ --enable-cc-silence 'CFLAGS=-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops ' LDFLAGS= CC : gcc CONFIGURE_CFLAGS : -std=gnu11 -Wall -Wsign-compare -Wundef -Wno-format-zero-length -pipe -g3 -fvisibility=hidden -O3 -funroll-loops SPECIFIED_CFLAGS : -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops EXTRA_CFLAGS : CPPFLAGS : -D_GNU_SOURCE -D_REENTRANT CXX : g++ CONFIGURE_CXXFLAGS : -Wall -g3 -fvisibility=hidden -O3 SPECIFIED_CXXFLAGS : EXTRA_CXXFLAGS : LDFLAGS : EXTRA_LDFLAGS : DSO_LDFLAGS : -shared -Wl,-soname,$(@F) LIBS : -lm -lstdc++ -lpthread -ldl RPATH_EXTRA : XSLTPROC : false XSLROOT : PREFIX : /usr/local BINDIR : /usr/local/bin DATADIR : /usr/local/share INCLUDEDIR : /usr/local/include LIBDIR : /usr/local/lib MANDIR : /usr/local/share/man srcroot : abs_srcroot : /home/toby/git/redis/deps/jemalloc/ objroot : abs_objroot : /home/toby/git/redis/deps/jemalloc/ JEMALLOC_PREFIX : je_ JEMALLOC_PRIVATE_NAMESPACE : je_ install_suffix : malloc_conf : autogen : 0 debug : 0 stats : 1 prof : 0 prof-libunwind : 0 prof-libgcc : 0 prof-gcc : 0 fill : 1 utrace : 0 xmalloc : 0 log : 0 lazy_lock : 0 cache-oblivious : 1 cxx : 1 =============================================================================== cd jemalloc && make CFLAGS="-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops " LDFLAGS="" lib/libjemalloc.a make[3]: Entering directory '/mnt/c/Users/emoltob/git/redis/deps/jemalloc' gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/jemalloc.sym.o src/jemalloc.c nm -a src/jemalloc.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/jemalloc.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/arena.sym.o src/arena.c nm -a src/arena.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/arena.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/background_thread.sym.o src/background_thread.c nm -a src/background_thread.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/background_thread.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/base.sym.o src/base.c nm -a src/base.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/base.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/bin.sym.o src/bin.c nm -a src/bin.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/bin.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/bitmap.sym.o src/bitmap.c nm -a src/bitmap.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/bitmap.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/ckh.sym.o src/ckh.c nm -a src/ckh.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/ckh.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/ctl.sym.o src/ctl.c nm -a src/ctl.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/ctl.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/div.sym.o src/div.c nm -a src/div.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/div.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/extent.sym.o src/extent.c nm -a src/extent.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/extent.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/extent_dss.sym.o src/extent_dss.c nm -a src/extent_dss.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/extent_dss.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/extent_mmap.sym.o src/extent_mmap.c nm -a src/extent_mmap.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/extent_mmap.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/hash.sym.o src/hash.c nm -a src/hash.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/hash.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/hooks.sym.o src/hooks.c nm -a src/hooks.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/hooks.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/large.sym.o src/large.c nm -a src/large.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/large.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/log.sym.o src/log.c nm -a src/log.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/log.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/malloc_io.sym.o src/malloc_io.c nm -a src/malloc_io.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/malloc_io.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/mutex.sym.o src/mutex.c nm -a src/mutex.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/mutex.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/mutex_pool.sym.o src/mutex_pool.c nm -a src/mutex_pool.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/mutex_pool.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/nstime.sym.o src/nstime.c nm -a src/nstime.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/nstime.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/pages.sym.o src/pages.c nm -a src/pages.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/pages.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/prng.sym.o src/prng.c nm -a src/prng.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/prng.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/prof.sym.o src/prof.c nm -a src/prof.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/prof.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/rtree.sym.o src/rtree.c nm -a src/rtree.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/rtree.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/stats.sym.o src/stats.c nm -a src/stats.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/stats.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/sz.sym.o src/sz.c nm -a src/sz.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/sz.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/tcache.sym.o src/tcache.c nm -a src/tcache.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/tcache.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/ticker.sym.o src/ticker.c nm -a src/ticker.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/ticker.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/tsd.sym.o src/tsd.c nm -a src/tsd.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/tsd.sym gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -DJEMALLOC_NO_PRIVATE_NAMESPACE -o src/witness.sym.o src/witness.c nm -a src/witness.sym.o | gawk -f include/jemalloc/internal/private_symbols.awk > src/witness.sym /bin/sh include/jemalloc/internal/private_namespace.sh src/jemalloc.sym src/arena.sym src/background_thread.sym src/base.sym src/bin.sym src/bitmap.sym src/ckh.sym src/ctl.sym src/div.sym src/extent.sym src/extent_dss.sym src/extent_mmap.sym src/hash.sym src/hooks.sym src/large.sym src/log.sym src/malloc_io.sym src/mutex.sym src/mutex_pool.sym src/nstime.sym src/pages.sym src/prng.sym src/prof.sym src/rtree.sym src/stats.sym src/sz.sym src/tcache.sym src/ticker.sym src/tsd.sym src/witness.sym > include/jemalloc/internal/private_namespace.gen.h cp include/jemalloc/internal/private_namespace.gen.h include/jemalloc/internal/private_namespace.gen.h gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/jemalloc.o src/jemalloc.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/arena.o src/arena.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/background_thread.o src/background_thread.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/base.o src/base.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/bin.o src/bin.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/bitmap.o src/bitmap.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/ckh.o src/ckh.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/ctl.o src/ctl.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/div.o src/div.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/extent.o src/extent.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/extent_dss.o src/extent_dss.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/extent_mmap.o src/extent_mmap.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/hash.o src/hash.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/hooks.o src/hooks.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/large.o src/large.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/log.o src/log.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/malloc_io.o src/malloc_io.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/mutex.o src/mutex.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/mutex_pool.o src/mutex_pool.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/nstime.o src/nstime.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/pages.o src/pages.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/prng.o src/prng.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/prof.o src/prof.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/rtree.o src/rtree.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/stats.o src/stats.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/sz.o src/sz.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/tcache.o src/tcache.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/ticker.o src/ticker.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/tsd.o src/tsd.c gcc -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/witness.o src/witness.c g++ -Wall -g3 -fvisibility=hidden -O3 -c -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/jemalloc_cpp.o src/jemalloc_cpp.cpp ar crus lib/libjemalloc.a src/jemalloc.o src/arena.o src/background_thread.o src/base.o src/bin.o src/bitmap.o src/ckh.o src/ctl.o src/div.o src/extent.o src/extent_dss.o src/extent_mmap.o src/hash.o src/hooks.o src/large.o src/log.o src/malloc_io.o src/mutex.o src/mutex_pool.o src/nstime.o src/pages.o src/prng.o src/prof.o src/rtree.o src/stats.o src/sz.o src/tcache.o src/ticker.o src/tsd.o src/witness.o src/jemalloc_cpp.o ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/mnt/c/Users/emoltob/git/redis/deps/jemalloc' make[2]: Leaving directory '/mnt/c/Users/emoltob/git/redis/deps' CC adlist.o CC quicklist.o CC ae.o CC anet.o CC dict.o CC server.o CC sds.o CC zmalloc.o CC lzf_c.o CC lzf_d.o CC pqsort.o CC zipmap.o CC sha1.o CC ziplist.o CC release.o CC networking.o CC util.o CC object.o CC db.o CC replication.o CC rdb.o CC t_string.o CC t_list.o CC t_set.o CC t_zset.o CC t_hash.o CC config.o CC aof.o CC pubsub.o CC multi.o CC debug.o CC sort.o CC intset.o CC syncio.o CC cluster.o CC crc16.o CC endianconv.o CC slowlog.o CC scripting.o CC bio.o CC rio.o CC rand.o CC memtest.o CC crcspeed.o CC crc64.o CC bitops.o CC sentinel.o CC notify.o CC setproctitle.o CC blocked.o CC hyperloglog.o CC latency.o CC sparkline.o CC redis-check-rdb.o CC redis-check-aof.o CC geo.o CC lazyfree.o CC module.o CC evict.o CC expire.o CC geohash.o CC geohash_helper.o CC childinfo.o CC defrag.o CC siphash.o CC rax.o CC t_stream.o CC listpack.o CC localtime.o CC lolwut.o CC lolwut5.o CC lolwut6.o CC acl.o CC gopher.o CC tracking.o CC connection.o CC tls.o CC sha256.o CC timeout.o CC setcpuaffinity.o LINK redis-server INSTALL redis-check-aof CC redis-cli.o LINK redis-cli CC redis-benchmark.o LINK redis-benchmark Cleanup: may take some time... OK Starting test server at port 11111 [ready]: 6195 Testing unit/printver [ready]: 6196 Testing unit/dump [ready]: 6197 Testing unit/auth [ready]: 6198 Testing unit/protocol [ready]: 6199 Testing unit/keyspace [ready]: 6200 Testing unit/scan [ready]: 6201 Testing unit/type/string [ready]: 6202 Testing unit/type/incr [ready]: 6204 Testing unit/type/list [ready]: 6203 Testing unit/type/list-2 [ready]: 6205 Testing unit/type/list-3 [ready]: 6206 Testing unit/type/set [ready]: 6207 Testing unit/type/zset [ready]: 6208 Testing unit/type/hash [ready]: 6210 Testing unit/type/stream [ready]: 6209 Testing unit/type/stream-cgroups [exception]: Executing test client: couldn't fork child process: invalid argument. couldn't fork child process: invalid argument while executing "exec cat $stdout" (procedure "wait_server_started" line 6) invoked from within "wait_server_started $config_file $stdout $pid" (procedure "start_server" line 99) invoked from within "start_server {} { set i [r info] regexp {redis_version:(.*?)\r\n} $i - version regexp {redis_git_sha1:(.*?)\r\n} $i - sha1 puts "Testi..." (file "tests/unit/printver.tcl" line 1) invoked from within "source $path" (procedure "execute_test_file" line 4) invoked from within "execute_test_file $data" (procedure "test_client_main" line 10) invoked from within "test_client_main $::test_server_port " Killing still running Redis server 6237 Killing still running Redis server 6238 Killing still running Redis server 6223 Killing still running Redis server 6233 Killing still running Redis server 6242 Killing still running Redis server 6241 Killing still running Redis server 6239 Killing still running Redis server 6235 Killing still running Redis server 6240 Killing still running Redis server 6230 Killing still running Redis server 6226 Killing still running Redis server 6243 Killing still running Redis server 6234 Killing still running Redis server 6232 Killing still running Redis server 6228 Killing still running Redis server 6225 make[1]: *** [test] Error 1 Makefile:330: recipe for target 'test' failed make[1]: Leaving directory '/mnt/c/Users/emoltob/git/redis/src' make: *** [test] Error 2 Makefile:6: recipe for target 'test' failed ```
oranagra commented 4 years ago

so it completely fails to execute the test suite (unlike the previous test which failed a specific test). AFAIK nothing major was changed between unstable and 6.0 in that regard.

wolf99 commented 4 years ago

Just tried a make test again and the PC fell over. Glimpsed something in the output along the lines of cgroups or egroups maybe before I held the power button. At this point I'm guessing that it is some WSL 1 issue rather than an idiot-at-the-controls issue or a Redis issue.

(checking available memory in WSL seems fine though 🤷 )

meminfo ``` $ cat /proc/meminfo MemTotal: 33393880 kB MemFree: 22831284 kB Buffers: 34032 kB Cached: 188576 kB SwapCached: 0 kB Active: 167556 kB Inactive: 157876 kB Active(anon): 103104 kB Inactive(anon): 17440 kB Active(file): 64452 kB Inactive(file): 140436 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 62392956 kB SwapFree: 62392956 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 102824 kB Mapped: 71404 kB Shmem: 17720 kB Slab: 13868 kB SReclaimable: 6744 kB SUnreclaim: 7124 kB KernelStack: 2848 kB PageTables: 2524 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 515524 kB Committed_AS: 3450064 kB VmallocTotal: 122880 kB VmallocUsed: 21296 kB VmallocChunk: 66044 kB HardwareCorrupted: 0 kB AnonHugePages: 2048 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 12280 kB DirectMap4M: 897024 kB ```