You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2021/10/08 20:49:26 UTC

Build failed in Jenkins: Allura » Allura-py3 #67

See <https://ci-builds.apache.org/job/Allura/job/Allura-py3/67/display/redirect?page=changes>

Changes:

[ktaylor] Remove old unused OldProjectRole class

[ktaylor] Add type hints for all mapped classes' query attrs

[ktaylor] Special property hinting

[ktaylor] Convert document/collection mapping to be like other MappedClass types


------------------------------------------
[...truncated 18.97 KB...]
Downloading PySVN 1.9.15...
Building PySVN...

PySVN is installed.
<https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/.allura-venv/lib/python3.6/site-packages/pycodestyle.py>:2646: UserWarning: [pep8] section is deprecated. Use [pycodestyle].
  warnings.warn('[pep8] section is deprecated. Use [pycodestyle].')
# setting up Allura dependencies
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'message_extractors'
  warnings.warn(msg)
warning: no files found matching 'allura/public/favicon.ico'
# setting up AlluraTest dependencies
# setting up ForgeActivity dependencies
# setting up ForgeBlog dependencies
# setting up ForgeChat dependencies
# setting up ForgeDiscussion dependencies
# setting up ForgeFeedback dependencies
# setting up ForgeFiles dependencies
# setting up ForgeGit dependencies
# setting up ForgeImporters dependencies
# setting up ForgeLink dependencies
# setting up ForgeShortUrl dependencies
# setting up ForgeSVN dependencies
# setting up ForgeTracker dependencies
# setting up ForgeUserStats dependencies
# setting up ForgeWiki dependencies
npm WARN deprecated lodash-node@2.4.1: This package is discontinued. Use lodash@^4.0.0.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated exists-sync@0.0.4: Please replace with usage of fs.existsSync
npm WARN deprecated core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated mkdirp@0.3.5: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

> node-sass@4.14.1 install <https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/node_modules/node-sass>
> node scripts/install.js

Cached binary found at /home/jenkins/.npm/node-sass/4.14.1/linux-x64-72_binding.node

> core-js@2.6.12 postinstall <https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/node_modules/core-js>
> node -e "try{require('./postinstall')}catch(e){}"


> node-sass@4.14.1 postinstall <https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/node_modules/node-sass>
> node scripts/build.js

Binary found at <https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/node_modules/node-sass/vendor/linux-x64-72/binding.node>
Testing binary
Binary is fine
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN foundation-sites@6.7.3 requires a peer of jquery@>=2.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN foundation-sites@6.7.3 requires a peer of what-input@>=4.1.0 but none is installed. You must install peer dependencies yourself.

added 576 packages from 393 contributors and audited 577 packages in 56.297s

11 packages are looking for funding
  run `npm fund` for details

