Skip to content

Check attributes under /sys can be read without stucking the system (New)#2305

Open
xanthein wants to merge 1 commit intomainfrom
detect_unresponsive_under_sysfs
Open

Check attributes under /sys can be read without stucking the system (New)#2305
xanthein wants to merge 1 commit intomainfrom
detect_unresponsive_under_sysfs

Conversation

@xanthein
Copy link
Contributor

@xanthein xanthein commented Jan 26, 2026

Description

Some devices may generate non-functional node under /sys/devices. This kind of device may stuck forever when try to read data from it. Refer https://warthogs.atlassian.net/browse/STELLA-2881 for more information. This test case is created for gating such devices.

Resolved issues

Documentation

Tests

On normal system, this test should pass without error. On device with fault device and don't have been add to driver ignore list. This test job will print out the failed attributes.

@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.04%. Comparing base (38b29e2) to head (7652eab).
⚠️ Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2305      +/-   ##
==========================================
+ Coverage   54.88%   55.04%   +0.15%     
==========================================
  Files         412      414       +2     
  Lines       44246    44419     +173     
  Branches     8154     8189      +35     
==========================================
+ Hits        24284    24449     +165     
- Misses      19132    19134       +2     
- Partials      830      836       +6     
Flag Coverage Δ
checkbox-ng 71.63% <ø> (ø)
checkbox-support 69.55% <ø> (ø)
provider-base 32.37% <100.00%> (+0.64%) ⬆️
provider-certification-client 57.14% <ø> (ø)
provider-certification-server 57.14% <ø> (ø)
provider-genio 96.90% <ø> (ø)
provider-gpgpu 93.14% <ø> (ø)
provider-iiotg 100.00% <ø> (ø)
provider-resource 39.57% <ø> (ø)
provider-sru 97.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xanthein xanthein force-pushed the detect_unresponsive_under_sysfs branch 5 times, most recently from 688e54f to d6ddd45 Compare February 4, 2026 09:48
@xanthein xanthein force-pushed the detect_unresponsive_under_sysfs branch 2 times, most recently from 327e612 to 90533d6 Compare February 6, 2026 09:36
@xanthein xanthein force-pushed the detect_unresponsive_under_sysfs branch from 90533d6 to 7652eab Compare February 9, 2026 02:25
@xanthein xanthein requested a review from Hook25 February 9, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant