Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI][C++] test-debian-12-cpp-amd64 failed #45510

Closed
kou opened this issue Feb 12, 2025 · 1 comment
Closed

[CI][C++] test-debian-12-cpp-amd64 failed #45510

kou opened this issue Feb 12, 2025 · 1 comment

Comments

@kou
Copy link
Member

kou commented Feb 12, 2025

Describe the bug, including details regarding any error messages, version, and platform.

https://github.com/ursacomputing/crossbow/actions/runs/13275339089/job/37063775923#step:6:312

  #8 5.422 gpg: Note: '--keyring' is not considered an option
  #8 5.422 gpg: Note: '--no-default-keyring' is not considered an option
  #8 5.422 gpg: directory '/root/.gnupg' created
  #8 5.422 gpg: keybox '/root/.gnupg/pubring.kbx' created
  #8 5.422 --2025-02-12 00:35:05--  https://apt.llvm.org/llvm-snapshot.gpg.key
  #8 5.430 Resolving apt.llvm.org (apt.llvm.org)... 146.75.94.49, 2a04:4e42:2e::561
  #8 5.781 Connecting to apt.llvm.org (apt.llvm.org)|146.75.94.49|:443... connected.
  #8 5.809 HTTP request sent, awaiting response... 200 OK
  #8 5.817 Length: 3145 (3.1K) [application/octet-stream]
  #8 5.817 Saving to: 'STDOUT'
  #8 5.817 
  #8 5.817      0K ...                                                   100% 53.1M=0s
  #8 5.818 
  #8 5.818 2025-02-12 00:35:06 (53.1 MB/s) - written to stdout [3145/3145]
  #8 5.818 
  #8 5.819 gpg: /root/.gnupg/trustdb.gpg: trustdb created
  #8 5.819 gpg: key 15CF4D18AF4F7421: public key "Sylvestre Ledru - Debian LLVM packages <[email protected]>" imported
  #8 5.823 gpg: can't open '--keyring': No such file or directory
  #8 5.823 gpg: can't open '/usr/share/keyrings/llvm-snapshot.gpg': No such file or directory
  #8 5.823 gpg: can't open '--no-default-keyring': No such file or directory
  #8 5.823 gpg: Total number processed: 1
  #8 5.823 gpg:               imported: 1
  #8 ERROR: process "/bin/sh -c apt-get update -y -q &&     apt-get install -y -q --no-install-recommends         apt-transport-https         ca-certificates         gnupg         lsb-release         wget &&     if [ ${llvm} -ge 17 ]; then       wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key |           gpg               --import -               --keyring /usr/share/keyrings/llvm-snapshot.gpg               --no-default-keyring &&       echo \"deb[keyring=/usr/share/keyrings/llvm-snapshot.gpg] https://apt.llvm.org/$(lsb_release --codename --short)/ llvm-toolchain-$(lsb_release --codename --short)-${available_llvm} main\" >           /etc/apt/sources.list.d/llvm.list;     fi &&     apt-get update -y -q &&     apt-get install -y -q --no-install-recommends         autoconf         ccache         clang-${llvm}         cmake         curl         g++         gcc         gdb         git         libbenchmark-dev         libboost-filesystem-dev         libboost-system-dev         libbrotli-dev         libbz2-dev         libc-ares-dev         libcurl4-openssl-dev         libgflags-dev         libgmock-dev         libgoogle-glog-dev         libgrpc++-dev         libidn2-dev         libkrb5-dev         libldap-dev         liblz4-dev         libnghttp2-dev         libprotobuf-dev         libprotoc-dev         libpsl-dev         libre2-dev         librtmp-dev         libsnappy-dev         libsqlite3-dev         libssh-dev         libssh2-1-dev         libssl-dev         libthrift-dev         libutf8proc-dev         libxml2-dev         libzstd-dev         llvm-${llvm}-dev         make         ninja-build         nlohmann-json3-dev         npm         patch         pkg-config         protobuf-compiler-grpc         python3-dev         python3-pip         python3-venv         rapidjson-dev         rsync         tzdata         zlib1g-dev &&     apt-get clean &&     rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 2

Other test-debian-12-* jobs also failed.

Component(s)

Continuous Integration, C++

@kou kou added the Type: bug label Feb 12, 2025
raulcd pushed a commit that referenced this issue Feb 12, 2025
…5511)

### Rationale for this change

The existing LLVM APT repository preparation is broken. For example, it uses unavailable `${available_llvm}`.

### What changes are included in this PR?

* Use `.asc` for armored key
* Use deb822 format for APT source: https://manpages.debian.org/bookworm/dpkg-dev/deb822.5.en.html

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* GitHub Issue: #45510

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
@raulcd raulcd added this to the 20.0.0 milestone Feb 12, 2025
@raulcd
Copy link
Member

raulcd commented Feb 12, 2025

Issue resolved by pull request 45511
#45511

@raulcd raulcd closed this as completed Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants