Repository navigation
docs: record real i2c-stub and disk_full runs from WSL2 - #11
Merged
Merged
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Records the first real runs of
i2c_sensor_nackand ofdisk_fullon a Linux kernel, plus the steps to reproduce them on a Windows laptop with WSL2. Addsdocs/linux-fault-hosts.mdand updates the Sprint 3 brief (docs/tasks/sprint3-linux-fault-injection.md), which still saidi2c_sensor_nackcould not be triggered anywhere here. Docs only: no code changes, andi2c_sensor_nackstays opt-in.How it was verified (real output)
Host:
Linux Benweru 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64, repo ata9b93f6. Thei2c-stubandi2c-devmodules were built fromlinux-msft-wsl-6.6.87.2withCONFIG_I2C_STUB=m. Their vermagic matchesuname -r, and no kernel image was replaced.pytest -m linux_i2c, as root withORBITLOG_ENABLE_I2C_STUB=1:i2c_sensor_nack, seeds 0 to 7:make dataset N=30 SEED=0in WSL2 with cFS running:The
disk_fullcases containOSError: [Errno 28] No space left on device. Run from Windows, all 5disk_fullcases failed.make teston Windows with this branch:67 passed, 4 skipped, 15 deselected in 3.54s. In WSL2 (main, before this branch):70 passed, 1 skipped, 15 deselected in 4.03s.Known issues, stated in the docs
i2c-stubreturns Errno 19, not the article's Errno 121, and prints nono acknowledge from addresskernel line. This class has the shape of the fault but not the tegra signature.dmesg.txtwindow is unreliable: 0 or 1 lines, and the counts differ between runs. Needs a follow-up fix.dockershim that calls the Windowsdocker.exe. That setup is documented but not part of the repo.