Closed felixscheinost closed 1 month ago
Would you be able to test #6358 and report back, whether it fixes your problem?
Wow, thanks so much for the quick fix!
Also 👍 for the well-maintained build and README, I was able to build and test the project very easily.
I can confirm that the PR fixes my problem, thanks again!
Expected behavior
Cause of the bug: Having JMeter installed via Nix.
I am trying to generate a HTML report using
jmeter -g run.csv -o report
I am expecting report generation to work.
Actual behavior
Report generation fails.
A look into
jmeter.log
shows the following stacktrace:Reason for the problem:
content
is copied from the installation directory of JMeter.Installation directory of JMeter is in
/nix/store
, not writable.So
content
dir is copied non-writable to the report directory.Subsequent copies of the contents of
content
fail.The code copying the static files to the report directory should ensure that the copied files have the necessary permissions.
You may dismiss this as a Nix-specific bug and while I agree that this is a peculiar setup, it still is perfectly sensible to have the contents of installed software be read-only when those contents aren't supposed to change.
Steps to reproduce the problem
nix-shell -p jmeter
jmeter -g <csv> -o report
JMeter Version
5.6.3
Java Version
No response
OS Version
No response