Re: svn commit: r1499756 - /karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1499756 - /karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java

dantran
I am still seeing windows test failure even after this test get set to
ignore

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.karaf.jaas.modules.properties.PropertiesConverterTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
Running org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.073 sec
<<< FAILURE!

Results :

Failed tests:
testNonExistantPropertiesFile(org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest):
expected:<...s
file not found at [/test/]users.properties> but was:<...s file not found at
[\test\]users.properties>

Tests run: 5, Failures: 1, Errors: 0, Skipped: 0

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Karaf ...................................... SUCCESS [1.774s]
[INFO] Apache Karaf :: Util .............................. SUCCESS [2.483s]
[INFO] Apache Karaf :: Main .............................. SUCCESS [31.378s]
[INFO] Apache Karaf :: JAAS .............................. SUCCESS [0.152s]
[INFO] Apache Karaf :: JAAS :: Boot ...................... SUCCESS [1.462s]
[INFO] Apache Karaf :: JAAS :: Config .................... SUCCESS [1.654s]
[INFO] Apache Karaf :: JAAS :: Modules ................... FAILURE [1.436s]
[INFO] Apache Karaf :: Shell ............................. SKIPPED


On Thu, Jul 4, 2013 at 6:51 AM, <[hidden email]> wrote:

> Author: jgoodyear
> Date: Thu Jul  4 13:51:50 2013
> New Revision: 1499756
>
> URL: http://svn.apache.org/r1499756
> Log:
> [KARAF-2325] Release Apache Karaf 2.3.2
>
>  Setting testStopEithTimeout to ignore.
>  Created Karaf 2374 to fix test case in 2.3.3.
>  Note: test case passed from source tag, only had issue from src tar gz
> kit.
>
>
> Modified:
>
> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>
> Modified:
> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
> URL:
> http://svn.apache.org/viewvc/karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java?rev=1499756&r1=1499755&r2=1499756&view=diff
>
> ==============================================================================
> ---
> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
> (original)
> +++
> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
> Thu Jul  4 13:51:50 2013
> @@ -66,6 +66,7 @@ public class MainStartTest {
>         }
>
>      @Test
> +    @Ignore("Unit test for testStopWithTimeout disabled for now")
>      public void testStopWithTimeout() throws Exception {
>          File basedir = new
> File(getClass().getClassLoader().getResource("foo").getPath()).getParentFile();
>          File home = new File(basedir, "test-karaf-home");
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1499756 - /karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java

jgoodyear
I'm going to build on my windows host and see if it reproduces, not seeing
that happen on linux/mac.

-J


On Thu, Jul 4, 2013 at 12:34 PM, Dan Tran <[hidden email]> wrote:

> I am still seeing windows test failure even after this test get set to
> ignore
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.karaf.jaas.modules.properties.PropertiesConverterTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
> Running org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> details.
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.073 sec
> <<< FAILURE!
>
> Results :
>
> Failed tests:
>
> testNonExistantPropertiesFile(org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest):
> expected:<...s
> file not found at [/test/]users.properties> but was:<...s file not found at
> [\test\]users.properties>
>
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Karaf ...................................... SUCCESS [1.774s]
> [INFO] Apache Karaf :: Util .............................. SUCCESS [2.483s]
> [INFO] Apache Karaf :: Main .............................. SUCCESS
> [31.378s]
> [INFO] Apache Karaf :: JAAS .............................. SUCCESS [0.152s]
> [INFO] Apache Karaf :: JAAS :: Boot ...................... SUCCESS [1.462s]
> [INFO] Apache Karaf :: JAAS :: Config .................... SUCCESS [1.654s]
> [INFO] Apache Karaf :: JAAS :: Modules ................... FAILURE [1.436s]
> [INFO] Apache Karaf :: Shell ............................. SKIPPED
>
>
> On Thu, Jul 4, 2013 at 6:51 AM, <[hidden email]> wrote:
>
> > Author: jgoodyear
> > Date: Thu Jul  4 13:51:50 2013
> > New Revision: 1499756
> >
> > URL: http://svn.apache.org/r1499756
> > Log:
> > [KARAF-2325] Release Apache Karaf 2.3.2
> >
> >  Setting testStopEithTimeout to ignore.
> >  Created Karaf 2374 to fix test case in 2.3.3.
> >  Note: test case passed from source tag, only had issue from src tar gz
> > kit.
> >
> >
> > Modified:
> >
> >
> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
> >
> > Modified:
> >
> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
> > URL:
> >
> http://svn.apache.org/viewvc/karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java?rev=1499756&r1=1499755&r2=1499756&view=diff
> >
> >
> ==============================================================================
> > ---
> >
> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
> > (original)
> > +++
> >
> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
> > Thu Jul  4 13:51:50 2013
> > @@ -66,6 +66,7 @@ public class MainStartTest {
> >         }
> >
> >      @Test
> > +    @Ignore("Unit test for testStopWithTimeout disabled for now")
> >      public void testStopWithTimeout() throws Exception {
> >          File basedir = new
> >
> File(getClass().getClassLoader().getResource("foo").getPath()).getParentFile();
> >          File home = new File(basedir, "test-karaf-home");
> >
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1499756 - /karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java

jgoodyear
Ok, reproduced it.. I'll have a look.


On Thu, Jul 4, 2013 at 12:41 PM, Jamie G. <[hidden email]> wrote:

> I'm going to build on my windows host and see if it reproduces, not seeing
> that happen on linux/mac.
>
> -J
>
>
> On Thu, Jul 4, 2013 at 12:34 PM, Dan Tran <[hidden email]> wrote:
>
>> I am still seeing windows test failure even after this test get set to
>> ignore
>>
>> -------------------------------------------------------
>>  T E S T S
>> -------------------------------------------------------
>> Running org.apache.karaf.jaas.modules.properties.PropertiesConverterTest
>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
>> Running org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest
>> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>> SLF4J: Defaulting to no-operation (NOP) logger implementation
>> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
>> details.
>> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.073 sec
>> <<< FAILURE!
>>
>> Results :
>>
>> Failed tests:
>>
>> testNonExistantPropertiesFile(org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest):
>> expected:<...s
>> file not found at [/test/]users.properties> but was:<...s file not found
>> at
>> [\test\]users.properties>
>>
>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Karaf ...................................... SUCCESS
>> [1.774s]
>> [INFO] Apache Karaf :: Util .............................. SUCCESS
>> [2.483s]
>> [INFO] Apache Karaf :: Main .............................. SUCCESS
>> [31.378s]
>> [INFO] Apache Karaf :: JAAS .............................. SUCCESS
>> [0.152s]
>> [INFO] Apache Karaf :: JAAS :: Boot ...................... SUCCESS
>> [1.462s]
>> [INFO] Apache Karaf :: JAAS :: Config .................... SUCCESS
>> [1.654s]
>> [INFO] Apache Karaf :: JAAS :: Modules ................... FAILURE
>> [1.436s]
>> [INFO] Apache Karaf :: Shell ............................. SKIPPED
>>
>>
>> On Thu, Jul 4, 2013 at 6:51 AM, <[hidden email]> wrote:
>>
>> > Author: jgoodyear
>> > Date: Thu Jul  4 13:51:50 2013
>> > New Revision: 1499756
>> >
>> > URL: http://svn.apache.org/r1499756
>> > Log:
>> > [KARAF-2325] Release Apache Karaf 2.3.2
>> >
>> >  Setting testStopEithTimeout to ignore.
>> >  Created Karaf 2374 to fix test case in 2.3.3.
>> >  Note: test case passed from source tag, only had issue from src tar gz
>> > kit.
>> >
>> >
>> > Modified:
>> >
>> >
>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>> >
>> > Modified:
>> >
>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>> > URL:
>> >
>> http://svn.apache.org/viewvc/karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java?rev=1499756&r1=1499755&r2=1499756&view=diff
>> >
>> >
>> ==============================================================================
>> > ---
>> >
>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>> > (original)
>> > +++
>> >
>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>> > Thu Jul  4 13:51:50 2013
>> > @@ -66,6 +66,7 @@ public class MainStartTest {
>> >         }
>> >
>> >      @Test
>> > +    @Ignore("Unit test for testStopWithTimeout disabled for now")
>> >      public void testStopWithTimeout() throws Exception {
>> >          File basedir = new
>> >
>> File(getClass().getClassLoader().getResource("foo").getPath()).getParentFile();
>> >          File home = new File(basedir, "test-karaf-home");
>> >
>> >
>> >
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1499756 - /karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java

jgoodyear
It's a case of unix vs windows directories -- the assert wants / instead of
\.


On Thu, Jul 4, 2013 at 12:46 PM, Jamie G. <[hidden email]> wrote:

> Ok, reproduced it.. I'll have a look.
>
>
> On Thu, Jul 4, 2013 at 12:41 PM, Jamie G. <[hidden email]>wrote:
>
>> I'm going to build on my windows host and see if it reproduces, not
>> seeing that happen on linux/mac.
>>
>> -J
>>
>>
>> On Thu, Jul 4, 2013 at 12:34 PM, Dan Tran <[hidden email]> wrote:
>>
>>> I am still seeing windows test failure even after this test get set to
>>> ignore
>>>
>>> -------------------------------------------------------
>>>  T E S T S
>>> -------------------------------------------------------
>>> Running org.apache.karaf.jaas.modules.properties.PropertiesConverterTest
>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
>>> Running
>>> org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest
>>> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>>> SLF4J: Defaulting to no-operation (NOP) logger implementation
>>> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
>>> further
>>> details.
>>> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.073 sec
>>> <<< FAILURE!
>>>
>>> Results :
>>>
>>> Failed tests:
>>>
>>> testNonExistantPropertiesFile(org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest):
>>> expected:<...s
>>> file not found at [/test/]users.properties> but was:<...s file not found
>>> at
>>> [\test\]users.properties>
>>>
>>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Apache Karaf ...................................... SUCCESS
>>> [1.774s]
>>> [INFO] Apache Karaf :: Util .............................. SUCCESS
>>> [2.483s]
>>> [INFO] Apache Karaf :: Main .............................. SUCCESS
>>> [31.378s]
>>> [INFO] Apache Karaf :: JAAS .............................. SUCCESS
>>> [0.152s]
>>> [INFO] Apache Karaf :: JAAS :: Boot ...................... SUCCESS
>>> [1.462s]
>>> [INFO] Apache Karaf :: JAAS :: Config .................... SUCCESS
>>> [1.654s]
>>> [INFO] Apache Karaf :: JAAS :: Modules ................... FAILURE
>>> [1.436s]
>>> [INFO] Apache Karaf :: Shell ............................. SKIPPED
>>>
>>>
>>> On Thu, Jul 4, 2013 at 6:51 AM, <[hidden email]> wrote:
>>>
>>> > Author: jgoodyear
>>> > Date: Thu Jul  4 13:51:50 2013
>>> > New Revision: 1499756
>>> >
>>> > URL: http://svn.apache.org/r1499756
>>> > Log:
>>> > [KARAF-2325] Release Apache Karaf 2.3.2
>>> >
>>> >  Setting testStopEithTimeout to ignore.
>>> >  Created Karaf 2374 to fix test case in 2.3.3.
>>> >  Note: test case passed from source tag, only had issue from src tar gz
>>> > kit.
>>> >
>>> >
>>> > Modified:
>>> >
>>> >
>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>> >
>>> > Modified:
>>> >
>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>> > URL:
>>> >
>>> http://svn.apache.org/viewvc/karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java?rev=1499756&r1=1499755&r2=1499756&view=diff
>>> >
>>> >
>>> ==============================================================================
>>> > ---
>>> >
>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>> > (original)
>>> > +++
>>> >
>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>> > Thu Jul  4 13:51:50 2013
>>> > @@ -66,6 +66,7 @@ public class MainStartTest {
>>> >         }
>>> >
>>> >      @Test
>>> > +    @Ignore("Unit test for testStopWithTimeout disabled for now")
>>> >      public void testStopWithTimeout() throws Exception {
>>> >          File basedir = new
>>> >
>>> File(getClass().getClassLoader().getResource("foo").getPath()).getParentFile();
>>> >          File home = new File(basedir, "test-karaf-home");
>>> >
>>> >
>>> >
>>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1499756 - /karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java

jgoodyear
I've checked in a fix for this - retesting on windows.


On Thu, Jul 4, 2013 at 12:49 PM, Jamie G. <[hidden email]> wrote:

> It's a case of unix vs windows directories -- the assert wants / instead
> of \.
>
>
> On Thu, Jul 4, 2013 at 12:46 PM, Jamie G. <[hidden email]>wrote:
>
>> Ok, reproduced it.. I'll have a look.
>>
>>
>> On Thu, Jul 4, 2013 at 12:41 PM, Jamie G. <[hidden email]>wrote:
>>
>>> I'm going to build on my windows host and see if it reproduces, not
>>> seeing that happen on linux/mac.
>>>
>>> -J
>>>
>>>
>>> On Thu, Jul 4, 2013 at 12:34 PM, Dan Tran <[hidden email]> wrote:
>>>
>>>> I am still seeing windows test failure even after this test get set to
>>>> ignore
>>>>
>>>> -------------------------------------------------------
>>>>  T E S T S
>>>> -------------------------------------------------------
>>>> Running org.apache.karaf.jaas.modules.properties.PropertiesConverterTest
>>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053
>>>> sec
>>>> Running
>>>> org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest
>>>> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>>>> SLF4J: Defaulting to no-operation (NOP) logger implementation
>>>> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
>>>> further
>>>> details.
>>>> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.073
>>>> sec
>>>> <<< FAILURE!
>>>>
>>>> Results :
>>>>
>>>> Failed tests:
>>>>
>>>> testNonExistantPropertiesFile(org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest):
>>>> expected:<...s
>>>> file not found at [/test/]users.properties> but was:<...s file not
>>>> found at
>>>> [\test\]users.properties>
>>>>
>>>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] Apache Karaf ...................................... SUCCESS
>>>> [1.774s]
>>>> [INFO] Apache Karaf :: Util .............................. SUCCESS
>>>> [2.483s]
>>>> [INFO] Apache Karaf :: Main .............................. SUCCESS
>>>> [31.378s]
>>>> [INFO] Apache Karaf :: JAAS .............................. SUCCESS
>>>> [0.152s]
>>>> [INFO] Apache Karaf :: JAAS :: Boot ...................... SUCCESS
>>>> [1.462s]
>>>> [INFO] Apache Karaf :: JAAS :: Config .................... SUCCESS
>>>> [1.654s]
>>>> [INFO] Apache Karaf :: JAAS :: Modules ................... FAILURE
>>>> [1.436s]
>>>> [INFO] Apache Karaf :: Shell ............................. SKIPPED
>>>>
>>>>
>>>> On Thu, Jul 4, 2013 at 6:51 AM, <[hidden email]> wrote:
>>>>
>>>> > Author: jgoodyear
>>>> > Date: Thu Jul  4 13:51:50 2013
>>>> > New Revision: 1499756
>>>> >
>>>> > URL: http://svn.apache.org/r1499756
>>>> > Log:
>>>> > [KARAF-2325] Release Apache Karaf 2.3.2
>>>> >
>>>> >  Setting testStopEithTimeout to ignore.
>>>> >  Created Karaf 2374 to fix test case in 2.3.3.
>>>> >  Note: test case passed from source tag, only had issue from src tar
>>>> gz
>>>> > kit.
>>>> >
>>>> >
>>>> > Modified:
>>>> >
>>>> >
>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>> >
>>>> > Modified:
>>>> >
>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>> > URL:
>>>> >
>>>> http://svn.apache.org/viewvc/karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java?rev=1499756&r1=1499755&r2=1499756&view=diff
>>>> >
>>>> >
>>>> ==============================================================================
>>>> > ---
>>>> >
>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>> > (original)
>>>> > +++
>>>> >
>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>> > Thu Jul  4 13:51:50 2013
>>>> > @@ -66,6 +66,7 @@ public class MainStartTest {
>>>> >         }
>>>> >
>>>> >      @Test
>>>> > +    @Ignore("Unit test for testStopWithTimeout disabled for now")
>>>> >      public void testStopWithTimeout() throws Exception {
>>>> >          File basedir = new
>>>> >
>>>> File(getClass().getClassLoader().getResource("foo").getPath()).getParentFile();
>>>> >          File home = new File(basedir, "test-karaf-home");
>>>> >
>>>> >
>>>> >
>>>>
>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1499756 - /karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java

jgoodyear
Ok, this issue is resolved, but its appears there is a maven tooling test
case failure now - looking into it.


On Thu, Jul 4, 2013 at 1:03 PM, Jamie G. <[hidden email]> wrote:

> I've checked in a fix for this - retesting on windows.
>
>
> On Thu, Jul 4, 2013 at 12:49 PM, Jamie G. <[hidden email]>wrote:
>
>> It's a case of unix vs windows directories -- the assert wants / instead
>> of \.
>>
>>
>> On Thu, Jul 4, 2013 at 12:46 PM, Jamie G. <[hidden email]>wrote:
>>
>>> Ok, reproduced it.. I'll have a look.
>>>
>>>
>>> On Thu, Jul 4, 2013 at 12:41 PM, Jamie G. <[hidden email]>wrote:
>>>
>>>> I'm going to build on my windows host and see if it reproduces, not
>>>> seeing that happen on linux/mac.
>>>>
>>>> -J
>>>>
>>>>
>>>> On Thu, Jul 4, 2013 at 12:34 PM, Dan Tran <[hidden email]> wrote:
>>>>
>>>>> I am still seeing windows test failure even after this test get set to
>>>>> ignore
>>>>>
>>>>> -------------------------------------------------------
>>>>>  T E S T S
>>>>> -------------------------------------------------------
>>>>> Running
>>>>> org.apache.karaf.jaas.modules.properties.PropertiesConverterTest
>>>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053
>>>>> sec
>>>>> Running
>>>>> org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest
>>>>> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>>>>> SLF4J: Defaulting to no-operation (NOP) logger implementation
>>>>> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
>>>>> further
>>>>> details.
>>>>> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.073
>>>>> sec
>>>>> <<< FAILURE!
>>>>>
>>>>> Results :
>>>>>
>>>>> Failed tests:
>>>>>
>>>>> testNonExistantPropertiesFile(org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest):
>>>>> expected:<...s
>>>>> file not found at [/test/]users.properties> but was:<...s file not
>>>>> found at
>>>>> [\test\]users.properties>
>>>>>
>>>>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
>>>>>
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> [INFO] Apache Karaf ...................................... SUCCESS
>>>>> [1.774s]
>>>>> [INFO] Apache Karaf :: Util .............................. SUCCESS
>>>>> [2.483s]
>>>>> [INFO] Apache Karaf :: Main .............................. SUCCESS
>>>>> [31.378s]
>>>>> [INFO] Apache Karaf :: JAAS .............................. SUCCESS
>>>>> [0.152s]
>>>>> [INFO] Apache Karaf :: JAAS :: Boot ...................... SUCCESS
>>>>> [1.462s]
>>>>> [INFO] Apache Karaf :: JAAS :: Config .................... SUCCESS
>>>>> [1.654s]
>>>>> [INFO] Apache Karaf :: JAAS :: Modules ................... FAILURE
>>>>> [1.436s]
>>>>> [INFO] Apache Karaf :: Shell ............................. SKIPPED
>>>>>
>>>>>
>>>>> On Thu, Jul 4, 2013 at 6:51 AM, <[hidden email]> wrote:
>>>>>
>>>>> > Author: jgoodyear
>>>>> > Date: Thu Jul  4 13:51:50 2013
>>>>> > New Revision: 1499756
>>>>> >
>>>>> > URL: http://svn.apache.org/r1499756
>>>>> > Log:
>>>>> > [KARAF-2325] Release Apache Karaf 2.3.2
>>>>> >
>>>>> >  Setting testStopEithTimeout to ignore.
>>>>> >  Created Karaf 2374 to fix test case in 2.3.3.
>>>>> >  Note: test case passed from source tag, only had issue from src tar
>>>>> gz
>>>>> > kit.
>>>>> >
>>>>> >
>>>>> > Modified:
>>>>> >
>>>>> >
>>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>>> >
>>>>> > Modified:
>>>>> >
>>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>>> > URL:
>>>>> >
>>>>> http://svn.apache.org/viewvc/karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java?rev=1499756&r1=1499755&r2=1499756&view=diff
>>>>> >
>>>>> >
>>>>> ==============================================================================
>>>>> > ---
>>>>> >
>>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>>> > (original)
>>>>> > +++
>>>>> >
>>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>>> > Thu Jul  4 13:51:50 2013
>>>>> > @@ -66,6 +66,7 @@ public class MainStartTest {
>>>>> >         }
>>>>> >
>>>>> >      @Test
>>>>> > +    @Ignore("Unit test for testStopWithTimeout disabled for now")
>>>>> >      public void testStopWithTimeout() throws Exception {
>>>>> >          File basedir = new
>>>>> >
>>>>> File(getClass().getClassLoader().getResource("foo").getPath()).getParentFile();
>>>>> >          File home = new File(basedir, "test-karaf-home");
>>>>> >
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r1499756 - /karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java

jgoodyear
We have the karaf build stabilized on windows for the moment. There will be
investigations in to some issues for better solutions.

Cheers,
Jamie


On Thu, Jul 4, 2013 at 1:11 PM, Jamie G. <[hidden email]> wrote:

> Ok, this issue is resolved, but its appears there is a maven tooling test
> case failure now - looking into it.
>
>
> On Thu, Jul 4, 2013 at 1:03 PM, Jamie G. <[hidden email]> wrote:
>
>> I've checked in a fix for this - retesting on windows.
>>
>>
>> On Thu, Jul 4, 2013 at 12:49 PM, Jamie G. <[hidden email]>wrote:
>>
>>> It's a case of unix vs windows directories -- the assert wants / instead
>>> of \.
>>>
>>>
>>> On Thu, Jul 4, 2013 at 12:46 PM, Jamie G. <[hidden email]>wrote:
>>>
>>>> Ok, reproduced it.. I'll have a look.
>>>>
>>>>
>>>> On Thu, Jul 4, 2013 at 12:41 PM, Jamie G. <[hidden email]>wrote:
>>>>
>>>>> I'm going to build on my windows host and see if it reproduces, not
>>>>> seeing that happen on linux/mac.
>>>>>
>>>>> -J
>>>>>
>>>>>
>>>>> On Thu, Jul 4, 2013 at 12:34 PM, Dan Tran <[hidden email]> wrote:
>>>>>
>>>>>> I am still seeing windows test failure even after this test get set to
>>>>>> ignore
>>>>>>
>>>>>> -------------------------------------------------------
>>>>>>  T E S T S
>>>>>> -------------------------------------------------------
>>>>>> Running
>>>>>> org.apache.karaf.jaas.modules.properties.PropertiesConverterTest
>>>>>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053
>>>>>> sec
>>>>>> Running
>>>>>> org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest
>>>>>> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>>>>>> SLF4J: Defaulting to no-operation (NOP) logger implementation
>>>>>> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
>>>>>> further
>>>>>> details.
>>>>>> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.073
>>>>>> sec
>>>>>> <<< FAILURE!
>>>>>>
>>>>>> Results :
>>>>>>
>>>>>> Failed tests:
>>>>>>
>>>>>> testNonExistantPropertiesFile(org.apache.karaf.jaas.modules.properties.PropertiesLoginModuleTest):
>>>>>> expected:<...s
>>>>>> file not found at [/test/]users.properties> but was:<...s file not
>>>>>> found at
>>>>>> [\test\]users.properties>
>>>>>>
>>>>>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0
>>>>>>
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Reactor Summary:
>>>>>> [INFO]
>>>>>> [INFO] Apache Karaf ...................................... SUCCESS
>>>>>> [1.774s]
>>>>>> [INFO] Apache Karaf :: Util .............................. SUCCESS
>>>>>> [2.483s]
>>>>>> [INFO] Apache Karaf :: Main .............................. SUCCESS
>>>>>> [31.378s]
>>>>>> [INFO] Apache Karaf :: JAAS .............................. SUCCESS
>>>>>> [0.152s]
>>>>>> [INFO] Apache Karaf :: JAAS :: Boot ...................... SUCCESS
>>>>>> [1.462s]
>>>>>> [INFO] Apache Karaf :: JAAS :: Config .................... SUCCESS
>>>>>> [1.654s]
>>>>>> [INFO] Apache Karaf :: JAAS :: Modules ................... FAILURE
>>>>>> [1.436s]
>>>>>> [INFO] Apache Karaf :: Shell ............................. SKIPPED
>>>>>>
>>>>>>
>>>>>> On Thu, Jul 4, 2013 at 6:51 AM, <[hidden email]> wrote:
>>>>>>
>>>>>> > Author: jgoodyear
>>>>>> > Date: Thu Jul  4 13:51:50 2013
>>>>>> > New Revision: 1499756
>>>>>> >
>>>>>> > URL: http://svn.apache.org/r1499756
>>>>>> > Log:
>>>>>> > [KARAF-2325] Release Apache Karaf 2.3.2
>>>>>> >
>>>>>> >  Setting testStopEithTimeout to ignore.
>>>>>> >  Created Karaf 2374 to fix test case in 2.3.3.
>>>>>> >  Note: test case passed from source tag, only had issue from src
>>>>>> tar gz
>>>>>> > kit.
>>>>>> >
>>>>>> >
>>>>>> > Modified:
>>>>>> >
>>>>>> >
>>>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>>>> >
>>>>>> > Modified:
>>>>>> >
>>>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>>>> > URL:
>>>>>> >
>>>>>> http://svn.apache.org/viewvc/karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java?rev=1499756&r1=1499755&r2=1499756&view=diff
>>>>>> >
>>>>>> >
>>>>>> ==============================================================================
>>>>>> > ---
>>>>>> >
>>>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>>>> > (original)
>>>>>> > +++
>>>>>> >
>>>>>> karaf/branches/karaf-2.3.x/main/src/test/java/org/apache/karaf/main/MainStartTest.java
>>>>>> > Thu Jul  4 13:51:50 2013
>>>>>> > @@ -66,6 +66,7 @@ public class MainStartTest {
>>>>>> >         }
>>>>>> >
>>>>>> >      @Test
>>>>>> > +    @Ignore("Unit test for testStopWithTimeout disabled for now")
>>>>>> >      public void testStopWithTimeout() throws Exception {
>>>>>> >          File basedir = new
>>>>>> >
>>>>>> File(getClass().getClassLoader().getResource("foo").getPath()).getParentFile();
>>>>>> >          File home = new File(basedir, "test-karaf-home");
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>