Skip to content

PR #340

PR #340 #181

GitHub Actions / .NET Test report ubuntu-latest-3.13 failed Jan 15, 2025 in 1s

814 passed, 2 failed and 34 skipped

Tests failed

Report Passed Failed Skipped Time
Conda.Tests-ubuntu-latest-3.13-net8.0.trx 1✔️ 9s
Conda.Tests-ubuntu-latest-3.13-net9.0.trx 1✔️ 8s
CSnakes.Runtime.Tests-ubuntu-latest-3.13-net8.0.trx 123✔️ 1❌ 17✖️ 10s
CSnakes.Runtime.Tests-ubuntu-latest-3.13-net9.0.trx 123✔️ 1❌ 17✖️ 8s
CSnakes.Tests-ubuntu-latest-3.13-net8.0.trx 186✔️ 16s
CSnakes.Tests-ubuntu-latest-3.13-net9.0.trx 186✔️ 15s
Integration.Tests-ubuntu-latest-3.13-net8.0.trx 94✔️ 22s
Integration.Tests-ubuntu-latest-3.13-net9.0.trx 98✔️ 22s
RedistributablePython.Tests-ubuntu-latest-3.13-net8.0.trx 1✔️ 17s
RedistributablePython.Tests-ubuntu-latest-3.13-net9.0.trx 1✔️ 10s

✔️ Conda.Tests-ubuntu-latest-3.13-net8.0.trx

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

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

✔️ Conda.Tests-ubuntu-latest-3.13-net9.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✔️ 2s

❌ CSnakes.Runtime.Tests-ubuntu-latest-3.13-net8.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✔️ 45ms
CSnakes.Runtime.Tests.Converter.BoolConverterTest 2✔️ 45ms
CSnakes.Runtime.Tests.Converter.BytesConverterTest 2✔️ 63ms
CSnakes.Runtime.Tests.Converter.DictionaryConverterTest 1✔️ 48ms
CSnakes.Runtime.Tests.Converter.DoubleConverterTest 10✔️ 309ms
CSnakes.Runtime.Tests.Converter.ListConverterTest 1✔️ 25ms
CSnakes.Runtime.Tests.Converter.LongConverterTest 7✔️ 201ms
CSnakes.Runtime.Tests.Converter.TupleConverterTests 5✔️ 181ms
CSnakes.Runtime.Tests.Converter.UnicodeConverterTest 6✔️ 132ms
CSnakes.Runtime.Tests.Locators.NuGetLocatorTests 1✔️ 7✖️ 29ms
CSnakes.Runtime.Tests.Locators.PythonLocatorTests 6✔️ 10✖️ 12ms
CSnakes.Runtime.Tests.Python.ImmortalTests 5✔️ 292ms
CSnakes.Runtime.Tests.Python.ImportTests 3✔️ 120ms
CSnakes.Runtime.Tests.Python.PyDictionaryTests 6✔️ 134ms
CSnakes.Runtime.Tests.Python.PyObjectTests 45✔️ 1s
CSnakes.Runtime.Tests.Python.RunTests 3✔️ 1❌ 74ms
CSnakes.Runtime.Tests.ServiceCollectionTests 19✔️ 486ms

❌ 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-ubuntu-latest-3.13-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✔️ 35ms
CSnakes.Runtime.Tests.Converter.BoolConverterTest 2✔️ 41ms
CSnakes.Runtime.Tests.Converter.BytesConverterTest 2✔️ 44ms
CSnakes.Runtime.Tests.Converter.DictionaryConverterTest 1✔️ 26ms
CSnakes.Runtime.Tests.Converter.DoubleConverterTest 10✔️ 177ms
CSnakes.Runtime.Tests.Converter.ListConverterTest 1✔️ 21ms
CSnakes.Runtime.Tests.Converter.LongConverterTest 7✔️ 214ms
CSnakes.Runtime.Tests.Converter.TupleConverterTests 5✔️ 137ms
CSnakes.Runtime.Tests.Converter.UnicodeConverterTest 6✔️ 105ms
CSnakes.Runtime.Tests.Locators.NuGetLocatorTests 1✔️ 7✖️ 16ms
CSnakes.Runtime.Tests.Locators.PythonLocatorTests 6✔️ 10✖️ 21ms
CSnakes.Runtime.Tests.Python.ImmortalTests 5✔️ 191ms
CSnakes.Runtime.Tests.Python.ImportTests 3✔️ 47ms
CSnakes.Runtime.Tests.Python.PyDictionaryTests 6✔️ 107ms
CSnakes.Runtime.Tests.Python.PyObjectTests 45✔️ 897ms
CSnakes.Runtime.Tests.Python.RunTests 3✔️ 1❌ 71ms
CSnakes.Runtime.Tests.ServiceCollectionTests 19✔️ 267ms

❌ 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-ubuntu-latest-3.13-net8.0.trx

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

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

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

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

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

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

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

Test suite Passed Failed Skipped Time
Integration.Tests.ArgsTests 6✔️ 63ms
Integration.Tests.BasicTests 9✔️ 117ms
Integration.Tests.BufferTests 28✔️ 439ms
Integration.Tests.DefaultsTests 7✔️ 18ms
Integration.Tests.ExceptionTests 2✔️ 25ms
Integration.Tests.FalseReturns 12✔️ 30ms
Integration.Tests.GeneratorTests 2✔️ 15ms
Integration.Tests.NoneTests 2✔️ 5ms
Integration.Tests.ReloadTests 3✔️ 19ms
Integration.Tests.TestDependency 1✔️ 168ms
Integration.Tests.TestDicts 5✔️ 25ms
Integration.Tests.TupleTests 17✔️ 100ms

✔️ Integration.Tests-ubuntu-latest-3.13-net9.0.trx

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

Test suite Passed Failed Skipped Time
Integration.Tests.ArgsTests 6✔️ 53ms
Integration.Tests.BasicTests 9✔️ 102ms
Integration.Tests.BufferTests 32✔️ 296ms
Integration.Tests.DefaultsTests 7✔️ 14ms
Integration.Tests.ExceptionTests 2✔️ 17ms
Integration.Tests.FalseReturns 12✔️ 15ms
Integration.Tests.GeneratorTests 2✔️ 9ms
Integration.Tests.NoneTests 2✔️ 2ms
Integration.Tests.ReloadTests 3✔️ 10ms
Integration.Tests.TestDependency 1✔️ 115ms
Integration.Tests.TestDicts 5✔️ 25ms
Integration.Tests.TupleTests 17✔️ 55ms

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

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

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

✔️ RedistributablePython.Tests-ubuntu-latest-3.13-net9.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

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 ubuntu-latest-3.13

CSnakes.Runtime.Tests.Python.RunTests ► TestSimpleStringWithLocalsAndGlobals

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