mac-test ○ success

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