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

FTBFS with reactive plugin, getting charmcraft internal error #1715

Closed
sabaini opened this issue Jul 1, 2024 · 2 comments · Fixed by #1746
Closed

FTBFS with reactive plugin, getting charmcraft internal error #1715

sabaini opened this issue Jul 1, 2024 · 2 comments · Fixed by #1746
Labels
Bug Something isn't working triaged

Comments

@sabaini
Copy link

sabaini commented Jul 1, 2024

Bug Description

Buliding a charm with a reactive plugin results in an internal error on charmcraft 3

charmcraft internal error: ValidationError(model='CheckResult', errors=[{'loc': ('text',), 'msg': 'none is not an allowed value', 'type': 'type_error.none.not_allowed'}])                                             

This seems similar to this issue: #1439
This issue is marked as resolved though. -- I'm openening a new one but if you feel this is really the above issue please feel free to close as duplicate.

To Reproduce

git clone [email protected]:sabaini/charm-ceph-fs.git
cd charm-ceph-fs
git checkout ch-reactive
charmcraft -v pack

Environment

Running on Ubuntu 24.04 with lxd

charmcraft 3.0.0 3246 3.x/beta canonical✓ classic
lxd 5.21.1-d46c406 28460 5.21/stable canonical✓ -

charmcraft.yaml

type: charm

parts:
  charm:
    plugin: reactive
    reactive-charm-build-arguments:
      - --binary-wheels-from-source
    build-packages:
      - tox
      - git
      - python3-dev
      - libffi-dev
    source: src/
    build-snaps:
      - charm/latest/edge


base: [email protected]
build-base: [email protected]
platforms:
  amd64:
    build-on: amd64
    build-for: amd64
  arm64:
    build-on: arm64
    build-for: arm64
  s390x:
    build-on: s390x
    build-for: s390x
  ppc64el:
    build-on: ppc64el
    build-for: ppc64el

Relevant log output

...
2024-07-01 18:02:04.661 Executing on host: lxc --project charmcraft file pull local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058/etc/craft-instance.conf /home/peter/tmpgiz3en9c.tmp-craft/tmpmf3qpa84
2024-07-01 18:02:04.712 Instance is compatible with compatibility tag 'charmcraft-buildd-base-v7'
2024-07-01 18:02:04.712 No cache path set, not mounting cache directories.
2024-07-01 18:02:04.712 Waiting for environment to be ready...
2024-07-01 18:02:04.712 Executing in container: lxc --project charmcraft exec local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical systemctl is-system-running
2024-07-01 18:02:04.804 Waiting for networking to be ready...
2024-07-01 18:02:04.804 Executing in container: lxc --project charmcraft exec local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical getent hosts snapcraft.io
2024-07-01 18:02:04.985 Executing in container: lxc --project charmcraft exec local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical snap unset system proxy.http
2024-07-01 18:02:05.774 Executing in container: lxc --project charmcraft exec local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical snap unset system proxy.https
2024-07-01 18:02:05.961 Installing snap 'charmcraft' with channel=None and classic=True
2024-07-01 18:02:05.961 Installing snap 'charmcraft' from host (classic=True)
2024-07-01 18:02:05.964 Installing base snap 'core22' for 'charmcraft' from host
2024-07-01 18:02:05.964 Installing snap 'core22' from host (classic=False)
2024-07-01 18:02:05.966 Executing in container: lxc --project charmcraft exec local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf
2024-07-01 18:02:06.080 Executing on host: lxc --project charmcraft file pull local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058/etc/craft-instance.conf /home/peter/tmpbepts9y2.tmp-craft/tmpzkj98phj
2024-07-01 18:02:06.133 Revisions found: host='1380', target='1380'
2024-07-01 18:02:06.133 Skipping snap injection: target is already up-to-date with revision on host
2024-07-01 18:02:06.134 Executing in container: lxc --project charmcraft exec local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /etc/craft-instance.conf
2024-07-01 18:02:06.248 Executing on host: lxc --project charmcraft file pull local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058/etc/craft-instance.conf /home/peter/tmp5571hs1d.tmp-craft/tmpi18918bg
2024-07-01 18:02:06.301 Revisions found: host='3246', target='3246'
2024-07-01 18:02:06.301 Skipping snap injection: target is already up-to-date with revision on host
2024-07-01 18:02:06.383 Setting instance timezone to match host timezone 'Europe/Vienna'.
2024-07-01 18:02:06.383 Executing on host: lxc --project charmcraft config set local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058 environment.TZ Europe/Vienna
2024-07-01 18:02:06.448 Executing on host: lxc --project charmcraft config device show local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058
2024-07-01 18:02:06.504 Executing on host: lxc --project charmcraft config device add local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058 disk-/root/project disk source=/home/peter/src/openstack/charms/charm-ceph-fs path=/root/project
2024-07-01 18:02:06.591 Instance launched and working directory mounted
2024-07-01 18:02:06.591 Pushing bashrc to instance
2024-07-01 18:02:06.591 Executing on host: lxc --project charmcraft file push /tmp/tmp2jlqrmkg local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058/root/.bashrc --mode=644
2024-07-01 18:02:06.640 Executing in container: lxc --project charmcraft exec local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical chown root:root /root/.bashrc
2024-07-01 18:02:06.717 Emitter: Pausing control of the terminal
2024-07-01 18:05:49.980 Emitter: Resuming control of the terminal
2024-07-01 18:05:49.980 Executing in container: lxc --project charmcraft exec local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058 -- env CRAFT_MANAGED_MODE=1 CHARMCRAFT_MANAGED_MODE=1 DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true DEBIAN_PRIORITY=critical test -f /tmp/charmcraft.log
2024-07-01 18:05:50.094 Executing on host: lxc --project charmcraft file pull local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058/tmp/charmcraft.log /home/peter/tmpyx_fr43q.tmp-craft/tmpwrtmt5ck
2024-07-01 18:05:50.163 Logs retrieved from managed instance:
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.769 Starting charmcraft, version 3.0.0
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.769 Configuring application...
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.769 Preparing application...
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.770 Build plan: platform=amd64, build_for=None
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.772 Loading project file '/root/project/charmcraft.yaml'
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.774 Setting target machine to x86_64
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.775 Processing grammar (on amd64 for amd64)
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.777 Initialising lifecycle manager in /root
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.777 Project vars: {'version': 'unversioned'}
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.777 Adopting part: None
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.777 Using parallel build count of 16 from CPU count
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.777 is_snap: True, SNAP_NAME set to charmcraft
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.778 process charm:Step.PULL
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.778 add action charm:Step.PULL(ActionType.RUN)
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.778 process charm:Step.BUILD
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.778 add action charm:Step.BUILD(ActionType.RUN)
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.778 process charm:Step.STAGE
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.779 add action charm:Step.STAGE(ActionType.RUN)
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.779 process charm:Step.PRIME
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.779 add action charm:Step.PRIME(ActionType.RUN)
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.779 Initialising lifecycle
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.779 ignore patterns: []
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.779 part build packages: ['tox', 'git', 'python3-dev', 'libffi-dev']
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.779 part build snaps: ['charm/latest/edge']
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.779 Installing build-packages
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:08.780 Requested build-packages: ['git', 'libffi-dev', 'python3-dev', 'tox']
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:09.836 Marking tox (and its dependencies) to be fetched
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:09.837 package: tox
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:09.857 Marking git (and its dependencies) to be fetched
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:09.857 package: git
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:09.876 Marking libffi-dev (and its dependencies) to be fetched
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:09.876 package: libffi-dev
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:09.895 Marking python3-dev (and its dependencies) to be fetched
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:09.896 package: python3-dev
2024-07-01 18:05:50.163 :: 2024-07-01 18:02:09.936 Executing: ['apt-get', 'update']
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:10.174 :: Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:10.432 :: Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:10.465 :: Get:3 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [186 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:10.566 :: Get:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:10.606 :: Get:5 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [47.6 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:10.613 :: Get:6 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [62.3 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:10.627 :: Get:7 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [21.7 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:10.632 :: Get:8 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [135 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:10.666 :: Get:9 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [25.9 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:11.134 :: Get:10 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:11.284 :: Get:11 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [215 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:11.399 :: Get:12 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [58.6 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:11.427 :: Get:13 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [112 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:11.483 :: Get:14 http://archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [40.8 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:11.504 :: Get:15 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [139 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:11.533 :: Get:16 http://archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [27.0 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:11.538 :: Get:17 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [8728 B]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:11.539 :: Get:18 http://archive.ubuntu.com/ubuntu noble-backports/universe Translation-en [10.0 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:11.589 :: Fetched 1467 kB in 2s (915 kB/s)
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.180 :: Reading package lists...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.196 Installing packages: git libffi-dev python3-dev tox
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.210 :: Reading package lists...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.375 :: Building dependency tree...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.376 :: Reading state information...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.552 :: python3-dev is already the newest version (3.12.3-0ubuntu1).
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.552 :: The following additional packages will be installed:
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.553 :: git-man libcurl3t64-gnutls liberror-perl python3-cachetools python3-chardet
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.553 :: python3-colorama python3-distlib python3-filelock python3-packaging
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.553 :: python3-pip-whl python3-platformdirs python3-pluggy python3-pyproject-api
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.553 :: python3-setuptools-whl python3-virtualenv python3-wheel-whl
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.554 :: Suggested packages:
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.554 :: gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.554 :: gitk gitweb git-cvs git-mediawiki git-svn
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.554 :: Recommended packages:
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.554 :: less python3-distutils
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.574 :: The following NEW packages will be installed:
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.574 :: git git-man libcurl3t64-gnutls liberror-perl libffi-dev python3-cachetools
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.574 :: python3-chardet python3-colorama python3-distlib python3-filelock
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.574 :: python3-packaging python3-pip-whl python3-platformdirs python3-pluggy
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.574 :: python3-pyproject-api python3-setuptools-whl python3-virtualenv
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.574 :: python3-wheel-whl tox
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.992 :: 0 upgraded, 19 newly installed, 0 to remove and 14 not upgraded.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.992 :: Need to get 8675 kB of archives.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.992 :: After this operation, 34.8 MB of additional disk space will be used.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:12.992 :: Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libcurl3t64-gnutls amd64 8.5.0-2ubuntu10.1 [333 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:13.900 :: Get:2 http://archive.ubuntu.com/ubuntu noble/main amd64 liberror-perl all 0.17029-2 [25.6 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:13.909 :: Get:3 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 git-man all 1:2.43.0-1ubuntu7.1 [1100 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:14.196 :: Get:4 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 git amd64 1:2.43.0-1ubuntu7.1 [3679 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.286 :: Get:5 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-cachetools all 5.3.0-2 [10.6 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.286 :: Get:6 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-chardet all 5.2.0+dfsg-1 [117 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.291 :: Get:7 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-colorama all 0.4.6-4 [32.1 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.303 :: Get:8 http://archive.ubuntu.com/ubuntu noble/universe amd64 python3-distlib all 0.3.8-1 [318 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.327 :: Get:9 http://archive.ubuntu.com/ubuntu noble/universe amd64 python3-filelock all 3.13.1-1 [10.8 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.331 :: Get:10 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-packaging all 24.0-1 [41.1 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.332 :: Get:11 http://archive.ubuntu.com/ubuntu noble/universe amd64 python3-pip-whl all 24.0+dfsg-1ubuntu1 [1702 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.622 :: Get:12 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-platformdirs all 4.2.0-1 [16.1 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.625 :: Get:13 http://archive.ubuntu.com/ubuntu noble/universe amd64 python3-pluggy all 1.4.0-1 [20.4 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.627 :: Get:14 http://archive.ubuntu.com/ubuntu noble/universe amd64 python3-pyproject-api all 1.6.1-1 [50.9 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.635 :: Get:15 http://archive.ubuntu.com/ubuntu noble/universe amd64 python3-setuptools-whl all 68.1.2-2ubuntu1 [715 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.779 :: Get:16 http://archive.ubuntu.com/ubuntu noble/universe amd64 python3-wheel-whl all 0.42.0-2 [67.8 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.791 :: Get:17 http://archive.ubuntu.com/ubuntu noble/universe amd64 python3-virtualenv all 20.25.0+ds-2 [70.8 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.802 :: Get:18 http://archive.ubuntu.com/ubuntu noble/universe amd64 tox all 4.13.0-1 [302 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:15.864 :: Get:19 http://archive.ubuntu.com/ubuntu noble/main amd64 libffi-dev amd64 3.4.6-1build1 [62.8 kB]
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.068 :: Fetched 8675 kB in 3s (2645 kB/s)
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.085 :: Selecting previously unselected package libcurl3t64-gnutls:amd64.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.102 :: (Reading database ... 16780 files and directories currently installed.)
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.102 :: Preparing to unpack .../00-libcurl3t64-gnutls_8.5.0-2ubuntu10.1_amd64.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.105 :: Unpacking libcurl3t64-gnutls:amd64 (8.5.0-2ubuntu10.1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.127 :: Selecting previously unselected package liberror-perl.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.130 :: Preparing to unpack .../01-liberror-perl_0.17029-2_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.132 :: Unpacking liberror-perl (0.17029-2) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.150 :: Selecting previously unselected package git-man.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.153 :: Preparing to unpack .../02-git-man_1%3a2.43.0-1ubuntu7.1_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.154 :: Unpacking git-man (1:2.43.0-1ubuntu7.1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.197 :: Selecting previously unselected package git.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.200 :: Preparing to unpack .../03-git_1%3a2.43.0-1ubuntu7.1_amd64.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.205 :: Unpacking git (1:2.43.0-1ubuntu7.1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.379 :: Selecting previously unselected package python3-cachetools.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.381 :: Preparing to unpack .../04-python3-cachetools_5.3.0-2_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.383 :: Unpacking python3-cachetools (5.3.0-2) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.400 :: Selecting previously unselected package python3-chardet.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.403 :: Preparing to unpack .../05-python3-chardet_5.2.0+dfsg-1_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.404 :: Unpacking python3-chardet (5.2.0+dfsg-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.430 :: Selecting previously unselected package python3-colorama.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.433 :: Preparing to unpack .../06-python3-colorama_0.4.6-4_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.434 :: Unpacking python3-colorama (0.4.6-4) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.453 :: Selecting previously unselected package python3-distlib.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.456 :: Preparing to unpack .../07-python3-distlib_0.3.8-1_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.457 :: Unpacking python3-distlib (0.3.8-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.480 :: Selecting previously unselected package python3-filelock.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.483 :: Preparing to unpack .../08-python3-filelock_3.13.1-1_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.484 :: Unpacking python3-filelock (3.13.1-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.502 :: Selecting previously unselected package python3-packaging.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.505 :: Preparing to unpack .../09-python3-packaging_24.0-1_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.506 :: Unpacking python3-packaging (24.0-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.523 :: Selecting previously unselected package python3-pip-whl.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.526 :: Preparing to unpack .../10-python3-pip-whl_24.0+dfsg-1ubuntu1_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.528 :: Unpacking python3-pip-whl (24.0+dfsg-1ubuntu1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.550 :: Selecting previously unselected package python3-platformdirs.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.553 :: Preparing to unpack .../11-python3-platformdirs_4.2.0-1_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.555 :: Unpacking python3-platformdirs (4.2.0-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.573 :: Selecting previously unselected package python3-pluggy.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.575 :: Preparing to unpack .../12-python3-pluggy_1.4.0-1_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.577 :: Unpacking python3-pluggy (1.4.0-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.596 :: Selecting previously unselected package python3-pyproject-api.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.598 :: Preparing to unpack .../13-python3-pyproject-api_1.6.1-1_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.600 :: Unpacking python3-pyproject-api (1.6.1-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.620 :: Selecting previously unselected package python3-setuptools-whl.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.623 :: Preparing to unpack .../14-python3-setuptools-whl_68.1.2-2ubuntu1_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.624 :: Unpacking python3-setuptools-whl (68.1.2-2ubuntu1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.642 :: Selecting previously unselected package python3-wheel-whl.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.645 :: Preparing to unpack .../15-python3-wheel-whl_0.42.0-2_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.646 :: Unpacking python3-wheel-whl (0.42.0-2) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.663 :: Selecting previously unselected package python3-virtualenv.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.666 :: Preparing to unpack .../16-python3-virtualenv_20.25.0+ds-2_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.668 :: Unpacking python3-virtualenv (20.25.0+ds-2) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.695 :: Selecting previously unselected package tox.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.698 :: Preparing to unpack .../17-tox_4.13.0-1_all.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.699 :: Unpacking tox (4.13.0-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.737 :: Selecting previously unselected package libffi-dev:amd64.
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.739 :: Preparing to unpack .../18-libffi-dev_3.4.6-1build1_amd64.deb ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.741 :: Unpacking libffi-dev:amd64 (3.4.6-1build1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.798 :: Setting up python3-setuptools-whl (68.1.2-2ubuntu1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.802 :: Setting up python3-filelock (3.13.1-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.889 :: Setting up python3-cachetools (5.3.0-2) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:16.980 :: Setting up python3-colorama (0.4.6-4) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.081 :: Setting up python3-pip-whl (24.0+dfsg-1ubuntu1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.085 :: Setting up libcurl3t64-gnutls:amd64 (8.5.0-2ubuntu10.1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.090 :: Setting up python3-distlib (0.3.8-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.243 :: Setting up libffi-dev:amd64 (3.4.6-1build1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.248 :: Setting up python3-platformdirs (4.2.0-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.340 :: Setting up liberror-perl (0.17029-2) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.345 :: Setting up python3-packaging (24.0-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.451 :: Setting up python3-chardet (5.2.0+dfsg-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.721 :: Setting up python3-pluggy (1.4.0-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.820 :: Setting up git-man (1:2.43.0-1ubuntu7.1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.825 :: Setting up python3-wheel-whl (0.42.0-2) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.829 :: Setting up python3-pyproject-api (1.6.1-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:17.924 :: Setting up python3-virtualenv (20.25.0+ds-2) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:18.095 :: Setting up git (1:2.43.0-1ubuntu7.1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:18.105 :: Setting up tox (4.13.0-1) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:18.319 :: Processing triggers for libc-bin (2.39-0ubuntu8) ...
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.445 Found installed version 1:2.43.0-1ubuntu7.1 for package git
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.445 Found installed version 1:2.43.0-1ubuntu7.1 for package git-man
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.445 Found installed version 8.5.0-2ubuntu10.1 for package libcurl3t64-gnutls
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.445 Found installed version 0.17029-2 for package liberror-perl
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.445 Found installed version 3.4.6-1build1 for package libffi-dev
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.445 Found installed version 5.3.0-2 for package python3-cachetools
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 5.2.0+dfsg-1 for package python3-chardet
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 0.4.6-4 for package python3-colorama
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 0.3.8-1 for package python3-distlib
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 3.13.1-1 for package python3-filelock
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 24.0-1 for package python3-packaging
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 24.0+dfsg-1ubuntu1 for package python3-pip-whl
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 4.2.0-1 for package python3-platformdirs
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 1.4.0-1 for package python3-pluggy
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 1.6.1-1 for package python3-pyproject-api
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 68.1.2-2ubuntu1 for package python3-setuptools-whl
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 20.25.0+ds-2 for package python3-virtualenv
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 0.42.0-2 for package python3-wheel-whl
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.446 Found installed version 4.13.0-1 for package tox
2024-07-01 18:05:50.164 :: 2024-07-01 18:02:19.449 Installing build-snaps
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:19.847 Installing snap: charm
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:29.001 verify plugin environment for part 'charm'
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:29.001 plugin validation environment: # Environment
2024-07-01 18:05:50.165 :: ## Application environment
2024-07-01 18:05:50.165 :: ## Part environment
2024-07-01 18:05:50.165 :: export CRAFT_ARCH_TRIPLET="x86_64-linux-gnu"
2024-07-01 18:05:50.165 :: export CRAFT_TARGET_ARCH="amd64"
2024-07-01 18:05:50.165 :: export CRAFT_ARCH_BUILD_ON="amd64"
2024-07-01 18:05:50.165 :: export CRAFT_ARCH_BUILD_FOR="amd64"
2024-07-01 18:05:50.165 :: export CRAFT_ARCH_TRIPLET_BUILD_ON="x86_64-linux-gnu"
2024-07-01 18:05:50.165 :: export CRAFT_ARCH_TRIPLET_BUILD_FOR="x86_64-linux-gnu"
2024-07-01 18:05:50.165 :: export CRAFT_PARALLEL_BUILD_COUNT="16"
2024-07-01 18:05:50.165 :: export CRAFT_PROJECT_DIR="/root/project"
2024-07-01 18:05:50.165 :: export CRAFT_STAGE="/root/stage"
2024-07-01 18:05:50.165 :: export CRAFT_PRIME="/root/prime"
2024-07-01 18:05:50.165 :: export CRAFT_PROJECT_NAME="ceph-fs"
2024-07-01 18:05:50.165 :: export CRAFT_PART_NAME="charm"
2024-07-01 18:05:50.165 :: export CRAFT_STEP_NAME="BUILD"
2024-07-01 18:05:50.165 :: export CRAFT_PART_SRC="/root/parts/charm/src"
2024-07-01 18:05:50.165 :: export CRAFT_PART_SRC_WORK="/root/parts/charm/src"
2024-07-01 18:05:50.165 :: export CRAFT_PART_BUILD="/root/parts/charm/build"
2024-07-01 18:05:50.165 :: export CRAFT_PART_BUILD_WORK="/root/parts/charm/build"
2024-07-01 18:05:50.165 :: export CRAFT_PART_INSTALL="/root/parts/charm/install"
2024-07-01 18:05:50.165 :: ## Plugin environment
2024-07-01 18:05:50.165 :: export CRYPTOGRAPHY_OPENSSL_NO_LEGACY="true"
2024-07-01 18:05:50.165 :: ## User environment
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:29.001 plugin validation command: 'charm version --format json'
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:29.849 Pulling charm
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:29.849 execute action charm:Action(part_name='charm', step=Step.PULL, action_type=ActionType.RUN, reason=None, project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None))
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:29.862 Building charm
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:29.862 execute action charm:Action(part_name='charm', step=Step.BUILD, action_type=ActionType.RUN, reason=None, project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None))
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:29.862 load state file: /root/parts/charm/state/pull
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:29.868 remove directory /root/parts/charm/build
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:29.872 plugin validation environment: # Environment
2024-07-01 18:05:50.165 :: ## Application environment
2024-07-01 18:05:50.165 :: ## Part environment
2024-07-01 18:05:50.165 :: export CRAFT_ARCH_TRIPLET="x86_64-linux-gnu"
2024-07-01 18:05:50.165 :: export CRAFT_TARGET_ARCH="amd64"
2024-07-01 18:05:50.165 :: export CRAFT_ARCH_BUILD_ON="amd64"
2024-07-01 18:05:50.165 :: export CRAFT_ARCH_BUILD_FOR="amd64"
2024-07-01 18:05:50.165 :: export CRAFT_ARCH_TRIPLET_BUILD_ON="x86_64-linux-gnu"
2024-07-01 18:05:50.165 :: export CRAFT_ARCH_TRIPLET_BUILD_FOR="x86_64-linux-gnu"
2024-07-01 18:05:50.165 :: export CRAFT_PARALLEL_BUILD_COUNT="16"
2024-07-01 18:05:50.165 :: export CRAFT_PROJECT_DIR="/root/project"
2024-07-01 18:05:50.165 :: export CRAFT_STAGE="/root/stage"
2024-07-01 18:05:50.165 :: export CRAFT_PRIME="/root/prime"
2024-07-01 18:05:50.165 :: export CRAFT_PROJECT_NAME="ceph-fs"
2024-07-01 18:05:50.165 :: export CRAFT_PART_NAME="charm"
2024-07-01 18:05:50.165 :: export CRAFT_STEP_NAME="BUILD"
2024-07-01 18:05:50.165 :: export CRAFT_PART_SRC="/root/parts/charm/src"
2024-07-01 18:05:50.165 :: export CRAFT_PART_SRC_WORK="/root/parts/charm/src"
2024-07-01 18:05:50.165 :: export CRAFT_PART_BUILD="/root/parts/charm/build"
2024-07-01 18:05:50.165 :: export CRAFT_PART_BUILD_WORK="/root/parts/charm/build"
2024-07-01 18:05:50.165 :: export CRAFT_PART_INSTALL="/root/parts/charm/install"
2024-07-01 18:05:50.165 :: ## Plugin environment
2024-07-01 18:05:50.165 :: export CRYPTOGRAPHY_OPENSSL_NO_LEGACY="true"
2024-07-01 18:05:50.165 :: ## User environment
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:29.872 plugin validation command: 'charm version --format json'
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:30.513 Executing PosixPath('/root/parts/charm/run/build.sh')
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:30.514 :: + /snap/charmcraft/3246/bin/python3 -I /snap/charmcraft/3246/lib/python3.10/site-packages/charmcraft/parts/reactive.py ceph-fs /root/parts/charm/build /root/parts/charm/install --binary-wheels-from-source
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.789 :: I: metadata name (ceph-fs) must match directory name (build) exactly for local deployment.
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: `display-name` not provided, add for custom naming in the UI
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: DEPRECATED: series parameter is ignored by charmcraft,use bases in charmcraft.yaml
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: no hooks directory
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: all charms should provide at least one thing
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: relation ceph-mds has no hooks
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: missing recommended hook install
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: missing recommended hook start
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: missing recommended hook stop
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: missing recommended hook config-changed
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: config.yaml: option key has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: config.yaml: option ceph-public-network has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: config.yaml: option rbd-pool-name has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: config.yaml: option metadata-pool has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: config.yaml: option ec-profile-name has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: config.yaml: option ec-profile-locality has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: config.yaml: option ec-profile-crush-locality has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.790 :: I: config.yaml: option ec-profile-durability-estimator has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option ec-profile-helper-chunks has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option ec-profile-scalar-mds has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option ec-profile-technique has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option ec-profile-device-class has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option bluestore-compression-algorithm has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option bluestore-compression-mode has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option bluestore-compression-required-ratio has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option bluestore-compression-min-blob-size has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option bluestore-compression-min-blob-size-hdd has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option bluestore-compression-min-blob-size-ssd has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option bluestore-compression-max-blob-size has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option bluestore-compression-max-blob-size-hdd has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:31.791 :: I: config.yaml: option bluestore-compression-max-blob-size-ssd has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:32.874 :: build: The lockfile /root/parts/charm/build/build.lock was not found; building using latest versions.
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:32.874 :: build: Probably running as root in charmcraft, proactively installing the `git` and `virtualenv` packages.
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:32.877 ::
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:32.877 :: WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:32.878 ::
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:33.558 :: Reading package lists...
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:33.745 :: Building dependency tree...
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:33.745 :: Reading state information...
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:33.945 :: git is already the newest version (1:2.43.0-1ubuntu7.1).
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:33.977 :: The following NEW packages will be installed:
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:33.977 ::   virtualenv
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:34.002 :: 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:34.289 :: Need to get 1978 B of archives.
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:34.289 :: After this operation, 13.3 kB of additional disk space will be used.
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:34.290 :: Get:1 http://archive.ubuntu.com/ubuntu noble/universe amd64 virtualenv all 20.25.0+ds-2 [1978 B]
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:34.475 :: Fetched 1978 B in 0s (7405 B/s)
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:34.490 :: Selecting previously unselected package virtualenv.
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:34.498 :: (Reading database ... 18550 files and directories currently installed.)
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:34.498 :: Preparing to unpack .../virtualenv_20.25.0+ds-2_all.deb ...
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:34.500 :: Unpacking virtualenv (20.25.0+ds-2) ...
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:34.521 :: Setting up virtualenv (20.25.0+ds-2) ...
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:34.633 :: build: Destination charm directory: /root/parts/charm/build/ceph-fs
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:43.498 :: build: Processing layer: layer:options
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:43.538 :: build: Processing layer: layer:basic
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:43.613 :: build: Processing layer: layer:openstack
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:43.700 :: build: Processing layer: layer:ceph
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:43.744 :: build: Processing layer: ceph-fs (from .)
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:43.852 :: build: Processing interface: tls-certificates
2024-07-01 18:05:50.165 :: 2024-07-01 18:02:43.852 :: build: Processing interface: ceph-mds
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.565 :: build:
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.565 :: build: ---------------------------------------
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.565 :: build:               Build Report
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.565 :: build: ---------------------------------------
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.566 :: build: New build; all files were modified.
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.602 :: proof: I: `display-name` not provided, add for custom naming in the UI
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.602 :: proof: I: DEPRECATED: series parameter is ignored by charmcraft,use bases in charmcraft.yaml
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.602 :: proof: I: all charms should provide at least one thing
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.602 :: proof: I: config.yaml: option key has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.602 :: proof: I: config.yaml: option ceph-public-network has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.602 :: proof: I: config.yaml: option rbd-pool-name has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.602 :: proof: I: config.yaml: option metadata-pool has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option ec-profile-name has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option ec-profile-locality has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option ec-profile-crush-locality has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option ec-profile-durability-estimator has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option ec-profile-helper-chunks has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option ec-profile-scalar-mds has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option ec-profile-technique has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option ec-profile-device-class has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option bluestore-compression-algorithm has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option bluestore-compression-mode has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option bluestore-compression-required-ratio has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option bluestore-compression-min-blob-size has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option bluestore-compression-min-blob-size-hdd has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option bluestore-compression-min-blob-size-ssd has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option bluestore-compression-max-blob-size has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option bluestore-compression-max-blob-size-hdd has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.603 :: proof: I: config.yaml: option bluestore-compression-max-blob-size-ssd has no default value
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.630 :: charm tool execution command=['charm', 'proof']
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.630 :: charm tool execution SUCCESS: returncode=0
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.630 :: charm tool execution command=['charm', 'build', '--binary-wheels-from-source', '-o', '/root/parts/charm/build']
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:48.630 :: charm tool execution SUCCESS: returncode=0
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:49.755 Staging charm
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:49.756 execute action charm:Action(part_name='charm', step=Step.STAGE, action_type=ActionType.RUN, reason=None, project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None))
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:49.805 Priming charm
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:49.805 execute action charm:Action(part_name='charm', step=Step.PRIME, action_type=ActionType.RUN, reason=None, project_vars=None, properties=ActionProperties(changed_files=None, changed_dirs=None))
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:49.836 Setting up PackageService
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:49.836 Update project variables: {'version': 'unversioned'}
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:49.837 Setting up AnalysisService
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:49.854 Reading '/root/prime/metadata.yaml'
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:49.872 Reading '/root/prime/metadata.yaml'
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:49.873 Validating metadata keys
2024-07-01 18:05:50.165 :: 2024-07-01 18:05:49.874 charmcraft internal error: ValidationError(model='CheckResult', errors=[{'loc': ('text',), 'msg': 'none is not an allowed value', 'type': 'type_error.none.not_allowed'}])
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878 Traceback (most recent call last):
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878   File "/snap/charmcraft/3246/lib/python3.10/site-packages/craft_application/application.py", line 483, in run
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878     return_code = dispatcher.run() or 0
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878   File "/snap/charmcraft/3246/lib/python3.10/site-packages/craft_cli/dispatcher.py", line 487, in run
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878     return self._loaded_command.run(self._parsed_command_args)
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878   File "/snap/charmcraft/3246/lib/python3.10/site-packages/craft_application/commands/base.py", line 182, in run
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878     result = self._run(parsed_args, **kwargs) or result
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878   File "/snap/charmcraft/3246/lib/python3.10/site-packages/craft_application/commands/lifecycle.py", line 337, in _run
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878     super()._run(parsed_args, step_name="prime")
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878   File "/snap/charmcraft/3246/lib/python3.10/site-packages/craft_application/commands/lifecycle.py", line 301, in _run
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878     self._services.package.write_metadata(self._services.lifecycle.prime_dir)
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878   File "/snap/charmcraft/3246/lib/python3.10/site-packages/charmcraft/services/package.py", line 226, in write_metadata
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878     manifest = self.get_manifest(lint_results)
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878   File "/snap/charmcraft/3246/lib/python3.10/site-packages/charmcraft/services/package.py", line 170, in get_manifest
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878     attributes = [
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878   File "/snap/charmcraft/3246/lib/python3.10/site-packages/charmcraft/services/package.py", line 170, in <listcomp>
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878     attributes = [
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.878   File "/snap/charmcraft/3246/lib/python3.10/site-packages/charmcraft/services/analysis.py", line 47, in lint_directory
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.879     yield checker.get_result(path)
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.879   File "/snap/charmcraft/3246/lib/python3.10/site-packages/charmcraft/linters.py", line 93, in get_result
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.879     return CheckResult(
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.879   File "/snap/charmcraft/3246/lib/python3.10/site-packages/pydantic/dataclasses.py", line 332, in new_init
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.879     self.__pydantic_validate_values__()
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.879   File "/snap/charmcraft/3246/lib/python3.10/site-packages/pydantic/dataclasses.py", line 447, in _dataclass_validate_values
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.879     raise validation_error
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.879 pydantic.error_wrappers.ValidationError: 1 validation error for CheckResult
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.879 text
2024-07-01 18:05:50.166 :: 2024-07-01 18:05:49.879   none is not an allowed value (type=type_error.none.not_allowed)
2024-07-01 18:05:50.166 Executing on host: lxc --project charmcraft config device show local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058
2024-07-01 18:05:50.214 Executing on host: lxc --project charmcraft config device remove local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058 disk-/root/project
2024-07-01 18:05:50.286 Executing on host: lxc --project charmcraft stop local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058
2024-07-01 18:05:54.304 Failed to execute charmcraft in instance.
2024-07-01 18:05:54.305 Traceback (most recent call last):
2024-07-01 18:05:54.305   File "/snap/charmcraft/3246/lib/python3.10/site-packages/craft_application/application.py", line 333, in run_managed
2024-07-01 18:05:54.305     instance.execute_run(  # pyright: ignore[reportUnknownMemberType,reportUnknownVariableType]
2024-07-01 18:05:54.305   File "/snap/charmcraft/3246/lib/python3.10/site-packages/craft_providers/lxd/lxd_instance.py", line 293, in execute_run
2024-07-01 18:05:54.305     return self.lxc.exec(
2024-07-01 18:05:54.305   File "/snap/charmcraft/3246/lib/python3.10/site-packages/craft_providers/lxd/lxc.py", line 387, in exec
2024-07-01 18:05:54.305     return runner(final_cmd, timeout=timeout, check=check, **kwargs)
2024-07-01 18:05:54.305   File "/snap/charmcraft/3246/usr/lib/python3.10/subprocess.py", line 526, in run
2024-07-01 18:05:54.305     raise CalledProcessError(retcode, process.args,
2024-07-01 18:05:54.305 subprocess.CalledProcessError: Command '['lxc', '--project', 'charmcraft', 'exec', 'local:charmcraft-ceph-fs-on-amd64-for-amd64-59656058', '--cwd', '/root/project', '--', 'env', 'CRAFT_MANAGED_MODE=1', 'CHARMCRAFT_MANAGED_MODE=1', 'DEBIAN_FRONTEND=noninteractive', 'DEBCONF_NONINTERACTIVE_SEEN=true', 'DEBIAN_PRIORITY=critical', 'CRAFT_PLATFORM=amd64', 'charmcraft', '-v', 'pack']' returned non-zero exit status 70.
2024-07-01 18:05:54.305 
2024-07-01 18:05:54.305 The above exception was the direct cause of the following exception:
2024-07-01 18:05:54.305 Traceback (most recent call last):
2024-07-01 18:05:54.305   File "/snap/charmcraft/3246/lib/python3.10/site-packages/craft_application/application.py", line 479, in run
2024-07-01 18:05:54.305     self.run_managed(platform, build_for)
2024-07-01 18:05:54.305   File "/snap/charmcraft/3246/lib/python3.10/site-packages/charmcraft/application/main.py", line 143, in run_managed
2024-07-01 18:05:54.305     super().run_managed(platform, build_for)
2024-07-01 18:05:54.305   File "/snap/charmcraft/3246/lib/python3.10/site-packages/craft_application/application.py", line 340, in run_managed
2024-07-01 18:05:54.305     raise craft_providers.ProviderError(
2024-07-01 18:05:54.305 craft_providers.errors.ProviderError: Failed to execute charmcraft in instance.
2024-07-01 18:05:54.305 Full execution log: '/home/peter/.local/state/charmcraft/log/charmcraft-20240701-180202.747695.log'
@sabaini sabaini added the Bug Something isn't working label Jul 1, 2024
@lengau
Copy link
Collaborator

lengau commented Jul 19, 2024

Thanks for the report! I believe I've fixed this in #1746

Could you check that it fixes this issue in your environment by installing charmcraft from the edge/pr-1746 channel? (snap refresh --classic --channel=edge/pr-1746 charmcraft)

@sabaini
Copy link
Author

sabaini commented Jul 24, 2024

jftr can confirm this indeed is fixed -- thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working triaged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants