Repository: kubernetes-sigs/security-profiles-operator
Pull request #1102 (2022-08-20 16:23:05)

build: Fix flaky command for flat car
#### What type of PR is this?

/kind cleanup
/kind failing-test

#### What this PR does / why we need it:

Fixes bug introduced by commit a4c4a1b105648a6f48bc00da75f20f2da5ea7cbc.

#### Which issue(s) this PR fixes:

None

#### Does this PR have test?

N/A

#### Special notes for your reviewer:

The "flaky" run for flat-car should not be ubuntu, this was an oversight at the initial commit.

#### Does this PR introduce a user-facing change?

```release-note
NONE
```


k8s-ci-robot: [APPROVALNOTIFIER] This PR is **APPROVED**

This pull-request has been approved by: *<a href="https://github.com/kubernetes-sigs/security-profiles-operator/pull/1102#" title="Author self-approved">pjbgf</a>*

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes-sigs%2Fsecurity-profiles-operator).

The pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)

<details >
Needs approval from an approver in each of these files:

- ~~[OWNERS](https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/OWNERS)~~ [pjbgf]

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":[]} -->
codecov-commenter: # [Codecov](https://codecov.io/gh/kubernetes-sigs/security-profiles-operator/pull/1102?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) Report
> Merging [#1102](https://codecov.io/gh/kubernetes-sigs/security-profiles-operator/pull/1102?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) (6e25ea1) into [main](https://codecov.io/gh/kubernetes-sigs/security-profiles-operator/commit/01ac71367f103da6622a6f115021c365c71035e8?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) (01ac713) will **not change** coverage.
> The diff coverage is `n/a`.

```diff
@@           Coverage Diff           @@
##             main    #1102   +/-   ##
=======================================
  Coverage   50.65%   50.65%           
=======================================
  Files          42       42           
  Lines        4740     4740           
=======================================
  Hits         2401     2401           
  Misses       2262     2262           
  Partials       77       77           
```

k8s-ci-robot: @pjbgf: The following test **failed**, say `/retest` to rerun all failed tests or `/retest-required` to rerun all mandatory failed tests:

Test name | Commit | Details | Required | Rerun command
--- | --- | --- | --- | ---
pull-security-profiles-operator-test-e2e | 6e25ea139ef1caacf4eb5c183ffda8ec5a24d27d | [link](https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_security-profiles-operator/1102/pull-security-profiles-operator-test-e2e/1561026046617194496) | true | `/test pull-security-profiles-operator-test-e2e`

[Full PR test history](https://prow.k8s.io/pr-history?org=kubernetes-sigs&repo=security-profiles-operator&pr=1102). [Your PR dashboard](https://prow.k8s.io/pr?query=is%3Apr%20state%3Aopen%20author%3Apjbgf). Please help us cut down on flakes by [linking to](https://git.k8s.io/community/contributors/devel/sig-testing/flaky-tests.md#filing-issues-for-flaky-tests) an [open issue](https://github.com/kubernetes-sigs/security-profiles-operator/issues?q=is:issue+is:open) when you hit one in your PR.

<details>

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).
</details>
<!-- test report -->

Patch:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 88720ba3b..5b14ffe7f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -64,7 +64,7 @@ jobs:
       - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
       - name: Set up Docker Buildx
         id: buildx
-        uses: docker/setup-buildx-action@312f67c6629946ba17269558b63d0bd84a63caab
+        uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6
       - name: Login to Quay
         uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b
         with:
@@ -82,7 +82,7 @@ jobs:
             type=ref,event=branch
             type=sha,format=long
       - name: Build (and push if needed)
-        uses: docker/build-push-action@965c6a410d446a30e95d35052c67d6eded60dad6
+        uses: docker/build-push-action@c84f38281176d4c9cdb1626ffafcd6b3911b5d94
         with:
           context: .
           file: Dockerfile.build-image
@@ -108,7 +108,7 @@ jobs:
       - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
       - name: Set up Docker Buildx
         id: buildx
-        uses: docker/setup-buildx-action@312f67c6629946ba17269558b63d0bd84a63caab
+        uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6
       - name: Login to Quay
         uses: docker/login-action@49ed152c8eca782a232dede0303416e8f356c37b
         with:


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index bb7e36723..0b2e996b0 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -177,6 +177,6 @@ jobs:
         run: $RUN hack/ci/e2e-flatcar-dev-container.sh
       - name: Run Flaky E2E tests
         continue-on-error: true
-        run: $RUN hack/ci/e2e-ubuntu.sh
+        run: $RUN hack/ci/e2e-flatcar-dev-container.sh
         env:
           E2E_TEST_FLAKY_TESTS_ONLY: true