Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-23 Thread Jean-Baptiste Onofre
Thanks for the update. I will check. Regards JB > Le 23 avr. 2021 à 22:02, Васил Зорев a écrit : > > Hi, I think i figured it out. > > org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer#updateLogProperties > > File customPropertiesFile = new File(karafHome, framework.getKarafEtc()

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-23 Thread Васил Зорев
test is running in jdk-9.0.4 if that makes a difference На пт, 23.04.2021 г. в 23:02 ч. Васил Зорев написа: > Hi, I think i figured it out. > > > org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer#updateLogProperties > > File customPropertiesFile = new File(karafHome, framework.getKa

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-23 Thread Васил Зорев
Hi, I think i figured it out. org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer#updateLogProperties File customPropertiesFile = new File(karafHome, framework.getKarafEtc() + "/org.ops4j.pax.logging.cfg"); Properties karafPropertyFile = new Properties(); karafPropertyFile.load(new Fil

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-19 Thread Васил Зорев
Thanks. Btw yes, i am on main branch (checked it out this weekend) На пн, 19.04.2021 г. в 21:33 ч. JB Onofré написа: > Ok, let me try on Windows VM. > > Regards > JB > > > Le 19 avr. 2021 à 20:27, Васил Зорев a écrit > : > > > > The test passed in ubuntu. In windows I did the two steps you sug

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-19 Thread JB Onofré
Ok, let me try on Windows VM. Regards JB > Le 19 avr. 2021 à 20:27, Васил Зорев a écrit : > > The test passed in ubuntu. In windows I did the two steps you suggested, > but still got the same error. > > Regards, > Vassil > > На пн, 19.04.2021 г. в 8:38 ч. Jean-Baptiste Onofre > написа: >

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-19 Thread Васил Зорев
The test passed in ubuntu. In windows I did the two steps you suggested, but still got the same error. Regards, Vassil На пн, 19.04.2021 г. в 8:38 ч. Jean-Baptiste Onofre написа: > Hi, > > Yes mvn clean install should work. And it seems you try with karaf main > branch ? > > Can you try (even i

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-18 Thread Jean-Baptiste Onofre
Hi, Yes mvn clean install should work. And it seems you try with karaf main branch ? Can you try (even if it should not be required): 1. First: mvn clean install -DskipTests on root module 2. Then: mvn clean install in the itest/test module In the meantime, I will try a full build on a Windows

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-18 Thread Васил Зорев
no, same issue. (i guess you meant mvn clean install from the command line, that's what i tried) Btw one (potentially dumb) question, do i have to build/run anything else before running integration tests? So far I just built the root project once without any tests. Regards, Have a nice evening Н

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-18 Thread JB Onofré
Does it work with maven directly ? > Le 18 avr. 2021 à 19:55, Васил Зорев a écrit : > > JB, > > not sure what kind of test case do you mean? I tried executing > org.apache.karaf.itests.BundleTest#listCommand as a single unit test, also > as part of the maven build. > I'll try to debug a bit mo

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-18 Thread Васил Зорев
JB, not sure what kind of test case do you mean? I tried executing org.apache.karaf.itests.BundleTest#listCommand as a single unit test, also as part of the maven build. I'll try to debug a bit more carefully, hopefully something comes up.. На нд, 18.04.2021 г. в 20:52 ч. Васил Зорев написа: >

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-18 Thread Васил Зорев
Hi, I tried initially in IntelliJ IDEA community 2020.3.2. Just tried in Eclipse Oxygen.3a (4.7.3a) and it failed with the same error. I'm currently setting up an ubuntu dev environment (also for other purposes) so when this is running i can try to run the test there as well. Will let you know.

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-18 Thread Romain Manni-Bucau
Hi Do you use eclipse or some IDE visiting target/ during the test? Can make it happen. Le dim. 18 avr. 2021 à 17:48, Jean-Baptiste Onofre a écrit : > Hi Vassil, > > Don’t you have two tests running ? > > I never had this issue (but I’m not using Windows), and Jenkins works fine. > > Do you ha

Re: Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-18 Thread Jean-Baptiste Onofre
Hi Vassil, Don’t you have two tests running ? I never had this issue (but I’m not using Windows), and Jenkins works fine. Do you have a simple test case to reproduce ? Regards JB > Le 18 avr. 2021 à 12:58, Васил Зорев a écrit : > > Reposted from the user mailing list: > > Hello, > > I tri

Error running test org.apache.karaf.itests.BundleTest#listCommand

2021-04-18 Thread Васил Зорев
Reposted from the user mailing list: Hello, I tried to run some of the unit tests in the itests project to check an issue, but most of them failed. The most common error is that pax exam couldn't start the container as it failed to replace the etc\org.ops4j.pax.logging.cfg file. Caused by: java.