[Bug 1503698] Re: FTBFS due to broken unit tests

Łukasz Zemczak 1503698 at bugs.launchpad.net
Thu Oct 8 17:42:21 UTC 2015


After applying the patch there are still test failures. The first two
(in tests/test_41_response.py) can be fixed by:

https://github.com/rohe/pysaml2/commit/ee3d828f80ff18082f89e219e0b48faf0dab45ca

The final failure needs to be fixed manually. The test_eptid_mongo_db
test from tests/test_75_mongodb.py fails as the test should not run if a
MongoDB is not running - but the test is invalidly written and times
out, causing a failure. The change is trivial and after applying it it
builds fine, but I want to forward it upstream before proposing a
debdiff.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-pysaml2 in Ubuntu.
https://bugs.launchpad.net/bugs/1503698

Title:
  FTBFS due to broken unit tests

Status in python-pysaml2 package in Ubuntu:
  In Progress

Bug description:
  In the wily test-rebuild [1] python-pysaml2 seems to fail to build due
  to multiple errors and failures in the unit tests. The log:

  ============================= test session starts ==============================
  platform linux2 -- Python 2.7.10 -- py-1.4.30 -- pytest-2.7.2
  rootdir: /«PKGBUILDDIR», inifile: 
  collected 493 items / 1 errors

  tests/test_00_xmldsig.py ..............................................
  tests/test_01_xmlenc.py ......
  tests/test_02_saml.py ..............................................................................
  tests/test_03_saml2.py .....................
  tests/test_04_samlp.py ........................
  tests/test_05_md.py ..........................................................
  tests/test_10_time_util.py .................
  tests/test_12_s_utils.py ..................................
  tests/test_13_validate.py .......
  tests/test_19_attribute_converter.py .............
  tests/test_20_assertion.py ................................
  tests/test_22_mdie.py .
  tests/test_30_mdstore.py .......
  tests/test_30_mdstore_old.py .......
  tests/test_31_config.py ............
  tests/test_32_cache.py ..........
  tests/test_33_identifier.py ......
  tests/test_34_population.py ....
  tests/test_37_entity_categories.py ......
  tests/test_40_sigver.py ...............
  tests/test_41_response.py ..FF
  tests/test_42_enc.py ....
  tests/test_43_soap.py ..
  tests/test_44_authnresp.py ....
  tests/test_50_server.py ................
  tests/test_51_client.py ...............
  tests/test_60_sp.py ss
  tests/test_62_vo.py ........
  tests/test_63_ecp.py .
  tests/test_64_artifact.py ...
  tests/test_65_authn_query.py ..
  tests/test_66_name_id_mapping.py ..
  tests/test_67_manage_name_id.py ..
  tests/test_68_assertion_id.py .
  tests/test_69_discovery.py .....
  tests/test_70_redirect_signing.py .
  tests/test_72_eptid.py ..
  tests/test_75_mongodb.py .F
  tests/test_76_metadata_in_mdb.py .
  tests/test_77_authn_context.py ......
  tests/test_81_certificates.py ....
  tests/test_88_nsprefix.py ..
  (...)

  [1] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-
  rebuild-20151001-wily.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-pysaml2/+bug/1503698/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list