-
Notifications
You must be signed in to change notification settings - Fork 286
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
test(connector-fabric): fix flaky test 2.2.x deploy-cc-from-javascript #1471
Labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
Developer_Experience
Flaky-Test-Automation
Issues related to test stability (which is a long running issue that can never fully be solved)
good-first-issue
Good for newcomers
good-first-issue-400-expert
Hacktoberfest
Hacktoberfest participants are welcome to take a stab at issues marked with this label.
help wanted
Extra attention is needed
Tests
Anything related to tests be that automatic or manual, integration or unit, etc.
Milestone
Comments
petermetz
added
bug
Something isn't working
good-first-issue
Good for newcomers
help wanted
Extra attention is needed
dependencies
Pull requests that update a dependency file
Developer_Experience
Hacktoberfest
Hacktoberfest participants are welcome to take a stab at issues marked with this label.
good-first-issue-400-expert
Flaky-Test-Automation
Issues related to test stability (which is a long running issue that can never fully be solved)
Tests
Anything related to tests be that automatic or manual, integration or unit, etc.
labels
Oct 21, 2021
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 21, 2021
This is related to hyperledger-cacti#1471 (does not fix it though). In order to enable faster CI/PR turnaround times we are aggressively eliminating (skipping) flaky tests and creating issues in the backlog for fixing them later on. Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Oct 22, 2021
This is related to hyperledger-cacti#1471 (does not fix it though). In order to enable faster CI/PR turnaround times we are aggressively eliminating (skipping) flaky tests and creating issues in the backlog for fixing them later on. Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Leeyoungone
pushed a commit
to Leeyoungone/cactus
that referenced
this issue
Oct 26, 2021
This is related to hyperledger-cacti#1471 (does not fix it though). In order to enable faster CI/PR turnaround times we are aggressively eliminating (skipping) flaky tests and creating issues in the backlog for fixing them later on. Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
RafaelAPB
pushed a commit
to RafaelAPB/blockchain-integration-framework
that referenced
this issue
Mar 9, 2022
This is related to hyperledger-cacti#1471 (does not fix it though). In order to enable faster CI/PR turnaround times we are aggressively eliminating (skipping) flaky tests and creating issues in the backlog for fixing them later on. Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
outSH
added a commit
to outSH/cactus
that referenced
this issue
Jul 4, 2022
- Remove flaky tests from main CI execution. - Add separate TAP and jest configuration for running only flaky tests. - Add test:*:flaky scripts in the main package.json - Add new step to github CI script to run flaky tests as optional (i.e. don't fail if flaky test fails) Closes: hyperledger-cacti#2112 Related: hyperledger-cacti#2104 Related: hyperledger-cacti#1626 Related: hyperledger-cacti#2019 Related: hyperledger-cacti#1625 Related: hyperledger-cacti#1543 Related: hyperledger-cacti#1598 Related: hyperledger-cacti#1528 Related: hyperledger-cacti#1521 Related: hyperledger-cacti#1495 Related: hyperledger-cacti#1485 Related: hyperledger-cacti#1473 Related: hyperledger-cacti#1471 Related: hyperledger-cacti#1469 Related: hyperledger-cacti#1150 Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 18, 2023
WORK IN PROGRESS - just thinned down the CI for now Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 18, 2023
WORK IN PROGRESS - just thinned down the CI for now Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 18, 2023
WORK IN PROGRESS - just thinned down the CI for now Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 18, 2023
WORK IN PROGRESS - just thinned down the CI for now Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 18, 2023
WORK IN PROGRESS - just thinned down the CI for now Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 18, 2023
WORK IN PROGRESS - just thinned down the CI for now Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 18, 2023
WORK IN PROGRESS - just thinned down the CI for now Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 19, 2023
WORK IN PROGRESS - just thinned down the CI for now Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 19, 2023
WORK IN PROGRESS - just thinned down the CI for now Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 20, 2023
WORK IN PROGRESS - just thinned down the CI for now Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 20, 2023
Primary changes: --------------- 1. Added robust debug logging to the express middleware of the API server so that problems like this are easier to debug in the future (e.g. trouble with the Open API spec documents themselves) 2. Refactored the ci.yaml document so that there are separate jobs for each tape based Fabric connector integration test. This has reduced (or potentially eliminated) the presence of the flake that we were encountering during the contract deployment test cases. It also has the upside of faster CI because of more parallelism in the CI jobs. 3. Updated the assertions in a couple of test cases where the newer Fabric versions were causing the assertions to fail because the returned JSON response in the example asset transfer chaincode is now referring to the asset owner via a property named "Owner" not "owner" (casing difference) Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 20, 2023
Primary changes: --------------- 1. Added robust debug logging to the express middleware of the API server so that problems like this are easier to debug in the future (e.g. trouble with the Open API spec documents themselves) 2. Refactored the ci.yaml document so that there are separate jobs for each tape based Fabric connector integration test. This has reduced (or potentially eliminated) the presence of the flake that we were encountering during the contract deployment test cases. It also has the upside of faster CI because of more parallelism in the CI jobs. 3. Updated the assertions in a couple of test cases where the newer Fabric versions were causing the assertions to fail because the returned JSON response in the example asset transfer chaincode is now referring to the asset owner via a property named "Owner" not "owner" (casing difference) Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
to petermetz/cacti
that referenced
this issue
Aug 21, 2023
Primary changes: --------------- 1. Added robust debug logging to the express middleware of the API server so that problems like this are easier to debug in the future (e.g. trouble with the Open API spec documents themselves) 2. Refactored the ci.yaml document so that there are separate jobs for each tape based Fabric connector integration test. This has reduced (or potentially eliminated) the presence of the flake that we were encountering during the contract deployment test cases. It also has the upside of faster CI because of more parallelism in the CI jobs. 3. Updated the assertions in a couple of test cases where the newer Fabric versions were causing the assertions to fail because the returned JSON response in the example asset transfer chaincode is now referring to the asset owner via a property named "Owner" not "owner" (casing difference) Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
petermetz
added a commit
that referenced
this issue
Aug 21, 2023
Primary changes: --------------- 1. Added robust debug logging to the express middleware of the API server so that problems like this are easier to debug in the future (e.g. trouble with the Open API spec documents themselves) 2. Refactored the ci.yaml document so that there are separate jobs for each tape based Fabric connector integration test. This has reduced (or potentially eliminated) the presence of the flake that we were encountering during the contract deployment test cases. It also has the upside of faster CI because of more parallelism in the CI jobs. 3. Updated the assertions in a couple of test cases where the newer Fabric versions were causing the assertions to fail because the returned JSON response in the example asset transfer chaincode is now referring to the asset owner via a property named "Owner" not "owner" (casing difference) Fixes #1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
sandeepnRES
pushed a commit
to sandeepnRES/cacti
that referenced
this issue
Dec 21, 2023
Primary changes: --------------- 1. Added robust debug logging to the express middleware of the API server so that problems like this are easier to debug in the future (e.g. trouble with the Open API spec documents themselves) 2. Refactored the ci.yaml document so that there are separate jobs for each tape based Fabric connector integration test. This has reduced (or potentially eliminated) the presence of the flake that we were encountering during the contract deployment test cases. It also has the upside of faster CI because of more parallelism in the CI jobs. 3. Updated the assertions in a couple of test cases where the newer Fabric versions were causing the assertions to fail because the returned JSON response in the example asset transfer chaincode is now referring to the asset owner via a property named "Owner" not "owner" (casing difference) Fixes hyperledger-cacti#1471 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
dependencies
Pull requests that update a dependency file
Developer_Experience
Flaky-Test-Automation
Issues related to test stability (which is a long running issue that can never fully be solved)
good-first-issue
Good for newcomers
good-first-issue-400-expert
Hacktoberfest
Hacktoberfest participants are welcome to take a stab at issues marked with this label.
help wanted
Extra attention is needed
Tests
Anything related to tests be that automatic or manual, integration or unit, etc.
Describe the bug
We've got a flaky one at:
packages/cactus-plugin-ledger-connector-fabric/src/test/typescript/integration/fabric-v2-2-x/deploy-cc-from-javascript-source.test.ts
To Reproduce
Keep running the test and eventually you'll see it.
Expected behavior
Tests are stable, not flaky.
Logs/Stack traces
Logs with additional details:
2023-08-17-cacti-ci-fabric-flaky-test-crash-extra-hfc-logging.log
The CI logs from the GHA runner as of this morning:
logs_10074.zip
Cloud provider or hardware configuration:
GHA runner
Operating system name, version, build:
Ubuntu 20.04
Hyperledger Cactus release version or commit (git rev-parse --short HEAD):
1.0.0-rc.1
Hyperledger Cactus Plugins/Connectors Used
Fabric
Additional context
I'll send a separate PR that skips this test to avoid flakiness in the meantime.
The text was updated successfully, but these errors were encountered: