Description
Issue Summary
This is reproducible on Data Center: (yes) / (no)
The issue is a repository exception where 2 threads are running tag detection at the same time. One thread is trying to use the file which the other thread is trying to make use of.
Steps to Reproduce
While this is not reproducible, this is occurring as a result of Bamboo tag detection. Bamboo tries to make an SSH connection to check for tag detection. Bamboo attempts to delete the SSH file which has been deleted by a similar Bamboo's thread.
Expected Results
Bamboo should be able to delete the file before creating another one successfully an perform the tag detection.
Actual Results
The below exception is thrown in the atlassian-bamboo.log file:
ERROR [19-TagDetectionBackgroundThread:pool-63-thread-1] [TagDetectionServiceImpl] An exception occurred when trying to read and handle tags from repositorycom.atlassian.bamboo.repository.RepositoryException: java.nio.file.NoSuchFileException: /opt/bamboo/temp/bamboo-ssh.2958cbb8.sh at com.atlassian.bamboo.plugins.git.v2.GitTagsHandler.getAllTagsFromRepository(GitTagsHandler.java:64) ~[?:?]
Workaround
None.
Attachments
Issue Links
- mentioned in
-
Page Loading...