Deutsch English Français Italiano |
<mailman.44.1729839578.4695.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail From: c.buhtz@posteo.jp Newsgroups: comp.lang.python Subject: Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment Date: Fri, 25 Oct 2024 06:59:28 +0000 Lines: 62 Message-ID: <mailman.44.1729839578.4695.python-list@python.org> References: <4a13731716200669342338ae409e73ca@posteo.de> <CAJQBtg=kCr0VMGXvkBcj4U6CwatC2_G2dstO5pS56_koAXJurA@mail.gmail.com> <d9e9fb55ec10787d22841307ae3db14b@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 0hXMUMguVvKThZHxkrsO4gs+Kfv1gyvXrxkFG0OVil1w== Cancel-Lock: sha1:6gsfV7ic4qBWFapcRJ5/TsRDtxU= sha256:ZMkk5W0fhPhVN0Yc/I5t265G3WcYiORC9k+LGpZftjE= Return-Path: <c.buhtz@posteo.jp> X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org Authentication-Results: mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=posteo.jp header.i=@posteo.jp header.b=h3nuV1tz; dkim-adsp=pass; dkim-atps=neutral X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'skip:= 10': 0.05; 'subject:when': 0.07; 'output:': 0.09; 'schrieb': 0.09; 'url- ip:140/8': 0.14; 'memory': 0.15; 'addresses.': 0.16; 'failed,': 0.16; 'make:': 0.16; "skip:' 80": 0.16; 'skip:t 70': 0.16; 'subject:() ': 0.16; 'subject:Fedora': 0.16; 'subject:fails': 0.16; 'subject:used': 0.16; 'url-ip:140.82.121/24': 0.17; 'url- ip:140.82/16': 0.17; 'to:addr:python-list': 0.20; 'url:github': 0.23; 'received:de': 0.23; "i'd": 0.24; 'actual': 0.25; 'think': 0.29; 'guess': 0.32; 'but': 0.32; 'header:In-Reply-To:1': 0.34; 'failed': 0.35; 'directory': 0.37; 'file': 0.38; 'both': 0.38; 'this,': 0.39; 'edit': 0.39; 'your': 0.64; '[1]': 0.67; 'skip:t 60': 0.70; 'received:185': 0.71; 'relevant': 0.73; 'left': 0.83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.jp; s=2017; t=1729839569; bh=rW9aj27/H2q38aUHtf/eNmzgebVJUEJnOPyBsJT8d+Q=; h=MIME-Version:Date:From:To:Subject:Message-ID:Content-Type: Content-Transfer-Encoding:From; b=h3nuV1tzkDfJdiWGE3dHGLDGKcCTB2vUHlFsMIytco7vIN9dXdHnfDcPnkZozB9fI u26nUSxrWp3S2YjYb/lGoABqyG2evU03hEy60vv7pJ7boVv6oQY8DA+78z7332ICFv phwBS+hl6X48uaOeIe86ammVjdUFgUIgBTDEMjr96c8OuoFyWTakwbtSwTkWJiFTqf YNy8xb9MPEcC0t+bywITBqC2/t8LA0y9I1NGglLRTfSbmoPDsEIxV1lXZ1mZVOT6It aR80CKKgEnjx6q5KQOx502ERR74RoKGE/t6e5HNKIWIQezQlzV9MdtQXcXfe7jjHI0 EjCQuQu2qtaeQ== Mail-Followup-To: python-list@python.org In-Reply-To: <CAJQBtg=kCr0VMGXvkBcj4U6CwatC2_G2dstO5pS56_koAXJurA@mail.gmail.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.39 Precedence: list List-Id: General discussion list for the Python programming language <python-list.python.org> List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> List-Archive: <https://mail.python.org/pipermail/python-list/> List-Post: <mailto:python-list@python.org> List-Help: <mailto:python-list-request@python.org?subject=help> List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> X-Mailman-Original-Message-ID: <d9e9fb55ec10787d22841307ae3db14b@posteo.de> X-Mailman-Original-References: <4a13731716200669342338ae409e73ca@posteo.de> <CAJQBtg=kCr0VMGXvkBcj4U6CwatC2_G2dstO5pS56_koAXJurA@mail.gmail.com> Thank you very much for all your responses. Am 24.10.2024 17:17 schrieb Left Right: > To investigate this, I'd edit the file with the assertion and make it > print the actual value found in os.lstat and func. My guess is that > they are both somehow "lstat", but with different memory addresses. My reporter provided this [1]. I think this is the relevant output: =========================== short test summary info ============================ FAILED test/test_plugin_usercallback.py::SystemTest::test_local_snapshot - As... FAILED test/test_uniquenessset.py::General::test_ctor_defaults - AssertionError FAILED test/test_uniquenessset.py::General::test_deep_check - AssertionError FAILED test/test_uniquenessset.py::General::test_fail_equal_without_equal_to FAILED test/test_uniquenessset.py::General::test_size_mtime - AssertionError FAILED test/test_uniquenessset.py::General::test_unique_myself - AssertionError FAILED test/test_uniquenessset.py::General::test_unique_size_but_different_mtime ================== 7 failed, 267 passed, 16 skipped in 20.79s ================== os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> os.lstat=<built-in function lstat> make: Leaving directory '/home/johannes/rpmbuild/BUILD/backintime-1.5.3-build/backintime-1.5.3-rc1/common' RPM build errors: [1] -- <https://github.com/bit-team/backintime/issues/1911#issuecomment-2436851901>