https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: www-apps/hugo-0.99.1 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 783209 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern: " ERROR 2022/06/06 22:57:55 Failed to get CSV resource "http://nofound/404": Failed to retrieve remote file: Not Found, body: "Not Found ERROR 2022/06/06 22:57:55 Failed to get JSON resource "http://nofound/404": Failed to retrieve remote file: Not Found, body: "Not Found Error: add site dependencies: create deps: 1 error(s) decoding: Error: open blob.Bucket: no driver registered for "hugocloud" for URL "hugocloud://hugotestbucket"; available schemes: azblob, file, gs, s3 Error: unknown command "unknowncommand" for "hugo" FAIL FAIL github.com/gohugoio/hugo/hugolib 184.005s
The errors are expected. The issue seems to be that it ran into a 60 second timeout: > pagebundler_test.go:95: Build failed: "/work/base/b/my-bundle/index.md:1:1": > timed out initializing value. You may have a circular loop in a shortcode, or > your site may have resources that take longer to build than the `timeout` limit > in your Hugo config file. > --- FAIL: TestPageBundlerSiteRegular (0.00s) > --- PASS: TestPageBundlerSiteRegular/ugly=true,canonify=false,path=NONE (34.91s) > --- PASS: TestPageBundlerSiteRegular/ugly=true,canonify=true,path=NONE (38.88s) > --- PASS: TestPageBundlerSiteRegular/ugly=false,canonify=true,path=/hugo (42.63s) > --- PASS: TestPageBundlerSiteRegular/ugly=false,canonify=true,path=NONE (46.36s) > --- PASS: TestPageBundlerSiteRegular/ugly=false,canonify=false,path=/hugo (50.10s) > --- PASS: TestPageBundlerSiteRegular/ugly=false,canonify=false,path=NONE (53.85s) > --- PASS: TestPageBundlerSiteRegular/ugly=true,canonify=true,path=/hugo (57.71s) > --- FAIL: TestPageBundlerSiteRegular/ugly=true,canonify=false,path=/hugo (61.44s) Some testing suggests that adding `-timeout=2m` to the command in `src_test()` should fix it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=261411be21e0625b89be16ff906e2a2102341406 commit 261411be21e0625b89be16ff906e2a2102341406 Author: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> AuthorDate: 2022-06-08 00:19:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-25 02:50:21 +0000 www-apps/hugo: Increase test timeout The default test page building timeout is 1 minute, that's a bit too low for slower computers. Closes: https://bugs.gentoo.org/850313 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de> Signed-off-by: Sam James <sam@gentoo.org> www-apps/hugo/files/hugo-0.99.1-test-timeout.patch | 25 ++++++++++++++++++++++ www-apps/hugo/hugo-0.99.1.ebuild | 1 + 2 files changed, 26 insertions(+)