-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugfeaturegood first issuea relatively simple task to familiarize oneself with the code base, and the contribution processa relatively simple task to familiarize oneself with the code base, and the contribution process
Description
Since #174, we are very strict in environment variables.
As per c5a2157 which is this line: https://github.com/smarr/ReBench/blob/master/rebench/model/exp_run_details.py#L59 the environment is per default empty.
In practice this means, it is completely empty.
There's no PATH, no nothing.
This means, the configuration file needs to contain everything, including the environment configuration.
This is in many ways unexpected and tedious, and causes a lot of unexpected debugging.
The big question for me is, how should we resolve this.
I see the following possible approaches:
- add a new flag to always use the system's environment
- use the -D flag that disables denoise to also disable the restricting of the environment
Other improvements:
- make ReBench errors more helpful, currently the environment is not printed but only the working directory and the command
- explicitly point out that the PATH might be missing or incomplete if a command fails with an error that indicates a missing binary
Metadata
Metadata
Assignees
Labels
bugfeaturegood first issuea relatively simple task to familiarize oneself with the code base, and the contribution processa relatively simple task to familiarize oneself with the code base, and the contribution process
Projects
Status
📋 Backlog