ftw.linkchecker/mo/change_to_utf8 (#270416) test-plone-4.3.x.cfg

  • Change link to utf-8 before request done.

    Link objects have link_targets saved as unicode strings. Before calling
    them with requests we need to encode them.


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

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.linkchecker
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
Allocating TCP port ZSERVER_PORT
  -> Assigned 40333
Allocating TCP port PORT1
  -> Assigned 39657
Allocating TCP port PORT2
  -> Assigned 35469
Allocating TCP port PORT3
  -> Assigned 46709
Allocating TCP port PORT4
  -> Assigned 40555
Allocating TCP port PORT5
  -> Assigned 46869
Allocating TCP port PORT6
  -> Assigned 43083
Allocating TCP port PORT7
  -> Assigned 34212
Allocating TCP port PORT8
  -> Assigned 33508
TCP port allocation complete
[ftw.linkchecker] $ /bin/sh -xe /tmp/jenkins8543460011574268676.sh
+ export CI=true
+ CI=true
+ '[' '!' -d ./.git ']'
+ git init
Initialized empty shared Git repository in /var/lib/jenkins/workspace/ftw.linkchecker/.git/
+ git remote add origin git@github.com:4teamwork/ftw.linkchecker.git
+ git fetch --depth 10 -q origin
+ git reset -q --hard 5fa7f1a63ce4af2c088ff2323a4db67ef22c516e
+ '[' -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/tmpDFW6ZJ
Now working in /tmp/tmpDFW6ZJ/setuptools-33.1.1
Building a Setuptools egg in /tmp/bootstrap-hjbnjC
warning: no files found matching '*' under directory 'setuptools/_vendor'
/tmp/bootstrap-hjbnjC/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.linkchecker/bin'.
Creating directory '/var/lib/jenkins/workspace/ftw.linkchecker/parts'.
Creating directory '/var/lib/jenkins/workspace/ftw.linkchecker/develop-eggs'.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/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.linkchecker/src.
Upgraded:
  setuptools version 41.2.0;
restarting.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/buildout'.
Setting socket time out to 5 seconds.
Develop: '/var/lib/jenkins/workspace/ftw.linkchecker/.'
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: 'github-git' 'jenkins_python'.
Installing _mr.developer.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/develop'.
Installing package-directory.
Installing test.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/test'.
Unused options for test: 'scripts'.
Installing dependencychecker.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/dependencychecker'.
Installing test-coverage.
Installing coverage.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/coverage2'.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/coverage-2.7'.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/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   4910      0 --:--:-- --:--:-- --:--:--  4935
Installing pycodestyle.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/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
100   797  100   797    0     0   5312      0 --:--:-- --:--:-- --:--:--  5348
Installing pydocstyle.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/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   1229      0 --:--:-- --:--:-- --:--:--  1236
Installing isort.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/isort'.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/easy_install'.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/easy_install-2.7'.
Installing pyflakes.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/pyflakes'.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/pyflakes'.
Installing zptlint.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/zptlint'.
Installing i18ndude.
Generated script '/var/lib/jenkins/workspace/ftw.linkchecker/bin/i18ndude'.
Installing check-translations.
Versions had to be automatically picked.
The following part definition lists the versions picked:
[versions]
XlsxWriter = 1.2.0
certifi = 2019.6.16
chardet = 3.0.4
collective.z3cform.datagridfield = 1.3.3
forbiddenfruit = 0.1.3
ftw.builder = 1.11.1
ftw.colorbox = 1.4.0
ftw.iframefix = 2.0.0
ftw.referencewidget = 2.1.0
ftw.simplelayout = 2.1.2
ftw.table = 1.22.0
ftw.testbrowser = 1.30.1
ftw.testing = 1.20.1
ftw.theming = 2.0.2
idna = 2.6
isort = 4.2.15
numpy = 1.16.5
pandas = 0.22.0
path.py = 11.1.0
pyScss = 1.3.5
pycodestyle = 2.5.0
pydocstyle = 4.0.1
pyflakes = 2.1.1
urllib3 = 1.22
xlrd = 1.2.0
z3c.dependencychecker = 2.7
zc.buildout = 2.13.2
zptlint = 0.2.4

# Required by:
# ftw.upgrade==2.13.0
argcomplete = 1.10.0

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

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

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

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

# Required by:
# ftw.simplelayout==2.1.2
ftw.autofeature = 1.0.0

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

# Required by:
# ftw.linkchecker==1.3.1.dev0
ftw.upgrade = 2.13.0

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

# Required by:
# ftw.linkchecker==1.3.1.dev0
logutils = 0.3.5

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

# Required by:
# collective.xmltestreport==2.0.1
# ftw.builder==1.11.1
# ftw.linkchecker==1.3.1.dev0
# ftw.simplelayout==2.1.2
# ftw.testbrowser==1.30.1
# ftw.testing==1.20.1
# ftw.upgrade==2.13.0
# mr.developer==1.38
# plone.api==1.8.4
# plone.app.relationfield==1.2.3
# plone.app.testing==4.2.6
# plone.recipe.zope2instance==4.4.0
# plone.testing==4.1.2
# z3c.dependencychecker==2.7
# zc.recipe.egg==1.3.2
# 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.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:
# ftw.theming==2.0.2
# ftw.upgrade==2.13.0
tarjan = 0.2.3.2

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

+ bin/test-jenkins
pycodestyle -> /var/lib/jenkins/workspace/ftw.linkchecker/parts/testresults/pycodestyle.log
pyflakes -> /var/lib/jenkins/workspace/ftw.linkchecker/parts/testresults/pyflakes.log
zptlint -> /var/lib/jenkins/workspace/ftw.linkchecker/parts/testresults/zptlint.log
check translations > /var/lib/jenkins/workspace/ftw.linkchecker/parts/testresults/translations.html
Running ftw.linkchecker.testing.ftw.linkchecker:functional tests:
  Set up plone.testing.zca.LayerCleanup in 0.000 seconds.
  Set up plone.testing.z2.Startup in 0.160 seconds.
  Set up ftw.linkchecker.testing.PloneFixtureChild in 8.314 seconds.
  Set up ftw.builder.testing.BuilderLayer in 0.000 seconds.
  Set up plone.testing.z2.ZServer in 0.502 seconds.
  Set up ftw.linkchecker.testing.LinkcheckerLayer in 5.741 seconds.
  Set up ftw.builder.testing.set_builder_session_factory in 0.000 seconds.
  Set up ftw.linkchecker.testing.ftw.linkchecker:functional in 0.000 seconds.
The following test left new threads behind:
test_external_link (ftw.linkchecker.tests.test_functionality.TestArchetypeLink)
New thread(s): [<Thread(Thread-2, started daemon 140010457454336)>, <Thread(Thread-4, started daemon 140010541348608)>, <Thread(QueueFeederThread, started daemon 140010751067904)>, <Thread(Thread-3, started daemon 140010499401472)>]
The following test left new threads behind:
test_relation (ftw.linkchecker.tests.test_functionality.TestArchetypeLink)
New thread(s): [<Thread(Thread-6, started daemon 140010457454336)>, <Thread(QueueFeederThread, started daemon 140010840225536)>, <Thread(Thread-7, started daemon 140010499401472)>, <Thread(Thread-8, started daemon 140010541348608)>]
The following test left new threads behind:
test_external_link (ftw.linkchecker.tests.test_functionality.TestFindingLinksAndRelations)
New thread(s): [<Thread(QueueFeederThread, started daemon 140010827114240)>, <Thread(Thread-10, started daemon 140010457454336)>, <Thread(Thread-11, started daemon 140010499401472)>, <Thread(Thread-12, started daemon 140010541348608)>]
The following test left new threads behind:
test_external_link_in_textarea (ftw.linkchecker.tests.test_functionality.TestFindingLinksAndRelations)
New thread(s): [<Thread(QueueFeederThread, started daemon 140010818721536)>, <Thread(Thread-14, started daemon 140010827114240)>, <Thread(Thread-16, started daemon 140010541348608)>, <Thread(Thread-15, started daemon 140010499401472)>]
The following test left new threads behind:
test_relation_values (ftw.linkchecker.tests.test_functionality.TestFindingLinksAndRelations)
New thread(s): [<Thread(QueueFeederThread, started daemon 140010810328832)>, <Thread(Thread-18, started daemon 140010827114240)>, <Thread(Thread-20, started daemon 140010541348608)>, <Thread(Thread-19, started daemon 140010499401472)>]
The following test left new threads behind:
test_relations_in_textarea_type1 (ftw.linkchecker.tests.test_functionality.TestFindingLinksAndRelations)
New thread(s): [<Thread(QueueFeederThread, started daemon 140010818721536)>, <Thread(Thread-22, started daemon 140010827114240)>, <Thread(Thread-24, started daemon 140010541348608)>, <Thread(Thread-23, started daemon 140010499401472)>]
The following test left new threads behind:
test_relations_in_textarea_type2 (ftw.linkchecker.tests.test_functionality.TestFindingLinksAndRelations)
New thread(s): [<Thread(QueueFeederThread, started daemon 140010810328832)>, <Thread(Thread-26, started daemon 140010818721536)>, <Thread(Thread-27, started daemon 140010499401472)>, <Thread(Thread-28, started daemon 140010541348608)>]
The following test left new threads behind:
test_relations_in_textarea_type3 (ftw.linkchecker.tests.test_functionality.TestFindingLinksAndRelations)
New thread(s): [<Thread(QueueFeederThread, started daemon 140010827114240)>, <Thread(Thread-30, started daemon 140010818721536)>, <Thread(Thread-31, started daemon 140010499401472)>, <Thread(Thread-32, started daemon 140010541348608)>]
  Ran 17 tests with 0 failures, 0 errors and 0 skipped in 41.201 seconds.
Tearing down left over layers:
  Tear down ftw.linkchecker.testing.ftw.linkchecker:functional in 0.000 seconds.
  Tear down ftw.linkchecker.testing.LinkcheckerLayer in 0.002 seconds.
  Tear down ftw.linkchecker.testing.PloneFixtureChild in 0.057 seconds.
  Tear down plone.testing.z2.ZServer in 4.423 seconds.
  Tear down plone.testing.z2.Startup in 0.014 seconds.
  Tear down plone.testing.zca.LayerCleanup in 0.006 seconds.
  Tear down ftw.builder.testing.set_builder_session_factory in 0.000 seconds.
  Tear down ftw.builder.testing.BuilderLayer in 0.000 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