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

Disable iroh on OpenBSD #5562

Closed
wants to merge 1 commit into from
Closed

Disable iroh on OpenBSD #5562

wants to merge 1 commit into from

Conversation

link2xt
Copy link
Collaborator

@link2xt link2xt commented May 13, 2024

No description provided.

@link2xt
Copy link
Collaborator Author

link2xt commented May 13, 2024

deltachat-jsonrpc still cannot be compiled because I have not added any conditional compilation there yet.

Running tests segfaults:

$ cargo test -- --test-threads 1
    Finished test [unoptimized + debuginfo] target(s) in 3.10s
     Running unittests src/lib.rs (target/debug/deps/deltachat-e5ef9b9e62bfb452)

running 797 tests
test accounts::tests::test_account_new_add_remove ... ok
test accounts::tests::test_account_new_open ... ok
test accounts::tests::test_account_new_open_conflict ... ok
test accounts::tests::test_accounts_ids_unique_increasing_and_persisted ... ok
test accounts::tests::test_accounts_remove_last ... ok
test accounts::tests::test_accounts_share_translations ... ok
test accounts::tests::test_accounts_sorted ... ok
test accounts::tests::test_encrypted_account ... error: test failed, to rerun pass `--lib`

Caused by:
  process didn't exit successfully: `/home/user/link2xt/deltachat-core-rust/target/debug/deps/deltachat-e5ef9b9e62bfb452 --test-threads 1` (signal: 11, SIGSEGV: invalid memory reference)
deltachat$ cargo test accounts::tests::test_encrypted_account
    Finished test [unoptimized + debuginfo] target(s) in 3.82s
     Running unittests src/lib.rs (target/debug/deps/deltachat-e5ef9b9e62bfb452)

running 1 test
error: test failed, to rerun pass `--lib`

Caused by:
  process didn't exit successfully: `/home/user/link2xt/deltachat-core-rust/target/debug/deps/deltachat-e5ef9b9e62bfb452 'accounts::tests::test_encrypted_account'` (signal: 11, SIGSEGV: invalid memory reference)

Running just this test alone segfaults as well.

This command passes:

cargo test -- \
--skip accounts::tests::test_encrypted_account \
--skip configure::tests::test_no_panic_on_bad_credentials \
--skip context::tests::test_check_passphrase \
--skip context::tests::test_context_change_passphrase \
--skip imex::tests::test_export_and_import_backup \
--skip oauth2::tests::test_get_oauth2_addr \
--skip oauth2::tests::test_get_oauth2_token \
--skip sql::tests::test_check_passphrase \
--skip sql::tests::test_sql_change_passphrase --test-threads 1

So the next step is to figure out why these tests segfault. cargo test sql::tests::test_check_passphrase is already quite minimal.

@link2xt
Copy link
Collaborator Author

link2xt commented May 14, 2024

Let's close it in favor of #5557

@link2xt link2xt closed this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant