Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20257

Fix random failure on CMIS tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 8.4-SNAPSHOT
    • Fix Version/s: 9.1
    • Component/s: CMIS
    • Tags:
    • Sprint:
      nxfit 9.1.1, nxFG 9.1.3
    • Story Points:
      1

      Description

      Some failures are visible randomly on https://qa.nuxeo.org/jenkins/view/reports/job/master/job/FT-nuxeo-master-cmis-cap-tomcat-multidb-windows/Slave=MULTIDB_WINDOWS,dbprofile=mssql,jdk=java-8-oracle/64/console

      13:36:36 [ERROR]      [echo] ======================================================================
      13:36:36 [ERROR]      [echo] ERROR: testCheckinAfterGetPWC (cmislibtest.DocumentTest)
      13:36:36 [ERROR]      [echo] Create a document in a test folder, check it out, call getPWC, then checkin
      13:36:36 [ERROR]      [echo] ----------------------------------------------------------------------
      13:36:36 [ERROR]      [echo] Traceback (most recent call last):
      13:36:36 [ERROR]      [echo]   File "C:\Jenkins\workspace\master\FT-nuxeo-master-cmis-cap-tomcat-multidb-windows\Slave\MULTIDB_WINDOWS\dbprofile\mssql\jdk\java-8-oracle\nuxeo-distribution\nuxeo-distribution-cap-cmis-tests\cmislibtest.py", line 911, in testCheckinAfterGetPWC
      13:36:36 [ERROR]      [echo]     testDoc.checkout()
      13:36:36 [ERROR]      [echo]   File "C:\Jenkins\workspace\master\FT-nuxeo-master-cmis-cap-tomcat-multidb-windows\Slave\MULTIDB_WINDOWS\dbprofile\mssql\jdk\java-8-oracle\nuxeo-distribution\nuxeo-distribution-cap-cmis-tests\cmislib\atompub\binding.py", line 2279, in checkout
      13:36:36 [ERROR]      [echo]     ATOM_XML_ENTRY_TYPE)
      13:36:36 [ERROR]      [echo]   File "C:\Jenkins\workspace\master\FT-nuxeo-master-cmis-cap-tomcat-multidb-windows\Slave\MULTIDB_WINDOWS\dbprofile\mssql\jdk\java-8-oracle\nuxeo-distribution\nuxeo-distribution-cap-cmis-tests\cmislib\atompub\binding.py", line 187, in post
      13:36:36 [ERROR]      [echo]     self._processCommonErrors(resp, url)
      13:36:36 [ERROR]      [echo]   File "C:\Jenkins\workspace\master\FT-nuxeo-master-cmis-cap-tomcat-multidb-windows\Slave\MULTIDB_WINDOWS\dbprofile\mssql\jdk\java-8-oracle\nuxeo-distribution\nuxeo-distribution-cap-cmis-tests\cmislib\cmis_services.py", line 62, in _processCommonErrors
      13:36:36 [ERROR]      [echo]     raise UpdateConflictException(error['status'], url)
      13:36:36 [ERROR]      [echo] UpdateConflictException: Error 409 at http://localhost:8080/nuxeo/atom/cmis/default/checkedout
      13:36:36 [ERROR]      [echo] ======================================================================
      13:36:36 [ERROR]      [echo] ERROR: testDeleteContentStreamPWC (cmislibtest.DocumentTest)
      13:36:36 [ERROR]      [echo] Delete the content stream of a PWC
      13:36:36 [ERROR]      [echo] ----------------------------------------------------------------------
      13:36:36 [ERROR]      [echo] Traceback (most recent call last):
      13:36:36 [ERROR]      [echo]   File "C:\Jenkins\workspace\master\FT-nuxeo-master-cmis-cap-tomcat-multidb-windows\Slave\MULTIDB_WINDOWS\dbprofile\mssql\jdk\java-8-oracle\nuxeo-distribution\nuxeo-distribution-cap-cmis-tests\cmislibtest.py", line 1198, in testDeleteContentStreamPWC
      13:36:36 [ERROR]      [echo]     pwc = newDoc.checkout()
      13:36:36 [ERROR]      [echo]   File "C:\Jenkins\workspace\master\FT-nuxeo-master-cmis-cap-tomcat-multidb-windows\Slave\MULTIDB_WINDOWS\dbprofile\mssql\jdk\java-8-oracle\nuxeo-distribution\nuxeo-distribution-cap-cmis-tests\cmislib\atompub\binding.py", line 2279, in checkout
      13:36:36 [ERROR]      [echo]     ATOM_XML_ENTRY_TYPE)
      13:36:36 [ERROR]      [echo]   File "C:\Jenkins\workspace\master\FT-nuxeo-master-cmis-cap-tomcat-multidb-windows\Slave\MULTIDB_WINDOWS\dbprofile\mssql\jdk\java-8-oracle\nuxeo-distribution\nuxeo-distribution-cap-cmis-tests\cmislib\atompub\binding.py", line 187, in post
      13:36:36 [ERROR]      [echo]     self._processCommonErrors(resp, url)
      13:36:36 [ERROR]      [echo]   File "C:\Jenkins\workspace\master\FT-nuxeo-master-cmis-cap-tomcat-multidb-windows\Slave\MULTIDB_WINDOWS\dbprofile\mssql\jdk\java-8-oracle\nuxeo-distribution\nuxeo-distribution-cap-cmis-tests\cmislib\cmis_services.py", line 62, in _processCommonErrors
      13:36:36 [ERROR]      [echo]     raise UpdateConflictException(error['status'], url)
      13:36:36 [ERROR]      [echo] UpdateConflictException: Error 409 at http://localhost:8080/nuxeo/atom/cmis/default/checkedout
      13:36:36 [ERROR]      [echo] ----------------------------------------------------------------------
      

      Also on https://qa.nuxeo.org/jenkins/view/reports/job/master/job/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave=MULTIDB_LINUX,dbprofile=oracle12c,jdk=java-8-oracle/64/console

      13:40:05 [ERROR]      [echo] ======================================================================
      13:40:05 [ERROR]      [echo] ERROR: testSetContentStreamPWC (cmislibtest.DocumentTest)
      13:40:05 [ERROR]      [echo] Set the content stream on the PWC
      13:40:05 [ERROR]      [echo] ----------------------------------------------------------------------
      13:40:05 [ERROR]      [echo] Traceback (most recent call last):
      13:40:05 [ERROR]      [echo]   File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/oracle12c/jdk/java-8-oracle/nuxeo-distribution/nuxeo-distribution-cap-cmis-tests/cmislibtest.py", line 1076, in testSetContentStreamPWC
      13:40:05 [ERROR]      [echo]     pwc = newDoc.checkout()
      13:40:05 [ERROR]      [echo]   File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/oracle12c/jdk/java-8-oracle/nuxeo-distribution/nuxeo-distribution-cap-cmis-tests/cmislib/atompub/binding.py", line 2279, in checkout
      13:40:05 [ERROR]      [echo]     ATOM_XML_ENTRY_TYPE)
      13:40:05 [ERROR]      [echo]   File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/oracle12c/jdk/java-8-oracle/nuxeo-distribution/nuxeo-distribution-cap-cmis-tests/cmislib/atompub/binding.py", line 187, in post
      13:40:05 [ERROR]      [echo]     self._processCommonErrors(resp, url)
      13:40:05 [ERROR]      [echo]   File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/oracle12c/jdk/java-8-oracle/nuxeo-distribution/nuxeo-distribution-cap-cmis-tests/cmislib/cmis_services.py", line 62, in _processCommonErrors
      13:40:05 [ERROR]      [echo]     raise UpdateConflictException(error['status'], url)
      13:40:05 [ERROR]      [echo] UpdateConflictException: Error 409 at http://localhost:8080/nuxeo/atom/cmis/default/checkedout
      13:40:05 [ERROR]      [echo] ----------------------------------------------------------------------
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: