Skip to content

Don't build WASM for fuzz-coverage tests#39296

Merged
mathetake merged 8 commits intoenvoyproxy:mainfrom
krinkinmu:disable-wasm-for-fuzz-coverage
May 22, 2025
Merged

Don't build WASM for fuzz-coverage tests#39296
mathetake merged 8 commits intoenvoyproxy:mainfrom
krinkinmu:disable-wasm-for-fuzz-coverage

Conversation

@krinkinmu
Copy link
Copy Markdown
Contributor

Commit Message:

Simple grep over the codebase suggests that we don't have any WASM specific fuzz tests defined. And existing fuzz tests don't need a full WASM runtime.

On top of that in general we don't really want to fuzz test our dependencies (e.g., we would like the dependencies to have their own infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for fuzz-coverage. One particular reason to try and optimize fuzz-coverage is that I want to move it to static linking to work around a bug in Clang/LLVM (see llvm/llvm-project#32849) and static linking produces much large binaries and requires a larger linker footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in #39030 which prompted me to work on this in the first place. And I will use #39248 as a tracking bug for the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes included, I also confirmed that disabling wasm + moving fuzz-coverage to EngFlow + removing explicit RBE pool attributes from fuzz targets make it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

+cc @phlax

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
@repokitteh-read-only
Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #39296 was opened by krinkinmu.

see: more, trace.

@krinkinmu
Copy link
Copy Markdown
Contributor Author

/retest

krinkinmu added 5 commits May 1, 2025 13:25
Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
…zz-coverage

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
@krinkinmu krinkinmu force-pushed the disable-wasm-for-fuzz-coverage branch from 9c61ec1 to 9a4df9d Compare May 12, 2025 13:26
@krinkinmu
Copy link
Copy Markdown
Contributor Author

/re-test

@krinkinmu
Copy link
Copy Markdown
Contributor Author

/retest

@krinkinmu
Copy link
Copy Markdown
Contributor Author

/retest failed checks

krinkinmu added 2 commits May 21, 2025 13:06
…zz-coverage

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
…zz-coverage

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
@krinkinmu
Copy link
Copy Markdown
Contributor Author

/retest an msan flake

@krinkinmu
Copy link
Copy Markdown
Contributor Author

/retest cancelled workflows

@krinkinmu krinkinmu marked this pull request as ready for review May 21, 2025 17:45
Copy link
Copy Markdown
Member

@mathetake mathetake left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me plus I see there's a consensus in the linked discussion that this is the way to go

@mathetake mathetake merged commit 9e9455e into envoyproxy:main May 22, 2025
24 checks passed
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
envoyproxy#39030 which prompted me to work
on this in the first place. And I will use
envoyproxy#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
envoyproxy#39030 which prompted me to work
on this in the first place. And I will use
envoyproxy#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
envoyproxy#39030 which prompted me to work
on this in the first place. And I will use
envoyproxy#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
#39030 which prompted me to work
on this in the first place. And I will use
#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
envoyproxy#39030 which prompted me to work
on this in the first place. And I will use
envoyproxy#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
envoyproxy#39030 which prompted me to work
on this in the first place. And I will use
envoyproxy#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
envoyproxy#39030 which prompted me to work
on this in the first place. And I will use
envoyproxy#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
envoyproxy#39030 which prompted me to work
on this in the first place. And I will use
envoyproxy#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
envoyproxy#39030 which prompted me to work
on this in the first place. And I will use
envoyproxy#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
#39030 which prompted me to work
on this in the first place. And I will use
#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
envoyproxy#39030 which prompted me to work
on this in the first place. And I will use
envoyproxy#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
phlax pushed a commit to phlax/envoy that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
envoyproxy#39030 which prompted me to work
on this in the first place. And I will use
envoyproxy#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
#39030 which prompted me to work
on this in the first place. And I will use
#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
phlax pushed a commit that referenced this pull request Jun 11, 2025
Commit Message:

Simple grep over the codebase suggests that we don't have any WASM
specific fuzz tests defined. And existing fuzz tests don't need a full
WASM runtime.

On top of that in general we don't really want to fuzz test our
dependencies (e.g., we would like the dependencies to have their own
infrastructure and be scrupulous when new dependencies are added).

Disabling WASM reduces the build time and resources required for
fuzz-coverage. One particular reason to try and optimize fuzz-coverage
is that I want to move it to static linking to work around a bug in
Clang/LLVM (see llvm/llvm-project#32849) and
static linking produces much large binaries and requires a larger linker
footprint, which currently hits the limits of the RBE backend used.

Additional Description:

Some relevant discussions can be found in
#39030 which prompted me to work
on this in the first place. And I will use
#39248 as a tracking bug for
the coverage changes.

Risk Level: low
Testing: running fuzz-coverage on local machine with the changes
included, I also confirmed that disabling wasm + moving fuzz-coverage to
EngFlow + removing explicit RBE pool attributes from fuzz targets make
it possible to successfully statically link fuzz tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

---------

Signed-off-by: Mikhail Krinkin <mkrinkin@microsoft.com>
Signed-off-by: Ryan Northey <ryan@synca.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