Bug 2066681 - test_inotify fails in Fedora Rawhide build
Summary: test_inotify fails in Fedora Rawhide build
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Iker Pedrosa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: sync-to-jira blocked
Depends On: 2067065
Blocks: 2066688
TreeView+ depends on / blocked
 
Reported: 2022-03-22 10:29 UTC by Alexander Bokovoy
Modified: 2022-04-12 09:42 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-12 09:42:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SSSD-4469 0 None None None 2022-03-22 16:48:20 UTC

Description Alexander Bokovoy 2022-03-22 10:29:40 UTC
==================================
   sssd 2.6.3: ./test-suite.log
==================================

# TOTAL: 97
# PASS:  94
# SKIP:  2
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test_inotify
==================

[==========] Running 5 test(s).
[ RUN      ] test_inotify_mv
[       OK ] test_inotify_mv
[ RUN      ] test_inotify_mod
[       OK ] test_inotify_mod
[ RUN      ] test_inotify_del_add
[       OK ] test_inotify_del_add
[ RUN      ] test_inotify_file_moved_in
[sssd] [test_timeout] (0x0010): The test timed out!
[  ERROR   ] --- [   LINE   ] --- src/tests/cmocka/test_inotify.c:54: error: Failure!
[  FAILED  ] test_inotify_file_moved_in
[ RUN      ] test_inotify_delay
[  ERROR   ] --- [   LINE   ] --- src/tests/cmocka/test_inotify.c:483: error: Failure!
[  FAILED  ] test_inotify_delay
[==========] 5 test(s) run.
[  PASSED  ] 3 test(s).
[  FAILED  ] 2 test(s), listed below:
[  FAILED  ] test_inotify_file_moved_in
[  FAILED  ] test_inotify_delay

 2 FAILED TEST(S)
FAIL test_inotify (exit status: 2)

SKIP: src/tests/whitespace_test
===============================

Git repository is required for this test!
SKIP src/tests/whitespace_test (exit status: 77)

SKIP: src/tests/double_semicolon_test
=====================================

Git repository is required for this test!
SKIP src/tests/double_semicolon_test (exit status: 77)

============================================================================
Testsuite summary for sssd 2.6.3
============================================================================
# TOTAL: 97
# PASS:  94
# SKIP:  2
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to sssd-devel.org
============================================================================
make[4]: Leaving directory '/builddir/build/BUILD/sssd-2.6.3'
make[4]: *** [Makefile:40966: test-suite.log] Error 1
make[3]: *** [Makefile:41074: check-TESTS] Error 2
make[2]: *** [Makefile:41955: check-am] Error 2
make[1]: *** [Makefile:40851: check-recursive] Error 1
make: *** [Makefile:41957: check] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.tw72wM (%check)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.tw72wM (%check)
Finish: rpmbuild sssd-2.6.3-101.20220317.1005.git9f3f55a12.fc37.src.rpm
Finish: build phase for sssd-2.6.3-101.20220317.1005.git9f3f55a12.fc37.src.rpm
INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan
INFO: /var/lib/mock/fedora-rawhide-x86_64-1647504626.128044/root/var/log/dnf.rpm.log
/var/lib/mock/fedora-rawhide-x86_64-1647504626.128044/root/var/log/dnf.librepo.log
/var/lib/mock/fedora-rawhide-x86_64-1647504626.128044/root/var/log/dnf.log

Comment 1 Alexander Bokovoy 2022-03-22 10:30:18 UTC
It fails consistently for me in COPR abbra/oauth2-support. The most recent build failure log is https://download.copr.fedorainfracloud.org/results/abbra/oauth2-support/fedora-rawhide-x86_64/03729137-sssd/builder-live.log.gz

Comment 3 Lukas Slebodnik 2022-03-25 09:49:31 UTC
koschei was able to reduce package changes. It worked with glibc-2.35-2.fc36(2022-02-10 17:08:55) and started failing with glibc-2.35.9000-10.fc37 (2022-03-11 10:11:52)

Further bisect will reveal that 1st problematic version is 2.35.9000-4.fc37.x86_64

Florian,
Could you help to identify what changed between 2.35.9000-3.fc37.x86_64 and 2.35.9000-4.fc37.x86_64

Reproducer in mock "chroot"
sh$ make clean ; make stap_generated_probes.h; make -j8 test_inotify ; ./test_inotify

Comment 4 Sumit Bose 2022-03-25 09:59:02 UTC
Hi,

it looks like Siddhesh is already aware of what changed https://bugzilla.redhat.com/show_bug.cgi?id=2067065#c1.

HTH

bye,
Sumit

Comment 5 Iker Pedrosa 2022-04-12 09:42:30 UTC
glibc reverted its behaviour and now the test succeeds.


Note You need to log in before you can comment on or make changes to this bug.