Project

General

Profile

Bug #1229

Missing dependency qdbus in installation extractions

Added by Manuel Warum 8 months ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Target version:
-
Start date:
26.04.2017
Due date:
% Done:

0%


Description

There appears to be a missing dependency in the installation instructions.
I have noticed that when I built and make test the develop branch inside a Docker container based on debian:jessie-slim, the majority of tests fail due to:

qdbus: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qdbus': No such file or directory

This was resolved by apt-getting qdbus.
Documentation will need updating

History

#1 Updated by Manuel Warum 8 months ago

  • Tracker changed from Task to Bug
  • Description updated (diff)
  • Assignee changed from Manuel Warum to Oliver Maurhart
  • Priority changed from Low to Normal
  • Estimated time deleted (0.50)

Changing issue type to Bug since Oliver mentioned that there should be no compile-time or runtime dependencies on Qt4 (qdbus).

As such, here is more information to narrow down where this problem might stem from:

[mwarum@localhost qkd]$ docker run -it qkd 
root@6728768038e9:/qkd/build# make test
Running tests...
Test project /qkd/build
      Start  1: lib/lib
 1/98 Test  #1: lib/lib ..............................................................   Passed    0.02 sec
      Start  2: lib/utility/debug
 2/98 Test  #2: lib/utility/debug ....................................................   Passed    0.01 sec
      Start  3: lib/utility/environment
 3/98 Test  #3: lib/utility/environment ..............................................   Passed    0.13 sec
      Start  4: lib/utility/si-units
 4/98 Test  #4: lib/utility/si-units .................................................   Passed    0.01 sec
      Start  5: lib/utility/atof
 5/98 Test  #5: lib/utility/atof .....................................................   Passed    0.01 sec
      Start  6: lib/utility/investigatio
 6/98 Test  #6: lib/utility/investigatio .............................................   Passed    0.01 sec
      Start  7: lib/utility/memory
 7/98 Test  #7: lib/utility/memory ...................................................   Passed    0.01 sec
      Start  8: lib/utility/buffer
 8/98 Test  #8: lib/utility/buffer ...................................................   Passed    0.01 sec
      Start  9: lib/utility/checksum
 9/98 Test  #9: lib/utility/checksum .................................................   Passed    0.01 sec
      Start 10: lib/utility/covariance
10/98 Test #10: lib/utility/covariance ...............................................   Passed    1.38 sec
      Start 11: lib/utility/bigint
11/98 Test #11: lib/utility/bigint ...................................................   Passed    0.01 sec
      Start 12: lib/utility/random
12/98 Test #12: lib/utility/random ...................................................   Passed    0.01 sec
      Start 13: lib/utility/average
13/98 Test #13: lib/utility/average ..................................................   Passed    5.44 sec
      Start 14: lib/utility/shannon
14/98 Test #14: lib/utility/shannon ..................................................   Passed    0.02 sec
      Start 15: lib/utility/syslog
15/98 Test #15: lib/utility/syslog ...................................................   Passed    0.01 sec
      Start 16: lib/utility/queue
16/98 Test #16: lib/utility/queue ....................................................   Passed    0.01 sec
      Start 17: lib/utility/dbus
17/98 Test #17: lib/utility/dbus .....................................................   Passed    0.01 sec
      Start 18: lib/utility/zip
18/98 Test #18: lib/utility/zip ......................................................   Passed    0.01 sec
      Start 19: lib/utility/profiling
19/98 Test #19: lib/utility/profiling ................................................   Passed    1.01 sec
      Start 20: lib/utility/program_context
20/98 Test #20: lib/utility/program_context ..........................................***Failed    0.03 sec
      Start 21: lib/crypto/crypto
21/98 Test #21: lib/crypto/crypto ....................................................   Passed    0.05 sec
      Start 22: lib/crypto/evhash
22/98 Test #22: lib/crypto/evhash ....................................................   Passed    0.33 sec
      Start 23: lib/crypto/association
23/98 Test #23: lib/crypto/association ...............................................   Passed    0.01 sec
      Start 24: lib/key/key
24/98 Test #24: lib/key/key ..........................................................   Passed    0.01 sec
      Start 25: lib/key/key_ring
25/98 Test #25: lib/key/key_ring .....................................................   Passed    0.01 sec
      Start 26: lib/key/encoding
26/98 Test #26: lib/key/encoding .....................................................   Passed    0.01 sec
      Start 27: lib/module/null
27/98 Test #27: lib/module/null ......................................................***Failed    0.02 sec
      Start 28: lib/module/terminate
28/98 Test #28: lib/module/terminate .................................................***Failed    0.02 sec
      Start 29: lib/module/config
29/98 Test #29: lib/module/config ....................................................***Failed    0.02 sec
      Start 30: lib/q3p/message
30/98 Test #30: lib/q3p/message ......................................................   Passed    0.01 sec
      Start 31: bin/modules/qkd-error-estimation/continuous-variables/fixed-output
31/98 Test #31: bin/modules/qkd-error-estimation/continuous-variables/fixed-output ...***Failed    0.02 sec
      Start 32: bin/modules/qkd-error-estimation/continuous-variables/fixed-ratio
32/98 Test #32: bin/modules/qkd-error-estimation/continuous-variables/fixed-ratio ....***Failed    0.02 sec
      Start 33: bin/modules/qkd-error-estimation/discrete-variables/fixed-output
33/98 Test #33: bin/modules/qkd-error-estimation/discrete-variables/fixed-output .....***Failed    0.02 sec
      Start 34: bin/modules/qkd-error-estimation/discrete-variables/fixed-ratio
34/98 Test #34: bin/modules/qkd-error-estimation/discrete-variables/fixed-ratio ......***Failed    0.02 sec
      Start 35: bin/modules/qkd-fan/1024_bits_per_key
35/98 Test #35: bin/modules/qkd-fan/1024_bits_per_key ................................***Failed    0.02 sec
      Start 36: bin/modules/qkd-fan/16384_bits_per_key
36/98 Test #36: bin/modules/qkd-fan/16384_bits_per_key ...............................***Failed    0.02 sec
      Start 37: bin/modules/qkd-fan/131072_bits_per_key
37/98 Test #37: bin/modules/qkd-fan/131072_bits_per_key ..............................***Failed    0.02 sec
      Start 38: bin/modules/qkd-fan/131072_bits_per_key
38/98 Test #38: bin/modules/qkd-fan/131072_bits_per_key ..............................***Failed    0.02 sec
      Start 39: bin/modules/qkd-fan/16777216_bits_per_key
39/98 Test #39: bin/modules/qkd-fan/16777216_bits_per_key ............................***Failed    0.02 sec
      Start 40: bin/modules/qkd-nop
40/98 Test #40: bin/modules/qkd-nop ..................................................***Failed    0.02 sec
      Start 41: bin/tools/qkd-pipeline/simple
41/98 Test #41: bin/tools/qkd-pipeline/simple ........................................***Failed    0.02 sec
      Start 42: bin/tools/qkd-pipeline/autoconnect
42/98 Test #42: bin/tools/qkd-pipeline/autoconnect ...................................***Failed    0.02 sec
      Start 43: bin/tools/qkd-pipeline/concurrent
43/98 Test #43: bin/tools/qkd-pipeline/concurrent ....................................***Failed    0.03 sec
      Start 44: bin/tools/qkd-pipeline/nested
44/98 Test #44: bin/tools/qkd-pipeline/nested ........................................***Failed    0.02 sec
      Start 45: bin/pipelines/fan-nop-performance-1048576
45/98 Test #45: bin/pipelines/fan-nop-performance-1048576 ............................***Failed    0.02 sec
      Start 46: bin/pipelines/fan-nop-performance-1048576+debug
46/98 Test #46: bin/pipelines/fan-nop-performance-1048576+debug ......................***Failed    0.02 sec
      Start 47: bin/pipelines/fan-nop-performance-8388608
