Compare commits
No commits in common. "c8s" and "c8" have entirely different histories.
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,4 +1 @@
|
||||
SOURCES/mstflint-4.23.0-1.tar.gz
|
||||
/mstflint-4.23.0-1.tar.gz
|
||||
/mstflint-4.24.0-1.tar.gz
|
||||
/mstflint-4.25.0-1.tar.gz
|
||||
SOURCES/mstflint-4.25.0-1.tar.gz
|
||||
|
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
1
sources
1
sources
@ -1 +0,0 @@
|
||||
SHA512 (mstflint-4.25.0-1.tar.gz) = 1665e7f8645adffa30376d8a312685fa2316947ede3d0a9fcc0a29d8c32a2a7218bf23a22d8566eab3c7096afe9a1cc7298c82f6182076f723ae45d4c6e8ffe4
|
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# when running this in 1minutetip the PATH must be specified to execute
|
||||
# in the local directory.
|
||||
echo "Setting path to local directory"
|
||||
PATH=$PATH:$(pwd)
|
||||
|
||||
# simple sanity test
|
||||
sanity.sh
|
||||
exit $?
|
@ -1,47 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
|
||||
# requirement.
|
||||
|
||||
ret=0
|
||||
cx2="ConnectX VPI PCIe 2.0"
|
||||
cx3="[ConnectX-3]"
|
||||
device_list=$(lspci | grep 'Mellanox' | grep -v 'Virtual' | grep -v 'DMA controller' | awk '{print $1}')
|
||||
|
||||
# Skip loop if device list is empty
|
||||
[[ -z "${dev// }" ]] || for dev in "$device_list"; do
|
||||
# View Device Info
|
||||
|
||||
lspci -vvv -s "$dev"
|
||||
dev_name=$(lspci -s "$dev")
|
||||
|
||||
# Test Mstflint Tools
|
||||
|
||||
mstflint -d "$dev" q
|
||||
let ret=$ret+$?
|
||||
|
||||
# mstconfig does not support < 4th Gen devices (e.g. ConnectX-2)
|
||||
if [[ "$dev_name" != *"$cx2"* ]]; then
|
||||
mstconfig -d "${dev}" q
|
||||
let ret=$ret+$?
|
||||
fi
|
||||
|
||||
mstvpd "$dev" 2>/dev/null
|
||||
let ret=$ret+$?
|
||||
|
||||
mstregdump "$dev" >/dev/null
|
||||
let ret=$ret+$?
|
||||
|
||||
# mstfwmanager/mstfwreset do not support ConnectX-2 or ConnectX-3
|
||||
if [[ "$dev_name" != *"$cx2"* && "$dev_name" != *"$cx3"* ]]; then
|
||||
mstfwmanager -d "$dev" --query
|
||||
let ret=$ret+$?
|
||||
|
||||
mstfwreset -d "$dev" q
|
||||
let ret=$ret+$?
|
||||
fi
|
||||
done
|
||||
|
||||
# end test - it is possible no Mellanox devices were available at all to test,
|
||||
# in which case we automatically mark the test PASS (exit 0)
|
||||
exit $ret
|
@ -1,12 +0,0 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- simple:
|
||||
dir: .
|
||||
run: ./run_tests.sh
|
||||
required_packages:
|
||||
- pciutils
|
||||
- mstflint
|
Loading…
Reference in New Issue
Block a user