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

Selected tests is trying to access data from a NoneType

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Fully Compatible
    • ALL
    • DAG 2020-07-13
    • 1

      I saw this in a patch build using selected tests. It looks like we are trying to use some unavailable data.

      [2020/05/06 21:13:03.679]   File "buildscripts/selected_tests.py", line 498, in <module>
       [2020/05/06 21:13:03.679]     main()  # pylint: disable=no-value-for-parameter
       [2020/05/06 21:13:03.679]   File "/data/mci/fbc5e0e7b726bb8f530a138052af17b6/venv/lib/python3.7/site-packages/click/core.py", line 829, in __call__
       [2020/05/06 21:13:03.679]     return self.main(*args, **kwargs)
       [2020/05/06 21:13:03.679]   File "/data/mci/fbc5e0e7b726bb8f530a138052af17b6/venv/lib/python3.7/site-packages/click/core.py", line 782, in main
       [2020/05/06 21:13:03.679]     rv = self.invoke(ctx)
       [2020/05/06 21:13:03.679]   File "/data/mci/fbc5e0e7b726bb8f530a138052af17b6/venv/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
       [2020/05/06 21:13:03.679]     return ctx.invoke(self.callback, **ctx.params)
       [2020/05/06 21:13:03.679]   File "/data/mci/fbc5e0e7b726bb8f530a138052af17b6/venv/lib/python3.7/site-packages/click/core.py", line 610, in invoke
       [2020/05/06 21:13:03.679]     return callback(*args, **kwargs)
       [2020/05/06 21:13:03.679]   File "buildscripts/selected_tests.py", line 493, in main
       [2020/05/06 21:13:03.679]     task_expansions, repos, origin_build_variants)
       [2020/05/06 21:13:03.679]   File "buildscripts/selected_tests.py", line 423, in run
       [2020/05/06 21:13:03.679]     changed_files)
       [2020/05/06 21:13:03.679]   File "buildscripts/selected_tests.py", line 383, in _get_task_configs
       [2020/05/06 21:13:03.679]     selected_tests_variant_expansions, related_tasks, build_variant_config)
       [2020/05/06 21:13:03.679]   File "buildscripts/selected_tests.py", line 327, in _get_task_configs_for_task_mappings
       [2020/05/06 21:13:03.679]     build_variant_config)
       [2020/05/06 21:13:03.679]   File "buildscripts/selected_tests.py", line 246, in _get_evg_task_config
       [2020/05/06 21:13:03.679]     task_vars = task.run_tests_command["vars"]
       [2020/05/06 21:13:03.679] TypeError: 'NoneType' object is not subscriptable
       [2020/05/06 21:13:03.747] Command failed: command encountered problem: error waiting on process 'd205ecea-4c74-4768-990d-07df3c320cc4': exit status 1
       [2020/05/06 21:13:03.747] Task completed - FAILURE.
       [2020/05/06 21:13:03.750] Running post-task commands.
      

            Assignee:
            lydia.stepanek@mongodb.com Lydia Stepanek (Inactive)
            Reporter:
            david.bradford@mongodb.com David Bradford (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: