test: Use deterministic RNG for tests #2694
Merged
ci-bridge / CI Bridge / test_exatrkx_python
succeeded
Nov 20, 2023 in 51s
GitLab CI: SUCCESS
This check triggered job acts/ci-bridge/34093908
in pipeline acts/ci-bridge/13835
Status: SUCCESS
Created at: 2023-11-20T13:05:16.917+01:00
Started at: 2023-11-20T13:42:49.264+01:00
Finished at: 2023-11-20T13:43:40.468+01:00
Details
Running with gitlab-runner 16.4.0 (6e766faf)
on acts-gpu-ci-1 uhtEsTX2, system ID: r_zO9zvpou11jf
section_start:1700484169:resolve_secrets
Resolving secrets
section_end:1700484169:resolve_secrets
section_start:1700484169: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:1700484171:prepare_executor
section_start:1700484171:prepare_script
Preparing environment
Running on runner-uhtestx2-project-132265-concurrent-0 via 59d8c6ef367a...
section_end:1700484171:prepare_script
section_start:1700484171: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:1700484172:get_sources
section_start:1700484172:download_artifacts
Downloading artifacts
Downloading artifacts for build_exatrkx (34093899)...
Downloading artifacts from coordinator... ok host=gitlab.cern.ch id=34093899 responseStatus=200 OK token=64_shn-W
WARNING: build/python/acts/__init__.py: chmod build/python/acts/__init__.py: no such file or directory (suppressing repeats)
section_end:1700484177:download_artifacts
section_start:1700484177: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
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease [1581 B]
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [29.3 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3017 kB]
Get:8 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 Packages [1305 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1431 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.0 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3684 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3196 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1126 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3166 kB]
Fetched 17.3 MB in 4s (4815 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 63 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 http://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 (222 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 '568b353cc9c46e24e58d7b95d4db67ae14f765f2'.
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 568b353cc Merge branch 'main' into hardcode-boost-test-random-engine
$ pip3 install -r Examples/Python/tests/requirements.txt
Collecting attrs==21.4.0
Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting awkward==1.7.0
Downloading awkward-1.7.0-cp38-cp38-manylinux2010_x86_64.whl (14.5 MB)
Collecting execnet==1.9.0
Downloading execnet-1.9.0-py2.py3-none-any.whl (39 kB)
Collecting iniconfig==1.1.1
Downloading iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting numpy==1.22.2
Downloading numpy-1.22.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)
Collecting packaging==21.3
Downloading packaging-21.3-py3-none-any.whl (40 kB)
Collecting pluggy==1.0.0
Downloading pluggy-1.0.0-py2.py3-none-any.whl (13 kB)
Collecting py==1.11.0
Downloading py-1.11.0-py2.py3-none-any.whl (98 kB)
Collecting pyparsing==3.0.7
Downloading pyparsing-3.0.7-py3-none-any.whl (98 kB)
Collecting pytest==7.0.1
Downloading pytest-7.0.1-py3-none-any.whl (296 kB)
Collecting pytest-check==1.0.4
Downloading pytest_check-1.0.4-py3-none-any.whl (6.5 kB)
Collecting pytest-rerunfailures==10.2
Downloading pytest_rerunfailures-10.2-py3-none-any.whl (11 kB)
Collecting pytest-xdist==3.2.1
Downloading pytest_xdist-3.2.1-py3-none-any.whl (41 kB)
Collecting pyyaml==6.0
Downloading PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB)
Collecting tomli==2.0.1
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting uproot==4.1.9
Downloading uproot-4.1.9-py2.py3-none-any.whl (301 kB)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from awkward==1.7.0->-r Examples/Python/tests/requirements.txt (line 9))
(45.2.0)
Installing collected packages: attrs, numpy, awkward, execnet, iniconfig, pyparsing, packaging, pluggy, py, tomli, pytest, pytest-check, pytest-
rerunfailures, pytest-xdist, pyyaml, uproot
Successfully installed attrs-21.4.0 awkward-1.7.0 execnet-1.9.0 iniconfig-1.1.1 numpy-1.22.2 packaging-21.3 pluggy-1.0.0 py-1.11.0 pyparsing-3.0.7
pytest-7.0.1 pytest-check-1.0.4 pytest-rerunfailures-10.2 pytest-xdist-3.2.1 pyyaml-6.0 tomli-2.0.1 uproot-4.1.9
$ nvidia-smi
Mon Nov 20 12:43:20 2023
+-----------------------------------------------------------------------------+
| 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% 38C P8 15W / 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-7.0.1, pluggy-1.0.0
rootdir: /builds/acts/ci-bridge/src, configfile: pytest.ini, testpaths: Examples/Python/tests
plugins: pytest_check-1.0.4, rerunfailures-10.2, xdist-3.2.1
collected 251 items / 247 deselected / 4 selected
Examples/Python/tests/test_examples.py s... [100%]
=========================== short test summary info ============================
SKIPPED [1] Examples/Python/tests/test_examples.py:1283: Combination of ONNX and CPU not yet supported
================ 3 passed, 1 skipped, 247 deselected in 16.85s =================
section_end:1700484218:step_script
section_start:1700484218:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1700484219:cleanup_file_variables
Job succeeded
Loading