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

[debian] increment debian compatibility to 10 to enable parallel package build #461

Merged
merged 3 commits into from
Jun 4, 2019

Conversation

stepanblyschak
Copy link
Contributor

No description provided.

Stepan Blyschak added 2 commits May 24, 2019 16:24
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
build

From debhelper man pages:

"If neither option is specified, debhelper currently defaults to
--parallel in compat 10 (or later) and --no-parallel otherwise."

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
@lguohan
Copy link
Contributor

lguohan commented May 26, 2019

retest this please

1 similar comment
@liat-grozovik
Copy link
Collaborator

retest this please

@kcudnik
Copy link
Collaborator

kcudnik commented May 29, 2019

probably because of parallelism this will not pass unittests, since mlnx.pl and brcm.pl are not designed to work in parallel, they need to be executed separately, since each of those instances uses vssyncd process to perform tests, and when executed in parallel, it will conflict

@lguohan
Copy link
Contributor

lguohan commented May 31, 2019

how can we solve this issue?

@kcudnik
Copy link
Collaborator

kcudnik commented May 31, 2019

not easy, since single test requires a vssyncd to be present as a process, a clean redis db and so on,
we can run each test in separate docker XD, then it should work

is parallelism required for unittests here ? is it getting too slow to execute? or this is just pure cosmetic change to bump debian tool version?, if it's cosmetic change, then parallel run probably can be disabled by some switch

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
@@ -3,7 +3,7 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([])
AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([subdir-objects foreign])
AM_INIT_AUTOMAKE([subdir-objects foreign serial-tests])
Copy link
Collaborator

Choose a reason for hiding this comment

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

great

@lguohan lguohan merged commit e10fba8 into sonic-net:master Jun 4, 2019
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
…age build (sonic-net#461)

* fix parallel build

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>

* [debian] increment debian compatibility to 10 to enable parallel package
build

From debhelper man pages:

"If neither option is specified, debhelper currently defaults to
--parallel in compat 10 (or later) and --no-parallel otherwise."

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>

* make tests run serial

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
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.

4 participants