You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the test itself choke sometimes randomly. It happens both locally and in Travis. It's probably that using DiffEqPy hangs. When it occurs, sudo strace -p <pid> shows something like
futex(0x7f507c45caa0, FUTEX_WAIT_PRIVATE, 2, NULL
I'm not sure it helps. Does it mean there is a deadlock somewhere in Julia-Python bridge?
Not sure if it's related (Edit: no it's not #20 (comment)), but:
Locally playing with setup Julia function, it looks like pollings are not triggered during using DiffEqPy. Is it probably due to some non-Julia blocking calls?
I guess #19 (comment) mentioned above is not relevant. It seems that using is always blocking since there is no yield. I forgot Julia was cooperative multitasking...
For example,
tsk =@schedule@evalusing DifferentialEquations
@timetimedwait(1.0) doprint(".")
istaskdone(tsk)
end
Activity
tkf commentedon Apr 26, 2018
See also #18 where I tried to debug appveyor.yml.
tkf commentedon Apr 26, 2018
I guess #19 (comment) mentioned above is not relevant. It seems that
usingis always blocking since there is noyield. I forgot Julia was cooperative multitasking...For example,
takes more than 1 second.
tkf commentedon Apr 26, 2018
Example stalls:
using DiffEqPy)py.test)tkf commentedon Apr 26, 2018
Let's hope we can find a solution in JuliaPy/PyCall.jl#498