[zeromq-dev] zeromq-4.0.1 Test Failures

Pieter Hintjens ph at imatix.com
Wed Oct 9 09:43:32 CEST 2013


Hi Hemant,

Thanks for reporting these test failures. If you're getting them
systematically then you can certainly help us diagnose them.

> lt-test_linger: test_linger.cpp:86: int main(): Assertion `(size_t) rc == size' failed.
> /bin/sh: line 5: 18395 Aborted                 (core dumped) ${dir}$tst
> XFAIL: test_linger

This is an "expected" fail, it's a known issue in ZeroMQ. Nothing to do here.

> lt-test_stream: test_stream.cpp:112: void test_stream_to_dealer(): Assertion `memcmp (buffer + 54, "\4\51\5READY", 8) == 0' failed.
> /bin/sh: line 5: 18478 Aborted                 (core dumped) ${dir}$tst
> FAIL: test_stream

Could you add this after line 105, and report what it prints?

    //  Dump received buffer (for debugging failures)
    int byte_nbr;
    for (byte_nbr = 0; byte_nbr < 97; byte_nbr++) {
        if (byte_nbr % 8 == 0)
            printf ("\n");
        byte value = buffer [byte_nbr];
        printf ("%02X (%c) ", value, isprint (value)? value: '.');
    }
    printf ("\n");

> lt-test_security_null: test_security_null.cpp:87: int main(): Assertion `rc == 0' failed.
> /bin/sh: line 5: 18558 Aborted                 (core dumped) ${dir}$tst
> FAIL: test_security_null

Presumably there is something already bound to port 9000, which the
test case uses. It would be better if the test cases use ephemeral
ports. Can you try changing to 5560 (for instance) and try again?
There are 4 places to change in that test case.

Thanks
Pieter

On Wed, Oct 9, 2013 at 12:34 AM, Hemant Padmanabhan
<padmanabhanhemant at gmail.com> wrote:
> Hi,
>
> First time reporter so please excuse any protocols not observed in
> reporting.
> Reporting the following errors running 'make check' on zeromq-4.0.1:
> lt-test_linger: test_linger.cpp:86: int main(): Assertion `(size_t) rc ==
> size' failed.
> /bin/sh: line 5: 18395 Aborted                 (core dumped) ${dir}$tst
> XFAIL: test_linger
>
> lt-test_stream: test_stream.cpp:112: void test_stream_to_dealer(): Assertion
> `memcmp (buffer + 54, "\4\51\5READY", 8) == 0' failed.
> /bin/sh: line 5: 18478 Aborted                 (core dumped) ${dir}$tst
> FAIL: test_stream
>
> lt-test_security_null: test_security_null.cpp:87: int main(): Assertion `rc
> == 0' failed.
> /bin/sh: line 5: 18558 Aborted                 (core dumped) ${dir}$tst
> FAIL: test_security_null
>
> System details:
> [root at minastirith zeromq-4.0.1]# uname -a
> Linux minastirith 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC
> 2012 x86_64 x86_64 x86_64 GNU/Linux
>
> CPU: Intel(R) Xeon(R) CPU E3-1275 V2 @ 3.50GHz
> RAM: 16GB
>
> [root at minastirith zeromq-4.0.1]# make -version
> GNU Make 3.81
>
> [root at minastirith zeromq-4.0.1]# gcc --version
> gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)
>
> Please let me know if you need any more details.
>
> Thanks,
> Hemant
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>



More information about the zeromq-dev mailing list