Open jasonmclaren opened 1 year ago
Confirmed, I'm getting the same behavior.
[INFO] --- jasmine-maven-plugin:3.0-beta-02:test (default) @ project-name ---
[INFO] Executing Jasmine Specs
[ERROR] Error HTTP 404 executing https://chromedriver.storage.googleapis.com/LATEST_RELEASE_117
[WARNING] Exception reading https://chromedriver.storage.googleapis.com/LATEST_RELEASE_117 to get latest version of chromedriver (Error HTTP 404 executing https://chromedriver.storage.googleapis.com/LATEST_RELEASE_117)
ChromeDriver was started successfully.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for project-name-pom 4.170-SNAPSHOT:
[INFO]
[INFO] project-name-pom ...................................... SUCCESS [ 1.550 s]
[INFO] project-name .......................................... FAILURE [ 37.375 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.369 s
[INFO] Finished at: 2023-09-25T15:24:46Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.searls:jasmine-maven-plugin:3.0-beta-02:test (default) on project project-name: The jasmine-maven-plugin encountered an exception:: session not created: This version of ChromeDriver only supports Chrome version 114
[ERROR] Current browser version is 117.0.5938.92 with binary path /usr/bin/google-chrome
[ERROR] Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
[ERROR] System info: host: '58958c71cfbe', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '5.10.102.1-microsoft-standard-WSL2', java.version: '11.0.20.1'
[ERROR] Driver info: driver.version: ChromeDriver
[ERROR] remote stacktrace: #0 0x562fc00724e3 <unknown>
[ERROR] #1 0x562fbfda1c76 <unknown>
[ERROR] #2 0x562fbfdcf04a <unknown>
[ERROR] #3 0x562fbfdca4a1 <unknown>
[ERROR] #4 0x562fbfdc7029 <unknown>
[ERROR] #5 0x562fbfe05ccc <unknown>
[ERROR] #6 0x562fbfe0547f <unknown>
[ERROR] #7 0x562fbfdfcde3 <unknown>
[ERROR] #8 0x562fbfdd22dd <unknown>
[ERROR] #9 0x562fbfdd334e <unknown>
[ERROR] #10 0x562fc00323e4 <unknown>
[ERROR] #11 0x562fc00363d7 <unknown>
[ERROR] #12 0x562fc0040b20 <unknown>
[ERROR] #13 0x562fc0037023 <unknown>
[ERROR] #14 0x562fc00051aa <unknown>
[ERROR] #15 0x562fc005b6b8 <unknown>
[ERROR] #16 0x562fc005b847 <unknown>
[ERROR] #17 0x562fc006b243 <unknown>
[ERROR] #18 0x7f6ad8723044 <unknown>
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.searls:jasmine-maven-plugin:3.0-beta-02:test (default) on project project-name: The jasmine-maven-plugin encountered an exception:
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
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:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
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.plugin.MojoExecutionException: The jasmine-maven-plugin encountered an exception:
at com.github.searls.jasmine.mojo.AbstractJasmineMojo.execute (AbstractJasmineMojo.java:374)
at com.github.searls.jasmine.mojo.TestMojo.execute (TestMojo.java:215)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
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:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
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.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 117.0.5938.92 with binary path /usr/bin/google-chrome
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: '58958c71cfbe', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '5.10.102.1-microsoft-standard-WSL2', java.version: '11.0.20.1'
Driver info: driver.version: ChromeDriver
remote stacktrace: #0 0x562fc00724e3 <unknown>
#1 0x562fbfda1c76 <unknown>
#2 0x562fbfdcf04a <unknown>
#3 0x562fbfdca4a1 <unknown>
#4 0x562fbfdc7029 <unknown>
#5 0x562fbfe05ccc <unknown>
#6 0x562fbfe0547f <unknown>
#7 0x562fbfdfcde3 <unknown>
#8 0x562fbfdd22dd <unknown>
#9 0x562fbfdd334e <unknown>
#10 0x562fc00323e4 <unknown>
#11 0x562fc00363d7 <unknown>
#12 0x562fc0040b20 <unknown>
#13 0x562fc0037023 <unknown>
#14 0x562fc00051aa <unknown>
#15 0x562fc005b6b8 <unknown>
#16 0x562fc005b847 <unknown>
#17 0x562fc006b243 <unknown>
#18 0x7f6ad8723044 <unknown>
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance (Constructor.java:490)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0 (W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0 (HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0 (ProtocolHandshake.java:126)
at java.util.stream.ReferencePipeline$3$1.accept (ReferencePipeline.java:195)
at java.util.Spliterators$ArraySpliterator.tryAdvance (Spliterators.java:958)
at java.util.stream.ReferencePipeline.forEachWithCancel (ReferencePipeline.java:127)
at java.util.stream.AbstractPipeline.copyIntoWithCancel (AbstractPipeline.java:502)
at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:488)
at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:474)
at java.util.stream.FindOps$FindOp.evaluateSequential (FindOps.java:150)
at java.util.stream.AbstractPipeline.evaluate (AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst (ReferencePipeline.java:543)
at org.openqa.selenium.remote.ProtocolHandshake.createSession (ProtocolHandshake.java:128)
at org.openqa.selenium.remote.ProtocolHandshake.createSession (ProtocolHandshake.java:74)
at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:136)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.startSession (RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.<init> (RemoteWebDriver.java:131)
at org.openqa.selenium.chrome.ChromeDriver.<init> (ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init> (ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init> (ChromeDriver.java:157)
at com.github.searls.jasmine.driver.WebDriverFactory.createChromeDriver (WebDriverFactory.java:154)
at com.github.searls.jasmine.driver.WebDriverFactory.createWebDriver (WebDriverFactory.java:57)
at com.github.searls.jasmine.mojo.TestMojo.createDriver (TestMojo.java:261)
at com.github.searls.jasmine.mojo.TestMojo.executeSpecs (TestMojo.java:248)
at com.github.searls.jasmine.mojo.TestMojo.run (TestMojo.java:229)
at com.github.searls.jasmine.mojo.AbstractJasmineMojo.execute (AbstractJasmineMojo.java:370)
at com.github.searls.jasmine.mojo.TestMojo.execute (TestMojo.java:215)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
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:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:566)
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)
I found a workaround by downloading an older version of Chrome (either of these should work):
After downloading Chrome version 117, I get this error when running tests:
chromedriver.storage.googleapis.com
only lists Chromedriver versions up to 114 (as of 2023-09-18). Later releases are apparently available from the new Chrome for Testing project:https://googlechromelabs.github.io/chrome-for-testing/