Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 90766 - channel is not open error upon first synchronize (works afterwards)
Summary: channel is not open error upon first synchronize (works afterwards)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 02:39 EDT by Dani Megert CLA
Modified: 2005-04-29 13:04 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2005-04-08 02:39:44 EDT
I20050405-0800

This started to happen this week. Not sure whether this is caused by changes in
our code or the infrastructure.

The first time I synchronize (on both my Laptop and our buildmachine) one or two
projects cause a "channel is not open" error (see below). Repeating the same
operation works afterwards.

!ENTRY org.eclipse.team.core 4 0 2005-04-08 08:33:40.744
!MESSAGE Problems reported while synchronizing CVS Workspace. 64 of 65 resources
were synchronized.
!SUBENTRY 1 org.eclipse.team.core 4 0 2005-04-08 08:33:40.744
!MESSAGE An error occurred synchronizing /jdt-ui-home: Could not connect to
:extssh:dmegert@dev.eclipse.org:/home/eclipse: I/O exception occurred: channel
is not opened.
!STACK 1
org.eclipse.team.internal.ccvs.core.connection.CVSCommunicationException[-6]:
java.io.IOException: channel is not opened.
	at
org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalOpen(CVSSSH2ServerConnection.java:178)
	at
org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.open(CVSSSH2ServerConnection.java:92)
	at
org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connection.java:127)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.createConnection(CVSRepositoryLocation.java:492)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRepositoryLocation.java:732)
	at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:148)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.fetchDelta(RemoteFolderTreeBuilder.java:187)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.buildTree(RemoteFolderTreeBuilder.java:155)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.buildRemoteTree(RemoteFolderTreeBuilder.java:138)
	at
org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot.getRemoteTree(CVSWorkspaceRoot.java:179)
	at
org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.fetchVariant(CVSResourceVariantTree.java:79)
	at
org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh(AbstractResourceVariantTree.java:94)
	at
org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.refresh(CVSResourceVariantTree.java:311)
	at
org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh(AbstractResourceVariantTree.java:63)
	at
org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh(ResourceVariantTreeSubscriber.java:158)
	at
org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh(ResourceVariantTreeSubscriber.java:123)
	at
org.eclipse.team.internal.ui.synchronize.RefreshSubscriberJob.run(RefreshSubscriberJob.java:340)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
!SUBENTRY 2 org.eclipse.team.cvs.core 4 -6 2005-04-08 08:33:40.744
!MESSAGE Could not connect to :extssh:dmegert@dev.eclipse.org:/home/eclipse: I/O
exception occurred: channel is not opened.
!STACK 0
java.io.IOException: channel is not opened.
	at
org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalOpen(CVSSSH2ServerConnection.java:178)
	at
org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.open(CVSSSH2ServerConnection.java:92)
	at
org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connection.java:127)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.createConnection(CVSRepositoryLocation.java:492)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRepositoryLocation.java:732)
	at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:148)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.fetchDelta(RemoteFolderTreeBuilder.java:187)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.buildTree(RemoteFolderTreeBuilder.java:155)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFolderTreeBuilder.buildRemoteTree(RemoteFolderTreeBuilder.java:138)
	at
org.eclipse.team.internal.ccvs.core.resources.CVSWorkspaceRoot.getRemoteTree(CVSWorkspaceRoot.java:179)
	at
org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.fetchVariant(CVSResourceVariantTree.java:79)
	at
org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh(AbstractResourceVariantTree.java:94)
	at
org.eclipse.team.internal.ccvs.core.syncinfo.CVSResourceVariantTree.refresh(CVSResourceVariantTree.java:311)
	at
org.eclipse.team.core.variants.AbstractResourceVariantTree.refresh(AbstractResourceVariantTree.java:63)
	at
org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh(ResourceVariantTreeSubscriber.java:158)
	at
org.eclipse.team.core.variants.ResourceVariantTreeSubscriber.refresh(ResourceVariantTreeSubscriber.java:123)
	at
org.eclipse.team.internal.ui.synchronize.RefreshSubscriberJob.run(RefreshSubscriberJob.java:340)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
Comment 1 Michael Valenta CLA 2005-04-08 08:52:51 EDT
This is due to code changes for bug 66885. I made an additonal change since 
that I believe addresses this issue (as part of bug 89275). Please retry on 
next weeks integration build. If the problem reoccurs, please reopen this bug 
with details of your setup (i.e. what your authentication setup is).
Comment 2 Dani Megert CLA 2005-04-13 03:28:52 EDT
:-(

I've retried with I20050412-1547 and yes. This bug is really gone BUT
unfortunately bug 66885 is back again which seemed fixed in I20050405-0800.
Comment 3 Dani Megert CLA 2005-04-13 08:56:32 EDT
I've got a similar .log entry again using I20050412-1547 (see below).

Should I open a new bug report or reopen this one?

!ENTRY org.eclipse.team.cvs.core 4 -6 2005-04-13 14:40:48.886
!MESSAGE Could not connect to :extssh:dmegert@dev.eclipse.org:/home/eclipse: I/O
exception occurred: channel is not opened.
!STACK 0
java.io.IOException: channel is not opened.
	at
org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalOpen(CVSSSH2ServerConnection.java:179)
	at
org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.open(CVSSSH2ServerConnection.java:93)
	at
org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connection.java:128)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.createConnection(CVSRepositoryLocation.java:493)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRepositoryLocation.java:733)
	at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:149)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.internalFetchContents(RemoteFile.java:199)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.fetchContents(RemoteFile.java:177)
	at
