Skip to content

RegressionMixin deprecated in favor of RegressionTestPlugin in ReFrame 4.9.0 #299

Closed

Description

@boegel

Activity

  1. smoors commented on Nov 15, 2025

    @smoors
    Collaborator

    it's just a name change, so we should probably keep the old name until the minimum ReFrame version is updated to >=4.9?

  2. boegel commented on Nov 15, 2025

    @boegel
    ContributorAuthor
    try:
        from ... import RegressionTestPlugin
    except:
        from ... import RegressionMixin as RegressionTestPlugin
  3. laraPPr commented on Jan 29, 2026

    @laraPPr
    Collaborator

    Tested it with 4.8.1 and it worked but couldn't test with 4.9.0 because other issues popped up with the sources of LAMMPS

    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    
  4. laraPPr commented on Jan 29, 2026

    @laraPPr
    Collaborator
    WARNING: skipping test 'EESSI_LAMMPS_rhodo': file not found error: [Errno 2] No such file or directory: 'src/rhodo' (rerun with '-v' for a backtrace)
    
    Traceback (most recent call last):
    
      File "/kyukon/scratch/gent/461/vsc46128/EESSI/venv_eessi_test-suite_accelgor_9/lib/python3.11/site-packages/reframe/core/decorators.py", line 105, in instantiate_all
    
        leaf_tests.append(test(*args, **kwargs))
    
                          ^^^^^^^^^^^^^^^^^^^^^
    
      File "/kyukon/scratch/gent/461/vsc46128/EESSI/venv_eessi_test-suite_accelgor_9/lib/python3.11/site-packages/reframe/core/meta.py", line 497, in __call__
    
        obj.__init__(*args, **kwargs)
    
      File "/kyukon/scratch/gent/461/vsc46128/EESSI/venv_eessi_test-suite_accelgor_9/lib/python3.11/site-packages/reframe/core/hooks.py", line 111, in _fn
    
        getattr(obj, h.__name__)()
    
      File "/kyukon/scratch/gent/461/vsc46128/EESSI/venv_eessi_test-suite_accelgor_9/lib/python3.11/site-packages/reframe/core/hooks.py", line 38, in _fn
    
        func(*args, **kwargs)
    
      File "/scratch/gent/461/vsc46128/EESSI/test-suite/eessi/testsuite/eessi_mixin.py", line 119, in mark_all_files_readonly
    
        self.readonly_files = os.listdir(self.sourcesdir)
    
  5. laraPPr commented on Jan 29, 2026

    @laraPPr
    Collaborator

    I'll open anothe issue on the LAMMPS test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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