47/98 Test #47: bin/pipelines/fan-nop-performance-8388608 ............................***Failed    0.02 sec
      Start 48: bin/pipelines/fan-nop-performance-8388608+debug
48/98 Test #48: bin/pipelines/fan-nop-performance-8388608+debug ......................***Failed    0.02 sec
      Start 49: bin/pipelines/fan-nop-tee-performance-1048576
49/98 Test #49: bin/pipelines/fan-nop-tee-performance-1048576 ........................***Failed    0.02 sec
      Start 50: bin/pipelines/fan-nop-tee-performance-1048576+debug
50/98 Test #50: bin/pipelines/fan-nop-tee-performance-1048576+debug ..................***Failed    0.02 sec
      Start 51: bin/pipelines/fan-nop-tee-performance-8388608
51/98 Test #51: bin/pipelines/fan-nop-tee-performance-8388608 ........................***Failed    0.02 sec
      Start 52: bin/pipelines/fan-nop-tee-performance-8388608+debug
52/98 Test #52: bin/pipelines/fan-nop-tee-performance-8388608+debug ..................***Failed    0.02 sec
      Start 53: stdin-stdout
53/98 Test #53: stdin-stdout .........................................................***Failed    0.04 sec
      Start 54: ipc-cat-tee
54/98 Test #54: ipc-cat-tee ..........................................................***Failed    0.05 sec
      Start 55: tcp-cat-tee
55/98 Test #55: tcp-cat-tee ..........................................................***Failed    0.04 sec
      Start 56: throttle
56/98 Test #56: throttle .............................................................***Failed    0.04 sec
      Start 57: killer
57/98 Test #57: killer ...............................................................***Failed    0.04 sec
      Start 58: ping
58/98 Test #58: ping .................................................................***Failed    0.04 sec
      Start 59: interrupt
59/98 Test #59: interrupt ............................................................***Failed    0.04 sec
      Start 60: sudden-death
60/98 Test #60: sudden-death .........................................................***Failed    0.04 sec
      Start 61: mod-bb84
61/98 Test #61: mod-bb84 .............................................................***Failed    0.04 sec
      Start 62: mod-cascade
62/98 Test #62: mod-cascade ..........................................................***Failed    0.04 sec
      Start 63: mod-confirmation
63/98 Test #63: mod-confirmation .....................................................***Failed    0.04 sec
      Start 64: mod-resize
64/98 Test #64: mod-resize ...........................................................***Failed    0.04 sec
      Start 65: mod-resize-minimum
65/98 Test #65: mod-resize-minimum ...................................................***Failed    0.04 sec
      Start 66: mod-resize-exact-simple
66/98 Test #66: mod-resize-exact-simple ..............................................***Failed    0.04 sec
      Start 67: mod-resize-exact-small
67/98 Test #67: mod-resize-exact-small ...............................................***Failed    0.04 sec
      Start 68: mod-resize-exact-big
68/98 Test #68: mod-resize-exact-big .................................................***Failed    0.05 sec
      Start 69: mod-drop
69/98 Test #69: mod-drop .............................................................***Failed    0.04 sec
      Start 70: mod-reorder
70/98 Test #70: mod-reorder ..........................................................***Failed    0.05 sec
      Start 71: mod-privacy-amplification-reduction-rate
71/98 Test #71: mod-privacy-amplification-reduction-rate .............................***Failed    0.05 sec
      Start 72: mod-privacy-amplification-security-bits
72/98 Test #72: mod-privacy-amplification-security-bits ..............................***Failed    0.04 sec
      Start 73: mod-auth
73/98 Test #73: mod-auth .............................................................***Failed    0.04 sec
      Start 74: mod-enkey
74/98 Test #74: mod-enkey ............................................................***Failed    0.04 sec
      Start 75: mod-dekey
75/98 Test #75: mod-dekey ............................................................***Failed    0.04 sec
      Start 76: mod-statistics
76/98 Test #76: mod-statistics .......................................................***Failed    0.04 sec
      Start 77: mod-pseudo-correction
77/98 Test #77: mod-pseudo-correction ................................................***Failed    0.04 sec
      Start 78: mod-sync
78/98 Test #78: mod-sync .............................................................***Failed    0.04 sec
      Start 79: full-pipeline
79/98 Test #79: full-pipeline ........................................................***Failed    0.04 sec
      Start 80: disruptive-drop
80/98 Test #80: disruptive-drop ......................................................***Failed    0.04 sec
      Start 81: disruptive-reorder
81/98 Test #81: disruptive-reorder ...................................................***Failed    0.03 sec
      Start 82: full-disruptive
82/98 Test #82: full-disruptive ......................................................***Failed    0.04 sec
      Start 83: parallel-cat-tee
83/98 Test #83: parallel-cat-tee .....................................................***Failed    0.04 sec
      Start 84: demux
84/98 Test #84: demux ................................................................***Failed    0.04 sec
      Start 85: bb84-cascade
85/98 Test #85: bb84-cascade .........................................................***Failed    0.04 sec
      Start 86: q3pd-start-stop
86/98 Test #86: q3pd-start-stop ......................................................***Failed    0.04 sec
      Start 87: q3pd-file-db
87/98 Test #87: q3pd-file-db .........................................................***Failed    0.05 sec
      Start 88: q3pd-file-db-fail
88/98 Test #88: q3pd-file-db-fail ....................................................***Failed    0.04 sec
      Start 89: q3pd-inject
89/98 Test #89: q3pd-inject ..........................................................***Failed    0.05 sec
      Start 90: q3pd-connect
90/98 Test #90: q3pd-connect .........................................................***Failed    0.05 sec
      Start 91: q3pd-config
91/98 Test #91: q3pd-config ..........................................................***Failed    0.04 sec
      Start 92: q3pd-mq
92/98 Test #92: q3pd-mq ..............................................................***Failed    0.04 sec
      Start 93: q3pd-modules
93/98 Test #93: q3pd-modules .........................................................   Passed    0.00 sec
      Start 94: q3pd-as-a-module
94/98 Test #94: q3pd-as-a-module .....................................................***Failed    0.04 sec
      Start 95: qkd-qkd-statistics-average
95/98 Test #95: qkd-qkd-statistics-average ...........................................***Failed    0.04 sec
      Start 96: qkd-key-gen
96/98 Test #96: qkd-key-gen ..........................................................***Failed    0.05 sec
      Start 97: qkd-key-gen-cv
97/98 Test #97: qkd-key-gen-cv .......................................................***Failed    0.05 sec
      Start 98: qkd-key-compare
98/98 Test #98: qkd-key-compare ......................................................***Failed    0.05 sec

28% tests passed, 71 tests failed out of 98

Total Test time (real) =  11.05 sec

The following tests FAILED:
         20 - lib/utility/program_context (Failed)
         27 - lib/module/null (Failed)
         28 - lib/module/terminate (Failed)
         29 - lib/module/config (Failed)
         31 - bin/modules/qkd-error-estimation/continuous-variables/fixed-output (Failed)
         32 - bin/modules/qkd-error-estimation/continuous-variables/fixed-ratio (Failed)
         33 - bin/modules/qkd-error-estimation/discrete-variables/fixed-output (Failed)
         34 - bin/modules/qkd-error-estimation/discrete-variables/fixed-ratio (Failed)
         35 - bin/modules/qkd-fan/1024_bits_per_key (Failed)
         36 - bin/modules/qkd-fan/16384_bits_per_key (Failed)
         37 - bin/modules/qkd-fan/131072_bits_per_key (Failed)
         38 - bin/modules/qkd-fan/131072_bits_per_key (Failed)
         39 - bin/modules/qkd-fan/16777216_bits_per_key (Failed)
         40 - bin/modules/qkd-nop (Failed)
         41 - bin/tools/qkd-pipeline/simple (Failed)
         42 - bin/tools/qkd-pipeline/autoconnect (Failed)
         43 - bin/tools/qkd-pipeline/concurrent (Failed)
         44 - bin/tools/qkd-pipeline/nested (Failed)
         45 - bin/pipelines/fan-nop-performance-1048576 (Failed)
         46 - bin/pipelines/fan-nop-performance-1048576+debug (Failed)
         47 - bin/pipelines/fan-nop-performance-8388608 (Failed)
         48 - bin/pipelines/fan-nop-performance-8388608+debug (Failed)
         49 - bin/pipelines/fan-nop-tee-performance-1048576 (Failed)
         50 - bin/pipelines/fan-nop-tee-performance-1048576+debug (Failed)
         51 - bin/pipelines/fan-nop-tee-performance-8388608 (Failed)
         52 - bin/pipelines/fan-nop-tee-performance-8388608+debug (Failed)
         53 - stdin-stdout (Failed)
         54 - ipc-cat-tee (Failed)
         55 - tcp-cat-tee (Failed)
         56 - throttle (Failed)
         57 - killer (Failed)
         58 - ping (Failed)
         59 - interrupt (Failed)
         60 - sudden-death (Failed)
         61 - mod-bb84 (Failed)
         62 - mod-cascade (Failed)
         63 - mod-confirmation (Failed)
         64 - mod-resize (Failed)
         65 - mod-resize-minimum (Failed)
         66 - mod-resize-exact-simple (Failed)
         67 - mod-resize-exact-small (Failed)
         68 - mod-resize-exact-big (Failed)
         69 - mod-drop (Failed)
         70 - mod-reorder (Failed)
         71 - mod-privacy-amplification-reduction-rate (Failed)
         72 - mod-privacy-amplification-security-bits (Failed)
         73 - mod-auth (Failed)
         74 - mod-enkey (Failed)
         75 - mod-dekey (Failed)
         76 - mod-statistics (Failed)
         77 - mod-pseudo-correction (Failed)
         78 - mod-sync (Failed)
         79 - full-pipeline (Failed)
         80 - disruptive-drop (Failed)
         81 - disruptive-reorder (Failed)
         82 - full-disruptive (Failed)
         83 - parallel-cat-tee (Failed)
         84 - demux (Failed)
         85 - bb84-cascade (Failed)
         86 - q3pd-start-stop (Failed)
         87 - q3pd-file-db (Failed)
         88 - q3pd-file-db-fail (Failed)
         89 - q3pd-inject (Failed)
         90 - q3pd-connect (Failed)
         91 - q3pd-config (Failed)
         92 - q3pd-mq (Failed)
         94 - q3pd-as-a-module (Failed)
         95 - qkd-qkd-statistics-average (Failed)
         96 - qkd-key-gen (Failed)
         97 - qkd-key-gen-cv (Failed)
         98 - qkd-key-compare (Failed)
Errors while running CTest
Makefile:137: recipe for target 'test' failed
make: *** [test] Error 8

Here's an excerpt from /qkd/build/Testing/Temporary/LastTest.log.

20/98 Testing: lib/utility/program_context
20/98 Test: lib/utility/program_context
Command: "/qkd/build/test2/lib/utility/program_context/test" 
Directory: /qkd/build/test2/lib/utility/program_context
"lib/utility/program_context" start time: Apr 26 13:41 UTC
Output:
----------------------------------------------------------
qdbus: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qdbus': No such file or directory
Local testing DBus present
qdbus: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qdbus': No such file or directory
qdbus: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qdbus': No such file or directory
qdbus: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qdbus': No such file or directory
Failed to launch local DBus for testing.
<end of output>
Test time =   0.03 sec
----------------------------------------------------------
Test Failed.
"lib/utility/program_context" end time: Apr 26 13:41 UTC
"lib/utility/program_context" time elapsed: 00:00:00
----------------------------------------------------------

The same error message also occurs for all other tests that say "Failed."

#2 Updated by Manuel Warum 8 months ago

This looks like an issue from Debian. Not necessarily a bug, more like a implicit fallback to QT4.
Setting the environment variable QT_SELECT="qt5" should resolve this issue.

Also available in: Atom PDF