File tree Expand file tree Collapse file tree
dockerfiles/ci/xfail_tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171 image: registry.ddbuild.io/images/mirror/datadog/dd-trace-ci:php-${PHP_MAJOR_MINOR}_bookworm-6
7272 variables:
7373 KUBERNETES_CPU_REQUEST: 3
74- KUBERNETES_MEMORY_REQUEST: 3Gi
74+ KUBERNETES_MEMORY_REQUEST: 4Gi
7575 KUBERNETES_MEMORY_LIMIT: 4Gi
7676 parallel:
7777 matrix:
Original file line number Diff line number Diff line change 13971397 VERSION="$(<VERSION)"
13981398 [[ -z "${VERSION}" ]] && echo "VERSION file is empty or not present" && exit 1
13991399 cd packages/ && aws s3 cp --recursive . "s3://dd-trace-php-builds/${VERSION}/"
1400- aws s3 cp datadog-setup.php "s3://dd-trace-php-builds/latest/"
1400+ if [ "${CI_COMMIT_REF_NAME}" = "${CI_DEFAULT_BRANCH}" ]; then
1401+ aws s3 cp datadog-setup.php "s3://dd-trace-php-builds/latest/"
1402+ else
1403+ echo "Skipping latest upload for non-default branch: ${CI_COMMIT_REF_NAME} (default: ${CI_DEFAULT_BRANCH})"
1404+ fi
14011405 echo "https://s3.us-east-1.amazonaws.com/dd-trace-php-builds/$(echo $VERSION | sed 's/+/%2B/')/datadog-setup.php"
14021406 artifacts:
14031407 paths:
Original file line number Diff line number Diff line change 1717 stage: test
1818 tags: [ "arch:${ARCH}" ]
1919 image: registry.ddbuild.io/images/mirror/datadog/dd-trace-ci:${IMAGE_PREFIX}${PHP_MAJOR_MINOR}${IMAGE_SUFFIX}
20+ # Setting the *_REQUEST and *_LIMIT variables to be the same, and setting
21+ # them for both the build and helper allows using Guaranteed QoS instead of
22+ # Burstable. This means nproc and similar tools will work as expected.
2023 variables:
21- KUBERNETES_CPU_REQUEST: 5
22- KUBERNETES_MEMORY_REQUEST: 3Gi
23- KUBERNETES_MEMORY_LIMIT: 4Gi
24+ KUBERNETES_CPU_REQUEST: 3
25+ KUBERNETES_CPU_LIMIT: 3
26+ KUBERNETES_MEMORY_REQUEST: 6Gi
27+ KUBERNETES_MEMORY_LIMIT: 6Gi
28+ KUBERNETES_HELPER_CPU_REQUEST: 1
29+ KUBERNETES_HELPER_CPU_LIMIT: 1
30+ KUBERNETES_HELPER_MEMORY_REQUEST: 2Gi
31+ KUBERNETES_HELPER_MEMORY_LIMIT: 2Gi
2432 CARGO_TARGET_DIR: /mnt/ramdisk/cargo # ramdisk??
2533 libdir: /tmp/datadog-profiling
2634 parallel:
3846 - if [ -f /sbin/apk ] && [ $(uname -m) = "aarch64" ]; then ln -sf ../lib/llvm17/bin/clang /usr/bin/clang; fi
3947
4048 - cd profiling
49+ - 'echo "nproc: $(nproc)"'
50+ - 'echo "KUBERNETES_CPU_REQUEST: ${KUBERNETES_CPU_REQUEST:-<unset>}"'
4151 - export TEST_PHP_EXECUTABLE=$(which php)
4252 - run_tests_php=$(find $(php-config --prefix) -name run-tests.php) # don't anticipate there being more than one
4353 - cp -v "${run_tests_php}" tests
Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ generate_cbindgen: cbindgen_binary # Regenerate components-rs/ddtrace.h componen
451451
452452cbindgen_binary :
453453 if ! command -v cbindgen & > /dev/null; then \
454- cargo install cbindgen; \
454+ cargo install cbindgen --version 0.29.0 --locked ; \
455455 fi
456456
457457EXT_DIR: =/opt/datadog-php
Original file line number Diff line number Diff line change @@ -347,6 +347,7 @@ ext/standard/tests/general_functions/bug35229.phpt
347347ext/standard/tests/general_functions/bug73973.phpt
348348ext/standard/tests/general_functions/get_included_files.phpt
349349ext/standard/tests/general_functions/gettype_settype_basic.phpt
350+ ext/standard/tests/general_functions/phpinfo.phpt
350351ext/standard/tests/general_functions/print_r_64bit.phpt
351352ext/standard/tests/general_functions/strval.phpt
352353ext/standard/tests/general_functions/type.phpt
Original file line number Diff line number Diff line change @@ -375,6 +375,7 @@ ext/standard/tests/general_functions/bug35229.phpt
375375ext/standard/tests/general_functions/bug73973.phpt
376376ext/standard/tests/general_functions/get_included_files.phpt
377377ext/standard/tests/general_functions/gettype_settype_basic.phpt
378+ ext/standard/tests/general_functions/phpinfo.phpt
378379ext/standard/tests/general_functions/print_r_64bit.phpt
379380ext/standard/tests/general_functions/strval.phpt
380381ext/standard/tests/general_functions/type.phpt
Original file line number Diff line number Diff line change @@ -331,6 +331,7 @@ ext/standard/tests/file/lstat_stat_variation10.phpt
331331ext/standard/tests/general_functions/bug73973.phpt
332332ext/standard/tests/general_functions/get_included_files.phpt
333333ext/standard/tests/general_functions/gettype_settype_basic.phpt
334+ ext/standard/tests/general_functions/phpinfo.phpt
334335ext/standard/tests/general_functions/print_r_64bit.phpt
335336ext/standard/tests/general_functions/strval.phpt
336337ext/standard/tests/general_functions/type.phpt
Original file line number Diff line number Diff line change @@ -345,6 +345,7 @@ ext/standard/tests/file/lstat_stat_variation10.phpt
345345ext/standard/tests/general_functions/bug73973.phpt
346346ext/standard/tests/general_functions/get_included_files.phpt
347347ext/standard/tests/general_functions/gettype_settype_basic.phpt
348+ ext/standard/tests/general_functions/phpinfo.phpt
348349ext/standard/tests/general_functions/print_r_64bit.phpt
349350ext/standard/tests/general_functions/strval.phpt
350351ext/standard/tests/general_functions/type.phpt
Original file line number Diff line number Diff line change @@ -406,6 +406,7 @@ ext/standard/tests/file/lstat_stat_variation15.phpt
406406ext/standard/tests/general_functions/bug73973.phpt
407407ext/standard/tests/general_functions/get_included_files.phpt
408408ext/standard/tests/general_functions/gettype_settype_basic.phpt
409+ ext/standard/tests/general_functions/phpinfo.phpt
409410ext/standard/tests/general_functions/print_r_64bit.phpt
410411ext/standard/tests/general_functions/proc_open_null.phpt
411412ext/standard/tests/general_functions/proc_open_redirect.phpt
Original file line number Diff line number Diff line change @@ -470,6 +470,7 @@ ext/standard/tests/general_functions/floatval.phpt
470470ext/standard/tests/general_functions/floatval_variation1.phpt
471471ext/standard/tests/general_functions/get_included_files.phpt
472472ext/standard/tests/general_functions/gettype_settype_basic.phpt
473+ ext/standard/tests/general_functions/phpinfo.phpt
473474ext/standard/tests/general_functions/print_r.phpt
474475ext/standard/tests/general_functions/print_r_64bit.phpt
475476ext/standard/tests/general_functions/proc_open_null.phpt
You can’t perform that action at this time.
0 commit comments