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

Get 'No JSON object could be decoded' when running tank with overload plugin #862

Open
Kirill380 opened this issue Sep 1, 2021 · 0 comments

Comments

@Kirill380
Copy link

Kirill380 commented Sep 1, 2021

Get next error:

15:49:14 [INFO] Preparing test...
15:49:14 [INFO] Checking tank resources...
15:49:14 [INFO] Using OVERLOAD backend
15:49:14 [INFO] Read authentication token from /var/loadtest/token.txt, token length is 32 bytes
15:49:14 [INFO] Proxy not set
15:49:14 [INFO] Detected target: somehost.com
15:49:14 [WARNING] Failed to create job on lunapark
15:49:14 [WARNING] ValueError('No JSON object could be decoded',)
15:49:14 [ERROR] 
15:49:14 [ERROR] Failed to connect to Lunapark, disabling DataUploader

When run yandex tank inside docker with overload integration.

Here's the config

overload:
  enabled: true
  operator: Kirill
  package: yandextank.plugins.DataUploader
  token_file: "/var/loadtest/token.txt"
  job_name: Test
  job_dsc: Basic load scenario

And a run command:

docker run \
    -v $(pwd):/var/loadtest \
    -v $SSH_AUTH_SOCK:/ssh-agent -e SSH_AUTH_SOCK=/ssh-agent \
    --net host \
    -it direvius/yandex-tank
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