Commit Graph

139 Commits

Author SHA1 Message Date
Trask Stalnaker 662e1792bb
Fix CircleCI muzzle build running out of memory (#29) 2019-11-27 12:36:03 -08:00
Nikolay Martynov 06a895672a Revert "Disable zulu8 test for time being due to test incompatibility"
This reverts commit 0b4b07b3f8.
2019-11-06 10:12:42 -05:00
Tyler Benson c1dad60a4c Disable zulu8 test for time being due to test incompatibility
OkHttp seems to be inadvertently loading the java log manager.
2019-11-05 14:36:25 -08:00
Nikolay Martynov 44dc98200a Enable tests for java13 2019-09-18 15:36:45 -04:00
Nikolay Martynov 68caf521ff Run tests on zulu11 2019-06-25 11:31:55 -04:00
Nikolay Martynov 808e965c9b Add Zulu to circleci build 2019-06-17 11:26:47 -04:00
Nikolay Martynov f37e4a2ec2 Revert "Collect more debugging info"
This reverts commit a0fc54936a.
2019-06-14 11:18:17 -04:00
Nikolay Martynov 5e81ca7913
Merge pull request #879 from DataDog/mar-kolya/preserver-dot-gradle-in-workspace
Preserve .gradle in workspace
2019-06-13 15:39:42 -04:00
Nikolay Martynov 709a548925
Merge pull request #877 from DataDog/mar-kolya/collect-jvm-cores
Collect more debugging info
2019-06-13 15:38:28 -04:00
Tyler Benson ca57aade8c Run latestDepTests in a separate job 2019-06-13 10:44:19 -07:00
Nikolay Martynov 16709c0954 Preserve .gradle in workspace 2019-06-13 13:25:09 -04:00
Nikolay Martynov a0fc54936a Collect more debugging info 2019-06-13 11:59:37 -04:00
Nikolay Martynov a2a9bec8a8 Enable '**' support in logs collection scripts
It is disabled by default now
2019-06-13 10:56:21 -04:00
Nikolay Martynov c1ce3c7103 Add Java12 build 2019-06-06 16:58:18 -04:00
Tyler Benson b6ba1997ae Add constraint for muzzle too 2019-05-17 09:32:15 -07:00
Nikolay Martynov 8f811fef85 Reduce gradle heap size on muzzle task
Looks like gradle forks more with new compiler settings and we run out
of memory on muzzle task
2019-03-29 14:34:19 -04:00
Nikolay Martynov 63e0c0f032 Support Unix Domain Socket proxy to send traces 2019-03-15 11:36:44 -07:00
Nikolay Martynov 6a950d4745 Collect JVM crashes in circleci artifacts
So we could investigate them later.
2019-02-04 14:35:59 -05:00
Tyler Benson 2971d1b0d3 Ensure the copyMetricConfigs task runs after processResources
Otherwise there seems to be a race condition which results in the metric config files being overwritten.
2019-01-28 13:43:07 -08:00
Nikolay Martynov c46763e0cb Enable IBM JVM tests 2018-12-04 17:12:44 -05:00
Gary 51978d877f
remove version scan task from ci 2018-11-26 16:57:10 -05:00
Nikolay Martynov ed5692871d Properly limit heap size for gradle child processes 2018-11-23 09:44:50 -05:00
Andrew Kent 5efd80ea52 Skip buildscan for muzzle CI runs 2018-10-30 20:58:40 -07:00
Nikolay Martynov fa2303ad0a Increase heap size in build 2018-10-24 15:18:58 -04:00
Nikolay Martynov 32bb61824b Reduce java heap for muzzle builds 2018-10-24 14:38:14 -04:00
Nikolay Martynov 14e85941c0
Merge pull request #547 from DataDog/mar-kolya/weak-concurrent-map-thread-cleanup
Mar kolya/weak concurrent map thread cleanup
2018-10-23 18:12:24 -04:00
Nikolay Martynov 04ba472e56 Rewrite comment 2018-10-23 17:56:10 -04:00
Nikolay Martynov bfaffb8544 Merge remote-tracking branch 'origin/tyler/worker-count' into mar-kolya/weak-concurrent-map-thread-cleanup 2018-10-23 17:45:53 -04:00
Nikolay Martynov 2fd7858ac2 Tweak muzzle heap size 2018-10-23 16:30:51 -04:00
Nikolay Martynov 191cdef924 Split muzzle and scan versions into two different jobs 2018-10-23 16:03:39 -04:00
Tyler Benson c80d549e46 Attempt to increase worker count to improve build time.
The build scans are especially slow.
2018-10-23 18:03:09 +10:00
Tyler Benson 0b55212473 Remove PGP signing from publish task 2018-10-23 08:43:10 +10:00
Tyler Benson 78c6f881ed
Merge pull request #535 from DataDog/tyler/rabbit
Add instrumentation for RabbitMQ’s AMQP library
2018-10-19 23:26:50 +10:00
Nikolay Martynov d4d478466a Try reducing number of parallel processes on muzzle testing
To see if that helps with CI. Also limit heap size there.
2018-10-17 17:54:33 -04:00
Tyler Benson 8ffeb5bedf Add instrumentation for RabbitMQ’s AMQP library 2018-10-17 16:32:24 +10:00
Nikolay Martynov 1d5cc0bcaa Use custom container to perform builds 2018-10-03 15:12:41 -04:00
Nikolay Martynov f71192266c Rework the way multi-jvm tests work
To allow some JVMs runs only subset of tests
2018-10-02 13:20:19 -04:00
Tyler Benson 335af8c5f1 Use final java 11 release and fix test excludes 2018-10-02 11:34:16 -04:00
Tyler Benson cf9f2483f1 Run tests on Java 11 2018-10-02 11:34:16 -04:00
Tyler Benson 6b8eb60ca2 Upgrade Byte Buddy to 1.9.0 2018-10-01 13:31:03 -04:00
Tyler Benson 444cbecba5 Use CouchbaseMock instead of actual server
Seems way more reliable/consistent for test scenarios.
2018-09-05 14:46:22 +10:00
Tyler Benson 2761615436 Couchbase instrumentation 2018-09-05 14:46:22 +10:00
Tyler Benson 9d079c01d9 Speed up test by only uploading on failure
full reports can take several minutes to upload.
2018-08-30 12:27:36 +10:00
Tyler Benson 74510a3baf Can’t run `jacoco` without running `test`
So we only run `jacoco` on java 8.
2018-07-31 12:53:50 +10:00
Tyler Benson 6866690475 Don’t use cache across versions
Cache is growing too big and causing slower build times.

(include minor upgrades to trigger a cache miss.)
2018-07-26 12:47:26 +10:00
Tyler Benson a1a3482579 Try increasing instance size. 2018-07-25 11:49:26 +10:00
Nikolay Martynov 989091847a Try to reduce gradle heap size in a hope to fix the build 2018-07-24 11:41:48 -04:00
Nikolay Martynov e46fc30cf6 Remove confusing variable JAVA8_HOME from config.yml 2018-07-23 10:04:53 -04:00
Tyler Benson 12a2fce96d Upgrade java formatter version. 2018-07-19 14:10:53 +10:00
Andrew Kent 37a54b5776
Merge pull request #383 from DataDog/ark/muzzle-hookup
Enable Muzzle validation for Default Instrumentation Match phase
2018-07-14 12:48:07 -04:00
Tyler Benson da2c54e8e8 Add test build for Java 10.
We still require `--add-opens java.base/jdk.internal.loader=ALL-UNNAMED` to be set.  Something we should look into fixing somehow.
2018-07-12 13:20:39 -04:00
Andrew Kent 628f4929dc Muzzle Assertions and gradle plugin 2018-07-10 17:26:49 -04:00
Nikolay Martynov 8445409944 Reduce number of gradle workers during compile
This should prevent OOM errors
2018-06-22 11:41:02 -04:00
Nikolay Martynov 677203961d Enable code coverage check for java7 and java9 2018-06-21 11:47:19 -04:00
Nikolay Martynov f56ae1e4df CircleCI: cosmetic: order targets in order of dependency 2018-06-20 17:00:40 -04:00
Nikolay Martynov 38d6d94477 Enable coverage checks in CI for java8 2018-06-19 15:04:26 -04:00
Nikolay Martynov b20e2e5482 Use correct key to set docker environment 2018-06-19 15:04:26 -04:00
Nikolay Martynov 63c4cdff87 Memcached testing: add support for testoingcontainers 2018-06-13 13:06:23 -04:00
Tyler Benson 7c4d42ef8a Add additional test task for testing latest versions of a dependency 2018-05-04 14:04:30 +10:00
Tyler Benson dee08266ae Restructure how libs, reports, and test results are collected 2018-04-18 13:45:20 +08:00
Tyler Benson c2cb7292c6 Remove okhttp instrumentation from servlet tests
seems to cause some confusion.
2018-04-18 11:58:07 +08:00
Tyler Benson 001e59e0cc Build with Java 8, but run tests with other JDKs
Use workspaces to persist build between jobs.
2018-04-16 14:36:38 +08:00
Andrew Kent c26907045d Disable parallel gradle execution for builds 2018-04-09 13:23:45 -07:00
Tyler Benson d9d601ce71 Add Gradle build scan plugin 2018-04-04 22:15:10 +08:00
Tyler Benson 5a61124cae Add tests against an actual trace agent. 2018-03-28 22:31:15 +08:00
Andrew Kent ce4dc58d7b Fix java9 test setup 2018-03-15 16:42:00 -07:00
Tyler Benson 7e700eaf1f
Revert "CI: publish branches prefixed with 'patch_release'" 2018-03-05 12:52:37 +10:00
Andrew Kent 5e8f7ad862 CI: publish branches prefixed with 'patch_release' 2018-03-02 14:34:15 -05:00
Tyler Benson 3be3d11097 Try releasing from tags (#241) 2018-03-02 13:05:21 -05:00
Tyler Benson ce9e5dd3de Reenable java 7 and 9 CI
Also try to make it so builds can be rerun independently by not using the workspace.
2018-01-23 15:54:05 -05:00
Tyler Benson be49819498 Remove Java 7 CI build until flakiness is resolved. 2018-01-23 14:29:30 -05:00
Tyler Benson 64d39030e5 Use workflows in Circle to test Java 7 and 8
Java 9 is commented out because there are some test failures that will be investigated later.

Some tests had to be excluded from Java 7 because they don’t have a Java 7 compatible version.
2018-01-22 13:46:50 -05:00
Tyler Benson 94488ed227 Fix directory names in save_artifacts.sh post refactor. 2018-01-11 10:17:30 -05:00
Tyler Benson becf2a5862 Lots of renaming
Module:
dd-trace -> dd-trace-ot

Packages:
Standardize on `datadog.trace` and `datadog.opentracing` as the package prefixes.
2018-01-09 10:02:06 +10:00
Andrew Kent bf09923832 Put all tests, artifacts, and reports in root build folder
Use a script to move all important ci artifacts to a common root
folder to easily save important project builds/reports.
2017-12-20 15:28:49 -08:00
Tyler Benson fdf3ad28e5 Try using larger instances. 2017-12-19 17:26:02 -08:00
Andrew Kent bea17a436a Separate CI building and testing steps, and increase max memory.
Gradle was using too much memory when testing and building in the same
step, causing CI to kill the process forcefully. Separating them out
resolves the problem.
2017-11-28 16:18:02 -08:00
Tyler Benson 85852af582 Constrain resources to prevent being OOM killed.
# Conflicts:
#	.circleci/config.yml
2017-10-30 13:15:30 -07:00
Tyler Benson 56fa0ac0fb Show stacktraces on error in CI. 2017-09-05 16:05:23 -07:00
Tyler Benson 73f9dc823b Split out verifyVersionScan to speed build time 2017-08-25 15:14:24 -07:00
Tyler Benson 1b63a53167 Add version scan verification and test in CI 2017-08-24 17:15:22 -07:00
Tyler Benson effe6e8b04 Remove pom dependencies for shadow artifacts. 2017-08-02 12:48:48 -07:00
Tyler Benson c1e0e08161 Include build number in info 2017-08-01 11:53:35 -07:00
Tyler Benson 02d8f153a6 Fix jar uploading to use shadow jar instead of default
Rename default jar to be explicit that no dependencies are embedded.
2017-07-20 09:58:22 -07:00
Tyler Benson 5167cd6916 Fix signing on master
Also fix more docs with beta note and version.
2017-07-19 08:01:40 -07:00
Tyler Benson 5622734629 Attempt signing for CI 2017-07-18 08:39:10 -07:00
Tyler Benson 980305fb5b Upload to artifactory on merge to master 2017-07-11 17:12:27 -07:00
Tyler Benson 8d9bdef4b7 Rename build.gradle scripts to match project name.
This will help in finding build scripts inside the IDE.
2017-07-10 16:12:15 -07:00
Tyler Benson 95c7a5ac08 Finish updating gradle and remove maven pom's. 2017-07-06 15:56:32 -07:00