-
Type: New Feature
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
DAG 2023-10-02
-
7
-
1
Motivation for Request
Sometimes validate_commit_message.py fails because an evergreen response isn't what's expected. It'd be nice to have the request that was sent and the response received to give insight into where the bug lies and what the bug might be.
Context
Given the following error, it's hard to tell if this is a bug in validate_commit_messages.py or in evergreen. If this is an evergreen bug, knowing the request/response gives them valuable clues on what code path is of interest.
[2023/02/02 15:39:49.085] Traceback (most recent call last): [2023/02/02 15:39:49.085] File "/data/mci/ec85e526070d7208b93ee6bb8f7ed7c6/src/buildscripts/validate_commit_message.py", line 281, in <module> [2023/02/02 15:39:49.085] sys.exit(main(sys.argv[1:])) [2023/02/02 15:39:49.085] File "/data/mci/ec85e526070d7208b93ee6bb8f7ed7c6/src/buildscripts/validate_commit_message.py", line 277, in main [2023/02/02 15:39:49.085] return orchestrator.validate_commit_messages(args.version_id) [2023/02/02 15:39:49.085] File "/data/mci/ec85e526070d7208b93ee6bb8f7ed7c6/src/buildscripts/validate_commit_message.py", line 249, in validate_commit_messages [2023/02/02 15:39:49.085] for message in change.commit_messages: [2023/02/02 15:39:49.085] TypeError: 'NoneType' object is not iterable
Description
- causes
-
SERVER-81404 Poetry lock file is out of date
- Closed