solr icon indicating copy to clipboard operation
solr copied to clipboard

Update dependency io.swagger.core.v3:swagger-annotations-jakarta to v2.2.22

Open solrbot opened this issue 1 year ago • 1 comments

This PR contains the following updates:

Package Type Update Change
io.swagger.core.v3:swagger-annotations-jakarta dependencies patch 2.2.20 -> 2.2.22

Release Notes

swagger-api/swagger-core (io.swagger.core.v3:swagger-annotations-jakarta)

v2.2.22: Swagger-core 2.2.22 released!

v2.2.21: Swagger-core 2.2.21 released!

  • update dependencies (#​4630)
  • fix: Add class loader to OpenAPIExtensions ServiceLoader (#​4626)
  • Fix #​4618: process array schema in OpenAPI 3.1 same as in OpenAPI 3.0 (#​4619)
  • Fix isExplode method and explode tests (#​4612)
  • refs #​4610 - deprecate and fix ArraySchema.items processing (switch to ArraySchema.schema) (#​4611)
  • Add Header Object missing attributes (#​4608)
  • fix #​4589 - fix tests with Java 21 (list first/last) (#​4597)
  • Replace log error with warning in reflection with type not found (#​4596)
  • Add JAX-RS v2.2 tolerance by swagger-core (#​4595)
  • Skip groovy.lang package in ModelConverters (#​4594)
  • fix CodeQL (#​4582)

Configuration

📅 Schedule: Branch creation - "* * * * 0" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot

solrbot avatar Mar 25 '24 08:03 solrbot

This test failed again:-

44056 INFO (TEST-JWTAuthPluginIntegrationTest.mockOAuth2Server-seed#[F98DD07D54DABA29]) [n: c: s: r: x: t:] o.a.s.SolrTestCaseJ4 ###Ending mockOAuth2Server    6149 > org.junit.ComparisonFailure: Should have received 401 code expected:<[401]> but was:<[200]>        6150 > at __randomizedtesting.SeedInfo.seed([F98DD07D54DABA29:7E8D312D316646C5]:0)    6151 > at 
org.junit.Assert.assertEquals(Assert.java:117)    6152 > at 
org.apache.solr.security.jwt.JWTAuthPluginIntegrationTest.mockOAuth2Server(JWTAuthPluginIntegrationTest.java:145)    
6153 > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    6154 > at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)    6155 > at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    6156 > at 
java.base/java.lang.reflect.Method.invoke(Method.java:566)    6157 > at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1758)    6158 > at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:946)    6159 > at 
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:982)    6160 > at 
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:996)    6161 > at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:80)    
6162 > at org.junit.rules.RunRules.evaluate(RunRules.java:20)   

Also there are bunch of other classMethod failures, because of resource leak. Once assert failed it did not shutdown the cluster. Two ways to solved it, either the whole test block should be inside the try block and in finally we should shutdown the cluster. Or, use the existing cluster reference from SolrCloudTestCase and that will take care of shutting down the cluster.

iamsanjay avatar May 04 '24 10:05 iamsanjay