Skip to content
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

Unable to run cmd tests under Debian. #309

Closed
cdrage opened this issue Nov 24, 2016 · 2 comments
Closed

Unable to run cmd tests under Debian. #309

cdrage opened this issue Nov 24, 2016 · 2 comments

Comments

@cdrage
Copy link
Member

cdrage commented Nov 24, 2016

Weird issue running the cmd tests under Debian. Getting a weird "convert" issue running make cmd-test

===> Starting test <===
convert::expect_success: Running: 'kompose --bundle /home/wikus/dropbox/dev/go/src/github.com/kubernetes-incubator/kompose/script/test/fixtures/bundles/dab/docker-compose-bundle.dab convert --stdout' expected_output: '/home/wikus/dropbox/dev/go/src/github.com/kubernetes-incubator/kompose/script/test/fixtures/bundles/dab/output-k8s.json'
error: too many arguments to post_recurse (expected 0 but got 1)
def post_recurse(f): def r: (f | select(. != null) | r), .; r; def post_recurse: post_recurse(.[]?); ($a | (post_recurse | arrays) |= sort) as $a | ($b | (post_recurse | arrays) |= sort) as $b | $a == $b                                                                                 1 compile error
FAIL: converted output does not match


===> Starting test <===
convert::expect_success_and_warning: Running: 'kompose --bundle /home/wikus/dropbox/dev/go/src/github.com/kubernetes-incubator/kompose/script/test/fixtures/bundles/dsb/docker-voting-bundle.dsb convert --stdout' expected_output: '/home/wikus/dropbox/dev/go/src/github.com/kubernetes-incubator/kompose/script/test/fixtures/bundles/dsb/output-k8s.json' expected_warning: 'Service cannot be created because of missing port.'
error: too many arguments to post_recurse (expected 0 but got 1)
def post_recurse(f): def r: (f | select(. != null) | r), .; r; def post_recurse: post_recurse(.[]?); ($a | (post_recurse | arrays) |= sort) as $a | ($b | (post_recurse | arrays) |= sort) as $b | $a == $b                                                                                 1 compile error
FAIL: converted output does not match
Makefile:31: recipe for target 'test-cmd' failed
make: *** [test-cmd] Error 1
@cdrage cdrage changed the title Unable to run tests under Debian. Unable to run cmd tests under Debian. Nov 24, 2016
@surajssd
Copy link
Member

surajssd commented Nov 24, 2016

@cdrage what is version of jq you have installed? Cause here it says jq 1.5 is required.

@cdrage
Copy link
Member Author

cdrage commented Nov 24, 2016

@surajssd thanks man, that'd do it:

jq - commandline JSON processor [version 1.4-1-e73951f]
Usage: jq [options] <jq filter> [file...]

@cdrage cdrage closed this as completed Nov 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants