-
Notifications
You must be signed in to change notification settings - Fork 17
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
Centralize test data and reduce unnecessary copying of test data #147
Conversation
Could you give a quick summary of how the test data gets installed now? It can be hard to understand just by looking through the code changes. Since you removed the Also, @delippi has made a good argument for using copies instead of links during this early development process of RDASApp. For example, I've found some cases where I needed to manually modify obs files to determine why something was breaking. This is a little harder when using links for everything. Just giving my two cents (and open to other opinions), but I perfer if we first copy the test data into |
@SamuelDegelia-NOAA I will test this PR on all platforms today and get back to you with more information.
The
If you can post specific cases, we may come up with simpler direct solutions. |
Ah that is right, |
prelink crtm under bundle/test-data-release
@guoqing-noaa and @TingLei-NOAA Based on the meeting on Thursday, what's the next step for this PR? |
I am working on testing this on Hera/Jet/Orion/Hercules and making sure all rrfs tests as well as all JCSDA tests pass. |
For reference, here are the 57 MPASJEDI test coming from JCSDA:
|
one update on this:
This was fixed by creating directories as needed and then linking static files to each corresponding directory.
Working further on the 5 tests failed. |
okay, per my manual testing, the above 5 tests also failed in the current RDASApp. so these 5 failed tests are most likely NOT due to this PR. I'm now making a fresh clone of the current RDASApp to double-check this. If confirmed, I will create an issue for this. |
As reported in issue #158, the mentioned 5 failed tests are not due to any changes in this PR at the moment. |
track the jcsda data through fix/ and cleanup env variables etc who are no longer needed
@ShunLiu-NOAA @TingLei-NOAA @TingLei-NOAA @SamuelDegelia-NOAA This PR is ready for another round of review. All rrfs tests passed and all "currently-must-pass" mpasjedi tests passed. A few upcoming PRs depend on this, such as using mpasout files, updating to mpasjedi v3.0, etc. I think we can merge this PR while fixing those 5 ctest issues later (for example, @SamuelDegelia-NOAA reported in PR #158 that we will need to wait for a https://github.com/JCSDA-internal/saber/pull/928 PR to resolve some of the failures). |
@guoqing-noaa Please allow me wait for all the mpas-jedi ctests pass.
@quoging, could you use ctest -VV option to run those failed mpas-jedi tests and point me to the ctest output? |
@TingLei-NOAA
But running those tests from your directory may facilitate debugging the problem.
|
For reference, here is the command to run the 5 failed mpasjedi tests
|
@guoqing-noaa Thanks for sharing the command, however, would you please point to your output? If you haven't run using -VV option, could you do that and then point me to the output? I need to see the output from the ctest command. |
Sorry, I forgot the `-VV' option. I just rerun it. It should be available in a few minutes at the same location:
|
@TingLei-NOAA 5 tests were completed. |
@guoqing-noaa Thanks. Yes. those output seem good for this PR. I checked the source files to which the symbolic links of those input data point to are in your own account, (not checked if all of them are). So, I will do a test on my side and let you know how they go. |
I will go ahead to merge this PR soon to facilitate subsequent PRs and we can continue working on the failed 5 tests which may take a few weeks to get finally resolved. |
@guoqing-noaa I am not concerned for those failed 5 ctests on your account. Are there other users using this PR and have no issues with mpas-jedi tests for writing permissions? I would suggest to give more time to the reviewing process. |
@TingLei-NOAA As far as I know, there is no writing permission issue here. If you experience that, could you send me your run directory and I can take a look. This PR does not change any codes, but just centralize and reduce the unnecessary data copying. All rrfs tests passed and all mpasjedi tests passed except those already failed in current RDASApp. |
@guoqing-noaa As I mentioned, we had writing permission issues related to mpas-jedi ctests. Using your branch just cleanly cloned/building, all mpas-jedi ctests passed. But the problem is that: in this PR, on hera: all data are stored in the role account :/ /scratch1/NCEPDEV/fv3-cam/RDAS_DATA/fix/ . So, the success of this PR on hera run by myself or you doesn't show it would work for users who has no permission to the above location.
I am trying to find what the problem is. |
@TingLei-NOAA The fix file directories are globally readable. They are NOT writable by anybody except the We created all required I cannot access your Orion directory as permission denied. Could you change it to be readable for me? Also, I would NOT suggest you do tests on Orion as there are building complications reported by @SamuelDegelia-NOAA . |
I am merging this PR and hope issue #163 will help resolve the 5 failed mpas-jedi tests in current RDASApp. |
A update: the PR works on orion except for a couple of mpasjedi 's failure for non-prepoducible results which don't matter to this PR. |
@TingLei-NOAA Thanks a lot for doing the test on Orion and reporting the results. |
This PR is the first step to centralize test data and reduce unnecessary copying.
It addresses issue #93
As a byproduct, it also addresses issue #127
All these will reduce the unnecessary turnaround time to speed up the build process and save disk space.