[Bug 2052639] Re: deb822 sources are not supported (was: cannot create a local noble lxd runner)

2024-07-26 Thread Ural Tunaboyu
Performing further verification on Jammy.

We will start by reproducing the bug for Noble and Oracular images.
$ apt policy autopkgtest
autopkgtest:
  Installed: 5.32ubuntu3~22.04.1
  Candidate: 5.32ubuntu3~22.04.1
  Version table:
 5.37ubuntu3~22.04.1 400
400 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
400 http://archive.ubuntu.com/ubuntu jammy-proposed/main i386 Packages
 *** 5.32ubuntu3~22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
100 /var/lib/dpkg/status
 5.20 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages

First we reproduce the bug for a Noble image:
$ autopkgtest-buildvm-ubuntu-cloud -a amd64 -r noble
Downloading 
https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img...
582.6/585.5 MB (100%)
Download successful.
Resizing image, adding 20G...
Image resized.
Building seed image...
Booting image to run cloud-init...
qemu-system-x86_64: -drive 
index=1,file=/tmp/autopkgtest-buildvm-ubuntu-cloudofybbc2_/autopkgtest.seed,format=raw,if=virtio,discard=unmap,readonly:
 warning: short-form boolean option 'readonly' deprecated
Please use readonly=on instead
Moving image into final destination ./autopkgtest-noble-amd64.img
$ autopkgtest -BU gzip -- qemu -c 1 --ram 1024 autopkgtest-noble-amd64.img
autopkgtest [15:09:22]: starting date and time: 2024-07-26 15:09:22-0700
autopkgtest [15:09:22]: version 5.32ubuntu3~22.04.1
autopkgtest [15:09:22]: host autopkgtest-sru-jammy-amd64; command line: 
/usr/bin/autopkgtest -BU gzip -- qemu -c 1 --ram 1024 
autopkgtest-noble-amd64.img
autopkgtest [15:09:54]: testbed dpkg architecture: amd64
autopkgtest [15:09:54]: testbed apt version: 2.7.14build2
autopkgtest [15:09:54]:  test bed setup
(truncated for brevity)
autopkgtest [15:10:23]: testbed running kernel: Linux 6.8.0-39-generic 
#39-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul  5 21:49:14 UTC 2024
autopkgtest [15:10:23]:  apt-source gzip
blame: gzip
badpkg: apt-cache showsrc didn't succeed: E: You must put some 'deb-src' URIs 
in your sources.list

autopkgtest [15:10:23]: ERROR: erroneous package: apt-cache showsrc
didn't succeed: E: You must put some 'deb-src' URIs in your sources.list


So the bug is replicated. Now we reproduce it for an Oracular image:

$ autopkgtest-buildvm-ubuntu-cloud -a amd64 -r oracular
Downloading 
https://cloud-images.ubuntu.com/oracular/current/oracular-server-cloudimg-amd64.img...
494.9/497.4 MB (100%)
Download successful.
Resizing image, adding 20G...
Image resized.
Building seed image...
Booting image to run cloud-init...
qemu-system-x86_64: -drive 
index=1,file=/tmp/autopkgtest-buildvm-ubuntu-cloudv0213a3p/autopkgtest.seed,format=raw,if=virtio,discard=unmap,readonly:
 warning: short-form boolean option 'readonly' deprecated
Please use readonly=on instead
Moving image into final destination ./autopkgtest-oracular-amd64.img
$ autopkgtest -BU gzip -- qemu -c 1 --ram 1024 autopkgtest-oracular-amd64.img
autopkgtest [15:22:12]: starting date and time: 2024-07-26 15:22:12-0700
autopkgtest [15:22:12]: version 5.32ubuntu3~22.04.1
autopkgtest [15:22:12]: host autopkgtest-sru-jammy-amd64; command line: 
/usr/bin/autopkgtest -BU gzip -- qemu -c 1 --ram 1024 
autopkgtest-oracular-amd64.img
autopkgtest [15:22:35]: testbed dpkg architecture: amd64
autopkgtest [15:22:35]: testbed apt version: 2.9.6
autopkgtest [15:22:35]:  test bed setup
(truncated for brevity)
autopkgtest [15:23:15]: rebooting testbed after setup commands that affected 
boot
autopkgtest [15:23:45]: testbed running kernel: Linux 6.8.0-31-generic 
#31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024
autopkgtest [15:23:49]:  apt-source gzip
blame: gzip
badpkg: apt-cache showsrc didn't succeed: E: You must put some 'deb-src' URIs 
in your sources.list

autopkgtest [15:23:49]: ERROR: erroneous package: apt-cache showsrc
didn't succeed: E: You must put some 'deb-src' URIs in your sources.list


So the bug is replicated for both Noble and Oracular.
Now we verify the fix:
$ apt policy autopkgtest
autopkgtest:
  Installed: 5.37ubuntu3~22.04.1
  Candidate: 5.37ubuntu3~22.04.1
  Version table:
 *** 5.37ubuntu3~22.04.1 400
400 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
400 http://archive.ubuntu.com/ubuntu jammy-proposed/main i386 Packages
100 /var/lib/dpkg/status
 5.32ubuntu3~22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
 5.20 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages

First we will rebuild the Noble

[Bug 2052639] Re: deb822 sources are not supported (was: cannot create a local noble lxd runner)

2024-07-26 Thread Ural Tunaboyu
Performing the verification for Jammy.

First we reproduce the bug:
$ apt policy autopkgtest
autopkgtest:
  Installed: 5.32ubuntu3~22.04.1
  Candidate: 5.32ubuntu3~22.04.1
  Version table:
 5.37ubuntu3~22.04.1 400
400 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
400 http://archive.ubuntu.com/ubuntu jammy-proposed/main i386 Packages
 *** 5.32ubuntu3~22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
100 /var/lib/dpkg/status
 5.20 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages

$ autopkgtest-build-lxd ubuntu-minimal:noble
Creating autopkgtest-prepare-2fl
Starting autopkgtest-prepare-2fl
Created symlink /etc/systemd/system/serial-getty@getty.service → /dev/null.
Container finished booting. Distribution Ubuntu, release noble, architecture 
amd64
Running setup script /usr/share/autopkgtest/setup-commands/setup-testbed...
sh: Attempting to set up Debian/Ubuntu apt sources automatically
Failed to auto-detect apt mirror; set $MIRROR explicitly

The bug is successfully replicated.
Now we verify the fix.

$ apt policy autopkgtest
autopkgtest:
  Installed: 5.37ubuntu3~22.04.1
  Candidate: 5.37ubuntu3~22.04.1
  Version table:
 *** 5.37ubuntu3~22.04.1 400
400 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
400 http://archive.ubuntu.com/ubuntu jammy-proposed/main i386 Packages
100 /var/lib/dpkg/status
 5.32ubuntu3~22.04.1 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
 5.20 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
$ autopkgtest-build-lxd ubuntu-minimal:noble
Creating autopkgtest-prepare-UAV
Starting autopkgtest-prepare-UAV
Created symlink /etc/systemd/system/serial-getty@getty.service → /dev/null.
Issuing reboot (current boot id: f4927f2a-8daf-4a4e-9dfd-7d1fab25303b)
Reboot successful (current boot id: c53c28cd-3f19-496e-b9e9-516f79b057d7)
Container finished booting. Distribution Ubuntu, release noble, architecture 
amd64
Running setup script /usr/share/autopkgtest/setup-commands/setup-testbed...
(truncated for brevity)
Instance published with fingerprint: 
d88a89f2becf35752df7c64fa3978a8c2a1cb0ff1e8219a4e5827c50eeba022a

So lxd can successfully build and publish the container in the new
version of autopkgtest.

This concludes the verification for Jammy.

** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2052639

Title:
  deb822 sources are not supported (was: cannot create a local noble lxd
  runner)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2052639/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2052639] Re: deb822 sources are not supported (was: cannot create a local noble lxd runner)

2024-07-05 Thread Timo Aaltonen
Hello Simon, or anyone else affected,

Accepted autopkgtest into jammy-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/autopkgtest/5.37ubuntu2~22.04.1 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: autopkgtest (Ubuntu Jammy)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2052639

Title:
  deb822 sources are not supported (was: cannot create a local noble lxd
  runner)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2052639/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2052639] Re: deb822 sources are not supported (was: cannot create a local noble lxd runner)

2024-07-03 Thread Skia
** Description changed:

+ [Impact]
+ 
+ Noble was the first Ubuntu release that introduced deb822 only sources. 
However,
+ this required support for that in autopkgtest.
+ 
+ [Test case]
+ 
+ $ autopkgtest-build-lxd ubuntu-daily:oracular
+ $ autopkgtest-buildvm-ubuntu-cloud -a amd64 -r noble
+ $ autopkgtest-buildvm-ubuntu-cloud -a amd64 -r oracular
+ 
+ [Fix]
+ 
+ https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/287
+ This was release in autopkgtest 5.34, currently in the process of being SRU'd 
to
+ Jammy in bug #2071609.
+ 
+ [Regression potential]
+ 
+ The current SRU has a lot of unrelated changes. While this increases the
+ chances of regression, this also come with a broader test suite, increasing 
test
+ coverage, and so regressions should only happen in corner-cases, hopefully 
less
+ important as the current lack of deb822 feature.
+ 
+ 
+ [Original bug report]
  Hi there,
  
  On current mantic, I cannot use autopkgtest-build-lxd to create a noble
  LXD runner:
  
  $ autopkgtest-build-lxd ubuntu-daily:noble
  Detected local apt proxy, using http://10.235.222.1:3142 as container proxy
  Creating autopkgtest-prepare-nDq
  Starting autopkgtest-prepare-nDq
  Created symlink /etc/systemd/system/serial-getty@getty.service → /dev/null.
  Container finished booting. Distribution Ubuntu, release noble, architecture 
amd64
  Running setup script /usr/share/autopkgtest/setup-commands/setup-testbed...
  awk: fatal: cannot open file `/etc/apt/sources.list' for reading: No such 
file or directory
  sh: Attempting to set up Debian/Ubuntu apt sources automatically
  Failed to auto-detect apt mirror; set $MIRROR explicitly
  
  I'm guessing this is related to deb822?
  
  ProblemType: Bug
  DistroRelease: Ubuntu 23.10
  Package: autopkgtest 5.28ubuntu1 [modified: usr/bin/autopkgtest-build-lxd]
  ProcVersionSignature: Ubuntu 6.5.0-15.15-generic 6.5.3
  Uname: Linux 6.5.0-15-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.27.0-0ubuntu5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: GNOME
  Date: Wed Feb  7 15:33:18 2024
  InstallationDate: Installed on 2021-07-05 (947 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  PackageArchitecture: all
  ProcEnviron:
-  LANG=fr_FR.UTF-8
-  PATH=(custom, no user)
-  SHELL=/usr/bin/zsh
-  TERM=xterm-256color
-  XDG_RUNTIME_DIR=
+  LANG=fr_FR.UTF-8
+  PATH=(custom, no user)
+  SHELL=/usr/bin/zsh
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=
  SourcePackage: autopkgtest
  UpgradeStatus: Upgraded to mantic on 2023-09-13 (147 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2052639

Title:
  deb822 sources are not supported (was: cannot create a local noble lxd
  runner)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2052639/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2052639] Re: deb822 sources are not supported (was: cannot create a local noble lxd runner)

2024-04-22 Thread Launchpad Bug Tracker
This bug was fixed in the package autopkgtest - 5.34ubuntu2

---
autopkgtest (5.34ubuntu2) noble; urgency=medium

  [ Paride Legovini ]
  * d/t/unshare: skip test (exit 77) if simple unshare command fails
  * gitlab-ci: do not include the salsa pipeline

  [ Florent 'Skia' Jacquet ]
  * tools/a-b-lxd: make sure the reboot happens when needed

 -- Paride Legovini   Wed, 17 Apr 2024 23:39:55 +0200

** Changed in: autopkgtest (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2052639

Title:
  deb822 sources are not supported (was: cannot create a local noble lxd
  runner)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2052639/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2052639] Re: deb822 sources are not supported (was: cannot create a local noble lxd runner)

2024-04-03 Thread Paride Legovini
** Summary changed:

- cannot create a local noble lxd runner
+ deb822 sources are not supported (was: cannot create a local noble lxd runner)

** Changed in: autopkgtest (Ubuntu)
 Assignee: (unassigned) => Nick Rosbrook (enr0n)

** Changed in: autopkgtest (Ubuntu)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2052639

Title:
  deb822 sources are not supported (was: cannot create a local noble lxd
  runner)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2052639/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs