-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Unit test PhysicsToolsNanoAODToolsTestDriver failed: missing file #44293
Comments
assign PhysicsTools/NanoAODTools |
cms-bot internal usage |
A new Issue was created by @iarspider. @sextonkennedy, @makortel, @smuzaffar, @antoniovilela, @Dr15Jones, @rappoccio can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
The file was supposed to be available permanently. I see it was renamed:
|
@iarspider The path |
@makortel I'm unfortunately not very familiar with how eos cache works. A quick grep shows that there is a job that populates/cleans up that area, and from the logs I see that indeed this file was renamed, as it wasn't used for 150 days (unused files are deleted after 360 days):
The usage is based on ElasticSearch index, maybe @aandvalenzuela can add something. |
If I'm not missing anything, the script that populates that index looks for |
Do I understand correctly that the test script should print "Initiating request to open file " so that it is understood as being used? |
It should print something like this :
(timestamp is not important, but must be present; also the path should, of course, match whatever file(s) are actually used) |
Doesn't it seem something easy to get wrong, the formatting of the text? Could the script that populates the index look for another string from the test script (in addition to what is already done), one that more clearly identifies its purpose, say "REGISTER FILE: file path" or something along these lines? |
Maybe. Actually, the scipt searches for
Sure, I can prepare a PR for that. |
Added the message in #44310. The code now issues a message like this: This output is redirected to BTW, somebody has to put back the renamed file, otherwise the test will keep failing, |
Thanks, will check once the PR is merged.
If I'm reading the source correctly, it will fail once after merge, then parser will find the line and rename the file back. I can probably rename it by hand, but it will be renamed again once the sync job runs (which happens every 12h, around 10 am and 10 pm). |
I don't think the PR can be merged if runtests fails, isn't it? |
We can override and merge it, let us know when it is ready. |
It is ready, #44310. |
@iarspider has renamed the file, so let's wait for the tests. |
The PR is merged. Could we check when possible the script log to see if it is finding this file? Does this need to be backported? Maybe not because of the file-in-index issue? There were a couple of other fixes included though. |
I think that backporinting it to 13_3_X (and possibly also 13_2_X) would be useful to keep a consistent behaviour, also in the open message, although it's not mandatory. If you agree I can make the PRs (please let me know for which series you would recommend it) |
It is ok to backport. 13_3_X is fine. Also 14_0_X, right? |
all good here, can we close this ? |
|
it will be trivial to teach bot to look for a additional message e.g. |
File is indeed missing from EOS. First occurrence: CMSSW_14_1_X_2024-03-03-0000 (slc7_amd64_gcc12) and CMSSW_14_1_NONLTO_X_2024-03-03-0000 (el8_amd64_gcc12)
The text was updated successfully, but these errors were encountered: