Skip to content

Merge pull request #6379 from smoogipoo/fix-ios-ci-build #6505

Merge pull request #6379 from smoogipoo/fix-ios-ci-build

Merge pull request #6379 from smoogipoo/fix-ios-ci-build #6505

GitHub Actions / Test Results (macOS, MultiThreaded, Debug) failed Sep 27, 2024 in 1s

3147 passed, 1 failed and 79 skipped

Tests failed

❌ TestResults-macOS-MultiThreaded-Debug.trx

3227 tests were completed in 718s with 3147 passed, 1 failed and 79 skipped.

Test suite Passed Failed Skipped Time
osu.Framework.Tests.Graphics.TripleBufferTest 5✅ 1❌ 964ms

❌ osu.Framework.Tests.Graphics.TripleBufferTest

✅ TestReadOnly
❌ TestReadSaturated
	System.AggregateException : One or more errors occurred. (  Expected: <osu.Framework.Tests.Graphics.TripleBufferTest+TestObject ID: 7>
	  But was:  null
	)
	  ----> NUnit.Framework.AssertionException :   Expected: <osu.Framework.Tests.Graphics.TripleBufferTest+TestObject ID: 7>
	  But was:  null
	
	
	  1)   Expected: <osu.Framework.Tests.Graphics.TripleBufferTest+TestObject ID: 7>
	  But was:  null
	
	
✅ TestSameBufferIsNotWrittenTwiceInRowContestation
✅ TestSameBufferIsNotWrittenTwiceInRowNoContestation
✅ TestWriteOnly
✅ TestWriteThenRead

Annotations

Check failure on line 22 in osu.Framework/Extensions/TaskExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results (macOS, MultiThreaded, Debug)

osu.Framework.Tests.Graphics.TripleBufferTest ► TestReadSaturated

Failed test found in:
  TestResults-macOS-MultiThreaded-Debug.trx
Error:
  System.AggregateException : One or more errors occurred. (  Expected: <osu.Framework.Tests.Graphics.TripleBufferTest+TestObject ID: 7>
    But was:  null
  )
    ----> NUnit.Framework.AssertionException :   Expected: <osu.Framework.Tests.Graphics.TripleBufferTest+TestObject ID: 7>
    But was:  null
  
  
    1)   Expected: <osu.Framework.Tests.Graphics.TripleBufferTest+TestObject ID: 7>
    But was:  null
  
  
Raw output
System.AggregateException : One or more errors occurred. (  Expected: <osu.Framework.Tests.Graphics.TripleBufferTest+TestObject ID: 7>
  But was:  null
)
  ----> NUnit.Framework.AssertionException :   Expected: <osu.Framework.Tests.Graphics.TripleBufferTest+TestObject ID: 7>
  But was:  null


  1)   Expected: <osu.Framework.Tests.Graphics.TripleBufferTest+TestObject ID: 7>
  But was:  null


   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at osu.Framework.Extensions.TaskExtensions.WaitSafely(Task task) in /Users/runner/work/osu-framework/osu-framework/osu.Framework/Extensions/TaskExtensions.cs:line 22
   at osu.Framework.Tests.Graphics.TripleBufferTest.TestReadSaturated() in /Users/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Graphics/TripleBufferTest.cs:line 136
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--AssertionException
   at NUnit.Framework.Assert.ReportFailure(String message)
   at NUnit.Framework.Assert.ReportFailure(ConstraintResult result, String message, Object[] args)
   at NUnit.Framework.Assert.That[TActual](TActual actual, IResolveConstraint expression, String message, Object[] args)
   at NUnit.Framework.Assert.That[TActual](TActual actual, IResolveConstraint expression)
   at osu.Framework.Tests.Graphics.TripleBufferTest.<>c__DisplayClass5_1.<TestReadSaturated>b__0() in /Users/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Graphics/TripleBufferTest.cs:line 124
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
1)    at osu.Framework.Tests.Graphics.TripleBufferTest.<>c__DisplayClass5_1.<TestReadSaturated>b__0() in /Users/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Graphics/TripleBufferTest.cs:line 124

2)    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at osu.Framework.Extensions.TaskExtensions.WaitSafely(Task task) in /Users/runner/work/osu-framework/osu-framework/osu.Framework/Extensions/TaskExtensions.cs:line 22
   at osu.Framework.Tests.Graphics.TripleBufferTest.TestReadSaturated() in /Users/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Graphics/TripleBufferTest.cs:line 136
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--AssertionException
   at NUnit.Framework.Assert.ReportFailure(String message)
   at NUnit.Framework.Assert.ReportFailure(ConstraintResult result, String message, Object[] args)
   at NUnit.Framework.Assert.That[TActual](TActual actual, IResolveConstraint expression, String message, Object[] args)
   at NUnit.Framework.Assert.That[TActual](TActual actual, IResolveConstraint expression)
   at osu.Framework.Tests.Graphics.TripleBufferTest.<>c__DisplayClass5_1.<TestReadSaturated>b__0() in /Users/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Graphics/TripleBufferTest.cs:line 124
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)