Skip to content

Setting general.timestamp_dirs is not sufficient to enable timestamp dirs #3744

Open

Description

@dmargala

Based on the docs for the --timestamp cli option and the general.timestamp_dirs config setting, I'd expect to be able to enable timestamp dirs by setting a config setting alone but that does not appear to be the case. For example:

root@23cbfef911d1:/# reframe -l | grep stage
  stage directory:   '/stage'
root@23cbfef911d1:/# reframe -l --timestamp | grep stage
  stage directory:   '/stage/20261021T194037+0000'
root@23cbfef911d1:/# reframe -l -C settings.py | grep stage
  stage directory:   '/stage'
root@23cbfef911d1:/# reframe -l -C settings.py --timestamp | grep stage
  stage directory:   '/stage/20261021T194041'

where settings.py is:

site_configuration = { 'general': [{'timestamp_dirs': '%Y%m%dT%H%M%S'}] }

minimal env setup:

% podman run --rm -it python:3.15-slim /bin/bash
root@23cbfef911d1:/# pip install reframe-hpc
...
root@23cbfef911d1:/# echo "site_configuration = { 'general': [{'timestamp_dirs': '%Y%m%dT%H%M%S'}] }" > settings.py
root@23cbfef911d1:/# reframe --version
4.10.4

Activity

  1. added theissue type on Oct 22, 2026
  2. vkarak commented on Oct 22, 2026

    @vkarak
    Contributor

    Indeed, this is a bug. The configuration option is not honored here:

    runtime.init_runtime(site_config,
    use_timestamps=options.timestamp is not None)

  3. modified the milestones: , ReFrame 4.11 on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions