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

System.Private.Uri.Functional.Tests crashes on tvOS #36891

Closed
mdh1418 opened this issue May 22, 2020 · 20 comments
Closed

System.Private.Uri.Functional.Tests crashes on tvOS #36891

mdh1418 opened this issue May 22, 2020 · 20 comments
Assignees
Labels
Milestone

Comments

@mdh1418
Copy link
Member

mdh1418 commented May 22, 2020

Update: This suite no longer fails on iOS, but crashes on tvOS

System.Private.Uri.Functional.Tests crashes on tvOS

Console log: 'System.Private.Uri.Functional.Tests' from job 130836dd-4258-407b-8f51-a8929ca3cb38 workitem cdf2aa31-25ce-4f77-90fc-e192e1a3e459 (osx.1015.amd64.open) executed on machine dci-mac-build-191
+ export PATH=/tmp/helix/working/9CD308EA/p/dotnet-cli:/usr/bin:/bin:/usr/sbin:/sbin
+ PATH=/tmp/helix/working/9CD308EA/p/dotnet-cli:/usr/bin:/bin:/usr/sbin:/sbin
+ export DOTNET_ROOT=/tmp/helix/working/9CD308EA/p/dotnet-cli
+ DOTNET_ROOT=/tmp/helix/working/9CD308EA/p/dotnet-cli
+ export DOTNET_CLI_TELEMETRY_OPTOUT=1
+ DOTNET_CLI_TELEMETRY_OPTOUT=1
+ export PATH=/tmp/helix/working/9CD308EA/p/xharness-cli:/tmp/helix/working/9CD308EA/p/dotnet-cli:/usr/bin:/bin:/usr/sbin:/sbin
+ PATH=/tmp/helix/working/9CD308EA/p/xharness-cli:/tmp/helix/working/9CD308EA/p/dotnet-cli:/usr/bin:/bin:/usr/sbin:/sbin
+ export XHARNESS_DISABLE_COLORED_OUTPUT=true
+ XHARNESS_DISABLE_COLORED_OUTPUT=true
+ export XHARNESS_LOG_WITH_TIMESTAMPS=true
+ XHARNESS_LOG_WITH_TIMESTAMPS=true
+ export XHARNESS_CLI_PATH=/tmp/helix/working/9CD308EA/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21201.1/tools/net6.0/any/Microsoft.DotNet.XHarness.CLI.dll
+ XHARNESS_CLI_PATH=/tmp/helix/working/9CD308EA/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21201.1/tools/net6.0/any/Microsoft.DotNet.XHarness.CLI.dll
+ chmod +x xharness-helix-job.apple.sh
+ ./xharness-helix-job.apple.sh --app /tmp/helix/working/9CD308EA/w/BC2309D5/e/System.Private.Uri.Functional.Tests.app --output-directory /tmp/helix/working/9CD308EA/w/BC2309D5/uploads --targets tvos-simulator --timeout 00:30:00 --launch-timeout 00:30:00 --xharness-cli-path /tmp/helix/working/9CD308EA/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21201.1/tools/net6.0/any/Microsoft.DotNet.XHarness.CLI.dll --command test
+ chmod +x xharness-runner.apple.sh
++ id -u
+ helix_runner_uid=510
+ sudo launchctl asuser 510 sh ./xharness-runner.apple.sh --app /tmp/helix/working/9CD308EA/w/BC2309D5/e/System.Private.Uri.Functional.Tests.app --output-directory /tmp/helix/working/9CD308EA/w/BC2309D5/uploads --targets tvos-simulator --timeout 00:30:00 --launch-timeout 00:30:00 --xharness-cli-path /tmp/helix/working/9CD308EA/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21201.1/tools/net6.0/any/Microsoft.DotNet.XHarness.CLI.dll --command test
XHarness command issued: apple test --app=/tmp/helix/working/9CD308EA/w/BC2309D5/e/System.Private.Uri.Functional.Tests.app --output-directory=/tmp/helix/working/9CD308EA/w/BC2309D5/uploads --targets=tvos-simulator --timeout=00:30:00 --xcode=/Applications/Xcode115.app -v --launch-timeout=00:30:00
[13:58:56] info: Preparing run for tvos-simulator
[13:58:56] info: Getting app bundle information..
[13:58:56] dbug: 13:58:56.1822660 Running /usr/libexec/PlistBuddy -c "Print CFBundleName" /tmp/helix/working/9CD308EA/w/BC2309D5/e/System.Private.Uri.Functional.Tests.app/Info.plist
[13:58:56] dbug: 13:58:56.1952340 Process PlistBuddy exited with 0
[13:58:56] dbug: 13:58:56.1957570 Running /usr/libexec/PlistBuddy -c "Print CFBundleIdentifier" /tmp/helix/working/9CD308EA/w/BC2309D5/e/System.Private.Uri.Functional.Tests.app/Info.plist
[13:58:56] dbug: 13:58:56.2017610 Process PlistBuddy exited with 0
[13:58:56] dbug: 13:58:56.2038370 Running /usr/libexec/PlistBuddy -c "Print UIRequiredDeviceCapabilities" /tmp/helix/working/9CD308EA/w/BC2309D5/e/System.Private.Uri.Functional.Tests.app/Info.plist
[13:58:56] dbug: 13:58:56.2073890 Process PlistBuddy exited with 1
[13:58:56] dbug: 13:58:56.2083160 Property UIRequiredDeviceCapabilities not present in Info.plist, assuming 32-bit is not supported
[13:58:56] info: Starting application 'System.Private.Uri.Functional.Tests' on tvos-simulator
[13:58:56] dbug: 13:58:56.2388630 Running /private/tmp/helix/working/9CD308EA/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21201.1/tools/net6.0/any/../../../runtimes/any/native/mlaunch/bin/mlaunch --sdkroot /Applications/Xcode115.app --listsim=/tmp/tmphY2Paj.tmp --output-format=XML
[13:58:58] dbug: 13:58:58.2671670 Simulator configuration written to /tmp/tmphY2Paj.tmp
[13:58:58] dbug: 13:58:58.2756470 Process mlaunch exited with 0
[13:58:58] dbug: 13:58:58.2767110 Simulator listing finished (22 kB)
[13:58:58] dbug: 13:58:58.2934620 Found simulator: Apple TV (tvOS 13.4) - created by XHarness 685A72D8-F5BD-48C7-9FC5-E756A83CC232
[13:58:58] dbug: 13:58:58.3017000 Test log server listening on: 0.0.0.0:56960
[13:58:58] dbug: 13:58:58.3018360 *** Executing 'System.Private.Uri.Functional.Tests' on tvos-simulator 'Apple TV (tvOS 13.4) - created by XHarness' ***
[13:58:58] dbug: 13:58:58.3114990 System log for the 'Apple TV (tvOS 13.4) - created by XHarness' simulator is: /private/var/root/Library/Logs/CoreSimulator/685A72D8-F5BD-48C7-9FC5-E756A83CC232/system.log
[13:58:58] dbug: 13:58:58.3158720 Starting test run
[13:58:58] dbug: 13:58:58.3162230 Running /private/tmp/helix/working/9CD308EA/p/microsoft.dotnet.xharness.cli/1.0.0-prerelease.21201.1/tools/net6.0/any/../../../runtimes/any/native/mlaunch/bin/mlaunch --sdkroot /Applications/Xcode115.app -v -v -v -v -v -v -setenv=NUNIT_AUTOEXIT=true -setenv=NUNIT_HOSTPORT=56960 -setenv=NUNIT_ENABLE_XML_OUTPUT=true -setenv=NUNIT_XML_VERSION=xUnit -setenv=NUNIT_HOSTNAME=127.0.0.1 --device=:v2:udid=685A72D8-F5BD-48C7-9FC5-E756A83CC232 --launchsim /tmp/helix/working/9CD308EA/w/BC2309D5/e/System.Private.Uri.Functional.Tests.app
[13:58:58] dbug: 13:58:58.6687900 Using Xcode 11.5 found in /Applications/Xcode115.app
[13:58:58] dbug: 13:58:58.6732930 Xamarin.Hosting: Xamarin.Hosting
[13:58:58] dbug: 13:58:58.6733780 Xamarin.Hosting:     Version: e6eed65b74 (xcode12)
[13:58:58] dbug: 13:58:58.6734140 Xamarin.Hosting:     Xcode: /Applications/Xcode115.app
[13:58:58] dbug: 13:58:58.6761720 Xamarin.Hosting:     Xcode Version: 11.5
[13:58:58] dbug: 13:58:58.6768900 Xamarin.Hosting:     Verbosity: 6
[13:58:58] dbug: 13:58:58.6919320 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation
[13:58:58] dbug: 13:58:58.6970580 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DVTiPhoneSimulatorRemoteClient.framework/DVTiPhoneSimulatorRemoteClient
[13:58:58] dbug: 13:58:58.6971850 Xamarin.Hosting: Loaded /Library/Developer/PrivateFrameworks/CoreSimulator.framework/CoreSimulator
[13:58:58] dbug: 13:58:58.6973340 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/DTDeviceKitBase
[13:58:58] dbug: 13:58:58.7141350 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DVTKit.framework/DVTKit
[13:58:58] dbug: 13:58:58.7148400 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DTDeviceKit.framework/DTDeviceKit
[13:58:58] dbug: 13:58:58.7149420 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DTXConnectionServices.framework/DTXConnectionServices
[13:58:58] dbug: 13:58:58.7160990 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DVTSourceControl.framework/DVTSourceControl
[13:58:58] dbug: 13:58:58.7162340 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DVTServices.framework/DVTServices
[13:58:58] dbug: 13:58:58.7164200 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DVTPortal.framework/DVTPortal
[13:58:58] dbug: 13:58:58.7287520 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DVTDocumentation.framework/DVTDocumentation
[13:58:58] dbug: 13:58:58.7296590 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DVTAnalyticsClient.framework/DVTAnalyticsClient
[13:58:58] dbug: 13:58:58.7309270 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/DVTAnalytics.framework/DVTAnalytics
[13:58:58] dbug: 13:58:58.7334530 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/SourceKit.framework/SourceKit
[13:58:58] dbug: 13:58:58.7596310 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation
[13:58:58] dbug: 13:58:58.7608610 Xamarin.Hosting: Loaded /Applications/Xcode115.app/Contents/SharedFrameworks/IDEProducts.framework/IDEProducts
[13:58:59] dbug: 13:58:59.2412390 Xamarin.Hosting: Simulator watchdogs are already disabled for 'tvOS 13.4 (17L255) - Apple TV'.
[13:58:59] dbug: 13:58:59.2468010 Xamarin.Hosting: Device 'tvOS 13.4 (17L255) - Apple TV' is already booted and the simulator is running.
[13:58:59] dbug: 13:58:59.2563110 Xamarin.Hosting: No need to boot (already booted): Apple TV (tvOS 13.4) - created by XHarness
[13:58:59] dbug: 13:58:59.2594230 Xamarin.Hosting: Installing /tmp/helix/working/9CD308EA/w/BC2309D5/e/System.Private.Uri.Functional.Tests.app with Bundle Identifier net.dot.System.Private.Uri.Functional.Tests on 'tvOS 13.4 (17L255) - Apple TV'...
[13:59:00] dbug: 13:59:00.4204550 Xamarin.Hosting: Installed 'net.dot.System.Private.Uri.Functional.Tests' from /tmp/helix/working/9CD308EA/w/BC2309D5/e/System.Private.Uri.Functional.Tests.app
[13:59:00] dbug: 13:59:00.5085270 Xamarin.Hosting: Can't process potentially bad load commands, because the app is signed.
[13:59:00] dbug: 13:59:00.5584790 Xamarin.Hosting: The bundle id net.dot.System.Private.Uri.Functional.Tests was successfully installed.
[13:59:00] dbug: 13:59:00.5694290 Xamarin.Hosting: Launching net.dot.System.Private.Uri.Functional.Tests async on 'tvOS 13.4 (17L255) - Apple TV' with: {
[13:59:00] dbug: 13:59:00.5694730     arguments =     (
[13:59:00] dbug: 13:59:00.5694920     );
[13:59:00] dbug: 13:59:00.5695030     environment =     {
[13:59:00] dbug: 13:59:00.5695130         NSUnbufferedIO = YES;
[13:59:00] dbug: 13:59:00.5695220         "NUNIT_AUTOEXIT" = true;
[13:59:00] dbug: 13:59:00.5695310         "NUNIT_ENABLE_XML_OUTPUT" = true;
[13:59:00] dbug: 13:59:00.5695390         "NUNIT_HOSTNAME" = "127.0.0.1";
[13:59:00] dbug: 13:59:00.5695480         "NUNIT_HOSTPORT" = 56960;
[13:59:00] dbug: 13:59:00.5695570         "NUNIT_XML_VERSION" = xUnit;
[13:59:00] dbug: 13:59:00.5695660         "OS_ACTIVITY_DT_MODE" = YES;
[13:59:00] dbug: 13:59:00.5695790     };
[13:59:00] dbug: 13:59:00.5695880 }
[13:59:00] dbug: 13:59:00.6162090 Xamarin.Hosting: Launched net.dot.System.Private.Uri.Functional.Tests with pid 7257
[13:59:06] dbug: 13:59:06.3752060 Connection from 127.0.0.1:56962 saving logs to /tmp/helix/working/9CD308EA/w/BC2309D5/uploads/test-tvos-simulator-20210405_135856.log
[13:59:06] dbug: 13:59:06.3755500 Test execution started
[13:59:08] dbug: 13:59:08.9350820 Test log server listening on: 0.0.0.0:56960
[13:59:09] dbug: 13:59:09.7166170 Xamarin.Hosting: Simulated process has exited.
[13:59:09] dbug: 13:59:09.7231920 Process mlaunch exited with 0
[13:59:09] dbug: 13:59:09.7247320 Test run completed
[13:59:10] dbug: 13:59:10.8451050 Test run crashed before it started (no log file produced)
[13:59:10] dbug: 13:59:10.8478930 No crash reports, waiting 30 seconds for the crash report service...
[13:59:40] fail: Application run crashed
                 No test log file was produced
                 
                 Check logs for more information
XHarness exit code: 80 (APP_CRASH)
ls: /tmp/helix/working/9CD308EA/w/BC2309D5/uploads/xunit-*.xml: No such file or directory
Failed to find xUnit tests results in the output directory. Existing files:
total 32
drwxr-xr-x  4 helix-runner  wheel   128 Apr  5 13:59 .
drwxr-xr-x  7 helix-runner  wheel   224 Apr  5 13:58 ..
-rw-r--r--  1 root          wheel  4051 Apr  5 13:59 Apple TV (tvOS 13.4) - created by XHarness.log
-rw-r--r--  1 root          wheel  8259 Apr  5 13:59 run-tvos-simulator.log
+ exit_code=80
+ installation_timeout_exit_code=123
+ '[' 80 -eq 123 ']'
+ exit 80
+ export _commandExitCode=80
+ _commandExitCode=80
+ /bin/sh /tmp/helix/working/9CD308EA/p/reporter/run.sh https://dev.azure.com/dnceng/ public 32946396 eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Im9PdmN6NU1fN3AtSGpJS2xGWHo5M3VfVjBabyJ9.eyJuYW1laWQiOiJlNDI4NWM4Yy0zZmQ1LTQyNjctOWIxYy00MjE5NWM0N2E1NTMiLCJzY3A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sZF90dm9zc2ltdWxhdG9yX3g2NF9yZWxlYXNlX2FsbHN1YnNldHNfbW9uby5fX2RlZmF1bHQiLCJpc3MiOiJhcHAudnN0b2tlbi52aXN1YWxzdHVkaW8uY29tIiwiYXVkIjoiYXBwLnZzdG9rZW4udmlzdWFsc3R1ZGlvLmNvbXx2c286YjU1ZGU0ZWQtNGI1YS00MjE1LWE4ZTQtMGEwYTVmNzFlN2Q4IiwibmJmIjoxNjE3NjM4MTQ2LCJleHAiOjE2MTc2NTAxNDZ9.d-KlFK-i3lAjNJ4p3HNevmrM6LUVqnmKx1fpFZilLC9rcLkrH-zilMPHD8EV-gfe7OhiIYv7MXSKqu-bbRUV5RXBDRkogY9O7jRWQOlkFCM5hMMrIOb05b8yn0UCzqSFd4jwIuOR-H8fp7bEN_dA41L9CNZyaz4ifEc1A5mEc0JmEo-N_HuCQQXehw5ZiQYAxQ274qqoRUr1Q7UbOtMmIghWZxJ_7MHjtIOBPoCKSPi0lOw2-5XAsEwwUuhC_C4Ytorvsai5aV8_1bJi0ssROZx-9hMaHlzirmUpgyvD6ncY08WFQMdegrZj45Nz044egsjpC6zCHkVLq6NJER_HtA
++ whoami
+ '[' root = root ']'
+++ dirname -- /tmp/helix/working/9CD308EA/p/reporter/run.sh
++ CDPATH=
++ cd -- /tmp/helix/working/9CD308EA/p/reporter
++ pwd
+ script_path=/tmp/helix/working/9CD308EA/p/reporter
+ ENV_PATH=/Users/helix-runner/.azdo-env
+ TMP_ENV_PATH=/Users/helix-runner/.azdo-env-tmp
+ date -u +%FT%TZ
2021-04-05T17:59:40Z
+ '[' '!' -f /Users/helix-runner/.azdo-env/bin/python ']'
+ _OLD_PYTHONPATH=
+ export PYTHONPATH=
+ PYTHONPATH=
+ /Users/helix-runner/.azdo-env/bin/python -c 'import azure.devops'
+ echo 'azure-devops module already available'
azure-devops module already available
+ /Users/helix-runner/.azdo-env/bin/python -c 'import future'
+ echo 'future module already available'
future module already available
+ date -u +%FT%TZ
2021-04-05T17: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NGI1YS00MjE1LWE4ZTQtMGEwYTVmNzFlN2Q4IiwibmJmIjoxNjE3NjM4MTQ2LCJleHAiOjE2MTc2NTAxNDZ9.d-KlFK-i3lAjNJ4p3HNevmrM6LUVqnmKx1fpFZilLC9rcLkrH-zilMPHD8EV-gfe7OhiIYv7MXSKqu-bbRUV5RXBDRkogY9O7jRWQOlkFCM5hMMrIOb05b8yn0UCzqSFd4jwIuOR-H8fp7bEN_dA41L9CNZyaz4ifEc1A5mEc0JmEo-N_HuCQQXehw5ZiQYAxQ274qqoRUr1Q7UbOtMmIghWZxJ_7MHjtIOBPoCKSPi0lOw2-5XAsEwwUuhC_C4Ytorvsai5aV8_1bJi0ssROZx-9hMaHlzirmUpgyvD6ncY08WFQMdegrZj45Nz044egsjpC6zCHkVLq6NJER_HtA
2021-04-05 13:59:41,462: INFO: 4505804224: run(82): main: Main thread starting 10 workers
Worker 0: starting...
Worker 1: starting...
Worker 2: starting...
Worker 3: starting...
Worker 4: starting...
Worker 5: starting...
Worker 6: starting...
Worker 7: starting...
2021-04-05 13:59:41,464: INFO: 4505804224: run(89): main: Beginning reading of test results.
Worker 9: starting...
Worker 8: starting...
2021-04-05 13:59:41,464: INFO: 4505804224: run(98): main: Uploading results in batches of size 1000
2021-04-05 13:59:41,466: INFO: 4505804224: run(103): main: Main thread finished queueing batches
2021-04-05 13:59:41,466: INFO: 4505804224: run(107): main: Main thread exiting
Searching '/tmp/helix/working/9CD308EA/w/BC2309D5/e/..' for log files
Found log '/tmp/helix/working/9CD308EA/w/BC2309D5/e/../console.fe784281.log'
Uri 'https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-49917-merge-130836dd4258407b8f/System.Private.Uri.Functional.Tests/console.fe784281.log?sv=2019-07-07&se=2021-04-25T17%3A57%3A00Z&sr=c&sp=rl&sig=2fWGh%2BVuHBb8Pt0VqviRjGdjNXPVucL1gH6h2bmaX%2F0%3D'
Generated log list: console.fe784281.log:
  https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-49917-merge-130836dd4258407b8f/System.Private.Uri.Functional.Tests/console.fe784281.log?sv=2019-07-07&se=2021-04-25T17%3A57%3A00Z&sr=c&sp=rl&sig=2fWGh%2BVuHBb8Pt0VqviRjGdjNXPVucL1gH6h2bmaX%2F0%3D

Searching '/private/tmp/helix/working/9CD308EA/w/BC2309D5/e' for test results files
Searching '/tmp/helix/working/9CD308EA/w/BC2309D5/uploads' for test results files
No results file found in any of the following formats: xunit, junit, trx
+ date -u +%FT%TZ
2021-04-05T17:59:41Z
+ export PYTHONPATH=
+ PYTHONPATH=
+ exit 80
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label May 22, 2020
@danmoseley danmoseley changed the title System.Private test fails on iOS Uri test fails on iOS Jun 15, 2020
@ghost
Copy link

ghost commented Jun 15, 2020

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@danmoseley
Copy link
Member

@davidsh
Copy link
Contributor

davidsh commented Jun 15, 2020

@MihaZupan

@wfurt
Copy link
Member

wfurt commented Jun 15, 2020

may be lack of globalization. #33652
There are other networking (and other tests) failing when using unicode or culture.

@MihaZupan
Copy link
Member

This test should come down to

string.Compare(
    "http://www.contoso.com/path?name#frag",
    "http://www.contosooo.com/pathname#slag",
    StringComparison.CurrentCulture)

So a globalization issue as Tomas suggested

@ghost
Copy link

ghost commented Jun 15, 2020

Tagging subscribers to this area: @tarekgh, @safern, @krwq
Notify danmosemsft if you want to be subscribed.

