[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#997847: golang-github-hashicorp-go-slug: autopkgtest regression: testdata/archive-dir: no such file or directory



Source: golang-github-hashicorp-go-slug
Version: 0.7.0-1
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of golang-github-hashicorp-go-slug the autopkgtest
of golang-github-hashicorp-go-slug fails in testing when that
autopkgtest is run with the binary packages of
golang-github-hashicorp-go-slug from unstable. It passes when run with
only packages from testing. In tabular form:

                                 pass            fail
golang-github-hashicorp-go-slug  from testing    0.7.0-1
all others                       from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1]
https://qa.debian.org/excuses.php?package=golang-github-hashicorp-go-slug

https://ci.debian.net/data/autopkgtest/testing/amd64/g/golang-github-hashicorp-go-slug/16196086/log.gz

[info] Testing github.com/hashicorp/go-slug...
[info] Source code installed by binary package, overriding
dh_auto_configure...
dh build --buildsystem=golang --with=golang
   dh_update_autotools_config -O--buildsystem=golang
   dh_autoreconf -O--buildsystem=golang
   debian/rules override_dh_auto_configure
make[1]: Entering directory
'/tmp/autopkgtest-lxc.3snypp0h/downtmp/autopkgtest_tmp'
mkdir -p "obj-x86_64-linux-gnu"
cp -a /usr/share/gocode/src "obj-x86_64-linux-gnu"
make[1]: Leaving directory
'/tmp/autopkgtest-lxc.3snypp0h/downtmp/autopkgtest_tmp'
   dh_auto_build -O--buildsystem=golang
	cd obj-x86_64-linux-gnu && go install -trimpath -v -p 48
github.com/hashicorp/go-slug
internal/unsafeheader
runtime/internal/sys
internal/goexperiment
internal/abi
unicode/utf8
sync/atomic
internal/race
internal/itoa
internal/cpu
math/bits
runtime/internal/atomic
unicode
runtime/internal/math
internal/bytealg
math
runtime
internal/reflectlite
sync
internal/testlog
runtime/cgo
errors
sort
internal/oserror
io
path
strconv
syscall
hash
bytes
strings
hash/crc32
reflect
bufio
regexp/syntax
internal/syscall/execenv
internal/syscall/unix
time
regexp
io/fs
internal/poll
os
internal/fmtsort
encoding/binary
fmt
path/filepath
os/user
text/scanner
compress/flate
compress/gzip
archive/tar
github.com/hashicorp/go-slug
   dh_auto_test -O--buildsystem=golang
	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 48
github.com/hashicorp/go-slug
=== RUN   TestPackWithoutIgnoring
    slug_test.go:255: err: lstat testdata/archive-dir: no such file or
directory
--- FAIL: TestPackWithoutIgnoring (0.00s)
=== RUN   TestUnpack
    slug_test.go:321: err: lstat testdata/archive-dir: no such file or
directory
--- FAIL: TestUnpack (0.00s)
=== RUN   TestUnpackDuplicateNoWritePerm
--- PASS: TestUnpackDuplicateNoWritePerm (0.00s)
=== RUN   TestUnpackErrorOnUnhandledType
--- PASS: TestUnpackErrorOnUnhandledType (0.00s)
=== RUN   TestUnpackMaliciousSymlinks
=== RUN   TestUnpackMaliciousSymlinks/symlink_with_absolute_path
=== RUN   TestUnpackMaliciousSymlinks/symlink_with_external_target
=== RUN   TestUnpackMaliciousSymlinks/symlink_with_nested_external_target
=== RUN   TestUnpackMaliciousSymlinks/zipslip_vulnerability
=== RUN   TestUnpackMaliciousSymlinks/nested_symlinks_within_symlinked_dir
=== RUN   TestUnpackMaliciousSymlinks/regular_file_through_symlink
=== RUN   TestUnpackMaliciousSymlinks/directory_through_symlink
--- PASS: TestUnpackMaliciousSymlinks (0.01s)
    --- PASS: TestUnpackMaliciousSymlinks/symlink_with_absolute_path (0.00s)
    --- PASS: TestUnpackMaliciousSymlinks/symlink_with_external_target
(0.00s)
    --- PASS:
TestUnpackMaliciousSymlinks/symlink_with_nested_external_target (0.00s)
    --- PASS: TestUnpackMaliciousSymlinks/zipslip_vulnerability (0.00s)
    --- PASS:
TestUnpackMaliciousSymlinks/nested_symlinks_within_symlinked_dir (0.00s)
    --- PASS: TestUnpackMaliciousSymlinks/regular_file_through_symlink
(0.00s)
    --- PASS: TestUnpackMaliciousSymlinks/directory_through_symlink (0.00s)
=== RUN   TestUnpackMaliciousFiles
=== RUN   TestUnpackMaliciousFiles/filename_containing_path_traversal
=== RUN
TestUnpackMaliciousFiles/should_fail_before_attempting_to_create_directories
--- PASS: TestUnpackMaliciousFiles (0.00s)
    --- PASS:
TestUnpackMaliciousFiles/filename_containing_path_traversal (0.00s)
    --- PASS:
TestUnpackMaliciousFiles/should_fail_before_attempting_to_create_directories
(0.00s)
=== RUN   TestCheckFileMode
=== RUN   TestCheckFileMode/includes_regular_files
=== RUN   TestCheckFileMode/includes_directories
=== RUN   TestCheckFileMode/includes_symlinks
=== RUN   TestCheckFileMode/excludes_unrecognized_modes
--- PASS: TestCheckFileMode (0.00s)
    --- PASS: TestCheckFileMode/includes_regular_files (0.00s)
    --- PASS: TestCheckFileMode/includes_directories (0.00s)
    --- PASS: TestCheckFileMode/includes_symlinks (0.00s)
    --- PASS: TestCheckFileMode/excludes_unrecognized_modes (0.00s)
=== RUN   TestNewPacker
=== RUN   TestNewPacker/defaults
=== RUN   TestNewPacker/enable_dereferencing
=== RUN   TestNewPacker/apply_.terraformignore
=== RUN   TestNewPacker/multiple_options
--- PASS: TestNewPacker (0.00s)
    --- PASS: TestNewPacker/defaults (0.00s)
    --- PASS: TestNewPacker/enable_dereferencing (0.00s)
    --- PASS: TestNewPacker/apply_.terraformignore (0.00s)
    --- PASS: TestNewPacker/multiple_options (0.00s)
=== RUN   TestTerraformIgnore
    terraformignore_test.go:112: IGNORED: baz.txt at index 5 should be true
    terraformignore_test.go:112: IGNORED: parent/foo/baz.txt at index 6
should be true
    terraformignore_test.go:112: IGNORED: parent/foo/bar.tf at index 7
should be true
    terraformignore_test.go:112: IGNORED: foo/ignored-doc.md at index 11
should be true
    terraformignore_test.go:112: IGNORED: bar/something-a.txt at index
12 should be true
    terraformignore_test.go:112: IGNORED: some-module/terraform.d/x at
index 13 should be true
    terraformignore_test.go:112: IGNORED: baz/boop.txt at index 17
should be true
--- PASS: TestTerraformIgnore (0.00s)
FAIL
FAIL	github.com/hashicorp/go-slug	0.019s
FAIL
dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p
48 github.com/hashicorp/go-slug returned exit code 1
make: *** [debian/rules:4: build] Error 25
autopkgtest [09:10:28]: test dh-golang-autopkgtest


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: