Skip Menu |

This queue is for tickets about the BPM-XPDL CPAN distribution.

Report information
The Basics
Id: 109096
Status: resolved
Priority: 0/
Queue: BPM-XPDL

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.92
Fixed in: 0.93



Subject: t/40conv10to20.t fails (unexpected DeadlineDuration element?)
FYI: t/40conv10to20.t started to fail on my smokers: # Failed test at /home/cpansand/.cpan/build/2015111721/XML-Compile-Tester-0.90-fuMJpR/blib/lib/XML/Compile/Tester.pm line 197. # got: '<?xml version="1.0" encoding="UTF-8"?><Package xmlns="http://www.wfmc.org/2004/XPDL2.0alpha" xmlns:xpdl10="http://www.wfmc.org/2002/XPDL1.0" Id="1" Name="test conversion"><PackageHeader><XPDLVersion>2.0</XPDLVersion><Vendor>MARKOV Solutions</Vendor><Created>27/04/2000 16:32:20 PM</Created></PackageHeader><WorkflowProcesses><WorkflowProcess Id="wpid" Name="test process"><ProcessHeader/><FormalParameters><FormalParameter Id="p1" Mode="IN"><DataType><BasicType Type="INTEGER"/></DataType></FormalParameter></FormalParameters><Applications><Application Id="appl1"><FormalParameters><FormalParameter Id="p2" Mode="IN"><DataType><BasicType Type="INTEGER"/></DataType></FormalParameter></FormalParameters></Application></Applications><ActivitySets><ActivitySet Id="set1"><Transitions><Transition Id="t1" From="me1" To="you1"><Condition xmlns="http://www.wfmc.org/2002/XPDL1.0"><xpdl20:Expression xmlns:xpdl20="http://www.wfmc.org/2004/XPDL2.0alpha">expr 1</xpdl20:Expression></Condition></Transition></Transitions></ActivitySet></ActivitySets><Activities><Activity Id="Act1" Name="Activity1" StartMode="Automatic"><BlockActivity ActivitySetId="bid1"/><Deadline><DeadlineDuration>3 weeks</DeadlineDuration><ExceptionName>Help</ExceptionName></Deadline></Activity><Activity Id="Act2" Name="Activity2"><Implementation><xpdl10:Tool Id="tool1"/></Implementation></Activity></Activities><Transitions><Transition Id="t2" From="me2" To="you2"><Condition xmlns="http://www.wfmc.org/2002/XPDL1.0"><xpdl20:Expression xmlns:xpdl20="http://www.wfmc.org/2004/XPDL2.0alpha">expr2</xpdl20:Expression></Condition></Transition></Transitions></WorkflowProcess></WorkflowProcesses></Package>' # expected: '<?xml version="1.0" encoding="UTF-8"?><Package xmlns="http://www.wfmc.org/2004/XPDL2.0alpha" xmlns:xpdl10="http://www.wfmc.org/2002/XPDL1.0" Id="1" Name="test conversion"><PackageHeader><XPDLVersion>2.0</XPDLVersion><Vendor>MARKOV Solutions</Vendor><Created>27/04/2000 16:32:20 PM</Created></PackageHeader><WorkflowProcesses><WorkflowProcess Id="wpid" Name="test process"><ProcessHeader/><FormalParameters><FormalParameter Id="p1" Mode="IN"><DataType><BasicType Type="INTEGER"/></DataType></FormalParameter></FormalParameters><Applications><Application Id="appl1"><FormalParameters><FormalParameter Id="p2" Mode="IN"><DataType><BasicType Type="INTEGER"/></DataType></FormalParameter></FormalParameters></Application></Applications><ActivitySets><ActivitySet Id="set1"><Transitions><Transition Id="t1" From="me1" To="you1"><Condition xmlns="http://www.wfmc.org/2002/XPDL1.0"><xpdl20:Expression xmlns:xpdl20="http://www.wfmc.org/2004/XPDL2.0alpha">expr 1</xpdl20:Expression></Condition></Transition></Transitions></ActivitySet></ActivitySets><Activities><Activity Id="Act1" Name="Activity1" StartMode="Automatic"><BlockActivity ActivitySetId="bid1"/><Deadline>3 weeks<ExceptionName>Help</ExceptionName></Deadline></Activity><Activity Id="Act2" Name="Activity2"><Implementation><xpdl10:Tool Id="tool1"/></Implementation></Activity></Activities><Transitions><Transition Id="t2" From="me2" To="you2"><Condition xmlns="http://www.wfmc.org/2002/XPDL1.0"><xpdl20:Expression xmlns:xpdl20="http://www.wfmc.org/2004/XPDL2.0alpha">expr2</xpdl20:Expression></Condition></Transition></Transitions></WorkflowProcess></WorkflowProcesses></Package>' # Looks like you failed 1 test of 3. t/40conv10to20.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests
On 2015-11-17 16:11:49, SREZIC wrote: Show quoted text
> FYI: t/40conv10to20.t started to fail on my smokers: > > # Failed test at /home/cpansand/.cpan/build/2015111721/XML-Compile- > Tester-0.90-fuMJpR/blib/lib/XML/Compile/Tester.pm line 197. > # got: '<?xml version="1.0" encoding="UTF-8"?><Package > xmlns="http://www.wfmc.org/2004/XPDL2.0alpha" > xmlns:xpdl10="http://www.wfmc.org/2002/XPDL1.0" Id="1" Name="test > conversion"><PackageHeader><XPDLVersion>2.0</XPDLVersion><Vendor>MARKOV > Solutions</Vendor><Created>27/04/2000 16:32:20 > PM</Created></PackageHeader><WorkflowProcesses><WorkflowProcess > Id="wpid" Name="test > process"><ProcessHeader/><FormalParameters><FormalParameter Id="p1" > Mode="IN"><DataType><BasicType > Type="INTEGER"/></DataType></FormalParameter></FormalParameters><Applications><Application > Id="appl1"><FormalParameters><FormalParameter Id="p2" > Mode="IN"><DataType><BasicType > Type="INTEGER"/></DataType></FormalParameter></FormalParameters></Application></Applications><ActivitySets><ActivitySet > Id="set1"><Transitions><Transition Id="t1" From="me1" > To="you1"><Condition > xmlns="http://www.wfmc.org/2002/XPDL1.0"><xpdl20:Expression > xmlns:xpdl20="http://www.wfmc.org/2004/XPDL2.0alpha">expr > 1</xpdl20:Expression></Condition></Transition></Transitions></ActivitySet></ActivitySets><Activities><Activity > Id="Act1" Name="Activity1" StartMode="Automatic"><BlockActivity > ActivitySetId="bid1"/><Deadline><DeadlineDuration>3 > weeks</DeadlineDuration><ExceptionName>Help</ExceptionName></Deadline></Activity><Activity > Id="Act2" Name="Activity2"><Implementation><xpdl10:Tool > Id="tool1"/></Implementation></Activity></Activities><Transitions><Transition > Id="t2" From="me2" To="you2"><Condition > xmlns="http://www.wfmc.org/2002/XPDL1.0"><xpdl20:Expression > xmlns:xpdl20="http://www.wfmc.org/2004/XPDL2.0alpha">expr2</xpdl20:Expression></Condition></Transition></Transitions></WorkflowProcess></WorkflowProcesses></Package>' > # expected: '<?xml version="1.0" encoding="UTF-8"?><Package > xmlns="http://www.wfmc.org/2004/XPDL2.0alpha" > xmlns:xpdl10="http://www.wfmc.org/2002/XPDL1.0" Id="1" Name="test > conversion"><PackageHeader><XPDLVersion>2.0</XPDLVersion><Vendor>MARKOV > Solutions</Vendor><Created>27/04/2000 16:32:20 > PM</Created></PackageHeader><WorkflowProcesses><WorkflowProcess > Id="wpid" Name="test > process"><ProcessHeader/><FormalParameters><FormalParameter Id="p1" > Mode="IN"><DataType><BasicType > Type="INTEGER"/></DataType></FormalParameter></FormalParameters><Applications><Application > Id="appl1"><FormalParameters><FormalParameter Id="p2" > Mode="IN"><DataType><BasicType > Type="INTEGER"/></DataType></FormalParameter></FormalParameters></Application></Applications><ActivitySets><ActivitySet > Id="set1"><Transitions><Transition Id="t1" From="me1" > To="you1"><Condition > xmlns="http://www.wfmc.org/2002/XPDL1.0"><xpdl20:Expression > xmlns:xpdl20="http://www.wfmc.org/2004/XPDL2.0alpha">expr > 1</xpdl20:Expression></Condition></Transition></Transitions></ActivitySet></ActivitySets><Activities><Activity > Id="Act1" Name="Activity1" StartMode="Automatic"><BlockActivity > ActivitySetId="bid1"/><Deadline>3 > weeks<ExceptionName>Help</ExceptionName></Deadline></Activity><Activity > Id="Act2" Name="Activity2"><Implementation><xpdl10:Tool > Id="tool1"/></Implementation></Activity></Activities><Transitions><Transition > Id="t2" From="me2" To="you2"><Condition > xmlns="http://www.wfmc.org/2002/XPDL1.0"><xpdl20:Expression > xmlns:xpdl20="http://www.wfmc.org/2004/XPDL2.0alpha">expr2</xpdl20:Expression></Condition></Transition></Transitions></WorkflowProcess></WorkflowProcesses></Package>' > # Looks like you failed 1 test of 3. > t/40conv10to20.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/3 subtests
Statistical analysis suggests that the failure happens with XML::Compile 1.51: **************************************************************** Regression 'mod:XML::Compile' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 62210115880686872.00 [1='eq_1.47'] 0.0000 0.0000 0.96 [2='eq_1.48'] 0.0000 0.0000 1.43 [3='eq_1.50'] -0.0000 0.0000 -1.15 [4='eq_1.51'] -1.0000 0.0000 -29561684893063104.00 R^2= 1.000, N= 41, K= 5 ****************************************************************
Subject: Re: [rt.cpan.org #109096] t/40conv10to20.t fails (unexpected DeadlineDuration element?)
Date: Tue, 24 Nov 2015 08:52:26 +0100
To: Slaven_Rezic via RT <bug-BPM-XPDL [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Slaven_Rezic via RT (bug-BPM-XPDL@rt.cpan.org) [151117 21:13]: Show quoted text
> Queue: BPM-XPDL > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=109096 > > > Statistical analysis suggests that the failure happens with XML::Compile 1.51: > > **************************************************************** > Regression 'mod:XML::Compile'
The default handling of mixed elements in the XML::Compile writer improved, which showed a mistake in the XPDL output. I have also added a newer schema to the module. Thanks for the report Slaven! -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net