Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug: 582825425
Context
blame_taskruns on a trusted worker rather than the bot that hit the crash, and Swarming runsANDROID_EMULATORjobs inside Linux containers. Today:_prepare_component_revisions_dictdoes not passtestcase.platform_idtorevisions.get_component_revisions_dict, soconfig.jsonrevision overrides fall back to the trusted worker's localplatform_idinstead of the testcase's._prepare_predator_messageforwards rawtestcase.platform, which can send'linux'(or suffixed variant names like'android_emulator'/'linux_with_gpu') to Predator instead of canonical platform names.Fix description
platform_id=Noneto_prepare_component_revisions_dictand forwardplatform_id=testcase.platform_idfor crash, start, and end revision lookups.ComponentRevisionPatchingTest.mock_get_component_revisions_dictto acceptplatform_id=None.data_types.Jobfortestcase.job_typein_prepare_predator_message, preferjob.platformovertestcase.platform, strip subqueue suffixes viaenvironment.base_platform(platform).lower(), and normalize Android, Linux, Windows, and Mac variants to canonical lowercase names before publishing to Predator.Testing
test_android_emulator_platform_normalized_and_platform_id_passedinblame_task_test.py.python butler.py py_unittest -t core -p blame_task_test.py(14/14 passing).python butler.py formatandpython butler.py lint(passing).