pyri-project / pyri-robotics

Python Restricted Industrial (PyRI) Open Source Teach Pendant Robotics Package
http://pyri.tech
Apache License 2.0
0 stars 2 forks source link

Procedures Stability Test Failure #6

Open maxwelllls opened 4 months ago

maxwelllls commented 4 months ago

When conducting stability tests by cyclically invoking Procedures through the "Main" Panel, the process stops after approximately 1000 cycles, with the following error messages appearing in the terminal.

image image

Clicking the "run" button in the "new" Procedures separately also fails to execute, accompanied by the following message. image

maxwelllls commented 4 months ago

After numerous tests, it seems that the issue does not only occur with a specific component. Similar phenomena have been observed with the robotics_motion, sandbox, and variable_storage devices. This suggests that the problem may be related to the stability of Robot Raconteur.

maxwelllls commented 4 months ago

Hi @johnwason ,sorry to bother you again. Even after fixing the deadlock issue with the RR components, stability testing using the "main" panel still fails. The robotics_motion, sandbox, and variable_storage devices may unexpectedly stop working.

The method of reproduction remains the same: rapid cycling of tasks, resulting in a crash within a few minutes.

johnwason commented 4 months ago

sorry to bother you again.

Your feedback is much appreciated!

Even after fixing the deadlock issue with the RR components, stability testing using the "main" panel still fails. The robotics_motion, sandbox, and variable_storage devices may unexpectedly stop working.

Ok, I will keep running duration tests to see if I can reproduce.

johnwason commented 3 months ago

Hi @maxwelllls I am aware of this issue, and am fixing some features upstream in the core libraries that should help significantly with this type of stability problem. Thank you for your patience.

maxwelllls commented 3 months ago

Appreciate your work on this issue. Eagerly awaiting the fix!

johnwason commented 3 months ago

I believe I have fixed this error, and will push out the updates over the next few days along with some overall improvements to the software.

During endurance testing I discovered another issue with variable_storage. I am going to continue endurance testing to figure out why it is crashing, but that will take some time since the error doesn't appear immediately.

johnwason commented 3 months ago

I believe I have fixed the errors you encountered, and the problem with variable_storage.

Please reinstall PyRI using the instructions at https://github.com/pyri-project/pyri-core/blob/master/README.md

Use a new venv if possible.

You may need to delete the contents of $HOME/.local/share/pyri-project to completely remove the old version.

johnwason commented 1 month ago

Has this been resolved?

maxwelllls commented 1 month ago

Has this been resolved?

Apologies for not providing timely feedback. After updating the program, I conducted a retest, running it for about 10 hours and several tens of thousands of cycles, and no errors occurred with pyri.

However, the realman_robot_driver that I developed myself currently has some stability issues and stops responding after about ten hours. At present, there is reason to believe that the stability issue with pyri has been resolved.

PS: @Lafatalite is our team’s new member, and he will be mainly responsible for the development of the teach pendant in the future.