Package: vmdb2
Version: 0.11-1
Severity: serious
Justification: fails to build from source
Dear Maintainer,
vmdb2 fails to build from source on Debian unstable (and Ubuntu bionic) due to
some test failures:
Parsing scenario file yarns/100-mvp.yarn
Parsing scenario file yarns/900-implements.yarn
Loading shell library yarns/lib.py
Found 3 scenarios
Running scenario happy path
DATADIR is /tmp/tmp2KW6Yu/happy_path/datadir
HOME for tests is /tmp/tmp2KW6Yu/happy_path/datadir/HOME
Running step "GIVEN a specification file called happy.vmdb containing {
steps: [ { echo: "foo", teardown: "foo_teardown" }, { echo: "bar", teardown:
"bar_teardown" } ] }"
ERROR: In scenario "happy path"
step "GIVEN a specification file called happy.vmdb containing { steps: [ {
echo: "foo", teardown: "foo_teardown" }, { echo: "bar", teardown:
"bar_teardown" } ] }" failed,
with exit code 1:
Standard output from shell command:
Standard error from shell command:
Traceback (most recent call last):
File "/tmp/tmpWTVTHk", line 7, in
from yarnutils import *
ImportError: No module named yarnutils
Running scenario jinja2 templating
DATADIR is /tmp/tmp1ZJQ1E/jinja2_templating/datadir
HOME for tests is /tmp/tmp1ZJQ1E/jinja2_templating/datadir/HOME
Running step "GIVEN a specification file called j2.vmdb containing { steps:
[ { echo: "image is {{ output }}" }, { echo: "bar" }, ] }"
ERROR: In scenario "jinja2 templating"
step "GIVEN a specification file called j2.vmdb containing { steps: [ { echo:
"image is {{ output }}" }, { echo: "bar" }, ] }" failed,
with exit code 1:
Standard output from shell command:
Standard error from shell command:
Traceback (most recent call last):
File "/tmp/tmpttBqcz", line 7, in
from yarnutils import *
ImportError: No module named yarnutils
Running scenario error handling
DATADIR is /tmp/tmp14Foj6/error_handling/datadir
HOME for tests is /tmp/tmp14Foj6/error_handling/datadir/HOME
Running step "GIVEN a specification file called unhappy.vmdb containing {
steps: [ { echo: "foo", teardown: "foo_teardown" }, { error: "yikes", teardown:
"WAT?!" }, { echo: "bar_step", teardown: "bar_teardown" } ] }"
ERROR: In scenario "error handling"
step "GIVEN a specification file called unhappy.vmdb containing { steps: [ {
echo: "foo", teardown: "foo_teardown" }, { error: "yikes", teardown: "WAT?!" },
{ echo: "bar_step", teardown: "bar_teardown" } ] }" failed,
with exit code 1:
Standard output from shell command:
Standard error from shell command:
Traceback (most recent call last):
File "/tmp/tmpXs6YW6", line 7, in
from yarnutils import *
ImportError: No module named yarnutils
Failed scenarios:
- happy path
- jinja2 templating
- error handling
ERROR: Test suite FAILED in 3 scenarios
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<>'
make: *** [debian/rules:6: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--
Benjamin Drung
Debian & Ubuntu Developer