@@ -94,15 +94,12 @@ default:
94
94
- export NORMALIZED_NODE_TOTAL=${CI_NODE_TOTAL:-1}
95
95
- ONE_INDEXED_NODE_INDEX=${CI_NODE_INDEX:-1}; export NORMALIZED_NODE_INDEX=$((ONE_INDEXED_NODE_INDEX - 1))
96
96
- echo "NORMALIZED_NODE_TOTAL=${NORMALIZED_NODE_TOTAL}, NORMALIZED_NODE_INDEX=$NORMALIZED_NODE_INDEX"
97
- <<<<<<< HEAD
98
97
99
98
.cgroup_info : &cgroup_info
100
99
- source .gitlab/gitlab-utils.sh
101
100
- gitlab_section_start "cgroup-info" "cgroup info"
102
101
- .gitlab/cgroup-info.sh
103
102
- gitlab_section_end "cgroup-info"
104
- =======
105
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
106
103
107
104
.gradle_build : &gradle_build
108
105
image : ghcr.io/datadog/dd-trace-java-docker-build:${BUILDER_IMAGE_VERSION_PREFIX}base
@@ -149,11 +146,8 @@ default:
149
146
- mv .gradle-copy .gradle
150
147
- ls -la
151
148
- gitlab_section_end "gradle-dance"
152
- <<<<<<< HEAD
153
149
after_script :
154
150
- *cgroup_info
155
- =======
156
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
157
151
158
152
build :
159
153
extends : .gradle_build
@@ -230,7 +224,6 @@ populate_dep_cache:
230
224
# CACHE_TYPE: "latestdep"
231
225
# - GRADLE_TARGET: ":smokeTest"
232
226
# CACHE_TYPE: "smoke"
233
- <<<<<<< HEAD
234
227
235
228
publish-artifacts-to-s3 :
236
229
image : registry.ddbuild.io/images/mirror/amazon/aws-cli:2.4.29
@@ -263,8 +256,6 @@ publish-artifacts-to-s3:
263
256
annotations :
264
257
- links.json
265
258
266
- =======
267
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
268
259
269
260
spotless :
270
261
extends : .gradle_build
@@ -292,10 +283,7 @@ test_published_artifacts:
292
283
- export GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx1G -Xms1G -XX:ErrorFile=/tmp/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp'"
293
284
- ./gradlew check --info $GRADLE_ARGS
294
285
after_script :
295
- <<<<<<< HEAD
296
286
- *cgroup_info
297
- =======
298
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
299
287
- source .gitlab/gitlab-utils.sh
300
288
- gitlab_section_start "collect-reports" "Collecting reports"
301
289
- .circleci/collect_reports.sh
@@ -314,10 +302,7 @@ test_published_artifacts:
314
302
script :
315
303
- ./gradlew $GRADLE_TARGET -PskipTests -PrunBuildSrcTests -PskipSpotless -PtaskPartitionCount=$NORMALIZED_NODE_TOTAL -PtaskPartition=$NORMALIZED_NODE_INDEX $GRADLE_ARGS
316
304
after_script :
317
- <<<<<<< HEAD
318
305
- *cgroup_info
319
- =======
320
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
321
306
- source .gitlab/gitlab-utils.sh
322
307
- gitlab_section_start "collect-reports" "Collecting reports"
323
308
- .circleci/collect_reports.sh --destination ./check_reports --move
@@ -378,10 +363,7 @@ muzzle:
378
363
- split --number=l/$NORMALIZED_NODE_TOTAL --suffix-length=1 --numeric-suffixes sortedMuzzleTasks muzzleSplit
379
364
- ./gradlew `cat muzzleSplit${NORMALIZED_NODE_INDEX} | xargs` $GRADLE_ARGS
380
365
after_script :
381
- <<<<<<< HEAD
382
366
- *cgroup_info
383
- =======
384
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
385
367
- source .gitlab/gitlab-utils.sh
386
368
- gitlab_section_start "collect-reports" "Collecting reports"
387
369
- .circleci/collect_reports.sh
@@ -427,22 +409,13 @@ muzzle-dep-report:
427
409
428
410
.test_job :
429
411
extends : .gradle_build
430
- <<<<<<< HEAD
431
412
image : ghcr.io/datadog/dd-trace-java-docker-build:${BUILDER_IMAGE_VERSION_PREFIX}$testJvm
432
- =======
433
- image : ghcr.io/datadog/dd-trace-java-docker-build:$testJvm
434
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
435
413
tags : [ "docker-in-docker:amd64" ] # use docker-in-docker runner for testcontainers
436
414
needs : [ build_tests ]
437
415
stage : tests
438
416
variables :
439
- <<<<<<< HEAD
440
417
KUBERNETES_MEMORY_REQUEST : 17Gi
441
418
KUBERNETES_MEMORY_LIMIT : 17Gi
442
- =======
443
- KUBERNETES_MEMORY_REQUEST : 16Gi
444
- KUBERNETES_MEMORY_LIMIT : 16Gi
445
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
446
419
KUBERNETES_CPU_REQUEST : 10
447
420
GRADLE_WORKERS : 4
448
421
GRADLE_MEM : 3G
@@ -466,33 +439,21 @@ muzzle-dep-report:
466
439
export PROFILER_COMMAND="-XX:StartFlightRecording=settings=profile,filename=/tmp/${CI_JOB_NAME_SLUG}.jfr,dumponexit=true";
467
440
fi
468
441
- *prepare_test_env
469
- <<<<<<< HEAD
470
442
- export GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xms$GRADLE_MEM -Xmx$GRADLE_MEM $PROFILER_COMMAND -XX:ErrorFile=/tmp/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp' -Ddatadog.forkedMaxHeapSize=1024M -Ddatadog.forkedMinHeapSize=128M"
471
- =======
472
- - export GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xms$GRADLE_MEM -Xmx$GRADLE_MEM $PROFILER_COMMAND -XX:ErrorFile=/tmp/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp' -Ddatadog.forkedMaxHeapSize=768M -Ddatadog.forkedMinHeapSize=128M"
473
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
474
443
- ./gradlew $GRADLE_TARGET $GRADLE_PARAMS -PtestJvm=$testJvm -PtaskPartitionCount=$NORMALIZED_NODE_TOTAL -PtaskPartition=$NORMALIZED_NODE_INDEX $GRADLE_ARGS --continue || $CONTINUE_ON_FAILURE
475
444
after_script :
476
445
- *restore_pretest_env
477
446
- *set_datadog_api_keys
478
- <<<<<<< HEAD
479
447
- *cgroup_info
480
- =======
481
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
482
448
- source .gitlab/gitlab-utils.sh
483
449
- gitlab_section_start "collect-reports" "Collecting reports"
484
450
- .circleci/collect_reports.sh
485
451
- if [ "$PROFILE_TESTS" == "true" ]; then .circleci/collect_profiles.sh; fi
486
452
- .circleci/collect_results.sh
487
- <<<<<<< HEAD
488
453
- .circleci/upload_ciapp.sh $CACHE_TYPE $testJvm
489
454
- gitlab_section_end "collect-reports"
490
455
- URL_ENCODED_JOB_NAME=$(jq -rn --arg x "$CI_JOB_NAME" '$x|@uri')
491
456
- echo -e "${TEXT_BOLD}${TEXT_YELLOW}See test results in Datadog:${TEXT_CLEAR} https://app.datadoghq.com/ci/test/runs?query=test_level%3Atest%20%40test.service%3Add-trace-java%20%40ci.pipeline.id%3A${CI_PIPELINE_ID}%20%40ci.job.name%3A%22${URL_ENCODED_JOB_NAME}%22"
492
- =======
493
- - .circleci/upload_ciapp.sh tests $testJvm
494
- - gitlab_section_end "collect-reports"
495
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
496
457
artifacts :
497
458
when : always
498
459
paths :
@@ -636,11 +597,7 @@ test_smoke:
636
597
GRADLE_PARAMS : " -PskipFlakyTests"
637
598
CACHE_TYPE : " smoke"
638
599
parallel :
639
- <<<<<<< HEAD
640
600
matrix : *test_matrix_4
641
- =======
642
- matrix : *test_matrix_2
643
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
644
601
645
602
test_ssi_smoke :
646
603
extends : .test_job
@@ -651,11 +608,7 @@ test_ssi_smoke:
651
608
DD_INJECT_FORCE : " true"
652
609
DD_INJECTION_ENABLED : " tracer"
653
610
parallel :
654
- <<<<<<< HEAD
655
611
matrix : *test_matrix_4
656
- =======
657
- matrix : *test_matrix_2
658
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
659
612
660
613
test_smoke_graalvm :
661
614
extends : .test_job
@@ -677,31 +630,6 @@ test_smoke_semeru8_debugger:
677
630
CACHE_TYPE : " smoke"
678
631
NON_DEFAULT_JVMS : " true"
679
632
testJvm : " semeru8"
680
- <<<<<<< HEAD
681
- =======
682
-
683
- required :
684
- extends : .fan_in
685
- needs :
686
- - job : spotless
687
- optional : true
688
- - job : muzzle
689
- optional : true
690
- - job : test_published_artifacts
691
- optional : true
692
- - job : agent_integration_tests
693
- optional : true
694
- - job : check_base
695
- optional : true
696
- - job : check_inst
697
- optional : true
698
- - job : check_smoke
699
- optional : true
700
- - job : check_profiling
701
- optional : true
702
- - job : check_debugger
703
- optional : true
704
- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
705
633
706
634
deploy_to_profiling_backend :
707
635
stage : publish
0 commit comments