This repository was archived by the owner on Sep 17, 2024. It is now read-only.
Support running tests in full VM's#1740
Merged
Merged
Conversation
This gives us full vm's to run our e2e tests in. Supports both Linux amd64/arm64, and will support Windows. Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
Contributor
|
This pull request does not have a backport label. Could you fix it @adam-stokes? 🙏
|
| def checkTestSuite(Map parallelTasks = [:], Map item = [:]) { | ||
| def suite = item.suite | ||
| def platforms = item.platforms | ||
| def sshexec(connection, cmd){ |
Contributor
There was a problem hiding this comment.
candidate to be a step in the library :D
| sh "ssh -tt -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${env.WORKSPACE}/${env.BASE_DIR}/e2essh ${connection} -- '${cmd}'" | ||
| } | ||
|
|
||
| def scpr(connection, remote_src, local_dst){ |
Contributor
There was a problem hiding this comment.
candidate to be a step in the library :D
Contributor
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
Contributor
Author
|
/test |
1 similar comment
Contributor
Author
|
/test |
This was referenced Nov 2, 2021
mdelapenya
reviewed
Nov 2, 2021
mdelapenya
reviewed
Nov 2, 2021
mdelapenya
reviewed
Nov 2, 2021
| /* | ||
| * Runs python in venv | ||
| */ | ||
| def pyrun(args){ |
Contributor
There was a problem hiding this comment.
Another candidate for the library?
mdelapenya
reviewed
Nov 2, 2021
mdelapenya
reviewed
Nov 2, 2021
mdelapenya
reviewed
Nov 2, 2021
mdelapenya
reviewed
Nov 2, 2021
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
This was referenced Nov 30, 2021
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
The expression in the e2e-tests already handles both skip_tests and force_skip_git_checks. We make use of the skip_tests env here to skip those test suites if no files are changed Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
Contributor
Author
|
/test |
Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
mergify Bot
pushed a commit
that referenced
this pull request
Nov 30, 2021
* Support running e2e in VM's Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com> (cherry picked from commit 8a94011) # Conflicts: # .ci/Jenkinsfile
mergify Bot
pushed a commit
that referenced
this pull request
Nov 30, 2021
* Support running e2e in VM's Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com> (cherry picked from commit 8a94011) # Conflicts: # .ci/Jenkinsfile # .gitignore
mergify Bot
pushed a commit
that referenced
this pull request
Nov 30, 2021
* Support running e2e in VM's Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com> (cherry picked from commit 8a94011) # Conflicts: # .ci/.e2e-tests.yaml # .ci/Jenkinsfile # .gitignore # e2e/_suites/fleet/features/fleet_mode_agent.feature # e2e/_suites/fleet/features/preconfigured_policies.feature # e2e/_suites/fleet/fleet.go # go.sum
8 tasks
adam-stokes
added a commit
that referenced
this pull request
Nov 30, 2021
* Support running tests in full VM's (#1740) * Support running e2e in VM's Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com> (cherry picked from commit 8a94011) # Conflicts: # .ci/Jenkinsfile * Fix conflict Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
adam-stokes
added a commit
that referenced
this pull request
Nov 30, 2021
* Support running tests in full VM's (#1740) * Support running e2e in VM's Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com> (cherry picked from commit 8a94011) # Conflicts: # .ci/Jenkinsfile # .gitignore * Fix conflicts Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com>
This was referenced Dec 1, 2021
mdelapenya
added a commit
that referenced
this pull request
Dec 15, 2021
* Support running tests in full VM's (#1740) * Support running e2e in VM's Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com> (cherry picked from commit 8a94011) # Conflicts: # .ci/.e2e-tests.yaml # .ci/Jenkinsfile # .gitignore # e2e/_suites/fleet/features/fleet_mode_agent.feature # e2e/_suites/fleet/features/preconfigured_policies.feature # e2e/_suites/fleet/fleet.go # go.sum * Fix conflicts Signed-off-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> * fix: remove not implemented function call The backport added a reference to code implemented in: Test preconfigured agent policies and output (#1680) But this PR was not backported to 7.15 because there is no support to preconfigured policies. Co-authored-by: Adam Stokes <51892+adam-stokes@users.noreply.github.com> Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
v1v
added a commit
to v1v/e2e-testing
that referenced
this pull request
Jun 16, 2022
otherwise it fails in the ephemeral workers relative path was added in elastic#1740
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Signed-off-by: Adam Stokes 51892+adam-stokes@users.noreply.github.com
Checklist
make unit-test), and they are passing locallymake noticein the proper directory)How to test this PR locally
Please see
.ci/README.mdRelated issues