Service check failing with timeout error without any log in service check log

Hi,

We are using consul 1.6.3 version.
On one of our setup, we are observing service check failing with timeout error in consul log but nothing is printing on service check script log.

Log snapshot:
2021/02/08 08:20:34 [WARN] agent: Check “service:test123”: Timed out (32s) running check

When there is no issue, service check is fine and we can see log in service check script log as well. When there is issue nothing is getting print in service check script log and on consul log we are observing Timeout error.

Service

{
“service”: {
“name”: “test123”,
“tags”: [“xxx”],
“address”: “x.x.x.x”,
“checks”: [
{
“args”: [“sh”,“test.sh”],
“interval”: “30s”,
“timeout”: “32s”
}
]
}
}