Project

General

Profile

Bug #8940

Command-line requests to Bridge are broken

Added by Evgeny Novikov 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Immediate
Category:
Bridge
Target version:
Start date:
06/09/2018
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

For instance, it seems that starting verification job decisions hangs up Bridge. Also, I am not sure that interfaces do not change for other kinds of requests.

I started to fix this issue in branch fix-cmd-line-requests.

History

#1

Updated by Evgeny Novikov 10 months ago

Evgeny Novikov wrote:

For instance, it seems that starting verification job decisions hangs up Bridge.

I couldn't reproduce the issue one more time, so, perhaps, it is just related with hang ups due to cancelling verification job decisions (#8935).

But I still suggest that some requests may be incorrect as it was with starting job decisions.

#2

Updated by Evgeny Novikov 10 months ago

I found one more related issue:

PYTHONPATH=utils ./utils/bin/download-progress.py --host ldvdev:8998 --username manager --password manager "Testing rule specifications" 
Traceback (most recent call last):
  File "./utils/bin/download-progress.py", line 27, in <module>
    session.job_progress(args.job, args.out)
  File "/home/novikov/work/klever/utils/utils/utils.py", line 167, in job_progress
    resp = self.__request('/jobs/get_job_progress_json/{0}/'.format(self.__get_job_id(job)))
  File "/home/novikov/work/klever/utils/utils/utils.py", line 106, in __request
    'Got unexpected status code "{0}" when send "{1}" request to "{2}"'.format(status_code, method, url)
utils.utils.UnexpectedStatusCode: Got unexpected status code "405" when send "GET" request to "http://ldvdev:8998/jobs/get_job_progress_json/3/" 

#3

Updated by Vladimir Gratinskiy 10 months ago

I've fixed some command-line requests. If there are still problems, it's with Bridge.

#4

Updated by Vladimir Gratinskiy 10 months ago

Vladimir Gratinskiy wrote:

I've fixed some command-line requests. If there are still problems, it's with Bridge.

For example, I forgot to change uploading of reports without decision so it's broken and will be fixed soon in "new-report-data" branch.

#5

Updated by Evgeny Novikov 10 months ago

  • Status changed from New to Closed

I don't see any issues anymore, so I merged the branch to master in 2de77bbb. Let's open another particular issues if something will be wrong.

Also available in: Atom PDF