test-mac-bundle-install ○ success

Duration: 6s
Queued: 0s
📁 Stage: test
🖥 Runner: pegasus - MacOS runner with ARM CPU (M4)
Average Duration
25s
This job: 6s
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

160 lines
Match - of 0
1 09:35:14 Running with gitlab-runner 18.1.3 (a2f2305f)
2 09:35:14 on macOS-pegasus nxqvaalzK, system ID: s_d26c3db213af
3 09:35:14 feature flags: FF_USE_FASTZIP:true, FF_SCRIPT_SECTIONS:true, FF_TIMESTAMPS:true, FF_GIT_URLS_WITHOUT_TOKENS:true
4 09:35:14 Resolving secrets
5 09:35:14 section_start:1777973714:prepare_executor
6 09:35:14 +Preparing the "shell" executor
7 09:35:14 Using Shell (bash) executor...
8 09:35:14 section_end:1777973714:prepare_executor
9 09:35:14 +section_start:1777973714:prepare_script
10 09:35:14 +Preparing environment
11 09:35:15 Running on pegasus.zrh.int.scandit.io...
12 09:35:15 section_end:1777973715:prepare_script
13 09:35:15 +section_start:1777973715:get_sources
14 09:35:15 +Getting source from Git repository
15 09:35:15 section_start:1777973715:section_pre_clone_script_0[hide_duration=true,collapsed=true] $ bash /Volumes/EngData/.gitlab-runner/syspolicyd_health_check.sh || true
16 09:35:15 bash /Volumes/EngData/.gitlab-runner/disk_health_check.sh
17 09:35:15 function cleanup {
18 09:35:15 rv=$?
19 09:35:15 if [ $rv -ne 0 ]; then
20 09:35:15 if [[ -z "$GIT_STRATEGY" || "$GIT_STRATEGY" = "fetch" ]]; then
21 09:35:15 if [ -d "$CI_PROJECT_DIR" ]; then
22 09:35:15 echo "Something went wrong, cleaning $CI_PROJECT_DIR"
23 09:35:15 rm -rf $CI_PROJECT_DIR/{*,.*}
24 09:35:15 fi
25 09:35:15 fi
26 09:35:15 fi
27 09:35:15 exit $rv
28 09:35:15 }
29 09:35:15 trap cleanup EXIT
30 09:35:15 if [ -d "$CI_PROJECT_DIR" ]; then
31 09:35:15 cd "$CI_PROJECT_DIR"
32 09:35:15 for path in $GIT_CLEAN_SUBMODULE_PATHS; do
33 09:35:15 if [[ $(realpath "$path") =~ ^"${CI_PROJECT_DIR}/" ]]; then
34 09:35:15 echo "deleting: $path"
35 09:35:15 rm -rf "$path"
36 09:35:15 else
37 09:35:15 echo "$path is not a subpath of $CI_PROJECT_DIR"
38 09:35:15 fi
39 09:35:15 done
40 09:35:15 cd - > /dev/null
41 09:35:15 fi
42 09:35:15 section_end:1777973715:section_pre_clone_script_0
43 09:35:15 Gitaly correlation ID: 01KQVQVQN7AM2F2DVQ3C09N7VN
44 09:35:15 Fetching changes with git depth set to 50...
45 09:35:15 Reinitialized existing Git repository in /Volumes/EngData/builds/gitlab-templates/.git/
46 09:35:16 Checking out eea928ac as detached HEAD (ref is refs/merge-requests/637/merge)...
47 09:35:16
48 09:35:16 Skipping Git submodules setup
49 09:35:16 section_end:1777973716:get_sources
50 09:35:16 +section_start:1777973716:step_script
51 09:35:16 +Executing "step_script" stage of the job script
52 09:35:16 section_start:1777973716:section_pre_build_script_0[hide_duration=true,collapsed=true] $ function cleanup {
53 09:35:16 rv=$?
54 09:35:16 if [ $rv -ne 0 ]; then
55 09:35:16 echo ""
56 09:35:16 echo " Scout Analysis: https://scout.scandit.io/analysis/projects/${CI_PROJECT_ID}/jobs/${CI_JOB_ID}"
57 09:35:16 echo ""
58 09:35:16 fi
59 09:35:16 exit $rv
60 09:35:16 }
61 09:35:16 trap cleanup EXIT
62 09:35:16 echo "INFO: This is the CI pre_build_script. It's defined in the backend/infra/macos repo."
63 09:35:16 echo "Sourcing ~/.bashrc"
64 09:35:16 [ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
65 09:35:16 echo "Setting up credentials for Gitlab package registries"
66 09:35:16 echo "machine gitlab.scandit.com" > ~/.netrc
67 09:35:16 echo "login gitlab-ci-token" >> ~/.netrc
68 09:35:16 echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
69 09:35:16 chmod 600 ~/.netrc
70 09:35:16 # Brew installs packages to different paths on M1.
71 09:35:16 # Thus, we need to indicate the path to some brew packages before doing the pip installation.
72 09:35:16 # At least tables package fails without this. These exports are safe to run also in Intel Macs
73 09:35:16 export HDF5_DIR="/opt/homebrew/opt/hdf5"
74 09:35:16 export OPENBLAS="/opt/homebrew/opt/openblas"
75 09:35:16 echo "Setting: HDF5_DIR=$HDF5_DIR"
76 09:35:16 echo "Setting: OPENBLAS=$OPENBLAS"
77 09:35:16 if [ -n "${XCODE_VERSION}" ]; then
78 09:35:16 echo "Using XCODE_VERSION variable to select Xcode version: $XCODE_VERSION"
79 09:35:16 sudo xcode-select --switch /Applications/Xcode.${XCODE_VERSION}.app/Contents/Developer/
80 09:35:16 else
81 09:35:16 echo "XCODE_VERSION was not defined, using Command Line Tools instead"
82 09:35:16 sudo xcode-select -s /Library/Developer/CommandLineTools
83 09:35:16 sudo xcode-select -p
84 09:35:16 fi
85 09:35:16 if [ -n "$ENABLE_DOTNET" ]; then
86 09:35:16 echo "Using DOTNET_VERSION variable to select SDK version: $DOTNET_VERSION"
87 09:35:16 dotnet new globaljson --sdk-version $DOTNET_VERSION --roll-forward feature --force
88 09:35:16 fi
89 09:35:16 python "/Volumes/EngData/.gitlab-runner/tool_versions.py" || true
90 09:35:16 echo "Killing Simulator, xcodebuild, clang, node, dotnet and machinelearningtests processes left from previous job"
91 09:35:16 pkill -9 Simulator || true
92 09:35:16 pkill -9 xcodebuild || true
93 09:35:16 pkill -9 node || true
94 09:35:16 pkill -9 clang || true
95 09:35:16 pkill -9 dotnet || true
96 09:35:16 pkill -9 machinelearningtests || true
97 09:35:16 section_end:1777973716:section_pre_build_script_0
98 09:35:16 INFO: This is the CI pre_build_script. It's defined in the backend/infra/macos repo.
99 09:35:16 Sourcing ~/.bashrc
100 09:35:17 Setting up credentials for Gitlab package registries
101 09:35:17 Setting: HDF5_DIR=/opt/homebrew/opt/hdf5
102 09:35:17 Setting: OPENBLAS=/opt/homebrew/opt/openblas
103 09:35:17 XCODE_VERSION was not defined, using Command Line Tools instead
104 09:35:17 /Library/Developer/CommandLineTools
105 09:35:18 Tool versions in this host:
106 09:35:18 Available Node versions: 16.13.0, 16.20.1, 18.19.1, 20.18.3, 20.19.5, 20.20.2, 22.15.0, 22.18.0, 22.20.0, 22.21.1, 24.14.1
107 09:35:18 Available CMake versions: 3.27.1, 4.2.2
108 09:35:18 ccache: 4.12.2
109 09:35:18 clang: 17.0.0, 1700.4.4, 24.6.0
110 09:35:18 CMake version in use: 3.27.1
111 09:35:18 dotnet sdk versions: 7.0.407, 7.0.410, 8.0.203, 8.0.406, 9.0.200, 10.0.103
112 09:35:18 Mono: not available
113 09:35:18 MS Build: not available
114 09:35:18 Xamarin.Android: not available
115 09:35:18 Xamarin.iOS: not available
116 09:35:18 active Xcode version: not available
117 09:35:18 pyenv: 2.4.23
118 09:35:18 uv: 0.7.3
119 09:35:18 Killing Simulator, xcodebuild, clang, node, dotnet and machinelearningtests processes left from previous job
120 09:35:18 $ if ! [[ "$VM_RUNNER" == "true" ]]; then
121 09:35:18 $ export ruby_version=$(cat ./.ruby-version || echo "3.2.1")
122 09:35:18 cat: ./.ruby-version: No such file or directory
123 09:35:18 $ export GEM_HOME=${CI_BUILDS_DIR}/cache/${CI_PROJECT_ID}/${ruby_version}/gem
124 09:35:18 $ export GEM_PATH=${GEM_HOME}
125 09:35:18 $ echo "GEM_HOME=${GEM_HOME}"
126 09:35:18 GEM_HOME=/Volumes/EngData/builds/cache/621/3.2.1/gem
127 09:35:18 $ export PATH=$GEM_HOME/bin:$PATH
128 09:35:18 $ eval "$($HOME/.rbenv/bin/rbenv init - bash)"
129 09:35:18 $ rbenv install $ruby_version -s
130 09:35:18 $ rbenv shell $ruby_version
131 09:35:18 $ rbenv which ruby
132 09:35:18 /Users/scandit/.rbenv/versions/3.2.1/bin/ruby
133 09:35:18 $ gem install bundler
134 09:35:18 Successfully installed bundler-4.0.11
135 09:35:18 Parsing documentation for bundler-4.0.11
136 09:35:18 Done installing documentation for bundler after 0 seconds
137 09:35:18 1 gem installed
138 09:35:18 $ bundle install
139 09:35:19 Fetching gem metadata from https://rubygems.org/........
140 09:35:20 Resolving dependencies...
141 09:35:20 Bundle complete! 1 Gemfile dependency, 95 gems now installed.
142 09:35:20 Use `bundle info [gemname]` to see where a bundled gem is installed.
143 09:35:20 $ rbenv rehash
144 09:35:20 $ fi
145 09:35:20 $ bundle info fastlane
146 09:35:20 * fastlane (2.233.1)
147 09:35:20 Summary: The easiest way to build and release mobile apps.
148 09:35:20 Homepage: https://fastlane.tools
149 09:35:20 Documentation: https://docs.fastlane.tools/
150 09:35:20 Source Code: https://github.com/fastlane/fastlane
151 09:35:20 Changelog: https://github.com/fastlane/fastlane/releases
152 09:35:20 Bug Tracker: https://github.com/fastlane/fastlane/issues
153 09:35:20 Path: /Volumes/EngData/builds/cache/621/3.2.1/gem/gems/fastlane-2.233.1
154 09:35:20 section_end:1777973720:step_script
155 09:35:20 +section_start:1777973720:cleanup_file_variables
156 09:35:20 +Cleaning up project directory and file based variables
157 09:35:21 section_end:1777973721:cleanup_file_variables
158 09:35:21 +
159 09:35:21 Job succeeded
160