[GLASSFISH-15549] Dev Test Failure(s) Created: 12/Jan/11  Updated: 19/Dec/16  Due: 14/Jan/11  Resolved: 06/Jul/11

Status: Resolved
Project: glassfish
Component/s: admin_gui
Affects Version/s: None
Fix Version/s: 3.1_dev

Type: Bug Priority: Minor
Reporter: Jason Lee Assignee: sumasri
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Dependency
blocks GLASSFISH-15444 Dev test failures Open
Tags: 3_1-review

 Description   

Per Nazrul's Email

Suma (10)

Failed tests:
[artifact:mvn] testMonitoringApplicationsPage(org.glassfish.admingui.devtests.MonitoringTest)
[artifact:mvn] testAdminObjectResources(org.glassfish.admingui.devtests.AdminObjectTest)

[artifact:mvn] Tests in error:
[artifact:mvn] testConnectorResourcesWithTargets(org.glassfish.admingui.devtests.ConnectorsTest)
[artifact:mvn] testJdbcResourcesWithTargets(org.glassfish.admingui.devtests.JdbcTest)
[artifact:mvn] testCustomResourcesWithTargets(org.glassfish.admingui.devtests.JndiTest)
[artifact:mvn] testExternalResourcesWithTargets(org.glassfish.admingui.devtests.JndiTest)
[artifact:mvn] testStandaloneInstanceResourcesPage(org.glassfish.admingui.devtests.StandaloneTest)
[artifact:mvn] createMailResourceWithTargets(org.glassfish.admingui.devtests.JavaMailTest)
[artifact:mvn] testMonitoringServerPage(org.glassfish.admingui.devtests.MonitoringTest)
[artifact:mvn] testAdminObjectResourcesWithTargets(org.glassfish.admingui.devtests.AdminObjectTest)



 Comments   
Comment by Nazrul [ 12/Jan/11 ]

Adding 3_1-review to exclude this from un-scrubbed list

Comment by sumasri [ 13/Jan/11 ]

These are the latest results from hudson.
Requesting Jason to comment on the below issues.

Failed tests:
[artifact:mvn] testAdminObjectResources(org.glassfish.admingui.devtests.AdminObjectTest)
[artifact:mvn] testAdminObjectResourcesWithTargets(org.glassfish.admingui.devtests.AdminObjectTest)
Fixed these 2 tests and checked in the code.

[artifact:mvn] testExternalResourcesWithTargets(org.glassfish.admingui.devtests.JndiTest)
This is working fine. It is giving inconsistent results.

[artifact:mvn] testMonitoringApplicationsPage(org.glassfish.admingui.devtests.MonitoringTest)
Will work on this.

[artifact:mvn] testResourceAdapterConfigs(org.glassfish.admingui.devtests.ResourceAdapterConfigsTest)
Issue: Resource Adapter config creation is taking a very long time if jms is already started.
Assumption : As per my understanding, we persist one property in domain.xml at a time.
Background work on the issue: While persisting each property, event will be notified and then it stops the jms and starts the jms. So, it is taking a very long time. Hence, the test is failing.
I think this issue can be resolved in REST side.Please let me know your comments on this.

There is one more issue with it . Once JMS is started and try to create a resource adpater config with http-thread-pool, it is throwing an exception. I will file the issue for the backend team.

[artifact:mvn] testMonitoringServerPage(org.glassfish.admingui.devtests.MonitoringTest)

In this, will change the test.. But still, it doesn't show up the monitoring data for garbage collectors. As there is a space in all the garbage collectors(Ex : PS Scavenge).
Encoded value of "PS Scavenge" is "PS+Scavenge". For both the values, it is not showing the data. It is able to get the data using "PS%20Scavenge". How can we resolve the issue?
The output for Garbage collectors URL is,
> curl -X GET "http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors/PS Scavenge"
No output
>curl -X GET "http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors/PS+Scavenge"
<html><head><title>GlassFish REST Interface</title> <link rel="stylesheet" type="text/css" href="http://localhost:4848/monitoring/static/std.css" /></head> <body><h1 class="mainheader">GlassFish REST Interface</h1><hr/></div></body></html>
>curl -X GET "http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors/PS%20Scavenge"
<html><head><title>GlassFish REST Interface</title> <link rel="stylesheet" type="text/css" href="http://localhost:4848/monitoring/static/std.css" /></head> <body><h1 class="mainheader">GlassFish REST Interface</h1><hr/><ul><li><a href="http://localhost:4848/monitoring/domain/server/jvm/garbage-collectors /PS%20Scavenge/collectioncount-count">collectioncount-count</a><ul><li>count : 66</li><li>lastsampletime : 1294806042121</li><li>description : Total number of collections that have occurred</li><li>unit : count</li><li>name : CollectionCount</li><li>starttime : 1294804774713</li></ul></li><li><a href="http://localhost:4848 /monitoring/domain/server/jvm/garbage-collectors/PS%20Scavenge/collectiontime-count">collectiontime-count</a><ul><li>count : 1009</li><li>lastsampletime : 1294806042121</li><li>description : Approximate accumulated collection elapsed time in milliseconds</li><li>unit : millisecond</li><li>name : CollectionTime</li><li>starttime : 1294804774713</li></ul></li></ul></div></body></html>

Comment by sumasri [ 16/Jan/11 ]

These are the latest results from hudson.

[artifact:mvn] testMonitoringApplicationsPage(org.glassfish.admingui.devtests.MonitoringTest)
//Once the deployWar test in ApplicationTest work, this will get resolved.

[artifact:mvn] testResourceAdapterConfigs(org.glassfish.admingui.devtests.ResourceAdapterConfigsTest)
[artifact:mvn] testMonitoringServerPage(org.glassfish.admingui.devtests.MonitoringTest)
//For these 2 tests, waiting for Jason's comments.

Comment by Anissa Lam [ 18/Jan/11 ]

Since testDeployWar in ApplicationTest is facing the same issue as testMonitoringApplicationPage, and you are looking into this with Jason, please take care of testDeployWar once the solution is found.
thanks.

Comment by sumasri [ 06/Jul/11 ]

All dev tests are passing. Hence, marking it as fixed.

Generated at Tue Jan 17 21:47:50 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.