diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd0f9ca62a..2b33b7d389 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -197,6 +197,27 @@ jobs: - name: test-tls-builtin run: ./runtest --verbose --single unit/tls --dump-logs --tls + test-ubuntu-libc-malloc: + runs-on: ubuntu-latest + steps: + - name: Install libbacktrace + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + repository: ianlancetaylor/libbacktrace + ref: b9e40069c0b47a722286b94eb5231f7f05c08713 + path: libbacktrace + - run: cd libbacktrace && ./configure && make && sudo make install + - name: Checkout Valkey + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + - name: make + run: make -j4 SERVER_CFLAGS='-Werror' MALLOC=libc CFLAGS=-DNO_MALLOC_USABLE_SIZE USE_LIBBACKTRACE=yes + - name: test + run: | + sudo apt-get install -y tcl8.6 tclx + ./runtest --verbose --tags -slow --dump-logs + - name: module api test + run: CFLAGS='-Werror' ./runtest-moduleapi --verbose --dump-logs + build-debian-old: runs-on: ubuntu-latest container: debian:bullseye @@ -287,21 +308,6 @@ jobs: GTEST_CFLAGS="-I/usr/src/googletest/googletest/include -I/usr/src/googletest/googlemock/include" \ GTEST_LIBS="/usr/lib32/libgtest.a /usr/lib32/libgmock.a" - build-libc-malloc: - runs-on: ubuntu-latest - steps: - - name: Install libbacktrace - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - repository: ianlancetaylor/libbacktrace - ref: b9e40069c0b47a722286b94eb5231f7f05c08713 - path: libbacktrace - - run: cd libbacktrace && ./configure && make && sudo make install - - name: Checkout Valkey - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - - name: make - run: make -j4 SERVER_CFLAGS='-Werror' MALLOC=libc USE_LIBBACKTRACE=yes - build-almalinux8-jemalloc: runs-on: ubuntu-latest container: almalinux:8 diff --git a/tests/integration/corrupt-dump-fuzzer.tcl b/tests/integration/corrupt-dump-fuzzer.tcl index 1e647ac90d..da3cf35d53 100644 --- a/tests/integration/corrupt-dump-fuzzer.tcl +++ b/tests/integration/corrupt-dump-fuzzer.tcl @@ -2,7 +2,7 @@ # The fuzzer can cause corrupt the state in many places, which could # mess up the reply, so we decided to skip logreqres. -tags {"dump" "corruption" "external:skip" "logreqres:skip"} { +tags {"dump" "corruption" "slow" "external:skip" "logreqres:skip"} { # catch sigterm so that in case one of the random command hangs the test, # usually due to the server not putting a response in the output buffers,