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

VisualMetrics failed to run ExecaError

Open prim84 opened this issue 11 months ago • 5 comments

Your question

We are using the sitespeed 35.7.2 , browsertime - 23.4.3 ,coach -8.0.2. while trying to get visualMetrics from a user journey , it throws "VisualMetrics failed to run ExecaError". I have also installed other dependencies as below. Please let me know if I am missing something

other dependencies installed python -m pip install --upgrade --user pip python -m pip install --upgrade --user setuptools python -m pip install --user pyssim OpenCV-Python Numpy python -m pip --version python -m pip show Pillow python -m pip show pyssim

Detailed sitespeed error [2025-01-10 11:22:02] INFO: Get visual metrics from the video [2025-01-10 11:22:05] ERROR: VisualMetrics failed to run ExecaError: Command failed with exit code 1: python "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py" --dir "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\measure_LPA_v1_mjs\2025-01-10-11-21-15\pages\XXXXX\01_LaunchURL\data\filmstrip\1" --video "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\measure_LPA_v1_mjs\2025-01-10-11-21-15\pages\XXXXX\01_LaunchURL\data\video\1.mp4" --orange --force --renderignore 5 --json --viewport --viewportretries 60 --viewportminheight 100 --viewportminwidth 100 -q 75 --logfile "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\measure_LPA_v1_mjs\2025-01-10-11-21-15\pages\XXXXX\01_LaunchURL\data\video\1.visualmetrics.log" -vvv

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.")

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.") at getFinalError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/final-error.js:6:9) at makeError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/result.js:108:16) at getAsyncResult (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:167:4) at handlePromise (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:150:17) at async run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/visualMetrics.js:140:20) at async getVideoMetrics (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/getVideoMetrics.js:33:21) at async Video.postProcessing (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/video.js:97:22) at async Iteration.run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/iteration.js:222:34) at async Engine.runByScript (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/index.js:308:20) at async analyzeUrl (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/analyzer.js:215:12) at async BrowsertimePlugin.processMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/index.js:173:26) [2025-01-10 11:22:05] ERROR: Log from VisualMetrics: 11:22:05.183 - Processing frames from video C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\measure_LPA_v1_mjs\2025-01-10-11-21-15\pages\XXXX\01_LaunchURL\data\video\1.mp4 to C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\measure_LPA_v1_mjs\2025-01-10-11-21-15\pages\XXXX\01_LaunchURL\data\filmstrip\1 11:22:05.185 - [WinError 2] The system cannot find the file specified Traceback (most recent call last): File "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py", line 2021, in main video_to_frames( File "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py", line 387, in video_to_frames is_mobile = find_recording_platform(video) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py", line 496, in find_recording_platform proc = subprocess.Popen(command, stderr=subprocess.PIPE, encoding="UTF-8") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\subprocess.py", line 1026, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Program Files\Python312\Lib\subprocess.py", line 1538, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] The system cannot find the file specified

[2025-01-10 11:22:05] ERROR: Could not run Visual Metrics ExecaError: Command failed with exit code 1: python "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py" --dir "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\measure_LPA_v1_mjs\2025-01-10-11-21-15\pages\xxxxx\01_LaunchURL\data\filmstrip\1" --video "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\measure_LPA_v1_mjs\2025-01-10-11-21-15\pages\xxxx\01_LaunchURL\data\video\1.mp4" --orange --force --renderignore 5 --json --viewport --viewportretries 60 --viewportminheight 100 --viewportminwidth 100 -q 75 --logfile "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\measure_LPA_v1_mjs\2025-01-10-11-21-15\pages\xxxxxx\01_LaunchURL\data\video\1.visualmetrics.log" -vvv

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.")

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.") at getFinalError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/final-error.js:6:9) at makeError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/result.js:108:16) at getAsyncResult (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:167:4) at handlePromise (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:150:17) at async run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/visualMetrics.js:140:20) at async getVideoMetrics (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/getVideoMetrics.js:33:21) at async Video.postProcessing (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/video.js:97:22) at async Iteration.run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/iteration.js:222:34) at async Engine.runByScript (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/index.js:308:20) at async analyzeUrl (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/analyzer.js:215:12) at async BrowsertimePlugin.processMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/index.js:173:26) [2025-01-10 11:22:05] ERROR: Visual Metrics failed to analyse the video ExecaError: Command failed with exit code 1: python "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py" --dir "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\measure_LPA_v1_mjs\2025-01-10-11-21-15\pages\xxxxx\01_LaunchURL\data\filmstrip\1" --video "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\measure_LPA_v1_mjs\2025-01-10-11-21-15\pages\xxxx\01_LaunchURL\data\video\1.mp4" --orange --force --renderignore 5 --json --viewport --viewportretries 60 --viewportminheight 100 --viewportminwidth 100 -q 75 --logfile "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\measure_LPA_v1_mjs\2025-01-10-11-21-15\pages\xxxxx\01_LaunchURL\data\video\1.visualmetrics.log" -vvv

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.")

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.") at getFinalError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/final-error.js:6:9) at makeError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/result.js:108:16) at getAsyncResult (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:167:4) at handlePromise (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:150:17) at async run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/visualMetrics.js:140:20) at async getVideoMetrics (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/getVideoMetrics.js:33:21) at async Video.postProcessing (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/video.js:97:22) at async Iteration.run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/iteration.js:222:34) at async Engine.runByScript (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/index.js:308:20) at async analyzeUrl (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/analyzer.js:215:12) at async BrowsertimePlugin.processMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/index.js:173:26) [2025-01-10 11:22:05] ERROR: TypeError: Cannot read properties of undefined (reading 'push') at Iteration.run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/iteration.js:252:36) at async Engine.runByScript (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/index.js:308:20) at async analyzeUrl (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/analyzer.js:215:12) at async BrowsertimePlugin.processMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/index.js:173:26) [2025-01-10 11:22:05] INFO: xxxxx/as/authorization.oauth2?response_type=code&client_id=fmac_oidc_authz_pip_pa_wam&redirect_uri=XXXXXX01 TTFB: 146ms, firstPaint: 479ms, FCP: 479ms, DOMContentLoaded: 445ms, LCP: 479ms, CLS: 0, TBT: 0ms, CPUBenchmark: 78ms, Load: 533ms [2025-01-10 11:22:05] INFO: xxxxx TTFB: 179ms, firstPaint: 1.25s, FCP: 1.25s, DOMContentLoaded: 1.21s, LCP: 1.49s, CLS: 0.0012, TBT: 0ms, CPUBenchmark: 76ms, Load: 1.47s [2025-01-10 11:22:05] INFO: xxxxxTTFB: 179ms, firstPaint: 1.25s, FCP: 1.25s, DOMContentLoaded: 1.21s, LCP: 1.49s, CLS: 0.0055, TBT: 44ms, CPUBenchmark: 77ms, Load: 1.47s [2025-01-10 11:22:05] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:283:13) [2025-01-10 11:22:06] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:350:13) [2025-01-10 11:22:07] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:283:13) [2025-01-10 11:22:07] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:350:13) [2025-01-10 11:22:07] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:283:13) [2025-01-10 11:22:07] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:350:13)

prim84 avatar Jan 10 '25 16:01 prim84

Hi @prim84 thank you for creating the issue. Here are the instructions on how to make your issue reproducible: https://www.sitespeed.io/documentation/sitespeed.io/bug-report/#explain-how-to-reproduce-your-issue

soulgalore avatar Jan 10 '25 17:01 soulgalore

Tool versions - sitespeed 35.7.2 , browsertime - 23.4.3 ,coach -8.0.2. Browser used - Chrome 131.0.6778.109 OS used - Windows 11. Not using docker URL used - https://www.google.com Command used to run - node sitespeed.js google1.mjs --multi --browsertime.iterations 1 --browsertime.skipHar

Script used /**

  • @param {import('browsertime').BrowsertimeContext} context
  • @param {import('browsertime').BrowsertimeCommands} commands */ export default async function (context, commands) {

const seleniumWebdriver = context.selenium.webdriver; const By = seleniumWebdriver.By; const seleniumDriver = context.selenium.driver; const Key = {RETURN: '\uE006'}

/Launch/ await commands.navigate('https://www.google.com');

/search**/ const searchtextarea = await seleniumDriver.findElement(By.xpath('//textarea[@title="Search"]')); searchtextarea.sendKeys('test'); await commands.measure.start('google_search'); await seleniumDriver.actions() .sendKeys(Key.RETURN) .perform() await commands.wait.byXpath('//div/div[contains(text(),"All re")]',10000); await commands.measure.stop();

/Images Tab**/ const Imagestab = await seleniumDriver.findElement(By.xpath('//div[text()="Images"]')); await commands.measure.start('ImagesTab'); Imagestab.click(); await commands.wait.byPageToComplete(); await commands.measure.stop();

/Videos Tab**/ const Videostab = await seleniumDriver.findElement(By.xpath('//div[text()="Videos"]')); await commands.measure.start('VideosTab'); Videostab.click(); await commands.wait.byPageToComplete(); await commands.measure.stop();

/** Shopping tab */ const Shoppingtab = await seleniumDriver.findElement(By.xpath('//div[text()="Shopping"]')); await commands.measure.start('Shoppingtab'); Shoppingtab.click(); await commands.wait.byPageToComplete(); await commands.measure.stop(); }

Error

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin>node sitespeed.js google1.mjs --multi --browsertime.iterations 1 --browsertime.skipHar (node:10628) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) [2025-01-13 18:29:20] INFO: Versions OS: win32 10.0.22631 nodejs: v21.1.0 sitespeed.io: 35.7.2 browsertime: 23.4.3 coach: 8.0.2 [2025-01-13 18:29:20] INFO: Running tests using Chrome - 1 iteration(s)

DevTools listening on ws://127.0.0.1:9222/devtools/browser/c95c9403-0c8f-4603-a3a9-253fa529ff30 [16172:9480:0113/182923.487:ERROR:host_mapping_rules.cc(146)] Failed parsing rule: "MAP cache.pack.google.com 127.0.0.1 [16172:9480:0113/182923.627:ERROR:host_mapping_rules.cc(146)] Failed parsing rule: "MAP cache.pack.google.com 127.0.0.1 [16172:9480:0113/182923.712:ERROR:host_mapping_rules.cc(146)] Failed parsing rule: "MAP cache.pack.google.com 127.0.0.1 [2025-01-13 18:29:24] INFO: Navigating to url https://www.google.com iteration 1 Created TensorFlow Lite XNNPACK delegate for CPU. Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#-1 is a dynamic-sized tensor). [2025-01-13 18:29:31] INFO: Start to measure google_search [2025-01-13 18:29:33] INFO: Take after page complete check screenshot [2025-01-13 18:29:35] INFO: Take cumulative layout shift screenshot [2025-01-13 18:29:36] INFO: Take largest contentful paint screenshot [2025-01-13 18:29:38] INFO: Start to measure ImagesTab [2025-01-13 18:29:47] INFO: Take after page complete check screenshot [2025-01-13 18:29:48] INFO: Take cumulative layout shift screenshot [2025-01-13 18:29:49] INFO: Take largest contentful paint screenshot [2025-01-13 18:29:51] INFO: Start to measure VideosTab [2025-01-13 18:29:52] INFO: Mark run as failure with message: VideosTab is not defined [2025-01-13 18:29:52] ERROR: ReferenceError: VideosTab is not defined at default (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/bin/google1.mjs:39:3) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/run.js:4:7 at async Iteration.run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/iteration.js:162:9) at async Engine.runByScript (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/index.js:308:20) at async analyzeUrl (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/analyzer.js:215:12) at async BrowsertimePlugin.processMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/index.js:173:26) [2025-01-13 18:29:52] INFO: https://www.google.com/search?q=test&sca_esv=31eeb548d185449e&source=hp&ei=1KGFZ6P2PPWg5NoPgqK_4Ak&iflsig=AL9hbdgAAAAAZ4Wv5ap-UPz2AlpHVNQWc-3SeOt6EENv&ved=0ahUKEwijsPGE7fOKAxV1EFkFHQLRD5wQ4dUDCBA&uact=5&oq=test&gs_lp=Egdnd3Mtd2l6IgR0ZXN0MgsQABiABBiRAhiKBTILEAAYgAQYkQIYigUyChAAGIAEGEMYigUyChAAGIAEGEMYigUyChAAGIAEGEMYigUyCxAAGIAEGLEDGIMBMgsQABiABBixAxiDATIKEAAYgAQYQxiKBTIIEAAYgAQYsQMyChAAGIAEGEMYigVIgAJQAFgacAB4AJABAJgBnwGgAZADqgEDMS4yuAEDyAEA-AEBmAIDoAKnA8ICCxAuGIAEGLEDGIMBwgIKEC4YgAQYQxiKBcICERAuGIAEGLEDGNEDGIMBGMcBwgIOEC4YgAQYsQMY0QMYxwHCAhMQLhiABBixAxjRAxhDGMcBGIoFwgIQEAAYgAQYsQMYQxiDARiKBcICEBAuGIAEGNEDGEMYxwEYigWYAwCSBwMxLjKgB6Aa&sclient=gws-wiz TTFB: 73ms, firstPaint: 175ms, FCP: 175ms, DOMContentLoaded: 542ms, LCP: 309ms, CLS: 0, TBT: 418ms, CPUBenchmark: 78ms, Load: 3.60s [2025-01-13 18:29:52] INFO: https://www.google.com/search?safe=active&sca_esv=31eeb548d185449e&q=test&udm=2&fbs=AEQNm0Aa4sjWe7Rqy32pFwRj0UkWd8nbOJfsBGGB5IQQO6L3J7pRxUp2pI1mXV9fBsfh39Jw_Y7pXPv6W9UjIXzt09-YaAdYqbW8TLYaVEFL3WpJtQFJOum7dbWsXFrJGnLceCXoTfke1fXWmf63GQyBb5AXDh5dnqLD7zrQ2-Ibu9q1-K2Xx5WE9yQE1WDMbb7kZR02dYTYOL5npHv4_kL_AtKuj1qQNA&sa=X&ved=2ahUKEwjgmaOI7fOKAxXWFVkFHYMwApgQtKgLegQIFBAB&biw=1352&bih=580&dpr=1.25 TTFB: 91ms, firstPaint: 203ms, FCP: 203ms, DOMContentLoaded: 788ms, LCP: 537ms, CLS: 0, TBT: 627ms, CPUBenchmark: 79ms, Load: 1.64s [2025-01-13 18:29:52] INFO: google1.mjs file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/core/queueHandler.js:31 throw new Error(Page summary message (${type}) didn't specify a group.); ^

