CARTAvis / carta-backend

Source code repository for the backend component of CARTA, a new visualization tool designed for the ALMA, the VLA and the SKA pathfinders.
https://cartavis.github.io/
GNU General Public License v3.0
22 stars 10 forks source link

Fixed the current building issue of centOS7 in the CI/CD #1374

Closed acdo2002 closed 2 months ago

acdo2002 commented 2 months ago

Description

However, I found there is no

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

in the carta-backend/.github/workflows/icd_tests.yml, so I have no idea how to trigger this specific branch to run the icd_tests.yml... (unlike icd_tests.yml in the ICD-RxJS/.github/workflows) The old PR, that adding all ICD tests into the github action runner looks like merged into the dev branch because the PR was not the an usual PR...

Note: the potential review method I can imagine so far is visual checking of these two files: ICD-RxJS/.github/workflows/icd_tests.yml carta-backend/.github/workflows/icd_tests.yml

Check (1) name: Build carta-backend (Linux) - run: the cd source ; git submodule update --init --recursive should be before the apptainer

(2)name: Prepare ICD-RxJS (Linux) - run: the

          cd $BUILD_DIR/ICD-RxJS
          git submodule update --init --recursive

should be before the apptainer too.

Checklist

github-actions[bot] commented 2 months ago

Code Coverage

Package Line Rate Health
src.Cache 72%
src.DataStream 44%
src.FileList 67%
src.Frame 36%
src.HttpServer 42%
src.ImageData 28%
src.ImageFitter 83%
src.ImageGenerators 43%
src.ImageStats 75%
src.Logger 37%
src.Main 52%
src.Region 69%
src.Session 4%
src.Table 52%
src.ThreadingManager 67%
src.Timer 85%
src.Util 40%
Summary 46% (8605 / 18779)
confluence commented 2 months ago

I assume that the root cause is the inability to access the internet from inside the container -- that's where I would start looking. Perhaps there's been a change in the default configuration. I recently ran into an issue with internet access not working from inside docker on a fresh virtual machine, and that turned out to be a MTU mismatch between the interface docker created and the host -- this could be something similar.

acdo2002 commented 2 months ago

Actually I have accessed into the docker and access to the internet (git clone) works fine in the home directory. It (git clone) only fails in the github action runner folder and I found the github action runner version update, based on this discussion so far I cannot find the solution to specific the older github action runner version, as Adrianna mentioned it could the github action runner default configuration problem. So Anthony and I decided to workaround git clone (prepare the repository) before we start the docker. Any potential solution suggestion is welcome. Also Mark mentioned there is a problem of cartaviewer server (running rhet7 and rhet8 CI/CD). Anthony and Mark are trying to fix the problem.