Skip to content

tests: remove support ubuntu 25.10 add support ubuntu 26.10 - #17360

Merged
sergiocazzolato merged 5 commits into
canonical:masterfrom
sergiocazzolato:tests-add-support-ubuntu-26.10
Jul 24, 2026
Merged

tests: remove support ubuntu 25.10 add support ubuntu 26.10#17360
sergiocazzolato merged 5 commits into
canonical:masterfrom
sergiocazzolato:tests-add-support-ubuntu-26.10

Conversation

@sergiocazzolato

Copy link
Copy Markdown
Contributor

Remove support for ubuntu 25.10 which is eol and add support for ubuntu 26.10

@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown

Fri Jul 24 00:00:01 UTC 2026
The following results are from: https://github.com/canonical/snapd/actions/runs/30021822988

Failures:

Preparing:

  • openstack-ext:ubuntu-22.04-64:tests/nested/manual/snapd-removes-vulnerable-snap-confine-revs:core
  • openstack-ext:ubuntu-22.04-64:tests/nested/manual/snapd-removes-vulnerable-snap-confine-revs:snapd
  • openstack-arm-ext:ubuntu-24.04-arm-64:tests/nested/manual/optee-fde:hooks
  • openstack-arm-ext:ubuntu-24.04-arm-64:tests/nested/manual/optee-fde:optee
  • openstack-arm-ext:ubuntu-24.04-arm-64:tests/nested/core/core20-basic
  • openstack-ext:ubuntu-24.04-64:tests/nested/manual/hybrid-tpm-fde-preinstall-check
  • openstack-ext:ubuntu-26.04-64:tests/nested/manual/hybrid-tpm-fde-preinstall-check
  • openstack:opensuse-tumbleweed-64:
  • openstack-arm:ubuntu-24.04-arm-64:tests/main/snap-seccomp-blocks-certain-mknod
  • openstack-arm:ubuntu-24.04-arm-64:tests/main/snap-seccomp-blocks-certain-creat
  • openstack:ubuntu-26.10-64:tests/main/interfaces-posix-mq
  • openstack:ubuntu-26.10-64:tests/main/lxd-postrm-purge

Executing:

  • openstack:centos-9-64:tests/main/selinux-clean
  • openstack:centos-9-64:tests/main/selinux-lxd
  • openstack:fedora-44-64:tests/main/selinux-clean
  • openstack:fedora-44-64:tests/main/selinux-lxd
  • openstack:fedora-44-64:tests/main/cgroup-devices-v2
  • openstack:opensuse-tumbleweed-64:tests/main/manpages
  • openstack-arm:ubuntu-core-24-arm-64:tests/main/auto-refresh-pre-download:restart
  • openstack:ubuntu-26.10-64:tests/main/xdg-settings
  • openstack:ubuntu-26.10-64:tests/main/bad-interfaces-warn
  • openstack:ubuntu-26.10-64:tests/main/snap-info
  • openstack:ubuntu-26.10-64:tests/main/broken-seeding
  • openstack:ubuntu-26.10-64:tests/main/lxd
  • openstack:ubuntu-26.10-64:tests/main/apparmor-prompting-integration-tests:write_read_multiple_actioned_by_other_pid_deny_allow
  • openstack:ubuntu-26.10-64:tests/main/apparmor-prompting-integration-tests:write_read_multiple_actioned_by_other_pid_allow_deny
  • openstack:ubuntu-22.04-64:tests/main/lxd-mount-units

Restoring:

  • openstack:opensuse-tumbleweed-64:
  • openstack:ubuntu-26.10-64:tests/main/apparmor-prompting-integration-tests:write_read_multiple_actioned_by_other_pid_deny_allow
  • openstack:ubuntu-26.10-64:tests/main/
  • openstack:ubuntu-26.10-64:
  • openstack:ubuntu-26.10-64:tests/main/apparmor-prompting-integration-tests:write_read_multiple_actioned_by_other_pid_allow_deny
  • openstack:ubuntu-26.10-64:tests/main/
  • openstack:ubuntu-26.10-64:

Skipped tests from snapd-testing-skip

If you wish to have any of the below tests run in your PR, in your PR description, add 'unskip:' followed by a copy-and-pasted list of the below tests you wish to run (unskip plus test list must be valid yaml)

  • openstack-arm:ubuntu-24.04-arm-64:tests/main/i18n
  • openstack-arm:ubuntu-core-24-arm-64:tests/main/i18n
  • openstack:debian-sid-64:tests/main/interfaces-network-status-classic
  • openstack:debian-sid-64:tests/main/interfaces-xdg-portal-permission-store
  • openstack:ubuntu-24.04-64:tests/main/apparmor-prompting-flag-restart
  • openstack:ubuntu-24.04-64:tests/main/apparmor-prompting-integration-tests
  • openstack:ubuntu-24.04-64:tests/main/apparmor-prompting-prompt-restoration
  • openstack:ubuntu-24.04-64:tests/main/apparmor-prompting-smoke
  • openstack:ubuntu-24.04-64:tests/main/apparmor-prompting-snapd-startup
  • openstack:ubuntu-24.04-64:tests/main/apparmor-prompting-support
  • openstack:ubuntu-24.04-64:tests/main/i18n
  • openstack:ubuntu-24.04-64:tests/main/interfaces-requests-activates-handlers
  • openstack:ubuntu-26.04-64:tests/main/apparmor-prompting-flag-restart
  • openstack:ubuntu-26.04-64:tests/main/apparmor-prompting-integration-tests
  • openstack:ubuntu-26.04-64:tests/main/apparmor-prompting-prompt-restoration
  • openstack:ubuntu-26.04-64:tests/main/apparmor-prompting-smoke
  • openstack:ubuntu-26.04-64:tests/main/apparmor-prompting-snapd-startup
  • openstack:ubuntu-26.04-64:tests/main/apparmor-prompting-support
  • openstack:ubuntu-26.04-64:tests/main/i18n
  • openstack:ubuntu-26.04-64:tests/main/interfaces-requests-activates-handlers

