user debian-rele...@lists.debian.org
tag 909981 patch help
usertag 909981 bsp-2019-02-de-berlin
thank you

Dear maintainers,

after adding the Erlang version number 21 to the rebar.config, the
build works, but there are 3 failing tests, see the output below. As
far as I can tell, the error happens with cheryl->size, but I don’t
know how to resolve this issue.

Attached is the patch for the version update.

Best regards from the BSP in Berlin,

Micha Rosenbaum



*failed*
in function test_cherly:'-put_get_and_remove_test/0-fun-3-'/1 
(test/test_cherly.erl, line 112)
in call from test_cherly:put_get_and_remove_test/0 (test/test_cherly.erl, line 
112)
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)
**error:{assertEqual,[{module,test_cherly},
              {line,112},
              {expression,"cherly : size ( C )"},
              {expected,{ok,0}},
              {value,{ok,18446744073709549363}}]}
  output:<<"">>

----------------------- snip

*failed*
in function test_cherly:put_bigger_thing_than_1MB_test/0 (test/test_cherly.erl, 
line 180)
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:{badmatch,{ok,18446744073709549363}}
  output:<<"">>

----------------------- snip

  test_cherly: server_test...*failed*
in function test_cherly:'-server_test/0-fun-1-'/1 (test/test_cherly.erl, line 
228)
in call from test_cherly:server_test/0 (test/test_cherly.erl, line 223)
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)
**error:{assertEqual,[{module,test_cherly},
              {line,228},
              {expression,"Stats2"},
              {expected,{cache_stats,1,1,1,1,0,0}},
              {value,{cache_stats,1,1,1,1,0,18446744073709549365}}]}
  output:<<"">>

  [done in 0.060 s]
module 'basho_bench_driver_cherly'
module 'cherly_sup'
diff --git a/debian/changelog b/debian/changelog
index 63b1ac749924..a75504a22ee4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+erlang-cherly (0.12.8+dfsg-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add Erlang 21 version number to rebar.config
+
+ -- Micha David Rosenbaum <mi...@rosetree.de>  Sun, 10 Feb 2019 16:48:34 +0100
+
 erlang-cherly (0.12.8+dfsg-9) unstable; urgency=medium
 
   * Change maintainer address. (Closes: #899897)
diff --git a/debian/patches/add_erlang_version_21.patch b/debian/patches/add_erlang_version_21.patch
new file mode 100644
index 000000000000..b4d06f357ad1
--- /dev/null
+++ b/debian/patches/add_erlang_version_21.patch
@@ -0,0 +1,12 @@
+Description: Add Erlang version 21
+Bug-Debian: http://bugs.debian.org/909981
+Author: Micha David Rosenbaum <mi...@rosetree.de>
+
+--- a/rebar.config
++++ b/rebar.config
+@@ -1,4 +1,4 @@
+-{require_otp_vsn, "R14B04|R15B02|R15B03|R16B|17|18|19|20"}.
++{require_otp_vsn, "R14B04|R15B02|R15B03|R16B|17|18|19|20|21"}.
+ 
+ {erl_opts, [{d, 'NOTEST'},
+             warn_obsolete_guard,
diff --git a/debian/patches/series b/debian/patches/series
index 323240da5116..e6ec25744585 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ add_support_r17_and_r18
 using-crypto_strong_rand_bytes
 initialize-indirectval.patch
 correct-uintptr-type.patch
+add_erlang_version_21.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to