Skip to content
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

BUG: failing remote tests Q1 2023 #2634

Closed
12 of 19 tasks
bsipocz opened this issue Jan 5, 2023 · 5 comments
Closed
12 of 19 tasks

BUG: failing remote tests Q1 2023 #2634

bsipocz opened this issue Jan 5, 2023 · 5 comments

Comments

@bsipocz
Copy link
Member

bsipocz commented Jan 5, 2023

In the latest remote-data test run on GHA we see 60 failing tests, affecting the following modules listed at the end of the issue. A large portion of them about unclosed files, ideally those should be properly handled, too, but there are some genuine looking parsing errors, etc, too pointing to potentially user affecting bugs/upstream changes.

Use this issue as a tracking one, add references to the PR to the checkboxed list below.

https://github.com/astropy/astroquery/actions/runs/3844350578/jobs/6547381260#step:5:9988

@bsipocz
Copy link
Member Author

bsipocz commented Jan 24, 2023

cc @pllim - could you have a look at the vo_conesearch failures, please?

@pllim
Copy link
Member

pllim commented Jan 25, 2023

If you are talking only about these, they are just warnings. You can ignore them. The conesearch validator try to grab the recommended parameters for test queries for a service when available and then it makes sense (in this case, the recommended search radius is deemed too large). So, it falls back to some hardcoded default. No harm done.

FAILED vo_conesearch/validator/tests/test_validate.py::TestConeSearchValidation::test_validation[True] - astropy.utils.exceptions.AstropyUserWarning: Failed to retrieve test query parameters for ivo://cds.vizier/i/252,4, using default: SR=0.11451621372724685 is too large, using SR=0.1 for ivo://cds.vizier/i/252,4

FAILED vo_conesearch/validator/tests/test_validate.py::TestConeSearchValidation::test_validation[False] - astropy.utils.exceptions.AstropyUserWarning: Failed to retrieve test query parameters for ivo://cds.vizier/i/252,4, using default: SR=0.11451621372724685 is too large, using SR=0.1 for ivo://cds.vizier/i/252,4

FAILED vo_conesearch/validator/tests/test_validate.py::TestConeSearchValidation::test_url_list[True] - astropy.utils.exceptions.AstropyUserWarning: Failed to retrieve test query parameters for ivo://cds.vizier/i/252,4, using default: SR=0.11451621372724685 is too large, using SR=0.1 for ivo://cds.vizier/i/252,4

FAILED vo_conesearch/validator/tests/test_validate.py::TestConeSearchValidation::test_url_list[False] - astropy.utils.exceptions.AstropyUserWarning: Failed to retrieve test query parameters for ivo://cds.vizier/i/252,4, using default: SR=0.11451621372724685 is too large, using SR=0.1 for ivo://cds.vizier/i/252,4

@bsipocz
Copy link
Member Author

bsipocz commented Jan 26, 2023

@pllim - sure enough these are warnings, but it would be nice to handle them in the tests rather than blanket ignore AstropyUserWarnings for the module.

@pllim
Copy link
Member

pllim commented Jan 27, 2023

Alas, I really don't have time to do this, especially given we already agree vo_conesearch is going to be deprecated in favor of something over at pyvo. If you really don't like the warning, you can skip those tests. Sorry.

@bsipocz
Copy link
Member Author

bsipocz commented Jul 19, 2023

This issue has been outdated now as there are significantly fewer failing remote tests now (though it's still a disturbingly large number for windows). So I'm going ahead and close this tracking issue now and will consider to open a new one for Q3.

@bsipocz bsipocz closed this as completed Jul 19, 2023
@bsipocz bsipocz unpinned this issue Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants