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

Metrics endpoint is needed for e2e tests #25

Open
andygolay opened this issue Jun 28, 2024 · 1 comment
Open

Metrics endpoint is needed for e2e tests #25

andygolay opened this issue Jun 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@andygolay
Copy link

🐛 Bug

E2E tests test_metrics_accessible and test_aptos_header_included fail on Movement testnet due to lack of metrics endpoint.

To reproduce

Code snippet to reproduce

Checkout the e2e-testnet-mod branch and cd into crates/aptos/e2e.

Run

cargo build -p movement

Follow the Python installation instructions in the e2e README. Then run

DOCKER_DEFAULT_PLATFORM=linux/amd64 poetry run python main.py --base-network mainnet --test-cli-path ~/downloads/repos/movement-aptos-core/target/debug/movement

to run the tests.

Stack trace/error message

ERROR - test_metrics_accessible: HTTPConnectionPool(host='127.0.0.1', port=9101): Max retries exceeded with url: /json_metrics (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1027ccfe0>: Failed to establish a new connection: [Errno 61] Connection refused'))

ERROR - test_aptos_header_included: HTTPConnectionPool(host='127.0.0.1', port=9101): Max retries exceeded with url: /metrics (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1027ce930>: Failed to establish a new connection: [Errno 61] Connection refused'))

Expected Behavior

A clear and concise description of what you expected to happen.

System information

Please complete the following information:

  • Movement Version: aptos 2.4.0
  • Rust Version: 1.75.0
  • Computer OS: macOs 14.3

Additional context

n/a

@andygolay andygolay added the bug Something isn't working label Jun 28, 2024
@andygolay andygolay mentioned this issue Jun 28, 2024
@andyjsbell
Copy link
Collaborator

@andygolay could you give this one a title please?

@andygolay andygolay changed the title [Bug] [Bug] Metrics endpoint is needed for e2e tests Jul 4, 2024
@mzabaluev mzabaluev changed the title [Bug] Metrics endpoint is needed for e2e tests Metrics endpoint is needed for e2e tests Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants