[go: nahoru, domu]

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

tests: static checker: Add announce message #9259

Merged

Conversation

jodh-intel
Copy link
Contributor

Added an announcement message to the static-checks.sh script. It runs
platform / architecture specific code so it would be useful to display
details of the platform the checker is running on to help with
debugging.

Fixes: #9258.

Signed-off-by: James O. D. Hunt james.o.hunt@intel.com

@katacontainersbot katacontainersbot added the size/medium Average sized task label Mar 11, 2024
Copy link
Contributor
@cmaf cmaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jodh-intel, LGTM. Not crucial but maybe we want an option to suppress the output too?

@cmaf
Copy link
Contributor
cmaf commented Mar 14, 2024

/test

@jodh-intel
Copy link
Contributor Author

/retest-arm

@jodh-intel
Copy link
Contributor Author

@jongwu - Is there a known issue with the ARM CI's currently? I see lots of odd error messages, such as:

fatal: destination path '/home/jenkins/workspace/kata-containers-2.0-ubuntu20.04-ARM-main/go/src/github.com/kata-containers/kata-containers' already exists and is not an empty directory.

09:01:15 timeout: failed to run command ‘docker’: No such file or directory
09:01:15 INFO: kill stale process
09:01:15 sudo: ctr: command not found
09:01:15 /home/jenkins/workspace/kata-containers-2.0-ubuntu20.04-ARM-unit/go/src/github.com/kata-containers/tests/lib/common.bash: line 136: kata-runtime: command not found
09:01:15 readlink: missing operand
09:01:15 Try 'readlink --help' for more information.

@jodh-intel jodh-intel force-pushed the tests-add-static-checks-announce branch from f95f4a3 to ff1604d Compare March 19, 2024 08:01
@jodh-intel
Copy link
Contributor Author

/test

@jodh-intel
Copy link
Contributor Author

@jongwu - wading through the ARM CI logs, I think the problem is that the VM's are not being set up cleanly:

fatal: destination path '/home/jenkins/workspace/kata-containers-2.0-ubuntu20.04-ARM-unit/go/src/github.com/kata-containers/kata-containers' already exists and is not an empty directory.

That directory exists, but may be empty since after lots of other errors, we get this fatal error:

cannot find package "github.com/kata-containers/kata-containers/src/runtime/cmd/containerd-shim-kata-v2

@jodh-intel
Copy link
Contributor Author

/retest-arm

Move some of the common code into a setup function.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
@jodh-intel jodh-intel force-pushed the tests-add-static-checks-announce branch from ff1604d to 017f6a6 Compare March 20, 2024 11:58
@jodh-intel
Copy link
Contributor Author

/test

Added an announcement message to the `static-checks.sh` script. It runs
platform / architecture specific code so it would be useful to display
details of the platform the checker is running on to help with
debugging.

Fixes: kata-containers#9258.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
@jodh-intel jodh-intel force-pushed the tests-add-static-checks-announce branch from 017f6a6 to 577abd0 Compare March 20, 2024 13:45
@jodh-intel
Copy link
Contributor Author

/test

@jodh-intel jodh-intel merged commit 1e684f5 into kata-containers:main Mar 21, 2024
294 of 300 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test size/medium Average sized task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests: static checker: Add announce message
5 participants