← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1600070] [NEW] 'tox -e docs' fails due to wrong JSON format

 

Public bug reported:

The JSON format check fails when executing 'tox -e docs'.

stack@devstack-master:/tmp/nova$ tox -e docs
(snipped...)
docs runtests: commands[2] | bash -c ! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python
python -m json.tool doc/api_samples/os-assisted-volume-snapshots/snapshot-create-assisted-req.json 
Expecting property name: line 9 column 9 (char 309)
ERROR: InvocationError: '/bin/bash -c ! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
_________________________________________________________________________________________________ summary _________________________________________________________________________________________________
ERROR:   docs: commands failed

[Environmant]
OS: Ubuntu 14.04.4 LTS (64bit)
nova: master(commit: 8f5c2c0447886c6a2877ea9ca6484045d5597dd9)

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Takashi NATSUME (natsume-takashi)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1600070

Title:
  'tox -e docs' fails due to wrong JSON format

Status in OpenStack Compute (nova):
  New

Bug description:
  The JSON format check fails when executing 'tox -e docs'.

  stack@devstack-master:/tmp/nova$ tox -e docs
  (snipped...)
  docs runtests: commands[2] | bash -c ! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python
  python -m json.tool doc/api_samples/os-assisted-volume-snapshots/snapshot-create-assisted-req.json 
  Expecting property name: line 9 column 9 (char 309)
  ERROR: InvocationError: '/bin/bash -c ! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
  _________________________________________________________________________________________________ summary _________________________________________________________________________________________________
  ERROR:   docs: commands failed

  [Environmant]
  OS: Ubuntu 14.04.4 LTS (64bit)
  nova: master(commit: 8f5c2c0447886c6a2877ea9ca6484045d5597dd9)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1600070/+subscriptions


Follow ups