[jbosstools-issues] [JBoss JIRA] (JBIDE-21981) Error during rsync
Xavier Coulon (JIRA)
issues at jboss.org
Fri Mar 25 07:25:00 EDT 2016
Xavier Coulon created JBIDE-21981:
-------------------------------------
Summary: Error during rsync
Key: JBIDE-21981
URL: https://issues.jboss.org/browse/JBIDE-21981
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Xavier Coulon
While testing the debugging support on the server adapter, I got the following error:
{code}
Could not sync all pods to folder /Users/xcoulon/workspaces/runtime-Eclipse-mars.2/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample at eap-app/deploy
OpenShiftBinaryCapability process exited: rsync: delete_file: rmdir "/Users/xcoulon/workspaces/runtime-Eclipse-mars.2/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample at eap-app/deploy/ROOT.war" failed: Directory not empty (66)
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-45/rsync/main.c(1400) [generator=2.6.9]
error: exit status 23
{code}
The content of the {{.../deploy}} directory was:
{code}
drwxr-xr-x 9 xcoulon staff 306 Mar 25 12:19 ./
drwxr-xr-x 4 xcoulon staff 136 Mar 25 11:55 ../
-rw-r--r-- 1 xcoulon staff 9041 Mar 27 2015 README.txt
drwxr-xr-x 7 xcoulon staff 238 Mar 25 11:59 ROOT.war/
-rw-r--r-- 1 xcoulon staff 8 Mar 23 17:59 ROOT.war.deployed
-rw-r--r-- 1 xcoulon staff 8 Mar 25 12:18 ROOT.war.isdeploying
-rw-r--r-- 1 xcoulon staff 8415373 Aug 11 2015 activemq-rar.rar
-rw-r--r-- 1 xcoulon staff 16 Aug 11 2015 activemq-rar.rar.deployed
-rw-r--r-- 1 xcoulon staff 16 Mar 25 12:18 activemq-rar.rar.isdeploying
{code}
As a side note, displaying the content of the process error message in the MessageDialog triggers an error later:
{code}
[ERROR] 2016-03-25 12:19:53,006 com.openshift.internal.restclient.capability.resources.OpenShiftBinaryRSync - Could not retrieve error message from process
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.Reader.read(Reader.java:140)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1485)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1461)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1408)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1433)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:585)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:563)
at com.openshift.internal.restclient.capability.resources.OpenShiftBinaryRSync.getErrorMessage(OpenShiftBinaryRSync.java:107)
at com.openshift.internal.restclient.capability.resources.OpenShiftBinaryRSync.await(OpenShiftBinaryRSync.java:94)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list