You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Sofia Sayzhenkova <ss...@cern.ch> on 2012/08/02 15:41:44 UTC

Re: ant deploy BUILD FAILED

Hello all,
thanks a lot for your help.

Finally I solved it. It was an access problem like you said.
This happened because  it was the first time I did ant deploy in a 
repository. Svnkit didn't store credentials. Simply from the trunk, I did

./external/svnkit/ ls jsvn

and then wrote my password.

Sofia

On 07/31/2012 09:31 PM, Martin Gainty wrote:
> this is an authentication issue..whomever supplied you with the certificate can supply you with the username and password to
> https://heppc1.ft.uam.es/svn/LCG/Quattor/Templates/tags/glite3.1-20080129/tags/
>
> Martin
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
>
>
>
>> Date: Tue, 31 Jul 2012 17:32:20 +0200
>> From: ssayzhen@cern.ch
>> To: user@ant.apache.org
>> Subject: Re: ant deploy BUILD FAILED
>>
>> I can do execute svn ls for heppc1 as well
>>
>> $ svn ls
>> https://heppc1/svn/LCG/Quattor/Templates/tags/glite3.1-20080129/tags
>> 2008/
>> 2009/
>> 2010/
>> 2011/
>> 2012/
>>
>> The address which I get in the error message can be different heppc1 and
>> heppc1.ft.uam.es
>>
>> BUILD FAILED
>> /home/pardo/workspace/trunk5/quattor.build.xml:340: Error getting
>> information about SVN branch
>> https://heppc1.ft.uam.es/svn/LCG/Quattor/Templates/tags/glite3.1-20080129/tags/:
>> svn: Authentication required for '<https://heppc1.ft.uam.es:443>
>> Repositorio del grupo de Altas Energ??as'
>>       at org.quattor.ant.SvnTagTask.makeSvnTag(SvnTagTask.java:214)
>>       at org.quattor.ant.SvnTagTask.execute(SvnTagTask.java:137)
>>       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>>       at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
>>       at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>       at java.lang.reflect.Method.invoke(Method.java:597)
>>       at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>       at org.apache.tools.ant.Task.perform(Task.java:348)
>>       at org.apache.tools.ant.Target.execute(Target.java:357)
>>       at org.apache.tools.ant.Target.performTasks(Target.java:385)
>>       at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>>       at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>>       at
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>>       at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>>       at org.apache.tools.ant.Main.runBuild(Main.java:758)
>>       at org.apache.tools.ant.Main.startAnt(Main.java:217)
>>       at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>>       at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>>
>> Total time: 6 seconds
>>
>> I believe it depends on my files under the subdirectory
>> .subversion/auth/svn.simple/
>>
>> $ diff .subversion/auth/svn.simple/b5f6bdde8404b34a2a3616e527ffb36f
>> .subversion/auth/svn.simple/36cc639f39ef37e4660804b2540253ef
>> 11,12c11,12
>> <  V 71
>> <  <https://heppc1.ft.uam.es:443>  Repositorio del grupo de Altas Energías
>> ---
>>   >  V 61
>>   >  <https://heppc1:443>  Repositorio del grupo de Altas Energías
>>
>> The point is I have access to the svn server with and without domain name.
>>
>> I'm confused if it's a access problem or not.
>>
>> I'd appreciate any advice.
>>
>> Sofia
>>
>>
>> On 07/31/2012 05:09 PM, Peter West wrote:
>>> Your authentication problem is with a different address:
>>> https://heppc1/svn/LCG/Quattor/Templates/tags/glite3.1-20080129/tags/
>>>
>>> Note the server is heppc1, not heppc1.ft.uam.es
>>>
>>> The bogus address is probably specified somewhere in your build file.
>>>
>>> Peter West
>>>
>>> "Take my yoke upon you, and learn from me, for I am gentle and lowly in heart.."
>>>
>>> On 31/07/2012, at 10:50 PM, Sofia Sayzhenkova<ss...@cern.ch>   wrote:
>>>
>>>> Hello Peter and Stefan,
>>>>
>>>> thank you for your response.
>>>>
>>>> I don't know how I can answer in the same thread, because I didn't receive the emails.
>>>>
>>>> Does the command "ant deploy" need additional rights on the svn server unlike for example "svn commit" and "svn ls"?
>>>>
>>>> I can execute svn ls without any problem
>>>> svn ls  https://heppc1.ft.uam.es/svn/LCG/Quattor/Templates/tags/glite3.1-20080129/tags
>>>> 2008/
>>>> 2009/
>>>> 2010/
>>>> 2011/
>>>> 2012/
>>>>
>>>> Before ant deploy I do
>>>> svn checkout
>>>> svn up
>>>> ant
>>>> svn commit
>>>> ant deploy
>>>>
>>>> Everything works except ant deploy.
>>>>
>>>> My svn server has the following configuration.
>>>>
>>>> cat /etc/httpd/conf.d/subversion.conf
>>>> LoadModule dav_svn_module     modules/mod_dav_svn.so
>>>> LoadModule authz_svn_module   modules/mod_authz_svn.so
>>>>
>>>> <Location /svn>
>>>>      SSLRequireSSL
>>>>          DAV svn
>>>>          SVNpath /var/www/svn/HEPFTUAM
>>>>          Satisfy Any
>>>>          Require valid-user
>>>>          AuthType Basic
>>>>          AuthzSVNAccessFile /etc/httpd/htpasswd/svn-authz
>>>>          AuthName "Repositorio del grupo de Altas Energías"
>>>>          AuthUserFile /etc/httpd/htpasswd/svn-passwd
>>>> </Location>
>>>>
>>>>
>>>> cat /etc/httpd/htpasswd/svn-authz
>>>> [/]
>>>> pardo = rw
>>>> sofia = rw
>>>> testuser = rw
>>>>
>>>> [/Physics]
>>>> sofia = rw
>>>>
>>>> [/General/AOB/lisapaper]
>>>> QuattorAuthor = rw
>>>>
>>>> [/Quattor_Dev/UAM]
>>>> * = r
>>>> pardo = rw
>>>> sofia = rw
>>>> testuser = rw
>>>>
>>>> [/LCG/Quattor/Templates/tags/glite3.1-20080129/tags]
>>>> quattor-deployer = r
>>>>
>>>> [/General/AOB/CXI]
>>>> melis = rw
>>>>
>>>> cat /etc/httpd/htpasswd/svn-passwd
>>>> sofia: password*
>>>>
>>>> *password which I prodused by command htpasswd -nm sofia on the same svn server (random symbols $apr....)
>>>>
>>>> On the client machine I have files under the directory .subversion/auth/ with information for login to the svn server.
>>>>
>>>> Sofia
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>   		 	   		


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org