From cc03510809965f237faa4aa2d4a3b76db8c5efab Mon Sep 17 00:00:00 2001 From: Wenying Dong Date: Tue, 15 Oct 2024 16:46:52 +0800 Subject: [PATCH 1/2] Remove unnecessary test jobs --- .github/workflows/build.yml | 56 -- .github/workflows/conformance.yml | 141 ----- .github/workflows/kind.yml | 875 ------------------------------ .github/workflows/kind_ubi.yml | 78 --- 4 files changed, 1150 deletions(-) delete mode 100644 .github/workflows/conformance.yml delete mode 100644 .github/workflows/kind.yml delete mode 100644 .github/workflows/kind_ubi.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 229a3e54cff..fe972929c54 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -116,62 +116,6 @@ jobs: antrea/antrea-agent-ubuntu-amd64:"${DOCKER_TAG}" docker manifest push --purge antrea/antrea-agent-ubuntu:"${DOCKER_TAG}" - build-ubi: - needs: check-env - if: ${{ needs.check-env.outputs.has_changes == 'yes' || github.event_name == 'push' }} - runs-on: ubuntu-latest - env: - DOCKER_TAG: latest - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - with: - driver: ${{ needs.check-env.outputs.docker_driver }} - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Build Antrea UBI9 Docker image without pushing to registry - if: ${{ needs.check-env.outputs.push_needed == 'false' }} - run: | - ./hack/build-antrea-linux-all.sh --pull --distro ubi - - name: Build and push Antrea UBI9 Docker image to registry - if: ${{ needs.check-env.outputs.push_needed == 'true' }} - env: - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - run: | - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - ./hack/build-antrea-linux-all.sh --pull --push-base-images --distro ubi - docker push antrea/antrea-agent-ubi:"${DOCKER_TAG}" - docker push antrea/antrea-controller-ubi:"${DOCKER_TAG}" - - build-scale: - needs: check-env - if: ${{ needs.check-env.outputs.has_changes == 'yes' || github.event_name == 'push' }} - runs-on: [ubuntu-latest] - steps: - - uses: actions/checkout@v4 - with: - show-progress: false - - name: Build Antrea Agent Simulator Docker image - run: make build-scale-simulator - - name: Push Antrea Agent Simulator Docker image to registry - if: ${{ needs.check-env.outputs.push_needed == 'true' }} - env: - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - run: | - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - docker push antrea/antrea-ubuntu-simulator:latest - build-windows: needs: check-env if: ${{ needs.check-env.outputs.has_changes == 'yes' || github.event_name == 'push' }} diff --git a/.github/workflows/conformance.yml b/.github/workflows/conformance.yml deleted file mode 100644 index b2fe09a8fb2..00000000000 --- a/.github/workflows/conformance.yml +++ /dev/null @@ -1,141 +0,0 @@ -name: Manually run upstream conformance test on Linux -run-name: Run ${{ inputs.test-suite }} test with Antrea ${{ inputs.antrea-version }} and K8s ${{ inputs.k8s-version }} - -on: - workflow_dispatch: - inputs: - antrea-version: - description: The Antrea version to test. It could be a SHA-1 value, a branch, or a tag (e.g. a7b012b, release-1.12, v1.12.0). The main branch will be used if empty. - required: false - antrea-values: - description: The Antrea Chart values. Multiple values can be separated with commas (e.g. key1=val1,key2=val2). Default configuration will be tested if empty. - required: false - antrea-image-distro: - description: The Antrea image distribution to test. It could be ubuntu or ubi. - type: choice - options: - - ubuntu - - ubi - default: ubuntu - k8s-version: - description: The K8s version (e.g. v1.27.1) to test. Kind's default K8s version will be used if empty. - required: false - test-suite: - description: The test suite to run. Check run-k8s-e2e-tests.sh for which test cases these values represent. - type: choice - options: - - whole-conformance - - conformance - - network-policy - - sig-network - - all - default: whole-conformance - required: true - always-upload-logs: - description: Always upload logs regardless of the test result. - type: boolean - default: false - - -jobs: - test: - name: Run tests - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - ref: ${{ inputs.antrea-version }} - fetch-depth: 0 - show-progress: false - - name: Check if it is a released version - id: check-release - run: | - if git show-ref --tags --verify --quiet refs/tags/${{ inputs.antrea-version }}; then - echo "released=true" >> $GITHUB_OUTPUT - echo "image-tag=${{ inputs.antrea-version }}" >> $GITHUB_OUTPUT - else - echo "released=false" >> $GITHUB_OUTPUT - echo "image-tag=latest" >> $GITHUB_OUTPUT - fi - - name: Set up Docker Buildx if required - if: ${{ steps.check-release.outputs.released == 'false' }} - uses: docker/setup-buildx-action@v3 - with: - driver: docker - - name: Build Antrea image if required - if: ${{ steps.check-release.outputs.released == 'false' }} - run: | - ./hack/build-antrea-linux-all.sh --pull --distro ${{ inputs.antrea-image-distro }} - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version || echo v0.23.0) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Build local image for conformance test - if: ${{ inputs.k8s-version != '' }} - run: | - image="kindest/node:${{ inputs.k8s-version }}" - if docker pull $image 2>&1; then - echo "Image $image exists, no need to build it." - else - echo "Image $image does not exist, preparing to build it." - # Building a local Kind Node image with the latest Kubernetes version will consume a lot of disk space. - # We need to free up some disk space before building the image. - sudo apt-get clean - sudo rm -rf /usr/share/dotnet || true - sudo rm -rf /opt/ghc || true - sudo rm -rf "/usr/local/share/boost" || true - sudo rm -rf "$AGENT_TOOLSDIRECTORY" || true - - git clone --depth 1 --branch ${{ inputs.k8s-version }} https://github.com/kubernetes/kubernetes.git /tmp/kubernetes - echo "Building Kind Node image with Kubernetes version ${{ inputs.k8s-version }}" - kind build node-image --image kindest/node:${{ inputs.k8s-version }} /tmp/kubernetes - rm -rf /tmp/kubernetes - fi - - name: Create K8s cluster - run: | - # If an image does not exist (unified vs split), a warning will be printed, but the script - # execution will not fail. - images=() - images+=(antrea/antrea-controller-${{ inputs.antrea-image-distro }}:${{ steps.check-release.outputs.image-tag }}) - images+=(antrea/antrea-agent-${{ inputs.antrea-image-distro }}:${{ steps.check-release.outputs.image-tag }}) - images+=(antrea/antrea-${{ inputs.antrea-image-distro }}:${{ steps.check-release.outputs.image-tag }}) - ./ci/kind/kind-setup.sh create kind \ - --k8s-version "${{ inputs.k8s-version }}" \ - --images "${images[*]}" - - name: Install Antrea - run: | - helm_args=() - helm_repo="./build/charts/antrea" - if [ ${{ steps.check-release.outputs.released }} == 'true' ]; then - helm_repo="antrea/antrea" - helm_args+=(--version "${{ inputs.antrea-version }}") - helm repo add antrea https://charts.antrea.io - helm repo update - fi - if helm show values ${helm_repo} | grep -q '^controllerImage:'; then - helm_args+=(--set controllerImage.repository="antrea/antrea-controller-${{ inputs.antrea-image-distro }}") - helm_args+=(--set agentImage.repository="antrea/antrea-agent-${{ inputs.antrea-image-distro }}") - else - helm_args+=(--set image.repository="antrea/antrea-${{ inputs.antrea-image-distro }}") - fi - helm install --namespace kube-system antrea ${helm_repo} \ - --set "${{ inputs.antrea-values }}" \ - "${helm_args[@]}" - kubectl rollout status -n kube-system ds/antrea-agent --timeout=5m - - name: Run e2e tests - run: | - ./ci/run-k8s-e2e-tests.sh "--e2e-${{ inputs.test-suite }}" - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() || inputs.always-upload-logs }} - with: - name: sonobuoy.tar.gz - path: "*_sonobuoy_*.tar.gz" - retention-days: 7 diff --git a/.github/workflows/kind.yml b/.github/workflows/kind.yml deleted file mode 100644 index ba26f228bcb..00000000000 --- a/.github/workflows/kind.yml +++ /dev/null @@ -1,875 +0,0 @@ -name: Kind -on: - pull_request: - branches: - - main - - release-* - - feature/* - push: - branches: - - main - - release-* - - feature/* - - -jobs: - check-changes: - name: Check whether tests need to be run based on diff - runs-on: [ubuntu-latest] - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - show-progress: false - - uses: antrea-io/has-changes@v2 - id: check_diff - with: - paths-ignore: docs/* ci/jenkins/* *.md hack/.notableofcontents plugins/* - outputs: - has_changes: ${{ steps.check_diff.outputs.has_changes }} - - build-antrea-coverage-image: - name: Build Antrea image to be used for Kind e2e tests - needs: check-changes - if: ${{ needs.check-changes.outputs.has_changes == 'yes' }} - runs-on: [ubuntu-latest] - steps: - - uses: actions/checkout@v4 - with: - show-progress: false - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - with: - driver: docker - - name: Build Antrea Docker image with code coverage support - run: | - ./hack/build-antrea-linux-all.sh --pull --coverage - - name: Save Antrea image to tarball - run: docker save -o antrea-ubuntu.tar antrea/antrea-agent-ubuntu-coverage:latest antrea/antrea-controller-ubuntu-coverage:latest - - name: Upload Antrea image for subsequent jobs - uses: actions/upload-artifact@v4 - with: - name: antrea-ubuntu-cov - path: antrea-ubuntu.tar - retention-days: 1 # minimum value, in case artifact deletion by 'artifact-cleanup' job fails - - build-flow-aggregator-coverage-image: - name: Build Flow Aggregator image to be used for Kind e2e tests - needs: check-changes - if: ${{ needs.check-changes.outputs.has_changes == 'yes' }} - runs-on: [ ubuntu-latest ] - steps: - - uses: actions/checkout@v4 - with: - show-progress: false - - run: make flow-aggregator-ubuntu-coverage - - name: Save Flow Aggregator image to tarball - run: docker save -o flow-aggregator.tar antrea/flow-aggregator-coverage:latest - - name: Upload Flow Aggregator image for subsequent jobs - uses: actions/upload-artifact@v4 - with: - name: flow-aggregator-cov - path: flow-aggregator.tar - retention-days: 1 # minimum value, in case artifact deletion by 'artifact-cleanup' job fails - - test-e2e-encap: - name: E2e tests on a Kind cluster on Linux - needs: [build-antrea-coverage-image] - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run e2e tests - run: | - mkdir log - mkdir test-e2e-encap-coverage - ANTREA_LOG_DIR=$PWD/log ANTREA_COV_DIR=$PWD/test-e2e-encap-coverage ./ci/kind/test-e2e-kind.sh --encap-mode encap --coverage - - name: Tar coverage files - run: tar -czf test-e2e-encap-coverage.tar.gz test-e2e-encap-coverage - - name: Upload coverage for test-e2e-encap-coverage - uses: actions/upload-artifact@v4 - with: - name: test-e2e-encap-coverage - path: test-e2e-encap-coverage.tar.gz - retention-days: 30 - - name: Codecov - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: '*.cov.out*' - disable_search: true - flags: kind-e2e-tests - name: codecov-test-e2e-encap - directory: test-e2e-encap-coverage - fail_ci_if_error: ${{ github.event_name == 'push' }} - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: e2e-kind-encap.tar.gz - path: log.tar.gz - retention-days: 30 - - test-e2e-encap-non-default: - name: E2e tests on a Kind cluster on Linux with non default values (proxyAll=true, LoadBalancerMode=DSR, NodeIPAM=true) - needs: [build-antrea-coverage-image] - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run e2e tests - run: | - mkdir log - mkdir test-e2e-encap-non-default-coverage - ANTREA_LOG_DIR=$PWD/log ANTREA_COV_DIR=$PWD/test-e2e-encap-non-default-coverage ./ci/kind/test-e2e-kind.sh \ - --coverage \ - --encap-mode encap \ - --proxy-all \ - --no-kube-proxy \ - --feature-gates LoadBalancerModeDSR=true \ - --load-balancer-mode dsr \ - --node-ipam - - name: Tar coverage files - run: tar -czf test-e2e-encap-non-default-coverage.tar.gz test-e2e-encap-non-default-coverage - - name: Upload coverage for test-e2e-encap-non-default-coverage - uses: actions/upload-artifact@v4 - with: - name: test-e2e-encap-non-default-coverage - path: test-e2e-encap-non-default-coverage.tar.gz - retention-days: 30 - - name: Codecov - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: '*.cov.out*' - disable_search: true - flags: kind-e2e-tests - name: codecov-test-e2e-encap-non-default - directory: test-e2e-encap-non-default-coverage - fail_ci_if_error: ${{ github.event_name == 'push' }} - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: e2e-kind-encap-non-default.tar.gz - path: log.tar.gz - retention-days: 30 - - test-e2e-encap-all-features-enabled: - name: E2e tests on a Kind cluster on Linux with all features enabled - needs: [build-antrea-coverage-image] - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run e2e tests - run: | - mkdir log - mkdir test-e2e-encap-all-features-enabled-coverage - ANTREA_LOG_DIR=$PWD/log ANTREA_COV_DIR=$PWD/test-e2e-encap-all-features-enabled-coverage ./ci/kind/test-e2e-kind.sh \ - --encap-mode encap \ - --coverage \ - --feature-gates AllAlpha=true,AllBeta=true \ - --proxy-all \ - --node-ipam \ - --extra-vlan \ - --multicast \ - --bgp-policy \ - --networkpolicy-evaluation - - name: Tar coverage files - run: tar -czf test-e2e-encap-all-features-enabled-coverage.tar.gz test-e2e-encap-all-features-enabled-coverage - - name: Upload coverage for test-e2e-encap-all-features-enabled-coverage - uses: actions/upload-artifact@v4 - with: - name: test-e2e-encap-all-features-enabled-coverage - path: test-e2e-encap-all-features-enabled-coverage.tar.gz - retention-days: 30 - - name: Codecov - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: '*.cov.out*' - disable_search: true - flags: kind-e2e-tests - name: codecov-test-e2e-encap-all-features-enabled - directory: test-e2e-encap-all-features-enabled-coverage - fail_ci_if_error: ${{ github.event_name == 'push' }} - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: e2e-kind-encap-all-features-enabled.tar.gz - path: log.tar.gz - retention-days: 30 - - test-e2e-noencap: - name: E2e tests on a Kind cluster on Linux (noEncap) - needs: [build-antrea-coverage-image] - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run e2e tests - run: | - mkdir log - mkdir test-e2e-noencap-coverage - ANTREA_LOG_DIR=$PWD/log ANTREA_COV_DIR=$PWD/test-e2e-noencap-coverage ./ci/kind/test-e2e-kind.sh --encap-mode noEncap --coverage --skip mode-irrelevant - - name: Tar coverage files - run: tar -czf test-e2e-noencap-coverage.tar.gz test-e2e-noencap-coverage - - name: Upload coverage for test-e2e-noencap-coverage - uses: actions/upload-artifact@v4 - with: - name: test-e2e-noencap-coverage - path: test-e2e-noencap-coverage.tar.gz - retention-days: 30 - - name: Codecov - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: '*.cov.out*' - disable_search: true - flags: kind-e2e-tests - name: codecov-test-e2e-noencap - directory: test-e2e-noencap-coverage - fail_ci_if_error: ${{ github.event_name == 'push' }} - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: e2e-kind-noencap.tar.gz - path: log.tar.gz - retention-days: 30 - - test-e2e-hybrid: - name: E2e tests on a Kind cluster on Linux (hybrid) - needs: [build-antrea-coverage-image] - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run e2e tests - run: | - mkdir log - mkdir test-e2e-hybrid-coverage - ANTREA_LOG_DIR=$PWD/log ANTREA_COV_DIR=$PWD/test-e2e-hybrid-coverage ./ci/kind/test-e2e-kind.sh --encap-mode hybrid --coverage --skip mode-irrelevant - - name: Tar coverage files - run: tar -czf test-e2e-hybrid-coverage.tar.gz test-e2e-hybrid-coverage - - name: Upload coverage for test-e2e-hybrid-coverage - uses: actions/upload-artifact@v4 - with: - name: test-e2e-hybrid-coverage - path: test-e2e-hybrid-coverage.tar.gz - retention-days: 30 - - name: Codecov - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: '*.cov.out*' - disable_search: true - flags: kind-e2e-tests - name: codecov-test-e2e-hybrid - directory: test-e2e-hybrid-coverage - fail_ci_if_error: ${{ github.event_name == 'push' }} - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: e2e-kind-hybrid.tar.gz - path: log.tar.gz - retention-days: 30 - - test-e2e-flow-visibility: - name: E2e tests on a Kind cluster on Linux for Flow Visibility - needs: [build-antrea-coverage-image, build-flow-aggregator-coverage-image] - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - sudo rm -rf /usr/share/dotnet - sudo rm -rf /opt/ghc - sudo rm -rf "/usr/local/share/boost" - sudo rm -rf "$AGENT_TOOLSDIRECTORY" - sudo rm -rf "/usr/local/lib/android" - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - - name: Download Flow Aggregator image from previous job - uses: actions/download-artifact@v4 - with: - name: flow-aggregator-cov - - name: Load Flow Aggregator image - run: | - docker load -i flow-aggregator.tar - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run e2e tests - run: | - mkdir log - mkdir test-e2e-fa-coverage - ANTREA_LOG_DIR=$PWD/log ANTREA_COV_DIR=$PWD/test-e2e-fa-coverage ./ci/kind/test-e2e-kind.sh --encap-mode encap --coverage --flow-visibility --ip-family dual - - name: Tar coverage files - run: tar -czf test-e2e-fa-coverage.tar.gz test-e2e-fa-coverage - - name: Upload coverage for test-e2e-fa-coverage - uses: actions/upload-artifact@v4 - with: - name: test-e2e-fa-coverage - path: test-e2e-fa-coverage.tar.gz - retention-days: 30 - - name: Codecov - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: '*.cov.out*' - disable_search: true - flags: kind-e2e-tests - name: codecov-test-e2e-fa - directory: test-e2e-fa-coverage - fail_ci_if_error: ${{ github.event_name == 'push' }} - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: e2e-kind-fa.tar.gz - path: log.tar.gz - retention-days: 30 - - test-network-policy-conformance-encap: - name: NetworkPolicy conformance tests on a Kind cluster on Linux - needs: [build-antrea-coverage-image] - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - docker tag antrea/antrea-agent-ubuntu-coverage:latest antrea/antrea-agent-ubuntu:latest - docker tag antrea/antrea-controller-ubuntu-coverage:latest antrea/antrea-controller-ubuntu:latest - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run NetworkPolicy conformance tests - run: | - mkdir log - ANTREA_LOG_DIR=$PWD/log ./ci/kind/test-netpol-v2-conformance-kind.sh - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: networkpolicy-conformance-kind-encap.tar.gz - path: log.tar.gz - retention-days: 30 - - test-secondary-network: - name: Antrea-native (VLAN) secondary network tests on a Kind cluster on Linux - needs: [build-antrea-coverage-image] - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - docker tag antrea/antrea-agent-ubuntu-coverage:latest antrea/antrea-agent-ubuntu:latest - docker tag antrea/antrea-controller-ubuntu-coverage:latest antrea/antrea-controller-ubuntu:latest - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run secondary network tests - run: | - mkdir log - ANTREA_LOG_DIR=$PWD/log ./ci/kind/test-secondary-network-kind.sh - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: secondary-network.tar.gz - path: log.tar.gz - retention-days: 30 - - test-upgrade-from-N-1: - name: Upgrade from Antrea version N-1 - needs: build-antrea-coverage-image - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - docker tag antrea/antrea-agent-ubuntu-coverage:latest antrea/antrea-agent-ubuntu:latest - docker tag antrea/antrea-controller-ubuntu-coverage:latest antrea/antrea-controller-ubuntu:latest - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run test - run: | - mkdir log - ANTREA_LOG_DIR=$PWD/log ./ci/kind/test-upgrade-antrea.sh --from-version-n-minus 1 - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: upgrade-from-antrea-version-n-1.tar.gz - path: log.tar.gz - retention-days: 30 - - test-upgrade-from-N-2: - name: Upgrade from Antrea version N-2 - needs: build-antrea-coverage-image - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - docker tag antrea/antrea-agent-ubuntu-coverage:latest antrea/antrea-agent-ubuntu:latest - docker tag antrea/antrea-controller-ubuntu-coverage:latest antrea/antrea-controller-ubuntu:latest - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run test - run: | - mkdir log - ANTREA_LOG_DIR=$PWD/log ./ci/kind/test-upgrade-antrea.sh --from-version-n-minus 2 - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: upgrade-from-antrea-version-n-2.tar.gz - path: log.tar.gz - retention-days: 30 - - test-compatible-N-1: - name: API compatible with client version N-1 - needs: build-antrea-coverage-image - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - docker tag antrea/antrea-agent-ubuntu-coverage:latest antrea/antrea-agent-ubuntu:latest - docker tag antrea/antrea-controller-ubuntu-coverage:latest antrea/antrea-controller-ubuntu:latest - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run test - run: | - mkdir log - ANTREA_LOG_DIR=$PWD/log ./ci/kind/test-upgrade-antrea.sh --from-version-n-minus 1 --controller-only - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: api-compatible-with-client-version-n-1.tar.gz - path: log.tar.gz - retention-days: 30 - - test-compatible-N-2: - name: API compatible with client version N-2 - needs: build-antrea-coverage-image - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - docker tag antrea/antrea-agent-ubuntu-coverage:latest antrea/antrea-agent-ubuntu:latest - docker tag antrea/antrea-controller-ubuntu-coverage:latest antrea/antrea-controller-ubuntu:latest - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run test - run: | - mkdir log - ANTREA_LOG_DIR=$PWD/log ./ci/kind/test-upgrade-antrea.sh --from-version-n-minus 2 --controller-only - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: api-compatible-with-client-version-n-2.tar.gz - path: log.tar.gz - retention-days: 30 - - run-installation-checks: - name: Test installation using 'antctl check' command - needs: [ build-antrea-coverage-image ] - runs-on: [ ubuntu-latest ] - steps: - - name: Free disk space - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Create Kind Cluster - run: | - ./ci/kind/kind-setup.sh create kind --ip-family dual - - name: Build antctl binary - run: | - make antctl-linux - - name: Run Pre checks - run: | - ./bin/antctl-linux check cluster - - name: Deploy Antrea - run: | - kubectl apply -f build/yamls/antrea.yml - - name: Run Post checks - run: | - ./bin/antctl-linux check installation - - validate-prometheus-metrics-doc: - name: Validate metrics in Prometheus document match running deployment's - needs: build-antrea-coverage-image - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - name: Download Antrea image from previous job - uses: actions/download-artifact@v4 - with: - name: antrea-ubuntu-cov - - name: Load Antrea image - run: | - docker load -i antrea-ubuntu.tar - docker tag antrea/antrea-agent-ubuntu-coverage:latest antrea/antrea-agent-ubuntu:latest - docker tag antrea/antrea-controller-ubuntu-coverage:latest antrea/antrea-controller-ubuntu:latest - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Validate document - run: | - ./ci/kind/validate-metrics-doc.sh - - # Runs after all other jobs in the workflow succeed and deletes Antrea Docker images uploaded as temporary - # artifacts. There is no simple way to delete an artifact from a worfklow triggered by a pull - # request, so instead we use the upload-artifact action again, and overwrite the previous artifact - # (which is very large) with an empty file. - artifact-cleanup: - name: Delete uploaded images - needs: - - build-antrea-coverage-image - - build-flow-aggregator-coverage-image - - test-e2e-encap - - test-e2e-encap-non-default - - test-e2e-encap-all-features-enabled - - test-e2e-noencap - - test-e2e-hybrid - - test-upgrade-from-N-1 - - test-upgrade-from-N-2 - - test-compatible-N-1 - - test-compatible-N-2 - - validate-prometheus-metrics-doc - - test-e2e-flow-visibility - - test-network-policy-conformance-encap - - run-installation-checks - runs-on: [ubuntu-latest] - steps: - - name: Create empty file to overwrite artifacts - run: | - touch empty-artifact - - name: Delete antrea-ubuntu-cov - if: ${{ needs.build-antrea-coverage-image.result == 'success' }} - uses: actions/upload-artifact@v4 - with: - name: antrea-ubuntu-cov - path: empty-artifact - retention-days: 1 # minimum value - overwrite: true - - name: Delete flow-aggregator - if: ${{ needs.build-flow-aggregator-coverage-image.result == 'success' }} - uses: actions/upload-artifact@v4 - with: - name: flow-aggregator-cov - path: empty-artifact - retention-days: 1 # minimum value - overwrite: true diff --git a/.github/workflows/kind_ubi.yml b/.github/workflows/kind_ubi.yml deleted file mode 100644 index 3e4ee753a3d..00000000000 --- a/.github/workflows/kind_ubi.yml +++ /dev/null @@ -1,78 +0,0 @@ -name: Kind for UBI -on: - pull_request: - branches: - - main - - release-* - - feature/* - push: - branches: - - main - - release-* - - feature/* - -jobs: - check-changes: - name: Check whether tests need to be run based on diff - runs-on: [ubuntu-latest] - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - show-progress: false - - uses: antrea-io/has-changes@v2 - id: check_diff - with: - paths-ignore: docs/* ci/jenkins/* *.md hack/.notableofcontents plugins/* - outputs: - has_changes: ${{ steps.check_diff.outputs.has_changes }} - - build-and-test-ubi: - needs: check-changes - if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name == 'push' }} - runs-on: [ubuntu-latest] - steps: - - name: Free disk space - # https://github.com/actions/virtual-environments/issues/709 - run: | - sudo apt-get clean - df -h - - uses: actions/checkout@v4 - with: - show-progress: false - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - with: - driver: docker - - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - - name: Build Antrea UBI9 Docker image - run: | - ./hack/build-antrea-linux-all.sh --pull --distro ubi - - name: Clean up docker build cache - run: | - docker builder prune -f - - name: Install Kind - run: | - KIND_VERSION=$(head -n1 ./ci/kind/version) - curl -Lo ./kind https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-$(uname)-amd64 - chmod +x ./kind - sudo mv kind /usr/local/bin - - name: Run basic e2e tests - run: | - mkdir log - ANTREA_LOG_DIR=$PWD/log ./ci/kind/test-e2e-kind.sh --encap-mode encap \ - --antrea-controller-image antrea/antrea-controller-ubi \ - --antrea-agent-image antrea/antrea-agent-ubi \ - --run '^TestBasic$' - - name: Tar log files - if: ${{ failure() }} - run: tar -czf log.tar.gz log - - name: Upload test log - uses: actions/upload-artifact@v4 - if: ${{ failure() }} - with: - name: e2e-kind-ubi-basic.tar.gz - path: log.tar.gz - retention-days: 30 From e3463ffb898c8aa7c65f78e657e14ddbf52fa31a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 09:22:18 +0000 Subject: [PATCH 2/2] Bump github.com/Microsoft/hcsshim from 0.11.4 to 0.12.8 Bumps [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim) from 0.11.4 to 0.12.8. - [Release notes](https://github.com/Microsoft/hcsshim/releases) - [Commits](https://github.com/Microsoft/hcsshim/compare/v0.11.4...v0.12.8) --- updated-dependencies: - dependency-name: github.com/Microsoft/hcsshim dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 13 +++++++------ go.sum | 31 +++++++++++++++++-------------- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/go.mod b/go.mod index 6829bf6a7f1..1d9652b625d 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/DATA-DOG/go-sqlmock v1.5.2 github.com/Mellanox/sriovnet v1.1.0 github.com/Microsoft/go-winio v0.6.2 - github.com/Microsoft/hcsshim v0.11.4 + github.com/Microsoft/hcsshim v0.12.8 github.com/TomCodeLV/OVSDB-golang-lib v0.0.0-20200116135253-9bbdfadcd881 github.com/aws/aws-sdk-go-v2 v1.16.10 github.com/aws/aws-sdk-go-v2/config v1.16.0 @@ -18,7 +18,7 @@ require ( github.com/blang/semver v3.5.1+incompatible github.com/cheggaaa/pb/v3 v3.1.5 github.com/containernetworking/cni v1.2.0 - github.com/containernetworking/plugins v1.1.1 + github.com/containernetworking/plugins v1.2.0 github.com/coreos/go-iptables v0.8.0 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc github.com/fatih/color v1.18.0 @@ -86,7 +86,7 @@ require ( ) require ( - github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect + github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect github.com/ClickHouse/ch-go v0.51.2 // indirect github.com/MakeNowJust/heredoc v1.0.0 // indirect github.com/Masterminds/semver/v3 v3.2.1 // indirect @@ -119,8 +119,9 @@ require ( github.com/cenkalti/rpc2 v0.0.0-20180727162946-9642ea02d0aa // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/chai2010/gettext-go v1.0.2 // indirect - github.com/containerd/cgroups v1.1.0 // indirect - github.com/containerd/containerd v1.6.26 // indirect + github.com/containerd/cgroups/v3 v3.0.3 // indirect + github.com/containerd/containerd v1.7.23 // indirect + github.com/containerd/errdefs v0.3.0 // indirect github.com/contiv/libovsdb v0.0.0-20170227191248-d0061a53e358 // indirect github.com/coreos/go-semver v0.3.1 // indirect github.com/coreos/go-systemd/v22 v22.5.0 // indirect @@ -201,7 +202,7 @@ require ( github.com/prometheus/procfs v0.15.1 // indirect github.com/rivo/uniseg v0.2.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect - github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1 // indirect + github.com/safchain/ethtool v0.2.0 // indirect github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect github.com/segmentio/asm v1.2.0 // indirect github.com/shopspring/decimal v1.3.1 // indirect diff --git a/go.sum b/go.sum index 0e4903de0ea..0d85bd13ba7 100644 --- a/go.sum +++ b/go.sum @@ -6,8 +6,8 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= -github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= +github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0= +github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= @@ -31,8 +31,8 @@ github.com/Mellanox/sriovnet v1.1.0 h1:j3KnktNJMHWPTqWXlf27OzQG0ahRO+88NauMjlazy github.com/Mellanox/sriovnet v1.1.0/go.mod h1:P2Epf+52ZaPknkR60EUOvLABXZh3FBymcHPsUfikRVE= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= -github.com/Microsoft/hcsshim v0.11.4 h1:68vKo2VN8DE9AdN4tnkWnmdhqdbpUFM8OF3Airm7fz8= -github.com/Microsoft/hcsshim v0.11.4/go.mod h1:smjE4dvqPX9Zldna+t5FG3rnoHhaB7QYxPRqGcpAD9w= +github.com/Microsoft/hcsshim v0.12.8 h1:BtDWYlFMcWhorrvSSo2M7z0csPdw6t7no/C3FsSvqiI= +github.com/Microsoft/hcsshim v0.12.8/go.mod h1:cibQ4BqhJ32FXDwPdQhKhwrwophnh3FuT4nwQZF907w= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= @@ -139,14 +139,16 @@ github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= -github.com/containerd/cgroups v1.1.0 h1:v8rEWFl6EoqHB+swVNjVoCJE8o3jX7e8nqBGPLaDFBM= -github.com/containerd/cgroups v1.1.0/go.mod h1:6ppBcbh/NOOUU+dMKrykgaBnK9lCIBxHqJDGwsa1mIw= -github.com/containerd/containerd v1.6.26 h1:VVfrE6ZpyisvB1fzoY8Vkiq4sy+i5oF4uk7zu03RaHs= -github.com/containerd/containerd v1.6.26/go.mod h1:I4TRdsdoo5MlKob5khDJS2EPT1l1oMNaE2MBm6FrwxM= +github.com/containerd/cgroups/v3 v3.0.3 h1:S5ByHZ/h9PMe5IOQoN7E+nMc2UcLEM/V48DGDJ9kip0= +github.com/containerd/cgroups/v3 v3.0.3/go.mod h1:8HBe7V3aWGLFPd/k03swSIsGjZhHI2WzJmticMgVuz0= +github.com/containerd/containerd v1.7.23 h1:H2CClyUkmpKAGlhQp95g2WXHfLYc7whAuvZGBNYOOwQ= +github.com/containerd/containerd v1.7.23/go.mod h1:7QUzfURqZWCZV7RLNEn1XjUCQLEf0bkaK4GjUaZehxw= +github.com/containerd/errdefs v0.3.0 h1:FSZgGOeK4yuT/+DnF07/Olde/q4KBoMsaamhXxIMDp4= +github.com/containerd/errdefs v0.3.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M= github.com/containernetworking/cni v1.2.0 h1:fEjhlfWwWAXEvlcMQu/i6z8DA0Kbu7EcmR5+zb6cm5I= github.com/containernetworking/cni v1.2.0/go.mod h1:/r+vA/7vrynNfbvSP9g8tIKEoy6win7sALJAw4ZiJks= -github.com/containernetworking/plugins v1.1.1 h1:+AGfFigZ5TiQH00vhR8qPeSatj53eNGz0C1d3wVYlHE= -github.com/containernetworking/plugins v1.1.1/go.mod h1:Sr5TH/eBsGLXK/h71HeLfX19sZPp3ry5uHSkI4LPxV8= +github.com/containernetworking/plugins v1.2.0 h1:SWgg3dQG1yzUo4d9iD8cwSVh1VqI+bP7mkPDoSfP9VU= +github.com/containernetworking/plugins v1.2.0/go.mod h1:/VjX4uHecW5vVimFa1wkG4s+r/s9qIfPdqlLF4TW8c4= github.com/contiv/libovsdb v0.0.0-20170227191248-d0061a53e358 h1:AiA9SKyNXulsU7aAnyka3UFHYOIH00A9HvdIRnDXlg0= github.com/contiv/libovsdb v0.0.0-20170227191248-d0061a53e358/go.mod h1:+qKEHaNVPj+wrn5st7TEFH9wcUWCJq5ZBvVKPQwzAeg= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= @@ -671,8 +673,8 @@ github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1 h1:ZFfeKAhIQiiOrQaI3/znw0gOmYpO28Tcu1YaqMa/jtQ= -github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4= +github.com/safchain/ethtool v0.2.0 h1:dILxMBqDnQfX192cCAPjZr9v2IgVXeElHPy435Z/IdE= +github.com/safchain/ethtool v0.2.0/go.mod h1:WkKB1DnNtvsMlDmQ50sgwowDJV/hGbJSOvJoEXs1AJQ= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= github.com/segmentio/asm v1.2.0 h1:9BQrFxC+YOHJlTlHGkTrFWf59nbL3XnCoFLTwDCI7ys= @@ -776,8 +778,8 @@ gitlab.com/golang-commonmark/puny v0.0.0-20191124015043-9f83538fa04f h1:Wku8eEde gitlab.com/golang-commonmark/puny v0.0.0-20191124015043-9f83538fa04f/go.mod h1:Tiuhl+njh/JIg0uS/sOJVYi0x2HEa5rc1OAaVsb5tAs= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.etcd.io/bbolt v1.3.9 h1:8x7aARPEXiXbHmtUwAIv7eV2fQFHrLLavdiJ3uzJXoI= -go.etcd.io/bbolt v1.3.9/go.mod h1:zaO32+Ti0PK1ivdPtgMESzuzL2VPoIG1PCQNvOdo/dE= +go.etcd.io/bbolt v1.3.10 h1:+BqfJTcCzTItrop8mq/lbzL8wSGtj94UO/3U31shqG0= +go.etcd.io/bbolt v1.3.10/go.mod h1:bK3UQLPJZly7IlNmV7uVHJDxfe5aK9Ll93e/74Y9oEQ= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738 h1:VcrIfasaLFkyjk6KNlXQSzO+B0fZcnECiDrKJsfxka0= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= go.etcd.io/etcd/api/v3 v3.5.14 h1:vHObSCxyB9zlF60w7qzAdTcGaglbJOpSj1Xj9+WGxq0= @@ -969,6 +971,7 @@ golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210503173754-0981d6026fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=