-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(profiling): with address sanitizer on bookworm with GH actions #2432
Conversation
BenchmarksBenchmark execution time: 2024-01-11 10:53:21 Comparing candidate commit a486091 in PR branch Found 0 performance improvements and 2 performance regressions! Performance is the same for 16 metrics, 3 unstable metrics. scenario:walk_stack/50
scenario:walk_stack/99
|
dockerfiles/ci/bookworm/.env
Outdated
BOOKWORM_CURRENT_VERSION=1 | ||
BOOKWORM_NEXT_VERSION=2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not understand the point of this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current buster builds are "unversioned." This can cause issues (like the one you mention below with nts-asan failing). This file is a way to version the build, although it's not plumbed all the way through everything like the CI and such. We do this in the libdatadog images and it's worked nicely there.
I'm not sure whether parts of this are already pushed, but https://app.circleci.com/pipelines/github/DataDog/dd-trace-php/13970/workflows/b0aaa43d-7966-4958-a4c2-416367afda4c/jobs/3410571 looks somewhat related I suppose? |
The push was from a different but related PR where I tried to do this on buster images. I have re-pushed images from that were built from master. |
I've added lsof and rebuilt the relevant images. Once this is reviewed, I'll actually add back all the buster image sources which were deleted in this PR. Doing it in this way makes the diff much easier to review. |
8e672c0
to
21af287
Compare
PHP can have memory issues with modules which are loaded at runtime with the `dl` function, and the `run-tests.php` script does this. The zend_test extension in particular hits this edge, so exclude it.
The
See https://github.com/DataDog/dd-trace-php/actions/runs/7468310960/job/20347970685?pr=2432 It is still not working correctly, but this might be due to some race condition, as I started two actions at the same time (one through push and another through retry), so currently it looks like the cache key exists in a weird state. We should have a look after merging in a new PR where we just So feel free to merge 🎉 |
Description
This adds bookworm images which were heavily based on the buster image:
intl
and I think PHP 7.0 requires OpenSSL v1. Additionally, the shared extension versions have failures, something aboutldap_connect
having a mismatched signature, possibly: build fails with OpenLDAP 2.5.4 curl/curl#7004.The key reason this PR was made is to add a PHP 8.3 NTS ASAN build, and then runs the
profiling/tests/phpt
tests with it. This is why I didn't continue working on the bookworm images so that all versions work; I really just need ASAN right now, and it wasn't working on Buster due to libasan5 vs libasan6 differences.PROF-8286
Reviewer checklist