Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed installing extra test images #9681

Merged
merged 1 commit into from
Feb 11, 2023

Conversation

radarhere
Copy link
Contributor

Over at python-pillow, our CIFuzz job has started failing -

depends/install_extra_test_images.sh: line 6: ./download-and-extract.sh: No such file or directory

This is because we recently merged python-pillow/Pillow#6918, which changes depends/install_extra_test_images.sh to call ./download-and-extract.sh, which exists inside depends. So when

RUN cd Pillow && depends/install_extra_test_images.sh

runs, it can't find ./download-and-extract.sh, because it is running from the base Pillow directory.

So this PR changes the command to run from inside depends instead.

@DavidKorczynski DavidKorczynski merged commit 25d0751 into google:master Feb 11, 2023
@radarhere radarhere deleted the extra_test_images branch February 11, 2023 16:49
eamonnmcmanus pushed a commit to eamonnmcmanus/oss-fuzz that referenced this pull request Mar 15, 2023
Over at python-pillow, our CIFuzz job has [started
failing](https://github.com/python-pillow/Pillow/actions/runs/4147683686/jobs/7174854267#step:4:7800)
-
> depends/install_extra_test_images.sh: line 6:
./download-and-extract.sh: No such file or directory

This is because we recently merged
python-pillow/Pillow#6918, which changes
`depends/install_extra_test_images.sh` to call
`./download-and-extract.sh`, which exists inside
[`depends`](https://github.com/python-pillow/Pillow/tree/main/depends).
So when

https://github.com/google/oss-fuzz/blob/00b08f6592b90d438e113138c64cd4025fbb3bdf/projects/pillow/Dockerfile#L41
runs, it can't find `./download-and-extract.sh`, because it is running
from the base Pillow directory.

So this PR changes the command to run from inside `depends` instead.

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
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