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: check that we should not find /dev/disk/by-id/google* device links on non GCP #2468

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

HuijingHei
Copy link
Member

@HuijingHei HuijingHei commented Jun 16, 2023

@HuijingHei HuijingHei force-pushed the check-google-dev-links branch from 1cb7e32 to 0aa3db9 Compare June 16, 2023 07:50
@HuijingHei HuijingHei marked this pull request as ready for review June 16, 2023 07:51
Copy link
Member

@travier travier left a comment

Choose a reason for hiding this comment

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

Some suggestions / nits.

tests/kola/var-mount/scsi-id/test.sh Outdated Show resolved Hide resolved
tests/kola/var-mount/scsi-id/test.sh Outdated Show resolved Hide resolved
@dustymabe
Copy link
Member

I feel like maybe we should create a new test for this since it feels weird to just add it into another (seemingly unrelated) test.

IIUC this doesn't require a specific disk setup so we could make it a non-exclusive test (that way we won't end up spawning an extra VM but just re-use the non-exclusive-tests VM.

@HuijingHei HuijingHei force-pushed the check-google-dev-links branch 2 times, most recently from 83b68ad to 8c0e37a Compare June 27, 2023 02:47
@HuijingHei
Copy link
Member Author

I feel like maybe we should create a new test for this since it feels weird to just add it into another (seemingly unrelated) test.

IIUC this doesn't require a specific disk setup so we could make it a non-exclusive test (that way we won't end up spawning an extra VM but just re-use the non-exclusive-tests VM.

SGTM. Thanks @dustymabe and @travier for the reivew.

@dustymabe
Copy link
Member

maybe name the test tests/kola/disks/no-google-device-links

@HuijingHei HuijingHei force-pushed the check-google-dev-links branch from 8c0e37a to 66bc87b Compare June 27, 2023 03:21
@HuijingHei HuijingHei force-pushed the check-google-dev-links branch from 66bc87b to 20de5af Compare June 27, 2023 10:39
Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

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

LGTM

@dustymabe dustymabe merged commit d6cafce into coreos:testing-devel Jun 27, 2023
@HuijingHei HuijingHei deleted the check-google-dev-links branch July 4, 2023 01:35
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