Console Output

Started
Running as brainvisa
----------------------------------------
$ /usr/bin/python3 /volatile/a-sac-ns-brainvisa/bbi_nightly/cea-master-5.3/src/development/casa-distro/master/bin/casa_distro_admin create_user_image version=2025-08-05 name=cea-5.1-5.3-userimage environment_name=cea-5.1-5.3 output=/volatile/a-sac-ns-brainvisa/bbi_nightly/cea-5.1-5.3-userimage.sif force=yes install_thirdparty=file:///neurospin/brainvisa/thirdparty/thirdparty.json install_doc=True install_test=True
----------------------------------------
ERROR: create_user_image raised the following error:
Traceback (most recent call last):
  File "/volatile/a-sac-ns-brainvisa/bbi_nightly/cea-master-5.3/src/development/casa-distro/master/python/casa_distro/command.py", line 360, in main
    result = command(*args, **kwargs)
  File "/volatile/a-sac-ns-brainvisa/bbi_nightly/cea-master-5.3/src/development/casa-distro/master/python/casa_distro/admin_commands.py", line 818, in create_user_image
    raise ValueError('Unsupported container type: {0}'.format(
ValueError: Unsupported container type: singularity

Usage:
-----------------
create_user_image
-----------------
    Create a "user" image given a development environment.
    The development environment is selected among existing ones its
    distro and system or simply by its name. Only development environments
    using the master branch are considered.
    This command can perform three steps. Each step can be ignored by setting
    the corresponding option to "no" :
    
    - install: perform an installation of the development environment into its
      installation directory. This modify the development environment by
      updating its installation directory.
    
    - generate: generate a new image for the development environment. The new
      image is based on base_image and the installation directory of the
      development environment is copied into the image in /casa/install.
    
    
    Parameters
    ----------
    version [REQUIRED]
        Version of the release to create.
    name
        default={distro}-{version}
        Name given to the created image.
    base_image
        default={base_directory}/casa-run-{image_version}{extension}
        Name of the "run" image used to generate the new user image
    distro
        default=None
    
        If given, select environment having the given distro name.
    branch
        default=None
    
        If given, select environment having the given branch.
    system
        default=None
    
        If given, select environments having the given system name.
    image_version
        default=None
    
        If given, select environments having the given image version.
    environment_name
        If given, select dev environment by its name.
    container_type
        default=None
        Type of virtual appliance to use. Either "singularity", "vbox" or
        "docker".
    output
        default={base_directory}/{name}{extension}
        Path of the output image.
    force
        default=no
        If "yes", "true" or 1, erase existing image without asking any
        question.
    fakeroot (allowed only if container_type=singularity)
        default=yes
        If "yes", "true" or 1, use singularity --fakeroot for building the
        images (this is the recommended wby). Otherwise, "sudo singularity"
        must be used so singularity has root access on the host.
    base_directory
        default=/volatile/a-sac-ns-brainvisa/bbi_nightly
    
        Directory where images and environments are stored. This parameter
        can be passed on the commandline, or set via the
        "CASA_BASE_DIRECTORY" environment variable.
    install
        default=yes
        If "true", "yes" or "1", perform the installation steps:
        'make install-runtime', as well as 'make install-doc' and
        'make install-test', depending on the install_doc and install_test
        parameters.
        If "false", "no" or "0", skip all installation steps
    install_doc
        default=yes
        If "true", "yes" or "1", run 'make install-doc' as part of the install
        step.
        If "false", "no" or "0", skip this step
    install_test
        default=yes
        If "true", "yes" or "1", run 'make install-test' as part of the install
        step.
        If "false", "no" or "0", skip this step
    install_thirdparty
        default=none
        If "none", no third-party software is installed in the image. If
        "all", all available software will be installed during the "generate"
        step. If "default", a default list of software will be installed. If
        starting with "file://", then the thirdparty install list will be read
        from a JSON file. Other values are understood as a list of software
        ("spm12-standalone,freesurfer"). Each will be installed from their host
        system location into "/usr/local" on the container image. Software
        location will be searched in a small search list (/usr/local,
        /drf/local, /i2bm/local). If installed in another location, this
        location may be passed after a "=" sign in the software name, ex:
        "spm12-standalone=/opt/spm,freesurfer".
        If a JSON file is used, then the file syntax is a dictionary, keys are
        thirdparty software names ("spm12-standalone"), and values are
        directories. If default locations are expected, then the value may be
        null.
    generate
        default=yes
        If "true", "yes" or "1", perform the image creation step.
        If "false", "no" or "0", skip this step
    cleanup
        default=yes
        If "false", "no" or "0", do NOT clean up the temp image during the
        generate step after failed build, can be helpful for debugging
    zip
        default=no
        If "true", "yes" or "1", zip the installed files for an "online"
        installation.
    verbose
        default=True
    
        Print more detailed information if value is "yes", "true" or "1".

ERROR SUMMARY (details above): Unsupported container type: singularity:
based on config:
{'config_files': ['/volatile/a-sac-ns-brainvisa/bbi_nightly/cea-5.1-5.3/conf/casa_distro.json', '/home/a-sac-ns-brainvisa/.config/casa-distro/casa_distro_3.json'], 'directory': '/volatile/a-sac-ns-brainvisa/bbi_nightly/cea-5.1-5.3', 'mounts': {'/casa/host': '{directory}', '/host': '/', '/drf': '/drf', '/home': '/home', '/i2bm': '/i2bm', '/media': '/media', '/mnt': '/mnt', '/neurospin': '/neurospin', '/srv': '/srv', '/volatile': '/volatile'}, 'env': {'CASA_ENVIRONMENT': '{name}', 'CASA_SYSTEM': '{system}', 'CASA_HOST_DIR': '{directory}', 'CASA_DISTRO': '{distro}', 'SOMAWF_INPUT_PARAMS': '$SOMAWF_INPUT_PARAMS', 'SOMAWF_OUTPUT_PARAMS': '$SOMAWF_OUTPUT_PARAMS'}, 'gui_env': {'DISPLAY': '$DISPLAY'}, 'casa_distro_compatibility': '3', 'name': 'cea-5.1-5.3', 'distro': 'cea', 'type': 'dev', 'system': 'ubuntu-22.04', 'image_version': '5.3', 'branch': '5.1', 'container_type': 'singularity', 'image': '../casa-dev-5.3-25.sif', 'image_id': '160adba6-b807-42c9-ae6d-2c5443d0466f'}
create_user_image type: None

Finished: FAILURE