Changes between Version 8 and Version 11 of Ticket #3056


Ignore:
Timestamp:
09/11/2015 12:21:49 PM (5 years ago)
Author:
kzar
Comment:

I've updated the description with a much simpler way to reproduce this problem.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3056

    • Property Priority changed from Unknown to P4
    • Property Ready set
  • Ticket #3056 – Description

    v8 v11  
    22 - Latest revision of CMS (f9fd64fbc629) 
    33 - Ubuntu Linux 15.04 running on a Thinkpad T450 
    4  - Serving the contents of the `testpages.adblockplus.org` repository with the $generic hide and block test cases. 
     4 - Serving the contents of the `cms-problem-example` repository. 
    55 - Python version 2.7.9 
    66 - Werkzeug 0.10.4 (Installed with easy_install) 
    77 
    88=== How to reproduce === 
    9  1. Clone `testpages.adblockplus.org` and `cms`. 
    10  2. Apply generic hide + block diff to testpages from this code review https://codereview.adblockplus.org/29325987/ . (Alternatively just clone from [https://github.com/kzar/testpages.adblockplus.org/tree/616-generic-hide my fork on GitHub].) 
    11  3. Edit your hosts file to point `testpages.adblockplus.org` and `www.testpages.adblockplus.org` at `127.0.0.1`. 
    12  4. In the testpages directory launch the test server like `../cms/runserver.py`. 
    13  5. Browse to this exact URL http://testpages.adblockplus.org:5000/en/testcases/generic/#01 
    14  6. Keep refreshing the page until the delay problem occurs. 
     9 1. Clone https://github.com/kzar/cms-problem-example and the `cms`. 
     10 2. In the cms-problem-example directory launch the test server like `../cms/runserver.py`. 
     11 3. Browse to this exact URL http://localhost:5000/ 
     12 4. Keep refreshing the page until the delay problem occurs. 
    1513 
    1614=== Observed behaviour === 
     
    2422I have also noticed a very similar / the same problem with the `run_tests.py` script in the `adblockpluscore` repository. The script acts as web server serving the pages and static files required to run the unit tests. The cause of this issue could be related. 
    2523 
    26 I'm working on a simpler example that reproduces the problem, so far I haven't managed though. 
     24The problem appears to happen when a connection is opened and then closed with no data sent. The request following will then be blocked for 10 seconds which is presumably a time-out somewhere in the web-server.