touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #112569
[Bug 1491635] Re: Test failures (and FTBFS) in Wily with Python 3.5
** Also affects: pyjunitxml (Ubuntu)
Importance: Undecided
Status: New
** Changed in: pyjunitxml (Ubuntu)
Importance: Undecided => High
** No longer affects: pyjunitxml (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pyjunitxml in Ubuntu.
https://bugs.launchpad.net/bugs/1491635
Title:
Test failures (and FTBFS) in Wily with Python 3.5
Status in pyjunitxml:
New
Bug description:
Attempting to build 0.7 in Wily , which has Python 3.5 supported.
From IRC:
<lifeless> barry: all test-only issues [18:39]
<lifeless> barry: qualname stuff
======================================================================
FAIL: test_erroring_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/.pybuild/pythonX.Y_3.4/build/junitxml/tests/test_junitxml.py", line 123, in test_erroring_test
""", self.get_output())
AssertionError: '<tes[109 chars]txml.Errors" name="test_me" time="0.000">\n<er[67 chars]e>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_erroring_test.<[117 chars]e>\n'
<testsuite errors="1" failures="0" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.Errors" name="test_me" time="0.000">
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_erroring_test.<locals>.Errors" name="test_me" time="0.000">
? ++++++++++++++++++++++++++++++++++++++++++++++++++
<error type="ZeroDivisionError">error</error>
</testcase>
</testsuite>
======================================================================
FAIL: test_expected_failure_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/.pybuild/pythonX.Y_3.4/build/junitxml/tests/test_junitxml.py", line 218, in test_expected_failure_test
self.assertEqual(expected, output)
AssertionError: '<tes[109 chars]txml.ExpectedFail" name="test_me" time="0.000"[14 chars]e>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_expected_failure_[72 chars]e>\n'
<testsuite errors="0" failures="0" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.ExpectedFail" name="test_me" time="0.000"/>
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_expected_failure_test.<locals>.ExpectedFail" name="test_me" time="0.000"/>
? ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
</testsuite>
======================================================================
FAIL: test_failing_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/.pybuild/pythonX.Y_3.4/build/junitxml/tests/test_junitxml.py", line 137, in test_failing_test
""", self.get_output())
AssertionError: '<tes[109 chars]txml.Fails" name="test_me" time="0.000">\n<fai[69 chars]e>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_failing_test.<[118 chars]e>\n'
<testsuite errors="0" failures="1" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.Fails" name="test_me" time="0.000">
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_failing_test.<locals>.Fails" name="test_me" time="0.000">
? +++++++++++++++++++++++++++++++++++++++++++++++++
<failure type="AssertionError">failure</failure>
</testcase>
</testsuite>
======================================================================
FAIL: test_skip_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/.pybuild/pythonX.Y_3.4/build/junitxml/tests/test_junitxml.py", line 166, in test_skip_test
self.assertEqual(expected, output)
AssertionError: '<tes[109 chars]txml.Skips" name="test_me" time="0.000">\n<ski[42 chars]e>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_skip_test.<loc[88 chars]e>\n'
<testsuite errors="0" failures="0" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.Skips" name="test_me" time="0.000">
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_skip_test.<locals>.Skips" name="test_me" time="0.000">
? ++++++++++++++++++++++++++++++++++++++++++++++
<skipped>yo</skipped>
</testcase>
</testsuite>
======================================================================
FAIL: test_successful_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/.pybuild/pythonX.Y_3.4/build/junitxml/tests/test_junitxml.py", line 149, in test_successful_test
""", self.get_output())
AssertionError: '<tes[109 chars]txml.Passes" name="test_me" time="0.000"/>\n</testsuite>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_successful_test.&[60 chars]e>\n'
<testsuite errors="0" failures="0" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.Passes" name="test_me" time="0.000"/>
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_successful_test.<locals>.Passes" name="test_me" time="0.000"/>
? ++++++++++++++++++++++++++++++++++++++++++++++++++++
</testsuite>
======================================================================
FAIL: test_unexpected_success_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/«PKGBUILDDIR»/.pybuild/pythonX.Y_3.4/build/junitxml/tests/test_junitxml.py", line 191, in test_unexpected_success_test
self.assertEqual(expected, output)
AssertionError: '<tes[109 chars]txml.Succeeds" name="test_me" time="0.000">\n<[74 chars]e>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_unexpected_succes[134 chars]e>\n'
<testsuite errors="0" failures="1" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.Succeeds" name="test_me" time="0.000">
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_unexpected_success_test.<locals>.Succeeds" name="test_me" time="0.000">
<failure type="unittest.case._UnexpectedSuccess"/>
</testcase>
</testsuite>
----------------------------------------------------------------------
Ran 29 tests in 0.030s
FAILED (failures=6)
To manage notifications about this bug go to:
https://bugs.launchpad.net/pyjunitxml/+bug/1491635/+subscriptions