Have a question (perhaps a feature request, maybe) on what happens if there system is not able to find a match with same name (mentioned in handling section)
Should we just create a new launch instead? or is there an alternative way of doing this. Maybe a bool
flag to create a new launch if no match is found.
2020-05-04 00:11:44.888 DEBUG 1 --- [nio-8585-exec-8] c.e.t.r.w.c.LaunchAsyncController : startLaunch (1) - Request
POST /v2/testtrends/launch
host: 172.16.5.102:8080
user-agent: python-requests/2.23.0
content-length: 206
accept: */*
accept-encoding: gzip, deflate
authorization: bearer dummy-data-token
content-type: application/json
x-forwarded-for: A.B.C.D
x-forwarded-host: 172.16.5.102:8080
x-forwarded-port: 8080
x-forwarded-prefix: /api
x-forwarded-proto: http
x-forwarded-server: 92e1ed063364
x-real-ip: A.B.C.D
-- Body --
{"startTime":1588551104680,"name":"1.2.3_(Build-3017) Execution","description":"Automated Behave Runner","attributes":[{"key":"build","value":"1.2.3_(Build-3017)","system":false}],"rerun":true}
2020-05-04 00:11:44.901 DEBUG 1 --- [nio-8585-exec-8] c.e.t.r.w.c.LaunchAsyncController : startLaunch (1) - Response (13 ms)
Status - OK (method return)
-- Body --
{"id":"7c7240f1-561c-42b3-83fb-a1dc1f37f0e5","number":null}
2020-05-04 00:11:44.910 DEBUG 1 --- [cTaskExecutor-1] c.e.t.r.w.rabbit.AsyncReportingListener : onMessage - Rabbit message
requestType: START_LAUNCH
projectName: testtrends
__TypeId__: com.epam.ta.reportportal.ws.model.launch.StartLaunchRQ
username: qauser
-- Body --
{"startTime":1588551104680,"name":"1.2.3_(Build-3017) Execution","description":"Automated Behave Runner","attributes":[{"key":"build","value":"1.2.3_(Build-3017)","system":false}],"uuid":"7c7240f1-561c-42b3-83fb-a1dc1f37f0e5","rerun":true}
2020-05-04 00:11:44.956 ERROR 1 --- [cTaskExecutor-1] c.e.t.r.w.rabbit.AsyncReportingListener : exception : com.epam.ta.reportportal.exception.ReportPortalException, message : Launch '1.2.3_(Build-3017) Execution' not found. Did you use correct Launch ID?, cause :
2020-05-04 00:11:44.959 WARN 1 --- [cTaskExecutor-1] s.a.r.l.ConditionalRejectingErrorHandler : Execution of Rabbit message listener failed.
org.springframework.amqp.rabbit.support.ListenerExecutionFailedException: Listener threw exception
at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.wrapToListenerExecutionFailedExceptionIfNeeded(AbstractMessageListenerContainer.java:1683)
Some details on my versioning...
reportportal/service-api:5.0.0
reportportal/service-analyzer:5.0.0
reportportal/service-index:5.0.5
rabbitmq:3.7.16-management
minio/minio:latest
docker.elastic.co/elasticsearch/elasticsearch-oss:7.3.0
reportportal/service-authorization:5.0.0
traefik:1.7.12
postgres:12-alpine
reportportal/service-ui:5.0.0