Skip to content

[MrBot] Bound and publish test hang diagnostics - #482

Merged
Matt Durak (mattdurak) merged 1 commit into
masterfrom
mrbot/triage-40033625
Oct 29, 2026
Merged

Matt Durak (mattdurak) merged 1 commit into
masterfrom
mrbot/triage-40033625

Conversation

@aiagentpool-mrbot

Copy link
Copy Markdown
Contributor

Summary

Bounds awdump and procdump execution and publishes available hang diagnostics after failed or canceled watchdog-wrapped test runs.

Fixes Azure DevOps Task #40033625.

Root cause and fix

The wrapper could remain blocked while a dump tool ran indefinitely, and artifact publication depended on a variable emitted only after the wrapped process returned. The watchdog now stops timed-out dump tools by recorded PID, records timeout/start failures, and the shared template discovers and publishes diagnostics from an always() path.

Verification

  • PowerShell AST and YAML parsing passed.
  • A deliberately hung dump tool was stopped and logged after the configured two-second timeout.
  • Wrapper parameter plumbing and normal startup/shutdown passed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aiagentpool-mrbot

Copy link
Copy Markdown
Contributor Author

/azp run Azure-C-Build-Tools-Gate

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 482 in repo Azure/c-build-tools

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@mattdurak
Matt Durak (mattdurak) marked this pull request as ready for review October 29, 2026 19:56
@mattdurak
Matt Durak (mattdurak) enabled auto-merge (squash) October 29, 2026 19:57
@mattdurak

Copy link
Copy Markdown
Collaborator

/azp run Azure-C-Build-Tools-Gate

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@parth21999

Copy link
Copy Markdown
Member

Did we see a dump being produced by the new script+yml? Would be nice to link a pipeline run link as proof-of-work.

@mattdurak
Matt Durak (mattdurak) merged commit 87e1302 into master Oct 29, 2026
14 checks passed
@mattdurak
Matt Durak (mattdurak) deleted the mrbot/triage-40033625 branch October 29, 2026 20:20
anporumb added a commit to Azure/macro-utils-c that referenced this pull request Nov 2, 2026
…... (#426)

Dependency updates:

c-build-tools:
- 87e1302 [MrBot] Bound and publish test hang diagnostics (Azure/c-build-tools#482)

Co-authored-by: Azure-MessagingStore Deps Bot <azure-messagingstore-deps-bot@noreply.microsoft.com>
anporumb added a commit to Azure/c-logging that referenced this pull request Nov 2, 2026
…... (#404)

Dependency updates:

c-build-tools:
- 87e1302 [MrBot] Bound and publish test hang diagnostics (Azure/c-build-tools#482)

Co-authored-by: Azure-MessagingStore Deps Bot <azure-messagingstore-deps-bot@noreply.microsoft.com>
anporumb added a commit to Azure/ctest that referenced this pull request Nov 2, 2026
…... (#387)

Dependency updates:

c-build-tools:
- 87e1302 [MrBot] Bound and publish test hang diagnostics (Azure/c-build-tools#482)

Co-authored-by: Azure-MessagingStore Deps Bot <azure-messagingstore-deps-bot@noreply.microsoft.com>
anporumb added a commit to Azure/c-testrunnerswitcher that referenced this pull request Nov 2, 2026
…... (#388)

Dependency updates:

c-build-tools:
- 87e1302 [MrBot] Bound and publish test hang diagnostics (Azure/c-build-tools#482)

Co-authored-by: Azure-MessagingStore Deps Bot <azure-messagingstore-deps-bot@noreply.microsoft.com>
anporumb added a commit to Azure/umock-c that referenced this pull request Nov 2, 2026
…... (#541)

Dependency updates:

c-build-tools:
- 87e1302 [MrBot] Bound and publish test hang diagnostics (Azure/c-build-tools#482)

Co-authored-by: Azure-MessagingStore Deps Bot <azure-messagingstore-deps-bot@noreply.microsoft.com>
anporumb added a commit to Azure/c-pal that referenced this pull request Nov 3, 2026
…... (#668)

Dependency updates:

c-build-tools:
- 87e1302 [MrBot] Bound and publish test hang diagnostics (Azure/c-build-tools#482)

Co-authored-by: Azure-MessagingStore Deps Bot <azure-messagingstore-deps-bot@noreply.microsoft.com>
anporumb added a commit to Azure/com-wrapper that referenced this pull request Nov 3, 2026
…... (#323)

Dependency updates:

c-build-tools:
- 87e1302 [MrBot] Bound and publish test hang diagnostics (Azure/c-build-tools#482)

Co-authored-by: Azure-MessagingStore Deps Bot <azure-messagingstore-deps-bot@noreply.microsoft.com>
anporumb added a commit to Azure/c-util that referenced this pull request Nov 3, 2026
…... (#699)

Dependency updates:

c-build-tools:
- 87e1302 [MrBot] Bound and publish test hang diagnostics (Azure/c-build-tools#482)

Co-authored-by: Azure-MessagingStore Deps Bot <azure-messagingstore-deps-bot@noreply.microsoft.com>
anporumb added a commit to Azure/sf-c-util that referenced this pull request Nov 3, 2026
…... (#408)

Dependency updates:

c-build-tools:
- 87e1302 [MrBot] Bound and publish test hang diagnostics (Azure/c-build-tools#482)

Co-authored-by: Azure-MessagingStore Deps Bot <azure-messagingstore-deps-bot@noreply.microsoft.com>
anporumb added a commit to Azure/clds that referenced this pull request Nov 3, 2026
…... (#495)

Dependency updates:

c-build-tools:
- 87e1302 [MrBot] Bound and publish test hang diagnostics (Azure/c-build-tools#482)

Co-authored-by: Azure-MessagingStore Deps Bot <azure-messagingstore-deps-bot@noreply.microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants