Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-13921

memcachedtest.ecl takes a very long time if memcached not setup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: Plugins, Regression Suite
    • Labels:
      None
    • Environment:
      Description: Ubuntu 14.04.2 LTS
      Linux Dell56 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
      libmemcached-dev 1.0.8-1ubuntu2

      Description

      If you run the memcachedtest in the regression suite with no memcached server setup up it takes a very long time to fail (about 500s) and then aborts the workunit with an assert. It should fail much more quickly and cleanly.

      #0  0x00007fcb40747cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      #1  0x00007fcb4074b0d8 in __GI_abort () at abort.c:89
      #2  0x00007fcb40740b86 in __assert_fail_base (fmt=0x7fcb40891830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", 
          assertion=assertion@entry=0x7fcb32beba96 "error == 0", file=file@entry=0x7fcb32beb9a8 "libmemcached/connect.cc", line=line@entry=258, 
          function=function@entry=0x7fcb32bebee0 "void set_socket_options(memcached_server_st*)") at assert.c:92
      #3  0x00007fcb40740c32 in __GI___assert_fail (assertion=0x7fcb32beba96 "error == 0", file=0x7fcb32beb9a8 "libmemcached/connect.cc", line=258, 
          function=0x7fcb32bebee0 "void set_socket_options(memcached_server_st*)") at assert.c:101
      #4  0x00007fcb32bd3e94 in ?? () from /usr/lib/x86_64-linux-gnu/libmemcached.so.10
      #5  0x00007fcb32bd4626 in memcached_vdo(memcached_server_st*, libmemcached_io_vector_st*, unsigned long, bool) ()
         from /usr/lib/x86_64-linux-gnu/libmemcached.so.10
      #6  0x00007fcb32bde3b2 in ?? () from /usr/lib/x86_64-linux-gnu/libmemcached.so.10
      #7  0x00007fcb32bdec9d in memcached_stat () from /usr/lib/x86_64-linux-gnu/libmemcached.so.10
      #8  0x00007fcb32df8764 in MemCachedPlugin::MCached::checkServersUp (this=this@entry=0x19773e0, ctx=ctx@entry=0x7ffddfb17568)
          at /home/gavin/dev/hpcc/plugins/memcached/memcachedplugin.cpp:412
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamienoss Jamie Noss
                Reporter:
                ghalliday Gavin Halliday
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: