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

[/Mono.Android-Tests] Revert back to example.com #7919

Merged
merged 2 commits into from
Mar 31, 2023

Conversation

dellis1972
Copy link
Contributor

Commit 112c832 broke the QuoteInvalidQuoteUrlsShouldWork. It is now reporting the following error.

System.Net.WebException : net_http_ssl_connection_failed
----> System.Net.Http.HttpRequestException : net_http_ssl_connection_failed
----> System.Security.Authentication.AuthenticationException : net_auth_SSPI
----> Interop+AndroidCrypto+SslException : Exception_WasThrown, Interop+AndroidCrypto+SslException

Revert back to use the previous url until we can figure this one out.

Commit 112c832 broke the `QuoteInvalidQuoteUrlsShouldWork`. It is
now reporting the following error.

```
System.Net.WebException : net_http_ssl_connection_failed
----> System.Net.Http.HttpRequestException : net_http_ssl_connection_failed
----> System.Security.Authentication.AuthenticationException : net_auth_SSPI
----> Interop+AndroidCrypto+SslException : Exception_WasThrown, Interop+AndroidCrypto+SslException
```

Revert back to use the previous url until we can figure this one out.
@dellis1972
Copy link
Contributor Author

Need #7925

@jonpryor
Copy link
Member

jonpryor commented Mar 28, 2023

Context: https://github.com/xamarin/monodroid/commit/2e5f7bb4f79bb79dadba5413ccafcaa6bda70b1a

https://bugzilla.xamarin.com/show_bug.cgi?id=14968 contents:

In a piece of code that used to work. Doesn't anymore with Xamarin.Android 4.8.3.44219291

Java.Net.URISyntaxException: Exception of type 'Java.Net.URISyntaxException' was thrown.
  at Android.Runtime.JNIEnv.NewObject (IntPtr jclass, IntPtr jmethod, Android.Runtime.JValue[] parms) [0x00030] in /Users/builder/data/lanes/monodroid-mlion-master/2a2bb9b3/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.cs:475 
  at Java.Net.URI..ctor (System.String uri) [0x000a6] in /Users/builder/data/lanes/monodroid-mlion-master/2a2bb9b3/source/monodroid/src/Mono.Android/platforms/android-17/src/generated/Java.Net.URI.cs:45 
  at Android.Runtime.AndroidEnvironment+_Proxy.IsBypassed (System.Uri host) [0x00000] in /Users/builder/data/lanes/monodroid-mlion-master/2a2bb9b3/source/monodroid/src/Mono.Android/src/Runtime/AndroidEnvironment.cs:251 
  at System.Net.ServicePointManager.FindServicePoint (System.Uri address, IWebProxy proxy) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.GetServicePoint () [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.get_ServicePoint () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Net.HttpWebRequest:get_ServicePoint ()
  at System.Net.Http.HttpClientHandler.CreateWebRequest (System.Net.Http.HttpRequestMessage request) [0x00000] in <filename unknown>:0 
  at System.Net.Http.HttpClientHandler+<SendAsync>c__asyncC.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Net.Http.HttpResponseMessage].GetResult () [0x00000] in <filename unknown>:0 
  at System.Net.Http.HttpClient+<SendAsyncWorker>c__async5.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Net.Http.HttpResponseMessage].GetResult () [0x00000] in <filename unknown>:0 
  at System.Net.Http.HttpClient+<GetByteArrayAsync>c__async6.MoveNext () [0x00000] in <filename unknown>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Byte[]].GetResult () [0x00000] in <filename unknown>:0 
  at Moyeu.FavoriteAdapter+<LoadMap>c__async7.MoveNext () [0x000e3] in /Users/jeremie/projects/Moyeu/Moyeu/FavoriteFragment.cs:154 
  --- End of managed exception stack trace ---
java.net.URISyntaxException: Illegal character in query at index 168: https://maps.googleapis.com/maps/api/staticmap?key=AIzaSyB9AJUwndABdrlBPFsd399EfCOlnXWBcYk&zoom=13&sensor=true&size=130x84&center=42.373268,-71.118579&markers=size:tiny|42.373268,-71.118579
    at libcore.net.UriCodec.validate(UriCodec.java:63)
    at java.net.URI.parseURI(URI.java:406)
    at java.net.URI.<init>(URI.java:204)
    at moyeu.FavoriteAdapter.n_getView(Native Method)
    at moyeu.FavoriteAdapter.getView(FavoriteAdapter.java:64)
    at android.widget.AbsListView.obtainView(AbsListView.java:2161)
    at android.widget.ListView.makeAndAddView(ListView.java:1840)
    at android.widget.ListView.fillDown(ListView.java:675)
    at android.widget.ListView.fillSpecific(ListView.java:1333)
    at android.widget.ListView.layoutChildren(ListView.java:1633)
    at android.widget.AbsListView.onLayout(AbsListView.java:2012)
    at android.view.View.layout(View.java:14289)
    at android.view.ViewGroup.layout(ViewGroup.java:4559)
    at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    at android.view.View.layout(View.java:14289)
    at android.view.ViewGroup.layout(ViewGroup.java:4559)
    at android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    at android.view.View.layout(View.java:14289)
    at android.view.ViewGroup.layout(ViewGroup.java:455

@jonpryor
Copy link
Member

/azp build

@azure-pipelines
Copy link

Command 'build' is not supported by Azure Pipelines.

Supported commands
  • help:
    • Get descriptions, examples and documentation about supported commands
    • Example: help "command_name"
  • list:
    • List all pipelines for this repository using a comment.
    • Example: "list"
  • run:
    • Run all pipelines or specific pipelines for this repository using a comment. Use this command by itself to trigger all related pipelines, or specify specific pipelines to run.
    • Example: "run" or "run pipeline_name, pipeline_name, pipeline_name"
  • where:
    • Report back the Azure DevOps orgs that are related to this repository and org
    • Example: "where"

See additional documentation.

@jonpryor
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jonpryor jonpryor merged commit 8d6080c into dotnet:main Mar 31, 2023
@dellis1972 dellis1972 deleted the revertexamplechange branch March 31, 2023 21:51
grendello added a commit to grendello/xamarin-android that referenced this pull request Apr 3, 2023
* main:
  [tests] Remove `net472` multitargeting (dotnet#7932)
  [monodroid] Fix `ld` build error on Nightly Builds. (dotnet#7925)
  Bump to xamarin/Java.Interop/main@0355acf (dotnet#7931)
  [tests] Use msftconnecttest.com in QuoteInvalidQuoteUrlsShouldWork (dotnet#7919)
  [ci] Don't set demands for megapipeline (dotnet#7929)
grendello added a commit to grendello/xamarin-android that referenced this pull request Apr 6, 2023
* main: (94 commits)
  [ci] Remove remaining Classic test jobs. (dotnet#7924)
  Add Nightly Tests for Humanizer
  [readme] Add aka.ms links for d17.5. (dotnet#7935)
  [tests] Remove `net472` multitargeting (dotnet#7932)
  [monodroid] Fix `ld` build error on Nightly Builds. (dotnet#7925)
  Bump to xamarin/Java.Interop/main@0355acf (dotnet#7931)
  [tests] Use msftconnecttest.com in QuoteInvalidQuoteUrlsShouldWork (dotnet#7919)
  [ci] Don't set demands for megapipeline (dotnet#7929)
  [Mono.Android] Bind API-UpsideDownCake Developer Preview 1 (dotnet#7796)
  Bump to dotnet/installer@d109cba3ff 8.0.100-preview.4.23176.5 (dotnet#7921)
  [Xamarin.Android.Build.Tasks] Fix Android Version Code for Release builds (dotnet#7795)
  Bump to dotnet/installer@27d6769dfb 8.0.100-preview.4.23172.16 (dotnet#7910)
  [Xamarin.Android.Build.Tasks] Fix native code generation when marshal methods are disabled (dotnet#7899)
  [ci] Optimize 'APK's .NET' test job overhead. (dotnet#7904)
  [Mono.Android] delay JNINativeWrapper.get_runtime_types() (dotnet#7913)
  Bump external/Java.Interop from `73ebad2` to `53bfb4a` (dotnet#7914)
  [build] remove .NET 6 support (dotnet#7900)
  [profiled-aot] update `dotnet.aotprofile` for .NET 8 (dotnet#7908)
  [tests] Add backup ssl sites in case of 429 response. (dotnet#7909)
  $(AndroidPackVersionSuffix)=preview.4; net8 is 34.0.0-preview.4 (dotnet#7912)
  ...
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 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