Closed shahzebsiddiqui closed 2 years ago
Hi Shahzeb, I wanted to acknowledge that we are now aware of the issue and are able to reproduce the same error both on Cori and, separately, on an entirely different system. We are in the process of narrowing down the issue and will post an update here ASAP. Thank you for bringing this to our attention.
Hi Shahzeb, I tracked the problem down to a recent upgrade on Cori. As part of the upgrade Python's urllib
module was upgraded. The new urllib
implementation broke assumptions Spack made at the time E4S 21.05 was released in May 2021. I have cherry-picked a patch onto the E4S 21.05 deployment at Cori. Can you try again and verify that the problem is corrected?
Hi Luke,
Yes i was able to confirm the changes for time being i was able to get some of this working
~/ module load e4s/21.05
~/ spack buildcache list -Lv | wc -l
501
~/ spack find --format "{name}" | wc -l
157
I was able to reinstall the GPG key so this looks good so far
~/ spack -d buildcache keys -it
==> [2022-05-13-08:10:47.940845] Imported buildcache from built-in commands
==> [2022-05-13-08:10:47.943579] Imported buildcache from built-in commands
==> [2022-05-13-08:10:47.945106] Reading config file /global/common/software/spackecp/e4s-21.05/spack/etc/spack/defaults/mirrors.yaml
==> [2022-05-13-08:10:47.947183] Reading config file /global/common/software/spackecp/e4s-21.05/spack/etc/spack/mirrors.yaml
==> [2022-05-13-08:10:47.948979] Reading config file /global/common/software/spackecp/e4s-21.05/spack/var/spack/environments/e4s/spack.yaml
==> [2022-05-13-08:10:48.056097] Finding public keys in https://cache.e4s.io/21.05
==> [2022-05-13-08:10:48.382165] Warning: Expected /tmp/user to have group 0, but it is 92503
==> [2022-05-13-08:10:48.382764] Creating stage lock build_cache
==> [2022-05-13-08:10:48.383553] Checking existence of https://cache.e4s.io/21.05/build_cache/_pgp/25645FA2B218FE55B4EF649E4345F04B40005581.pub
==> [2022-05-13-08:10:48.387041] '/usr/bin/curl' '--stderr' '-' '-s' '-f' '-r' '0-0' 'https://cache.e4s.io/21.05/build_cache/_pgp/25645FA2B218FE55B4EF649E4345F04B40005581.pub'
==> [2022-05-13-08:10:48.735441] Fetching https://cache.e4s.io/21.05/build_cache/_pgp/25645FA2B218FE55B4EF649E4345F04B40005581.pub
==> [2022-05-13-08:10:48.737010] '/usr/bin/curl' '-C' '-' '-o' '/tmp/user/spack-stage/siddiq90/build_cache/25645FA2B218FE55B4EF649E4345F04B40005581.pub.part' '-f' '-D' '-' '-L' 'https://cache.e4s.io/21.05/build_cache/_pgp/25645FA2B218FE55B4EF649E4345F04B40005581.pub' '-#' '--connect-timeout' '10'
###################################################################################################################################################################################### 100.0%
==> [2022-05-13-08:10:49.124310] Found key 25645FA2B218FE55B4EF649E4345F04B40005581
==> [2022-05-13-08:10:49.126575] '/usr/bin/gpgconf' '--version'
==> [2022-05-13-08:10:49.134829] '/usr/bin/gpgconf' '--dry-run' '--create-socketdir'
gpgconf: socketdir is '/run/user/92503/gnupg'
==> [2022-05-13-08:10:49.141661] '/usr/bin/gpg2' '--version'
==> [2022-05-13-08:10:49.165876] '/usr/bin/gpgconf' '--create-socketdir'
==> [2022-05-13-08:10:49.172147] '/usr/bin/gpg2' '--import' '/tmp/user/spack-stage/siddiq90/build_cache/25645FA2B218FE55B4EF649E4345F04B40005581.pub'
gpg: key 4345F04B40005581: "University of Oregon - E4S" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
==> [2022-05-13-08:10:49.181653] Added this key to trusted keys.
==> [2022-05-13-08:10:49.182398] Finding public keys in https://spack-llnl-mirror.s3-us-west-2.amazonaws.com/
Appreciate your help.
Name of Software
E4S
URL for Software
https://e4s.io/
Contact Details
shahzebsiddiqui@lbl.gov
HPC System
Cori
Request Description
There is an issue with E4S/21.05 modulefile on Cori which was provided by E4S team see https://docs.nersc.gov/applications/e4s/cori/21.05/.
The issue is that we can't get the GPG key or see the buildcache content. I am not sure why this happened but all of a sudden it stopped working and it was reported by user ticket INC0184927
Here is the code in debug mode which is hitting a python bug. Note this working in past and i don't see anything change except the Operating System was upgraded
the HEAD commit for spack is
Version of spack
When installing GPG key we should get it set in our home directory, this is already taken care of in modulefile
Content of our modulefile
I already have the GPG installed since i trusted the key before we had this problem. The gpg key is the last one with ID 25645FA2B218FE55B4EF649E4345F04B40005581
We cant list content of buildcache which is hitting same error.
Relevant log output
No response
Reproduce Bug