Closed ffgao closed 1 year ago
Thanks for reporting @ffgao .
Have you got more context of what was going on when this happened:
benchbot_run
?Struggling to reproduce this locally, so any extra information you may have is helpful.
Thank you for your help @btalb More information is below:
Below is a running record:
Error occurred a few minutes later:
Hmmm.... sorry about the delay @ffgao , I'm struggling to immediately see what could be causing this (and can't reproduce locally).
I might need a bit deeper in terms of logging:
benchbot_run
doesn't exit immediately after the error: https://github.com/qcr/benchbot/blob/12daa9335e391b10170d372cdfad24df12d0e320/bin/benchbot_run#L398docker logs benchbot_robot_controller
You may have to do a benchbot_run -k
to clean up after this.
No benchbot_robot_controller in the list of container.@btalb The following is my operation.
ffgao:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
372aaf8feeb4 benchbot/backend:base "/bin/bash" 18 minutes ago Up 18 minutes benchbot_debug
c555e44fb73c benchbot/simulator:sim_omni "/bin/bash -c 'sourc…" 19 minutes ago Up 19 minutes 3007/tcp, 3009/tcp, 3080/tcp, 3085/tcp, 3333/tcp, 8011-8012/tcp, 8080/tcp, 8211/tcp, 8888/tcp, 8891/tcp, 8899/tcp, 47995-48012/tcp, 47995-48012/udp, 49000-49007/tcp, 49100/tcp, 49000-49007/udp benchbot_robot
40f0281b23a5 benchbot/backend:base "/bin/bash -c 'sourc…" 19 minutes ago Up 19 minutes benchbot_ros
ffgao:~$ docker logs benchbot_ro
benchbot_robot benchbot_ros
ffgao:~$ docker logs benchbot_robot
Robot controller is now available @ 'http://0.0.0.0:10000' ...
172.20.0.102 - - [2022-08-17 09:06:33] "GET // HTTP/1.1" 200 152 0.000461
172.20.0.102 - - [2022-08-17 09:06:34] "POST //configure HTTP/1.1" 200 137 0.170677
Preparing the requested controller ...
FAILED TO PREPARE INSTANCE AFTER 120s. STATUS CHECK COMMANDS WAS:
curl -s localhost:10001/started | grep -q 'true'
DUMPING LOGS FOR ALL COMMANDS...
COMMAND:
/benchbot/benchbot_simulator/run -P 10001 & x=$! && /isaac-sim/start_nucleus.sh ; sleep 5 && curl -X POST http://localhost:10001/start && wait $x
OUTPUT:
Traceback (most recent call last):
File "<string>", line 585, in __prepare
File "<string>", line 436, in prepare
File "<string>", line 207, in prepare
IOError: [Errno 20] Not a directory: '/tmp/benchbot_logs/0/r'
172.20.0.102 - - [2022-08-17 09:08:34] "GET //prepare HTTP/1.1" 500 426 120.086528
Apologies that we have been so slow in fixing problems.
I have also come across this when trying to verify a fix for #82.
If you perform a benchbot_install -b develop
operation and run again you should get more meaningful output from your benchbot_robot
log. Would you be able to send through what you receive so I can confirm it is the same as what I have been getting?
While current solution is not pretty I have put a hotfix in place that seems to solve this issue for me. A fresh benchbot_install
on the main branch should sort this out.
Worse case scenario I have found with the hotfix is that the first benchbot_run
seems to fail but all subsequent ones succeed.
I will work to fix this bug but will open a new issue regarding this.
Can you confirm that this fixes the issues you originally encountered?
Local testing seemed to show this issue as fixed. Closing due to inactivity
Hi,When I installed the program and executed "benchbot_run" command. The following error occurred.