sledge-serverless-framework icon indicating copy to clipboard operation
sledge-serverless-framework copied to clipboard

Problems Running Test Serverless Function

Open hassanbk20 opened this issue 1 year ago • 5 comments

Hello we are a Senior Design Class at the University of Michigan using sledge for our ADAS application. We are trying to run our first test function on our raspberry pi 4, but the folder for .sledgert does not appear in our directory. Any ideas?

hassanbk20 avatar Mar 28 '23 23:03 hassanbk20

Hi! Can you specify a bit more? What do you mean the folder for sledgert does not appear in your directory?

emil916 avatar Mar 29 '23 17:03 emil916

I appreciate you getting back to us! We are trying to run the fibonacci test function, and on the command LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH" ./sledgert ../../tests/fibonacci/bimodal/spec.json we get a command line error stating the folder sledgert does not exist. I can send screenshots for more context if needed.

hassanbk20 avatar Mar 30 '23 16:03 hassanbk20

./sledgert is not a directory, it is the path to the executable in the runtime/bin directory. You most likely have not compiled the runtime code. Follow the installation instructions listed on the repo's main page.

emil916 avatar Mar 30 '23 19:03 emil916

After going through the steps again, we found that for ./install_deb.sh , we are getting "ARM64 support is still a work in progress!" . Could this be potentially be why we weren't able to run the test function?

hassanbk20 avatar Mar 31 '23 03:03 hassanbk20

Yes, indeed. For the time-being if you have a x86 machine, try installing on that one. Also, please share the error screenshot so we have it in the records. Thanks!

emil916 avatar Mar 31 '23 16:03 emil916