Skip to content

Allow feature names to start with a digit #3723

Description

@satishskamath
[2026-09-08T16:05:03.799945] debug: reframe: Loading user configuration
[2026-09-08T16:05:03.800691] debug: reframe: Loading the builtin configuration
[2026-09-08T16:05:03.800969] debug: reframe: Loading configuration file: '/gpfs/home5/satishk/projects/eessi_reframe/settings_example.py'
[2026-09-08T16:05:03.823138] debug: reframe: '16_nodes' does not match '^[a-zA-Z_](?:[a-zA-Z0-9_-])*$'

Failed validating 'pattern' in schema['properties']['systems']['items']['properties']['partitions']['items']['properties']['features']['items']:
    {'type': 'string', 'pattern': '^[a-zA-Z_](?:[a-zA-Z0-9_-])*$'}

On instance['systems'][0]['partitions'][3]['features'][13]:
    '16_nodes'
[2026-09-08T16:05:03.823379] error: reframe: �[31mERROR: failed to load configuration: could not validate configuration files: `<builtin>`, `/gpfs/home5/satishk/projects/eessi_reframe/settings_example.py`: '16_nodes' does not match '^[a-zA-Z_](?:[a-zA-Z0-9_-])*$'�[0m
[2026-09-08T16:05:03.823557] info: reframe: Log file(s) saved in '/tmp/rfm-dzi295w_.log'

In the EESSI test-suite we use features where the number is used first and then the string for scales which are used as features for partitions within the configuration files.
@vkarak Can you relax this regex condition back to alphanumeric from just alpha? This started happening since we started to use ReFrame 4.10.2/4.10.3

Activity

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

Metadata

Metadata

Assignees

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions