Opened 2 years ago

Closed 2 years ago

#24863 closed defect (fixed)

Travis CI environment change breaks clang builds

Reported by: catalyst Owned by:
Priority: Medium Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-ci
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor: Sponsor3


It looks like an unannounced environment change in Travis CI's workers prevents LeakSanitizer from working correctly, breaking our Travis builds on clang. This seems to disable ptrace capabilities, which for some reason LeakSanitizer needs to run properly on our forking tests. (See

We can hope they fix this soon, or we can try to work around it by changing our .travis.yml to use a sudo-enabled build environment. (This has the drawback that some of our tests depend on running as non-root, but I think they all get skipped if running as root.)

Child Tickets

Change History (2)

comment:1 Changed 2 years ago by catalyst

Sponsor: Sponsor3
Status: newneeds_review

Proposed fixes in branches travis-workaround-025, travis-workaround-031, and travis-workaround-master in my repository. -025 merges cleanly into 0.2.9 and 0.3.0; -031 merges cleanly into 0.3.2.

comment:2 Changed 2 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed

Okay! Merging.

Note: See TracTickets for help on using tickets.