cgwalters / git-evtag

Extended verification for git tags
Other
132 stars 13 forks source link

ERROR: tests/test-basic.sh: File 'tag.txt' doesn't match regexp 'ExtendedVerify-SHA256-archive-tar: 83991ee23a027d97ad1e06432ad87c6685e02eac38706e7fbfe6e5e781939dab' #46

Open vt-alt opened 1 year ago

vt-alt commented 1 year ago

I try to create package for ALT Linux but make check does not pass with

+ git config --global gpg.program gpg2
+ make -j20 -C_build check VERBOSE=1
make  check-recursive
make  check-TESTS
make[4]: Entering directory '/usr/src/RPM/BUILD/git-evtag-2022.1/_build'
PASS: tests/test-basic.sh 1 setup
PASS: tests/test-basic.sh 2 tag + verify
PASS: tests/test-basic.sh 3 no tag on dirty tree
PASS: tests/test-basic.sh 4 no tag verify on non-HEAD
ERROR: tests/test-basic.sh - too few tests run (expected 7, got 4)
ERROR: tests/test-basic.sh - exited with status 1
...
...
...
+ git -c protocol.file.allow=always submodule update --init
Submodule 'subproject' (/var/tmp/tap-test.Cp17fd/repos/subproject) registered for path 'subproject'
Cloning into '/var/tmp/tap-test.Cp17fd/coolproject/subproject'...
done.
Submodule path 'subproject': checked out 'daa4f152b084ce61aba55070d91c6f35b7cab65f'
+ with_editor_script git evtag sign --with-legacy-archive-tag -u 472CDAFA v2015.1
+ env EDITOR=/var/tmp/tap-test.Cp17fd/editor.sh git evtag sign --with-legacy-archive-tag -u 472CDAFA v2015.1
+ git show refs/tags/v2015.1
+ assert_file_has_content tag.txt 'ExtendedVerify-SHA256-archive-tar: 83991ee23a027d97ad1e06432ad87c6685e02eac38706e7fbfe6e5e781939dab'
+ grep -q -e 'ExtendedVerify-SHA256-archive-tar: 83991ee23a027d97ad1e06432ad87c6685e02eac38706e7fbfe6e5e781939dab' tag.txt
+ echo 'File '\''tag.txt'\'' doesn'\''t match regexp '\''ExtendedVerify-SHA256-archive-tar: 83991ee23a027d97ad1e06432ad87c6685e02eac38706e7fbfe6e5e781939dab'\'''
File 'tag.txt' doesn't match regexp 'ExtendedVerify-SHA256-archive-tar: 83991ee23a027d97ad1e06432ad87c6685e02eac38706e7fbfe6e5e781939dab'
+ exit 1
ok no tag verify on non-HEAD
PASS: tests/test-basic.sh 4 no tag verify on non-HEAD
ERROR: tests/test-basic.sh - too few tests run (expected 7, got 4)
ERROR: tests/test-basic.sh - exited with status 1

============================================================================
Testsuite summary for git-evtag 2022.1
============================================================================
# TOTAL: 6
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 2
============================================================================
See ./test-suite.log
Please report to walters@verbum.org
============================================================================

If you wish to see full build log, it's temporary there https://git.altlinux.org/tasks/312467/build/100/x86_64/log

vt-alt commented 1 year ago

@pwithnall Maybe you can look into it? As this seems submodules related.

(ps. I think that for integrity tool to produce same hash on different platforms is quite important for its future.)

pwithnall commented 1 year ago

Sorry, I don’t have time to do that and it isn’t my code. You’ll probably have to work out what’s going on here yourself