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

[ci] Intermittent issue when building istio-gateway #385

Open
DnPlas opened this issue Feb 29, 2024 · 2 comments
Open

[ci] Intermittent issue when building istio-gateway #385

DnPlas opened this issue Feb 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@DnPlas
Copy link
Contributor

DnPlas commented Feb 29, 2024

Bug Description

In a number of CI runs, we have observed an intermittent issue when building istio-gateway.

It is not clear what is causing the issue because the logs in the CI are obscuring out the actual output of charmcraft pack, but we can investigate a bit further. So far I have only been able to see this issue in a PR, it's not happening in my local dev environment.

To Reproduce

Trigger a CI run, either from a PR or from an already merged commit.

Environment

On push/pull CI.

Relevant Log Output

# The first error message we get

 INFO     pytest_operator.plugin:plugin.py:982 Charm build for istio-gateway completed with errors (return code=1) in 175.42s

# Scrolling a bit more into the logs we find this

   File "/home/runner/work/istio-operators/istio-operators/.tox/integration-tls/lib/python3.8/site-packages/pytest_operator/plugin.py", line 1004, in build_charm
    raise RuntimeError(
RuntimeError: Failed to build charm charms/istio-gateway:

# Because the logs are mixed with istio-pilot, we see a mixture of both build processes, so for now we cannot pin point exactly where the issue is happening.

Additional Context

We have ruled out that the issue was caused by a change in the code because the PR that triggered this CI run did not change any istio-gateway code or anything that could've affected its build.

@DnPlas DnPlas added the bug Something isn't working label Feb 29, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5404.

This message was autogenerated

@ca-scribner
Copy link
Contributor

canonical/charmcraft#1456 feels similar, but I dont know if it is the same. I tried debugging for a while and had a hard time with this being intermittent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants