You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Toolset - misconfiguration in benchmark_config.json and reported error code #3188
When a non-existing shell script is specified in benchamark_config.json the logs are correctly displaying No such file or directory but latter an exit code 0 is reported.
OS (Please include kernel version)
Local install of the TFB Vagrant box
Expected Behavior
To see error code 127 logged.
xxx@xxx:~/sources/FrameworkBenchmarks$ bash non-existing.sh
bash: non-existing.sh: No such file or directory
xxx@xxx:~/sources/FrameworkBenchmarks$ echo $?
127
xxx@xxx:~/sources/FrameworkBenchmarks$ ls
benchmark.cfg.example deployment frameworks LICENSE README.md results toolset
xxx@xxx:~/sources/FrameworkBenchmarks$ echo $?
0
Actual Behavior
Setup servlet: + source /home/vagrant/FrameworkBenchmarks/frameworks/Java/servlet/setup-gcc-6.sh
Setup servlet: bash: /home/vagrant/FrameworkBenchmarks/frameworks/Java/servlet/setup-gcc-6.sh: No such file or directory
Setup servlet: Setup has terminated
Setup servlet: Status: Poll: 0, Port 8080 bound: False, Time Left: 1:44:59.946318
Setup servlet: setup-gcc-6.sh process exited naturally with 0
INFO:root:Executed setup-gcc-6.sh, returning 0
Steps to reproduce behavior
Edit some framework configuration in benchmark_config.json to point to non-existing setup script and try to verify the framework with the tbf command.
Other details and logs
INFO:root:Running setup module start (cwd=/home/vagrant/FrameworkBenchmarks/frameworks/Java/servlet)
INFO:root:To run servlet manually, copy/paste this:
export FWROOT=/home/vagrant/FrameworkBenchmarks && \
export TROOT=/home/vagrant/FrameworkBenchmarks/frameworks/Java/servlet && \
export IROOT=/home/vagrant/FrameworkBenchmarks/installs && \
export DBHOST=127.0.0.1 && \
export LOGDIR=/home/vagrant/FrameworkBenchmarks/results/20180116185134/logs/servlet && \
export MAX_CONCURRENCY=16 && \
cd /home/vagrant/FrameworkBenchmarks/frameworks/Java/servlet && \
/home/vagrant/FrameworkBenchmarks/installs/TFBReaper "bash -exc \"source /home/vagrant/FrameworkBenchmarks/toolset/setup/linux/bash_functions.sh && source /home/vagrant/FrameworkBenchmarks/frameworks/Java/servlet/setup-gcc-6.sh\"
servlet: setup-gcc-6.sh and framework processes have terminated
Setup servlet: + source /home/vagrant/FrameworkBenchmarks/toolset/setup/linux/bash_functions.sh
Setup servlet: ++ export DEBIAN_FRONTEND=noninteractive
Setup servlet: ++ DEBIAN_FRONTEND=noninteractive
Setup servlet: ++ FW_dep_error=0
Setup servlet: ++ FW_any_errors=0
Setup servlet: + source /home/vagrant/FrameworkBenchmarks/frameworks/Java/servlet/setup-gcc-6.sh
Setup servlet: bash: /home/vagrant/FrameworkBenchmarks/frameworks/Java/servlet/setup-gcc-6.sh: No such file or directory
Setup servlet: Setup has terminated
Setup servlet: Status: Poll: 0, Port 8080 bound: False, Time Left: 1:44:59.946318
Setup servlet: setup-gcc-6.sh process exited naturally with 0
INFO:root:Executed setup-gcc-6.sh, returning 0
INFO:root:Sleeping 30 seconds to ensure framework is ready
Activity
msmith-techempower commentedon Apr 11, 2018
This is no longer relevant to the toolset now that we are leveraging Docker.