SonarScanner 10.0.3.1419_5.0.1 release missing on DockerHub?

Hi,

We are using the sonar-scanner Docker image, using the latest tag.

This morning we faced the issue that our custom CA certificates can no longer be imported.

It seems that the fix was already released a week ago (Release 10.0.3.1419_5.0.1 · SonarSource/sonar-scanner-cli-docker).
This version is not (publicly) available on Docker Hub (sonarsource/sonar-scanner-cli Tags | Docker Hub).

When is this release expected?
It is currently blocking our CI/CD.

Thank you in advance!

1 Like

Release 10.0.3.1419_5.0.1 is not uploaded to docker hub. The actions show 2 Errors:
Start release process
Response code 403 (Forbidden)
Start release process
Missing environment variable. SLACK_WEBHOOK is required.

This release is needed to be able to update cacerts with custom certs again. Right now we need to go back to tag “5”

1 Like

Hi @excentis_tom and @jenspopp,

Welcome to the community and thank you very much for your feedback!

We had an issue in our release pipeline. The latest tag (10.0.3.1430_5.0.1) we released today should solve your issues.

Let us know if you still have it.

1 Like

Hi Antoine,

Thank you for fixing the release! Very much appreciated.

The CA import works like a charm now!

However, we are facing a different problem now:

java.lang.IllegalStateException: Fail to instantiate class [com.github.sbaudoin.sonar.plugins.ansible.extras.AnsibleExtrasPlugin] of plugin [ansibleextras]
	at org.sonar.core.platform.PluginClassLoader.instantiatePluginClasses(PluginClassLoader.java:135)
	at org.sonar.core.platform.PluginClassLoader.load(PluginClassLoader.java:67)
	at org.sonar.scanner.bootstrap.ScannerPluginRepository.start(ScannerPluginRepository.java:65)
	at org.sonar.core.platform.StartableCloseableSafeLifecyleStrategy.start(StartableCloseableSafeLifecyleStrategy.java:40)
	at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
	at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
	at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
	at org.picocontainer.behaviors.Stored.start(Stored.java:110)
	at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1016)
	at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1009)
	at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:767)
	at org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:136)
	at org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:123)
	at org.sonar.batch.bootstrapper.Batch.doExecute(Batch.java:72)
	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:66)
	at org.sonarsource.scanner.api.internal.batch.BatchIsolatedLauncher.execute(BatchIsolatedLauncher.java:46)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.sonarsource.scanner.api.internal.IsolatedLauncherProxy.invoke(IsolatedLauncherProxy.java:60)
	at jdk.proxy1/jdk.proxy1.$Proxy0.execute(Unknown Source)
	at org.sonarsource.scanner.api.EmbeddedScanner.doExecute(EmbeddedScanner.java:189)
	at org.sonarsource.scanner.api.EmbeddedScanner.execute(EmbeddedScanner.java:138)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:126)
	at org.sonarsource.scanner.cli.Main.execute(Main.java:81)
	at org.sonarsource.scanner.cli.Main.main(Main.java:62)
Caused by: java.lang.NoClassDefFoundError: com/github/sbaudoin/sonar/plugins/ansible/extras/AbstractAnsibleExtrasPlugin
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)
	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
	at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
	at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
	at org.sonar.classloader.ClassRealm.loadClassFromSelf(ClassRealm.java:125)
	at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:37)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
	at org.sonar.core.platform.PluginClassLoader.instantiatePluginClasses(PluginClassLoader.java:131)
	... 26 more
Caused by: java.lang.ClassNotFoundException: com.github.sbaudoin.sonar.plugins.ansible.extras.AbstractAnsibleExtrasPlugin
	at org.sonar.classloader.ParentFirstStrategy.loadClass(ParentFirstStrategy.java:39)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:87)
	at org.sonar.classloader.ClassRealm.loadClass(ClassRealm.java:76)
	... 39 more

Note that we are using SonarQube v8.9.9.56886 LTS.

Thank you for your feedback in advance!

With best regards,
Tom.

Hi Tom,

Generally, I would tell you that a new question deserves a new thread.

But this time I first have to tell you that your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

8.9.9 → 9.9.5 → 10.5.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

We simply won’t be able to help you with 8.9.*.

 
Ann

Hi Ann,

Thank you for your quick response!

I will check with out IT department to upgrade then.

Thanks!

With best regards,
Tom.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.