You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by "Mattmann, Chris A (3980)" <ch...@jpl.nasa.gov> on 2015/04/08 20:09:53 UTC

Re: [jira] [Commented] (OODT-831) CAS PGE adapter framework build failed

Yes please modify the test-case the order shouldn’t matter
thanks Aditya!

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






-----Original Message-----
From: "Aditya Dhulipala   (JIRA)" <ji...@apache.org>
Reply-To: "dev@oodt.apache.org" <de...@oodt.apache.org>
Date: Wednesday, April 8, 2015 at 3:29 AM
To: "commits@oodt.apache.org" <co...@oodt.apache.org>
Subject: [jira] [Commented] (OODT-831) CAS PGE adapter framework build
failed

>
>    [ 
>https://issues.apache.org/jira/browse/OODT-831?page=com.atlassian.jira.plu
>gin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14485039#comme
>nt-14485039 ] 
>
>Aditya Dhulipala commented on OODT-831:
>---------------------------------------
>
>This is the mettle that cas-pge is creating -- pgetask-metadata.xml
>
>.....
>[/var/folders/qw/_csft2bd5kzbzycpzqbhfskc0000gp/T/5587e77b-13c5-44bc-92a3-
>7262f70e6332/DynamicConfig.xml]...
><?xml version="1.0" encoding="UTF-8"?>
><cas:metadata xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
>   <keyval type="vector">
>      <key>PGETask%2FDumpMetadata</key>
>      <val>true</val>
>   </keyval>
>   <keyval type="vector">
>      <key>PGETask%2FName</key>
>      <val>TestPGE</val>
>   </keyval>
></cas:metadata>
>
>.....
>
>But, the test above was expecting
>
><?xml version="1.0" encoding="UTF-8"?>
><cas:metadata xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas">
>   <keyval type="vector">
>      <key>PGETask%2FName</key>
>      <val>TestPGE</val>
>   </keyval>
>   <keyval type="vector">
>      <key>PGETask%2FDumpMetadata</key>
>      <val>true</val>
>   </keyval>
></cas:metadata>
>...
>
>i.e. the order of the keyval items is not as expected.
>
>My understanding is that this file is a collection of the extracted
>metadata key-value fields by the pge metadata extractor. I think the
>order isn't important. So does this mean that the testcase should be
>modified to handle this? Or does the order matter, in which case I should
>investigate the working of the PgeTaskInstance program?
>
>
>> CAS PGE adapter framework build failed
>> --------------------------------------
>>
>>                 Key: OODT-831
>>                 URL: https://issues.apache.org/jira/browse/OODT-831
>>             Project: OODT
>>          Issue Type: Bug
>>          Components: pge wrapper framework
>>         Environment: OS Yosemite JDK8 Maven3
>>            Reporter: Aditya Dhulipala
>>
>> This is the result of the surefire report
>> 
>>-------------------------------------------------------------------------
>>------
>> Test set: org.apache.oodt.cas.pge.TestPGETaskInstance
>> 
>>-------------------------------------------------------------------------
>>------
>> Tests run: 15, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.547
>>sec <<< FAILURE! - in org.apache.oodt.cas.pge.TestPGETaskInstance
>> 
>>testDumpMetadataIfRequested(org.apache.oodt.cas.pge.TestPGETaskInstance)
>> Time elapsed: 0.104 sec  <<< FAILURE!
>> junit.framework.ComparisonFailure: expected:<...
>><key>PGETask%2F[Name]</key>> but was:<...
>><key>PGETask%2F[DumpMetadata]</key>>
>> 	at junit.framework.Assert.assertEquals(Assert.java:81)
>> 	at junit.framework.Assert.assertEquals(Assert.java:87)
>> 	at 
>>org.apache.oodt.cas.pge.TestPGETaskInstance.testDumpMetadataIfRequested(T
>>estPGETaskInstance.java:344)
>
>
>
>--
>This message was sent by Atlassian JIRA
>(v6.3.4#6332)