Use string.Equals for string comparison - #1981
Build #20260131.1 had test failures
Details
- Failed: 13 (0.18%)
- Passed: 4,448 (61.49%)
- Other: 2,773 (38.33%)
- Total: 7,234
Annotations
Check failure on line 118 in Build log
azure-pipelines / IronPython3
Build log #L118
PowerShell exited with code '1'.
Check failure on line 20148 in Build log
azure-pipelines / IronPython3
Build log #L20148
PowerShell exited with code '1'.
Check failure on line 19176 in Build log
azure-pipelines / IronPython3
Build log #L19176
PowerShell exited with code '1'.
Check failure on line 20152 in Build log
azure-pipelines / IronPython3
Build log #L20152
PowerShell exited with code '1'.
azure-pipelines / IronPython3
IronPythonTest.Cases.IronPythonCases.net8.0.IronPython.modules.network_related.test__ssl
Traceback (most recent call last):
File "/home/vsts/work/1/s/tests/suite/modules/network_related/test__ssl.py", line 350, in <module>
File "/home/vsts/work/1/s/bin/Release/net8.0/lib/iptest/ipunittest.py", line 196, in run_test
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/tests/suite/modules/network_related/test__ssl.py", line 161, in test_SSLType_issuer
self.assertIn(SSL_ISSUER, issuer)
AssertionError: 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q1, O=GlobalSign nv-sa, C=BE' not found in 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q4, O=GlobalSign nv-sa, C=BE'
Raw output
at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 34
at IronPythonTest.Cases.IronPythonCases.Test(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/IronPythonCases.cs:line 15
at InvokeStub_IronPythonCases.Test(Object, Span`1)
1) at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 26
at IronPythonTest.Cases.IronPythonCases.Test(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/IronPythonCases.cs:line 15
at InvokeStub_IronPythonCases.Test(Object, Span`1)
azure-pipelines / IronPython3
IronPythonTest.Cases.IronPythonCases.net6.0.IronPython.modules.network_related.test__ssl
Traceback (most recent call last):
File "/home/vsts/work/1/s/tests/suite/modules/network_related/test__ssl.py", line 350, in <module>
File "/home/vsts/work/1/s/bin/Release/net6.0/lib/iptest/ipunittest.py", line 196, in run_test
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/tests/suite/modules/network_related/test__ssl.py", line 161, in test_SSLType_issuer
self.assertIn(SSL_ISSUER, issuer)
AssertionError: 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q1, O=GlobalSign nv-sa, C=BE' not found in 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q4, O=GlobalSign nv-sa, C=BE'
Raw output
at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 40
1) at IronPythonTest.Cases.CommonCases.TestImpl(TestInfo testcase) in /_/tests/IronPython.Tests/Cases/CommonCases.cs:line 26
Check failure on line 1 in IronPythonTest.Cases.CPythonCases.net6.0.CPython.test_userstring
azure-pipelines / IronPython3
IronPythonTest.Cases.CPythonCases.net6.0.CPython.test_userstring
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 _)
azure-pipelines / IronPython3
IronPythonTest.Cases.IronPythonCases.net462.IronPython.modules.network_related.test__ssl
Traceback (most recent call last):
File "/home/vsts/work/1/s/tests/suite/modules/network_related/test__ssl.py", line 350, in <module>
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/bin/Release/net462/lib/iptest/ipunittest.py", line 196, in run_test
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/tests/suite/modules/network_related/test__ssl.py", line 161, in test_SSLType_issuer
self.assertIn(SSL_ISSUER, issuer)
AssertionError: 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q1, O=GlobalSign nv-sa, C=BE' not found in 'CN=GlobalSign Atlas R3 DV TLS CA 2025 Q4, O=GlobalSign nv-sa, C=BE'
Raw output
at IronPythonTest.Cases.CommonCases.TestImpl (IronPythonTest.Cases.TestInfo testcase) [0x00072] in <bf8f50df9ea74e78b9e5cbd550d7b161>:0
at IronPythonTest.Cases.IronPythonCases.Test (IronPythonTest.Cases.TestInfo testcase) [0x00000] in <bf8f50df9ea74e78b9e5cbd550d7b161>:0
1) at IronPythonTest.Cases.CommonCases.TestImpl (IronPythonTest.Cases.TestInfo testcase) [0x00000] in <bf8f50df9ea74e78b9e5cbd550d7b161>:0
at IronPythonTest.Cases.IronPythonCases.Test (IronPythonTest.Cases.TestInfo testcase) [0x00000] in <bf8f50df9ea74e78b9e5cbd550d7b161>:0