Skip to content

test: wait for the sidecars in the upgrade test #58

Closed

Description

@uniqueg

Why?

The upgrade test (tests/e2e/upgrade.sh) sometimes fails on the same commit that passed before, e.g. "site-b didn't roll out rancher/mirrored-pause:3.10". Pubgrade's log shows that notifying the second site's sidecar failed with a ConnectionError: the test publishes right after the sidecars' Deployments roll out, but a sidecar's pod counts as ready before its server listens (there's no readiness probe), and its Service may not route yet. The notification is sent only once, so the site never upgrades.

How?

Before publishing, wait until Pubgrade's pod reaches each sidecar through its Service (the same URL as the subscription's callback), and fail with a clear message if it doesn't within a bound.

Acceptance criteria

  • The upgrade test publishes only after every sidecar is reachable from Pubgrade.

Activity

  1. added
    priority: medium
    status: in progress
    type: testing
    workload: minutes
    on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumstatus: in progresstype: testingworkload: minutes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions