Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#19977 closed defect (fixed)

testsuite fails on mips, powerpc, s390x

Reported by: weasel Owned by: dgoulet
Priority: Medium Milestone: Tor: 0.2.9.x-final
Component: Core Tor/Tor Version: Tor: 0.2.9.2-alpha
Severity: Major Keywords: tor-sr, test TorCoreTeam201608
Cc: Actual Points: 0.5
Parent ID: Points: 0.2
Reviewer: Sponsor: SponsorR-must

Description

According to https://buildd.debian.org/status/package.php?p=tor&suite=experimental, tor fails on several architectures.

It might be a big-endian issue.

shared-random/encoding: [forking] 
  FAIL ../src/test/test_shared_random.c:409: assert(hashed_rand OP_EQ parsed_commit.random_number): 30920FF41C187DFCBE96E453A0885E3B956B9EEB18C3A15D2EE1D0858ECC3CDB vs 24F71F644E3890594AA31F048010E74F01F09ABAB5E08CFCB5EF74B3623782DA
  [encoding FAILED]

Child Tickets

Change History (4)

comment:1 Changed 3 years ago by dgoulet

Keywords: tor-sr test added
Owner: set to dgoulet
Points: 0.2
Sponsor: SponsorR-must
Status: newaccepted

By the look of it, this is probably an endianess issue (BE vs LE).

comment:2 Changed 3 years ago by dgoulet

Actual Points: 0.5
Status: acceptedneeds_review

Fix in branch bug19977_029_01

I've tested the above on s390x arch. thanks to weasel and Debian for this :).

comment:3 Changed 3 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed

Merged it!

comment:4 Changed 3 years ago by nickm

Keywords: TorCoreTeam201608 added
Note: See TracTickets for help on using tickets.