Commit Graph

8099 Commits

Author SHA1 Message Date
Ramzi El-Yafi
3fc916fb6c Add Allure report generation ()
* Add Allure report generation

* change test artifact path for allure
2019-12-04 14:49:44 +00:00
Jonathan Locke
04eec1de46
DOCS: Typo fix in getting started ()
DOCS: Typo fix in getting started ()
2019-11-29 13:18:00 +00:00
CaisManai
6487844ed5 Fixing small typo
"Double-click the new contract file to open it" should read "Double-click the new flow file to open it" as we're now working on flows.
2019-11-29 10:55:32 +00:00
Razvan Codreanu
d33dbb2ea9 TM-104 Switching the distributed testing plugin to the one released in artifactory ()
* TM-104 switch to using the published plugin

* TM-104 switching to artifactory plugin

* TM-104 remove unused plugin

* TM-104 adding docker plugin

* TM-104 adding docker plugin take 2

* add dependencies-dev and set distributed build plugin to changing
2019-11-28 14:49:39 +00:00
Stefano Franz
d604820de9
put podlogs into folder with taskName to support parallel jenkins unit and integration test run () 2019-11-26 13:05:02 +00:00
Stefano Franz
16eb2fce78
Allow taints on kubernetes nodes to determine scheduling of tests ()
* allow a test group to specify taints for the nodes

* specify "effect" of toleration
modify test groups to use taints
modify preallocation to use taints

* add extra command line flags for unit test run
2019-11-25 09:39:37 +00:00
rui-r3
ab3c4ac7f8 CORDA-2491: Ability to specify Java package namespace from Cordform () ()
Add entry point with generic extra configuration options. Move configuration verification code to avoid circular dependencies.
2019-11-21 13:10:04 +00:00
James Higgs
6dbde1172d [CORDA-3442] Update app upgrade notes for gradle version for PV5 ()
* [CORDA-3442] Update app upgrade notes for gradle version for PV5

* [CORDA-3442] Adjust a link and add some backticks
2019-11-21 11:52:11 +00:00
James Higgs
001c2cbdc4 [CORDA-3373][CORDA-3374] Update Cordform docs to discuss setting Jolokia version, update version number ()
* [CORDA-3374] Update Cordform docs to discuss setting Jolokia version

* [CORDA-3373] Update Jolokia version in command for node-administration
2019-11-20 16:39:28 +00:00
Ryan Fowler
b5beb6119c CORDA-3158: Update docs with info about CAPSULE_CACHE_DIR ()
* CORDA-3158: Update docs with info about CAPSULE_CACHE_DIR for capsule cache home

* CORDA-3158: Update docs with info about CAPSULE_CACHE_DIR for capsule cache home
2019-11-20 14:39:29 +00:00
Jonathan Locke
ae8b5c1a96
CORDA-3446 finalizing transactions with only one participant ()
CORDA-3446 finalizing transactions with only one participant ()
2019-11-20 10:03:25 +00:00
Stefano Franz
698909a1ac
disable preallocation on regression builds () 2019-11-19 17:38:38 +00:00
Stefano Franz
138a2f114d
Refresh token by invoking KubeCTL before each Kuberenetes API invocation ()
* fix merge issue with sidecar image work

* add logic to refresh token in GKE

* set streaming to true

* set streaming to true

* set streaming to false, and increment number of workers for regression test as approaching 1h limit

* set PR build to run unit and integration tests

* try method distribution to see if faster

* rename test stage to reflect the fact it runs unit tests

* remove commented out parallel unit test code
2019-11-19 15:01:42 +00:00
Ed Prosser
304b809d6b Updates for finalizing transactions with one participant 2019-11-19 14:32:33 +00:00
Stefano Franz
221576d94a
move - responding flow from suffix to prefix of test name () 2019-11-18 15:41:15 +00:00
Stefano Franz
831ca33ed5
try increase websocket timeout due to azure EOF exceptions () 2019-11-18 13:45:43 +00:00
Jonathan Locke
129d8d1b34
NOTICK: Mention platform version change in release notes ()
* NOTICK: Mention platform version change in release notes ()

Update the release notes to mention the platform version change.

* NOTICK: Mention platform version change in release notes

Added mention of preserved wire stability and compatibility across different versions.

* Typo fixes

* Corrected typo in release notes.

* Reworded change according to feedback - greatly simplified it.

* Slight rewording
2019-11-18 12:42:25 +00:00
Stefano Franz
052adc9791
fix merge issue with sidecar image work () 2019-11-15 17:31:58 +00:00
Stefano Franz
01c1e4bc17
attempt to make preAllocation job deletion more certain ()
fix issue with deallocate during build phase

