Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 tests fail #1529

Closed
yurivict opened this issue Oct 1, 2022 · 11 comments
Closed

2 tests fail #1529

yurivict opened this issue Oct 1, 2022 · 11 comments

Comments

@yurivict
Copy link

yurivict commented Oct 1, 2022

$ CTEST_OUTPUT_ON_FAILURE=1 make test
===>  Testing for hyphy-2.5.42
Set default compiler flags to -fsigned-char -O3  -msse3 
/usr/local/lib/libcurl.so
Node not installed; API documentation will not be generated
   -Wl,-rpath=/usr/local/lib/gcc11 -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib/gcc11 -fopenmp=libomp
-- Configuring done
-- Generating done
-- Build files have been written to: /disk-samsung/freebsd-ports/biology/hyphy/work/hyphy-2.5.42
ninja: no work to do.
[  0% 1/1] cd /disk-samsung/freebsd-ports/biology/hyphy/work/hyphy-2.5.42 && /usr/local/bin/ctest --force-new-ctest-process
Test project /disk-samsung/freebsd-ports/biology/hyphy/work/hyphy-2.5.42
      Start  1: UNIT-TESTS

^Cninja: build stopped: interrupted by user.
*** Error code 2

[yuri@yv /usr/ports/biology/hyphy]$ CTEST_OUTPUT_ON_FAILURE=1 make test
===>  Testing for hyphy-2.5.42
Set default compiler flags to -fsigned-char -O3  -msse3 
/usr/local/lib/libcurl.so
Node not installed; API documentation will not be generated
   -Wl,-rpath=/usr/local/lib/gcc11 -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib/gcc11 -fopenmp=libomp
-- Configuring done
-- Generating done
-- Build files have been written to: /disk-samsung/freebsd-ports/biology/hyphy/work/hyphy-2.5.42
ninja: no work to do.
[  0% 1/1] cd /disk-samsung/freebsd-ports/biology/hyphy/work/hyphy-2.5.42 && /usr/local/bin/ctest --force-new-ctest-process
Test project /disk-samsung/freebsd-ports/biology/hyphy/work/hyphy-2.5.42
      Start  1: UNIT-TESTS
 1/20 Test  #1: UNIT-TESTS .......................***Failed    2.55 sec
./tests/hbltests/UnitTests/HBLCommands/Abs.bf
./tests/hbltests/UnitTests/HBLCommands/Add.bf
./tests/hbltests/UnitTests/HBLCommands/Ampersand.bf
./tests/hbltests/UnitTests/HBLCommands/Arctan.bf
./tests/hbltests/UnitTests/HBLCommands/BayesianGraphicalModel.bf
./tests/hbltests/UnitTests/HBLCommands/Beta.bf
./tests/hbltests/UnitTests/HBLCommands/BranchLength.bf
./tests/hbltests/UnitTests/HBLCommands/Branchcount.bf
./tests/hbltests/UnitTests/HBLCommands/Branchname.bf
./tests/hbltests/UnitTests/HBLCommands/CChi2.bf
./tests/hbltests/UnitTests/HBLCommands/CGammaDist.bf
./tests/hbltests/UnitTests/HBLCommands/Call.bf
./tests/hbltests/UnitTests/HBLCommands/Caret.bf
./tests/hbltests/UnitTests/HBLCommands/Category.bf
./tests/hbltests/UnitTests/HBLCommands/Columns.bf
./tests/hbltests/UnitTests/HBLCommands/Continue.bf
./tests/hbltests/UnitTests/HBLCommands/Cos.bf
./tests/hbltests/UnitTests/HBLCommands/DataSet.bf
./tests/hbltests/UnitTests/HBLCommands/DataSetFilter.bf
./tests/hbltests/UnitTests/HBLCommands/DeleteObject.bf
./tests/hbltests/UnitTests/HBLCommands/Differentiate.bf
./tests/hbltests/UnitTests/HBLCommands/Divide.bf
./tests/hbltests/UnitTests/HBLCommands/Do.bf
./tests/hbltests/UnitTests/HBLCommands/DoSQL.bf
./tests/hbltests/UnitTests/HBLCommands/Dollarsign.bf
./tests/hbltests/UnitTests/HBLCommands/DoubleAmpersand.bf
./tests/hbltests/UnitTests/HBLCommands/DoubleEquals.bf
./tests/hbltests/UnitTests/HBLCommands/DoubleVerticalBar.bf
./tests/hbltests/UnitTests/HBLCommands/Eigensystem.bf
./tests/hbltests/UnitTests/HBLCommands/Erf.bf
./tests/hbltests/UnitTests/HBLCommands/Eval.bf
./tests/hbltests/UnitTests/HBLCommands/ExclamationPoint.bf

Check errors.log for execution error details.
./tests/hbltests/UnitTests/HBLCommands/ExclamationPointEquals.bf
./tests/hbltests/UnitTests/HBLCommands/ExecuteAFile.bf
./tests/hbltests/UnitTests/HBLCommands/ExecuteCommands.bf
./tests/hbltests/UnitTests/HBLCommands/Exp.bf
./tests/hbltests/UnitTests/HBLCommands/Export.bf
./tests/hbltests/UnitTests/HBLCommands/Ffunction.bf
./tests/hbltests/UnitTests/HBLCommands/FindRoot.bf
./tests/hbltests/UnitTests/HBLCommands/For.bf
./tests/hbltests/UnitTests/HBLCommands/Format.bf
./tests/hbltests/UnitTests/HBLCommands/Function.bf
./tests/hbltests/UnitTests/HBLCommands/Gamma.bf
./tests/hbltests/UnitTests/HBLCommands/GammaDist.bf
./tests/hbltests/UnitTests/HBLCommands/GetDataInfo.bf
./tests/hbltests/UnitTests/HBLCommands/GetInformation.bf
./tests/hbltests/UnitTests/HBLCommands/GetString.bf
./tests/hbltests/UnitTests/HBLCommands/Greaterthan.bf
./tests/hbltests/UnitTests/HBLCommands/Greaterthanorequalto.bf
./tests/hbltests/UnitTests/HBLCommands/HarvestFrequencies.bf
./tests/hbltests/UnitTests/HBLCommands/IBeta.bf
./tests/hbltests/UnitTests/HBLCommands/IGamma.bf
./tests/hbltests/UnitTests/HBLCommands/If.bf
./tests/hbltests/UnitTests/HBLCommands/Integrate.bf
./tests/hbltests/UnitTests/HBLCommands/Inverse.bf
./tests/hbltests/UnitTests/HBLCommands/JSON.bf
./tests/hbltests/UnitTests/HBLCommands/Join.bf
./tests/hbltests/UnitTests/HBLCommands/LUDecompose.bf
./tests/hbltests/UnitTests/HBLCommands/LUSolve.bf
./tests/hbltests/UnitTests/HBLCommands/Lessthan.bf
./tests/hbltests/UnitTests/HBLCommands/Lessthanorequalto.bf
./tests/hbltests/UnitTests/HBLCommands/LnGamma.bf
./tests/hbltests/UnitTests/HBLCommands/LoadFunctionLibrary.bf
./tests/hbltests/UnitTests/HBLCommands/Log.bf
./tests/hbltests/UnitTests/HBLCommands/MAccess_bracket.bf
./tests/hbltests/UnitTests/HBLCommands/Max.bf
./tests/hbltests/UnitTests/HBLCommands/Min.bf
./tests/hbltests/UnitTests/HBLCommands/Model.bf
./tests/hbltests/UnitTests/HBLCommands/Percentsign.bf
./tests/hbltests/UnitTests/HBLCommands/Random.bf
./tests/hbltests/UnitTests/HBLCommands/ReplicateConstraint.bf
./tests/hbltests/UnitTests/HBLCommands/RequireVersion.bf
./tests/hbltests/UnitTests/HBLCommands/RerootTree.bf
./tests/hbltests/UnitTests/HBLCommands/Return.bf
./tests/hbltests/UnitTests/HBLCommands/Rows.bf
./tests/hbltests/UnitTests/HBLCommands/Simplex.bf
./tests/hbltests/UnitTests/HBLCommands/Simplify.bf
./tests/hbltests/UnitTests/HBLCommands/SimulateDataSet.bf
./tests/hbltests/UnitTests/HBLCommands/Sin.bf
./tests/hbltests/UnitTests/HBLCommands/Sqrt.bf
./tests/hbltests/UnitTests/HBLCommands/Sscanf.bf
./tests/hbltests/UnitTests/HBLCommands/Subtract.bf
./tests/hbltests/UnitTests/HBLCommands/Tan.bf
./tests/hbltests/UnitTests/HBLCommands/Time.bf
./tests/hbltests/UnitTests/HBLCommands/TipCount.bf
./tests/hbltests/UnitTests/HBLCommands/TipName.bf
./tests/hbltests/UnitTests/HBLCommands/Topology.bf
./tests/hbltests/UnitTests/HBLCommands/Transpose.bf
./tests/hbltests/UnitTests/HBLCommands/Tree.bf
./tests/hbltests/UnitTests/HBLCommands/Type.bf
./tests/hbltests/UnitTests/HBLCommands/While.bf
./tests/hbltests/UnitTests/HBLCommands/ZCDF.bf
./tests/hbltests/UnitTests/HBLCommands/assert.bf
./tests/hbltests/UnitTests/HBLCommands/break.bf
./tests/hbltests/UnitTests/HBLCommands/fscanf_fprintf.bf
./tests/hbltests/UnitTests/HBLCommands/include.bf
./tests/hbltests/UnitTests/HBLCommands/lfunction.bf
./tests/hbltests/UnitTests/HBLCommands/libv3_iofunctions.bf
./tests/hbltests/UnitTests/HBLCommands/libv3_math.bf
./tests/hbltests/UnitTests/HBLCommands/libv3_utilityfunctions.bf
./tests/hbltests/UnitTests/HBLCommands/namespace.bf
\n\n------------------------SUMMARY (Failed Tests)----------------------------\n
\n The following tests failed:
run_unit_tests.sh: line 35: ./tests/hbltests/UnitTests/HBLCommands/ExclamationPoint.bf: Permission denied
\n The output of the failed tests is below: \n
--------------------------------------------------------------
[Running COVERAGE TEST '!']
Error:
Failed to parse '"Failed to return 1 when evaluating `!` on a valid path string (/bin/bash)"' with the following error: Constant expression inside `` did not evaluate to a string  in the following context: '"<ERROR HERE>Failed to return 1 when ' in call to assert(!validPath==1, "Failed to return 1 when evaluating `!` on a valid path string (/bin/bash)");

Function call stack
1 :  assert(!validPath==1, "Failed to return 1 when evaluating `!` on a valid path string (/bin/bash)");
-------
2 :  result=runTest();
-------
3 :  runATest();
-------

Check errors.log for execution error details.
\n
\n\n------------------------SUMMARY (Failed Tests)----------------------------\n
1 Tests Failed
of 101 Tests Run

      Start  2: CODON
 2/20 Test  #2: CODON ............................   Passed    2.53 sec
      Start  3: PROTEIN
 3/20 Test  #3: PROTEIN ..........................   Passed   11.27 sec
      Start  4: MTCODON
 4/20 Test  #4: MTCODON ..........................   Passed   66.87 sec
      Start  5: ALGAE
 5/20 Test  #5: ALGAE ............................   Passed   24.80 sec
      Start  6: CILIATES
 6/20 Test  #6: CILIATES .........................   Passed   34.39 sec
      Start  7: SLAC
 7/20 Test  #7: SLAC .............................   Passed    8.24 sec
      Start  8: SLAC-PARTITIONED
 8/20 Test  #8: SLAC-PARTITIONED .................   Passed   31.52 sec
      Start  9: FEL
 9/20 Test  #9: FEL ..............................   Passed   54.79 sec
      Start 10: MEME
10/20 Test #10: MEME .............................   Passed  152.96 sec
      Start 11: MEME-PARTITIONED
11/20 Test #11: MEME-PARTITIONED .................   Passed  117.76 sec
      Start 12: BUSTED
12/20 Test #12: BUSTED ...........................   Passed   59.01 sec
      Start 13: BUSTED-SRV
13/20 Test #13: BUSTED-SRV .......................   Passed  104.01 sec
      Start 14: RELAX
14/20 Test #14: RELAX ............................   Passed  132.36 sec
      Start 15: FUBAR
15/20 Test #15: FUBAR ............................   Passed    7.40 sec
      Start 16: BGM
