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

scons should manually set bazel exit codes in coverity build

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Build
    • Fully Compatible
    • ALL

      its getting hit with changes from https://github.com/10gen/mongo/pull/29917
      that change introduced exitcode flags that are supposed to be set when bazel runs and scons checks them and exits failure if bazel failed.
      Normally SCons calls bazel first via subprocess, but in a coverity build config, bazel runs independently before scons via cov-build, and then when scons runs next, it skips over actually running the bazel command itself (as cov-build already ran it). However the flags that say bazel was successful need to be manually set in this case so scons can exit success as well

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: