[keycloak-dev] Keycloak Integration TestSuite FAILURE

Maurício Giacomini Penteado mauriciogiacomini at hotmail.com
Thu Sep 15 10:31:12 EDT 2016


Hi Bruno

Following the instructions you described, all works well.

Thank you so much!

________________________________
De: Bruno Oliveira <bruno at abstractj.org>
Enviado: quarta-feira, 14 de setembro de 2016 21:29
Para: Maurício Giacomini Penteado
Cc: keycloak-dev at lists.jboss.org
Assunto: Re: [keycloak-dev] Keycloak Integration TestSuite FAILURE

Hi Maurício, you just have to copy the content of your downloaded Maven
distribution. If you have any doubts, try this:

git clone https://github.com/abstractj/docker.git &&
abstractj/docker<https://github.com/abstractj/docker.git>
github.com
docker - Docker files crafted with love



cd docker && git checkout centos && cd centos-java-dev/dist &&
curl http://mirror.nbtelecom.com.br/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz | tar xvz
&& mv apache-maven-3.3.9 apache-maven && cd .. &&
sudo docker build -t keycloak-centos .

I hope it helps.


On 2016-09-14, Maurício Giacomini Penteado wrote:
>
> Hi Bruno, thanks by your attention.
>
> I am trying do what you have explained but when I build the docker image it never adds my "dist/apache-maven" folder. You have already passed by it?
>
> I always got the error:
> ADD dist/apache-maven/ /opt/src/apache-maven/
> lstat dist/apache-maven/: no such file or directory
>
> Kind regards
>
> ________________________________
> De: Bruno Oliveira <bruno at abstractj.org>
> Enviado: quarta-feira, 14 de setembro de 2016 03:22
> Para: Maurício Giacomini Penteado
> Cc: keycloak-dev at lists.jboss.org
> Assunto: Re: [keycloak-dev] Keycloak Integration TestSuite FAILURE
>
> Hi Mauricio, I couldn't reproduce your issue with the latest CentOS
> version. To make sure that we're discussing about the same environment,
> I built this docker image[1], just follow the instructions here[2] to run.
>
> I hope it helps.
>
>
> [1] - https://hub.docker.com/r/abstractj/keycloak-centos/
> [2] - https://github.com/abstractj/docker/blob/centos/centos-java-dev/README.md
>
> On 2016-09-13, Maurício Giacomini Penteado wrote:
> >
> > I am trying build with a CentOS Linux release 7.2.
> >
> > I have already tried build the keycloak versions 2.0.0, 2.1.0 and 2.2.0 with OpenJDK and Oracle JDK.
> >
> > I just did a clone and performed a "mvn install".
> >
> > All my attempts result in the same errors:
> >
> > Keycloak Integration TestSuite FAILURE
> >
> > Failed tests:
> >   JaxrsFilterTest.testCors:286 expected:<200> but was:<403>
> >   JaxrsFilterTest.testRelativeUriAndPublicKey:172 expected:<500> but was:<401>
> > Tests in error:
> >   JaxrsBasicAuthTest.testBasic:141 » ClientError HTTP 403 Forbidden
> >   JaxrsFilterTest.testBasic:141 » ClientError HTTP 403 Forbidden
> >   JaxrsFilterTest.testPushNotBefore:314 » ClientError HTTP 403 Forbidden
> >   JaxrsFilterTest.testResourceRoleMappings:236 » ClientError HTTP 403 Forbidden
> >
> > Tests run: 414, Failures: 2, Errors: 4, Skipped: 32
> >
> > = [
> >
> > Somebody, please!
> > ________________________________
> > De: Maurício Giacomini Penteado <mauriciogiacomini at hotmail.com>
> > Enviado: terça-feira, 13 de setembro de 2016 14:20
> > Para: stian at redhat.com
> > Cc: keycloak-dev at lists.jboss.org
> > Assunto: Re: [keycloak-dev] Keycloak Integration TestSuite FAILURE
> >
> >
> > Hello Stian
> >
> >
> > I did a clone of master from Travis repository and to me the errors are the same  = /
> >
> >
> > ________________________________
> > De: Stian Thorgersen <sthorger at redhat.com>
> > Enviado: terça-feira, 13 de setembro de 2016 13:10
> > Para: Maurício Giacomini Penteado
> > Cc: keycloak-dev at lists.jboss.org
> > Assunto: Re: [keycloak-dev] Keycloak Integration TestSuite FAILURE
> >
> > What steps do you run to build/test? Works on my box and also it works on Travis.
> >
> > On 13 September 2016 at 15:08, Maurício Giacomini Penteado <mauriciogiacomini at hotmail.com<mailto:mauriciogiacomini at hotmail.com>> wrote:
> >
> > Hello everybody.
> >
> > All my attempts to build keycloak result in the same errors:
> >
> > Keycloak Integration TestSuite FAILURE
> >
> > Failed tests:
> >   JaxrsFilterTest.testCors:286 expected:<200> but was:<403>
> >   JaxrsFilterTest.testRelativeUriAndPublicKey:172 expected:<500> but was:<401>
> > Tests in error:
> >   JaxrsBasicAuthTest.testBasic:141 » ClientError HTTP 403 Forbidden
> >   JaxrsFilterTest.testBasic:141 » ClientError HTTP 403 Forbidden
> >   JaxrsFilterTest.testPushNotBefore:314 » ClientError HTTP 403 Forbidden
> >   JaxrsFilterTest.testResourceRoleMappings:236 » ClientError HTTP 403 Forbidden
> >
> > Tests run: 414, Failures: 2, Errors: 4, Skipped: 32
> >
> > If somebody has an idea about what happens, please let me know!
> >
> > Kind regards,
> > Maurício.
> >
> >
> > _______________________________________________
> > keycloak-dev mailing list
> > keycloak-dev at lists.jboss.org<mailto:keycloak-dev at lists.jboss.org>
> > https://lists.jboss.org/mailman/listinfo/keycloak-dev
> >
>
> > _______________________________________________
> > keycloak-dev mailing list
> > keycloak-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
>
> --
>
> abstractj
> PGP: 0x84DC9914

--

abstractj
PGP: 0x84DC9914
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160915/2b3bfbcb/attachment.html 


More information about the keycloak-dev mailing list