[infinispan-issues] [JBoss JIRA] (ISPN-5254) Server not always stopped properly with the IBM JDK
Vitalii Chepeliuk (JIRA)
issues at jboss.org
Wed Mar 4 08:49:49 EST 2015
[ https://issues.jboss.org/browse/ISPN-5254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vitalii Chepeliuk reassigned ISPN-5254:
---------------------------------------
Assignee: Vitalii Chepeliuk (was: Dan Berindei)
> Server not always stopped properly with the IBM JDK
> ---------------------------------------------------
>
> Key: ISPN-5254
> URL: https://issues.jboss.org/browse/ISPN-5254
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 7.2.0.Alpha1
> Reporter: Dan Berindei
> Assignee: Vitalii Chepeliuk
> Fix For: 7.2.0.Beta1
>
>
> Because of WFLY-3549, the Infinispan/Wildfly server doesn't always stop properly and it needs to be killed with {{kill -9}}.
> AFAICT Arquillian doesn't always handle this when there is a startup problem, because it uses {{Process.destroy()}} instead of {{Process.destroyForcefully()}}, and I believe it doesn't go through {{InfinispanServerKillProcessor}}. However, the server seems to be properly started in this case.
> We have two Ant scripts that kill any running server: {{kill-jbossas.xml}} in {{server/integration/testsuite}} and {{build.xml}} in {{integrationtests/as-integration-client}}. However, the IBM JDK installed on the CI agent machines doesn't have a {{jps}} command, so the script doesn't work:
> {noformat}
> [04:47:58]E: [org.infinispan:infinispan-as-module-client-integrationtests] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (infinispan-server-shutdown) on project infinispan-as-module-client-integrationtests: An Ant BuildException has occured: The following error occurred while executing this line:
> /mnt/persistent_storage/cloud-user/ispn/buildAgent/work/64255532d1f9a010/integrationtests/as-integration-client/build.xml:55: Execute failed: java.io.IOException: Cannot run program "/opt/ibm/java-x86_64-71/bin/jps" (in directory "/mnt/persistent_storage/cloud-user/ispn/buildAgent/work/64255532d1f9a010/integrationtests/as-integration-client"): error=2, No such file or directory
> around Ant part ...<ant antfile="build.xml" target="kill_server"/>... @ 4:50 in /mnt/persistent_storage/cloud-user/ispn/buildAgent/work/64255532d1f9a010/integrationtests/as-integration-client/target/antrun/build-main.xml
> {noformat}
> I suggest using {{ps -o pid=,cmd= -Cjava}} to check for running processes instead of {{jps}}.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the infinispan-issues
mailing list