Thx Kevin, it seems the particular test that fails is sensitive to what happened before. Root cause being that the configuration is not bootstrapped in a way that it should for testing. I'm looking into it ...
On 2019/01/13 17:59:32, "Kevin Meyer" <ke...@kmz.co.za> wrote: > > On Sun, January 13, 2019 17:24, Dan Haywood wrote: > > What are you building on, Kevin? OS? JDK? maven? > > > > Sorry, yes. I should have specified.. > > Ubuntu 18.04.1 LTS (Bionic Beaver) > > $ java -version > openjdk version "1.8.0_191" > OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.18.04.1-b12) > OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode) > > $ mvn --version > Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; > 2017-10-18T09:58:13+02:00) > Maven home: /opt/maven/apache-maven-3.5.2 > Java version: 1.8.0_191, vendor: Oracle Corporation > Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre > Default locale: en_GB, platform encoding: UTF-8 > OS name: "linux", version: "4.15.0-43-generic", arch: "amd64", family: "unix" > > > > > > > > On Sun, 13 Jan 2019 at 15:51, Kevin Meyer <ke...@kmz.co.za> wrote: > > > > > >> I get a test failure and the build fails: > >> > >> > >> > >> ----------------------------------------------------------------------- > >> -------- > >> Test set: > >> > >> > >> org.apache.isis.core.metamodel.services.ServicesInjectorDefaultTest_val > >> idateServices$ValidateServicesTestValidateServices > >> > >> ----------------------------------------------------------------------- > >> -------- > >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.06 s > >> <<< > >> FAILURE! - in > >> > >> > >> org.apache.isis.core.metamodel.services.ServicesInjectorDefaultTest_val > >> idateServices$ValidateServicesTestValidateServices > >> > >> validate_DomainServicesWithDuplicateIds(org.apache.isis.core.metamodel. > >> services.ServicesInjectorDefaultTest_validateServices$ValidateServicesT > >> estValidateServices) Time elapsed: 0.056 s <<< ERROR! > >> java.lang.Exception: Unexpected exception, > >> expected<java.lang.IllegalStateException> but > >> was<org.apache.isis.core.commons.exceptions.IsisException> at > >> > >> org.apache.isis.core.metamodel.services.ServicesInjectorDefaultTest_val > >> idateServices$ValidateServicesTestValidateServices.validate_DomainServi > >> cesWithDuplicateIds(ServicesInjectorDefaultTest_validateServices.java:6 > >> 1) > >> > >> > >> > >> > >> > >> > >> On Sat, January 12, 2019 15:28, Dan Haywood wrote: > >> > >>> Folks, > >>> > >>> > >>> > >>> I've cut a release for Apache Isis Core and the two archetypes: > >>> > >>> > >>> > >>> * Core 2.0.0-M2 > >>> * HelloWorld Archetype 2.0.0-M2 > >>> * SimpleApp Archetype 2.0.0-M2 > >>> > >>> > >>> > >>> The source code artifacts have been uploaded to staging repositories > >>> on repository.apache.org. For each zip there is a corresponding > >>> signature > >> file > >>> (append .asc to the > >>> zip's url). > >>> > >>> In the source code repo the code has been tagged as > >>> isis-2.0.0-M2-RC1, helloworld-archetype-2.0.0-M2-RC1 and > >>> simpleapp-archetype-2.0.0-M2-RC1; see > >>> https://github.com/apache/isis/tags > >>> > >>> > >>> > >>> To verify the source code, you can use the following commands (in an > >>> empty directory): > >>> > >>> > >>> NEXUSREPONUM=1088 > >>> VERSION=2.0.0-M2 > >>> > >>> > >>> > >>> curl http://www.apache.org/dist/isis/KEYS > /tmp/KEYS gpg --import > >>> /tmp/KEYS > >>> > >>> > >>> > >>> rm -rf isis-$VERSION* rm -rf simpleapp-archetype-$VERSION* rm -rf > >>> helloworld-archetype-$VERSION* > >>> > >>> curl -O -L > >>> > >> https://raw.githubusercontent.com/apache/isis/06f947ad7a0968c34d8e6941a > >> 77 > >> > >>> e12aa0196cd17/scripts/verify-isis-release.sh > >>> > >>> chmod +x ./verify-isis-release.sh ./verify-isis-release.sh > >>> $NEXUSREPONUM > >>> $VERSION > >>> > >>> > >>> > >>> > >>> Assuming this completes successfully, you can then test the two > >>> applications generated from the `simpleapp` and `helloworld` > >>> archetypes: > >>> > >>> > >>> pushd test-simpleapp/myapp mvn -pl webapp jetty:run popd > >>> > >>> and > >>> > >>> pushd test-helloworld/myapp mvn jetty:run popd > >>> > >>> > >>> For more details, see > >>> > >>> > >> https://isis.apache.org/guides/cgcom/cgcom.html#_cgcom_verifying-releas > >> es > >>> > >>> > >>> Please verify the release and cast your vote. The vote will be open > >>> for a minimum of 72 hours. > >>> > >>> [ ] +1 > >>> [ ] 0 > >>> [ ] -1 > >>> > >>> > >>> > >> > >> > >> -- > >> Kevin Meyer > >> Ljubljana, Slovenia > >> The Apache Software Foundation > >> > >> > >> > > > > > -- > Kevin Meyer > Ljubljana, Slovenia > Vice President Apache Isis (https://isis.apache.org) > The Apache Software Foundation > >