You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Piviul <pi...@riminilug.it> on 2022/01/04 17:54:15 UTC

guacamole-client manual compilation

I'm trying to add freeradius authentication to a guacamole-client 
installed on a debian buster. I have downloaded the source code and run 
the command:
> # mvn clean package -Plgpl-extensions
> [...]
> [INFO] stopped 
> o.e.j.s.h.ContextHandler{/webjars,file:/root/guacamole-client-1.4.0/}
> [INFO] stopped 
> o.e.j.s.h.ContextHandler{/classpath,file:/root/guacamole-client-1.4.0/}
> [INFO] stopped 
> o.e.j.s.h.ContextHandler{/,file:/root/guacamole-client-1.4.0/}
> [INFO] stopped 
> o.e.j.s.h.ContextHandler{/spec,file:/root/guacamole-client-1.4.0/}
> [INFO] stopped 
> o.e.j.s.h.ContextHandler{/src,file:/root/guacamole-client-1.4.0/}
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for guacamole-client 1.4.0:
> [INFO]
> [INFO] guacamole-client ................................... SUCCESS [ 
> 22.031 s]
> [INFO] guacamole-common ................................... SUCCESS [ 
> 24.661 s]
> [INFO] guacamole-ext ...................................... SUCCESS [ 
> 18.390 s]
> [INFO] guacamole-common-js ................................ FAILURE 
> [01:01 min]
> [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-auth-radius .............................. SKIPPED
> [INFO] guacamole-example .................................. SKIPPED
> [INFO] guacamole-playback-example ......................... SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  02:07 min
> [INFO] Finished at: 2022-01-04T14:50:14+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: 'guacamoletest', ip: '127.0.1.1', os.name: 
> 'Linux', os.arch: 'amd64', os.version: '5.4.157-1-pve', java.version: 
> '11.0.13'
> [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:115)
> [ERROR]         at 
> org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:104)
> [ERROR]         at 
> com.github.searls.jasmine.driver.WebDriverFactory.createPhantomJsWebDriver(WebDriverFactory.java:149)
> [ERROR]         at 
> com.github.searls.jasmine.driver.WebDriverFactory.createWebDriver(WebDriverFactory.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(AbstractJasmineMojo.java:423)
> [ERROR]         at 
> com.github.searls.jasmine.mojo.TestMojo.execute(TestMojo.java:183)
> [ERROR]         at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> [ERROR]         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
> [ERROR]         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
> [ERROR]         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
> [ERROR]         at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
> [ERROR]         at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
> [ERROR]         at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
> [ERROR]         at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.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:956)
> [ERROR]         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> [ERROR]         at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
> [ERROR]         at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> [ERROR]         at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [ERROR]         at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [ERROR]         at 
> java.base/java.lang.reflect.Method.invoke(Method.java:566)
> [ERROR]         at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java: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: 'guacamoletest', ip: '127.0.1.1', os.name: 
> 'Linux', os.arch: 'amd64', os.version: '5.4.157-1-pve', java.version: 
> '11.0.13'
> [ERROR] Driver info: driver.version: PhantomJSDriver
> [ERROR]         at 
> org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:178)
> [ERROR]         at 
> org.openqa.selenium.remote.service.DriverService.start(DriverService.java:166)
> [ERROR]         at 
> org.openqa.selenium.phantomjs.PhantomJSCommandExecutor.execute(PhantomJSCommandExecutor.java:78)
> [ERROR]         at 
> org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
> [ERROR]         ... 34 more
> [ERROR] Caused by: 
> org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting 
> for [http://localhost:10675/status] to be available after 20002 ms
> [ERROR]         at 
> org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:107)
> [ERROR]         at 
> org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.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(SimpleTimeLimiter.java:143)
> [ERROR]         at 
> 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(SimpleTimeLimiter.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
> [ERROR]   mvn <goals> -rf :guacamole-common-js

Someone can help me to find where's the problem?

Best regards

Piviul

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: guacamole-client manual compilation

Posted by Nick Couchman <vn...@apache.org>.
On Wed, Jan 5, 2022 at 1:16 PM Piviul <pi...@riminilug.it> wrote:

> Il 05/01/22 17:34, Nick Couchman ha scritto:
>
> [...]
> It looks like, for some reason, the testing environment isn't starting up
> correctly to allow the Selenium tests to proceed. I don't really know why
> that would be happening in your environment - the build works perfectly
> fine for me, and we also have the build enabled in several Jenkins
> environments without any problem.
>
> :(
>
> The only issue I've ever run into with this build is with non-Intel
> architectures (ARM, mainly) because the Selenium version that gets
> downloaded is an Intel-compiled binary. You seem to be using Intel-based
> chips, though, so I doubt this is an issue for you.
>
> the machine where I'm trying to compile guacamole-client it's a proxmox
> container, do you think that compile guacamole-client on a qemu virtual
> machine could solve the problem?
>
>
Possibly, although I would think it would start fine in a container. The
only thing I could think of to check within the container is to make sure
that /etc/hosts has localhost mapping defined correctly.

-NIck

Re: guacamole-client manual compilation

Posted by Piviul <pi...@riminilug.it>.
Il 05/01/22 17:34, Nick Couchman ha scritto:
> [...]
> It looks like, for some reason, the testing environment isn't starting 
> up correctly to allow the Selenium tests to proceed. I don't really 
> know why that would be happening in your environment - the build works 
> perfectly fine for me, and we also have the build enabled in several 
> Jenkins environments without any problem.
:(

> The only issue I've ever run into with this build is with non-Intel 
> architectures (ARM, mainly) because the Selenium version that gets 
> downloaded is an Intel-compiled binary. You seem to be using 
> Intel-based chips, though, so I doubt this is an issue for you.
the machine where I'm trying to compile guacamole-client it's a proxmox 
container, do you think that compile guacamole-client on a qemu virtual 
machine could solve the problem?

Thank you very much Nick for your precious help!

Best regards

Piviul

Re: guacamole-client manual compilation

Posted by Nick Couchman <vn...@apache.org>.
On Wed, Jan 5, 2022 at 2:22 AM Piviul <pi...@riminilug.it> wrote:

> Il 04/01/22 18:54, Piviul ha scritto:
> > I'm trying to add freeradius authentication to a guacamole-client
> > installed on a debian buster. [...]
> probably the log I sent lack of some important information...
>
> This is the output sent on the standard error and attached you can find
> the log generated on the standard output:
> > # mvn package -Plgpl-extensions > guacamole-client.log
> > WARNING: An illegal reflective access operation has occurred
> > WARNING: Illegal reflective access by
> > com.google.inject.internal.cglib.core.$ReflectUtils$1
> > (file:/usr/share/maven/lib/guice.jar) to method
> >
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> > WARNING: Please consider reporting this to the maintainers of
> > com.google.inject.internal.cglib.core.$ReflectUtils$1
> > WARNING: Use --illegal-access=warn to enable warnings of further
> > illegal reflective access operations
> > WARNING: All illegal access operations will be denied in a future release
>
> Please do you know where is the problem? I have to open a bug report?
> Can you successfully compile the guacamole-client?
>
>
It looks like, for some reason, the testing environment isn't starting up
correctly to allow the Selenium tests to proceed. I don't really know why
that would be happening in your environment - the build works perfectly
fine for me, and we also have the build enabled in several Jenkins
environments without any problem.

The only issue I've ever run into with this build is with non-Intel
architectures (ARM, mainly) because the Selenium version that gets
downloaded is an Intel-compiled binary. You seem to be using Intel-based
chips, though, so I doubt this is an issue for you.

-Nick

Re: guacamole-client manual compilation

Posted by Piviul <pi...@riminilug.it>.
Il 04/01/22 18:54, Piviul ha scritto:
> I'm trying to add freeradius authentication to a guacamole-client 
> installed on a debian buster. [...]
probably the log I sent lack of some important information...

This is the output sent on the standard error and attached you can find 
the log generated on the standard output:
> # mvn package -Plgpl-extensions > guacamole-client.log
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by 
> com.google.inject.internal.cglib.core.$ReflectUtils$1 
> (file:/usr/share/maven/lib/guice.jar) to method 
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> WARNING: Please consider reporting this to the maintainers of 
> com.google.inject.internal.cglib.core.$ReflectUtils$1
> WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release

Please do you know where is the problem? I have to open a bug report? 
Can you successfully compile the guacamole-client?

Best regards

Piviul