Skip to content

.jfr server nodes are damaged when the test is stopped #37

@SviridovMM

Description

@SviridovMM

Good afternoon. About sh stopping the server node from yardstick. Now there are used commands
pkill -9 -f "Dyardstick. server"
pkill -9 -f "benchmark-server-restarter-start.sh"

the -9 key forcibly terminates processes. A problem has been identified that if the jfr recording option is active at startup, then with this method of shutting down the server node, the last jfr file does not correctly complete its recording (it is not possible to open it later), as a result, all jfrs recorded during the test are not stitched into a single jfr file.
Make simple edits for yourself. I just deleted the -9 key from the server node stop command.

pkill-f "Dyardstick. server"
pkill-f "benchmark-server-restarter-start.sh"

I understand that there were probably reasons to use pkill -9-f, so I would like to know if it is possible to leave it like this. If so, how can this be added to the repository so that further builds are built with the corrected sh script?

Thank you very much in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions