VERSION: 6.0.6
DESCRIPTION: Post-build automated testing fails with error.
REPRODUCTION: run make test
EXPECTATION: Success.
I've performed fresh, clean builds on three different macOS systems: two High Sierra, one Mojave. The results on each are the same. Building is successful; however, make test fails identically for each system.
. . .
[ok]: XADD with MAXLEN > xlen can propagate correctly
[ok]: Connect multiple replicas at the same time (issue #141), master diskless=yes, replica diskless=disabled
[ok]: pending querybuf: check size of pending_querybuf after set a big value
[ok]: Check for memory leaks (pid 12040)
[ok]: XADD with ~ MAXLEN can propagate correctly
[ok]: Check for memory leaks (pid 11306)
Logged warnings (pid 9472):
(none)
[exception]: Executing test client: wrong # args: should be "close channelId".
wrong # args: should be "close channelId"
while executing
"close $fd write"
("uplevel" body line 20)
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 8840
Killing still running Redis server 8845
Killing still running Redis server 8850
Killing still running Redis server 9268
Killing still running Redis server 9285
Killing still running Redis server 9313
Killing still running Redis server 9319
Killing still running Redis server 9824
Killing still running Redis server 9841
Killing still running Redis server 10286
Killing still running Redis server 10296
Killing still running Redis server 10612
Killing still running Redis server 10929
Killing still running Redis server 11072
Killing still running Redis server 11078
Killing still running Redis server 11293
Killing still running Redis server 11306
Killing still running Redis server 11603
Killing still running Redis server 11609
Killing still running Redis server 11621
Killing still running Redis server 11630
Killing still running Redis server 11909
Killing still running Redis server 11923
Killing still running Redis server 12117
make[1]: *** [test] Error 1
make: *** [test] Error 2
$
Comment From: yossigo
@LiamFry Thanks for this report! This has been fixed in #7548, and you can work around it if you use TCL 8.6.