Skip to content

PR #340

PR #340 #181

GitHub Actions / .NET Test report macos-latest-3.13 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.13-net8.0.trx 1✔️ 4s
Conda.Tests-macos-latest-3.13-net9.0.trx 1✔️ 3s
CSnakes.Runtime.Tests-macos-latest-3.13-net8.0.trx 123✔️ 1❌ 17✖️ 9s
CSnakes.Runtime.Tests-macos-latest-3.13-net9.0.trx 123✔️ 1❌ 17✖️ 10s
CSnakes.Tests-macos-latest-3.13-net8.0.trx 186✔️ 10s
CSnakes.Tests-macos-latest-3.13-net9.0.trx 186✔️ 10s
Integration.Tests-macos-latest-3.13-net8.0.trx 94✔️ 14s
Integration.Tests-macos-latest-3.13-net9.0.trx 98✔️ 9s
RedistributablePython.Tests-macos-latest-3.13-net8.0.trx 1✔️ 10s
RedistributablePython.Tests-macos-latest-3.13-net9.0.trx 1✔️ 6s

✔️ Conda.Tests-macos-latest-3.13-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.13-net9.0.trx

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

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

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

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

Test suite Passed Failed Skipped Time
CSnakes.Runtime.Tests.Converter.BigIntegerConverterTest 1✔️ 41ms
CSnakes.Runtime.Tests.Converter.BoolConverterTest 2✔️ 74ms
CSnakes.Runtime.Tests.Converter.BytesConverterTest 2✔️ 110ms
CSnakes.Runtime.Tests.Converter.DictionaryConverterTest 1✔️ 82ms
CSnakes.Runtime.Tests.Converter.DoubleConverterTest 10✔️ 840ms
CSnakes.Runtime.Tests.Converter.ListConverterTest 1✔️ 50ms
CSnakes.Runtime.Tests.Converter.LongConverterTest 7✔️ 412ms
CSnakes.Runtime.Tests.Converter.TupleConverterTests 5✔️ 312ms
CSnakes.Runtime.Tests.Converter.UnicodeConverterTest 6✔️ 240ms
CSnakes.Runtime.Tests.Locators.NuGetLocatorTests 1✔️ 7✖️ 9ms
CSnakes.Runtime.Tests.Locators.PythonLocatorTests 6✔️ 10✖️ 12ms
CSnakes.Runtime.Tests.Python.ImmortalTests 5✔️ 330ms
CSnakes.Runtime.Tests.Python.ImportTests 3✔️ 385ms
CSnakes.Runtime.Tests.Python.PyDictionaryTests 6✔️ 301ms
CSnakes.Runtime.Tests.Python.PyObjectTests 45✔️ 2s
CSnakes.Runtime.Tests.Python.RunTests 3✔️ 1❌ 178ms
CSnakes.Runtime.Tests.ServiceCollectionTests 19✔️ 124ms

❌ 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.13-net9.0.trx

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

Test suite Passed Failed Skipped Time
CSnakes.Runtime.Tests.Converter.BigIntegerConverterTest 1✔️ 37ms
CSnakes.Runtime.Tests.Converter.BoolConverterTest 2✔️ 252ms
CSnakes.Runtime.Tests.Converter.BytesConverterTest 2✔️ 190ms
CSnakes.Runtime.Tests.Converter.DictionaryConverterTest 1✔️ 145ms
CSnakes.Runtime.Tests.Converter.DoubleConverterTest 10✔️ 577ms
CSnakes.Runtime.Tests.Converter.ListConverterTest 1✔️ 60ms
CSnakes.Runtime.Tests.Converter.LongConverterTest 7✔️ 666ms
CSnakes.Runtime.Tests.Converter.TupleConverterTests 5✔️ 434ms
CSnakes.Runtime.Tests.Converter.UnicodeConverterTest 6✔️ 395ms
CSnakes.Runtime.Tests.Locators.NuGetLocatorTests 1✔️ 7✖️ 9ms
CSnakes.Runtime.Tests.Locators.PythonLocatorTests 6✔️ 10✖️ 11ms
CSnakes.Runtime.Tests.Python.ImmortalTests 5✔️ 339ms
CSnakes.Runtime.Tests.Python.ImportTests 3✔️ 390ms
CSnakes.Runtime.Tests.Python.PyDictionaryTests 6✔️ 559ms
CSnakes.Runtime.Tests.Python.PyObjectTests 45✔️ 2s
CSnakes.Runtime.Tests.Python.RunTests 3✔️ 1❌ 229ms
CSnakes.Runtime.Tests.ServiceCollectionTests 19✔️ 92ms

❌ 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.13-net8.0.trx

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

Test suite Passed Failed Skipped Time
CSnakes.Tests.CaseHelperTests 10✔️ 0ms
CSnakes.Tests.GeneratedSignatureTests 30✔️ 5s
CSnakes.Tests.PythonConstantTests+FloatTests 1✔️ 18ms
CSnakes.Tests.PythonStaticGeneratorTests 15✔️ 672ms
CSnakes.Tests.TokenizerTests 81✔️ 337ms
CSnakes.Tests.TypeReflectionTests 49✔️ 52ms

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

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

Test suite Passed Failed Skipped Time
CSnakes.Tests.CaseHelperTests 10✔️ 6ms
CSnakes.Tests.GeneratedSignatureTests 30✔️ 6s
CSnakes.Tests.PythonConstantTests+FloatTests 1✔️ 1ms
CSnakes.Tests.PythonStaticGeneratorTests 15✔️ 639ms
CSnakes.Tests.TokenizerTests 81✔️ 155ms
CSnakes.Tests.TypeReflectionTests 49✔️ 150ms

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

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

Test suite Passed Failed Skipped Time
Integration.Tests.ArgsTests 6✔️ 17ms
Integration.Tests.BasicTests 9✔️ 34ms
Integration.Tests.BufferTests 28✔️ 245ms
Integration.Tests.DefaultsTests 7✔️ 3ms
Integration.Tests.ExceptionTests 2✔️ 7ms
Integration.Tests.FalseReturns 12✔️ 6ms
Integration.Tests.GeneratorTests 2✔️ 6ms
Integration.Tests.NoneTests 2✔️ 3ms
Integration.Tests.ReloadTests 3✔️ 25ms
Integration.Tests.TestDependency 1✔️ 68ms
Integration.Tests.TestDicts 5✔️ 5ms
Integration.Tests.TupleTests 17✔️ 28ms

✔️ Integration.Tests-macos-latest-3.13-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✔️ 17ms
Integration.Tests.BasicTests 9✔️ 38ms
Integration.Tests.BufferTests 32✔️ 261ms
Integration.Tests.DefaultsTests 7✔️ 3ms
Integration.Tests.ExceptionTests 2✔️ 6ms
Integration.Tests.FalseReturns 12✔️ 5ms
Integration.Tests.GeneratorTests 2✔️ 4ms
Integration.Tests.NoneTests 2✔️ 2ms
Integration.Tests.ReloadTests 3✔️ 5ms
Integration.Tests.TestDependency 1✔️ 74ms
Integration.Tests.TestDicts 5✔️ 6ms
Integration.Tests.TupleTests 17✔️ 25ms

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

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

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

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

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

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

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.13

CSnakes.Runtime.Tests.Python.RunTests ► TestSimpleStringWithLocalsAndGlobals

Failed test found in:
  CSnakes.Runtime.Tests-macos-latest-3.13-net8.0.trx
  CSnakes.Runtime.Tests-macos-latest-3.13-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>