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