-
Notifications
You must be signed in to change notification settings - Fork 274
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
Conversation
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>
retest this please |
1 similar comment
retest this please |
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 |
how can we solve this issue? |
not easy, since single test requires a vssyncd to be present as a process, a clean redis db and so on, 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]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great
…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>
No description provided.