-
Notifications
You must be signed in to change notification settings - Fork 54
Concretization of spack-stack@develop produces duplicate packages #1628
Description
Describe the bug
Concretization of spack-stack@develop is producing duplicates per show_duplicate_packages.py
Concretization is producing duplicates for mapl, which is expected per confgs/templates/unified-dev/spack.yaml
# Mapl with various esmf tags
- [email protected] ^[email protected]
- [email protected] ^[email protected]
However, show_duplicate_packages.py [...] -i mapl still shows (thinks) that mapl is a duplicated package.
To Reproduce
spack-stack hash: 12f6423
spack hash: 6987c34
- create / activate / concretize a
oneAPIenv util/show_duplicate_packages.py -d -i crtm -i crtm-fix -i esmf -i mapl log.concretize
It seems that, despite specifying -i mapl, there are differences. This breaks automated build / test processes.
Expected behavior
No duplicate packages when concretizing.
System:
- hercules
- orion
- ursa
Additional context
orion and hercules (different package hashes per host, but this is representative)
$ util/show_duplicate_packages.py -d -i crtm -i crtm-fix -i esmf -i mapl log.concretize
{'[email protected]/xa5ztr4hkfl4zdkhvf5zkd7rg6b4zs5s', '[email protected]/44fkxsuqk23vealrwhh3tn6x2a5k3wco'}
===
Duplicates found!
$ spack diff /xa5zt /44fkx
==> Warning: This interface is subject to change.
--- [email protected]/xa5ztr4hkfl4zdkhvf5zkd7rg6b4zs5s
+++ [email protected]/44fkxsuqk23vealrwhh3tn6x2a5k3wco
@@ hash @@
- esmf w62akv737bh4isoaix7uba74woidudwd
+ esmf 7h2jiq27pi5v6e5zxxnwt45eiotzntpf
- mapl xa5ztr4hkfl4zdkhvf5zkd7rg6b4zs5s
+ mapl 44fkxsuqk23vealrwhh3tn6x2a5k3wco
@@ package_hash @@
- esmf kgdpanfogik2fdflisnqwckdjz4bf7anweuwwpy6t6xyevtxvwaq====
+ esmf lpxjteia2eqppulz5wjceq47s6lngobkeek3fzr74kcjy7vtwoeq====
@@ version @@
- esmf 8.6.1
+ esmf 8.8.0
@@ virtual_on_edge @@
- mapl intel-oneapi-runtime fortran-rt
Note: the reference to virtual_on_edge shows up only on orion and hercules. Not clear why it doesn't show up on ursa.
ursa
$ util/show_duplicate_packages.py -d -i crtm -i crtm-fix -i esmf -i mapl log.concretize
{'[email protected]/agpmg6cdgndovljugonqh7upmhiolj7n', '[email protected]/dsizwfwmiot4g6g4gzidkrsta5jw5igf'}
===
Duplicates found!
$ spack diff /agpmg /dsizw
==> Warning: This interface is subject to change.
--- [email protected]/agpmg6cdgndovljugonqh7upmhiolj7n
+++ [email protected]/dsizwfwmiot4g6g4gzidkrsta5jw5igf
@@ hash @@
- esmf jrf7vlvjzsz4s46es263rixtstx2jyeo
+ esmf cqoeutybuscuugynhcwpttmxriazxu6u
- mapl agpmg6cdgndovljugonqh7upmhiolj7n
+ mapl dsizwfwmiot4g6g4gzidkrsta5jw5igf
@@ package_hash @@
- esmf lpxjteia2eqppulz5wjceq47s6lngobkeek3fzr74kcjy7vtwoeq====
+ esmf kgdpanfogik2fdflisnqwckdjz4bf7anweuwwpy6t6xyevtxvwaq====
@@ version @@
- esmf 8.8.0
+ esmf 8.6.1