Fix `clear_cache_on_start` in pystencils.json

Due two weird recursive dependencies `clear_cache` will not be
available at this point. In-lining this function will make
the config key `cache.clear_cache_on_start: true` work again.
9 jobs for fix-clear-cache-on-startup in 15 minutes and 51 seconds (queued for 39 seconds)
Status Job ID Name Coverage
  Test
failed #535443
docker
build-documentation

00:01:10

failed #535442
docker
flake8-lint

00:01:02

passed #535436
AVX docker
latest-python

00:02:13

failed #535439
cuda docker
minimal-conda

00:01:28

failed #535440
cuda docker allowed to fail
minimal-sympy-master

00:01:16

passed #535437
win
minimal-windows

00:07:35

manual #535441
AVX cuda11 docker allowed to fail manual
pycodegen-integration
passed #535435
AVX cuda11 docker
tests-and-coverage

00:03:32

passed #535438
AVX cuda11 docker
ubuntu

00:02:29

 
Name Stage Failure
failed
build-documentation Test There has been a runner system failure, please try again
ERROR: Preparation failed: failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/full" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob335427721: no space left on device (docker.go:147:5s)
Will be retried in 3s ...
Using Docker executor with image i10git.cs.fau.de:5005/pycodegen/pycodegen/full ...
Authenticating with credentials from /root/.docker/config.json
Pulling docker image i10git.cs.fau.de:5005/pycodegen/pycodegen/full ...
WARNING: Failed to pull image with policy "always": write /var/lib/docker/tmp/GetImageBlob936575971: no space left on device (docker.go:147:7s)
ERROR: Preparation failed: failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/full" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob936575971: no space left on device (docker.go:147:7s)
Will be retried in 3s ...
ERROR: Job failed (system failure): failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/full" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob936575971: no space left on device (docker.go:147:7s)
failed
flake8-lint Test There has been a runner system failure, please try again
ERROR: Preparation failed: failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/full" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob366879306: no space left on device (docker.go:147:5s)
Will be retried in 3s ...
Using Docker executor with image i10git.cs.fau.de:5005/pycodegen/pycodegen/full ...
Authenticating with credentials from /root/.docker/config.json
Pulling docker image i10git.cs.fau.de:5005/pycodegen/pycodegen/full ...
WARNING: Failed to pull image with policy "always": write /var/lib/docker/tmp/GetImageBlob720928555: no space left on device (docker.go:147:16s)
ERROR: Preparation failed: failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/full" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob720928555: no space left on device (docker.go:147:16s)
Will be retried in 3s ...
ERROR: Job failed (system failure): failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/full" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob720928555: no space left on device (docker.go:147:16s)
failed
minimal-sympy-master Test There has been a runner system failure, please try again
ERROR: Preparation failed: failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_conda" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob520414025: no space left on device (docker.go:147:4s)
Will be retried in 3s ...
Using Docker executor with image i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_conda ...
Authenticating with credentials from /root/.docker/config.json
Pulling docker image i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_conda ...
WARNING: Failed to pull image with policy "always": write /var/lib/docker/tmp/GetImageBlob584840198: no space left on device (docker.go:147:3s)
ERROR: Preparation failed: failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_conda" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob584840198: no space left on device (docker.go:147:3s)
Will be retried in 3s ...
ERROR: Job failed (system failure): failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_conda" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob584840198: no space left on device (docker.go:147:3s)
failed
minimal-conda Test There has been a runner system failure, please try again
ERROR: Preparation failed: failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_conda" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob804033378: no space left on device (docker.go:147:4s)
Will be retried in 3s ...
Using Docker executor with image i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_conda ...
Authenticating with credentials from /root/.docker/config.json
Pulling docker image i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_conda ...
WARNING: Failed to pull image with policy "always": write /var/lib/docker/tmp/GetImageBlob180036950: no space left on device (docker.go:147:24s)
ERROR: Preparation failed: failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_conda" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob180036950: no space left on device (docker.go:147:24s)
Will be retried in 3s ...
ERROR: Job failed (system failure): failed to pull image "i10git.cs.fau.de:5005/pycodegen/pycodegen/minimal_conda" with specified policies [always]: write /var/lib/docker/tmp/GetImageBlob180036950: no space left on device (docker.go:147:24s)