← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2068633] [NEW] tests are attempted for src packages with no binary packages

 

Public bug reported:

Spun-off from LP: #2059978.

There are cases there tests are triggered for packages that build no
binary packages on a given architecture. The concrete case [1] is tgt on
armhf, which has no binary package in oracular:

$ rmadison --suite oracular -S tgt
 tgt | 1:1.0.85-1.1ubuntu6 | oracular/universe | source, amd64, arm64, ppc64el, riscv64, s390x
 tgt-glusterfs | 1:1.0.85-1.1ubuntu6 | oracular/universe | amd64, arm64, ppc64el, riscv64, s390x
 tgt-rbd | 1:1.0.85-1.1ubuntu6 | oracular/universe | amd64, arm64, ppc64el, riscv64, s390x

and therefore the test fails. This counts as a regression because in the
past we did have a binary package:

$ rmadison --suite mantic -S tgt
 tgt | 1:1.0.85-1ubuntu1 | mantic/universe | source, amd64, arm64, armhf, ppc64el, riscv64, s390x
 tgt-glusterfs | 1:1.0.85-1ubuntu1 | mantic/universe | amd64, arm64, armhf, ppc64el, riscv64, s390x
 tgt-rbd | 1:1.0.85-1ubuntu1 | mantic/universe | amd64, arm64, armhf, ppc64el, riscv64, s390x

and tests did pass on armhf. Autopkgtest expects that bin:tgt exists
because it checks:

$ apt-cache showsrc --only-source tg
Package: tgt
[...]
Package-List:
 tgt deb net optional arch=linux-any
 tgt-glusterfs deb net optional arch=amd64,arm64,ppc64el,ppc64,riscv64,mips64el,s390x,ia64,sparc64
 tgt-rbd deb net optional arch=amd64,arm64,ppc64el,ppc64,riscv64,mips64el,s390x,ia64,sparc64

and tgt has arch=linux-any.

Steve (vorlon) pointed out that:

> Per https://launchpad.net/ubuntu/noble/armhf/tgt the binaries were
> removed because they depend on another package (ceph) that is not
> portable to armhf.

> Since the tgt source package builds no architecture: all packages,
> and there are no armhf packages published, I think there is a bug
> in whatever is trying to trigger this test.

So this is likely a britney bug.

On tgt: hinting seems appropriate.

[1] https://autopkgtest.ubuntu.com/results/autopkgtest-
oracular/oracular/armhf/t/tgt/20240531_132459_55753@/log.gz

** Affects: auto-package-testing
     Importance: Undecided
         Status: New

** Affects: britney
     Importance: Undecided
         Status: New

** Also affects: britney
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Auto Package Testing.
https://bugs.launchpad.net/bugs/2068633

Title:
  tests are attempted for src packages with no binary packages

Status in Auto Package Testing:
  New
Status in britney:
  New

Bug description:
  Spun-off from LP: #2059978.

  There are cases there tests are triggered for packages that build no
  binary packages on a given architecture. The concrete case [1] is tgt
  on armhf, which has no binary package in oracular:

  $ rmadison --suite oracular -S tgt
   tgt | 1:1.0.85-1.1ubuntu6 | oracular/universe | source, amd64, arm64, ppc64el, riscv64, s390x
   tgt-glusterfs | 1:1.0.85-1.1ubuntu6 | oracular/universe | amd64, arm64, ppc64el, riscv64, s390x
   tgt-rbd | 1:1.0.85-1.1ubuntu6 | oracular/universe | amd64, arm64, ppc64el, riscv64, s390x

  and therefore the test fails. This counts as a regression because in
  the past we did have a binary package:

  $ rmadison --suite mantic -S tgt
   tgt | 1:1.0.85-1ubuntu1 | mantic/universe | source, amd64, arm64, armhf, ppc64el, riscv64, s390x
   tgt-glusterfs | 1:1.0.85-1ubuntu1 | mantic/universe | amd64, arm64, armhf, ppc64el, riscv64, s390x
   tgt-rbd | 1:1.0.85-1ubuntu1 | mantic/universe | amd64, arm64, armhf, ppc64el, riscv64, s390x

  and tests did pass on armhf. Autopkgtest expects that bin:tgt exists
  because it checks:

  $ apt-cache showsrc --only-source tg
  Package: tgt
  [...]
  Package-List:
   tgt deb net optional arch=linux-any
   tgt-glusterfs deb net optional arch=amd64,arm64,ppc64el,ppc64,riscv64,mips64el,s390x,ia64,sparc64
   tgt-rbd deb net optional arch=amd64,arm64,ppc64el,ppc64,riscv64,mips64el,s390x,ia64,sparc64

  and tgt has arch=linux-any.

  Steve (vorlon) pointed out that:

  > Per https://launchpad.net/ubuntu/noble/armhf/tgt the binaries were
  > removed because they depend on another package (ceph) that is not
  > portable to armhf.

  > Since the tgt source package builds no architecture: all packages,
  > and there are no armhf packages published, I think there is a bug
  > in whatever is trying to trigger this test.

  So this is likely a britney bug.

  On tgt: hinting seems appropriate.

  [1] https://autopkgtest.ubuntu.com/results/autopkgtest-
  oracular/oracular/armhf/t/tgt/20240531_132459_55753@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/2068633/+subscriptions



Follow ups