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

parallel test crashing on arm (perhaps when there is a firewall) #12344

Closed
ViralBShah opened this issue Jul 28, 2015 · 5 comments · Fixed by #14194
Closed

parallel test crashing on arm (perhaps when there is a firewall) #12344

ViralBShah opened this issue Jul 28, 2015 · 5 comments · Fixed by #14194
Labels
system:arm ARMv7 and AArch64

Comments

@ViralBShah
Copy link
Member

The parallel test is failing on arm. The chromebook by default has a firewall that refuses everything. I believe I have set it up to accept all connections. Irrespective, we shouldn't be getting a segfault, and perhaps a better error about connection refused.

     * parallel             
signal (11): Segmentation fault

signal (11): Segmentation fault
exception on 1ERROR (unhandled task failure): connect: connection refused (ECONNREFUSED)
: ERROR: connect: connection refused (ECONNREFUSED)

signal (11): Segmentation fault
Segmentation fault (core dumped)
@ViralBShah ViralBShah added the system:arm ARMv7 and AArch64 label Jul 28, 2015
@ViralBShah ViralBShah changed the title parallel test failing on arm parallel test crashing on arm (perhaps when there is a firewall) Jul 28, 2015
@maleadt maleadt mentioned this issue Nov 30, 2015
@maleadt
Copy link
Member

maleadt commented Jan 18, 2016

With the ABI merging soon, this test no longer segfaults but doesn't succeed (without warnings) just yet:

     * parallel             Test Failed
  Expression: et >= 1.0 && et <= 1.5
WARNING: timedwait tests delayed. et=3.225527159, isready(rr3)=true
WARNING: Forcibly interrupting busy workers
WARNING: rmprocs: process 1 not removed
 in 863.12 seconds, maxrss  105.67 MB
    SUCCESS

Looks like a harmless failure due to my Pi being horribly, horribly slow.

Or rather, timedwait being pretty damn resource intensive. The following test executes the test callback only twice on my RPi2:

function main()
    i = 0
    timedwait(10.0) do
        @time println("foobar")
        i += 1
        false
    end
    println(i)
end

main()

On my desktop, it executes 99 times, which is to be expected given the default polling interval of 0.1
This is on a typical build from master (ie. LLVM v3.7.1 selected by default, no special Make.user flags).

Haven't looked any deeper yet; is this a known issue?

Nothing really wrong with timedwait, it's just the initial compilation that slows everything down. Once the callback function is compiled, everything works as expected.

Extend the parallel subtest in question to include a warm-up call?

@nalimilan
Copy link
Member

Extend the parallel subtest in question to include a warm-up call?

Doesn't sound like a bad idea if that fixes the test for you. Would you make a PR?

@maleadt
Copy link
Member

maleadt commented Jan 18, 2016

Yeah, sure, I'll have a look at it. I wanted to make sure there's no policy against it (ie. "the test suite is not meant to be run on snail-like hardware").

@tkelman
Copy link
Contributor

tkelman commented Jan 18, 2016

ref #9572, we already have issues on buildbots and vm's and other limited-memory scenarios, it would be good to find a way to make the test suite more reliable there.

@yuyichao
Copy link
Contributor

It's funny that this is the only issue that is closed directly by the pr merge since it has partially fixes in front of the issue number....

Anyway, I think we can close this since the "crash" should be fixed. We should open new issues for new test failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:arm ARMv7 and AArch64
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants