-
Notifications
You must be signed in to change notification settings - Fork 78
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
Tests not Completing When Ran in Windows 10 Ubuntu Subsystem #130
Comments
Jonathan Beaudoin <[email protected]> writes:
Setup flent in my Ubuntu subsystem for Windows 10 using Xming server to show the GUI.
When I run the built-in tests they never complete (image below has
been stuck at 100% for 20 minutes). Is there any additional logging I
can turn on to try and figure this out?
Hmm, could you try running the test from the command line and enabling
logging?
flent -v -L debug.log rrul_be <hostname>
and see if (a) that works and (b) if not, post the log somewhere?
…-Toke
|
Unfortunately, command line did not work either. Ran the test and left it for 30 minutes, here is the output from the log file.
https://dl.dropboxusercontent.com/s/l1uwdncftanogh2/debug.log |
Jonathan Beaudoin <[email protected]> writes:
@tohojo
Unfortunately, command line did not work either. Ran the test and left it for 30 minutes, here is the output from the log file.
`
2018-03-23 13:43:23,151 [flent.settings] DEBUG: Executing test environment file /usr/share/flent/flent/tests/rrul_be.conf
2018-03-23 13:43:23,159 [flent.settings] INFO: Started Flent 1.2.0 using Python 3.5.2.
2018-03-23 13:43:23,163 [flent.settings] DEBUG: Executing test
environment file /usr/share/flent/flent/tests/rrul_be.conf
Wait, this is the *only* output you see? This is decidedly odd. Could
you run flent under strace to see why it stops?
…-Toke
|
Okay, this is decidedly weird. From the strace output it looks like Flent is writing more stuff to stderr, but it never appears anywhere. But there is also definitely log output missing; looks like only the log lines from the settings module are actually output. I think I have a windows 10 VM lying around somewhere, so I'll see if I can replicate this. Did you install Flent from the PPA? |
@tohojo yes. Installed version 1.2.0-1 from https://launchpad.net/~tohojo/+archive/ubuntu/flent It could very well be a bug/limitation with ubuntu subsystem for Windows 10. But it still would be interesting to find the root cause. |
There is definitely a risk that it is not something that can easily be worked around in flent. But it is still really odd behaviour...
|
OK, so tried this on win10 and could not reproduce the behaviour you are seeing. The ping binary doesn't work properly on win10, though; could you try to see what happens if you run the tcp_1up_noping test? |
@tohojo were you using the Ubuntu subsystem? Now that I think about it, it could totally be that my subsystem is using the wrong NIC by default (I have multiple NICs in my computer). Which still doesn't explain why there was no timeout errors or output for that matter but 🤷♂️ . I will check again when I get home. |
It just occurred to me that the issue might be a hanging hostname lookup. I've added a debug statement before looking up hostnames, so if you could try running the git version with -v, it should be pretty clear if this is what is happening... |
@tohojo no luck. The following is the output of hostnames[0]
Which matches the output on my working VirtualBox ubuntu.
Found where its getting stuck. |
@tohojo this seems to be an issue with the subsystem in windows. thanks for your help. |
Jonathan Beaudoin <[email protected]> writes:
@tohojo this seems to be an issue with the subsystem in windows.
microsoft/WSL#2026
thanks for your help.
Ah, right, nice catch. Might be worth dealing with the case where the
metadata gathering commands hang. I'll look into that :)
…-Toke
|
Setup flent in my Ubuntu subsystem for Windows 10 using Xming server to show the GUI.
When I run the built-in tests they never complete (image below has been stuck at 100% for 20 minutes). Is there any additional logging I can turn on to try and figure this out?
The text was updated successfully, but these errors were encountered: