You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/01/14 06:41:27 UTC

[GitHub] [couchdb] wohali opened a new issue #2449: arm64 auth cache tests failing

wohali opened a new issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449
 
 
   New regression failure, seems repeatable; weren't having this previously.
   
   See: https://ci-couchdb.apache.org/blue/organizations/jenkins/jenkins-cm1%2FFullPlatformMatrix/detail/master/30/pipeline/
   
   Thoughts welcome.
   
   Blocks 3.0.0, or we drop arm64 from the supported build matrix.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] jiangphcn commented on issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
jiangphcn commented on issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449#issuecomment-574480197
 
 
   I contacted IT department, and they are able to provision one VM based on POWER hardware. In order to enable VM to access outside, it might take several days. I request them to provision one with debian-buster.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] jiangphcn commented on issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
jiangphcn commented on issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449#issuecomment-576478320
 
 
   thanks @wohali :-)
   
   smart suggestion. This gives one way to test against ppc64le. I will try when this box can get access to internet. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449#issuecomment-574402623
 
 
   @davisp has been working on a reproducer, which he has...resulting in this backtrace:
   
   https://gist.github.com/davisp/560bff8bc98e2f08ae6984b202427633

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449#issuecomment-574469395
 
 
   @jiangphcn if you want to match the environment that we're deploying CouchDB in, you should use the Jenkins image: 
   
   https://github.com/apache/couchdb/pull/2455/files#diff-2072f013ebee77df655bb31251a2f0abR517
   
   Please run this on real POWER hardware, qemu is not good enough.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] jiangphcn commented on issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
jiangphcn commented on issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449#issuecomment-581418890
 
 
   hi @wohali Due to Chinese Spring festival and spread of nCoV, I just got the box to be able to access to internet today. 
   
   After installing `docker` and pulling image `couchdbdev/ppc64le-debian-buster-erlang-20.3.8.24-1`, I am able to perform ppc64le-related test in this box.
   
   ```
   jenkins@86d57457b2e4:~/couchdb$ uname -a
   Linux 86d57457b2e4 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:14:44 UTC 2018 ppc64le GNU/Linux
   ```
   So far, soak test looks to be fine when keeping running `while true; do make javascript; done`.  This lasts about 3+ hours.
   
   ```
   test/javascript/tests/all_docs.js                              ported to elixir
   test/javascript/tests/attachment_names.js                      ported to elixir
   test/javascript/tests/attachment_paths.js                      ported to elixir
   test/javascript/tests/attachment_ranges.js                     ported to elixir
   test/javascript/tests/attachment_views.js                      ported to elixir
   test/javascript/tests/attachments.js                           ported to elixir
   test/javascript/tests/attachments_multipart.js                 ported to elixir
   test/javascript/tests/auth_cache.js                            ported to elixir
   test/javascript/tests/basics.js                                ported to elixir
   test/javascript/tests/batch_save.js                            ported to elixir
   test/javascript/tests/bulk_docs.js                             ported to elixir
   test/javascript/tests/changes.js                               pass
   test/javascript/tests/coffee.js                                ported to elixir
   test/javascript/tests/compact.js                               ported to elixir
   test/javascript/tests/config.js                                ported to elixir
   test/javascript/tests/conflicts.js                             ported to elixir
   test/javascript/tests/cookie_auth.js                           ported to elixir
   test/javascript/tests/copy_doc.js                              ported to elixir
   test/javascript/tests/design_docs.js                           pass
   test/javascript/tests/design_docs_query.js                     pass
   test/javascript/tests/design_options.js                        pass
   test/javascript/tests/design_paths.js                          pass
   test/javascript/tests/erlang_views.js                          pass
   test/javascript/tests/etags_head.js                            ported to elixir
   test/javascript/tests/etags_views.js                           skipped
   test/javascript/tests/form_submit.js                           pass
   test/javascript/tests/http.js                                  pass
   test/javascript/tests/invalid_docids.js                        ported to elixir
   test/javascript/tests/jsonp.js                                 pass
   test/javascript/tests/large_docs.js                            ported to elixir
   test/javascript/tests/list_views.js                            pass
   test/javascript/tests/lots_of_docs.js                          ported to elixir
   test/javascript/tests/method_override.js                       pass
   test/javascript/tests/multiple_rows.js                         ported to elixir
   test/javascript/tests/proxyauth.js                             pass
   test/javascript/tests/purge.js                                 pass
   test/javascript/tests/reader_acl.js                            pass
   test/javascript/tests/recreate_doc.js                          pass
   test/javascript/tests/reduce.js                                ported to elixir
   test/javascript/tests/reduce_builtin.js                        pass
   test/javascript/tests/reduce_false.js                          pass
   test/javascript/tests/reduce_false_temp.js                     pass
   test/javascript/tests/replicator_db_bad_rep_id.js              pass
   test/javascript/tests/replicator_db_by_doc_id.js               pass
   test/javascript/tests/replicator_db_compact_rep_db.js          skipped
   test/javascript/tests/replicator_db_continuous.js              skipped
   test/javascript/tests/replicator_db_credential_delegation.js   skipped
   test/javascript/tests/replicator_db_field_validation.js        skipped
   test/javascript/tests/replicator_db_filtered.js                skipped
   test/javascript/tests/replicator_db_identical.js               skipped
   test/javascript/tests/replicator_db_identical_continuous.js    skipped
   test/javascript/tests/replicator_db_invalid_filter.js          skipped
   test/javascript/tests/replicator_db_security.js                skipped
   test/javascript/tests/replicator_db_simple.js                  skipped
   test/javascript/tests/replicator_db_successive.js              skipped
   test/javascript/tests/replicator_db_survives.js                skipped
   test/javascript/tests/replicator_db_swap_rep_db.js             skipped
   test/javascript/tests/replicator_db_update_security.js         skipped
   test/javascript/tests/replicator_db_user_ctx.js                skipped
   test/javascript/tests/replicator_db_write_auth.js              skipped
   test/javascript/tests/rev_stemming.js                          pass
   test/javascript/tests/rewrite.js                               pass
   test/javascript/tests/rewrite_js.js                            pass
   test/javascript/tests/security_validation.js                   pass
   test/javascript/tests/show_documents.js                        pass
   test/javascript/tests/stats.js                                 skipped
   test/javascript/tests/update_documents.js                      pass
   test/javascript/tests/users_db.js                              ported to elixir
   test/javascript/tests/users_db_security.js                     pass
   test/javascript/tests/utf8.js                                  ported to elixir
   test/javascript/tests/uuids.js                                 ported to elixir
   test/javascript/tests/view_collation.js                        ported to elixir
   test/javascript/tests/view_collation_raw.js                    pass
   test/javascript/tests/view_compaction.js                       pass
   test/javascript/tests/view_conflicts.js                        pass
   test/javascript/tests/view_errors.js                           pass
   test/javascript/tests/view_include_docs.js                     pass
   test/javascript/tests/view_multi_key_all_docs.js               pass
   test/javascript/tests/view_multi_key_design.js                 pass
   test/javascript/tests/view_multi_key_temp.js                   pass
   test/javascript/tests/view_offsets.js                          pass
   test/javascript/tests/view_pagination.js                       pass
   test/javascript/tests/view_sandboxing.js                       pass
   test/javascript/tests/view_update_seq.js                       pass
   =======================================================
   JavaScript tests complete.
     Failed: 0.  Skipped or passed: 84.
   ```
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] jiangphcn commented on issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
jiangphcn commented on issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449#issuecomment-574457618
 
 
   > Can we run a soak test on x86 and ppc64le?
   
   @wohali I can start a soak test on ppc64le. One docker image i got is https://hub.docker.com/r/ibmcom/couchdb-ppc64le/

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] jiangphcn commented on issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
jiangphcn commented on issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449#issuecomment-576171485
 
 
   status update:
   IT guy told me that they are not able to provision one with debian-buster for now, and try their best to provision one with Ubuntu. Also still wait for refresh cycle (hope before Chinese Spring Festival) to allow this VM to access outside.
   
   ```
   Linux jiangpenghui 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:14:44 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] davisp commented on issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
davisp commented on issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449#issuecomment-574425787
 
 
   That backtrace was from the users_db_security test. I managed to "fix" that particular error by disabling native regexp's. Looking into a few of the many other failures I'm seeing a number of different backtraces that all just seem to indicate inexplicable memory corruption.
   
   I will note that 1.8.5 passes the tests without issue. At this point I'm leaning towards reverting back to that for arm64 builds rather than continuing to spend time trying to chase memory issues in over 600k lines of C++.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449#issuecomment-576377961
 
 
   @jiangphcn Happy New Year!
   
   If you can run Docker on it, you'll be fine. That version of Ubuntu doesn't have SM60 packages, but the Debian buster ppc64le couchdbdev image has them.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali commented on issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449#issuecomment-574446052
 
 
   OK, that'll be a packaging call, and we might want to special case a warning in `./configure` for that platform. We'll also have to ensure the binary packages are built correctly, so that the Docker containers for ARM don't throw people back into this situation.
   
   Can we run a soak test on x86 and ppc64le?
   
   Finally, it'd be good if we can open _some_ sort of issue upstream with Mozilla so they're aware of our problems.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] wohali closed issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
wohali closed issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb] jiangphcn commented on issue #2449: arm64 auth cache tests failing

Posted by GitBox <gi...@apache.org>.
jiangphcn commented on issue #2449: arm64 auth cache tests failing
URL: https://github.com/apache/couchdb/issues/2449#issuecomment-574473995
 
 
   thanks for your tip, @wohali. Let me try whether I can find one real POWER hardware. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services