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

Tracetest version mismatch #1273

Closed
julianocosta89 opened this issue Nov 26, 2023 · 5 comments
Closed

Tracetest version mismatch #1273

julianocosta89 opened this issue Nov 26, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@julianocosta89
Copy link
Member

Bug Report

Which version of the demo you are using?
c9efc8a.

Symptom

When running:
make run-tracetesting
I'm getting the following error:

Starting tests...                                                                                                                

Running trace-based tests...

CLI: v0.13.10
Server: v0.14.5
✖️ Error: 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 caused.

Tests done! Exit code: 1
make: *** [Makefile:104: run-tracetesting] Error 1
@julianocosta89 julianocosta89 added the bug Something isn't working label Nov 26, 2023
@julianocosta89
Copy link
Member Author

@danielbdias as far as I understood this PR: #1239

This shouldn't happen.
What did we miss?

@danielbdias
Copy link
Contributor

I need to check, my guess is that the tracetestbased-tests image is using a cached version of tracetest

@mviitane
Copy link
Member

How should I install the tracetest CLI? I currently get

$ make run-tracetesting
docker compose run traceBasedTests 
[+] Creating 21/0
 ✔ Container postgres                 Running                                                                                                                                                                                                             0.0s 
 ✔ Container tracetest-postgres       Running                                                                                                                                                                                                             0.0s 
 ✔ Container redis-cart               Running                                                                                                                                                                                                             0.0s 
 ✔ Container jaeger                   Running                                                                                                                                                                                                             0.0s 
 ✔ Container kafka                    Running                                                                                                                                                                                                             0.0s 
 ✔ Container feature-flag-service     Running                                                                                                                                                                                                             0.0s 
 ✔ Container otel-col                 Running                                                                                                                                                                                                             0.0s 
 ✔ Container payment-service          Running                                                                                                                                                                                                             0.0s 
 ✔ Container shipping-service         Running                                                                                                                                                                                                             0.0s 
 ✔ Container ad-service               Running                                                                                                                                                                                                             0.0s 
 ✔ Container accounting-service       Running                                                                                                                                                                                                             0.0s 
 ✔ Container cart-service             Running                                                                                                                                                                                                             0.0s 
 ✔ Container frauddetection-service   Running                                                                                                                                                                                                             0.0s 
 ✔ Container quote-service            Running                                                                                                                                                                                                             0.0s 
 ✔ Container tracetest-server         Running                                                                                                                                                                                                             0.0s 
 ✔ Container currency-service         Running                                                                                                                                                                                                             0.0s 
 ✔ Container product-catalog-service  Running                                                                                                                                                                                                             0.0s 
 ✔ Container email-service            Running                                                                                                                                                                                                             0.0s 
 ✔ Container recommendation-service   Running                                                                                                                                                                                                             0.0s 
 ✔ Container checkout-service         Running                                                                                                                                                                                                             0.0s 
 ✔ Container frontend                 Running                                                                                                                                                                                                             0.0s 
[+] Running 3/3
 ✔ Container postgres            Healthy                                                                                                                                                                                                                  0.5s 
 ✔ Container kafka               Healthy                                                                                                                                                                                                                  0.5s 
 ✔ Container tracetest-postgres  Healthy                                                                                                                                                                                                                  0.5s 
tracetest CLI could not be found
make: *** [run-tracetesting] Error 255

@danielbdias
Copy link
Contributor

danielbdias commented Nov 28, 2023

hi @mviitane ! you don't need to install the CLI, because it is used internally on traceBasedTests image. Have you been able to run these tests some while ago?

Removing my old images with docker system prune -a and running again make run-trace testing should work.

Besides that, I'll look at the images to see if there is a way to avoid this conflict from happening again.

@mviitane
Copy link
Member

Thanks @danielbdias! This worked and I got rid of this CLI error.

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

3 participants