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

Launch not being set to complete after test executions #45

Closed
jayespiritu-anz opened this issue Apr 12, 2023 · 5 comments · Fixed by #39
Closed

Launch not being set to complete after test executions #45

jayespiritu-anz opened this issue Apr 12, 2023 · 5 comments · Fixed by #39
Labels
bug Something isn't working
Milestone

Comments

@jayespiritu-anz
Copy link

URL: https://demo.reportportal.io/
Version: 5.7.4
Integration: WebdriverIO / Mocha

I have a very simple test file to create a POC to use Report Portal (mage 1). But whenever the test execution is complete, launch dashboard still displays that it's being executed (mage 2). So when isLaunchMergeRequired is enabled, it's erroring to merge all files.

Is there a workaround to merge test results of multiple test files into 1 launch?

Image 1:
image

Image 2
Screenshot 2023-04-13 at 8 42 14 am

Error merging launches with UUIDs: 0412c9dd-a5e2-44a7-89af-86ae0c20a138,9f6551fc-da47-46fc-8ae5-b947d0f9a2dd,a158ebaa-9230-4615-acde-94cfb01d64e1,ee254715-b564-4401-a800-3128aeca3a81 Error: Request failed with status code 406: {"errorCode":4063,"message":"Unable to perform operation for non-finished launch. Cannot merge launch '34' with status 'IN_PROGRESS'"}
URL: https://demo.reportportal.io/api/v1/personal_demo/launch/merge
method: POST
Request data: {"launches":[34,35,36,37],"mergeType":"BASIC","description":"Merged launch","mode":"DEFAULT","name":"Salesforce Automation Test","endTime":1681338924480,"extendSuitesDescription":true}
    at /Users/tester/demo-test/node_modules/@reportportal/client-javascript/lib/rest.js:41:15
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.onComplete (/Users/tester/wdio.conf.ts:395:9)
    at async /Users/tester/node_modules/@wdio/cli/build/utils.js:99:13
    at async Promise.all (index 0)
    at async Launcher.run (/Users/tester/node_modules/@wdio/cli/build/launcher.js:96:39)
@AmsterGet AmsterGet added bug Something isn't working Check: UI labels Aug 23, 2023
@rams-kroger
Copy link

Hi Team, Any update on this issue ?

@owens-ben
Copy link

having the same issue

@DzmitryHumianiuk
Copy link
Member

@AmsterGet what if we also send FinishLaunchRQ for launches in the list before merging?
since the error says we can't merge launches with IN PROGRESS state.

@AmsterGet AmsterGet added this to the 5.1.0 milestone Feb 2, 2024
@AmsterGet
Copy link
Member

Looks the same as #53 and #47

@AmsterGet
Copy link
Member

Fixed in version 5.1.0.

@AmsterGet AmsterGet linked a pull request Feb 6, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

5 participants