[ https://issues.apache.org/jira/browse/GUACAMOLE-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17913284#comment-17913284 ]
Vadim commented on GUACAMOLE-2017: ---------------------------------- Apparently, there has been a version update (including the Ubuntu version inside the image). Now we need to fix the Guacamole build at the Firefox startup stage. It looks like the [~jmuehlner] can tell us how the build was tested with the new image? [https://github.com/apache/guacamole-client/commit/60f53e9f86a7f173f83e811a0949fdc05e493a1c] > An error occurs when building a docker image: "Command '/usr/bin/firefox' > requires the firefox snap to be installed." > --------------------------------------------------------------------------------------------------------------------- > > Key: GUACAMOLE-2017 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-2017 > Project: Guacamole > Issue Type: Bug > Reporter: Vadim > Priority: Minor > > An error occurs when building a docker image: "Command '/usr/bin/firefox' > requires the firefox snap to be installed." > This happens when using an image to build maven:3-eclipse-temurin-21, there > is no error when using the maven:3-eclipse-temurin-17-focal build image. > Logs: > {{[INFO] 15 01 2025 09:10:58.339:ERROR [launcher]: Cannot start Firefox}} > {{[INFO]}} > {{[INFO] Command '/usr/bin/firefox' requires the firefox snap to be > installed.}} > {{[INFO] Please install it with:}} > {{[INFO]}} > {{[INFO] snap install firefox}} > {{[INFO]}} > {{[INFO]}} > {{[INFO] 15 01 2025 09:10:58.339:ERROR [launcher]: Firefox stdout:}} > {{[INFO] 15 01 2025 09:10:58.340:ERROR [launcher]: Firefox stderr:}} > {{[INFO] Command '/usr/bin/firefox' requires the firefox snap to be > installed.}} > {{[INFO] Please install it with:}} > {{[INFO]}} > {{[INFO] snap install firefox}} > {{[INFO]}} > {{[INFO]}} > {{[INFO] 15 01 2025 09:10:58.343:INFO [launcher]: Trying to start Firefox > again (1/2).}} > {{[INFO] 15 01 2025 09:10:58.348:ERROR [launcher]: Cannot start Firefox}} > {{[INFO]}} > {{[INFO] Command '/usr/bin/firefox' requires the firefox snap to be > installed.}} > {{[INFO] Please install it with:}} > {{[INFO]}} > {{[INFO] snap install firefox}} > {{[INFO]}} > {{[INFO]}} > {{[INFO] 15 01 2025 09:10:58.348:ERROR [launcher]: Firefox stdout:}} > {{[INFO] 15 01 2025 09:10:58.349:ERROR [launcher]: Firefox stderr:}} > {{[INFO] Command '/usr/bin/firefox' requires the firefox snap to be > installed.}} > {{[INFO] Please install it with:}} > {{[INFO]}} > {{[INFO] snap install firefox}} > {{[INFO]}} > {{[INFO]}} > {{[INFO] 15 01 2025 09:10:58.350:INFO [launcher]: Trying to start Firefox > again (2/2).}} > {{[INFO] 15 01 2025 09:10:58.354:ERROR [launcher]: Cannot start Firefox}} > {{[INFO]}} > {{[INFO] Command '/usr/bin/firefox' requires the firefox snap to be > installed.}} > {{[INFO] Please install it with:}} > {{[INFO]}} > {{[INFO] snap install firefox}} > {{[INFO]}} > {{[INFO]}} > {{[INFO] 15 01 2025 09:10:58.354:ERROR [launcher]: Firefox stdout:}} > {{[INFO] 15 01 2025 09:10:58.355:ERROR [launcher]: Firefox stderr:}} > {{[INFO] Command '/usr/bin/firefox' requires the firefox snap to be > installed.}} > {{[INFO] Please install it with:}} > {{[INFO]}} > {{[INFO] snap install firefox}} > {{[INFO]}} > {{[INFO]}} > {{[INFO] 15 01 2025 09:10:58.356:ERROR [launcher]: Firefox failed 2 times > (cannot start). Giving up.}} > {{[INFO] > ------------------------------------------------------------------------}} > {{[INFO] Reactor Summary for guacamole-client 1.6.0:}} > {{[INFO]}} > {{[INFO] guacamole-client ................................... SUCCESS [ > 37.744 s]}} > {{[INFO] guacamole-common ................................... SUCCESS [ > 29.116 s]}} > {{[INFO] guacamole-ext ...................................... SUCCESS [ > 13.017 s]}} > {{[INFO] guacamole-common-js ................................ FAILURE [ > 36.798 s]}} > {{[INFO] guacamole .......................................... SKIPPED}} > {{[INFO] extensions ......................................... SKIPPED}} > {{[INFO] guacamole-auth-ban ................................. 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-restrict ............................ 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-ssl ............................. SKIPPED}} > {{[INFO] guacamole-auth-sso-dist ............................ SKIPPED}} > {{[INFO] guacamole-auth-totp ................................ SKIPPED}} > {{[INFO] guacamole-history-recording-storage ................ SKIPPED}} > {{[INFO] guacamole-vault .................................... SKIPPED}} > {{[INFO] guacamole-vault-base ............................... SKIPPED}} > {{[INFO] guacamole-vault-ksm ................................ SKIPPED}} > {{[INFO] guacamole-vault-dist ............................... SKIPPED}} > {{[INFO] guacamole-display-statistics ....................... SKIPPED}} > {{[INFO] guacamole-example .................................. SKIPPED}} > {{[INFO] guacamole-playback-example ......................... SKIPPED}} > {{[INFO] > ------------------------------------------------------------------------}} > {{[INFO] BUILD FAILURE}} > {{[INFO] > ------------------------------------------------------------------------}} > {{[INFO] Total time: 01:56 min}} > {{[INFO] Finished at: 2025-01-15T09:10:58Z}} > {{[INFO] > ------------------------------------------------------------------------}} > {{[ERROR] Failed to execute goal > com.github.eirslett:frontend-maven-plugin:1.12.1:karma (run-tests) on project > guacamole-common-js: Failed to run task: 'karma start karma-ci.conf.js' > failed. org.apache.commons.exec.ExecuteException: Process exited with an > error: 1 (Exit value: 1) -> [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/MojoFailureException}} -- This message was sent by Atlassian Jira (v8.20.10#820010)