@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.93%. Comparing base (ff400ce) to head (18aee71).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #17360      +/-   ##
==========================================
- Coverage   78.93%   78.93%   -0.01%     
==========================================
  Files        1391     1395       +4     
  Lines      196009   196158     +149     
  Branches     2462     2462              
==========================================
+ Hits       154727   154836     +109     
- Misses      32013    32037      +24     
- Partials     9269     9285      +16     
Flag Coverage Δ
unittests 78.93% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@maykathm maykathm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thanks

@bboozzoo bboozzoo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks

@github-actions github-actions Bot added the Auto rerun spread Auto reruns spread up to 4 times in non-draft PRs w/ >=1 approval and <20 fails in any fund. system label Jul 14, 2026

@Mohit-Chachada Mohit-Chachada left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

perhaps we can remove this too

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sure, updated

@sergiocazzolato

sergiocazzolato commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

I see this problem in the tests, @bboozzoo @zyga any idea? I saw other errors related to the snapd.session-agent.socket too.

openstack:ubuntu-26.10-64 .../tests/main/snap-user-service# tests.session -u test exec snap debug api /v2/apps
{
  "result": {
    "message": "cannot get status of services of app \"test-snapd-user-service\": expected 1 results, got 0"
  },
  "status": "Internal Server Error",
  "status-code": 500,
  "type": "error"
}

openstack:ubuntu-26.10-64 .../tests/main/snap-user-service# uid=$(id -u test); ls -l /run/user/$uid/snapd-session-agent.socket
ls: cannot access '/run/user/12345/snapd-session-agent.socket': No such file or directory

openstack:ubuntu-26.10-64 .../tests/main/snap-user-service# tests.session -u test exec systemctl --user start snapd.session-agent.socket

openstack:ubuntu-26.10-64 .../tests/main/snap-user-service# uid=$(id -u test); ls -l /run/user/$uid/snapd-session-agent.socket
srw-rw-rw- 1 test test 0 Jul 17 19:28 /run/user/12345/snapd-session-agent.socket

openstack:ubuntu-26.10-64 .../tests/main/snap-user-service# tests.session -u test exec snap debug api /v2/apps
{
  "result": [
    {
      "active": true,
      "daemon": "simple",
      "daemon-scope": "user",
      "enabled": true,
      "name": "test-snapd-user-service",
      "snap": "test-snapd-user-service"
    }
  ],
  "status": "OK",
  "status-code": 200,
  "type": "sync",
  "warning-count": 1,
  "warning-timestamp": "2026-07-17T18:49:18.485895688Z"
}

@sergiocazzolato

sergiocazzolato commented Jul 18, 2026

Copy link
Copy Markdown
Contributor Author

I see also that the apparmor service is not enabled.

openstack:ubuntu-26.10-64 .../tests/main/snap-info# snap warnings
last-occurrence:  yesterday at 23:56 UTC
warning: |
  the snapd.apparmor service is disabled; snap applications will likely not start.
  Run "systemctl enable --now snapd.apparmor" to correct this.

@bboozzoo

Copy link
Copy Markdown
Contributor

I see also that the apparmor service is not enabled.

openstack:ubuntu-26.10-64 .../tests/main/snap-info# snap warnings
last-occurrence:  yesterday at 23:56 UTC
warning: |
  the snapd.apparmor service is disabled; snap applications will likely not start.
  Run "systemctl enable --now snapd.apparmor" to correct this.

it should be enabled when installing the snapd deb package

@sergiocazzolato
sergiocazzolato force-pushed the tests-add-support-ubuntu-26.10 branch from 3bcfdff to 4251394 Compare July 21, 2026 20:10
@sergiocazzolato sergiocazzolato added this to the 2.77 milestone Jul 22, 2026
@sergiocazzolato
sergiocazzolato force-pushed the tests-add-support-ubuntu-26.10 branch from 4251394 to 18aee71 Compare July 23, 2026 15:42
@sergiocazzolato

Copy link
Copy Markdown
Contributor Author

tests failing are also failing in other prs. Just ubuntu-daily has some tests which need to be fixed

@sergiocazzolato
sergiocazzolato merged commit 17deb50 into canonical:master Jul 24, 2026
414 of 479 checks passed
@sergiocazzolato
sergiocazzolato deleted the tests-add-support-ubuntu-26.10 branch July 24, 2026 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auto rerun spread Auto reruns spread up to 4 times in non-draft PRs w/ >=1 approval and <20 fails in any fund. system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants