Skip to content

test: Make valgrind.supp work on aarch64 - #19159

Merged
fanquake merged 1 commit into
bitcoin:masterfrom
maflcko:2006-valgrindAarch64
Jun 4, 2020
Merged

fanquake merged 1 commit into
bitcoin:masterfrom
maflcko:2006-valgrindAarch64

Conversation

@maflcko

@maflcko maflcko commented Jun 3, 2020

Copy link
Copy Markdown
Member

Was easy to fix by simply removing a line

The equivalent suppression on aarch64 looks like:

{
   <insert_a_suppression_name_here>
   Memcheck:Param
   pwrite64(buf)
   fun:__libc_pwrite64
   fun:pwrite
   fun:__os_io
   obj:/usr/lib/aarch64-linux-gnu/libdb_cxx-5.3.so
   fun:__log_flush_int
   fun:__log_flush
   fun:__memp_sync_int
   fun:__db_sync
   fun:__db_refresh
   fun:__db_close
   fun:__fop_subdb_setup
   fun:__db_open
   fun:__db_open_pp
}
@maflcko maflcko added the Tests label Jun 3, 2020
@maflcko

maflcko commented Jun 3, 2020

Copy link
Copy Markdown
Member Author

If someone wants to try this at home, I had to crank up the timeout factor:

./test/functional/test_runner.py --valgrind -j 1 --timeout-factor=10

@practicalswift

Copy link
Copy Markdown
Contributor

ACK fab7d95 -- diff looks correct

@fanquake
fanquake merged commit 76e6452 into bitcoin:master Jun 4, 2020
@maflcko
maflcko deleted the 2006-valgrindAarch64 branch June 4, 2020 14:02
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants