Skip to content

debian.setup: drop ubuntu 22.04 and 24.04 hacks - #9338

Merged
jelly merged 4 commits into
cockpit-project:mainfrom
tomasmatus:debian-setup-drop-obsolete
Sep 18, 2026
Merged

jelly merged 4 commits into
cockpit-project:mainfrom
tomasmatus:debian-setup-drop-obsolete

Conversation

@tomasmatus

Copy link
Copy Markdown
Member

No description provided.

@tomasmatus
tomasmatus requested review from Venefilyn and jelly August 13, 2026 07:22
@jelly

jelly commented Aug 13, 2026

Copy link
Copy Markdown
Member

I think its good to at least see a successful ubuntu-stable refresh, but thats blocked at the moment.

@mvollmer

Copy link
Copy Markdown
Member

/image-refresh ubuntu-stable

@cockpituous

Copy link
Copy Markdown
Contributor

Task scheduled: issue-9338 image-refresh/ubuntu-stable

Testing Farm link: https://api.dev.testing-farm.io/v0.1/requests/61b8f327-2bac-40be-94f7-2539e27dcff2

Job JSON
{
  "repo": "cockpit-project/bots",
  "sha": "2797f01a011a96a55831a5b7e429a8296e06955f",
  "pull": 9338,
  "slug": "image-refresh-ubuntu-stable-2797f01a-20260826-085903",
  "context": "image-refresh/ubuntu-stable",
  "command": [
    "./image-refresh",
    "--verbose",
    "--issue=9338",
    "ubuntu-stable"
  ],
  "secrets": [
    "github-token",
    "image-upload"
  ]
}

@cockpituous

Copy link
Copy Markdown
Contributor

@cockpituous

Copy link
Copy Markdown
Contributor

image-refresh ubuntu-stable failed: Command '('./image-create', '--verbose', 'ubuntu-stable')' returned non-zero exit status 1.

@tomasmatus

Copy link
Copy Markdown
Member Author

/image-refresh ubuntu-stable

@cockpituous

Copy link
Copy Markdown
Contributor

Task scheduled: issue-9338 image-refresh/ubuntu-stable

Testing Farm link: https://api.dev.testing-farm.io/v0.1/requests/ff434ab3-4d3b-4368-81b8-78a88aadcf6b

Job JSON
{
  "repo": "cockpit-project/bots",
  "sha": "2797f01a011a96a55831a5b7e429a8296e06955f",
  "pull": 9338,
  "slug": "image-refresh-ubuntu-stable-2797f01a-20260914-082459",
  "context": "image-refresh/ubuntu-stable",
  "command": [
    "./image-refresh",
    "--verbose",
    "--issue=9338",
    "ubuntu-stable"
  ],
  "secrets": [
    "github-token",
    "image-upload"
  ]
}

@cockpituous

Copy link
Copy Markdown
Contributor

@cockpituous

Copy link
Copy Markdown
Contributor

image-refresh ubuntu-stable failed: Command '('./image-create', '--verbose', 'ubuntu-stable')' returned non-zero exit status 1.

@tomasmatus

Copy link
Copy Markdown
Member Author

/image-refresh ubuntu-stable

@cockpituous

Copy link
Copy Markdown
Contributor

Task scheduled: issue-9338 image-refresh/ubuntu-stable

Testing Farm link: https://api.dev.testing-farm.io/v0.1/requests/5bab3e7e-e98e-42f1-a7d5-9eeebcf5dcec

Job JSON
{
  "repo": "cockpit-project/bots",
  "sha": "2797f01a011a96a55831a5b7e429a8296e06955f",
  "pull": 9338,
  "slug": "image-refresh-ubuntu-stable-2797f01a-20260914-095623",
  "context": "image-refresh/ubuntu-stable",
  "command": [
    "./image-refresh",
    "--verbose",
    "--issue=9338",
    "ubuntu-stable"
  ],
  "secrets": [
    "github-token",
    "image-upload"
  ]
}

@cockpituous

Copy link
Copy Markdown
Contributor

@cockpituous

Copy link
Copy Markdown
Contributor

image-refresh ubuntu-stable failed: Command '('./image-create', '--verbose', 'ubuntu-stable')' returned non-zero exit status 1.

@tomasmatus

Copy link
Copy Markdown
Member Author
E: debootstrap failed
E: Tail of debootstrap.log:
2026-09-14 11:08:44 URL:http://archive.ubuntu.com/ubuntu/dists/questing/InRelease [274572/274572] -> "/var/cache/pbuilder/build/25456/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_questing_InRelease" [1]
gpgv: Signature made Thu Oct  9 09:26:50 2025 UTC
gpgv:                using RSA key F6ECB3762474EDA9D21B7022871920D1991BC93C
gpgv: Can't check signature: No public key

ah right, still this :)

@jelly

jelly commented Sep 15, 2026

Copy link
Copy Markdown
Member

Yes, so lets refresh ubuntu-2604 and call it a day?

@tomasmatus

Copy link
Copy Markdown
Member Author

/image-refresh ubuntu-2604

@cockpituous

Copy link
Copy Markdown
Contributor

Task scheduled: issue-9338 image-refresh/ubuntu-2604

Testing Farm link: https://artifacts.osci.redhat.com/testing-farm/51619620-97d6-4e93-9f97-480276e3b5a8

Job JSON
{
  "repo": "cockpit-project/bots",
  "sha": "2797f01a011a96a55831a5b7e429a8296e06955f",
  "pull": 9338,
  "slug": "image-refresh-ubuntu-2604-2797f01a-20260915-065939",
  "context": "image-refresh/ubuntu-2604",
  "command": [
    "./image-refresh",
    "--verbose",
    "--issue=9338",
    "ubuntu-2604"
  ],
  "secrets": [
    "github-token",
    "image-upload"
  ]
}

@jelly

jelly commented Sep 15, 2026

Copy link
Copy Markdown
Member

/image-refresh ubuntu-2604

@cockpituous

Copy link
Copy Markdown
Contributor

Task scheduled: issue-9338 image-refresh/ubuntu-2604

Testing Farm link: https://artifacts.osci.redhat.com/testing-farm/bbb21283-f390-44f4-b27b-a9695c526bf1

Job JSON
{
  "repo": "cockpit-project/bots",
  "sha": "2797f01a011a96a55831a5b7e429a8296e06955f",
  "pull": 9338,
  "slug": "image-refresh-ubuntu-2604-2797f01a-20260915-070012",
  "context": "image-refresh/ubuntu-2604",
  "command": [
    "./image-refresh",
    "--verbose",
    "--issue=9338",
    "ubuntu-2604"
  ],
  "secrets": [
    "github-token",
    "image-upload"
  ]
}

@cockpituous

Copy link
Copy Markdown
Contributor

@cockpituous

Copy link
Copy Markdown
Contributor

@cockpituous

Copy link
Copy Markdown
Contributor

image-refresh ubuntu-2604 failed: Command '('./image-create', '--verbose', 'ubuntu-2604')' returned non-zero exit status 1.

1 similar comment
@cockpituous

Copy link
Copy Markdown
Contributor

image-refresh ubuntu-2604 failed: Command '('./image-create', '--verbose', 'ubuntu-2604')' returned non-zero exit status 1.

@tomasmatus

Copy link
Copy Markdown
Member Author

/image-refresh ubuntu-2604

@cockpituous

Copy link
Copy Markdown
Contributor

Task scheduled: issue-9338 image-refresh/ubuntu-2604

Testing Farm link: https://artifacts.osci.redhat.com/testing-farm/2afebfca-95e5-458c-8f03-c6cbff7db1f1

Job JSON
{
  "repo": "cockpit-project/bots",
  "sha": "2797f01a011a96a55831a5b7e429a8296e06955f",
  "pull": 9338,
  "slug": "image-refresh-ubuntu-2604-2797f01a-20260915-073243",
  "context": "image-refresh/ubuntu-2604",
  "command": [
    "./image-refresh",
    "--verbose",
    "--issue=9338",
    "ubuntu-2604"
  ],
  "secrets": [
    "github-token",
    "image-upload"
  ]
}

@cockpituous

Copy link
Copy Markdown
Contributor

@tomasmatus

Copy link
Copy Markdown
Member Author

ahh, if I actually use my eyes the log quite clearly says:

image-create: Waiting for machine poweroff timed out

So booting is not the issue, rather shutting it down after image-create verifies the machine runs is.

@tomasmatus
tomasmatus force-pushed the debian-setup-drop-obsolete branch from cfbed1a to 81fc716 Compare September 15, 2026 15:30
@tomasmatus

Copy link
Copy Markdown
Member Author

/image-refresh ubuntu-2604

@cockpituous

Copy link
Copy Markdown
Contributor

Task scheduled: issue-9338 image-refresh/ubuntu-2604

Testing Farm link: https://artifacts.osci.redhat.com/testing-farm/d8696fae-bb8a-4dd2-986e-76e01f4f5b83

Job JSON
{
  "repo": "cockpit-project/bots",
  "sha": "81fc71643720ae7e13ce6d109701b32ece44f40c",
  "pull": 9338,
  "slug": "image-refresh-ubuntu-2604-81fc7164-20260915-153129",
  "context": "image-refresh/ubuntu-2604",
  "command": [
    "./image-refresh",
    "--verbose",
    "--issue=9338",
    "ubuntu-2604"
  ],
  "secrets": [
    "github-token",
    "image-upload"
  ]
}

@cockpituous

Copy link
Copy Markdown
Contributor

@cockpituous

Copy link
Copy Markdown
Contributor

@tomasmatus

Copy link
Copy Markdown
Member Author

@jelly seems like bumping the timeout to shut down the machine helped, do you think it's worth also keeping the logging message in case the timeout is hit again?

@tomasmatus
tomasmatus force-pushed the debian-setup-drop-obsolete branch from 81fc716 to a4104d0 Compare September 16, 2026 07:04
tomasmatus pushed a commit to tomasmatus/bots that referenced this pull request Sep 16, 2026
Removed:

Added:

Changed:
  alsa-ucm-conf (1.2.15.3-1ubuntu1.5 -> 1.2.15.3-1ubuntu1.6)
  dracut (110-11 -> 110-11ubuntu0.1)
  dracut-core (110-11 -> 110-11ubuntu0.1)
  dracut-install (110-11 -> 110-11ubuntu0.1)
  dracut-network (110-11 -> 110-11ubuntu0.1)
  libmp3lame0:amd64 (3.101~svn6525+dfsg-2 -> 3.101~svn6525+dfsg-2ubuntu0.1)
  libnetplan1:amd64 (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  libperl5.40:amd64 (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  libpolkit-agent-1-0:amd64 (127-2ubuntu1 -> 127-2ubuntu1.1)
  libpolkit-gobject-1-0:amd64 (127-2ubuntu1 -> 127-2ubuntu1.1)
  netplan-generator (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  netplan.io (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  perl (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  perl-base (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  perl-modules-5.40 (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  pkexec (127-2ubuntu1 -> 127-2ubuntu1.1)
  polkitd (127-2ubuntu1 -> 127-2ubuntu1.1)
  python3-netplan (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  rust-coreutils (0.8.0-0ubuntu3 -> 0.10.0-1ubuntu2~26.04.1)
  ubuntu-kernel-accessories (1.570.3 -> 1.570.4)
  ubuntu-minimal (1.570.3 -> 1.570.4)
  ubuntu-pro-client (37.2ubuntu0.1 -> 38ubuntu0~26.04)
  ubuntu-pro-client-l10n (37.2ubuntu0.1 -> 38ubuntu0~26.04)
  ubuntu-server (1.570.3 -> 1.570.4)
  ubuntu-standard (1.570.3 -> 1.570.4)

Closes cockpit-project#9338
tomasmatus and others added 2 commits September 16, 2026 09:11
Removed:

Added:

Changed:
  alsa-ucm-conf (1.2.15.3-1ubuntu1.5 -> 1.2.15.3-1ubuntu1.6)
  dracut (110-11 -> 110-11ubuntu0.1)
  dracut-core (110-11 -> 110-11ubuntu0.1)
  dracut-install (110-11 -> 110-11ubuntu0.1)
  dracut-network (110-11 -> 110-11ubuntu0.1)
  libmp3lame0:amd64 (3.101~svn6525+dfsg-2 -> 3.101~svn6525+dfsg-2ubuntu0.1)
  libnetplan1:amd64 (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  libperl5.40:amd64 (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  libpolkit-agent-1-0:amd64 (127-2ubuntu1 -> 127-2ubuntu1.1)
  libpolkit-gobject-1-0:amd64 (127-2ubuntu1 -> 127-2ubuntu1.1)
  netplan-generator (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  netplan.io (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  perl (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  perl-base (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  perl-modules-5.40 (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  pkexec (127-2ubuntu1 -> 127-2ubuntu1.1)
  polkitd (127-2ubuntu1 -> 127-2ubuntu1.1)
  python3-netplan (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  rust-coreutils (0.8.0-0ubuntu3 -> 0.10.0-1ubuntu2~26.04.1)
  ubuntu-kernel-accessories (1.570.3 -> 1.570.4)
  ubuntu-minimal (1.570.3 -> 1.570.4)
  ubuntu-pro-client (37.2ubuntu0.1 -> 38ubuntu0~26.04)
  ubuntu-pro-client-l10n (37.2ubuntu0.1 -> 38ubuntu0~26.04)
  ubuntu-server (1.570.3 -> 1.570.4)
  ubuntu-standard (1.570.3 -> 1.570.4)

Closes cockpit-project#9338
@tomasmatus
tomasmatus force-pushed the debian-setup-drop-obsolete branch from 4224222 to 39c9411 Compare September 16, 2026 07:11
Comment thread image-create
# Avoid too long boot times -- they cause painfully long tests, and are a bug
# However, prefer failing on broken/flaky images over having to occasionally re-run
# builds due to nested KVM issues.
# FIXME: ubuntu-2604 is achingly slow on nested kvm PSI machines, fast locally

@tomasmatus tomasmatus Sep 16, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello this is likely not true! PSI is no more :)

@github-project-automation github-project-automation Bot moved this to Needs Triage in Pilot Board Sep 17, 2026
@Venefilyn Venefilyn moved this from Needs Triage to Ready to assign in Pilot Board Sep 17, 2026
@Venefilyn

Copy link
Copy Markdown
Member

@jelly seems like bumping the timeout to shut down the machine helped, do you think it's worth also keeping the logging message in case the timeout is hit again?

Yeah the more logging we have the better


Also currently seems to fail on apparmor issues

Failed to reset failed state of unit packagekit.service: Unit packagekit.service not loaded.
> warn: session terminated: disconnected
Traceback (most recent call last):
  File "/work/make-checkout-workdir/test/common/testlib.py", line 2021, in tearDown
    self.check_journal_messages()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/work/make-checkout-workdir/test/common/testlib.py", line 2293, in check_journal_messages
    raise Error(UNEXPECTED_MESSAGE + "journal messages:\n" + first)
testlib.Error: FAIL: Test completed, but found unexpected journal messages:
audit: type=1400 audit(1789543184.886:203): apparmor="DENIED" operation="open" class="file" profile="who" name="/etc/nsswitch.conf" pid=10206 comm="who" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

Related-to: cockpit-project#9439
Signed-off-by: Freya Gustavsson <freya@venefilyn.se>
@Venefilyn Venefilyn moved this from Ready to assign to In Progress in Pilot Board Sep 17, 2026
@Venefilyn Venefilyn removed the blocked label Sep 17, 2026
@Venefilyn
Venefilyn requested a review from jelly September 17, 2026 15:58
@Venefilyn

Copy link
Copy Markdown
Member

All Ubuntu tests passing now, found the upstream bug for the AppArmor issue. @jelly PTAL!

@jelly jelly left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jelly
jelly merged commit 060d831 into cockpit-project:main Sep 18, 2026
10 checks passed
jelly pushed a commit that referenced this pull request Sep 18, 2026
Removed:

Added:

Changed:
  alsa-ucm-conf (1.2.15.3-1ubuntu1.5 -> 1.2.15.3-1ubuntu1.6)
  dracut (110-11 -> 110-11ubuntu0.1)
  dracut-core (110-11 -> 110-11ubuntu0.1)
  dracut-install (110-11 -> 110-11ubuntu0.1)
  dracut-network (110-11 -> 110-11ubuntu0.1)
  libmp3lame0:amd64 (3.101~svn6525+dfsg-2 -> 3.101~svn6525+dfsg-2ubuntu0.1)
  libnetplan1:amd64 (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  libperl5.40:amd64 (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  libpolkit-agent-1-0:amd64 (127-2ubuntu1 -> 127-2ubuntu1.1)
  libpolkit-gobject-1-0:amd64 (127-2ubuntu1 -> 127-2ubuntu1.1)
  netplan-generator (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  netplan.io (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  perl (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  perl-base (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  perl-modules-5.40 (5.40.1-7ubuntu0.2 -> 5.40.1-7ubuntu0.3)
  pkexec (127-2ubuntu1 -> 127-2ubuntu1.1)
  polkitd (127-2ubuntu1 -> 127-2ubuntu1.1)
  python3-netplan (1.2-1ubuntu5.1 -> 1.2-1ubuntu5)
  rust-coreutils (0.8.0-0ubuntu3 -> 0.10.0-1ubuntu2~26.04.1)
  ubuntu-kernel-accessories (1.570.3 -> 1.570.4)
  ubuntu-minimal (1.570.3 -> 1.570.4)
  ubuntu-pro-client (37.2ubuntu0.1 -> 38ubuntu0~26.04)
  ubuntu-pro-client-l10n (37.2ubuntu0.1 -> 38ubuntu0~26.04)
  ubuntu-server (1.570.3 -> 1.570.4)
  ubuntu-standard (1.570.3 -> 1.570.4)

Closes #9338
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Pilot Board Sep 18, 2026
@tomasmatus
tomasmatus deleted the debian-setup-drop-obsolete branch September 18, 2026 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants