holo icon indicating copy to clipboard operation
holo copied to clipboard

make check fails (on Arch Linux)

Open langfingaz opened this issue 3 years ago • 0 comments

When building holo v3.0.0 from the AUR it fails during make check with the following error:

>> All tests for holo help text completed successfully.
HOLO_BINARY="/tmp/pkg/src/holo-3.0.0/build/holo.test" HOLO_TEST_COVERDIR="/tmp/pkg/src/holo-3.0.0/test/cov" HOLO_TEST_SCRIPTPATH="/tmp/pkg/src/holo-3.0.0/util" ./util/holo-test holo-files test/files/01-basic test/files/02-holoscripts test/files/03-stacked test/files/04-backup-files test/files/05-diff test/files/06-lazy-evaluation test/files/07-silent-apply test/files/08-disambiguator-ordering test/files/09-holorc-snippet test/files/10-fail-config test/files/11-fail-scan test/files/12-fail-args test/files/13-fail-lock test/files/14-noop-apply test/files/15-silent-apply-symlink test/files/16-new-entity-apply test/files/20-archlinux test/files/21-rpmbased test/files/22-dpkgbased test/files/23-alpm-hook test/files/24-alpinelinux
>> Running test case test/files/01-basic...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:45.039522124 +0000
    @@ -1,32 +1,19 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/link-over-link.conf target/etc/link-over-link.conf
    -new file mode 120000
    ---- /dev/null
    -+++ target/etc/link-over-link.conf
    -@@ -0,0 +1 @@
    -+hhh
    -\ No newline at end of file
    -diff --holo target/var/lib/holo/files/provisioned/etc/link-over-plain.conf target/etc/link-over-plain.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/link-over-plain.conf
    -@@ -0,0 +1,2 @@
    -+fff
    -+fff
    -diff --holo target/var/lib/holo/files/provisioned/etc/plain-over-link.conf target/etc/plain-over-link.conf
    -new file mode 120000
    ---- /dev/null
    -+++ target/etc/plain-over-link.conf
    -@@ -0,0 +1 @@
    -+ggg
    -\ No newline at end of file
    -diff --holo target/var/lib/holo/files/provisioned/etc/plain-over-plain.conf target/etc/plain-over-plain.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/plain-over-plain.conf
    -@@ -0,0 +1,2 @@
    -+eee
    -+eee
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/link-over-link.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/link-over-plain.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/plain-over-link.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/plain-over-plain.conf: exit status 128
     
     !! cannot diff file:/etc/stock-file-is-directory.conf: file target/etc/stock-file-is-directory.conf has wrong file type
     
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/stock-file-missing.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/02-holoscripts...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:45.363521881 +0000
    @@ -1,47 +1,20 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/link-through-link.conf target/etc/link-through-link.conf
    -new file mode 120000
    ---- /dev/null
    -+++ target/etc/link-through-link.conf
    -@@ -0,0 +1 @@
    -+contents
    -\ No newline at end of file
    -diff --holo target/var/lib/holo/files/provisioned/etc/link-through-plain.conf target/etc/link-through-plain.conf
    -new file mode 120000
    ---- /dev/null
    -+++ target/etc/link-through-plain.conf
    -@@ -0,0 +1 @@
    -+contents
    -\ No newline at end of file
    -diff --holo target/var/lib/holo/files/provisioned/etc/plain-through-link.conf target/etc/plain-through-link.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/plain-through-link.conf
    -@@ -0,0 +1,3 @@
    -+tomato
    -+apple
    -+banana
    -diff --holo target/var/lib/holo/files/provisioned/etc/plain-through-plain.conf target/etc/plain-through-plain.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/plain-through-plain.conf
    -@@ -0,0 +1,3 @@
    -+foo
    -+bar
    -+baz
    -diff --holo target/var/lib/holo/files/provisioned/etc/plain-with-nonzero-exitcode.conf target/etc/plain-with-nonzero-exitcode.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/plain-with-nonzero-exitcode.conf
    -@@ -0,0 +1,3 @@
    -+foo
    -+bar
    -+baz
    -diff --holo target/var/lib/holo/files/provisioned/etc/plain-with-stderr.conf target/etc/plain-with-stderr.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/plain-with-stderr.conf
    -@@ -0,0 +1,3 @@
    -+foo
    -+bar
    -+baz
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/link-through-link.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/link-through-plain.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/plain-through-link.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/plain-through-plain.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/plain-with-nonzero-exitcode.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/plain-with-stderr.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/03-stacked...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:45.681521642 +0000
    @@ -1,42 +1,20 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/check-ordering.conf target/etc/check-ordering.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/check-ordering.conf
    -@@ -0,0 +1 @@
    -+test
    -diff --holo target/var/lib/holo/files/provisioned/etc/link-and-script.conf target/etc/link-and-script.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/link-and-script.conf
    -@@ -0,0 +1,2 @@
    -+kkk
    -+kkk
    -diff --holo target/var/lib/holo/files/provisioned/etc/link-through-scripts.conf target/etc/link-through-scripts.conf
    -new file mode 120000
    ---- /dev/null
    -+++ target/etc/link-through-scripts.conf
    -@@ -0,0 +1 @@
    -+contents2
    -\ No newline at end of file
    -diff --holo target/var/lib/holo/files/provisioned/etc/plain-and-plain.conf target/etc/plain-and-plain.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/plain-and-plain.conf
    -@@ -0,0 +1,2 @@
    -+aaa
    -+aaa
    -diff --holo target/var/lib/holo/files/provisioned/etc/plain-and-script.conf target/etc/plain-and-script.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/plain-and-script.conf
    -@@ -0,0 +1,2 @@
    -+ddd
    -+ddd
    -diff --holo target/var/lib/holo/files/provisioned/etc/script-and-script.conf target/etc/script-and-script.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/script-and-script.conf
    -@@ -0,0 +1,2 @@
    -+ggg
    -+ggg
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/check-ordering.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/link-and-script.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/link-through-scripts.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/plain-and-plain.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/plain-and-script.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/script-and-script.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/04-backup-files...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:45.939521449 +0000
    @@ -1,8 +1,11 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/targetfile-deleted.conf target/etc/targetfile-deleted.conf
    -deleted file mode 100644
    ---- target/var/lib/holo/files/provisioned/etc/targetfile-deleted.conf
    -+++ /dev/null
    -@@ -1,2 +0,0 @@
    --ccc
    --ccc
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/repofile-deleted.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/still-existing.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/targetfile-deleted.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/05-diff...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:46.326521158 +0000
    @@ -1,62 +1,26 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/file-deleted.conf target/etc/file-deleted.conf
    -deleted file mode 100644
    ---- target/var/lib/holo/files/provisioned/etc/file-deleted.conf
    -+++ /dev/null
    -@@ -1,3 +0,0 @@
    --aaa
    --bbb
    --ccc
    -diff --holo target/var/lib/holo/files/provisioned/etc/file-modified.conf target/etc/file-modified.conf
    ---- target/var/lib/holo/files/provisioned/etc/file-modified.conf
    -+++ target/etc/file-modified.conf
    -@@ -1,3 +1,3 @@
    - aaa
    --bbb
    -+xxx
    - ccc
    -diff --holo target/var/lib/holo/files/provisioned/etc/file-to-symlink.conf target/etc/file-to-symlink.conf
    -deleted file mode 100644
    ---- target/var/lib/holo/files/provisioned/etc/file-to-symlink.conf
    -+++ /dev/null
    -@@ -1,3 +0,0 @@
    --aaa
    --bbb
    --ccc
    -diff --holo target/var/lib/holo/files/provisioned/etc/file-to-symlink.conf target/etc/file-to-symlink.conf
    -new file mode 120000
    ---- /dev/null
    -+++ target/etc/file-to-symlink.conf
    -@@ -0,0 +1 @@
    -+/bin/ls
    -\ No newline at end of file
    -diff --holo target/var/lib/holo/files/provisioned/etc/symlink-deleted.conf target/etc/symlink-deleted.conf
    -deleted file mode 120000
    ---- target/var/lib/holo/files/provisioned/etc/symlink-deleted.conf
    -+++ /dev/null
    -@@ -1 +0,0 @@
    --/bin/true
    -\ No newline at end of file
    -diff --holo target/var/lib/holo/files/provisioned/etc/symlink-modified.conf target/etc/symlink-modified.conf
    ---- target/var/lib/holo/files/provisioned/etc/symlink-modified.conf
    -+++ target/etc/symlink-modified.conf
    -@@ -1 +1 @@
    --/bin/true
    -\ No newline at end of file
    -+/bin/ls
    -\ No newline at end of file
    -diff --holo target/var/lib/holo/files/provisioned/etc/symlink-to-file.conf target/etc/symlink-to-file.conf
    -deleted file mode 120000
    ---- target/var/lib/holo/files/provisioned/etc/symlink-to-file.conf
    -+++ /dev/null
    -@@ -1 +0,0 @@
    --/bin/true
    -\ No newline at end of file
    -diff --holo target/var/lib/holo/files/provisioned/etc/symlink-to-file.conf target/etc/symlink-to-file.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/symlink-to-file.conf
    -@@ -0,0 +1,3 @@
    -+ggg
    -+hhh
    -+iii
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/file-deleted.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/file-modified.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/file-to-symlink.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/file-unmodified.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/symlink-deleted.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/symlink-modified.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/symlink-to-file.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/symlink-unmodified.conf: exit status 128
    +
     exit status 0