Error: Page summary message (browsertime.pageSummary) didn't specify a group. at validatePageSummary (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/core/queueHandler.js:31:11) at validateMessageFormat (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/core/queueHandler.js:87:3) at QueueHandler.postMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/core/queueHandler.js:201:5) at BrowsertimePlugin.sendMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/@sitespeed.io/plugin/plugin.js:110:23) at BrowsertimePlugin.processMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/index.js:576:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v21.1.0

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin>node sitespeed.js google1.mjs --multi --browsertime.iterations 1 --browsertime.skipHar (node:14824) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) [2025-01-13 18:30:25] INFO: Versions OS: win32 10.0.22631 nodejs: v21.1.0 sitespeed.io: 35.7.2 browsertime: 23.4.3 coach: 8.0.2 [2025-01-13 18:30:26] INFO: Running tests using Chrome - 1 iteration(s)

DevTools listening on ws://127.0.0.1:9222/devtools/browser/196603b3-e114-4627-8a9e-a559240314b8 [6348:11104:0113/183028.643:ERROR:host_mapping_rules.cc(146)] Failed parsing rule: "MAP cache.pack.google.com 127.0.0.1 [6348:11104:0113/183028.798:ERROR:host_mapping_rules.cc(146)] Failed parsing rule: "MAP cache.pack.google.com 127.0.0.1 [6348:11104:0113/183028.892:ERROR:host_mapping_rules.cc(146)] Failed parsing rule: "MAP cache.pack.google.com 127.0.0.1 [2025-01-13 18:30:29] INFO: Navigating to url https://www.google.com iteration 1 Created TensorFlow Lite XNNPACK delegate for CPU. Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#-1 is a dynamic-sized tensor). [2025-01-13 18:30:36] INFO: Start to measure google_search [2025-01-13 18:30:38] INFO: Take after page complete check screenshot [2025-01-13 18:30:40] INFO: Take cumulative layout shift screenshot [2025-01-13 18:30:41] INFO: Take largest contentful paint screenshot [2025-01-13 18:30:43] INFO: Start to measure ImagesTab [2025-01-13 18:30:50] INFO: Take after page complete check screenshot [2025-01-13 18:30:51] INFO: Take cumulative layout shift screenshot [2025-01-13 18:30:52] INFO: Take largest contentful paint screenshot [2025-01-13 18:30:55] INFO: Start to measure VideosTab [2025-01-13 18:31:01] INFO: Take after page complete check screenshot [2025-01-13 18:31:02] INFO: Take cumulative layout shift screenshot [2025-01-13 18:31:03] INFO: Take largest contentful paint screenshot [2025-01-13 18:31:06] INFO: Start to measure Shoppingtab [2025-01-13 18:31:14] INFO: Take after page complete check screenshot [2025-01-13 18:31:15] INFO: Take cumulative layout shift screenshot [2025-01-13 18:31:16] INFO: Take largest contentful paint screenshot [2025-01-13 18:31:21] INFO: https://www.google.com/search?q=test&sca_esv=31eeb548d185449e&source=hp&ei=FqKFZ8WUD7nj5NoPidjaOQ&iflsig=AL9hbdgAAAAAZ4WwJmlvkqivewb94Jwv56v_XlTiMXol&ved=0ahUKEwjF9_-j7fOKAxW5MVkFHQmsNgcQ4dUDCBA&uact=5&oq=test&gs_lp=Egdnd3Mtd2l6IgR0ZXN0MgsQABiABBixAxiDATILEAAYgAQYsQMYgwEyCBAAGIAEGLEDMgUQABiABDIIEAAYgAQYsQMyBRAAGIAEMg0QLhiABBhDGNQCGIoFMggQABiABBixAzIIEAAYgAQYsQMyERAuGIAEGLEDGIMBGMcBGK8BSK8CUABYH3AAeACQAQGYAY4CoAG8A6oBBTEuMS4xuAEDyAEA-AEBmAICoAK_AcICCxAuGIAEGLEDGIMBwgIKEAAYgAQYQxiKBcICERAuGIAEGLEDGNEDGIMBGMcBwgIOEC4YgAQYsQMY0QMYxwHCAgUQLhiABMICCBAuGIAEGNQCmAMAkgcDMS4xoAf9Jg&sclient=gws-wiz TTFB: 76ms, firstPaint: 147ms, FCP: 147ms, DOMContentLoaded: 491ms, LCP: 298ms, CLS: 0, TBT: 163ms, CPUBenchmark: 77ms, Load: 2.42s [2025-01-13 18:31:21] INFO: https://www.google.com/search?safe=active&sca_esv=31eeb548d185449e&q=test&udm=2&fbs=AEQNm0Aa4sjWe7Rqy32pFwRj0UkWd8nbOJfsBGGB5IQQO6L3J7pRxUp2pI1mXV9fBsfh39Jw_Y7pXPv6W9UjIXzt09-YaAdYqbW8TLYaVEFL3WpJtQFJOum7dbWsXFrJGnLceCXoTfke1fXWmf63GQyBb5AXDh5dnqLD7zrQ2-Ibu9q1-K2Xx5WE9yQE1WDMbb7kZR02dYTYOL5npHv4_kL_AtKuj1qQNA&sa=X&ved=2ahUKEwjzta-n7fOKAxXeFlkFHd9HAO4QtKgLegQIFBAB&biw=1352&bih=580&dpr=1.25 TTFB: 61ms, firstPaint: 247ms, FCP: 247ms, DOMContentLoaded: 434ms, LCP: 297ms, CLS: 0, TBT: 362ms, CPUBenchmark: 77ms, Load: 1.08s [2025-01-13 18:31:21] INFO: https://www.google.com/search?safe=active&sca_esv=31eeb548d185449e&q=test&udm=7&fbs=AEQNm0BRbrA8b3J1Cq1UM3gcLH4C5Qkra5K5X4ClmjziNi_JrnVDMUZGxwqt5I0kn_ycraebbyI-xGB1EK-WiW5Iq1meOOlEgf_R3MQtA0zs8cPcbZfBW_FR4JvkAvuGF29UCP1AiCOBt06JeAbhY5HkK6MN3XvpUFyKsNVdVRDzc_6xoa_TEWLEg-2f8uPAWGca422TxrfC90dSKtdLGYC7DbLtvzr0hA&sa=X&ved=2ahUKEwizgOaL7fOKAxXTF1kFHSenJpAQtKgLegQIEhAB&cshid=1736811044012019&biw=1352&bih=580&dpr=1.25 TTFB: 107ms, firstPaint: 188ms, FCP: 188ms, DOMContentLoaded: 359ms, LCP: 303ms, CLS: 0, TBT: 204ms, CPUBenchmark: 81ms, Load: 930ms [2025-01-13 18:31:21] INFO: https://www.google.com/search?safe=active&sca_esv=31eeb548d185449e&q=test&udm=28&fbs=AEQNm0Aa4sjWe7Rqy32pFwRj0UkWd8nbOJfsBGGB5IQQO6L3J7pRxUp2pI1mXV9fBsfh39Jw_Y7pXPv6W9UjIXzt09-YaAdYqbW8TLYaVEFL3WpJtQFJOum7dbWsXFrJGnLceCXoTfke1fXWmf63GQyBb5AXDh5dnqLD7zrQ2-Ibu9q1-K2Xx5WE9yQE1WDMbb7kZR02dYTYOL5npHv4_kL_AtKuj1qQNA&ved=1t:220175&ictx=111&biw=1352&bih=580&dpr=1.25 TTFB: 102ms, firstPaint: 262ms, FCP: 262ms, DOMContentLoaded: 806ms, LCP: 696ms, CLS: 0, TBT: 521ms, CPUBenchmark: 85ms, Load: 1.98s [2025-01-13 18:31:23] INFO: HTML stored in C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-30-25

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin>node sitespeed.js google1.mjs --multi --browsertime.iterations 1 --browsertime.skipHar --visualMetrics (node:4644) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) [2025-01-13 18:32:58] INFO: Versions OS: win32 10.0.22631 nodejs: v21.1.0 sitespeed.io: 35.7.2 browsertime: 23.4.3 coach: 8.0.2 [2025-01-13 18:32:59] INFO: Running tests using Chrome - 1 iteration(s)

