Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix init file codegen #2286

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

chore: fix behavior of init files

5029dd7
Select commit
Loading
Failed to load commit list.
Open

Fix init file codegen #2286

chore: fix behavior of init files
5029dd7
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.SynapseML failed Sep 13, 2024 in 1h 38m 0s

Build #20240912.3 had test failures

Details

Tests

  • Failed: 14 (0.79%)
  • Passed: 1,742 (97.92%)
  • Other: 23 (1.29%)
  • Total: 1,779

Annotations

Check failure on line 673 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.SynapseML

Build log #L673

Script failed with exit code: 1

Check failure on line 2495 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.SynapseML

Build log #L2495

Script failed with exit code: 1

Check failure on line 929 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.SynapseML

Build log #L929

Script failed with exit code: 1

Check failure on line 780 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.SynapseML

Build log #L780

Script failed with exit code: 1

Check failure on line 1 in pipeline with analyze image

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.SynapseML

pipeline with analyze image

Failed:    response: HttpResponseProxy{HTTP/1.1 429 Too Many Requests [Cache-Control: no-cache,no-store, Pragma: no-cache, Content-Length: 366, Content-Type: application/json; charset=utf-8, Content-Language: en, Expires: -1, Server: Microsoft-IIS/10.0, request-id: 24bd9b50-5003-4ee0-90f4-f4dfda728954, elapsed-time: 166, Strict-Transport-Security: max-age=15724800; includeSubDomains, Date: Thu, 12 Sep 2024 23:36:07 GMT] ResponseEntityProxy{[Content-Type: application/json; charset=utf-8,Content-Length: 366,Chunked: false]}}    requestUrl: https://mmlspark-azure-search.search.windows.net/indexes?api-version=2023-07-01-Preview   requestBody: {"fields":[{"key":true,"name":"id","type":"Edm.String"},{"name":"url","type":"Edm.String"},{"fields":[{"name":"name","type":"Edm.String"},{"name":"score","type":"Edm.Double"},{"fields":[{"fields":[{"name":"name","type":"Edm.String"},{"fields":[{"name":"left","type":"Edm.Int32"},{"name":"top","type":"Edm.Int32"},{"name":"width","type":"Edm.Int32"},{"name":"height","type":"Edm.Int32"}],"name":"faceRectangle","type":"Edm.ComplexType"},{"name":"confidence","type":"Edm.Double"}],"name":"celebrities","type":"Collection(Edm.ComplexType)"},{"fields":[{"name":"name","type":"Edm.String"},{"name":"confidence","type":"Edm.Double"}],"name":"landmarks","type":"Collection(Edm.ComplexType)"}],"name":"detail","type":"Edm.ComplexType"}],"name":"categories","type":"Collection(Edm.ComplexType)"},{"fields":[{"name":"isAdultContent","type":"Edm.Boolean"},{"name":"isRacyContent","type":"Edm.Boolean"},{"name":"adultScore","type":"Edm.Double"},{"name":"racyScore","type":"Edm.Double"}],"name":"adult","type":"Edm.ComplexType"},{"fields":[{"name":"name","type":"Edm.String"},{"name":"confidence","type":"Edm.Double"}],"name":"tags","type":"Collection(Edm.ComplexType)"},{"fields":[{"name":"tags","type":"Collection(Edm.String)"},{"fields":[{"name":"text","type":"Edm.String"},{"name":"confidence","type":"Edm.Double"}],"name":"captions","type":"Collection(Edm.ComplexType)"}],"name":"description","type":"Edm.ComplexType"},{"name":"requestId","type":"Edm.String"},{"fields":[{"name":"width","type":"Edm.Int32"},{"name":"height","type":"Edm.Int32"},{"name":"format","type":"Edm.String"}],"name":"metadata","type":"Edm.ComplexType"},{"fields":[{"name":"age","type":"Edm.Int32"},{"name":"gender","type":"Edm.String"},{"fields":[{"name":"left","type":"Edm.Int32"},{"name":"top","type":"Edm.Int32"},{"name":"width","type":"Edm.Int32"},{"name":"height","type":"Edm.Int32"}],"name":"faceRectangle","type":"Edm.ComplexType"}],"name":"faces","type":"Collection(Edm.ComplexType)"},{"fields":[{"name":"dominantColorForeground","type":"Edm.String"},{"name":"dominantColorBackground","type":"Edm.String"},{"name":"dominantColors","type":"Collection(Edm.String)"},{"name":"accentColor","type":"Edm.String"},{"name":"isBwImg","type":"Edm.Boolean"}],"name":"color","type":"Edm.ComplexType"},{"fields":[{"name":"clipArtType","type":"Edm.Int32"},{"name":"lineDrawingType","type":"Edm.Int32"}],"name":"imageType","type":"Edm.ComplexType"},{"fields":[{"name":"name","type":"Edm.String"},{"fields":[{"name":"x","type":"Edm.Int32"},{"name":"y","type":"Edm.Int32"},{"name":"w","type":"Edm.Int32"},{"name":"h","type":"Edm.Int32"}],"name":"rectangle","type":"Edm.ComplexType"}],"name":"brands","type":"Collection(Edm.ComplexType)"},{"fields":[{"fields":[{"name":"x","type":"Edm.Int32"},{"name":"y","type":"Edm.Int32"},{"name":"w","type":"Edm.Int32"},{"name":"h","type":"Edm.Int32"}],"name":"rectangle","type":"Edm.ComplexType"},{"name":"object","type":"Edm.String"},{"name":"confidence","type":"Edm.Double"}],"name":"objects","type":"Collection(Edm.ComplexType)"}],"name":"test--78682114-20240912233603482"}   responseBody: {"error":{"code":"","message":"An index with the name 'test--78682114-20240912233603482' in service 'mmlspark-azure-search' could not be created. Index quota has been exceeded for this service. You must either delete unused indexes first, add a delay between index c
Raw output
java.lang.RuntimeException: Failed: 
	 response: HttpResponseProxy{HTTP/1.1 429 Too Many Requests [Cache-Control: no-cache,no-store, Pragma: no-cache, Content-Length: 366, Content-Type: application/json; charset=utf-8, Content-Language: en, Expires: -1, Server: Microsoft-IIS/10.0, request-id: 24bd9b50-5003-4ee0-90f4-f4dfda728954, elapsed-time: 166, Strict-Transport-Security: max-age=15724800; includeSubDomains, Date: Thu, 12 Sep 2024 23:36:07 GMT] ResponseEntityProxy{[Content-Type: application/json; charset=utf-8,Content-Length: 366,Chunked: false]}} 
	 requestUrl: https://mmlspark-azure-search.search.windows.net/indexes?api-version=2023-07-01-Preview
	 requestBody: {"fields":[{"key":true,"name":"id","type":"Edm.String"},{"name":"url","type":"Edm.String"},{"fields":[{"name":"name","type":"Edm.String"},{"name":"score","type":"Edm.Double"},{"fields":[{"fields":[{"name":"name","type":"Edm.String"},{"fields":[{"name":"left","type":"Edm.Int32"},{"name":"top","type":"Edm.Int32"},{"name":"width","type":"Edm.Int32"},{"name":"height","type":"Edm.Int32"}],"name":"faceRectangle","type":"Edm.ComplexType"},{"name":"confidence","type":"Edm.Double"}],"name":"celebrities","type":"Collection(Edm.ComplexType)"},{"fields":[{"name":"name","type":"Edm.String"},{"name":"confidence","type":"Edm.Double"}],"name":"landmarks","type":"Collection(Edm.ComplexType)"}],"name":"detail","type":"Edm.ComplexType"}],"name":"categories","type":"Collection(Edm.ComplexType)"},{"fields":[{"name":"isAdultContent","type":"Edm.Boolean"},{"name":"isRacyContent","type":"Edm.Boolean"},{"name":"adultScore","type":"Edm.Double"},{"name":"racyScore","type":"Edm.Double"}],"name":"adult","type":"Edm.ComplexType"},{"fields":[{"name":"name","type":"Edm.String"},{"name":"confidence","type":"Edm.Double"}],"name":"tags","type":"Collection(Edm.ComplexType)"},{"fields":[{"name":"tags","type":"Collection(Edm.String)"},{"fields":[{"name":"text","type":"Edm.String"},{"name":"confidence","type":"Edm.Double"}],"name":"captions","type":"Collection(Edm.ComplexType)"}],"name":"description","type":"Edm.ComplexType"},{"name":"requestId","type":"Edm.String"},{"fields":[{"name":"width","type":"Edm.Int32"},{"name":"height","type":"Edm.Int32"},{"name":"format","type":"Edm.String"}],"name":"metadata","type":"Edm.ComplexType"},{"fields":[{"name":"age","type":"Edm.Int32"},{"name":"gender","type":"Edm.String"},{"fields":[{"name":"left","type":"Edm.Int32"},{"name":"top","type":"Edm.Int32"},{"name":"width","type":"Edm.Int32"},{"name":"height","type":"Edm.Int32"}],"name":"faceRectangle","type":"Edm.ComplexType"}],"name":"faces","type":"Collection(Edm.ComplexType)"},{"fields":[{"name":"dominantColorForeground","type":"Edm.String"},{"name":"dominantColorBackground","type":"Edm.String"},{"name":"dominantColors","type":"Collection(Edm.String)"},{"name":"accentColor","type":"Edm.String"},{"name":"isBwImg","type":"Edm.Boolean"}],"name":"color","type":"Edm.ComplexType"},{"fields":[{"name":"clipArtType","type":"Edm.Int32"},{"name":"lineDrawingType","type":"Edm.Int32"}],"name":"imageType","type":"Edm.ComplexType"},{"fields":[{"name":"name","type":"Edm.String"},{"fields":[{"name":"x","type":"Edm.Int32"},{"name":"y","type":"Edm.Int32"},{"name":"w","type":"Edm.Int32"},{"name":"h","type":"Edm.Int32"}],"name":"rectangle","type":"Edm.ComplexType"}],"name":"brands","type":"Collection(Edm.ComplexType)"},{"fields":[{"fields":[{"name":"x","type":"Edm.Int32"},{"name":"y","type":"Edm.Int32"},{"name":"w","type":"Edm.Int32"},{"name":"h","type":"Edm.Int32"}],"name":"rectangle","type":"Edm.ComplexType"},{"name":"object","type":"Edm.String"},{"name":"confidence","type":"Edm.Double"}],"name":"objects","type":"Collection(Edm.ComplexType)"}],"name":"test--78682114-20240912233603482"}
	 responseBody: {"error":{"code":"","message":"An index with the name 'test--78682114-20240912233603482' in service 'mmlspark-azure-search' could not be created. Index quota has been exceeded for this service. You must either delete unused indexes first,

Check failure on line 1 in Run azure-search tests with vector fields

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.SynapseML

Run azure-search tests with vector fields

Failed:    response: HttpResponseProxy{HTTP/1.1 429 Too Many Requests [Cache-Control: no-cache,no-store, Pragma: no-cache, Content-Length: 367, Content-Type: application/json; charset=utf-8, Content-Language: en, Expires: -1, Server: Microsoft-IIS/10.0, request-id: f825d87d-381c-43b6-a4e0-7eedd78ec91e, elapsed-time: 186, Strict-Transport-Security: max-age=15724800; includeSubDomains, Date: Thu, 12 Sep 2024 23:36:10 GMT] ResponseEntityProxy{[Content-Type: application/json; charset=utf-8,Content-Length: 367,Chunked: false]}}    requestUrl: https://mmlspark-azure-search.search.windows.net/indexes?api-version=2023-07-01-Preview   requestBody: {"fields":[{"facetable":false,"key":true,"name":"id","type":"Edm.String"},{"facetable":false,"name":"fileName","searchable":false,"sortable":false,"type":"Edm.String"},{"dimensions":3,"name":"vectorCol","type":"Collection(Edm.Single)","vectorSearchConfiguration":"vectorConfig"}],"name":"test--702874643-20240912233607509","vectorSearch":{"algorithmConfigurations":[{"kind":"hnsw","name":"vectorConfig"}]}}   responseBody: {"error":{"code":"","message":"An index with the name 'test--702874643-20240912233607509' in service 'mmlspark-azure-search' could not be created. Index quota has been exceeded for this service. You must either delete unused indexes first, add a delay between index creation requests, or upgrade the service for higher limits. Maximum number of indexes allowed: 50"}}
Raw output
java.lang.RuntimeException: Failed: 
	 response: HttpResponseProxy{HTTP/1.1 429 Too Many Requests [Cache-Control: no-cache,no-store, Pragma: no-cache, Content-Length: 367, Content-Type: application/json; charset=utf-8, Content-Language: en, Expires: -1, Server: Microsoft-IIS/10.0, request-id: f825d87d-381c-43b6-a4e0-7eedd78ec91e, elapsed-time: 186, Strict-Transport-Security: max-age=15724800; includeSubDomains, Date: Thu, 12 Sep 2024 23:36:10 GMT] ResponseEntityProxy{[Content-Type: application/json; charset=utf-8,Content-Length: 367,Chunked: false]}} 
	 requestUrl: https://mmlspark-azure-search.search.windows.net/indexes?api-version=2023-07-01-Preview
	 requestBody: {"fields":[{"facetable":false,"key":true,"name":"id","type":"Edm.String"},{"facetable":false,"name":"fileName","searchable":false,"sortable":false,"type":"Edm.String"},{"dimensions":3,"name":"vectorCol","type":"Collection(Edm.Single)","vectorSearchConfiguration":"vectorConfig"}],"name":"test--702874643-20240912233607509","vectorSearch":{"algorithmConfigurations":[{"kind":"hnsw","name":"vectorConfig"}]}}
	 responseBody: {"error":{"code":"","message":"An index with the name 'test--702874643-20240912233607509' in service 'mmlspark-azure-search' could not be created. Index quota has been exceeded for this service. You must either delete unused indexes first, add a delay between index creation requests, or upgrade the service for higher limits. Maximum number of indexes allowed: 50"}}
	at com.microsoft.azure.synapse.ml.io.http.RESTHelpers$.$anonfun$safeSend$1(RESTHelpers.scala:77)
	at com.microsoft.azure.synapse.ml.io.http.RESTHelpers$.retry(RESTHelpers.scala:40)
	at com.microsoft.azure.synapse.ml.io.http.RESTHelpers$.safeSend(RESTHelpers.scala:57)
	at com.microsoft.azure.synapse.ml.services.search.SearchIndex$.createIfNoneExists(AzureSearchAPI.scala:83)
	at com.microsoft.azure.synapse.ml.services.search.AzureSearchWriter$.prepareDF(AzureSearch.scala:286)
	at com.microsoft.azure.synapse.ml.services.search.AzureSearchWriter$.write(AzureSearch.scala:432)
	at com.microsoft.azure.synapse.ml.services.search.SearchWriterSuite.writeHelper(SearchWriterSuite.scala:229)
	at com.microsoft.azure.synapse.ml.services.search.SearchWriterSuite.$anonfun$new$26(SearchWriterSuite.scala:442)
	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
	at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
	at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
	at org.scalatest.funsuite.AnyFunSuite.withFixture(AnyFunSuite.scala:1564)
	at org.scalatest.funsuite.AnyFunSuiteLike.invokeWithFixture$1(AnyFunSuiteLike.scala:224)
	at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTest$1(AnyFunSuiteLike.scala:236)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTest(AnyFunSuiteLike.scala:236)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTest$(AnyFunSuiteLike.scala:218)
	at com.microsoft.azure.synapse.ml.core.test.base.TestBase.org$scalatest$BeforeAndAfterEachTestData$$super$runTest(TestBase.scala:150)
	at org.scalatest.BeforeAndAfterEachTestData.runTest(BeforeAndAfterEachTestData.scala:213)
	at org.scalatest.BeforeAndAfterEachTestData.runTest$(BeforeAndAfterEachTestData.scala:206)
	at com.microsoft.azure.synapse.ml.core.test.base.TestBase.runTest(TestBase.scala:150)
	at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTests$1(AnyFunSuiteLike.scala:269)
	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
	at scala.collection.immutable.List.foreach(List.scala:431)
	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:39

Check failure on line 1 in Handle non-existent vector column specified in vectorCols option

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.SynapseML

Handle non-existent vector column specified in vectorCols option

Failed:    response: HttpResponseProxy{HTTP/1.1 429 Too Many Requests [Cache-Control: no-cache,no-store, Pragma: no-cache, Content-Length: 368, Content-Type: application/json; charset=utf-8, Content-Language: en, Expires: -1, Server: Microsoft-IIS/10.0, request-id: 2b8b7055-3150-4e53-8d70-1e7be1a2aa11, elapsed-time: 149, Strict-Transport-Security: max-age=15724800; includeSubDomains, Date: Thu, 12 Sep 2024 23:36:15 GMT] ResponseEntityProxy{[Content-Type: application/json; charset=utf-8,Content-Length: 368,Chunked: false]}}    requestUrl: https://mmlspark-azure-search.search.windows.net/indexes?api-version=2023-07-01-Preview   requestBody: {"fields":[{"key":true,"name":"id","type":"Edm.String"},{"name":"fileName","type":"Edm.String"}],"name":"test--1279515351-20240912233613252","vectorSearch":{"algorithmConfigurations":[{"kind":"hnsw","name":"vectorConfig"}]}}   responseBody: {"error":{"code":"","message":"An index with the name 'test--1279515351-20240912233613252' in service 'mmlspark-azure-search' could not be created. Index quota has been exceeded for this service. You must either delete unused indexes first, add a delay between index creation requests, or upgrade the service for higher limits. Maximum number of indexes allowed: 50"}}
Raw output
java.lang.RuntimeException: Failed: 
	 response: HttpResponseProxy{HTTP/1.1 429 Too Many Requests [Cache-Control: no-cache,no-store, Pragma: no-cache, Content-Length: 368, Content-Type: application/json; charset=utf-8, Content-Language: en, Expires: -1, Server: Microsoft-IIS/10.0, request-id: 2b8b7055-3150-4e53-8d70-1e7be1a2aa11, elapsed-time: 149, Strict-Transport-Security: max-age=15724800; includeSubDomains, Date: Thu, 12 Sep 2024 23:36:15 GMT] ResponseEntityProxy{[Content-Type: application/json; charset=utf-8,Content-Length: 368,Chunked: false]}} 
	 requestUrl: https://mmlspark-azure-search.search.windows.net/indexes?api-version=2023-07-01-Preview
	 requestBody: {"fields":[{"key":true,"name":"id","type":"Edm.String"},{"name":"fileName","type":"Edm.String"}],"name":"test--1279515351-20240912233613252","vectorSearch":{"algorithmConfigurations":[{"kind":"hnsw","name":"vectorConfig"}]}}
	 responseBody: {"error":{"code":"","message":"An index with the name 'test--1279515351-20240912233613252' in service 'mmlspark-azure-search' could not be created. Index quota has been exceeded for this service. You must either delete unused indexes first, add a delay between index creation requests, or upgrade the service for higher limits. Maximum number of indexes allowed: 50"}}
	at com.microsoft.azure.synapse.ml.io.http.RESTHelpers$.$anonfun$safeSend$1(RESTHelpers.scala:77)
	at com.microsoft.azure.synapse.ml.io.http.RESTHelpers$.retry(RESTHelpers.scala:40)
	at com.microsoft.azure.synapse.ml.io.http.RESTHelpers$.safeSend(RESTHelpers.scala:57)
	at com.microsoft.azure.synapse.ml.services.search.SearchIndex$.createIfNoneExists(AzureSearchAPI.scala:83)
	at com.microsoft.azure.synapse.ml.services.search.AzureSearchWriter$.prepareDF(AzureSearch.scala:286)
	at com.microsoft.azure.synapse.ml.services.search.AzureSearchWriter$.write(AzureSearch.scala:432)
	at com.microsoft.azure.synapse.ml.services.search.SearchWriterSuite.$anonfun$new$42(SearchWriterSuite.scala:599)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
	at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
	at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
	at org.scalatest.funsuite.AnyFunSuite.withFixture(AnyFunSuite.scala:1564)
	at org.scalatest.funsuite.AnyFunSuiteLike.invokeWithFixture$1(AnyFunSuiteLike.scala:224)
	at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTest$1(AnyFunSuiteLike.scala:236)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTest(AnyFunSuiteLike.scala:236)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTest$(AnyFunSuiteLike.scala:218)
	at com.microsoft.azure.synapse.ml.core.test.base.TestBase.org$scalatest$BeforeAndAfterEachTestData$$super$runTest(TestBase.scala:150)
	at org.scalatest.BeforeAndAfterEachTestData.runTest(BeforeAndAfterEachTestData.scala:213)
	at org.scalatest.BeforeAndAfterEachTestData.runTest$(BeforeAndAfterEachTestData.scala:206)
	at com.microsoft.azure.synapse.ml.core.test.base.TestBase.runTest(TestBase.scala:150)
	at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTests$1(AnyFunSuiteLike.scala:269)
	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
	at scala.collection.immutable.List.foreach(List.scala:431)
	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
	at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
	at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTests(AnyFunSuiteLike.scala:269)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTests$(AnyFunSuiteLike.scal

Check failure on line 1 in Infer the structure of the index from the dataframe with vector columns

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.SynapseML

Infer the structure of the index from the dataframe with vector columns

Failed:    response: HttpResponseProxy{HTTP/1.1 429 Too Many Requests [Cache-Control: no-cache,no-store, Pragma: no-cache, Content-Length: 367, Content-Type: application/json; charset=utf-8, Content-Language: en, Expires: -1, Server: Microsoft-IIS/10.0, request-id: c59c7c42-8137-4289-a6f3-7d3d0171b106, elapsed-time: 149, Strict-Transport-Security: max-age=15724800; includeSubDomains, Date: Thu, 12 Sep 2024 23:36:12 GMT] ResponseEntityProxy{[Content-Type: application/json; charset=utf-8,Content-Length: 367,Chunked: false]}}    requestUrl: https://mmlspark-azure-search.search.windows.net/indexes?api-version=2023-07-01-Preview   requestBody: {"fields":[{"key":true,"name":"id","type":"Edm.String"},{"name":"fileName","type":"Edm.String"},{"dimensions":3,"name":"vectorCol1","type":"Collection(Edm.Single)","vectorSearchConfiguration":"vectorConfig"},{"dimensions":3,"name":"vectorCol2","type":"Collection(Edm.Single)","vectorSearchConfiguration":"vectorConfig"},{"dimensions":3,"name":"vectorCol3","type":"Collection(Edm.Single)","vectorSearchConfiguration":"vectorConfig"}],"name":"test--940787684-20240912233610223","vectorSearch":{"algorithmConfigurations":[{"kind":"hnsw","name":"vectorConfig"}]}}   responseBody: {"error":{"code":"","message":"An index with the name 'test--940787684-20240912233610223' in service 'mmlspark-azure-search' could not be created. Index quota has been exceeded for this service. You must either delete unused indexes first, add a delay between index creation requests, or upgrade the service for higher limits. Maximum number of indexes allowed: 50"}}
Raw output
java.lang.RuntimeException: Failed: 
	 response: HttpResponseProxy{HTTP/1.1 429 Too Many Requests [Cache-Control: no-cache,no-store, Pragma: no-cache, Content-Length: 367, Content-Type: application/json; charset=utf-8, Content-Language: en, Expires: -1, Server: Microsoft-IIS/10.0, request-id: c59c7c42-8137-4289-a6f3-7d3d0171b106, elapsed-time: 149, Strict-Transport-Security: max-age=15724800; includeSubDomains, Date: Thu, 12 Sep 2024 23:36:12 GMT] ResponseEntityProxy{[Content-Type: application/json; charset=utf-8,Content-Length: 367,Chunked: false]}} 
	 requestUrl: https://mmlspark-azure-search.search.windows.net/indexes?api-version=2023-07-01-Preview
	 requestBody: {"fields":[{"key":true,"name":"id","type":"Edm.String"},{"name":"fileName","type":"Edm.String"},{"dimensions":3,"name":"vectorCol1","type":"Collection(Edm.Single)","vectorSearchConfiguration":"vectorConfig"},{"dimensions":3,"name":"vectorCol2","type":"Collection(Edm.Single)","vectorSearchConfiguration":"vectorConfig"},{"dimensions":3,"name":"vectorCol3","type":"Collection(Edm.Single)","vectorSearchConfiguration":"vectorConfig"}],"name":"test--940787684-20240912233610223","vectorSearch":{"algorithmConfigurations":[{"kind":"hnsw","name":"vectorConfig"}]}}
	 responseBody: {"error":{"code":"","message":"An index with the name 'test--940787684-20240912233610223' in service 'mmlspark-azure-search' could not be created. Index quota has been exceeded for this service. You must either delete unused indexes first, add a delay between index creation requests, or upgrade the service for higher limits. Maximum number of indexes allowed: 50"}}
	at com.microsoft.azure.synapse.ml.io.http.RESTHelpers$.$anonfun$safeSend$1(RESTHelpers.scala:77)
	at com.microsoft.azure.synapse.ml.io.http.RESTHelpers$.retry(RESTHelpers.scala:40)
	at com.microsoft.azure.synapse.ml.io.http.RESTHelpers$.safeSend(RESTHelpers.scala:57)
	at com.microsoft.azure.synapse.ml.services.search.SearchIndex$.createIfNoneExists(AzureSearchAPI.scala:83)
	at com.microsoft.azure.synapse.ml.services.search.AzureSearchWriter$.prepareDF(AzureSearch.scala:286)
	at com.microsoft.azure.synapse.ml.services.search.AzureSearchWriter$.write(AzureSearch.scala:432)
	at com.microsoft.azure.synapse.ml.services.search.SearchWriterSuite.$anonfun$new$32(SearchWriterSuite.scala:493)
	at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
	at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
	at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
	at org.scalatest.Transformer.apply(Transformer.scala:22)
	at org.scalatest.Transformer.apply(Transformer.scala:20)
	at org.scalatest.funsuite.AnyFunSuiteLike$$anon$1.apply(AnyFunSuiteLike.scala:226)
	at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
	at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
	at org.scalatest.funsuite.AnyFunSuite.withFixture(AnyFunSuite.scala:1564)
	at org.scalatest.funsuite.AnyFunSuiteLike.invokeWithFixture$1(AnyFunSuiteLike.scala:224)
	at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTest$1(AnyFunSuiteLike.scala:236)
	at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTest(AnyFunSuiteLike.scala:236)
	at org.scalatest.funsuite.AnyFunSuiteLike.runTest$(AnyFunSuiteLike.scala:218)
	at com.microsoft.azure.synapse.ml.core.test.base.TestBase.org$scalatest$BeforeAndAfterEachTestData$$super$runTest(TestBase.scala:150)
	at org.scalatest.BeforeAndAfterEachTestData.runTest(BeforeAndAfterEachTestData.scala:213)
	at org.scalatest.BeforeAndAfterEachTestData.runTest$(BeforeAndAfterEachTestData.scala:206)
	at com.microsoft.azure.synapse.ml.core.test.base.TestBase.runTest(TestBase.scala:150)
	at org.scalatest.funsuite.AnyFunSuiteLike.$anonfun$runTests$1(AnyFunSuiteLike.scala:269)
	at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
	at scala.collection.immutable.List.foreach(List.scala:431)
	at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
	at org.scalatest.S