[keycloak-user] mvn build of keycloak/6.0.1, with tests DISabled -- fails at tests ... missing flag? or bug?

PGNet Dev pgnet.dev at gmail.com
Wed Aug 21 17:23:52 EDT 2019


building keycloak release6,

	git checkout 6.0.1
	git log | head
		commit 217e2ee4721c069bb977e40fd9a03dc08e2d42a9
		Author: keycloak-bot <keycloak.bot at gmail.com>
		Date:   Wed Apr 24 06:22:09 2019 +0000

		    Set version to 6.0.1

		commit 65326ce16af0901824ebd5635b1f6e9acbea1e66
		Author: Hynek Mlnarik <hmlnarik at redhat.com>
		Date:   Mon Mar 11 09:48:10 2019 +0100

with

	java -version
		openjdk version "1.8.0_222"
		OpenJDK Runtime Environment (IcedTea 3.13.0) (build 1.8.0_222-b10 suse-lp151.333.1-x86_64)
		OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)

	mvn -version
		Maven home: /usr/share/java/maven
		Java version: 1.8.0_222, vendor: IcedTea, runtime: /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre
		Default locale: en_US, platform encoding: UTF-8
		OS name: "linux", version: "5.2.9-25.g71d4424-default", arch: "amd64", family: "unix"

	git --version
		git version 2.23.0


build exec with tests intended to be DISabled,

	mvn \
	 --errors \
	 --activate-profiles distribution \
	 -Dmaven.test.skip=true \
	clean \
	install


FAILs -- at tests:

	"Failure to find org.keycloak.testsuite:integration-arquillian-tests-base",

in more detail,

	...
	[INFO] Tests .............................................. SUCCESS [  0.208 s]
	[INFO] Base TestSuite ..................................... SUCCESS [ 24.875 s]
	[INFO] Other Tests Modules ................................ SUCCESS [  0.036 s]
	[INFO] Adapter Tests ...................................... SUCCESS [  0.035 s]
	[INFO] Adapter Tests - JBoss .............................. SUCCESS [  0.034 s]
	[INFO] Adapter Tests - Karaf .............................. SUCCESS [  0.034 s]
	[INFO] Adapter Tests - WAS ................................ SUCCESS [  0.034 s]
	[INFO] Adapter Tests - WLS ................................ SUCCESS [  0.034 s]
	[INFO] SSSD tests ......................................... FAILURE [  0.305 s]
	[INFO] integration-arquillian-tests-springboot ............ SKIPPED
	[INFO] Keycloak AS7 / JBoss EAP 6 Adapter Distros ......... SKIPPED
	[INFO] Distribution Parent ................................ SKIPPED
	[INFO] Keycloak Distribution Licenses Common .............. SKIPPED
	[INFO] Keycloak Distribution Maven Plugins Parent ......... SKIPPED
	[INFO] Keycloak Licenses Processor Maven Plugin ........... SKIPPED
	[INFO] Keycloak AS7 / JBoss EAP 6 Modules ................. SKIPPED
	[INFO] Keycloak JBoss EAP 6 Adapter Distro ................ SKIPPED
	[INFO] Keycloak AS7 Adapter Distro ........................ SKIPPED
	[INFO] Keycloak OSGI Features ............................. SKIPPED
	[INFO] Keycloak OSGI JAAS Realm Configuration ............. SKIPPED
	[INFO] Keycloak Fuse Adapter Distro ....................... SKIPPED
	[INFO] Keycloak JS Adapter Distribution ................... SKIPPED
	[INFO] Keycloak OSGI Integration .......................... SKIPPED
	[INFO] Feature Pack Builds ................................ SKIPPED
	[INFO] Keycloak Feature Pack: Adapter ..................... SKIPPED
	[INFO] Adapters Distribution Parent ....................... SKIPPED
	[INFO] Keycloak Adapter Overlay Distribution .............. SKIPPED
	[INFO] Keycloak Tomcat 6 Adapter Distro ................... SKIPPED
	[INFO] Keycloak Tomcat 7 Adapter Distro ................... SKIPPED
	[INFO] Keycloak Tomcat 8 Adapter Distro ................... SKIPPED
	[INFO] Keycloak Jetty 9.2.x Adapter Distro ................ SKIPPED
	[INFO] Keycloak Jetty 9.3.x Adapter Distro ................ SKIPPED
	[INFO] Keycloak Jetty 9.4.x Adapter Distro ................ SKIPPED
	[INFO] Keycloak Wildfly 8 Modules ......................... SKIPPED
	[INFO] Keycloak Wildfly 8 Adapter Distro .................. SKIPPED
	[INFO] Keycloak Wildfly 8 Adapter ......................... SKIPPED
	[INFO] Keycloak JS Adapter NPM Distribution ............... SKIPPED
	[INFO] Keycloak SAML Wildfly Modules ...................... SKIPPED
	[INFO] Keycloak SAML Wildfly Adapter Distro ............... SKIPPED
	[INFO] Keycloak Wildfly SAML Adapter ...................... SKIPPED
	[INFO] Keycloak SAML AS7 / JBoss EAP 6 Adapter Distros .... SKIPPED
	[INFO] Keycloak SAML AS7 / JBoss EAP 6 Modules ............ SKIPPED
	[INFO] Keycloak SAML JBoss EAP 6 Adapter Distro ........... SKIPPED
	[INFO] Keycloak SAML AS7 Adapter Distro ................... SKIPPED
	[INFO] Keycloak SAML Jetty 9.2.x Adapter Distro ........... SKIPPED
	[INFO] Keycloak SAML Jetty 9.3.x Adapter Distro ........... SKIPPED
	[INFO] Keycloak SAML Jetty 9.4.x Adapter Distro ........... SKIPPED
	[INFO] Keycloak SAML Tomcat 6 Adapter Distro .............. SKIPPED
	[INFO] Keycloak SAML Tomcat 7 Adapter Distro .............. SKIPPED
	[INFO] Keycloak SAML Tomcat 8 Adapter Distro .............. SKIPPED
	[INFO] SAML Adapters Distribution Parent .................. SKIPPED
	[INFO] Keycloak Feature Pack: Server ...................... SKIPPED
	[INFO] Keycloak Server Distribution ....................... SKIPPED
	[INFO] Keycloak Server Overlay Distribution ............... SKIPPED
	[INFO] ------------------------------------------------------------------------
	[INFO] BUILD FAILURE
	[INFO] ------------------------------------------------------------------------
	[INFO] Total time:  03:19 min
	[INFO] Finished at: 2019-08-21T14:09:52-07:00
	[INFO] ------------------------------------------------------------------------
	[ERROR] Failed to execute goal on project integration-arquillian-tests-sssd: Could not resolve dependencies for project org.keycloak.testsuite:integration-arquillian-tests-sssd:jar:6.0.1: Failure to find org.keycloak.testsuite:integration-arquillian-tests-base:jar:tests:6.0.1 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced -> [Help 1]
	org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project integration-arquillian-tests-sssd: Could not resolve dependencies for project org.keycloak.testsuite:integration-arquillian-tests-sssd:jar:6.0.1: Failure to find org.keycloak.testsuite:integration-arquillian-tests-base:jar:tests:6.0.1 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced
	    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:269)
	    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:248)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:202)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
	    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
	    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
	    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
	    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
	    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
	    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
	    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
	    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
	    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
	    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
	    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
	    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
	    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
	    at java.lang.reflect.Method.invoke (Method.java:498)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
	Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.keycloak.testsuite:integration-arquillian-tests-sssd:jar:6.0.1: Failure to find org.keycloak.testsuite:integration-arquillian-tests-base:jar:tests:6.0.1 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced
	    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:209)
	    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:243)
	    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:248)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:202)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
	    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
	    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
	    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
	    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
	    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
	    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
	    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
	    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
	    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
	    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
	    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
	    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
	    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
	    at java.lang.reflect.Method.invoke (Method.java:498)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
	Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find org.keycloak.testsuite:integration-arquillian-tests-base:jar:tests:6.0.1 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced
	    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies (DefaultRepositorySystem.java:352)
	    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:202)
	    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:243)
	    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:248)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:202)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
	    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
	    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
	    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
	    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
	    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
	    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
	    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
	    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
	    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
	    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
	    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
	    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
	    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
	    at java.lang.reflect.Method.invoke (Method.java:498)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
	Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find org.keycloak.testsuite:integration-arquillian-tests-base:jar:tests:6.0.1 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced
	    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:423)
	    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:225)
	    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies (DefaultRepositorySystem.java:335)
	    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:202)
	    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:243)
	    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:248)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:202)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
	    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
	    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
	    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
	    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
	    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
	    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
	    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
	    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
	    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
	    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
	    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
	    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
	    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
	    at java.lang.reflect.Method.invoke (Method.java:498)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
	Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.keycloak.testsuite:integration-arquillian-tests-base:jar:tests:6.0.1 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss has elapsed or updates are forced
	    at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException (DefaultUpdateCheckManager.java:219)
	    at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact (DefaultUpdateCheckManager.java:192)
	    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads (DefaultArtifactResolver.java:564)
	    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads (DefaultArtifactResolver.java:482)
	    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve (DefaultArtifactResolver.java:400)
	    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts (DefaultArtifactResolver.java:225)
	    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies (DefaultRepositorySystem.java:335)
	    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve (DefaultProjectDependenciesResolver.java:202)
	    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:243)
	    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:248)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:202)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
	    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
	    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
	    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
	    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
	    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
	    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
	    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
	    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
	    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
	    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
	    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
	    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
	    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
	    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
	    at java.lang.reflect.Method.invoke (Method.java:498)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
	    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
	[ERROR]
	[ERROR] Re-run Maven using the -X switch to enable full debug logging.
	[ERROR]
	[ERROR] For more information about the errors and possible solutions, please read the following articles:
	[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
	[ERROR]
	[ERROR] After correcting the problems, you can resume the build with the command
	[ERROR]   mvn <goals> -rf :integration-arquillian-tests-sssd


At this stage, my goal is just a successful full dist, release build -- without tests.

What 'mvn' flags fully DISable _all_ tests -- &/or specifically, the "arquillian" test suite?


More information about the keycloak-user mailing list