DevTools listening on ws://127.0.0.1:9222/devtools/browser/c74311fd-b65a-4752-8068-1aa1e4d969c0 [11592:8556:0113/183302.896:ERROR:host_mapping_rules.cc(146)] Failed parsing rule: "MAP cache.pack.google.com 127.0.0.1 [11592:8556:0113/183302.898:ERROR:host_mapping_rules.cc(146)] Failed parsing rule: "MAP cache.pack.google.com 127.0.0.1 [11592:8556:0113/183302.937:ERROR:host_mapping_rules.cc(146)] Failed parsing rule: "MAP cache.pack.google.com 127.0.0.1 [2025-01-13 18:33:03] INFO: Navigating to url https://www.google.com iteration 1 Created TensorFlow Lite XNNPACK delegate for CPU. Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#-1 is a dynamic-sized tensor). [2025-01-13 18:33:10] INFO: Start to measure google_search [2025-01-13 18:33:17] INFO: Take after page complete check screenshot [2025-01-13 18:33:18] INFO: Take cumulative layout shift screenshot [2025-01-13 18:33:19] INFO: Take largest contentful paint screenshot [2025-01-13 18:33:21] INFO: Start to measure ImagesTab [2025-01-13 18:33:32] INFO: Take after page complete check screenshot [2025-01-13 18:33:33] INFO: Take cumulative layout shift screenshot [2025-01-13 18:33:34] INFO: Take largest contentful paint screenshot [2025-01-13 18:33:36] INFO: Start to measure VideosTab [2025-01-13 18:33:47] INFO: Take after page complete check screenshot [2025-01-13 18:33:47] INFO: Take cumulative layout shift screenshot [2025-01-13 18:33:48] INFO: Take largest contentful paint screenshot [2025-01-13 18:33:50] INFO: Start to measure Shoppingtab [2025-01-13 18:34:03] INFO: Take after page complete check screenshot [2025-01-13 18:34:04] INFO: Take cumulative layout shift screenshot [2025-01-13 18:34:04] INFO: Take largest contentful paint screenshot [2025-01-13 18:34:09] INFO: Use the visual metrics portable script [2025-01-13 18:34:09] INFO: Get visual metrics from the video [2025-01-13 18:34:14] ERROR: VisualMetrics failed to run ExecaError: Command failed with exit code 1: python "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py" --dir "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58\pages\www_google_com\google_search\data\filmstrip\1" --video "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58\pages\www_google_com\google_search\data\video\1.mp4" --orange --force --renderignore 5 --json --viewport --viewportretries 60 --viewportminheight 100 --viewportminwidth 100 -q 75 --logfile "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58\pages\www_google_com\google_search\data\video\1.visualmetrics.log" -vvv

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.")

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.") at getFinalError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/final-error.js:6:9) at makeError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/result.js:108:16) at getAsyncResult (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:167:4) at handlePromise (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:150:17) at async run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/visualMetrics.js:140:20) at async getVideoMetrics (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/getVideoMetrics.js:33:21) at async Video.postProcessing (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/video.js:97:22) at async Iteration.run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/iteration.js:222:34) at async Engine.runByScript (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/index.js:308:20) at async analyzeUrl (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/analyzer.js:215:12) at async BrowsertimePlugin.processMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/index.js:173:26) [2025-01-13 18:34:14] ERROR: Log from VisualMetrics: 18:34:14.315 - Processing frames from video C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58\pages\www_google_com\google_search\data\video\1.mp4 to C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58\pages\www_google_com\google_search\data\filmstrip\1 18:34:14.317 - [WinError 2] The system cannot find the file specified Traceback (most recent call last): File "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py", line 2021, in main video_to_frames( File "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py", line 387, in video_to_frames is_mobile = find_recording_platform(video) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py", line 496, in find_recording_platform proc = subprocess.Popen(command, stderr=subprocess.PIPE, encoding="UTF-8") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\Python312\Lib\subprocess.py", line 1026, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Program Files\Python312\Lib\subprocess.py", line 1538, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] The system cannot find the file specified

[2025-01-13 18:34:14] ERROR: Could not run Visual Metrics ExecaError: Command failed with exit code 1: python "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py" --dir "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58\pages\www_google_com\google_search\data\filmstrip\1" --video "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58\pages\www_google_com\google_search\data\video\1.mp4" --orange --force --renderignore 5 --json --viewport --viewportretries 60 --viewportminheight 100 --viewportminwidth 100 -q 75 --logfile "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58\pages\www_google_com\google_search\data\video\1.visualmetrics.log" -vvv

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.")

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.") at getFinalError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/final-error.js:6:9) at makeError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/result.js:108:16) at getAsyncResult (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:167:4) at handlePromise (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:150:17) at async run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/visualMetrics.js:140:20) at async getVideoMetrics (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/getVideoMetrics.js:33:21) at async Video.postProcessing (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/video.js:97:22) at async Iteration.run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/iteration.js:222:34) at async Engine.runByScript (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/index.js:308:20) at async analyzeUrl (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/analyzer.js:215:12) at async BrowsertimePlugin.processMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/index.js:173:26) [2025-01-13 18:34:14] ERROR: Visual Metrics failed to analyse the video ExecaError: Command failed with exit code 1: python "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py" --dir "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58\pages\www_google_com\google_search\data\filmstrip\1" --video "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58\pages\www_google_com\google_search\data\video\1.mp4" --orange --force --renderignore 5 --json --viewport --viewportretries 60 --viewportminheight 100 --viewportminwidth 100 -q 75 --logfile "C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58\pages\www_google_com\google_search\data\video\1.visualmetrics.log" -vvv

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.")

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\node_modules\browsertime\visualmetrics\visualmetrics-portable.py:502: SyntaxWarning: invalid escape sequence '.'\r matcher = re.compile(".com.android.version.") at getFinalError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/final-error.js:6:9) at makeError (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/return/result.js:108:16) at getAsyncResult (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:167:4) at handlePromise (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/execa/lib/methods/main-async.js:150:17) at async run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/visualMetrics.js:140:20) at async getVideoMetrics (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/postprocessing/visualmetrics/getVideoMetrics.js:33:21) at async Video.postProcessing (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/video/video.js:97:22) at async Iteration.run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/iteration.js:222:34) at async Engine.runByScript (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/index.js:308:20) at async analyzeUrl (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/analyzer.js:215:12) at async BrowsertimePlugin.processMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/index.js:173:26) [2025-01-13 18:34:14] ERROR: TypeError: Cannot read properties of undefined (reading 'push') at Iteration.run (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/iteration.js:252:36) at async Engine.runByScript (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/node_modules/browsertime/lib/core/engine/index.js:308:20) at async analyzeUrl (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/analyzer.js:215:12) at async BrowsertimePlugin.processMessage (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/index.js:173:26) [2025-01-13 18:34:14] INFO: https://www.google.com/search?q=test&sca_esv=31eeb548d185449e&source=hp&ei=sKKFZ9mDBJ2q5NoPtK2ciAs&iflsig=AL9hbdgAAAAAZ4WwwK-6FkABDqyLBpcRkTux4mbdKK5r&ved=0ahUKEwjZm6zt7fOKAxUdFVkFHbQWB7EQ4dUDCBA&uact=5&oq=test&gs_lp=Egdnd3Mtd2l6GgIYAiIEdGVzdDILEAAYgAQYsQMYgwEyCxAAGIAEGLEDGIMBMggQABiABBixAzIFEAAYgAQyCBAAGIAEGLEDMgUQABiABDINEC4YgAQYQxjUAhiKBTIIEAAYgAQYsQMyCBAAGIAEGLEDMhEQLhiABBixAxiDARjHARivAUjsElAAWB5wAHgAkAEBmAGgAqABwQSqAQUxLjIuMbgBA8gBAPgBAZgCA6ACtQLCAgoQABiABBhDGIoFwgIOEC4YgAQYsQMY0QMYxwHCAhEQABiABBixAxiDARiKBRiLA8ICERAuGIAEGLEDGNEDGIMBGMcBwgIOEC4YgAQYsQMYgwEYigXCAgsQLhiABBixAxiDAcICBRAuGIAEwgIIEC4YgAQY1AKYAwCSBwMxLjKgB4Yv&sclient=gws-wiz TTFB: 78ms, firstPaint: 152ms, FCP: 152ms, DOMContentLoaded: 607ms, LCP: 285ms, CLS: 0, TBT: 533ms, CPUBenchmark: 84ms, Load: 2.74s [2025-01-13 18:34:14] INFO: https://www.google.com/search?safe=active&sca_esv=31eeb548d185449e&q=test&udm=2&fbs=AEQNm0Aa4sjWe7Rqy32pFwRj0UkWd8nbOJfsBGGB5IQQO6L3J7pRxUp2pI1mXV9fBsfh39Jw_Y7pXPv6W9UjIXzt09-YaAdYqbW8TLYaVEFL3WpJtQFJOum7dbWsXFrJGnLceCXoTfke1fXWmf63GQyBb5AXDh5dnqLD7zrQ2-Ibu9q1-K2Xx5WE9yQE1WDMbb7kZR02dYTYOL5npHv4_kL_AtKuj1qQNA&sa=X&ved=2ahUKEwjYmODx7fOKAxXZGFkFHURlLaEQtKgLegQIFBAB&biw=1352&bih=580&dpr=1.25 TTFB: 78ms, firstPaint: 324ms, FCP: 324ms, DOMContentLoaded: 582ms, LCP: 358ms, CLS: 0, TBT: 208ms, CPUBenchmark: 82ms, Load: 1.10s [2025-01-13 18:34:14] INFO: https://www.google.com/search?safe=active&sca_esv=31eeb548d185449e&q=test&udm=7&fbs=AEQNm0BRbrA8b3J1Cq1UM3gcLH4C5Qkra5K5X4ClmjziNi_JrnVDMUZGxwqt5I0kn_ycraebbyI-xGB1EK-WiW5Iq1meOOlEgf_R3MQtA0zs8cPcbZfBW_FR4JvkAvuGF29UCP1AiCOBt06JeAbhY5HkK6MN3XvpUFyKsNVdVRDzc_6xoa_TEWLEg-2f8uPAWGca422TxrfC90dSKtdLGYC7DbLtvzr0hA&sa=X&ved=2ahUKEwizgOaL7fOKAxXTF1kFHSenJpAQtKgLegQIEhAB&cshid=1736811203212817&biw=1352&bih=580&dpr=1.25 TTFB: 90ms, firstPaint: 156ms, FCP: 156ms, DOMContentLoaded: 309ms, LCP: 289ms, CLS: 0, TBT: 212ms, CPUBenchmark: 77ms, Load: 791ms [2025-01-13 18:34:14] INFO: https://www.google.com/search?safe=active&sca_esv=31eeb548d185449e&q=test&udm=28&fbs=AEQNm0Aa4sjWe7Rqy32pFwRj0UkWd8nbOJfsBGGB5IQQO6L3J7pRxUp2pI1mXV9fBsfh39Jw_Y7pXPv6W9UjIXzt09-YaAdYqbW8TLYaVEFL3WpJtQFJOum7dbWsXFrJGnLceCXoTfke1fXWmf63GQyBb5AXDh5dnqLD7zrQ2-Ibu9q1-K2Xx5WE9yQE1WDMbb7kZR02dYTYOL5npHv4_kL_AtKuj1qQNA&ved=1t:220175&ictx=111&biw=1352&bih=580&dpr=1.25 TTFB: 81ms, firstPaint: 288ms, FCP: 288ms, DOMContentLoaded: 498ms, LCP: 438ms, CLS: 0, TBT: 528ms, CPUBenchmark: 81ms, Load: 1.74s [2025-01-13 18:34:14] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:283:13) [2025-01-13 18:34:15] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:350:13) [2025-01-13 18:34:16] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:283:13) [2025-01-13 18:34:16] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:350:13) [2025-01-13 18:34:16] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:283:13) [2025-01-13 18:34:16] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:350:13) [2025-01-13 18:34:16] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:283:13) [2025-01-13 18:34:16] INFO: Could not read filmstrip dir TypeError: Cannot read properties of undefined (reading 'time') at getFilmstrip (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/browsertime/filmstrip.js:200:37) at async HTMLBuilder.render (file:///C:/Tools/node-v21.2.0-win-x64latest/node_modules/sitespeed.io/lib/plugins/html/htmlBuilder.js:350:13) [2025-01-13 18:34:16] INFO: HTML stored in C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin\sitespeed-result\google1_mjs\2025-01-13-18-32-58

C:\Tools\node-v21.2.0-win-x64latest\node_modules\sitespeed.io\bin>

prim84 avatar Jan 13 '25 23:01 prim84

@soulgalore any updates on this issue. Do you need any further details

prim84 avatar Jan 24 '25 18:01 prim84

Hi @prim84 I hard a hard time to reproduce, I couldn't follow along in your report.

One question:

await commands.measure.start('VideosTab');
Videostab.click();
await commands.wait.byPageToComplete();
await commands.measure.stop();

Does it generate a new page load (navigate to a new page) or what happens? There are some documentation in https://www.sitespeed.io/documentation/sitespeed.io/scripting/tutorial-03-Measurement-Commands.html how you can measure different things.

soulgalore avatar Feb 02 '25 17:02 soulgalore

These are different tabs in a google search results page . You can also try manually and see. 1.launch google 2.search for some keyword 3. The result page has multiple tabs .like All, images , videos , shopping etc . 4. The script clicks these tabs one by one. 5. Whenever u click the tab , the page refreshes and loads again . 6. We are actually testing Salesforce application which is kind of similar navigating to different tabs.

prim84 avatar Feb 04 '25 15:02 prim84