Skip to content

ERROR 'NoneType' object has no attribute 'get_mount_point' #950

@howff

Description

@howff
DEBUG    EXECUTING command test -e '/tmp/streamflow' && readlink -f '/tmp/streamflow' 2>&1 on singularity-wraps-slurm/752445a6-876d-403c-9170-603d07886508
DEBUG    EXECUTING command singularity exec   instance://752445a6-876d-403c-9170-603d07886508 sh -c 'echo dGVzdCAtZSAnL3RtcC9zdHJlYW1mbG93JyAmJiByZWFkbGluayAtZiAnL3RtcC9zdHJlYW1mbG93JyAyPiYx | base64 -d | sh' 2>&1 on __LOCAL__/__LOCAL__
ERROR    'NoneType' object has no attribute 'get_mount_point'

Traceback

  File "streamflow/core/recovery.py", line 44, in wrapper
    await func(*args, **kwargs)
  File "streamflow/workflow/step.py", line 1432, in _schedule
    await self.workflow.context.scheduler.schedule(
  File "streamflow/scheduling/scheduler.py", line 554, in schedule
    task.result()
  File "streamflow/scheduling/scheduler.py", line 339, in _process_target
    for requirements in await asyncio.gather(
  File "streamflow/scheduling/scheduler.py", line 474, in _resolve_hardware_requirement
    hardware_requirement = await utils.bind_mount_point(
  File "streamflow/data/utils.py", line 38, in bind_mount_point
    mount_point = await get_mount_point(context, location, disk.bind)
  File "streamflow/data/utils.py", line 70, in get_mount_point
    return location.hardware.get_mount_point(path)
AttributeError: 'NoneType' object has no attribute 'get_mount_point'

This is when I try to use a streamflow like this:

version: v1.0
workflows:
  extract-and-compile:
    type: cwl
    config:
      file: workflow.cwl
      settings: config.yml
    bindings:
      - step: /compile
        target:
          deployment: singularity-wraps-slurm
          service: localslurm

deployments:
  slurm:
    type: slurm
    config:
      services:
        localslurm:
          nodes: "1"
          mem: 1gb
          file: my_sbatch.sh

  singularity-wraps-slurm:
    type: singularity
    config:
      image: jdk17.sif
    wraps: slurm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions