Skip to content

petsc rerender error #2561

@minrk

Description

@minrk

rerenders of petsc have started to fail, I believe starting with the merge of conda-forge/petsc-feedstock#193, which adds cuda builds.

The bot error doesn't show any actual errors and a manual rerender with the migrator succeeds, so I suspect it could be a memory exhaustion issue.

bot error
bot error (
[bot CI job](https://github.com/regro/cf-scripts/actions/runs/8986224807)
): main: Traceback (most recent call last):
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/auto_tick.py", line 1271, in _run_migrator
    migrator_uid, pr_json = run(
                            ^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/auto_tick.py", line 284, in run
    rerender_msg = rerender_feedstock(feedstock_dir, timeout=900)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/rerender_feedstock.py", line 49, in rerender_feedstock
    return rerender_feedstock_containerized(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/rerender_feedstock.py", line 102, in rerender_feedstock_containerized
    data = run_container_task(
           ^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/utils.py", line 229, in run_container_task
    raise RuntimeError(
RuntimeError: Error running rerender-feedstock in container - error RuntimeError("Failed to rerender.\noutput: Adding in variants from internal_defaults\nAdding in variants from /tmp/tmp76lv6jme/conda-smithy/conda_build_config.yaml\nAdding in variants from /tmp/tmpiph3pba7/petsc-feedstock/recipe/conda_build_config.yaml\nAdding in variants from argument_variants\nINFO:conda_smithy.configure_feedstock:Downloading conda-forge-pinning-2024.05.07.12.03.23\nINFO:conda_smithy.configure_feedstock:Extracting conda-forge-pinning to /tmp/tmp76lv6jme/conda-smithy\nINFO:conda_smithy.configure_feedstock:__pycache__ rendering is skipped\nINFO:conda_smithy.configure_feedstock:README rendering is skipped\nINFO:conda_smithy.configure_feedstock:suitesparse7.yaml from feedstock is ignored and upstream version is used\nINFO:conda_smithy.configure_feedstock:mumps_mpi571.yaml from feedstock is ignored and upstream version is used\nWARNING: Setting build platform. This is only useful when pretending to be on another platform, such as for rendering necessary dependencies on a non-native platform. I trust that you know what you're doing.\nWARNING: Setting build arch. This is only useful when pretending to be on another arch, such as for rendering necessary dependencies on a non-native arch. I trust that you know what you're doing.\nWARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.23\nINFO:conda_smithy.configure_feedstock:Applying migrations: /tmp/tmpiph3pba7/petsc-feedstock/.ci_support/migrations/cuda120.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/suitesparse7.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/mumps_mpi571.yaml\n/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_build/environ.py:558: UserWarning: The environment variable 'CUDA_CONDA_TARGET_NAME' is being passed through with value 'x86_64-linux'.  If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.\n  warnings.warn(\nINFO:conda_smithy.configure_feedstock:Applying migrations: /tmp/tmpiph3pba7/petsc-feedstock/.ci_support/migrations/cuda120.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/suitesparse7.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/mumps_mpi571.yaml\n/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_build/environ.py:558: UserWarning: The environment variable 'CUDA_CONDA_TARGET_NAME' is being passed through with value 'sbsa-linux'.  If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.\n  warnings.warn(\nINFO:conda_smithy.configure_feedstock:Applying migrations: /tmp/tmpiph3pba7/petsc-feedstock/.ci_support/migrations/cuda120.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/suitesparse7.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/mumps_mpi571.yaml\n/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_build/environ.py:558: UserWarning: The environment variable 'CUDA_CONDA_TARGET_NAME' is being passed through with value 'ppc64le-linux'.  If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time.\n  warnings.warn(\n\n") raised:
cmd: ['docker',
 'run',
 '-e',
 'CF_TICK_IN_CONTAINER=true',
 '--security-opt=no-new-privileges',
 '--read-only',
 '--cap-drop=all',
 '--mount',
 'type=tmpfs,destination=/tmp,tmpfs-mode=1777,tmpfs-size=6000000000',
 '-m',
 '6000m',
 '--cpus',
 '1',
 '--ulimit',
 'nofile=1024:1024',
 '--ulimit',
 'nproc=2048:2048',
 '--rm',
 '-i',
 '--mount',
 'type=bind,source=/tmp/tmp2sh_59zq,destination=/cf_tick_dir',
 'ghcr.io/regro/conda-forge-tick:master',
 '/opt/conda/envs/cf-scripts/bin/python',
 '-u',
 '/opt/autotick-bot/docker/run_bot_task.py',
 'rerender-feedstock',
 '--timeout',
 '900',
 '--log-level',
 'info']
stdout: {'data': None,
 'error': 'RuntimeError("Failed to rerender.\\noutput: Adding in variants from '
          'internal_defaults\\nAdding in variants from '
          '/tmp/tmp76lv6jme/conda-smithy/conda_build_config.yaml\\nAdding in '
          'variants from '
          '/tmp/tmpiph3pba7/petsc-feedstock/recipe/conda_build_config.yaml\\nAdding '
          'in variants from '
          'argument_variants\\nINFO:conda_smithy.configure_feedstock:Downloading '
          'conda-forge-pinning-2024.05.07.12.03.23\\nINFO:conda_smithy.configure_feedstock:Extracting '
          'conda-forge-pinning to '
          '/tmp/tmp76lv6jme/conda-smithy\\nINFO:conda_smithy.configure_feedstock:__pycache__ '
          'rendering is skipped\\nINFO:conda_smithy.configure_feedstock:README '
          'rendering is '
          'skipped\\nINFO:conda_smithy.configure_feedstock:suitesparse7.yaml '
          'from feedstock is ignored and upstream version is '
          'used\\nINFO:conda_smithy.configure_feedstock:mumps_mpi571.yaml from '
          'feedstock is ignored and upstream version is used\\nWARNING: '
          'Setting build platform. This is only useful when pretending to be '
          'on another platform, such as for rendering necessary dependencies '
          "on a non-native platform. I trust that you know what you're "
          'doing.\\nWARNING: Setting build arch. This is only useful when '
          'pretending to be on another arch, such as for rendering necessary '
          'dependencies on a non-native arch. I trust that you know what '
          "you're doing.\\nWARNING: No numpy version specified in "
          'conda_build_config.yaml.  Falling back to default numpy value of '
          '1.23\\nINFO:conda_smithy.configure_feedstock:Applying migrations: '
          '/tmp/tmpiph3pba7/petsc-feedstock/.ci_support/migrations/cuda120.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/suitesparse7.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/mumps_mpi571.yaml\\n/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_build/environ.py:558: '
          "UserWarning: The environment variable 'CUDA_CONDA_TARGET_NAME' is "
          "being passed through with value 'x86_64-linux'.  If you are "
          'splitting build and test phases with --no-test, please ensure that '
          'this value is also set similarly at test time.\\n  '
          'warnings.warn(\\nINFO:conda_smithy.configure_feedstock:Applying '
          'migrations: '
          '/tmp/tmpiph3pba7/petsc-feedstock/.ci_support/migrations/cuda120.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/suitesparse7.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/mumps_mpi571.yaml\\n/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_build/environ.py:558: '
          "UserWarning: The environment variable 'CUDA_CONDA_TARGET_NAME' is "
          "being passed through with value 'sbsa-linux'.  If you are splitting "
          'build and test phases with --no-test, please ensure that this value '
          'is also set similarly at test time.\\n  '
          'warnings.warn(\\nINFO:conda_smithy.configure_feedstock:Applying '
          'migrations: '
          '/tmp/tmpiph3pba7/petsc-feedstock/.ci_support/migrations/cuda120.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/suitesparse7.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/mumps_mpi571.yaml\\n/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_build/environ.py:558: '
          "UserWarning: The environment variable 'CUDA_CONDA_TARGET_NAME' is "
          "being passed through with value 'ppc64le-linux'.  If you are "
          'splitting build and test phases with --no-test, please ensure that '
          'this value is also set similarly at test time.\\n  '
          'warnings.warn(\\n\\n")',
 'timeout': 900,
 'traceback': 'Traceback (most recent call last):\n'
              '  File "/opt/autotick-bot/docker/run_bot_task.py", line 118, in '
              '_run_bot_task\n'
              '    data = func(**kwargs)\n'
              '           ^^^^^^^^^^^^^^\n'
              '  File "/opt/autotick-bot/docker/run_bot_task.py", line 239, in '
              '_rerender_feedstock\n'
              '    msg = rerender_feedstock_local(fs_dir, **kwargs)\n'
              '          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n'
              '  File '
              '"/opt/autotick-bot/conda_forge_tick/rerender_feedstock.py", '
              'line 239, in rerender_feedstock_local\n'
              '    raise RuntimeError(f"Failed to rerender.\\noutput: '
              '{ret.stdout}\\n")\n'
              'RuntimeError: Failed to rerender.\n'
              'output: Adding in variants from internal_defaults\n'
              'Adding in variants from '
              '/tmp/tmp76lv6jme/conda-smithy/conda_build_config.yaml\n'
              'Adding in variants from '
              '/tmp/tmpiph3pba7/petsc-feedstock/recipe/conda_build_config.yaml\n'
              'Adding in variants from argument_variants\n'
              'INFO:conda_smithy.configure_feedstock:Downloading '
              'conda-forge-pinning-2024.05.07.12.03.23\n'
              'INFO:conda_smithy.configure_feedstock:Extracting '
              'conda-forge-pinning to /tmp/tmp76lv6jme/conda-smithy\n'
              'INFO:conda_smithy.configure_feedstock:__pycache__ rendering is '
              'skipped\n'
              'INFO:conda_smithy.configure_feedstock:README rendering is '
              'skipped\n'
              'INFO:conda_smithy.configure_feedstock:suitesparse7.yaml from '
              'feedstock is ignored and upstream version is used\n'
              'INFO:conda_smithy.configure_feedstock:mumps_mpi571.yaml from '
              'feedstock is ignored and upstream version is used\n'
              'WARNING: Setting build platform. This is only useful when '
              'pretending to be on another platform, such as for rendering '
              'necessary dependencies on a non-native platform. I trust that '
              "you know what you're doing.\n"
              'WARNING: Setting build arch. This is only useful when '
              'pretending to be on another arch, such as for rendering '
              'necessary dependencies on a non-native arch. I trust that you '
              "know what you're doing.\n"
              'WARNING: No numpy version specified in '
              'conda_build_config.yaml.  Falling back to default numpy value '
              'of 1.23\n'
              'INFO:conda_smithy.configure_feedstock:Applying migrations: '
              '/tmp/tmpiph3pba7/petsc-feedstock/.ci_support/migrations/cuda120.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/suitesparse7.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/mumps_mpi571.yaml\n'
              '/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_build/environ.py:558: '
              "UserWarning: The environment variable 'CUDA_CONDA_TARGET_NAME' "
              "is being passed through with value 'x86_64-linux'.  If you are "
              'splitting build and test phases with --no-test, please ensure '
              'that this value is also set similarly at test time.\n'
              '  warnings.warn(\n'
              'INFO:conda_smithy.configure_feedstock:Applying migrations: '
              '/tmp/tmpiph3pba7/petsc-feedstock/.ci_support/migrations/cuda120.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/suitesparse7.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/mumps_mpi571.yaml\n'
              '/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_build/environ.py:558: '
              "UserWarning: The environment variable 'CUDA_CONDA_TARGET_NAME' "
              "is being passed through with value 'sbsa-linux'.  If you are "
              'splitting build and test phases with --no-test, please ensure '
              'that this value is also set similarly at test time.\n'
              '  warnings.warn(\n'
              'INFO:conda_smithy.configure_feedstock:Applying migrations: '
              '/tmp/tmpiph3pba7/petsc-feedstock/.ci_support/migrations/cuda120.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/suitesparse7.yaml,/tmp/tmp76lv6jme/conda-smithy/share/conda-forge/migrations/mumps_mpi571.yaml\n'
              '/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/conda_build/environ.py:558: '
              "UserWarning: The environment variable 'CUDA_CONDA_TARGET_NAME' "
              "is being passed through with value 'ppc64le-linux'.  If you are "
              'splitting build and test phases with --no-test, please ensure '
              'that this value is also set similarly at test time.\n'
              '  warnings.warn(\n'
              '\n'
              '\n'}

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