axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AXIS2-5795) Failing tests because of SNAPSHOT vs. release changes in pom.xml
Date Fri, 01 Jul 2016 21:56:11 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15359684#comment-15359684
] 

Andreas Veithen edited comment on AXIS2-5795 at 7/1/16 9:55 PM:
----------------------------------------------------------------

I was able to reproduce this on Windows Server 2012 R2. Here is the relevant entry from the
logs:

{noformat}
2016-07-01 21:26:51,735 ERROR org.apache.axis2.deployment.ModuleDeployer - The addressing.mar
module, which is not valid, caused For input string: "jar!/org/apache/axis2/transport/repo/modules/addressing"
java.lang.NumberFormatException: For input string: "jar!/org/apache/axis2/transport/repo/modules/addressing"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:580)
	at java.lang.Integer.parseInt(Integer.java:615)
	at org.apache.axis2.description.Version.<init>(Version.java:78)
	at org.apache.axis2.description.AxisModule.setArchiveName(AxisModule.java:171)
	at org.apache.axis2.deployment.ModuleDeployer.deoloyFromUrl(ModuleDeployer.java:214)
	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:120)
	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:149)
	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:585)
	at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:164)
	at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
	at org.apache.axis2.deployment.DeploymentEngine.loadRepositoryFromURL(DeploymentEngine.java:303)
	at org.apache.axis2.transport.CustomAxisConfigurator.getAxisConfiguration(CustomAxisConfigurator.java:46)
	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
	at org.apache.axis2.transport.UtilsTransportServer.<init>(UtilsTransportServer.java:52)
	at org.apache.axis2.transport.udp.UtilsUDPServer.<init>(UtilsUDPServer.java:31)
	at org.apache.axis2.transport.udp.UDPTest.createServer(UDPTest.java:42)
	at org.apache.axis2.transport.AbstractTransportTest.setUp(AbstractTransportTest.java:46)
	at junit.framework.TestCase.runBare(TestCase.java:132)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
{noformat}

And the URL it is trying to process is:

{noformat}
jar:file:/C:/Users/andreas_veithen/.m2/repository/org/apache/axis2/axis2-transport-testkit/1.7.3/axis2-transport-testkit-1.7.3.jar!/org/apache/axis2/transport/repo/modules/addressing.mar
{noformat}



was (Author: veithen):
I was able to reproduce this on Windows Server 2012 R2. Here is the relevant entry from the
logs:

{noformat}
2016-07-01 21:26:51,735 ERROR org.apache.axis2.deployment.ModuleDeployer - The addressing.mar
module, which is not valid, caused For input string: "jar!/org/apache/axis2/transport/repo/modules/addressing"
java.lang.NumberFormatException: For input string: "jar!/org/apache/axis2/transport/repo/modules/addressing"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:580)
	at java.lang.Integer.parseInt(Integer.java:615)
	at org.apache.axis2.description.Version.<init>(Version.java:78)
	at org.apache.axis2.description.AxisModule.setArchiveName(AxisModule.java:171)
	at org.apache.axis2.deployment.ModuleDeployer.deoloyFromUrl(ModuleDeployer.java:214)
	at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:120)
	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:149)
	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:585)
	at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:164)
	at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
	at org.apache.axis2.deployment.DeploymentEngine.loadRepositoryFromURL(DeploymentEngine.java:303)
	at org.apache.axis2.transport.CustomAxisConfigurator.getAxisConfiguration(CustomAxisConfigurator.java:46)
	at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)
	at org.apache.axis2.transport.UtilsTransportServer.<init>(UtilsTransportServer.java:52)
	at org.apache.axis2.transport.udp.UtilsUDPServer.<init>(UtilsUDPServer.java:31)
	at org.apache.axis2.transport.udp.UDPTest.createServer(UDPTest.java:42)
	at org.apache.axis2.transport.AbstractTransportTest.setUp(AbstractTransportTest.java:46)
	at junit.framework.TestCase.runBare(TestCase.java:132)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
{noformat}

> Failing tests because of SNAPSHOT vs. release changes in pom.xml
> ----------------------------------------------------------------
>
>                 Key: AXIS2-5795
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5795
>             Project: Axis2
>          Issue Type: Bug
>          Components: jaxws, UDP transport
>    Affects Versions: 1.7.2, 1.7.3
>         Environment: Windows 8.1 x64 Prof., Tomcat 7.0.68, JDK 1.8.0_92 x64
>            Reporter: Thorsten Schöning
>
> For the long story, please recognize comment 1, else here are the steps with which I
can reproduce the problem in my environment:
>  1. rmdir /S %USERPROFILE%\.m2
>  2. svn co http://svn.apache.org/repos/asf/axis/axis2/java/core/branches/1_7@1746141
>  3. mvn clean && mvn install -> failure: \[INFO\] Apache Axis2 - Transport
- UDP ..................... FAILURE [  2.273 s]
>  4. rmdir /S %USERPROFILE%\.m2
>  5. svn up -r 1746119
>  6. mvn clean && mvn install -> success
>  7. svn up -r 1746141
>  8. mvn clean && mvn install -> failure: \[INFO\] Apache Axis2 - Transport
- UDP ..................... FAILURE [  2.273 s]
>  9. change src\modules\transport\udp\pom.xml <version>1.7.3</version> ->
<version>1.7.3-SNAPSHOT</version>
> 10. mvn clean && mvn install -> success
> The changes of step 9 depend on the version checked out, currently it's for 1.7.3, for
1.7.2 it was a bit different. But as the root cause surely is the same and the tests run a
long time, I'll focussed on 1.7.3.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message