Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-70963

Test API version compatibility only against reachable versions

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2022-10-31, Sharding EMEA 2022-11-14

      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.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: