Skip to content

evetest: TestNetworkConfigFallback never re-activates the newer DPC after the network is restored #6483

Description

@eriknordmark

TestDeviceConnectivitySuite/TestNetworkConfigFallback fails on every image, at the same assertion and with near-identical timing:

master resize-allprs appvol-allprs
FAIL 612.4 s FAIL 622.0 s FAIL 610.9 s
failover_test.go:642: TEST FAILURE:
    Timed out after 474.9s / 474.6s / 470.8s.
    Expected to satisfy: The newer DPC becomes active again once the network matches it

The device never promotes the newer DPC back to active after the network is restored to match it; the suite's captured systemAdapter shows the newer entry stuck with lastFailed set while the older one holds lastSucceeded. The recorded error on the failing port is a DNS timeout against the device's own resolver:

All attempts to connect to https://adam.evetest:443/api/v2/edgedevice/ping failed:
send via eth0 with src IP 10.99.99.5: Get "https://adam.evetest:443/api/v2/edgedevice/ping":
dial tcp: lookup adam.evetest on 127.0.0.1:53: read udp 127.0.0.1:57493->127.0.0.1:53: i/o timeout

The three timeout values span 4.1 s across three separate images, which is the signature of a deterministic failure rather than a race.

Worth noting for triage: the rest of this suite is genuinely flaky on my host — six other subtests failed on one or two images and passed on the others, in both directions. TestNetworkConfigFallback is the only one that failed on all three, which is why it is the only one reported here.

Environment

Three EVE images, all -kvm-amd64 unless noted, all built from master f94089001 or an integration branch based on it; evetest 1.5; device TPM-less; EVETEST_SUITE_MAX_FAILURES=-1 so the whole suite runs. One run per image, same test tree and same harness image for all three, only EVETEST_EVE_VERSION differing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions