Traceback (most recent call last):


 "./spack/bin/spack", line 68, in <module>

sys.exit(spack.main.main())


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/main.py", line 762, in main

return _invoke_command(command, parser, args, unknown)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/main.py", line 490, in _invoke_command

return_val = command(parser, args)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/cmd/install.py", line 371, in install

install_specs(args, kwargs, zip(abstract_specs, specs))


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/cmd/install.py", line 213, in install_specs

builder.install()


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/installer.py", line 1534, in install

self._install_task(task)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/installer.py", line 1117, in _install_task

self._setup_install_dir(pkg)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/installer.py", line 1270, in _setup_install_dir

spack.store.layout.create_install_directory(pkg.spec)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/spack/directory_layout.py", line 312, in create_install_directory

mkdirp(spec.prefix, mode=perms, group=group, default_perms='parents')


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/llnl/util/filesystem.py", line 630, in mkdirp

raise e


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/llnl/util/filesystem.py", line 623, in mkdirp

chgrp_if_not_world_writable(intermediate_path,


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/llnl/util/filesystem.py", line 549, in chgrp_if_not_world_writable

chgrp(path, group)


 "/net/ifs/home/jdoe/spacktest/spack/lib/spack/llnl/util/filesystem.py", line 310, in chgrp

os.chown(path, -1, gid)
OSError: [Errno 22] Invalid argument: '/net/ifs/home/jdoe/spacktest/spack/opt/spack/linux-ubuntu18.04-sandybridge'

Traceback (most recent call last):


 "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\seleniumwire\proxy\proxy2.py", line 91, in proxy_request

conn.request(self.command, path, req_body, dict(req.headers))


 "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1255, in request

self._send_request(method, url, body, headers, encode_chunked)


 "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1301, in _send_request

self.endheaders(body, encode_chunked=encode_chunked)


 "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1250, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)


 "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1010, in _send_output

self.send(msg)


 "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 950, in send

self.connect()


 "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\seleniumwire\proxy\proxy2.py", line 368, in connect

super().connect()


 "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1417, in connect

super().connect()


 "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 926, in connect

self._tunnel()


 "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 904, in _tunnel

raise OSError("Tunnel connection failed: %d %s" % (code,
OSError: Tunnel connection failed: 502 Bad Gateway
