Skip to content

PR #340

PR #340 #181

GitHub Actions / .NET Test report macos-latest-3.9 failed Jan 15, 2025 in 0s

814 passed, 2 failed and 34 skipped

Tests failed

Report Passed Failed Skipped Time
Conda.Tests-macos-latest-3.9-net8.0.trx 1✔️ 4s
Conda.Tests-macos-latest-3.9-net9.0.trx 1✔️ 4s
CSnakes.Runtime.Tests-macos-latest-3.9-net8.0.trx 123✔️ 1❌ 17✖️ 8s
CSnakes.Runtime.Tests-macos-latest-3.9-net9.0.trx 123✔️ 1❌ 17✖️ 8s
CSnakes.Tests-macos-latest-3.9-net8.0.trx 186✔️ 7s
CSnakes.Tests-macos-latest-3.9-net9.0.trx 186✔️ 7s
Integration.Tests-macos-latest-3.9-net8.0.trx 94✔️ 12s
Integration.Tests-macos-latest-3.9-net9.0.trx 98✔️ 9s
RedistributablePython.Tests-macos-latest-3.9-net8.0.trx 1✔️ 8s
RedistributablePython.Tests-macos-latest-3.9-net9.0.trx 1✔️ 8s

✔️ Conda.Tests-macos-latest-3.9-net8.0.trx

1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Conda.Tests.BasicTests 1✔️ 2s

✔️ Conda.Tests-macos-latest-3.9-net9.0.trx

1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Conda.Tests.BasicTests 1✔️ 2s

❌ CSnakes.Runtime.Tests-macos-latest-3.9-net8.0.trx

141 tests were completed in 8s with 123 passed, 1 failed and 17 skipped.

Test suite Passed Failed Skipped Time
CSnakes.Runtime.Tests.Converter.BigIntegerConverterTest 1✔️ 34ms
CSnakes.Runtime.Tests.Converter.BoolConverterTest 2✔️ 152ms
CSnakes.Runtime.Tests.Converter.BytesConverterTest 2✔️ 95ms
CSnakes.Runtime.Tests.Converter.DictionaryConverterTest 1✔️ 90ms
CSnakes.Runtime.Tests.Converter.DoubleConverterTest 10✔️ 647ms
CSnakes.Runtime.Tests.Converter.ListConverterTest 1✔️ 57ms
CSnakes.Runtime.Tests.Converter.LongConverterTest 7✔️ 343ms
CSnakes.Runtime.Tests.Converter.TupleConverterTests 5✔️ 223ms
CSnakes.Runtime.Tests.Converter.UnicodeConverterTest 6✔️ 330ms
CSnakes.Runtime.Tests.Locators.NuGetLocatorTests 1✔️ 7✖️ 10ms
CSnakes.Runtime.Tests.Locators.PythonLocatorTests 6✔️ 10✖️ 33ms
CSnakes.Runtime.Tests.Python.ImmortalTests 5✔️ 390ms
CSnakes.Runtime.Tests.Python.ImportTests 3✔️ 203ms
CSnakes.Runtime.Tests.Python.PyDictionaryTests 6✔️ 335ms
CSnakes.Runtime.Tests.Python.PyObjectTests 45✔️ 2s
CSnakes.Runtime.Tests.Python.RunTests 3✔️ 1❌ 222ms
CSnakes.Runtime.Tests.ServiceCollectionTests 19✔️ 109ms

❌ CSnakes.Runtime.Tests.Python.RunTests

❌ TestSimpleStringWithLocalsAndGlobals
	CSnakes.Runtime.PythonInvocationException : The Python runtime raised a NameError exception, see InnerException for details.
	---- CSnakes.Runtime.PythonRuntimeException : name 'b' is not defined

❌ CSnakes.Runtime.Tests-macos-latest-3.9-net9.0.trx

141 tests were completed in 8s with 123 passed, 1 failed and 17 skipped.

Test suite Passed Failed Skipped Time
CSnakes.Runtime.Tests.Converter.BigIntegerConverterTest 1✔️ 176ms
CSnakes.Runtime.Tests.Converter.BoolConverterTest 2✔️ 110ms
CSnakes.Runtime.Tests.Converter.BytesConverterTest 2✔️ 87ms
CSnakes.Runtime.Tests.Converter.DictionaryConverterTest 1✔️ 57ms
CSnakes.Runtime.Tests.Converter.DoubleConverterTest 10✔️ 1s
CSnakes.Runtime.Tests.Converter.ListConverterTest 1✔️ 44ms
CSnakes.Runtime.Tests.Converter.LongConverterTest 7✔️ 355ms
CSnakes.Runtime.Tests.Converter.TupleConverterTests 5✔️ 393ms
CSnakes.Runtime.Tests.Converter.UnicodeConverterTest 6✔️ 246ms
CSnakes.Runtime.Tests.Locators.NuGetLocatorTests 1✔️ 7✖️ 10ms
CSnakes.Runtime.Tests.Locators.PythonLocatorTests 6✔️ 10✖️ 44ms
CSnakes.Runtime.Tests.Python.ImmortalTests 5✔️ 237ms
CSnakes.Runtime.Tests.Python.ImportTests 3✔️ 154ms
CSnakes.Runtime.Tests.Python.PyDictionaryTests 6✔️ 272ms
CSnakes.Runtime.Tests.Python.PyObjectTests 45✔️ 2s
CSnakes.Runtime.Tests.Python.RunTests 3✔️ 1❌ 206ms
CSnakes.Runtime.Tests.ServiceCollectionTests 19✔️ 80ms

❌ CSnakes.Runtime.Tests.Python.RunTests

❌ TestSimpleStringWithLocalsAndGlobals
	CSnakes.Runtime.PythonInvocationException : The Python runtime raised a NameError exception, see InnerException for details.
	---- CSnakes.Runtime.PythonRuntimeException : name 'b' is not defined

✔️ CSnakes.Tests-macos-latest-3.9-net8.0.trx

186 tests were completed in 7s with 186 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CSnakes.Tests.CaseHelperTests 10✔️ 11ms
CSnakes.Tests.GeneratedSignatureTests 30✔️ 4s
CSnakes.Tests.PythonConstantTests+FloatTests 1✔️ 7ms
CSnakes.Tests.PythonStaticGeneratorTests 15✔️ 621ms
CSnakes.Tests.TokenizerTests 81✔️ 199ms
CSnakes.Tests.TypeReflectionTests 49✔️ 115ms

✔️ CSnakes.Tests-macos-latest-3.9-net9.0.trx

186 tests were completed in 7s with 186 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CSnakes.Tests.CaseHelperTests 10✔️ 0ms
CSnakes.Tests.GeneratedSignatureTests 30✔️ 4s
CSnakes.Tests.PythonConstantTests+FloatTests 1✔️ 0ms
CSnakes.Tests.PythonStaticGeneratorTests 15✔️ 538ms
CSnakes.Tests.TokenizerTests 81✔️ 127ms
CSnakes.Tests.TypeReflectionTests 49✔️ 89ms

✔️ Integration.Tests-macos-latest-3.9-net8.0.trx

94 tests were completed in 12s with 94 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Integration.Tests.ArgsTests 6✔️ 18ms
Integration.Tests.BasicTests 9✔️ 41ms
Integration.Tests.BufferTests 28✔️ 209ms
Integration.Tests.DefaultsTests 7✔️ 3ms
Integration.Tests.ExceptionTests 2✔️ 40ms
Integration.Tests.FalseReturns 12✔️ 5ms
Integration.Tests.GeneratorTests 2✔️ 3ms
Integration.Tests.NoneTests 2✔️ 3ms
Integration.Tests.ReloadTests 3✔️ 5ms
Integration.Tests.TestDependency 1✔️ 57ms
Integration.Tests.TestDicts 5✔️ 5ms
Integration.Tests.TupleTests 17✔️ 31ms

✔️ Integration.Tests-macos-latest-3.9-net9.0.trx

98 tests were completed in 9s with 98 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Integration.Tests.ArgsTests 6✔️ 15ms
Integration.Tests.BasicTests 9✔️ 35ms
Integration.Tests.BufferTests 32✔️ 187ms
Integration.Tests.DefaultsTests 7✔️ 3ms
Integration.Tests.ExceptionTests 2✔️ 3ms
Integration.Tests.FalseReturns 12✔️ 4ms
Integration.Tests.GeneratorTests 2✔️ 4ms
Integration.Tests.NoneTests 2✔️ 3ms
Integration.Tests.ReloadTests 3✔️ 7ms
Integration.Tests.TestDependency 1✔️ 53ms
Integration.Tests.TestDicts 5✔️ 5ms
Integration.Tests.TupleTests 17✔️ 35ms

✔️ RedistributablePython.Tests-macos-latest-3.9-net8.0.trx

1 tests were completed in 8s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
RedistributablePython.Tests.BasicTests 1✔️ 7s

✔️ RedistributablePython.Tests-macos-latest-3.9-net9.0.trx

1 tests were completed in 8s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
RedistributablePython.Tests.BasicTests 1✔️ 6s

Annotations

Check failure on line 19 in src/CSnakes.Runtime/Python/PyObject.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Test report macos-latest-3.9

CSnakes.Runtime.Tests.Python.RunTests ► TestSimpleStringWithLocalsAndGlobals

Failed test found in:
  CSnakes.Runtime.Tests-macos-latest-3.9-net8.0.trx
  CSnakes.Runtime.Tests-macos-latest-3.9-net9.0.trx
Error:
  CSnakes.Runtime.PythonInvocationException : The Python runtime raised a NameError exception, see InnerException for details.
  ---- CSnakes.Runtime.PythonRuntimeException : name 'b' is not defined
Raw output
CSnakes.Runtime.PythonInvocationException : The Python runtime raised a NameError exception, see InnerException for details.
---- CSnakes.Runtime.PythonRuntimeException : name 'b' is not defined
   at CSnakes.Runtime.Python.PyObject..ctor(IntPtr pyObject, Boolean ownsHandle) in /_/src/CSnakes.Runtime/Python/PyObject.cs:line 19
   at CSnakes.Runtime.Python.PyObject.Create(IntPtr ptr) in /_/src/CSnakes.Runtime/Python/PyObject.cs:line 27
   at CSnakes.Runtime.CPython.CPythonAPI.PyRun_String(String str, InputType start, PyObject globals, PyObject locals) in /_/src/CSnakes.Runtime/CPython/Run.cs:line 15
   at CSnakes.Runtime.PythonEnvironment.Execute(String code, IDictionary`2 locals) in /_/src/CSnakes.Runtime/PythonEnvironment.cs:line 165
   at CSnakes.Runtime.Tests.Python.RunTests.TestSimpleStringWithLocalsAndGlobals() in /_/src/CSnakes.Runtime.Tests/Python/RunTests.cs:line 41
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
----- Inner Stack Trace -----
  File "<string>", line 1, in <module>