Project

General

Profile

Bug #1517

qkd-pipeline seems to run bogus if module program file could not be found

Added by Oliver Maurhart 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
18.10.2018
Due date:
% Done:

0%

Estimated time:

Description

If the pipeline.xml for the qkd-pipeline file has some unknown module, the qkd-pipeline tool is confused.

The pipeline.xml:

<?xml version="1.0" encoding="UTF-8"?>
<pipeline name="default" autoconnect="true" pipein="ipc:///tmp/root/qkd/default.alice.in" pipeout="">

    <module path="unknown-module">
        <config path="/tmp/pipeline.conf" />
        <role value="alice" />
        <args value="--debug" />
        <log path="unknown-module.alice.log" />
    </module>

</pipeline>

yields:

$ bin/tools/qkd-pipeline/qkd-pipeline --verbose start pipeline.xml 
Loading pipeline configuration from 'pipeline.xml'...
Loading pipeline configuration from 'pipeline.xml' done.
Starting:  --config /tmp/pipeline.conf --debug 
Unable to get module PID or DBus service name - is module running?
terminate called after throwing an instance of 'std::runtime_error'
  what():  Can't query DBus with no DBus address
Aborted (core dumped)

This is a bug. qkd-pipeline should stop with a proper error message, telling the user that it could not find the module.

History

#1 Updated by Oliver Maurhart 2 months ago

  • Status changed from Assigned to Closed

Done. Fixed in d7ac5fdf.

Also available in: Atom PDF