infinyon / fluvio-client-python

The Fluvio Python Client!
https://infinyon.github.io/fluvio-client-python/fluvio.html
Apache License 2.0
13 stars 12 forks source link

Tests sometime fails when creating topics #251

Open morenol opened 1 year ago

morenol commented 1 year ago
subprocess.CalledProcessError: Command 'fluvio topic create 90c7826f-b63a-4e72-b382-a5e2a581bb4d' returned non-zero exit status 1.
EstebanBorai commented 1 year ago

Interesting. No other logs are provided?

morenol commented 1 year ago

We would need to collect SC and SPU logs to gather more information. When I added this line the CI to behave in a better way. https://github.com/infinyon/fluvio-client-python/blob/a75e531889a1cf521d1f1b84d5e1cb9ab7800f4d/integration-tests/test_fluvio_python.py#L49

EstebanBorai commented 1 year ago

Mmm sounds like a race condition 🤔, I imagine Fluvio wasn't ready for the moment the fluvio topic create was executed?

morenol commented 1 year ago

Interesting. No other logs are provided?

I don't think so, I have replicated that issue locally. We have to dig into the actual logs of the SC/SPU

ozgrakkurt commented 1 year ago

I don't think so, I have replicated that issue locally. We have to dig into the actual logs of the SC/SPU

Can you give instructions to replicate? Do you just run make integration-tests repeatedly?

morenol commented 1 year ago

yes! and use a local fluvio instance