sitespeedio / browsertime

Measure and Optimize Web Performance

Home Page:https://www.sitespeed.io/documentation/browsertime/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot read properties of undefined (reading 'startTime')"" error on testing a website

rsrahulsingh opened this issue · comments

Have you read the documentation?

URL

sitespeed.io

What are you trying to accomplish

I am testing sitespeed.io on a linux instance and I am using sitespeedio docker for the entire setup.
The command I ran is :
docker run --rm -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:26.1.0 <urls.txt> --slug chrome_browser_test --graphite.addSlugToKey true -n 1 --graphite.host=<private_ip> --grphite.port 80 -b chrome

I have provided multiple urls in the url text file and it is giving the following error for some of the urls after the command is executed.

"performance": {
"firstContentfulPaint": "Cannot read properties of undefined (reading 'startTime')",
"longTasks": "Cannot read properties of undefined (reading 'startTime')"
}

Is there anything we need to configure to set the startTime?

I have also scheduled a Jenkins job to run the docker command in every 3 hrs and I have observed that the error is not produced in some of the runs. If it was a problem with page, it should be a consistent right?

The metrics that are not displayed are FirstVisualChange and LastVisualChange, attaching the screenshot below,
image.

image

The issue is intermittent. Can you please suggest on next steps.?

What browser did you use?

Chrome

How to reproduce

The command I ran is :
docker run --rm -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:26.1.0 <urls.txt> --slug chrome_browser_test --graphite.addSlugToKey true -n 1 --graphite.host=<private_ip> --grphite.port 80 -b chrome

Relevant log output

No response

Hi @rsrahulsingh seen a couple of these now, it seems Chrome doesn't report first contentful paint. However in your graph where you show the first visual change (that comes from the video) it seems that something else is wrong. If you access the result, what do the video and the filmstrip look like?

Didn't get a response.