Repository navigation
[14.5-stable] evetest: sync with master and adapt the tests to EVE 14.5 - #6873
Merged
Merged
Conversation
milan-zededa
requested review from
deitch,
eriknordmark and
yash-zededa
as code owners
October 20, 2026 07:30
This was referenced Oct 20, 2026
This was referenced Oct 20, 2026
milan-zededa
force-pushed
the
evetest-14.5-pr
branch
2 times, most recently
from
October 22, 2026 13:29
61352e3 to
8f20ea7
Compare
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
force-pushed
the
evetest-14.5-pr
branch
from
October 22, 2026 14:10
8f20ea7 to
3403ea6
Compare
rene
approved these changes
Oct 25, 2026
4 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bring
evetestto14.5-stableand make it work with EVE 14.5.The PR has five commits:
evetest: add the image publishing workflow to 14.5-stable: the workflowthat builds and publishes the evetest images from this branch.
Copy evetest from master:evetestis made to be in sync with master.evetest: adapt tests to EVE 17.0: the same adaptation as in the 17.0-stableand 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
UpdateApplicationrequest a purge for adapter changes (as 17.0requires) and points
evetest/go.modto the17.0-stablepillar.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).evetest: adapt tests to EVE 14.5: on top of that, the tests are made tomatch what 14.5 supports, and
evetest/go.modis updated to point to thepillar from
14.5-stable:telemetry suite are removed together with their helpers and test data.
timer.deviceinfo.intervalis not configurable and the device info ispublished 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
TestDeviceInfowaits up to 13minutes for a device info that carries the storage size.
and the HTTP/protobuf vcomlink API are not in 14.5, so
TestActiveBackupBond,TestLACPBond,TestVLANSubinterfacesOnTopOfLAGs,TestBootstrapWithLACPBond,TestNetworkLocalChangesandTestVComareremoved.
TestSwitchNIPortConfigRaceis removed: it needs theIfInstanceIDtracking of NIM interfaces and bridges, whose backport would be very large.
TestInfoRetriedAfterServerError,TestDownloadBurstWithDeadMgmtPorts,TestHaltUnresponsiveGuestandTestSwitchNIDeletedWithAppsAttachedareremoved because they need fixes that are not backported.
DnsConfigExclusively, soTestDNSFunctionalityexpects the DHCP and static DNS servers of a port combined, its
/etc/resolv.confcheck expects only the DHCP-provided servers, and itsbroken-DNS fallback phase uses a single port.
TestAppLocalInfodiscards buffered app updates before issuing an LPScommand, so that a stale
HALTINGdoes not end the wait early.14.5.0-lts. The OCI datastore variant startsfrom the
14.5-stablesnapshot0.0.0-14.5-stable-42a70aa5, because thedownloader fix it needs is not part of any 14.5.x release yet.
Some tests need fixes that are not in
14.5-stableyet and are backported inseparate PRs:
TestZVolProvisionedSizeReported: [14.5-stable] zfs: report zvol provisioned size (volsize) in volume metrics #6876TestPurgeNeverActivatedApp: [14.5-stable] zedmanager: fix purge stuck when app was never activated #6875 (depends on [14.5-stable] zedmanager: drive purge state machine to completion in doUpdate #6874)TestVMAppPurgeAfterPowerCycle: [14.5-stable] pillar: keep purges from leaving the old app generation behind #6880TestExternalPortScanKVM: [14.5-stable] debug: let sshd offer only publickey login #6879TestBootstrapWithNetworkBoot: [14.5-stable] Fixes newc initrd filename null termination #6881TestSwitchNIDeletedWithAppsAttached, is not included here yet.PR dependencies
None.
How to test and validate this PR
Run the tests against a build of
14.5-stable(with the backports above forthe tests listed there), for example:
Changelog notes
No user-facing changes (evetest only).
Checklist
And the last but not least:
check them.