permission denied on taurus docker image run

86 views
Skip to first unread message

Zohar Golan

unread,
Jun 8, 2021, 4:52:08 AM6/8/21
to codename-taurus
Hi, 

I'm trying to run the taurus docker images and i get a premission denied on the yml I want to run, even though I did chmod 777 config.yml in order to debug the issue.

Thanks

grey....@gmail.com

unread,
Jun 8, 2021, 5:16:52 AM6/8/21
to codename-taurus
hi.
could you show full error message/log, and describe steps to reproduce?

---
Taras

Zohar Golan

unread,
Jun 8, 2021, 6:57:00 AM6/8/21
to codename-taurus
added an image with the error log

ב-יום שלישי, 8 ביוני 2021 בשעה 12:16:52 UTC+3, grey....@gmail.com כתב/ה:
WhatsApp Image 2021-06-08 at 13.55.27.jpeg

grey....@gmail.com

unread,
Jun 8, 2021, 4:00:32 PM6/8/21
to codename-taurus
Please don't put photos here, as logs much more convenient for us. Also don't forget to add all necessary configs/instructions to reproduce the case.

---
Taras

Zohar Golan

unread,
Jun 9, 2021, 10:24:40 AM6/9/21
to codename-taurus
Hi, sorry for that

run command:
docker run -it --rm -v /home/zohar/taurus/:/bzt-configs -v /home/zohar/taurus/artifacts/:/tmp/artifacts blazemeter/taurus config.yml -n --verbose

error log:
Traceback (most recent call last):
File "/usr/local/bin/bzt", line 8, in <module>
  sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/bzt/cli.py", line 673, in main
  executor = CLI(parsed_options)
File "/usr/local/lib/python3.8/dist-packages/bzt/cli.py", line 56, in __init__
self.setup_logging(options)
File "/usr/local/lib/python3.8/dist-packages/bzt/cli.py", line 111, in setup_logging
  file_handler = logging.FileHandler(options.log, encoding="utf-8")
File "/usr/lib/python3.8/logging/__init__.py", line 1143, in __init__
  StreamHandler.__init__(self, self._open())
File "/usr/lib/python3.8/logging/__init__.py", line 1172, in _open
  return open(self.baseFilename, self.mode, encoding=self.encoding)
PermissionError: [Errno 13] Permission denied: '/tmp/artifacts/bzt.log'

config.yml:
execution:
- concurrency: 5
  ramp-up: 20s
  hold-for: 10s
  scenario: TwoCheckout
 

scenarios:
  TwoCheckout:
    default-address: https://google.com/
    requests: 
      - /

ls -l /home/zohar/taurus:
drwxrwxrwx. 2 zohar zohar 6 jun 8 12:27 artifacts
rwxrwxrwx. 1 zohar zohar 175 jun 7 17:30 config.yml-

ב-יום שלישי, 8 ביוני 2021 בשעה 23:00:32 UTC+3, grey....@gmail.com כתב/ה:

grey....@gmail.com

unread,
Jun 10, 2021, 1:48:12 PM6/10/21
to codename-taurus
It looks like docker/os problem. Sorry, we can't help you with it.

----
Taras

Reply all
Reply to author
Forward
0 new messages