andor2-sdk pipeline conda build failed
According to .gitlab-ci.yml conda-builder docker image is run with conda repo as local, mount point /conda. /conda is /segfs/bliss/source/admin/conda.
Test conda build locally on bcu-ci:
sudo su
- start docker container on image conda-builder with segfs conda repo mounted as /conda
# docker run -i -v /segfs/bliss/source/admin/conda:/conda -t docker-registry.esrf.fr/bcu/conda-builder /bin/bash
[conda@bd38a736628b ~]
- clone conda-recipes and checkout andor2-sdk branch
[conda@bd38a736628b ~]$ git clone https://gitlab.esrf.fr/bliss/conda-recipes
[conda@bd38a736628b ~]$ cd conda-recipes/
[conda@bd38a736628b conda-recipes]$ git checkout andor2-sdk
- Now run conda build as it is in gitlab-ci.yml
[conda@bd38a736628b conda-recipes]$ conda build . --prefix-length=80 --output-folder=../dist/ --channel=file://conda
WARNING: The conda.compat module is deprecated and will be removed in a future release.
No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11
Adding in variants from internal_defaults
INFO:conda_build.variants:Adding in variants from internal_defaults
Attempting to finalize metadata for andor2-sdk
INFO:conda_build.metadata:Attempting to finalize metadata for andor2-sdk
Traceback (most recent call last):
File "/opt/conda/bin/conda-build", line 11, in <module>
sys.exit(main())
File "/opt/conda/lib/python3.6/site-packages/conda_build/cli/main_build.py", line 456, in main
execute(sys.argv[1:])
File "/opt/conda/lib/python3.6/site-packages/conda_build/cli/main_build.py", line 447, in execute
verify=args.verify, variants=args.variants)
File "/opt/conda/lib/python3.6/site-packages/conda_build/api.py", line 208, in build
notest=notest, need_source_download=need_source_download, variants=variants)
File "/opt/conda/lib/python3.6/site-packages/conda_build/build.py", line 2314, in build_tree
notest=notest,
File "/opt/conda/lib/python3.6/site-packages/conda_build/build.py", line 1324, in build
output_metas = expand_outputs([(m, need_source_download, need_reparse_in_env)])
File "/opt/conda/lib/python3.6/site-packages/conda_build/render.py", line 735, in expand_outputs
for (output_dict, m) in _m.copy().get_output_metadata_set(permit_unsatisfiable_variants=False):
File "/opt/conda/lib/python3.6/site-packages/conda_build/metadata.py", line 2038, in get_output_metadata_set
bypass_env_check=bypass_env_check)
File "/opt/conda/lib/python3.6/site-packages/conda_build/metadata.py", line 721, in finalize_outputs_pass
permit_unsatisfiable_variants=permit_unsatisfiable_variants)
File "/opt/conda/lib/python3.6/site-packages/conda_build/render.py", line 509, in finalize_metadata
exclude_pattern)
File "/opt/conda/lib/python3.6/site-packages/conda_build/render.py", line 371, in add_upstream_pins
permit_unsatisfiable_variants, exclude_pattern)
File "/opt/conda/lib/python3.6/site-packages/conda_build/render.py", line 359, in _read_upstream_pin_files
permit_unsatisfiable_variants=permit_unsatisfiable_variants)
File "/opt/conda/lib/python3.6/site-packages/conda_build/render.py", line 143, in get_env_dependencies
channel_urls=tuple(m.config.channel_urls))
File "/opt/conda/lib/python3.6/site-packages/conda_build/environ.py", line 738, in get_install_actions
locking=locking, timeout=timeout)
File "/opt/conda/lib/python3.6/site-packages/conda_build/index.py", line 265, in get_build_index
channeldata_file = os.path.join(location, channel.name, 'channeldata.json')
File "/opt/conda/lib/python3.6/posixpath.py", line 94, in join
genericpath._check_arg_types('join', a, *p)
File "/opt/conda/lib/python3.6/genericpath.py", line 149, in _check_arg_types
(funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'NoneType'