diff --git a/.github/workflows/ci-test-ginkgo.yml b/.github/workflows/ci-test-ginkgo.yml index 698db6d803..e407a27072 100644 --- a/.github/workflows/ci-test-ginkgo.yml +++ b/.github/workflows/ci-test-ginkgo.yml @@ -26,14 +26,14 @@ permissions: read-all jobs: build: name: Auto-testing Framework / ${{ matrix.os }} / ${{ matrix.runtime }} - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest-16-cores env: RUNTIME: ${{ matrix.runtime }} strategy: fail-fast: false matrix: os: [ubuntu-20.04] - runtime: ["containerd", "crio"] + runtime: ["containerd"] steps: - uses: actions/checkout@v3 with: diff --git a/Dockerfile b/Dockerfile index 04729c768c..71b6330825 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,8 @@ COPY . . WORKDIR /usr/src/KubeArmor/KubeArmor -RUN go install github.com/golang/protobuf/protoc-gen-go@latest -RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest +RUN go install github.com/golang/protobuf/protoc-gen-go@v1.4.0 +RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4.0 RUN make diff --git a/tests/k8s_env/Makefile b/tests/k8s_env/Makefile index ef96bc28e4..ae6fcef01a 100644 --- a/tests/k8s_env/Makefile +++ b/tests/k8s_env/Makefile @@ -6,8 +6,8 @@ build: @go mod tidy # run in two steps as syscall suite fails if run at the very end # see - https://github.com/kubearmor/KubeArmor/issues/1269 - @ginkgo --vv --flake-attempts=10 --timeout=10m syscalls/ - @ginkgo -r --vv --flake-attempts=10 --timeout=30m --skip-package "syscalls" + # @ginkgo --vv --flake-attempts=10 --timeout=10m syscalls/ + @ginkgo -r --vv --flake-attempts=10 --timeout=30m --focus "ksp" .PHONY: test test: @ginkgo -r -v \ No newline at end of file diff --git a/tests/util/karmorlog.go b/tests/util/karmorlog.go index 94e2839b41..43122adb28 100644 --- a/tests/util/karmorlog.go +++ b/tests/util/karmorlog.go @@ -29,6 +29,7 @@ var gRPC = "" const maxEvents = 128 func getLogWithInfo(logItem *pb.Log, target *pb.Log) bool { + fmt.Println("log:", logItem) if target.Source != "" { if !strings.Contains(logItem.Source, target.Source) { return false