maciejmaciejewski / azure-pipelines-protractor

Embed Protractor HTML report in Azure Pipelines
MIT License
3 stars 3 forks source link

Waiting for task results #14

Open ishalagin opened 4 years ago

ishalagin commented 4 years ago

Facing and issue where I've added the task and it completes successfully but when I go to the Protractor tab to view results it just hangs with: "Waiting for task results..."

image

Snippet of the logs:


2020-07-14T21:55:05.5067100Z ##[debug]cwd=C:\InboundAgent\_work\7\s\resultsDir
2020-07-14T21:55:05.5067571Z ##[debug]C:\InboundAgent\_work\7\s\resultsDir
2020-07-14T21:55:05.5289065Z ##[debug]Processed: ##vso[task.addattachment name=002800d0-0018-0027-00a0-0059008300ca.png;type=protractor.screenshot;]C:/InboundAgent/_work/7/s/resultsDir/screenshots/002800d0-0018-0027-00a0-0059008300ca.png
2020-07-14T21:55:05.5289248Z ##[debug]Agent.JobName=AutomatedTesting
2020-07-14T21:55:05.5289332Z ##[debug]System.StageDisplayName=__default
2020-07-14T21:55:05.5289386Z ##[debug]System.StageAttempt=1
2020-07-14T21:55:05.5289457Z ##[debug]tabName=Test
2020-07-14T21:55:05.5290200Z ##[debug]Processed: ##vso[task.addattachment name=Test.automated-testing.__default.1.bf458ee18595043fb430573d29c30e6a;type=protractor.report;]C:\InboundAgent\_work\7\s\resultsDir\combined.json
2020-07-14T21:55:05.5626108Z ##[section]Finishing: Publish Protractor Report```
maciejmaciejewski commented 4 years ago

Hey @ishalagin From the attached log I can see that both screenshot and summary are uploaded correctly. Could you check if there are any errors in your browser console?

ishalagin commented 4 years ago

Hey @maciejmaciejewski Thank you for responding. I looked at the browser logs and there is no error just a bunch of "user messages" that seem to be resolved and 2 warnings: image

I'm also wondering if this could have anything to do with running DevOps server on-premise? We currently do not have a connection to azure cloud storage from here, we are going to be migrating to DevOps services which will talk to our Azure Cloud Storage. Thank you.

maciejmaciejewski commented 4 years ago

I haven't actually tidied it on premise. I will add more logging so it would be easier to troubleshoot issues.

Edit: I have checked last 90 days extension report and 5 of the installation were on-premise.

maciejmaciejewski commented 4 years ago

@ishalagin I have added more logs so you can have a look at the browser.

ishalagin commented 4 years ago

Thank you very much again, some new errors showed up in browser console seems like a disconnection and connection issue linked to SignalR but then eventually it connected. But here is the error:

Uncaught (in promise) Array(1) 0: Error: Connection was disconnected before invocation result was received. at Object.error (https://`site`/_static/_ext/ms.vss-features/signalr/ms.vss-features.signalr.es6.W2c2cBpCyEsNSeJU.min.js:1:5589) __proto__: Object length: 1 __proto__: Array(0)

This is just a snippet of the error it just goes on over different methods I think

Thanks!

jhaughs commented 3 years ago

I am also experiencing this issue, was there ever a solution to this?

image