Skip to content

test: drop irix_install_scsi_disk_present (fixes CI failure)#52

Merged
techomancer merged 1 commit into
techomancer:mainfrom
danifunker:fix-scsi-disk-test-ci
Jul 2, 2026
Merged

test: drop irix_install_scsi_disk_present (fixes CI failure)#52
techomancer merged 1 commit into
techomancer:mainfrom
danifunker:fix-scsi-disk-test-ci

Conversation

@danifunker

Copy link
Copy Markdown
Contributor

Problem

main CI currently fails on the Run tests step:

test platform_profile_tests::tests::irix_install_scsi_disk_present ... FAILED
test result: FAILED. 294 passed; 1 failed

The test asserts that irix-install/scsi1.raw exists on disk:

let path = concat!(env!("CARGO_MANIFEST_DIR"), "/irix-install/scsi1.raw");
assert!(std::path::Path::new(path).exists(), ...);

But that root image is gitignored and is never present on a CI runner or a fresh clone, so the test fails on every build. It also isn't a real invariant: a root disk can be supplied as either a raw image or a CHD, so requiring the specific .raw path is wrong.

Fix

The test exercises no emulator behavior — it only checks for a local artifact — so this removes it and updates the module doc comment to note the smoke config takes a raw or CHD disk. The remaining 15 profile tests still pass.

Introduced in f2d0bff (Indigo2 IP22 platform); unrelated to any single feature PR, it just surfaces on every run.

🤖 Generated with Claude Code

`irix_install_scsi_disk_present` asserted that `irix-install/scsi1.raw`
exists on disk, but that root image is gitignored and never present in CI
or a fresh clone, so the test fails on every runner. It also isn't a real
invariant: a root disk may be supplied as either a raw image or a CHD, so
the specific `.raw` path is not required.

The test exercised no emulator behavior — it only checked for a local
artifact — so remove it and update the module doc to note the smoke config
takes a raw or CHD disk.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@techomancer techomancer merged commit ce2e397 into techomancer:main Jul 2, 2026
1 check passed
@danifunker danifunker deleted the fix-scsi-disk-test-ci branch July 2, 2026 11:57
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.

2 participants