Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667600 - app-admin/sudo-1.8.23-r2 test failure
Summary: app-admin/sudo-1.8.23-r2 test failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-10-02 18:49 UTC by Alexey
Modified: 2022-01-28 03:41 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,221.65 KB, text/plain)
2018-10-02 18:49 UTC, Alexey
Details
emerge --info (file_667600.txt,15.07 KB, text/plain)
2018-10-02 18:50 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2018-10-02 18:49:30 UTC
Created attachment 549038 [details]
build.log

sudoers/test19 (parse): FAIL
sudoers/test19 (json): FAIL
sudoers/test19: (ldif) FAIL
sudoers/test19: (ldif2sudo) FAIL
Comment 1 Alexey 2018-10-02 18:50:31 UTC
Created attachment 549042 [details]
emerge --info
Comment 2 Alexey 2018-11-19 21:48:21 UTC
The same in 1.8.25_p1-r1
Comment 3 Alexey 2019-08-10 10:24:03 UTC
Still happens on app-admin/sudo-1.8.27-r1
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-04-11 12:38:29 UTC
Still happens with latest sudo?
Comment 5 Alexey 2020-04-11 12:45:05 UTC
Looks like latest sudo doesn't have the test phase at all.
Comment 6 Alexey 2020-08-23 13:15:42 UTC
But happens again in app-admin/sudo-1.9.2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-29 11:44:43 UTC
Happens for me if I try TZ=Pacific/Auckland (thanks telans!) and passes for him w/ TZ=UTC. Let's just force it given we do this sort of thing quite often in ebuilds anyway.

Not that I love it.
Comment 8 Larry the Git Cow gentoo-dev 2021-10-29 11:47:09 UTC
The bug has been closed via the following commit(s):

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

commit bbb08cb79e8edd1e3dbf27a221883933ec1ba1a6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-29 11:46:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-29 11:46:36 +0000

    app-admin/sudo: fix tests with some timezones
    
    Force TZ=UTC for now. It's not ideal but we already
    have to do this quite often.
    
    Closes: https://bugs.gentoo.org/667600
    Thanks-to: James Beddek <telans@posteo.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/sudo/sudo-1.9.8_p2.ebuild | 5 +++++
 app-admin/sudo/sudo-9999.ebuild     | 5 +++++
 2 files changed, 10 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2021-10-31 22:51:33 UTC
The bug has been referenced in the following commit(s):

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

commit bad9cfc84030e607da0e86c44d6be48d05a5dfff
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-31 22:51:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-31 22:51:27 +0000

    app-admin/sudo: drop TZ=UTC hack from src_test in 9999
    
    Should be fixed in next release.
    
    Bug: https://bugs.gentoo.org/667600
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/sudo/sudo-1.9.8_p2.ebuild | 1 +
 app-admin/sudo/sudo-9999.ebuild     | 5 -----
 2 files changed, 1 insertion(+), 5 deletions(-)
Comment 10 Larry the Git Cow gentoo-dev 2022-01-28 03:41:52 UTC
The bug has been referenced in the following commit(s):

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

commit bb0a31f8fa57999df5c330e71578043058cba922
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-28 03:41:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-28 03:41:43 +0000

    app-admin/sudo: add 1.9.9
    
    Bug: https://bugs.gentoo.org/667600
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/sudo/Manifest          |   1 +
 app-admin/sudo/sudo-1.9.9.ebuild | 255 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 256 insertions(+)