afs opened a new issue, #1754: URL: https://github.com/apache/jena/issues/1754
The build is failing on CI because there is no X nor Xvfb [an X server that can run on machines with no display hardware](https://www.x.org/releases/X11R7.6/doc/man/man1/Xvfb.1.xhtml). Replicate: ``` ssh -x localhost cd .../jena-fuseki-ui mvn clean install ``` Workaround: ``` <configuration> <!-- Fails if there is no TTY --> <testFailureIgnore>true</testFailureIgnore> <environmentVariables> <PORT>${org.apache.jena.fuseki.ui.port}</PORT> <FUSEKI_PORT>${org.apache.jena.fuseki.port}</FUSEKI_PORT> </environmentVariables> <arguments>run test:e2e</arguments> </configuration> ``` <details> <summary>maven output</summary> ``` [INFO] --- frontend-maven-plugin:1.12.1:yarn (yarn run test:e2e) @ jena-fuseki-ui --- [INFO] Running 'yarn run test:e2e' in /home/afs/ASF/afs-jena/jena-fuseki2/jena-fuseki-ui [INFO] yarn run v1.22.17 [INFO] $ concurrently --names 'SERVER,CLIENT,TESTS' --prefix-colors 'yellow,blue,green' --success 'first' --kill-others 'yarn run serve:fuseki' 'yarn wait-on http://localhost:${FUSEKI_PORT}/ping && yarn run dev' 'yarn wait-on http-get://localhost:${PORT}/index.html && cypress run ${0}' [INFO] [CLIENT] $ /home/afs/ASF/afs-jena/jena-fuseki2/jena-fuseki-ui/node_modules/.bin/wait-on http://localhost:44225/ping [INFO] [TESTS] $ /home/afs/ASF/afs-jena/jena-fuseki2/jena-fuseki-ui/node_modules/.bin/wait-on http-get://localhost:39529/index.html [INFO] [SERVER] $ nodemon src/services/mock/json-server.js [INFO] [SERVER] [nodemon] 2.0.20 [INFO] [SERVER] [nodemon] to restart at any time, enter `rs` [INFO] [SERVER] [nodemon] watching path(s): *.* [INFO] [SERVER] [nodemon] watching extensions: js,mjs,json [INFO] [SERVER] [nodemon] starting `node src/services/mock/json-server.js` [INFO] [SERVER] JSON Server is running [INFO] [SERVER] HEAD /ping 200 1.038 ms - 257 [INFO] [CLIENT] $ vite [INFO] [CLIENT] [INFO] [CLIENT] VITE v4.0.4 ready in 239 ms [INFO] [CLIENT] [INFO] [CLIENT] ➜ Local: http://localhost:39529/ [INFO] [CLIENT] ➜ Network: use --host to expose [INFO] [SERVER] GET /index.html 200 0.501 ms - 257 [INFO] [TESTS] Your system is missing the dependency: Xvfb [INFO] [TESTS] [INFO] [TESTS] Install Xvfb and run Cypress again. [INFO] [TESTS] [INFO] [TESTS] Read our documentation on dependencies for more information: [INFO] [TESTS] [INFO] [TESTS] https://on.cypress.io/required-dependencies [INFO] [TESTS] [INFO] [TESTS] If you are using Docker, we provide containers with all required dependencies installed. [INFO] [TESTS] [INFO] [TESTS] ---------- [INFO] [TESTS] [INFO] [TESTS] Error: spawn Xvfb ENOENT [INFO] [TESTS] [INFO] [TESTS] ---------- [INFO] [TESTS] [INFO] [TESTS] Platform: linux-x64 (Ubuntu - 22.10) [INFO] [TESTS] Cypress Version: 12.4.1 [INFO] [TESTS] yarn wait-on http-get://localhost:${PORT}/index.html && cypress run ${0} exited with code 1 [INFO] --> Sending SIGTERM to other processes.. [INFO] [SERVER] yarn run serve:fuseki exited with code SIGTERM [INFO] --> Sending SIGTERM to other processes.. [INFO] [CLIENT] yarn wait-on http://localhost:${FUSEKI_PORT}/ping && yarn run dev exited with code SIGTERM [INFO] error Command failed with exit code 1. [INFO] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. [INFO] ------------------------------------------------------------------------ ``` </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
