CI failing when merging to master #2049
Replies: 2 comments
-
From @lauramurgatroyd Not sure if relevant we get many warnings: "The ETag (Entity Tag) HTTP response header is a mechanism used by web servers and browsers to validate cached components" |
Beta Was this translation helpful? Give feedback.
-
A different failure:
Run conda-incubator/setup-miniconda@v3
Gathering Inputs...
Creating bootstrap condarc file in /home/runner/.condarc...
Ensuring installer...
Setup environment variables...
Parsing environment...
Applying initial configuration...
Initializing conda shell integration...
Adding tools to 'base' env...
Ensuring environment...
Updating 'test' env from conda create (simple)...
/usr/share/miniconda/condabin/mamba create --name test python=3.11
Warning: warning libmamba Could not parse mod/etag header
|
Beta Was this translation helpful? Give feedback.
-
Description
When merging to master, it is common that the first run of the CI the tests on the build/conda matrix fail with this error:
Channels: - conda-forge - defaults Platform: linux-64 Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done
Package Plan
environment location: /usr/share/miniconda/envs/test
added / updated specs:
- boa
The following packages will be downloaded:
The following NEW packages will be INSTALLED:
anyio conda-forge/noarch::anyio-3.7.1-pyhd8ed1ab_0
archspec conda-forge/noarch::archspec-0.2.3-pyhd8ed1ab_0
attrs conda-forge/noarch::attrs-24.3.0-pyh71513ae_0
beautifulsoup4 conda-forge/noarch::beautifulsoup4-4.12.3-pyha770c72_1
boa conda-forge/noarch::boa-0.17.0-pyhd8ed1ab_3
boltons conda-forge/noarch::boltons-24.0.0-pyhd8ed1ab_1
brotli-python conda-forge/linux-64::brotli-python-1.1.0-py310hf71b8c6_2
c-ares conda-forge/linux-64::c-ares-1.34.4-hb9d3cd8_0
certifi conda-forge/noarch::certifi-2024.12.14-pyhd8ed1ab_0
cffi conda-forge/linux-64::cffi-1.17.1-py310h8deb56e_0
chardet conda-forge/linux-64::chardet-5.2.0-py310hff52083_2
charset-normalizer conda-forge/noarch::charset-normalizer-3.4.1-pyhd8ed1ab_0
click conda-forge/noarch::click-8.1.8-pyh707e725_0
colorama conda-forge/noarch::colorama-0.4.6-pyhd8ed1ab_1
conda conda-forge/linux-64::conda-24.11.2-py310hff52083_1
conda-build conda-forge/linux-64::conda-build-24.5.1-py310hff52083_0
conda-index conda-forge/noarch::conda-index-0.5.0-pyhd8ed1ab_0
conda-libmamba-so~ conda-forge/noarch::conda-libmamba-solver-24.9.0-pyhd8ed1ab_0
conda-package-han~ conda-forge/noarch::conda-package-handling-2.4.0-pyha770c72_1
conda-package-str~ conda-forge/noarch::conda-package-streaming-0.11.0-pyhd8ed1ab_0
distro conda-forge/noarch::distro-1.9.0-pyhd8ed1ab_1
exceptiongroup conda-forge/noarch::exceptiongroup-1.2.2-pyhd8ed1ab_1
filelock conda-forge/noarch::filelock-3.16.1-pyhd8ed1ab_1
fmt conda-forge/linux-64::fmt-11.0.2-h434a139_0
frozendict conda-forge/linux-64::frozendict-2.4.6-py310ha75aee5_0
h2 conda-forge/noarch::h2-4.1.0-pyhd8ed1ab_1
hpack conda-forge/noarch::hpack-4.0.0-pyhd8ed1ab_1
hyperframe conda-forge/noarch::hyperframe-6.0.1-pyhd8ed1ab_1
idna conda-forge/noarch::idna-3.10-pyhd8ed1ab_1
importlib_resourc~ conda-forge/noarch::importlib_resources-6.5.2-pyhd8ed1ab_0
jinja2 conda-forge/noarch::jinja2-3.1.5-pyhd8ed1ab_0
joblib conda-forge/noarch::joblib-1.4.2-pyhd8ed1ab_1
json5 conda-forge/noarch::json5-0.10.0-pyhd8ed1ab_1
jsonpatch conda-forge/noarch::jsonpatch-1.33-pyhd8ed1ab_1
jsonpointer conda-forge/linux-64::jsonpointer-3.0.0-py310hff52083_1
jsonschema conda-forge/noarch::jsonschema-4.23.0-pyhd8ed1ab_1
jsonschema-specif~ conda-forge/noarch::jsonschema-specifications-2024.10.1-pyhd8ed1ab_1
keyutils conda-forge/linux-64::keyutils-1.6.1-h166bdaf_0
krb5 conda-forge/linux-64::krb5-1.21.3-h659f571_0
libarchive conda-forge/linux-64::libarchive-3.7.7-h4585015_3
libcurl conda-forge/linux-64::libcurl-8.11.1-h332b0f4_0
libedit conda-forge/linux-64::libedit-3.1.20240808-pl5321h7949ede_0
libev conda-forge/linux-64::libev-4.33-hd590300_2
libiconv conda-forge/linux-64::libiconv-1.17-hd590300_2
liblief conda-forge/linux-64::liblief-0.14.1-h5888daf_2
libmamba conda-forge/linux-64::libmamba-1.5.12-h49b8a8d_0
libmambapy conda-forge/linux-64::libmambapy-1.5.12-py310h446c2ae_0
libnghttp2 conda-forge/linux-64::libnghttp2-1.64.0-h161d5f1_0
libsolv conda-forge/linux-64::libsolv-0.7.30-h3509ff9_0
libssh2 conda-forge/linux-64::libssh2-1.11.1-hf672d98_0
libstdcxx conda-forge/linux-64::libstdcxx-14.2.0-hc0a3c3a_1
libstdcxx-ng conda-forge/linux-64::libstdcxx-ng-14.2.0-h4852527_1
libxml2 conda-forge/linux-64::libxml2-2.13.5-h0d44e9d_1
lz4-c conda-forge/linux-64::lz4-c-1.10.0-h5888daf_1
lzo conda-forge/linux-64::lzo-2.10-hd590300_1001
markdown-it-py conda-forge/noarch::markdown-it-py-3.0.0-pyhd8ed1ab_1
markupsafe conda-forge/linux-64::markupsafe-3.0.2-py310h89163eb_1
mdurl conda-forge/noarch::mdurl-0.1.2-pyhd8ed1ab_1
menuinst conda-forge/linux-64::menuinst-2.2.0-py310hff52083_0
more-itertools conda-forge/noarch::more-itertools-10.5.0-pyhd8ed1ab_1
packaging conda-forge/noarch::packaging-24.2-pyhd8ed1ab_2
patch conda-forge/linux-64::patch-2.7.6-h7f98852_1002
patchelf conda-forge/linux-64::patchelf-0.17.2-h58526e2_0
pkginfo conda-forge/noarch::pkginfo-1.12.0-pyhd8ed1ab_1
pkgutil-resolve-n~ conda-forge/noarch::pkgutil-resolve-name-1.3.10-pyhd8ed1ab_2
platformdirs conda-forge/noarch::platformdirs-4.3.6-pyhd8ed1ab_1
pluggy conda-forge/noarch::pluggy-1.5.0-pyhd8ed1ab_1
prompt-toolkit conda-forge/noarch::prompt-toolkit-3.0.48-pyha770c72_1
prompt_toolkit conda-forge/noarch::prompt_toolkit-3.0.48-hd8ed1ab_1
psutil conda-forge/linux-64::psutil-6.1.1-py310ha75aee5_0
py-lief conda-forge/linux-64::py-lief-0.14.1-py310hf71b8c6_2
pybind11-abi conda-forge/noarch::pybind11-abi-4-hd8ed1ab_3
pycosat conda-forge/linux-64::pycosat-0.6.6-py310ha75aee5_2
pycparser conda-forge/noarch::pycparser-2.22-pyh29332c3_1
pygments conda-forge/noarch::pygments-2.19.1-pyhd8ed1ab_0
pysocks conda-forge/noarch::pysocks-1.7.1-pyha55dd90_7
python-libarchive~ conda-forge/linux-64::python-libarchive-c-5.1-py310hff52083_1
python_abi conda-forge/linux-64::python_abi-3.10-5_cp310
pytz conda-forge/noarch::pytz-2024.2-pyhd8ed1ab_1
pyyaml conda-forge/linux-64::pyyaml-6.0.2-py310ha75aee5_1
referencing conda-forge/noarch::referencing-0.35.1-pyhd8ed1ab_1
reproc conda-forge/linux-64::reproc-14.2.5.post0-hb9d3cd8_0
reproc-cpp conda-forge/linux-64::reproc-cpp-14.2.5.post0-h5888daf_0
requests conda-forge/noarch::requests-2.32.3-pyhd8ed1ab_1
rich conda-forge/noarch::rich-13.9.4-pyhd8ed1ab_1
ripgrep conda-forge/linux-64::ripgrep-14.1.1-h8fae777_0
rpds-py conda-forge/linux-64::rpds-py-0.22.3-py310h505e2c1_0
ruamel.yaml conda-forge/linux-64::ruamel.yaml-0.18.10-py310ha75aee5_0
ruamel.yaml.clib conda-forge/linux-64::ruamel.yaml.clib-0.2.8-py310ha75aee5_1
sniffio conda-forge/noarch::sniffio-1.3.1-pyhd8ed1ab_1
soupsieve conda-forge/noarch::soupsieve-2.5-pyhd8ed1ab_1
tomli conda-forge/noarch::tomli-2.2.1-pyhd8ed1ab_1
tqdm conda-forge/noarch::tqdm-4.67.1-pyhd8ed1ab_1
truststore conda-forge/noarch::truststore-0.10.0-pyhd8ed1ab_0
typing_extensions conda-forge/noarch::typing_extensions-4.12.2-pyha770c72_1
urllib3 conda-forge/noarch::urllib3-2.3.0-pyhd8ed1ab_0
watchgod conda-forge/noarch::watchgod-0.8.2-pyhd8ed1ab_1
wcwidth conda-forge/noarch::wcwidth-0.2.13-pyhd8ed1ab_1
yaml conda-forge/linux-64::yaml-0.2.5-h7f98852_2
yaml-cpp conda-forge/linux-64::yaml-cpp-0.8.0-h59595ed_0
zipp conda-forge/noarch::zipp-3.21.0-pyhd8ed1ab_1
zstandard conda-forge/linux-64::zstandard-0.23.0-py310ha39cb0e_1
zstd conda-forge/linux-64::zstd-1.5.6-ha6fb4c9_0
Downloading and Extracting Packages: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
INFO:conda_index.index.convert_cache:Migrate database
INFO:conda_index.index.convert_cache:CONVERT .cache
INFO:conda_index.index.convert_cache:Migrate database
INFO:conda_index.index:noarch cached 0 B from 0 packages at 0 B/second
INFO:conda_index.index:Subdir: noarch Gathering repodata
INFO:conda_index.index:noarch Writing pre-patch repodata
INFO:conda_index.index:noarch Applying patch instructions
INFO:conda_index.index:noarch Writing patched repodata
INFO:conda_index.index:noarch Building current_repodata subset
INFO:conda_index.index:noarch Writing current_repodata subset
INFO:conda_index.index:noarch Writing index HTML
INFO:conda_index.index:Completed noarch
INFO:conda_index.index:Channeldata subdir: noarch
Updating build index: /home/runner/work/CIL/CIL/recipe
Copying /home/runner/work/CIL/CIL to /usr/share/miniconda/envs/test/conda-bld/cil_1736332043613/work/
Adding in variants from internal_defaults
Adding in variants from /home/runner/work/CIL/CIL/recipe/conda_build_config.yaml
Adding in variants from config.variant
WARNING: No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.22
Attempting to finalize metadata for cil
warning libmamba Cache file "/home/runner/conda_pkgs_dir/cache/497deca9.json" was modified by another program
warning libmamba Cache file "/home/runner/conda_pkgs_dir/cache/09cdf8bf.json" was modified by another program
warning libmamba Cache file "/home/runner/conda_pkgs_dir/cache/47929eba.json" was modified by another program
warning libmamba Cache file "/home/runner/conda_pkgs_dir/cache/3e39a7aa.json" was modified by another program
warning libmamba Cache file "/home/runner/conda_pkgs_dir/cache/2ce54b42.json" was modified by another program
warning libmamba Cache file "/home/runner/conda_pkgs_dir/cache/4ea078d6.json" was modified by another program
warning libmamba Cache file "/home/runner/conda_pkgs_dir/cache/47929eba.json" was modified by another program
warning libmamba Cache file "/home/runner/conda_pkgs_dir/cache/3e39a7aa.json" was modified by another program
warning libmamba Cache file "/home/runner/conda_pkgs_dir/cache/2ce54b42.json" was modified by another program
warning libmamba Cache file "/home/runner/conda_pkgs_dir/cache/4ea078d6.json" was modified by another program
Reloading output folder: /home/runner/work/CIL/CIL/recipe
Reloading output folder: /home/runner/work/CIL/CIL/recipe
Reloading output folder: /home/runner/work/CIL/CIL/recipe
Traceback (most recent call last):
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/core/index.py", line 289, in data
return self._data
AttributeError: 'Index' object has no attribute '_data'. Did you mean: 'data'?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/urllib3/response.py", line 754, in _error_catcher
yield
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/urllib3/response.py", line 900, in _raw_read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
urllib3.exceptions.IncompleteRead: IncompleteRead(3208879 bytes read, 37901961 more expected)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/requests/models.py", line 820, in generate
yield from self.raw.stream(chunk_size, decode_content=True)
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/urllib3/response.py", line 1066, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/urllib3/response.py", line 983, in read
data = self._raw_read(amt)
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/urllib3/response.py", line 878, in _raw_read
with self._error_catcher():
File "/usr/share/miniconda/envs/test/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/urllib3/response.py", line 778, in _error_catcher
raise ProtocolError(arg, e) from e
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(3208879 bytes read, 37901961 more expected)', IncompleteRead(3208879 bytes read, 37901961 more expected))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/gateways/repodata/init.py", line 203, in conda_http_errors
yield
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/gateways/repodata/jlap/interface.py", line 87, in repodata_parsed
repodata_json_or_none = fetch.request_url_jlap_state(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/gateways/repodata/jlap/fetch.py", line 309, in request_url_jlap_state
response = download_and_hash(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/gateways/repodata/jlap/fetch.py", line 258, in download_and_hash
for block in response.iter_content(chunk_size=1 << 14):
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/requests/models.py", line 822, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(3208879 bytes read, 37901961 more expected)', IncompleteRead(3208879 bytes read, 37901961 more expected))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/miniconda/envs/test/bin/conda-mambabuild", line 10, in
sys.exit(main())
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/boa/cli/mambabuild.py", line 301, in main
call_conda_build(action, config)
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/boa/cli/mambabuild.py", line 273, in call_conda_build
result = api.build(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/api.py", line 250, in build
return build_tree(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/build.py", line 3638, in build_tree
packages_from_this = build(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/build.py", line 2308, in build
output_metas = expand_outputs([(m, need_source_download, need_reparse_in_env)])
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/render.py", line 916, in expand_outputs
for output_dict, m in deepcopy(_m).get_output_metadata_set(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/metadata.py", line 2737, in get_output_metadata_set
conda_packages = finalize_outputs_pass(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/metadata.py", line 1095, in finalize_outputs_pass
fm = finalize_metadata(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/render.py", line 650, in finalize_metadata
build_unsat, host_unsat = add_upstream_pins(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/render.py", line 465, in add_upstream_pins
build_deps, build_unsat, extra_run_specs_from_build = _read_upstream_pin_files(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/render.py", line 453, in _read_upstream_pin_files
extra_run_specs = get_upstream_pins(m, precs, env)
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/render.py", line 425, in get_upstream_pins
loc, dist = execute_download_actions(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/render.py", line 328, in execute_download_actions
index, _, _ = get_build_index(
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda_build/index.py", line 134, in get_build_index
expanded_channels = {rec.channel for rec in cached_index}
File "/usr/share/miniconda/envs/test/lib/python3.10/collections/init.py", line 1115, in iter
return iter(self.data)
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/core/index.py", line 291, in data
self._realize()
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/core/index.py", line 354, in _realize
self._data.update((prec, prec) for prec in subdir_data.iter_records())
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/core/subdir_data.py", line 284, in iter_records
self.load()
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/core/subdir_data.py", line 255, in load
_internal_state = self._load()
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/core/subdir_data.py", line 301, in _load
repodata, state = fetcher.fetch_latest_parsed()
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/gateways/repodata/init.py", line 730, in fetch_latest_parsed
parsed, state = self.fetch_latest()
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/gateways/repodata/init.py", line 847, in fetch_latest
raw_repodata = repo.repodata_parsed(cache.state) # type: ignore
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/gateways/repodata/jlap/interface.py", line 86, in repodata_parsed
with conda_http_errors(self._url, self._repodata_fn):
File "/usr/share/miniconda/envs/test/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/usr/share/miniconda/envs/test/lib/python3.10/site-packages/conda/gateways/repodata/init.py", line 346, in conda_http_errors
raise CondaHTTPError(
conda.exceptions.CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/linux-64/repodata.json
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
'https//conda.anaconda.org/conda-forge/linux-64'
Beta Was this translation helpful? Give feedback.
All reactions