Skip to content

CI: run the POSIX port's end-to-end tests on ubuntu-24.04 - #33

Merged
dcj merged 1 commit into
mainfrom
ci/posix-ubuntu-24.04
Nov 14, 2026
Merged

dcj merged 1 commit into
mainfrom
ci/posix-ubuntu-24.04

Conversation

@dcj

@dcj dcj commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

ubuntu-latest is now ubuntu-26.04. There, the mosquitto that each end-to-end test starts (2.0.22) never listens, so all eight tests fail at port_open (ports/posix/test/e2e.cpp:141). This shows on #32, and main last ran green on 2026-10-19 on the previous image. They pass locally on macOS with mosquitto from Homebrew.

This pins the POSIX job to ubuntu-24.04. Finding out why 26.04's mosquitto does not start is left for later; the harness does not print mosquitto.log.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VUQ6asqTe3tYwnZR7GW2dn

ubuntu-latest moved to ubuntu-26.04, where the mosquitto each end-to-end
test starts never listens, so all eight fail at port_open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VUQ6asqTe3tYwnZR7GW2dn
@dcj
dcj merged commit 2eba359 into main Nov 14, 2026
8 checks passed
@dcj
dcj deleted the ci/posix-ubuntu-24.04 branch November 14, 2026 17:39
dcj added a commit that referenced this pull request Nov 14, 2026
…t again

Ubuntu 26.04's apparmor package confines /usr/sbin/mosquitto to config files
under /etc/mosquitto, so the file the harness wrote in its work directory
could not be read ("Unable to open config file") and every end-to-end test
failed at port_open. Without a config file mosquitto 2.x listens on loopback
only, allows anonymous clients and keeps no persistence, which is what the
tests set. The harness now also prints mosquitto.log when the broker does not
listen. This undoes the ubuntu-24.04 pin from #33.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VUQ6asqTe3tYwnZR7GW2dn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant