Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add the autogen tool to easily add e2e tests and run it for the first time & fix copyFrom #566

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

jeromy-cannon
Copy link
Contributor

@jeromy-cannon jeromy-cannon commented Sep 11, 2024

Description

This pull request changes the following:

  • add the autogen tool to easily add e2e tests
  • run it for the first time
  • fix copyFrom issue

Related Issues

Copy link
Contributor

github-actions bot commented Sep 11, 2024

Unit Test Results - Linux

  1 files   19 suites   25s ⏱️
122 tests 122 ✅ 0 💤 0 ❌
148 runs  148 ✅ 0 💤 0 ❌

Results for commit 2426407.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 11, 2024

Unit Test Results - Windows

  1 files   19 suites   52s ⏱️
122 tests 122 ✅ 0 💤 0 ❌
148 runs  148 ✅ 0 💤 0 ❌

Results for commit 2426407.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 11, 2024

E2E Node PEM Stop Tests Coverage Report

13 tests   13 ✅  2m 30s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 2426407.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 11, 2024

E2E Relay Tests Coverage Report

1 files  1 suites   2m 41s ⏱️
6 tests 6 ✅ 0 💤 0 ❌
7 runs  7 ✅ 0 💤 0 ❌

Results for commit 2426407.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 11, 2024

E2E Node PEM Kill Tests Coverage Report

13 tests   13 ✅  2m 42s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 2426407.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 11, 2024

E2E Standard Tests Coverage Report

 1 files   9 suites   3m 38s ⏱️
58 tests 58 ✅ 0 💤 0 ❌
59 runs  59 ✅ 0 💤 0 ❌

Results for commit 2426407.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 11, 2024

E2E Node Local Build Tests Coverage Report

10 tests   10 ✅  2m 20s ⏱️
 2 suites   0 💤
 1 files     0 ❌

Results for commit 2426407.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 11, 2024

E2E Mirror Node Tests Coverage Report

 1 files   1 suites   3m 39s ⏱️
13 tests 13 ✅ 0 💤 0 ❌
14 runs  14 ✅ 0 💤 0 ❌

Results for commit 2426407.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 11, 2024

E2E Node Update Tests Coverage Report

12 tests   12 ✅  4m 42s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 2426407.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 11, 2024

E2E Node Delete Tests Coverage Report

10 tests   10 ✅  5m 54s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 2426407.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Sep 11, 2024

E2E Node Add Tests Coverage Report

22 tests   22 ✅  11m 40s ⏱️
 2 suites   0 💤
 1 files     0 ❌

Results for commit 2426407.

♻️ This comment has been updated with latest results.

@jeromy-cannon jeromy-cannon force-pushed the 00564-autogen-tool branch 2 times, most recently from 79a562d to aa17a8f Compare September 11, 2024 21:00
@jeromy-cannon jeromy-cannon changed the title feat: add the autogen tool to easily add e2e tests and run it for the first time feat: add the autogen tool to easily add e2e tests and run it for the first time & fix copyFrom Sep 12, 2024
Copy link

codacy-production bot commented Sep 12, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 70c88d21 46.97%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (70c88d2) Report Missing Report Missing Report Missing
Head commit (2426407) 3969 3262 82.19%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#566) 66 31 46.97%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 46.37681% with 37 lines in your changes missing coverage. Please review.

Project coverage is 82.09%. Comparing base (853eb9e) to head (2426407).
Report is 26 commits behind head on main.

Files with missing lines Patch % Lines
src/core/k8.mjs 46.37% 37 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #566      +/-   ##
==========================================
- Coverage   83.15%   82.09%   -1.07%     
==========================================
  Files          36       36              
  Lines        4815     4769      -46     
  Branches      667      678      +11     
==========================================
- Hits         4004     3915      -89     
- Misses        811      854      +43     
Files with missing lines Coverage Δ
src/core/k8.mjs 82.11% <46.37%> (-5.35%) ⬇️

