canonical / craft-parts

https://canonical-craft-parts.readthedocs-hosted.com
GNU Lesser General Public License v3.0
11 stars 36 forks source link

Errors while installing build-snaps don't give good information #716

Open lengau opened 5 months ago

lengau commented 5 months ago

Bug Description

When installing a build-snap, error messages from snap install get eaten, and all we get is an error message that the install failed. In the full logs it would be nice to have some details about what that error is, similar to:

(craft-parts) lengau@ratel:~/Work/Code/craft-parts$ snap refresh --amend --classic --edge astral-uv
error: cannot perform the following tasks:
- Download snap "astral-uv" (3) from channel "edge" (received an unexpected http response code (503) when trying to download https://canonical-bos01.cdn.snapcraftcontent.com/download-origin/canonical-lgw01/sIDcER1W2Zzyh1fdjsRSydCItvqAyr6V_3.snap?interactive=1&token=1713906000_21bd7257951425974e6850c7969a638f3d475e06)

In case of errors like this, keeping the stderr in exception details would be ideal. (This would probably also require some work downstream to include that in the log file, but that could probably be done in craft-application to apply everywhere.)

To Reproduce

As of today/now, I'm able to reproduce this in https://github.com/lengau/uv-snap trying to build a fresh core24 snap. It's hard to reproduce though since it depends on a snap install erroring, but right now it's available thanks to a snapcraft.io outage 🙃

Potentially you could inject a proxy to talk to snapcraftcontent.com and have it return a 503 when downloading a snap?

part yaml

parts:
  core24-deps:
    plugin: nil
    build-snaps:
      - core24/latest/beta

Relevant log output

(from snapcraft logs)

2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.980 Initialising lifecycle manager in /root
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.980 Project vars: {'version': '0.1.33', 'grade': 'devel'}
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.980 Adopting part: None
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.980 Using parallel build count of 16 from CPU count
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.980 is_snap: True, SNAP_NAME set to snapcraft
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.981 process uv:Step.PULL
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.981 add action uv:Step.PULL(ActionType.RUN)
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.981 process uv:Step.BUILD
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.981 add action uv:Step.BUILD(ActionType.RUN)
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.981 process uv:Step.STAGE
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.981 add action uv:Step.STAGE(ActionType.RUN)
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.981 process uv:Step.PRIME
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.981 add action uv:Step.PRIME(ActionType.RUN)
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.981 Initialising lifecycle
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.982 part build packages: ['cmake']
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.982 source build packages: {'git'}
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.982 plugin build packages: {'pkg-config', 'findutils', 'gcc', 'git', 'curl'}
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.982 plugin build snaps: {'rustup'}
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.982 Installing build-packages
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:37.982 Requested build-packages: ['cmake', 'curl', 'findutils', 'gcc', 'git', 'pkg-config']
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.781 Marking findutils (and its dependencies) to be fetched
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.781 package: findutils
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.788 Marking git (and its dependencies) to be fetched
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.788 package: git
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.804 Marking curl (and its dependencies) to be fetched
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.804 package: curl
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.811 Marking pkg-config (and its dependencies) to be fetched
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.811 package: pkg-config
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.823 Marking cmake (and its dependencies) to be fetched
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.823 package: cmake
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.836 Marking gcc (and its dependencies) to be fetched
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.836 package: gcc
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:38.862 Executing: ['apt-get', 'update']
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:39.194 :: Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:39.305 :: Get:2 http://archive.ubuntu.com/ubuntu noble InRelease [255 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:39.865 :: Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [89.7 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:39.995 :: Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:40.098 :: Get:5 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1403 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:40.404 :: Get:6 http://archive.ubuntu.com/ubuntu noble/main Translation-en [513 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:40.441 :: Get:7 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [15.5 MB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:41.004 :: Get:8 http://archive.ubuntu.com/ubuntu noble/universe Translation-en [5981 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:41.214 :: Get:9 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [96.6 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:41.214 :: Get:10 http://archive.ubuntu.com/ubuntu noble/restricted Translation-en [19.3 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:41.214 :: Get:11 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [269 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:41.217 :: Get:12 http://archive.ubuntu.com/ubuntu noble/multiverse Translation-en [118 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:42.239 :: Fetched 24.2 MB in 3s (7284 kB/s)
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:42.685 :: Reading package lists...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:42.695 Installing packages: cmake curl findutils gcc git pkg-config
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:42.710 :: Reading package lists...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:42.852 :: Building dependency tree...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:42.852 :: Reading state information...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.002 :: findutils is already the newest version (4.9.0-5build1).
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.002 :: gcc is already the newest version (4:13.2.0-7ubuntu1).
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.002 :: gcc set to manually installed.
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.002 :: The following additional packages will be installed:
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.003 :: cmake-data git-man libarchive13t64 libcurl3t64-gnutls libcurl4t64
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.004 :: liberror-perl libicu74 libjsoncpp25 libpkgconf3 librhash0 libuv1t64 libxml2
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.004 :: pkgconf pkgconf-bin
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.005 :: Suggested packages:
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.005 :: cmake-doc cmake-format elpa-cmake-mode ninja-build gettext-base
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.005 :: git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.005 :: git-cvs git-mediawiki git-svn lrzip
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.005 :: Recommended packages:
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.005 :: less
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.021 :: The following NEW packages will be installed:
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.021 :: cmake cmake-data git git-man libarchive13t64 libcurl3t64-gnutls
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.022 :: liberror-perl libicu74 libjsoncpp25 libpkgconf3 librhash0 libuv1t64 libxml2
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.022 :: pkg-config pkgconf pkgconf-bin
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.022 :: The following packages will be upgraded:
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.022 :: curl libcurl4t64
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.260 :: 2 upgraded, 16 newly installed, 0 to remove and 67 not upgraded.
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.260 :: Need to get 31.4 MB of archives.
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.260 :: After this operation, 115 MB of additional disk space will be used.
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:43.261 :: Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 libicu74 amd64 74.2-1ubuntu3 [10.9 MB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:44.457 :: Get:2 http://archive.ubuntu.com/ubuntu noble/main amd64 libxml2 amd64 2.9.14+dfsg-1.3ubuntu3 [762 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:44.466 :: Get:3 http://archive.ubuntu.com/ubuntu noble/main amd64 libuv1t64 amd64 1.48.0-1.1build1 [97.3 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:44.467 :: Get:4 http://archive.ubuntu.com/ubuntu noble/main amd64 libarchive13t64 amd64 3.7.2-2 [381 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:44.472 :: Get:5 http://archive.ubuntu.com/ubuntu noble/main amd64 curl amd64 8.5.0-2ubuntu10 [227 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:44.477 :: Get:6 http://archive.ubuntu.com/ubuntu noble/main amd64 libcurl4t64 amd64 8.5.0-2ubuntu10 [340 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:44.480 :: Get:7 http://archive.ubuntu.com/ubuntu noble/main amd64 libjsoncpp25 amd64 1.9.5-6build1 [82.8 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:44.482 :: Get:8 http://archive.ubuntu.com/ubuntu noble/main amd64 librhash0 amd64 1.4.3-3build1 [129 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:44.486 :: Get:9 http://archive.ubuntu.com/ubuntu noble/main amd64 cmake-data all 3.28.3-1build7 [2155 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:44.582 :: Get:10 http://archive.ubuntu.com/ubuntu noble/main amd64 cmake amd64 3.28.3-1build7 [11.2 MB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:44.931 :: Get:11 http://archive.ubuntu.com/ubuntu noble/main amd64 libcurl3t64-gnutls amd64 8.5.0-2ubuntu10 [333 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:45.140 :: Get:12 http://archive.ubuntu.com/ubuntu noble/main amd64 liberror-perl all 0.17029-2 [25.6 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:45.359 :: Get:13 http://archive.ubuntu.com/ubuntu noble/main amd64 git-man all 1:2.43.0-1ubuntu7 [1098 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:45.905 :: Get:14 http://archive.ubuntu.com/ubuntu noble/main amd64 git amd64 1:2.43.0-1ubuntu7 [3674 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.127 :: Get:15 http://archive.ubuntu.com/ubuntu noble/main amd64 libpkgconf3 amd64 1.8.1-2build1 [30.7 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.128 :: Get:16 http://archive.ubuntu.com/ubuntu noble/main amd64 pkgconf-bin amd64 1.8.1-2build1 [20.7 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.128 :: Get:17 http://archive.ubuntu.com/ubuntu noble/main amd64 pkgconf amd64 1.8.1-2build1 [16.8 kB]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.128 :: Get:18 http://archive.ubuntu.com/ubuntu noble/main amd64 pkg-config amd64 1.8.1-2build1 [7264 B]
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.278 :: Fetched 31.4 MB in 3s (10.1 MB/s)
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.307 :: Selecting previously unselected package libicu74:amd64.
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.317 :: (Reading database ... 16781 files and directories currently installed.)
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.317 :: Preparing to unpack .../00-libicu74_74.2-1ubuntu3_amd64.deb ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.319 :: Unpacking libicu74:amd64 (74.2-1ubuntu3) ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.451 :: Selecting previously unselected package libxml2:amd64.
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.455 :: Preparing to unpack .../01-libxml2_2.9.14+dfsg-1.3ubuntu3_amd64.deb ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.456 :: Unpacking libxml2:amd64 (2.9.14+dfsg-1.3ubuntu3) ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.483 :: Selecting previously unselected package libuv1t64:amd64.
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.486 :: Preparing to unpack .../02-libuv1t64_1.48.0-1.1build1_amd64.deb ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.488 :: Unpacking libuv1t64:amd64 (1.48.0-1.1build1) ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.507 :: Selecting previously unselected package libarchive13t64:amd64.
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.511 :: Preparing to unpack .../03-libarchive13t64_3.7.2-2_amd64.deb ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.512 :: Unpacking libarchive13t64:amd64 (3.7.2-2) ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.540 :: Preparing to unpack .../04-curl_8.5.0-2ubuntu10_amd64.deb ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.543 :: Unpacking curl (8.5.0-2ubuntu10) over (8.5.0-2ubuntu9) ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.572 :: Preparing to unpack .../05-libcurl4t64_8.5.0-2ubuntu10_amd64.deb ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.575 :: Unpacking libcurl4t64:amd64 (8.5.0-2ubuntu10) over (8.5.0-2ubuntu9) ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.601 :: Selecting previously unselected package libjsoncpp25:amd64.
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.604 :: Preparing to unpack .../06-libjsoncpp25_1.9.5-6build1_amd64.deb ...
2024-04-23 13:20:41.571 :: 2024-04-23 13:19:46.606 :: Unpacking libjsoncpp25:amd64 (1.9.5-6build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:46.630 :: Selecting previously unselected package librhash0:amd64.
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:46.633 :: Preparing to unpack .../07-librhash0_1.4.3-3build1_amd64.deb ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:46.634 :: Unpacking librhash0:amd64 (1.4.3-3build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:46.658 :: Selecting previously unselected package cmake-data.
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:46.662 :: Preparing to unpack .../08-cmake-data_3.28.3-1build7_all.deb ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:46.667 :: Unpacking cmake-data (3.28.3-1build7) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.008 :: Selecting previously unselected package cmake.
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.012 :: Preparing to unpack .../09-cmake_3.28.3-1build7_amd64.deb ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.013 :: Unpacking cmake (3.28.3-1build7) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.154 :: Selecting previously unselected package libcurl3t64-gnutls:amd64.
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.158 :: Preparing to unpack .../10-libcurl3t64-gnutls_8.5.0-2ubuntu10_amd64.deb ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.159 :: Unpacking libcurl3t64-gnutls:amd64 (8.5.0-2ubuntu10) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.183 :: Selecting previously unselected package liberror-perl.
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.186 :: Preparing to unpack .../11-liberror-perl_0.17029-2_all.deb ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.187 :: Unpacking liberror-perl (0.17029-2) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.209 :: Selecting previously unselected package git-man.
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.212 :: Preparing to unpack .../12-git-man_1%3a2.43.0-1ubuntu7_all.deb ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.213 :: Unpacking git-man (1:2.43.0-1ubuntu7) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.260 :: Selecting previously unselected package git.
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.263 :: Preparing to unpack .../13-git_1%3a2.43.0-1ubuntu7_amd64.deb ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.270 :: Unpacking git (1:2.43.0-1ubuntu7) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.422 :: Selecting previously unselected package libpkgconf3:amd64.
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.426 :: Preparing to unpack .../14-libpkgconf3_1.8.1-2build1_amd64.deb ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.427 :: Unpacking libpkgconf3:amd64 (1.8.1-2build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.448 :: Selecting previously unselected package pkgconf-bin.
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.451 :: Preparing to unpack .../15-pkgconf-bin_1.8.1-2build1_amd64.deb ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.452 :: Unpacking pkgconf-bin (1.8.1-2build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.472 :: Selecting previously unselected package pkgconf:amd64.
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.476 :: Preparing to unpack .../16-pkgconf_1.8.1-2build1_amd64.deb ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.478 :: Unpacking pkgconf:amd64 (1.8.1-2build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.499 :: Selecting previously unselected package pkg-config:amd64.
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.503 :: Preparing to unpack .../17-pkg-config_1.8.1-2build1_amd64.deb ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.505 :: Unpacking pkg-config:amd64 (1.8.1-2build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.651 :: Setting up libcurl4t64:amd64 (8.5.0-2ubuntu10) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.654 :: Setting up libuv1t64:amd64 (1.48.0-1.1build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.657 :: Setting up libcurl3t64-gnutls:amd64 (8.5.0-2ubuntu10) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.660 :: Setting up liberror-perl (0.17029-2) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.663 :: Setting up libpkgconf3:amd64 (1.8.1-2build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.667 :: Setting up libjsoncpp25:amd64 (1.9.5-6build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.670 :: Setting up pkgconf-bin (1.8.1-2build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.674 :: Setting up libicu74:amd64 (74.2-1ubuntu3) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.677 :: Setting up librhash0:amd64 (1.4.3-3build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.681 :: Setting up git-man (1:2.43.0-1ubuntu7) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.684 :: Setting up cmake-data (3.28.3-1build7) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.694 :: Setting up curl (8.5.0-2ubuntu10) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.697 :: Setting up libxml2:amd64 (2.9.14+dfsg-1.3ubuntu3) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.700 :: Setting up pkgconf:amd64 (1.8.1-2build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.703 :: Setting up pkg-config:amd64 (1.8.1-2build1) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.707 :: Setting up git (1:2.43.0-1ubuntu7) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.718 :: Setting up libarchive13t64:amd64 (3.7.2-2) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.722 :: Setting up cmake (3.28.3-1build7) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:47.726 :: Processing triggers for libc-bin (2.39-0ubuntu8) ...
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 3.28.3-1build7 for package cmake
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 3.28.3-1build7 for package cmake-data
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 1:2.43.0-1ubuntu7 for package git
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 1:2.43.0-1ubuntu7 for package git-man
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 3.7.2-2 for package libarchive13t64
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 8.5.0-2ubuntu10 for package libcurl3t64-gnutls
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 0.17029-2 for package liberror-perl
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 74.2-1ubuntu3 for package libicu74
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 1.9.5-6build1 for package libjsoncpp25
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 1.8.1-2build1 for package libpkgconf3
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 1.4.3-3build1 for package librhash0
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 1.48.0-1.1build1 for package libuv1t64
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 2.9.14+dfsg-1.3ubuntu3 for package libxml2
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.436 Found installed version 1.8.1-2build1 for package pkg-config
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.437 Found installed version 1.8.1-2build1 for package pkgconf
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.437 Found installed version 1.8.1-2build1 for package pkgconf-bin
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.439 Installing build-snaps
2024-04-23 13:20:41.572 :: 2024-04-23 13:19:48.949 Installing snap: core24
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.136 Error installing snap 'core24' from channel 'latest/beta'.
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138 Traceback (most recent call last):
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138   File "/snap/snapcraft/11430/lib/python3.10/site-packages/craft_parts/packages/snaps.py", line 242, in install
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138     subprocess.run(
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138   File "/snap/snapcraft/11430/usr/lib/python3.10/subprocess.py", line 526, in run
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138     raise CalledProcessError(retcode, process.args,
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138 subprocess.CalledProcessError: Command '['snap', 'install', 'core24', '--channel', 'latest/beta']' returned non-zero exit status 1.
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138 The above exception was the direct cause of the following exception:
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138 Traceback (most recent call last):
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138   File "/snap/snapcraft/11430/lib/python3.10/site-packages/craft_application/services/lifecycle.py", line 251, in run
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138     with self._lcm.action_executor() as aex:
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138   File "/snap/snapcraft/11430/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 307, in __enter__
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138     self._executor.prologue()
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138   File "/snap/snapcraft/11430/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 90, in prologue
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138     self._install_build_snaps()
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138   File "/snap/snapcraft/11430/lib/python3.10/site-packages/craft_parts/executor/executor.py", line 273, in _install_build_snaps
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138     packages.snaps.install_snaps(build_snaps)
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138   File "/snap/snapcraft/11430/lib/python3.10/site-packages/craft_parts/packages/snaps.py", line 310, in install_snaps
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138     snap_pkg.install()
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138   File "/snap/snapcraft/11430/lib/python3.10/site-packages/craft_parts/packages/snaps.py", line 249, in install
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138     raise errors.SnapInstallError(
2024-04-23 13:20:41.572 :: 2024-04-23 13:20:41.138 craft_parts.packages.errors.SnapInstallError: Error installing snap 'core24' from channel 'latest/beta'.
2024-04-23 13:20:41.572 Executing on host: lxc --project snapcraft config device show local:snapcraft-astral-uv-on-amd64-for-amd64-3341460
syncronize-issues-to-jira[bot] commented 5 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2849.

This message was autogenerated