SJTU-IPADS / ServerlessBench

A benchmark suite for serverless computing
Other
216 stars 32 forks source link

Miss the startTime (jq:command not found) #20

Closed cxqzZZ closed 2 years ago

cxqzZZ commented 2 years ago

Environment details:

Steps to reproduce the issue:

  1. cd action and ./action_update.sh
  2. ./action_invoke.sh
  3. cd test and ./single-cold_warm.sh

the result of ./action_update.sh and ./action_invoke.sh

root@amax7:/home/cxq/ServerlessBench/Testcase6-Startup-breakdown/OpenWhisk/C-app/action# ./action_update.shupdating: exec (deflated 82%)
ok: updated action complex-c
root@amax7:/home/cxq/ServerlessBench/Testcase6-Startup-breakdown/OpenWhisk/C-app/action# ./action_invoke.sh 
{
    "pri_key": "<40xxxxx3,4xxxxx41>",//hide
    "pub_key": "<7,4xxxxxx1>",//hide
    "startTime": 1649921542811
}

the result of ./single-cold_warm.sh:

Additional information you deem important:

CodingYuanLiu commented 2 years ago

jq is a bash tool for processing JSON inputs. You need to install jq by yourself

cxqzZZ commented 2 years ago

jq is a bash tool for processing JSON inputs. You need to install jq by yourself

Thanks a lot, i run the testcase successfully.

By the way, there are some minor mistakes in https://github.com/SJTU-IPADS/ServerlessBench/tree/master/Testcase6-Startup-breakdown/OpenWhisk)/C-app. For instance, the commands of title "How to Deploy" and "How to Invoke" are same. And "rsakeygen.c" should add #include <sys/time.h> , otherwise some warnings will occur.