Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jmx metrics: Add test timeouts and mbean server status assertions #218

Merged

Conversation

rmfitzpatrick
Copy link
Contributor

Description:
Some builds are taking exceedingly long and this appears to be based on platform mbean connector server access flake:

WARNING: Could not connect to remote JMX server: 
java.rmi.ConnectException: Connection refused to host: 10.1.1.133; nested exception is: 
	java.net.ConnectException: Connection timed out
	at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:626)

These changes add 10s timeouts to all suites w/ mbean server tests and an assertion before each test that the server is active, which is said to reflect the connector status though I wasn't able to verify this directly. Hopefully they will provide more information about the underlying issue.

@rmfitzpatrick rmfitzpatrick merged commit ba515bf into open-telemetry:main Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants