Hi ALex,

 your fix works fine.
 ####
 #Revision 1275.
 #openpki:/usr/src/svn-openxpki/trunk/perl-modules/core/trunk# perl
 Makefile.PL #OpenSSL library: /usr/lib
 #OpenSSL headers: /usr/include
 #OpenSSL binary:  /usr/bin/openssl
 #OpenSSL version: OpenSSL 0.9.8c 05 Sep 2006
 #All modules will be installed.
 #This is OpenXPKI version 0.9.1275
 #C compiler supports -share. Adding it to LDDLFLAGS.
 #Writing Makefile for OpenXPKI
 #openpki:/usr/src/svn-openxpki/trunk/perl-modules/core/trunk# make
 #...
 #openpki:/usr/src/svn-openxpki/trunk/perl-modules/core/trunk# make test
 #....
 #
 #....
 #Failed Test                       Stat Wstat Total Fail  Failed  List of
 #Failed
 #--------------------------------------------------------------------------
----- #t/20_xml/8_xinclude_relative_dir.  255 65280     6   12 200.00%  1-6
 # (104 subtests UNEXPECTEDLY SUCCEEDED), 20 tests and 37 subtests skipped.
 #Failed 1/115 test scripts, 99.13% okay. 6/2196 subtests failed, 99.73%
 okay. #make: *** [test_dynamic] Fehler 255
 ###

 Now there is yet only the problem with "t/20_xml/8_xinclude_relative_dir"
 and the MySQL intdb.

 I add the  errorlog of "DEBUG_LEVEL=128 prove -v
 t/20_xml/8_xinclude_relative_dir.t &> 20_xml-8_xinclude_error.log"

 Perhaps you see my problem, I despair of these problems.

 Could you send me a running database and log_database config (MySQL)?

 Thx a lot

 Jochen

 Am Dienstag, 15. Juli 2008 14:12:55 schrieb Alexander Klink:
 > Hi Jochen,
 >
 > On Thu, Jul 10, 2008 at 03:54:46PM +0200, Alexander Klink wrote:
 > > > t/60_workflow/15_csr_and_certific  255 65280    24    8  33.33% 
 > > > 19-20 22-24 t/60_workflow/20_certificate_revo   17  4352    23   17 
 > > > 73.91% 5 7-17 19-23 t/60_workflow/40_certificate_revo              
 > > > 10    2 20.00%  8-9
 > >
 > > The workflow tests have been failing on my system as well, I've been
 > > looking into that lately (without much success, unluckily) - so that's
 > > "fine" ...
 >
 > I have just fixed this in revision 1275, so from now on the tests should
 > all succeed again.
 >
 > Cheers,
 >   Alex
t/20_xml/8_xinclude_relative_dir....Debugging module(s) 'OpenXPKI::XML::Cache' with level 128.
Debugging module(s) 'OpenXPKI::Exception' with level 128.
Debugging module(s) 'OpenXPKI::i18n' with level 128.
Debugging module(s) 'OpenXPKI::Serialization::Fast' with level 128.
Debugging module(s) 'OpenXPKI::XML::Config' with level 128.
1..6
XINCLUDE SUPPORT
2008-07-15 18:44:43.822503 DEBUG:16 PID:12469 OpenXPKI::XML::Config::new (line 33): keys: $VAR1 = {
          'CONFIG' => 't/20_xml/top3.xml'
        };

2008-07-15 18:44:43.822890 DEBUG:1 PID:12469 OpenXPKI::XML::Cache::init (line 69): start
2008-07-15 18:44:43.823207 DEBUG:2 PID:12469 OpenXPKI::XML::Cache::init (line 104): load the XML data
2008-07-15 18:44:43.855152 DEBUG:2 PID:12469 OpenXPKI::XML::Cache::init (line 119): filename: t/20_xml/top3.xml
2008-07-15 18:44:43.858885 DEBUG:64 PID:12469 OpenXPKI::XML::Cache::init (line 132): cache: $VAR1 = {
          'xi:include' => [
                          {
                            'href' => 'testdir/sub.xml',
                            'xmlns:xi' => 'http://www.w3.org/2001/XInclude'
                          }
                        ],
          'config' => [
                      {
                        'content' => 'before xi'
                      },
                      {
                        'content' => 'after xi'
                      }
                    ]
        };

2008-07-15 18:44:43.859525 DEBUG:64 PID:12469 OpenXPKI::XML::Cache::init (line 137): xtree: $VAR1 = {
          't/20_xml/top3.xml' => {
                                   'LEVEL' => 1,
                                   'REF' => {
                                            'xi:include' => [
                                                            {
                                                              'href' => 'testdir/sub.xml',
                                                              'xmlns:xi' => 'http://www.w3.org/2001/XInclude'
                                                            }
                                                          ],
                                            'config' => [
                                                        {
                                                          'content' => 'before xi'
                                                        },
                                                        {
                                                          'content' => 'after xi'
                                                        }
                                                      ]
                                          }
                                 }
        };

2008-07-15 18:44:43.859811 DEBUG:1 PID:12469 OpenXPKI::XML::Cache::__perform_xinclude (line 567): start
2008-07-15 18:44:43.860038 DEBUG:1 PID:12469 OpenXPKI::XML::Cache::__scan_xinclude (line 676): start
2008-07-15 18:44:43.860259 DEBUG:8 PID:12469 OpenXPKI::XML::Cache::__scan_xinclude (line 700): xi:include tag present
2008-07-15 18:44:43.878809 DEBUG:16 PID:12469 OpenXPKI::XML::Cache::__scan_xinclude (line 709): xi:include tag correct
2008-07-15 18:44:43.879226 DEBUG:16 PID:12469 OpenXPKI::XML::Cache::__scan_xinclude (line 713): file testdir/sub.xml ready for include
2008-07-15 18:44:43.879520 DEBUG:8 PID:12469 OpenXPKI::XML::Cache::__scan_xinclude (line 685): scanning tag config
2008-07-15 18:44:43.879768 DEBUG:1 PID:12469 OpenXPKI::XML::Cache::__scan_xinclude (line 676): start
2008-07-15 18:44:43.879987 DEBUG:1 PID:12469 OpenXPKI::XML::Cache::__scan_xinclude (line 719): end
2008-07-15 18:44:43.880207 DEBUG:1 PID:12469 OpenXPKI::XML::Cache::__scan_xinclude (line 676): start
2008-07-15 18:44:43.880410 DEBUG:1 PID:12469 OpenXPKI::XML::Cache::__scan_xinclude (line 719): end
2008-07-15 18:44:43.880612 DEBUG:1 PID:12469 OpenXPKI::XML::Cache::__scan_xinclude (line 719): end
2008-07-15 18:44:43.880829 DEBUG:2 PID:12469 OpenXPKI::XML::Cache::__perform_xinclude (line 573): xinclude tag detected
2008-07-15 18:44:43.881068 DEBUG:4 PID:12469 OpenXPKI::XML::Cache::__perform_xinclude (line 580): integrate loaded XML data into XML tree
2008-07-15 18:44:43.881608 DEBUG:4 PID:12469 OpenXPKI::XML::Cache::__perform_xinclude (line 599): calculate filename from path t/20_xml/top3.xml
2008-07-15 18:44:43.891630 DEBUG:4 PID:12469 OpenXPKI::XML::Cache::__perform_xinclude (line 609): load the included file /usr/src/svn-openxpki/trunk/perl-modules/core/trunk/t/20_xml/testdir/sub.xml
2008-07-15 18:44:43.898899 DEBUG:16 PID:12469 OpenXPKI::Exception::__fake_stacktrace_new (line 128): fake_stacktrace_new called
2008-07-15 18:44:43.899384 DEBUG:16 PID:12469 OpenXPKI::Exception::__fake_stacktrace_frame (line 139): fake_stacktrace_frame called
2008-07-15 18:44:43.900549 DEBUG:1 PID:12469 OpenXPKI::Exception::full_message (line 65): exception thrown: I18N_OPENXPKI_XML_CACHE_PERFORM_XINCLUDE_XML_ERROR; __ERRVAL__ => File does not exist: /usr/src/svn-openxpki/trunk/perl-modules/core/trunk/t/20_xml/testdir/sub.xml at /usr/local/lib/perl/5.8.8/OpenXPKI/XML/Cache.pm line 610
; __FILE__ => /usr/src/svn-openxpki/trunk/perl-modules/core/trunk/t/20_xml/testdir/sub.xml
I18N_OPENXPKI_XML_CACHE_PERFORM_XINCLUDE_XML_ERROR; __ERRVAL__ => File does not exist: /usr/src/svn-openxpki/trunk/perl-modules/core/trunk/t/20_xml/testdir/sub.xml at /usr/local/lib/perl/5.8.8/OpenXPKI/XML/Cache.pm line 610
; __FILE__ => /usr/src/svn-openxpki/trunk/perl-modules/core/trunk/t/20_xml/testdir/sub.xml# Looks like your test died before it could output anything.
dubious
	Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-6
	Failed 6/6 tests, 0.00% okay
Failed Test                       Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/20_xml/8_xinclude_relative_dir.  255 65280     6   12 200.00%  1-6
Failed 1/1 test scripts, 0.00% okay. 6/6 subtests failed, 0.00% okay.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to