ftw.contacts/mba/sync-security (#232697) test-plone-4.3.x.cfg

  • Setup security in the in the sync script.

    This is required if we want to execute workflow actions through content rules.


  • 04553ff35cf9078f55c9d9d392f12599?s=20&d=identicon  Martin Bächtold


Started by user ftwjenkinsjabber
Notifying endpoint with url 'https://ci.4teamwork.ch/jenkins/notifications'
Failed to evaluate macro 'null'
Building remotely on slave1 in workspace /var/lib/jenkins/workspace/ftw.contacts
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
Allocating TCP port ZSERVER_PORT
  -> Assigned 39608
Allocating TCP port PORT1
  -> Assigned 40463
Allocating TCP port PORT2
  -> Assigned 38406
Allocating TCP port PORT3
  -> Assigned 37110
Allocating TCP port PORT4
  -> Assigned 37901
Allocating TCP port PORT5
  -> Assigned 38449
Allocating TCP port PORT6
  -> Assigned 35665
Allocating TCP port PORT7
  -> Assigned 33740
Allocating TCP port PORT8
  -> Assigned 43830
TCP port allocation complete
[ftw.contacts] $ /bin/sh -xe /tmp/jenkins8813974845566184304.sh
+ export CI=true
+ CI=true
+ '[' '!' -d ./.git ']'
+ git init
Initialized empty shared Git repository in /var/lib/jenkins/workspace/ftw.contacts/.git/
+ git remote add origin git@github.com:4teamwork/ftw.contacts.git
+ git fetch --depth 10 -q origin
+ git reset -q --hard 7b5ca2f6a044676bad0f043d76cff5739d75c819
+ '[' -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/tmptFAlYi
Now working in /tmp/tmptFAlYi/setuptools-33.1.1
Building a Setuptools egg in /tmp/bootstrap-aO7YXF
warning: no files found matching '*' under directory 'setuptools/_vendor'
/tmp/bootstrap-aO7YXF/setuptools-33.1.1-py2.7.egg
no previously-included directories found matching 'doc'
no previously-included directories found matching 'old-tutorial'
Creating directory '/var/lib/jenkins/workspace/ftw.contacts/bin'.
Creating directory '/var/lib/jenkins/workspace/ftw.contacts/parts'.
Creating directory '/var/lib/jenkins/workspace/ftw.contacts/develop-eggs'.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/buildout'.

+ bin/buildout -n -t 5
Setting socket time out to 5 seconds.
mr.developer: Creating missing sources dir /var/lib/jenkins/workspace/ftw.contacts/src.
mr.developer: Queued 'ftw.simplelayout' for checkout.
mr.developer: Cloned 'ftw.simplelayout' with git using branch 'master' from 'https://github.com/4teamwork/ftw.simplelayout.git'.
Upgraded:
  setuptools version 40.8.0;
restarting.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/buildout'.
Setting socket time out to 5 seconds.
mr.developer: Queued 'ftw.simplelayout' for checkout.
mr.developer: Updated 'ftw.simplelayout' with git.
mr.developer: Switching to branch 'master'.
Develop: '/var/lib/jenkins/workspace/ftw.contacts/.'
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/workspace/ftw.contacts/src/ftw.simplelayout'
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/workspace/ftw.contacts/bin/develop'.
Installing package-directory.
Installing test.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/test'.
Installing dependencychecker.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/dependencychecker'.
Installing test-coverage.
Installing coverage.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/coverage2'.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/coverage-2.7'.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/coverage'.
Installing test-jenkins.
Unused options for test-jenkins: 'test-command-coverage'.
Installing pycodestyle-cfg.
Installing pycodestyle.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/pycodestyle'.
Installing pydocstyle-cfg.
Installing pydocstyle.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/pydocstyle'.
Installing isort-cfg.
Installing isort.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/isort'.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/easy_install'.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/easy_install-2.7'.
Installing pyflakes.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/pyflakes'.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/pyflakes'.
Installing zptlint.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/zptlint'.
Installing i18ndude.
Generated script '/var/lib/jenkins/workspace/ftw.contacts/bin/i18ndude'.
Installing check-translations.
Versions had to be automatically picked.
The following part definition lists the versions picked:
[versions]
Products.LDAPUserFolder = 2.28.post2
Products.PloneLDAP = 1.2
backports.os = 0.1.1
certifi = 2019.3.9
chardet = 3.0.4
collective.geo.behaviour = 1.2
collective.geo.bundle = 2.3
collective.geo.contentlocations = 3.2
collective.geo.kml = 3.3
collective.geo.mapwidget = 2.5
collective.geo.openlayers = 3.2b1
collective.recipe.shelloutput = 0.1
collective.z3cform.mapwidget = 2.2
ftw.builder = 1.11.1
ftw.colorbox = 1.3.0
ftw.geo = 1.4.0
ftw.iframefix = 2.0.0
ftw.referencewidget = 2.1.0
ftw.table = 1.22.0
ftw.testbrowser = 1.30.1
ftw.theming = 2.0.2
geographiclib = 1.49
idna = 2.6
importlib-metadata = 0.8
isort = 4.2.15
pyScss = 1.3.5
pycodestyle = 2.5.0
pydocstyle = 3.0.0
pyflakes = 2.1.1
pygeoif = 0.7
python-ldap = 2.4.25
urllib3 = 1.22
z3c.dependencychecker = 2.7
zc.buildout = 2.13.1
zipp = 0.3.3
zptlint = 0.2.4

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

# Required by:
# rfc6266==0.0.4
LEPL = 5.1.3

# Required by:
# Products.PloneLDAP==1.2
Products.LDAPMultiPlugins = 1.15.post3

# 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.contacts==1.7.3.dev0
collective.dexteritytextindexer = 2.2.1

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

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

# 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
cssselect = 1.0.3

# Required by:
# Products.LDAPUserFolder==2.28.post2
dataflake.fakeldap = 2.3

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

# Required by:
# ftw.contacts==1.7.3.dev0
ftw.autofeature = 1.0.0

# Required by:
# ftw.theming==2.0.2
ftw.profilehook = 1.3.0

# Required by:
# ftw.contacts==1.7.3.dev0
ftw.upgrade = 2.12.0

# Required by:
# ftw.contacts==1.7.3.dev0
ftw.zipexport = 1.6.3

# 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.zipexport==1.6.3
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.zipexport==1.6.3
rfc6266 = 0.0.4

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

# Required by:
# collective.dexteritytextindexer==2.2.1
# collective.js.jqueryui==1.10.4
# collective.xmltestreport==1.2.6
# ftw.autofeature==1.0.0
# ftw.builder==1.11.1
# ftw.contacts==1.7.3.dev0
# ftw.testbrowser==1.30.1
# ftw.upgrade==2.12.0
# ftw.zipexport==1.6.3
# mr.developer==1.38
# plone.api==1.8.4
# plone.app.referenceablebehavior==0.7.7
# plone.app.relationfield==1.2.3
# plone.app.testing==4.2.6
# z3c.dependencychecker==2.7
# zope.component==3.9.5
# zope.contentprovider==3.7.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.security==3.7.4
# zope.tal==3.5.2
# zope.traversing==3.13.2
setuptools = 40.8.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:
# ftw.contacts==1.7.3.dev0
z3c.schema = 1.1.0

+ bin/test-jenkins
pycodestyle -> /var/lib/jenkins/workspace/ftw.contacts/parts/testresults/pycodestyle.log
pyflakes -> /var/lib/jenkins/workspace/ftw.contacts/parts/testresults/pyflakes.log
zptlint -> /var/lib/jenkins/workspace/ftw.contacts/parts/testresults/zptlint.log
check translations > /var/lib/jenkins/workspace/ftw.contacts/parts/testresults/translations.html
Running ftw.contacts.testing.ftw.contacts.geo:functional tests:
  Set up plone.testing.zca.LayerCleanup in 0.000 seconds.
  Set up plone.testing.z2.Startup in 0.173 seconds.
  Set up plone.app.testing.layers.PloneFixture in 6.877 seconds.
  Set up ftw.builder.testing.BuilderLayer in 0.000 seconds.
  Set up ftw.contacts.testing.ContactsGeoLayer in 5.869 seconds.
  Set up ftw.builder.testing.set_builder_session_factory in 0.000 seconds.
  Set up ftw.contacts.testing.ftw.contacts.geo:functional in 0.000 seconds.
  Ran 1 tests with 0 failures, 0 errors and 0 skipped in 1.794 seconds.
Running ftw.contacts.testing.ftw.contacts:functional tests:
  Tear down ftw.contacts.testing.ftw.contacts.geo:functional in 0.000 seconds.
  Tear down ftw.contacts.testing.ContactsGeoLayer in 0.003 seconds.
  Tear down ftw.builder.testing.set_builder_session_factory in 0.000 seconds.
  Set up ftw.contacts.testing.ContactsLayer in 4.758 seconds.
  Set up ftw.builder.testing.set_builder_session_factory in 0.000 seconds.
  Set up ftw.contacts.testing.ftw.contacts:functional in 0.000 seconds.
/var/lib/jenkins/workspace/ftw.contacts/ftw/contacts/sync/sync.py:267: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if current_value != value:
  Ran 94 tests with 0 failures, 0 errors and 0 skipped in 26.419 seconds.
Tearing down left over layers:
  Tear down ftw.contacts.testing.ftw.contacts:functional in 0.000 seconds.
  Tear down ftw.contacts.testing.ContactsLayer in 0.003 seconds.
  Tear down plone.app.testing.layers.PloneFixture in 0.063 seconds.
  Tear down plone.testing.z2.Startup in 0.005 seconds.
  Tear down plone.testing.zca.LayerCleanup in 0.002 seconds.
  Tear down ftw.builder.testing.set_builder_session_factory in 0.000 seconds.
  Tear down ftw.builder.testing.BuilderLayer in 0.000 seconds.
Total: 95 tests, 0 failures, 0 errors and 0 skipped in 46.485 seconds.
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: SUCCESS