found 59 vulnerabilities (5 low, 11 moderate, 35 high, 8 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
<DummyProcess(Thread-17, started daemon 140595100096256)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest

<DummyProcess(Thread-6, started daemon 140595670537984)> running `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura

<DummyProcess(Thread-14, started daemon 140595125274368)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity

<DummyProcess(Thread-4, started daemon 140595687323392)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat

<DummyProcess(Thread-3, started daemon 140595903842048)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback

<DummyProcess(Thread-12, started daemon 140595142059776)> running `nosetests  --with-xunitmp ` in ForgeGit

<DummyProcess(Thread-5, started daemon 140595678930688)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink

<DummyProcess(Thread-15, started daemon 140595116881664)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl

<DummyProcess(Thread-7, started daemon 140595662145280)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats

<DummyProcess(Thread-13, started daemon 140595133667072)> running `npm run lint-es6` in .

<DummyProcess(Thread-10, started daemon 140595636967168)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion

<DummyProcess(Thread-9, started daemon 140595645359872)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeFiles

<DummyProcess(Thread-16, started daemon 140595108488960)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters

<DummyProcess(Thread-2, started daemon 140595912234752)> running `nosetests  --with-xunitmp ` in ForgeSVN

<DummyProcess(Thread-8, started daemon 140595653752576)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker

<DummyProcess(Thread-11, started daemon 140595150452480)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki

<DummyProcess(Thread-1, started daemon 140595920627456)> running `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog


> allura@0.0.0 lint-es6 <https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/>
> eslint -c .eslintrc-es6  --ignore-path .eslintignore-es6 Allura/allura/public/**/*.es6.js || true

finished `npm run lint-es6` in .
..
----------------------------------------------------------------------
Ran 2 tests in 8.198s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeChat
...........
----------------------------------------------------------------------
Ran 11 tests in 12.612s

OK
....E.....SSSSSSSSSSSSS......
======================================================================
ERROR: alluratest.test_syntax.TestLinters.test_pyflakes_1
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/.allura-venv/lib/python3.6/site-packages/nose/case.py",> line 198, in runTest
    self.test(*self.arg)
  File "<https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/AlluraTest/alluratest/test_syntax.py",> line 123, in <lambda>
    pyflake_test_method = lambda self, these_files=files: run_pyflakes(these_files)
  File "<https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/AlluraTest/alluratest/test_syntax.py",> line 94, in run_pyflakes
    raise Exception('pyflakes failure, see stdout')
Exception: pyflakes failure, see stdout
-------------------- >> begin captured stdout << ---------------------
Allura/allura/model/index.py:56:12 undefined name 'Query'
Allura/allura/model/index.py:111:12 undefined name 'Query'

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 29 tests in 13.009s

FAILED (SKIP=13, errors=1)
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in AlluraTest
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeShortUrl
.............
----------------------------------------------------------------------
Ran 13 tests in 14.711s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeFeedback
...................
----------------------------------------------------------------------
Ran 19 tests in 17.370s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeLink
..............
----------------------------------------------------------------------
Ran 14 tests in 19.394s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeFiles
......................
----------------------------------------------------------------------
Ran 22 tests in 20.353s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeActivity
............
----------------------------------------------------------------------
Ran 12 tests in 28.484s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeUserStats
......................................................S...
----------------------------------------------------------------------
Ran 58 tests in 36.410s

OK (SKIP=1)
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeBlog
....................................................................S......
----------------------------------------------------------------------
Ran 75 tests in 51.646s

OK (SKIP=1)
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeWiki
.......................................................................
----------------------------------------------------------------------
Ran 71 tests in 63.683s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeDiscussion
<https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/ForgeTracker/forgetracker/tests/functional/test_root.py>:955: GuessedAtParserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

The code that caused this warning is on line 955 of the file <https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/ForgeTracker/forgetracker/tests/functional/test_root.py.> To get rid of this warning, pass the additional argument 'features="html5lib"' to the BeautifulSoup constructor.

  download = self.app.get(str(BeautifulSoup(form.text).findAll('a')[2]['href']))
<https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/ForgeTracker/forgetracker/tests/functional/test_root.py>:1335: GuessedAtParserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

The code that caused this warning is on line 1335 of the file <https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/ForgeTracker/forgetracker/tests/functional/test_root.py.> To get rid of this warning, pass the additional argument 'features="html5lib"' to the BeautifulSoup constructor.

  error_message = BeautifulSoup(form.text).find('div', {'class': 'error'})
<https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/ForgeTracker/forgetracker/tests/functional/test_root.py>:912: GuessedAtParserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

The code that caused this warning is on line 912 of the file <https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/ForgeTracker/forgetracker/tests/functional/test_root.py.> To get rid of this warning, pass the additional argument 'features="html5lib"' to the BeautifulSoup constructor.

  file_link = BeautifulSoup(form.text).findAll('a')[2]
...........................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 203 tests in 111.352s

OK
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeTracker
..........................................................................................................................SSSS..SS..........S..S.
----------------------------------------------------------------------
Ran 145 tests in 161.062s

OK (SKIP=8)
finished `nosetests  --with-xunitmp --processes=4 --process-timeout=360` in ForgeImporters
.......................................................................................
----------------------------------------------------------------------
Ran 87 tests in 176.682s

OK
finished `nosetests  --with-xunitmp ` in ForgeSVN
.....................................................................................................................................................................................................................................................................................................................................................S........................................................................................................................................................................................................................................................................................................................SSSSSSSS.........................................................................................................................................................S.........................................................................................................................................................................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 1225 tests in 195.436s

OK (SKIP=10)
finished `nosetests allura/tests/ --with-xunitmp --processes=4 --process-timeout=360` in Allura
..........................................................................................................................................F................
======================================================================
FAIL: test_notification_html_and_plaintext (forgegit.tests.model.test_repository.TestGitRepo)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/ForgeGit/forgegit/tests/model/test_repository.py",> line 489, in test_notification_html_and_plaintext
    <p>By Dave Brondsema''', html_body)
  File "<https://ci-builds.apache.org/job/Allura/job/Allura-py3/ws/AlluraTest/alluratest/tools.py",> line 85, in assert_in
    return testcase.assertIn(*a, **kw)
AssertionError: '<hr/>\n<div class="markdown_content"><p>Add foo.txt.  Commit ref <a class="alink" href="http://localhost/p/test/weird-chars/ci/616d24f8dd4e95cadd8e93df5061f09855d1a066/">[616d24f8dd4e95cadd8e93df5061f09855d1a066]</a> *bold* &lt;b&gt;bold&lt;/b&gt;</p>\n<p>* one<br/>\n* two<br/>\n* three</p>\n<p>http://example.com/</p></div>\n\n<p>By Dave Brondsema' not found in '<div class="markdown_content"><h2 id="branch-master">Branch: master</h2>\n<div class="markdown_content"><p>init</p></div>\n\n<p>By Igor Bondarenko on 03/03/2015 11:12<br/>\n<a class="" href="http://localhost/p/test/weird-chars/ci/afaa6d93eb5661fb04f8e10e9ba1039b7441a6c7/"><strong>View Changes</strong></a></p>\n<hr/>\n<div class="markdown_content"><p>Add files with weird filenames</p></div>\n\n<p>By Igor Bondarenko on 03/03/2015 11:13<br/>\n<a class="" href="http://localhost/p/test/weird-chars/ci/407950e8fba4dbc108ffbce0128ed1085c52cfd7/"><strong>View Changes</strong></a></p>\n<hr/>\n<div class="markdown_content"><p>Modify привіт.txt</p></div>\n\n<p>By Igor Bondarenko on 03/03/2015 11:13<br/>\n<a class="" href="http://localhost/p/test/weird-chars/ci/f3de6a0e7601cdde326054a1cc708afdc1dbe70b/"><strong>View Changes</strong></a></p>\n<hr/>\n<div class="markdown_content"><p>copied README.md</p></div>\n\n<p>By Heith Seewald on 08/18/2015 18:53<br/>\n<a class="" href="http://localhost/p/test/weird-chars/ci/5a3a87cf4d70ddae8f993254fb78e7974b812852/"><strong>View Changes</strong></a></p>\n<hr/>\n<div class="markdown_content"><p>renamed a file</p></div>\n\n<p>By Heith Seewald on 08/18/2015 18:57<br/>\n<a class="" href="http://localhost/p/test/weird-chars/ci/3cb2bbcd7997f89060a14fe8b1a363f01883087f/"><strong>View Changes</strong></a></p>\n<hr/>\n<div class="markdown_content"><p>copied files</p></div>\n\n<p>By Heith Seewald on 08/18/2015 19:06<br/>\n<a class="" href="http://localhost/p/test/weird-chars/ci/3cbb55013cbb01ccb8d473e686e1a57d9c489243/"><strong>View Changes</strong></a></p>\n<hr/>\n<div class="markdown_content"><p>deleted files</p></div>\n\n<p>By Heith Seewald on 08/18/2015 19:08<br/>\n<a class="" href="http://localhost/p/test/weird-chars/ci/2d14b961ade8540113df9107be045e4ae4136ac5/"><strong>View Changes</strong></a></p>\n<hr/>\n<div class="markdown_content"><p>copied and changed readme</p></div>\n\n<p>By Heith Seewald on 08/18/2015 19:12<br/>\n<a class="" href="http://localhost/p/test/weird-chars/ci/346c52c1dddc729e2c2711f809336401f0ff925e/"><strong>View Changes</strong></a></p>\n<hr/>\n<div class="markdown_content"><p>Change README.copy from a copy to a symlink, to test status=T</p></div>\n\n<p>By Dave Brondsema on 08/18/2016 18:46<br/>\n<a class="" href="http://localhost/p/test/weird-chars/ci/616d24f8dd4e95cadd8e93df5061f09855d1a066/"><strong>View Changes</strong></a></p>\n<hr/>\n<div class="markdown_content"><p>Add foo.txt.  Commit ref <span>[616d24f8dd4e95cadd8e93df5061f09855d1a066]</span> *bold* &lt;b&gt;bold&lt;/b&gt;</p>\n<p>* one<br/>\n* two<br/>\n* three</p>\n<p>http://example.com/</p></div>\n\n<p>By Dave Brondsema on 07/06/2017 18:13<br/>\n<a class="" href="http://localhost/p/test/weird-chars/ci/b85dfbec3a5d08677bdd402fc0338934f623a234/"><strong>View Changes</strong></a></p>\n<hr/>\n<div class="markdown_content"><p>More special characters</p></div>\n\n<p>By Dave Brondsema on 04/15/2020 21:04<br/>\n<a class="" href="http://localhost/p/test/weird-chars/ci/bc79c9fcfe31ed77d1ef45f5dcf4abf9917dac5d/"><strong>View Changes</strong></a></p>\n<hr/>\n<p>Sent from localhost because you indicated interest in <a href="http://localhost/p/test/weird-chars/">http://localhost/p/test/weird-chars/</a></p>\n<p>To unsubscribe from further messages, please visit <a href="http://localhost/auth/subscriptions/">http://localhost/auth/subscriptions/</a></p></div>    <div itemscope itemtype="http://schema.org/EmailMessage">\n    <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">\n      <link itemprop="url" href="http://localhost/p/test/weird-chars/"></link>\n      <meta itemprop="name" content="View"></meta>\n    </div>\n    <meta itemprop="description" content="View"></meta>\n    </div>'

----------------------------------------------------------------------
Ran 155 tests in 223.085s

FAILED (failures=1)
finished `nosetests  --with-xunitmp ` in ForgeGit
/p/test/wiki/_discuss/thread/e88a8f6550/ 200 OK
{"ming": 81, "logging": 74, "jinja.compile": 17, "jinja": 1, "navbar": 1, "sidebar": 1, "markdown": 4}
npm: 6.14.15
hostname: asf941
NODE_NAME: H41
Build step 'Execute shell' marked build as failure
Recording test results
[Checks API] No suitable checks publisher found.
Publishing Clover coverage report...
No Clover report will be published due to a build Failure

Jenkins build is back to normal : Allura » Allura-py3 #68

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://ci-builds.apache.org/job/Allura/job/Allura-py3/68/display/redirect?page=changes>