Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Bounds regression tests #4001

Merged
merged 7 commits into from
Dec 19, 2024

disallow single zero tolerance in absolute cartesian

725a15a
Select commit
Loading
Failed to load commit list.
Merged

test: Bounds regression tests #4001

disallow single zero tolerance in absolute cartesian
725a15a
Select commit
Loading
Failed to load commit list.
ci-bridge / CI Bridge / test_exatrkx_python succeeded Dec 19, 2024 in 50s

GitLab CI: SUCCESS

This check triggered job acts/ci-bridge/48472105
in pipeline acts/ci-bridge/25454
Status: SUCCESS
Created at: 2024-12-19T17:05:29.361+01:00
Started at: 2024-12-19T17:39:43.926+01:00
Finished at: 2024-12-19T17:40:33.048+01:00

Details

Running with gitlab-runner 16.4.0 (6e766faf)
  on acts-gpu-ci-1 uhtEsTX2, system ID: r_zO9zvpou11jf
section_start:1734626384:resolve_secrets
Resolving secrets
section_end:1734626384:resolve_secrets
section_start:1734626384:prepare_executor
Preparing the "docker" executor
Using Docker executor with image ghcr.io/acts-project/ubuntu2204_exatrkx:63 ...
Pulling docker image ghcr.io/acts-project/ubuntu2204_exatrkx:63 ...
Using docker image sha256:738d097b41e88d96c2db2ae07ca1f0f3ca7bea13a3e990d0a132f0b6e439a8f1 for ghcr.io/acts-project/ubuntu2204_exatrkx:63 with digest
ghcr.io/acts-project/ubuntu2204_exatrkx@sha256:8af57a489d279ad50ceb824d1f12a8cc6a83923324a4222e8a27291000c4f1fc ...
section_end:1734626385:prepare_executor
section_start:1734626385:prepare_script
Preparing environment
Running on runner-uhtestx2-project-132265-concurrent-0 via 59d8c6ef367a...
section_end:1734626386:prepare_script
section_start:1734626386:get_sources
Getting source from Git repository
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/acts/ci-bridge/.git/
Checking out 12b1957a as detached HEAD (ref is main)...
Removing build/
Removing dependencies/
Removing src/
Removing venv/

Skipping Git submodules setup
section_end:1734626389:get_sources
section_start:1734626389:download_artifacts
Downloading artifacts
Downloading artifacts for build_exatrkx (48472095)...
Downloading artifacts from coordinator... ok        host=gitlab.cern.ch id=48472095 responseStatus=200 OK token=glcbt-64
WARNING: build/python/acts/__init__.py: chmod build/python/acts/__init__.py: no such file or directory (suppressing repeats) 
section_end:1734626393:download_artifacts
section_start:1734626393:step_script
Executing "step_script" stage of the job script
Using docker image sha256:738d097b41e88d96c2db2ae07ca1f0f3ca7bea13a3e990d0a132f0b6e439a8f1 for ghcr.io/acts-project/ubuntu2204_exatrkx:63 with digest
ghcr.io/acts-project/ubuntu2204_exatrkx@sha256:8af57a489d279ad50ceb824d1f12a8cc6a83923324a4222e8a27291000c4f1fc ...

==========
== CUDA ==
==========

CUDA Version 12.1.0

Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.

*************************
** DEPRECATION NOTICE! **
*************************
THIS IMAGE IS DEPRECATED and is scheduled for DELETION.
    https://gitlab.com/nvidia/container-images/cuda/blob/master/doc/support-policy.md

$ apt-get update -y
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:4 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64  InRelease [1581 B]
Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:6 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64  Packages [1196 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2817 kB]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3436 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1517 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [53.3 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3588 kB]
Get:12 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2506 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [111 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [37.0 kB]
Get:15 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [45.2 kB]
Get:16 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1226 kB]
Fetched 16.9 MB in 4s (4760 kB/s)
Reading package lists...
$ git clone $CLONE_URL src
Cloning into 'src'...
$ cd src
$ git checkout $HEAD_SHA
Note: switching to '725a15ab79724b7ada191707e106a0e39e26196a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 725a15ab7 disallow single zero tolerance in absolute cartesian
$ nvidia-smi
Thu Dec 19 16:40:03 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.107.02             Driver Version: 550.107.02     CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA RTX A4000               Off |   00000000:21:00.0 Off |                  Off |
| 41%   48C    P8             16W /  140W |       2MiB /  16376MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|  No running processes found                                                             |
+-----------------------------------------------------------------------------------------+
$ source CI/dependencies.sh
=> DEPENDENCY_DIR=/builds/acts/ci-bridge/dependencies
URL: https://acts.web.cern.ch/ACTS/ci/ubuntu-22.04/deps.v5.tar.zst
DESTINATION: /builds/acts/ci-bridge/dependencies
+++ mkdir -p /builds/acts/ci-bridge/dependencies
+++ /usr/bin/curl --retry 5 --connect-timeout 2 --location https://acts.web.cern.ch/ACTS/ci/ubuntu-22.04/deps.v5.tar.zst
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0   3  696M    3 24.8M    0     0  32.8M      0  0:00:21 --:--:--
0:00:21 32.8M  17  696M   17  120M    0     0  68.5M      0  0:00:10  0:00:01  0:00:09 68.5M  32  696M   32  228M    0     0  82.7M      0  0:00:08
0:00:02  0:00:06 82.7M  47  696M   47  329M    0     0  87.7M      0  0:00:07  0:00:03  0:00:04 87.7M  62  696M   62  433M    0     0  91.1M      0
0:00:07  0:00:04  0:00:03 91.1M  77  696M   77  537M    0     0  93.2M      0  0:00:07  0:00:05  0:00:02  102M  91  696M   91  637M    0     0  94.2M
0  0:00:07  0:00:06  0:00:01  103M 100  696M  100  696M    0     0  92.7M      0  0:00:07  0:00:07 --:--:-- 98.6M
Running in GitLab CI
+++ /builds/acts/ci-bridge/dependencies/bin/python3 -m venv /builds/acts/ci-bridge/venv
+++ /builds/acts/ci-bridge/venv/bin/python3 -m pip install pyyaml jinja2
Collecting pyyaml
  Downloading PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting jinja2
  Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting MarkupSafe>=2.0 (from jinja2)
  Downloading MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
Downloading PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (767 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 767.5/767.5 kB 7.9 MB/s eta 0:00:00
Downloading jinja2-3.1.4-py3-none-any.whl (133 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 6.6 MB/s eta 0:00:00
Downloading MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23 kB)
Installing collected packages: pyyaml, MarkupSafe, jinja2
Successfully installed MarkupSafe-3.0.2 jinja2-3.1.4 pyyaml-6.0.2

[notice] A new release of pip is available: 24.0 -> 24.3.1
[notice] To update, run: /builds/acts/ci-bridge/venv/bin/python3 -m pip install --upgrade pip
=> PATH=/builds/acts/ci-bridge/venv/bin:/builds/acts/ci-
bridge/dependencies/bin/:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
=> CMAKE_PREFIX_PATH=/builds/acts/ci-bridge/dependencies
=> LD_LIBRARY_PATH=/builds/acts/ci-bridge/dependencies/lib
=> ROOT_INCLUDE_PATH=/builds/acts/ci-bridge/dependencies/include
=> ROOT_INCLUDE_PATH=/builds/acts/ci-bridge/dependencies/include/Geant4
=> PYTHIA8DATA=/builds/acts/ci-bridge/dependencies/share/Pythia8/xmldoc
$ source ../build/this_acts_withdeps.sh
INFO:    Acts Python 3.12 bindings setup complete.
$ python3 -m pip install -r Examples/Python/tests/requirements.txt
Collecting awkward==2.7.0 (from -r Examples/Python/tests/requirements.txt (line 7))
  Downloading awkward-2.7.0-py3-none-any.whl.metadata (7.0 kB)
Collecting awkward-cpp==41 (from -r Examples/Python/tests/requirements.txt (line 11))
  Downloading awkward_cpp-41-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.2 kB)
Collecting cramjam==2.9.0 (from -r Examples/Python/tests/requirements.txt (line 13))
  Downloading cramjam-2.9.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.9 kB)
Collecting execnet==2.1.1 (from -r Examples/Python/tests/requirements.txt (line 15))
  Downloading execnet-2.1.1-py3-none-any.whl.metadata (2.9 kB)
Collecting fsspec==2024.10.0 (from -r Examples/Python/tests/requirements.txt (line 17))
  Downloading fsspec-2024.10.0-py3-none-any.whl.metadata (11 kB)
Collecting iniconfig==2.0.0 (from -r Examples/Python/tests/requirements.txt (line 21))
  Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
Collecting numpy==2.1.3 (from -r Examples/Python/tests/requirements.txt (line 23))
  Downloading numpy-2.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.0/62.0 kB 3.2 MB/s eta 0:00:00
Collecting packaging==24.2 (from -r Examples/Python/tests/requirements.txt (line 28))
  Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pluggy==1.5.0 (from -r Examples/Python/tests/requirements.txt (line 33))
  Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting pytest==8.3.3 (from -r Examples/Python/tests/requirements.txt (line 35))
  Downloading pytest-8.3.3-py3-none-any.whl.metadata (7.5 kB)
Collecting pytest-check==2.4.1 (from -r Examples/Python/tests/requirements.txt (line 40))
  Downloading pytest_check-2.4.1-py3-none-any.whl.metadata (11 kB)
Collecting pytest-xdist==3.6.1 (from -r Examples/Python/tests/requirements.txt (line 42))
  Downloading pytest_xdist-3.6.1-py3-none-any.whl.metadata (4.3 kB)
Collecting pyyaml==6.0.2 (from -r Examples/Python/tests/requirements.txt (line 44))
  Using cached PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting uproot==5.5.0 (from -r Examples/Python/tests/requirements.txt (line 46))
  Downloading uproot-5.5.0-py3-none-any.whl.metadata (33 kB)
Collecting xxhash==3.5.0 (from -r Examples/Python/tests/requirements.txt (line 48))
  Downloading xxhash-3.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (12 kB)
Downloading awkward-2.7.0-py3-none-any.whl (863 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 863.9/863.9 kB 11.2 MB/s eta 0:00:00
Downloading awkward_cpp-41-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (637 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 637.5/637.5 kB 11.9 MB/s eta 0:00:00
Downloading cramjam-2.9.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.4 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 42.0 MB/s eta 0:00:00
Downloading execnet-2.1.1-py3-none-any.whl (40 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.6/40.6 kB 3.9 MB/s eta 0:00:00
Downloading fsspec-2024.10.0-py3-none-any.whl (179 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 179.6/179.6 kB 18.8 MB/s eta 0:00:00
Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Downloading numpy-2.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.0/16.0 MB 61.5 MB/s eta 0:00:00
Downloading packaging-24.2-py3-none-any.whl (65 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.5/65.5 kB 7.2 MB/s eta 0:00:00
Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
Downloading pytest-8.3.3-py3-none-any.whl (342 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 342.3/342.3 kB 31.5 MB/s eta 0:00:00
Downloading pytest_check-2.4.1-py3-none-any.whl (13 kB)
Downloading pytest_xdist-3.6.1-py3-none-any.whl (46 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.1/46.1 kB 5.7 MB/s eta 0:00:00
Using cached PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (767 kB)
Downloading uproot-5.5.0-py3-none-any.whl (359 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 359.8/359.8 kB 31.5 MB/s eta 0:00:00
Downloading xxhash-3.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (194 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 194.4/194.4 kB 19.6 MB/s eta 0:00:00
Installing collected packages: xxhash, pyyaml, pluggy, packaging, numpy, iniconfig, fsspec, execnet, cramjam, pytest, awkward-cpp, pytest-xdist,
pytest-check, awkward, uproot
Successfully installed awkward-2.7.0 awkward-cpp-41 cramjam-2.9.0 execnet-2.1.1 fsspec-2024.10.0 iniconfig-2.0.0 numpy-2.1.3 packaging-24.2
pluggy-1.5.0 pytest-8.3.3 pytest-check-2.4.1 pytest-xdist-3.6.1 pyyaml-6.0.2 uproot-5.5.0 xxhash-3.5.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended
to use a virtual environment instead: https://pip.pypa.io/warnings/venv

[notice] A new release of pip is available: 24.0 -> 24.3.1
[notice] To update, run: pip3 install --upgrade pip
$ echo $PYTHONPATH
/builds/acts/ci-bridge/dependencies/lib:/builds/acts/ci-bridge/build/python:
$ which python3
/builds/acts/ci-bridge/dependencies/bin/python3
$ python3 --version
Python 3.12.2
$ python3 -c "import acts"
$ pytest -rFsv -k torch --collect-only
============================= test session starts ==============================
platform linux -- Python 3.12.2, pytest-8.3.3, pluggy-1.5.0
rootdir: /builds/acts/ci-bridge/src
configfile: pytest.ini
testpaths: Examples/Python/tests
plugins: xdist-3.6.1, check-2.4.1
collected 250 items / 248 deselected / 2 selected

<Dir src>
  <Dir Examples>
    <Dir Python>
      <Dir tests>
        <Module test_examples.py>
          <Function test_exatrkx[cpu-torch]>
          <Function test_exatrkx[gpu-torch]>

=============================== warnings summary ===============================
../dependencies/lib/cppyy/__init__.py:72
  /builds/acts/ci-bridge/dependencies/lib/cppyy/__init__.py:72: SyntaxWarning: invalid escape sequence '\d'
    if re.match('^libcppyy_backend\d+_\d+$', lib_name):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=============== 2/250 tests collected (248 deselected) in 0.20s ================
$ pytest -rFsv -k gpu-torch
============================= test session starts ==============================
platform linux -- Python 3.12.2, pytest-8.3.3, pluggy-1.5.0
rootdir: /builds/acts/ci-bridge/src
configfile: pytest.ini
testpaths: Examples/Python/tests
plugins: xdist-3.6.1, check-2.4.1
collected 250 items / 249 deselected / 1 selected

Examples/Python/tests/test_examples.py .                                 [100%]

=============================== warnings summary ===============================
Examples/Python/tests/test_examples.py::test_exatrkx[gpu-torch]
  /builds/acts/ci-bridge/dependencies/lib/python3.12/tarfile.py:2221: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives
and reject files or modify their metadata. Use the filter argument to control this behavior.
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================= 1 passed, 249 deselected, 1 warning in 4.12s =================
section_end:1734626431:step_script
section_start:1734626431:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1734626431:cleanup_file_variables
Job succeeded