Public bug reported:

seen in the second focal test rebuild
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18964497/+files/buildlog_ubuntu-focal-amd64.python-pysaml2_4.9.0-0ubuntu2_BUILDING.txt.gz

self = <saml2.mdstore.MetaDataFile object at 0x7ff431baf3d0>
xmlstr = b'<?xml version="1.0" encoding="UTF-8"?>\n<EntitiesDescriptor 
xmlns="urn:oasis:names:tc:SAML:2.0:metadata"\n          ....switch.ch/\n        
    </OrganizationURL>\n        </Organization>\n    
</EntityDescriptor>\n</EntitiesDescriptor>\n'

    def parse(self, xmlstr):
        self.entities_descr = md.entities_descriptor_from_string(xmlstr)
    
        if not self.entities_descr:
            self.entity_descr = md.entity_descriptor_from_string(xmlstr)
            if self.entity_descr:
                self.do_entity_descriptor(self.entity_descr)
        else:
            try:
                valid_instance(self.entities_descr)
            except NotValid as exc:
                logger.error("Invalid XML message: %s", exc.args[0])
                return
    
            if self.check_validity:
                try:
                    if not valid(self.entities_descr.valid_until):
>                       raise ToOld(
                            "Metadata not valid anymore, it's only valid "
                            "until %s" % (
                                self.entities_descr.valid_until,))
E                               saml2.mdstore.ToOld: Metadata not valid 
anymore, it's only valid until 2020-02-10T09:59:21Z

src/saml2/mdstore.py:559: ToOld
________________________________ test_switch_1 _________________________________

    def test_switch_1():
        mds = MetadataStore(ATTRCONV, sec_config,
                            disable_ssl_certificate_validation=True)
    
>       mds.imp(METADATACONF["5"])

tests/test_30_mdstore_old.py:239: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
src/saml2/mdstore.py:977: in imp
    self.load(key, val)
src/saml2/mdstore.py:963: in load
    _md.load()
src/saml2/mdstore.py:694: in load
    return self.parse_and_check_signature(_txt)
src/saml2/mdstore.py:656: in parse_and_check_signature
    self.parse(txt)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <saml2.mdstore.MetaDataFile object at 0x7ff431e1e160>
xmlstr = b'<?xml version="1.0" encoding="UTF-8"?>\n<EntitiesDescriptor 
xmlns="urn:oasis:names:tc:SAML:2.0:metadata"\n          ....switch.ch/\n        
    </OrganizationURL>\n        </Organization>\n    
</EntityDescriptor>\n</EntitiesDescriptor>\n'

    def parse(self, xmlstr):
        self.entities_descr = md.entities_descriptor_from_string(xmlstr)
    
        if not self.entities_descr:
            self.entity_descr = md.entity_descriptor_from_string(xmlstr)
            if self.entity_descr:
                self.do_entity_descriptor(self.entity_descr)
        else:
            try:
                valid_instance(self.entities_descr)
            except NotValid as exc:
                logger.error("Invalid XML message: %s", exc.args[0])
                return
    
            if self.check_validity:
                try:
                    if not valid(self.entities_descr.valid_until):
>                       raise ToOld(
                            "Metadata not valid anymore, it's only valid "
                            "until %s" % (
                                self.entities_descr.valid_until,))
E                               saml2.mdstore.ToOld: Metadata not valid 
anymore, it's only valid until 2020-02-10T09:59:21Z

src/saml2/mdstore.py:559: ToOld

** Affects: python-pysaml2 (Ubuntu)
     Importance: High
         Status: Confirmed


** Tags: ftbfs rls-ff-incoming

** Changed in: python-pysaml2 (Ubuntu)
       Status: New => Confirmed

** Changed in: python-pysaml2 (Ubuntu)
   Importance: Undecided => High

** Tags added: ftbfs rls-ff-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870077

Title:
  python-pysaml ftbfs in focal

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to