ftw.builder/jone-plone5-fix-tests (#270087) test-plone-4.3.x.cfg

  • Fix tests for Plone 5.

    The test was relying on the fact that getDependenciesForProfile did
    not check whether the profiles actually exist.
    But this was changed from Plone 4 to 5, getDependenciesForProfile now
    verifies that the profiles actually exist.

    The test is rewritten to use actually generated profiles, so that the
    verification passes.


  • 7dbbb28476653d13235660be943b3ae8?s=20&d=identicon  Jonas Baumann

Started by user ftwjenkinsjabber
Running as SYSTEM
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.builder
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
Allocating TCP port ZSERVER_PORT
  -> Assigned 42025
Allocating TCP port PORT1
  -> Assigned 38660
Allocating TCP port PORT2
  -> Assigned 35263
Allocating TCP port PORT3
  -> Assigned 33848
Allocating TCP port PORT4
  -> Assigned 41370
Allocating TCP port PORT5
  -> Assigned 38635
Allocating TCP port PORT6
  -> Assigned 42089
Allocating TCP port PORT7
  -> Assigned 38130
Allocating TCP port PORT8
  -> Assigned 37928
TCP port allocation complete
[ftw.builder] $ /bin/sh -xe /tmp/jenkins5042944228940196820.sh
+ export CI=true
+ CI=true
+ '[' '!' -d ./.git ']'
+ git init
Initialized empty shared Git repository in /var/lib/jenkins/workspace/ftw.builder/.git/
+ git remote add origin git@github.com:4teamwork/ftw.builder.git
+ git fetch --depth 10 -q origin
+ git reset -q --hard b44f0aa11fcd692961895c56be4601d8aac8d1c8
+ '[' -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.16/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/tmp77EhnB
Now working in /tmp/tmp77EhnB/setuptools-33.1.1
Building a Setuptools egg in /tmp/tmpN7oqVX
warning: no files found matching '*' under directory 'setuptools/_vendor'
/tmp/tmpN7oqVX/setuptools-33.1.1-py2.7.egg
/tmp/tmpN7oqVX/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/workspace/ftw.builder/bin'.
Creating directory '/var/lib/jenkins/workspace/ftw.builder/parts'.
Creating directory '/var/lib/jenkins/workspace/ftw.builder/develop-eggs'.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/buildout'.

+ bin/buildout -n -t 5
Setting socket time out to 5 seconds.
Upgraded:
  setuptools version 41.2.0;
restarting.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/buildout'.
Setting socket time out to 5 seconds.
Develop: '/var/lib/jenkins/workspace/ftw.builder/.'
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
warning: no previously-included files matching '*.mo' found anywhere in distribution
Unused options for buildout: 'always-accept-server-certificate' 'always-checkout' 'jenkins_python'.
Installing package-directory.
Installing test.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/test'.
Unused options for test: 'scripts'.
Installing dependencychecker.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/dependencychecker'.
Installing test-coverage.
Installing coverage.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/coverage2'.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/coverage-2.7'.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/coverage'.
Installing test-jenkins.
Unused options for test-jenkins: 'test-command-coverage'.
Installing pycodestyle-cfg.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   918  100   918    0     0   3943      0 --:--:-- --:--:-- --:--:--  3956
Installing pycodestyle.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/pycodestyle'.
Installing pydocstyle-cfg.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   797  100   797    0     0   3797      0 --:--:-- --:--:-- --:--:--  3795
Installing pydocstyle.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/pydocstyle'.
Installing isort-cfg.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   209  100   209    0     0    692      0 --:--:-- --:--:-- --:--:--   692
100   209  100   209    0     0    692      0 --:--:-- --:--:-- --:--:--   692
Installing isort.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/isort'.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/easy_install'.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/easy_install-2.7'.
Installing pyflakes.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/pyflakes'.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/pyflakes'.
Installing zptlint.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/zptlint'.
Installing i18ndude.
Generated script '/var/lib/jenkins/workspace/ftw.builder/bin/i18ndude'.
Installing check-translations.
Versions had to be automatically picked.
The following part definition lists the versions picked:
[versions]
certifi = 2019.6.16
chardet = 3.0.4
forbiddenfruit = 0.1.3
ftw.testbrowser = 1.30.1
ftw.testing = 1.20.1
idna = 2.6
isort = 4.2.15
path.py = 11.1.0
pycodestyle = 2.5.0
pydocstyle = 4.0.1
pyflakes = 2.1.1
urllib3 = 1.22
z3c.dependencychecker = 2.7
zc.buildout = 2.13.2
zptlint = 0.2.4

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

# Required by:
# ftw.testbrowser==1.30.1
cssselect = 1.1.0

# Required by:
# collective.xmltestreport==2.0.1
# ftw.builder==1.11.2.dev0
# ftw.testbrowser==1.30.1
# ftw.testing==1.20.1
# plone.api==1.8.4
# plone.app.dexterity==2.0.19
# plone.app.testing==4.2.6
# plone.formwidget.contenttree==1.1.0
# z3c.dependencychecker==2.7
# z3c.form==3.2.11
# z3c.relationfield==0.6.3
# zc.recipe.egg==1.3.2
# zope.component==3.9.5
# zope.configuration==3.7.4
# zope.container==3.11.2
# 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.intid==3.7.2
# zope.lifecycleevent==3.6.2
# 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.testing==3.9.7
# zope.testrunner==4.4.4
# zope.traversing==3.13.2
setuptools = 41.2.0

# Required by:
# pydocstyle==4.0.1
snowballstemmer = 1.9.1

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

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

+ bin/test-jenkins
pycodestyle -> /var/lib/jenkins/workspace/ftw.builder/parts/testresults/pycodestyle.log
pyflakes -> /var/lib/jenkins/workspace/ftw.builder/parts/testresults/pyflakes.log
zptlint -> /var/lib/jenkins/workspace/ftw.builder/parts/testresults/zptlint.log
check translations > /var/lib/jenkins/workspace/ftw.builder/parts/testresults/translations.html
Running ftw.builder.testing.TempDirectoryLayer tests:
  Set up ftw.builder.testing.BuilderLayer in 0.000 seconds.
  Set up ftw.builder.testing.TempDirectoryLayer in 0.000 seconds.
  Ran 33 tests with 0 failures, 0 errors and 0 skipped in 2.970 seconds.
Running ftw.builder.testing.Builder:Functional tests:
  Set up plone.testing.zca.LayerCleanup in 0.000 seconds.
  Set up plone.testing.z2.Startup in 0.168 seconds.
  Set up plone.app.testing.layers.PloneFixture in 6.452 seconds.
  Set up ftw.builder.testing.BuilderTestingLayer /var/lib/jenkins/zope/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/fields.py:417: UserWarning: You did not specify an i18n translation domain for the 'title' field in <string>
  "'%s' field in %s" % (self.getName(), context.info.file )
in 1.041 seconds.
  Set up ftw.builder.testing.set_builder_session_factory in 0.000 seconds.
  Set up ftw.builder.testing.Builder:Functional in 0.000 seconds.
  Ran 22 tests with 0 failures, 0 errors and 0 skipped in 2.554 seconds.
Running ftw.builder.testing.Builder:Integration tests:
  Tear down ftw.builder.testing.Builder:Functional in 0.000 seconds.
  Tear down ftw.builder.testing.set_builder_session_factory in 0.000 seconds.
  Set up ftw.builder.testing.Builder:Integration in 0.000 seconds.
  Ran 65 tests with 0 failures, 0 errors and 0 skipped in 6.347 seconds.
Running zope.testrunner.layer.UnitTests tests:
  Tear down ftw.builder.testing.Builder:Integration in 0.000 seconds.
  Tear down ftw.builder.testing.BuilderTestingLayer in 0.004 seconds.
  Tear down plone.app.testing.layers.PloneFixture in 0.058 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.TempDirectoryLayer in 0.000 seconds.
  Tear down ftw.builder.testing.BuilderLayer in 0.000 seconds.
  Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 15 tests with 0 failures, 0 errors and 0 skipped in 0.002 seconds.
Tearing down left over layers:
  Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
Total: 135 tests, 0 failures, 0 errors and 0 skipped in 20.420 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