org.eclipse.team.core.variants.CachedResourceVariant.ensureContentsCached(CachedResourceVariant.java:111)
	at
org.eclipse.team.core.variants.CachedResourceVariant.getStorage(CachedResourceVariant.java:101)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.getContents(RemoteFile.java:168)
	at
org.eclipse.team.internal.ccvs.ui.RemoteRevisionQuickDiffProvider.readDocument(RemoteRevisionQuickDiffProvider.java:254)
	at
org.eclipse.team.internal.ccvs.ui.RemoteRevisionQuickDiffProvider.getReference(RemoteRevisionQuickDiffProvider.java:131)
	at
org.eclipse.ui.internal.texteditor.quickdiff.DocumentLineDiffer$1.run(DocumentLineDiffer.java:446)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
Comment 4 Michael Valenta CLA 2005-04-13 09:05:53 EDT
Reopening for investigation
Comment 5 Michael Valenta CLA 2005-04-22 14:44:23 EDT
I am unable to reproduce this failure. Here is what I did:

1) Started a synchronize and switched to another window for a long period of 
time.
2) Returned to Eclipse and entered the passphrase for my key.
3) synchronize continue with no error.

If this is reproducable for you, can you please describe your srtup in detail 
and provide the steps to reproduce.
Comment 6 Dani Megert CLA 2005-04-24 10:55:30 EDT
I will try when back in the office. I noticed you closed bug 66885 with a link
to this bug here. So I assume you can you also not reproduce bug 66885 when
using I20050412-1547 or newer?
Comment 7 Michael Valenta CLA 2005-04-24 19:36:24 EDT
Correct. I have not seen that exception since the fix for bug 66885 was released.
Comment 8 Dani Megert CLA 2005-04-25 06:45:03 EDT
I can also no reproduce using I20050420-1200
Comment 9 Dani Megert CLA 2005-04-29 12:50:58 EDT
I saw it again in my log several times using I20050426-1700 but no steps yet.
Should I open a new bug or reopen this one?

!ENTRY org.eclipse.team.cvs.core 4 -6 2005-04-29 17:03:26.892
!MESSAGE Could not connect to :extssh:dmegert@dev.eclipse.org:/home/eclipse: I/O
exception occurred: channel is not opened.
!STACK 0
java.io.IOException: channel is not opened.
	at
org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalOpen(CVSSSH2ServerConnection.java:179)
	at
org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.open(CVSSSH2ServerConnection.java:93)
	at
org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connection.java:128)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.createConnection(CVSRepositoryLocation.java:493)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRepositoryLocation.java:733)
	at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:149)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.internalFetchContents(RemoteFile.java:199)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.fetchContents(RemoteFile.java:177)
	at
org.eclipse.team.core.variants.CachedResourceVariant.ensureContentsCached(CachedResourceVariant.java:111)
	at
org.eclipse.team.core.variants.CachedResourceVariant.getStorage(CachedResourceVariant.java:101)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.getContents(RemoteFile.java:168)
	at
org.eclipse.team.internal.ccvs.ui.RemoteRevisionQuickDiffProvider.readDocument(RemoteRevisionQuickDiffProvider.java:254)
	at
org.eclipse.team.internal.ccvs.ui.RemoteRevisionQuickDiffProvider.getReference(RemoteRevisionQuickDiffProvider.java:131)
	at
org.eclipse.ui.internal.texteditor.quickdiff.DocumentLineDiffer$1.run(DocumentLineDiffer.java:447)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)

!ENTRY org.eclipse.team.cvs.core 4 -6 2005-04-29 18:15:19.872
!MESSAGE Could not connect to :extssh:dmegert@dev.eclipse.org:/home/eclipse: I/O
exception occurred: channel is not opened.
!STACK 0
java.io.IOException: channel is not opened.
	at
org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.internalOpen(CVSSSH2ServerConnection.java:179)
	at
org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection.open(CVSSSH2ServerConnection.java:93)
	at
org.eclipse.team.internal.ccvs.core.connection.Connection.open(Connection.java:128)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.createConnection(CVSRepositoryLocation.java:493)
	at
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRepositoryLocation.java:733)
	at org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:149)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.internalFetchContents(RemoteFile.java:199)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.fetchContents(RemoteFile.java:177)
	at
org.eclipse.team.core.variants.CachedResourceVariant.ensureContentsCached(CachedResourceVariant.java:111)
	at
org.eclipse.team.core.variants.CachedResourceVariant.getStorage(CachedResourceVariant.java:101)
	at
org.eclipse.team.internal.ccvs.core.resources.RemoteFile.getContents(RemoteFile.java:168)
	at
org.eclipse.team.internal.ccvs.ui.RemoteRevisionQuickDiffProvider.readDocument(RemoteRevisionQuickDiffProvider.java:254)
	at
org.eclipse.team.internal.ccvs.ui.RemoteRevisionQuickDiffProvider.getReference(RemoteRevisionQuickDiffProvider.java:131)
	at
org.eclipse.ui.internal.texteditor.quickdiff.DocumentLineDiffer$1.run(DocumentLineDiffer.java:447)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
Comment 10 Michael Valenta CLA 2005-04-29 13:04:34 EDT
Please open a new one and reference this one.