Page MenuHomeVyOS Platform

Python3-pexpect is not inlcuded to the Dockerfile for arm arch
Closed, ResolvedPublicBUG

Description

Python3-pexpect does not inluded to the Dockerfile for arm arch https://github.com/vyos/vyos-build/blob/88897baad505ff5d946f694877324ac87a295f0d/docker/Dockerfile#L272

It has to be and for arm64 arch

vyos_bld@660811d56b68:/vyos/T8065/vyos-build$ sudo make test-no-interfaces-no-vpp | tee tmp.log
if [ ! -f build/live-image-arm64.hybrid.iso ]; then
echo "Could not find build/live-image-arm64.hybrid.iso"
exit 1
fi
scripts/check-qemu-install --debug --configd --smoketest --uefi --no-interfaces --no-vpp --arch arm64 build/live-image-arm64.hybrid.iso
Traceback (most recent call last):
  File "/vyos/T8065/vyos-build/scripts/check-qemu-install", line 35, in <module>
    import pexpect
ModuleNotFoundError: No module named 'pexpect'
make: *** [Makefile:36: test-no-interfaces-no-vpp] Error 1
vyos_bld@660811d56b68:/vyos/T8065/vyos-build$

Install:

vyos_bld@660811d56b68:/vyos/T8065/vyos-build$ uname -m
aarch64
vyos_bld@660811d56b68:/vyos/T8065/vyos-build$ sudo apt install python3-pexpect
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  python3-ptyprocess
Suggested packages:
  python-pexpect-doc
The following NEW packages will be installed:
  python3-pexpect python3-ptyprocess
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 67.6 kB of archives.
After this operation, 270 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bookworm/main arm64 python3-ptyprocess all 0.7.0-5 [14.7 kB]
Get:2 http://deb.debian.org/debian bookworm/main arm64 python3-pexpect all 4.8.0-4 [52.9 kB]
Fetched 67.6 kB in 1s (116 kB/s)           
Selecting previously unselected package python3-ptyprocess.
(Reading database ... 36899 files and directories currently installed.)
Preparing to unpack .../python3-ptyprocess_0.7.0-5_all.deb ...
Unpacking python3-ptyprocess (0.7.0-5) ...
Selecting previously unselected package python3-pexpect.
Preparing to unpack .../python3-pexpect_4.8.0-4_all.deb ...
Unpacking python3-pexpect (4.8.0-4) ...
Setting up python3-ptyprocess (0.7.0-5) ...
Setting up python3-pexpect (4.8.0-4) ...
vyos_bld@660811d56b68:/vyos/T8065/vyos-build$

Details

Version
rolling
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)