Skip to content

[14.5-stable] evetest: sync with master and adapt the tests to EVE 14.5 - #6873

Merged
milan-zededa merged 5 commits into
lf-edge:14.5-stablefrom
milan-zededa:evetest-14.5-pr
Oct 26, 2026
Merged

milan-zededa merged 5 commits into
lf-edge:14.5-stablefrom
milan-zededa:evetest-14.5-pr

Conversation

@milan-zededa

@milan-zededa milan-zededa commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

Bring evetest to 14.5-stable and make it work with EVE 14.5.

The PR has five commits:

  1. evetest: add the image publishing workflow to 14.5-stable: the workflow
    that builds and publishes the evetest images from this branch.
  2. Copy evetest from master: evetest is made to be in sync with master.
  3. evetest: adapt tests to EVE 17.0: the same adaptation as in the 17.0-stable
    and 16.0-stable PRs, kept as a separate commit so that the changes on top of
    it are easy to review. It removes the tests of features that are not in 17.0,
    makes UpdateApplication request a purge for adapter changes (as 17.0
    requires) and points evetest/go.mod to the 17.0-stable pillar.
  4. evetest: adapt tests to EVE 16.0: the same adaptation as in [16.0-stable] evetest: sync with master and adapt the tests to EVE 16.0 #6842
    (16.0-stable): eve-k and everything that exists only for it is removed from
    the framework and the test suites, and the tests of features missing from
    16.0 are dropped (TestPNAC, TestHardwareInventory, TestContainerdCPUs).
  5. evetest: adapt tests to EVE 14.5: on top of that, the tests are made to
    match what 14.5 supports, and evetest/go.mod is updated to point to the
    pillar from 14.5-stable:
    • Vector-based log processing is not in 14.5, so the Vector tests of the
      telemetry suite are removed together with their helpers and test data.
    • timer.deviceinfo.interval is not configurable and the device info is
      published every 10 minutes +/- 20%. Tests that used the periodic device
      info as the "EVE still reaches the controller" signal now use the device
      metrics (every 20 seconds) instead, and TestDeviceInfo waits up to 13
      minutes for a device info that carries the storage size.
    • Bond status reporting, 802.3ad bond creation, LPS network configuration
      and the HTTP/protobuf vcomlink API are not in 14.5, so TestActiveBackupBond,
      TestLACPBond, TestVLANSubinterfacesOnTopOfLAGs,
      TestBootstrapWithLACPBond, TestNetworkLocalChanges and TestVCom are
      removed.
    • TestSwitchNIPortConfigRace is removed: it needs the IfInstanceID
      tracking of NIM interfaces and bridges, whose backport would be very large.
    • TestInfoRetriedAfterServerError, TestDownloadBurstWithDeadMgmtPorts,
      TestHaltUnresponsiveGuest and TestSwitchNIDeletedWithAppsAttached are
      removed because they need fixes that are not backported.
    • 14.5 does not honor DnsConfigExclusively, so TestDNSFunctionality
      expects the DHCP and static DNS servers of a port combined, its
      /etc/resolv.conf check expects only the DHCP-provided servers, and its
      broken-DNS fallback phase uses a single port.
    • TestAppLocalInfo discards buffered app updates before issuing an LPS
      command, so that a stale HALTING does not end the wait early.
    • The upgrade test starts from 14.5.0-lts. The OCI datastore variant starts
      from the 14.5-stable snapshot 0.0.0-14.5-stable-42a70aa5, because the
      downloader fix it needs is not part of any 14.5.x release yet.

Some tests need fixes that are not in 14.5-stable yet and are backported in
separate PRs:

PR dependencies

None.

How to test and validate this PR

Run the tests against a build of 14.5-stable (with the backports above for
the tests listed there), for example:

EVETEST_EVE_VERSION=<14.5-stable build> make evetest NAME=<TestFunctionName>

Changelog notes

No user-facing changes (evetest only).

Checklist

  • I've provided a proper description
  • I've added the proper documentation
  • I've tested my PR on amd64 device
  • I've tested my PR on arm64 device
  • I've written the test verification instructions
  • I've set the proper labels to this PR

And the last but not least:

  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them.

Comment thread evetest/utils/tar.go Dismissed
Comment thread evetest/utils/tar.go Dismissed
milan-zededa and others added 5 commits October 22, 2026 16:10
Publish the evetest, broker, SDN and testapps images from 14.5-stable
the same way as from master.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Milan Lenco <milan@zededa.com>
Start with a copy of evetest from master. Test changes required
to match EVE 17.0 will be done in the follow-up commits.

The copy also includes a few fixes that are not in master yet: more
generous timeouts in tests that depended on the periodic connectivity
test or on slow app start, the port label used to isolate a node in
TestClusterPVCRedownload, and the issues reported by yetus.

It also carries the evetest changes of lf-edge#6781 (TestAppTeardownWithRemovedAdapter)
and lf-edge#6794 (TestMgmtProxy CDI HTTP DataVolume cases and timeouts), which are
in master but were missing from the first copy.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Milan Lenco <milan@zededa.com>
Point evetest at the pillar from 17.0-stable (the eve-api version it
uses is unchanged) and make the tests match what 17.0 supports.

Framework: on 17.0 a change of the adapters of a deployed app is
rejected unless a purge is requested, so UpdateApplication now bumps the
purge counter instead of the restart counter for such changes.

Removed tests of features that are not in 17.0: the konvert suite,
vault key mode recovery, deferred queue metrics, native Kubernetes app
networking, the USB hub chain test, and the NIC count, ordered
interface, staged NIC and passthrough NIC change tests. The dynamic NIC
addition part of TestNetworkAdapterPassthrough and the usbaddr wildcard
phase of TestUSBFlashDriveHotplug are removed as well.

Adjusted tests to the 17.0 behavior: TestDNSFunctionality and the LPS
network test do not rely on the management dnsmasq (DNS servers are read
from /etc/resolv.conf), and the NTP servers reported for an app VIF are
only the NI-level ones. The upgrade test starts EVE-K from 17.0.1-rc2,
the first 17.0 tag with the longhorn disk path fix.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Milan Lenco <milan@zededa.com>
Point evetest at the pillar from the tip of 16.0-stable. The eve-api
version used by that pillar is the one evetest already referenced.

The kubevirt hypervisor (eve-k) is not supported in 16.0-stable, so
remove it from the framework together with everything that exists only
for it: HypervisorKubevirt, the EdgeCluster and cluster config builders,
the cluster-info gRPC calls and "evetest cluster" command, the kubectl
helpers, RemoteConsole and DialViaSSH, and the K3s registry mirror setup.

Remove the tests that cover eve-k only (the cluster and kuberegistration
suites, the VMIRS purge test, the vault zvol trim test and the volume
size alignment test). Tests that run on both flavors are kept without
their eve-k specific parts.

TestPNAC is dropped as well, since SCEP enrollment is not implemented in
16.0-stable. The OCI datastore upgrade variant starts from the latest
16.0.x release (16.0.2-lts); if it fails because of the missing
downloader fix, backport the fix and bump the version.

TestHardwareInventory and TestContainerdCPUs are dropped too: 16.0-stable
does not report HwInventorySupport (lf-edge#5535) and has no ctrd_max_vcpus
confinement of containerd (lf-edge#6771).

The 16.0 sshd has a broken "Subsystem sftp" path, so scp over SFTP never
works there. scp now falls back to the legacy protocol (-O) when the SFTP
attempt fails, escaping the remote path with backslashes. The PCI access
tracer builds eve-tools/bpftrace-compiler from its vendor directory only
when the checkout has one, which 16.0-stable does not.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Milan Lenco <milan@zededa.com>
Point evetest at the pillar from the tip of 14.5-stable. The eve-api
version used by that pillar is the one evetest already referenced.

Vector-based log processing (vector.config) is not present in 14.5, so
the Vector tests of the telemetry suite are removed together with their
helpers and test data. timer.deviceinfo.interval is not configurable
either; the periodic device info is published every 10 minutes +/- 20%.
TestIntermittentConnectivity, TestDeviceIPv6Connectivity and the
app-routed management path test now use the periodic device metrics
(every 20s) as the "EVE still reaches the controller" signal, while the
deferred info test waits up to 13 minutes for the next device info.

Bond status reporting and 802.3ad bond creation, LPS network
configuration and the HTTP/protobuf vcomlink API are not available in
14.5, so remove TestActiveBackupBond, TestLACPBond,
TestVLANSubinterfacesOnTopOfLAGs, TestBootstrapWithLACPBond,
TestNetworkLocalChanges and TestVCom. TestSwitchNIPortConfigRace is
removed too, since it needs the IfInstanceID tracking of NIM interfaces
and bridges, whose backport would be very large. TestInfoRetriedAfterServerError,
TestDownloadBurstWithDeadMgmtPorts, TestHaltUnresponsiveGuest and
TestSwitchNIDeletedWithAppsAttached are removed as well, because they need
fixes that are not backported. The network models only these tests used are
removed too.

TestDeviceInfo waits up to 13 minutes for a device info that carries the
storage size, which the info sent right after the config can lack.
TestAppLocalInfo discards buffered app updates before issuing an LPS
command, so that a stale HALTING does not end the wait early.

DnsConfigExclusively is not honored by 14.5, so TestDNSFunctionality
expects the DHCP and static DNS servers of ethernet2 combined, its
/etc/resolv.conf check expects only the DHCP-provided servers (14.5 does
not write static ones there), and its broken-DNS fallback phase uses
ethernet3 alone.

The upgrade test starts from 14.5.0-lts. The OCI datastore variant starts
from the 14.5-stable snapshot 0.0.0-14.5-stable-42a70aa5, because the
downloader fix it needs is not part of any 14.5.x release yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Milan Lenco <milan@zededa.com>
@milan-zededa
milan-zededa merged commit 7a4378f into lf-edge:14.5-stable Oct 26, 2026
42 of 48 checks passed
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.

3 participants