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

Stabilize CI-build-and-test jobs on Ubuntu Linux 22.04 #243

Merged

Conversation

gapisback
Copy link
Collaborator

@gapisback gapisback commented Apr 25, 2024

This commit attempts to keep the CI tests runing cleanly.

Some tests are failing due to different issues reported under issue #242 and #244.

Those will need some minor corrections in build-steps.

For now, 5 test-cases from test.sh are commented out with a Warning message.

  • Skip few simulated-SEV related build-and-test cases.
  • Skip ISLET-related build-and-test tests due to rustc version incompatibility.

Those will need to be re-enabled when above two issues are resolved, if possible.

(If further investigation shows that we cannot support Ubunutu 22.04, then some changes will need to be made in CI's build.yml to drop-down to an older Ubuntu rev-level.)

This commit attempts to keep the CI tests runing cleanly. Some tests
are failing due to different issues reported under issue #242
and #244. Those will need some minor corrections in build-steps.
For now, 5 test-cases from test.sh are commented out with a
Warning message.

- Skip few simulated-SEV related build-and-test cases.
- Skip ISLET-related build-and-test tests due to rustc version
  incompatibility.

Those will need to be re-enabled when above two issues are resolved,
if possible.

(If further investigation shows that we cannot support Ubunutu 22.04,
then some changes will need to be made in CI's build.yml to drop-down
to an older Ubuntu rev-level.)
@gapisback gapisback force-pushed the gapisback/Fix-make-test-build-and-install-sev-snp-simulator branch from 20fef6e to 114d4e8 Compare April 25, 2024 03:02
@gapisback gapisback changed the title CI: Downgrade runs-on to ubuntu-20.04 Stabilize CI-build-and-test jobs on Ubuntu Linux 22.04 Apr 25, 2024
@@ -28,6 +28,10 @@ jobs:
# Need to resolve references to imports from 'google.protobuf'
sudo apt install -y python3-protobuf

#! -------------------------------------------------------------------------
- name: report-osinfo
run: ./CI/scripts/osinfo.sh
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Somewhat unrelated addition of a shell script to report OS version-level on CI-VM being used.

@@ -681,7 +681,9 @@ function rm_non_git_files() {
fi

local tmp_islet_dir="/tmp/islet-save"
mkdir "${tmp_islet_dir}"
if [ ! -d "${tmp_islet_dir}" ]; then
mkdir "${tmp_islet_dir}"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Minor unrelated fix. Re-runs of this script will fail if this dir exists.

@@ -48,7 +48,7 @@ clean:
rm -f modules.order Module.symvers Module.markers *.o *.cmd sevnull.ko
rm -rf keys

.PHNOY:
.PHONY:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fix typo.

Copy link
Contributor

@yelvmw yelvmw left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@gapisback gapisback merged commit 2eae3a6 into main May 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants