#6492·k6

'cloud run --local-execution' uploads metrics but no logs appear

Author: MalshaUdaniCreated Sep 25, 2026Updated Sep 28, 2026
Labelsbugcloud

Brief summary

With k6 v2.3.0, 'k6 cloud run --local-execution' successfully creates and finishes a Cloud k6 run and uploads metrics, but the run's Logs view remains empty. The same execution emits info, warning, and error console messages locally. Verbose output reports no cloud/Loki log-push errors.

k6 version

v2.3.0

OS

macOS

Docker version and image (if applicable)

No response

Steps to reproduce the problem

  • Run k6 script with 'k6 cloud run --local-execution'
  • Open the run URL printed by k6 and inspect the run's Logs view

Expected behaviour

The info, warning, and error messages emitted by the local execution should appear in the Cloud k6 run's Logs view, as documented for k6 v2.2.0 and later

Actual behaviour

  • The Cloud run is created and reaches Finished.
  • Metrics and checks are visible in the Cloud run.
  • All console messages are visible in the local terminal.
  • The Cloud run's Logs view is empty
  • '--verbose' output reports successful Cloud output startup, metric flushing, and normal shutdown.
  • There is no 'cloud log push not configured', 'cloud log push disabled', or 'Error while sending logs to loki' message.
  • k6 run's Logs view still shows Logs are not available in the cloud when the test has been executed locally with k6 cloud run --local-execution.