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