-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Recompact fail with "failed recompaction: No such file or directory" #2048
Comments
An additionnal note: When we do the migration on our CI infra from version 1.9.X to version 1.10.2, we see similar error and decide to purge all workspaces to fix it. Now we have investigated current issue, I suppose that having a |
Doing some analyse of our jobs reports, we see at least 10 occurences of this problem, on few hundred of builds, only on Windows. No clue for now on why the file is 'corrupted' but if recompaction could not fail when |
The -C option has never worked for me...really frustrating. I am running windows as well. |
We started seeing this problem on our build farm after we've upgraded from 1.8 to 1.10.
These steps reliably reproduce the problem. Here is the full log of commands:
OS: CentOS 7 |
This issue is still reproducible with the 1.12.0 release. Same steps as above. I'm using cmake 3.29.3 and Rocky 8 Linux if it matters. |
same output? If you can reproduce it, please open a new issue. |
In rare cases, on our builds we got this error during
recompact
step:Trying to trace back why this is failing, we see that:
DepsLog::Load
deleteninja_deps
and returnLOAD_SUCCESS
if version mismatch or headers are corrupted.OpenDepsLog(/*recompact_only=*/ true)
doesn't stop because onLOAD_SUCCESS
DepsLog::Recompact
fail because of the missingninja_deps
file.In our case we need to find why the file loading fail (corrupted file ?) but I wonder if this is intentionnal to fail in this case ?
LOAD_NOT_FOUND
instead ofLOAD_SUCCESS
will skip the recompaction since the file was deleted.thanks,
The text was updated successfully, but these errors were encountered: