Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

SAM CLI and Quarkus: /var/task/bootstrap: no such file or directory

$
0
0

When I try to use SAM cli to invoke my quarkus native function locally as per the tutorial it fails to run with bellow error no such file or directory for /var/task/bootstrap. Function.zip does exist and contain bootstrap, Anyone have any ideas how to solve?

OS: Ubuntu 18 (on VirtualBox)

walter@ubuntu18 brialambda/target $ sam local invoke --template sam.native.yaml --event ../payload.jsonInvoking not.used.in.provided.runtime (provided)Decompressing /home/walter/workspace/walterlambda/target/function.zipSkip pulling image and use local one: public.ecr.aws/sam/emulation-provided:rapid-1.35.0-x86_64.Mounting /tmp/tmp41trke88 as /var/task:ro,delegated inside runtime containerSTART RequestId: ee5e27d8-4bb7-4e0a-8873-f92c48459993 Version: $LATESTtime="2021-11-09T14:15:38.302" level=error msg="Init failed" InvokeID= error="fork/exec /var/task/bootstrap: no such file or directory"Function 'WalterlambdaNative' timed out after 15 seconds

Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>