ubuntu_fan_smoke_test failed with unable to fetch file from http://ports.ubuntu.com on PowerPC

Bug #1864140 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Confirmed
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Issue found on PowerPC nodes across different kernels.
(It works on other arches in different MAAS server, so it looks like some network config issue)

Running in the Canonical CI environment
Testing Fan Networking (pre-0.13.0 API)
docker pull ppc64le/ubuntu: PASSED
enable disable fan test: PASSED
fanctl show test: PASSED
fanctl check bridge config test: PASSED
fanatic docker test: FAILED: (docker run returned 100)
stderr:
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/InRelease Could not connect to ports.ubuntu.com:80 (91.189.88.150), connection timed out
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/InRelease Unable to connect to ports.ubuntu.com:http:
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-backports/InRelease Unable to connect to ports.ubuntu.com:http:
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/InRelease Unable to connect to ports.ubuntu.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Unable to locate package iputils-ping

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-174-generic 4.4.0-174.204
ProcVersionSignature: Ubuntu 4.4.0-174.204-generic 4.4.211
Uname: Linux 4.4.0-174-generic ppc64le
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Feb 21 03:32 seq
 crw-rw---- 1 root audio 116, 33 Feb 21 03:32 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.21
Architecture: ppc64el
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDmesg:

Date: Fri Feb 21 03:47:15 2020
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
PciMultimedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: root=UUID=faf7d4a6-6836-4496-bc64-15f33ec9e43d ro console=hvc0
ProcLoadAvg: 1.28 1.27 0.97 1/1305 17149
ProcSwaps:
 Filename Type Size Used Priority
 /swap.img file 8388544 0 -1
ProcVersion: Linux version 4.4.0-174-generic (buildd@bos02-ppc64el-008) (gcc version 5.4.0 20160609 (Ubuntu/IBM 5.4.0-6ubuntu1~16.04.12) ) #204-Ubuntu SMP Wed Jan 29 06:41:38 UTC 2020
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-174-generic N/A
 linux-backports-modules-4.4.0-174-generic N/A
 linux-firmware 1.157.22
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
cpu_cores: Number of cores present = 20
cpu_coreson: Number of cores online = 20
cpu_dscr: DSCR is 0
cpu_freq:
 min: 3.694 GHz (cpu 120)
 max: 3.694 GHz (cpu 37)
 avg: 3.694 GHz
cpu_runmode:
 Could not retrieve current diagnostics mode,
 No kernel interface to firmware
cpu_smt: SMT=8

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
tags: added: sru-20200217
tags: added: ubuntu-fan-smoke-test
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1864140

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Po-Hsu Lin (cypressyew)
tags: added: eoan
Revision history for this message
Sean Feole (sfeole) wrote :

After looking @ lp#1840904 This looks like its nameresolv issue in the lab in which the power machine resides. I'll have to deploy one in order to fix this and find out whats causing it.

Changed in ubuntu-kernel-tests:
assignee: nobody → Sean Feole (sfeole)
status: New → Triaged
Changed in linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Sean Feole (sfeole) wrote :

Marking the linux package invalid as this is clearly a busted test

Changed in ubuntu-kernel-tests:
status: Triaged → In Progress
Revision history for this message
Sean Feole (sfeole) wrote :

Here is the problem.

Fanatic test-local-docker, creates a local docker container and imports local DNS via systemd-resolv.conf , it tries to install "Ping" and can't do that because of our firewall, well... the firewall in the lab.

It's blocking access to ports.ubuntu.com..

2 ways we can fix this..

Need to install docker manually, prior to running the teest and preseed docker templates to add

Acquire::http::Proxy "http://<OUR PROXY>:3128"; so that it imports to /etc/apt/apt.conf

OR

we update the firewall rules to allow access to ports.ubuntu.com from all machines in this lab.

Giving we don't own that network it may require some haggling. updating our test may be the least invasive, but it's a pain in the rear.

Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Found on Groovy/linux 5.8.0-31.33

tags: added: 5.8 groovy sru-20201109
Sean Feole (sfeole)
Changed in ubuntu-kernel-tests:
status: In Progress → Confirmed
assignee: Sean Feole (sfeole) → nobody
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.