Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check paths for existence to prevent ignorable error messages during build #9786

Merged
merged 4 commits into from
Nov 22, 2023

Conversation

gerashegalov
Copy link
Collaborator

@gerashegalov gerashegalov commented Nov 18, 2023

Fixes #9782

Signed-off-by: Gera Shegalov [email protected]

Fixes NVIDIA#9782

Use `-Dnonfail.errors.quiet=false` when debugging

Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
Signed-off-by: Gera Shegalov <[email protected]>
@gerashegalov gerashegalov added the build Related to CI / CD or cleanly building label Nov 18, 2023
@gerashegalov gerashegalov self-assigned this Nov 18, 2023
@gerashegalov gerashegalov added the bug Something isn't working label Nov 18, 2023
@jlowe jlowe changed the title Quiet non-problematic error output in bulld by default Quiet non-problematic error output in build by default Nov 20, 2023
Comment on lines 163 to 164
discardOutput="${nonfail.errors.quiet}"
discardError="${nonfail.errors.quiet}">
Copy link
Member

Choose a reason for hiding this comment

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

Rather than suppress errors by default, does it make more sense to make this execution conditional on old class dir existing or some other check that indicates this is not a clean build?

Signed-off-by: Gera Shegalov <[email protected]>
@gerashegalov gerashegalov changed the title Quiet non-problematic error output in build by default Check paths for existence to prevent ignorable error messages during build Nov 20, 2023
@gerashegalov
Copy link
Collaborator Author

build

1 similar comment
@gerashegalov
Copy link
Collaborator Author

build

@gerashegalov
Copy link
Collaborator Author

build

@gerashegalov
Copy link
Collaborator Author

@jlowe please take a look when you get a chance

@gerashegalov gerashegalov merged commit 1ca5a09 into NVIDIA:branch-23.12 Nov 22, 2023
74 checks passed
@gerashegalov gerashegalov deleted the cleanBuildErrors branch November 22, 2023 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Related to CI / CD or cleanly building
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Error messages appear in a clean build
2 participants