this is happening due to a bug in amazon linux kernel 6.1.115-126.197.amzn2023.x86_64 that is provisioned by default for nodejs 20 environment on linux 2023 ,
fixed the issue by switching to a different kernel by replacing this line in config.yml
default_platform: Node.js 20 running on 64bit Amazon Linux 2023
with
default_platform: Node.js 18 running on 64bit Amazon Linux 2