sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Cecho" <jar...@apache.org>
Subject Re: Review Request 28373: SQOOP-1783 Sqoop2: Create derby integration upgrade tests
Date Sat, 29 Nov 2014 15:50:01 GMT


> On Nov. 26, 2014, 9:44 p.m., Abraham Elmahrek wrote:
> > The upgrade tests are failing for me:
> >         <error message="Failed to stop the Tomcat 6.x container. Check the [/var/folders/63/m25ltdlj3dd97m9rkjgv7r600000gs/T//sqoop-cargo-tests/org.apache.sqoop.integration.repository.derby.upgrade.Derby1_99_4UpgradeTest/testPostUpgrade/sqoop-mini-cluster//log/tomcat.log]
file containing the container logs for more details." type="org.codehaus.cargo.container.ContainerException">org.codehaus.cargo.container.ContainerException:
Failed to stop the Tomcat 6.x container. Check the [/var/folders/63/m25ltdlj3dd97m9rkjgv7r600000gs/T//sqoop-cargo-tests/org.apache.sqoop.integration.repository.derby.upgrade.Derby1_99_4UpgradeTest/testPostUpgrade/sqoop-mini-cluster//log/tomcat.log]
file containing the container logs for more details.
> >                 at org.codehaus.cargo.container.spi.AbstractLocalContainer.stop(AbstractLocalContainer.java:234)
> >                 at org.apache.sqoop.test.minicluster.TomcatSqoopMiniCluster.stop(TomcatSqoopMiniCluster.java:123)
> >                 at org.apache.sqoop.test.testcases.TomcatTestCase.stopServer(TomcatTestCase.java:123)
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >                 at java.lang.reflect.Method.invoke(Method.java:606)
> >                 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> >                 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> >                 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> >                 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
> >                 at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
> >                 at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> >                 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> >                 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> >                 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> >                 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> >                 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> >                 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> >                 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> >                 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> >                 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> >                 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> >                 at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> >                 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> >                 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> >                 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >                 at java.lang.reflect.Method.invoke(Method.java:606)
> >                 at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> >                 at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> >                 at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> >                 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> >                 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> >         Caused by: org.codehaus.cargo.container.ContainerException: Server port
8080 did not shutdown within the timeout period [120000]
> >                 at org.codehaus.cargo.container.spi.AbstractLocalContainer.waitForPortShutdown(AbstractLocalContainer.java:406)
> >                 at org.codehaus.cargo.container.spi.AbstractLocalContainer.waitForPortShutdown(AbstractLocalContainer.java:315)
> >                 at org.codehaus.cargo.container.tomcat.internal.AbstractCatalinaInstalledLocalContainer.waitForCompletion(AbstractCatalinaInstalledLocalContainer.java:206)
> >                 at org.codehaus.cargo.container.spi.AbstractLocalContainer.stop(AbstractLocalContainer.java:223)
> >                 ... 35 more 
> >         org.codehaus.cargo.container.ContainerException: Server port 8080 did not
shutdown within the timeout period [120000]
> >                 at org.codehaus.cargo.container.spi.AbstractLocalContainer.waitForPortShutdown(AbstractLocalContainer.java:406)
> >                 at org.codehaus.cargo.container.spi.AbstractLocalContainer.waitForPortShutdown(AbstractLocalContainer.java:315)
> >                 at org.codehaus.cargo.container.tomcat.internal.AbstractCatalinaInstalledLocalContainer.waitForCompletion(AbstractCatalinaInstalledLocalContainer.java:206)
> >                 at org.codehaus.cargo.container.spi.AbstractLocalContainer.stop(AbstractLocalContainer.java:223)
> >                 at org.apache.sqoop.test.minicluster.TomcatSqoopMiniCluster.stop(TomcatSqoopMiniCluster.java:123)
> >                 at org.apache.sqoop.test.testcases.TomcatTestCase.stopServer(TomcatTestCase.java:123)
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                                                                         
                                                   
> >                 at java.lang.reflect.Method.invoke(Method.java:606)
> >                 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> >                 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> >                 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> >                 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
> >                 at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
> >                 at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> >                 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> >                 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> >                 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> >                 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> >                 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> >                 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> >                 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> >                 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> >                 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
> >                 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
> >                 at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> >                 at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> >                 at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> >                 at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >                 at java.lang.reflect.Method.invoke(Method.java:606)
> >                 at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> >                 at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> >                 at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> >                 at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
> >                 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> >         </error>
> 
> Jarek Cecho wrote:
>     I'm wondering if you could share the content of /var/folders/63/m25ltdlj3dd97m9rkjgv7r600000gs/T//sqoop-cargo-tests/org.apache.sqoop.integration.repository.derby.upgrade.Derby1_99_4UpgradeTest/testPostUpgrade/sqoop-mini-cluster//log/tomcat.log
and perhaps even /var/folders/63/m25ltdlj3dd97m9rkjgv7r600000gs/T//sqoop-cargo-tests/org.apache.sqoop.integration.repository.derby.upgrade.Derby1_99_4UpgradeTest/testPostUpgrade/sqoop-mini-cluster//log/sqoop.log
files Abe?
> 
> Abraham Elmahrek wrote:
>     Attached logs to the Jira ticket. Thanks Jarcec!

I'm wondering whether this happend only once or whether this is failing consistently for you
Abe?

I don't see anything suspicious in the logs. Sqoop 2 App has succesffully booted up per the
logs.


- Jarek


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/28373/#review63142
-----------------------------------------------------------


On Nov. 25, 2014, 2:42 a.m., Jarek Cecho wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28373/
> -----------------------------------------------------------
> 
> (Updated Nov. 25, 2014, 2:42 a.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Bugs: SQOOP-1783
>     https://issues.apache.org/jira/browse/SQOOP-1783
> 
> 
> Repository: sqoop-sqoop2
> 
> 
> Description
> -------
> 
> I've added automated test as suggested on the JIRA.
> 
> You need to put archive derby-repository-1.99.4.tar.gz that is attached to JIRA to path
test/src/test/resources/repository/derby/derby-repository-1.99.4.tar.gz in order to verify
this patch.
> 
> 
> Diffs
> -----
> 
>   pom.xml ddcc537 
>   test/pom.xml cafa250 
>   test/src/main/java/org/apache/sqoop/test/minicluster/SqoopMiniCluster.java 4322b1c

>   test/src/main/java/org/apache/sqoop/test/testcases/TomcatTestCase.java 5e1d564 
>   test/src/main/java/org/apache/sqoop/test/utils/CompressionUtils.java PRE-CREATION 
>   test/src/test/java/org/apache/sqoop/integration/repository/derby/upgrade/Derby1_99_4UpgradeTest.java
PRE-CREATION 
>   test/src/test/java/org/apache/sqoop/integration/repository/derby/upgrade/DerbyRepositoryUpgradeTest.java
PRE-CREATION 
>   test/src/test/resources/repository/derby/derby-repository-1.99.4.tar.gz PRE-CREATION

> 
> Diff: https://reviews.apache.org/r/28373/diff/
> 
> 
> Testing
> -------
> 
> The new test is passing!
> 
> 
> Thanks,
> 
> Jarek Cecho
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message