Edgewall Software
Modify

Opened 4 years ago

Closed 4 years ago

#13254 closed defect (worksforme)

Functional test failure on Travis CI

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Looks like an intermittent failure:

....................................................................................................................................................................................FF.....................
======================================================================
FAIL: runTest (trac.timeline.tests.functional.RegressionTestTicket12946)
Empty <dd> element should not be created when there is
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/build/edgewall/trac/trac/timeline/tests/functional.py", line 58, in runTest
    tc.find('<dt class="attachment unread">.*?</dt>', 's')
  File "/Users/travis/build/edgewall/trac/trac/tests/functional/better_twill.py", line 229, in better_find
    (to_unicode(e), filename))
TwillAssertionError: no match to '<dt class="attachment unread">.*?</dt>' at file:///Users/travis/build/edgewall/trac/testenv/trac/log/RegressionTestTicket12946.html
======================================================================
FAIL: runTest (trac.timeline.tests.functional.TestRssFormat)
Test timeline in RSS format.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/build/edgewall/trac/trac/timeline/tests/functional.py", line 95, in runTest
    """ % {'pagename': pagename, 'http_date': http_date(page.time)}, 'ms')
  File "/Users/travis/build/edgewall/trac/trac/tests/functional/better_twill.py", line 229, in better_find
    (to_unicode(e), filename))
TwillAssertionError: no match to '<\?xml version="1.0"\?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Functional Tests</title>
    <link>http://127.0.0.1:\d+/timeline</link>
    <description>Trac Timeline</description>
    <language>en-US</language>
    <generator>Trac [^<]+</generator>
    <image>
      <title>Functional Tests</title>
      <url>http://127.0.0.1:\d+/chrome/site/your_project_logo.png</url>
      <link>http://127.0.0.1:\d+/timeline</link>
    </image>
    <item>
      <title>TrilineateUrs created</title>
\s+
        <dc:creator>admin</dc:creator>
      <pubDate>Sun, 16 Feb 2020 16:16:48 GMT</pubDate>
      <link>http://127.0.0.1:\d+/wiki/TrilineateUrs\?version=1</link>
      <guid isPermaLink="false">http://127.0.0.1:\d+/wiki/TrilineateUrs\?version=1/\d+</guid>
      <description>[^<]+</description>
      <category>wiki</category>
    </item><item>
' at file:///Users/travis/build/edgewall/trac/testenv/trac/log/TestRssFormat.html
----------------------------------------------------------------------
Ran 203 tests in -2159.299s
FAILED (failures=2)
SKIP: versioncontrol/tests/functional.py (no svn bindings)
SKIP: reST wiki tests (no docutils)
SKIP: RegressionTestTicket11515 (Babel not installed)
make: *** [functional-test] Error 1

Job 651127238.

Attachments (0)

Change History (2)

in reply to:  description comment:1 by Jun Omae, 4 years ago

Ran 203 tests in -2159.299s
                 ^^^^^^^^^^

Elapse of the tests is negative value. It seems to be adjusted system time in travis build environment. I guess the failures of timeline tests were caused by the adjusting.

I suggest we close it as worksforme.

comment:2 by Ryan J Ollos, 4 years ago

Resolution: worksforme
Status: newclosed

Thanks for investigating.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.