-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple patches in this PR: * Increased the default EVE version to the latest 12.4 * Removed workflow dependency on Smoke test suite. With reusable workflows this does not work properly in the EVE repository. The other test suites are triggered regardless of the outcome of Smoke tests. The only effect this dependency has, is that other workflows are delayed from starting until Smoke tests finish, increasing the total execution time of all tests. * Moved tests that depend on virtualization (apps must be deployed inside VMs) to a separate test suite. The primary reason is that the HW-assisted nested virtualization is performing poorly on the buildjet runners and we are getting many failures (not related to EVE code). For every other test it is therefore better to run EVE with acceleration disabled. A secondary reason is that most of these tests are from the networking test suite, which is already quite long and takes well over an hour to execute. It therefore makes sense to move some tests to a different test suite. Please note that when the Virtualization test suite is run locally, all tests are passing. However, on buildjet runners they are expected to fail until we resolve the issue with the nested virtualization. * Fixed 'eden pod modify' (wrong timeout + app state to wait for had to be modified to reflect recent EVE changes) * Fixed ctrl_cert_change test (improper use of -check-new) * App 'nodered' needs more time to get deployed * Test publish_location is now skipped and likely will be removed. This is because after the recent changes in the EVE/wwan microservice, injecting a fake GPS location data is no longer possible. * Modified EVE-upgrade tests to use newer base EVE version (> 12.0). This is because the policy_version of fscrypt was bumped from 1 to 2 and this change is not backward compatible. Meaning we cannot downgrade from 12.X to 11.Y or older. Signed-off-by: Milan Lenco <[email protected]>
- Loading branch information
1 parent
e255da8
commit 6e38968
Showing
22 changed files
with
210 additions
and
73 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,7 +71,7 @@ jobs: | |
|
||
networking: | ||
name: Networking test suite | ||
needs: [smoke, determine-runner] | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
steps: | ||
- name: Get code | ||
|
@@ -96,7 +96,7 @@ jobs: | |
matrix: | ||
file_system: ['ext4', 'zfs'] | ||
name: Storage test suite | ||
needs: [smoke, determine-runner] | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
steps: | ||
- name: Get code | ||
|
@@ -115,9 +115,9 @@ jobs: | |
eve_artifact_name: ${{ inputs.eve_artifact_name }} | ||
artifact_run_id: ${{ inputs.artifact_run_id }} | ||
|
||
lpc-loc: | ||
name: LPC LOC test suite | ||
needs: [smoke, determine-runner] | ||
lps-loc: | ||
name: LPS LOC test suite | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
steps: | ||
- name: Get code | ||
|
@@ -126,12 +126,12 @@ jobs: | |
repository: "lf-edge/eden" | ||
ref: ${{ inputs.eden_version }} | ||
path: "./eden" | ||
- name: Run LPC LOC tests | ||
- name: Run LPS and LOC tests | ||
uses: ./eden/.github/actions/run-eden-test | ||
with: | ||
file_system: "ext4" | ||
tpm_enabled: true | ||
suite: "lpc-loc.tests.txt" | ||
suite: "lps-loc.tests.txt" | ||
eve_image: ${{ inputs.eve_image }} | ||
eve_artifact_name: ${{ inputs.eve_artifact_name }} | ||
artifact_run_id: ${{ inputs.artifact_run_id }} | ||
|
@@ -142,7 +142,7 @@ jobs: | |
matrix: | ||
file_system: ['ext4', 'zfs'] | ||
name: EVE upgrade test suite | ||
needs: [smoke, determine-runner] | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
steps: | ||
- name: Get code | ||
|
@@ -163,7 +163,7 @@ jobs: | |
|
||
user-apps: | ||
name: User apps test suite | ||
needs: [smoke, determine-runner] | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
steps: | ||
- name: Get code | ||
|
@@ -172,7 +172,7 @@ jobs: | |
repository: "lf-edge/eden" | ||
ref: ${{ inputs.eden_version }} | ||
path: "./eden" | ||
- name: Run User apps upgrade tests | ||
- name: Run User apps tests | ||
uses: ./eden/.github/actions/run-eden-test | ||
with: | ||
file_system: "ext4" | ||
|
@@ -181,3 +181,25 @@ jobs: | |
eve_image: ${{ inputs.eve_image }} | ||
eve_artifact_name: ${{ inputs.eve_artifact_name }} | ||
artifact_run_id: ${{ inputs.artifact_run_id }} | ||
|
||
virtualization: | ||
name: Virtualization test suite | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
steps: | ||
- name: Get code | ||
uses: actions/[email protected] | ||
with: | ||
repository: "lf-edge/eden" | ||
ref: ${{ inputs.eden_version }} | ||
path: "./eden" | ||
- name: Run Virtualization tests | ||
uses: ./eden/.github/actions/run-eden-test | ||
with: | ||
file_system: "ext4" | ||
tpm_enabled: true | ||
suite: "virtualization.tests.txt" | ||
eve_image: ${{ inputs.eve_image }} | ||
eve_artifact_name: ${{ inputs.eve_artifact_name }} | ||
artifact_run_id: ${{ inputs.artifact_run_id }} | ||
require_virtualization: true |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.