Does this happen every time you post this change, or just sometimes?

The diff is small, so it's not size-related, but it is still happening on
diff upload. The expensive parts of diff upload are the time
parsing/processing the diff (which is going to be very fast in this case),
and talking to the repository to verify the contents of the diff.

In this case, it's going to likely be the latter. Has anyone encountered
any slowdowns or problems talking to the Perforce server lately?

Can you look through the reviewboard.log file as you're reproducing this
and see if it gives any timing information for the repository access, and
any warnings/errors about them taking a long time?

Christian

On Tue, Aug 1, 2017 at 5:18 AM, Nilesh Jaiswal <nileshj...@gmail.com> wrote:

> Yes it is very old, once this is get resolve we are planning to upgrade
> with incrementally.
>
> Here is the posting log which you requested.
>
> DEBUG:root:repository info: Path: mysoftware.com:1666, Base path: None,
> Supports changesets: True
>
> INFO:root:Generating diff for changenum 500070
> DEBUG:root:Running: p4 describe -s 500070
>
> DEBUG:root:Processing edit of //portals/Base/mod/dialog/
> filter/configureColumn.js
> DEBUG:root:Writing "//portals/Base/mod/dialog/filter/configureColumn.js#8"
> to "c:\users\abcuser\appdata\local\temp\tmph3xcuu"
> DEBUG:root:Running: p4 print -o c:\users\abcuser\appdata\local\temp\tmph3xcuu
> -q //portals/Base/mod/dialog/filter/configureColumn.js#8
>
> DEBUG:root:Running: diff -urNp c:\users\abcuser\appdata\local\temp\tmph3xcuu
> D:/perforce/codeSpace\portals\Base\mod\dialog\filter\configureColumn.js
> DEBUG:root:Command exited with rc 1: ['diff', '-urNp',
> 'c:\\users\\abcuser\\appdata\\local\\temp\\tmph3xcuu',
> 'D:/perforce/codeSpace\\portals\\Base\\mod\\dialog\\
> filter\\configureColumn.js']
> --- c:\users\abcuser\appdata\local\temp\tmph3xcuu 2017-07-12
> 14:50:09.988809700 +0530
>
> +++ D:/perforce/codeSpace\portals\Base\mod\dialog\filter\configureColumn.js
> 2017-07-12 14:39:22.040809700 +0530
>
> @@ -126,16 +126,13 @@
>
> //Action call for More Button in Configure Column
>
> dialog.find("#moreProp").bind('click', function() {
>
> var ctx = getContextPath();
>
> -
>
> - var select = $(this);
>
> - if(select.text() == "More"){
>
> - var path = ctx+"/sws/cond/extension" ;
>
> - var dia = getFile(path+".html");
>
> - var js = getFile(path+".js");
>
> - var handlers = eval(js);
>
> - mod.isMod = true;
>
> - handlers.onInit(mod, dia);
>
> - }
>
> + var path = ctx+"/sws/cond/extension" ;
>
> + var dia = getFile(path+".html");
>
> + var js = getFile(path+".js");
>
> + var handlers = eval(js);
>
> + mod.isMod = true;
>
> + var addSearchCondition = false;
>
> + handlers.onInit(mod, dia, false);
>
> });
>
> //Check box for empty column selection
>
> html = "<div id='cccheckBox' class='showEmptyCol'>";
>
> @@ -876,3 +873,4 @@
>
> onSubmit : onSubmit
>
> });
>
> })(jQueryEnterprise);
>
> +
>
> ---
>
> FOR RB USE DO NOT EDIT
> ----------------------
> p4web link: http://mysoftware.com:6666/500070?ac=10
> baseline: 501035
>
> post-review -o --bugs-closed="PRODBA-52549-JiraMap"
> --file-list=c:\users\abcuser\appdata\local\temp\tmpkcc6ew
> --branch="PRODBA" --server=http://rb.software.com/rbc --submit-as=abcuser
> --description-file="c:\users\abcuser\appdata\local\temp\tmpvmfz8r" 500070
> --p4-port="mysoftware.com:1666" --repository-url="mysoftware.com:1666"
>
> posting review request...
> >>> RBTools 0.4.3
>
> >>> Python 2.5.4
>
> >>> Running on Windows-Vista-6.1.7601
>
> >>> Home = C:\Users\abcuser\AppData\Roaming
>
> >>> Current Directory = d:\perforce\codeSpace
>
> >>> Checking the repository type. Errors shown below are mostly harmless.
>
> >>> Finished checking the repository type.
>
> >>> HTTP GETting api/info/
>
> >>> HTTP GETting api/
>
> >>> HTTP GETting http://rb.software.com/rbc/api/info/
>
> >>> Using the new web API
>
> >>> The self.info.path value is : mysoftware.com:1666
>
> >>> Attempting to create review request on mysoftware.com:1666 for 500070
>
> >>> Submitting the review request as abcuser
>
> >>> HTTP POSTing to http://rb.software.com/rbc/api/review-requests/:
> {'changenum': '500070', 'submit_as': 'abcuser', 'repository': '
> mysoftware.com:1666'}
>
> >>> Got API Error 204 (HTTP code 409): The change number specified has
> already been used
>
> >>> Error data: {u'stat': u'fail', u'review_request': {u'status':
> u'pending', u'last_updated': u'2017-07-06T09:06:38Z', u'description':
> u'PRODBA-52549 :: L10N Functional issue: Click More button from Configure
> Column Not working.\r\n\r\n\nFOR RB USE DO NOT 
> EDIT\n----------------------\np4web
> link: http://mysoftware.com:6666/500070?ac=10\nbaseline: 499363\n',
> u'links': {u'diffs': {u'href': u'http://rb.software.com/rbc/
> api/review-requests/169740/diffs/', u'method': u'GET'}, u'repository':
> {u'href': u'http://rb.software.com/rbc/api/repositories/1/', u'method':
> u'GET', u'title': u'pf-sa-1666'}, u'changes': {u'href': u'
> http://rb.software.com/rbc/api/review-requests/169740/changes/',
> u'method': u'GET'}, u'self': {u'href': u'http://rb.software.com/rbc/
> api/review-requests/169740/', u'method': u'GET'}, u'update': {u'href': u'
> http://rb.software.com/rbc/api/review-requests/169740/', u'method':
> u'PUT'}, u'last_update': {u'href': u'http://rb.software.com/rbc/
> api/review-requests/169740/last-update/', u'method': u'GET'}, u'reviews':
> {u'href': u'http://rb.software.com/rbc/api/review-requests/169740/reviews/',
> u'method': u'GET'}, u'draft': {u'href': u'http://rb.software.com/rbc/
> api/review-requests/169740/draft/', u'method': u'GET'},
> u'file_attachments': {u'href': u'http://rb.software.com/rbc/
> api/review-requests/169740/file-attachments/', u'method': u'GET'},
> u'submitter': {u'href': u'http://rb.software.com/rbc/api/users/abcuser/',
> u'method': u'GET', u'title': u'abcuser'}, u'screenshots': {u'href': u'
> http://rb.software.com/rbc/api/review-requests/169740/screenshots/',
> u'method': u'GET'}, u'delete': {u'href': u'http://rb.software.com/rbc/
> api/review-requests/169740/', u'method': u'DELETE'}}, u'target_groups':
> [], u'bugs_closed': [u'PRODBA-52549-JiraMap'], u'changenum': 500070,
> u'target_people': [{u'href': u'http://rb.software.com/rbc/api/users/e3060/',
> u'method': u'GET', u'title': u'e3060'}, {u'href': u'
> http://rb.software.com/rbc/api/users/gsam/', u'method': u'GET', u'title':
> u'gsam'}, {u'href': u'http://rb.software.com/rbc/api/users/sbehera/',
> u'method': u'GET', u'title': u'sbehera'}, {u'href': u'
> http://rb.software.com/rbc/api/users/stubbs/', u'method': u'GET',
> u'title': u'stubbs'}], u'testing_done': u'', u'branch': u'PRODBA', u'id':
> 169740, u'time_added': u'2017-07-06T08:51:18Z', u'summary': u'PRODBA-52549
> :: L10N Functional issue: Click More button from Configure Column Not
> working.', u'public': True}, u'err': {u'msg': u'The change number specified
> has already been used', u'code': 204}}
>
> >>> Review request already exists. Updating it...
>
> >>> HTTP PUTting to http://rb.software.com/rbc/api/review-requests/169740/:
> {'changenum': 500070}
>
> >>> Attempting to set field 'branch' to 'PRODBA' for review request
> '169740'
>
> >>> HTTP PUTting to http://rb.software.com/rbc/api/review-requests/169740/
> draft/: {'branch': 'PRODBA'}
>
> >>> Attempting to set field 'bugs_closed' to 'PRODBA-52549-JiraMap' for
> review request '169740'
>
> >>> HTTP PUTting to http://rb.software.com/rbc/api/review-requests/169740/
> draft/: {'bugs_closed': 'PRODBA-52549-JiraMap'}
>
> >>> Attempting to set field 'description' to 'PRODBA-52549 :: L10N
> Functional issue: Click More button from Configure Column Not working.
>
>
>
>
>
>
>
> FOR RB USE DO NOT EDIT
>
> ----------------------
>
> p4web link: http://mysoftware.com:6666/500070?ac=10
>
> baseline: 501035
>
> ' for review request '169740'
>
> >>> HTTP PUTting to http://rb.software.com/rbc/api/review-requests/169740/
> draft/: {'description': 'PRODBA-52549 :: L10N Functional issue: Click
> More button from Configure Column Not working.\r\n\r\n\nFOR RB USE DO NOT
> EDIT\n----------------------\np4web link: http://mysoftware.com:6666/
> 500070?ac=10\nbaseline: 501035\n'}
>
> >>> Uploading diff, size: 1233
>
> >>> HTTP POSTing to http://rb.software.com/rbc/api/review-requests/169740/
> diffs/: {}
>
> Unable to access http://rb.software.com/rbc/api/review-requests/169740/
> diffs/. The host path may be invalid
>
> <urlopen error (10060, 'Operation timed out')>
>
>
> On Mon, Jul 31, 2017 at 11:30 PM, Christian Hammond <
> christ...@beanbaginc.com> wrote:
>
>> That's a pretty ancient version. Neither that nor 1.7.x are really
>> supported anymore. However, it sounds like what you're hitting may be
>> network-related? This is a timeout, so either something is taking a very
>> long time to transmit to the Review Board server, or is being interrupted
>> at some stage.
>>
>> When you try posting the change and this occurs, how long does the post
>> operation take before you get an error response?
>>
>> Do you have a debug log from the failed post?
>>
>> Christian
>>
>> On Sun, Jul 30, 2017 at 8:57 PM, Nilesh Jaiswal <nileshj...@gmail.com>
>> wrote:
>>
>>> The file diff is not more than 1286 bytes, sometime it works and most
>>> of the time it's not working. RBTools version I am using 0.4.3.
>>>
>>>
>>>
>>> On Mon, Jul 31, 2017 at 3:35 AM, Christian Hammond <
>>> christ...@beanbaginc.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> It's possible you're trying to upload a very, very large diff, and it's
>>>> timing out trying to validate all the files or receive all the data. Can
>>>> you run 'rbt diff', output the contents to a file, and see how big that is?
>>>>
>>>> What version of RBTools are you running?
>>>>
>>>> Christian
>>>>
>>>> On Sat, Jul 29, 2017 at 12:03 PM, NSJ <nileshj...@gmail.com> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I am using older version of review board 1.7.5 and RBTools, while
>>>>> posting review request it reports below error message uploading diff.
>>>>>
>>>>> Error uploading diff
>>>>>
>>>>> and reviewboard server error
>>>>>
>>>>> 2017-07-21 13:13:39,986 - ERROR - Exception thrown for user demouser
>>>>> at http://xyz.com/xyzrb/api/review-requests/171175/diffs/
>>>>>
>>>>> Client read error (Timeout?)
>>>>> Traceback (most recent call last):
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/base.py",
>>>>> line 111, in get_response
>>>>>     response = callback(request, *callback_args, **callback_kwargs)
>>>>>   File "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/dja
>>>>> ngo/views/decorators/cache.py", line 89, in _wrapped_view_func
>>>>>     response = view_func(request, *args, **kwargs)
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/views/decorators/vary.py",
>>>>> line 19, in inner_func
>>>>>     response = func(*args, **kwargs)
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Djblets-0.7.11-py2.6.egg/djblets/webapi/resources.py",
>>>>> line 426, in __call__
>>>>>     method = request.POST.get('_method', kwargs.get('_method', method))
>>>>>   File "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/dja
>>>>> ngo/core/handlers/modpython.py", line 69, in _get_post
>>>>>     self._load_post_and_files()
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/http/__init__.py",
>>>>> line 368, in _load_post_and_files
>>>>>     self._post, self._files = self.parse_file_upload(self.META, data)
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/http/__init__.py",
>>>>> line 328, in parse_file_upload
>>>>>     return parser.parse()
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/http/multipartparser.py",
>>>>> line 133, in parse
>>>>>     for item_type, meta_data, field_stream in Parser(stream,
>>>>> self._boundary):
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/http/multipartparser.py",
>>>>> line 587, in __iter__
>>>>>     for sub_stream in boundarystream:
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/http/multipartparser.py",
>>>>> line 401, in next
>>>>>     return LazyStream(BoundaryIter(self._stream, self._boundary))
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/http/multipartparser.py",
>>>>> line 427, in __init__
>>>>>     unused_char = self._stream.read(1)
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/http/multipartparser.py",
>>>>> line 301, in read
>>>>>     out = ''.join(parts())
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/http/multipartparser.py",
>>>>> line 294, in parts
>>>>>     chunk = self.next()
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/http/multipartparser.py",
>>>>> line 316, in next
>>>>>     output = self._producer.next()
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/http/multipartparser.py",
>>>>> line 377, in next
>>>>>     data = self.flo.read(self.chunk_size)
>>>>>   File 
>>>>> "/usr/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/http/__init__.py",
>>>>> line 392, in read
>>>>>     return self._stream.read(*args, **kwargs)
>>>>> IOError: Client read error (Timeout?)
>>>>>
>>>>> what could be the reason of this error.
>>>>>
>>>>> Please help.
>>>>>
>>>>> --
>>>>> Supercharge your Review Board with Power Pack:
>>>>> https://www.reviewboard.org/powerpack/
>>>>> Want us to host Review Board for you? Check out RBCommons:
>>>>> https://rbcommons.com/
>>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "reviewboard" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to reviewboard+unsubscr...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Christian Hammond
>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>
>>>> --
>>>> Supercharge your Review Board with Power Pack:
>>>> https://www.reviewboard.org/powerpack/
>>>> Want us to host Review Board for you? Check out RBCommons:
>>>> https://rbcommons.com/
>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "reviewboard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to reviewboard+unsubscr...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> --
>> Supercharge your Review Board with Power Pack:
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons:
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to reviewboard+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to