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