Migration stuck on importing

There is need to migrate multiple folder from SVN parent repository.
Parent SVN Repo path: https://svn.dts.fm.rbsgrp.net/financetech/ARE (Attached is the screenshot - SVNParentRepo)
The migration is stuck on importing and is not showing any status of the files translated.
Example-
SVN repo path- https://svn.dts.fm.rbsgrp.net/financetech/ARE

Bitbucket repo name- ARE

Below are the mappings that we have used.
trunk = are:refs/heads/master
branches = branches/:refs/heads/
branches = are-branches/release-3.16.4:refs/heads/release-3.16.4
branches = are-branches/release-3.16.6:refs/heads/release-3.16.6
branches = are-branches/release-3.16.7:refs/heads/release-3.16.7
branches = are-branches/release-3.9:refs/heads/release-3.9
branches = are-branches/TDWInstrumentFetcher:refs/heads/TDWInstrumentFetcher
branches = are-branches/TDX_ICE:refs/heads/TDX_ICE
branches = are-branches/ae-test-tool:refs/heads/ae-test-tool
branches = are-branches/gpfs-upgrade:refs/heads/gpfs-upgrade
branches = are-branches/java8poc:refs/heads/java8poc
branches = are-branches/release-GfxRules:refs/heads/release-GfxRules
tags = tags/:refs/tags/
tags = are-tags/3.16.4.5:refs/tags/3.16.4.5
tags = are-tags/3.16.6.10:refs/tags/3.16.6.10
tags = are-tags/3.16.7.1:refs/tags/3.16.7.1
shelves = shelves/:refs/shelves/

Attaching the support zip here.

Hello

I don’t see the support.zip attached, could you please upload it once more? Also, please describe the issue in a little more detail – namely, how did you find the import stuck and what is the import status in the add-on UI?

Attaching the zip again.

Under https://svn.dts.fm.rbsgrp.net/financetech/ARE , we have multiple folders as shown in the provided screenshot(ARE.png). We have to migrate some of the folders (shown in screenshot ARE-mapping.png) to a bitbucket repository.
On providing the mappings (provided earlier), the status earlier started showing the number of files translated but after some time, it is stuck as shown in the screenshot (ARE-Status.png).

Judging from the logs, the add-on is unable to translate this ARE project because it hit known SVN bug:

http://subversion.apache.org/docs/issue4129

This bug leads to a situation when SVN server doesn’t return some revisions to the add-on and the data get corrupted due to it. To work around this issue set the URL point to the repository root directory, not to the ARE directory directly is it’s set now, and change the mapping configuration accordingly. So, it should be set either in this way:

url = https://svn.dts.fm.rbsgrp.net

trunk = financetech/ARE/are:refs/heads/master
branches = financetech/ARE/branches/*:refs/heads/*
branches = financetech/ARE/are-branches/release-3.16.4:refs/heads/release-3.16.4
branches = financetech/ARE/are-branches/release-3.16.6:refs/heads/release-3.16.6
branches = financetech/ARE/are-branches/release-3.16.7:refs/heads/release-3.16.7
branches = financetech/ARE/are-branches/release-3.9:refs/heads/release-3.9
branches = financetech/ARE/are-branches/TDWInstrumentFetcher:refs/heads/TDWInstrumentFetcher
branches = financetech/ARE/are-branches/TDX_ICE:refs/heads/TDX_ICE
branches = financetech/ARE/are-branches/ae-test-tool:refs/heads/ae-test-tool
branches = financetech/ARE/are-branches/gpfs-upgrade:refs/heads/gpfs-upgrade
branches = financetech/ARE/are-branches/java8poc:refs/heads/java8poc
branches = financetech/ARE/are-branches/release-GfxRules:refs/heads/release-GfxRules
tags = financetech/ARE/tags/*:refs/tags/*
tags = financetech/ARE/are-tags/3.16.4.5:refs/tags/3.16.4.5
tags = financetech/ARE/are-tags/3.16.6.10:refs/tags/3.16.6.10
tags = financetech/ARE/are-tags/3.16.7.1:refs/tags/3.16.7.1
shelves = financetech/ARE/shelves/*:refs/shelves/* 

or in this way:

url = https://svn.dts.fm.rbsgrp.net/financetech

trunk = ARE/are:refs/heads/master
branches = ARE/branches/*:refs/heads/*
branches = ARE/are-branches/release-3.16.4:refs/heads/release-3.16.4
branches = ARE/are-branches/release-3.16.6:refs/heads/release-3.16.6
branches = ARE/are-branches/release-3.16.7:refs/heads/release-3.16.7
branches = ARE/are-branches/release-3.9:refs/heads/release-3.9
branches = ARE/are-branches/TDWInstrumentFetcher:refs/heads/TDWInstrumentFetcher
branches = ARE/are-branches/TDX_ICE:refs/heads/TDX_ICE
branches = ARE/are-branches/ae-test-tool:refs/heads/ae-test-tool
branches = ARE/are-branches/gpfs-upgrade:refs/heads/gpfs-upgrade
branches = ARE/are-branches/java8poc:refs/heads/java8poc
branches = ARE/are-branches/release-GfxRules:refs/heads/release-GfxRules
tags = ARE/tags/*:refs/tags/*
tags = ARE/are-tags/3.16.4.5:refs/tags/3.16.4.5
tags = ARE/are-tags/3.16.6.10:refs/tags/3.16.6.10
tags = ARE/are-tags/3.16.7.1:refs/tags/3.16.7.1
shelves = ARE/shelves/*:refs/shelves/* 

depending on how your SVN server is configured.

Hi,

Thanks for the suggestion but setting the url to https://svn.dts.fm.rbsgrp.net/financetech leads to a long time in importing the initial configuration as mentioned in https://issues.tmatesoft.com/issue/SG-316 .

Hello

let’s continue with this repository import in this SG-317 issue.
As we discussed in SG-316, disabling authors mapping generation may help to decrease the time needed for import start. Besides, it’s still unclear for me is this directory repository root or not. To overcome that SVN ‘issue4129’ bug, the URL must be set to the repository root, otherwise, the error will appear again.

Hi,

I tried the migration again by setting the root url to https://svn.dts.fm.rbsgrp.net/financetech , we have unchecked the “Generate authors mapping from Subversion repository history” checkbox. The translation completed but history from the branches is missing before the branch creation date.
For example , if i select a branch release-3.16.7, i just see one commit. But when in master, i see full history. Attached the screenshot for both.
Can you please suggest on this?
Also, below is the mapping that i have used.

url = https://svn.dts.fm.rbsgrp.net/financetech

trunk = ARE/are:refs/heads/master
branches = ARE/are-branches/release-3.16.4:refs/heads/release-3.16.4
branches = ARE/are-branches/release-3.16.6:refs/heads/release-3.16.6
branches = ARE/are-branches/release-3.16.7:refs/heads/release-3.16.7
branches = ARE/are-branches/release-3.9:refs/heads/release-3.9
branches = ARE/are-branches/TDWInstrumentFetcher:refs/heads/TDWInstrumentFetcher
branches = ARE/are-branches/TDX_ICE:refs/heads/TDX_ICE
branches = ARE/are-branches/ae-test-tool:refs/heads/ae-test-tool
branches = ARE/are-branches/gpfs-upgrade:refs/heads/gpfs-upgrade
branches = ARE/are-branches/java8poc:refs/heads/java8poc
branches = ARE/are-branches/release-GfxRules:refs/heads/release-GfxRules
tags = ARE/are-tags/3.16.4.5:refs/tags/3.16.4.5
tags = ARE/are-tags/3.16.6.10:refs/tags/3.16.6.10
tags = ARE/are-tags/3.16.7.1:refs/tags/3.16.7.1
shelves = ARE/shelves/*:refs/shelves/*

Hi,

most probably it happens because those branches were moved/renamed in the past. To get the complete history, the mapping configuration should be set accordingly. However, to create the appropriate configuration, we would need to know the SVN history. Could you please provide us with the history of the ‘financetech’ directory, it can be collected by the following command:

svn log -v https://svn.dts.fm.rbsgrp.net/financetech

Hi,

Please find the attached logs.

Hi,

Please let us know if you wee able to find something.

Hi.

To gather history for release-* branches and tags, add mapping for release-3.16.3, release-3.16.2, and release-3.16 branches. Thus the mapping configuration should look like this:

trunk = ARE/are:refs/heads/master
branches = ARE/are-branches/release-3.16:refs/heads/release-3.16
branches = ARE/are-branches/release-3.16.2:refs/heads/release-3.16.2
branches = ARE/are-branches/release-3.16.3:refs/heads/release-3.16.3
branches = ARE/are-branches/release-3.16.4:refs/heads/release-3.16.4
branches = ARE/are-branches/release-3.16.6:refs/heads/release-3.16.6
branches = ARE/are-branches/release-3.16.7:refs/heads/release-3.16.7
branches = ARE/are-branches/release-3.9:refs/heads/release-3.9
branches = ARE/are-branches/TDWInstrumentFetcher:refs/heads/TDWInstrumentFetcher
branches = ARE/are-branches/TDX_ICE:refs/heads/TDX_ICE
branches = ARE/are-branches/ae-test-tool:refs/heads/ae-test-tool
branches = ARE/are-branches/gpfs-upgrade:refs/heads/gpfs-upgrade
branches = ARE/are-branches/java8poc:refs/heads/java8poc
branches = ARE/are-branches/release-GfxRules:refs/heads/release-GfxRules
tags = ARE/are-tags/3.16.4.5:refs/tags/3.16.4.5
tags = ARE/are-tags/3.16.6.10:refs/tags/3.16.6.10
tags = ARE/are-tags/3.16.7.1:refs/tags/3.16.7.1
shelves = ARE/shelves/*:refs/shelves/*

The branch TDWInstrumentFetcher has been created from scratch in revision 645024, so this is correct that its history starts from its creation. Branches TDX_ICE, ae-test-tool, gpfs-upgrade, java8poc, release-GfxRules were all derived from ‘are’ which already mapped as ‘master’, so these branches should have the complete history, too.

I was able to get history with these mappings. Thanks!

Greate! Thank you for letting us know!