Bug 816641
Summary: | Torquebox: jmx4r does not work in integration tests | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Oliver Kišš <okiss> | ||||||
Component: | TorqueBox | Assignee: | Bob McWhirter <bmcwhirt> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Oliver Kišš <okiss> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 2.0.0.ER4 | CC: | bbrownin, kpiwko, mnovotny, oskutka | ||||||
Target Milestone: | ER1 | ||||||||
Target Release: | 2.1.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-11-30 15:35:03 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
We need to figure out how to run the integ tests locally with the EAP/WFK build and I'll get back to you on this. Iniitially I cannot fathom why it's not working, unless JMX is disabled in EAP? Created attachment 587680 [details]
EAP log
Added server log from running integration tests with Torquebox 2.0.3.redhat.1 and EAP6 ER8
I don't have the appropriate permissions to link things, but this is tracked upstream in https://issues.jboss.org/browse/TORQUE-842. I've replicated this in a RHEL 6 virtual machine and am testing a fix now. Fixed committed to our 2.0.x-dev branch in https://github.com/torquebox/torquebox/commit/73b05d4db66e186690aa7290fd4a446735df100b Removed Target Version, this was not productized so far. Benjamin Browning <bbrowning> updated the status of jira TORQUE-842 to Closed Moving target version to 2.1.0. Already in product branch as commit - http://git.app.eng.bos.redhat.com/?p=torquebox.git;a=commit;h=b4f1e20b01c112cb43cd11d726d65c5424287550 Distributed as a part of WFK 2.1.0.GA release. |
Created attachment 580508 [details] RSpec report Description of problem: jmx4r does not work properly in Torquebox integration tests. jmx4r relies on com.sun.tools.attach.VirtualMachine.list() method which returns empty list when called during integration tests. Version-Release number of selected component (if applicable): Torquebox 2.0.1 Actual results: Integration tests fail Additional info: RSpec html report is attached Environment: Fedora 15 OpenJDK 1.6.0_22 or Sun JDK 1.6.0_20 EAP ER4.1