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

48525090 - Skipping a test case to temporarily avoid hitting this bug #4083

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

alexlamtest
Copy link
Contributor

Temporarily skip test case FullLifecycle_FilePathLifetime_Frameworks_WindowsAppRuntime_MathAdd_Elevated() to unblock pipeline runs.

A microsoft employee must use /azp run to validate using the pipelines below.

WARNING:
Comments made by azure-pipelines bot maybe inaccurate.
Please see pipeline link to verify that the build is being ran.

For status checks on the main branch, please use TransportPackage-Foundation-PR
(https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary)
and run the build against your PR branch with the default parameters.

@alexlamtest
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@Scottj1s Scottj1s left a comment

Choose a reason for hiding this comment

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

thanks!

…ng unless a TAEF parameter is specified (/p:DynamicDependency.23H1=1). We can disable only on 23H1 by default once a recent public API gets to rs_prerelease (so...next month? Uncomment the TODO comment)
Copy link
Member

@DrusTheAxe DrusTheAxe left a comment

Choose a reason for hiding this comment

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

Enhanced PR built locally and tested. A bit broader brush than I'd like but necessary for now

@alexlamtest
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DrusTheAxe
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Scottj1s Scottj1s merged commit 39dcd27 into main Jan 17, 2024
24 checks passed
@Scottj1s Scottj1s deleted the user/alexlam/48525090-main-20240116 branch January 17, 2024 17:38
kythant pushed a commit that referenced this pull request Jan 18, 2024
…#4083)

* Skipping test case: FullLifecycle_FilePathLifetime_Frameworks_WindowsAppRuntime_MathAdd()

* Changed to be more nuanced about disabling behavior. Currently Skipping unless a TAEF parameter is specified (/p:DynamicDependency.23H1=1). We can disable only on 23H1 by default once a recent public API gets to rs_prerelease (so...next month? Uncomment the TODO comment)

* Moved the Skip-23H1 logic to the parent Setup() to cover elevated and non-elevated behavior

---------

Co-authored-by: Howard Kapustein <howardk@microsoft.com>
kythant added a commit that referenced this pull request Jan 22, 2024
kythant added a commit that referenced this pull request Jan 23, 2024
kythant added a commit that referenced this pull request Jan 23, 2024
…#4108)

* Revert "48525090 - Skipping a test case to temporarily avoid hitting this bug (#4083)"

This reverts commit 39dcd27.

* Revert "DynamicDependencies: Use Win11 APIs if available (#3704)"

This reverts commit f0d6f3b.
kythant added a commit that referenced this pull request Jan 23, 2024
…#4109)

* Revert "48525090 - Skipping a test case to temporarily avoid hitting this bug (#4083)"

This reverts commit 39dcd27.

* Revert "DynamicDependencies: Use Win11 APIs if available (#3704)"

This reverts commit f0d6f3b.
kythant added a commit that referenced this pull request Jan 26, 2024
kythant added a commit that referenced this pull request Jan 26, 2024
kythant added a commit that referenced this pull request Jan 30, 2024
kythant added a commit that referenced this pull request Jan 30, 2024
DrusTheAxe added a commit that referenced this pull request Jan 31, 2024
DrusTheAxe added a commit that referenced this pull request Feb 5, 2024
…#4083 (#4108)" (#4118)" (#4135)" (#4140)

* Revert "Revert "DynamicDependencies: Use Win11 APIs if available #3704 #4083 (#4108)" (#4118)" (#4135)"

This reverts commit 117ed20.

* Disable DynamicDependency-delegate-to-OS by changing IsSupported() (not reverting the world)

* PackageRuntimeManager tests rely on OS DynDep functionality but Setup was a parallel version check when it should have been IsSupported. Fixed so they're all using the same answer

* Doh! Had the check reversed -- if (foo) should have been if (!foo). Fixed

* Tweak TryCreatePackageDependency when calling the OS with an invaliud package family name we get back STATEREPOSITORY_E_DEPENDENCY_NOT_RESOLVED but should return to the caller E_INVALIDARG

* Remove false skip-tests check. The surgical IsSupported disables all delegation to OS APIs. When that changes we WANT the tests to run and canary any problem

* Bad test passing too long a VersionTag. Tweaked Bootstrapper to spew WIL message and deal instead of FAIL_FAST

* Fixed PackageDependency.m_packageFullName was never set and .PackageId string fields (e.g. .name) weren't properly set, though they weren't used so not noticed or harm (before the resolution fix - next sentence...). Fixed TryCreatePackageDependency() wasn't resolving the dependency unless the MddCreatePackageDependencyOptions_DoNotVerifyDependencyResolution option was specified. Fixed up some test issues as well asupdates in sync with the fixes (above)

* Fixed tests to correctly match (fixed) implementation

* Improved some test logging. Fided up a few tests out of date with the latest behavior
bpulliam pushed a commit that referenced this pull request Feb 7, 2024
…#4083 (#4108)" (#4118)" (#4135)" (#4140)

* Revert "Revert "DynamicDependencies: Use Win11 APIs if available #3704 #4083 (#4108)" (#4118)" (#4135)"

This reverts commit 117ed20.

* Disable DynamicDependency-delegate-to-OS by changing IsSupported() (not reverting the world)

* PackageRuntimeManager tests rely on OS DynDep functionality but Setup was a parallel version check when it should have been IsSupported. Fixed so they're all using the same answer

* Doh! Had the check reversed -- if (foo) should have been if (!foo). Fixed

* Tweak TryCreatePackageDependency when calling the OS with an invaliud package family name we get back STATEREPOSITORY_E_DEPENDENCY_NOT_RESOLVED but should return to the caller E_INVALIDARG

* Remove false skip-tests check. The surgical IsSupported disables all delegation to OS APIs. When that changes we WANT the tests to run and canary any problem

* Bad test passing too long a VersionTag. Tweaked Bootstrapper to spew WIL message and deal instead of FAIL_FAST

* Fixed PackageDependency.m_packageFullName was never set and .PackageId string fields (e.g. .name) weren't properly set, though they weren't used so not noticed or harm (before the resolution fix - next sentence...). Fixed TryCreatePackageDependency() wasn't resolving the dependency unless the MddCreatePackageDependencyOptions_DoNotVerifyDependencyResolution option was specified. Fixed up some test issues as well asupdates in sync with the fixes (above)

* Fixed tests to correctly match (fixed) implementation

* Improved some test logging. Fided up a few tests out of date with the latest behavior
bpulliam added a commit that referenced this pull request Feb 8, 2024
* Revert "Revert "DynamicDependencies: Use Win11 APIs if available #3704 #4083 (#4108)" (#4118)" (#4135)"

This reverts commit 117ed20.

* Disable DynamicDependency-delegate-to-OS by changing IsSupported() (not reverting the world)

* PackageRuntimeManager tests rely on OS DynDep functionality but Setup was a parallel version check when it should have been IsSupported. Fixed so they're all using the same answer

* Doh! Had the check reversed -- if (foo) should have been if (!foo). Fixed

* Tweak TryCreatePackageDependency when calling the OS with an invaliud package family name we get back STATEREPOSITORY_E_DEPENDENCY_NOT_RESOLVED but should return to the caller E_INVALIDARG

* Remove false skip-tests check. The surgical IsSupported disables all delegation to OS APIs. When that changes we WANT the tests to run and canary any problem

* Bad test passing too long a VersionTag. Tweaked Bootstrapper to spew WIL message and deal instead of FAIL_FAST

* Fixed PackageDependency.m_packageFullName was never set and .PackageId string fields (e.g. .name) weren't properly set, though they weren't used so not noticed or harm (before the resolution fix - next sentence...). Fixed TryCreatePackageDependency() wasn't resolving the dependency unless the MddCreatePackageDependencyOptions_DoNotVerifyDependencyResolution option was specified. Fixed up some test issues as well asupdates in sync with the fixes (above)

* Fixed tests to correctly match (fixed) implementation

* Improved some test logging. Fided up a few tests out of date with the latest behavior

Co-authored-by: Howard Kapustein <howardk@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.

3 participants