8000 tests/platforms: add test for Azure NVMe udev rules by marmijo · Pull Request #3519 · coreos/fedora-coreos-config · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tests/platforms: add test for Azure NVMe udev rules #3519

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

Open
wants to merge 1 commit into
base: testing-devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/kola/platforms/azure/nvme/data/commonlib.sh
28 changes: 28 additions & 0 deletions tests/kola/platforms/azure/nvme/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash
## kola:
## # This test requires chaning instance type and must
## # be run exclusively.
## exclusive: true
## # This test is targeted at Azure
## platforms: azure
## additionalDisks: ["30G:sku=UltraSSD_LRS"]
## # This test requires an instance type that supports NVMe
## instanceType: "Standard_M16bds_v3"
## description: Verify that udev rules for Azure Managed NVMe disks
## correctly create stable symlinks under /dev/disk/azure.

set -xeuo pipefail

. "$KOLA_EXT_DATA/commonlib.sh"

# check symlinks for the os disk
azure_os_symlink="/dev/disk/azure/os"
if [ ! -e "$azure_os_symlink" ]; then
fatal "symlink $azure_os_symlink does not exist"
fi

# check symlinks for the data disk
azure_data_symlink="/dev/disk/azure/data/by-lun/0"
if [ ! -e "$azure_data_symlink" ]; then
fatal "symlink $azure_data_symlink does not exist"
fi
0