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

Two unimportant clang-analyzer fixes #4561

Merged
merged 2 commits into from
Aug 29, 2023

Conversation

cgwalters
Copy link
Member

sysroot: Silence clang-analyzer warning

I think this is another case of clang-analyzer not understanding
the "GError rules"; it's getting confused by the NULL checks here
and thinking that if authority == NULL it's possible error == NULL
too. But it can't see into the implementation of libpolkit.


pkg-builtins: Add assertions to quiet clang-analyzer

In theory, the server could have not sent this data. Add
assertions to require this.


I think this is another case of clang-analyzer not understanding
the "GError rules"; it's getting confused by the `NULL` checks here
and thinking that if `authority == NULL` it's possible `error == NULL`
too.  But it can't see into the implementation of libpolkit.
In theory, the server could have not sent this data.  Add
assertions to require this.
Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

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

lgtm

@cgwalters
Copy link
Member Author

/retest

@cgwalters cgwalters enabled auto-merge (rebase) August 29, 2023 14:04
@cgwalters
Copy link
Member Author

Aug 29 15:45:51 qemu0 kola-runext-layering-fedorainfra[1869]: error: Updating deployment: Preparing D-Bus arguments: Handling argument https://bodhi.fedoraproject.org/updates/FEDORA-2021-e55da2fc78: Failed to download bodhi update info: HTTP status server error (500 Internal Server Error) for url (https://bodhi.fedoraproject.org/updates/FEDORA-2021-e55da2fc78)

Yeah ok I'm really close to changing these tests into something we maybe just run on release commits or as opt in or something, the bodhi error rate is extremely high.

@cgwalters
Copy link
Member Author

/retest

@cgwalters cgwalters merged commit 7153ab5 into coreos:main Aug 29, 2023
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