Issue Details (XML | Word | Printable)

Key: BAM-1028
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Edwin Wong [Atlassian]
Reporter: Anthony Browne
Votes: 1
Watchers: 1
Operations

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

Bamboo throws exception when it polls Subversion repository

Created: 14/Mar/07 04:20 PM   Updated: 10/Apr/07 03:40 AM
Component/s: Repository (Subversion)
Affects Version/s: 1.0.2
Fix Version/s: 1.0.4

Time Tracking:
Original Estimate: 1 day
Original Estimate - 1 day
Remaining Estimate: 1 day
Remaining Estimate - 1 day
Time Spent: Not Specified
Remaining Estimate - 1 day

File Attachments: 1. Text File atlassian-bamboo.log (7 kB)

Environment:
Bamboo version:
standalone 1.0.2

Wednesday, 14 Mar 2007

User Timezone:
US/Central

User Locale:
English (United States)

System Encoding:
UTF-8

Operating System:
Linux 2.6.9-42.0.8.ELsmp

Operating System Architecture:
i386

Available Processors:
2

Application Server Container:
Jetty/5.1.4

Java Version:
1.5.0_11

Java Vendor:
Sun Microsystems Inc.

JVM Version:
1.0

JVM Vendor:
Sun Microsystems Inc.

JVM Implementation Version:
1.5.0_11-b03

Java Runtime:
Java(TM) 2 Runtime Environment, Standard Edition

Java VM:
Java HotSpot(TM) Server VM
Java VM Memory Statistics
Total Memory:
466 MB

Free Memory:
340 MB

Used Memory:
126 MB

Issue Links:
Duplicate
 
Reference
 

Participants: Anthony Browne, Edwin Wong [Atlassian] and Mark Gaylard
Since last comment: 1 year, 26 weeks, 4 days ago
Number of comments: 11
Internal Priority: 1. Highest
Internal Work Bucket: Confirmed
Labels:


 Description  « Hide
Yesterday (13 March 2007) at 15:08:22 and 22:00:26, code was checked into our Subversion repository and the plans were not executed. We have two plans set up and the source repository configuration for both is:

Repository: Subversion
Repository URL: svn+ssh://svn.xxx.xxx.xxx/xxx/xxx/xxx/xxx/xxx/xxx
Username: xxx
Web Repository URL: http://xxx.xxx.xxx.xxx
Build Strategy: Repository Polling
Polling Frequency: 180

See atlassian-bamboo.log for more info



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Edwin Wong [Atlassian] added a comment - 14/Mar/07 06:58 PM
Anthony,

Would you like to attach your atlassian-bamboo.log?

Also, I see you are using the svn+ssh protocol, but are you a password authentication or private key (optionally with passphrase) authentication?

Cheers,
Edwin


Anthony Browne added a comment - 15/Mar/07 08:50 AM
I thought I attached this log when I created the issue, sorry if I forgot.

Anthony Browne added a comment - 15/Mar/07 08:51 AM
We use password authentication.

authentication?
have
administrators:
http://www.atlassian.com/software/jira


Edwin Wong [Atlassian] added a comment - 15/Mar/07 07:00 PM
Anthony,

Would you like to try running a Subversion checkout/update with another client and see if you can connect? (e.g. via the command line or tortoise SVN).

Taking a look at the logs, it seems that there may be a ssh connection problem to the server.

Cheers,
Edwin


Anthony Browne added a comment - 16/Mar/07 11:33 AM
Yes, I can connect to svn through IDEA, NetBeans, and TortiseSVN. Also,
Bamboo can connect to svn, it worked for check ins after the ones in
question. It only broke on the two check ins in question.

another
tortoise
have
administrators:
http://www.atlassian.com/software/jira


Edwin Wong [Atlassian] added a comment - 20/Mar/07 08:12 AM
Anthony,

So just to confirm, Bamboo now no longer has problems connecting to SVN. (i.e. it failed only to connect at that particular point in time)?

Is this something that is happening often? When running Bamboo locally here, we have periodically seen the same error but that coincided with the SSL on the server going down momentarily.

Cheers,
Edwin


Anthony Browne added a comment - 20/Mar/07 10:09 AM
It failed those two times, but then worked for subsequent check outs.
Then, we set up 10 new, identical plans and it failed to do an initial
check out of the source code from svn in 3 of the 10 plans. Can you
elaborate on what SSL on the server going down momentarily means? The
reason I ask is because the problem does seem to be sporadic and if the
problem is with the svn server itself, then there is no problem with
Bamboo. I haven't checked that side of things yet, but I will now. I'll
let you know what I discover.

SVN.
the
have
administrators:
http://www.atlassian.com/software/jira


Mark Gaylard added a comment - 20/Mar/07 07:00 PM
We get exactly the same exception fairly regularly.

Its not so much of a problem for out commit triggered builds as they try again in a short period of time. For our cron triggered builds though, when this exception occurs, the build fails silently (as far as the web ui is concerned) and is not tried again. It should at least try again or not fail silently in the ui.

Mark.


Edwin Wong [Atlassian] added a comment - 20/Mar/07 08:20 PM
Hi Anthony,

Sorry for the confusion. What I meant was that the server would momentarily be un-available for connection. We tested this by trying to make a ssh connection to the server, but this would error with a message similar to the one received in Bamboo.

Cheers,
Edwin


Edwin Wong [Atlassian] added a comment - 20/Mar/07 08:58 PM
Mark,

With regards to the silent failure of builds we are currently working towards an improved notifications system which will notify you of server errors (other than just Build results). This is discussed in BAM-960 and BAM-1021.

Cheers,
Edwin


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

I think this is to do with some SVN ssh connection management issues. This should be fixed with the next point release.

Cheers,
Edwin