sane-backends unit test failure on x86_64-linux

  • Open
  • quality assurance status badge
Details
4 participants
  • Danny Milosavljevic
  • Leo Prikler
  • Ludovic Courtès
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Danny Milosavljevic
Severity
normal
D
D
Danny Milosavljevic wrote on 6 Feb 2020 07:19
(address . bug-guix@gnu.org)
20200206071938.01a299f1@scratchpost.org
FAIL: genesys_unit_tests
============================================================================
Testsuite summary for sane-backends 1.0.29
============================================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See testsuite/backend/genesys/test-suite.log
Please report to sane-devel@alioth-lists.debian.net
============================================================================
make[5]: *** [Makefile:826: test-suite.log] Error 1
make[5]: Leaving directory '/tmp/guix-build-sane-backends-1.0.29.drv-0/sane-backends-1.0.29/testsuite/backend/genesys'
make[4]: *** [Makefile:934: check-TESTS] Error 2
make[4]: Leaving directory '/tmp/guix-build-sane-backends-1.0.29.drv-0/sane-backends-1.0.29/testsuite/backend/genesys'
make[3]: *** [Makefile:1008: check-am] Error 2
make[3]: Leaving directory '/tmp/guix-build-sane-backends-1.0.29.drv-0/sane-backends-1.0.29/testsuite/backend/genesys'
make[2]: *** [Makefile:444: check-recursive] Error 1
make[2]: Leaving directory '/tmp/guix-build-sane-backends-1.0.29.drv-0/sane-backends-1.0.29/testsuite/backend'
make[1]: *** [Makefile:451: check-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-sane-backends-1.0.29.drv-0/sane-backends-1.0.29/testsuite'
make: *** [Makefile:597: check-recursive] Error 1

Test suite failed, dumping logs.

--- ./testsuite/backend/genesys/test-suite.log ------------------------------

====================================================================
sane-backends 1.0.29: testsuite/backend/genesys/test-suite.log
====================================================================

# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: genesys_unit_tests
========================

SUCCESS at tests_calibration.cpp:123 in test_calibration_roundtrip
SUCCESS at tests_calibration.cpp:127 in test_calibration_roundtrip
SUCCESS at tests_image.cpp:42 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:44 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:46 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:48 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:50 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:52 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:54 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:56 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:58 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:60 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:62 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:64 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:66 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:68 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:70 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:72 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:74 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:76 in test_get_pixel_from_row
SUCCESS at tests_image.cpp:92 in test_set_pixel_to_row
SUCCESS at tests_image.cpp:98 in test_set_pixel_to_row
SUCCESS at tests_image.cpp:104 in test_set_pixel_to_row
SUCCESS at tests_image.cpp:110 in test_set_pixel_to_row
SUCCESS at tests_image.cpp:116 in test_set_pixel_to_row
SUCCESS at tests_image.cpp:122 in test_set_pixel_to_row
FAILURE at tests_image.cpp:128 in test_set_pixel_to_row :
std::vector<T>{ 17
0
0
0
0
0
0
0
0
0
0
0
}
!= std::vector<T>{ 18
0
0
0
0
0
0
0
0
0
0
0
}


FAILURE at tests_image.cpp:134 in test_set_pixel_to_row :
std::vector<T>{ 0
0
17
0
0
0
0
0
0
0
0
0
}
!= std::vector<T>{ 0
0
18
0
0
0
0
0
0
0
0
0
}


SUCCESS at tests_image.cpp:140 in test_set_pixel_to_row
SUCCESS at tests_image.cpp:146 in test_set_pixel_to_row
SUCCESS at tests_image.cpp:152 in test_set_pixel_to_row
SUCCESS at tests_image.cpp:158 in test_set_pixel_to_row
FAILURE at tests_image.cpp:164 in test_set_pixel_to_row :
std::vector<T>{ 51
18
0
0
0
0
0
0
0
0
0
0
}
!= std::vector<T>{ 52
18
0
0
0
0
0
0
0
0
0
0
}

FAILURE at tests_image.cpp:170 in test_set_pixel_to_row :
std::vector<T>{ 0
0
51
18
0
0
0
0
0
0
0
}
!= std::vector<T>{ 0
0
52
18
0
0
0
0
0
0
0
0
}


$ guix describe
Generation 49 Feb 04 2020 10:55:17 (current)
guix a42f142
branch: master
commit: a42f14204a916e27fdcf87773ecd3779d2e5c9e9
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl47r/oACgkQ5xo1VCww
uqUvMwf8Du+/tRYa679FooamPZirILwsC6o97taCgeRiSVySgX0Y9hn5B3yX0/3q
28QyXGLmMxdXAEUx+34NI81NZien1sKFzTRsLOoDyXW1apZZ6HwAGjUW0cyq9Tzx
nuSRFSi3fZBLRWxl393yZF+kSzDfoxfMIYJkZRA6oKVFh4wn28kwa5SJsZzEcGS/
F7Fb5UjKV1nyh+ZBIWlBVFiXWXx8A7VDUEC8s4H3lTeK32xYDfm9jsYX13NMpPNn
TV0fUzHAbPoztwQrkfNU0W6a012oFz/KoyBY0q+W5Jn5s5imdT0dLPg9w6kqM6jp
sOktCfyghrBq0bKqQMIyR3JmyP9JEg==
=+inf
-----END PGP SIGNATURE-----


L
L
Leo Prikler wrote on 6 Feb 2020 23:39
[PATCH] gnu: sane-backends: Disable genesys_unit_tests.
(address . guix-patches@gnu.org)(address . 39449@debbugs.gnu.org)
20200206223954.20222-1-leo.prikler@student.tugraz.at
* gnu/packages/scanner.scm (sane-backends)[arguments]<#:phases>:
Add disable-failing-backend-tests.
---
gnu/packages/scanner.scm | 4 ++++
1 file changed, 4 insertions(+)

Toggle diff (17 lines)
diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm
index 6adaba18cd..3f922a4747 100644
--- a/gnu/packages/scanner.scm
+++ b/gnu/packages/scanner.scm
@@ -131,6 +131,10 @@ package contains the library, but no drivers.")
((#:phases phases)
`(modify-phases ,phases
(delete 'disable-backends)
+ (add-after 'disable-failing-tests 'disable-failing-backend-tests
+ (lambda _
+ (substitute* "testsuite/backend/genesys/Makefile.in"
+ ((" genesys_unit_tests\\$\\(EXEEXT\\)") ""))))
(add-after 'unpack 'add-backends
(lambda _
(substitute* "backend/dll.conf.in"
--
2.25.0
D
D
Danny Milosavljevic wrote on 10 Feb 2020 09:41
Re: bug#39449: sane-backends unit test failure on x86_64-linux
(address . 39449@debbugs.gnu.org)
20200210094152.64128f41@scratchpost.org
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl5BF1MACgkQ5xo1VCww
uqXCRgf/V3lTm6Jv8FG/shxSRwLl3zg2yoWQD3p037SqZY8uKQDnL+zHr6NRTEkB
XllDq/MvrtU3PWcGqffobZdO/vS7HlH2MhheRXHpKnBNdf9zNt+ic6WbaiCO9gfR
Ryp5iK7Eih+rqMO1Ehm9hHgqIvS0G8Qf0bTNxixIU7VSExjDOkXs2sriUOAPzjVV
iDJpx68GNWhW+lDJ3/TeqbF3GhQwUNGftOx3YuCQfcLTRqSUevh7ef69X7Spk3b6
n1zylCSBTwUFgCWTxTW+mA3ViNzW5qdXnq+O+6rkd4T2pkpaPaaG8u19SQLl6ebk
bdjqnGO1HhEp0QRBEo4lbWfyGDsasA==
=FoSi
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 13 Feb 2020 23:36
Re: [bug#39476] [PATCH] gnu: sane-backends: Disable genesys_unit_tests.
(name . Leo Prikler)(address . leo.prikler@student.tugraz.at)
87ftfe15dv.fsf@gnu.org
Hi,

Leo Prikler <leo.prikler@student.tugraz.at> skribis:

Toggle quote (19 lines)
> * gnu/packages/scanner.scm (sane-backends)[arguments]<#:phases>:
> Add disable-failing-backend-tests.
> ---
> gnu/packages/scanner.scm | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm
> index 6adaba18cd..3f922a4747 100644
> --- a/gnu/packages/scanner.scm
> +++ b/gnu/packages/scanner.scm
> @@ -131,6 +131,10 @@ package contains the library, but no drivers.")
> ((#:phases phases)
> `(modify-phases ,phases
> (delete 'disable-backends)
> + (add-after 'disable-failing-tests 'disable-failing-backend-tests
> + (lambda _
> + (substitute* "testsuite/backend/genesys/Makefile.in"
> + ((" genesys_unit_tests\\$\\(EXEEXT\\)") ""))))

Applied with two things: returning #t, and adding a comment linking to
the bug report.

Danny: this is actually on i686, not on x86_64. See the build logs:

Toggle snippet (12 lines)
$ guix build sane-backends -s i686-linux --log-file --no-grafts
https://ci.guix.gnu.org/log/w150bi6vvqqll31qqy99vm1iwwj4hgm9-sane-backends-1.0.29
$ guix build sane-backends -s x86_64-linux --log-file --no-grafts
https://ci.guix.gnu.org/log/m8mdg866lkzw6jnbgdz8b4spk61mx2y6-sane-backends-1.0.29
$ guix describe
Generacio 128 Feb 10 2020 22:29:47 (nuna)
guix 8a0dd28
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 8a0dd289c5b201ebfdd5465d412230bb81110e4c

Thanks,
Ludo’.
M
M
Maxim Cournoyer wrote on 13 Jul 2022 15:52
Re: bug#39449: sane-backends unit test failure on x86_64-linux
(name . Ludovic Courtès)(address . ludo@gnu.org)
87fsj515o3.fsf_-_@gmail.com
Hi,

Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (26 lines)
> Hi,
>
> Leo Prikler <leo.prikler@student.tugraz.at> skribis:
>
>> * gnu/packages/scanner.scm (sane-backends)[arguments]<#:phases>:
>> Add disable-failing-backend-tests.
>> ---
>> gnu/packages/scanner.scm | 4 ++++
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/gnu/packages/scanner.scm b/gnu/packages/scanner.scm
>> index 6adaba18cd..3f922a4747 100644
>> --- a/gnu/packages/scanner.scm
>> +++ b/gnu/packages/scanner.scm
>> @@ -131,6 +131,10 @@ package contains the library, but no drivers.")
>> ((#:phases phases)
>> `(modify-phases ,phases
>> (delete 'disable-backends)
>> + (add-after 'disable-failing-tests 'disable-failing-backend-tests
>> + (lambda _
>> + (substitute* "testsuite/backend/genesys/Makefile.in"
>> + ((" genesys_unit_tests\\$\\(EXEEXT\\)") ""))))
>
> Applied with two things: returning #t, and adding a comment linking to
> the bug report.

Great, closing then.

Thanks!

Maxim
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 39449@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 39449
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch