Add process version to resmoke fixture summary

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • DevProd Test Infrastructure
    • Fully Compatible
    • DevProd Test Infra 2026-07-14
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently resmoke prints the fixture summary into the test log, which is really useful:

      [js_test:sharded_data_distribution] Fixture status:
      +--------------------------------------------+----------+-----+------+
      |full_name                                   |name      |port |pid   |
      +--------------------------------------------+----------+-----+------+
      |ShardedClusterFixture:job0:shard0:primary   |j0:s0:prim|20001|260197|
      |ShardedClusterFixture:job0:shard0:secondary |j0:s0:sec |20002|260178|
      |ShardedClusterFixture:job0:shard1:primary   |j0:s1:prim|20003|260175|
      |ShardedClusterFixture:job0:shard1:secondary |j0:s1:sec |20004|260194|
      |ShardedClusterFixture:job0:mongos0          |j0:s0     |20005|261007|
      |ShardedClusterFixture:job0:mongos1          |j0:s1     |20007|261004|
      |ShardedClusterFixture:job0:configsvr:primary|j0:c:prim |20000|260181|
      +--------------------------------------------+----------+-----+------+
      

      However, for multi-version tests it would be even more useful to add another column with exact process version. This is very helpful for debugging different issues.

      Currently versions are only present in fixture_setup log and it is an extra effort to extract them manually.
      I would be great to have something like this instead at least for multiversion tests:

      [js_test:sharded_data_distribution] Fixture status:
      +--------------------------------------------+----------+-----+------+-------------------------------------------+
      |full_name                                   |name      |port |pid   |version                                    |
      +--------------------------------------------+----------+-----+------+-------------------------------------------+
      |ShardedClusterFixture:job0:shard0:primary   |j0:s0:prim|20001|260197|8.3.3-15-gc39b456                          |
      |ShardedClusterFixture:job0:shard0:secondary |j0:s0:sec |20002|260178|9.0.0-alpha0-patch-6a31bdcbc752ff0007f3056b|
      |ShardedClusterFixture:job0:shard1:primary   |j0:s1:prim|20003|260175|9.0.0-alpha0-patch-6a31bdcbc752ff0007f3056b|
      |ShardedClusterFixture:job0:shard1:secondary |j0:s1:sec |20004|260194|9.0.0-alpha0-patch-6a31bdcbc752ff0007f3056b|
      |ShardedClusterFixture:job0:mongos0          |j0:s0     |20005|261007|8.3.3-15-gc39b456                          |
      |ShardedClusterFixture:job0:mongos1          |j0:s1     |20007|261004|8.3.3-15-gc39b456                          |
      |ShardedClusterFixture:job0:configsvr:primary|j0:c:prim |20000|260181|9.0.0-alpha0-patch-6a31bdcbc752ff0007f3056b|
      +--------------------------------------------+----------+-----+------+-------------------------------------------+
      

            Assignee:
            Sean Lyons
            Reporter:
            Romans Kasperovics
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: