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

Timeouts seen with appscope/edge integration #1588

Open
jrcheli opened this issue Jul 14, 2023 · 2 comments
Open

Timeouts seen with appscope/edge integration #1588

jrcheli opened this issue Jul 14, 2023 · 2 comments

Comments

@jrcheli
Copy link
Contributor

jrcheli commented Jul 14, 2023

What was reported:
started edge inside a docker container
started top process on host
attached to process
after some amount of time (less than a minute), the inspect stopped showing the process as scoped (with no changes made)
history doesn’t show a duration, which may imply that it’s still kind of running.

the scope attach command reported Inspect PID fails: timeout with consume the message

The machine where it was seen: "11th Gen Intel Core i7-1165G7 @ 2.80GHz x 8"

@jrcheli
Copy link
Contributor Author

jrcheli commented Jul 14, 2023

We thought this was resolved by #1579, but appears to persist.

@michalbiesek
Copy link
Contributor

Today I found pretty easy reproduction steps:

# Try to scope process where event destination is not available (nobody listens)
scope run -e tcp://localhost:9999 -- nc -lp 10001 &
# right after it try to run
scope inspect <nc_pid>
<Inspect failure: timeout with consume the message>
# the scope inspect will work correctly after 4~5 seconds

I susspect the reporting thread is busy with retry/reconnection try that it is not able to hit IPC handling code

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

No branches or pull requests

2 participants