google / schedviz

A tool for gathering and visualizing kernel scheduling traces on Linux machines
Apache License 2.0
519 stars 34 forks source link

Failed to upload trace file trace.tar.gz #46

Open JonKohler opened 2 years ago

JonKohler commented 2 years ago

Alright, finally got the server running on ubuntu 20.04, ran a trace, and now get the following while trying to upload it via the UI.

Happy to share this trace via google drive to whomever would like to look? cc @sabarabc

Failed to upload trace file trace.tar.gz
Message:
 Http failure response for http://10.50.69.252:7402/upload: 500 Internal Server Error
Reason:
 Internal Server Error:
Failed to upload trace file: open /home/jon/git/schedviz/traces/53363615-8e4a-4387-93e6-2ae881cfba0b_16f215f736fdc3c2_local_user.binproto: no such file or directory

Request:
POST /upload HTTP/1.1
Host: 10.50.69.252:7402
Accept: application/json, text/plain, */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Content-Length: 25881625
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryRNOGkEFVSwyBAu4u
Origin: http://10.50.69.252:7402
Referer: http://10.50.69.252:7402/collections
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36
JonKohler commented 2 years ago

Ah! This was because I specified that as my traces folder, but did not mkdir that folder. Should that be an error condition the install checks against?