Add Py 3.10 to testing envs by nicholascar · Pull Request #1473 · RDFLib/rdflib (original) (raw)

@aucampia any idea why this is still failing? It seems to always fall over due to the error ERROR: pid 89 (fuseki-normal) not running anymore .... That sounds intermittent but it happens every time for Py310 and only Py310. Is it something to do with execution time?

It is failing because there is no JDK/JRE in the image that you use, adding this line before running with-fuseki will fix it:

https://drone.rdflib.ashs.dev/RDFLib/rdflib/751/4/2

738 ERROR: pid 89 (fuseki-normal) not running anymore ... 100s 739 declare -- fuseki_pid_normal="89" 100s 740 declare -- fuseki_pid_tdb="90" 100s 741 INFO: killing pid 89 (fuseki-normal) 100s 742 ./with-fuseki.sh: line 54: kill: (89) - No such process 100s 743 INFO: pid 89 (fuseki-normal) is dead 100s 744 INFO: killing pid 90 (fuseki-tdb) 100s 745 INFO: pid 90 (fuseki-tdb) is dead 100s 746 dumping fuseki_log_normal=./var/apache-jena-fuseki-3.17.0/run-normal/out.log 100s 747 Cannot find a Java JDK. 100s 748 Please set either set JAVA or JAVA_HOME and put java (>=1.8) in your PATH. 100s 749 dumping fuseki_log_tdb=./var/apache-jena-fuseki-3.17.0/run-tdb/out.log 100s 750 Cannot find a Java JDK. 100s 751 Please set either set JAVA or JAVA_HOME and put java (>=1.8) in your PATH.

I will tune the error message there a bit to indicate the reason for failure can be found in the log lines that follow.

Also, why do we have CICT on PR and also Push? They seem to be testing for the same things.

I'm a bit new to github actions still, I will make a PR to tune this a bit, I think the on-block should be changed to this - ideally we want it to run on PRs, and every push to main,

on: push: branches: ["main"] pull_request: branches: ["main"]