Running atest server list results in 'Enum type "chrome.chromeos_infra.skylab.proto.inventory.Server.Role" has no value named ROLE_RPMSERVER.'
Full trace:
Traceback (most recent call last):
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/cli/atest.py", line 90, in main
results = action_obj.execute()
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/cli/server.py", line 209, in execute
return self.execute_skylab()
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/cli/server.py", line 192, in execute_skylab
inventory_repo.get_data_dir())
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/site-packages/skylab_inventory/text_manager.py", line 82, in load_infrastructure
load_text_to_proto_message(data_file_path, infrastructure)
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/site-packages/skylab_inventory/text_manager.py", line 53, in load_text_to_proto_message
text_format.Parse(f.read(), proto_message)
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/site-packages/chromite/third_party/google/protobuf/text_format.py", line 445, in Parse
text.split('\n'), message, allow_unknown_extension, allow_field_number)
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/site-packages/chromite/third_party/google/protobuf/text_format.py", line 501, in ParseLines
return parser.ParseLines(lines, message)
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/site-packages/chromite/third_party/google/protobuf/text_format.py", line 550, in ParseLines
self._ParseOrMerge(lines, message)
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/site-packages/chromite/third_party/google/protobuf/text_format.py", line 575, in _ParseOrMerge
self._MergeField(tokenizer, message)
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/site-packages/chromite/third_party/google/protobuf/text_format.py", line 676, in _MergeField
merger(tokenizer, message, field)
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/site-packages/chromite/third_party/google/protobuf/text_format.py", line 766, in _MergeMessageField
self._MergeField(tokenizer, sub_message)
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/site-packages/chromite/third_party/google/protobuf/text_format.py", line 676, in _MergeField
merger(tokenizer, message, field)
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/site-packages/chromite/third_party/google/protobuf/text_format.py", line 815, in _MergeScalarField
value = tokenizer.ConsumeEnum(field)
File "/usr/local/google/home/zamorzaev/chromiumos/src/third_party/autotest/files/site-packages/chromite/third_party/google/protobuf/text_format.py", line 1203, in ConsumeEnum
raise self.ParseError(str(e))
ParseError: 231:10 : Enum type "chrome.chromeos_infra.skylab.proto.inventory.Server.Role" has no value named ROLE_RPMSERVER.
Unexpected exception: 231:10 : Enum type "chrome.chromeos_infra.skylab.proto.inventory.Server.Role" has no value named ROLE_RPMSERVER.
Comment 1 by zamorzaev@chromium.org
, Nov 13