Skip to content

PR #340

PR #340 #181

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

826 passed, 2 failed and 22 skipped

Tests failed

Report Passed Failed Skipped Time
Conda.Tests-windows-latest-3.9-net8.0.trx 1✔️ 8s
Conda.Tests-windows-latest-3.9-net9.0.trx 1✔️ 6s
CSnakes.Runtime.Tests-windows-latest-3.9-net8.0.trx 129✔️ 1❌ 11✖️ 6s
CSnakes.Runtime.Tests-windows-latest-3.9-net9.0.trx 129✔️ 1❌ 11✖️ 6s
CSnakes.Tests-windows-latest-3.9-net8.0.trx 186✔️ 10s
CSnakes.Tests-windows-latest-3.9-net9.0.trx 186✔️ 28s
Integration.Tests-windows-latest-3.9-net8.0.trx 94✔️ 19s
Integration.Tests-windows-latest-3.9-net9.0.trx 98✔️ 19s
RedistributablePython.Tests-windows-latest-3.9-net8.0.trx 1✔️ 43s
RedistributablePython.Tests-windows-latest-3.9-net9.0.trx 1✔️ 41s

✔️ Conda.Tests-windows-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
Conda.Tests.BasicTests 1✔️ 3s

✔️ Conda.Tests-windows-latest-3.9-net9.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

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

141 tests were completed in 6s with 129 passed, 1 failed and 11 skipped.

Test suite Passed Failed Skipped Time
CSnakes.Runtime.Tests.Converter.BigIntegerConverterTest 1✔️ 38ms
CSnakes.Runtime.Tests.Converter.BoolConverterTest 2✔️ 28ms
CSnakes.Runtime.Tests.Converter.BytesConverterTest 2✔️ 31ms
CSnakes.Runtime.Tests.Converter.DictionaryConverterTest 1✔️ 18ms
CSnakes.Runtime.Tests.Converter.DoubleConverterTest 10✔️ 131ms
CSnakes.Runtime.Tests.Converter.ListConverterTest 1✔️ 19ms
CSnakes.Runtime.Tests.Converter.LongConverterTest 7✔️ 87ms
CSnakes.Runtime.Tests.Converter.TupleConverterTests 5✔️ 117ms
CSnakes.Runtime.Tests.Converter.UnicodeConverterTest 6✔️ 166ms
CSnakes.Runtime.Tests.Locators.NuGetLocatorTests 7✔️ 1✖️ 11ms
CSnakes.Runtime.Tests.Locators.PythonLocatorTests 6✔️ 10✖️ 12ms
CSnakes.Runtime.Tests.Python.ImmortalTests 5✔️ 185ms
CSnakes.Runtime.Tests.Python.ImportTests 3✔️ 34ms
CSnakes.Runtime.Tests.Python.PyDictionaryTests 6✔️ 54ms
CSnakes.Runtime.Tests.Python.PyObjectTests 45✔️ 602ms
CSnakes.Runtime.Tests.Python.RunTests 3✔️ 1❌ 72ms
CSnakes.Runtime.Tests.ServiceCollectionTests 19✔️ 179ms

❌ 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-windows-latest-3.9-net9.0.trx

141 tests were completed in 6s with 129 passed, 1 failed and 11 skipped.

Test suite Passed Failed Skipped Time
CSnakes.Runtime.Tests.Converter.BigIntegerConverterTest 1✔️ 44ms
CSnakes.Runtime.Tests.Converter.BoolConverterTest 2✔️ 35ms
CSnakes.Runtime.Tests.Converter.BytesConverterTest 2✔️ 46ms
CSnakes.Runtime.Tests.Converter.DictionaryConverterTest 1✔️ 27ms
CSnakes.Runtime.Tests.Converter.DoubleConverterTest 10✔️ 171ms
CSnakes.Runtime.Tests.Converter.ListConverterTest 1✔️ 21ms
CSnakes.Runtime.Tests.Converter.LongConverterTest 7✔️ 127ms
CSnakes.Runtime.Tests.Converter.TupleConverterTests 5✔️ 92ms
CSnakes.Runtime.Tests.Converter.UnicodeConverterTest 6✔️ 93ms
CSnakes.Runtime.Tests.Locators.NuGetLocatorTests 7✔️ 1✖️ 11ms
CSnakes.Runtime.Tests.Locators.PythonLocatorTests 6✔️ 10✖️ 12ms
CSnakes.Runtime.Tests.Python.ImmortalTests 5✔️ 218ms
CSnakes.Runtime.Tests.Python.ImportTests 3✔️ 39ms
CSnakes.Runtime.Tests.Python.PyDictionaryTests 6✔️ 51ms
CSnakes.Runtime.Tests.Python.PyObjectTests 45✔️ 521ms
CSnakes.Runtime.Tests.Python.RunTests 3✔️ 1❌ 72ms
CSnakes.Runtime.Tests.ServiceCollectionTests 19✔️ 152ms

❌ 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-windows-latest-3.9-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✔️ 1ms
CSnakes.Tests.GeneratedSignatureTests 30✔️ 4s
CSnakes.Tests.PythonConstantTests+FloatTests 1✔️ 1ms
CSnakes.Tests.PythonStaticGeneratorTests 15✔️ 486ms
CSnakes.Tests.TokenizerTests 81✔️ 179ms
CSnakes.Tests.TypeReflectionTests 49✔️ 31ms

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

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

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

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

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

Test suite Passed Failed Skipped Time
Integration.Tests.ArgsTests 6✔️ 35ms
Integration.Tests.BasicTests 9✔️ 56ms
Integration.Tests.BufferTests 28✔️ 257ms
Integration.Tests.DefaultsTests 7✔️ 6ms
Integration.Tests.ExceptionTests 2✔️ 7ms
Integration.Tests.FalseReturns 12✔️ 9ms
Integration.Tests.GeneratorTests 2✔️ 7ms
Integration.Tests.NoneTests 2✔️ 2ms
Integration.Tests.ReloadTests 3✔️ 10ms
Integration.Tests.TestDependency 1✔️ 84ms
Integration.Tests.TestDicts 5✔️ 10ms
Integration.Tests.TupleTests 17✔️ 41ms

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

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

Test suite Passed Failed Skipped Time
Integration.Tests.ArgsTests 6✔️ 40ms
Integration.Tests.BasicTests 9✔️ 57ms
Integration.Tests.BufferTests 32✔️ 264ms
Integration.Tests.DefaultsTests 7✔️ 8ms
Integration.Tests.ExceptionTests 2✔️ 6ms
Integration.Tests.FalseReturns 12✔️ 17ms
Integration.Tests.GeneratorTests 2✔️ 7ms
Integration.Tests.NoneTests 2✔️ 2ms
Integration.Tests.ReloadTests 3✔️ 11ms
Integration.Tests.TestDependency 1✔️ 85ms
Integration.Tests.TestDicts 5✔️ 10ms
Integration.Tests.TupleTests 17✔️ 38ms

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

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

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

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

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

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

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 windows-latest-3.9

CSnakes.Runtime.Tests.Python.RunTests ► TestSimpleStringWithLocalsAndGlobals

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