I'm hoping to delete erlang19 as it has only two uses and is listed as a
fno-common holdup.

make test fails one extra assertion on amd64 for tsung, though it was
already broken with erlang19 (at the bottom). The new failure looks like
a weird type confusion mistake

              {expected,["2013","10","17",45,"19","41"]},
              {value,["2013",49,48,49,55,45,49,57,52,49]}]}

I reported this upstream as https://github.com/processone/tsung/issues/385

The tsung binary starts on amd64 and reports an error for my empty
config file. Anybody want to test this update further or is this kind of
test good enough?

OK?

diff --git benchmarks/tsung/Makefile benchmarks/tsung/Makefile
index b54187501f6..835b10cb9a6 100644
--- benchmarks/tsung/Makefile
+++ benchmarks/tsung/Makefile
@@ -4,7 +4,7 @@ COMMENT=        multi-protocol distributed load testing tool
 
 V=             1.7.0
 DISTNAME=      tsung-$V
-REVISION=      0
+REVISION=      1
 
 CATEGORIES=    benchmarks net
 
@@ -17,7 +17,7 @@ MASTER_SITES=         http://tsung.erlang-projects.org/dist/
 
 MODULES=               lang/erlang \
                        lang/python
-MODERL_VERSION=                19
+MODERL_VERSION=                21
 MODPY_VERSION=         ${MODPY_DEFAULT_VERSION_3}
 MODPY_BUILDDEP=        No
 
-- 
2.30.0

------------------------------
Before:

/usr/local/bin/erl19 -noshell -pa ./ebin-test -s ts_test_all run -s init stop

=INFO REPORT==== 8-Feb-2021::20:22:34 ===
      ts_user_server:(6:<0.358.0>) Starting default user_server 

=INFO REPORT==== 8-Feb-2021::20:22:34 ===
      ts_user_server:(6:<0.359.0>) ok, started unconfigured
ts_test_config: ifalias_test...*failed*
in function ts_test_config:'-ifalias_test/0-fun-0-'/1 
(src/test/ts_test_config.erl, line 227)
**error:{assertEqual,[{module,ts_test_config},
              {line,227},
              {expression,"Res"},
              {expected,[{127,0,0,1}]},
              {value,[]}]}
  output:<<"">>

[10000," read_file:",18058]
[10000," get all lines (random):",337542]
[10000," get all lines:",261334]
[20," re:",547]
[20," xpath:",32663]
[20," xpath_explicit:",81580]
[20," re_big:",2150]
[20," xpath_big:",115299]
[20," xpath_explicit_big:",95644]
[<<"/index.html">>]
["received 1",{notify,receive,chat}]
["received 2",{notify,send,chat2}]
=======================================================
  Failed: 1.  Skipped: 0.  Passed: 318.
  Total test coverage: 22 %

------------------------------
After:

/usr/local/bin/erl21 -noshell -pa ./ebin-test -s ts_test_all run -s init stop
=INFO REPORT==== 8-Feb-2021::20:27:07.668926 ===
      ts_user_server:(6:<0.378.0>) Starting default user_server 

=INFO REPORT==== 8-Feb-2021::20:27:07.673610 ===
      ts_user_server:(6:<0.379.0>) ok, started unconfigured

ts_test_config: ifalias_test...*failed*
in function ts_test_config:'-ifalias_test/0-fun-0-'/1 
(src/test/ts_test_config.erl, line 227)
in call from eunit_test:'-mf_wrapper/2-fun-0-'/2 (eunit_test.erl, line 273)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 510)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 335)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 493)
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 435)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 325)
**error:{assertEqual,[{module,ts_test_config},
              {line,227},
              {expression,"Res"},
              {expected,[{127,0,0,1}]},
              {value,[]}]}
  output:<<"">>

[10000," read_file:",11229]
[10000," get all lines (random):",407866]
[10000," get all lines:",439633]
[20," re:",2405]
[20," xpath:",87224]
[20," xpath_explicit:",77538]
[20," re_big:",2593]
[20," xpath_big:",109635]
[20," xpath_explicit_big:",96299]
[<<"/index.html">>]
["received 1",{notify,receive,chat}]
["received 2",{notify,send,chat2}]
ts_test_utils: datestr_test...*failed*
in function ts_test_utils:'-datestr_test/0-fun-0-'/0 
(src/test/ts_test_utils.erl, line 51)
in call from eunit_test:'-mf_wrapper/2-fun-0-'/2 (eunit_test.erl, line 273)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 510)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 335)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 493)
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 435)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 325)
**error:{assertEqual,[{module,ts_test_utils},
              {line,51},
              {expression,"ts_utils : datestr ( { { 2013 , 10 , 17 } , { 19 , 
41 , 29 } } )"},
              {expected,["2013","10","17",45,"19","41"]},
              {value,["2013",49,48,49,55,45,49,57,52,49]}]}
  output:<<"">>

=======================================================
  Failed: 2.  Skipped: 0.  Passed: 317.
  Total test coverage: 22 %

Reply via email to