[SERVER-48105] Selected tests is trying to access data from a NoneType Created: 11/May/20  Updated: 29/Oct/23  Resolved: 10/Jul/20

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Bug Priority: Major - P3
Reporter: David Bradford (Inactive) Assignee: Lydia Stepanek (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-49460 SPIKE: Selected tests should be appli... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: DAG 2020-07-13
Participants:
Story Points: 1

 Description   

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.



 Comments   
Comment by Githook User [ 10/Jul/20 ]

Author:

{'name': 'Lydia Stepanek', 'email': 'lydia.stepanek@mongodb.com', 'username': 'lydiastepanek'}

Message: SERVER-48105 Selected tests is trying to access data from a NoneType
Branch: master
https://github.com/mongodb/mongo/commit/83a0479dbb78f73366a91b4afe9da44f6f5e9cf0

Comment by Lydia Stepanek (Inactive) [ 09/Jul/20 ]

https://mongodbcr.appspot.com/605500001/

Comment by David Bradford (Inactive) [ 21/May/20 ]

We should filter out multi version tests of this type for now and we can support them in a later ticket.

Generated at Thu Feb 08 05:16:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.