You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by GOUDARZI Kaveh <ka...@uk.bnpparibas.com> on 2021/08/19 13:39:47 UTC
FW: C++ Tests Failing ...
Hi,
I've rebuilt the C++ library (no xalan) for Windows using Visual Studio 2015 (openssl 1.1.1k Xerces 3.2.3) and wanted to run the tests to verify that all is well. To do this I copied over the test resources from the java repo (to ../../xsec-resources/resources) and modified xsec/basicTests.pl to run the tests however many of the tests are failing.
Is this the correct forum to ask for someone to point me at what I need to look at to understand if these test failures are "expected' or point at something sinister?
I started with the following run and added some print statements to see the command-line of the failing tests (list at the end of the e-mail). Strangely the failure messages and counts don't quite tally up either.
perl basicTests.pl --noxalan --nopothole
XENC Tests complete
Total Tests = 30
Number Passed = 27
Number Skipped = 1
Number Failed = 2
All tests complete.
Total Tests = 70
Total Passed = 42
Total Skipped = 14
Total Failed = 14
Thanks in advance + kind regards,
Kaveh
1. at/iaik/ixsil/coreFeatures/signatures/manifestSignature.xml failed.
CMD: checksig.exe -x ../../xsec-resources/resources/at/iaik/ixsil/coreFeatures/signatures/manifestSignature.xml
2. at/iaik/ixsil/signatureAlgorithms/signatures/hMACShortSignature.xml failed.
CMD: checksig.exe -x -h secret ../../xsec-resources/resources/at/iaik/ixsil/signatureAlgorithms/signatures/hMACShortSignature.xml
3. at/iaik/ixsil/signatureAlgorithms/signatures/hMACSignature.xml failed.
CMD: checksig.exe -x -h secret ../../xsec-resources/resources/at/iaik/ixsil/signatureAlgorithms/signatures/hMACSignature.xml
4. ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-keyname.xml failed.
CMD: checksig.exe -x -i ../../xsec-resources/resources/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-keyname.xml
5. ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-retrievalmethod-rawx509crt.xml failed.
CMD: checksig.exe -x -i ../../xsec-resources/resources/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-retrievalmethod-rawx509crt.xml
6. ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-crt-crl.xml failed.
CMD: checksig.exe -x -i ../../xsec-resources/resources/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-crt-crl.xml
7. ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-crt.xml failed.
CMD: checksig.exe -x ../../xsec-resources/resources/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-crt.xml
8. ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-is.xml failed.
CMD: checksig.exe -x -i ../../xsec-resources/resources/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-is.xml
9. ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-ski.xml failed.
CMD: checksig.exe -x -i ../../xsec-resources/resources/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-ski.xml
10. ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-sn.xml failed.
CMD: checksig.exe -x -i ../../xsec-resources/resources/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-sn.xml
11. ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-hmac-sha1-40.xml failed.
CMD: checksig.exe -x -h secret ../../xsec-resources/resources/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-hmac-sha1-40.xml
12. ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-external-dsa.xml failed.
CMD: checksig.exe -x ../../xsec-resources/resources/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-external-dsa.xml
13. ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-element-aes256-cbc-retrieved-kw-aes256.xml failed.
CMD: cipher.exe -i -de ../../xsec-resources/resources/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-element-aes256-cbc-retrieved-kw-aes256.xml
14. com/phaos/phaos-xmlenc-3/enc-content-aes256-kt-rsa1_5.xml failed.
CMD: cipher.exe -i -de ../../xsec-resources/resources/com/phaos/phaos-xmlenc-3/enc-content-aes256-kt-rsa1_5.xml
Happy to attach full output if that helps.
Classification : Internal
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail.
Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited.
Please refer to http://www.bnpparibas.co.uk/en/email-disclaimer/ for additional disclosures.
Re: C++ Tests Failing ...
Posted by "Cantor, Scott" <ca...@osu.edu>.
I have no idea if the tests work or not, particularly on Windows.
-- Scott