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

fix: revert to sleep and remove jest.runAllTicks from e2e test #255

Merged
merged 5 commits into from May 3, 2024

Conversation

jeromy-cannon
Copy link
Contributor

@jeromy-cannon jeromy-cannon commented Apr 28, 2024

Description

This pull request changes the following:

  • removes 'jest.runAllTicks()' in 1test/e2e/commands/node.test.mjs` as it was causing inconsistent failures
  • increased timeout on relay test
  • added fst chart version to helm upgrade calls which was missing and causing issues

Related Issues

  • Closes #

Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
@jeromy-cannon jeromy-cannon self-assigned this Apr 28, 2024
@jeromy-cannon jeromy-cannon requested review from leninmehedy and a team as code owners April 28, 2024 14:28
Copy link
Contributor

github-actions bot commented Apr 28, 2024

Unit Test Results - Linux

  1 files  ±0   18 suites  ±0   1m 18s ⏱️ -24s
119 tests ±0  119 ✅ ±0  0 💤 ±0  0 ❌ ±0 
144 runs  ±0  144 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 90672ac. ± Comparison against base commit a8ed482.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Apr 28, 2024

Unit Test Results - Windows

  1 files  ±0   18 suites  ±0   1m 51s ⏱️ -4s
119 tests ±0  119 ✅ ±0  0 💤 ±0  0 ❌ ±0 
144 runs  ±0  144 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 90672ac. ± Comparison against base commit a8ed482.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Apr 28, 2024

E2E Test Results

  1 files  ± 0   11 suites  ±0   22m 23s ⏱️ - 30m 29s
102 tests ± 0  102 ✅ +16  0 💤 ±0  0 ❌  - 16 
108 runs  +17  108 ✅ +33  0 💤 ±0  0 ❌  - 16 

Results for commit 90672ac. ± Comparison against base commit a8ed482.

This pull request removes 34 and adds 34 tests. Note that renamed tests count towards both.
[afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should cleanup previous deployment ‑ [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should cleanup previous deployment
[afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with network deploy ‑ [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with network deploy
[afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with node setup command ‑ [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with node setup command
[afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with node start command ‑ [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with node start command
[afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should have started successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] Account creation should succeed ‑ [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should have started successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] Account creation should succeed
[afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should have started successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] Balance query should succeed ‑ [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should have started successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] Balance query should succeed
[afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should have started successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] Node Proxy should be UP [mode stop, release v0.49.0-alpha.2, keyFormat: pem ‑ [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should have started successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] Node Proxy should be UP [mode stop, release v0.49.0-alpha.2, keyFormat: pem
[afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should refresh successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] Account creation should succeed ‑ [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should refresh successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] Account creation should succeed
[afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should refresh successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] Balance query should succeed ‑ [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should refresh successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] Balance query should succeed
[afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should refresh successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] node0 refresh should succeed ‑ [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: [afterEach - ERROR]: NodeCommand Node should refresh successfully [mode stop, release v0.49.0-alpha.2, keyFormat: pem] node0 refresh should succeed
…
NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should cleanup previous deployment ‑ NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should cleanup previous deployment
NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with network deploy ‑ NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with network deploy
NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with node setup command ‑ NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with node setup command
NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with node start command ‑ NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pem] should succeed with node start command
NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pfx] should cleanup previous deployment ‑ NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pfx] should cleanup previous deployment
NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pfx] should succeed with network deploy ‑ NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pfx] should succeed with network deploy
NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pfx] should succeed with node setup command ‑ NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pfx] should succeed with node setup command
NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pfx] should succeed with node start command ‑ NodeCommand Bootstrap network for test [release v0.49.0-alpha.2, keyFormat: pfx] should succeed with node start command
NodeCommand Node should have started successfully [mode kill, release v0.49.0-alpha.2, keyFormat: pfx] Account creation should succeed ‑ NodeCommand Node should have started successfully [mode kill, release v0.49.0-alpha.2, keyFormat: pfx] Account creation should succeed
NodeCommand Node should have started successfully [mode kill, release v0.49.0-alpha.2, keyFormat: pfx] Balance query should succeed ‑ NodeCommand Node should have started successfully [mode kill, release v0.49.0-alpha.2, keyFormat: pfx] Balance query should succeed
…

♻️ This comment has been updated with latest results.

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

codacy-production bot commented May 3, 2024

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for a8ed4821 90.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (a8ed482) Report Missing Report Missing Report Missing
Head commit (90672ac) 3174 2587 81.51%

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 (#255) 10 9 90.00%

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 will stop sending the deprecated coverage status from 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 May 3, 2024

Codecov Report

Attention: Patch coverage is 90.90909% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 81.34%. Comparing base (fe865f8) to head (1ed981b).
Report is 18 commits behind head on main.

❗ Current head 1ed981b differs from pull request most recent head 90672ac. Consider uploading reports for the commit 90672ac to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #255      +/-   ##
==========================================
+ Coverage   77.72%   81.34%   +3.61%     
==========================================
  Files          33       33              
  Lines        3601     3768     +167     
  Branches      676      685       +9     
==========================================
+ Hits         2799     3065     +266     
+ Misses        802      703      -99     
Files Coverage Δ
src/commands/mirror_node.mjs 68.80% <ø> (+68.80%) ⬆️
src/commands/network.mjs 51.92% <ø> (ø)
src/commands/node.mjs 79.61% <100.00%> (+4.27%) ⬆️
src/core/chart_manager.mjs 89.55% <100.00%> (+9.86%) ⬆️
src/core/k8.mjs 89.21% <50.00%> (+2.82%) ⬆️

... and 3 files with indirect coverage changes

Impacted file tree graph

JeffreyDallas
JeffreyDallas previously approved these changes May 3, 2024
test/e2e/commands/mirror_node.test.mjs Outdated Show resolved Hide resolved
Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com>
@jeromy-cannon jeromy-cannon merged commit a7cf6bf into main May 3, 2024
22 checks passed
@jeromy-cannon jeromy-cannon deleted the remove-runallticks branch May 3, 2024 19:06
swirlds-automation added a commit that referenced this pull request May 16, 2024
## [0.25.0](v0.24.0...v0.25.0) (2024-05-16)

### Features

* ability to deploy different software package to a subset of nodes ([#232](#232)) ([5e95030](5e95030))
* add `solo node add` subcommand ([#234](#234)) ([8cc3802](8cc3802))

### Bug Fixes

* enhance profile manager to take mirror node component overrides to increase pipeline stability ([#289](#289)) ([c89a042](c89a042))
* increase wait time for when recycling an haproxy pod for a node ([#292](#292)) ([cb5a1c6](cb5a1c6))
* jsdoc could not recognizing Promise<[*]> ([#275](#275)) ([9a9c00c](9a9c00c))
* revert to sleep and remove jest.runAllTicks from e2e test ([#255](#255)) ([a7cf6bf](a7cf6bf))
* use latest FST chart and a single consensus node during mirror-node e2e test ([#264](#264)) ([5a5a02f](5a5a02f))
@swirlds-automation
Copy link
Contributor

🎉 This PR is included in version 0.25.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
Development

Successfully merging this pull request may close these issues.

None yet

3 participants