nickva opened a new issue #3660: URL: https://github.com/apache/couchdb/issues/3660
Running CouchDb 3.x on s390x shows a bunch of test failures seemingly related the compiling javascript code with `libmozjs-60-0:s390x` package. ``` $ docker run -it apache/couchdbci-debian:s390x-buster-erlang-20.3.8.26-1 $ cd /home/jenkins $ git clone https://github.com/apache/couchdb.git $ ./configure --spidermonkey-version 60 --dev $ make $ make eunit apps=couch_mrview suites=couch_mrview_all_docs_tests ``` Here is an example of a test failure and how to run it: ``` ==> couch_mrview (eunit) ======================== EUnit ======================== module 'couch_mrview_all_docs_tests' _all_docs view tests couch_mrview_all_docs_tests:70: should_query...*failed* in function couch_mrview_all_docs_tests:'-should_query/1-fun-0-'/2 (test/eunit/couch_mrview_all_docs_tests.erl, line 70) **error:{assertEqual,[{module,couch_mrview_all_docs_tests}, {line,70}, {expression,"Result"}, {expected,{ok,[{meta,[{total,11},{offset,0}]}, {row,[{id,<<"1">>},{key,<<"1">>},{value,{...}}]}, {row,[{id,<<"10">>},{key,<<...>>},{value,...}]}, {row,[{id,<<...>>},{key,...},{...}]}, {row,[{id,...},{...}|...]}, {row,[{...}|...]}, {row,[...]}, {row,...}, {...}|...]}}, {value,{ok,[{meta,[{total,10},{offset,0}]}, {row,[{id,<<"1">>},{key,<<...>>},{value,...}]}, {row,[{id,<<...>>},{key,...},{...}]}, {row,[{id,...},{...}|...]}, {row,[{...}|...]}, {row,[...]}, {row,...}, {...}|...]}}]} output:<<"">> couch_mrview_all_docs_tests:80: should_query_with_range...*failed* in function couch_mrview_all_docs_tests:'-should_query_with_range/1-fun-0-'/2 (test/eunit/couch_mrview_all_docs_tests.erl, line 80) **error:{assertEqual,[{module,couch_mrview_all_docs_tests}, {line,80}, {expression,"Result"}, {expected,{ok,[{meta,[{total,11},{offset,3}]}, {row,[{id,<<"3">>},{key,<<"3">>},{value,{...}}]}, {row,[{id,<<"4">>},{key,<<...>>},{value,...}]}, {row,[{id,<<...>>},{key,...},{...}]}]}}, {value,{ok,[{meta,[{total,10},{offset,3}]}, {row,[{id,<<"3">>},{key,<<...>>},{value,...}]}, {row,[{id,<<...>>},{key,...},{...}]}, {row,[{id,...},{...}|...]}]}}]} output:<<"">> ... [done in 0.336 s] [done in 1.609 s] ======================================================= Failed: 5. Skipped: 0. Passed: 0. ``` The logs are full of these errors: ``` **throw:{compilation_error,<<"(new SyntaxError(\"missing } in compound statement\", \"<unknown>\", 3))"...>>} output:<<"">> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@couchdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org