bugDistributed Privacy Guard - Bugs: bug #58772, Tests cannot be run in parallel


bug #58772: Tests cannot be run in parallel

Submitted by:  Justus Winter <teythoon>
Submitted on:  Thu 16 Jul 2020 01:29:40 PM UTC  
Category:  Build System Severity:  1 - Wish
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  Heiko Stamer <stamer>
Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 18 Aug 2020 08:52:48 AM UTC, comment #5: 

Works fine now, thanks!

Justus Winter <teythoon>
Tue 18 Aug 2020 05:04:10 AM UTC, comment #4: 

Addtional dependencies have been added by the following commit: https://git.savannah.nongnu.org/cgit/dkgpg.git/commit/?id=797580e66434d639a29de11b94297aef90dfe6a7

I've successfully run the tests with -j<n> for n = 1..8.

Heiko Stamer <stamer>
Project AdministratorIn charge of this item.
Mon 17 Aug 2020 06:34:12 PM UTC, comment #3: 

Program t-dkg-sign with parties P_1, P_2, and P_3 ("Test2", "Test3", "Test4") fails with the following error messages:

P_2: second ZNPoK in Step 2d failed for P_1
P_2: third ZNPoK in Step 2d failed for P_1
P_2: there are extracting complaints of v_j against P_1 but ignoring P_1
P_2: signers (index from DKG) in Step 2f: P_2 P_3
P_2: not enough cooperative players (< 2t+1) for signing

It seems that parallel execution of t-dkg-refresh causes this error, because shares of parties P_0, P_2, and P_3 have been refreshed.

I will add some more dependencies soon.

Heiko Stamer <stamer>
Project AdministratorIn charge of this item.
Mon 17 Aug 2020 10:41:39 AM UTC, comment #2: 

Not quite:

% make -j5 check
PASS: t-dkg-gencrs.test
PASS: y-dkg-generate.test
PASS: y-dkg-adduid.test
PASS: y-dkg-encrypt.test
PASS: y-dkg-addrevoker.test
PASS: y-dkg-sign.test
PASS: y-dkg-revuid.test
PASS: y-dkg-decrypt.test
PASS: y-dkg-verify.test
PASS: y-dkg-keycheck.test
PASS: y-dkg-timestamp.test
PASS: y-dkg-timestamp-verify.test
PASS: t-dkg-generate.test
PASS: t-dkg-encrypt.test
PASS: t-dkg-keyinfo.test
PASS: ts-dkg-generate.test
PASS: y-dkg-keysign.test
PASS: t-dkg-refresh.test
PASS: t-dkg-decrypt.test
PASS: t-dkg-keysign.test
FAIL: t-dkg-sign.test
FAIL: t-dkg-verify.test
PASS: t-dkg-addrevoker.test
PASS: y-dkg-attest.test
FAIL: ts-dkg-timestamp.test
FAIL: ts-dkg-timestamp-verify.test
PASS: t-dkg-attest.test
PASS: t-dkg-adduid.test
PASS: t-dkg-revoke.test
PASS: t-dkg-revuid.test
Testsuite summary for Distributed Privacy Guard 1.2.0
# TOTAL: 30
# PASS:  26
# SKIP:  0
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0

The tests are happy if I drop the '-j5'.

Justus Winter <teythoon>
Fri 14 Aug 2020 07:00:20 PM UTC, comment #1: 

Thanks for reporting. I've fixed that bug by adding required dependencies to Makefile.am with the following commit:


Please, can you confirm that it works?

Heiko Stamer <stamer>
Project AdministratorIn charge of this item.
Thu 16 Jul 2020 01:29:40 PM UTC, original submission:  

Running e.g. 'make -j check' fails because some tests depend on key material being generated as a side-effect of running other tests, and this dependency is not taken into account when running the tests in parallel.

Justus Winter <teythoon>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by teythoon (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-18 stamer StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2020-08-18 stamer StatusIn Progress => Ready For Test
    2020-08-17 stamer StatusReady For Test => In Progress
    2020-08-14 stamer Item GroupFeature Request => Bug
        StatusIn Progress => Ready For Test
    2020-08-14 stamer CategoryNone => Build System
        Severity3 - Normal => 1 - Wish
        Item GroupNone => Feature Request
        StatusNone => In Progress
        Assigned toNone => stamer

    Back to the top

    Powered by Savane 3.5