sitespeed.io icon indicating copy to clipboard operation
sitespeed.io copied to clipboard

Jenkins sitespeed.io report does not display `Page summary`

Open sakonachhoeurng opened this issue 9 years ago • 18 comments

Hey, please help, why it does not display the page when I run with command sitespeed.io --browsertime.selenium.url http://10.10.10.120:4444/wd/hub --outputFolder build/logs https://www.web-essentials.asia/ but when I run on my local, it displays this. I do not what is the problem and cause.

Her is the screenshot capture 2017-03-05 at 13 56 15

Thanks for help and your time, Sakona

sakonachhoeurng avatar Mar 03 '17 07:03 sakonachhoeurng

Hey @sakonachhoeurng do you run the report in an iframe (using Publish HTML Reports)?

Can check the logs from the run, is there an error there? Else check the console in your browser, do you see any error there?

Best Peter

soulgalore avatar Mar 03 '17 07:03 soulgalore

Yes, I use Publish HTML Reports to display the report by pointing to the file, my choice I choose index.html to display the report. I do not see any error there. And on Jenkins we use version like this sitespeed.io: 4.3.4

sakonachhoeurng avatar Mar 03 '17 07:03 sakonachhoeurng

Ok, that uses an iframe, wonder if that can cause an isseue. If you use Chrome and check the console on that page:

screen shot 2017-03-03 at 8 54 54 am

Nothing there?

soulgalore avatar Mar 03 '17 07:03 soulgalore

Yes, I use chrome, and it does not display something. But this web page is my company internal website. And we can access only internal. I think this is not problem because when I run on local, it display the report correctly.

sakonachhoeurng avatar Mar 03 '17 08:03 sakonachhoeurng

Can you zip the full result folder for that run and share it so I can have a look?

soulgalore avatar Mar 03 '17 08:03 soulgalore

build.zip Please check it.

sakonachhoeurng avatar Mar 03 '17 08:03 sakonachhoeurng

I try to check with this from download and run file index.html and see that it display report correctly, but do not why in Jenkins does not display that.

sakonachhoeurng avatar Mar 03 '17 08:03 sakonachhoeurng

yep it worked for me when I test your zip locally so I guess it must be an issue with Jenkins and running in the iframe? screen shot 2017-03-03 at 9 04 59 am

soulgalore avatar Mar 03 '17 08:03 soulgalore

Yes, I think it problem with Jenkins. Cause it work correctly from local.

sakonachhoeurng avatar Mar 03 '17 08:03 sakonachhoeurng

Do you know how that we can fix this, or another that can help?

sakonachhoeurng avatar Mar 03 '17 08:03 sakonachhoeurng

I think it similar to this issue https://github.com/sitespeedio/sitespeed.io/issues/1265

sakonachhoeurng avatar Mar 03 '17 08:03 sakonachhoeurng

Yep it is the same, lets focus on that. Closing this, ref https://github.com/sitespeedio/sitespeed.io/issues/1265

soulgalore avatar Mar 03 '17 08:03 soulgalore

I have similar issue, I am currently using windows OS, so using oracle VM toolbox, and trigger the sitespeed.io and wiki_barack_obama tests. Looks like I am able to run the test successfully, but unable to view the reports.

Note: I have mounted my local drive on the virtual toolbox and copied the reports and trying to open those reports in my local machine (windows) to view reports, but not opening.

fayazmd avatar May 09 '18 06:05 fayazmd

@fayazmd and the fix in https://github.com/sitespeedio/sitespeed.io/issues/1265 didn't help?

soulgalore avatar May 09 '18 06:05 soulgalore

I am able to view reports now, after the test against wiki page, thank you @soulgalore. However, when I run test against my application, I am seeing errors as follows in the execution reports:

On Reports page, error tab I am seeing as follows:

Errors! url errors https://10.1.179.30 { "browsertime": "Failed to load https://10.1.179.30" }

And then on console errors as follows:

Uncaught TypeError: Cannot read property 'rows' of undefined
    at Object.getColumnType (sortable.min.js:2)
    at Object.setupClickableTH (sortable.min.js:2)
    at Object.initTable (sortable.min.js:2)
    at init (sortable.min.js:2)

Note: I am not executing on jenkins tool yet, but on Oracle VM VirtualBox. Please let me know, if we want to open a separate ticket for this, if you feel I am on wrong thread, at this point.

fayazmd avatar May 09 '18 10:05 fayazmd

Yes please open a separate issue. It seems it cannot reach the IP you are using?

soulgalore avatar May 09 '18 10:05 soulgalore

IP is reachable and I am able to login to my application manually. And yes, will open a separate ticket for new problem

fayazmd avatar May 09 '18 10:05 fayazmd

Yeah but you are hijacking a closed issue :) Please create a new issue where you explain your problem and verify that you had done the fix for CSP referenced in this thread.

Thanks Peter

soulgalore avatar May 09 '18 11:05 soulgalore