Numerous test tasks compile their binaries instead of using artefacts from the previous `compile` task

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build, Evergreen
    • None
    • Storage Engines - Foundations
    • SE Foundations - Q4+ Backlog
    • 2

      • Numerous test tasks compile their binaries instead of using artefacts from the previous compile task.
      • At least some of these compilations done without using MongoDB toolchain; the build happens to use system provided compiler and other tools.
      • The Evergreen expansions for compile task are ignored.

      Examples:
      unit-test task relies on build artefacts from previous compile task:

        - name: unit-test
          tags: ["python"]
          depends_on: 
          - name: compile
          commands: 
            - func: "fetch artifacts"
            - func: "unit test"
      

      format-test task re-builds the project without properly invoking compile task:

        - name: format-test
          tags: ["pull_request"]
          commands: 
            - func: "get project"
            - func: "compile wiredtiger"
            - func: "make check directory"
              vars: 
                directory: test/format
      

      TODO:

      • Fix all test tasks to use pre-built artefacts from compile task, instead of building their own
      • Add dependency on compile task to all relevant test tasks where such dependency is missing

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Alex Blekhman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: