Skip to content

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

Merged
Hook25 merged 1 commit intomainfrom
detect_unresponsive_under_sysfs
Mar 20, 2026
Merged

Check attributes under /sys can be read without stucking the system (New)#2305
Hook25 merged 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.

This test will add to pc-sanity test plan for OEM enablement.

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.

sideload the test case and temporary test plan and running on 202512-38220

@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.78%. Comparing base (b196516) to head (cb1a703).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2305      +/-   ##
==========================================
+ Coverage   57.76%   57.78%   +0.02%     
==========================================
  Files         467      468       +1     
  Lines       47299    47325      +26     
  Branches     8419     8425       +6     
==========================================
+ Hits        27321    27347      +26     
- Misses      19092    19095       +3     
+ Partials      886      883       -3     
Flag Coverage Δ
provider-base 32.63% <100.00%> (+0.10%) ⬆️

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 3 times, most recently from 90533d6 to 7652eab Compare February 9, 2026 02:25
@xanthein xanthein requested a review from Hook25 February 9, 2026 02:35
@xanthein xanthein requested a review from hanhsuan March 16, 2026 05:28
@xanthein xanthein force-pushed the detect_unresponsive_under_sysfs branch 3 times, most recently from 51676f1 to 99f9847 Compare March 18, 2026 02:08
@xanthein xanthein force-pushed the detect_unresponsive_under_sysfs branch from 99f9847 to cb1a703 Compare March 18, 2026 02:11
@xanthein xanthein requested a review from hanhsuan March 18, 2026 02:19
Copy link
Contributor

@hanhsuan hanhsuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@Hook25 Hook25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks

@Hook25 Hook25 merged commit fb7b08d into main Mar 20, 2026
39 checks passed
@Hook25 Hook25 deleted the detect_unresponsive_under_sysfs branch March 20, 2026 07:30
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.

3 participants