fix test report URL
2019-11-15 15:14:01 +00:00
Razvan Codreanu
deed4e9763 Enable test retry in distributed testing ()
* TM-88 only write the test to the file if it passes otherwise retry

* TM-88 1 failing test for testing purposes

* TM-88 fail an integration test instead of unit test

* TM-88 include failed test for retry

* TM-88 new logic for retrying failed tests

* TM-88 refactored to use retry class when dealing with test failures + copy results even after pod failure

* TM-88 remaining pods as set to prevent duplicates, limit retries to prevent crashed build and a bit more logging

* TM-88 atomic int instead of int array

* TM-88 moving atomic int outside retry loops

* TM-88 removing second retry as it is not needed

* TM-88 small fix to final copy

* TM-88 while loop to prevent destruction of results on test retry

* TM-88 removing shutdown hook

* TM-88 reverting to previous implementation

* TM-88 copying xml files before retry

* TM-88 removing fail
2019-11-15 15:07:23 +00:00
cairncross
b48a714aaa TM-10 - Parallelise DB integration tests (postgres) () 2019-11-15 14:46:53 +00:00
Jonathan Locke
57bd5d5af2
NOTICK: Update API after release of 4.3 ()
NOTICK: Update API after release of 4.3 ()
2019-11-14 16:58:04 +00:00
Jonathan Locke
6104d114c8 NOTICK: Update API after release of 4.3
Update the api-current.txt file after the release of Corda 4.3
2019-11-14 15:11:02 +00:00
Katelyn Baker
67bc985aeb
CORDA-3422 - Remove design docs from 4.1 () 2019-11-14 14:43:30 +00:00
Katelyn Baker
a3bc4ff93a
Merge pull request from corda/FEAT-43-r4.4
MERGE: 4.1 -> 4.3
2019-11-14 09:24:16 +00:00
Katelyn Baker
637c8524fc Merge branch 'release/os/4.1' into FEAT-43-r4.4 2019-11-13 19:16:09 +00:00
Katelyn Baker
8e4666961a
CORDA-3422 - Remove design docs from 4.0 () 2019-11-13 18:01:04 +00:00
Ed Prosser
11b94a5e50
Merge pull request from corda/EdP/CORDA-3181-merge-to-4.3
Merge OS 4.1 -> OS 4.3
2019-11-13 14:43:57 +00:00
Ed Prosser
14373ab5ab Merge remote-tracking branch 'origin/release/os/4.1' into EdP/CORDA-3181-merge-to-4.3
# Conflicts:
#	constants.properties
#	docs/source/getting-set-up.rst
2019-11-13 13:13:16 +00:00
Razvan Codreanu
7f3260e1b3 TM-89 fixing double archiving and misleading log () 2019-11-13 11:33:12 +00:00
Razvan Codreanu
71af7ad7cb Print remaining k8s pods on pod completion ()
* TM-87 printing remaining pods on pod completion

* TM-87 extra commit to unblock jenkins?

* TM-87 extra commit to unblock jenkins?

* TM-87 pr comments
2019-11-13 11:32:54 +00:00
Jonathan Locke
bec865dc57
CORDA-3358: Add capsule-friendly argument to docs ()
CORDA-3358: Add capsule-friendly argument to docs ()
2019-11-13 10:36:07 +00:00
Ed Prosser
ed1216f622
Merge pull request from corda/CORDA-3181-4.1-EdP
CORDA-3181 Correct JDK install instructions + streamlining
2019-11-13 09:41:54 +00:00
Jonathan Locke
00c8d16644
NOTICK: Updated release notes for 4.3 ()
* NOTICK: Updated release notes for 4.3 ()

Updated release notes for 4.3

* Clarification for old CI vs new CI

* Updated release notes

* Fixed broken links

* Addressed comments

* Added link

* Removed issues without a JIRA link

* Word change

* One more

* Mention deprecation of API

* Added Deprecations notice

* Moved confidential identities deprecation note
2019-11-12 15:45:03 +00:00
Razvan Codreanu
296a8d4ba5 TM-84 Reduce noise when excluding tests ()
* TM-84 create intersection between includes and excludes and remove the intersection from the includes, that way we only print relevant exclusions instead of creating noise

* TM-84 add all instead of copy

* TM-84 remove xml from saved artifacts

* TM-84 reverting to default code to investigate behaviour

* TM-84 fixed intersection implementation

* TM-84 more logging to understand behaviour

* TM-84 more debugging

* TM-84 adding wildcard so contains works as expected

* TM-84 tweaking intersection closure

* TM-84 tweaking intersection

* TM-84 small change

* TM-84 suffixing wildcard

* TM-84 finishing up PR

* TM-84 PR comment
2019-11-12 13:19:31 +00:00
Razvan Codreanu
cc0e92e988 TM-89 Moving pod log outside the temp folder ()
* TM-89 creating log outside of temp folder

* TM-89 reverting build.gradle changes now that the practical test worked. logs for each container can be viewed in the artifacts section
2019-11-12 12:36:56 +00:00
Jonathan Locke
a1691c72a4
CORDA-3411: Correct links to github after branching strategy change ()
CORDA-3411: Correct links to github after branching strategy change ()
2019-11-12 10:56:25 +00:00
LankyDan
d94a3abd70 CORDA-3411 Correct links to github after branching strategy change 2019-11-11 13:26:42 +00:00
Stefano Franz
7fb404bd85
limit number of builds kept within jenkins history for regression builds () 2019-11-09 08:57:19 +00:00
Jonathan Locke
86f1f9e371
CORDA-3393: Lazy load MessageDeduplicationHandler.flowId ()
CORDA-3393: Lazy load `MessageDeduplicationHandler.flowId` ()
2019-11-07 09:44:03 +00:00
Dan Newton
b15db200e3 NOTICK: Quick and dirty change to stop "Unable to start notaries." error message ()
* Quick and dirty change to stop "Unable to start notaries." error message ()

"Unable to start notaries. A required port might be bound already" is
returned whenever a startup error occurs while starting the notary nodes
in driver tests. This hides the real error.

This change prints the actual error to std_err and read from file
at a later point. This means the real error is not lost and will be
shown in failed builds.

* Suppress detekt warnings
2019-11-07 09:43:29 +00:00
Tudor Malene
b1e5b659c1 ENT-4107: Document blob inspector issue ()
* ENT-4107 - document issue with enums in the blob inspector ()

* ENT-4107 - fixed formatting
2019-11-06 17:04:05 +00:00
Jonathan Locke
0445fac0e5
CORDA-3298: Update sql server driver version ()
CORDA-3298: Update sql server driver version ()
2019-11-06 17:03:21 +00:00
Dimos Raptis
55525820cf [CORDA-3298] - Update sql server driver version 2019-11-06 13:35:21 +00:00
LankyDan
91f35d5967 CORDA-3393 Lazy load MessageDeduplicationHandler.flowId
This is to potentially help with debugging in the future as the
`flowId` could become confusing for received messages where the `flowId`
has nothing to do with the current flow.
2019-11-06 11:26:25 +00:00
Razvan Codreanu
7106b0f1b9 Converting Groovy to Java in the Distributed testing plugin ()
* TM-74 Converting ParallelTestGroup

* TM-74 private fields, getters, distributedTesting refactoring

* TM-74 More conversions

* TM-74 reinstating ListTests groovy class

* TM-74 extracting enum and clas from ListTests

* TM-74 switching to java ListTests

* TM-74 null check

* TM-74 new access modifiers

* TM-74 minor changes

* TM-74 scrapping the conversions of ListTests to java

* TM-74 reverting build.gradle

* TM-74 formatting main gradle

* TM-74 removing the commented out code. It has been linked in the jira

* TM-74 adding list tests back for investigation

* TM-74 collecting after every operation

* TM-74 collecting after every operation

* TM-74 more debugging

* TM-74 more debugging with lifecycle now

* TM-74 debugging on the existing groovy file

* TM-74 with stream output

* TM-74 switching back to java

* TM-74 reverting java code, fixing cast in distributed testing file?

* TM-74 nailing down the line causing the problem

* TM-74 casting

* TM-74 changing types

* TM-74 stacktrace at pod lvl

* TM-74 stacktrace at pod lvl

* TM-74 fix issue with immutable list

* TM-74 reverting changes now that fix is in place

* TM-74 switching to generic task

* TM-74 turning off debugging

* TM-74 allocating by method
2019-11-05 16:59:19 +00:00
Stefano Franz
ed50016ed0
Merge pull request from corda/add_publishing_tests_to_regression_builds
add smoke tests via comment trigger build
2019-11-05 15:29:33 +00:00
Jonathan Locke
d9876f5537
[NOTICK] Ignore p2p messaging test ()
[NOTICK] Ignore p2p messaging test ()
2019-11-05 13:07:51 +00:00
LankyDan
532e4989d6 @Ignore P2PMessagingTest - communicating with a distributed service which we're part of 2019-11-05 11:52:32 +00:00
Dimos Raptis
485feb2d6c CORDA-3350: Increase size of constraints column ()
* CORDA-3350: Increase size of constraints column ()

* Detekt

* Update api file with new threshold

* Add check in transaction builder

* Revert "Add check in transaction builder"

This reverts commit ca3128f44c.

* Add check for max number of keys

* Update api file

* Address Tudor's comments

* Remove check for pre-5 and add test for EC keys

* fix typo and rename liquibase script

* updated docs with measurement numbers for composite keys

* Make detekt happy again
2019-11-05 11:00:26 +00:00