You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[wasm] System.Collections.Immutable.Tests+AOT failing on rolling builds #85012
Breaking on rolling builds since Apr 17 . The changes since the previous rolling build were - c1b7a9f...63b9a3a .
[22:03:10] fail: [FAIL] System.Collections.Immutable.Tests.ImmutableListTest.BinarySearchPartialSortedList
[22:03:10] info: System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values. (Parameter 'count')
[22:03:10] info: at System.Reflection.MethodInvoker.Invoke(Object , IntPtr* , BindingFlags )
[22:04:11] fail: [FAIL] System.Collections.Immutable.Tests.ImmutableListBuilderTest.BinarySearchPartialSortedList
[22:04:11] info: System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values. (Parameter 'count')
[22:04:11] info: at System.Reflection.MethodInvoker.Invoke(Object , IntPtr* , BindingFlags )
using System;
using System.Runtime.InteropServices;
using System.Reflection;
using System.Numerics;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Runtime.CompilerServices;
public class Tests
{
public static void Main () {
try {
Main2 ();
} catch (Exception ex) {
Console.WriteLine (ex);
}
}
static void Main2 () {
ImmutableArray<int> reverseSorted = ImmutableArray.CreateRange(Enumerable.Range(1, 150).Select(n => n * 2).Reverse());
for (int i = 0; i < 100; ++i)
foo (reverseSorted);
}
static void foo (ImmutableArray<int> inputData)
{
Console.WriteLine ("1");
inputData = inputData.Sort(0, 50, Comparer<int>.Default);
Console.WriteLine ("2");
var basis = new List<int>(inputData);
for (int value = 0; value <= 100000; value++)
basis.BinarySearch(0, 50, value, null);
}
}
Fails in src/mono/samples/wasm/console-v8 when compiled make AOT=1.
Activity
[wasm] Disable failing AOT test - System.Collections.Immutable
[wasm] Disable failing AOT tests to get CI green again (#85111)
vargaz commentedon Apr 21, 2023
Seems to be caused by #83998, i.e. the emsdk bump. Not sure why CI didn't fail on the PR.
vargaz commentedon Apr 21, 2023
Testcase:
Fails in src/mono/samples/wasm/console-v8 when compiled make AOT=1.