VERSION: 6.0.6
DESCRIPTION: Post-build automated testing fails with error.
REPRODUCTION: run make test
EXPECTATION: Success.
This is in reference to the now-closed #7605 issue.
My version of macOS comes with tclsh 8.5.9
I used MacPorts to install 8.6.10 then re-ran make test
I now have some fresh errors:
. . .
[ok]: Detect write load to master
[ok]: Test replication partial resync: no backlog (diskless: yes, disabled, reconnect: 1)
[ok]: Check for memory leaks (pid 43538)
[ok]: Check for memory leaks (pid 43520)
[ok]: Master stream is correctly processed while the replica has a script in -BUSY state
[ok]: Check for memory leaks (pid 43128)
[ok]: Check for memory leaks (pid 43118)
[ok]: Slave should be able to synchronize with the master
[ok]: Detect write load to master
[ok]: slave fails full sync and diskless load swapdb recovers it
Logged warnings (pid 44327):
(none)
Logged warnings (pid 44327):
(none)
[exception]: Executing test client: tail: + 28: No such file or directory.
tail: + 28: No such file or directory
while executing
"exec tail +$from_line < $stdout"
(procedure "wait_for_log_message" line 5)
invoked from within
"wait_for_log_message -1 "*Loading DB in memory*" $loglines 2000 1"
("uplevel" body line 43)
invoked from within
"uplevel 1 $code "
(procedure "start_server" line 3)
invoked from within
"start_server {} {
set master [srv 0 client]
set master_host [srv 0 host]
set master_port [srv 0 port]
..."
("uplevel" body line 5)
invoked from within
"uplevel 1 $code "
(procedure "start_server" line 3)
invoked from within
"start_server {tags {"repl"}} {
set replica [srv 0 client]
set replica_host [srv 0 host]
set replica_port [srv 0 port]
..."
("uplevel" body line 2)
invoked from within
"uplevel 1 $code"
(procedure "test" line 47)
invoked from within
"test {diskless loading short read} {
start_server {tags {"repl"}} {
set replica [srv 0 client]
set replica_host [srv 0 host]
..."
(file "tests/integration/replication.tcl" line 396)
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 37614
Killing still running Redis server 37621
Killing still running Redis server 37629
Killing still running Redis server 38460
Killing still running Redis server 38926
Killing still running Redis server 44036
Killing still running Redis server 44044
I/O error reading reply
while executing
"{*}$r type $k"
(procedure "createComplexDataset" line 27)
invoked from within
"createComplexDataset $r $ops"
(procedure "bg_complex_data" line 4)
invoked from within
"bg_complex_data [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] [lindex $argv 3] [lindex $argv 4]"
(file "tests/helpers/bg_complex_data.tcl" line 12)I/O error reading reply
while executing
"{*}$r hset $k $f $v"
("uplevel" body line 2)
invoked from within
"uplevel 1 [lindex $args $path]"
(procedure "randpath" line 3)
invoked from within
"randpath {
{*}$r set $k $v
} {
{*}$r lpush $k $v
} {
{*}$r sadd $k $v
..."
(procedure "createComplexDataset" line 30)
invoked from within
"createComplexDataset $r $ops"
(procedure "bg_complex_data" line 4)
invoked from within
"bg_complex_data [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] [lindex $argv 3] [lindex $argv 4]"
(file "tests/helpers/bg_complex_data.tcl" line 12)
Killing still running Redis server 44318
I/O error reading reply
while executing
"{*}$r zadd $k $d $v"
("uplevel" body line 1)
invoked from within
"uplevel 1 [lindex $args $path]"
(procedure "randpath" line 3)
invoked from within
"randpath {{*}$r zadd $k $d $v} {{*}$r zrem $k $v} {
set otherzset [findKeyWithType {*}$r zset]
..."
(procedure "createComplexDataset" line 68)
invoked from within
"createComplexDataset $r $ops"
(procedure "bg_complex_data" line 4)
invoked from within
"bg_complex_data [lindex $argv 0] [lindex $argv 1] [lindex $argv 2] [lindex $argv 3] [lindex $argv 4]"
(file "tests/helpers/bg_complex_data.tcl" line 12)
make[1]: *** [test] Error 1
make: *** [test] Error 2
$
Comment From: oranagra
thanks for the report, this is already fixed in unstable by https://github.com/redis/redis/pull/7543
Comment From: xiegithub
There are still errors:
[ok]: Client output buffer soft limit is enforced if time is overreached
[ok]: Master stream is correctly processed while the replica has a script in -BUSY state [ok]: Test replication partial resync: ok psync (diskless: yes, swapdb, reconnect: 1) [ok]: slave fails full sync and diskless load swapdb recovers it [ok]: Slave should be able to synchronize with the master [ok]: Detect write load to master
Logged warnings (pid 1028209): (none)
Logged warnings (pid 1028209): (none)
[exception]: Executing test client: tail: cannot open '+30' for reading: No such file or directory. tail: cannot open '+30' for reading: No such file or directory while executing "exec tail +$from_line < $stdout" (procedure "wait_for_log_message" line 5) invoked from within "wait_for_log_message -1 "Loading DB in memory" $loglines 2000 1"
Comment From: oranagra
@xiegithub this is only resolved in the unstable branch.