Skip to content

Remove ADAL dependency: Migrate Windows AAD Integrated Auth to MSQA APIs via mssql-auth.dll.#2864

Merged
Ananya2 merged 4 commits into
mainfrom
user/anagarg/deprecate-adal
Mar 3, 2026
Merged

Remove ADAL dependency: Migrate Windows AAD Integrated Auth to MSQA APIs via mssql-auth.dll.#2864
Ananya2 merged 4 commits into
mainfrom
user/anagarg/deprecate-adal

Merge branch 'main' into user/anagarg/deprecate-adal

6ccd452
Select commit
Loading
Failed to load commit list.
Azure Pipelines / public-mssql-jdbc.linux succeeded Feb 20, 2026 in 28m 41s

Build #20260220.2 had test failures

Details

Tests

  • Failed: 4 (0.06%)
  • Passed: 6,171 (98.58%)
  • Other: 85 (1.36%)
  • Total: 6,260

Annotations

Check failure on line 45268 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

Build log #L45268

Build failed.

Check failure on line 46730 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

Build log #L46730

Build failed.

Check failure on line 47487 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

Build log #L47487

Build failed.

Check failure on line 1 in testGetDBColumn

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

testGetDBColumn

Unexpected error message occurred!An error occurred during the current command (Done status 0). Transaction (Process ID 70) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Raw output
org.opentest4j.AssertionFailedError: Unexpected error message occurred!An error occurred during the current command (Done status 0). Transaction (Process ID 70) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
	at com.microsoft.sqlserver.jdbc.databasemetadata.DatabaseMetaDataTest.testGetDBColumn(DatabaseMetaDataTest.java:556)

Check failure on line 1 in testGetIndexInfoCaseSensitivity

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

testGetIndexInfoCaseSensitivity

expected: <col1_jdbc_cloudtest_'bfd43fa4-250e-4c4f-8a21-9a7311e361e6> but was: <col1_jdbc_cloudtest_'8f9db56e-c9b3-40b3-9617-6353f5dd603f>
Raw output
org.opentest4j.AssertionFailedError: expected: <col1_jdbc_cloudtest_'bfd43fa4-250e-4c4f-8a21-9a7311e361e6> but was: <col1_jdbc_cloudtest_'8f9db56e-c9b3-40b3-9617-6353f5dd603f>
	at com.microsoft.sqlserver.jdbc.databasemetadata.DatabaseMetaDataTest$DatabaseMetadataGetIndexInfoTest.testGetIndexInfoCaseSensitivity(DatabaseMetaDataTest.java:2257)

Check failure on line 1 in testSeverity20FatalErrorSimulation

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

testSeverity20FatalErrorSimulation

Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
Raw output
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: java.lang.reflect.InvocationTargetException
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: org.mockito.exceptions.base.MockitoInitializationException: 

Could not initialize inline Byte Buddy mock maker.

It appears as if your JDK does not supply a working agent attachment mechanism.
Java               : 25
JVM vendor name    : Oracle Corporation
JVM vendor version : 25.0.1+8-LTS-27
JVM name           : Java HotSpot(TM) 64-Bit Server VM
JVM version        : 25.0.1+8-LTS-27
JVM info           : mixed mode, sharing
OS name            : Windows
OS version         : 5.15.0-1086-azure

	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: java.lang.IllegalStateException: Error during attachment using: net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound@16a1057e
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: java.io.IOException: Cannot run program "/opt/hostedtoolcache/jdk/bin/java.exe": Exec failed, error: 2 (No such file or directory) 
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: java.io.IOException: Exec failed, error: 2 (No such file or directory) 
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)

Check failure on line 1 in testSeverity20FatalErrorSimulation

See this annotation in the file changed.

@azure-pipelines azure-pipelines / public-mssql-jdbc.linux

testSeverity20FatalErrorSimulation

Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
Raw output
java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: java.lang.IllegalStateException: Internal problem occurred, please report it. Mockito is unable to load the default implementation of class that is a part of Mockito distribution. Failed to load interface org.mockito.plugins.MockMaker
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: java.lang.reflect.InvocationTargetException
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: org.mockito.exceptions.base.MockitoInitializationException: 

Could not initialize inline Byte Buddy mock maker.

It appears as if your JDK does not supply a working agent attachment mechanism.
Java               : 25
JVM vendor name    : Oracle Corporation
JVM vendor version : 25.0.1+8-LTS-27
JVM name           : Java HotSpot(TM) 64-Bit Server VM
JVM version        : 25.0.1+8-LTS-27
JVM info           : mixed mode, sharing
OS name            : Windows
OS version         : 5.15.0-1086-azure

	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: java.lang.IllegalStateException: Error during attachment using: net.bytebuddy.agent.ByteBuddyAgent$AttachmentProvider$Compound@7589371f
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: java.io.IOException: Cannot run program "/opt/hostedtoolcache/jdk/bin/java.exe": Exec failed, error: 2 (No such file or directory) 
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)
Caused by: java.io.IOException: Exec failed, error: 2 (No such file or directory) 
	at com.microsoft.sqlserver.jdbc.TDSTokenHandlerTest.setUp(TDSTokenHandlerTest.java:31)