-
-
Notifications
You must be signed in to change notification settings - Fork 55
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: Collection of flukes #816
Comments
Exception
Location
References
|
Exception elif self._compress_type == ZIP_DEFLATED:
n = max(n, self.MIN_READ_SIZE)
> data = self._decompressor.decompress(data, n)
E zlib.error: Error -3 while decompressing data: invalid stored block lengths Location
References |
Exception
Location
References |
Exception
Location
References
InvestigationThe API is undergoing regular maintenance, or unplanned outage.
|
_____________________________ test_cli_interpolate _____________________________
-- https://github.com/earthobservations/wetterdienst/actions/runs/3719301178/jobs/6308072641#step:7:649 |
_____ test_api[True-dwd-observation-kwargs0-None] _____ E zipfile.BadZipFile: The archive of https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/daily/kl/recent/tageswerte_KL_00011_akt.zip seems to be corrupted.
wetterdienst/provider/dwd/observation/download.py:62: BadZipFile -- https://github.com/earthobservations/wetterdienst/actions/runs/3777614414/jobs/6421537572#step:7:889 |
______ test_api[False-wsv-pegel-kwargs3-None] ______ ValueError: Unexpected character found when decoding object value ______ test_api[False-wsv-pegel-kwargs3-None] _____ ValueError: Unmatched ''"' when when decoding 'string' _____ test_api[False-dwd-mosmix-kwargs1-None] _____ ValueError: could not convert string to float: '\x00\x00\x00\x00\x00\x00\x00' -- https://github.com/earthobservations/wetterdienst/actions/runs/3777758460/jobs/6421748972 _____ test_api[True-ea-hydrology-kwargs4-None] _____ json.decoder.JSONDecodeError: Invalid control character at: line 1 column 351655 (char 351654) -- https://github.com/earthobservations/wetterdienst/actions/runs/3777796175/jobs/6421804052#step:7:172 |
________ test_export_parquet _______ > os.unlink(filename)
E PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-of-runneradmin\\pytest-0\\popen-gw1\\data1\\observation.parquet'
tests\provider\dwd\observation\test_io.py:389: PermissionError -- https://github.com/earthobservations/wetterdienst/actions/runs/3777949086/jobs/6422030473#step:7:618 |
_________ test_dwd_summarize ________ E KeyError: 'data'
tests/ui/test_restapi.py:325: KeyError -- https://github.com/earthobservations/wetterdienst/actions/runs/3781348080/jobs/6485175492#step:7:601 |
-- https://github.com/earthobservations/wetterdienst/actions/runs/3961221008/jobs/6786397006#step:7:905 |
-- https://github.com/earthobservations/wetterdienst/actions/runs/3961221008/jobs/6786764303#step:7:715 |
-- https://github.com/earthobservations/wetterdienst/actions/runs/3972716674/jobs/6810861277#step:7:716 |
-- https://github.com/earthobservations/wetterdienst/actions/runs/3973028291/jobs/6811413462#step:7:851 |
-- https://github.com/earthobservations/wetterdienst/actions/runs/3976354893/jobs/6816786093#step:7:772 |
https://github.com/earthobservations/wetterdienst/actions/runs/3977956192/jobs/6819450829#step:7:643 |
-- https://github.com/earthobservations/wetterdienst/actions/runs/4193378438/jobs/7270189155#step:7:737 |
> raise FailedDownload(f"Download failed for {remote_file}") from ex
E wetterdienst.exceptions.FailedDownload: Download failed for https://opendata.dwd.de/climate_environment/CDC/observations_germany/climate/daily/kl/historical/tageswerte_KL_04703_19510101_20211231_hist.zip -- https://github.com/earthobservations/wetterdienst/actions/runs/4193378438/jobs/7270648670#step:7:855 |
-- https://github.com/earthobservations/wetterdienst/actions/runs/4198732871/jobs/7282743949#step:7:868 |
-- https://github.com/earthobservations/wetterdienst/actions/runs/4198752843/jobs/7282789791#step:6:793 |
|
Two radar trippings at https://github.com/earthobservations/wetterdienst/actions/runs/4872021487/jobs/8689700227?pr=934#step:7:871, coming from GH-934. I am not merging it, because you could take it as an opportunity to improve/fix those test cases?
|
ProblemThe same as #816 (comment):
References |
|
> assert response.status_code == 200
E assert 404 == 200
E + where 404 = <Response [404 Not Found]>.status_code
tests/ui/test_restapi.py:329: AssertionError |
self = <Result BadZipFile("Bad CRC-32 for file 'produkt_klima_tag_19570201_20221231_04300.txt'")>
self = <Result BadZipFile("Bad CRC-32 for file 'produkt_klima_tag_19570201_20221231_04300.txt'")> -- https://github.com/earthobservations/wetterdienst/actions/runs/6373530809/job/17297323740?pr=1012#step:8:769 |
After bringing in GH-1041, re-running failed test cases once after a delay of five seconds, the situation should get better. We may need to adjust the corresponding settings to improve further. |
Three failures of > assert response.status_code == 200
E assert 400 == 200
E + where 400 = <Response [400 Bad Request]>.status_code -- https://github.com/earthobservations/wetterdienst/actions/runs/6395577981/job/17359553822#step:8:755 |
-- https://github.com/earthobservations/wetterdienst/actions/runs/6415265077/job/17416906491 |
Why does it fail? It looks like the pattern
# Verify data.
header = b"\x00\x00\x00\x00\x00...BUFR"
> assert re.match(header, payload), payload[:20]
E AssertionError: b'\x00\x00\x00\x00\x00
E \x86(BUFR
E \x86(\x04\x00\x00\x16\x00'
E assert None
E + where None = <function match at 0x7ff25cbc07c0>(b'\x00\x00\x00\x00\x00...BUFR', b'\x00\x00\x00\x00\x00\n\x86(BUFR\n\x86(\x04\x00\x00\x16 |
FAILED tests/provider/dwd/radar/test_api_historic.py::test_radar_request_radvor_re_timerange - AssertionError: RE110805100001023BY 1620189VS 5SW P300004HPR E-03INT 60GP 900x 900VV 000MF 00000008QN 016MS 91<deasb,deboo,dedrs,deeis,deess,defbg,defld,dehnr,deisn,demem,deneu,denhb,deoft,depro,detur>
assert None
+ where None = <function match at 0x7fc9a762cd30>('RE......[1000](https://github.com/earthobservations/wetterdienst/actions/runs/6492893684/job/17632737807#step:8:1001)01023BY 162....VS 5SW P30000.HPR E-03INT 60GP 900x 900VV 000MF 00000008QN 016MS...<(deasb,)?(deboo,)?(dedrs,)?(deeis,)?(deess,)?(defbg,)?(defld,)?(dehnr,)?(deisn,)?(demem,)?(demhp,)?(deneu,)?(denhb,)?(deoft,)?(depro,)?(deros,)?(detur,)?(deumd)?>', 'RE110805100001023BY 1620189VS 5SW P300004HPR E-03INT 60GP 900x 900VV 000MF 00000008QN 016MS 91<deasb,deboo,dedrs,deeis,deess,defbg,defld,dehnr,deisn,demem,deneu,denhb,deoft,depro,detur>')
+ where <function match at 0x7fc9a762cd30> = re.match -- https://github.com/earthobservations/wetterdienst/actions/runs/6492893684/job/17632737807 |
not sure, i did try to run the regex, but also had problems with it |
It looks like DWD DMO is flaky with It looks like it happened yesterday around that time:
|
You submitted a fix with f42b6d6 already? Thanks! |
Exactly! I should probably also add a test for that! .... DWD DMO file names are currently only containing month and day, which is pretty ugly to handle, especially around new year change. |
Hi there,
within this issue, we are collecting some observations of flaky behavior on CI. It is meant to get the big picture, so that we can improve the robustness of the test suite gradually, by identifying the bad spots. To be able to do that, it is important to diligently record all observations here.
Most of the errors will be about concurrent file access going south, where specific tests are not appropriately marked with
cflake
, and the parallel testing based onpytest-xdist
will hit concurrency issues.With kind regards,
Andreas.
The text was updated successfully, but these errors were encountered: