First try to get a better const treatment

8 jobs for const_fix in 3 minutes and 7 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Test
passed #306869
cuda docker
build-documentation

00:00:36

passed #306868
cuda docker
flake8-lint

00:00:15

failed #306865
docker
minimal-conda

00:00:19

failed #306866
docker allowed to fail
minimal-sympy-master

00:00:56

failed #306864
docker
minimal-ubuntu

00:00:16

failed #306863
win
minimal-windows

00:01:14

manual #306867
AVX cuda docker allowed to fail manual
pycodegen-integration
failed #306862
AVX cuda docker
tests-and-coverage

00:03:07

31.91%
 
Name Stage Failure
failed
tests-and-coverage Test
19.77s call     pystencils_tests/test_buffer_gpu.py::test_all_cell_values
19.46s call pystencils_tests/test_buffer_gpu.py::test_subset_cell_values
18.13s call doc/notebooks/03_tutorial_datahandling.ipynb::doc/notebooks/03_tutorial_datahandling.ipynb
====== 20 failed, 202 passed, 4 skipped, 1139 warnings in 151.21 seconds =======
Uploading artifacts...
coverage_report: found 80 matching files
test-report: found 4 matching files

Uploading artifacts to coordinator... ok
id=306862 responseStatus=201 Created token=8rL323At
ERROR: Job failed: exit code 1
failed
minimal-windows Test
    raise e
File "C:\cygwin64\home\build\builds\pycodegen\pystencils\pystencils\cpu\cpujit.py", line 443, in run_compile_step
subprocess.check_output(command, env=compile_environment, stderr=subprocess.STDOUT, shell=shell)
File "C:\Users\build\Miniconda3\envs\pystencils_dev\lib\subprocess.py", line 336, in check_output
**kwargs).stdout
File "C:\Users\build\Miniconda3\envs\pystencils_dev\lib\subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['cl.exe', '/c', '/EHsc', '/Ox', '/fp:fast', '/openmp', '/arch:avx', '-IC:\\Users\\build\\Miniconda3\\envs\\pystencils_dev\\Include', '-IC:\\cygwin64\\home\\build\\builds\\pycodegen\\pystencils\\pystencils\\include', 'C:\\Users\\build\\AppData\\Local\\pystencils\\pystencils\\Cache\\objectcache\\mod_6d8c6e73f0dff2d6e2cbda62f110aa5b3bc32c8305e347c1d2daaa52b19136d3.cpp', '/FoC:\\Users\\build\\AppData\\Local\\pystencils\\pystencils\\Cache\\objectcache\\mod_6d8c6e73f0dff2d6e2cbda62f110aa5b3bc32c8305e347c1d2daaa52b19136d3.obj']' returned non-zero exit status 2.
ERROR: Job failed: Process exited with: 1. Reason was: ()
failed
minimal-sympy-master Test
    raise e
File "/builds/pycodegen/pystencils/pystencils/cpu/cpujit.py", line 443, in run_compile_step
subprocess.check_output(command, env=compile_environment, stderr=subprocess.STDOUT, shell=shell)
File "/opt/conda/lib/python3.7/subprocess.py", line 395, in check_output
**kwargs).stdout
File "/opt/conda/lib/python3.7/subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['g++', '-c', '-Ofast', '-DNDEBUG', '-fPIC', '-march=native', '-fopenmp', '-std=c++11', '-I/opt/conda/include/python3.7m', '-I/builds/pycodegen/pystencils/pystencils/include', '-o', '/root/.cache/pystencils/objectcache/tmpyvuh9o76', '/root/.cache/pystencils/objectcache/mod_b4f39e3321e0595fd4c3bb92d0d5cd9c27237b13fcaa650de7615a3abe9485ee.cpp']' returned non-zero exit status 1.
ERROR: Job failed: exit code 1
failed
minimal-conda Test
    raise e
File "/builds/pycodegen/pystencils/pystencils/cpu/cpujit.py", line 443, in run_compile_step
subprocess.check_output(command, env=compile_environment, stderr=subprocess.STDOUT, shell=shell)
File "/opt/conda/lib/python3.7/subprocess.py", line 395, in check_output
**kwargs).stdout
File "/opt/conda/lib/python3.7/subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['g++', '-c', '-Ofast', '-DNDEBUG', '-fPIC', '-march=native', '-fopenmp', '-std=c++11', '-I/opt/conda/include/python3.7m', '-I/builds/pycodegen/pystencils/pystencils/include', '-o', '/root/.cache/pystencils/objectcache/tmpoe__g5js', '/root/.cache/pystencils/objectcache/mod_6d8c6e73f0dff2d6e2cbda62f110aa5b3bc32c8305e347c1d2daaa52b19136d3.cpp']' returned non-zero exit status 1.
ERROR: Job failed: exit code 1
failed
minimal-ubuntu Test
    raise e
File "/builds/pycodegen/pystencils/pystencils/cpu/cpujit.py", line 443, in run_compile_step
subprocess.check_output(command, env=compile_environment, stderr=subprocess.STDOUT, shell=shell)
File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['g++', '-c', '-Ofast', '-DNDEBUG', '-fPIC', '-march=native', '-fopenmp', '-std=c++11', '-I/usr/include/python3.6m', '-I/builds/pycodegen/pystencils/pystencils/include', '-o', '/root/.cache/pystencils/objectcache/tmp6fjs5yd_', '/root/.cache/pystencils/objectcache/mod_6d8c6e73f0dff2d6e2cbda62f110aa5b3bc32c8305e347c1d2daaa52b19136d3.cpp']' returned non-zero exit status 1.
ERROR: Job failed: exit code 1