Skip to content

Add option to ignore errors when creating build caches for multiple packages at once#35601

Closed
climbfuji wants to merge 9 commits intospack:developfrom
climbfuji:feature/buildcaches_skip_on_error_spack_authoritative
Closed

Add option to ignore errors when creating build caches for multiple packages at once#35601
climbfuji wants to merge 9 commits intospack:developfrom
climbfuji:feature/buildcaches_skip_on_error_spack_authoritative

Conversation

@climbfuji
Copy link
Copy Markdown
Contributor

@climbfuji climbfuji commented Feb 21, 2023

Description

Fixes #35602

Update lib/spack/spack/binary_distribution.py and lib/spack/spack/cmd/buildcache.py to enable building build caches for multiple packages without aborting after failures.

This is done by creating a new command line argument (boolean flag) --skip-on-error for spack buildcache create, which makes spack ignore errors when creating the tarball (binary cache) for a specific package. The package is then "rolled back", i.e. it never ends up in the binary cache.

The PR also removes the unused argument allow_root from subroutine relocate_package.

…/buildcache.py to enable building build caches for multiple packages without aborting after failures
@spackbot-app spackbot-app bot added binary-packages commands core PR affects Spack core functionality labels Feb 21, 2023
@climbfuji climbfuji force-pushed the feature/buildcaches_skip_on_error_spack_authoritative branch from c0d8402 to 4326b29 Compare February 21, 2023 17:38
@haampie
Copy link
Copy Markdown
Member

haampie commented Feb 22, 2023

I don't think we want to drop Python cache files, it gives a speedup for users who don't have write permission to the spack store.

@climbfuji
Copy link
Copy Markdown
Contributor Author

I don't think we want to drop Python cache files, it gives a speedup for users who don't have write permission to the spack store.

But if I don't add this several more Python packages fail with bad marshal data errors.

@haampie
Copy link
Copy Markdown
Member

haampie commented Feb 22, 2023

Can you give an example for which that happens?

@climbfuji
Copy link
Copy Markdown
Contributor Author

Can you give an example for which that happens?

Yup, I just started doing that (removing the code that removes the pycache and pyc files and rebuilding the entire build cache). This takes a while.

@haampie
Copy link
Copy Markdown
Member

haampie commented Feb 22, 2023

Ok, I haven't seen this on Linux, so I wonder if relocation logic breaks python cache files on macOS

@climbfuji
Copy link
Copy Markdown
Contributor Author

Ok, I haven't seen this on Linux, so I wonder if relocation logic breaks python cache files on macOS

Oh that's interesting, I just reran the build cache creation and the error I have been getting in the past with the bad marshal data is no longer there (cont'd below):

==> Warning: Error while creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~ipo+pic build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64 ^ca-certificates-mozilla@2022-10-11%[email protected] build_system=generic arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl~pci~rocm build_system=autotools libs=shared,static arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+openssl build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools libs=shared,static arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~python build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~symlinks+termlib abi=none build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~ipo+mpi build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~atomics~cuda~cxx~cxx_exceptions~gpfs+internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+two_level_namespace+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+gssapi build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~docs~shared build_system=generic certs=mozilla arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~cpanm+shared+threads build_system=generic arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+internal_glib build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo patches=4126d42 arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~pic build_system=autotools libs=shared,static arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+optimize+pic+shared build_system=makefile arch=darwin-monterey-x86_64", skip: Unknown Mach-O header: 0x7f454c46 in <_io.BufferedReader name='/var/folders/gb/w8lys0xn3c35rbw_5vfq4mkxxgj2gv/T/tmp0_p41et7/nemsiogfs-2.5.3-gkg464c/share/nemsiogfs/src/tests/code/global_chgres'>

==> Warning: Error while creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=bundle arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~debug~pic+shared build_system=generic arch=darwin-monterey-x86_64 ^ca-certificates-mozilla@2022-10-11%[email protected] build_system=generic arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+gssapi+ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs=shared,static tls=secure_transport arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~libbsd build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~cxx+fortran+hl~ipo~java+mpi+shared+szip+threadsafe+tools api=default build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl~pci~rocm build_system=autotools libs=shared,static arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~ipo+shared build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+openssl build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools libs=shared,static arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+shared build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~python build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+sigsegv build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~symlinks+termlib abi=none build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~byterange+dap~fismahigh~fsync~hdf4~jna+mpi+nczarr+optimize~parallel-netcdf+pic+shared+zstd build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~atomics~cuda~cxx~cxx_exceptions~gpfs+internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+two_level_namespace+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+gssapi build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~docs~shared build_system=generic certs=mozilla arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~cpanm+shared+threads build_system=generic arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=makefile arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+internal_glib build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools zip=pigz arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~pic build_system=autotools libs=shared,static arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+optimize+pic+shared build_system=makefile arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+programs build_system=makefile compression=none libs=shared,static arch=darwin-monterey-x86_64", skip: Unknown Mach-O header: 0x7f454c46 in <_io.BufferedReader name='/var/folders/gb/w8lys0xn3c35rbw_5vfq4mkxxgj2gv/T/tmpar_dkix5/ncview-2.1.8-aslduvl/share/ncview/src/geteuid'>

==> Warning: Error while creating buildcache for "[email protected]%[email protected]+fix~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64 ^ca-certificates-mozilla@2022-10-11%[email protected] build_system=generic arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+gssapi+ldap~libidn2~librtmp~libssh~libssh2+nghttp2 build_system=autotools libs=shared,static tls=secure_transport arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~fismahigh~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=makefile arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~cxx+fortran+hl~ipo~java+mpi+shared+szip+threadsafe+tools api=default build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl~pci~rocm build_system=autotools libs=shared,static arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~ipo+shared build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+openssl build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools libs=shared,static arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~python build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+sigsegv build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~symlinks+termlib abi=none build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~byterange+dap~fismahigh~fsync~hdf4~jna+mpi+nczarr+optimize~parallel-netcdf+pic+shared+zstd build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~doc+pic+shared build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~atomics~cuda~cxx~cxx_exceptions~gpfs+internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+two_level_namespace+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+gssapi build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~docs~shared build_system=generic certs=mozilla arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~cpanm+shared+threads build_system=generic arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+internal_glib build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~pic build_system=autotools libs=shared,static arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+optimize+pic+shared build_system=makefile arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+programs build_system=makefile compression=none libs=shared,static arch=darwin-monterey-x86_64", skip: Unknown Mach-O header: 0x7f454c46 in <_io.BufferedReader name='/var/folders/gb/w8lys0xn3c35rbw_5vfq4mkxxgj2gv/T/tmp45byj8ds/crtm-v2.4-jedi.2-memvon2/share/crtm/src/src/Build/CMakeFiles/3.16.0/CompilerIdFortran/a.out'>

==> Pushing binary packages to file:///Users/heinzell/prod/spack-build-cache//build_cache
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+multiple_headers build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=Release arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~doc+pic+shared build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+libyaml build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~external-xdr~fortran~java~netcdf+pic~shared~szip build_system=autotools patches=49733dd,5434f29,ce75518,d54592d,f7d67e8 arch=darwin-monterey-x86_64"
==> Creating buildcache for "shumlib@macos_clang_linux_intel_port%[email protected] build_system=makefile arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo~openmp build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~burstbuffer+cxx+fortran+pic+shared build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=bundle arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+jpeg+proj+zlib build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~aec~fortran~ipo~memfs~netcdf~openmp~png~pthreads+shared~tools build_system=cmake build_type=RelWithDebInfo definitions=auto jp2k=openjpeg samples=auto arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+gmock~ipo+pthreads+shared build_system=cmake build_type=RelWithDebInfo cxxstd=11 arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+blas+lapack build_system=python_pip patches=873745d,e9508c3 arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~cmake_export_package_registry~compat_header~cuda_tests~examples~ipo~legacy_headers~static_analysis_demos~tests build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "ufs-weather-model-env@unified-dev%[email protected]+debug+python build_system=bundle arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+double_precision+fftw~ipo~mkl+mpi+openmp+single_precision+transi build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ows+plotting build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+jpeg~opengl+shared build_system=generic build_type=Release arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~io~parallel build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+curl~tiff build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+64bit+fpic+gfs_phys~ipo+openmp+quad_precision~yaml build_system=cmake build_type=RelWithDebInfo constants=GFS arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+openmp+pic build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "libbacktrace@2020-02-19%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+pic build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~atomic+chrono~clanglibcpp~container~context~contract~coroutine+date_time~debug+exception~fiber+filesystem~graph~graph_parallel~icu~iostreams~json~locale~log~math~mpi+multithreaded~nowide~numpy+pic+program_options+python~random+regex+serialization+shared~signals~singlethreaded~stacktrace+system~taggedlayout+test+thread+timer~type_erasure~versionedlayout~wave build_system=generic cxxstd=14 patches=a440f96,b8569d7 visibility=hidden arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~armadillo~arrow~basisu~blosc~brunsli~cfitsio~crnlib~cryptopp~csharp+curl~deflate~ecw+expat~filegdb~freexl~fyba+geos~gif~gta~hdf4~hdf5~hdfs~heif~iconv~idb~ipo~java+jpeg~jxl~kdu~kea~lerc~libcsf~libkml~liblzma~libxml2~luratech~lz4~mongocxx~mrsid~mssql_ncli~mssql_odbc~mysql~netcdf~odbc~odbccpp~ogdi~opencad~opencl~openexr~openjpeg~openssl~oracle~parquet~pcidsk~pcre~pdfium+png~podofo~poppler~postgresql+python~qb3~qhull~rasdaman~rasterlite2~rdb~sfcgal~spatialite+sqlite3~teigha~tiledb~webp~xercesc~zstd build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~codec~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~pic build_system=autotools libs=shared,static arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~atomics~cuda~cxx~cxx_exceptions~gpfs+internal-hwloc~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+two_level_namespace+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+eigen+fckit+fftw~fismahigh~ipo+openmp+shared+trans build_system=cmake build_type=RelWithDebInfo patches=569103b arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~byterange+dap~fismahigh~fsync~hdf4~jna+mpi+nczarr+optimize~parallel-netcdf+pic+shared+zstd build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~doc build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+pic build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+mpi build_system=python_pip patches=255b5ae arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+optimize+pic+shared build_system=makefile arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo patches=4126d42 arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~socks build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "ufs-weather-model-env@unified-dev%[email protected]~debug+python build_system=bundle arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "fms@release-jcsda%[email protected]+64bit+gfs_phys~ipo+openmp+quad_precision build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=generic arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~libbsd build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~python build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~debug~external-lapack+mpi+netcdf~parallelio+pio~pnetcdf+shared~xerces build_system=makefile esmf_comm=auto esmf_os=auto snapshot=b09 arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~fortran~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "jedi-tools-env@unified-dev%[email protected]~latex build_system=bundle arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+ssl~static_boost+ui build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "jedi-um-env@unified-dev%[email protected] build_system=bundle arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo patches=4ce3bf5 arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+fckit~ipo+mpi+openmp build_system=cmake build_type=RelWithDebInfo patches=402bd27 arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~freetype~imagequant+jpeg~jpeg2000~lcms~raqm~tiff~webp~xcb+zlib build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo~openmp build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools libs=shared,static arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+openssl build_system=autotools arch=darwin-monterey-x86_64"

==> Warning: Error while creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=bundle arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~debug~pic+shared build_system=generic arch=darwin-monterey-x86_64 ^ca-certificates-mozilla@2022-10-11%[email protected] build_system=generic arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~libbsd build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+tar+xz build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools libs=shared,static arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~obsolete_api build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~python build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~symlinks+termlib abi=none build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~docs~shared build_system=generic certs=mozilla arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~cpanm+shared+threads build_system=generic arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=makefile arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+internal_glib build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=generic arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=generic arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=generic arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools patches=bbf97f1 arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=darwin-monterey-x86_64 ^[email protected]%[email protected] build_system=autotools zip=pigz arch=darwin-monterey-x86_64 ^[email protected]%[email protected]~pic build_system=autotools libs=shared,static arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+optimize+pic+shared build_system=makefile arch=darwin-monterey-x86_64 ^[email protected]%[email protected]+programs build_system=makefile compression=none libs=shared,static arch=darwin-monterey-x86_64", skip: Unknown Mach-O header: 0x7f454c46 in <_io.BufferedReader name='/var/folders/gb/w8lys0xn3c35rbw_5vfq4mkxxgj2gv/T/tmphb572ed1/py-packaging-21.3-vpoqjx7/share/py-packaging/src/tests/manylinux/hello-world-armv7l-armel'>

==> Creating buildcache for "[email protected]%[email protected]~docs~ipo+openmp+postexec~wrf-io build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~cxx+fortran+hl~ipo~java+mpi+shared+szip+threadsafe+tools api=default build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+openmp+pic build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~curl~external-grib1+fftw3+hdf5+libxml2~magics+netcdf+openmp+proj+szip+udunits2 build_system=autotools grib2=eccodes arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo~jpeg8+shared+static build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~i18n build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+aec~disable_alarm~disable_timezone+fortran_api~g2c+jasper~mysql+netcdf3~netcdf4~openmp+png~proj4+regex~spectral+tigge~udf~wmo_validation build_system=makefile ipolates=3 arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~brotli~secure~socks build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "ufs-srw-app-env@unified-dev%[email protected]+python build_system=bundle arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+shared build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+mpi~openmp~pfft_patches build_system=autotools precision=double,float arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools patches=bbf97f1 arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo~multicompat build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+programs build_system=makefile compression=none libs=shared,static arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "jedi-ewok-env@unified-dev%[email protected]~ewok~r2d2~solo build_system=bundle arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~fismahigh~ipo build_system=cmake build_type=Release arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~doc+pic+shared build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~external-cblas build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+fftw+hdf4+python build_system=bundle arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~debug+esma_gfe_namespace~extdata2g~flap~ipo~pflogger+pnetcdf+shared build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+fix~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+internal_glib build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+column_metadata+dynamic_extensions+fts~functions+rtree build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+ccitt~ipo~jbig+jpeg~jpeg12~lerc~libdeflate+logluv~lzma+lzw+next~old-jpeg+packbits~pixarlog+thunder~webp+zlib~zstd build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "jedi-fv3-env@unified-dev%[email protected] build_system=bundle arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~symlinks+termlib abi=none build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+debug+esma_gfe_namespace~extdata2g~flap~ipo~pflogger+pnetcdf+shared build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+jasper~openjpeg+pic+png build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~fismahigh~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=makefile libs=shared,static arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+admin+aio~curl~fismahigh~ipo~jemalloc+mpi+openmp+shared+sql~ssl+tools+unicode+xxhash build_system=cmake build_type=RelWithDebInfo compression=bzip2,lz4 linalg=eigen,lapack arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip patches=aacf879 arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=makefile arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools zip=pigz arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+eckit~fismahigh~ipo+openmp+shared build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~bignuma~consistent_fpcsr~ilp64+locking+noavx512+pic+shared build_system=makefile symbol_suffix=none threads=none arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]_emc%[email protected]+big_endian~little_endian+netcdf build_system=generic arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+mpi build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~docs~shared build_system=generic certs=mozilla arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+fix~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~obsolete_api build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~crypto build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+mpi build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+shared build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+cxx~java~python build_system=autotools patches=33897ad arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~debug~pic+shared build_system=generic arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo build_system=cmake build_type=Release arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=bundle arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+debug~external-lapack+mpi+netcdf~parallelio+pio~pnetcdf+shared~xerces build_system=makefile esmf_comm=auto esmf_os=auto snapshot=b09 arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=generic arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+serial build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=autotools arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+python+shared~tests build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~cairo~cuda~gl~libudev+libxml2~netloc~nvml~oneapi-level-zero~opencl~pci~rocm build_system=autotools libs=shared,static arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~animation~fonts~latex~movies backend=macosx build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo+pic build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected] build_system=python_pip arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]+fortran~ipo~logging+mpi+pnetcdf+shared~timing build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"
==> Creating buildcache for "[email protected]%[email protected]~ipo~mkl build_system=cmake build_type=RelWithDebInfo arch=darwin-monterey-x86_64"

My wild guess is that this is because we switched from using an external Python interpreter (homebrew) to letting spack build Python. I'll remove the lines dealing with the __pycache__ and *.pyc files. Thanks for checking on that, I would not have tried without it again.

@climbfuji climbfuji force-pushed the feature/buildcaches_skip_on_error_spack_authoritative branch from 655979e to 3c009bf Compare February 22, 2023 21:35
@climbfuji
Copy link
Copy Markdown
Contributor Author

@haampie How does this look to you know, without the Python-related changes?

@climbfuji
Copy link
Copy Markdown
Contributor Author

@haampie Friendly reminder about this PR. I'll update the documentation after we agree on the code changes. Thanks a lot!

@climbfuji
Copy link
Copy Markdown
Contributor Author

@haampie Friendly reminder to check out this PR if you have time, thank you!

@climbfuji
Copy link
Copy Markdown
Contributor Author

This used to pass all the CI tests, but now that it has aged I need to go in fix failing style tests.

@haampie
Copy link
Copy Markdown
Member

haampie commented Mar 16, 2023

Sorry, I didn't get to this because in my opinion what you're catching is Spack bugs, so the flag might as well be --continue-on-spack-bugs. Imho the underlying issue should be fixed instead of ignored.

I can understand you want a mode where Spack runs best effort; a single upload failure doesn't cause the rest to be skipped. But in that case I would still want an error exit code.

Can you instead change the default to be best effort, and add a flag --fail-fast? This has precedence in spack install. --skip-on-error can be interpreted in two ways.

See also #36141 (comment)

@climbfuji
Copy link
Copy Markdown
Contributor Author

Sorry, I didn't get to this because in my opinion what you're catching is Spack bugs, so the flag might as well be --continue-on-spack-bugs. Imho the underlying issue should be fixed instead of ignored.

I can understand you want a mode where Spack runs best effort; a single upload failure doesn't cause the rest to be skipped. But in that case I would still want an error exit code.

Can you instead change the default to be best effort, and add a flag --fail-fast? This has precedence in spack install. --skip-on-error can be interpreted in two ways.

See also #36141 (comment)

Thanks @haampie. To clarify, before I spend time developing in the wrong direction: Add an option --fail-fast that acts like the spack install --fail-fast option. By default, --fail-fast is off, and spack is making best efforts - it is going to create a build cache for whatever it can, but it must return with an error at the very end (and ideally a summary of failures) if creating build caches for one or more packages failed.

I think that's great, because it makes spack buildcache create [without listing a specific package, i.e. for an entire environment] behave in the same way as spack mirror create -a [i.e. for an entire environment].

I can work on this tomorrow if my summary is correct.

@haampie
Copy link
Copy Markdown
Member

haampie commented Mar 17, 2023

Yes, exactly! 🙃 It'd be wise to work on top of #36141, you just need to add an additional catch all except in cmd/buildcache.py, instead of in binary_distribution.py

@climbfuji
Copy link
Copy Markdown
Contributor Author

Turns out we don't need this anymore. The latest spack code (we pulled it into our fork) doesn't abort with an error (but spits out an error message) when creating a build cache package as part of a whole set of build cache packages fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

binary-packages commands core PR affects Spack core functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify the process of creating build caches for multiple packages at once

2 participants