!! The apply-output deviates from our expectation. Diff follows:
    --- expected-apply-output	2021-03-06 17:25:12.000000000 +0000
    +++ apply-output	2021-06-17 11:51:46.328521157 +0000
    @@ -10,37 +10,16 @@
          apply target/usr/share/holo/files/01-first/etc/file-modified.conf
     
     !! Entity has been modified by user (use --force to overwrite)
    -
    -    diff --holo target/var/lib/holo/files/provisioned/etc/file-modified.conf target/etc/file-modified.conf
    -    --- target/var/lib/holo/files/provisioned/etc/file-modified.conf
    -    +++ target/etc/file-modified.conf
    -    @@ -1,3 +1,3 @@
    -     aaa
    -    -bbb
    -    +xxx
    -     ccc
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! exit status 128
     
     Working on file:/etc/file-to-symlink.conf
       store at target/var/lib/holo/files/base/etc/file-to-symlink.conf
          apply target/usr/share/holo/files/01-first/etc/file-to-symlink.conf
     
     !! Entity has been modified by user (use --force to overwrite)
    -
    -    diff --holo target/var/lib/holo/files/provisioned/etc/file-to-symlink.conf target/etc/file-to-symlink.conf
    -    deleted file mode 100644
    -    --- target/var/lib/holo/files/provisioned/etc/file-to-symlink.conf
    -    +++ /dev/null
    -    @@ -1,3 +0,0 @@
    -    -aaa
    -    -bbb
    -    -ccc
    -    diff --holo target/var/lib/holo/files/provisioned/etc/file-to-symlink.conf target/etc/file-to-symlink.conf
    -    new file mode 120000
    -    --- /dev/null
    -    +++ target/etc/file-to-symlink.conf
    -    @@ -0,0 +1 @@
    -    +/bin/ls
    -    \ No newline at end of file
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! exit status 128
     
     Working on file:/etc/symlink-deleted.conf
       store at target/var/lib/holo/files/base/etc/symlink-deleted.conf
    @@ -53,36 +32,15 @@
          apply target/usr/share/holo/files/01-first/etc/symlink-modified.conf
     
     !! Entity has been modified by user (use --force to overwrite)
    -
    -    diff --holo target/var/lib/holo/files/provisioned/etc/symlink-modified.conf target/etc/symlink-modified.conf
    -    --- target/var/lib/holo/files/provisioned/etc/symlink-modified.conf
    -    +++ target/etc/symlink-modified.conf
    -    @@ -1 +1 @@
    -    -/bin/true
    -    \ No newline at end of file
    -    +/bin/ls
    -    \ No newline at end of file
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! exit status 128
     
     Working on file:/etc/symlink-to-file.conf
       store at target/var/lib/holo/files/base/etc/symlink-to-file.conf
          apply target/usr/share/holo/files/01-first/etc/symlink-to-file.conf
     
     !! Entity has been modified by user (use --force to overwrite)
    -
    -    diff --holo target/var/lib/holo/files/provisioned/etc/symlink-to-file.conf target/etc/symlink-to-file.conf
    -    deleted file mode 120000
    -    --- target/var/lib/holo/files/provisioned/etc/symlink-to-file.conf
    -    +++ /dev/null
    -    @@ -1 +0,0 @@
    -    -/bin/true
    -    \ No newline at end of file
    -    diff --holo target/var/lib/holo/files/provisioned/etc/symlink-to-file.conf target/etc/symlink-to-file.conf
    -    new file mode 100644
    -    --- /dev/null
    -    +++ target/etc/symlink-to-file.conf
    -    @@ -0,0 +1,3 @@
    -    +ggg
    -    +hhh
    -    +iii
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! exit status 128
     
     exit status 0
>> Running test case test/files/06-lazy-evaluation...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:46.568520977 +0000
    @@ -1,13 +1,8 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/bar.conf target/etc/bar.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/bar.conf
    -@@ -0,0 +1 @@
    -+original bar
    -diff --holo target/var/lib/holo/files/provisioned/etc/foo.conf target/etc/foo.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/foo.conf
    -@@ -0,0 +1 @@
    -+original
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/bar.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/foo.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/07-silent-apply...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:46.778520819 +0000
    @@ -1,8 +1,8 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/requireforce.conf target/etc/requireforce.conf
    -deleted file mode 100644
    ---- target/var/lib/holo/files/provisioned/etc/requireforce.conf
    -+++ /dev/null
    -@@ -1,2 +0,0 @@
    --ccc
    --ddd
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/normal.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/requireforce.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/08-disambiguator-ordering...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:46.953520688 +0000
    @@ -1,8 +1,5 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/foo.conf target/etc/foo.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/foo.conf
    -@@ -0,0 +1,2 @@
    -+aaa
    -+bbb
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/foo.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/09-holorc-snippet...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:47.134520552 +0000
    @@ -1,7 +1,5 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/foo.conf target/etc/foo.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/foo.conf
    -@@ -0,0 +1 @@
    -+aaa
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/foo.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/10-fail-config...
>> Running test case test/files/11-fail-scan...
>> Running test case test/files/12-fail-args...
>> Running test case test/files/13-fail-lock...
>> Running test case test/files/14-noop-apply...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:47.960519933 +0000
    @@ -1,8 +1,5 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/foo.conf target/etc/foo.conf
    ---- target/var/lib/holo/files/provisioned/etc/foo.conf
    -+++ target/etc/foo.conf
    -@@ -1,2 +1,2 @@
    --bbb
    -+ccc
    - ddd
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/foo.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/15-silent-apply-symlink...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:48.186519763 +0000
    @@ -1 +1,5 @@
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/link.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/16-new-entity-apply...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:48.461519557 +0000
    @@ -1,7 +1,5 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/foo.conf target/etc/foo.conf
    -new file mode 100644
    ---- /dev/null
    -+++ target/etc/foo.conf
    -@@ -0,0 +1 @@
    -+user
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/foo.conf: exit status 128
    +
     exit status 0
!! The apply-output deviates from our expectation. Diff follows:
    --- expected-apply-output	2021-03-06 17:25:12.000000000 +0000
    +++ apply-output	2021-06-17 11:51:48.465519554 +0000
    @@ -5,12 +5,7 @@
     
     >> found updated target base: target/etc/foo.conf.pacnew -> target/var/lib/holo/files/base/etc/foo.conf
     !! Entity has been modified by user (use --force to overwrite)
    -
    -    diff --holo target/var/lib/holo/files/provisioned/etc/foo.conf target/etc/foo.conf
    -    new file mode 100644
    -    --- /dev/null
    -    +++ target/etc/foo.conf
    -    @@ -0,0 +1 @@
    -    +user
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! exit status 128
     
     exit status 0
>> Running test case test/files/20-archlinux...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:48.765519329 +0000
    @@ -1,15 +1,14 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/targetfile-deleted-with-modified-pacsave.conf target/etc/targetfile-deleted-with-modified-pacsave.conf
    -deleted file mode 100644
    ---- target/var/lib/holo/files/provisioned/etc/targetfile-deleted-with-modified-pacsave.conf
    -+++ /dev/null
    -@@ -1,2 +0,0 @@
    --holo
    --holo
    -diff --holo target/var/lib/holo/files/provisioned/etc/targetfile-deleted-with-pacsave.conf target/etc/targetfile-deleted-with-pacsave.conf
    -deleted file mode 100644
    ---- target/var/lib/holo/files/provisioned/etc/targetfile-deleted-with-pacsave.conf
    -+++ /dev/null
    -@@ -1,2 +0,0 @@
    --holo
    --holo
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/repofile-deleted-with-pacnew.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/targetfile-deleted-with-modified-pacsave.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/targetfile-deleted-with-pacsave.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/targetfile-with-pacnew.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/21-rpmbased...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:49.120519062 +0000
    @@ -1,17 +1,14 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/repofile-deleted-with-rpmsave.conf target/etc/repofile-deleted-with-rpmsave.conf
    ---- target/var/lib/holo/files/provisioned/etc/repofile-deleted-with-rpmsave.conf
    -+++ target/etc/repofile-deleted-with-rpmsave.conf
    -@@ -1,3 +1,3 @@
    - ggg
    - hhh
    --iii
    -+jjj
    -diff --holo target/var/lib/holo/files/provisioned/etc/targetfile-with-rpmsave.conf target/etc/targetfile-with-rpmsave.conf
    ---- target/var/lib/holo/files/provisioned/etc/targetfile-with-rpmsave.conf
    -+++ target/etc/targetfile-with-rpmsave.conf
    -@@ -1 +1,3 @@
    --aaa
    -+bbb
    -+bbb
    -+bbb
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/repofile-deleted-with-rpmnew.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/repofile-deleted-with-rpmsave.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/targetfile-with-rpmnew.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/targetfile-with-rpmsave.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/22-dpkgbased...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:49.482518791 +0000
    @@ -1,17 +1,14 @@
    -diff --holo target/var/lib/holo/files/provisioned/etc/repofile-deleted-with-dpkg-old.conf target/etc/repofile-deleted-with-dpkg-old.conf
    ---- target/var/lib/holo/files/provisioned/etc/repofile-deleted-with-dpkg-old.conf
    -+++ target/etc/repofile-deleted-with-dpkg-old.conf
    -@@ -1,3 +1,3 @@
    - ggg
    - hhh
    --iii
    -+jjj
    -diff --holo target/var/lib/holo/files/provisioned/etc/targetfile-with-dpkg-old.conf target/etc/targetfile-with-dpkg-old.conf
    ---- target/var/lib/holo/files/provisioned/etc/targetfile-with-dpkg-old.conf
    -+++ target/etc/targetfile-with-dpkg-old.conf
    -@@ -1 +1,3 @@
    --aaa
    -+bbb
    -+bbb
    -+bbb
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/repofile-deleted-with-dpkg-dist.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/repofile-deleted-with-dpkg-old.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/targetfile-with-dpkg-dist.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/targetfile-with-dpkg-old.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/23-alpm-hook...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:49.816518540 +0000
    @@ -1,8 +1,11 @@
    -diff --holo var/lib/holo/files/provisioned/etc/targetfile-deleted-with-pacsave.conf etc/targetfile-deleted-with-pacsave.conf
    -deleted file mode 100644
    ---- var/lib/holo/files/provisioned/etc/targetfile-deleted-with-pacsave.conf
    -+++ /dev/null
    -@@ -1,2 +0,0 @@
    --eee
    --eee
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/repofile-deleted-with-pacnew.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/targetfile-deleted-with-pacsave.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/targetfile-with-pacnew.conf: exit status 128
    +
     exit status 0
>> Running test case test/files/24-alpinelinux...
!! The diff-output deviates from our expectation. Diff follows:
    --- expected-diff-output	2021-03-06 17:25:12.000000000 +0000
    +++ diff-output	2021-06-17 11:51:50.111518319 +0000
    @@ -1 +1,8 @@
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/repofile-deleted-with-apknew.conf: exit status 128
    +
    +fatal: not a git repository: /tmp/pkg/../../.git/modules/pkg/holo
    +!! cannot diff file:/etc/targetfile-with-apknew.conf: exit status 128
    +
     exit status 0
!! Some or all tests for holo-files failed. Please check the output above for more information.
make: *** [Makefile:63: test-files] Error 1

If I can provide more information to help you, feel free to ask. I tried to build with Docker, so in case this might help, I could proide the Dockerfile that was used (baseimage used is archlinux:base-devel).

langfingaz avatar Jun 17 '21 12:06 langfingaz