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

Clean suspend time test (BugFix) #1702

Merged
merged 2 commits into from
Jan 29, 2025
Merged
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
4 changes: 2 additions & 2 deletions providers/base/units/suspend/suspend-graphics.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,10 @@ user: root
command:
if type -P fwts >/dev/null; then
echo "Calling fwts"
set -o pipefail; checkbox-support-fwts_test -f none -l "$PLAINBOX_SESSION_SHARE"/{index}_suspend_single.log -s s3 --s3-sleep-delay=30 --s3-device-check --s3-device-check-delay=45 | tee "$PLAINBOX_SESSION_SHARE"/{index}_suspend_single_times.log
set -o pipefail; checkbox-support-fwts_test -f none -l "$PLAINBOX_SESSION_SHARE"/{index}_suspend_30_cycles.log -s s3 --s3-sleep-delay=30 --s3-device-check --s3-device-check-delay=45 | tee "$PLAINBOX_SESSION_SHARE"/{index}_suspend_30_cycles_times.log
else
echo "Calling sleep_test.py"
set -o pipefail; sleep_test.py -p | tee "$PLAINBOX_SESSION_SHARE"/{index}_suspend_single_times.log
set -o pipefail; sleep_test.py -p | tee "$PLAINBOX_SESSION_SHARE"/{index}_suspend_30_cycles.log
fi
_purpose:
Suspend SUT 30 times while using {product_slug} graphics card
Expand Down
9 changes: 1 addition & 8 deletions providers/base/units/suspend/suspend.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ command:
fi
else
echo "Calling sleep_test.py"
set -o pipefail; sleep_test.py -p | tee "$PLAINBOX_SESSION_SHARE"/2_suspend_single_times.log
set -o pipefail; sleep_test.py -p | tee "$PLAINBOX_SESSION_SHARE"/suspend_single_times.log
fi
estimated_duration: 90.0
_summary: Manual test of suspend function
Expand Down Expand Up @@ -1266,13 +1266,6 @@ command: audio_test.py
_purpose: This will check to make sure that your audio device works properly after a suspend and resume. This may work fine with speakers and onboard microphone, however, it works best if used with a cable connecting the audio-out jack to the audio-in jack.
_summary: Ensure audio device works correctly after suspend and resume cycle.

plugin: attachment
category_id: com.canonical.plainbox::suspend
id: suspend/suspend-auto-single-log-attach
command: [ -e "$PLAINBOX_SESSION_SHARE"/suspend_auto_single_log ] && cat "$PLAINBOX_SESSION_SHARE"/suspend_auto_single_log
_purpose: Attaches the log from the single suspend/resume test to the results
_summary: Attach the single suspend/resume test log to the results.

plugin: shell
category_id: com.canonical.plainbox::suspend
id: suspend/gpu_lockup_after_suspend
Expand Down
Loading