spcl / serverless-benchmarks

SeBS: serverless benchmarking suite for automatic performance analysis of FaaS platforms.
https://mcopik.github.io/projects/sebs/
BSD 3-Clause "New" or "Revised" License
149 stars 67 forks source link

500 internal error on 020.network-benchmark. Please assist #117

Closed jchigu closed 1 year ago

jchigu commented 1 year ago

(python-venv) jchigu@SEBS:~$ curl 172.17.0.3:9000 --request POST --data '{"output-bucket": "020.network-benchmark-0-output-51aa6603-d12a-4d"}' --header 'Content-Type: application/json'

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
    <head>
        <title>Error: 500 Internal Server Error</title>
        <style type="text/css">
          html {background-color: #eee; font-family: sans;}
          body {background-color: #fff; border: 1px solid #ddd;
                padding: 15px; margin: 15px;}
          pre {background-color: #eee; border: 1px solid #ddd; padding: 5px;}
        </style>
    </head>
    <body>
        <h1>Error: 500 Internal Server Error</h1>
        <p>Sorry, the requested URL <tt>&#039;http://172.17.0.3:9000/&#039;</tt>
           caused an error:</p>
        <pre>Internal Server Error</pre>
          <h2>Exception:</h2>
          <pre>TypeError(&#039;an integer is required (got type NoneType)&#039;)</pre>
          <h2>Traceback:</h2>
          <pre>Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/bottle.py", line 868, in _handle return route.call(*args) File "/usr/local/lib/python3.7/site-packages/bottle.py", line 1748, in wrapper rv = callback(a, **ka) File "/sebs/server.py", line 17, in flush_log ret = function.handler(request.json) File "/function/function/function.py", line 8, in handler sleep(sleep_time) TypeError: an integer is required (got type NoneType) (python-venv) jchigu@SEBS:~$

mcopik commented 1 year ago

Dear @jchigu - all benchmarks whose number starts with the digit 0 are internal microbenchmarks used by specific experiments. They are not intended to be directly invoked by users, so they are not included in the benchmark list - please refer to this document to find all benchmarks.

I will add a warning clarifying the status of 0xy benchmarks to the list.