mac-test ○ success

Duration: 10s
Queued: 0s
📁 Stage: test
🖥 Runner: fizz - MacOS runner with ARM CPU
Average Duration
13s
This job: 10s
Failure Rate
0.0%
last 30 days

Job Execution Phases

💡 Tip: Click on any phase bar to jump to that section in the log below

Job Analysis

Job Status: Passed

Status: Job passed successfully

Full Job Log

198 lines
Match - of 0
1 22:39:50 Running with gitlab-runner 18.1.3 (a2f2305f)
2 22:39:50 on macOS-fizz hdAcRpRzs, system ID: s_5bcda91e1cd9
3 22:39:50 feature flags: FF_USE_FASTZIP:true, FF_SCRIPT_SECTIONS:true, FF_TIMESTAMPS:true, FF_GIT_URLS_WITHOUT_TOKENS:true
4 22:39:50 Resolving secrets
5 22:39:50 section_start:1778020790:prepare_executor
6 22:39:50 +Preparing the "shell" executor
7 22:39:50 Using Shell (bash) executor...
8 22:39:50 section_end:1778020790:prepare_executor
9 22:39:50 +section_start:1778020790:prepare_script
10 22:39:50 +Preparing environment
11 22:39:51 Running on fizz.zrh.int.scandit.io...
12 22:39:51 section_end:1778020791:prepare_script
13 22:39:51 +section_start:1778020791:get_sources
14 22:39:51 +Getting source from Git repository
15 22:39:52 section_start:1778020792:section_pre_clone_script_0[hide_duration=true,collapsed=true] $ bash /Volumes/EngData/.gitlab-runner/syspolicyd_health_check.sh || true
16 22:39:52 bash /Volumes/EngData/.gitlab-runner/disk_health_check.sh
17 22:39:52 function cleanup {
18 22:39:52 rv=$?
19 22:39:52 if [ $rv -ne 0 ]; then
20 22:39:52 if [[ -z "$GIT_STRATEGY" || "$GIT_STRATEGY" = "fetch" ]]; then
21 22:39:52 if [ -d "$CI_PROJECT_DIR" ]; then
22 22:39:52 echo "Something went wrong, cleaning $CI_PROJECT_DIR"
23 22:39:52 rm -rf $CI_PROJECT_DIR/{*,.*}
24 22:39:52 fi
25 22:39:52 fi
26 22:39:52 fi
27 22:39:52 exit $rv
28 22:39:52 }
29 22:39:52 trap cleanup EXIT
30 22:39:52 if [ -d "$CI_PROJECT_DIR" ]; then
31 22:39:52 cd "$CI_PROJECT_DIR"
32 22:39:52 for path in $GIT_CLEAN_SUBMODULE_PATHS; do
33 22:39:52 if [[ $(realpath "$path") =~ ^"${CI_PROJECT_DIR}/" ]]; then
34 22:39:52 echo "deleting: $path"
35 22:39:52 rm -rf "$path"
36 22:39:52 else
37 22:39:52 echo "$path is not a subpath of $CI_PROJECT_DIR"
38 22:39:52 fi
39 22:39:52 done
40 22:39:52 cd - > /dev/null
41 22:39:52 fi
42 22:39:52 section_end:1778020792:section_pre_clone_script_0
43 22:39:52 Gitaly correlation ID: 01KQX4RBV5VGAF8SADMAP3AD64
44 22:39:52 Fetching changes with git depth set to 50...
45 22:39:52 Initialized empty Git repository in /Volumes/EngData/builds/gitlab-templates/.git/
46 22:39:52 Created fresh repository.
47 22:39:53 Checking out 22f5b5c3 as detached HEAD (ref is refs/merge-requests/639/merge)...
48 22:39:53
49 22:39:53 Skipping Git submodules setup
50 22:39:53 section_end:1778020793:get_sources
51 22:39:53 +section_start:1778020793:step_script
52 22:39:53 +Executing "step_script" stage of the job script
53 22:39:54 section_start:1778020794:section_pre_build_script_0[hide_duration=true,collapsed=true] $ function cleanup {
54 22:39:54 rv=$?
55 22:39:54 if [ $rv -ne 0 ]; then
56 22:39:54 echo ""
57 22:39:54 echo " Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
58 22:39:54 echo ""
59 22:39:54 fi
60 22:39:54 exit $rv
61 22:39:54 }
62 22:39:54 trap cleanup EXIT
63 22:39:54 echo "INFO: This is the CI pre_build_script. It's defined in the backend/infra/macos repo."
64 22:39:54 echo "Sourcing ~/.bashrc"
65 22:39:54 [ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
66 22:39:54 echo "Setting up credentials for Gitlab package registries"
67 22:39:54 echo "machine gitlab.scandit.com" > ~/.netrc
68 22:39:54 echo "login gitlab-ci-token" >> ~/.netrc
69 22:39:54 echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
70 22:39:54 chmod 600 ~/.netrc
71 22:39:54 # Brew installs packages to different paths on M1.
72 22:39:54 # Thus, we need to indicate the path to some brew packages before doing the pip installation.
73 22:39:54 # At least tables package fails without this. These exports are safe to run also in Intel Macs
74 22:39:54 export HDF5_DIR="/opt/homebrew/opt/hdf5"
75 22:39:54 export OPENBLAS="/opt/homebrew/opt/openblas"
76 22:39:54 echo "Setting: HDF5_DIR=$HDF5_DIR"
77 22:39:54 echo "Setting: OPENBLAS=$OPENBLAS"
78 22:39:54 if [ -n "${XCODE_VERSION}" ]; then
79 22:39:54 echo "Using XCODE_VERSION variable to select Xcode version: $XCODE_VERSION"
80 22:39:54 sudo xcode-select --switch /Applications/Xcode.${XCODE_VERSION}.app/Contents/Developer/
81 22:39:54 else
82 22:39:54 echo "XCODE_VERSION was not defined, using Command Line Tools instead"
83 22:39:54 sudo xcode-select -s /Library/Developer/CommandLineTools
84 22:39:54 sudo xcode-select -p
85 22:39:54 fi
86 22:39:54 if [ -n "$ENABLE_DOTNET" ]; then
87 22:39:54 echo "Using DOTNET_VERSION variable to select SDK version: $DOTNET_VERSION"
88 22:39:54 dotnet new globaljson --sdk-version $DOTNET_VERSION --roll-forward feature --force
89 22:39:54 fi
90 22:39:54 python "/Volumes/EngData/.gitlab-runner/tool_versions.py" || true
91 22:39:54 echo "Killing Simulator, xcodebuild, clang, node, dotnet and machinelearningtests processes left from previous job"
92 22:39:54 pkill -9 Simulator || true
93 22:39:54 pkill -9 xcodebuild || true
94 22:39:54 pkill -9 node || true
95 22:39:54 pkill -9 clang || true
96 22:39:54 pkill -9 dotnet || true
97 22:39:54 pkill -9 machinelearningtests || true
98 22:39:54 section_end:1778020794:section_pre_build_script_0
99 22:39:54 INFO: This is the CI pre_build_script. It's defined in the backend/infra/macos repo.
100 22:39:54 Sourcing ~/.bashrc
101 22:39:54 Setting up credentials for Gitlab package registries
102 22:39:54 Setting: HDF5_DIR=/opt/homebrew/opt/hdf5
103 22:39:54 Setting: OPENBLAS=/opt/homebrew/opt/openblas
104 22:39:54 XCODE_VERSION was not defined, using Command Line Tools instead
105 22:39:54 /Library/Developer/CommandLineTools
106 22:39:56 Tool versions in this host:
107 22:39:56 Available Node versions: 14.20.1, 16.13.0, 16.20.1, 18.12.0, 18.19.1, 18.20.4, 20.18.3, 20.19.5, 22.15.0, 22.18.0, 22.20.0, 22.21.1, 24.14.1
108 22:39:56 Available CMake versions: 3.27.1, 4.2.2
109 22:39:56 ccache: 4.12.2
110 22:39:56 clang: 17.0.0, 1700.4.4, 24.6.0
111 22:39:56 CMake version in use: 3.27.1
112 22:39:56 dotnet sdk versions: 7.0.407, 7.0.410, 8.0.203, 8.0.406, 9.0.200, 10.0.103
113 22:39:56 Mono: not available
114 22:39:56 MS Build: not available
115 22:39:56 Xamarin.Android: not available
116 22:39:56 Xamarin.iOS: not available
117 22:39:56 active Xcode version: not available
118 22:39:56 pyenv: 2.4.23
119 22:39:56 uv: 0.7.3
120 22:39:56 Killing Simulator, xcodebuild, clang, node, dotnet and machinelearningtests processes left from previous job
121 22:39:56 $ export python_version=$(cat ./.python-version)
122 22:39:56 section_start:1778020796:section_script_step_1[hide_duration=true,collapsed=true] $ if [[ $python_version =~ ^([0-9]+\.[0-9]+)$ ]]; then
123 22:39:56 major_minor=${BASH_REMATCH[1]}
124 22:39:56 var_name="PYTHON${major_minor//./}"
125 22:39:56 echo "Using version from $var_name"
126 22:39:56 export python_version=${!var_name:-$python_version}
127 22:39:56 fi
128 22:39:56 section_end:1778020796:section_script_step_1
129 22:39:56 Using version from PYTHON312
130 22:39:56 $ echo "Installing python version $python_version"
131 22:39:56 Installing python version 3.12.8
132 22:39:56 $ pyenv install $python_version -s
133 22:39:56 $ pyenv shell $python_version
134 22:39:56 $ pyenv version
135 22:39:56 3.12.8 (set by PYENV_VERSION environment variable)
136 22:39:56 $ VENV_CACHE_PATH=${CI_BUILDS_DIR}/cache/${CI_RUNNER_SHORT_TOKEN}_${CI_CONCURRENT_ID}_${CI_PROJECT_PATH_SLUG}/venv_${CI_COMMIT_BRANCH}_${python_version}
137 22:39:56 $ export UV_CACHE_DIR=${CI_BUILDS_DIR}/cache/.uv
138 22:39:56 $ echo "UV_CACHE_DIR $UV_CACHE_DIR"
139 22:39:56 UV_CACHE_DIR /Volumes/EngData/builds/cache/.uv
140 22:39:56 $ mkdir -p $VENV_CACHE_PATH
141 22:39:56 $ python3 -m venv $VENV_CACHE_PATH
142 22:39:57 $ source $VENV_CACHE_PATH/bin/activate
143 22:39:57 $ python3 --version
144 22:39:57 Python 3.12.8
145 22:39:57 $ export BUILD_PACKAGES=${BUILD_PACKAGES:-wheel}
146 22:39:57 $ export PIP_REQUIREMENTS=${PIP_REQUIREMENTS:--r requirements.txt}
147 22:39:57 $ export PIP_ARGS=${PIP_ARGS:---no-build}
148 22:39:57 section_start:1778020797:section_script_step_16[hide_duration=true,collapsed=true] $ echo "BUILD_PACKAGES: ${BUILD_PACKAGES}"
149 22:39:57 echo "PIP_REQUIREMENTS: ${PIP_REQUIREMENTS}"
150 22:39:57 echo "PIP_ARGS: ${PIP_ARGS}"
151 22:39:57 section_end:1778020797:section_script_step_16
152 22:39:57 BUILD_PACKAGES: wheel
153 22:39:57 PIP_REQUIREMENTS: -r requirements.txt
154 22:39:57 PIP_ARGS: --no-build
155 22:39:57 $ python3 -m pip install --upgrade uv $BUILD_PACKAGES
156 22:39:58 Collecting uv
157 22:39:58 Using cached uv-0.11.10-py3-none-macosx_11_0_arm64.whl.metadata (11 kB)
158 22:39:58 Collecting wheel
159 22:39:58 Using cached wheel-0.47.0-py3-none-any.whl.metadata (2.3 kB)
160 22:39:58 Collecting packaging>=24.0 (from wheel)
161 22:39:58 Using cached packaging-26.2-py3-none-any.whl.metadata (3.5 kB)
162 22:39:58 Using cached uv-0.11.10-py3-none-macosx_11_0_arm64.whl (21.7 MB)
163 22:39:58 Using cached wheel-0.47.0-py3-none-any.whl (32 kB)
164 22:39:58 Using cached packaging-26.2-py3-none-any.whl (100 kB)
165 22:39:58 Installing collected packages: uv, packaging, wheel
166 22:39:58 Successfully installed packaging-26.2 uv-0.11.10 wheel-0.47.0
167 22:39:58
168 22:39:58 [notice] A new release of pip is available: 24.3.1 -> 26.1.1
169 22:39:58 [notice] To update, run: pip install --upgrade pip
170 22:39:58 $ time uv pip install $PIP_REQUIREMENTS $PIP_ARGS
171 22:39:58 Using Python 3.12.8 environment at: /Volumes/EngData/builds/cache/hdAcRpRzs_0_internal-gitlab-templates/venv__3.12.8
172 22:39:59 Resolved 7 packages in 410ms
173 22:39:59 Downloading pygments (1.2MiB)
174 22:39:59 Downloaded pygments
175 22:39:59 Prepared 6 packages in 99ms
176 22:39:59 Installed 6 packages in 6ms
177 22:39:59 + coverage==7.13.5
178 22:39:59 + iniconfig==2.3.0
179 22:39:59 + pluggy==1.6.0
180 22:39:59 + pygments==2.20.0
181 22:39:59 + pytest==9.0.3
182 22:39:59 + pytest-cov==7.1.0
183 22:39:59
184 22:39:59 real 0m1.037s
185 22:39:59 user 0m0.166s
186 22:39:59 sys 0m0.132s
187 22:39:59 $ pyenv rehash
188 22:39:59 $ sw_vers
189 22:39:59 ProductName: macOS
190 22:39:59 ProductVersion: 15.7.2
191 22:39:59 BuildVersion: 24G325
192 22:39:59 section_end:1778020799:step_script
193 22:39:59 +section_start:1778020799:cleanup_file_variables
194 22:39:59 +Cleaning up project directory and file based variables
195 22:40:00 section_end:1778020800:cleanup_file_variables
196 22:40:00 +
197 22:40:00 Job succeeded
198