Skip to content

Test replication partial resync fail #1417

Open

Description

@ko-zu

While make test redis-2.8.1 on slow virtualbox environment, centos 6.4 x86_64, tests/integration/replication-psync.tcl fails randomly.

I could not reproduce this on much faster machine. Possibly 50% limited 1vCPU might cause this.

[err]: Test replication partial resync: no backlog in tests/integration/replication-psync.tcl
Expected condition '[s -1 sync_partial_err] > 0' to be true ([s -1 sync_partial_err] > 0)

Activity

  1. antirez commented on Dec 2, 2013

    @antirez
    Contributor

    Hello, yes this is a false positive due to slow computers. I'll try to fix, thanks.

  2. s34gull commented on Feb 18, 2014

    @s34gull

    Hi - I was just working on a Jenkins job to build an RPM (including tests), when I ran into this issue - tests failing when being run within a Centos 6.5 VM. Is there an update on the issue?

  3. riegie commented on May 6, 2014

    @riegie

    I ran into the same issue, but as antirez mentioned, this only occurs on slow machines. I did the same text on another machine with better specs, and didn't get the error.

  4. rholder commented on May 8, 2014

    @rholder

    I'm also seeing this failure with Ubuntu 12.04 while building on an m1.medium in AWS.

  5. TheCloudlessSky commented on Jun 4, 2014

    @TheCloudlessSky

    👍 Had the same problem on Ubuntu 14.04 on an m3.medium in AWS.

  6. choas commented on Jun 8, 2014

    @choas

    I see this error on a Raspberry Pi (700 MHz).

  7. aphexddb commented on Jun 16, 2014

    @aphexddb

    Seeing this in a Docker container with Ubuntu 14.04 with 1GB ram and 1 core

  8. yeongsheng-tan commented on Jun 26, 2014

    @yeongsheng-tan

    I'm seeing this error on Debian Wheezy running on m1.small instance in AWS ap-southeast-1a, with redis-2.8.12 make test post make.

  9. badboy commented on Jun 26, 2014

    @badboy
    Contributor

    antirez:
    Hello, yes this is a false positive due to slow computers. I'll try to fix, thanks.

    Yes, the test suite could be improved here to have less false positives. More and more 👍 reports won't help tho

  10. antirez commented on Jun 26, 2014

    @antirez
    Contributor

    Ok, enough... fixing right now.

  11. agucova commented on Nov 15, 2015

    @agucova

    Keeps happening, 2015. And is definitely not a performance issue, 36 cores and 128gb RAM.... And not a VM.

  12. 28 remaining items

  13. goog commented on Nov 2, 2016

    @goog

    @samsen what is the meaning of 500

  14. kiss187 commented on Nov 2, 2016

    @kiss187

    @goog sorry, I don't dig this parameter deeply

  15. brianjang commented on Nov 3, 2016

    @brianjang
  16. brianjang commented on Nov 3, 2016

    @brianjang

    but does this change (from 100 to 500) remove the root cause of this issue?
    please anyone confirm it.
    thanks.

  17. brucezlata commented on Nov 15, 2016

    @brucezlata

    Change 100 to 500 cannot work for me. but it passed by using single cpu core.

  18. joarobles commented on Dec 19, 2016

    @joarobles

    Same happening here with MacbookPro (16 GB Ram) with Sierra 10.12.1,
    ./runtest --clients 1 won't solve the issue

  19. pashinde commented on Jan 9, 2017

    @pashinde

    $ taskset -c 1 make test
    This solution works on Ubuntu Server 16.04.

  20. yangzhichina commented on Jan 19, 2017

    @yangzhichina

    taskset -c 1 make test works on Cent OS 7.

  21. noahehall commented on Jan 28, 2017

    @noahehall

    @nafaabout resolution taskset -c 1 make test worked for ubuntu 16.10

  22. max-reznichenko commented on Apr 9, 2017

    @max-reznichenko

    Just tested on Amazon AMI "4.9.17-8.31.amzn1.x86_64" and the error is still there. Redis version: 3.2.0

  23. samliu commented on Apr 11, 2017

    @samliu

    Failed locally on redis stable downloaded today, Ubuntu 16.04.

    Computer is not slow; i7-4790 @ 3.6GHz x 8, 16gb ram

  24. antirez commented on Apr 11, 2017

    @antirez
    Contributor
  25. wen-fei commented on May 20, 2019

    @wen-fei

    this does not have anything to do with slow machines, it appears for me on Ubuntu 14.04.2 running on an i7 skylike machine with 16G of Ram. here how to run it without issues.
    specify which processor to run the test on with this command
    taskset -c 1 make test
    where 1 is the zero-based index of the processor on which to run the task.
    work for me. Maybe not 1, my is 0

  26. faoziaziz commented on Jan 13, 2020

    @faoziaziz

    Slave should be able to synchronize with the master in tests/integration/replication-psync.tcl

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions