Commit Graph

8087 Commits

Author SHA1 Message Date
Stefano Franz
698909a1ac
disable preallocation on regression builds (#5743) 2019-11-19 17:38:38 +00:00
Stefano Franz
138a2f114d
Refresh token by invoking KubeCTL before each Kuberenetes API invocation (#5732)
* 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
Stefano Franz
221576d94a
move - responding flow from suffix to prefix of test name (#5731) 2019-11-18 15:41:15 +00:00
Stefano Franz
831ca33ed5
try increase websocket timeout due to azure EOF exceptions (#5729) 2019-11-18 13:45:43 +00:00
Jonathan Locke
129d8d1b34
NOTICK: Mention platform version change in release notes (#5721)
* NOTICK: Mention platform version change in release notes (#5721)

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 (#5724) 2019-11-15 17:31:58 +00:00
Stefano Franz
01c1e4bc17
attempt to make preAllocation job deletion more certain (#5708)
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 (#5702)
* 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) (#5704) 2019-11-15 14:46:53 +00:00
Jonathan Locke
57bd5d5af2
NOTICK: Update API after release of 4.3 (#5717)
NOTICK: Update API after release of 4.3 (#5717)
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 (#5715) 2019-11-14 14:43:30 +00:00
Katelyn Baker
a3bc4ff93a
Merge pull request #5709 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 (#5707) 2019-11-13 18:01:04 +00:00
Ed Prosser
11b94a5e50
Merge pull request #5703 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 (#5698) 2019-11-13 11:33:12 +00:00
Razvan Codreanu
71af7ad7cb Print remaining k8s pods on pod completion (#5697)
* 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 (#5627)
CORDA-3358: Add capsule-friendly argument to docs (#5627)
2019-11-13 10:36:07 +00:00
Ed Prosser
ed1216f622
Merge pull request #5532 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 (#5692)
* NOTICK: Updated release notes for 4.3 (#5692)

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 (#5688)
* 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 (#5696)
* 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 (#5695)
CORDA-3411: Correct links to github after branching strategy change (#5695)
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 (#5693) 2019-11-09 08:57:19 +00:00
Jonathan Locke
86f1f9e371
CORDA-3393: Lazy load MessageDeduplicationHandler.flowId (#5679)
CORDA-3393: Lazy load `MessageDeduplicationHandler.flowId` (#5679)
2019-11-07 09:44:03 +00:00
Dan Newton
b15db200e3 NOTICK: Quick and dirty change to stop "Unable to start notaries." error message (#5686)
* Quick and dirty change to stop "Unable to start notaries." error message (#5686)

"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 (#5685)
* ENT-4107 - document issue with enums in the blob inspector (#5685)

* ENT-4107 - fixed formatting
2019-11-06 17:04:05 +00:00
Jonathan Locke
0445fac0e5
CORDA-3298: Update sql server driver version (#5684)
CORDA-3298: Update sql server driver version (#5684)
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 (#5642)
* 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 #5668 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 (#5672)
[NOTICK] Ignore p2p messaging test (#5672)
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 (#5639)
* CORDA-3350: Increase size of constraints column (#5639)

* 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
Jonathan Locke
c193aa46f0
CID-1154: reliable finality merge to OS (#5658)
CID-1154: reliable finality merge to OS (#5658)
2019-11-05 10:48:00 +00:00
Jonathan Locke
7a78b93124
CORDA-3369: fix samples readme (#5651)
CORDA-3369: fix samples readme (#5651)
2019-11-05 10:12:06 +00:00
Barry
4a7a9a56be TM-80 Do not publish the junit zip file to Artifactory automatically. (#5667)
This functionality was only in place for debugging purposes, to switch
it back on, set -Dpublish.junit=true in the Jenkinsfile.
2019-11-04 17:37:43 +00:00
Barry
6bf49bc4b7 TM-81 Do not write out the callstack when we cannot find tests.csv (#5669)
The first run of any new branch will not find a corresponding tests.csv
and will return 404 not found which is fine.  We do not need to display
the callstack at warning level.
2019-11-04 17:36:33 +00:00
stefano
718b7abb2f add pod index to container output message to make it easier to find in artifacts 2019-11-04 17:12:50 +00:00
stefano
2dab35c362 tidy up environment within pipeline 2019-11-04 17:00:38 +00:00
stefano
62002e0b3c surround post steps with check if comment build 2019-11-04 16:28:52 +00:00
stefano
f858827757 trigger is not null when comment caused build 2019-11-04 16:24:14 +00:00
stefano
6ae082f67f fix pipeline syntax errors 2019-11-04 16:19:55 +00:00
stefano
bf792c63d5 redesign Jenkinsfile for smoketests to determine if current build is a comment triggered build 2019-11-04 16:18:31 +00:00
stefano
35def14b1f add ability to tigger smoke tests on arbitrary PR 2019-11-04 16:03:12 +00:00
Stefano Franz
f7e0ce6f0b
convert to nanos from seconds rather than milliseconds when parsing JUnit xml (#5666)
* convert to nanos from seconds rather than milliseconds

* fix tests
2019-11-04 15:17:57 +00:00