https://bugzilla.redhat.com/show_bug.cgi?id=2108537
Bug ID: 2108537 Summary: perl-Directory-Queue-2.1-3.fc37 fails tests on pp64le in mock because number of links to a directory is always 1 Product: Fedora Version: rawhide Hardware: ppc64le URL: https://koschei.fedoraproject.org/package/perl-Directo ry-Queue?collection=f37 Status: NEW Component: perl-Directory-Queue Assignee: lionel.c...@cern.ch Reporter: ppi...@redhat.com QA Contact: extras...@fedoraproject.org CC: lionel.c...@cern.ch, massimo.pala...@gmail.com, perl-devel@lists.fedoraproject.org, steve.tray...@cern.ch Target Milestone: --- Classification: Fedora perl-Directory-Queue-2.1-3.fc37 fails in Fedora 37 on ppc64le like this: t/1main.t ...... ok # Failed test 'count 1' # at t/1normal.t line 55. # got: '-1' # expected: '1' # Failed test 'count 2' # at t/1normal.t line 59. # got: '-1' # expected: '2' # Failed test 'count 1' # at t/1normal.t line 74. # got: '-1' # expected: '1' # Failed test 'count 0' # at t/1normal.t line 83. # got: '-1' # expected: '0' invalid maxelts: -1 # Looks like your test exited with 255 just after 31. t/1normal.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 22/49 subtests A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/13217496>. This failure happens on pcc64le in mock. It does not happen outside mock or on F35 x86_64 in mock with F37 user space. I located the problem to Directory::Queue::Normal->count() which always return -1. That's because _subdirs_stat() returns "$stat[ST_NLINK] - 2" where $stat[ST_NLINK] is 1. It looks like something has changed in kernel, glibc, or mock and as a result i-nodes of directories inside mock /tmp/ (as well as root) filesystem are not "properly" counted: # ls -la /tmp/a/ total 0 drwxr-xr-x. 1 root root 2 Jul 19 04:53 . drwxrwxrwt. 1 root root 14 Jul 19 04:53 .. drwxr-xr-x. 1 root root 0 Jul 19 04:53 b # stat /tmp/a File: /tmp/a Size: 2 Blocks: 0 IO Block: 65536 directory Device: 0,32 Inode: 164461 Links: 1 Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2022-07-19 04:53:57.610017436 -0400 Modify: 2022-07-19 04:53:53.840139244 -0400 Change: 2022-07-19 04:53:53.840139244 -0400 Birth: 2022-07-19 04:53:44.220450066 -0400 The number of links is expected to be 3 instead of 1. The number does not changes when creating additional subdirectories in /tmp/a. -- You are receiving this mail because: You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2108537 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure