From 493334f8b594eb1c2b0f5a6133dbedad4e0ecd32 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Mon, 4 Nov 2019 15:59:11 -0800 Subject: kokoro: run KVM syscall tests We don't know how stable they are, so let's start with warning. PiperOrigin-RevId: 278484186 --- scripts/syscall_kvm_tests.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 scripts/syscall_kvm_tests.sh (limited to 'scripts/syscall_kvm_tests.sh') diff --git a/scripts/syscall_kvm_tests.sh b/scripts/syscall_kvm_tests.sh new file mode 100755 index 000000000..de85daa5a --- /dev/null +++ b/scripts/syscall_kvm_tests.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Copyright 2019 The gVisor Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +source $(dirname $0)/common.sh + +# TODO(b/112165693): "test --test_tag_filters=runsc_kvm" can be used +# when the "manual" tag will be removed for kvm tests. +test `bazel query "attr(tags, runsc_kvm, tests(//test/syscalls/...))"` -- cgit v1.2.3 From c01e103256a75de4488f50fd34506222c058c151 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Thu, 30 Apr 2020 11:31:37 -0700 Subject: Allow to run kvm syscall tests on the RBE cluster PiperOrigin-RevId: 309265978 --- scripts/syscall_kvm_tests.sh | 5 ++--- tools/bazeldefs/platforms.bzl | 5 +---- 2 files changed, 3 insertions(+), 7 deletions(-) (limited to 'scripts/syscall_kvm_tests.sh') diff --git a/scripts/syscall_kvm_tests.sh b/scripts/syscall_kvm_tests.sh index de85daa5a..0e5d86727 100755 --- a/scripts/syscall_kvm_tests.sh +++ b/scripts/syscall_kvm_tests.sh @@ -16,6 +16,5 @@ source $(dirname $0)/common.sh -# TODO(b/112165693): "test --test_tag_filters=runsc_kvm" can be used -# when the "manual" tag will be removed for kvm tests. -test `bazel query "attr(tags, runsc_kvm, tests(//test/syscalls/...))"` +# Run all ptrace-variants of the system call tests. +test --test_tag_filters=runsc_kvm //test/syscalls/... diff --git a/tools/bazeldefs/platforms.bzl b/tools/bazeldefs/platforms.bzl index 132040c20..165b22311 100644 --- a/tools/bazeldefs/platforms.bzl +++ b/tools/bazeldefs/platforms.bzl @@ -3,10 +3,7 @@ # Platform to associated tags. platforms = { "ptrace": [], - "kvm": [ - "manual", - "local", - ], + "kvm": [], } default_platform = "ptrace" -- cgit v1.2.3