Skip to content

runtime: fix crash with NullRuntime - #87

Merged
roxell merged 1 commit into
kernelci:masterfrom
ivoire:fix-nullruntime-crash
Nov 23, 2026
Merged

roxell merged 1 commit into
kernelci:masterfrom
ivoire:fix-nullruntime-crash

Conversation

@ivoire

@ivoire ivoire commented Nov 23, 2026

Copy link
Copy Markdown
Contributor
Raised an exception 'NullRuntime' object has no attribute 'skip_http_server'
Traceback (most recent call last):
  File "/app/tuxrun/.venv/bin/tuxrun", line 10, in <module>
    sys.exit(main())
             ~~~~^^
  File "/app/tuxrun/tuxrun/__main__.py", line 546, in main
    return run(options, tmpdir, cache_dir, artefacts)
  File "/app/tuxrun/tuxrun/__main__.py", line 359, in run
    runtime.skip_http_server()
    ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NullRuntime' object has no attribute 'skip_http_server'

```
Raised an exception 'NullRuntime' object has no attribute 'skip_http_server'
Traceback (most recent call last):
  File "/app/tuxrun/.venv/bin/tuxrun", line 10, in <module>
    sys.exit(main())
             ~~~~^^
  File "/app/tuxrun/tuxrun/__main__.py", line 546, in main
    return run(options, tmpdir, cache_dir, artefacts)
  File "/app/tuxrun/tuxrun/__main__.py", line 359, in run
    runtime.skip_http_server()
    ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NullRuntime' object has no attribute 'skip_http_server'
```

Signed-off-by: Rémi Duraffort <remi.duraffort@linaro.org>
@roxell
roxell merged commit 9f79fe2 into kernelci:master Nov 23, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants