Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 763126

Summary: sci-libs/indilib-1.8.7 - fails test_base64 test
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: PPC   
OS: Linux   
See Also: https://github.com/indilib/indi/issues/1359
https://github.com/indilib/indi/pull/1593
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
LastTest.log
emerge --info
build.log.xz (ppc, 1.9.5.1)
build.log.xz (ppc, 1.9.8)

Description ernsteiswuerfel archtester 2021-01-02 14:51:47 UTC
Created attachment 680680 [details]
build.log

[...]
>>> Test phase: sci-libs/indilib-1.8.7
 * Working in BUILD_DIR: "/var/tmp/portage/sci-libs/indilib-1.8.7/work/indilib-1.8.7_build/test"
ctest -j 16 --test-load 18
Test project /var/tmp/portage/sci-libs/indilib-1.8.7/work/indilib-1.8.7_build/test
    Start 1: test_base64
    Start 2: test_property_class
    Start 3: test-celestrondriver
    Start 4: test-lx200drivers
    Start 5: test_ccd_simulator
    Start 6: test-scopesim
1/6 Test #1: test_base64 ......................***Failed    0.07 sec
2/6 Test #2: test_property_class ..............   Passed    0.05 sec
3/6 Test #3: test-celestrondriver .............   Passed    0.04 sec
4/6 Test #6: test-scopesim ....................   Passed    0.02 sec
5/6 Test #5: test_ccd_simulator ...............   Passed    0.70 sec
6/6 Test #4: test-lx200drivers ................   Passed  158.52 sec

83% tests passed, 1 tests failed out of 6

Total Test time (real) = 158.57 sec

The following tests FAILED:
	  1 - test_base64 (Failed)
Errors while running CTest
 * ERROR: sci-libs/indilib-1.8.7::gentoo failed (test phase):
Comment 1 ernsteiswuerfel archtester 2021-01-02 14:52:05 UTC
Created attachment 680683 [details]
LastTest.log
Comment 2 ernsteiswuerfel archtester 2021-01-02 14:52:37 UTC
Created attachment 680686 [details]
emerge --info
Comment 3 Andreas Sturmlechner gentoo-dev 2021-01-02 15:20:57 UTC
Not reproducible with amd64. So, I guess really ppc specific.
Comment 4 Andreas Sturmlechner gentoo-dev 2021-02-12 16:50:29 UTC
Please test 1.8.8.
Comment 5 ernsteiswuerfel archtester 2021-02-21 22:51:12 UTC
Same for 1.8.8.

[...]
 * Working in BUILD_DIR: "/var/tmp/portage/sci-libs/indilib-1.8.8/work/indilib-1.8.8_build/test"
ctest -j 16 --test-load 18
Test project /var/tmp/portage/sci-libs/indilib-1.8.8/work/indilib-1.8.8_build/test
    Start 1: test_base64
    Start 2: test_property_class
    Start 3: test-celestrondriver
    Start 4: test-lx200drivers
    Start 5: test_ccd_simulator
    Start 6: test-scopesim
    Start 7: test-alignment
1/7 Test #1: test_base64 ......................***Failed    0.08 sec
2/7 Test #2: test_property_class ..............   Passed    0.07 sec
3/7 Test #3: test-celestrondriver .............   Passed    0.06 sec
4/7 Test #6: test-scopesim ....................   Passed    0.02 sec
5/7 Test #7: test-alignment ...................   Passed    0.05 sec
6/7 Test #5: test_ccd_simulator ...............   Passed    0.70 sec
7/7 Test #4: test-lx200drivers ................   Passed  151.89 sec

86% tests passed, 1 tests failed out of 7

Total Test time (real) = 151.93 sec

The following tests FAILED:
	  1 - test_base64 (Failed)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-25 13:53:26 UTC
Reported upstream.
Comment 7 Larry the Git Cow gentoo-dev 2021-11-25 04:26:19 UTC
The bug has been referenced in the following commit(s):

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

commit d429e4f81bf613d0989abcda888ff59c838caffb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-25 04:25:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-25 04:25:27 +0000

    sci-libs/indilib: skip long-suffering base64 test on ppc*, sparc
    
    No point in holding back stabilisations for months until we finally
    get fed up and stable it anyway. We know this test fails, it's
    been reported upstream, and it's not a regression, so let's
    skip it so we have an accurate idea of what the baseline
    is on these arches.
    
    Bug: https://bugs.gentoo.org/763126
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/indilib/indilib-1.9.3.ebuild | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Comment 8 Larry the Git Cow gentoo-dev 2021-11-26 04:32:35 UTC
The bug has been referenced in the following commit(s):

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

commit fe5576b173d07cc7427cc151055ea0ba3a42d10f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-26 04:32:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-26 04:32:21 +0000

    sci-libs/indilib: backport test skip to 1.9.2
    
    Bug: https://bugs.gentoo.org/763126
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/indilib/indilib-1.9.2.ebuild | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Comment 9 ernsteiswuerfel archtester 2021-11-30 09:38:34 UTC
With test_base64 being skipped everything else passes on 1.9.2 on ppc.

[...]
ctest -j 16 --test-load 18 -E (test_base64)
Test project /var/tmp/portage/sci-libs/indilib-1.9.2/work/indi-1.9.2_build/test
    Start 1: test_property_class
    Start 2: test-celestrondriver
    Start 3: test_ccd_simulator
1/5 Test #1: test_property_class ..............   Passed    0.01 sec
    Start 4: test-scopesim
    Start 5: test-alignment
2/5 Test #2: test-celestrondriver .............   Passed    0.01 sec
3/5 Test #4: test-scopesim ....................   Passed    0.01 sec
4/5 Test #5: test-alignment ...................   Passed    0.02 sec
5/5 Test #3: test_ccd_simulator ...............   Passed    0.58 sec

100% tests passed, 0 tests failed out of 5

Total Test time (real) =   0.59 sec
 * Tests succeeded.
>>> Completed testing sci-libs/indilib-1.9.2
Comment 10 ernsteiswuerfel archtester 2022-03-27 14:34:12 UTC
Created attachment 767990 [details]
build.log.xz (ppc, 1.9.5.1)

1.9.5.1 still builds fine & passes tests on ppc. 1.8.x no longer in tree. Forgot to close here. ;)

[...]
ctest -j 16 --test-load 18 -E (test_base64)
Test project /var/tmp/portage/sci-libs/indilib-1.9.5.1/work/indi-1.9.5.1_build/test
    Start 1: test_property_class
    Start 2: test-celestrondriver
1/5 Test #1: test_property_class ..............   Passed    0.01 sec
    Start 3: test_ccd_simulator
    Start 4: test-scopesim
2/5 Test #2: test-celestrondriver .............   Passed    0.01 sec
    Start 5: test-alignment
3/5 Test #4: test-scopesim ....................   Passed    0.01 sec
4/5 Test #5: test-alignment ...................   Passed    0.02 sec
5/5 Test #3: test_ccd_simulator ...............   Passed    0.66 sec

100% tests passed, 0 tests failed out of 5

Total Test time (real) =   0.67 sec
 * Tests succeeded.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-27 14:42:31 UTC
FWIW we're skipping the test but upstream closed the bug with no patch.

We need to replace the upstream usage with a library.
Comment 12 ernsteiswuerfel archtester 2022-03-27 14:47:14 UTC
Ok... Didn't check thoroughly enough then.

Reopening.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-27 14:56:11 UTC
(In reply to ernsteiswuerfel from comment #12)
> Ok... Didn't check thoroughly enough then.
> 
> Reopening.

No worries, I appreciate all the bugs you file (and closing old ones)! This one is just an odd case because the bug even got closed upstream :/
Comment 14 Andreas Sturmlechner gentoo-dev 2023-07-25 14:12:06 UTC
Issue was closed as "completed" upstream, so please test with 1.9.8/2.0.2.
Comment 15 ernsteiswuerfel archtester 2023-07-28 11:21:18 UTC
Created attachment 866512 [details]
build.log.xz (ppc, 1.9.8)

Yes, both 1.9.8 and 2.0.2 pass test_base64 now.

Though 2.0.2 fails another test about which I'll file a separate bug.
Comment 16 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-28 11:26:24 UTC
For the record, the fix in the end appears to have been https://github.com/indilib/indi/commit/4e21b46487ca6c9fbc057e99d0e239c6b8db37d0.
Comment 17 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-28 11:26:44 UTC
Thanks!
Comment 18 Larry the Git Cow gentoo-dev 2023-07-28 11:28:02 UTC
The bug has been closed via the following commit(s):

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

commit 156d4c6616b262c34ced0396533986a8985a4a88
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-28 11:27:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-28 11:27:44 +0000

    sci-libs/indilib: stop skipping test_base64 on BE
    
    It's been fixed upstream.
    
    Closes: https://bugs.gentoo.org/763126
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/indilib/indilib-1.9.8.ebuild | 12 ------------
 sci-libs/indilib/indilib-2.0.2.ebuild | 12 ------------
 2 files changed, 24 deletions(-)