Skip to content

PR #340

PR #340 #181

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

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

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

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

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

1 tests were completed in 5s 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.12-net8.0.trx

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

Test suite Passed Failed Skipped Time
CSnakes.Runtime.Tests.Converter.BigIntegerConverterTest 1✔️ 56ms
CSnakes.Runtime.Tests.Converter.BoolConverterTest 2✔️ 90ms
CSnakes.Runtime.Tests.Converter.BytesConverterTest 2✔️ 95ms
CSnakes.Runtime.Tests.Converter.DictionaryConverterTest 1✔️ 63ms
CSnakes.Runtime.Tests.Converter.DoubleConverterTest 10✔️ 754ms
CSnakes.Runtime.Tests.Converter.ListConverterTest 1✔️ 63ms
CSnakes.Runtime.Tests.Converter.LongConverterTest 7✔️ 487ms
CSnakes.Runtime.Tests.Converter.TupleConverterTests 5✔️ 246ms
CSnakes.Runtime.Tests.Converter.UnicodeConverterTest 6✔️ 335ms
CSnakes.Runtime.Tests.Locators.NuGetLocatorTests 1✔️ 7✖️ 14ms
CSnakes.Runtime.Tests.Locators.PythonLocatorTests 6✔️ 10✖️ 11ms
CSnakes.Runtime.Tests.Python.ImmortalTests 5✔️ 1s
CSnakes.Runtime.Tests.Python.ImportTests 3✔️ 147ms
CSnakes.Runtime.Tests.Python.PyDictionaryTests 6✔️ 504ms
CSnakes.Runtime.Tests.Python.PyObjectTests 45✔️ 3s
CSnakes.Runtime.Tests.Python.RunTests 3✔️ 1❌ 178ms
CSnakes.Runtime.Tests.ServiceCollectionTests 19✔️ 275ms

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

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

Test suite Passed Failed Skipped Time
CSnakes.Runtime.Tests.Converter.BigIntegerConverterTest 1✔️ 103ms
CSnakes.Runtime.Tests.Converter.BoolConverterTest 2✔️ 70ms
CSnakes.Runtime.Tests.Converter.BytesConverterTest 2✔️ 145ms
CSnakes.Runtime.Tests.Converter.DictionaryConverterTest 1✔️ 67ms
CSnakes.Runtime.Tests.Converter.DoubleConverterTest 10✔️ 501ms
CSnakes.Runtime.Tests.Converter.ListConverterTest 1✔️ 68ms
CSnakes.Runtime.Tests.Converter.LongConverterTest 7✔️ 1s
CSnakes.Runtime.Tests.Converter.TupleConverterTests 5✔️ 612ms
CSnakes.Runtime.Tests.Converter.UnicodeConverterTest 6✔️ 350ms
CSnakes.Runtime.Tests.Locators.NuGetLocatorTests 1✔️ 7✖️ 13ms
CSnakes.Runtime.Tests.Locators.PythonLocatorTests 6✔️ 10✖️ 12ms
CSnakes.Runtime.Tests.Python.ImmortalTests 5✔️ 546ms
CSnakes.Runtime.Tests.Python.ImportTests 3✔️ 148ms
CSnakes.Runtime.Tests.Python.PyDictionaryTests 6✔️ 319ms
CSnakes.Runtime.Tests.Python.PyObjectTests 45✔️ 3s
CSnakes.Runtime.Tests.Python.RunTests 3✔️ 1❌ 322ms
CSnakes.Runtime.Tests.ServiceCollectionTests 19✔️ 126ms

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

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

Test suite Passed Failed Skipped Time
CSnakes.Tests.CaseHelperTests 10✔️ 2ms
CSnakes.Tests.GeneratedSignatureTests 30✔️ 7s
CSnakes.Tests.PythonConstantTests+FloatTests 1✔️ 11ms
CSnakes.Tests.PythonStaticGeneratorTests 15✔️ 966ms
CSnakes.Tests.TokenizerTests 81✔️ 320ms
CSnakes.Tests.TypeReflectionTests 49✔️ 262ms

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

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

Test suite Passed Failed Skipped Time
CSnakes.Tests.CaseHelperTests 10✔️ 1ms
CSnakes.Tests.GeneratedSignatureTests 30✔️ 7s
CSnakes.Tests.PythonConstantTests+FloatTests 1✔️ 7ms
CSnakes.Tests.PythonStaticGeneratorTests 15✔️ 629ms
CSnakes.Tests.TokenizerTests 81✔️ 480ms
CSnakes.Tests.TypeReflectionTests 49✔️ 463ms

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

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

Test suite Passed Failed Skipped Time
Integration.Tests.ArgsTests 6✔️ 74ms
Integration.Tests.BasicTests 9✔️ 59ms
Integration.Tests.BufferTests 28✔️ 350ms
Integration.Tests.DefaultsTests 7✔️ 8ms
Integration.Tests.ExceptionTests 2✔️ 6ms
Integration.Tests.FalseReturns 12✔️ 12ms
Integration.Tests.GeneratorTests 2✔️ 7ms
Integration.Tests.NoneTests 2✔️ 3ms
Integration.Tests.ReloadTests 3✔️ 9ms
Integration.Tests.TestDependency 1✔️ 117ms
Integration.Tests.TestDicts 5✔️ 10ms
Integration.Tests.TupleTests 17✔️ 61ms

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

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

Test suite Passed Failed Skipped Time
Integration.Tests.ArgsTests 6✔️ 32ms
Integration.Tests.BasicTests 9✔️ 49ms
Integration.Tests.BufferTests 32✔️ 240ms
Integration.Tests.DefaultsTests 7✔️ 4ms
Integration.Tests.ExceptionTests 2✔️ 20ms
Integration.Tests.FalseReturns 12✔️ 8ms
Integration.Tests.GeneratorTests 2✔️ 15ms
Integration.Tests.NoneTests 2✔️ 9ms
Integration.Tests.ReloadTests 3✔️ 27ms
Integration.Tests.TestDependency 1✔️ 140ms
Integration.Tests.TestDicts 5✔️ 29ms
Integration.Tests.TupleTests 17✔️ 54ms

✔️ RedistributablePython.Tests-macos-latest-3.12-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✔️ 7s

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

1 tests were completed in 9s 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.12

CSnakes.Runtime.Tests.Python.RunTests ► TestSimpleStringWithLocalsAndGlobals

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