Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
Tor
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,080
    • Issues 1,080
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 23
    • Merge Requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • The Tor Project
  • Core
  • Tor
  • Issues
  • #40141

Closed
Open
Created Sep 28, 2020 by Roger Dingledine@armaReporter

unit test fail "assert(smartlist_len(results) OP_EQ sizeof(results_test11)/sizeof(*results_test11)): 6 vs 3"

'make test' on git master (commit e6877071) on moria (old-school rhel6) has this error:

util/glob:
  FAIL src/test/test_util.c:4578: assert(smartlist_len(results) OP_EQ sizeof(results_test11)/sizeof(*results_test11)): 6 vs 3
  [glob FAILED]

Looks like the failure went in with commit 34fa2c4d as part of #25140 (closed).

Do the unit tests have any "show their work" files somewhere, or is the next step to add more prints and stuff to figure out what's going on?

I also have a second failure,

config/include_wildcards: 
  FAIL src/test/test_config.c:6106: assert(len OP_EQ 2): 3 vs 2
  [include_wildcards FAILED]

which seems related to the same commit.

Edited Oct 02, 2020 by Roger Dingledine
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.4.5.x-post-stable
Milestone
Tor: 0.4.5.x-post-stable
Assign milestone
Time tracking
None
Due date
None