10.0.swarm.failures_report fails with JSON decode error

Bug #1602735 reported by Dennis Dmitriev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Incomplete
Low
Unassigned

Bug Description

Script 'generate_failure_group_statistics.py' is failed with the following error while getting builds data from Jenkins:

2016-07-13 15:00:08,171 - INFO - Latest build number is 172. Job is 9.0.swarm.runner
2016-07-13 15:00:08,171 - INFO generate_failure_group_statistics.py:784 -- Latest build number is 172. Job is 9.0.swarm.runner
2016-07-13 15:00:08,171 - INFO - Getting subbuilds for 9.0.swarm.runner 172
2016-07-13 15:00:08,171 - INFO generate_failure_group_statistics.py:788 -- Getting subbuilds for 9.0.swarm.runner 172
Traceback (most recent call last):
  File "fuelweb_test/testrail/generate_failure_group_statistics.py", line 844, in <module>
    sys.exit(main())
  File "fuelweb_test/testrail/generate_failure_group_statistics.py", line 789, in main
    subbuilds, swarm_jenkins_info = get_sub_builds(args.build_number)
  File "fuelweb_test/testrail/generate_failure_group_statistics.py", line 394, in get_sub_builds
    runner_build = Build(job_name, build_number)
  File "/home/jenkins/workspace/10.0.swarm.failures_report/fuelweb_test/testrail/builds.py", line 90, in __init__
    self.build_data = self.get_build_data(depth=0)
  File "/home/jenkins/workspace/10.0.swarm.failures_report/fuelweb_test/testrail/builds.py", line 111, in get_build_data
    return requests.get(build_url).json()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/requests/models.py", line 812, in json
    return complexjson.loads(self.text, **kwargs)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/simplejson/__init__.py", line 516, in loads
    return _default_decoder.decode(s)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/simplejson/decoder.py", line 370, in decode
    obj, end = self.raw_decode(s)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Tags: area-qa
Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

Move to incomplete. Provide proper fuel version, diagnostic snapshot and a way to reproduce this bug, please.

Changed in fuel:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.