Skip to content

build: dynamic link tests in ASAN#6704

Merged
htuch merged 5 commits intoenvoyproxy:masterfrom
lizan:dynamic_link_test
Apr 25, 2019
Merged

build: dynamic link tests in ASAN#6704
htuch merged 5 commits intoenvoyproxy:masterfrom
lizan:dynamic_link_test

Conversation

@lizan
Copy link
Copy Markdown
Member

@lizan lizan commented Apr 25, 2019

Signed-off-by: Lizan Zhou lizan@tetrate.io

Description:
Dynamic link tests in ASAN to save disk space. Partially addresses #1407.

Risk Level: Low (ASAN only)
Testing: CI
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
@lizan lizan force-pushed the dynamic_link_test branch from 4f93620 to deac8f0 Compare April 25, 2019 04:37
lizan added 2 commits April 25, 2019 05:43
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
@lizan lizan changed the title build: dynamic link tests build: dynamic link tests in ASAN Apr 25, 2019
lizan added 2 commits April 25, 2019 07:40
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
@lizan lizan marked this pull request as ready for review April 25, 2019 09:09
@lizan lizan requested a review from htuch April 25, 2019 09:09
@lizan
Copy link
Copy Markdown
Member Author

lizan commented Apr 25, 2019

@htuch This is good to go. It brings disk space required for ASAN down to ~40GB.

Copy link
Copy Markdown
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic, I had start to play around with this but stopped when I hit some test issues. Looks like you figured them out. Thanks.

@htuch htuch merged commit 8cca5c2 into envoyproxy:master Apr 25, 2019
htuch pushed a commit that referenced this pull request May 6, 2019
As we use srcs to specify the tools to avoid host/target confusion, the src need to be static otherwise dynamic libraries cannot be loaded after #6704 in strict sandbox.

Risk Level: Low
Testing: test only
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
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.

2 participants