Trunk breakage...
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > Trunk breakage...




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Trunk breakage...  
Emmanuel Lecharny


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-25-07 06:11 PM

Hi Enrique,

I just svn up the trunk this morning (Paris time), and tried to build
it, but got some error in integration tests
(https://issues.apache.org/jira/browse/DIRSERVER-943)

I have commented to failing test :
http://svn.apache.org/viewvc?view=3Drev&rev=3D541686

Would you please check what is going wrong with it? I have tested the
trunk on mu linux laptop and on my mac OSX, and Alex is experiencing
the same breakage.

Did you run mvn -Dintegration test before committing? If so, do you
use a special configuration we don't use ? (Like W$ or JDK 1.6)

Thanks to give us some feedback about this pb. (I didn't had time to
analyze the reason for this failure, my friday was quite frantic ...)

Emmanuel
--=20
Regards,
Cordialement,
Emmanuel L=E9charny
www.iktek.com






[ Post a follow-up to this message ]



    Re: Trunk breakage...  
Enrique Rodriguez


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-26-07 12:11 AM

On 5/25/07, Emmanuel Lecharny <elecharny-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:[vbc
ol=seagreen]
> I just svn up the trunk this morning (Paris time), and tried to build
> it, but got some error in integration tests
> (https://issues.apache.org/jira/browse/DIRSERVER-943)
>
> I have commented to failing test :
> http://svn.apache.org/viewvc?view=rev&rev=541686[/vbcol]

Thanks for opening the JIRA issue.  Commenting out the test was the
right response.

> Would you please check what is going wrong with it? I have tested the
> trunk on mu linux laptop and on my mac OSX, and Alex is experiencing
> the same breakage.

This is the issue Alex and I discussed after his review of the SASL
branch.  The Sun Kerberos provider doesn't allow you to change the
port (in code), so the integration test needs to bind to port 88
(Kerberos), which it can't do unless you're root.  We discussed some
solutions but I didn't get a chance to implement one before the merge.

We discussed writing a Kerberos client library, for a number of
reasons, one of which is to allow port selection like we do with the
LDAP integration tests.  I think the only solution in the short term
is to set up a profile for this test.

> Did you run mvn -Dintegration test before committing? If so, do you
> use a special configuration we don't use ? (Like W$ or JDK 1.6)

I ran these tests as root.

Enrique






[ Post a follow-up to this message ]



    Re: Trunk breakage...  
Emmanuel Lecharny


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-26-07 12:11 AM

Enrique Rodriguez a écrit :
 
>
>
> Thanks for opening the JIRA issue.  Commenting out the test was the
> right response.

At least, I was able to run the test 

> 
>
>
> This is the issue Alex and I discussed after his review of the SASL
> branch.  The Sun Kerberos provider doesn't allow you to change the
> port (in code), so the integration test needs to bind to port 88
> (Kerberos), which it can't do unless you're root.  We discussed some
> solutions but I didn't get a chance to implement one before the merge.
>
> We discussed writing a Kerberos client library, for a number of
> reasons, one of which is to allow port selection like we do with the
> LDAP integration tests.  I think the only solution in the short term
> is to set up a profile for this test.

Oh, I remember reading such a thread, but didn't understood how it could
be related to the problem I had this morning... Now, it make sense.

> 
>
>
> I ran these tests as root.

Ok, it explain the 'why'. As running the integ test as root is not an
option, I guess that a profile is mandatory. May be checking that the
user is root at the beginning of the test could help, or at least that
he had enough priviledge to open a port on 88.

Hopefully, you will come with a correct solution sooner or later !

Thanks for the explanaition, Enrique, I was afraid that commenting this
test could weaken the server (integ test are good) buy now I see this
will be a temporary solution. Anyway, the JIRA will remain until we fix
it, which is why JIRA are good for ;)

Emmanuel







[ Post a follow-up to this message ]



    Re: Trunk breakage...  
Alex Karasulu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-26-07 06:11 AM

On 5/25/07, Enrique Rodriguez <enriquer9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:[vbc
ol=seagreen]
>
>
> We discussed writing a Kerberos client library, for a number of
> reasons, one of which is to allow port selection like we do with the
> LDAP integration tests.  I think the only solution in the short term
> is to set up a profile for this test.[/vbcol]


I would rather comment out the test because if in a profile it will still
fail when the profile is activated by a non-root user.  The best solution
is to comment it out or deactivate the test in the surefire configuration
which is probably best.  Then when the kerberos client is written it can
be re-activated.

This is a better option because it stresses the need to build the Kerberos
client that would really solve this problem.  If we remedy it somewhat by
forcing tests as root that reduces the drive to implement the Kerberos
client.

Alex






[ Post a follow-up to this message ]



    Re: Trunk breakage...  
Emmanuel Lecharny


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-26-07 12:11 PM

Alex Karasulu a écrit :

> On 5/25/07, Enrique Rodriguez <enriquer9-Re5JQEeQqe8AvxtiuMwx3w@public.gma
ne.org> wrote:
> 
>
>
>
> I would rather comment out the test because if in a profile it will still
> fail when the profile is activated by a non-root user.

Yes, true. And the test has been commented out.

> The best solution
> is to comment it out or deactivate the test in the surefire configuration
> which is probably best.  Then when the kerberos client is written it can
> be re-activated.

Ok.

>
> This is a better option because it stresses the need to build the
> Kerberos
> client that would really solve this problem.  If we remedy it somewhat by
> forcing tests as root that reduces the drive to implement the Kerberos
> client.

Np. What I did was to comment out the failing test righty now, so that
the trunk can build, and created a JIRA to be sure we will not forget
about it. Enrique has endorsed the JIRA, so it's perfect !

Thanks all !
Emmanuel






[ Post a follow-up to this message ]



    Re: Trunk breakage...  
Alex Karasulu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-27-07 12:11 AM

Yep and it looks like Enrique is working on the Kerberos/Changepw client
which will be
an incredible asset to have for multiple projects.  This will fix numerous
issues that we
have in both ADS testing for Kerberos/Changepw and for Triplesec
functionality.

Alex

On 5/26/07, Emmanuel Lecharny <elecharny-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org> wrote:[vbc
ol=seagreen]
>
> Alex Karasulu a écrit :
> 
> still 
>
> Yes, true. And the test has been commented out.
> 
> configuration 
>
> Ok.
> 
> by 
>
> Np. What I did was to comment out the failing test righty now, so that
> the trunk can build, and created a JIRA to be sure we will not forget
> about it. Enrique has endorsed the JIRA, so it's perfect !
>
> Thanks all !
> Emmanuel
>[/vbcol]






[ Post a follow-up to this message ]



    Re: Trunk breakage...  
Enrique Rodriguez


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-28-07 06:11 AM

On 5/26/07, Alex Karasulu <akarasulu-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org> wrote:
> Yep and it looks like Enrique is working on the Kerberos/Changepw client
> which will be
> an incredible asset to have for multiple projects.  This will fix numerous
> issues that we
> have in both ADS testing for Kerberos/Changepw and for Triplesec
> functionality.

There was an issue already opened for this:

https://issues.apache.org/jira/browse/DIRSERVER-880

Enrique






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:32 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register