@danmoseley
Copy link
Member

OK, adjusting label to match responsibility.

@tarekgh tarekgh removed the untriaged New issue has not been triaged by the area owner label Jun 15, 2020
@tarekgh
Copy link
Member

tarekgh commented Jun 15, 2020

@MihaZupan does this issue repo only on iOS? and succeed on other platforms? why the test is using the current culture for the uri comparison? I am seeing you can have this assumption to all cultures return the exact same string comparing results. I am seeing this is a test issue more than the Globalization issue.
if you need more help with it, please send the current culture value and we can confirm this is by design for Globalization.

@ghost
Copy link

ghost commented Jun 15, 2020

Tagging subscribers to this area: @dotnet/ncl
Notify danmosemsft if you want to be subscribed.

@MihaZupan
Copy link
Member

I haven't seen this test come up before. There's also no reason for it to use CurrentCulture - we can fix that in the test.

I don't know under which culture this was triggered, @mdh1418 do you have a way to obtain that information? It does not fail under any installed culture on my Windows machine.

@tarekgh
Copy link
Member

tarekgh commented Jun 15, 2020

I would say do a quick try to change current culture to CultureInfo.InvariantCulture and look if the test fail at that time.

@MihaZupan
Copy link
Member

MihaZupan commented Jun 15, 2020

string.Compare for these values under InvariantCulture returns -1 as expected by the test

I don't have a way to test if the behavior is any different on iOS specifically

@tarekgh
Copy link
Member

tarekgh commented Jun 15, 2020

I don't have a way to test if the behavior is any different on iOS specifically

just get the current culture from the iOS (using CultureInfo.CurrentCulture) and then use the exact same culture in other platforms and look at what you will get from the test result.

@MihaZupan
Copy link
Member

I think there might be a misunderstanding here - I did not run these tests.

Afaik iOS is not available in Helix yet for me to be able to repro this.

@tarekgh
Copy link
Member

tarekgh commented Jun 15, 2020

I think there might be a misunderstanding here - I did not run these tests.

no misunderstanding, we need just ask @mdh1418 to get the needed info from iOS run as he is the one reported the issue.

@safern
Copy link
Member

safern commented Jun 15, 2020

Yeah, there is no helix iOS runs yet. We're just opening issues at the moment to be able to disable them, get clean runs and then be able to enable helix runs.

@wfurt
Copy link
Member

wfurt commented Jun 15, 2020

I have setup where I can run iOS tests @MihaZupan. I droped investigations since it did not seems high priority for .NET 5. There seems to be fair amount of test failing around string processing in various test sets. I can give it try with the proposed change later this week so we get at least some insight.

@danmoseley
Copy link
Member

Sorry for the noise/confusion. As per email I sent a couple weeks back, please ignore all issues for os-iOS, os-Android, and os-tvOS for now. Folks in the Mono team, and @safern, are working on getting this test pass rate up. In this case, it is very likely just one fallout of a larger problem with ICU on iOS.

@marek-safar marek-safar added this to the 6.0.0 milestone Jun 24, 2020
@mdh1418 mdh1418 changed the title Uri test fails on iOS System.Private.Uri.Functional.Tests crashes on tvOS Apr 15, 2021
@mdh1418 mdh1418 added the os-tvos Apple tvOS label Apr 15, 2021
@steveisok
Copy link
Member

@mdh1418 These tests pass and can be enabled again.

@steveisok steveisok modified the milestones: 6.0.0, 7.0.0 Aug 10, 2021
@mdh1418
Copy link
Member Author

mdh1418 commented Aug 10, 2021

It looks like this suite is not disabled in tests.proj, and there doesn't seem to be any occurrence of the issue number in the codebase

@mdh1418 mdh1418 closed this as completed Aug 10, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

10 participants