FTBFS - netcfg tests fail on hirsute

Bug #1915120 reported by Jean-Baptiste Lallement
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Critical
Unassigned
Hirsute
Fix Released
Critical
Unassigned

Bug Description

Ubiquity fails to build on hirsute. netcfg tests are failing

Running suite(s): inet_mton
 inet_ptom
 netcfg_parse_cidr_address
 netcfg_network_address
 netcfg_gateway_reachable
 nc_v6_interface_configured
sh: 1: ip: not found
95%: Checks: 23, Failures: 1, Errors: 0
test/test_nc_v6_interface_configured.c:18:F:nc_v6_interface_configured:test_nc_v6_interface_configured_simple:0: Didn't find SLAAC
make[3]: *** [test/tests.mk:19: test] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/d-i/source/netcfg'
dh_auto_test: error: make -j1 test returned exit code 2
make[2]: *** [debian/rules:7: build] Error 25
make[2]: Leaving directory '/<<PKGBUILDDIR>>/d-i/source/netcfg'
make[1]: *** [Makefile:35: build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/d-i'
make: *** [debian/rules:40: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Full logs:
https://launchpadlibrarian.net/521992228/buildlog_ubuntu-hirsute-amd64.ubiquity_21.04.9~ppa1_BUILDING.txt.gz

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 5.8.0-36.40+21.04.1-generic 5.8.18
Uname: Linux 5.8.0-36-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu57
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Feb 9 08:26:57 2021
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
InstallationDate: Installed on 2020-05-31 (254 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200527)
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Changed in ubiquity (Ubuntu):
importance: Undecided → Critical
tags: added: rls-hh-incoming
tags: added: ftbfs
tags: added: fr-1128
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Actually the build passes with proposed enabled but I didn't identify which component makes it pass.

The error is due to the mock of the 'ip' command not being found during the test. On a real machine it finds the installed version of 'ip' but in the builder this command is not installed. Besides, locally the test fails because the name of the interface is eno1 and different from the value eth0 expected by the test.

tags: removed: rls-hh-incoming
Revision history for this message
Brian Murray (brian-murray) wrote :

Has this been fixed? I see there is 21.04.11 has built and is available.

Changed in ubiquity (Ubuntu Hirsute):
status: New → Incomplete
Changed in ubiquity (Ubuntu Hirsute):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.