hughsie / colord

Making color management just work
GNU General Public License v2.0
75 stars 51 forks source link

"colord-test-private" test cases always fail #139

Closed kerongw closed 2 years ago

kerongw commented 2 years ago

colord-1.4.5

[   70s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RCgyXo
[   70s] + umask 022
[   70s] + cd /home/abuild/rpmbuild/BUILD
[   70s] + cd colord-1.4.5
[   70s] + /usr/bin/meson test -C x86_64-openEuler-linux-gnu --num-processes 64 --print-errorlogs
[   70s] ninja: Entering directory `/home/abuild/rpmbuild/BUILD/colord-1.4.5/x86_64-openEuler-linux-gnu'
[   70s] ninja: no work to do.
[   70s] 1/4 colord-test-daemon  SKIP            0.01s   exit status 77
[   70s] 2/4 cd-self-test        OK              0.01s
[   70s] 3/4 colorhug-self-test  OK              0.02s
[   70s] 4/4 colord-test-private FAIL            0.18s   killed by signal 6 SIGABRT
[   70s] >>> TESTDATADIR=/home/abuild/rpmbuild/BUILD/colord-1.4.5/data/tests MALLOC_PERTURB_=38 /home/abuild/rpmbuild/BUILD/colord-1.4.5/x86_64-openEuler-linux-gnu/lib/colord/colord-test-private
[   70s] ――――――――――――――――――――――――――――――――――――― ✀  ―――――――――――――――――――――――――――――――――――――
[   70s] stdout:
[   70s] # random seed: R02S3d44de8e5b31e9832fd07ea0a23d0810
[   70s] 1..38
[   70s] # Start of colord tests
[   70s] 
[   70s]   1.000 |__________________________________________________________________________________________#
[   70s]   0.923 |_____________________________________________________________________________##############
[   70s]   0.846 |_______________________________________________________________############################
[   70s]   0.769 |_________________________________________________##########################################
[   70s]   0.692 |___________________________________########################################################
[   70s]   0.615 |_____________________######################################################################
[   70s]   0.538 |_______####################################################################################
[   70s]   0.462 |###########################################################################################
[   70s]   0.385 |###########################################################################################
[   70s]   0.308 |###########################################################################################
[   70s]   0.231 |###########################################################################################
[   70s]   0.154 |###########################################################################################
[   70s]   0.077 |###########################################################################################
[   70s]   0.000  -------------------------------------------------------------------------------------------
[   70s]          100nm                                                                                 300nm
[   70s] 
[   70s] ok 1 /colord/spectrum
[   70s] ok 2 /colord/spectrum{planckian}
[   70s] ok 3 /colord/spectrum{subtract}
[   70s] ok 4 /colord/spectrum{cx}
[   70s] Bail out! ERROR:../lib/colord/cd-test-private.c:2173:colord_edid_func: assertion failed (cd_edid_get_vendor_name (edid) == "LG"): (NULL == "LG")
[   70s] stderr:
[   70s] **
[   70s] ERROR:../lib/colord/cd-test-private.c:2173:colord_edid_func: assertion failed (cd_edid_get_vendor_name (edid) == "LG"): (NULL == "LG")
[   70s] ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[   70s] 
[   70s] 
[   70s] Summary of Failures:
[   70s] 
[   70s] 4/4 colord-test-private FAIL            0.18s   killed by signal 6 SIGABRT
[   70s] 
[   70s] 
[   70s] Ok:                 2   
[   70s] Expected Fail:      0   
[   70s] Fail:               1   
[   70s] Unexpected Pass:    0   
[   70s] Skipped:            1   
[   70s] Timeout:            0   
[   70s] 
[   70s] Full log written to /home/abuild/rpmbuild/BUILD/colord-1.4.5/x86_64-openEuler-linux-gnu/meson-logs/testlog.txt
[   70s] error: Bad exit status from /var/tmp/rpm-tmp.RCgyXo (%check)

testlog.txt

hughsie commented 2 years ago

Your pnp.ids mapping is missing. You either need hwdb access or the pnp.ids -- this isn't something we can work around in the tests I'm afraid.