mac-test β—‹ success

⏱ Duration: 20s
⏳ Queued: 0s
πŸ“ Stage: test
πŸ–₯ Runner: macOS-mcintosh
Average Duration
13s
This job: 20s
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

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