This is an automated email from the ASF dual-hosted git repository.
aleksraiden pushed a commit to branch dnm-test-archlinux-error
in repository https://gitbox.apache.org/repos/asf/kvrocks.git
The following commit(s) were added to refs/heads/dnm-test-archlinux-error by
this push:
new a17424cad Update kvrocks.yaml
a17424cad is described below
commit a17424cadddc157e97d66d6c513ca2edd574c841
Author: Aleks Lozovyuk <[email protected]>
AuthorDate: Sun May 3 12:52:38 2026 +0300
Update kvrocks.yaml
---
.github/workflows/kvrocks.yaml | 228 +----------------------------------------
1 file changed, 1 insertion(+), 227 deletions(-)
diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml
index 253dd9703..0c26585e9 100644
--- a/.github/workflows/kvrocks.yaml
+++ b/.github/workflows/kvrocks.yaml
@@ -64,9 +64,6 @@ jobs:
uses: crate-ci/[email protected]
with:
config: .github/config/typos.toml
- - uses: apache/skywalking-eyes/[email protected]
- with:
- config: .github/config/licenserc.yml
check-and-lint:
name: Lint and check code
@@ -100,23 +97,6 @@ jobs:
- name: Check with clang-format
id: check-format
run: ./x.py check format --clang-format-path clang-format-18
- - name: Check with clang-tidy
- run: |
- ./x.py build --skip-build --dep-dir ${{ env.KVROCKS_DEPS_CACHE_DIR }}
- ./x.py check tidy -j $(nproc) --clang-tidy-path clang-tidy-18
--run-clang-tidy-path run-clang-tidy-18
- - name: Lint with golangci-lint
- run: ./x.py check golangci-lint
- - name: Prepare format patch
- if: always() && steps.check-format.outcome != 'success'
- run: |
- ./x.py format --clang-format-path clang-format-18
- git diff -p > clang-format.patch
- cat clang-format.patch
- - name: Upload format patch
- uses: actions/upload-artifact@v7
- if: always() && steps.check-format.outcome != 'success'
- with:
- path: clang-format.patch
build-and-test:
name: Build and test
@@ -126,128 +106,9 @@ jobs:
fail-fast: false
matrix:
include:
- - name: Darwin Clang arm64
- os: macos-14
- compiler: auto
- - name: Darwin Clang arm64 without Jemalloc
- os: macos-14
- compiler: auto
- without_jemalloc: -DDISABLE_JEMALLOC=ON
- - name: Darwin Clang arm64 with OpenSSL
- os: macos-14
- compiler: auto
- with_openssl: -DENABLE_OPENSSL=ON
- - name: Darwin Clang arm64 without luaJIT
- os: macos-14
- compiler: auto
- without_luajit: -DENABLE_LUAJIT=OFF
- # FIXME: temporarily disable macos-13 build, refer to #2874
- # - name: Darwin Clang
- # os: macos-13
- # compiler: auto
- # - name: Darwin Clang without Jemalloc
- # os: macos-13
- # compiler: auto
- # without_jemalloc: -DDISABLE_JEMALLOC=ON
- # - name: Darwin Clang with OpenSSL
- # os: macos-13
- # compiler: auto
- # with_openssl: -DENABLE_OPENSSL=ON
- # - name: Darwin Clang without luaJIT
- # os: macos-13
- # compiler: auto
- # without_luajit: -DENABLE_LUAJIT=OFF
- - name: Ubuntu GCC
- os: ubuntu-22.04
- compiler: gcc
- - name: SonarCloud with Coverage
- os: ubuntu-22.04
- compiler: gcc
- sonarcloud: -DCMAKE_CXX_FLAGS=--coverage
- - name: Ubuntu Clang
- os: ubuntu-22.04
- compiler: clang
- - name: Ubuntu 24 GCC
- os: ubuntu-24.04
- compiler: gcc
- - name: Ubuntu 24 Clang
- os: ubuntu-24.04
- compiler: clang
- - name: Ubuntu GCC ASan
- os: ubuntu-22.04
- without_jemalloc: -DDISABLE_JEMALLOC=ON
- with_sanitizer: -DENABLE_ASAN=ON
- compiler: gcc
- ignore_when_asan: -tags="ignore_when_asan"
- - name: Ubuntu Clang ASan
- os: ubuntu-22.04
- with_sanitizer: -DENABLE_ASAN=ON
- without_jemalloc: -DDISABLE_JEMALLOC=ON
- compiler: clang
- ignore_when_asan: -tags="ignore_when_asan"
- - name: Ubuntu GCC TSan
- os: ubuntu-22.04
- without_jemalloc: -DDISABLE_JEMALLOC=ON
- with_sanitizer: -DENABLE_TSAN=ON
- compiler: gcc
- ignore_when_tsan: -tags="ignore_when_tsan"
- - name: Ubuntu Clang TSan
- os: ubuntu-22.04
- with_sanitizer: -DENABLE_TSAN=ON
- without_jemalloc: -DDISABLE_JEMALLOC=ON
- compiler: clang
- ignore_when_tsan: -tags="ignore_when_tsan"
- - name: Ubuntu Clang UBSAN
- os: ubuntu-22.04
- with_sanitizer: -DENABLE_UBSAN=ON
- without_jemalloc: -DDISABLE_JEMALLOC=ON
- compiler: clang
- ignore_when_ubsan: -tags="ignore_when_ubsan"
- - name: Ubuntu GCC Ninja
+ - name: Ubuntu GCC
os: ubuntu-22.04
- with_ninja: --ninja
compiler: gcc
- - name: Ubuntu GCC with OpenSSL
- os: ubuntu-22.04
- compiler: gcc
- with_openssl: -DENABLE_OPENSSL=ON
- - name: Ubuntu Clang with OpenSSL
- os: ubuntu-22.04
- compiler: clang
- with_openssl: -DENABLE_OPENSSL=ON
- - name: Ubuntu GCC without luaJIT
- os: ubuntu-22.04
- without_luajit: -DENABLE_LUAJIT=OFF
- compiler: gcc
- - name: Ubuntu Clang without luaJIT
- os: ubuntu-22.04
- without_luajit: -DENABLE_LUAJIT=OFF
- compiler: clang
- - name: Ubuntu GCC with old encoding
- os: ubuntu-22.04
- compiler: gcc
- new_encoding: -DENABLE_NEW_ENCODING=FALSE
- - name: Ubuntu Clang with old encoding
- os: ubuntu-22.04
- compiler: clang
- new_encoding: -DENABLE_NEW_ENCODING=FALSE
- - name: Ubuntu ARM GCC
- os: ubuntu-24.04-arm
- compiler: gcc
- arm_linux: true
- - name: Ubuntu ARM Clang
- os: ubuntu-24.04-arm
- compiler: clang
- arm_linux: true
- - name: Ubuntu RISC-V GCC without luaJIT (QEMU)
- os: ubuntu-24.04
- riscv_toolchain: true
- toolchain_file: cmake/riscv64.cmake
- riscv_toolchain_url:
"https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2025.07.03/riscv64-glibc-ubuntu-24.04-gcc-nightly-2025.07.03-nightly.tar.xz"
- cmake_crosscompiling: -DCMAKE_CROSSCOMPILING=TRUE
- cmake_system_name: -DCMAKE_SYSTEM_NAME=Linux
- cmake_system_processor: -DCMAKE_SYSTEM_PROCESSOR=riscv64
- without_luajit: -DENABLE_LUAJIT=OFF
runs-on: ${{ matrix.os }}
env:
@@ -405,77 +266,6 @@ jobs:
fi
./x.py test go build -parallel 2 $GOCASE_RUN_ARGS ${{
matrix.ignore_when_tsan}} ${{ matrix.ignore_when_asan}} ${{
matrix.ignore_when_ubsan}}
- - name: Install redis-py
- run: pip3 install redis==5.2.0
-
- - name: Run kvrocks2redis Test
- # Currently, when enabling Tsan/Asan or running in macOS 11/14, the
value mismatch in destination redis server.
- # See https://github.com/apache/kvrocks/issues/2195.
- if: ${{ !contains(matrix.name, 'Tsan') && !contains(matrix.name,
'Asan') && !startsWith(matrix.os, 'macos') }}
- run: |
- ulimit -c unlimited
- export LSAN_OPTIONS="suppressions=$(realpath
./tests/lsan-suppressions)"
- export TSAN_OPTIONS="suppressions=$(realpath
./tests/tsan-suppressions)"
- $HOME/local/bin/redis-server --daemonize yes
- mkdir -p kvrocks2redis-ci-data
- ./build/kvrocks --dir `pwd`/kvrocks2redis-ci-data --pidfile
`pwd`/kvrocks.pid --daemonize yes
- sleep 10s
- echo -en "data-dir `pwd`/kvrocks2redis-ci-data\ndaemonize
yes\noutput-dir ./\nnamespace.__namespace 127.0.0.1 6379\n" >>
./kvrocks2redis-ci.conf
- cat ./kvrocks2redis-ci.conf
- ./build/kvrocks2redis -c ./kvrocks2redis-ci.conf
- sleep 10s
- python3 utils/kvrocks2redis/tests/populate-kvrocks.py --password=""
--flushdb=true
- sleep 10s
- python3 utils/kvrocks2redis/tests/check_consistency.py
--src_password=""
-
- - name: Find reports and crashes
- if: always()
- run: |
- SANITIZER_OUTPUT=$(grep "Sanitizer:" tests/gocase/workspace -r ||
true)
- if [[ $SANITIZER_OUTPUT ]]; then
- echo "found sanitizer reports:"
- echo "$SANITIZER_OUTPUT"
- echo "detail log:"
- cat $(echo "$SANITIZER_OUTPUT" | awk -F ':' '{print $1}')
- exit 1
- fi
- CRASHES=$(grep "Ooops!" tests/gocase/workspace -r || true)
- if [[ $CRASHES ]]; then
- echo "found crashes:"
- echo "$CRASHES"
- echo "detail log:"
- cat $(echo "$CRASHES" | awk -F ':' '{print $1}')
- exit 1
- fi
-
- - uses: actions/upload-artifact@v7
- if: ${{ failure() && startsWith(matrix.os, 'ubuntu') }}
- with:
- name: kvrocks-coredumps-${{ matrix.name }}
- path: |
- ./build/kvrocks
- ./coredumps/*
-
- - name: Collect coverage into one XML report
- if: ${{ matrix.sonarcloud }}
- run: |
- gcovr --sonarqube > ${{ env.SONARCLOUD_OUTPUT_DIR }}/coverage.xml
-
- - name: Add event information
- if: ${{ matrix.sonarcloud }}
- env:
- GITHUB_EVENT_JSON: ${{ toJson(github.event) }}
- run: |
- echo "$GITHUB_EVENT_JSON" | tee ${{ env.SONARCLOUD_OUTPUT_DIR
}}/github-event.json
-
- - name: Upload SonarCloud data
- if: ${{ matrix.sonarcloud }}
- uses: actions/upload-artifact@v7
- with:
- name: sonarcloud-data
- path: |
- ${{ env.SONARCLOUD_OUTPUT_DIR }}
- _build
check-docker:
name: Check Docker image
@@ -519,25 +309,9 @@ jobs:
fail-fast: false
matrix:
include:
- - name: openSUSE Leap 15
- image: opensuse/leap:15
- compiler: gcc
- name: ArchLinux
image: archlinux:base
compiler: gcc
- - name: Rocky Linux 8
- image: rockylinux:8
- compiler: gcc
- - name: Rocky Linux 9
- image: rockylinux:9
- compiler: gcc
- - name: Debian 12
- image: debian:12
- compiler: gcc
- - name: Alpine 3
- image: alpine:3.22
- compiler: gcc
- disable_jemalloc: -DDISABLE_JEMALLOC=ON
runs-on: ubuntu-22.04
container: