Summary
sfdx force:source:push failed with the error
Unhandled rejection Error: connect ETIMEDOUT 161.71.2.159:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1126:14)
yet it still returned exit code 0, indicating success. I expect it to raise an error (return non 0 exit code) so that my CI job would fail on this step and highlight it to me.
Steps To Reproduce:
Unsure, maybe disconnect network during push?
Expected result
Should have returned an exit code != 0 so that command was marked as failed
Actual result
Exit code 0 returned
Additional information

SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.28.7 linux-x64 node-v12.11.1
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-commands 1.2.3 (core)
@oclif/plugin-help 2.2.1 (core)
@oclif/plugin-not-found 1.2.3 (core)
@oclif/plugin-plugins 1.7.8 (core)
@oclif/plugin-update 1.3.9 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.0.5 (core)
analytics 1.2.1 (core)
generator 1.1.1 (core)
salesforcedx 47.1.5 (core)
├─ force-language-services 47.5.0 (core)
└─ salesforce-alm 47.4.0 (core)
sfdx-cli 7.28.7 (core)
OS and version:
https://github.com/salestrip/docker-sfdx-cli/blob/master/Dockerfile
Summary
sfdx force:source:pushfailed with the erroryet it still returned exit code 0, indicating success. I expect it to raise an error (return non 0 exit code) so that my CI job would fail on this step and highlight it to me.
Steps To Reproduce:
Unsure, maybe disconnect network during push?
Expected result
Should have returned an exit code != 0 so that command was marked as failed
Actual result
Exit code 0 returned
Additional information
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.28.7 linux-x64 node-v12.11.1
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-commands 1.2.3 (core)
@oclif/plugin-help 2.2.1 (core)
@oclif/plugin-not-found 1.2.3 (core)
@oclif/plugin-plugins 1.7.8 (core)
@oclif/plugin-update 1.3.9 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.0.5 (core)
analytics 1.2.1 (core)
generator 1.1.1 (core)
salesforcedx 47.1.5 (core)
├─ force-language-services 47.5.0 (core)
└─ salesforce-alm 47.4.0 (core)
sfdx-cli 7.28.7 (core)
OS and version:
https://github.com/salestrip/docker-sfdx-cli/blob/master/Dockerfile