[keycloak-dev] X509 integration tests

Bruno Oliveira bruno at abstractj.org
Fri Oct 20 14:24:49 EDT 2017


It looks like Vaclav spotted the problem
https://github.com/keycloak/keycloak/pull/4593. But now we found out that
these tests tests weren't run for some time they seem to be completely
broken.

We created this Jira to track the issue:
https://issues.jboss.org/browse/KEYCLOAK-5720

Thanks Peter

On Fri, Oct 20, 2017 at 1:50 PM Nalyvayko, Peter <pnalyvayko at agi.com> wrote:

> I am also getting the same error:
>
> Running org.keycloak.testsuite.x509.X509OCSPResponderTest
> 11:44:19,510 INFO
> [org.keycloak.testsuite.arquillian.AppServerTestEnricher]
> TEST CONTEXT: org.keycloak.testsuite.x509.X509OCSPResponderTest
> Oct 20, 2017 11:44:19 AM org.jboss.arquillian.core.impl.ObserverImpl
> resolveArguments
> WARNING: Argument 1 for
> ReusableRemoteWebDriverExtension.destroyLastRemoteWebDriver is null. It
> won't be invoked.
> 11:44:19,541 ERROR [org.keycloak.testsuite.x509.X509OCSPResponderTest]
> [X509OCSPResponderTest] null() FAILED
>
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec <<<
> FAILURE! - in
> org.keycloak.testsuite.x509.X509OCSPResponderTest
> org.keycloak.testsuite.x509.X509OCSPResponderTest  Time elapsed: 0 sec
> <<< ERROR!
> java.lang.NoClassDefFoundError: org/jboss/as/cli/CliInitializationException
> Caused by: java.lang.ClassNotFoundException:
> org.jboss.as.cli.CliInitializationException
>
>
> ________________________________________
> From: keycloak-dev-bounces at lists.jboss.org [
> keycloak-dev-bounces at lists.jboss.org] on behalf of Bruno Oliveira [
> bruno at abstractj.org]
> Sent: Friday, October 20, 2017 6:39 AM
> To: keycloak-dev
> Subject: Re: [keycloak-dev] X509 integration tests
>
> Vaclav pointed me to this
>
> https://github.com/keycloak/keycloak/blob/master/testsuite/integration-arquillian/HOW-TO-RUN.md#run-x509-tests
>
> But I get:
>
> Tests in error:
>
>
> X509BrowserLoginTest>AbstractKeycloakTest.setUpAuthServer:144->AbstractKeycloakTest.enableHTTPSForAuthServer:437
> » NoClassDefFound
>
>
> X509DirectGrantTest>AbstractKeycloakTest.setUpAuthServer:144->AbstractKeycloakTest.enableHTTPSForAuthServer:437
> » NoClassDefFound
>
>
> X509OCSPResponderTest>AbstractKeycloakTest.setUpAuthServer:144->AbstractKeycloakTest.enableHTTPSForAuthServer:437
> » NoClassDefFound
>
>
> On Fri, Oct 20, 2017 at 8:13 AM Bruno Oliveira <bruno at abstractj.org>
> wrote:
>
> > Good morning,
> >
> > While investigating an issue with X509 certificates, I was wondering if
> we
> > run integration tests for it on Travis. Looking at travis.yml I don't see
> > any reference like `run-server-tests org.keycloak.testsuite.x*`.
> >
> > What I'm trying to do is pretty much:
> >
> > mvn clean install -Pdistribution -DskipTests=true && cd
> > testsuite/integration-arquillian && cd tests/base && mvn clean test -B
> -nsu
> > -Pauth-server-wildfly -Dtest=*X509BrowserLoginTest
> >
> > But all the tests are failing. Am I missing something?
> >
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>


More information about the keycloak-dev mailing list