-
Notifications
You must be signed in to change notification settings - Fork 103
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
Flaky CI tests: KeyError: 'md5' #338
Comments
Off-topic:
|
I did a quick experiment in #348 to try and get some more info about the md5 key error. It seems to have to do with the data you get when running a command like: docker run --rm -it mambaorg/micromamba:1.3.1
micromamba create --prefix /tmp/prefix --dry-run --json -v --channel=conda-forge zlib This generates a dictionary where {
"build": "h166bdaf_4",
"build_number": 4,
"build_string": "h166bdaf_4",
"channel": "https://conda.anaconda.org/conda-forge/linux-64",
"constrains": null,
"depends": [
"libgcc-ng >=12",
"libzlib 1.2.13 h166bdaf_4"
],
"fn": "zlib-1.2.13-h166bdaf_4.tar.bz2",
"license": "Zlib",
"md5": "4b11e365c0275b808be78b30f904e295",
"name": "zlib",
"sha256": "282ce274ebe6da1fbd52efbb61bd5a93dec0365b14d64566e6819d1691b75300",
"size": 94099,
"subdir": "linux-64",
"timestamp": 1665759636,
"track_features": "",
"url": "https://conda.anaconda.org/conda-forge/linux-64/zlib-1.2.13-h166bdaf_4.tar.bz2",
"version": "1.2.13"
} If you run When the KeyError occurs, it seems that this cached metadata is somehow missing the {
"build": "pyhd8ed1ab_0",
"build_number": 0,
"build_string": "pyhd8ed1ab_0",
"channel": "https://conda.anaconda.org/conda-forge/noarch",
"constrains": null,
"depends": [
"setuptools",
"wheel",
"python >=3.7"
],
"fn": "pip-23.0-pyhd8ed1ab_0.conda",
"license": "MIT",
"name": "pip",
"size": 1364220,
"subdir": "noarch",
"timestamp": 1675141351,
"track_features": "",
"url": "https://conda.anaconda.org/conda-forge/noarch/pip-23.0-pyhd8ed1ab_0.conda",
"version": "23.0"
} I don't have any idea what's causing those keys to go missing though. |
Closed by #376 |
Checklist
What happened?
In the tests for PRs many jobs are failing with
KeyError: 'md5'
in the_reconstruct_fetch_actions
function.Rerunning the failed jobs typically fixes the error, but it still causes a lot of confusion.
I have also seen a less common error:✔️RuntimeError: No user found
insetup of test_private_lock[micromamba-${QUETZ_API_KEY}]
from our Quetz server test fixture.We should look into this and fix it, and if you're submitting a PR, it's not your fault!
Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: