Skip to content

Add PythonCoroutine.AsTask() and GetAwaiter() for C# async interop

dfcace5
Select commit
Loading
Failed to load commit list.
Merged

Implement PEP 492: async/await support #2004

Add PythonCoroutine.AsTask() and GetAwaiter() for C# async interop
dfcace5
Select commit
Loading
Failed to load commit list.
Azure Pipelines / IronPython3 failed Feb 27, 2026 in 25m 0s

Build #20260227.3 had test failures

Details

Tests

  • Failed: 20 (0.24%)
  • Passed: 5,041 (61.42%)
  • Other: 3,147 (38.34%)
  • Total: 8,208

Annotations

Check failure on line 19282 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

Build log #L19282

PowerShell exited with code '1'.

Check failure on line 20778 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

Build log #L20778

PowerShell exited with code '1'.

Check failure on line 20781 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

Build log #L20781

PowerShell exited with code '1'.

Check failure on line 19477 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

Build log #L19477

PowerShell exited with code '1'.

Check failure on line 1 in IronPythonTest.Cases.CPythonCases.net10.0.CPython.test_base64

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

IronPythonTest.Cases.CPythonCases.net10.0.CPython.test_base64

Traceback (most recent call last):
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/test_base64.py", line 666, in <module>
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/test_base64.py", line 663, in test_main
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1812, in run_unittest
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1787, in _run_suite
test.support.TestFailed: Traceback (most recent call last):
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/test_base64.py", line 647, in test_encode_file
    output = self.get_output('-e', support.TESTFN)
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/test_base64.py", line 633, in get_output
    return subprocess.check_output(args, **options)
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/subprocess.py", line 625, in check_output
    raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command '('/home/vsts/work/1/s/bin/Release/net10.0/ipy', '-m', 'base64', '-e', '@test_4088_tmp')' returned non-zero exit status 1
Raw output
   at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 35
   at IronPythonTest.Cases.CPythonCases.Test(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CPythonCases.cs:line 15
   at InvokeStub_CPythonCases.Test(Object, Span`1)

1)    at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 27
   at IronPythonTest.Cases.CPythonCases.Test(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CPythonCases.cs:line 15
   at InvokeStub_CPythonCases.Test(Object, Span`1)

Check failure on line 1 in IronPythonTest.Cases.CPythonCases.net8.0.CPython.test_gzip

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

IronPythonTest.Cases.CPythonCases.net8.0.CPython.test_gzip

Traceback (most recent call last):
  File "/Users/runner/work/1/s/src/core/IronPython.StdLib/lib/test/test_gzip.py", line 591, in test_main
  File "/Users/runner/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1812, in run_unittest
  File "/Users/runner/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1787, in _run_suite
  File "/Users/runner/work/1/s/src/core/IronPython.StdLib/lib/test/test_gzip.py", line 594, in <module>
test.support.TestFailed: Traceback (most recent call last):
  File "/Users/runner/work/1/s/src/core/IronPython.StdLib/lib/test/test_gzip.py", line 164, in test_many_append
    self.assertEqual(contents, b'a'*201)
AssertionError: b'aaa[81 chars]aaaaa' != b'aaa[81 chars]aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa[67 chars]aaaa'
Raw output
   at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 35
   at InvokeStub_CPythonCases.Test(Object, Span`1)

1)    at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 27
   at InvokeStub_CPythonCases.Test(Object, Span`1)

Check failure on line 1 in IronPythonTest.Cases.CPythonCases.net8.0.CPython.test_file

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

IronPythonTest.Cases.CPythonCases.net8.0.CPython.test_file

  Expected: 0
  But was:  1
Raw output
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

1)    at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass4_0.<PerformWork>b__0()
   at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)

Check failure on line 1 in IronPythonTest.Cases.CPythonCases.net8.0.CPython.test_platform

See this annotation in the file changed.

@azure-pipelines azure-pipelines / IronPython3

IronPythonTest.Cases.CPythonCases.net8.0.CPython.test_platform

Traceback (most recent call last):
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/test_platform.py", line 321, in <module>
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/test_platform.py", line 316, in test_main
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1787, in _run_suite
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/support/__init__.py", line 1812, in run_unittest
test.support.TestFailed: Traceback (most recent call last):
  File "/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/test_platform.py", line 35, in test_architecture_via_symlink
    os.remove(link)
FileNotFoundError: [Errno 2] The system cannot find the file specified: '/home/vsts/work/1/s/src/core/IronPython.StdLib/lib/test/@test_4026_tmp'
Raw output
   at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 35
   at InvokeStub_CPythonCases.Test(Object, Span`1)

1)    at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 27
   at InvokeStub_CPythonCases.Test(Object, Span`1)