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

[xtro] Fix xtro on dotnet. #14559

Merged
merged 3 commits into from
Mar 30, 2022
Merged

[xtro] Fix xtro on dotnet. #14559

merged 3 commits into from
Mar 30, 2022

Conversation

mandel-macaque
Copy link
Member

No description provided.

@mandel-macaque mandel-macaque added the not-notes-worthy Ignore for release notes label Mar 29, 2022
@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ Tests passed on macOS Mac Catalina (10.15) ✅

Tests passed

All tests on macOS Mac Catalina (10.15) passed.

Pipeline on Agent
Merge 8b2df41 into ad1ece2

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ Tests timed out on macOS M1 - Mac Big Sur (11.5) ❌

Pipeline on Agent
Merge 8b2df41 into ad1ece2

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [CI Build] Tests failed on VSTS: simulator tests iOS ❌

Tests failed on VSTS: simulator tests iOS.

Test results

5 tests failed, 102 tests passed.

Failed tests

  • Xtro/.NET: BuildFailure
  • monotouch-test/watchOS 32-bits - simulator/Debug: TimedOut
  • monotouch-test/watchOS 32-bits - simulator/Debug (LinkSdk): Crashed
  • monotouch-test/watchOS 32-bits - simulator/Debug (static registrar): Crashed
  • monotouch-test/watchOS 32-bits - simulator/Release (all optimizations): Crashed

Pipeline on Agent XAMBOT-1042.Monterey
Merge 8b2df41 into ad1ece2

@@ -393,6 +393,9 @@ steps:

echo "Rollback file contents:"
echo "$(cat $WORKLOAD_DST)"

echo "##vso[task.setvariable variable=WorkloadVersion;]$IOS_NUGET_VERSION_FULL"
Copy link
Member

Choose a reason for hiding this comment

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

The versions are different between all platforms, you need to set a variable for each of them.

Copy link
Member Author

Choose a reason for hiding this comment

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

I was hoping for the opposite. Probably I should do $(PLATFORM)_WORLOAD_VERSION. And change the loop or env def in the makefile

Copy link
Member

Choose a reason for hiding this comment

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

Part 2:

Suggested change
echo "##vso[task.setvariable variable=WorkloadVersion;]$IOS_NUGET_VERSION_FULL"
echo "##vso[task.setvariable variable=iOSWorkloadVersion;]$IOS_NUGET_VERSION_FULL"

needs to be expanded for all platforms.

@@ -126,7 +126,11 @@ $(XMACCATALYST_PCH): .stamp-check-sharpie
$(CORETELEPHONY_HEADERS) \

define DotNetAssembly
ifdef TESTS_USE_SYSTEM
X$(2)_DOTNET ?= $(DOTNET_DIR)/packs/Microsoft.$(1).Runtime.$(X$(2)_RID)/$(WORKLOAD_VERSION)/runtimes/$(X$(2)_RID)/lib/$(DOTNET_TFM)/$(DOTNET_$(2)_ASSEMBLY_NAME).dll
Copy link
Member

Choose a reason for hiding this comment

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

Part 1:

Suggested change
X$(2)_DOTNET ?= $(DOTNET_DIR)/packs/Microsoft.$(1).Runtime.$(X$(2)_RID)/$(WORKLOAD_VERSION)/runtimes/$(X$(2)_RID)/lib/$(DOTNET_TFM)/$(DOTNET_$(2)_ASSEMBLY_NAME).dll
X$(2)_DOTNET ?= $(DOTNET_DIR)/packs/Microsoft.$(1).Runtime.$(X$(2)_RID)/$($(2)_WORKLOAD_VERSION)/runtimes/$(X$(2)_RID)/lib/$(DOTNET_TFM)/$(DOTNET_$(2)_ASSEMBLY_NAME).dll

@@ -74,6 +74,8 @@ stages:
# we need to have the pkgs built and the device sets to be ran, that is decided via the labels or type of build during the build_packages stage
condition: and(succeeded(), ${{ parameters.condition }})

variables:
WORKLOAD_VERSION: $[ stageDependencies.build_packages.build.outputs['workload_file.WorkloadVersion'] ]
Copy link
Member

Choose a reason for hiding this comment

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

Part 3:

Suggested change
WORKLOAD_VERSION: $[ stageDependencies.build_packages.build.outputs['workload_file.WorkloadVersion'] ]
IOS_WORKLOAD_VERSION: $[ stageDependencies.build_packages.build.outputs['workload_file.iOSWorkloadVersion'] ]

needs to be expanded for all platforms.

@@ -393,6 +393,9 @@ steps:

echo "Rollback file contents:"
echo "$(cat $WORKLOAD_DST)"

echo "##vso[task.setvariable variable=WorkloadVersion;]$IOS_NUGET_VERSION_FULL"
Copy link
Member

Choose a reason for hiding this comment

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

Part 2:

Suggested change
echo "##vso[task.setvariable variable=WorkloadVersion;]$IOS_NUGET_VERSION_FULL"
echo "##vso[task.setvariable variable=iOSWorkloadVersion;]$IOS_NUGET_VERSION_FULL"

needs to be expanded for all platforms.

@rolfbjarne rolfbjarne added skip-all-tests Skip all the tests run-xtro-tests Run the xtro tests labels Mar 30, 2022
@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ Tests passed on macOS Mac Catalina (10.15) ✅

Tests passed

All tests on macOS Mac Catalina (10.15) passed.

Pipeline on Agent
Merge 7d7e4ef into b8c493c

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build] Tests passed on VSTS: simulator tests iOS. ✅

Tests passed on VSTS: simulator tests iOS.

🎉 All 2 tests passed 🎉

Pipeline on Agent XAMBOT-1109.Monterey
Merge 7d7e4ef into b8c493c

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ Tests timed out on macOS M1 - Mac Big Sur (11.5) ❌

Pipeline on Agent
Merge 7d7e4ef into b8c493c

@mandel-macaque mandel-macaque merged commit e5b8b19 into main Mar 30, 2022
@mandel-macaque mandel-macaque deleted the fix-dotnet-xtro-paths branch March 30, 2022 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-notes-worthy Ignore for release notes run-xtro-tests Run the xtro tests skip-all-tests Skip all the tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants