graphics: add Qualcomm SFR message to hang watcher

This CL adds Qualcomm SFR error message string to the graphics hang
watcher.  Example extracted dmesg (timestamps removed for
clarity):

qcom-venus aa00000.video-codec: no valid instance(pkt session_id:ff, pkt:21001)
qcom-venus-decoder aa00000.video-codec:video-decoder: dec: event session error 0
qcom-venus aa00000.video-codec: SFR message from FW: QC_IMAGE_VERSION_STRING=video-firmware.1.0-df9cb37cf8e507a4468265658702247652351a49 Err_Fatal - /local/mnt/workspace/pkg/builds/dynamic_timely/tree2/vendor/qcom/proprietary/video-firmware-noship/venus_proc/venus/decoders/vpx/src/vpx_decoder.c:5653:6d3d6
udevd[3071]: Process '/sbin/crash_reporter --udev=SUBSYSTEM=devcoredump:ACTION=add:KERNEL_NUMBER=17' failed with exit code 1.
qcom-venus aa00000.video-codec: System error has occurred, recovery failed to init HFI
qcom-venus aa00000.video-codec: System error has occurred, recovery failed to init HFI
qcom-venus aa00000.video-codec: system error has occurred (recovered)

We're hunting for the line "SFR message from FW" which signifies an
error from the video SOC firmware.

BUG=b:235852840
TEST=video.PlatformDecoding on Herobrine

Change-Id: I3a48e1b0bbba4a7bf8cf5ef65fc1a9ed3db2365c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/3718047
Tested-by: Nathan Hebert <nhebert@chromium.org>
Reviewed-by: Po-Hsien Wang <pwang@chromium.org>
Commit-Queue: Nathan Hebert <nhebert@chromium.org>
1 file changed
tree: 380510cf7c1f12c5366d33b195d4763666236b11
  1. android/
  2. helpers/
  3. src/
  4. tools/
  5. vars/
  6. .gitignore
  7. LICENSE
  8. OWNERS
  9. PRESUBMIT.cfg
  10. PRESUBMIT.py
  11. README.md
  12. unblocked_terms.txt
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • helpers/ - Source code for binaries executed by tests.
    • local/ - Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros by the tast-local-helpers-cros package.
  • src/chromiumos/tast/
    • local/ - Code related to local (i.e. on-device or “client”) tests.
      • bundles/ - Local test bundles.
        • cros/ - The “cros” local test bundle, containing standard ChromeOS tests. Tests are packaged by category.
      • ... - Packages used only by local tests.
    • remote/ - Code related to remote (i.e. off-device or “server”) tests.
      • bundles/ - Remote test bundles.
        • cros/ - The “cros” remote test bundle, containing standard ChromeOS tests. Tests are packaged by category.
      • ... - Packages used only by remote tests.

Shared code, the main tast executable, the local_test_runner and remote_test_runner executables responsible for running bundles, and documentation are located in the tast repository.

GoDoc