[SERVER-70963] Test API version compatibility only against reachable versions Created: 30/Oct/22  Updated: 29/Oct/23  Resolved: 02/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-10-31, Sharding EMEA 2022-11-14
Participants:

 Description   

The test_api_version_compatibility task is really slow, it is by far the slowest task among our commit queue checks (~13 min).

In this task we are checking API version compatibility between master and all previous released versions, including outdated quarterly releases and all minor versions for both major and quarterly releases.

[2022/10/27 10:06:14.752] INFO:checkout-idl:Checking out IDL files in r5.0.0-rc3
[2022/10/27 10:06:16.768] INFO:checkout-idl:Checking out IDL files in r5.0.0
[2022/10/27 10:06:16.768] INFO:checkout-idl:Checking out IDL files in r5.0.1
[2022/10/27 10:06:18.811] INFO:checkout-idl:Checking out IDL files in r5.0.2
[2022/10/27 10:06:18.811] INFO:checkout-idl:Checking out IDL files in r5.0.3
[2022/10/27 10:06:20.859] INFO:checkout-idl:Checking out IDL files in r5.0.4
[2022/10/27 10:06:20.859] INFO:checkout-idl:Checking out IDL files in r5.0.5
[2022/10/27 10:06:22.940] INFO:checkout-idl:Checking out IDL files in r5.0.6
[2022/10/27 10:06:22.940] INFO:checkout-idl:Checking out IDL files in r5.0.7
[2022/10/27 10:06:25.060] INFO:checkout-idl:Checking out IDL files in r5.0.8
[2022/10/27 10:06:25.060] INFO:checkout-idl:Checking out IDL files in r5.0.9
[2022/10/27 10:06:27.285] INFO:checkout-idl:Checking out IDL files in r5.0.10
[2022/10/27 10:06:27.285] INFO:checkout-idl:Checking out IDL files in r5.0.11
[2022/10/27 10:06:29.396] INFO:checkout-idl:Checking out IDL files in r5.0.12
[2022/10/27 10:06:29.396] INFO:checkout-idl:Checking out IDL files in r5.0.13
[2022/10/27 10:06:31.555] INFO:checkout-idl:Checking out IDL files in r5.1.0
[2022/10/27 10:06:31.555] INFO:checkout-idl:Checking out IDL files in r5.1.1
[2022/10/27 10:06:33.726] INFO:checkout-idl:Checking out IDL files in r5.2.0
[2022/10/27 10:06:33.726] INFO:checkout-idl:Checking out IDL files in r5.2.1
[2022/10/27 10:06:36.033] INFO:checkout-idl:Checking out IDL files in r5.3.0
[2022/10/27 10:06:36.033] INFO:checkout-idl:Checking out IDL files in r5.3.1
[2022/10/27 10:06:38.345] INFO:checkout-idl:Checking out IDL files in r5.3.2
[2022/10/27 10:06:38.345] INFO:checkout-idl:Checking out IDL files in r6.0.0
[2022/10/27 10:06:40.867] INFO:checkout-idl:Checking out IDL files in r6.0.1
[2022/10/27 10:06:40.867] INFO:checkout-idl:Checking out IDL files in r6.0.2
[2022/10/27 10:06:43.447] INFO:checkout-idl:Checking out IDL files in r6.1.0

There is no need to test against all this versions, in fact we could simply test against:

  • latest release
  • last continuous
  • last LTS

So for instance if current version in master is 6.2.2 we should test only against [6.2.1, 6.1.x, 6.0.x] where x stand for the latest micro version for that release.



 Comments   
Comment by Githook User [ 02/Nov/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-70963 Test API version compatibility only against reachable versions
Branch: master
https://github.com/mongodb/mongo/commit/1d4fb6ff6722824cff766c60ec8254e2401dd32d

Generated at Thu Feb 08 06:17:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.