Running with gitlab-runner 17.7.1 (6669abcf)
  on Runner 2 (741) b89c9970, system ID: s_eb7bfeb91cea
Resolving secrets
section_start:1741098524:prepare_executor
Preparing the "docker" executor
Using Docker executor with image python:3.12 ...
Pulling docker image python:3.12 ...
Using docker image sha256:6663e6263306abb7230e6595c505da526c4a98628803b82e7bf2324f74b8626f for python:3.12 with digest python@sha256:9e615ab2a4e8c67f9638fa93002ac364647c2c2c1b66925ef3f8832fda354cd9 ...
section_end:1741098525:prepare_executor
section_start:1741098525:prepare_script
Preparing environment
Running on runner-b89c9970-project-6703-concurrent-0 via serv741.segi.priv...
section_end:1741098526:prepare_script
section_start:1741098526:get_sources
Getting source from Git repository
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/Amaury.Bilocq/pyturbulence/.git/
Checking out a69bdd6e as detached HEAD (ref is master)...
Removing .pytest_cache/
Removing pyTurbulence.egg-info/
Removing pyTurbulence/__pycache__/
Removing test/__pycache__/

Skipping Git submodules setup
section_end:1741098526:get_sources
section_start:1741098526:step_script
Executing "step_script" stage of the job script
Using docker image sha256:6663e6263306abb7230e6595c505da526c4a98628803b82e7bf2324f74b8626f for python:3.12 with digest python@sha256:9e615ab2a4e8c67f9638fa93002ac364647c2c2c1b66925ef3f8832fda354cd9 ...
$ pip install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.12/site-packages (24.3.1)
Collecting pip
  Downloading pip-25.0.1-py3-none-any.whl.metadata (3.7 kB)
Downloading pip-25.0.1-py3-none-any.whl (1.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 15.7 MB/s eta 0:00:00
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 24.3.1
    Uninstalling pip-24.3.1:
      Successfully uninstalled pip-24.3.1
Successfully installed pip-25.0.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
$ pip install -e .
Obtaining file:///builds/Amaury.Bilocq/pyturbulence
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Checking if build backend supports build_editable: started
  Checking if build backend supports build_editable: finished with status 'done'
  Getting requirements to build editable: started
  Getting requirements to build editable: finished with status 'done'
  Preparing editable metadata (pyproject.toml): started
  Preparing editable metadata (pyproject.toml): finished with status 'done'
Collecting numpy>=1.21 (from pyTurbulence==0.1.0)
  Downloading numpy-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB)
Collecting numba>=0.56 (from pyTurbulence==0.1.0)
  Downloading numba-0.61.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.8 kB)
Collecting pytest>=7.0 (from pyTurbulence==0.1.0)
  Downloading pytest-8.3.5-py3-none-any.whl.metadata (7.6 kB)
Collecting matplotlib>=3.4 (from pyTurbulence==0.1.0)
  Downloading matplotlib-3.10.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Collecting scipy>=1.7 (from pyTurbulence==0.1.0)
  Downloading scipy-1.15.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB)
Collecting typing-extensions>=3.10 (from pyTurbulence==0.1.0)
  Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting contourpy>=1.0.1 (from matplotlib>=3.4->pyTurbulence==0.1.0)
  Downloading contourpy-1.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.4 kB)
Collecting cycler>=0.10 (from matplotlib>=3.4->pyTurbulence==0.1.0)
  Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib>=3.4->pyTurbulence==0.1.0)
  Downloading fonttools-4.56.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (101 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib>=3.4->pyTurbulence==0.1.0)
  Downloading kiwisolver-1.4.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.2 kB)
Collecting packaging>=20.0 (from matplotlib>=3.4->pyTurbulence==0.1.0)
  Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pillow>=8 (from matplotlib>=3.4->pyTurbulence==0.1.0)
  Downloading pillow-11.1.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (9.1 kB)
Collecting pyparsing>=2.3.1 (from matplotlib>=3.4->pyTurbulence==0.1.0)
  Downloading pyparsing-3.2.1-py3-none-any.whl.metadata (5.0 kB)
Collecting python-dateutil>=2.7 (from matplotlib>=3.4->pyTurbulence==0.1.0)
  Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting llvmlite<0.45,>=0.44.0dev0 (from numba>=0.56->pyTurbulence==0.1.0)
  Downloading llvmlite-0.44.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.0 kB)
Collecting numpy>=1.21 (from pyTurbulence==0.1.0)
  Downloading numpy-2.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB)
Collecting iniconfig (from pytest>=7.0->pyTurbulence==0.1.0)
  Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
Collecting pluggy<2,>=1.5 (from pytest>=7.0->pyTurbulence==0.1.0)
  Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib>=3.4->pyTurbulence==0.1.0)
  Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Downloading matplotlib-3.10.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.6/8.6 MB 31.7 MB/s eta 0:00:00
Downloading numba-0.61.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.9/3.9 MB 70.4 MB/s eta 0:00:00
Downloading numpy-2.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.0/16.0 MB 119.9 MB/s eta 0:00:00
Downloading pytest-8.3.5-py3-none-any.whl (343 kB)
Downloading scipy-1.15.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (37.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 37.3/37.3 MB 167.8 MB/s eta 0:00:00
Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Downloading contourpy-1.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (323 kB)
Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Downloading fonttools-4.56.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 184.4 MB/s eta 0:00:00
Downloading kiwisolver-1.4.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 122.4 MB/s eta 0:00:00
Downloading llvmlite-0.44.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (42.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.4/42.4 MB 160.2 MB/s eta 0:00:00
Downloading packaging-24.2-py3-none-any.whl (65 kB)
Downloading pillow-11.1.0-cp312-cp312-manylinux_2_28_x86_64.whl (4.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 139.6 MB/s eta 0:00:00
Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
Downloading pyparsing-3.2.1-py3-none-any.whl (107 kB)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: pyTurbulence
  Building editable for pyTurbulence (pyproject.toml): started
  Building editable for pyTurbulence (pyproject.toml): finished with status 'done'
  Created wheel for pyTurbulence: filename=pyturbulence-0.1.0-0.editable-py3-none-any.whl size=4929 sha256=9787d79bf744051ccaa6f749d80f8621b8d3b3dd3e670d188a0bde3d67df0a43
  Stored in directory: /tmp/pip-ephem-wheel-cache-_lu4lyca/wheels/38/92/29/f5e3e317634d81495987d75c745ebdb945e4eaafd1ad368e1b
Successfully built pyTurbulence
Installing collected packages: typing-extensions, six, pyparsing, pluggy, pillow, packaging, numpy, llvmlite, kiwisolver, iniconfig, fonttools, cycler, scipy, python-dateutil, pytest, numba, contourpy, matplotlib, pyTurbulence
Successfully installed contourpy-1.3.1 cycler-0.12.1 fonttools-4.56.0 iniconfig-2.0.0 kiwisolver-1.4.8 llvmlite-0.44.0 matplotlib-3.10.1 numba-0.61.0 numpy-2.1.3 packaging-24.2 pillow-11.1.0 pluggy-1.5.0 pyTurbulence-0.1.0 pyparsing-3.2.1 pytest-8.3.5 python-dateutil-2.9.0.post0 scipy-1.15.2 six-1.17.0 typing-extensions-4.12.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
$ pytest
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.5, pluggy-1.5.0
rootdir: /builds/Amaury.Bilocq/pyturbulence
configfile: pyproject.toml
collected 4 items / 1 error

==================================== ERRORS ====================================
_______________ ERROR collecting test/test_SolenoidalVelocity.py _______________
test/test_SolenoidalVelocity.py:38: in <module>
    test_solenoidal_velocity()
test/test_SolenoidalVelocity.py:34: in test_solenoidal_velocity
    assert np.isclose(TKE_field, TKE_spectrum, rtol=0.05), "Test failed: Generated field does not match expected TKE"
E   AssertionError: Test failed: Generated field does not match expected TKE
E   assert np.False_
E    +  where np.False_ = <function isclose at 0x7f2d125c81f0>(np.float64(0.463798840237873), np.float64(0.4999999999999998), rtol=0.05)
E    +    where <function isclose at 0x7f2d125c81f0> = np.isclose
=========================== short test summary info ============================
ERROR test/test_SolenoidalVelocity.py - AssertionError: Test failed: Generated field does not match expected TKE
assert np.False_
 +  where np.False_ = <function isclose at 0x7f2d125c81f0>(np.float64(0.463798840237873), np.float64(0.4999999999999998), rtol=0.05)
 +    where <function isclose at 0x7f2d125c81f0> = np.isclose
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 9 warnings, 1 error in 7.12s =========================
section_end:1741098565:step_script
section_start:1741098565:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1741098565:cleanup_file_variables
ERROR: Job failed: exit code 1