You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we try to run the agent from the island using Run Local Monkey service on Windows sometimes we get PermissionError that we can't access the agent.
This is a bit racey due to the fact that the agent can still be running on the machine.
The issue is produced by this lines:
What was tried is using common.utils.file_utils.open_securely_permissioned_file which doesn't create the agent if it is already existing.
To Reproduce
Steps to reproduce the behavior:
Run depth_3 BB tests couple of time
You should see error.
Expected behavior
Two things shouldn't happen: the agent should be stopped and not used by a process and the agent should be created on the machine regardless if it is existing or not.
Screenshots
Error message now.
The check with common.utils.file_utils.open_securely_permissioned_file
Machine version (please complete the following information):
OS: Windows
The text was updated successfully, but these errors were encountered:
Describe the bug
When we try to run the agent from the island using Run Local Monkey service on Windows sometimes we get PermissionError that we can't access the agent.
This is a bit racey due to the fact that the agent can still be running on the machine.
The issue is produced by this lines:
monkey/monkey/monkey_island/cc/services/run_local_monkey.py
Lines 61 to 68 in e587368
What was tried is using
common.utils.file_utils.open_securely_permissioned_file
which doesn't create the agent if it is already existing.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Two things shouldn't happen: the agent should be stopped and not used by a process and the agent should be created on the machine regardless if it is existing or not.
Screenshots
Error message now.

The check with

common.utils.file_utils.open_securely_permissioned_file
Machine version (please complete the following information):
The text was updated successfully, but these errors were encountered: