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

Suddenly I can not pack charms #923

Closed
jaimesouza opened this issue Nov 7, 2022 · 4 comments
Closed

Suddenly I can not pack charms #923

jaimesouza opened this issue Nov 7, 2022 · 4 comments

Comments

@jaimesouza
Copy link

I am using charmcraft 2.1.0 and I am trying to pack a charm, but suddenly something stopped working:

Packing the charm                                                                                                                                                                                                                                                                                                          
Parts processing error: Failed to run the build script for part 'charm'.                                                                                                                                                                                                                                                   
Failed to build charm for bases index '0'.                                                                                                                                                                                                                                                                                 
Full execution log: '/home/jaime/snap/charmcraft/common/cache/charmcraft/log/charmcraft-20221107-120856.314474.log'

It was working the last time I checked (November 3th). No change has been made to my code or environment since then. But now, I can not build a charm anymore.

See the logs bellow:

cat: Full: No such file or directory
cat: execution: No such file or directory
cat: 'log:': No such file or directory
2022-11-07 12:08:56.315 Starting charmcraft version 2.1.0
2022-11-07 12:08:56.319 System details: OSPlatform(system='ubuntu', release='22.04', machine='x86_64'); Environment: DESKTOP_SESSION='plasma', XDG_CURRENT_DESKTOP='KDE'
2022-11-07 12:08:56.319 Packing the charm.
2022-11-07 12:08:56.319 Reading '/home/jaime/Desktop/slurm-charms/charm-slurmd/metadata.yaml'
2022-11-07 12:08:56.323 Validating metadata format
2022-11-07 12:08:56.402 Executing on host: lxc --project default profile show local:default
2022-11-07 12:08:56.480 Building for 'bases[0]' as host matches 'build-on[0]'.
2022-11-07 12:08:56.480 Building for 'bases[0][0]'.
2022-11-07 12:08:56.481 Launching environment to pack for base name='ubuntu' channel='20.04' architectures=['amd64'] (may take a while the first time but it's reusable)
2022-11-07 12:08:56.481 Executing on host: lxc remote list --format=yaml
2022-11-07 12:08:56.554 Remote 'craft-com.ubuntu.cloud-buildd' already exists.
2022-11-07 12:08:56.554 Using hostname 'charmcraft-slurmd-26614229-0-0-amd64'
2022-11-07 12:08:56.554 Executing on host: lxc project list local: --format=yaml
2022-11-07 12:08:56.630 Set LXD instance name to 'charmcraft-slurmd-26614229-0-0-amd64'
2022-11-07 12:08:56.630 Executing on host: lxc --project charmcraft list local: --format=yaml
2022-11-07 12:08:56.812 Executing on host: lxc --project charmcraft image list local: --format=yaml
2022-11-07 12:08:56.876 Using compatible snapshot 'snapshot-craft-com.ubuntu.cloud-buildd-20.04-charmcraft-buildd-base-v0.0'.
2022-11-07 12:08:56.876 Executing on host: lxc --project charmcraft info local:
2022-11-07 12:08:56.960 Executing on host: lxc --project charmcraft launch local:snapshot-craft-com.ubuntu.cloud-buildd-20.04-charmcraft-buildd-base-v0.0 local:charmcraft-slurmd-26614229-0-0-amd64 --config 'raw.idmap=both 1000 0' --config security.syscalls.intercept.mknod=true
2022-11-07 12:09:05.615 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 cat /etc/os-release
2022-11-07 12:09:05.835 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 test -f /etc/craft-instance.conf
2022-11-07 12:09:05.983 Executing on host: lxc --project charmcraft file pull local:charmcraft-slurmd-26614229-0-0-amd64/etc/craft-instance.conf /home/jaime/tmp8yejepwn.tmp-craft/tmpukup44uz
2022-11-07 12:09:06.094 Instance is compatible with compatibility tag 'charmcraft-buildd-base-v0.0'
2022-11-07 12:09:06.095 Executing on host: lxc --project charmcraft file push /home/jaime/snap/charmcraft/common/tmp63bsc2i1 local:charmcraft-slurmd-26614229-0-0-amd64/etc/apt/apt.conf.d/20auto-upgrades --mode=0644
2022-11-07 12:09:06.155 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 chown root:root /etc/apt/apt.conf.d/20auto-upgrades
2022-11-07 12:09:06.251 Executing on host: lxc --project charmcraft file push /home/jaime/snap/charmcraft/common/tmp4r6ukt45 local:charmcraft-slurmd-26614229-0-0-amd64/etc/environment --mode=0644
2022-11-07 12:09:06.311 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 chown root:root /etc/environment
2022-11-07 12:09:06.410 Waiting for environment to be ready...
2022-11-07 12:09:06.411 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl is-system-running
2022-11-07 12:09:06.498 systemctl is-system-running status: starting
2022-11-07 12:09:06.751 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl is-system-running
2022-11-07 12:09:06.861 systemctl is-system-running status: starting
2022-11-07 12:09:07.112 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl is-system-running
2022-11-07 12:09:07.214 systemctl is-system-running status: starting
2022-11-07 12:09:07.465 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl is-system-running
2022-11-07 12:09:07.599 systemctl is-system-running status: starting
2022-11-07 12:09:07.849 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl is-system-running
2022-11-07 12:09:07.953 systemctl is-system-running status: starting
2022-11-07 12:09:08.203 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl is-system-running
2022-11-07 12:09:08.397 systemctl is-system-running status: starting
2022-11-07 12:09:08.648 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl is-system-running
2022-11-07 12:09:08.758 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 test -f /etc/craft-instance.conf
2022-11-07 12:09:08.859 Executing on host: lxc --project charmcraft file pull local:charmcraft-slurmd-26614229-0-0-amd64/etc/craft-instance.conf /home/jaime/tmp4fjz51nl.tmp-craft/tmpzh32ur3f
2022-11-07 12:09:08.921 Executing on host: lxc --project charmcraft file push /home/jaime/snap/charmcraft/common/tmpx1n_8guh local:charmcraft-slurmd-26614229-0-0-amd64/etc/craft-instance.conf --mode=0644
2022-11-07 12:09:08.982 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 chown root:root /etc/craft-instance.conf
2022-11-07 12:09:09.087 Executing on host: lxc --project charmcraft file push /home/jaime/snap/charmcraft/common/tmpixkp2bmq local:charmcraft-slurmd-26614229-0-0-amd64/etc/hostname --mode=0644
2022-11-07 12:09:09.144 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 chown root:root /etc/hostname
2022-11-07 12:09:09.255 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 hostname -F /etc/hostname
2022-11-07 12:09:09.348 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
2022-11-07 12:09:09.443 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl enable systemd-resolved
2022-11-07 12:09:09.648 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl restart systemd-resolved
2022-11-07 12:09:10.043 Executing on host: lxc --project charmcraft file push /home/jaime/snap/charmcraft/common/tmpruzzb86m local:charmcraft-slurmd-26614229-0-0-amd64/etc/systemd/network/10-eth0.network --mode=0644
2022-11-07 12:09:10.099 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 chown root:root /etc/systemd/network/10-eth0.network
2022-11-07 12:09:10.199 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl enable systemd-networkd
2022-11-07 12:09:10.424 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl restart systemd-networkd
2022-11-07 12:09:10.842 Waiting for networking to be ready...
2022-11-07 12:09:10.842 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io
2022-11-07 12:09:11.146 Executing on host: lxc --project charmcraft file push /home/jaime/snap/charmcraft/common/tmpbsxtaq4g local:charmcraft-slurmd-26614229-0-0-amd64/etc/apt/apt.conf.d/00no-recommends --mode=0644
2022-11-07 12:09:11.208 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 chown root:root /etc/apt/apt.conf.d/00no-recommends
2022-11-07 12:09:11.323 Executing on host: lxc --project charmcraft file push /home/jaime/snap/charmcraft/common/tmpwp2wddw4 local:charmcraft-slurmd-26614229-0-0-amd64/etc/apt/apt.conf.d/00update-errors --mode=0644
2022-11-07 12:09:11.393 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 chown root:root /etc/apt/apt.conf.d/00update-errors
2022-11-07 12:09:11.500 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 apt-get update
2022-11-07 12:09:16.252 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 apt-get install -y apt-utils curl
2022-11-07 12:09:19.297 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 apt-get install -y fuse udev
2022-11-07 12:09:20.031 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl enable systemd-udevd
2022-11-07 12:09:20.250 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl start systemd-udevd
2022-11-07 12:09:20.365 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 apt-get install -y snapd
2022-11-07 12:09:42.538 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl start snapd.socket
2022-11-07 12:09:42.657 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 systemctl restart snapd.service
2022-11-07 12:09:42.897 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 snap wait system seed.loaded
2022-11-07 12:09:43.193 No snaps to install.
2022-11-07 12:09:43.193 Installing snap 'charmcraft' from host (classic=True)
2022-11-07 12:09:43.197 Executing in container: lxc --project charmcraft exec local:charmcraft-slurmd-26614229-0-0-amd64 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin CHARMCRAFT_MANAGED_MODE=1 test -f /etc/craft-instance.conf
2022-11-07 12:09:43.339 Executing on host: lxc --project charmcraft file pull local:charmcraft-slurmd-26614229-0-0-amd64/etc/craft-instance.conf /home/jaime/tmpd495q9jk.tmp-craft/tmpsjxcd7o4
2022-11-07 12:09:43.422 Revisions found: host='1083', target='1083'
2022-11-07 12:09:43.422 Skipping snap injection: target is already up-to-date with revision on host
2022-11-07 12:09:43.422 Executing on host: lxc --project charmcraft config device show local:charmcraft-slurmd-26614229-0-0-amd64
2022-11-07 12:09:43.481 Executing on host: lxc --project charmcraft config device add local:charmcraft-slurmd-26614229-0-0-amd64 disk-/root/project disk source=/home/jaime/Desktop/slurm-charms/charm-slurmd path=/root/project
2022-11-07 12:09:43.556 Packing the charm
2022-11-07 12:09:43.556 Running ['charmcraft', 'pack', '--bases-index', '0', '--verbosity=brief']
2022-11-07 12:09:43.556 Emitter: Pausing control of the terminal
2022-11-07 12:10:06.685 Emitter: Resuming control of the terminal
2022-11-07 12:10:06.887 Logs captured from managed instance:
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.802 Starting charmcraft version 2.1.0
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.807 System details: OSPlatform(system='ubuntu', release='20.04', machine='x86_64'); Environment: CHARMCRAFT_MANAGED_MODE='1'
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.808 Packing the charm.
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.808 Reading '/root/project/metadata.yaml'
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.812 Validating metadata format
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.818 Building for 'bases[0]' as host matches 'build-on[0]'.
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.818 Building for 'bases[0][0]'.
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.818 Building charm in '/root'
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.818 Parts definition: {'charm': {'source': '/root/project', 'charm-entrypoint': 'src/charm.py', 'charm-binary-python-packages': [], 'charm-python-packages': ['setuptools'], 'charm-requirements': ['requirements.txt'], 'build-packages': ['git'], 'plugin': 'charm', 'prime': ['src', 'venv', 'metadata.yaml', 'dispatch', 'hooks', 'config.yaml', 'actions.yaml', 'version', 'lib', 'LICENSE', 'icon.svg', 'README.md']}}
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.819 is_snap: True, SNAP_NAME set to charmcraft
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.819 Setting target machine to x86_64
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.821 ignore patterns: ['*.charm']
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.821 part build packages: ['git']
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.821 plugin build packages: {'python3-venv', 'python3-dev', 'python3-setuptools', 'python3-wheel', 'python3-pip'}
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.821 clean charm:Step.PRIME
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.821 clean charm:Step.STAGE
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.821 clean charm:Step.BUILD
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.821 Executing parts lifecycle in '/root/project'
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.821 process charm:Step.PULL
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.821 add action charm:Step.PULL(ActionType.RUN)
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.822 process charm:Step.OVERLAY
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.822 add action charm:Step.OVERLAY(ActionType.RUN)
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.822 process charm:Step.BUILD
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.822 add action charm:Step.BUILD(ActionType.RUN)
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.822 process charm:Step.STAGE
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.822 add action charm:Step.STAGE(ActionType.RUN)
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.823 process charm:Step.PRIME
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.823 add action charm:Step.PRIME(ActionType.RUN)
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.823 Parts actions: [Action(part_name='charm', step=Step.PULL, action_type=ActionType.RUN, reason=None, project_vars=None), Action(part_name='charm', step=Step.OVERLAY, action_type=ActionType.RUN, reason=None, project_vars=None), Action(part_name='charm', step=Step.BUILD, action_type=ActionType.RUN, reason=None, project_vars=None), Action(part_name='charm', step=Step.STAGE, action_type=ActionType.RUN, reason=None, project_vars=None), Action(part_name='charm', step=Step.PRIME, action_type=ActionType.RUN, reason=None, project_vars=None)]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:46.823 Requested build-packages: ['git', 'python3-dev', 'python3-pip', 'python3-setuptools', 'python3-venv', 'python3-wheel']
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.464 Marking git (and its dependencies) to be fetched
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.464 package: git
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.485 Marking python3-venv (and its dependencies) to be fetched
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.485 package: python3-venv
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.507 Marking python3-dev (and its dependencies) to be fetched
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.507 package: python3-dev
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.532 Marking python3-setuptools (and its dependencies) to be fetched
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.532 package: python3-setuptools
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.553 Marking python3-wheel (and its dependencies) to be fetched
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.553 package: python3-wheel
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.578 Marking python3-pip (and its dependencies) to be fetched
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.578 package: python3-pip
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:47.640 Executing: ['apt-get', 'update']
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:48.019 :: Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:48.019 :: Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:48.133 :: Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:48.303 :: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.332 :: Reading package lists...
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.352 Installing packages: git python3-dev python3-pip python3-setuptools python3-venv python3-wheel
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.406 :: Reading package lists...
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.604 :: Building dependency tree...
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.605 :: Reading state information...
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.810 :: The following additional packages will be installed:
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.810 :: git-man libcurl3-gnutls liberror-perl libexpat1-dev libpython3-dev
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.811 :: libpython3.8 libpython3.8-dev python-pip-whl python3-distutils
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.811 :: python3-lib2to3 python3-pkg-resources python3.8-dev python3.8-venv zlib1g
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.811 :: zlib1g-dev
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.812 :: Suggested packages:
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.812 :: gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.812 :: git-gui gitk gitweb git-cvs git-mediawiki git-svn python-setuptools-doc
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.812 :: Recommended packages:
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.812 :: less
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.864 :: The following NEW packages will be installed:
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.865 :: git git-man libcurl3-gnutls liberror-perl libexpat1-dev libpython3-dev
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.865 :: libpython3.8 libpython3.8-dev python-pip-whl python3-dev python3-distutils
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.865 :: python3-lib2to3 python3-pip python3-pkg-resources python3-setuptools
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.865 :: python3-venv python3-wheel python3.8-dev python3.8-venv zlib1g-dev
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.867 :: The following packages will be upgraded:
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.867 :: zlib1g
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:49.890 :: 1 upgraded, 20 newly installed, 0 to remove and 95 not upgraded.
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:50.249 :: Need to get 14.8 MB of archives.
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:50.249 :: After this operation, 74.5 MB of additional disk space will be used.
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:50.249 :: Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 zlib1g amd64 1:1.2.11.dfsg-2ubuntu1.5 [54.2 kB]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:50.779 :: Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-pkg-resources all 45.2.0-1 [130 kB]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:51.047 :: Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl3-gnutls amd64 7.68.0-1ubuntu2.14 [233 kB]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:51.212 :: Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 liberror-perl all 0.17029-1 [26.5 kB]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:51.222 :: Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 git-man all 1:2.25.1-1ubuntu3.6 [887 kB]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:51.423 :: Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 git amd64 1:2.25.1-1ubuntu3.6 [4529 kB]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:51.791 :: Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libexpat1-dev amd64 2.2.9-1ubuntu0.4 [117 kB]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:51.797 :: Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libpython3.8 amd64 3.8.10-0ubuntu1~20.04.5 [1625 kB]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:51.919 :: Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libpython3.8-dev amd64 3.8.10-0ubuntu1~20.04.5 [3951 kB]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:52.233 :: Get:10 http://archive.ubuntu.com/ubuntu focal/main amd64 libpython3-dev amd64 3.8.2-0ubuntu2 [7236 B]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:52.234 :: Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python-pip-whl all 20.0.2-5ubuntu1.6 [1805 kB]
2022-11-07 12:10:06.887 :: 2022-11-07 15:09:52.383 :: Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu1.5 [155 kB]
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.394 :: Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 python3.8-dev amd64 3.8.10-0ubuntu1~20.04.5 [514 kB]
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.433 :: Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-lib2to3 all 3.8.10-0ubuntu1~20.04 [76.3 kB]
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.439 :: Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-distutils all 3.8.10-0ubuntu1~20.04 [141 kB]
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.449 :: Get:16 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-dev amd64 3.8.2-0ubuntu2 [1212 B]
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.449 :: Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-setuptools all 45.2.0-1 [330 kB]
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.477 :: Get:18 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-wheel all 0.34.2-1 [23.8 kB]
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.479 :: Get:19 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python3-pip all 20.0.2-5ubuntu1.6 [231 kB]
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.496 :: Get:20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python3.8-venv amd64 3.8.10-0ubuntu1~20.04.5 [5444 B]
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.509 :: Get:21 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-venv amd64 3.8.2-0ubuntu2 [1228 B]
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.730 :: Fetched 14.8 MB in 3s (5705 kB/s)
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.758 :: (Reading database ... 14318 files and directories currently installed.)
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.759 :: Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-2ubuntu1.5_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.773 :: Unpacking zlib1g:amd64 (1:1.2.11.dfsg-2ubuntu1.5) over (1:1.2.11.dfsg-2ubuntu1) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.812 :: Setting up zlib1g:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.845 :: Selecting previously unselected package python3-pkg-resources.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.850 :: (Reading database ... 14318 files and directories currently installed.)
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.851 :: Preparing to unpack .../00-python3-pkg-resources_45.2.0-1_all.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.854 :: Unpacking python3-pkg-resources (45.2.0-1) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.896 :: Selecting previously unselected package libcurl3-gnutls:amd64.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.897 :: Preparing to unpack .../01-libcurl3-gnutls_7.68.0-1ubuntu2.14_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.901 :: Unpacking libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.14) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.945 :: Selecting previously unselected package liberror-perl.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.947 :: Preparing to unpack .../02-liberror-perl_0.17029-1_all.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.950 :: Unpacking liberror-perl (0.17029-1) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.994 :: Selecting previously unselected package git-man.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.995 :: Preparing to unpack .../03-git-man_1%3a2.25.1-1ubuntu3.6_all.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:52.998 :: Unpacking git-man (1:2.25.1-1ubuntu3.6) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.105 :: Selecting previously unselected package git.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.106 :: Preparing to unpack .../04-git_1%3a2.25.1-1ubuntu3.6_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.124 :: Unpacking git (1:2.25.1-1ubuntu3.6) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.705 :: Selecting previously unselected package libexpat1-dev:amd64.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.708 :: Preparing to unpack .../05-libexpat1-dev_2.2.9-1ubuntu0.4_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.711 :: Unpacking libexpat1-dev:amd64 (2.2.9-1ubuntu0.4) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.756 :: Selecting previously unselected package libpython3.8:amd64.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.757 :: Preparing to unpack .../06-libpython3.8_3.8.10-0ubuntu1~20.04.5_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.760 :: Unpacking libpython3.8:amd64 (3.8.10-0ubuntu1~20.04.5) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.938 :: Selecting previously unselected package libpython3.8-dev:amd64.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.940 :: Preparing to unpack .../07-libpython3.8-dev_3.8.10-0ubuntu1~20.04.5_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:53.943 :: Unpacking libpython3.8-dev:amd64 (3.8.10-0ubuntu1~20.04.5) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.352 :: Selecting previously unselected package libpython3-dev:amd64.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.354 :: Preparing to unpack .../08-libpython3-dev_3.8.2-0ubuntu2_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.357 :: Unpacking libpython3-dev:amd64 (3.8.2-0ubuntu2) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.383 :: Selecting previously unselected package python-pip-whl.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.384 :: Preparing to unpack .../09-python-pip-whl_20.0.2-5ubuntu1.6_all.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.387 :: Unpacking python-pip-whl (20.0.2-5ubuntu1.6) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.536 :: Selecting previously unselected package zlib1g-dev:amd64.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.538 :: Preparing to unpack .../10-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.5_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.542 :: Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.582 :: Selecting previously unselected package python3.8-dev.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.583 :: Preparing to unpack .../11-python3.8-dev_3.8.10-0ubuntu1~20.04.5_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.586 :: Unpacking python3.8-dev (3.8.10-0ubuntu1~20.04.5) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.624 :: Selecting previously unselected package python3-lib2to3.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.626 :: Preparing to unpack .../12-python3-lib2to3_3.8.10-0ubuntu1~20.04_all.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.629 :: Unpacking python3-lib2to3 (3.8.10-0ubuntu1~20.04) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.669 :: Selecting previously unselected package python3-distutils.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.670 :: Preparing to unpack .../13-python3-distutils_3.8.10-0ubuntu1~20.04_all.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.673 :: Unpacking python3-distutils (3.8.10-0ubuntu1~20.04) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.712 :: Selecting previously unselected package python3-dev.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.714 :: Preparing to unpack .../14-python3-dev_3.8.2-0ubuntu2_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.717 :: Unpacking python3-dev (3.8.2-0ubuntu2) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.797 :: Selecting previously unselected package python3-setuptools.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.798 :: Preparing to unpack .../15-python3-setuptools_45.2.0-1_all.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.802 :: Unpacking python3-setuptools (45.2.0-1) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.864 :: Selecting previously unselected package python3-wheel.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.865 :: Preparing to unpack .../16-python3-wheel_0.34.2-1_all.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.869 :: Unpacking python3-wheel (0.34.2-1) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.904 :: Selecting previously unselected package python3-pip.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.905 :: Preparing to unpack .../17-python3-pip_20.0.2-5ubuntu1.6_all.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.908 :: Unpacking python3-pip (20.0.2-5ubuntu1.6) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.964 :: Selecting previously unselected package python3.8-venv.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.964 :: Preparing to unpack .../18-python3.8-venv_3.8.10-0ubuntu1~20.04.5_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.964 :: Unpacking python3.8-venv (3.8.10-0ubuntu1~20.04.5) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.990 :: Selecting previously unselected package python3-venv.
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.991 :: Preparing to unpack .../19-python3-venv_3.8.2-0ubuntu2_amd64.deb ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:54.995 :: Unpacking python3-venv (3.8.2-0ubuntu2) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.025 :: Setting up python3-pkg-resources (45.2.0-1) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.213 :: Setting up libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.14) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.223 :: Setting up python3-wheel (0.34.2-1) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.352 :: Setting up liberror-perl (0.17029-1) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.361 :: Setting up libexpat1-dev:amd64 (2.2.9-1ubuntu0.4) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.380 :: Setting up libpython3.8:amd64 (3.8.10-0ubuntu1~20.04.5) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.390 :: Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.400 :: Setting up git-man (1:2.25.1-1ubuntu3.6) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.409 :: Setting up python-pip-whl (20.0.2-5ubuntu1.6) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.419 :: Setting up python3-lib2to3 (3.8.10-0ubuntu1~20.04) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.509 :: Setting up python3-distutils (3.8.10-0ubuntu1~20.04) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.629 :: Setting up python3-setuptools (45.2.0-1) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.888 :: Setting up libpython3.8-dev:amd64 (3.8.10-0ubuntu1~20.04.5) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.900 :: Setting up python3.8-venv (3.8.10-0ubuntu1~20.04.5) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.942 :: Setting up git (1:2.25.1-1ubuntu3.6) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:55.969 :: Setting up python3-pip (20.0.2-5ubuntu1.6) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.204 :: Setting up python3.8-dev (3.8.10-0ubuntu1~20.04.5) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.214 :: Setting up libpython3-dev:amd64 (3.8.2-0ubuntu2) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.224 :: Setting up python3-venv (3.8.2-0ubuntu2) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.234 :: Setting up python3-dev (3.8.2-0ubuntu2) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.246 :: Processing triggers for libc-bin (2.31-0ubuntu9) ...
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 1:2.25.1-1ubuntu3.6 for package git
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 1:2.25.1-1ubuntu3.6 for package git-man
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 7.68.0-1ubuntu2.14 for package libcurl3-gnutls
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 0.17029-1 for package liberror-perl
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 2.2.9-1ubuntu0.4 for package libexpat1-dev
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 3.8.2-0ubuntu2 for package libpython3-dev
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 3.8.10-0ubuntu1~20.04.5 for package libpython3.8
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 3.8.10-0ubuntu1~20.04.5 for package libpython3.8-dev
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 20.0.2-5ubuntu1.6 for package python-pip-whl
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 3.8.2-0ubuntu2 for package python3-dev
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 3.8.10-0ubuntu1~20.04 for package python3-distutils
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 3.8.10-0ubuntu1~20.04 for package python3-lib2to3
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 20.0.2-5ubuntu1.6 for package python3-pip
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 45.2.0-1 for package python3-pkg-resources
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 45.2.0-1 for package python3-setuptools
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 3.8.2-0ubuntu2 for package python3-venv
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 0.34.2-1 for package python3-wheel
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 3.8.10-0ubuntu1~20.04.5 for package python3.8-dev
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.782 Found installed version 3.8.10-0ubuntu1~20.04.5 for package python3.8-venv
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.783 Found installed version 1:1.2.11.dfsg-2ubuntu1.5 for package zlib1g-dev
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.785 verify plugin environment for part 'charm'
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.786 Running step PULL for part 'charm'
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.786 Execute action
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.786 execute action charm:Action(part_name='charm', step=Step.PULL, action_type=ActionType.RUN, reason=None, project_vars=None)
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.799 Running step OVERLAY for part 'charm'
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.800 Execute action
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.800 execute action charm:Action(part_name='charm', step=Step.OVERLAY, action_type=ActionType.RUN, reason=None, project_vars=None)
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.820 Running step BUILD for part 'charm'
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.820 Execute action
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.820 execute action charm:Action(part_name='charm', step=Step.BUILD, action_type=ActionType.RUN, reason=None, project_vars=None)
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.821 remove directory /root/parts/charm/build
2022-11-07 12:10:06.888 :: 2022-11-07 15:09:56.828 :: + env -i LANG=C.UTF-8 LC_ALL=C.UTF-8 PATH=/snap/charmcraft/x1/libexec/charmcraft:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAP=/snap/charmcraft/x1 SNAP_ARCH=amd64 SNAP_NAME=charmcraft SNAP_VERSION=2.1.0 /snap/charmcraft/x1/bin/python3 -I /snap/charmcraft/x1/lib/charmcraft/charm_builder.py --builddir /root/parts/charm/build --installdir /root/parts/charm/install --entrypoint /root/parts/charm/build/src/charm.py -p setuptools -r requirements.txt
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.385 :: Starting charm builder
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.385 :: Translated .jujuignore 2 '.git' => '.*/\\.git\\Z'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.385 :: Translated .jujuignore 3 '.svn' => '.*/\\.svn\\Z'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.385 :: Translated .jujuignore 4 '.hg' => '.*/\\.hg\\Z'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.385 :: Translated .jujuignore 5 '.bzr' => '.*/\\.bzr\\Z'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.385 :: Translated .jujuignore 6 '.tox' => '.*/\\.tox\\Z'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.385 :: Translated .jujuignore 8 '/build/' => '/build\\Z'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.385 :: Translated .jujuignore 9 '/revision' => '/revision\\Z'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.385 :: Translated .jujuignore 10 '/venv' => '/venv\\Z'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.385 :: Translated .jujuignore 12 '.jujuignore' => '.*/\\.jujuignore\\Z'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.385 :: Translated .jujuignore 1 '/staging-venv' => '/staging\\-venv\\Z'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Building charm in '/root/parts/charm/install'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Linking in generic paths
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Creating the 'upgrade-charm' hook script pointing to dispatch
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Creating the 'install' hook script pointing to dispatch
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Creating the 'start' hook script pointing to dispatch
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Handling dependencies
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Current dependencies hash: 'b3110da5ba21b4dbb26f5c9541d250e416b6c49c'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Dependencies directory not found
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Installing dependencies
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Running external command ['python3', '-m', 'venv', '/root/parts/charm/build/staging-venv']
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Running external command ['/root/parts/charm/build/staging-venv/bin/pip3', '--version']
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    :: pip 20.0.2 from /root/parts/charm/build/staging-venv/lib/python3.8/site-packages/pip (python 3.8)
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 :: Running external command ['/root/parts/charm/build/staging-venv/bin/pip3', 'install', '--upgrade', '--no-binary', ':all:', 'setuptools']
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    :: Collecting setuptools
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::   Downloading setuptools-65.5.1.tar.gz (2.6 MB)
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::   Getting requirements to build wheel: started
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::   Getting requirements to build wheel: finished with status 'done'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::   Installing backend dependencies: started
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::   Installing backend dependencies: finished with status 'error'
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::   ERROR: Command errored out with exit status 1:
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::    command: /root/parts/charm/build/staging-venv/bin/python3 /root/parts/charm/build/staging-venv/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-yrnj8jdj/normal --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- wheel
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::        cwd: None
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::   Complete output (60 lines):
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::   Collecting wheel
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::     Downloading wheel-0.38.2.tar.gz (66 kB)
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::       ERROR: Command errored out with exit status 1:
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::        command: /root/parts/charm/build/staging-venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rtbwsju4/wheel/setup.py'"'"'; __file__='"'"'/tmp/pip-install-rtbwsju4/wheel/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-rtbwsju4/wheel/pip-egg-info
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::            cwd: /tmp/pip-install-rtbwsju4/wheel/
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::       Complete output (52 lines):
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::       WARNING: The wheel package is not available.
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::       running egg_info
2022-11-07 12:10:06.888 :: 2022-11-07 15:10:06.386 ::    ::       creating /tmp/pip-install-rtbwsju4/wheel/pip-egg-info/wheel.egg-info
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::       writing /tmp/pip-install-rtbwsju4/wheel/pip-egg-info/wheel.egg-info/PKG-INFO
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::       writing dependency_links to /tmp/pip-install-rtbwsju4/wheel/pip-egg-info/wheel.egg-info/dependency_links.txt
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::       writing entry points to /tmp/pip-install-rtbwsju4/wheel/pip-egg-info/wheel.egg-info/entry_points.txt
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::       writing requirements to /tmp/pip-install-rtbwsju4/wheel/pip-egg-info/wheel.egg-info/requires.txt
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::       writing top-level names to /tmp/pip-install-rtbwsju4/wheel/pip-egg-info/wheel.egg-info/top_level.txt
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::       writing manifest file '/tmp/pip-install-rtbwsju4/wheel/pip-egg-info/wheel.egg-info/SOURCES.txt'
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::       Traceback (most recent call last):
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "<string>", line 1, in <module>
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/tmp/pip-install-rtbwsju4/wheel/setup.py", line 5, in <module>
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           setup()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/root/parts/charm/build/staging-venv/lib/python3.8/site-packages/setuptools/__init__.py", line 145, in setup
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           return distutils.core.setup(**attrs)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           dist.run_commands()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           self.run_command(cmd)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           cmd_obj.run()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/root/parts/charm/build/staging-venv/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 296, in run
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           self.find_sources()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/root/parts/charm/build/staging-venv/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 303, in find_sources
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           mm.run()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/root/parts/charm/build/staging-venv/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 534, in run
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           self.add_defaults()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/root/parts/charm/build/staging-venv/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 570, in add_defaults
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           sdist.add_defaults(self)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/usr/lib/python3.8/distutils/command/sdist.py", line 226, in add_defaults
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           self._add_defaults_python()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/root/parts/charm/build/staging-venv/lib/python3.8/site-packages/setuptools/command/sdist.py", line 135, in _add_defaults_python
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           build_py = self.get_finalized_command('build_py')
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/usr/lib/python3.8/distutils/cmd.py", line 299, in get_finalized_command
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           cmd_obj.ensure_finalized()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/usr/lib/python3.8/distutils/cmd.py", line 107, in ensure_finalized
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           self.finalize_options()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/root/parts/charm/build/staging-venv/lib/python3.8/site-packages/setuptools/command/build_py.py", line 34, in finalize_options
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           orig.build_py.finalize_options(self)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/usr/lib/python3.8/distutils/command/build_py.py", line 43, in finalize_options
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           self.set_undefined_options('build',
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/usr/lib/python3.8/distutils/cmd.py", line 286, in set_undefined_options
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           src_cmd_obj = self.distribution.get_command_obj(src_cmd)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/usr/lib/python3.8/distutils/dist.py", line 857, in get_command_obj
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           klass = self.get_command_class(command)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/root/parts/charm/build/staging-venv/lib/python3.8/site-packages/setuptools/dist.py", line 834, in get_command_class
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           self.cmdclass[command] = cmdclass = ep.load()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/root/parts/charm/build/staging-venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           return self.resolve()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::         File "/root/parts/charm/build/staging-venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::           module = __import__(self.module_name, fromlist=['__name__'], level=0)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::       ModuleNotFoundError: No module named 'setuptools.command.build'
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::       ----------------------------------------
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::   ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    ::   ----------------------------------------
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.386 ::    :: ERROR: Command errored out with exit status 1: /root/parts/charm/build/staging-venv/bin/python3 /root/parts/charm/build/staging-venv/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-yrnj8jdj/normal --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- wheel Check the logs for full command output.
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 :: Traceback (most recent call last):
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::   File "/snap/charmcraft/x1/lib/charmcraft/charm_builder.py", line 419, in <module>
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::     main()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::   File "/snap/charmcraft/x1/lib/charmcraft/charm_builder.py", line 414, in main
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::     builder.build_charm()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::   File "/snap/charmcraft/x1/lib/charmcraft/charm_builder.py", line 99, in build_charm
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::     self.handle_dependencies()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::   File "/snap/charmcraft/x1/lib/charmcraft/charm_builder.py", line 301, in handle_dependencies
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::     self._install_dependencies(staging_venv_dir)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::   File "/snap/charmcraft/x1/lib/charmcraft/instrum.py", line 152, in _f
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::     return func(*args, **kwargs)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::   File "/snap/charmcraft/x1/lib/charmcraft/charm_builder.py", line 259, in _install_dependencies
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::     _process_run(cmd)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::   File "/snap/charmcraft/x1/lib/charmcraft/charm_builder.py", line 355, in _process_run
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 ::     raise RuntimeError(f"Subprocess command {cmd} execution failed with retcode {retcode}")
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.387 :: RuntimeError: Subprocess command ['/root/parts/charm/build/staging-venv/bin/pip3', 'install', '--upgrade', '--no-binary', ':all:', 'setuptools'] execution failed with retcode 1
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.451 Parts processing error: Failed to run the build script for part 'charm'.
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457 Traceback (most recent call last):
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457   File "/snap/charmcraft/x1/lib/craft_parts/executor/step_handler.py", line 134, in _builtin_build
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457     subprocess.run(
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457   File "/snap/charmcraft/x1/usr/lib/python3.8/subprocess.py", line 516, in run
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457     raise CalledProcessError(retcode, process.args,
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457 subprocess.CalledProcessError: Command '['/root/parts/charm/run/build.sh']' returned non-zero exit status 1.
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457 The above exception was the direct cause of the following exception:
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457 Traceback (most recent call last):
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457   File "/snap/charmcraft/x1/lib/charmcraft/parts.py", line 397, in run
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457     aex.execute([act], stdout=stream, stderr=stream)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457   File "/snap/charmcraft/x1/lib/craft_parts/executor/executor.py", line 301, in execute
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457     self._executor.execute(actions, stdout=stdout, stderr=stderr)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457   File "/snap/charmcraft/x1/lib/craft_parts/executor/executor.py", line 126, in execute
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457     self._run_action(act, stdout=stdout, stderr=stderr)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457   File "/snap/charmcraft/x1/lib/craft_parts/executor/executor.py", line 189, in _run_action
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457     handler.run_action(action, stdout=stdout, stderr=stderr)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457   File "/snap/charmcraft/x1/lib/craft_parts/executor/part_handler.py", line 161, in run_action
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457     state = handler(step_info, stdout=stdout, stderr=stderr)
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457   File "/snap/charmcraft/x1/lib/craft_parts/executor/part_handler.py", line 297, in _run_build
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457     self._run_step(
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457   File "/snap/charmcraft/x1/lib/craft_parts/executor/part_handler.py", line 477, in _run_step
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457     return step_handler.run_builtin()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457   File "/snap/charmcraft/x1/lib/craft_parts/executor/step_handler.py", line 106, in run_builtin
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457     return handler()
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457   File "/snap/charmcraft/x1/lib/craft_parts/executor/step_handler.py", line 142, in _builtin_build
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457     raise errors.PluginBuildError(part_name=self._part.name) from process_error
2022-11-07 12:10:06.889 :: 2022-11-07 15:10:06.457 craft_parts.errors.PluginBuildError: Failed to run the build script for part 'charm'.
2022-11-07 12:10:08.237 Failed to build charm for bases index '0'.
2022-11-07 12:10:08.238 Traceback (most recent call last):
2022-11-07 12:10:08.238   File "/snap/charmcraft/1083/lib/charmcraft/commands/build.py", line 356, in pack_charm_in_instance
2022-11-07 12:10:08.238     instance.execute_run(cmd, check=True, cwd=instance_output_dir)
2022-11-07 12:10:08.238   File "/snap/charmcraft/1083/lib/craft_providers/lxd/lxd_instance.py", line 289, in execute_run
2022-11-07 12:10:08.238     return self.lxc.exec(
2022-11-07 12:10:08.238   File "/snap/charmcraft/1083/lib/craft_providers/lxd/lxc.py", line 329, in exec
2022-11-07 12:10:08.238     return runner(final_cmd, **kwargs)  # pylint: disable=subprocess-run-check
2022-11-07 12:10:08.238   File "/snap/charmcraft/1083/usr/lib/python3.8/subprocess.py", line 516, in run
2022-11-07 12:10:08.238     raise CalledProcessError(retcode, process.args,
2022-11-07 12:10:08.238 subprocess.CalledProcessError: Command '['lxc', '--project', 'charmcraft', 'exec', 'local:charmcraft-slurmd-26614229-0-0-amd64', '--cwd', '/root', '--', 'env', 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'CHARMCRAFT_MANAGED_MODE=1', 'charmcraft', 'pack', '--bases-index', '0', '--verbosity=brief']' returned non-zero exit status 1.
2022-11-07 12:10:08.238 Full execution log: '/home/jaime/snap/charmcraft/common/cache/charmcraft/log/charmcraft-20221107-120856.314474.log'
@hloeung
Copy link

hloeung commented Nov 8, 2022

I'm seeing this as well. I noticed from my debugging that the setuptools is now using the latest 65 rather than what's pinned in wheelhouse.txt.

The workaround I'm using is to update charmcraft.yaml with: build-snaps: [charm/2.x/stable]

@hloeung
Copy link

hloeung commented Nov 8, 2022

It looks like it's broken from pypa/wheel#483, wheel<0.38.2 in the charm's whee'house.txt fixes it for me.

@hloeung
Copy link

hloeung commented Nov 8, 2022

Filed a bug against wheel - pypa/wheel#487

@facundobatista
Copy link
Contributor

I posted a workaround but it looks wheels is fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants