**Describe the bug** Check "the local Greengrass deployment is SUCCEEDED" always true **Priority** High due to affect all clients of OTF **To Reproduce** 1. Make local deployment which will fail: for example component do just 'exit 1' 2. Disable MQTT and HTTPS connections from device to backend. 3. Run scenario with steps like: ``` I install the component <NAME> from local store with configuration the local Greengrass deployment is SUCCEEDED on the device after 120 seconds ``` 4. And the first and second steps will passed **Expected behavior** When local deployment is failed step to check is deployment SUCCEEDED should fail. **Actual behavior** Step is passed. In greengrass.log we observe deployment failure. **Environment** - Ubuntu 20.04, Windows 11 - JDK version: JDK11 - Nucleus version: 2.11.0 **Additional context** Add any other context about the problem here. E.g. what is the impact of the bug?