← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 837311] [NEW] document_ftp: stalled server at test4.yml

 

Public bug reported:

Affects 6.0 official series. Detected by buildbot v3

We had seen the 'time out' kind of error in buildbot v2.5 . There, it
was mostly caused by the fact that the ftp port is not configurable and
parallel tests would conflict with each other. In the old buildbot, the
'document_ftp' module had been black-listed, so no tests ever ran
against it.

But, today, in buildbot v3, I saw this kind of error, which must be a _real_ bug:
http://pefnos2.homelinux.org:8020/builders/OpenERP-buildbot-addons 6.0/builds/30/tests/document_ftp.test

It only happens late in "test4", after hundreds of ftp operations that
have succeded in test2, test3. And, if you examine builds 29, 28, 27 ...
, you will see that it happened at the same yaml command all the times.
Weird.

The 'time out' is our safeguard against such a server failure: we
wouldn't expect any FTP command to take more than, well, 1-2 seconds
anyway. Here, it takes 10. So, somewhere, the openerp-server stalls.

I do suspect an unclosed db cursor (because ftp does some cursor
management, in fact). It could still, however, be anything else.

Although the document_ftp module is one of the black sheep, this bug
could affect other parts of the openerp-server, so, please, take some
time to investigate.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/837311

Title:
  document_ftp: stalled server at test4.yml

Status in OpenERP Modules (addons):
  New

Bug description:
  Affects 6.0 official series. Detected by buildbot v3

  We had seen the 'time out' kind of error in buildbot v2.5 . There, it
  was mostly caused by the fact that the ftp port is not configurable
  and parallel tests would conflict with each other. In the old
  buildbot, the 'document_ftp' module had been black-listed, so no tests
  ever ran against it.

  But, today, in buildbot v3, I saw this kind of error, which must be a _real_ bug:
  http://pefnos2.homelinux.org:8020/builders/OpenERP-buildbot-addons 6.0/builds/30/tests/document_ftp.test

  It only happens late in "test4", after hundreds of ftp operations that
  have succeded in test2, test3. And, if you examine builds 29, 28, 27
  ... , you will see that it happened at the same yaml command all the
  times. Weird.

  The 'time out' is our safeguard against such a server failure: we
  wouldn't expect any FTP command to take more than, well, 1-2 seconds
  anyway. Here, it takes 10. So, somewhere, the openerp-server stalls.

  I do suspect an unclosed db cursor (because ftp does some cursor
  management, in fact). It could still, however, be anything else.

  Although the document_ftp module is one of the black sheep, this bug
  could affect other parts of the openerp-server, so, please, take some
  time to investigate.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/837311/+subscriptions


Follow ups

References