open-telemetry / opentelemetry-demo

This repository contains the OpenTelemetry Astronomy Shop, a microservice-based distributed system intended to illustrate the implementation of OpenTelemetry in a near real-world environment.
https://opentelemetry.io/docs/demo/
Apache License 2.0
1.88k stars 1.24k forks source link

tracetest cli and server versions mismatch problem/warning #1784

Open sophiaxu0424 opened 1 week ago

sophiaxu0424 commented 1 week ago

When enabling API observability-driven testing using docker compose -f docker-compose-tests.yml run traceBasedTests I am having mismatch problem/warning like below:

I've using darwin/arm64 as my platform is in tracetest/docker-compose.yaml file and the server container is up and running for now. not sure if this warning would affect the process to see the test result?

Starting tests...
Running trace-based tests for: adservice cartservice currencyservice checkoutservice frontend emailservice paymentservice productcatalogservice recommendationservice shippingservice ...

CLI: v1.7.1
Server: v1.5.2

✖️ Version Mismatch
The CLI version and the server version are not compatible. To fix this, you'll need to make sure that both your CLI and server are using compatible versions.
We recommend upgrading both of them to the latest available version. Check out our documentation https://docs.tracetest.io/configuration/upgrade for simple instructions on how to upgrade.
Thank you for using Tracetest! We apologize for any inconvenience causedCLI: v1.7.1
Server: v1.5.2
puckpuck commented 1 week ago

we recommend you run trace testing using the Make target

make run-tracetesting

I just ran this command from the main branch, and it ran successfully. Can you try running that command and confirm you are still having an issue?