Hi Team,

    We have been using OPNFV tool for our infrastructure level testing  and it 
help us in enhancing the ability of testing but past few weeks we are facing 
some issues with yardstick test case execution.
I ran opnfv_yardstick_tc010.yaml test case and faced the below issue. Can you 
please help us to solve this issue.

Issue: Getting value error "No JSON object could be decoded"
Command:  sudo yardstick -d task start 
/home/opnfv/repos/yardstick/tests/opnfv/test_cases/opnfv_yardstick_tc010.yaml

Error message:
Traceback (most recent call last):
  File "/home/opnfv/repos/yardstick/yardstick/benchmark/runners/iteration.py", 
line 75, in _worker_process
    result = method(scenario_output)
  File 
"/home/opnfv/repos/yardstick/yardstick/benchmark/scenarios/compute/lmbench.py", 
line 139, in run
    {"latencies": jsonutils.loads(stdout)})
  File 
"/usr/local/lib/python2.7/dist-packages/oslo_serialization/jsonutils.py", line 
264, in loads
    return json.loads(encodeutils.safe_decode(s, encoding), **kwargs)
  File "/usr/lib/python2.7/json/_init_.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded



Please find below the additional information for the reference.

Operating System: Ubuntu 16.04

root@iaas:/home/ubuntu# docker images
REPOSITORY                   TAG                 IMAGE ID            CREATED    
         SIZE
opnfv/functest-healthcheck   latest              46a03962fb15        7 weeks 
ago         396MB
opnfv/functest-healthcheck   hunter              767f6d195e1d        2 months 
ago        375MB
opnfv/yardstick              stable              a46683c72b76        3 months 
ago        2.53GB


root@iaas:/home/ubuntu# docker version
Client: Docker Engine - Community
Version:           19.03.6
API version:       1.40
Go version:        go1.12.16
Git commit:        369ce74a3c
Built:             Thu Feb 13 01:28:06 2020
OS/Arch:           linux/amd64
Experimental:      false

Server: Docker Engine - Community
Engine:
  Version:          19.03.6
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.16
  Git commit:       369ce74a3c
  Built:            Thu Feb 13 01:26:38 2020
  OS/Arch:          linux/amd64
  Experimental:     false
containerd:
  Version:          1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
  Version:          0.18.0
  GitCommit:        fec3683


Thanks and Regards,
Chandrasekaran R.
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. E-mail transmission is not guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or may contain viruses in transmission. 
The e mail and its contents (with or without referred errors) shall therefore 
not attach any liability on the originator or HCL or its affiliates. Views or 
opinions, if any, presented in this email are solely those of the author and 
may not necessarily reflect the views or opinions of HCL or its affiliates. Any 
form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of this message without the prior written 
consent of authorized representative of HCL is strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any email and/or attachments, please check them for 
viruses and other defects.
________________________________
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#24146): 
https://lists.opnfv.org/g/opnfv-tech-discuss/message/24146
Mute This Topic: https://lists.opnfv.org/mt/74143383/21656
Group Owner: [email protected]
Unsubscribe: https://lists.opnfv.org/g/opnfv-tech-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to