-
Notifications
You must be signed in to change notification settings - Fork 126
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
Error #E component 'PDFFile' must be bound to a string denoting a relative path to a readable file
in macOS CI
#3967
Comments
#E component
PDFFile' must be bound to a string denoting a relative path to a readable file` in macOS CI#E component 'PDFFile' must be bound to a string denoting a relative path to a readable file
in macOS CI
The comment could in principle refer to any of the 150 packages shipped with GAP and being loaded. But they all should have their manual as a PDF bundled, except for OscarInterface and JuliaInterface. This message shows up when something calls But I wonder: why is it being shown at all? Why / what is validating GAP package metadata here? And is it really OscarInterface it complains about, or something else? Perhaps @ThomasBreuer has an idea? |
Code in GAP's PackageManager calls One of the problems is that (I do not understand why we did not get these messages earlier.) |
After some digging around I now have the following additional information:
So @ThomasBreuer and I think that this is somehow due to the way that the RPTU runner re-uses things from previous runs. @aaruni96 will look into properly separating and cleaning up the Julia Homes on the RPTU runner when he is back in KL. |
@lgoettgens @ThomasBreuer so which things are re-used? Is this about a git clone of a dev version of recog sticking around? If so it could probably be solved by doing Or is there anything else you suspect might be relevant? |
This unfortunately won't work, as it will introduce race conditions between the different runners on the self-hosted machine. |
@aaruni96 already separated them now |
I just checked the latest CI run on master (which was 3 days ago), and this doesn't have these prints anymore. |
I made the change last evening, and re ran just the short test, to make sure nothing is broken as a side effect. But the long test appears to have failed "one hour ago" with a similar (but not the same) error ( https://github.com/oscar-system/Oscar.jl/actions/runs/10130857450/job/28149030653#step:9:240 ). You can see that its using artefacts from the runner specific depot
This might be related to the same problem ? |
Note, that we have just done a separation of the depots, there is still no "cleanup" phase which removes stuff for a fresh start. |
Github runners do allow Pre / Post hook scripts ( https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/running-scripts-before-or-after-a-job ), so, a decision needs to be made about what we should do in the cleanup phase, and then I can work on making it happen. |
I am surprised to see this error about But this suggests that in addition to the two directories I already suggested, perhaps we should also |
I think we should just clear the complete JULIA_DEPOT and instead use the julia-actions/cache action again. This should cache exactly those parts that are safe to keep between runs. |
I disagree. That wastes many dozens of gigabytes of bandwidth every day. |
True... So removing |
Is this still occurring anywhere for anyone? |
Seen on a recent master, e.g. in https://github.com/oscar-system/Oscar.jl/actions/runs/10066028282/job/27826455858#step:9:239.
It seems to only occur on the macOS runners.
The only reference to
PDFFile
I found in this repo isOscar.jl/gap/OscarInterface/PackageInfo.g
Line 71 in 8163ba8
Maybe @fingolfin or @ThomasBreuer have some insight into this?
More breadcrumbs:
The text was updated successfully, but these errors were encountered: