0.34.0: test suite fails
It may be not fault in the dconf as looks like it maybe some python 3.8 issue as well. I'm looking fpr some additional expertise :)
+ /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
/usr/lib/python3.8/site-packages/mesonbuild/dependencies/base.py:1979: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if os.name is not 'nt':
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/dconf-0.34.0/x86_64-redhat-linux-gnu'
ninja: no work to do.
1/13 abicheck OK 0.04 s
2/13 paths OK 0.01 s
3/13 changeset OK 0.12 s
4/13 shm OK 0.04 s
5/13 gvdb OK 2.28 s
6/13 gdbus-thread OK 0.01 s
7/13 gdbus-filter OK 0.01 s
8/13 gdbus-thread-leak OK 0.03 s
9/13 gdbus-filter-leak OK 0.04 s
10/13 engine OK 4.93 s
11/13 client OK 0.01 s
12/13 writer OK 0.01 s
13/13 dconf FAIL 2.67 s (exit status 1)
Ok: 12
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
The output from the failed tests:
13/13 dconf FAIL 2.67 s (exit status 1)
--- command ---
/home/tkloczko/rpmbuild/BUILD/dconf-0.34.0/tests/test-dconf.py /home/tkloczko/rpmbuild/BUILD/dconf-0.34.0/x86_64-redhat-linux-gnu/bin/dconf /home/tkloczko/rpmbuild/BUILD/dconf-0.34.0/x86_64-redhat-linux-gnu/service/dconf-service
--- Listing only the last 100 lines from a long log. ---
/usr/lib64/python3.8/unittest/case.py:628: ResourceWarning: unclosed file <_io.TextIOWrapper name=4 encoding='UTF-8'>
method()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
.dbus-daemon[1877276]: [session uid=1000 pid=1877276] Activating service name='ca.desrt.dconf' requested by ':1.0' (uid=1000 pid=1877277 comm="/home/tkloczko/rpmbuild/BUILD/dconf-0.34.0/x86_64-")
dbus-daemon[1877276]: [session uid=1000 pid=1877276] Successfully activated service 'ca.desrt.dconf'
.
======================================================================
FAIL: test_compile_dotfiles (__main__.DBusTest)
Compile ignores files starting with a dot.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/dconf-0.34.0/tests/test-dconf.py", line 587, in test_compile_dotfiles
self.assertEqual(a_conf, dconf('dump', '/').stdout)
AssertionError: '[math]\na=42\n' != '[math]\na=42\n\n[org/gnome/login-screen]\nenable-finger[99 chars]se\n'
[math]
a=42
+
+ [org/gnome/login-screen]
+ enable-fingerprint-authentication=true
+ enable-password-authentication=true
+ enable-smartcard-authentication=false
======================================================================
FAIL: test_complete (__main__.DBusTest)
Tests _complete command used internally to implement bash completion.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/dconf-0.34.0/tests/test-dconf.py", line 464, in test_complete
self.assertEqual(completions,
AssertionError: Lists differ: ['/or[20 chars]calculator/', '/org/calendar/', '/org/gnome/', '/org/history/'] != ['/or[20 chars]calculator/', '/org/calendar/', '/org/history/']
First differing element 3:
'/org/gnome/'
'/org/history/'
First list contains 1 additional elements.
First extra element 4:
'/org/history/'
+ ['/org/calamity ', '/org/calculator/', '/org/calendar/', '/org/history/']
- ['/org/calamity ',
- '/org/calculator/',
- '/org/calendar/',
- '/org/gnome/',
- '/org/history/']
======================================================================
FAIL: test_dump_load (__main__.DBusTest)
Checks that output produced with dump can be used with load and
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/dconf-0.34.0/tests/test-dconf.py", line 414, in test_dump_load
self.assertEqual(dconf('dump', '/').stdout, keyfile)
AssertionError: "[/]\[166 chars]h=2\n\n[org/gnome/login-screen]\nenable-finger[99 chars]se\n" != "[/]\[166 chars]h=2\n"
[/]
password='secret'
[org/editor]
window-fullscreen=true
window-size=(1024, 768)
[org/editor/language/c-sharp]
tab-width=8
[org/editor/language/c]
tab-width=2
-
- [org/gnome/login-screen]
- enable-fingerprint-authentication=true
- enable-password-authentication=true
- enable-smartcard-authentication=false
======================================================================
FAIL: test_reset_dir (__main__.DBusTest)
Reseting whole directory is possible with -f option.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tkloczko/rpmbuild/BUILD/dconf-0.34.0/tests/test-dconf.py", line 335, in test_reset_dir
self.assertEqual(['x', 'y/'], dconf_list('/'))
AssertionError: Lists differ: ['x', 'y/'] != ['org/', 'x', 'y/']
First differing element 0:
'x'
'org/'
Second list contains 1 additional elements.
First extra element 2:
'y/'
- ['x', 'y/']
+ ['org/', 'x', 'y/']
----------------------------------------------------------------------
Ran 18 tests in 2.554s
FAILED (failures=4, expected failures=1)
-------