These CMIS functional tests sometimes fail on MySQL and SQL Server:
====================================================================== ERROR: testDeleteContentStreamPWC (cmislibtest.DocumentTest) Delete the content stream of a PWC ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/mssql/jdk/java-8-oracle/nuxeo-distribution/nuxeo-server-cmis-tests/cmislibtest.py", line 1271, in testDeleteContentStreamPWC pwc.deleteContentStream() File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/mssql/jdk/java-8-oracle/nuxeo-distribution/nuxeo-server-cmis-tests/cmislib/atompub/binding.py", line 2602, in deleteContentStream **args) File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/mssql/jdk/java-8-oracle/nuxeo-distribution/nuxeo-server-cmis-tests/cmislib/atompub/binding.py", line 150, in delete self._processCommonErrors(resp, url) File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/mssql/jdk/java-8-oracle/nuxeo-distribution/nuxeo-server-cmis-tests/cmislib/cmis_services.py", line 62, in _processCommonErrors raise UpdateConflictException(error['status'], url) UpdateConflictException: Error 409 at http://localhost:8080/nuxeo/atom/cmis/default/content/250px-Cmis_logo.png?id=696aec77-4fc4-4c64-b499-53f208384985 ====================================================================== ERROR: testSetContentStreamPWCMimeType (cmislibtest.DocumentTest) Check the mimetype after the PWC checkin ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/mssql/jdk/java-8-oracle/nuxeo-distribution/nuxeo-server-cmis-tests/cmislibtest.py", line 1192, in testSetContentStreamPWCMimeType pwc.setContentStream(f) File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/mssql/jdk/java-8-oracle/nuxeo-distribution/nuxeo-server-cmis-tests/cmislib/atompub/binding.py", line 2565, in setContentStream **args) File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/mssql/jdk/java-8-oracle/nuxeo-distribution/nuxeo-server-cmis-tests/cmislib/atompub/binding.py", line 212, in put self._processCommonErrors(resp, url) File "/opt/jenkins/workspace/master/FT-nuxeo-master-cmis-cap-tomcat-multidb-linux/Slave/MULTIDB_LINUX/dbprofile/mssql/jdk/java-8-oracle/nuxeo-distribution/nuxeo-server-cmis-tests/cmislib/cmis_services.py", line 62, in _processCommonErrors raise UpdateConflictException(error['status'], url) UpdateConflictException: Error 409 at http://localhost:8080/nuxeo/atom/cmis/default/content/250px-Cmis_logo.png?id=106c17ef-85aa-46cd-8cee-31dbb0313ad9
The root cause is the same as NXP-21299.
- depends on
-
NXP-21338 Use millisecond precision on MySQL/MariaDB
- Resolved
-
NXP-21342 Use full millisecond precision on SQL Server
- Resolved
- is duplicated by
-
NXP-20257 Fix random failure on CMIS tests
- Resolved
- is required by
-
NXP-21299 Fix randomly-failing CMIS test testSetContentStreamWithDigestHeader
- Resolved