Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

noble staging job is failing because of unattended-upgrades #7419

Open
legoktm opened this issue Jan 22, 2025 · 1 comment · May be fixed by #7420
Open

noble staging job is failing because of unattended-upgrades #7419

legoktm opened this issue Jan 22, 2025 · 1 comment · May be fixed by #7420
Assignees
Labels
noble Ubuntu Noble related work

Comments

@legoktm
Copy link
Member

legoktm commented Jan 22, 2025

Description

The test is failing because, e.g.:

Packages that will be upgraded: libpolkit-agent-1-0 libpolkit-gobject-1-0 polkitd
Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
applying set ['libpolkit-agent-1-0', 'polkitd', 'libpolkit-gobject-1-0']
left to upgrade set()
All upgrades installed
InstCount=0 DelCount=0 BrokenCount=0
The list of kept packages can't be calculated in dry-run mode.

We're looking for the string "No packages found that can be upgraded unattended and no pending auto-removals" which I believe is no present in the source code. We'll need to vary the string we're looking for based on the distro version

@legoktm legoktm self-assigned this Jan 22, 2025
@legoktm
Copy link
Member Author

legoktm commented Jan 22, 2025

polkit is currently being phased in (per https://ubuntu-archive-team.ubuntu.com/phased-updates.html), which is why u-u (correctly) isn't picking it up. I think we should look for the string left to upgrade set()\nAll upgrades installed instead.

legoktm added a commit that referenced this issue Jan 22, 2025
noble now has phased updates, in which the package repository will have
pending updates, but they won't be applied yet. We need to look for a
different message on noble to handle this change.

Fixes #7419.
@legoktm legoktm linked a pull request Jan 22, 2025 that will close this issue
3 tasks
@legoktm legoktm moved this to In Progress in SecureDrop dev cycle Jan 22, 2025
@legoktm legoktm added the noble Ubuntu Noble related work label Jan 22, 2025
legoktm added a commit that referenced this issue Jan 22, 2025
noble now has phased updates, in which the package repository will have
pending updates, but they won't be applied yet. We need to look for a
different message on noble to handle this change.

Fixes #7419.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
noble Ubuntu Noble related work
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant