[msavy@mmbp apiman-qe-tests](master)$ mvn clean install -DfailIfNoTests=false -Prest-tests -Dapiman.keystore=/Users/msavy/apiman/apiman/distro/tomcat8/src/main/resources/overlay/conf/apiman.jks -Dapiman.test.tools.address=192.168.99.100 -Dit.test=KeycloakAuthenticationPolicyIT [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.jboss.apiman.qa:apiman-it-deployments:war:1.1.0-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.wildfly.plugins:wildfly-maven-plugin is missing. @ org.jboss.apiman.qa:apiman-it-deployments:[unknown-version], /Users/msavy/apiman/apiman-qe-tests/apiman-it-deployments/pom.xml, line 50, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] org.jboss.apiman.qa :: apiman-integration-tests [INFO] org.jboss.apiman.qa :: apiman-it-commons [INFO] org.jboss.apiman.qa :: apiman-it-deployments [INFO] org.jboss.apiman.qa :: apiman-it-coverage [INFO] org.jboss.apiman.qa :: apiman-it-rest [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building org.jboss.apiman.qa :: apiman-integration-tests 1.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apiman-integration-tests --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ apiman-integration-tests --- [INFO] Installing /Users/msavy/apiman/apiman-qe-tests/pom.xml to /Users/msavy/.m2/repository/org/jboss/apiman/qa/apiman-integration-tests/1.1.0-SNAPSHOT/apiman-integration-tests-1.1.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building org.jboss.apiman.qa :: apiman-it-commons 1.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apiman-it-commons --- [INFO] Deleting /Users/msavy/apiman/apiman-qe-tests/apiman-it-commons/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ apiman-it-commons --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ apiman-it-commons --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 71 source files to /Users/msavy/apiman/apiman-qe-tests/apiman-it-commons/target/classes [WARNING] /Users/msavy/apiman/apiman-qe-tests/apiman-it-commons/src/main/java/io/apiman/test/integration/runner/handlers/FieldAnnotationHandler.java: /Users/msavy/apiman/apiman-qe-tests/apiman-it-commons/src/main/java/io/apiman/test/integration/runner/handlers/FieldAnnotationHandler.java uses unchecked or unsafe operations. [WARNING] /Users/msavy/apiman/apiman-qe-tests/apiman-it-commons/src/main/java/io/apiman/test/integration/runner/handlers/FieldAnnotationHandler.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ apiman-it-commons --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/msavy/apiman/apiman-qe-tests/apiman-it-commons/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ apiman-it-commons --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ apiman-it-commons --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ apiman-it-commons --- [INFO] Building jar: /Users/msavy/apiman/apiman-qe-tests/apiman-it-commons/target/apiman-it-commons-1.1.0-SNAPSHOT.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ apiman-it-commons --- [INFO] Installing /Users/msavy/apiman/apiman-qe-tests/apiman-it-commons/target/apiman-it-commons-1.1.0-SNAPSHOT.jar to /Users/msavy/.m2/repository/org/jboss/apiman/qa/apiman-it-commons/1.1.0-SNAPSHOT/apiman-it-commons-1.1.0-SNAPSHOT.jar [INFO] Installing /Users/msavy/apiman/apiman-qe-tests/apiman-it-commons/pom.xml to /Users/msavy/.m2/repository/org/jboss/apiman/qa/apiman-it-commons/1.1.0-SNAPSHOT/apiman-it-commons-1.1.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building org.jboss.apiman.qa :: apiman-it-deployments 1.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apiman-it-deployments --- [INFO] Deleting /Users/msavy/apiman/apiman-qe-tests/apiman-it-deployments/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ apiman-it-deployments --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/msavy/apiman/apiman-qe-tests/apiman-it-deployments/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ apiman-it-deployments --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /Users/msavy/apiman/apiman-qe-tests/apiman-it-deployments/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ apiman-it-deployments --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/msavy/apiman/apiman-qe-tests/apiman-it-deployments/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ apiman-it-deployments --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ apiman-it-deployments --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-war-plugin:2.2:war (default-war) @ apiman-it-deployments --- [INFO] Packaging webapp [INFO] Assembling webapp [apiman-it-deployments] in [/Users/msavy/apiman/apiman-qe-tests/apiman-it-deployments/target/apiman-it-deployments-1.1.0-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/Users/msavy/apiman/apiman-qe-tests/apiman-it-deployments/src/main/webapp] [INFO] Webapp assembled in [43 msecs] [INFO] Building war: /Users/msavy/apiman/apiman-qe-tests/apiman-it-deployments/target/apiman-it-deployments-1.1.0-SNAPSHOT.war [INFO] WEB-INF/web.xml already added, skipping [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ apiman-it-deployments --- [INFO] Installing /Users/msavy/apiman/apiman-qe-tests/apiman-it-deployments/target/apiman-it-deployments-1.1.0-SNAPSHOT.war to /Users/msavy/.m2/repository/org/jboss/apiman/qa/apiman-it-deployments/1.1.0-SNAPSHOT/apiman-it-deployments-1.1.0-SNAPSHOT.war [INFO] Installing /Users/msavy/apiman/apiman-qe-tests/apiman-it-deployments/pom.xml to /Users/msavy/.m2/repository/org/jboss/apiman/qa/apiman-it-deployments/1.1.0-SNAPSHOT/apiman-it-deployments-1.1.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building org.jboss.apiman.qa :: apiman-it-coverage 1.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apiman-it-coverage --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ apiman-it-coverage --- [INFO] Installing /Users/msavy/apiman/apiman-qe-tests/apiman-it-coverage/pom.xml to /Users/msavy/.m2/repository/org/jboss/apiman/qa/apiman-it-coverage/1.1.0-SNAPSHOT/apiman-it-coverage-1.1.0-SNAPSHOT.pom [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building org.jboss.apiman.qa :: apiman-it-rest 1.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ apiman-it-rest --- [INFO] Deleting /Users/msavy/apiman/apiman-qe-tests/apiman-it-rest/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ apiman-it-rest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/msavy/apiman/apiman-qe-tests/apiman-it-rest/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ apiman-it-rest --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ apiman-it-rest --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 24 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ apiman-it-rest --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 77 source files to /Users/msavy/apiman/apiman-qe-tests/apiman-it-rest/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ apiman-it-rest --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ apiman-it-rest --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /Users/msavy/apiman/apiman-qe-tests/apiman-it-rest/target/apiman-it-rest-1.1.0-SNAPSHOT.jar [INFO] [INFO] --- maven-failsafe-plugin:2.19.1:integration-test (default) @ apiman-it-rest --- ------------------------------------------------------- T E S T S ------------------------------------------------------- Request method: POST Request path: http://localhost:8080/apiman/plugins HTTP/1.1 200 OK Expires: Tue, 16 Feb 2016 22:46:27 GMT Cache-Control: no-cache, no-store, must-revalidate X-Powered-By: Undertow/1 Server: WildFly/9 Pragma: no-cache Date: Wed, 17 Feb 2016 22:46:27 GMT Connection: keep-alive Content-Type: application/json Content-Length: 372 { "id": 1, "groupId": "io.apiman.plugins", "artifactId": "apiman-plugins-keycloak-oauth-policy", "version": "1.2.2-SNAPSHOT", "type": "war", "name": "Keycloak OAuth Policy Plugin", "description": "This plugin offers an OAuth2 policy which leverages the Keycloak authentication platform as the identity and access provider.", "createdBy": "admin", "createdOn": 1455749187452, "deleted": false } Request method: POST Request path: http://localhost:8080/apiman/organizations Request method: POST Request path: http://localhost:8080/apiman/organizations/TestOrg14557491876766811/apis Request method: POST Request path: http://localhost:8080/apiman/organizations/TestOrg14557491876766811/apis/TestApi14557491877362301/versions Request method: PUT Request path: http://localhost:8080/apiman/organizations/TestOrg14557491876766811/apis/TestApi14557491877362301/versions/1.0 Request method: POST Request path: http://localhost:8080/apiman/organizations/TestOrg14557491876766811/apis/TestApi14557491877362301/versions/1.0/policies Request method: POST Request path: http://localhost:8080/apiman/actions Running io.apiman.test.integration.rest.plugins.policies.keycloakplugin.KeycloakAuthenticationPolicyIT Request method: GET Request path: http://localhost:8080/apiman/organizations/TestOrg14557491876766811/apis/TestApi14557491877362301/versions/1.0 Request method: GET Request path: http://localhost:8080/apiman/organizations/TestOrg14557491876766811/apis/TestApi14557491877362301/versions/1.0/endpoint Request method: POST Request path: http://192.168.99.100:8081/auth/realms/qerealm/protocol/openid-connect/token Request method: GET Request path: https://localhost:8443/apiman-gateway/TestOrg14557491876766811/TestApi14557491877362301/1.0 HTTP/1.1 404 Not Found Connection: keep-alive X-Powered-By: Undertow/1 Server: WildFly/9 Content-Length: 74 Content-Type: text/html Date: Wed, 17 Feb 2016 22:46:29 GMT