-
Notifications
You must be signed in to change notification settings - Fork 160
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
[Bug]: Version 1.3.0 test failure #2831
Comments
Thanks for reporting us these test results. In particular the segfaults are interesting (though I fail to reproduce it). |
Without
|
It will cause some tests to fail, because of the log output is tested, but could you please run it once with |
No EDIT: I'm blind, I found |
Does your generated (generated during What I'm doing is (setting your LDFLAGS or CFLAGS does not make a difference):
This should hopefully be the exact same php binary than the one you are building against? Then:
I see the datadog-ipc-helper process properly running. |
But
P.S. looks like a conflict with swoole extension, when removed, it's ok (but is never present during build in a clean chroot, with minimal extension set) |
No. |
Can reproduce using (using ddtrace from package)
Notice: package extension is stripped
|
OK, this is related to build flags (optimization and security) Adding, before configure/make, allow to reproduce the failures
And this is not LTO related (I have tried without) |
I need to play a bit more
But this ext takes so much time to build.... will try if I can find some spare time. |
Thanks Remi, I can actually reproduce it this time! Let me try looking into it, whether I can figure anything obvious. |
Looks like php_base64_encode is stored as ifunc, which the symbol resolver didn't like. Thanks again for helping me actually reproduce the issues! If you want to test yourself, a pecl package based on top of the current branch: https://output.circle-artifacts.com/output/job/c649228b-31a1-46e0-ba47-53e7c56953bf/artifacts/0/pecl/datadog_trace-1.4.0.tgz At least for me, with your reproducer, this is now a fully passing test suite. |
Great, this seems far better Will all standard build options, 1 single erratic failure failure (sometime PASS sometime FAIL)
|
Also erratic failure with (PHP 8.2 on Fedora 39)
|
I have tested with 7.4 to 8.3, test suite passes most of the time. Do you have any ETA for a release with these fixes ? (as I think my RPMs are probably broken) |
Regarding the first test failure, that regex is supposed to catch a possibly empty line. Not sure what would help here. Can you dump me your The second erratic failure I've never seen and no idea why it would fail. Having a backtrace whenever I'll come back to you with an ETA for the fixes. (Maybe I can do a quick 1.3.1.) |
This will be great |
|
BTW, I only see it once among lot of runs, probably safe to ignore, will tell you if it comes back P.S. sometimes running various builds for different PHP versions simultaneously raise failures, perhaps I launch a new one too fast become another fails. |
Interesting, the trailing \n in |
I confirm, fixed using
P.S run ~100 times without failure (else fails 50%) |
We'll be releasing 1.3.1 soon. |
@remicollet 1.3.1 has been released - thanks Remi. |
Sadly lot of failure again, probably some fix missing from 1.4.0... :( Will check next week. |
@remicollet Yes, I messed up. Sorry, I'll have to retag that. |
@remicollet I now uploaded the correct 1.3.1. Sorry about that :-( |
Looks good, thanks! P.S. failure on |
Bug report
I'm used to NOT run test suite anymore during package build (too much time and issues)
BTW I run test suite to check current situation
Full build log attached (--show-diff used, using RHEL 9.4)
build-php74.txt
build-php80.txt
build-php81.txt
build-php82.txt
build-php83.txt
PHP version
7.4.33 to 8.3.11
Tracer or profiler version
1.3.0
The text was updated successfully, but these errors were encountered: