Skip to content

make test - ERR value is out of range (CentOS 6 32 bit) #1981

Closed

Description

@cgtx

I'm building RPMs of Redis 2.8.14 for CentOS 6. I'm using mock 1.1.41 on Fedora 20. The test suite passes on 64 bit, but fails on 32 bit.

[exception]: Executing test client: ERR value is out of range.
ERR value is out of range
    while executing
"[srv $level "client"] {*}$args"
    (procedure "r" line 7)
    invoked from within
"r getrange foo 0 4294967297"
    ("uplevel" body line 3)
    invoked from within
"uplevel 1 $code"
    (procedure "test" line 29)
    invoked from within
"test {GETRANGE with huge ranges, Github issue #1844} {
        r set foo bar
        r getrange foo 0 4294967297
    } {bar}"
    ("uplevel" body line 776)
    invoked from within
"uplevel 1 $code "
    (procedure "start_server" line 3)
    invoked from within
"start_server {tags {"basic"}} {
    test {DEL all keys to start with a clean DB} {
        foreach key [r keys *] {r del $key}
        r dbsize
    } ..."
    (file "tests/unit/basic.tcl" line 1)
    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 "

Here is the spec file I'm using, which was forked from Fedora's spec file. The issue mentioned (#1844) does not appear to be related.

Activity

  1. added a commit that references this issue on Sep 2, 2014
    f0e306f
  2. added 2 commits that reference this issue on Sep 4, 2014
    4284b07
    6829141
  3. cgtx commented on Sep 4, 2014

    @cgtx
    Author

    Thanks!

    If anyone else is backporting this fix to 2.8.14, you need both the above referenced commit and the one after it.

    After putting these commits into a patch, I was able to successfully build redis 2.8.14 for CentOS 6 32 bit with the test suite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions