Skip to content
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

[tests] ignore BuildAppCheckDebugSymbols() test on non-commercial builds #9322

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

jonathanpeppers
Copy link
Member

@jonathanpeppers jonathanpeppers commented Sep 24, 2024

Context: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10272296&view=ms.vss-test-web.build-test-results-tab&runId=111431847&resultId=100127&paneView=debug

With Fast Dev disabled, this test fails with:

'assemblies/arm64-v8a/App1.pdb' and 'D:\a_work\1\a\TestRelease\09-24_17.47.53\temp\BuildAppCheckDebugSymbols\App1\obj\Debug\android\assets\arm64-v8a\App1.pdb' should not differ
Expected Stream length 13136 but was 12432.

We can eventually fix the test, but we'd have to shell out to:

llvm-objcopy --dump-section=payload=payload.bin libassemblies.arm64-v8a.blob.so

@jonathanpeppers

This comment was marked as outdated.

@@ -1293,6 +1293,8 @@ public void BuildBasicApplicationCheckPdbRepeatBuild ()
[Test]
public void BuildAppCheckDebugSymbols ()
{
AssertCommercialBuild (); // FIXME: when Fast Deployment isn't available, we would need to use `llvm-objcopy` to extract the debug symbols
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Example:

llvm-objcopy --dump-section=payload=payload.bin libassemblies.arm64-v8a.blob.so

@jonathanpeppers jonathanpeppers changed the title [tests] parameterize BuildAppCheckDebugSymbols() test [tests] ignore BuildAppCheckDebugSymbols() test on non-commercial builds Sep 25, 2024
@jonathanpeppers jonathanpeppers marked this pull request as ready for review September 25, 2024 14:59
@jonathanpeppers
Copy link
Member Author

There is a network failure we can ignore:

System.Net.Http.HttpRequestException : net_http_message_not_success_statuscode_reason, 502, Bad Gateway

But going to merge, so this can unblock other PRs.

@jonathanpeppers jonathanpeppers merged commit 4fce83c into main Sep 25, 2024
54 of 58 checks passed
@jonathanpeppers jonathanpeppers deleted the BuildAppCheckDebugSymbols branch September 25, 2024 15:43
@github-actions github-actions bot locked and limited conversation to collaborators Oct 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants