Thank you Michael. 

 

Much appreciated.

 

From: Michael Jumper <[email protected]> 
Sent: dimanche 12 février 2023 23:48
To: [email protected]
Subject: Re: Guacamole installation failure

 

You don't usually need to build guacamole-client from source, as pre-built 
artifacts are provided:

 

https://guacamole.apache.org/releases/1.4.0/

 

If you want to build from source instead, I'm not sure what might be preventing 
the JS unit testing framework from starting on your system, but you can skip it 
by instead running:

 

mvn -DskipTests=true package

 

- Mike

On Sun, Feb 12, 2023, 12:17 PM <[email protected] 
<mailto:[email protected]> > wrote:

Hi,

I am trying to install the Guacamole client on an Ubuntu machine.

It fails when running the mvn package, as per the output below (I've first
pasted the lines that tell about the possible reason, then pasted the full
output below). Could anyone point me in the right direction to fix this
issue plse:




[INFO] guacamole-common-js ................................ FAILURE [ 22.599
s]
[ERROR] Failed to execute goal
com.github.searls:jasmine-maven-plugin:2.2:test (default) on project
guacamole-common-js: The jasmine-maven-plugin encountered an exception:
[ERROR] org.openqa.selenium.remote.UnreachableBrowserException: Could not
start a new session. Possible causes are invalid address of the remote
server or browser start-up failure.""""



Reactor Summary for guacamole-client 1.4.0:
[INFO]
[INFO] guacamole-client ................................... SUCCESS [  1.890
s]
[INFO] guacamole-common ................................... SUCCESS [  2.601
s]
[INFO] guacamole-ext ...................................... SUCCESS [  4.418
s]
[INFO] guacamole-common-js ................................ FAILURE [ 22.599
s]
[INFO] guacamole .......................................... SKIPPED
[INFO] extensions ......................................... SKIPPED
[INFO] guacamole-auth-duo ................................. SKIPPED
[INFO] guacamole-auth-header .............................. SKIPPED
[INFO] guacamole-auth-jdbc ................................ SKIPPED
[INFO] guacamole-auth-jdbc-base ........................... SKIPPED
[INFO] guacamole-auth-jdbc-mysql .......................... SKIPPED
[INFO] guacamole-auth-jdbc-postgresql ..................... SKIPPED
[INFO] guacamole-auth-jdbc-sqlserver ...................... SKIPPED
[INFO] guacamole-auth-jdbc-dist ........................... SKIPPED
[INFO] guacamole-auth-json ................................ SKIPPED
[INFO] guacamole-auth-ldap ................................ SKIPPED
[INFO] guacamole-auth-quickconnect ........................ SKIPPED
[INFO] guacamole-auth-sso ................................. SKIPPED
[INFO] guacamole-auth-sso-base ............................ SKIPPED
[INFO] guacamole-auth-sso-cas ............................. SKIPPED
[INFO] guacamole-auth-sso-openid .......................... SKIPPED
[INFO] guacamole-auth-sso-saml ............................ SKIPPED
[INFO] guacamole-auth-sso-dist ............................ SKIPPED
[INFO] guacamole-auth-totp ................................ SKIPPED
[INFO] guacamole-example .................................. SKIPPED
[INFO] guacamole-playback-example ......................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  31.644 s
[INFO] Finished at: 2023-02-12T21:09:36+01:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.searls:jasmine-maven-plugin:2.2:test (default) on project
guacamole-common-js: The jasmine-maven-plugin encountered an exception:
[ERROR] org.openqa.selenium.remote.UnreachableBrowserException: Could not
start a new session. Possible causes are invalid address of the remote
server or browser start-up failure.
[ERROR] Build info: version: '2.53.1', revision:
'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09'
[ERROR] System info: host: 't40Yvo', ip: '127.0.1.1', os.name <http://os.name> 
: 'Linux',
os.arch: 'amd64', os.version: '5.15.0-58-generic', java.version: '11.0.17'
[ERROR] Driver info: driver.version: PhantomJSDriver
[ERROR]         at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665)
[ERROR]         at
org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java
:249)
[ERROR]         at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
[ERROR]         at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:144)
[ERROR]         at
org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:11
5)
[ERROR]         at
org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:10
4)
[ERROR]         at
com.github.searls.jasmine.driver.WebDriverFactory.createPhantomJsWebDriver(W
ebDriverFactory.java:149)
[ERROR]         at
com.github.searls.jasmine.driver.WebDriverFactory.createWebDriver(WebDriverF
actory.java:68)
[ERROR]         at
com.github.searls.jasmine.mojo.TestMojo.createDriver(TestMojo.java:258)
[ERROR]         at
com.github.searls.jasmine.mojo.TestMojo.executeSpecs(TestMojo.java:228)
[ERROR]         at
com.github.searls.jasmine.mojo.TestMojo.run(TestMojo.java:196)
[ERROR]         at
com.github.searls.jasmine.mojo.AbstractJasmineMojo.execute(AbstractJasmineMo
jo.java:423)
[ERROR]         at
com.github.searls.jasmine.mojo.TestMojo.execute(TestMojo.java:183)
[ERROR]         at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPl
uginManager.java:137)
[ERROR]         at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:2
10)
[ERROR]         at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:1
56)
[ERROR]         at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:1
48)
[ERROR]         at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life
cycleModuleBuilder.java:117)
[ERROR]         at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life
cycleModuleBuilder.java:81)
[ERROR]         at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBui
lder.build(SingleThreadedBuilder.java:56)
[ERROR]         at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarte
r.java:128)
[ERROR]         at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
[ERROR]         at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
[ERROR]         at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
[ERROR]         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
[ERROR]         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
[ERROR]         at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
[ERROR]         at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[ERROR]         at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodA
ccessorImpl.java:62)
[ERROR]         at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Delegatin
gMethodAccessorImpl.java:43)
[ERROR]         at
java.base/java.lang.reflect.Method.invoke(Method.java:566)
[ERROR]         at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.ja
va:282)
[ERROR]         at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR]         at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.
java:406)
[ERROR]         at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
[ERROR] Caused by: org.openqa.selenium.WebDriverException: Timed out waiting
for driver server to start.
[ERROR] Build info: version: '2.53.1', revision:
'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09'
[ERROR] System info: host: 't40Yvo', ip: '127.0.1.1', os.name <http://os.name> 
: 'Linux',
os.arch: 'amd64', os.version: '5.15.0-58-generic', java.version: '11.0.17'
[ERROR] Driver info: driver.version: PhantomJSDriver
[ERROR]         at
org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverSe
rvice.java:178)
[ERROR]         at
org.openqa.selenium.remote.service.DriverService.start(DriverService.java:16
6)
[ERROR]         at
org.openqa.selenium.phantomjs.PhantomJSCommandExecutor.execute(PhantomJSComm
andExecutor.java:78)
[ERROR]         at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
[ERROR]         ... 34 more
[ERROR] Caused by: org.openqa.selenium.net <http://org.openqa.selenium.net> 
.UrlChecker$TimeoutException:
Timed out waiting for [http://localhost:30118/status] to be available after
20005 ms
[ERROR]         at
org.openqa.selenium.net <http://org.openqa.selenium.net> 
.UrlChecker.waitUntilAvailable(UrlChecker.java:107)
[ERROR]         at
org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverSe
rvice.java:175)
[ERROR]         ... 37 more
[ERROR] Caused by:
com.google.common.util.concurrent.UncheckedTimeoutException:
java.util.concurrent.TimeoutException
[ERROR]         at
com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTi
meLimiter.java:143)
[ERROR]         at
org.openqa.selenium.net <http://org.openqa.selenium.net> 
.UrlChecker.waitUntilAvailable(UrlChecker.java:80)
[ERROR]         ... 38 more
[ERROR] Caused by: java.util.concurrent.TimeoutException
[ERROR]         at
java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
[ERROR]         at
com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTi
meLimiter.java:130)
[ERROR]         ... 39 more
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

Thanks,

Yann




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] 
<mailto:[email protected]> 
For additional commands, e-mail: [email protected] 
<mailto:[email protected]> 

Reply via email to