Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] E2E Test Failed on arm #1616

Closed
Colvin-Y opened this issue May 11, 2024 · 2 comments
Closed

[BUG] E2E Test Failed on arm #1616

Colvin-Y opened this issue May 11, 2024 · 2 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@Colvin-Y
Copy link
Contributor

Colvin-Y commented May 11, 2024

What happened:
I've run test/e2e cases on my mac locally, and I found case in PodProbeMarker failed because it's asts use image centos:6.7 which is not a multi-arch image and can only run on amd.
Related code is here: https://github.com/openkruise/kruise/blob/master/test/e2e/framework/pod_probe_marker_util.go#L213

What you expected to happen:
I hope that we can do test in local env but not rely on github actions

How to reproduce it (as minimally and precisely as possible):
Use a arm based machine and do test ./bin/ginkgo -timeout 90m -v --focus='\[apps\] PodProbeMarker' test/e2e

Anything else we need to know?:

Environment:

  • Kruise version: latet
  • Kubernetes version (use kubectl version):
  • Install details (e.g. helm install args):
  • Others:
    I found that image centos:7 is a multi-arch version
[kind-kind|default] ➜  ~ docker manifest inspect centos:7
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 529,
         "digest": "sha256:dead07b4d8ed7e29e98de0f4504d87e8880d4347859d839686a31da35a3b532f",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 529,
         "digest": "sha256:6887440ab977f751d6675157b73e42428d8ac05cf244c5d09ba036cc22d40d13",
         "platform": {
            "architecture": "arm",
            "os": "linux",
            "variant": "v7"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 530,
         "digest": "sha256:73f11afcbb50d8bc70eab9f0850b3fa30e61a419bc48cf426e63527d14a8373b",
         "platform": {
            "architecture": "arm64",
            "os": "linux",
            "variant": "v8"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 529,
         "digest": "sha256:8faead07bd1d5fdd17414a1759eae004da5daa9575a846f4730f44dec0f47843",
         "platform": {
            "architecture": "386",
            "os": "linux"
         }
      },
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 529,
         "digest": "sha256:b98bfc4a7094a98ed52d49f9558bb15a4cee9854f182d30085d459d4a55d2e03",
         "platform": {
            "architecture": "ppc64le",
            "os": "linux"
         }
      }
   ]
}
[kind-kind|default] ➜  ~ docker manifest inspect centos:6.7
{
   "schemaVersion": 2,
   "mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
   "manifests": [
      {
         "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
         "size": 529,
         "digest": "sha256:1e0b26e12f3665414214f67ba01cfc08519f28e9055b07e0fb3caf101f59fcb3",
         "platform": {
            "architecture": "amd64",
            "os": "linux"
         }
      }
   ]
}
@Colvin-Y Colvin-Y added the kind/bug Something isn't working label May 11, 2024
@Colvin-Y
Copy link
Contributor Author

If it's a probelm, can I solve it?

@ABNER-1
Copy link
Member

ABNER-1 commented May 14, 2024

I think this is a good first issue. Feel free to contribute to it in any way. @Colvin-Y /good-first-issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants