diff --git a/.github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile b/.github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile index 018886c597b213..39347b2fe289e1 100644 --- a/.github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile +++ b/.github/dockerfiles/ov_build/ubuntu_22_04_riscv/Dockerfile @@ -67,8 +67,6 @@ RUN dpkg --add-architecture riscv64 && \ apt-get -y install curl && apt-get install libgomp1:riscv64 && \ apt-get install libatomic1:riscv64 -RUN echo 'libgomp installed' - # Setup pip ENV PIP_VERSION="24.0" RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ diff --git a/.github/workflows/dev_cpu_linux_riscv.yml b/.github/workflows/dev_cpu_linux_riscv.yml index 6b3637dd0f6cdc..ec836f2f30cc97 100644 --- a/.github/workflows/dev_cpu_linux_riscv.yml +++ b/.github/workflows/dev_cpu_linux_riscv.yml @@ -111,7 +111,6 @@ jobs: - name: System info uses: ./openvino/.github/actions/system_info -# remove ? - name: Setup ccache id: ccache_restore uses: ./openvino/.github/actions/cache @@ -130,7 +129,6 @@ jobs: run: | mkdir ${XUANTIE_DIR} pushd ${XUANTIE_DIR} - echo 'what is going on ?' ls -la ${XUANTIE_BIN_PATH} cp ${XUANTIE_BIN_PATH}${XUANTIE_TAR_NAME}.tar ${XUANTIE_DIR} ls -la ${XUANTIE_DIR} @@ -138,13 +136,7 @@ jobs: chmod -R 777 ${XUANTIE_TAR_NAME} ls -la ${XUANTIE_TAR_NAME}/libexec/gcc/riscv64-unknown-linux-gnu/10.4.0/ python3 -m pip install --upgrade pip setuptools wheel - echo 'prepare py - riscv interaction' ln -s /usr/include/riscv64-linux-gnu/ /usr/include/python3.10/ - # echo 'show old link' - # ls -la ${XUANTIE_DIR}/libexec/gcc/riscv64-unknown-linux-gnu/10.4.0/ - # echo 'show new link' - # cd ${XUANTIE_DIR}/libexec/gcc/riscv64-unknown-linux-gnu/10.4.0/ - # ln -s liblto_plugin.so.0.0.0 liblto_plugin.so popd - name: CMake configure - OpenVINO - 2 @@ -246,7 +238,6 @@ jobs: DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input INSTALL_DIR: ${{ github.workspace }}/install INSTALL_TEST_DIR: ${{ github.workspace }}/install/tests - # PARALLEL_TEST_SCRIPT: ${{ github.workspace }}/install/tests/functional_test_utils/layer_tests_summary/run_parallel.py XUANTIE_TAR_NAME: 'Xuantie-900-gcc-linux-5.15.0-glibc-x86_64-V2.8.1' XUANTIE_DIR: /__w/openvino/xuantie @@ -269,20 +260,11 @@ jobs: name: openvino_tests path: ${{ env.INSTALL_TEST_DIR }} - # # Needed as ${{ github.workspace }} is not working correctly when using Docker - # - name: Setup Variables - # run: | - # echo "INSTALL_TEST_DIR=$GITHUB_WORKSPACE/install/tests" >> "$GITHUB_ENV" - # echo 'show tests dir' - # ls -la ${{ env.INSTALL_TEST_DIR }} - - # Needed as ${{ github.workspace }} is not working correctly when using Docker - name: Setup Variables run: | echo "INSTALL_DIR=$GITHUB_WORKSPACE/install" >> "$GITHUB_ENV" echo "INSTALL_TEST_DIR=$GITHUB_WORKSPACE/install/tests" >> "$GITHUB_ENV" -# echo "PARALLEL_TEST_SCRIPT=$GITHUB_WORKSPACE/install/tests/functional_test_utils/layer_tests_summary/run_parallel.py" >> "$GITHUB_ENV" - name: Extract OpenVINO packages run: | @@ -295,24 +277,6 @@ jobs: ls -la $INSTALL_TEST_DIR/tests popd -# - name: Fetch setup_python action -# uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 -# with: -# sparse-checkout: | -# .github/actions/setup_python/action.yml -# sparse-checkout-cone-mode: false -# path: 'openvino' - -# # - name: Setup Python 3.11 -# # uses: ./openvino/.github/actions/setup_python -# # with: -# # version: '3.11' -# # should-setup-pip-paths: 'false' -# # self-hosted-runner: ${{ runner.os == 'Linux' }} - - # - name: Install python dependencies for run_parallel.py - # run: python3 -m pip install -r ${INSTALL_DIR}/functional_test_utils/layer_tests_summary/requirements.txt - - name: Intel CPU plugin func tests run: | # Needed as the Linux CC does not require setupvars to work @@ -321,46 +285,10 @@ jobs: fi # Needed as ze_loader.so is under INSTALL_TEST_DIR export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${INSTALL_TEST_DIR}/tests - - # ls -LA ${XUANTIE_DIR}/${XUANTIE_TAR_NAME}/ chmod -R 777 ${XUANTIE_DIR}/${XUANTIE_TAR_NAME} - # apt-get install libgomp1 - # apt-get update && apt-get install -y --no-install-recommends apt-utils - # apt-get -y install curl - # apt-get install libgomp1 - pushd ${INSTALL_TEST_DIR}/tests - echo 'find libatomic1 - start' - ldconfig -p | grep libatomic - echo 'find libatomic1 - end' - popd ${XUANTIE_DIR}/${XUANTIE_TAR_NAME}/bin/qemu-riscv64 -cpu c910v ${INSTALL_TEST_DIR}/tests/ov_cpu_func_tests --gtest_filter=*smoke_AdaPoolAvg4DLayoutTest* --gtest_print_time=1 timeout-minutes: 25 - name: Upload Test Results - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 - if: always() - with: - name: test-results-functional-cpu - path: | - ${{ env.INSTALL_TEST_DIR }}/logs/*.log - ${{ env.INSTALL_TEST_DIR }}/logs/failed/*.log - ${{ env.INSTALL_TEST_DIR }}/logs/crashed/*.log - ${{ env.INSTALL_TEST_DIR }}/logs/hanged/*.log - ${{ env.INSTALL_TEST_DIR }}/logs/interapted/*.log - ${{ env.INSTALL_TEST_DIR }}/logs/hash_table.csv - if-no-files-found: 'error' - - - Overall_Status: - name: ci/gha_overall_status_linux_riscv - needs: [Smart_CI, Build] - if: ${{ always() }} - runs-on: ubuntu-latest - steps: - - name: Check status of all jobs - if: >- - ${{ - contains(needs.*.result, 'failure') || - contains(needs.*.result, 'cancelled') - }} - run: exit 1 + run: | + echo 'to do'