Commit 856068a
authored
fix(ci): skip valgrind-sensitive background-sender tests and increase live-debugger timeout (#3754)
* fix(ci): skip valgrind-sensitive background-sender tests and increase live-debugger timeout
- Add valgrind skip guard to agent_sampling.phpt and agent_sampling-standalone-asm_{01,02,03}.phpt:
these tests use synchronous_flush (100ms timeout) + network I/O which time out under valgrind's
10-50x slowdown. Matches the guard already present in agent_sampling_sidecar.phpt.
- Increase debugger_span_probe_class.phpt collection window from 10s to 30s:
the sidecar's async INSTALLED diagnostic for immediately-resolved class probes can arrive
late under resource-constrained CI pods (1 CPU / 512Mi service limit).
* fix(ci): tolerate missing INSTALLED diagnostic for already-defined class probe
Bar's INSTALLED diagnostic is sent asynchronously via sidecar and may
not arrive within the collection window under resource-constrained CI
environments. Since await_probe_installation() already confirms the hook
is installed before any function is called, EMITTING is sufficient proof
that the probe works. Reduce threshold to 4 events (Delayed's full
RECEIVED/INSTALLED/EMITTING lifecycle + Bar's EMITTING) and switch to
--EXPECTREGEX-- to make Bar's INSTALLED optional.
* ci: trigger pipeline run 1/9
* ci: trigger pipeline run 2/9
* ci: trigger pipeline run 3/9
* ci: trigger pipeline run 4/9
* ci: trigger pipeline run 5/9
* ci: trigger pipeline run 6/9
* ci: trigger pipeline run 7/9
* ci: trigger pipeline run 8/9
* ci: trigger pipeline run 9/9
* ci: trigger pipeline batch-2 run 1/8
* ci: trigger pipeline batch-2 run 2/8
* ci: trigger pipeline batch-2 run 3/8
* ci: trigger pipeline batch-2 run 4/8
* ci: trigger pipeline batch-2 run 5/8
* ci: trigger pipeline batch-2 run 6/8
* ci: trigger pipeline batch-2 run 7/8
* ci: trigger pipeline batch-2 run 8/8
* fix(ci): strip late-arriving INSTALLED diagnostic from probe 1 output
--EXPECTREGEX-- forward slashes in the URL broke the PCRE delimiter.
Switch back to --EXPECTF-- and normalize probe 1's state list in PHP:
strip INSTALLED (which the sidecar delivers async and may miss the
collection window) so the output is deterministic. The hook being
installed is already confirmed by await_probe_installation().
* ci: trigger pipeline run 1/9
* ci: trigger pipeline run 2/9
* ci: trigger pipeline run 3/9
* ci: trigger pipeline run 4/9
* ci: trigger pipeline run 5/9
* ci: trigger pipeline run 6/9
* ci: trigger pipeline run 7/9
* ci: trigger pipeline run 8/9
* ci: trigger pipeline run 9/9
* style: shorten comment in debugger_span_probe_class.phpt
* ci(symfony): pin event-dispatcher to 7.3.* to avoid 7.4.0 bug
symfony/event-dispatcher v7.4.0 introduced a regression in
TraceableEventDispatcher that triggers "Undefined array key
WorkerRunningEvent" in dev mode. Symfony's error handler converts this
PHP warning to an exception, causing messenger:consume to exit with
code 1 and breaking testAsyncWithTracerDisabledOnConsume.
Pin to 7.3.* to match the other pinned Symfony 7.3.x components
(framework-bundle 7.3.4, console 7.3.4, messenger 7.3.3).1 parent 0b558b2 commit 856068a
6 files changed
Lines changed: 26 additions & 7 deletions
File tree
- tests
- Frameworks/Symfony/Latest
- ext
- background-sender
- live-debugger
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
89 | | - | |
| 95 | + | |
90 | 96 | | |
0 commit comments