Test command failed due to absence of required test files in respective project directories
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- rust
- Domain
- testing-qa
Research direction
Start by running cargo test and inspect mp4parse/tests/public.rs, especially the public_avif_grid, public_avif_read_samples, and public_avis_major_no_pitm tests. Check the referenced av1-avif/testFiles paths and restore or provide the missing test files so the three tests no longer fail with FileNotFound.
Written by the indexing model from the issue text.
Description
Steps to reproduce:
- open terminal (in Ubuntu 22LTS) and navigate to project folder and build the project.
- Enter the command cargo test
- Below panic appears which stating FileNotFound
Expected behaviour
All test cases should pass if it have the respective test files
Actual behaviour
3 test cases failed due to unavailability of test files in the respective file locations
Details of error
kind: NotFound, message: "No such file or directory"
---- public_avif_grid stdout ----
thread 'public_avif_grid' panicked at 'av1-avif/testFiles/Microsoft/Summer_in_Tomsk_720p_5x4_grid.avif: Os { code: 2, kind: NotFound, message: "No such file or directory" }', mp4parse/tests/public.rs:1225:43
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
---- public_avif_read_samples stdout ----
thread 'public_avif_read_samples' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/core/src/ops/function.rs:166:5
---- public_avis_major_no_pitm stdout ----
thread 'public_avis_major_no_pitm' panicked at 'Unknown file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', mp4parse/tests/public.rs:1235:58
failures:
public_avif_grid
public_avif_read_samples
public_avis_major_no_pitm
test result: FAILED. 58 passed; 3 failed; 1 ignored; 0 measured; 0 filtered out; finished in 28.22s
error: test failed, to rerun pass -p mp4parse --test public
- Dominant language
- Rust
- Stars
- 448
- Forks
- 72
- Avg merge
- 20d 3h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/mp4parse-rust
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
mozilla/mp4parse-rust#444 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
mozilla/mp4parse-rust#441 ·
-
senc box Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
mozilla/mp4parse-rust#415 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
mozilla/mp4parse-rust#414 · 4 comments ·
-
Difficulty 2/5 Half a day Newbie friendliness 35/100
mozilla/mp4parse-rust#411 · 1 comment ·
All issues in mozilla/mp4parse-rust
Similar issues
-
bug CLI custom-model
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
fulcrumgenomics/ferro-hgvs#2251 ·
-
A-allocators A-docs C-enhancement T-libs
Difficulty 2/5 1-3 hours Newbie friendliness 75/100