【问题标题】:Make Test failed for Redis 4.0.10 on Ubuntu在 Ubuntu 上对 Redis 4.0.10 进行测试失败
【发布时间】:2018-06-19 11:33:51
【问题描述】:

我正在尝试在 Windows 10 内运行的 Ubuntu 上编译最新稳定版本的 Redis (4.0.10)。“make”期间没有错误。但是当我运行“make test”时,我最后会遇到以下错误。我是在 ubuntu 上编译东西的新手。

[err]: PUBLISH/SUBSCRIBE after UNSUBSCRIBE without arguments in tests/unit/pubsub.tcl
Expected '1' to be equal to '0'

[err]: PUBLISH/PSUBSCRIBE after PUNSUBSCRIBE without arguments in tests/unit/pubsub.tcl
Expected '1' to be equal to '0'

[exception]: Executing test client: child process exited abnormally.
child process exited abnormally
    while executing
"exec kill -9 $bench_pid"
    ("uplevel" body line 47)
    invoked from within
"uplevel 1 $code "
    (procedure "start_server" line 3)
    invoked from within
"start_server {} {
    # Config
    set debug_msg 0                 ; # Enable additional debug messages

    set no_exit 0                   ; # Do no..."
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $code "
    (procedure "start_server" line 3)
    invoked from within
"start_server {} {
start_server {} {
    # Config
    set debug_msg 0                 ; # Enable additional debug messages

    set no_exit 0          ..."
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $code "
    (procedure "start_server" line 3)
    invoked from within
"start_server {tags {"psync2"}} {
start_server {} {
start_server {} {
    # Config
    set debug_msg 0                 ; # Enable additional debug mess..."
    (file "tests/integration/psync2-reg.tcl" line 7)
    invoked from within
"source $path"
    (procedure "execute_tests" line 4)
    invoked from within
"execute_tests $data"
    (procedure "test_client_main" line 10)
    invoked from within
"test_client_main $::test_server_port "

Makefile:242: recipe for target 'test' failed
make[1]: *** [test] Error 1
make[1]: Leaving directory '/home/myuser/Development/Redis/redis-4.0.10/src'
Makefile:6: recipe for target 'test' failed
make: *** [test] Error 2

【问题讨论】:

    标签: ubuntu makefile redis


    【解决方案1】:

    我也遇到了这个问题。我试过了

    taskset -c 0 make test
    

    在 Github 上看到一些类似的帖子后,这对我也没有帮助。

    【讨论】:

      猜你喜欢
      • 2014-04-25
      • 2014-11-04
      • 1970-01-01
      • 1970-01-01
      • 2016-01-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多