Skip to content

The trace did not contain an AllocationSampled event #134556

Description

@MichalStrehovsky
The trace did not contain an AllocationSampled event from tracee PID 143427.
Trace file `/datadisks/disk1/work/B0580967/t/tmp6Mh6Fr.nettrace` does not contain expected events.
Tracee PID 143427 had 65 event(s) in the trace:
  Universal.System/ProcessMappingMetadata: 1
  Universal.System/ProcessMapping: 62
  Universal.System/ProcessCreate: 1
  Universal.System/ProcessExit: 1
Return code:      1

Raw output file:      /datadisks/disk1/work/B0580967/w/A6350923/uploads/userevents/basic/basic/output.txt

Raw output:

BEGIN EXECUTION

/datadisks/disk1/work/B0580967/p/nativeaottest.sh /datadisks/disk1/work/B0580967/w/A6350923/e/tracing/userevents/basic/basic/ basic.dll ''

Starting record-trace: sudo -n /datadisks/disk1/work/B0580967/w/A6350923/e/tracing/userevents/common/userevents_common/record-trace --script-file /datadisks/disk1/work/B0580967/w/A6350923/e/tracing/userevents/basic/basic/basic.script --out /datadisks/disk1/work/B0580967/t/tmp6Mh6Fr.nettrace --log-path /datadisks/disk1/work/B0580967/t/tmp6Mh6Fr.log --log-filter one_collect::helpers::dotnet=debug,one_collect::perf_event=debug,one_collect::perf_event::rb=info,one_collect::helpers::exporting::formats::nettrace=debug,one_collect::helpers::exporting::os=warn,ruwind=warn,one_collect::tracefs=warn,one_collect::scripting=warn,engine=warn

record-trace started with PID: 143413

Waiting for record-trace to signal 'Recording started'...

[record-trace][stdout] Recording started.  Press CTRL+C to stop.

Starting tracee process: /datadisks/disk1/work/B0580967/w/A6350923/e/tracing/userevents/basic/basic/native/basic tracee

Tracee process started with PID: 143427

Waiting for tracee process to exit...

[tracee][stdout] Tracee waiting for EventSource to be enabled via IPC...

Tracee process did not exit within the 5000ms timeout, killing it.

Tracee process exited with code 137.

Stopping record-trace with SIGINT.

Waiting for record-trace to exit...

[record-trace][stdout] Recording stopped.

[record-trace][stdout] Resolving symbols.

[record-trace][stdout] Finished recording trace.

[record-trace][stdout] Trace written to /datadisks/disk1/work/B0580967/t/tmp6Mh6Fr.nettrace

Ignored 5458 events from processes other than tracee (PID 143427).

Uploading artifact to Helix work item directory: /datadisks/disk1/work/B0580967/w/A6350923/uploads/basic.nettrace

Uploading artifact to Helix work item directory: /datadisks/disk1/work/B0580967/w/A6350923/uploads/basic.log

Expected: 100

Actual: 255

END EXECUTION - FAILED

Test Harness Exitcode is : 1

To run the test:

Set up CORE_ROOT and run.

> /datadisks/disk1/work/B0580967/w/A6350923/e/tracing/tracing/native/../../userevents/basic/basic/basic.sh

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1602147
Build error leg or test failing: tracing/userevents/basic/basic/basic.cmd
Pull request: #134173

Error Message

DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "The trace did not contain an AllocationSampled event",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1602147
Error message validated: [The trace did not contain an AllocationSampled event]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/23/2026 10:19:22 PM UTC

Report

Build Repository Test Pull Request
1602147 dotnet/runtime tracing/userevents/basic/basic/basic.cmd #134173

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Diagnosticsblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions