Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vegeta unable to write to files with -output #685

Open
benwis opened this issue Mar 23, 2024 · 0 comments
Open

vegeta unable to write to files with -output #685

benwis opened this issue Mar 23, 2024 · 0 comments

Comments

@benwis
Copy link

benwis commented Mar 23, 2024

Version and Runtime

benwis@profiler:~/vegeta/scripts/load-ramping$ vegeta --version
Version: v12.11.1
Commit: 6fbe391628eeeae1adf39522a55078797e6e7f2e
Runtime: go1.20.8 linux/amd64
Date: 2023-10-02T09:05:05Z+0000

Expected Behaviour

I expected it to successfully write the results to a file

Actual Behaviour

It failed to write files using the -output flag with 'permission denied'

vegeta attack -duration 5s -rate 1000/1000s -output results_1000.bin
2024/03/23 00:32:28 error opening results_1000.bin: open results_1000.bin: permission denied
vegeta attack -duration 5s -rate 1258/1000s -output results_1258.bin
2024/03/23 00:32:34 error opening results_1258.bin: open results_1258.bin: permission denied

Steps to Reproduce

  1. Create an Ubuntu VM on DigitalOcean, latest LTS version
  2. Install python3 and gnuplot. Download load-ramp example
  3. Run it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant