Skip to content

SSP tests fail if you try to rerun them #1021

@billsacks

Description

@billsacks

If you try to rerun an SSP test, you get an error like this:

2020-05-23 17:15:34: Exception during run:
[Errno 17] File exists
Traceback (most recent call last):
  File "/glade/work/sacks/ctsm_code/current_branch1/cime/scripts/Tools/../../scripts/lib/CIME/SystemTests/system_tests_common.py", line 151, in run
    self.run_phase()
  File "/glade/work/sacks/ctsm_code/current_branch1/cime_config/SystemTests/ssp.py", line 86, in run_phase
    os.symlink(item, os.path.join(rundir, os.path.basename(item)))
OSError: [Errno 17] File exists

It looks like this should be as easy as wrapping the os.symlink call in a conditional. I'll take a stab at it.

Metadata

Metadata

Assignees

Labels

testingadditions or changes to tests

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions