Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-2976

Fix Jenkins builds

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      VBC Sprint 13
    • TVB-C Task:
      6.3 SCAI Viewer Design

      Description

      Multiple jobs in Jenkins are failing due to different reasons:

      • ┬áMAC build is failed - fixed it by constraining jinja2 and flask to compatible versions
        Installed /WORK/anaconda3/anaconda3/envs/mac-distribution/lib/python3.7/site-packages/tvb_build-2.0-py3.7.egg
        Processing dependencies for tvb-build==2.0
        error: Jinja2 3.0.1 is installed but jinja2<2.12.0,>=2.7.3 is required by {'allensdk'}
        
      • Windows build is failed - fixed by ignoring the _pycache_ folder at copy time
        Installed c:\jenkins_home\workspace\tvb - build - windows\tvb_build
         Generating ANACONDA-based TVB_Distribution! Windows
         -  Removing old artifacts
         -  Decompressing build\TVB_build_step1.zip into 'build\TVB_Distribution' ...
         -  Copying anaconda ENV folderC:\miniconda\envs\tvb-run into 'build\TVB_Distribution\tvb_data'...
        Traceback (most recent call last):
          File "build_from_conda.py", line 298, in <module>
            prepare_anaconda_dist(Config.win64())
          File "build_from_conda.py", line 259, in prepare_anaconda_dist
            shutil.copytree(config.anaconda_env_path, config.target_library_root)
          File "C:\miniconda\envs\tvb-run\lib\shutil.py", line 368, in copytree
            raise Error(errors)
        shutil.Error: [('C:\\miniconda\\envs\\tvb-run\\Lib\\site-packages\\allensdk\\brain_observatory\\behavior\\data_objects\\metadata\\ophys_experiment_metadata\\multi_plane_metadata\\__pycache__\\
        multi_plane_metadata.cpython-37.pyc', 'build\\TVB_Distribution\\tvb_data\\Lib\\site-packages\\allensdk\\brain_observatory\\behavior\\data_objects\\metadata\\ophys_experiment_metadata\\multi_pl
        ane_metadata\\__pycache__\\multi_plane_metadata.cpython-37.pyc', "[Errno 2] No such file or directory: 'build\\\\TVB_Distribution\\\\tvb_data\\\\Lib\\\\site-packages\\\\allensdk\\\\brain_obser
        vatory\\\\behavior\\\\data_objects\\\\metadata\\\\ophys_experiment_metadata\\\\multi_plane_metadata\\\\__pycache__\\\\multi_plane_metadata.cpython-37.pyc'")]
        
      • Test-Sqlite build is running continuously from 5 to 5 minutes being triggered by the TVB-2849 branch that does not exist anymore in Github - fixed it by cleaning the git repo on jenkins machine
      • TVB - Step1 fails at coverage step
        tvb/tests/framework/interfaces/neoforms_test.py:44: in <module>
            loader=PackageLoader('tvb.interfaces.web.templates', 'form_fields'),
        /opt/conda/envs/tvb-run/lib/python3.7/site-packages/jinja2/loaders.py:310: in __init__
            f"The {package_name!r} package was not installed in a"
        E   ValueError: The 'tvb.interfaces.web.templates' package was not installed in a way that PackageLoader understands.
        

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              paula.popa Paula Popa
              Reporter:
              paula.popa Paula Popa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days Original Estimate - 2 days
                  2d
                  Remaining:
                  Time Spent - 2 days Remaining Estimate - 1 hour, 30 minutes
                  1h 30m
                  Logged:
                  Time Spent - 2 days Remaining Estimate - 1 hour, 30 minutes
                  2d