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

test suite hangs forever #208

Open
anthraxx opened this issue Oct 5, 2017 · 5 comments
Open

test suite hangs forever #208

anthraxx opened this issue Oct 5, 2017 · 5 comments

Comments

@anthraxx
Copy link

anthraxx commented Oct 5, 2017

I try to run the test suite to check for regressions but it hangs forever and never terminates.

neither ./run_tests nor ./run_tests -t regression.uts -K netaccess works, while it passes for the old python2 variant.

Any ideas how to get info or solve it?
cheers

@gpotter2
Copy link

gpotter2 commented Oct 9, 2017

You should try using latest secdev scapy version, it's starting to support python 3 quite correctly

@anthraxx
Copy link
Author

anthraxx commented Oct 9, 2017

@gpotter2 doesn't matter at all for this issue report. Also latest original scapy release is not fully python 3 functional... even if it would be, that doesn't matter at all for this bug report

@phaethon
Copy link
Owner

@anthraxx Do you run it with sudo? Some of the tests require root rights and may hang without it. As the tests require sudo anyway for correct function, it is a low priority issue for now.

@anthraxx
Copy link
Author

@phaethon i see, can you point out which tests exactly and if i can skip them using -K ? excluding netaccess doesn't seem to do the trick. I'm looking forward to test as much as possible without uid=0

@phaethon
Copy link
Owner

Those are all automaton tests. I am going to significantly revise automaton in line and style of recent python3 developments, and then I would rewrite the tests, too.
Theoretically, the tests could be moved into a separate file until they are revised. If this is important for you, please, make such a pull request.

Simple automaton Tests
Simple automaton stuck test
Automaton state overloading
Automaton condition overloading
Automaton action overloading
Automaton priorities
Automaton test same action for many conditions
Automaton test io event
Automaton test io event from external fd
Automaton test interception_points, and restart

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

3 participants