diff --git a/.github/actions/prepare/action.yaml b/.github/actions/prepare/action.yaml index 47eee3307d5..30f546c51bc 100644 --- a/.github/actions/prepare/action.yaml +++ b/.github/actions/prepare/action.yaml @@ -26,3 +26,11 @@ runs: curl -4 -L https://github.com/ccache/ccache/releases/download/v${CCACHE_VERSION}/ccache-${CCACHE_VERSION}-linux-${OS_ARCH}.tar.xz \ | tar -xJ -C /usr/local/bin/ --strip-components=1 --no-same-owner ccache-${CCACHE_VERSION}-linux-${OS_ARCH}/ccache ls -la /usr/local/bin/ccache + - name: add user github to kvm group if exists + shell: bash + run: | + id -u github 2>/dev/null && { + sudo usermod -a -G kvm github + id github + grep kvm /etc/group + } || echo "user github not found" diff --git a/.github/actions/test/action.yaml b/.github/actions/test/action.yaml index 1a3782625ae..c60f7ca5dc5 100644 --- a/.github/actions/test/action.yaml +++ b/.github/actions/test/action.yaml @@ -112,7 +112,7 @@ runs: readarray -d ',' -t test_type < <(printf "%s" "${{ inputs.test_type }}") echo "::group::ya-make-test" - sudo -E -H -u github ./ya test -k --build "${build_type}" -D'BUILD_LANGUAGES=CPP PY3 PY2 GO' \ + sudo -E -H -u github ./ya test -k --build "${build_type}" \ ${test_size[@]/#/--test-size=} ${test_type[@]/#/--test-type=} \ --test-threads "${{ inputs.test_threads }}" --link-threads "${{ inputs.link_threads }}" \ --cache-size 512G --do-not-output-stderrs -T \ diff --git a/.github/config/muted_ya.txt b/.github/config/muted_ya.txt index ef65d8bd05d..ee5d9631965 100644 --- a/.github/config/muted_ya.txt +++ b/.github/config/muted_ya.txt @@ -1,23 +1,3 @@ -cloud/blockstore/tests/fio/qemu-vhost-local-test * -cloud/blockstore/tests/fio/qemu-vhost-null-test * -cloud/blockstore/tests/rdma/rdma-test * -cloud/blockstore/tests/resize-disk * cloud/disk_manager/internal/pkg/dataplane/snapshot/storage/tests tests.TestShallowCopySnapshotWithRandomFailure cloud/disk_manager/internal/pkg/dataplane/snapshot/storage/tests tests.TestShallowCopySnapshotWithRandomFailure/store_chunks_in_s3 -cloud/disk_manager/internal/pkg/dataplane/snapshot/storage/tests tests.TestShallowCopySnapshotWithRandomFailure/store_chunks_in_ydb -cloud/filestore/tests/fio_index_migration/qemu-intrahost-migration-kikimr-nemesis-test * -cloud/filestore/tests/fio_index_migration/qemu-intrahost-migration-kikimr-test * -cloud/filestore/tests/fio_index_migration/qemu-intrahost-migration-local-test * -cloud/filestore/tests/fio_index/qemu-kikimr-nemesis-test * -cloud/filestore/tests/fio_index/qemu-kikimr-test * -cloud/filestore/tests/fio_index/qemu-local-test * -cloud/filestore/tests/fio_migration/qemu-intrahost-migration-kikimr-nemesis-test * -cloud/filestore/tests/fio_migration/qemu-intrahost-migration-kikimr-test * -cloud/filestore/tests/fio_migration/qemu-intrahost-migration-local-test * -cloud/filestore/tests/fio/qemu-kikimr-nemesis-test * -cloud/filestore/tests/fio/qemu-kikimr-test * -cloud/filestore/tests/fio/qemu-local-test * -cloud/filestore/tests/fs_posix_compliance/qemu-kikimr-nemesis-test * -cloud/filestore/tests/fs_posix_compliance/qemu-kikimr-test * -cloud/filestore/tests/profile_log/qemu-kikimr-test * -cloud/filestore/tests/profile_log/qemu-local-test * +cloud/disk_manager/internal/pkg/dataplane/snapshot/storage/tests tests.TestShallowCopySnapshotWithRandomFailure/store_chunks_in_ydb \ No newline at end of file diff --git a/cloud/storage/core/tools/testing/qemu/lib/recipe.py b/cloud/storage/core/tools/testing/qemu/lib/recipe.py index f9dfca4cd19..d5545efdbf0 100644 --- a/cloud/storage/core/tools/testing/qemu/lib/recipe.py +++ b/cloud/storage/core/tools/testing/qemu/lib/recipe.py @@ -5,7 +5,7 @@ import yatest.common import yatest.common.network import retrying -import pipes +import shlex import tarfile import library.python.fs as fs @@ -386,7 +386,7 @@ def _prepare_test_environment(ssh, virtio): [ "#!/bin/bash" ] + [ - "export {}={}".format(k, pipes.quote(v)) + "export {}={}".format(k, shlex.quote(v)) for k, v in vm_env.items() ] + [ '"$@"',