[jira] Created: (CONTINUUM-2270) Selenium tests fail when run with JDK 1.6

View: New views
8 Messages — Rating Filter:   Alert me  

[jira] Created: (CONTINUUM-2270) Selenium tests fail when run with JDK 1.6

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Selenium tests fail when run with JDK 1.6
-----------------------------------------

                 Key: CONTINUUM-2270
                 URL: http://jira.codehaus.org/browse/CONTINUUM-2270
             Project: Continuum
          Issue Type: Bug
    Affects Versions: 1.4.0
         Environment: Mac OS X
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
            Reporter: Wendy Smoak


The Selenium tests in the continuum-webapp-test module pass under JDK 1.5, but fail when run with JDK 1.6

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Assigned: (CONTINUUM-2270) Selenium tests fail when run with JDK 1.6

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/CONTINUUM-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jose Morales Martinez reassigned CONTINUUM-2270:
------------------------------------------------

    Assignee: Jose Morales Martinez

This issue is related to order of test. All test failed because there are a problem in userroles tests. If you escape userroles test you will get 100% successfull.

I will review userroles test for detect problem.

> Selenium tests fail when run with JDK 1.6
> -----------------------------------------
>
>                 Key: CONTINUUM-2270
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2270
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>         Environment: Mac OS X
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
>            Reporter: Wendy Smoak
>            Assignee: Jose Morales Martinez
>
> The Selenium tests in the continuum-webapp-test module pass under JDK 1.5, but fail when run with JDK 1.6

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (CONTINUUM-2270) Selenium tests fail when run with JDK 1.6

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/CONTINUUM-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181084#action_181084 ]

Marecor Baclay commented on CONTINUUM-2270:
-------------------------------------------

Hi Jose!

Apart from java, environment details:
Apache Maven 2.1.0
OS name: "linux" version: "2.6.28-11-generic" arch: "i386" Family: "unix"

With Java version 1.6.0_13, results are:
- Tests run: 168, Failures: 16, Errors: 0, Skipped: 26

With Java version 1.5.0.18, my results are:
- Tests run: 168, Failures: 0, Errors: 0, Skipped: 0


Running the tests with java 1.6 without the userroles tests indeed will have a successful build! :) I wonder why including the user roles tests with java 1.5 is successful.

But anyway, I will also investigate and fix the order of the userroles tests since I was the one who submitted the patch of these tests. Thanks!

> Selenium tests fail when run with JDK 1.6
> -----------------------------------------
>
>                 Key: CONTINUUM-2270
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2270
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>         Environment: Mac OS X
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
>            Reporter: Wendy Smoak
>            Assignee: Jose Morales Martinez
>
> The Selenium tests in the continuum-webapp-test module pass under JDK 1.5, but fail when run with JDK 1.6

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Updated: (CONTINUUM-2270) Selenium tests fail when run with JDK 1.6

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/CONTINUUM-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marecor Baclay updated CONTINUUM-2270:
--------------------------------------

    Attachment: CONTINUUM-2270-TestNG.patch

Attached CONTINUUM-2270-TestNG.patch.

- updated the order of UserRolesTest to successfully run with Java 1.6.

Patch was tested with java 1.6 and java 1.5 with results:

Tests run: 168, Failures: 0, Errors: 0, Skipped: 0

Thanks! :)

> Selenium tests fail when run with JDK 1.6
> -----------------------------------------
>
>                 Key: CONTINUUM-2270
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2270
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>         Environment: Mac OS X
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
>            Reporter: Wendy Smoak
>            Assignee: Jose Morales Martinez
>         Attachments: CONTINUUM-2270-TestNG.patch
>
>
> The Selenium tests in the continuum-webapp-test module pass under JDK 1.5, but fail when run with JDK 1.6

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Closed: (CONTINUUM-2270) Selenium tests fail when run with JDK 1.6

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/CONTINUUM-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jose Morales Martinez closed CONTINUUM-2270.
--------------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.0

Fixed in 787299r.

Thanks Marecor. In your solution order test, but I took asolution more generic.  

The problem occurred because the list of users was shown 15 users but there were 19 users, and then they weren't displayed. I have established 50 number of users displayed before check user info. Also, I do login with admin at the end of methods.

> Selenium tests fail when run with JDK 1.6
> -----------------------------------------
>
>                 Key: CONTINUUM-2270
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2270
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>         Environment: Mac OS X
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
>            Reporter: Wendy Smoak
>            Assignee: Jose Morales Martinez
>             Fix For: 1.4.0
>
>         Attachments: CONTINUUM-2270-TestNG.patch
>
>
> The Selenium tests in the continuum-webapp-test module pass under JDK 1.5, but fail when run with JDK 1.6

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (CONTINUUM-2270) Selenium tests fail when run with JDK 1.6

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/CONTINUUM-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181194#action_181194 ]

Marecor Baclay commented on CONTINUUM-2270:
-------------------------------------------

Hi Jose,

I ran r787299, unfortunately it gave me these results,

Failed tests:
  testProjectGroupAllBuildSuccess(org.apache.continuum.web.test.ProjectGroupTest)

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

in both Java versions 1.5 and 1.6.


Have you tried the patch I submitted?

Thanks!

> Selenium tests fail when run with JDK 1.6
> -----------------------------------------
>
>                 Key: CONTINUUM-2270
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2270
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>         Environment: Mac OS X
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
>            Reporter: Wendy Smoak
>            Assignee: Jose Morales Martinez
>             Fix For: 1.4.0
>
>         Attachments: CONTINUUM-2270-TestNG.patch
>
>
> The Selenium tests in the continuum-webapp-test module pass under JDK 1.5, but fail when run with JDK 1.6

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (CONTINUUM-2270) Selenium tests fail when run with JDK 1.6

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/CONTINUUM-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181334#action_181334 ]

Jose Morales Martinez commented on CONTINUUM-2270:
--------------------------------------------------

I get successfull, but now I update to 787844r and I get this result :

Failed tests:
  testDeleteBuildQueue(org.apache.continuum.web.test.QueueTest)
  testQueuePageWithoutBuild(org.apache.continuum.web.test.QueueTest)
  testQueuePageWithProjectCurrentlyBuilding(org.apache.continuum.web.test.QueueT
est)
  testAddEmptyBuildQueue(org.apache.continuum.web.test.QueueTest)
  testProjectGroupAllBuildSuccess(org.apache.continuum.web.test.ProjectGroupTest
)
  testEditSchedule(org.apache.continuum.web.test.ScheduleTest)

Tests run: 178, Failures: 6, Errors: 0, Skipped: 1

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

I haven't modified 'testProjectGroupAllBuildSuccess' test, previously I have had problems with this test randomly, I think it's related with refresh process or test order.

> Selenium tests fail when run with JDK 1.6
> -----------------------------------------
>
>                 Key: CONTINUUM-2270
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2270
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>         Environment: Mac OS X
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
>            Reporter: Wendy Smoak
>            Assignee: Jose Morales Martinez
>             Fix For: 1.4.0
>
>         Attachments: CONTINUUM-2270-TestNG.patch
>
>
> The Selenium tests in the continuum-webapp-test module pass under JDK 1.5, but fail when run with JDK 1.6

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (CONTINUUM-2270) Selenium tests fail when run with JDK 1.6

by JIRA jira@codehaus.org :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/CONTINUUM-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181346#action_181346 ]

Jose Morales Martinez commented on CONTINUUM-2270:
--------------------------------------------------

I have updated  test in revision 787880.

I change BuildAgenttTest and enable/disable DistributedBuilds before/after each test. I get successfull result.

> Selenium tests fail when run with JDK 1.6
> -----------------------------------------
>
>                 Key: CONTINUUM-2270
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2270
>             Project: Continuum
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>         Environment: Mac OS X
> java version "1.6.0_07"
> Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode)
>            Reporter: Wendy Smoak
>            Assignee: Jose Morales Martinez
>             Fix For: 1.4.0
>
>         Attachments: CONTINUUM-2270-TestNG.patch
>
>
> The Selenium tests in the continuum-webapp-test module pass under JDK 1.5, but fail when run with JDK 1.6

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira