giis-uniovi / retorch-st-eShopContainers

RETORCH eShopContainers End-to-End Test Suite
Apache License 2.0
1 stars 0 forks source link

TJobE reports 502 Bad Gateway in certain executions #71

Closed augustocristian closed 5 months ago

augustocristian commented 5 months ago

The test case indicates a 502 (Bad Gateway) error during certain regression executions. The affected test cases involve the creation and cancellation of an order. For more details: Image link Test case 1 Test case 2 In the second test case (removeOrder), the test begins with the user login, but likely due to the preceding creation of an order in the first case, it fails to complete the logout. The webmvc reports that the error comes from the ordering service: webmvc_tjobe.log The rabbitmq queue reports also some problems with the database connection: ordering_backgroundtasks_tjobe.log More details could be found in the execution 114 of ft_TJobFlakyC

augustocristian commented 5 months ago

The problem is caused by a timeout in the database migration: ordering_api_tjobe.log

augustocristian commented 5 months ago

Several exec in the fix branch: image

augustocristian commented 5 months ago

From what I gather, there seems to be an issue with the database not being ready to accept queries, which is causing other problems. The first log, found at https://github.com/giis-uniovi/retorch-st-eShopContainers/files/15305467/sqldata_tjobf_identityOK.log , shows the successful creation of the identity table. However, the second log, located at https://github.com/giis-uniovi/retorch-st-eShopContainers/files/15305468/sqldata_tjobd_notIdentityService.log, reports failures due to the database not being ready to accept connections.