-
Notifications
You must be signed in to change notification settings - Fork 361
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
CI: Download cache from the static server #7862
Conversation
@PaulWessel It seems some datasets are still missing on the static server. For example, |
I see. Hm, I did run all tests on static and added for instance teh 6m age grid but I must have missed something or had that file in my local static dir. I added the 2m_p now. |
There are still many datasets that are not available on I think the easiest way is:
|
Will follow up - going to Oslo today/evening. |
Mysteries to solve, @seisman: I did the following experiment with an empty .gmt dir:
Next, starting with another empty .gmt dir I did this:
Comparing what was downloaded I see find .gmt-environ-static -type f | wc So 43 more files for the Cmake test. Comparing the logs is harder but note in the Cmake log I have gmt [ERROR]: Failed to remove /tmp/gmt_hash_server.txt.download! [remove error: No such file or directory] but that is not in the environ log. There are ~500 more lines in the cmake log. I attach both logs. environ-static-50.txt My thoughts are these: While in the environment test everything that starts in that terminal find GMT_DATA_SERVER=static, while I am less confident with all the Ctest launches. For instance, in the environ test the gmtest script sets Finally the term [ERROR] appears in different numbers:
I will change gmtest.in so it does not output that line if GMT_DATA_SERVER is found in the environment and report on that. |
In the
It seems the environment test, you're still using the oceanic server. It makes sense to me, because I also see an error in the
I think it's because you were parallelly running the tests, so the |
Experimenting with environ after removing the export from build/test/gmtest. |
Those errors are now gone, but I stil have a but to fix. WIth static, the cache dir is under static and clearly some code is trying to read the top-level cache (as for oceania). Will work on ths until it works. Meanwhile, might you know how gmtest.in could be built without that export call if ${GMT_DATA_SERVER} is already set in the environment? Need a Cmake test checking $ENV{???} ? |
This should work. Only export |
FYI, I've 41 failures for Linux + gs 10.02.0. |
OK, so clearly there are times when two curl jobs fight and we end up with not finding the file when looking. I set N_TEST to 1 and built and then it worked pretty good: 32 failures only. But I had to comment out the line in gmtest if I just wanted to set an environmental variable (cause the default would write oceania. Since it is only the team and maybe some gurus who would care about static, candidate, and test, maybe it is not too much hardship for us to finesse GMT_DATASERVER=static run tests? |
#7862 (comment) Does this work? |
Description of proposed changes
Fixes #
Reminders