Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v5 luajit 0/3] Valgrind testing
@ 2024-12-11 13:21 Sergey Kaplun via Tarantool-patches
  2024-12-11 13:21 ` [Tarantool-patches] [PATCH v5 luajit 1/3] Ensure full init of IR_NOP instructions Sergey Kaplun via Tarantool-patches
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Sergey Kaplun via Tarantool-patches @ 2024-12-11 13:21 UTC (permalink / raw)
  To: Maksim Tiushev, Sergey Bronnikov; +Cc: tarantool-patches

Changes in v5:
- Backported patch to fix "uninitalised value" warning during vmevent
  processing of the `IR_NOP`.
- Added the additional suppression file to avoid false positives in
  string comparisons not covered by the original suppression file.
- Remove the `--verbose` flag, since it makes the output too messy.

Changes in v4:
- Replaced the `VALGRIND_OPTIONS` variable with `VALGRIND_OPTS`, which
  is provided by Valgrind.
- Enabled running `tarantool-c-tests` under Valgrind:
  * Disabled the `tarantool-c-tests/gh-8594-sysprof-ffunc-crash.c_test` due
    to timeout.
- Renamed the variable for skipping tests to `LUAJIT_TEST_USE_VALGRIND`
  and setted it via `LUA_TEST_ENV_MORE`.
- Added the `--error-exitcode=1` flag to `VALGRIND_OPTS` in CI for stricter
  error handling.

Branch: https://github.com/tarantool/luajit/tree/mandesero/lj-3705-turn-off-strcmp-opt-in-debug
Related issues:
* https://github.com/tarantool/tarantool/issues/10709
* https://github.com/tarantool/tarantool/issues/3705
* https://github.com/LuaJIT/LuaJIT/issues/624

Maksim Tiushev (2):
  cmake: run tests with Valgrind
  ci: add Valgrind testing workflow

Mike Pall (1):
  Ensure full init of IR_NOP instructions.

 .github/actions/setup-valgrind/README.md      |  12 +++
 .github/actions/setup-valgrind/action.yml     |  12 +++
 .github/workflows/valgrind-testing.yaml       | 102 ++++++++++++++++++
 CMakeLists.txt                                |   5 +
 src/lj_asm.c                                  |   2 +-
 src/lj_extra.supp                             |  19 ++++
 src/lj_ir.h                                   |   8 ++
 src/lj_opt_dce.c                              |   5 +-
 src/lj_opt_mem.c                              |  25 +----
 test/CMakeLists.txt                           |  19 ++++
 test/tarantool-c-tests/CMakeLists.txt         |  11 +-
 .../gh-8594-sysprof-ffunc-crash.test.c        |   9 ++
 test/tarantool-tests/CMakeLists.txt           |   6 ++
 .../gh-7745-oom-on-trace.test.lua             |   1 +
 .../lj-1034-tabov-error-frame.test.lua        |   1 +
 .../lj-512-profiler-hook-finalizers.test.lua  |   5 +-
 .../lj-726-profile-flush-close.test.lua       |   5 +-
 .../profilers/gh-5688-tool-cli-flag.test.lua  |   2 +
 ...4-add-proto-trace-sysprof-default.test.lua |   2 +
 .../profilers/misclib-sysprof-lapi.test.lua   |   2 +
 20 files changed, 225 insertions(+), 28 deletions(-)
 create mode 100644 .github/actions/setup-valgrind/README.md
 create mode 100644 .github/actions/setup-valgrind/action.yml
 create mode 100644 .github/workflows/valgrind-testing.yaml
 create mode 100644 src/lj_extra.supp

-- 
2.47.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-12-22  7:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-11 13:21 [Tarantool-patches] [PATCH v5 luajit 0/3] Valgrind testing Sergey Kaplun via Tarantool-patches
2024-12-11 13:21 ` [Tarantool-patches] [PATCH v5 luajit 1/3] Ensure full init of IR_NOP instructions Sergey Kaplun via Tarantool-patches
2024-12-13 12:54   ` Sergey Bronnikov via Tarantool-patches
2024-12-16 11:24     ` Sergey Kaplun via Tarantool-patches
2024-12-17 11:08       ` Sergey Bronnikov via Tarantool-patches
2024-12-11 13:21 ` [Tarantool-patches] [PATCH v5 luajit 2/3] cmake: run tests with Valgrind Sergey Kaplun via Tarantool-patches
2024-12-13 13:18   ` Sergey Bronnikov via Tarantool-patches
2024-12-16 16:40     ` Sergey Kaplun via Tarantool-patches
2024-12-17 11:42       ` Sergey Bronnikov via Tarantool-patches
2024-12-17 12:17         ` Sergey Kaplun via Tarantool-patches
2024-12-17 19:31           ` Sergey Bronnikov via Tarantool-patches
2024-12-11 13:21 ` [Tarantool-patches] [PATCH v5 luajit 3/3] ci: add Valgrind testing workflow Sergey Kaplun via Tarantool-patches
2024-12-13 13:23   ` Sergey Bronnikov via Tarantool-patches
2024-12-22  7:44   ` mandesero--- via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox