Skip to content
GitLab
  • Explore
  • Sign in
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #40419

Android: FAIL src/test/test_address_set.c:80: assert(ret OP_EQ 1): 0 vs 1

Summary

I rebased our Android patches on tor-0.4.6.5 and ran the CI. It passed on android-24/armeabi-v7a and failed on android-22/x86_64. Both pass on tor-0.4.5.9. This is the failure:

address_set/contains: [forking] 
  FAIL src/test/test_address_set.c:80: assert(ret OP_EQ 1): 0 vs 1
  [contains FAILED]

https://gitlab.com/eighthave/tor/-/jobs/1367099673

My guess is that this is either an intermittent bug or it is due to the CPU arch.

Steps to reproduce:

  1. fork https://gitlab.com/eighthave/tor
  2. trigger a CI pipeline on the tag tor-android-0.4.6.5

Environment

Running on Debian/stretch via the Docker image registry.gitlab.com/fdroid/ci-images-client. The emulator is running without KVM support, so it is very slow.

Possible fixes

If that test is not relevant on Android, I can disable it in our fork.

FYI @n8fr8 @sysrqb

Edited Jun 24, 2021 by eighthave
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking