aws-c-common icon indicating copy to clipboard operation
aws-c-common copied to clipboard

Test failure: test_stack_trace_decoding

Open markus289 opened this issue 4 years ago • 0 comments

Hello,

I am building an RPM for the shared library of aws-c-common on COPR. One test is failing.

        Start 235: test_stack_trace_decoding
234/380 Test #235: test_stack_trace_decoding ............................................***Failed    0.00 sec
/builddir/build/BUILD/aws-c-common-0.6.2/x86_64-redhat-linux-gnu/libaws-c-common.so.1(aws_backtrace+0x19) [0x7fddbc589e09]
/builddir/build/BUILD/aws-c-common-0.6.2/x86_64-redhat-linux-gnu/libaws-c-common.so.1(aws_backtrace_log+0x3e) [0x7fddbc58e06e]
/builddir/build/BUILD/aws-c-common-0.6.2/x86_64-redhat-linux-gnu/tests/aws-c-common-tests(+0x87f6b) [0x559d8e782f6b]
/builddir/build/BUILD/aws-c-common-0.6.2/x86_64-redhat-linux-gnu/tests/aws-c-common-tests(+0x854c2) [0x559d8e7804c2]
/builddir/build/BUILD/aws-c-common-0.6.2/x86_64-redhat-linux-gnu/tests/aws-c-common-tests(+0x13b93) [0x559d8e70eb93]
/lib64/libc.so.6(__libc_start_main+0xd5) [0x7fddbc398b75]
/builddir/build/BUILD/aws-c-common-0.6.2/x86_64-redhat-linux-gnu/tests/aws-c-common-tests(_start+0x2e) [0x559d8e70ed9e]
***FAILURE*** Expected non-null but got null: 
***FAILURE*** strstr((const char *)buffer->buffer, func) [s_test_stack_trace_decoding():/builddir/build/BUILD/aws-c-common-0.6.2/tests/system_info_tests.c@#67]
***FAILURE*** test_stack_trace_decoding [ [31mFAILED[0m ] [s_aws_run_test_case():/builddir/build/BUILD/aws-c-common-0.6.2/include/aws/testing/aws_test_harness.h@#454]

The complete build log is currently available on COPR, but will vanish at some point in the future.

This test failed in the past in #356 and #456. Both issues have been fixed. In the latter one LTO was enabled, just as in this build.

I can provide more details, if needed.

markus289 avatar Jun 23 '21 07:06 markus289