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

Print output of hung test after killing it #107

Closed
locker opened this issue Aug 2, 2018 · 0 comments
Closed

Print output of hung test after killing it #107

locker opened this issue Aug 2, 2018 · 0 comments
Assignees
Labels
feature A new functionality

Comments

@locker
Copy link
Member

locker commented Aug 2, 2018

If a test hangs, the output of test-run will look like this:

No output during 10 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.
No output during 20 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.
No output during 30 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.
No output during 40 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.
No output during 50 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.
No output during 60 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.
No output during 70 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.
No output during 80 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.
No output during 90 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.
No output during 100 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.
No output during 110 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.
No output during 120 seconds. List of workers not reporting the status: [1]; Will abort after 120 seconds without output.

[Main process] No output from workers. It seems that we hang. Send SIGKILL to workers; exiting...
---------------------------------------------------------------------------------
Count of didn't processed tasks: 1

That is, looking at the output it is impossible to say what happened. It would be great if test-run printed the output of hung tests (diff or tap result).

@locker locker added the feature A new functionality label Aug 2, 2018
@sergw sergw self-assigned this Aug 6, 2018
sergw pushed a commit that referenced this issue Aug 9, 2018
sergw pushed a commit that referenced this issue Aug 10, 2018
If HungListener found some hung tests it will print information about:
- worker id
- test name
- test params
- output from .result file

Part of #107
sergw pushed a commit that referenced this issue Aug 17, 2018
If HungListener found some hung tests it will print information about:
- worker id
- test name
- test params
- output from .result file

Closes #107
sergw pushed a commit that referenced this issue Aug 17, 2018
If HungListener found some hung tests it will print information about:
- worker id
- test name
- test params
- last 15 lines from .result file

Closes #107
sergw pushed a commit that referenced this issue Aug 19, 2018
If HungListener found some hung tests it will print information about:
- worker id
- test name
- test params
- last 15 lines from .result file

Closes #107
@sergw sergw closed this as completed in #110 Sep 4, 2018
sergw pushed a commit that referenced this issue Sep 4, 2018
If HungListener found some hung tests it will print information about:
- worker id
- test name
- test params
- last 15 lines from .result file

Closes #107
sergw pushed a commit to tarantool/tarantool that referenced this issue Sep 11, 2018
* Allow to use unix socket for non-default servers
  (tarantool/test-run#115)
* Fix inspector error reporting for app tests
* Add new config param 'show_reproduce_content'
  (tarantool/test-run#113)
* Print last 15 lines of .result for hung tests
  (tarantool/test-run#107)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality
Projects
None yet
Development

No branches or pull requests

2 participants