Skip to content

Windows agent is not deleted after completition #1763

@ilija-lazoroski

Description

@ilija-lazoroski

Describe the bug

When running the monkey agent on windows system, the agent is not deleted after the execution is finished.
Possible cause is that we are using subprocess.Popen to launch a command that waits and then deletes the binary, but somewhere we exit the agent which kills the Popen execution and the agent is never deleted.

To Reproduce

Steps to reproduce the behavior:

  1. Run the Monkey Agent from executable
  2. Check if the executable is deleted

Expected behavior

The agent should be removed after execution.

Task

Screenshots

image

Machine version (please complete the following information):

  • OS: Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugAn error, flaw, misbehavior or failure in the Monkey or Monkey Island.Complexity: MediumImpact: High

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions