Skip to content

Commit 2af1d5e

Browse files
authored
Enable GIT_TRACE for clone step in Fedora 29 workflow (openvinotoolkit#28721)
### Details: Trying to get more information about git clone hangs in Fedora 29 workflow ### Tickets: - *160901*
1 parent 2e68fd3 commit 2af1d5e

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

.github/workflows/job_build_linux.yml

+21-8
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,20 @@ jobs:
9090
MANIFEST_PATH: '/__w/openvino/openvino/manifest.yml'
9191
PRODUCT_TYPE: public_linux_${{ inputs.os }}_${{ inputs.arch }}_release
9292
steps:
93+
- name: Clone OpenVINO (with trace)
94+
if: ${{ inputs.os == 'fedora_29' }} # to debug ticket 160901
95+
env:
96+
GIT_TRACE: 1
97+
GIT_TRACE_PERFORMANCE: 1
98+
GIT_CURL_VERBOSE: 1
99+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
100+
timeout-minutes: 15
101+
with:
102+
path: ${{ env.OPENVINO_REPO }}
103+
submodules: 'true'
104+
93105
- name: Clone OpenVINO
106+
if: ${{ inputs.os != 'fedora_29' }}
94107
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
95108
timeout-minutes: 15
96109
with:
@@ -182,23 +195,23 @@ jobs:
182195
cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${INSTALL_TEST_DIR} --component tests
183196
cmake --install . --config ${{ env.CMAKE_BUILD_TYPE }} --prefix ${DEVELOPER_PACKAGE_DIR} --component developer_package
184197
working-directory: ${{ env.BUILD_DIR }}
185-
198+
186199
- name: Pack openvino_package
187200
run: tar -cvf - * | pigz > ${BUILD_DIR}/openvino_package.tar.gz
188201
working-directory: ${{ env.INSTALL_DIR }}
189-
202+
190203
- name: Pack openvino_developer_package
191204
run: tar -cvf - * | pigz > ${BUILD_DIR}/openvino_developer_package.tar.gz
192205
working-directory: ${{ env.DEVELOPER_PACKAGE_DIR }}
193-
206+
194207
- name: Pack openvino_tests
195208
run: tar -cvf - * | pigz > ${BUILD_DIR}/openvino_tests.tar.gz
196209
working-directory: ${{ env.INSTALL_TEST_DIR }}
197-
210+
198211
- name: Build Debian packages
199212
if: ${{ inputs.build-debian-packages }}
200213
run: |
201-
# Ubuntu 24 does not allow using the system Python directly so
214+
# Ubuntu 24 does not allow using the system Python directly so
202215
# we have to use Python from the virtual environment created in Docker
203216
[[ ${{ inputs.os }} == "ubuntu_24_04" ]] && python_exec=/venv/bin/python3 || python_exec=/usr/bin/python3
204217
$python_exec -m pip install -U pip
@@ -234,7 +247,7 @@ jobs:
234247
-DENABLE_WHEEL=OFF
235248
cmake --build ${BUILD_DIR} --parallel $(nproc)
236249
cmake --install ${BUILD_DIR} --prefix ${INSTALL_DIR_JS}
237-
250+
238251
- name: Pack openvino_js_package
239252
if: ${{ fromJSON(inputs.affected-components).JS_API && inputs.build-js }}
240253
run: tar -cvf - * | pigz > ${BUILD_DIR}/openvino_js_package.tar.gz
@@ -270,15 +283,15 @@ jobs:
270283
name: openvino_package
271284
path: ${{ env.BUILD_DIR }}/openvino_package.tar.gz
272285
if-no-files-found: 'error'
273-
286+
274287
- name: Upload openvino wheels
275288
if: ${{ inputs.os != 'debian_10' && inputs.arch != 'arm' }}
276289
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
277290
with:
278291
name: openvino_wheels
279292
path: ${{ env.INSTALL_WHEELS_DIR }}/wheels/*.whl
280293
if-no-files-found: 'error'
281-
294+
282295
- name: Upload openvino js package
283296
if: ${{ fromJSON(inputs.affected-components).JS_API && inputs.build-js }}
284297
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0

0 commit comments

Comments
 (0)