Operational Defect Database

BugZero found this defect 191 days ago.

MongoDB | 2496920

enterprise-rhel-80-64-bit-future-git-tag-multiversion runs old jstests against newer versions of the server

Last update date:

3/14/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

This build variant uses `db-contrib-tool` to pull down existing branch binaries that may be newer than the server commit that it is building from. It then builds from that commit with a new git-tag to simulate a higher-version release, and runs it in a multiversion cluster with the existing branch binaries to try and ensure that new release tags don't break tests. However, because the existing branch binaries may actually be newer than the version it is building from, it may be running jstests that are out-of-date relative to the binaries it pulled. For example, if a failpoint is renamed from "name1" to "name2" in a commit between the one being tested and the one the existing-branch-builds are from, the pulled binaries will expect "name2" but the jstests will use "name1", therefore breaking the tests.

Top User Comments

janna.golden commented on Tue, 14 Nov 2023 16:54:02 +0000: I also saw a failure where the git hash picked by the db contrib tool for the "older" version was too old (see BF-30804 for an explanation). We should use the same git hash for both "older" and "newer" versions, and just fake the version number.

Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

Backlog

Learn More

Search:

...