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

fix: Fix TruthVertexFinder for not reconstructed particles #2979

Merged
merged 2 commits into from
Feb 26, 2024

Merge branch 'main' into fix-truthvtxfinder

8dfd5cf
Select commit
Loading
Failed to load commit list.
Merged

fix: Fix TruthVertexFinder for not reconstructed particles #2979

Merge branch 'main' into fix-truthvtxfinder
8dfd5cf
Select commit
Loading
Failed to load commit list.
ci-bridge / CI Bridge / test_exatrkx_python succeeded Feb 26, 2024 in 46s

GitLab CI: SUCCESS

This check triggered job acts/ci-bridge/36480352
in pipeline acts/ci-bridge/16354
Status: SUCCESS
Created at: 2024-02-26T16:03:16.438+01:00
Started at: 2024-02-26T16:31:51.111+01:00
Finished at: 2024-02-26T16:32:37.751+01:00

Details

Running with gitlab-runner 16.4.0 (6e766faf)
  on acts-gpu-ci-1 uhtEsTX2, system ID: r_zO9zvpou11jf
section_start:1708961511:resolve_secrets
Resolving secrets
section_end:1708961511:resolve_secrets
section_start:1708961511:prepare_executor
Preparing the "docker" executor
Using Docker executor with image ghcr.io/acts-project/ubuntu2004_exatrkx:v43 ...
Pulling docker image ghcr.io/acts-project/ubuntu2004_exatrkx:v43 ...
Using docker image sha256:6501531d19ef5a03e3ad93675e9545aa865ad9506cddaa0c721040bc81817a1a for ghcr.io/acts-project/ubuntu2004_exatrkx:v43 with digest
ghcr.io/acts-project/ubuntu2004_exatrkx@sha256:3055247bb9b8ec3ad459c2aaa326a2980c5fac3fa80ae8fe8968b067a7544213 ...
section_end:1708961513:prepare_executor
section_start:1708961513:prepare_script
Preparing environment
Running on runner-uhtestx2-project-132265-concurrent-0 via 59d8c6ef367a...
section_end:1708961513:prepare_script
section_start:1708961513: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/

Skipping Git submodules setup
section_end:1708961514:get_sources
section_start:1708961514:download_artifacts
Downloading artifacts
Downloading artifacts for build_exatrkx (36480341)...
Downloading artifacts from coordinator... ok        host=gitlab.cern.ch id=36480341 responseStatus=200 OK token=64_dgWAr
WARNING: build/python/acts/__init__.py: chmod build/python/acts/__init__.py: no such file or directory (suppressing repeats) 
section_end:1708961519:download_artifacts
section_start:1708961519:step_script
Executing "step_script" stage of the job script
Using docker image sha256:6501531d19ef5a03e3ad93675e9545aa865ad9506cddaa0c721040bc81817a1a for ghcr.io/acts-project/ubuntu2004_exatrkx:v43 with digest
ghcr.io/acts-project/ubuntu2004_exatrkx@sha256:3055247bb9b8ec3ad459c2aaa326a2980c5fac3fa80ae8fe8968b067a7544213 ...

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

CUDA Version 11.8.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.

$ apt-get update -y
Hit:1 https://archive.ubuntu.com/ubuntu focal InRelease
Get:2 https://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease [1581 B]
Get:4 https://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:5 https://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:6 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  Packages [1403 kB]
Get:7 https://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3891 kB]
Get:8 https://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1179 kB]
Get:9 https://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3316 kB]
Get:10 https://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3465 kB]
Get:11 https://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3414 kB]
Get:12 https://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.4 kB]
Get:13 https://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1475 kB]
Get:14 https://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [29.7 kB]
Fetched 18.5 MB in 5s (3686 kB/s)
Reading package lists...
$ apt-get install -y python3 libxxhash0
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.8.2-0ubuntu2).
The following NEW packages will be installed:
  libxxhash0
0 upgraded, 1 newly installed, 0 to remove and 99 not upgraded.
Need to get 15.3 kB of archives.
After this operation, 53.2 kB of additional disk space will be used.
Get:1 https://archive.ubuntu.com/ubuntu focal/universe amd64 libxxhash0 amd64 0.7.3-1 [15.3 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 15.3 kB in 0s (220 kB/s)
Selecting previously unselected package libxxhash0:amd64.
(Reading database ...  (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ...
25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading
database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80%
(Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 38362 files and
directories currently installed.)
Preparing to unpack .../libxxhash0_0.7.3-1_amd64.deb ...
Unpacking libxxhash0:amd64 (0.7.3-1) ...
Setting up libxxhash0:amd64 (0.7.3-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
$ source /usr/local/bin/thisroot.sh
$ source build/python/setup.sh
INFO:    Acts Python 3.8 bindings setup complete.
$ git clone $CLONE_URL src
Cloning into 'src'...
$ cd src
$ git checkout $HEAD_SHA
Note: switching to '8dfd5cfc69460a2234b549d32de6966f59f4572a'.

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 8dfd5cfc6 Merge branch 'main' into fix-truthvtxfinder
$ pip3 install -r Examples/Python/tests/requirements_ubuntu2004.txt
Collecting awkward==2.6.1
  Downloading awkward-2.6.1-py3-none-any.whl (749 kB)
Collecting awkward-cpp==29
  Downloading awkward_cpp-29-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)
Collecting exceptiongroup==1.2.0
  Downloading exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
Collecting fsspec==2024.2.0
  Downloading fsspec-2024.2.0-py3-none-any.whl (170 kB)
Collecting importlib-metadata==7.0.1
  Downloading importlib_metadata-7.0.1-py3-none-any.whl (23 kB)
Collecting iniconfig==2.0.0
  Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting numpy==1.24.4
  Downloading numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
Collecting packaging==23.2
  Downloading packaging-23.2-py3-none-any.whl (53 kB)
Collecting pluggy==1.4.0
  Downloading pluggy-1.4.0-py3-none-any.whl (20 kB)
Collecting pytest==8.0.0
  Downloading pytest-8.0.0-py3-none-any.whl (334 kB)
Collecting pytest-check==2.3.1
  Downloading pytest_check-2.3.1-py3-none-any.whl (13 kB)
Collecting pyyaml==6.0.1
  Downloading PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (736 kB)
Collecting tomli==2.0.1
  Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting typing-extensions==4.9.0
  Downloading typing_extensions-4.9.0-py3-none-any.whl (32 kB)
Collecting uproot==5.2.2
  Downloading uproot-5.2.2-py3-none-any.whl (346 kB)
Collecting zipp==3.17.0
  Downloading zipp-3.17.0-py3-none-any.whl (7.4 kB)
Collecting importlib_resources; python_version < "3.9"
  Downloading importlib_resources-6.1.2-py3-none-any.whl (34 kB)
Installing collected packages: typing-extensions, zipp, importlib-metadata, fsspec, numpy, importlib-resources, awkward-cpp, packaging, awkward,
exceptiongroup, iniconfig, pluggy, tomli, pytest, pytest-check, pyyaml, uproot
Successfully installed awkward-2.6.1 awkward-cpp-29 exceptiongroup-1.2.0 fsspec-2024.2.0 importlib-metadata-7.0.1 importlib-resources-6.1.2
iniconfig-2.0.0 numpy-1.24.4 packaging-23.2 pluggy-1.4.0 pytest-8.0.0 pytest-check-2.3.1 pyyaml-6.0.1 tomli-2.0.1 typing-extensions-4.9.0 uproot-5.2.2
zipp-3.17.0
$ nvidia-smi
Mon Feb 26 15:32:20 2024       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.13    Driver Version: 525.60.13    CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| 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    On   | 00000000:21:00.0 Off |                  Off |
| 41%   40C    P8    16W / 140W |     15MiB / 16376MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+
$ pytest -rFsv -k test_exatrkx
============================= test session starts ==============================
platform linux -- Python 3.8.10, pytest-8.0.0, pluggy-1.4.0
rootdir: /builds/acts/ci-bridge/src
configfile: pytest.ini
testpaths: Examples/Python/tests
plugins: check-2.3.1
collected 255 items / 251 deselected / 4 selected

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

=========================== short test summary info ============================
SKIPPED [1] Examples/Python/tests/test_examples.py:1278: Combination of ONNX and CPU not yet supported
================ 3 passed, 1 skipped, 251 deselected in 13.61s =================
section_end:1708961555:step_script
section_start:1708961555:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1708961556:cleanup_file_variables
Job succeeded