[fuchsia] Remove the use of target-id in av_testing
The FUCHSIA_NODENAME has been added on the hosts, the use of target-id file is not necessary anymore. Cq-Include-Trybots: luci.chrome.try:fuchsia-ava-nelson Bug: 377749078, 40935291 Change-Id: I7a1db6c4667ec2fae398ffec65fef3c00dadbb0d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6044061 Reviewed-by: David Song <wintermelons@google.com> Commit-Queue: David Song <wintermelons@google.com> Auto-Submit: Zijie He <zijiehe@google.com> Cr-Commit-Position: refs/heads/main@{#1387048}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
c00341f790
commit
6db4dab788
@ -161,13 +161,6 @@ def main() -> int:
|
||||
|
||||
if __name__ == '__main__':
|
||||
logging.warning('Running %s with env %s', sys.argv, os.environ)
|
||||
# TODO(crbug.com/40935291): Currently the machine is not running a fuchsia
|
||||
# managed docker image, the FUCHSIA_NODENAME environment is not set.
|
||||
if 'FUCHSIA_NODENAME' not in os.environ:
|
||||
os.environ['FUCHSIA_NODENAME'] = Path(
|
||||
'/home/swarming/target-id').read_text().strip()
|
||||
# The version is not available without explicitly sending in the
|
||||
# command line flags.
|
||||
logging.warning('Chrome version %s %s', version.chrome_version_str(),
|
||||
version.git_revision())
|
||||
build_info = get_build_info()
|
||||
|
Reference in New Issue
Block a user