sample.instrcalls fails on x64 linux with unreachable rip-relative target (flaky?)
Created by: byron-hawkins
This test failed on the bot after an unrelated commit (in which all changes were under the non-default ANNOTATIONS build option). It passes on my local machine, so there appears to be flakiness: xref #1479 (closed) and #1326 (which are not related to DR tests, but appear to encounter the same issue).
144: <Application /mnt/data/b/build/slave/linux-dr/build/build_debug-internal-64/suite/tests/bin/common.eflags (25516) DynamoRIO usage error : encoding failed re-relativizing rip-relative address whose target is unreachable>
144: <Usage error: encoding failed re-relativizing rip-relative address whose target is unreachable (/mnt/data/b/build/slave/linux-dr/dynamorio/core/arch/x86/encode.c, line 2291)
144: version 5.0.16500, custom build
144: -no_dynamic_options -client_lib '/mnt/data/b/build/slave/linux-dr/build/build_debug-internal-64/api/bin/libinstrcalls.so;0;' -code_api -stderr_mask 12 -stack_size 56K -max_elide_jmp 0 -max_elide_call 0 -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct
144: 0x000000004f4827f0 0x0000000071120d0c
144: 0x000000004f482850 0x0000000071278256
144: 0x000000004f4828c0 0x00000000712592e5
144: 0x000000004f482930 0x000000007125a26d
144: 0x000000004f482980 0x000000007125a3f9
144: 0x000000004f4829a0 0x000000007128431a
144: 0x000000004f4829e0 0x000000007129c05f
144: 0x000000004f482a20 0x000000007128b6ad
144: 0x000000004f482ab0 0x000000007128f2b8
144: 0x000000004f482d30 0x0000000071293e99
144: 0x000000004f482f10 0x000000007110af48
144: 0x000000004f482ff0 0x000000004f416ecd
144: 0x00007fffe5a84cc0 0x00007fd8d013d5b1
144: 0x00007fd8d04ba688 0x00007fd8d04bc340
144: 0x00007fd8d04bbf20 0x0000000000000000
144: /mnt/data/b/build/slave/linux-dr/build/build_debug-internal-64/api/bin/libinstrcalls.so=0x0000000072000000
144: /mnt/data/b/build/slave/linux-dr/build/install/ext/lib64/debug/libdrx.so=0x0000000077000000
144: /mnt/data/b/build/slave/linux-dr/build/install/ext/lib64/debug/libdrmgr.so=0x0000000073000000
144: /mnt/data/b/build/slave/linux-dr/build/install/ext/lib64/debug/libdrsyms.so=0x0000000000010000
144: /lib/x86_64-linux-gnu/libc.so.6=0x00007fd8cf842000
144: /lib64/ld->
152/167 Test #144: code_api|sample.instrcalls .............................***Failed Required regular expression not found.Regex=[^OK 1 CF