16/20 Test #16: BGM ..............................   Passed    6.88 sec
      Start 17: CONTRAST-FEL
17/20 Test #17: CONTRAST-FEL .....................   Passed  156.13 sec
      Start 18: GARD
18/20 Test #18: GARD .............................***Failed   18.18 sec

Analysis Description
--------------------
GARD : Genetic Algorithms for Recombination Detection. Implements a
heuristic approach to screening alignments of sequences for
recombination, by using the CHC genetic algorithm to search for
phylogenetic incongruence among different partitions of the data. The
number of partitions is determined using a step-up procedure, while the
placement of breakpoints is searched for with the GA. The best fitting
model (based on c-AIC) is returned; and additional post-hoc tests run to
distinguish topological incongruence from rate-variation. v0.2 adds and
spooling results to JSON after each breakpoint search conclusion

- __Requirements__: A sequence alignment.

- __Citation__: **Automated Phylogenetic Detection of Recombination Using a Genetic
Algorithm**, _Mol Biol Evol 23(10), 1891–1901

- __Written by__: Sergei L Kosakovsky Pond

- __Contact Information__: spond@temple.edu

- __Analysis Version__: 0.2

type: nucleotide
rv: None
>Maximum number of breakpoints to consider (permissible range = [1,100000], default value = 10000, integer): max-breakpoints: 10000
mode: Normal
>Loaded a nucleotide multiple sequence alignment with **12** sequences, **428** sites (22 of which are variable) from `/disk-samsung/freebsd-ports/biology/hyphy/work/hyphy-2.5.42/tests/hbltests/libv3/data/HRVI.nex`
>Minimum size of a partition is set to be 21 sites


### Fitting the baseline (single-partition; no breakpoints) model
* Log(L) =  -694.30, AIC-c =  1450.97 (29 estimated parameters)

### Performing an exhaustive single breakpoint analysis
Done with single breakpoint analysis.
   Best sinlge break point location: 176
   c-AIC  = 1465.723660379992

### Performing multi breakpoint analysis using a genetic algorithm
Done with 2 breakpoint analysis.
    Best break point locations: 130, 253
    c-AIC = 1492.879980856286
Error:
<'constant' operation 'X'>, where 'X' is not a number. 
constant = 0
'X' = {
{1, 428} 
}
	While computing: Abs(gard.json["breakpointData"]["bps"]-{
{1, 428} 
})==0

Function call stack
1 :  assert(Abs((gard.json["breakpointData"])["bps"]-{{1,428}})==0, "Incorrect breakpoints");
-------

Check errors.log for execution error details.

      Start 19: FADE
19/20 Test #19: FADE .............................   Passed   68.05 sec
      Start 20: ABSREL
20/20 Test #20: ABSREL ...........................   Passed  105.23 sec

90% tests passed, 2 tests failed out of 20

Total Test time (real) = 1164.96 sec

The following tests FAILED:
	  1 - UNIT-TESTS (Failed)
	 18 - GARD (Failed)
Errors while running CTest
FAILED: CMakeFiles/test.util 
cd /disk-samsung/freebsd-ports/biology/hyphy/work/hyphy-2.5.42 && /usr/local/bin/ctest --force-new-ctest-process
ninja: build stopped: subcommand failed.
*** Error code 1

FreeBSD 13.1

@spond
Copy link
Member

spond commented Oct 2, 2022

Dear @yurivict,

Thanks very much for reporting these issues. I don't have a FreeBDS test rig set up handy, so I am going to tag @stevenweaver who is much more skilled at cross-platform testing to see what the issue might be. I have an idea about what the first error might be, but really puzzled by the second.

Best,
Sergei

@github-actions
Copy link

github-actions bot commented Dec 2, 2022

Stale issue message

@yurivict
Copy link
Author

yurivict commented Dec 2, 2022

Not stale.

@spond
Copy link
Member

spond commented Dec 3, 2022

Dear @yurivict,

Should be resolved with version 2.5.43.

Best,
Sergei

@yurivict
Copy link
Author

yurivict commented Dec 3, 2022

Hi Sergei,

2.5.43 still has the same 2 cases failing.

Yuri

@spond
Copy link
Member

spond commented Dec 3, 2022

Dear @yurivict,

Well, that was embarrassing. I forgot to merge the pull request fixing the issues before tagging off a 2.5.43. I've re-released 2.5.43 with the fixes included.

Sorry about this.

Best,
Sergei

@yurivict
Copy link
Author

yurivict commented Dec 4, 2022

Now the test UNIT-TESTS runs for over an hour and doesn't finish.
Is this normal?

@spond
Copy link
Member

spond commented Dec 4, 2022

Dear @yurivict,

Not normal. Unit tests should not take more than a second or two. I do not see this behavior with the 2.5.43 on the test system I have been using...

azureuser@FreeBSD:~/hyphy $ uname -a
FreeBSD FreeBSD 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64
azureuser@FreeBSD:~/hyphy $ make test
Running tests...
Test project /usr/home/azureuser/hyphy
      Start  1: UNIT-TESTS
 1/20 Test  #1: UNIT-TESTS .......................   Passed    1.96 sec
      Start  2: CODON
 2/20 Test  #2: CODON ............................   Passed    1.50 sec
      Start  3: PROTEIN
 3/20 Test  #3: PROTEIN ..........................   Passed   10.20 sec
      Start  4: MTCODON
 4/20 Test  #4: MTCODON ..........................   Passed   36.58 sec
      Start  5: ALGAE
 5/20 Test  #5: ALGAE ............................   Passed   12.45 sec
      Start  6: CILIATES
 6/20 Test  #6: CILIATES .........................   Passed   23.62 sec
      Start  7: SLAC
 7/20 Test  #7: SLAC .............................   Passed    4.12 sec
      Start  8: SLAC-PARTITIONED
 8/20 Test  #8: SLAC-PARTITIONED .................   Passed   14.43 sec
      Start  9: FEL
 9/20 Test  #9: FEL ..............................   Passed   36.11 sec
      Start 10: MEME
10/20 Test #10: MEME .............................   Passed   95.53 sec
      Start 11: MEME-PARTITIONED
11/20 Test #11: MEME-PARTITIONED .................   Passed   76.79 sec
      Start 12: BUSTED
12/20 Test #12: BUSTED ...........................   Passed   25.77 sec
      Start 13: BUSTED-SRV
13/20 Test #13: BUSTED-SRV .......................   Passed   26.28 sec
      Start 14: RELAX
14/20 Test #14: RELAX ............................   Passed   56.22 sec
      Start 15: FUBAR
15/20 Test #15: FUBAR ............................   Passed    0.65 sec
      Start 16: BGM
16/20 Test #16: BGM ..............................   Passed    3.68 sec
      Start 17: CONTRAST-FEL
17/20 Test #17: CONTRAST-FEL .....................   Passed  101.03 sec
      Start 18: GARD
18/20 Test #18: GARD .............................   Passed    0.09 sec
      Start 19: FADE
19/20 Test #19: FADE .............................   Passed    5.12 sec
      Start 20: ABSREL
20/20 Test #20: ABSREL ...........................   Passed   40.08 sec

100% tests passed, 0 tests failed out of 20

Can you try

$bash run_unit_tests.sh

to see which individual unit test gets stuck?

Best,
Sergei

@yurivict
Copy link
Author

yurivict commented Dec 4, 2022

$ bash run_unit_tests.sh
./tests/hbltests/UnitTests/HBLCommands/Abs.bf
./tests/hbltests/UnitTests/HBLCommands/Add.bf
./tests/hbltests/UnitTests/HBLCommands/Ampersand.bf
./tests/hbltests/UnitTests/HBLCommands/Arctan.bf
./tests/hbltests/UnitTests/HBLCommands/BayesianGraphicalModel.bf
./tests/hbltests/UnitTests/HBLCommands/Beta.bf
./tests/hbltests/UnitTests/HBLCommands/BranchLength.bf
./tests/hbltests/UnitTests/HBLCommands/Branchcount.bf
./tests/hbltests/UnitTests/HBLCommands/Branchname.bf
./tests/hbltests/UnitTests/HBLCommands/CChi2.bf
./tests/hbltests/UnitTests/HBLCommands/CGammaDist.bf
./tests/hbltests/UnitTests/HBLCommands/Call.bf
./tests/hbltests/UnitTests/HBLCommands/Caret.bf
./tests/hbltests/UnitTests/HBLCommands/Category.bf
./tests/hbltests/UnitTests/HBLCommands/Columns.bf
./tests/hbltests/UnitTests/HBLCommands/Continue.bf
./tests/hbltests/UnitTests/HBLCommands/Cos.bf
./tests/hbltests/UnitTests/HBLCommands/DataSet.bf
./tests/hbltests/UnitTests/HBLCommands/DataSetFilter.bf
./tests/hbltests/UnitTests/HBLCommands/DeleteObject.bf
./tests/hbltests/UnitTests/HBLCommands/Differentiate.bf
./tests/hbltests/UnitTests/HBLCommands/Divide.bf
./tests/hbltests/UnitTests/HBLCommands/Do.bf
./tests/hbltests/UnitTests/HBLCommands/DoSQL.bf
./tests/hbltests/UnitTests/HBLCommands/Dollarsign.bf
./tests/hbltests/UnitTests/HBLCommands/DoubleAmpersand.bf
./tests/hbltests/UnitTests/HBLCommands/DoubleEquals.bf
./tests/hbltests/UnitTests/HBLCommands/DoubleVerticalBar.bf
./tests/hbltests/UnitTests/HBLCommands/Eigensystem.bf
./tests/hbltests/UnitTests/HBLCommands/Erf.bf
./tests/hbltests/UnitTests/HBLCommands/Eval.bf
./tests/hbltests/UnitTests/HBLCommands/ExclamationPoint.bf

