[SERVER-80232] `find-suite` resmoke command does not work anymore Created: 18/Aug/23  Updated: 29/Oct/23  Resolved: 26/Aug/23

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Steve Gross
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-79168 Improper test excludes should be caug... Closed
is related to SERVER-79512 Add remaining suites for single op bu... Closed
Assigned Teams:
Server Development Platform
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

The find-suite Resmoke's command does not work form at least a couple of weeks.

The error reported by the command output is referring to a directory related to the Enterprise module and this sounds strange to me.

$ ./buildscripts/resmoke.py find-suites jstests/sharding/change_stream_no_orphans.js
Traceback (most recent call last):
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/./buildscripts/resmoke.py", line 20, in <module>
    entrypoint()
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/./buildscripts/resmoke.py", line 16, in entrypoint
    cli.main(sys.argv)
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/buildscripts/resmokelib/cli.py", line 32, in main
    subcommand.execute()
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/buildscripts/resmokelib/run/__init__.py", line 116, in execute
    self.find_suites()
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/buildscripts/resmokelib/run/__init__.py", line 140, in find_suites
    suites_by_test = self._find_suites_by_test(suites)
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/buildscripts/resmokelib/run/__init__.py", line 192, in _find_suites_by_test
    test_membership = suitesconfig.create_test_membership_map()
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/buildscripts/resmokelib/suitesconfig.py", line 71, in create_test_membership_map
    for testfile in suite.tests:
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/buildscripts/resmokelib/testing/suite.py", line 103, in tests
    self._tests, self._excluded = self._get_tests_for_kind(self.test_kind)
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/buildscripts/resmokelib/testing/suite.py", line 125, in _get_tests_for_kind
    return _selector.filter_tests(test_kind, selector_config)
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/buildscripts/resmokelib/selector.py", line 796, in filter_tests
    return selector.select(selector_config)
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/buildscripts/resmokelib/selector.py", line 504, in select
    return _Selector.select(self, selector_config)
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/buildscripts/resmokelib/selector.py", line 458, in select
    test_list.exclude_files(selector_config.exclude_files)
  File "/home/ubuntu/devel/10gen/mongo-master-dev3/buildscripts/resmokelib/selector.py", line 220, in exclude_files
    raise ValueError(
ValueError: Excluded test file src/mongo/db/modules/enterprise/jstests/fle2/basic_update.js does not exist, perhaps it was renamed or removed , and should be modified in, or removed from, the exclude_files list.



 Comments   
Comment by Steve Gross [ 23/Aug/23 ]

Note: I'm investigating this issue now.

Comment by Steve Gross [ 18/Aug/23 ]

Note: related Slack thread

Generated at Thu Feb 08 06:43:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.