Skip to content

Comments

Fix UT in internal build pipeline#314

Merged
ZhidongPeng merged 2 commits intoAzure:devfrom
ZhidongPeng:etw
Feb 5, 2026
Merged

Fix UT in internal build pipeline#314
ZhidongPeng merged 2 commits intoAzure:devfrom
ZhidongPeng:etw

Conversation

@ZhidongPeng
Copy link
Collaborator

After enable the cargo test failure at build.cmd, our internal build pipeline starts to fail. Copilot tells me some of the fields that may not exist in classic event log entries (written via ReportEventW).

test etw::etw_writter::tests::write_event_log_test ... Verifying event log for source: Azure_GuestProxyAgent_TestApplication

thread 'etw::etw_writter::tests::write_event_log_test' (8380) panicked at proxy_agent_shared\src\etw\etw_writter.rs:187:22:
called `Result::unwrap()` on an `Err` value: Io(Custom { kind: InvalidData, error: "Failed to parse event XML: Custom: missing field `Version`" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
FAILED

@ZhidongPeng ZhidongPeng enabled auto-merge (squash) February 5, 2026 03:36
@ZhidongPeng ZhidongPeng merged commit f951bf4 into Azure:dev Feb 5, 2026
12 checks passed
@ZhidongPeng ZhidongPeng deleted the etw branch February 5, 2026 19:04
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