Skip to content

Crashing tests in 1.2.0 release #149

@mdmitry1

Description

@mdmitry1

Reproduction

  1. Create regression script

mkdir -p ~/shared
echo 'cd smlp/tests/smlp_regression && env -u DISPLAY ./run_smlp_regression && tcsh -f' ~/shared/regression.sourceme
chmod +x ~/shared/regression.sourceme

  1. Run regression script
#!/usr/bin/tcsh
set cmd=`echo docker run -v $HOME/shared:/shared -it smlp-test-build-ubuntu_24.04-python311-system bash -c '"source /shared/regression.sourceme"'`
set run_script=/tmp/docker_run_${USER}_$$
echo $cmd > $run_script
chmod +x $run_script
cat $run_script
$run_script
  1. After regression script finishes withing docker container:
  • Change directory to regression area:
cd ../../regr_smlp/code
  • Run script
#!/usr/bin/env bash
for f in $(grep -l "Executing run_smlp.py script: Start" *.txt); do
    echo "$f $(grep -c 'Executing run_smlp.py script: End' "$f")"
done | grep -Ev ' 1$'
Test104_smlp_toy_num_resp_mult.txt 0
Test107_smlp_toy_num_resp_mult.txt 0
Test145_doe_two_levels_opt.txt 0
Test146_explore_doe_two_levels.txt 0
Test205_doe_two_levels_opt.txt 0
  1. Run crashed tests one by one and collect error messages
python3.11 ./smlp_regr.py -t 104 -p | sed 's@../../src/run_smlp.py@smlp@' | grep ^smlp | source /dev/stdin |& tail -1
Exception: Knobs ['p1', 'p2'] are not assigned constant values as part of specification, in "verify" mode: aborting...
python3.11 ./smlp_regr.py -t 107 -p | sed 's@../../src/run_smlp.py@smlp@' | grep ^smlp | source /dev/stdin | & tail -1
Exception: Beta constraints are not supported in "verify" mode: aborting...
python3.11 ./smlp_regr.py -t 145 -p | sed 's@../../src/run_smlp.py@smlp@' | grep ^smlp | source /dev/stdin | & tail -1
Exception: DOE levels grid file ../grids/doe_two_levels_opt.csv does not eist
python3.11 ./smlp_regr.py -t 146 -p | sed 's@../../src/run_smlp.py@smlp@' | grep ^smlp | source /dev/stdin | & tail -1
Exception:` DOE levels grid file ../grids/explore_doe_two_levels.csv does not eist
python3.11 ./smlp_regr.py -t 205 -p | sed 's@../../src/run_smlp.py@smlp@' | grep ^smlp | source /dev/stdin | & tail -1
Exception: DOE levels grid file ../grids/doe_two_levels_opt.csv does not eist

Metadata

Metadata

Labels

No labels
No labels

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