Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925163 - app-shells/atuin-18.0.1 fails tests: called Result::unwrap() on an Err value: error sending request for url 018dcb4cc70b7669904af251bc0c9f99): connection error: Connection reset by peer (os error 104)
Summary: app-shells/atuin-18.0.1 fails tests: called Result::unwrap() on an Err value:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jonas Frei
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-02-21 10:55 UTC by Agostino Sarubbo
Modified: 2024-02-23 12:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,647.72 KB, text/plain)
2024-02-21 10:55 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-21 10:55:10 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-shells/atuin-18.0.1 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-21 10:55:12 UTC
Created attachment 885601 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-21 10:55:13 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


thread 'change_password' panicked at atuin/tests/common/mod.rs:57:13:
thread 'change_password' panicked at atuin/tests/common/mod.rs:77:10:
thread 'multi_user_test' panicked at atuin/tests/common/mod.rs:57:13:
thread 'multi_user_test' panicked at atuin/tests/common/mod.rs:77:10:
thread 'registration' panicked at atuin/tests/common/mod.rs:57:13:
thread 'registration' panicked at atuin/tests/common/mod.rs:77:10:
called `Result::unwrap()` on an `Err` value: error sending request for url (http://127.0.0.1:43437/018dcb4cc63a7b5885753f968e7ccfaf/user/018dcb4cc70b7669904af251bc0c9f99): connection error: Connection reset by peer (os error 104)
Comment 3 Florian Schmaus gentoo-dev 2024-02-22 09:35:15 UTC
@Jonas Would you mind taking a stab at this? It seems atuin grew some tests that require network. We should probably add a #[ignore] annotation to them.
Comment 4 Jonas Frei 2024-02-22 14:47:50 UTC
Sure thing, I'll take a look later today
Comment 5 Larry the Git Cow gentoo-dev 2024-02-23 12:17:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6663153d5011f64051edc3e6b58b929fe5b05232

commit 6663153d5011f64051edc3e6b58b929fe5b05232
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-02-23 11:28:34 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-02-23 12:17:09 +0000

    app-shells/atuin: enable server tests
    
    Closes: https://bugs.gentoo.org/925163
    Closes: https://github.com/gentoo/gentoo/pull/35495
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 app-shells/atuin/atuin-18.0.1.ebuild | 42 ++++++++++++++++++++++++++++++------
 1 file changed, 36 insertions(+), 6 deletions(-)
Comment 6 Florian Schmaus gentoo-dev 2024-02-23 12:18:37 UTC
I found that the tests did not fail because they required network access, they failed because they required as postgres instance.

This is now fixed and all atuin tests are enabled. \o/