Package: rclone Version: 1.53.1-2 Severity: important X-Debbugs-Cc: debian...@lists.debian.org, debian-m...@lists.debian.org
rclone consistently fails to build on mipsel due to failing tests at build time. The reason is not entirely clear to me. It's apparently related to file reading and writing, or handling the vfs cache. Historically only 1 build in 8 or so has succeeded. But I'm worried the current version will never successfully build, and the package will be perpetually prevented from migrating to testing. Given the nature of rclone as a backup or remote archiving application, I don't think it's safe to simply skip and ignore the errors. I propose instead to mark rclone as Not Built on mipsel so that the other arches are not help up by the mipsel failure. All other arches have been building reliably (most nonrelease arches are not built due to missing build depedencies) Bug#851725 reports a random FTBFS, but I'm filing this bug separately for mipsel since that bug reports on amd64, not mipsel. amd64 has been building reliably on the buildds and building successfully most of the time in reproducibility tests at https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rclone.html I'll upload soon to disable the mipsel build if no one objects or knows how to fix the failures. Logs at https://buildd.debian.org/status/logs.php?pkg=rclone&arch=mipsel e.g. === RUN TestFunctional/CacheMode=writes/TestDirModTime === RUN TestFunctional/CacheMode=writes/TestDirCacheFlush panic: test timed out after 20m0s goroutine 5339 [running]: testing.(*M).startAlarm.func1() /usr/lib/go-1.15/src/testing/testing.go:1628 +0xf8 created by time.goFunc /usr/lib/go-1.15/src/time/sleep.go:167 +0x58 goroutine 1 [chan receive, 6 minutes]: testing.(*T).Run(0x2082700, 0x15355b5, 0xe, 0x15b1090, 0x401) /usr/lib/go-1.15/src/testing/testing.go:1179 +0x374 testing.runTests.func1(0x2083ce0) /usr/lib/go-1.15/src/testing/testing.go:1449 +0x8c testing.tRunner(0x2083ce0, 0x225fe98) /usr/lib/go-1.15/src/testing/testing.go:1127 +0x108 testing.runTests(0x22c7f60, 0x1de49e0, 0x49, 0x49, 0x66f0151, 0xbfd810f5, 0x6d00547d, 0x117, 0x1e4dda0, 0x2289b6c) /usr/lib/go-1.15/src/testing/testing.go:1447 +0x2d0 testing.(*M).Run(0x20cf680, 0x0) /usr/lib/go-1.15/src/testing/testing.go:1357 +0x248 github.com/rclone/rclone/fstest.TestMain(0x20cf680) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/fstest/run.go:68 +0xa8 github.com/rclone/rclone/vfs.TestMain(...) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/vfs/vfs_test.go:37 main.main() _testmain.go:191 +0x15c goroutine 20 [select]: go.opencensus.io/stats/view.(*worker).start(0x21a03c0) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/go.opencensus.io/stats/view/worker.go:276 +0xe8 created by go.opencensus.io/stats/view.init.0 /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/go.opencensus.io/stats/view/worker.go:34 +0x88 goroutine 4957 [chan receive]: testing.(*T).Run(0x2506b60, 0x153a38c, 0x11, 0x15b1028, 0x2506401) /usr/lib/go-1.15/src/testing/testing.go:1179 +0x374 github.com/rclone/rclone/vfs/vfstest.RunTests.func1(0x2506460) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/vfs/vfstest/fs.go:72 +0x20c testing.tRunner(0x2506460, 0x15b1020) /usr/lib/go-1.15/src/testing/testing.go:1127 +0x108 created by testing.(*T).Run /usr/lib/go-1.15/src/testing/testing.go:1178 +0x354 goroutine 5296 [syscall]: syscall.Syscall(0x10c6, 0xffffff9c, 0x2291080, 0x0, 0x1e, 0x0, 0x0) /usr/lib/go-1.15/src/syscall/asm_linux_mipsx.s:17 +0x10 syscall.unlinkat(0xffffff9c, 0x2290fa0, 0x1d, 0x0, 0x11c3360, 0x22c97a0) /usr/lib/go-1.15/src/syscall/zsyscall_linux_mipsle.go:126 +0x9c syscall.Unlink(...) /usr/lib/go-1.15/src/syscall/syscall_linux.go:182 os.Remove(0x2290fa0, 0x1d, 0x1365720, 0x21518d0) /usr/lib/go-1.15/src/os/file_unix.go:280 +0x50 github.com/rclone/rclone/backend/local.remove(...) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/backend/local/remove_other.go:9 github.com/rclone/rclone/backend/local.(*Object).Remove(0x2161940, 0x1759cc0, 0x202a0bc, 0x0, 0x0) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/backend/local/local.go:1247 +0x48 github.com/rclone/rclone/vfs.(*File).Remove(0x2179c00, 0x152d22e, 0x8) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/vfs/file.go:550 +0x5d8 github.com/rclone/rclone/vfs.(*VFS).Remove(0x22700c0, 0x152d22e, 0x8, 0x0, 0x0) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/vfs/vfs.go:589 +0x74 github.com/rclone/rclone/vfs/vfstest.(*Run).rm(0x22667c0, 0x2506b60, 0x152d22e, 0x8) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/vfs/vfstest/fs.go:429 +0x84 github.com/rclone/rclone/vfs/vfstest.TestDirCacheFlush(0x2506b60) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/vfs/vfstest/dir.go:193 +0x524 testing.tRunner(0x2506b60, 0x15b1028) /usr/lib/go-1.15/src/testing/testing.go:1127 +0x108 created by testing.(*T).Run /usr/lib/go-1.15/src/testing/testing.go:1178 +0x354 goroutine 3600 [chan receive]: testing.(*T).Run(0x2506460, 0x209a620, 0x10, 0x15b1020, 0x1) /usr/lib/go-1.15/src/testing/testing.go:1179 +0x374 github.com/rclone/rclone/vfs/vfstest.RunTests(0x2082700, 0x1, 0x15b108c) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/vfs/vfstest/fs.go:62 +0x294 github.com/rclone/rclone/vfs_test.TestFunctional(0x2082700) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/vfs/vfstest_test.go:21 +0x64 testing.tRunner(0x2082700, 0x15b1090) /usr/lib/go-1.15/src/testing/testing.go:1127 +0x108 created by testing.(*T).Run /usr/lib/go-1.15/src/testing/testing.go:1178 +0x354 goroutine 4956 [select]: github.com/rclone/rclone/vfs/vfscache.(*Cache).cleaner(0x2ea9030, 0x1759ca0, 0x22b95c0) /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/vfs/vfscache/cache.go:672 +0x178 created by github.com/rclone/rclone/vfs/vfscache.New /<<PKGBUILDDIR>>/obj-mipsel-linux-gnu/src/github.com/rclone/rclone/vfs/vfscache/cache.go:133 +0x5c4 FAIL github.com/rclone/rclone/vfs 1201.320s ? github.com/rclone/rclone/vfs/test_vfs [no test files] -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.8.0-2-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_WARN Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages rclone depends on: ii libc6 2.31-3 rclone recommends no packages. rclone suggests no packages. -- no debconf information