@@ -94,15 +94,12 @@ default:
9494 - export NORMALIZED_NODE_TOTAL=${CI_NODE_TOTAL:-1}
9595 - ONE_INDEXED_NODE_INDEX=${CI_NODE_INDEX:-1}; export NORMALIZED_NODE_INDEX=$((ONE_INDEXED_NODE_INDEX - 1))
9696 - echo "NORMALIZED_NODE_TOTAL=${NORMALIZED_NODE_TOTAL}, NORMALIZED_NODE_INDEX=$NORMALIZED_NODE_INDEX"
97- <<<<<<< HEAD
9897
9998.cgroup_info : &cgroup_info
10099 - source .gitlab/gitlab-utils.sh
101100 - gitlab_section_start "cgroup-info" "cgroup info"
102101 - .gitlab/cgroup-info.sh
103102 - gitlab_section_end "cgroup-info"
104- =======
105- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
106103
107104.gradle_build : &gradle_build
108105 image : ghcr.io/datadog/dd-trace-java-docker-build:${BUILDER_IMAGE_VERSION_PREFIX}base
@@ -149,11 +146,8 @@ default:
149146 - mv .gradle-copy .gradle
150147 - ls -la
151148 - gitlab_section_end "gradle-dance"
152- <<<<<<< HEAD
153149 after_script :
154150 - *cgroup_info
155- =======
156- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
157151
158152build :
159153 extends : .gradle_build
@@ -230,7 +224,6 @@ populate_dep_cache:
230224# CACHE_TYPE: "latestdep"
231225# - GRADLE_TARGET: ":smokeTest"
232226# CACHE_TYPE: "smoke"
233- <<<<<<< HEAD
234227
235228publish-artifacts-to-s3 :
236229 image : registry.ddbuild.io/images/mirror/amazon/aws-cli:2.4.29
@@ -263,8 +256,6 @@ publish-artifacts-to-s3:
263256 annotations :
264257 - links.json
265258
266- =======
267- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
268259
269260spotless :
270261 extends : .gradle_build
@@ -292,10 +283,7 @@ test_published_artifacts:
292283 - export GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx1G -Xms1G -XX:ErrorFile=/tmp/hs_err_pid%p.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp'"
293284 - ./gradlew check --info $GRADLE_ARGS
294285 after_script :
295- <<<<<<< HEAD
296286 - *cgroup_info
297- =======
298- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
299287 - source .gitlab/gitlab-utils.sh
300288 - gitlab_section_start "collect-reports" "Collecting reports"
301289 - .circleci/collect_reports.sh
@@ -314,10 +302,7 @@ test_published_artifacts:
314302 script :
315303 - ./gradlew $GRADLE_TARGET -PskipTests -PrunBuildSrcTests -PskipSpotless -PtaskPartitionCount=$NORMALIZED_NODE_TOTAL -PtaskPartition=$NORMALIZED_NODE_INDEX $GRADLE_ARGS
316304 after_script :
317- <<<<<<< HEAD
318305 - *cgroup_info
319- =======
320- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
321306 - source .gitlab/gitlab-utils.sh
322307 - gitlab_section_start "collect-reports" "Collecting reports"
323308 - .circleci/collect_reports.sh --destination ./check_reports --move
@@ -378,10 +363,7 @@ muzzle:
378363 - split --number=l/$NORMALIZED_NODE_TOTAL --suffix-length=1 --numeric-suffixes sortedMuzzleTasks muzzleSplit
379364 - ./gradlew `cat muzzleSplit${NORMALIZED_NODE_INDEX} | xargs` $GRADLE_ARGS
380365 after_script :
381- <<<<<<< HEAD
382366 - *cgroup_info
383- =======
384- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
385367 - source .gitlab/gitlab-utils.sh
386368 - gitlab_section_start "collect-reports" "Collecting reports"
387369 - .circleci/collect_reports.sh
@@ -427,22 +409,13 @@ muzzle-dep-report:
427409
428410.test_job :
429411 extends : .gradle_build
430- <<<<<<< HEAD
431412 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))
435413 tags : [ "docker-in-docker:amd64" ] # use docker-in-docker runner for testcontainers
436414 needs : [ build_tests ]
437415 stage : tests
438416 variables :
439- <<<<<<< HEAD
440417 KUBERNETES_MEMORY_REQUEST : 17Gi
441418 KUBERNETES_MEMORY_LIMIT : 17Gi
442- =======
443- KUBERNETES_MEMORY_REQUEST : 16Gi
444- KUBERNETES_MEMORY_LIMIT : 16Gi
445- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
446419 KUBERNETES_CPU_REQUEST : 10
447420 GRADLE_WORKERS : 4
448421 GRADLE_MEM : 3G
@@ -466,33 +439,21 @@ muzzle-dep-report:
466439 export PROFILER_COMMAND="-XX:StartFlightRecording=settings=profile,filename=/tmp/${CI_JOB_NAME_SLUG}.jfr,dumponexit=true";
467440 fi
468441 - *prepare_test_env
469- <<<<<<< HEAD
470442 - 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))
474443 - ./gradlew $GRADLE_TARGET $GRADLE_PARAMS -PtestJvm=$testJvm -PtaskPartitionCount=$NORMALIZED_NODE_TOTAL -PtaskPartition=$NORMALIZED_NODE_INDEX $GRADLE_ARGS --continue || $CONTINUE_ON_FAILURE
475444 after_script :
476445 - *restore_pretest_env
477446 - *set_datadog_api_keys
478- <<<<<<< HEAD
479447 - *cgroup_info
480- =======
481- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
482448 - source .gitlab/gitlab-utils.sh
483449 - gitlab_section_start "collect-reports" "Collecting reports"
484450 - .circleci/collect_reports.sh
485451 - if [ "$PROFILE_TESTS" == "true" ]; then .circleci/collect_profiles.sh; fi
486452 - .circleci/collect_results.sh
487- <<<<<<< HEAD
488453 - .circleci/upload_ciapp.sh $CACHE_TYPE $testJvm
489454 - gitlab_section_end "collect-reports"
490455 - URL_ENCODED_JOB_NAME=$(jq -rn --arg x "$CI_JOB_NAME" '$x|@uri')
491456 - 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))
496457 artifacts :
497458 when : always
498459 paths :
@@ -636,11 +597,7 @@ test_smoke:
636597 GRADLE_PARAMS : " -PskipFlakyTests"
637598 CACHE_TYPE : " smoke"
638599 parallel :
639- <<<<<<< HEAD
640600 matrix : *test_matrix_4
641- =======
642- matrix : *test_matrix_2
643- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
644601
645602test_ssi_smoke :
646603 extends : .test_job
@@ -651,11 +608,7 @@ test_ssi_smoke:
651608 DD_INJECT_FORCE : " true"
652609 DD_INJECTION_ENABLED : " tracer"
653610 parallel :
654- <<<<<<< HEAD
655611 matrix : *test_matrix_4
656- =======
657- matrix : *test_matrix_2
658- >>>>>>> f494c33b01 (Run tests in Gitlab (#8656))
659612
660613test_smoke_graalvm :
661614 extends : .test_job
@@ -677,31 +630,6 @@ test_smoke_semeru8_debugger:
677630 CACHE_TYPE : " smoke"
678631 NON_DEFAULT_JVMS : " true"
679632 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))
705633
706634deploy_to_profiling_backend :
707635 stage : publish
0 commit comments