dajester2013 / ivysvn

Automatically exported from code.google.com/p/ivysvn
Apache License 2.0
0 stars 0 forks source link

Retrieving multiple dependencies fails on second dependency constistenly #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. publish multiple artifacts to SVN
2. retrieve published artifacts using chain resolver
3. dependencies are resolved correctly
4. retrieve starts but then fails during the retrieval of the second dependency 
even though the artifact was located.

What is the expected output? What do you see instead?
all artifacts retrieved

Instead after successfully retrieving the first dependency (2 artifacts) it 
fails on the second dependency second artifact consistently. 

What version of the product are you using? On what operating system?
2.2.0

Please provide any additional information below.
The successful resolve followed by the failed retrieve.

resolve-applications-from-svn:
[ivy:resolve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = E:\sSCM\ivy\ivysettings-bin-svn.xml
[ivy:resolve] IvySvn Build-Version: 2.2.0
[ivy:resolve] IvySvn Build-DateTime: 2010-12-20 11:31:47
[ivy:resolve] IvySvn Build-Version: 2.2.0
[ivy:resolve] IvySvn Build-DateTime: 2010-12-20 11:31:47
[ivy:resolve] IvySvn Build-Version: 2.2.0
[ivy:resolve] IvySvn Build-DateTime: 2010-12-20 11:31:47
[ivy:resolve] IvySvn Build-Version: 2.2.0
[ivy:resolve] IvySvn Build-DateTime: 2010-12-20 11:31:47
[ivy:resolve] :: resolving dependencies :: BankCard#VantivDll 
Dependencies;working@USSNPRDEVAPP3
[ivy:resolve]   confs: [ivysvn-bin-all]
[ivy:resolve]   found BankCard#ElavonDll;ElavonDll-0000 in 
ivysvn-bin-gnuarmrelease-retrieve-ElavonDll
[ivy:resolve]   found BankCard#NcnDll;0000 in 
ivysvn-bin-gnuarmrelease-retrieve-NcnDll
[ivy:resolve] :: resolution report :: resolve 140ms :: artifacts dl 16ms
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |  ivysvn-bin-all  |   2   |   0   |   0   |   0   ||   0   |   0   |
        ---------------------------------------------------------------------

BUILD SUCCESSFUL
Total time: 1 second

retrieve-applications-from-svn:
[ivy:retrieve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:retrieve] :: loading settings :: file = E:\sSCM\ivy\ivysettings-bin-svn.xml
[ivy:retrieve] IvySvn Build-Version: 2.2.0
[ivy:retrieve] IvySvn Build-DateTime: 2010-12-20 11:31:47
[ivy:retrieve] IvySvn Build-Version: 2.2.0
[ivy:retrieve] IvySvn Build-DateTime: 2010-12-20 11:31:47
[ivy:retrieve] IvySvn Build-Version: 2.2.0
[ivy:retrieve] IvySvn Build-DateTime: 2010-12-20 11:31:47
[ivy:retrieve] IvySvn Build-Version: 2.2.0
[ivy:retrieve] IvySvn Build-DateTime: 2010-12-20 11:31:47
[ivy:retrieve] :: resolving dependencies :: BankCard#VantivDll 
Dependencies;working@USSNPRDEVAPP3
[ivy:retrieve]  confs: [ivysvn-bin-all]
[ivy:retrieve]  found BankCard#ElavonDll;ElavonDll-0000 in 
ivysvn-bin-gnuarmrelease-retrieve-ElavonDll
[ivy:retrieve]  found BankCard#NcnDll;0000 in 
ivysvn-bin-gnuarmrelease-retrieve-NcnDll
[ivy:retrieve] downloading 
http://narsvn/repo/Bin/ivy/repository/BankCard/HostModules/ElavonDll/USA-V0000/G
NU_ARM_RELEASE/8295550000.BIN ...
[ivy:retrieve]  (63kB)
[ivy:retrieve]  (0kB)
[ivy:retrieve]  [SUCCESSFUL ] BankCard#ElavonDll;ElavonDll-0000!829555.BIN 
(639ms)
[ivy:retrieve] downloading 
http://narsvn/repo/Bin/ivy/repository/BankCard/HostModules/ElavonDll/USA-V0000/G
NU_ARM_RELEASE/8295550000.TXT ...
[ivy:retrieve]  (0kB)
[ivy:retrieve]  (0kB)
[ivy:retrieve]  [SUCCESSFUL ] BankCard#ElavonDll;ElavonDll-0000!829555.TXT 
(78ms)
[ivy:retrieve] downloading 
http://narsvn/repo/Bin/ivy/repository/BankCard/HostModules/NcnDll/USA-V0000/GNU_
ARM_RELEASE/8295740000.TXT ...
[ivy:retrieve]  (0kB)
[ivy:retrieve]  (0kB)
[ivy:retrieve]  [SUCCESSFUL ] BankCard#NcnDll;0000!829574.TXT (78ms)
[ivy:retrieve] downloading 
http://narsvn/repo/Bin/ivy/repository/BankCard/HostModules/NcnDll/USA-V0000/GNU_
ARM_RELEASE/8295740000.BIN ...
[ivy:retrieve]  (75kB)
[ivy:retrieve] :: resolution report :: resolve 156ms :: artifacts dl 858ms
        ---------------------------------------------------------------------
        |                  |            modules            ||   artifacts   |
        |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
        ---------------------------------------------------------------------
        |  ivysvn-bin-all  |   2   |   0   |   0   |   0   ||   4   |   3   |
        ---------------------------------------------------------------------
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]          [FAILED     ] BankCard#NcnDll;0000!829574.BIN: null 
(63ms)
[ivy:retrieve]          [FAILED     ] BankCard#NcnDll;0000!829574.BIN: null 
(63ms)
[ivy:retrieve]  ==== ivysvn-bin-gnuarmrelease-retrieve-NcnDll: tried
[ivy:retrieve]    
BankCard/HostModules/NcnDll/USA-V0000/GNU_ARM_RELEASE/8295740000.BIN
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          ::              FAILED DOWNLOADS            ::
[ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]          :: BankCard#NcnDll;0000!829574.BIN
[ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :::: ERRORS
[ivy:retrieve]  Error 
retrievinghttp://narsvn/repo/Bin/ivy/repository/BankCard/HostModules/NcnDll/USA-
V0000/GNU_ARM_RELEASE/8295740000.BIN.sha1 [revision=-1]
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
E:\sSCM\ivy_targets.xml:60: impossible to resolve dependencies:
        resolve failed - see output for details

Total time: 1 second

E:\sSCM>

Original issue reported on code.google.com by ggb...@yahoo.com on 17 Mar 2012 at 10:46

GoogleCodeExporter commented 9 years ago
It turns out that retrieve can successfully retrieve exactly 3 files before the 
failure occurs. I could have 3 files in the first dependency and it will fail 
on the first file of the second dependency. I can have 1 in the first 
dependency and 3 in the second dependency and it will fail on the 3rd in the 
second dependency. 

If the exact same retrieve is executed right after failing then it is 
successful because it only has 1 file to retrieve since the others have been 
cached.

Original comment by ggb...@yahoo.com on 17 Mar 2012 at 11:19

GoogleCodeExporter commented 9 years ago
This sounds strange, we've used IvySvn to retrieve tens, if not hundreds of 
dependencies in one go and haven't had a problem with it. Can you run ant in 
verbose mode and paste the full output so I can see what the stack trace is?

Original comment by massdosage on 19 Mar 2012 at 9:44

GoogleCodeExporter commented 9 years ago
will do. should have something posted today or tomorrow.

Original comment by ggb...@yahoo.com on 22 Mar 2012 at 3:19