diff --git a/SubSystems/Online_Cobalt/validation/cobalt/network/interface_mtu_settings.test b/SubSystems/Online_Cobalt/validation/cobalt/network/interface_mtu_settings.test index 792f895ef85738b521f6aacb06e9ea2031f16723..5ad51de7d86b6c3761961abd45e7546bd36c0d6b 100755 --- a/SubSystems/Online_Cobalt/validation/cobalt/network/interface_mtu_settings.test +++ b/SubSystems/Online_Cobalt/validation/cobalt/network/interface_mtu_settings.test @@ -10,7 +10,8 @@ for i in {201..213} ; do # the following interfaces need to be connected # 10GB03 and 10GB07 are spares and do not need to connected at this moment for INTERFACE in 10GB01 10GB02 10GB04 10GB05 10GB06 ; do - RESULT=$(ssh $NODE netstat -i | grep $INTERFACE | awk '{ print $2 }') + # Avoid grepping VLANs by not accepting interfaces followed by a . (f.e. 10GB06.2201) + RESULT=$(ssh $NODE netstat -i | grep "$INTERFACE[^.]" | awk '{ print $2 }') if [ $? -eq 0 ] && [ "$RESULT" -eq "9000" ] ; then echo "$NODE : interface $INTERFACE has correct MTU of $RESULT" else diff --git a/SubSystems/Online_Cobalt/validation/cobalt/system/tuned.test b/SubSystems/Online_Cobalt/validation/cobalt/system/tuned.test index ac26530105bb005bf5fec81b7643017f39bf93cd..97dc42a9dea8d9c06f64afeb56168facbe1b6c8f 100755 --- a/SubSystems/Online_Cobalt/validation/cobalt/system/tuned.test +++ b/SubSystems/Online_Cobalt/validation/cobalt/system/tuned.test @@ -3,7 +3,8 @@ # Our own hostname must be resolvable for i in {201..213} ; do - ssh cbm$i systemctl status tuned.service | grep "Active: inactive" || exit 1 + # check for tuned.service to be NOT active, as we then also catch the case in which it is not installed in the first place + ssh cbm$i systemctl status tuned.service | grep "Active: active" && exit 1 done exit 0