Open cjkrolak opened 8 months ago
2024-03-10T18:06:51.0731309Z testing 'tests.test_honeywell_integration.FunctionalIntegrationTest.test_get_meta_data' 2024-03-10T18:06:51.0731656Z ------------------------------------------------------------ 2024-03-10T18:06:51.0732102Z [log_msg]: parsing runtime parameters from user input list: ['supervise.py', 'honeywell', '0', '30', '1000', '2', 'UNKNOWN_MODE', '3'] 2024-03-10T18:06:51.0732543Z [log_msg]: parent_key=honeywell_0, child_key='input_file': argv parameter missing, using default value 'None' 2024-03-10T18:06:51.0733326Z ERROR: parameter DeviceID does not exist in meta_data_dict: {'heat_setpoint': 72.0, 'cool_setpoint': 72.0, 'display_temp': 72.0, 'display_humidity': 45.0, 'humidity_support': True, 'power_on': True, 'fan_on': True, 'fan_speed': 3, 'defrost': False, 'standby': False, 'vacation_hold': False, 'switch_position': 0} 2024-03-10T18:14:39.6707318Z ====================================================================== 2024-03-10T18:14:39.6707593Z ERROR: test_get_meta_data (tests.test_honeywell_integration.FunctionalIntegrationTest) 2024-03-10T18:14:39.6707823Z Verify get_metadata(). 2024-03-10T18:14:39.6708112Z ---------------------------------------------------------------------- 2024-03-10T18:14:39.6708325Z Traceback (most recent call last): 2024-03-10T18:14:39.6713573Z File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/unittest/mock.py", line 1336, in patched 2024-03-10T18:14:39.6713841Z return func(*newargs, **newkeywargs) 2024-03-10T18:14:39.6714218Z File "/home/vsts/work/1/s/tests/unit_test_common.py", line 393, in test_get_meta_data 2024-03-10T18:14:39.6714463Z metadata = self.Thermostat.get_metadata( 2024-03-10T18:14:39.6714690Z File "/home/vsts/work/1/s/thermostatsupervisor/emulator.py", line 90, in get_metadata 2024-03-10T18:14:39.6714918Z return meta_data_dict[parameter] 2024-03-10T18:14:39.6715196Z KeyError: 'DeviceID'
this error was intermittent with some CI runs in early March 2024