Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rdf4j-dev] Build error

My fix stopped the build from trying to download a snapshot release that did not exist on the servers. Using the japicmp skip flag doesn’t stop it from trying to download the dependency, at least not for me. 

Anyhow, we need to support standard mvn install without any flags. Maybe the config for japicmp for model should use the released versions instead of the snapshot versions?

Håvard

On 10 Dec 2020, at 23:52, Håvard Ottestad <hmottestad@xxxxxxxxx> wrote:

I was seeing it on both master and develop.

Could you try to delete your .m2 and build from master from a commit before my fix?

Håvard

On 10 Dec 2020, at 23:19, Jeen Broekstra <jeen@xxxxxxxxxxxx> wrote:

I also don't understand why your fix comments out the plugin configuration in rdf4j-model. The only place I've encountered problems is in building rdf4j-util, rather than rdf4j-model.

Jeen

On Fri, Dec 11, 2020, at 08:46, Jeen Broekstra wrote:
Which branch were you getting build errors on, and where were you getting these build errors? Github actions? Or when trying to build locally?

The reason I ask is that I already put fixes in place in the github actions for the problem you describe, or thought I had. I'd like to understand on which branch or PR you still had a problem, and why. 

I'll be putting up a PR reverting your change. Not sure yet if I will immediately revert, but at least that way I can merge easily as soon as the build goes green. I'll also take a closer look at the plugin configuration, see if I missed something.

As for "so many build restrictions on github", we really don't - the only required check is that the java 8 maven build does not fail. Of course that includes api compatibility checks as well as full compliance testing. The two main reasons that everything takes long is that 1) our tests take a long time to run; and 2) we have to do everything at least twice, to keep our parallel branches in sync (I still wish we could get rid of that). 

As for Jenkins: the only reasons builds currently fail there is probably that I forgot to copy over the same changes I made for the Github actions (they're changes in the job configuration, not in the code base - it's basically setting a -Djapicmp.skip flag on the initial build step). 


Jeen

On Fri, Dec 11, 2020, at 01:11, Håvard Ottestad wrote:
Found a temporary fix by commenting out some of the japicmp stuff from rdf4j-model.

It’s probably due to splitting out some of the code from model into a new dependency to make it easier for others to build on our code.

Jeen was following those changes, maybe he will know how to fix it properly. In the meantime I will try to merge in my changes, but it’ll take a while since we have so many build restrictions on github.

Håvard

On 10 Dec 2020, at 14:50, Bart Hanssens (BOSA) <bart.hanssens@xxxxxxxxxxxx> wrote:

Hi
 
Have you tried relaunching the build job ?
It happened before with external jars (but I haven’t noticed this issue with internal jars :-/ ),
and restarting it a few times seems to work for those glitches  …
 
Best regards
 
Bart
 
From: rdf4j-dev-bounces@xxxxxxxxxxx <rdf4j-dev-bounces@xxxxxxxxxxx> On Behalf Of Håvard Ottestad
Sent: donderdag 10 december 2020 14:43
To: rdf4j developer discussions <rdf4j-dev@xxxxxxxxxxx>
Subject: [rdf4j-dev] Build error
 
Hi,
 
I’m getting a build error with japicmp on master. It’s looking for a snapshot build it can’t find. 
 
Copy from the log below:
 
Cheers,
Håvard
 
[INFO] --- japicmp-maven-plugin:0.14.3:cmp (default) @ rdf4j-util ---
[WARNING] Could not resolve org.eclipse.rdf4j:rdf4j-model:jar:3.5.1-SNAPSHOT
[WARNING] Could not resolve dependency with descriptor 'org.eclipse.rdf4j:rdf4j-model:3.5.1-SNAPSHOT'.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Eclipse RDF4J 3.5.1-SNAPSHOT:
[INFO] 
[INFO] Eclipse RDF4J ...................................... SUCCESS [  4.116 s]
[INFO] RDF4J Assembly Descriptors ......................... SUCCESS [  1.412 s]
[INFO] RDF4J Core ......................................... SUCCESS [  1.341 s]
[INFO] RDF4J: Model API ................................... SUCCESS [  7.830 s]
[INFO] RDF4J: util ........................................ FAILURE [ 11.288 s]
[INFO] RDF4J: RDF Vocabularies ............................ SKIPPED
[INFO] RDF4J: Model ....................................... SKIPPED
[INFO] RDF4J: SparqlBuilder ............................... SKIPPED
[INFO] RDF4J: Rio ......................................... SKIPPED
[INFO] RDF4J: Rio - API ................................... SKIPPED
[INFO] RDF4J: Rio - Languages ............................. SKIPPED
[INFO] RDF4J: Rio - Datatypes ............................. SKIPPED
[INFO] RDF4J: Query ....................................... SKIPPED
[INFO] RDF4J: Rio - Binary ................................ SKIPPED
[INFO] RDF4J: Rio - N-Triples ............................. SKIPPED
[INFO] RDF4J: Rio - HDT ................................... SKIPPED
[INFO] RDF4J: Rio - JSON-LD ............................... SKIPPED
[INFO] RDF4J: Rio - Turtle ................................ SKIPPED
[INFO] RDF4J: Rio - N3 (writer-only) ...................... SKIPPED
[INFO] RDF4J: Rio - N-Quads ............................... SKIPPED
[INFO] RDF4J: Rio - RDF/JSON .............................. SKIPPED
[INFO] RDF4J: Rio - RDF/XML ............................... SKIPPED
[INFO] RDF4J: Rio - TriX .................................. SKIPPED
[INFO] RDF4J: Rio - TriG .................................. SKIPPED
[INFO] RDF4J: Query result IO ............................. SKIPPED
[INFO] RDF4J: Query result IO - API ....................... SKIPPED
[INFO] RDF4J : Test Suites ................................ SKIPPED
[INFO] RDF4J: QueryResultIO testsuite ..................... SKIPPED
[INFO] RDF4J: Query result IO - binary .................... SKIPPED
[INFO] RDF4J: Query result IO - SPARQL/JSON ............... SKIPPED
[INFO] RDF4J: Query result IO - SPARQL/XML ................ SKIPPED
[INFO] RDF4J: Query result IO - plain text booleans ....... SKIPPED
[INFO] RDF4J: Query algebra ............................... SKIPPED
[INFO] RDF4J: Query algebra - model ....................... SKIPPED
[INFO] RDF4J: Query parser ................................ SKIPPED
[INFO] RDF4J: Query parser - API .......................... SKIPPED
[INFO] RDF4J: Query parser - SeRQL ........................ SKIPPED
[INFO] RDF4J: Sail ........................................ SKIPPED
[INFO] RDF4J: Sail API .................................... SKIPPED
[INFO] RDF4J: Repository .................................. SKIPPED
[INFO] RDF4J: Repository - API ............................ SKIPPED
[INFO] RDF4J: HTTP ........................................ SKIPPED
[INFO] RDF4J: HTTP protocol ............................... SKIPPED
[INFO] RDF4J: HTTP client ................................. SKIPPED
[INFO] RDF4J: Query parser - SPARQL ....................... SKIPPED
[INFO] RDF4J: SPARQL Repository ........................... SKIPPED
[INFO] RDF4J: Query algebra - evaluation .................. SKIPPED
[INFO] RDF4J: Repository API testsuite .................... SKIPPED
[INFO] RDF4J: SailRepository .............................. SKIPPED
[INFO] RDF4J: Repository - event (wrapper) ................ SKIPPED
[INFO] RDF4J: HTTPRepository .............................. SKIPPED
[INFO] RDF4J: Repository manager .......................... SKIPPED
[INFO] RDF4J: Sail base implementations ................... SKIPPED
[INFO] RDF4J: Sail API testsuite .......................... SKIPPED
[INFO] RDF4J: MemoryStore ................................. SKIPPED
[INFO] RDF4J: Query algebra - GeoSPARQL ................... SKIPPED
[INFO] RDF4J: Query Rendering ............................. SKIPPED
[INFO] RDF4J: DatasetRepository (wrapper) ................. SKIPPED
[INFO] RDF4J: Repository - context aware (wrapper) ........ SKIPPED
[INFO] RDF4J: Model API testsuite ......................... SKIPPED
[INFO] RDF4J: Sail Model .................................. SKIPPED
[INFO] RDF4J: NativeStore ................................. SKIPPED
[INFO] RDF4J: Inferencer Sails ............................ SKIPPED
[INFO] RDF4J: Federation SAIL ............................. SKIPPED
[INFO] RDF4J: SPIN ........................................ SKIPPED
[INFO] RDF4J: SPIN SAIL ................................... SKIPPED
[INFO] RDF4J: SHACL ....................................... SKIPPED
[INFO] RDF4J Lucene Sail API .............................. SKIPPED
[INFO] RDF4J Lucene Sail Index ............................ SKIPPED
[INFO] RDF4J Lucene Sail Spin ............................. SKIPPED
[INFO] RDF4J Solr Sail Index .............................. SKIPPED
[INFO] RDF4J Elastic Search Sail Index .................... SKIPPED
[INFO] RDF4J Extensible Store ............................. SKIPPED
[INFO] RDF4J Elasticsearch Store .......................... SKIPPED
[INFO] RDF4J: Client Libraries ............................ SKIPPED
[INFO] RDF4J: Storage Libraries ........................... SKIPPED
[INFO] RDF4J Tools ........................................ SKIPPED
[INFO] RDF4J: application configuration ................... SKIPPED
[INFO] RDF4J: Console ..................................... SKIPPED
[INFO] RDF4J: HTTP server - core .......................... SKIPPED
[INFO] RDF4J SPARQL compliance test suite ................. SKIPPED
[INFO] RDF4J: Federation .................................. SKIPPED
[INFO] RDF4J: HTTP server ................................. SKIPPED
[INFO] RDF4J Workbench .................................... SKIPPED
[INFO] RDF4J: Runtime ..................................... SKIPPED
[INFO] RDF4J: Runtime - OSGi .............................. SKIPPED
[INFO] RDF4J Rio compliance test suite .................... SKIPPED
[INFO] RDF4J SeRQL test suite ............................. SKIPPED
[INFO] RDF4J SHACL compliance test suite .................. SKIPPED
[INFO] RDF4J Lucene Sail Tests ............................ SKIPPED
[INFO] RDF4J GeoSPARQL compliance test suite .............. SKIPPED
[INFO] RDF4J: benchmarks .................................. SKIPPED
[INFO] RDF4J Compliance tests ............................. SKIPPED
[INFO] RDF4J Repository compliance tests .................. SKIPPED
[INFO] RDF4J Rio compliance tests ......................... SKIPPED
[INFO] RDF4J Model compliance tests ....................... SKIPPED
[INFO] RDF4J SeRQL query parser compliance tests .......... SKIPPED
[INFO] RDF4J SPARQL query parser compliance tests ......... SKIPPED
[INFO] RDF4J SHACL compliance tests ....................... SKIPPED
[INFO] RDF4J Lucene Sail Tests ............................ SKIPPED
[INFO] RDF4J Solr Sail Tests .............................. SKIPPED
[INFO] RDF4J Elasticsearch Sail Tests ..................... SKIPPED
[INFO] RDF4J GeoSPARQL compliance tests ................... SKIPPED
[INFO] rdf4j-examples ..................................... SKIPPED
[INFO] RDF4J BOM .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  28.010 s
[INFO] Finished at: 2020-12-10T14:39:32+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.14.3:cmp (default) on project rdf4j-util: Could not resolve org.eclipse.rdf4j:rdf4j-model:jar:3.5.1-SNAPSHOT -> [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] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :rdf4j-util
 
_______________________________________________
rdf4j-dev mailing list
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/rdf4j-dev
_______________________________________________
rdf4j-dev mailing list
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/rdf4j-dev


_______________________________________________
rdf4j-dev mailing list
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/rdf4j-dev


_______________________________________________
rdf4j-dev mailing list
rdf4j-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/rdf4j-dev


Back to the top