ftw.publisher.sender/mo/plone5 (#232084) test-plone-4.3.x.cfg

  • Add plone5 support


  • C7a06fb761d3135f9098fb2109de7d01?s=20&d=identicon  Matthias Osswald


Started by user ftwjenkinsjabber
Notifying endpoint with url 'https://ci.4teamwork.ch/jenkins/notifications'
Failed to evaluate macro 'null'
Building on master in workspace /var/lib/jenkins/jobs/ftw.publisher.sender/workspace
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
Allocating TCP port ZSERVER_PORT
  -> Assigned 44198
Allocating TCP port PORT1
  -> Assigned 35136
Allocating TCP port PORT2
  -> Assigned 36326
Allocating TCP port PORT3
  -> Assigned 46801
Allocating TCP port PORT4
  -> Assigned 37157
Allocating TCP port PORT5
  -> Assigned 33790
Allocating TCP port PORT6
  -> Assigned 36071
Allocating TCP port PORT7
  -> Assigned 42225
Allocating TCP port PORT8
  -> Assigned 39099
TCP port allocation complete
[workspace] $ /bin/sh -xe /tmp/jenkins8341815394192852255.sh
+ export CI=true
+ CI=true
+ '[' '!' -d ./.git ']'
+ git init
Initialized empty shared Git repository in /var/lib/jenkins/jobs/ftw.publisher.sender/workspace/.git/
+ git remote add origin git@github.com:4teamwork/ftw.publisher.sender.git
+ git fetch --depth 10 -q origin
+ git reset -q --hard 4a40d709fb0aef28016d4a8417961d7d25a1f281
+ '[' -f bin/cibuild ']'
+ /var/lib/jenkins/bin/jenkins-run.py test-plone-4.3.x.cfg

+ ln -s test-plone-4.3.x.cfg buildout.cfg

+ /usr/local/python/2.7.15/bin/python2.7 bootstrap.py
ez_setup.py is deprecated and when using it setuptools will be pinned to 33.1.1 since it's the last version that supports setuptools self upgrade/installation, check https://github.com/pypa/setuptools/issues/581 for more info; use pip to install setuptools
Downloading https://pypi.io/packages/source/s/setuptools/setuptools-33.1.1.zip
Extracting in /tmp/tmpQXULnw
Now working in /tmp/tmpQXULnw/setuptools-33.1.1
Building a Setuptools egg in /tmp/tmpo1rJpp
warning: no files found matching '*' under directory 'setuptools/_vendor'
/tmp/tmpo1rJpp/setuptools-33.1.1-py2.7.egg
/tmp/tmpo1rJpp/setuptools-33.1.1-py2.7.egg/pkg_resources/__init__.py:184: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
no previously-included directories found matching 'doc'
no previously-included directories found matching 'old-tutorial'
Creating directory '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin'.
Creating directory '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/parts'.
Creating directory '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/develop-eggs'.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/buildout'.

+ bin/buildout -n -t 5
Setting socket time out to 5 seconds.
mr.developer: Creating missing sources dir /var/lib/jenkins/jobs/ftw.publisher.sender/workspace/src.
mr.developer: Queued 'ftw.publisher.core' for checkout.
mr.developer: Cloned 'ftw.publisher.core' with git using branch 'mo/plone5' from 'https://github.com/4teamwork/ftw.publisher.core.git'.
Upgraded:
  setuptools version 40.8.0;
restarting.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/buildout'.
Setting socket time out to 5 seconds.
mr.developer: Queued 'ftw.publisher.core' for checkout.
mr.developer: Updated 'ftw.publisher.core' with git.
mr.developer: Switching to branch 'mo/plone5'.
Develop: '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/.'
warning: no files found matching '*.txt'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '._*' found anywhere in distribution
Develop: '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/src/ftw.publisher.core'
warning: no files found matching '*.txt'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '._*' found anywhere in distribution
Unused options for buildout: 'github-git' 'jenkins_python'.
Installing _mr.developer.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/develop'.
Installing package-directory.
Installing test.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/test'.
Installing dependencychecker.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/dependencychecker'.
Installing test-coverage.
Installing coverage.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/coverage2'.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/coverage-2.7'.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/coverage'.
Installing test-jenkins.
Unused options for test-jenkins: 'test-command-coverage'.
Installing pycodestyle-cfg.
Installing pycodestyle.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/pycodestyle'.
Installing pydocstyle-cfg.
Installing pydocstyle.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/pydocstyle'.
Installing isort-cfg.
Installing isort.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/isort'.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/easy_install'.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/easy_install-2.7'.
Installing pyflakes.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/pyflakes'.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/pyflakes'.
Installing zptlint.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/zptlint'.
Installing i18ndude.
Generated script '/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/bin/i18ndude'.
Installing check-translations.
Versions had to be automatically picked.
The following part definition lists the versions picked:
[versions]
Products.PloneFormGen = 1.7.25
Products.PythonField = 1.1.3
Products.TALESField = 1.1.3
Products.TemplateFields = 1.2.5
backports.os = 0.1.1
certifi = 2019.3.9
chardet = 3.0.4
collective.geo.mapwidget = 2.5
collective.geo.openlayers = 3.1
collective.recipe.shelloutput = 0.1
collective.z3cform.datagridfield = 1.3.1
collective.z3cform.mapwidget = 2.2
forbiddenfruit = 0.1.2
ftw.builder = 1.11.1
ftw.contentpage = 1.16.4
ftw.iframefix = 2.0.0
ftw.lawgiver = 1.16.0
ftw.referencewidget = 2.1.0
ftw.simplelayout = 2.0.1
ftw.testbrowser = 1.30.1
ftw.testing = 1.20.0
ftw.theming = 2.0.2
geographiclib = 1.49
idna = 2.6
importlib-metadata = 0.8
isort = 4.2.15
norecaptcha = 0.3.0
pyScss = 1.3.5
pycodestyle = 2.5.0
pydocstyle = 3.0.0
pyflakes = 2.1.1
pygeoif = 0.7
simplelayout.base = 4.0.6
simplelayout.ui.base = 3.0.6
ua-parser = 0.8.0
urllib3 = 1.22
z3c.dependencychecker = 2.7
zc.buildout = 2.13.1
zc.queue = 1.3
zipp = 0.3.3
zptlint = 0.2.4

# Required by:
# collective.geo.mapwidget==2.5
BeautifulSoup = 3.2.1

# Required by:
# ftw.upgrade==2.12.0
argcomplete = 1.9.4

# Required by:
# z3c.dependencychecker==2.7
cached-property = 1.5.1

# Required by:
# ftw.simplelayout==2.0.1
collective.dexteritytextindexer = 2.2.1

# Required by:
# ftw.geo==1.4.0
collective.geo.contentlocations = 3.2

# Required by:
# ftw.geo==1.4.0
collective.geo.geographer = 2.1

# Required by:
# ftw.geo==1.4.0
collective.geo.kml = 3.3

# Required by:
# ftw.geo==1.4.0
collective.geo.settings = 4.0

# Required by:
# ftw.contentpage==1.16.4
collective.quickupload = 1.11.1

# Required by:
# importlib-metadata==0.8
# pydocstyle==3.0.0
configparser = 3.7.4

# Required by:
# importlib-metadata==0.8
contextlib2 = 0.5.5

# Required by:
# ftw.testbrowser==1.30.1
# ftw.theming==2.0.2
cssselect = 1.0.3

# Required by:
# pyScss==1.3.5
enum34 = 1.1.6

# Required by:
# ftw.publisher.sender==2.8.3.dev0
ftw.autofeature = 1.0.0

# Required by:
# ftw.contentpage==1.16.4
ftw.calendarwidget = 1.1.12

# Required by:
# ftw.contentpage==1.16.4
# simplelayout.ui.base==3.0.6
ftw.colorbox = 1.3.0

# Required by:
# ftw.contentpage==1.16.4
ftw.geo = 1.4.0

# Required by:
# ftw.contentpage==1.16.4
# ftw.publisher.sender==2.8.3.dev0
ftw.profilehook = 1.3.0

# Required by:
# ftw.contentpage==1.16.4
# ftw.publisher.sender==2.8.3.dev0
ftw.table = 1.22.0

# Required by:
# ftw.contentpage==1.16.4
# ftw.publisher.sender==2.8.3.dev0
ftw.upgrade = 2.12.0

# Required by:
# ftw.geo==1.4.0
geopy = 1.19.0

# Required by:
# ftw.upgrade==2.12.0
inflection = 0.3.1

# Required by:
# ftw.autofeature==1.0.0
# ftw.builder==1.11.1
# ftw.lawgiver==1.16.0
# ftw.testing==1.20.0
path.py = 11.5.0

# Required by:
# pyScss==1.3.5
pathlib = 1.0.1

# Required by:
# importlib-metadata==0.8
pathlib2 = 2.3.3

# Required by:
# ftw.contentpage==1.16.4
plone.formwidget.recaptcha = 2.1.0

# Required by:
# pathlib2==2.3.3
scandir = 1.10.0

# Required by:
# Plone==4.3.18
# Products.CMFCore==2.2.10
# Products.CMFPlone==4.3.18
# Products.PloneFormGen==1.7.25
# Products.ZCatalog==2.13.29
# Products.statusmessages==4.1.2
# Zope2==2.13.28
# collective.xmltestreport==1.2.6
# ftw.autofeature==1.0.0
# ftw.contentpage==1.16.4
# ftw.profilehook==1.3.0
# ftw.publisher.core==2.10.3.dev0
# ftw.publisher.sender==2.8.3.dev0
# ftw.table==1.22.0
# ftw.upgrade==2.12.0
# mr.developer==1.38
# plone.memoize==1.1.2
# plone.z3cform==0.8.1
# z3c.dependencychecker==2.7
# z3c.form==3.2.11
# zExceptions==2.13.0
# zc.queue==1.3
# zope.annotation==3.5.0
# zope.component==3.9.5
# zope.contentprovider==3.7.2
# zope.event==3.5.2
# zope.i18n==3.7.4
# zope.i18nmessageid==3.5.3
# zope.interface==3.6.7
# zope.location==3.9.1
# zope.pagetemplate==3.6.3
# zope.proxy==3.6.1
# zope.publisher==3.12.6
# zope.schema==4.2.2
# zope.security==3.7.4
# zope.tal==3.5.2
# zope.traversing==3.13.2
# zope.viewlet==3.7.2
setuptools = 40.8.0

# Required by:
# ftw.contentpage==1.16.4
simplelayout.portlet.dropzone = 1.2.2

# Required by:
# simplelayout.base==4.0.6
simplelayout.ui.dragndrop = 3.1.0

# Required by:
# pydocstyle==3.0.0
snowballstemmer = 1.2.1

# Required by:
# z3c.dependencychecker==2.7
stdlib-list = 0.5.0

# Required by:
# ftw.upgrade==2.12.0
tarjan = 0.2.3.2

# Required by:
# z3c.dependencychecker==2.7
toml = 0.10.0

# Required by:
# simplelayout.ui.base==3.0.6
z3c.json = 0.5.5

+ bin/test-jenkins
pycodestyle -> /var/lib/jenkins/jobs/ftw.publisher.sender/workspace/parts/testresults/pycodestyle.log
pyflakes -> /var/lib/jenkins/jobs/ftw.publisher.sender/workspace/parts/testresults/pyflakes.log
zptlint -> /var/lib/jenkins/jobs/ftw.publisher.sender/workspace/parts/testresults/zptlint.log
check translations > /var/lib/jenkins/jobs/ftw.publisher.sender/workspace/parts/testresults/translations.html
Running ftw.publisher.sender.testing.ftw.publisher.sender:functional tests:
  Set up plone.testing.zca.LayerCleanup in 0.000 seconds.
  Set up plone.testing.z2.Startup in 0.170 seconds.
  Set up plone.app.testing.layers.PloneFixture in 6.895 seconds.
  Set up ftw.builder.testing.BuilderLayer in 0.000 seconds.
  Set up ftw.publisher.sender.testing.PublisherSenderLayer in 12.622 seconds.
  Set up ftw.builder.testing.set_builder_session_factory in 0.000 seconds.
  Set up ftw.publisher.sender.testing.ftw.publisher.sender:functional in 0.000 seconds.

ftw.testbrowser dump: /tmp/ftw.testbrowser-nEHLs6.html

Failure in test test_warning_on_publish_when_ftw_simplelayout_block_has_unpublished_references (ftw.publisher.sender.tests.test_example_workflow_constraint_definition.TestExampleWFConstraintDefinition)
Traceback (most recent call last):
  File "/var/lib/jenkins/zope/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 340, in run
    testMethod()
  File "/var/lib/jenkins/zope/eggs/ftw.testbrowser-1.30.1-py2.7.egg/ftw/testbrowser/__init__.py", line 42, in test_function
    return func(self, *args, **kwargs)
  File "/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/ftw/publisher/sender/tests/test_example_workflow_constraint_definition.py", line 209, in test_warning_on_publish_when_ftw_simplelayout_block_has_unpublished_references
    'The referenced object <a href="http://nohost/plone'
  File "/var/lib/jenkins/zope/eggs/ftw.testbrowser-1.30.1-py2.7.egg/ftw/testbrowser/pages/statusmessages.py", line 92, in assert_message
    text, as_string(browser=browser)))
AssertionError: No status message "The referenced object <a href="http://nohost/plone/other-page">Other Page</a> is not yet published.". Current messages: "[INFO] This object has been added to the queue.", "[INFO] Item state changed."

 
ftw.testbrowser dump: /tmp/ftw.testbrowser-Vysd4c.html

Failure in test test_warning_on_retract_when_ftw_simplelayout_block_has_published_references (ftw.publisher.sender.tests.test_example_workflow_constraint_definition.TestExampleWFConstraintDefinition)
Traceback (most recent call last):
  File "/var/lib/jenkins/zope/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 340, in run
    testMethod()
  File "/var/lib/jenkins/zope/eggs/ftw.testbrowser-1.30.1-py2.7.egg/ftw/testbrowser/__init__.py", line 42, in test_function
    return func(self, *args, **kwargs)
  File "/var/lib/jenkins/jobs/ftw.publisher.sender/workspace/ftw/publisher/sender/tests/test_example_workflow_constraint_definition.py", line 275, in test_warning_on_retract_when_ftw_simplelayout_block_has_published_references
    'The referenced object <a href="http://nohost/plone'
  File "/var/lib/jenkins/zope/eggs/ftw.testbrowser-1.30.1-py2.7.egg/ftw/testbrowser/pages/statusmessages.py", line 92, in assert_message
    text, as_string(browser=browser)))
AssertionError: No status message "The referenced object <a href="http://nohost/plone/other-page">Other Page</a> is still published.". Current messages: "[INFO] This object has been added to the queue.", "[INFO] Item state changed."

  Ran 62 tests with 2 failures, 0 errors and 4 skipped in 1 minutes 3.843 seconds.
Running ftw.publisher.sender.testing.ftw.publisher.sender:integration tests:
  Tear down ftw.publisher.sender.testing.ftw.publisher.sender:functional in 0.000 seconds.
  Tear down ftw.builder.testing.set_builder_session_factory in 0.000 seconds.
  Set up ftw.publisher.sender.testing.ftw.publisher.sender:integration in 0.000 seconds.
  Ran 40 tests with 2 failures, 0 errors and 0 skipped in 3.126 seconds.
Running ftw.testing.layer.ZCMLLayer tests:
  Tear down ftw.publisher.sender.testing.ftw.publisher.sender:integration in 0.000 seconds.
  Tear down ftw.publisher.sender.testing.PublisherSenderLayer in 0.004 seconds.
  Tear down plone.app.testing.layers.PloneFixture in 0.065 seconds.
  Tear down plone.testing.z2.Startup in 0.005 seconds.
  Tear down plone.testing.zca.LayerCleanup in 0.003 seconds.
  Tear down ftw.builder.testing.BuilderLayer in 0.000 seconds.
  Set up ftw.testing.layer.ftw.testing:LAYER_CLEANUP in 0.000 seconds.
  Set up ftw.testing.layer.ftw.testing:ZCML_DIRECTIVES in 0.002 seconds.
  Set up ftw.testing.layer.ZCMLLayer in 0.161 seconds.
  Ran 6 tests with 2 failures, 0 errors and 0 skipped in 0.004 seconds.
Running zope.testrunner.layer.UnitTests tests:
  Tear down ftw.testing.layer.ZCMLLayer in 0.000 seconds.
  Tear down ftw.testing.layer.ftw.testing:ZCML_DIRECTIVES in 0.000 seconds.
  Tear down ftw.testing.layer.ftw.testing:LAYER_CLEANUP in 0.000 seconds.
  Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 24 tests with 2 failures, 0 errors and 0 skipped in 0.006 seconds.
Tearing down left over layers:
  Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
Total: 132 tests, 2 failures, 0 errors and 4 skipped in 1 minutes 28.170 seconds.

Build step 'Execute shell' marked build as failure
Notifying endpoint with url 'https://ci.4teamwork.ch/jenkins/notifications'
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
Finished: FAILURE