-
Notifications
You must be signed in to change notification settings - Fork 123
typechecker: build fails on travis #2015
Comments
I think the error report above is missing an important part of the output:
. Anyway, it seems the test Input: /Users/travis/build/sanssecours/elektra/src/plugins/typechecker/README.md
(kdb mount prelude.ini spec/tests/typechecker/elektra/spec ini &&
kdb get spec/tests/typechecker/elektra/spec/fallback/#) ||
(kdb umount spec/tests/typechecker/elektra/spec &&
kdb mount "$PWD/src/plugins/typechecker/typechecker/prelude.ini" spec/tests/typechecker/elektra/spec ini)
kdb mount simplespecification.ini spec/tests/typechecker ini typechecker
echo 'kdbGet spec/tests/typechecker
keySetName spec/tests/typechecker/key1
keySetMeta check/range 0-5000
ksAppendKey
keyClear
keySetName spec/tests/typechecker/key2
keySetMeta check/range 7200-10000
ksAppendKey
keyClear
keySetName spec/tests/typechecker/key3
keySetMeta check/long
keySetMeta fallback/#1 spec/tests/typechecker/key1
ksAppendKey
keyClear
kdbSet spec/tests/typechecker' | kdb shell
kdb get spec/tests/typechecker/key1
kdb setmeta spec/tests/typechecker/key2 fallback/#1 spec/tests/typechecker/key1
ERROR - RET:
Return value “0” does not match “5”
kdb umount spec/tests/typechecker
kdb umount spec/tests/typechecker/elektra/spec
shell_recorder /var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/tmp.a5nCXwBV RESULTS: 7 test(s) done 1 error(s).
—— Protocol ————————————————————————————————————————————————————
CMD: (kdb mount prelude.ini spec/tests/typechecker/elektra/spec ini &&
kdb get spec/tests/typechecker/elektra/spec/fallback/#) ||
(kdb umount spec/tests/typechecker/elektra/spec &&
kdb mount "$PWD/src/plugins/typechecker/typechecker/prelude.ini" spec/tests/typechecker/elektra/spec ini)
RET: 0
CMD: kdb mount simplespecification.ini spec/tests/typechecker ini typechecker
RET: 0
CMD: echo 'kdbGet spec/tests/typechecker
keySetName spec/tests/typechecker/key1
keySetMeta check/range 0-5000
ksAppendKey
keyClear
keySetName spec/tests/typechecker/key2
keySetMeta check/range 7200-10000
ksAppendKey
keyClear
keySetName spec/tests/typechecker/key3
keySetMeta check/long
keySetMeta fallback/#1 spec/tests/typechecker/key1
ksAppendKey
keyClear
kdbSet spec/tests/typechecker' | kdb shell
RET: 0
STDOUT: > return value: 1
> > Set meta check/range to 0-5000
> > > > Set meta check/range to 7200-10000
> > > > Set meta check/long to
> Set meta fallback/#1 to spec/tests/typechecker/key1
> > > return value: 1
>
CMD: kdb get spec/tests/typechecker/key1
RET: 0
CMD: kdb setmeta spec/tests/typechecker/key2 fallback/#1 spec/tests/typechecker/key1
RET: 0
=== FAILED return value does not match expected pattern 5
CMD: kdb umount spec/tests/typechecker
RET: 0
CMD: kdb umount spec/tests/typechecker/elektra/spec
RET: 0
———————————————————————————————————————————————————————————————— . Exactly the same code worked without problems in the PR I opened here. |
I see. But i think this will be resolved with the changed build approach where you have to install the dependencies in advance in #2004 which i expect to get done very soon. |
@sanssecours Thank you for improving the bug report. @e1528532 Are you sure if #2004 fully fixes the problem even though the test case sometimes fails with all installed deps? |
dieVerbatim: user error (cabal: '/usr/bin/curl' exited with an error: Regarding the build failures, i think it should work now with the improvements form #2055 #1944 . |
https://travis-ci.org/ElektraInitiative/libelektra/jobs/381049513
The text was updated successfully, but these errors were encountered: