After following the guide you provided, I relaunched the test with the command:
podman run --rm --name="k6pdr" --pids-limit=-1 --read-only=true -v /opt/k6/pruebas/pruebas-plataforma/k6/:/prueba -v /run/dbus/system_bus_socket:/run/dbus/system_bus_socket -i grafana/k6:0.50.0-with-browser run /prueba/script.js
Now, I encounter a similar error:
time="2024-04-23T13:32:41Z" level=error msg="error building browser on IterStart: launching browser: Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. at file:///prueba/script.js:27:15(0)"
Below are the details
running (0h44m21.5s), 000/100 VUs, 11509 complete and 100 interrupted iterations
browser ✗ [ 74% ] 085/100 VUs 0h44m17.7s/1h00m00.0s
time="2024-04-23T13:32:40Z" level=error msg="process with PID 803189 unexpectedly ended: signal: killed" category=browser elapsed="0 ms" source=browser
time="2024-04-23T13:32:40Z" level=error msg="process with PID 801793 unexpectedly ended: signal: killed" category=browser elapsed="0 ms" source=browser
time="2024-04-23T13:32:40Z" level=error msg="process with PID 804714 unexpectedly ended: signal: killed" category=browser elapsed="0 ms" source=browser
time="2024-04-23T13:32:40Z" level=error msg="process with PID 804902 unexpectedly ended: signal: killed" category=browser elapsed="0 ms" source=browser
time="2024-04-23T13:32:40Z" level=error msg="process with PID 804725 unexpectedly ended: signal: killed" category=browser elapsed="0 ms" source=browser
browser_data_received.......: 14 GB 5.3 MB/s
browser_data_sent...........: 481 MB 181 kB/s
browser_http_req_duration...: avg=9.32ms min=39µs med=78µs max=7.2s p(90)=24.49ms p(95)=39.85ms
browser_http_req_failed.....: 0.00% ✓ 0 ✗ 1161267
browser_web_vital_cls.......: avg=0.004398 min=0 med=0 max=0.085224 p(90)=0 p(95)=0.06906
browser_web_vital_fcp.......: avg=98ms min=27ms med=76.8ms max=6.58s p(90)=124.79ms p(95)=174.9ms
browser_web_vital_fid.......: avg=826.97µs min=0s med=399.99µs max=236.59ms p(90)=1.1ms p(95)=2.5ms
browser_web_vital_inp.......: avg=411.46ms min=0s med=16ms max=3.76s p(90)=2.2s p(95)=2.23s
browser_web_vital_lcp.......: avg=99.24ms min=0s med=73.69ms max=6.81s p(90)=127.69ms p(95)=180.6ms
browser_web_vital_ttfb......: avg=41.64ms min=9.09ms med=34.79ms max=7.2s p(90)=63.59ms p(95)=69.39ms
data_received...............: 0 B 0 B/s
data_sent...................: 0 B 0 B/s
iteration_duration..........: avg=21.27s min=39.93µs med=21.03s max=50.37s p(90)=22.26s p(95)=22.82s
iterations..................: 11515 4.326513/s
vus.........................: 100 min=0 max=100
vus_max.....................: 100 min=100 max=100
running (0h44m21.5s), 000/100 VUs, 11509 complete and 100 interrupted iterations
browser ✗ [ 74% ] 085/100 VUs 0h44m17.7s/1h00m00.0s
time="2024-04-23T13:32:41Z" level=error msg="process with PID 804712 unexpectedly ended: signal: killed" category=browser elapsed="0 ms" source=browser
time="2024-04-23T13:32:41Z" level=error msg="process with PID 803508 unexpectedly ended: context canceled" category=browser elapsed="0 ms" source=browser
time="2024-04-23T13:32:41Z" level=error msg="process with PID 804916 unexpectedly ended: context canceled" category=browser elapsed="0 ms" source=browser
time="2024-04-23T13:32:41Z" level=error msg="process with PID 804706 unexpectedly ended: signal: killed" category=browser elapsed="0 ms" source=browser
time="2024-04-23T13:32:41Z" level=error msg="error building browser on IterStart: launching browser: Failed to connect to the bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. at file:///prueba/script.js:27:15(0)"