[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset f79d74d5a3ceb06b63996e8ecf23e419e16e4be2 by Miss Islington (bot) in branch '3.6': bpo-31132: Remove prlimit permission test. (GH-9280) https://github.com/python/cpython/commit/f79d74d5a3ceb06b63996e8ecf23e419e16e4be2 -- __

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 2b162941c0793e0dd5533ee3090901cba9d8cf7d by Miss Islington (bot) in branch '3.7': bpo-31132: Remove prlimit permission test. (GH-9280) https://github.com/python/cpython/commit/2b162941c0793e0dd5533ee3090901cba9d8cf7d -- __

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +8714 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 01e0afa994c2e840f85e2de103e72a2c0ddf1b1f by Miss Islington (bot) (Benjamin Peterson) in branch 'master': bpo-31132: Remove prlimit permission test. (GH-9280) https://github.com/python/cpython/commit/01e0afa994c2e840f85e2de103e72a2c0ddf1b1f ---

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +8713 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8712 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2017-08-29 Thread Petr Viktorin
Petr Viktorin added the comment: The test is already skipped if the user is root. It verifies that process 1 can't be touched by non-root users. The problem is an assumption that process with PID 1 belongs to root. That assumption isn't true in containers: PID 1 is whatever the container was

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2017-08-07 Thread STINNER Victor
STINNER Victor added the comment: Maybe we should simply skip the test if the user is root? If os.getuid()==0. -- nosy: +haypo ___ Python tracker ___

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2017-08-07 Thread Tomas Orsava
Tomas Orsava added the comment: So the issue seems to be that Python believes it's run without root privileges, but it's mistaken because it indeed has root. -- nosy: +torsava ___ Python tracker __

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2017-08-07 Thread Charalampos Stratakis
New submission from Charalampos Stratakis: FAIL: test_prlimit (test.test_resource.ResourceTest) -- Traceback (most recent call last): File "/builddir/build/BUILD/Python-3.6.2/Lib/test/support/__init__.py", line 556, in wrapper