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

Test for dump_scons_config_on_failure in evergreen.yml needs to be fixed

    XMLWordPrintable

    Details

    • Operating System:
      ALL

      Description

      The following test can error if dump_scons_config_on_failure is not defined:

                if [ ${dump_scons_config_on_failure} = 'true' ]; then
                  echo "Dumping build/scons/config.log"
                  cat build/scons/config.log
                fi
      

      [2018/08/09 17:28:34.937] scons: *** [build\cached\mongo\db\storage\biggie\store_test.obj] Error 2
      [2018/08/09 17:28:34.937] exit_status=$?
      [2018/08/09 17:28:34.937] # If compile fails we do not run any tests
      [2018/08/09 17:28:34.937] if [ $exit_status -ne 0 ]; then
      [2018/08/09 17:28:34.937]   if [  = 'true' ]; then
      [2018/08/09 17:28:34.937]     echo "Dumping build/scons/config.log"
      [2018/08/09 17:28:34.937]     cat build/scons/config.log
      [2018/08/09 17:28:34.937]   fi
      [2018/08/09 17:28:34.937]   touch skip_test-mongodb_mongo_master_enterprise_windows_64_2k8_compile_all_patch_2e69710b5bf058dae6d04ada3cb003cbf872c3a8_5b6ca4aae3c33143c9426311_18_08_09_20_33_54
      [2018/08/09 17:28:34.979] fi
      sh: line 37: [: =: unary operator expected
      exit $exit_status
      [2018/08/09 17:28:34.979] Command failed: command [pid=4916] encountered problem: exit status 2
      

        Attachments

          Activity

            People

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM)
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: