Skip to content

Tracetests failing #179

@osullivandonal

Description

@osullivandonal

Bug Report

This is present in the latest commit in main, 535280b

Symptom

When you run the test suite via make run-tests some trace tests are failing:

✘ Shipping Service (http://tracetest-server:11633/testsuite/shipping-all/run/1)
        ✘ Shipping: Quote (http://tracetest-server:11633/test/shipping-quote/run/1/test) - trace id: 480bd952375157ec000b62cb64dd981f

                ✔ Required gates
                        ✔ analyzer-score
                        ✔ test-specs

✔ Email (http://tracetest-server:11633/testsuite/email-all/run/1)
        ✔ Email: Confirmation (http://tracetest-server:11633/test/email-confirmation/run/1/test) - trace id: 8aaa047296c8f31374549936c6e865ec
                ✔ It should be called successfully
                ✔ It should render a email to send
                ✔ It should send an email

✘ Checkout Service (http://tracetest-server:11633/testsuite/checkout-all/run/1)
        ✘ Checkout: place order (http://tracetest-server:11633/test/checkout-place-order/run/1/test) - trace id: 00ef16f9e661a04c4fa54893b3079797
                ✘ It returns a valid order
                        ✘ #043e9ca141a253b1
                                ✘ attr:tracetest.response.body | json_path '$.order.orderId' != "" (http://tracetest-server:11633/test/checkout-place-order/run/1/test?selectedAssertion=0&selectedSpan=043e9ca141a253b1)
                                ✘ attr:tracetest.response.body | json_path '$.order.shippingTrackingId' != "" (http://tracetest-server:11633/test/checkout-place-order/run/1/test?selectedAssertion=0&selectedSpan=043e9ca141a253b1)
                                ✘ attr:tracetest.response.body | json_path '$.order.shippingAddress' != "{}" (http://tracetest-server:11633/test/checkout-place-order/run/1/test?selectedAssertion=0&selectedSpan=043e9ca141a253b1)
                                ✘ attr:tracetest.response.body | json_path '$.order.shippingCost.currencyCode' = "USD" (http://tracetest-server:11633/test/checkout-place-order/run/1/test?selectedAssertion=0&selectedSpan=043e9ca141a253b1)
                ✘ It calls the PlaceOrder method successfuly
                        ✘ #meta
                                ✘ attr:rpc.grpc.status_code = 0 (http://tracetest-server:11633/test/checkout-place-order/run/1/test?selectedAssertion=1)
                ✘ It sends an order to be processed asyncronously
                        ✘ #meta
                                ✘ attr:messaging.destination.name = "orders" (http://tracetest-server:11633/test/checkout-place-order/run/1/test?selectedAssertion=2)

                ✘ Required gates
                        ✔ analyzer-score
                        ✘ test-specs

What is the expected behavior?

We expect to see the tests passing.

What is the actual behavior?

Some of the trace tests are failing, such as:

  • Shipping Service
  • Checkout Service

Reproduce

To reproduce this just run the tests locally via make run-tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions