Skip to content

disable package parallelism on arm build - #38

Merged
gerkey merged 10 commits into
masterfrom
arm_no_parallel
Mar 29, 2017
Merged

gerkey merged 10 commits into
masterfrom
arm_no_parallel

Conversation

@gerkey

@gerkey gerkey commented Mar 23, 2017

Copy link
Copy Markdown
Member

This change has been deployed to the farm so that we can get overnight test results. The config diff was:

Updating job 'nightly_linux-aarch64_debug'
    <<<
    --- remote config
    +++ new config
    @@ -102 +102 @@
    -          <defaultValue>--parallel</defaultValue>
    +          <defaultValue />
    >>>

@gerkey gerkey added the in progress Actively being worked on (Kanban column) label Mar 23, 2017

@wjwwood wjwwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@gerkey

gerkey commented Mar 23, 2017

Copy link
Copy Markdown
Member Author

Thanks, @wjwwood. I'm going to wait until we get some results before merging.

@wjwwood

wjwwood commented Mar 27, 2017

Copy link
Copy Markdown
Member

Bump, were there any results from this? It looks like the debug job is still using parallel, and still getting hung up:

http://ci.ros2.org/view/nightly/job/nightly_linux-aarch64_debug/28/console

@dhood

dhood commented Mar 27, 2017

Copy link
Copy Markdown
Member

that's my fault that it's using parallel again: I overwrote it. I'll change it back manually. Sorry for stalling the investigation!

@wjwwood

wjwwood commented Mar 27, 2017

Copy link
Copy Markdown
Member

There could have been results from previous jobs, so I don't think you messed anything up. I was just curious what the conclusion was.

@gerkey

gerkey commented Mar 28, 2017

Copy link
Copy Markdown
Member Author

I made another change, with the goal of reducing build times: remove the --retest-until-pass arg. I deployed the change, which produced this diff:

Updating job 'nightly_linux-aarch64_debug'
    <<<
    --- remote config
    +++ new config
    @@ -107 +107 @@
    -          <defaultValue>--retest-until-pass 10 --ctest-args -LE linter --</defaultValue>
    +          <defaultValue>--ctest-args -LE linter --</defaultValue>
    @@ -437 +437 @@
    -    <hudson.tasks.Mailer plugin="[email protected]">
    +    <hudson.tasks.Mailer plugin="[email protected]">
    >>>

Let's get another overnight result to check the effect.

Comment thread create_jenkins_job.py Outdated
job_data['dont_notify_every_unstable_build'] = 'true'
job_data['ament_test_args_default'] = '--retest-until-pass 10 --ctest-args -LE linter --'
job_data['ament_build_args_default'] = ''
job_data['ament_test_args_default'] = ''

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to run tests at all if we dont check the results ? that would be another use case to add the "run tests" checkbox to jenkins and disable it by default

If you want to run them once anyway, maybe we should keep --ctest-args -LE linter -- to avoid running the linters event on the first round of testing

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went back to running the tests but excluding the linter tests (check the latest commits on this branch). I suppose that we could just disable tests, but I feel that running them once is a good middle ground between no testing and full testing, so I'd rather keep doing that if we can afford the CPU time for it.

@gerkey

gerkey commented Mar 29, 2017

Copy link
Copy Markdown
Member Author

The new args seem to work fine, but we still got a hung build. It had run for 10 hours, but stopped producing output 12 minutes into the build:

http://ci.ros2.org/view/nightly/job/nightly_linux-aarch64_debug/30/consoleFull

It could be lots of things, including the CMake-related system call hangs that we've seen before under qemu.

I'm going to merge this change because I think that it's going in the right direction of improving performance of the ARM build, but we'll need to find an alternative mechanism for doing this build, likely outside qemu. In the meantime, we'll need to keep an eye on the build and kill the hung ones.

@gerkey
gerkey merged commit 45ddea1 into master Mar 29, 2017
@gerkey
gerkey deleted the arm_no_parallel branch March 29, 2017 17:53
@gerkey gerkey removed the in progress Actively being worked on (Kanban column) label Mar 29, 2017
@dirk-thomas

Copy link
Copy Markdown
Member

I would rather try to avoid that the build farmer has to monitor / kill this job every morning. Can we just add a timeout to the job and automatically kill it after X hours?

@gerkey

gerkey commented Mar 29, 2017

Copy link
Copy Markdown
Member Author

Oh, a timeout is a great idea. Should I install the build-timeout plugin? https://wiki.jenkins-ci.org/display/JENKINS/Build-timeout+Plugin

@dirk-thomas

Copy link
Copy Markdown
Member

👍 we are using it on the ROS 1 farm successfully.

@gerkey

gerkey commented Mar 29, 2017

Copy link
Copy Markdown
Member Author

See #43 for the timeout.

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

Successfully merging this pull request may close these issues.

5 participants