xmltooling autopkgtest regression

Bug #1937348 reported by Graham Inggs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Fix Released
Undecided
Unassigned
xmltooling (Debian)
Fix Released
Unknown
xmltooling (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

xmltooling's autopkgtests started to fail sometime around mid July-2021

FAIL: xmltoolingtest
=====================================================
   xmltooling 3.2.0: xmltoolingtest/test-suite.log
=====================================================

# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: xmltoolingtest
====================

Running cxxtest tests (125 tests)..1626504346 WARN XMLTooling.XMLHelper : DEPRECATED: attribute "ignoreCase" encountered in configuration. Use "caseSensitive".
1626504346 WARN XMLTooling.XMLHelper : DEPRECATED: attribute "ignoreCase" encountered in configuration. Use "caseSensitive".
1626504346 WARN XMLTooling.XMLHelper : DEPRECATED: attribute "ignoreCase" encountered in configuration. Use "caseSensitive".
1626504346 WARN XMLTooling.XMLHelper : Attribute "ignoreCase" and "caseSensitive" should not be used in the same element.
.....1626504346 WARN DirectoryWalkerTest : Unable to open directory (invalid)
...........1626504346 ERROR XMLTooling.ParserPool : fatal error on line 2, column 10, message: invalid document structure
.....1626504346 ERROR XMLTooling.XMLObject : no default builder installed, found unknown child element (test:UnknownElement)
......1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (Modulus must have TextContent.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (Exponent must have TextContent.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (Modulus must have TextContent.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (RSAKeyValue must have Modulus.)
....1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (DSKeyValue cannot have P without Q.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (P must have TextContent.)
...1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (DSKeyValue cannot have P without Q.)
..1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (Q must have TextContent.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (P must have TextContent.)
....1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (G must have TextContent.)
.....1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (DSAKeyValue must have Y.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (Y must have TextContent.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (J must have TextContent.)
.....1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (DSKeyValue cannot have Seed without PgenCounter.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (Seed must have TextContent.)
..1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (DSKeyValue cannot have Seed without PgenCounter.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (PgenCounter must have TextContent.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : resolving ds11:ECKeyValue
.1626504346 ERROR XMLTooling.KeyResolver.Inline : caught XML-Security exception loading certificate: OpenSSL:EC - Error translating Base64 octets into OpenSSL EC_KEY structure
1626504346 WARN XMLTooling.KeyInfoResolver.Inline : resolving ds11:ECKeyValue
1626504346 ERROR XMLTooling.KeyInfoResolver.Inline : caught XML-Security exception loading key: OpenSSL:EC - Error translating Base64 octets into OpenSSL EC_KEY structure
.1626504346 ERROR XMLTooling.KeyResolver.Inline : caught XML-Security exception loading certificate: OpenSSL:EC - Error translating Base64 octets into OpenSSL EC_KEY structure
1626504346 WARN XMLTooling.KeyInfoResolver.Inline : resolving ds11:ECKeyValue
1626504346 ERROR XMLTooling.KeyInfoResolver.Inline : caught XML-Security exception loading key: OpenSSL:EC - Error translating Base64 octets into OpenSSL EC_KEY structure
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (PublicKey must have TextContent.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (ECKeyValue must have PublicKey.)
.1626504346 ERROR XMLTooling.KeyResolver.Inline : caught XML-Security exception loading certificate: OpenSSLCryptoProvider::curveNameToNID - curve name not recognized
1626504346 WARN XMLTooling.KeyInfoResolver.Inline : resolving ds11:ECKeyValue
1626504346 ERROR XMLTooling.KeyInfoResolver.Inline : caught XML-Security exception loading key: OpenSSLCryptoProvider::curveNameToNID - curve name not recognized
.1626504346 ERROR XMLTooling.KeyResolver.Inline : caught XML-Security exception loading certificate: OpenSSLCryptoProvider::curveNameToNID - curve name not recognized
1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (NamedCurve must have URI.)
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping invalid ds:KeyValue (ECKeyValue must have ECParameters or NamedCurve.)
......1626504346 ERROR XMLTooling.KeyResolver.Inline : caught XML-Security exception loading certificate: OpenSSLCryptoProvider::keyDER - Error decoding public key
1626504346 ERROR XMLTooling.SecurityHelper : base64 decode failed
1626504346 WARN XMLTooling.KeyInfoResolver.Inline : failed to resolve ds11:DEREncodedKeyValue
.1626504346 ERROR XMLTooling.KeyResolver.Inline : caught XML-Security exception loading certificate: OpenSSLCryptoProvider::keyDER - Error decoding public key
1626504346 WARN XMLTooling.KeyInfoResolver.Inline : failed to resolve ds11:DEREncodedKeyValue
.1626504346 ERROR XMLTooling.SecurityHelper : base64 decode failed
1626504346 WARN XMLTooling.KeyInfoResolver.Inline : failed to resolve ds11:DEREncodedKeyValue
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping empty ds:X509CRL
.1626504346 ERROR XMLTooling.KeyInfoResolver.Inline : caught XML-Security exception loading certificate: XSCrypt:Base64 - Invalid character at start of base 64 block
.1626504346 ERROR XMLTooling.KeyInfoResolver.Inline : caught XML-Security exception loading certificate: OpenSSL:X509 - Error translating Base64 DER encoding into OpenSSL X509 structure
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping empty ds:X509Certificate
...1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping ds11:KeyInfoReference, local reference did not resolve to a ds:KeyInfo
1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping ds11:KeyInfoReference, local reference did not resolve to a ds:KeyInfo
1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping ds11:KeyInfoReference, local reference did not resolve to a ds:KeyInfo
.1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping ds11:KeyInfoReference with an empty or non-local reference
1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping ds11:KeyInfoReference with an empty or non-local reference
1626504346 WARN XMLTooling.KeyInfoResolver.Inline : skipping ds11:KeyInfoReference with an empty or non-local reference
..............1626504346 WARN XMLTooling.KeyInfoResolver.Inline : resolving ds11:ECKeyValue
...........1626504346 ERROR OpenSSL : path validation failure at depth(0): no explicit policy
..1626504346 ERROR OpenSSL : path validation failure at depth(0): no explicit policy
..1626504346 ERROR OpenSSL : error code: 151584876 in ../crypto/pem/pem_lib.c, line 745
1626504346 ERROR OpenSSL : error data: Expecting: ANY PRIVATE KEY

In SecurityHelperTest::testKeysFromURLs:
SecurityHelperTest.h:70: Error: Test failed: Unable to load private key from file (./data/key.pem.bak).
.1626504347 ERROR OpenSSL : error code: 151584876 in ../crypto/pem/pem_lib.c, line 745
1626504347 ERROR OpenSSL : error data: Expecting: CERTIFICATE

In SecurityHelperTest::testCertificatesFromURLs:
SecurityHelperTest.h:122: Error: Test failed: Unable to load certificate(s) from file (./data/cert.pem.bak).
......
Failed 2 and Skipped 0 of 125 tests
Success rate: 98%
FAIL xmltoolingtest (exit status: 2)

============================================================================
Testsuite summary for xmltooling 3.2.0
============================================================================
make[2]: *** [Makefile:1170: test-suite.log] Error 1
make[1]: *** [Makefile:1278: check-TESTS] Error 2
make: *** [Makefile:1352: check-am] Error 2
+ ret=2
+ [ /tmp/autopkgtest.IBek2Y/xmltoolingtest-artifacts ]
+ mv xmltoolingtest/test-suite.log xmltoolingtest/xmltoolingtest.log xmltoolingtest/xmltoolingtest.trs /tmp/autopkgtest.IBek2Y/xmltoolingtest-artifacts
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See xmltoolingtest/test-suite.log
Please report to https://issues.shibboleth.net/
============================================================================

Revision history for this message
Graham Inggs (ginggs) wrote :

Currently, this prevents the migration of glibc/2.33-0ubuntu9 from -proposed.

Graham Inggs (ginggs)
Changed in glibc (Ubuntu):
status: New → Fix Released
Graham Inggs (ginggs)
Changed in xmltooling (Ubuntu):
status: New → Fix Released
Changed in xmltooling (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.