Subject: bug#39449: sane-backends unit test failure on x86_64-linux

From: Danny Milosavljevic <[email-masked]>
Date: Thu, 6 Feb 2020 07:19:38 +0100

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 [email-masked]
============================================================================
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
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: a42f14204a916e27fdcf87773ecd3779d2e5c9e9