>>>>> Steinar Bang <[email protected]>: > As mentioned in a different thread on the ops4j list, karaf master is > also failing in itest on "mvn clean install" on my development system. [snip!] > But first I will go back to the karaf itests and try to get them to > build on my system or at least figure out why the fail. I need to > ensure myself that I'm not fooling myself, before I start wasting the > time of others...:-)
Ok, now I done a fresh pull of karaf master, followed by a clean and a build, ie. git pull mvn clean mvn install OS is debian 9.9 "stretch" (newest stable) CPU architecture is amd64 java -version, is: openjdk version "11.0.3" 2019-04-16 OpenJDK Runtime Environment (build 11.0.3+7-Debian-1bpo92) OpenJDK 64-Bit Server VM (build 11.0.3+7-Debian-1bpo92, mixed mode, sharing) mvn -version, is: Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00) Maven home: /usr/local/apache-maven Java version: 11.0.3, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.9.0-9-amd64", arch: "amd64", family: "unix" sb@lorenzo:~/workspaces/karaf/karaf$ env | grep LC LC_COLLATE=POSIX sb@lorenzo:~/workspaces/karaf/karaf$ env | grep LOC sb@lorenzo:~/workspaces/karaf/karaf$ Most iTests work, but I have 3 tests failing with "error" and one failing with failure. The three failing with error, are: org.apache.karaf.itests.FelixHttpTest.txt:4:Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 16.438 s <<< FAILURE! - in org.apache.karaf.itests.FelixHttpTest org.apache.karaf.itests.JmsTest.txt:4:Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 29.595 s <<< FAILURE! - in org.apache.karaf.itests.JmsTest org.apache.karaf.itests.examples.RestExampleTest.txt:4:Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 24.989 s <<< FAILURE! - in org.apache.karaf.itests.examples.RestExampleTest The one failing with failure, is: org.apache.karaf.itests.examples.JpaExampleTest.txt:4:Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 50.777 s <<< FAILURE! - in org.apache.karaf.itests.examples.JpaExampleTest There is no particular pattern I can identify from the errors: org.apache.karaf.itests.FelixHttpTest.txt: ------------------------------------------------------------------------------- Test set: org.apache.karaf.itests.FelixHttpTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 16.438 s <<< FAILURE! - in org.apache.karaf.itests.FelixHttpTest testHttpService(org.apache.karaf.itests.FelixHttpTest) Time elapsed: 10.586 s <<< ERROR! java.io.FileNotFoundException: http://localhost:8181/servlet-example at org.apache.karaf.itests.FelixHttpTest.testHttpService(FelixHttpTest.java:51) org.apache.karaf.itests.JmsTest.txt: ------------------------------------------------------------------------------- Test set: org.apache.karaf.itests.JmsTest ------------------------------------------------------------------------------- Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 29.595 s <<< FAILURE! - in org.apache.karaf.itests.JmsTest testMBean(org.apache.karaf.itests.JmsTest) Time elapsed: 16.975 s <<< ERROR! javax.management.MBeanException: No JMS connection factory found for jms/testMBean at org.apache.karaf.itests.JmsTest.testMBean(JmsTest.java:124) org.apache.karaf.itests.examples.RestExampleTest.txt: ------------------------------------------------------------------------------- Test set: org.apache.karaf.itests.examples.RestExampleTest ------------------------------------------------------------------------------- Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 24.989 s <<< FAILURE! - in org.apache.karaf.itests.examples.RestExampleTest testWithCxfClient(org.apache.karaf.itests.examples.RestExampleTest) Time elapsed: 7.258 s <<< ERROR! org.ops4j.pax.exam.WrappedTestContainerException: [org.apache.karaf.itests.examples.RestExampleTest: rerun this test pls] The single failure looks like this: ------------------------------------------------------------------------------- Test set: org.apache.karaf.itests.examples.JpaExampleTest ------------------------------------------------------------------------------- Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 50.777 s <<< FAILURE! - in org.apache.karaf.itests.examples.JpaExampleTest test(org.apache.karaf.itests.examples.JpaExampleTest) Time elapsed: 42.868 s <<< FAILURE! java.lang.AssertionError: Should contain 'AF520' but was : ID │ Flight │ Customer ───┼────────┼───────── at org.apache.karaf.itests.examples.JpaExampleTest.testCommand(JpaExampleTest.java:74) at org.apache.karaf.itests.examples.JpaExampleTest.test(JpaExampleTest.java:49)
