test-mac-bundle-install ○ success

Duration: 16s
Queued: 0s
📁 Stage: test
🖥 Runner: macOS-jazz
Average Duration
25s
This job: 16s
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

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