Closed glassfishrobot closed 16 years ago
Reported by jbenoit@java.net
jbenoit@java.net said: Rama writes: The compilation fails because its running with WCF 3.0 endpoints. It should work fine when it is run with WCF 3.5 endpoints. Is tango sqe working on setting up WCF 3.5 endpoints internally? If so, these tests should be configured to run with the new endpoints.
I don't like the way the tests are organized. Currently to run tests you should have compile the client with both WCF endpoint and metro endpoint. You cannot do it independently because both the clients share the same src directory. I can change the structure but not sure how this would effect Test4U configuration as that automatically runs different combinations.
thanks, Rama Pulavarthi
jbenoit@java.net said: Created an attachment (id=574) test4u jax-wsa_interop-tango2indigo log file
jbenoit@java.net said: Created an attachment (id=575) GF domain1 server.log file
jbenoit@java.net said: Created an attachment (id=576) GF domain2 server.log file
jbenoit@java.net said: Created an attachment (id=577) test4u setup/install/configuration log file
jbenoit@java.net said: Rama writes:
This test runs only with WCF 3.5 endpoints.
The tests seem to be using the metro-1-1-x-branch. I commented this test which works only with WCF 3.5 as it fails with WCF 3.0 endpoints and created a branch "before-net-3-5-migration", which should be used for running with WCF 3.0 endpoints. The confusion is because I cleaned up some of the interop tests in last february (after Metro 1.0). The tests itself don't have any specific dependency on metro version. If the convention is to use metro-1-1-x-branch which seems to be created later, the changes from "before-net-3-5-migration" can be ported to metro-1-1-x-branch to get around the issue.
jbenoit@java.net said: Reassign to self
jbenoit@java.net said: change to status started, will try to merge changes from branches as noted
RCS file: /sw/wpts/tango/qe-tests/jax-wsa/interop/src/indigoclient/config/scenar ios.xml,v retrieving revision 1.7 retrieving revision 1.6.2.1 diff -r1.7 -r1.6.2.1 67,70c67,70 < < —
Index: interop/src/wsacrs12/client/ActionDispatchClient2Indigo.java
RCS file: /sw/wpts/tango/qe-tests/jax-wsa/interop/src/wsacrs12/client/ActionDisp atchClient2Indigo.java,v retrieving revision 1.2 retrieving revision 1.1 diff -r1.2 -r1.1 13c13 < /* —
30d29 < */ Index: interop/src/wsacrs12/client/AllTests2Indigo.java
RCS file: /sw/wpts/tango/qe-tests/jax-wsa/interop/src/wsacrs12/client/AllTests2I ndigo.java,v retrieving revision 1.5 retrieving revision 1.4 diff -r1.5 -r1.4 68c68 < //suite.addTestSuite(ActionDispatchClient2Indigo.class); //works with WCF 3.5 only — suite.addTestSuite(ActionDispatchClient2Indigo.class); Index: interop/src/wsacrs12/client/BindingProviderUtil2Indigo.java
RCS file: /sw/wpts/tango/qe-tests/jax-wsa/interop/src/wsacrs12/client/BindingPro viderUtil2Indigo.java,v retrieving revision 1.3 retrieving revision 1.2 diff -r1.3 -r1.2 77c77 < /* —
83c83 < */ —
jbenoit@java.net said: Committed changes to sync branches between "before-net-3-5-migration" and "metro-1-1-x-branch" so that tests that are designed to work with only on 3.5 endpoints are not run when testing against 3.0 endpoints:
Checking in interop/src/wsacrs12/client/ActionDispatchClient2Indigo.java; /sw/wpts/tango/qe-tests/jax-wsa/interop/src/wsacrs12/client/ActionDispatchClient2Indigo.java,v <-- ActionDispatchClient2Indigo.java new revision: 1.1.2.1; previous revision: 1.1 done using a wrapper Generating notification message... Generating notification message... done. Checking in interop/src/wsacrs12/client/AllTests2Indigo.java; /sw/wpts/tango/qe-tests/jax-wsa/interop/src/wsacrs12/client/AllTests2Indigo.java,v <-- AllTests2Indigo.java new revision: 1.4.2.1; previous revision: 1.4 done using a wrapper Generating notification message... Generating notification message... done. Checking in interop/src/wsacrs12/client/BindingProviderUtil2Indigo.java; /sw/wpts/tango/qe-tests/jax-wsa/interop/src/wsacrs12/client/BindingProviderUtil2Indigo.java,v <-- BindingProviderUtil2Indigo.java new revision: 1.2.2.1; previous revision: 1.2 done using a wrapper Generating notification message... Generating notification message... done.
File: server-domain2.log Attached By: jbenoit@java.net
File: server.log Attached By: jbenoit@java.net
File: tango_qe-tests_jax-wsa_interop-tango2indigo.log Attached By: jbenoit@java.net
File: test4u.log Attached By: jbenoit@java.net
Was assigned to jbenoit@java.net
This issue was imported from java.net JIRA WSIT-892
Marked as fixed on Friday, April 11th 2008, 2:18:54 am
WSA Interop S->M compiler error (tango-2-indigo)
Critical Error:
/space/test4u2/xtests/netbeans-trunk/lib/harness.xml:223: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/test/build.xml:49: The following error occurred while executing this line: /space/test4u2/xtests/netbeans-trunk/lib/module_harness.xml:384: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/test/build-interop-tango2indigo.xml:56: The following error occurred while executing this line: /space/test4u2/xtests/netbeans-trunk/plugins/base/lib/basic_compiler_targets.xml:47: The following error occurred while executing this line: /space/test4u2/xtests/netbeans-trunk/plugins/base/lib/basic_compiler_targets.xml:64: Compile failed; see the compiler error output for details.
test4u tango_qe-tests_jax-wsa_interop-tango2indigo.log file shows error details:
compile-one-dir: [mkdir] Created dir: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/build/test/interop-tango2indigo/classes [javac] Compiling 21 source files to /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/build/test/interop-tango2indigo/classes [xtest] /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/src/wsacrs12/client/BindingProviderUtil2Indigo.java:78: cannot find symbol [xtest] symbol : class Dispatch [xtest] location: package wsa.crinterop.s12.client [xtest] public static wsa.crinterop.s12.client.Dispatch createDispatchStub2Indigo() { [xtest] ^ [xtest] /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/src/testutil/WsaUtils.java:89: warning: non-varargs call of varargs method with inexact argument type for last parameter; [xtest] cast to java.lang.Object for a varargs call [xtest] cast to java.lang.Object[] for a non-varargs call and to suppress this warning [xtest] String fRequest = String.format(request, args); [xtest] ^ [xtest] /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/src/testutil/WsaUtils.java:95: warning: non-varargs call of varargs method with inexact argument type for last parameter; [xtest] cast to java.lang.Object for a varargs call [xtest] cast to java.lang.Object[] for a non-varargs call and to suppress this warning [xtest] String fRequest = String.format(request, args); [xtest] ^ [xtest] /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/src/testutil/WsaUtils.java:101: warning: non-varargs call of varargs method with inexact argument type for last parameter; [xtest] cast to java.lang.Object for a varargs call [xtest] cast to java.lang.Object[] for a non-varargs call and to suppress this warning [xtest] String fRequest = String.format(request, args); [xtest] ^ [xtest] /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/src/testutil/WsaUtils.java:107: warning: non-varargs call of varargs method with inexact argument type for last parameter; [xtest] cast to java.lang.Object for a varargs call [xtest] cast to java.lang.Object[] for a non-varargs call and to suppress this warning [xtest] String fRequest = String.format(request, args); [xtest] ^ [xtest] /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/src/wsacrs12/client/BindingProviderUtil2Indigo.java:79: cannot find symbol [xtest] symbol : class Dispatch [xtest] location: package wsa.crinterop.s12.client [xtest] wsa.crinterop.s12.client.Dispatch stub = new WSAddressingCR().getCustomBindingDispatch(); [xtest] ^ [xtest] /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/interop/src/wsacrs12/client/BindingProviderUtil2Indigo.java:79: cannot find symbol [xtest] symbol : method getCustomBindingDispatch() [xtest] location: class wsa.crinterop.s12.client.WSAddressingCR [xtest] wsa.crinterop.s12.client.Dispatch stub = new WSAddressingCR().getCustomBindingDispatch(); [xtest] ^ [xtest] 3 errors [xtest] 4 warnings
BUILD FAILED /space/test4u2/xtests/netbeans-trunk/lib/harness.xml:223: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/test/build.xml:49: The following error occurred while executing this line: /space/test4u2/xtests/netbeans-trunk/lib/module_harness.xml:384: The following error occurred while executing this line: /space/test4u2/cvswork/sunsw/tango/qe-tests/jax-wsa/test/build-interop-tango2indigo.xml:56: The following error occurred while executing this line: /space/test4u2/xtests/netbeans-trunk/plugins/base/lib/basic_compiler_targets.xml:47: The following error occurred while executing this line: /space/test4u2/xtests/netbeans-trunk/plugins/base/lib/basic_compiler_targets.xml:64: Compile failed; see the compiler error output for details.
Environment
Operating System: Solaris Platform: All
Affected Versions
[1.1.2]