Issue Details (XML | Word | Printable)

Key: BAM-890
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Nick Chalko
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Bamboo

SVN triggered update failing.

Created: 19/Feb/07 05:27 PM   Updated: 10/Apr/07 03:36 AM
Component/s: Repository (Subversion)
Affects Version/s: 1.0-rc2
Fix Version/s: 1.0.4

Time Tracking:
Not Specified

Environment: OS X 10.4.8
Issue Links:
Duplicate
 
Reference
 

Participants: Anthony Browne, Edwin Wong [Atlassian], Mark Gaylard and Nick Chalko
Since last comment: 1 year, 21 weeks, 3 days ago
Internal Work Bucket: Confirmed
Number of comments: 6
Labels:


 Description  « Hide
INFO | jvm 1 | 2007/02/19 14:41:23 | 2007-02-19 14:41:23,046 INFO [SocketListener0-1] [UpdateAndBuild] Dalx Server - Performance build was triggered by remote http call from 17.101.117.177
INFO | jvm 1 | 2007/02/19 14:41:23 | 2007-02-19 14:41:23,156 INFO [BAM::BuildChangeDetector] [AbstractBuildStrategy] A build for "Dalx Server - Performance" has been triggered, checking source code for changes
INFO | jvm 1 | 2007/02/19 14:41:24 | 2007-02-19 14:41:23,948 INFO [BAM::BuildChangeDetector] [SvnRepository] Updating subversion source code from version 88 to version 89
INFO | jvm 1 | 2007/02/19 14:41:25 | 2007-02-19 14:41:25,116 ERROR [BAM::BuildChangeDetector] [DefaultBuildChangeDetector] Failed to get the build source code
INFO | jvm 1 | 2007/02/19 14:41:25 | com.atlassian.bamboo.repository.RepositoryException: Dalx Server - Performance
INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:281)
INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.strategy.TriggeredBuildStrategy.requiresBuild(TriggeredBuildStrategy.java:89)
INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:166)
INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:114)
INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:77)
INFO | jvm 1 | 2007/02/19 14:41:25 | at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
INFO | jvm 1 | 2007/02/19 14:41:25 | at java.lang.Thread.run(Thread.java:613)
INFO | jvm 1 | 2007/02/19 14:41:25 | Caused by: org.tmatesoft.svn.core.SVNException: svn: SSH channel is closed. (Closing all channels)
INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)
INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNWriter.write(SVNWriter.java:147)
INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.write(SVNConnection.java:229)
INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.write(SVNRepositoryImpl.java:995)
INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepositoryImpl.java:564)
INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:162)
INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.repository.svn.SvnRepository.update(SvnRepository.java:601)
INFO | jvm 1 | 2007/02/19 14:41:25 | at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:258)
INFO | jvm 1 | 2007/02/19 14:41:25 | ... 6 more
INFO | jvm 1 | 2007/02/19 14:41:25 | Caused by: java.io.IOException: SSH channel is closed. (Closing all channels)
INFO | jvm 1 | 2007/02/19 14:41:25 | at ch.ethz.ssh2.channel.ChannelManager.sendData(ChannelManager.java:375)
INFO | jvm 1 | 2007/02/19 14:41:25 | at ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:63)
INFO | jvm 1 | 2007/02/19 14:41:25 | at ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:29)
INFO | jvm 1 | 2007/02/19 14:41:25 | at org.tmatesoft.svn.core.internal.io.svn.SVNWriter.write(SVNWriter.java:50)
INFO | jvm 1 | 2007/02/19 14:41:25 | ... 12 more

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Mark Gaylard added a comment - 25/Feb/07 11:16 PM
We also get the same exception regularly. The log file shows that the update happens again a second or so later and succeeds.

We are running Bamboo 1.0 on Linux using Java 1.5.0_07. Our SVN repository is using svn+ssh with username/password authentication.

Let me know if you need more info.

Mark


Mark Gaylard added a comment - 26/Feb/07 10:22 PM
We are getting this very regularly now. After 10 times, bamboo stops the build plan running - which would be fine, if it was our error, but having to notice the build has stopped and clear the errors is a bit annoying.

Edwin Wong [Atlassian] added a comment - 26/Mar/07 11:17 PM
Hey guys,

Sorry for the delayed response. I linked this issue to another (BAM-1028) and left this behind.
As I mentioned, this seems to be an ssh connection problem on the server side? Is this issue still occurring?

Regards,
Edwin


Nick Chalko added a comment - 27/Mar/07 09:16 AM
IT did occur several times.
But I cant test it any more.
I am not currently running a Bamboo server.(It was never part of my
official tasks etc)
I think it was something with OSX and svn+ssh

R,
Nick


Anthony Browne added a comment - 27/Mar/07 09:39 AM
Yes, this happens all the time now. We had to set up several plans in
the past week and it happened twice to each plan. The error is always
the same:

com.atlassian.bamboo.repository.RepositoryException: Default-xxxxx
at
com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBui
ld(SvnRepository.java:376)
at
com.atlassian.bamboo.build.strategy.PollingBuildStrategy.requiresBuild(P
ollingBuildStrategy.java:126)
at
com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsB
uilding(DefaultBuildChangeDetector.java:166)
at
com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuil
dChangeDetector.java:114)
at
com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildCh
angeDetector.java:77)
at
edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.r
un(ThreadHelpers.java:34)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.tmatesoft.svn.core.SVNException: svn: SSH channel is
closed. (Closing all channels)
at
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager
.java:62)
at
org.tmatesoft.svn.core.internal.io.svn.SVNWriter.write(SVNWriter.java:14
7)
at
org.tmatesoft.svn.core.internal.io.svn.SVNConnection.write(SVNConnection
.java:229)
at
org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.write(SVNReposi
toryImpl.java:995)
at
org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepos
itoryImpl.java:564)
at
org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:
162)
at
com.atlassian.bamboo.repository.svn.SvnRepository.update(SvnRepository.j
ava:713)
at
com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBui
ld(SvnRepository.java:353)
... 6 more
Caused by: java.io.IOException: SSH channel is closed. (Closing all
channels)
at
ch.ethz.ssh2.channel.ChannelManager.sendData(ChannelManager.java:375)
at
ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:
63)
at
ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:
29)
at
org.tmatesoft.svn.core.internal.io.svn.SVNWriter.write(SVNWriter.java:50
)
... 12 more

(BAM-1028)
server
INFO
was
INFO
changes
INFO
code
ERROR
the
com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBui
ld
com.atlassian.bamboo.build.strategy.TriggeredBuildStrategy.requiresBuild
(T
com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsB
ui
com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuil
dC
com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildCh
an
edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.r
un
(Closing
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager
.j
org.tmatesoft.svn.core.internal.io.svn.SVNWriter.write(SVNWriter.java:14
7)
org.tmatesoft.svn.core.internal.io.svn.SVNConnection.write(SVNConnection
.j
org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.write(SVNReposi
to
org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepos
it
org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:
16
com.atlassian.bamboo.repository.svn.SvnRepository.update(SvnRepository.j
av
com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBui
ld
ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:
63
ch.ethz.ssh2.channel.ChannelOutputStream.write(ChannelOutputStream.java:
29
org.tmatesoft.svn.core.internal.io.svn.SVNWriter.write(SVNWriter.java:50
)
administrators:
http://www.atlassian.com/software/jira


Edwin Wong [Atlassian] added a comment - 10/Apr/07 03:36 AM
Hi guys,

This one should be fixed with the next point release. This was caused by some connection management issues with SVN.

Cheers,
Edwin