Check errors.log for execution error details.
./tests/hbltests/UnitTests/HBLCommands/ExclamationPointEquals.bf
./tests/hbltests/UnitTests/HBLCommands/ExecuteAFile.bf
./tests/hbltests/UnitTests/HBLCommands/ExecuteCommands.bf
./tests/hbltests/UnitTests/HBLCommands/Exp.bf
./tests/hbltests/UnitTests/HBLCommands/Export.bf
./tests/hbltests/UnitTests/HBLCommands/Ffunction.bf
./tests/hbltests/UnitTests/HBLCommands/FindRoot.bf
./tests/hbltests/UnitTests/HBLCommands/For.bf
./tests/hbltests/UnitTests/HBLCommands/Format.bf
./tests/hbltests/UnitTests/HBLCommands/Function.bf
./tests/hbltests/UnitTests/HBLCommands/Gamma.bf
./tests/hbltests/UnitTests/HBLCommands/GammaDist.bf
./tests/hbltests/UnitTests/HBLCommands/GetDataInfo.bf
./tests/hbltests/UnitTests/HBLCommands/GetInformation.bf
./tests/hbltests/UnitTests/HBLCommands/GetString.bf
./tests/hbltests/UnitTests/HBLCommands/Greaterthan.bf
./tests/hbltests/UnitTests/HBLCommands/Greaterthanorequalto.bf
./tests/hbltests/UnitTests/HBLCommands/HarvestFrequencies.bf
./tests/hbltests/UnitTests/HBLCommands/IBeta.bf
./tests/hbltests/UnitTests/HBLCommands/IGamma.bf
./tests/hbltests/UnitTests/HBLCommands/If.bf
./tests/hbltests/UnitTests/HBLCommands/Integrate.bf
./tests/hbltests/UnitTests/HBLCommands/Inverse.bf
./tests/hbltests/UnitTests/HBLCommands/JSON.bf
./tests/hbltests/UnitTests/HBLCommands/Join.bf
./tests/hbltests/UnitTests/HBLCommands/LUDecompose.bf
./tests/hbltests/UnitTests/HBLCommands/LUSolve.bf
./tests/hbltests/UnitTests/HBLCommands/Lessthan.bf
./tests/hbltests/UnitTests/HBLCommands/Lessthanorequalto.bf
./tests/hbltests/UnitTests/HBLCommands/LnGamma.bf
./tests/hbltests/UnitTests/HBLCommands/LoadFunctionLibrary.bf
./tests/hbltests/UnitTests/HBLCommands/Log.bf
./tests/hbltests/UnitTests/HBLCommands/MAccess_bracket.bf
./tests/hbltests/UnitTests/HBLCommands/Max.bf
./tests/hbltests/UnitTests/HBLCommands/Min.bf
./tests/hbltests/UnitTests/HBLCommands/Model.bf
./tests/hbltests/UnitTests/HBLCommands/Percentsign.bf
./tests/hbltests/UnitTests/HBLCommands/Random.bf
./tests/hbltests/UnitTests/HBLCommands/ReplicateConstraint.bf
./tests/hbltests/UnitTests/HBLCommands/RequireVersion.bf
./tests/hbltests/UnitTests/HBLCommands/RerootTree.bf
./tests/hbltests/UnitTests/HBLCommands/Return.bf
./tests/hbltests/UnitTests/HBLCommands/Rows.bf
./tests/hbltests/UnitTests/HBLCommands/Simplex.bf
./tests/hbltests/UnitTests/HBLCommands/Simplify.bf
./tests/hbltests/UnitTests/HBLCommands/SimulateDataSet.bf
./tests/hbltests/UnitTests/HBLCommands/Sin.bf
./tests/hbltests/UnitTests/HBLCommands/Sqrt.bf
./tests/hbltests/UnitTests/HBLCommands/Sscanf.bf
./tests/hbltests/UnitTests/HBLCommands/Subtract.bf
./tests/hbltests/UnitTests/HBLCommands/Tan.bf
./tests/hbltests/UnitTests/HBLCommands/Time.bf
./tests/hbltests/UnitTests/HBLCommands/TipCount.bf
./tests/hbltests/UnitTests/HBLCommands/TipName.bf
./tests/hbltests/UnitTests/HBLCommands/Topology.bf
./tests/hbltests/UnitTests/HBLCommands/Transpose.bf
./tests/hbltests/UnitTests/HBLCommands/Tree.bf
./tests/hbltests/UnitTests/HBLCommands/Type.bf
./tests/hbltests/UnitTests/HBLCommands/While.bf
./tests/hbltests/UnitTests/HBLCommands/ZCDF.bf
./tests/hbltests/UnitTests/HBLCommands/assert.bf
./tests/hbltests/UnitTests/HBLCommands/break.bf
./tests/hbltests/UnitTests/HBLCommands/fscanf_fprintf.bf
./tests/hbltests/UnitTests/HBLCommands/include.bf
./tests/hbltests/UnitTests/HBLCommands/lfunction.bf
./tests/hbltests/UnitTests/HBLCommands/libv3_iofunctions.bf
./tests/hbltests/UnitTests/HBLCommands/libv3_math.bf
./tests/hbltests/UnitTests/HBLCommands/libv3_utilityfunctions.bf
./tests/hbltests/UnitTests/HBLCommands/namespace.bf
\n\n------------------------SUMMARY (Failed Tests)----------------------------\n
\n The following tests failed:
run_unit_tests.sh: line 35: ./tests/hbltests/UnitTests/HBLCommands/ExclamationPoint.bf: Permission denied
\n The output of the failed tests is below: \n
--------------------------------------------------------------
[Running COVERAGE TEST '!']
Error:
Failed to parse '"Failed to return 1 when evaluating `!` on a valid path string (/bin/bash)"' with the following error: Constant expression inside `` did not evaluate to a string  in the following context: '"<ERROR HERE>Failed to return 1 when ' in call to assert(!validPath==1, "Failed to return 1 when evaluating `!` on a valid path string (/bin/bash)");

Function call stack
1 :  assert(!validPath==1, "Failed to return 1 when evaluating `!` on a valid path string (/bin/bash)");
-------
2 :  result=runTest();
-------
3 :  runATest();
-------

Check errors.log for execution error details.
\n
\n\n------------------------SUMMARY (Failed Tests)----------------------------\n
1 Tests Failed
of 101 Tests Run

@yurivict
Copy link
Author

yurivict commented Dec 4, 2022

/bin/bash is not a valid path. bash should be always looked up with /usr/bin/env bash.

@spond
Copy link
Member

spond commented Dec 4, 2022

Dear @yurivict,

You are 100% right. The hardcoded /bin/bash should have never been there. I fixed this issue in the 2.5.43 tag by replacing /bin/bash with a path that's guaranteed to exist. Therefore, I am a bit puzzled as to why you are still seeing this issue.

image

Best,
Sergei

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

No branches or pull requests

2 participants