[CITE-Forum] Error attempting to run SOS conformance tests

Kevin Adler kadler at us.ibm.com
Thu Oct 4 12:38:55 EDT 2012


I have the latest scripts from subversion and I have tried using both
teamengine 2 and 3.0 beta. Both fail with similar errors. I also tried it
on a Windows machine and I got the same error. Is there any other
parameters you are passing to test.sh/test.bat?


Regards
                                                                                           
                                                                                           
                                                                                           
                                                                                           
                                                                                           
 Kevin Adler                                                                               
                                                                                           
 Software                                                                                  
 Testing/Development:                                                                      
 Websphere MQ, MQ                                                                          
 File Transfer                                                                             
 Edition                                                                                   
                                                                                           
 Technical Advocate:                                                                       
 Waste Management                                                                          
                                                                                           
                                                                                           
                                                                                           
 Dept: 47U                                           015-3/E118                            
                                                     3605 Hwy 52 N                         
                                                     Rochester, MN                         
                                                     55901-1407                            
                                                     USA                                   
                                                                                           
 IBM Systems &                                                                             
 Technology Group                                                                          
                                                                                           
 Phone:               +1-507-253-5111                                                      
                                                                                           
 Mobile:              +1-507-259-9872                                                      
                                                                                           
 e-mail:              kadler at us.ibm.com                                                    
                                                                                           






From:	宗岩 Rocky <rocky at gis.tw>
To:	Kevin Adler/Rochester/IBM at IBMUS,
Cc:	"cite-forum at lists.opengeospatial.org"
            <cite-forum at lists.opengeospatial.org>
Date:	10/01/2012 07:57 PM
Subject:	RE: [CITE-Forum] Error attempting to run SOS conformance tests



Hi, Kevin,

        I use the scripts downloaded from “
https://svn.opengeospatial.org/ogc-projects/cite/scripts/sos/1.0.0/tags/r4
”.
        I test the service “http://sdftest.ndbc.noaa.gov/sos/server.php
“ ,and I don’t got any error about “Can't find resource xsd/w3c/xml.xsd”.

        My test response below:

Testing suite sos:suite...
   Testing sos:Main (s0016)...
      Assertion: The IUT satisfies all applicable assertions.
      sos.service.url http://sdftest.ndbc.noaa.gov/sos/server.php
      which tests: selected
      run ows-main: false
      run sos-general-main: true
      run sos-gc-kvp-rph: false
      run sos-gc-kvp-rsph: false
      run sos-gc-kvp-rrph: false
      run sos-gc-ommo: false
      run sos-gc-omoo: false
      run sos-gc-rcvt: false
      run sos-gc-rcvp: false
      run sos-gc-rcvop: false
      run sos-gc-rcvrf: false
      run sos-gc-rcvrm: false
      run sos-gc-rcvrm2: false
      run sos-ds-rimt: false
      run sos-ds-rip: false
      run sos-ds-rmrf: false
      run sos-ds-rmp false
      run sos-go-risn: false
      run sos-go-rio: false
      run sos-go-riet false
     run sos-go-rip: false
      run sos-go-rifoi: false
      run sos-go-riop: false
      run sos-go-rir false
      run sos-go-rirf: false
      run sos-go-rirm: false
      run sos-go-rirm2: false
      run sos-go-rmsd: false
      run sos-go-rmpd: false
      run sos-go-rmopd: false
      run sos-go-raetd: false
      run sos-go-rmetd: false
      run sos-go-rmfoid: false
      run sos-go-rmrd: false
      run sos-go-rmrfd: false
      run sos-core: false
      SOS service URL: http://sdftest.ndbc.noaa.gov/sos/server.php
      Testing sos:general-main (s0016/d2971e561_1)...
         Assertion: All assertions for "general" conformance are satisfied.

         ****************************
         Running General SOS Tests...
         ****************************
         Testing sos:general-SOS.General-InvalidRequest.1
(s0016/d2971e561_1/d2971e752_1)...
            Assertion: Sending a request that is non-conformant to a schema
associated with an SOS operation causes the server to return a valid error
report message with an exceptionCode value of MissingParameterValue.
            Issuing an invalid request to:
http://sdftest.ndbc.noaa.gov/sos/server.php
            The body of the request will be "test"
            The response was Exception Report (exceptionCode, locator):
InvalidRequest,Mal-formed XML
            Checking the validity of the response to an invalid request.
            The validity check returned:  false
            FAILURE:  The response to an invalid request was expected to be
an exception report with an exceptionCode of "MissingParameterValue" and a
locator value containing the validation issue.  The returned exception
report was:  "

            "
            Returned exception code was: "InvalidRequest"
            Expected exception code was: "MissingParameterValue"
         Test sos:general-SOS.General-InvalidRequest.1 Failed

**********************************************************************
         Testing sos:general-SOS.General-ValidResponse.1
(s0016/d2971e561_1/d2971e763_1)...
            Assertion: A response is a valid response for the SOS.  This
general assertion should be tested by all other tests.
            This general assertion is tested by all other tests, so there
is nothing specific to test now.
         Test sos:general-SOS.General-ValidResponse.1 Passed
      Test sos:general-main Failed (Inherited failure)
   Test sos:Main Failed (Inherited failure)
Suite sos:suite Failed

----------------------------------------------------------------------------------------------------------------------------------
Tsung-Yen Lee (Rocky)
assistant software engineer
GIS Research Center, Feng-Chia University Taiwan
描述: 描述: joinFB

From: Kevin Adler [mailto:kadler at us.ibm.com]
Sent: Monday, October 01, 2012 11:06 PM
To: 宗岩 Rocky
Cc: cite-forum at lists.opengeospatial.org
Subject: RE: [CITE-Forum] Error attempting to run SOS conformance tests



I get the same result when using the default test url:

kadler at kadler:~/Documents/BocaJr/scripts/sos/1.0.0/tags/r4> test.sh
-source=$PWD/ctl
No working directory supplied.  Using /tmp/te_work
Testing suite sos:suite...
   Testing sos:Main (s0001)...
      Assertion: The IUT satisfies all applicable assertions.
      sos.service.url http://sdftest.ndbc.noaa.gov/sos/server.php
      which tests: selected
      run ows-main: false
      run sos-general-main: true
      run sos-gc-kvp-rph: false
      run sos-gc-kvp-rsph: false
      run sos-gc-kvp-rrph: false
      run sos-gc-ommo: false
      run sos-gc-omoo: false
      run sos-gc-rcvt: false
      run sos-gc-rcvp: false
      run sos-gc-rcvop: false
      run sos-gc-rcvrf: false
      run sos-gc-rcvrm: false
      run sos-gc-rcvrm2: false
      run sos-ds-rimt: false
      run sos-ds-rip: false
      run sos-ds-rmrf: false
      run sos-ds-rmp false
      run sos-go-risn: false
      run sos-go-rio: false
      run sos-go-riet false
      run sos-go-rip: false
      run sos-go-rifoi: false
      run sos-go-riop: false
      run sos-go-rir false
      run sos-go-rirf: false
      run sos-go-rirm: false
      run sos-go-rirm2: false
      run sos-go-rmsd: false
      run sos-go-rmpd: false
      run sos-go-rmopd: false
      run sos-go-raetd: false
      run sos-go-rmetd: false
      run sos-go-rmfoid: false
      run sos-go-rmrd: false
      run sos-go-rmrfd: false
      run sos-core: false
      SOS service URL: http://sdftest.ndbc.noaa.gov/sos/server.php
      Testing sos:general-main (s0001/d567e561_1)...
         Assertion: All assertions for "general" conformance are satisfied.

         ****************************
         Running General SOS Tests...
         ****************************
         Testing sos:general-SOS.General-InvalidRequest.1
(s0001/d567e561_1/d567e752_1)...
            Assertion: Sending a request that is non-conformant to a schema
associated with an SOS operation causes the server to return a valid error
report message with an exceptionCode value of MissingParameterValue.
            Issuing an invalid request to:
http://sdftest.ndbc.noaa.gov/sos/server.php
            The body of the request will be "test"
Oct 01, 2012 10:01:49 AM com.occamlab.te.TECore parse
SEVERE: Error invoking parser {http://www.occamlab.com/te/parsers
}XMLValidatingParser
java.lang.Exception: Can't find resource xsd/w3c/xml.xsd
java.lang.reflect.InvocationTargetException
...

Regards


                                                                                           
                                                                                           
                                                                                           
                                                                                           
                                                                                           
 Kevin Adler                                                                               
                                                                                           
 Software                                                                                  
 Testing/Development:                                                                      
 Websphere MQ, MQ                                                                          
 File Transfer                                                                             
 Edition                                                                                   
                                                                                           
 Technical Advocate:                                                                       
 Waste Management                                                                          
                                                                                           
                                                                                           
                                                                                           
 Dept: 47U                                           015-3/E118                            
                                                     3605 Hwy 52 N                         
                                                     Rochester, MN                         
                                                     55901-1407                            
                                                     USA                                   
                                                                                           
 IBM Systems &                                                                             
 Technology Group                                                                          
                                                                                           
 Phone:               +1-507-253-5111                                                      
                                                                                           
 Mobile:              +1-507-259-9872                                                      
                                                                                           
 e-mail:              kadler at us.ibm.com                                                    
                                                                                           





-----Disclaimer-----
本郵件含有逢甲大學地理資訊系統研究中心機密資訊、或受法律保護之資料,唯有原
發信人指定之收信人得閱讀或使用本郵件之內容。如您並非被指定之收信人,請立即
將本郵件及所有附件予以刪除;請勿揭露、儲存或使用本郵件之任何資訊,並請您立
即告知原發信人rocky at gis.tw本郵件的傳遞錯誤。謝謝您的合作。
This e-mail transmission and any attachments contain information from
Geographic Information Systems Research Center of Feng Chia University. The
information is confidential and/or privileged and intended to be solely for
the use of the individuals or entity named in this e-mail transmission. If
you are not the intended recipient, be aware that any disclosure, saving or
use of the contents of this e-mail transmission and attachments is strictly
prohibited. If you have received this email transmission in error, please
notify us immediately, and delete the e-mail and attachments. We greatly
appreciate your cooperation.
GIS RESEARCH CENTER, FCU http://www.gis.tw .Tel: 886-4-24516669
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20121004/c1b2c754/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20121004/c1b2c754/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10196036.gif
Type: image/gif
Size: 360 bytes
Desc: not available
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20121004/c1b2c754/attachment-0005.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20121004/c1b2c754/attachment-0006.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10691804.jpg
Type: image/jpeg
Size: 4842 bytes
Desc: not available
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20121004/c1b2c754/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10133742.gif
Type: image/gif
Size: 166 bytes
Desc: not available
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20121004/c1b2c754/attachment-0007.gif>


More information about the CITE-Forum mailing list