compiler-explorer / compiler-explorer/infra

Failures with the new installer

Open
#837 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
434
Forks
429
Avg merge
4d 21h
Merged PRs (30d)
38

Description

### libraries/c++/nightly/eastl
```
2022-10-03 23:32:32,024 libraries/c++/nightly/eastl trunk INFO Cloning https://github.com/electronicarts/EASTL.git, branch: (default)
fatal: not a git repository: test/packages/EASTL/../../../../../../.git/modules/test/packages/EAAssert/modules/test/packages/EASTL
fatal: 'git status --porcelain=2' failed in submodule test/packages/EAAssert
2022-10-03 23:32:33,951 lib.ce_install INFO libraries/c++/nightly/eastl trunk failed to install: Command '['git', '-C', '/opt/compiler-explorer/libs/eastl/trunk', 'status']' returned non-zero exit status 128.
Traceback (most recent call last):
File "/home/ubuntu/infra/bin/lib/ce_install.py", line 393, in install
installable.install()
File "/home/ubuntu/infra/bin/lib/installable/git.py", line 162, in install
self.stage(staging)
File "/home/ubuntu/infra/bin/lib/installable/git.py", line 139, in stage
staged_dest = self.clone(
File "/home/ubuntu/infra/bin/lib/installable/git.py", line 72, in clone
"Bootstrapping from existing branch at %s", self._git_debug_status(staging, prior_installation)
File "/home/ubuntu/infra/bin/lib/installable/git.py", line 120, in _git_debug_status
self._git(staging, "-C", git_dir, "status")
subprocess.CalledProcessError: Command '['git', '-C', '/opt/compiler-explorer/libs/eastl/trunk', 'status']' returned non-zero exit status 128.
```

submodules woe. ISTR we had issues with that before.

### head switch
Two switched head, libraries/c++/nightly/expected-lite and libraries/c++/nightly/expected-dark with output like:L

```
Installing libraries/c++/nightly/expected-dark trunk
2022-10-03 23:40:39,089 libraries/c++/nightly/expected-dark trunk INFO Cloning https://github.com/martinmoene/expected-dark.git, branch: (default)
2022-10-03 23:40:39,580 libraries/c++/nightly/expected-dark trunk INFO Bootstrapping from existing branch at 88f7de78bf664a27a6ee105df8393984d06ab4aa
HEAD is now at 88f7de7 Add compilation and running test for C++20 to GCC and Clang (nonstd-lite-project issue 64)
2022-10-03 23:40:51,226 libraries/c++/nightly/expected-dark trunk INFO Detected remote default branch as 'master'
Warning: you are leaving 1 commit behind, not connected to
any of your branches:

88f7de7 Add compilation and running test for C++20 to GCC and Clang (nonstd-lite-project issue 64)

If you want to keep it by creating a new branch, this may be a good time
to do so with:

git branch 88f7de7

Switched to a new branch 'master'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.