... and 1 file with indirect coverage changes

Impacted file tree graph

commit 93cd14b
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 19:37:48 2024 +0100

    k8 copyFrom cleanup

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit e661e29
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 19:01:52 2024 +0100

    enhanced k8 copyFrom and its testCase

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 93b6a6f
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 18:12:55 2024 +0100

    enhance k8 copyto copyfrom test

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 74bcc12
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 18:11:52 2024 +0100

    moved location of k8 con.on error

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 9f95021
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 19:02:26 2024 +0100

    added sleep to give time for fullstack-setup to deploy

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 2b4b72b
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 17:35:17 2024 +0100

    updated test case

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 9ea29bc
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 14:20:05 2024 +0100

    no using async in a callback

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 98ddc38
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 11:52:14 2024 +0100

    another attempt to fix copyFrom

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit c3934c0
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 11:21:44 2024 +0100

    lint

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 860e4b5
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 09:36:06 2024 +0100

    added drain pause/resume

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 6b7459c
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 08:41:51 2024 +0100

    fixed bug due to class type change

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit ecdb808
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 07:35:08 2024 +0100

    added more error handling and logging, part 2

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit f30d803
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 07:31:02 2024 +0100

    added more error handling and logging

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 48711f1
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Thu Sep 12 07:11:37 2024 +0100

    add pipe to copyFrom

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 5c7fb6b
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Wed Sep 11 23:20:53 2024 +0100

    more logging for copyFrom

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 2547171
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Wed Sep 11 22:31:52 2024 +0100

    add additional logging in error message to help determine why it fails

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 11571f3
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Wed Sep 11 22:00:03 2024 +0100

    fix bug in copyFrom

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit dde3add
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Wed Sep 11 21:59:06 2024 +0100

    fix bug in copyFrom

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit dd690d6
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Wed Sep 11 21:26:32 2024 +0100

    remove tar from copyFrom

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 8b33c4e
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Wed Sep 11 20:49:15 2024 +0100

    run autogen tool

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

commit 273900d
Author: Jeromy Cannon <jeromy@swirldslabs.com>
Date:   Wed Sep 11 20:43:31 2024 +0100

    add autogen tool

    Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>

Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
@jeromy-cannon jeromy-cannon merged commit e6c79eb into main Sep 12, 2024
38 of 40 checks passed
@jeromy-cannon jeromy-cannon deleted the 00564-autogen-tool branch September 12, 2024 20:54
swirlds-automation added a commit that referenced this pull request Sep 17, 2024
## [0.30.0](v0.29.0...v0.30.0) (2024-09-17)

### Features

* add node add-prepare and node add-execute commands ([#533](#533)) ([a184775](a184775))
* add support for attach jvm debugger ([#549](#549)) ([35a0075](35a0075))
* add the autogen tool to easily add e2e tests and run it for the first time & fix copyFrom ([#566](#566)) ([e6c79eb](e6c79eb))
* **network node livecheck:** implement a functionality to determine network node activeness with prometheus metrics ([#567](#567)) ([6120775](6120775))
* remove pfx support ([#537](#537)) ([aff5f63](aff5f63))

### Bug Fixes

* aligned test names to naming pattern ([#554](#554)) ([365f724](365f724))
* download application.properties file if it was generated by hedera app during handling address book change ([#571](#571)) ([35c73d8](35c73d8))
* **functionality:** removed the 'z' from the 'tar' command on the K8.copyFrom ([#561](#561)) ([796474b](796474b))
* have update readme run after version calculation in deploy and release ([#586](#586)) ([42e1685](42e1685))
* jsdoc errors due to unrecognized format ([#557](#557)) ([da7113b](da7113b))
* remove of using agreement key in hedera repo test ([#563](#563)) ([05c5517](05c5517))
* separate repeated steps as individual functions ([#562](#562)) ([dcbbe5e](dcbbe5e))
@swirlds-automation
Copy link
Contributor

🎉 This PR is included in version 0.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants