Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] CVS authentication issue...

Thanks Thomas - I thought that one was a little curious. I figured out why
the credentials were failing on this end at least, so it looks like we're
back in business. Thanks for filing the eclipse bug.

Todd

Todd Lee
Software Tools
ON Semiconductor
Tel:  +1.519.884.9696 ext 2242
Fax: +1.519.884.0228
E-mail: todd_lee@xxxxxxxx


                                                                           
             Thomas Hallgren                                               
             <thomas@xxxxxxx>                                              
             Sent by:                                                   To 
             buckminster-dev-b         Buckminster developer discussions   
             ounces@xxxxxxxxxx         <buckminster-dev@xxxxxxxxxxx>       
             g                                                          cc 
                                                                           
                                                                   Subject 
             04/08/2008 06:17          Re: [buckminster-dev] CVS           
             PM                        authentication issue...             
                                                                           
                                                                           
             Please respond to                                             
                Buckminster                                                
                 developer                                                 
                discussions                                                
             <buckminster-dev@                                             
               eclipse.org>                                                
                                                                           
                                                                           




Hi Todd,
from the stacktrace and looking at the source of the Eclipse CVS client,
I can conclude that one unsuccessful authentication attempt has been
made prior to when the dialog pops up. In essence, this is the flow:

1. The cvs client creates a CVSRepositoryLocation instance with a fixed
user/password (from the information provided in your rmap)
2. The client makes an attempt to login and fails
3. The client now asks for "user info" using a dialog popup.
4. You enter some values but the client refuses them with an
UnsupportedOperationException since it was created with a fixed
user/password.

So there are two issues here really. The first is that, for some reason,
the first authentication fails using your credentials. The second is
that the CVSRepositoryLocation promts the user for a new
username/password although it already knows that it will reject it. I
entered that as a bugzilla
https://bugs.eclipse.org/bugs/show_bug.cgi?id=226211 on the CVS client.

- thomas

Todd_Lee@xxxxxxxx wrote:
> So I'm back to our autobuild efforts after a brief hiatus and I've run up
> against the following...
>
> Before I shelved our project, I had our rmap set up with CVS providers
> where the URI is of the form - :pserver:user:password@host...
> The resolution worked, but now that I'm back at it I'm finding that with
> the latest buckminster update:
>
> Core 1.0.0.r09041
> CVS 1.0.0.r09008
>
> I'm getting a CVS authentication popup, and when I enter the password
(same
> as is hardcoded in the RMAP) I get
> an 'UnsupportedOperationException' error. If I take the hardcoded
password
> out, I get the popup again (as I would expect) but I also get the same
> exception. Here's the log:
>
>
> !ENTRY org.eclipse.buckminster.core 0 293 2008-04-08 17:11:32.680
> !MESSAGE nvmd:buckminster: Using resolver rmap
>
> !ENTRY org.eclipse.buckminster.core 0 293 2008-04-08 17:11:32.759
> !MESSAGE nvmd:buckminster: Using resource map
> http://host/ide/updates/dev/test.rmap
>
> !ENTRY org.eclipse.buckminster.core 0 293 2008-04-08 17:11:32.774
> !MESSAGE nvmd:buckminster: Using search path nvmd.root
>
> !ENTRY org.eclipse.buckminster.core 0 293 2008-04-08 17:11:32.805
> !MESSAGE nvmd:buckminster: Trying provider
>
cvs(:pserver:user@host:/usr/local/share/projects/cvsrep,path/to/module/code/{2})

>
> !ENTRY org.eclipse.buckminster.core 0 293 2008-04-08 17:11:32.821
> !MESSAGE nvmd:buckminster: trunk/head will be searched
>
> !ENTRY org.eclipse.buckminster.core 2 293 2008-04-08 17:11:37.946
> !MESSAGE java.lang.UnsupportedOperationException
> !STACK 0
> java.lang.UnsupportedOperationException
>       at
>
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.setPassword(CVSRepositoryLocation.java:922)

>       at
>
org.eclipse.team.internal.ccvs.ui.WorkbenchUserAuthenticator.promptForUserInfo(WorkbenchUserAuthenticator.java:92)

>       at
>
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.promptForUserInfo(CVSRepositoryLocation.java:812)

>       at
>
org.eclipse.team.internal.ccvs.core.connection.CVSRepositoryLocation.openConnection(CVSRepositoryLocation.java:763)

>       at
> org.eclipse.team.internal.ccvs.core.client.Session.open(Session.java:159)
>       at
>
org.eclipse.buckminster.cvspkg.internal.CVSSession.getReaderSession(CVSSession.java:104)

>       at
>
org.eclipse.buckminster.cvspkg.internal.RepositoryMetaData.getMetaData(RepositoryMetaData.java:142)

>       at
>
org.eclipse.buckminster.cvspkg.internal.VersionFinder.getMetaData(VersionFinder.java:50)

>       at
>
org.eclipse.buckminster.cvspkg.internal.VersionFinder.getTrunk(VersionFinder.java:83)

>       at
>
org.eclipse.buckminster.core.version.AbstractSCCSVersionFinder.getBestTrunkMatch(AbstractSCCSVersionFinder.java:333)

>       at
>
org.eclipse.buckminster.core.version.AbstractSCCSVersionFinder.getBestVersion(AbstractSCCSVersionFinder.java:155)

>       at
>
org.eclipse.buckminster.core.rmap.model.Provider.findMatch(Provider.java:211)

>       at
>
org.eclipse.buckminster.core.rmap.model.SearchPath.getProvider(SearchPath.java:104)

>       at
>
org.eclipse.buckminster.core.rmap.model.ResourceMap.resolve(ResourceMap.java:166)

>       at
>
org.eclipse.buckminster.core.resolver.ResourceMapResolver.innerResolve(ResourceMapResolver.java:244)

>       at
>
org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.resolve(ResolverNodeWithJob.java:214)

>       at
>
org.eclipse.buckminster.core.resolver.ResolverNodeWithJob.run(ResolverNodeWithJob.java:94)

>       at
>
org.eclipse.buckminster.core.resolver.ResolverNodeWithJob$NodeResolutionJob.run(ResolverNodeWithJob.java:49)

>       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> !ENTRY org.eclipse.buckminster.core 4 293 2008-04-08 17:11:37.977
> !MESSAGE ERROR   [0001] : java.lang.UnsupportedOperationException
>
>
> NOTE: Here's the searchpath that it's hitting from my RMAP
>
> <searchPath name="nvmd.root">
>             <provider readerType="cvs" componentTypes="buckminster"
> mutable="true" source="true">
>                 <uri
>
format=":pserver:user@host:/usr/local/share/projects/cvsrep,path/to/module/code/{2}">

>                 <bc:propertyRef key="user.name" /><!-- unused -->
>                 <bc:propertyRef key="user.pass" /><!-- unused -->
>                 <bc:propertyRef key="buckminster.component" />
>                   </uri>
>             </provider>
> </searchPath>
>
>
> I've got a buckminster.cspec sitting in the CVS repository at:
> path/to/module/code/nvmd/buckminster.cspec
>
> So it should be finding it alright...
>
> Any suggestions?
> Thanks
>
>
> Todd Lee
> Software Tools
> ON Semiconductor
> Tel:  +1.519.884.9696 ext 2242
> Fax: +1.519.884.0228
> E-mail: todd_lee@xxxxxxxx
>
> _______________________________________________
> buckminster-dev mailing list
> buckminster-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/buckminster-dev
>

_______________________________________________
buckminster-dev mailing list
buckminster-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/buckminster-dev




Back to the top