canonical / checkbox

Checkbox
https://checkbox.readthedocs.io
GNU General Public License v3.0
30 stars 47 forks source link

[checkbox-ce-oem] support raritan PDU for cold-reboot-pdu test (BugFix) #1220

Closed stanley31huang closed 5 months ago

stanley31huang commented 5 months ago

Description

A customer hardware is not able to wake-up by RTC, so we implemented a cold reboot related tests with APC network PDU while we are enable it. But the system is setup with a Raritan network PDU in Lab now, so we would like to have Raritan network PDU for cold-reboot related test with PDU as well.

Resolved issues

Documentation

N/A

Tests

ubuntu@ubuntu:~$ bash cold_reboot_by_pdu.sh -t raritan -p 10.102.196.119:8 -d 60
Turn off the power of DUT by Raritan network PDU..
System should be back after around 60 seconds..

## change the duration of power reboot
changed the duration successfully!

## trigger a cold reboot by network PDU..
trigger a cold reboot successfully!