| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Can I wait until the other reviewers have done their thing? I'm kind of stressed for time right now. |
Sorry, something went wrong.
|
@gvanrossum Take your time, we'll be shaping this into a final form over the next day or two. Thanks! |
Sorry, something went wrong.
|
I'll deal with the code example separately but in general, I have this question: don't you think the ordering of documented methods on Task is somewhat awkward now? How about instead of doing:
we could do:
|
Sorry, something went wrong.
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
| .. method:: cancel(msg=None) | ||
|
|
||
| Request the Task to be cancelled. | ||
|
|
||
| This arranges for a :exc:`CancelledError` exception to be thrown | ||
| into the wrapped coroutine on the next cycle of the event loop. | ||
|
|
||
| The coroutine then has a chance to clean up or even deny the | ||
| request by suppressing the exception with a :keyword:`try` ... | ||
| ... ``except CancelledError`` ... :keyword:`finally` block. | ||
| Therefore, unlike :meth:`Future.cancel`, :meth:`Task.cancel` does | ||
| not guarantee that the Task will be cancelled, although | ||
| suppressing cancellation completely is not common and is actively | ||
| discouraged. | ||
|
|
||
| .. versionchanged:: 3.9 | ||
| Added the *msg* parameter. | ||
|
|
||
| .. deprecated-removed:: 3.11 3.14 | ||
| *msg* parameter is ambiguous when multiple :meth:`cancel` | ||
| are called with different cancellation messages. | ||
| The argument will be removed. | ||
|
|
||
| .. _asyncio_example_task_cancel: | ||
|
|
||
| The following example illustrates how coroutines can intercept | ||
| the cancellation request:: | ||
|
|
||
| async def cancel_me(): | ||
| print('cancel_me(): before sleep') | ||
|
|
||
| try: | ||
| # Wait for 1 hour | ||
| await asyncio.sleep(3600) | ||
| except asyncio.CancelledError: | ||
| print('cancel_me(): cancel sleep') | ||
| raise | ||
| finally: | ||
| print('cancel_me(): after sleep') | ||
|
|
||
| async def main(): | ||
| # Create a "cancel_me" Task | ||
| task = asyncio.create_task(cancel_me()) | ||
|
|
||
| # Wait for 1 second | ||
| await asyncio.sleep(1) | ||
|
|
||
| task.cancel() | ||
| try: | ||
| await task | ||
| except asyncio.CancelledError: | ||
| print("main(): cancel_me is cancelled now") | ||
|
|
||
| asyncio.run(main()) | ||
|
|
||
| # Expected output: | ||
| # | ||
| # cancel_me(): before sleep | ||
| # cancel_me(): cancel sleep | ||
| # cancel_me(): after sleep | ||
| # main(): cancel_me is cancelled now | ||
|
|
||
| .. method:: cancelled() | ||
|
|
||
| Return ``True`` if the Task is *cancelled*. | ||
|
|
||
| The Task is *cancelled* when the cancellation was requested with | ||
| :meth:`cancel` and the wrapped coroutine propagated the | ||
| :exc:`CancelledError` exception thrown into it. | ||
|
|
There was a problem hiding this comment.
This part is unchanged, only moved down. IMO cancellation isn't as important as getting other things out of a task. Plus this move allows us to keep cancel-specific methods next to each other, uncancel in particular being pretty low-level.
Sorry, something went wrong.
| continue running even in case of the timeout. This can be | ||
| implemented with :meth:`uncancel` as follows:: |
There was a problem hiding this comment.
I'm not sure if we need to give an implementation of a structured concurrency primitive as an example in the docs, given that we don't expect (or want!) people to do this. I also don't have time to review the example carefully enough to trust it doesn't have bugs that would be replicated if people copy this example.
Sorry, something went wrong.
There was a problem hiding this comment.
I moved the example to tests but kept it there as reference docs for our own purposes.
Sorry, something went wrong.
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
| This should be used by tasks that catch CancelledError | ||
| and wish to continue indefinitely until they are cancelled again. | ||
| This should be called by the party that called `cancel()` on the task | ||
| beforehand. |
There was a problem hiding this comment.
The previous docstring was invalid, we actively don't want for user code to call uncancel() when catching CancelledError.
Sorry, something went wrong.
| finally: | ||
| loop.close() | ||
|
|
||
| def test_uncancel_structured_blocks(self): |
There was a problem hiding this comment.
I'd like you to look at this test and tell me if you think anything here (esp. the comments!) is not factual.
Sorry, something went wrong.
There was a problem hiding this comment.
Sorry for the length of some of the comments. The history of uncancel() is complex:
The logic bug in TaskGroup (#95289) doesn't help restore confidence. But I think the following guidelines are helpful:
Bug #95289 is about TaskGroup failing the second bullet when the CancellationError is suppressed or replaced with something else. The fix is to always check the flag and (if set) call uncancel(), even if no CancellationError was perceived -- because we know cancel() was called so we must call uncancel().
There is no similar bug in timeout because it doesn't check for CancelledError -- it only uses its internal state.
Sorry, something went wrong.
| While the block with ``make_request()`` and ``make_another_request()`` | ||
| might get cancelled due to the timeout, ``unrelated_code()`` should | ||
| continue running even in case of the timeout. This is implemented | ||
| with :meth:`uncancel`. :class:`TaskGroup` context managers use | ||
| :func:`uncancel` in a similar fashion. |
There was a problem hiding this comment.
This seems to imply that without uncancel(), await unrelated_code() would be cancelled. But even with the most naive implementation possible using only primitives existing in 3.10, if except TimeoutError: is triggered, the following await will executed just fine. (In Trio this would not be the case, since cancellation there is level-triggered, i.e. once a task is cancelled it stays cancelled and specifically any further await will immediately be cancelled; but in asyncio cancellation is edge-triggered, and once the task has regained control, which the context manager can do, it is no longer cancelled.)
So why does uncancel() exist and need to be called? Because when structured concurrency primitives are nested, they may cancel the same task. The inner primitive(s) of these must let the CancellationError bubble out, while the outermost one must take the action it promises its caller (e.g. raise TimeoutError or raise an ExceptionGroup bundling the error(s) experienced by failed but not cancelled subtasks).
I think this means that to make the example meaningful, you'd have to nest two timeout blocks whose timers go off simultaneously. Then the inner one will raise CancellationError (so an except TimeoutError will not trigger!) and the outer one will raise TimeoutError.
It is not a coincidence that uncancel() is called in __aexit__() by both timeout and TaskGroup. The pattern is pretty much
Sorry, something went wrong.
| Note that if this number is greater than zero but the Task is | ||
| still executing, :meth:`cancelled` will still return ``False``. | ||
| This is because this number can be lowered by calling :meth:`uncancel`, | ||
| which can lead to the task not being cancelled after all if the | ||
| cancellation requests go down to zero. |
There was a problem hiding this comment.
This seems to imply that the effect of cancel() + uncancel() is a no-op, but I'm not sure that's always the case. Honestly after several attempts I'm still not sure how cancel() and __step() interacted even in 3.10. :-( But it seems at least possible that .cancel() sets _must_cancel which causes __step() to throw a CancelledError into the coroutine even if uncancel() is called immediately after cancel().
See also the comment added to cancel() starting with "These two lines are controversial."
(Also 7d611b4)
Sorry, something went wrong.
| # a ConnectionLostError from a database client), simply | ||
| # propagate them. | ||
| # | ||
| # Those checks need to take place in this exact order to make |
There was a problem hiding this comment.
"Those checks" == (2), (4), (5), right? Because (1) and (3) don't describe "checks".
Other than that nit, these comments seem correct, and the code looks so too (but I'm not taking money :-).
(Another nit: the huge comment interrupts the logic. Maybe move it to the top of the test function?)
Sorry, something went wrong.
| # cancellation request count go down to 0. We need to look | ||
| # at the counter vs having a simple boolean flag because our | ||
| # code might have been nested (think multiple timeouts). See | ||
| # commit 7fce1063b6e5a366f8504e039a8ccdd6944625cd for |
There was a problem hiding this comment.
Note that commit 7d611b4 changes the behavior again.
Sorry, something went wrong.
| and task.uncancel() == 0 | ||
| and sys.exc_info()[0] is asyncio.CancelledError | ||
| ): | ||
| # Note the five rules that are needed here to satisfy proper |
There was a problem hiding this comment.
Canceling the stimulus (timeouts), or guarding against cancelling after calling uncancel() (TaskGroup and Runner) I think is a sixth rule
| # Note the five rules that are needed here to satisfy proper | |
| # Note the six rules that are needed here to satisfy proper |
Sorry, something went wrong.
|
Should this become a deferred blocker so we can land it in RC2? |
Sorry, something went wrong.
|
3.11 final is due next month, so it would be better to get this in earlier than release. |
Sorry, something went wrong.
|
Assuming this passes the doc tests I'll just merge it, we can debate the remaining issues I had back in July later. |
Sorry, something went wrong.
|
Thanks @ambv for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
|
GH-97708 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
…ncancel() (pythonGH-95253) Co-authored-by: Thomas Grainger <tagrain@gmail.com> (cherry picked from commit f00645d) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Arch Linux Asan 3.x has failed when building commit f00645d. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/582/builds/2109 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 287 tests omitted: 141 tests OK. 10 slowest tests:
1 test failed: 8 tests skipped: 1 re-run test: Total duration: 4 min 45 sec Click to see traceback logsTraceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/test/test_embed.py", line 1452, in test_init_pyvenv_cfg
with self.tmpdir_with_python() as tmpdir, \
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/test/test_embed.py", line 1239, in tmpdir_with_python
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmp8afqhhii'
Traceback (most recent call last):
Warning -- File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/test/libregrtest/runtest_mp.py", line 334, in run
Warning -- mp_result = self._runtest(test_name)
Warning -- ^^^^^^^^^^^^^^^^^^^^^^^^
Warning -- File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/test/libregrtest/runtest_mp.py", line 282, in _runtest
Warning -- tmp_dir = tempfile.mkdtemp(prefix="test_python_")
Warning -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning -- File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/tempfile.py", line 368, in mkdtemp
Warning -- _os.mkdir(file, 0o700)
Warning -- OSError: [Errno 28] No space left on device: '/tmp/test_python_3uomo41r'
Kill <TestWorkerProcess #2 running test=test_decimal pid=3542557 time=18.2 sec> process group
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/test/test_embed.py", line 1377, in test_init_pybuilddir
with self.tmpdir_with_python() as tmpdir:
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/test/test_embed.py", line 1239, in tmpdir_with_python
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpi5p8e3sq'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/test/test_embed.py", line 1453, in test_init_pyvenv_cfg
tempfile.TemporaryDirectory() as pyvenv_home:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_qv4hfavy/tmp4ztbqegc'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan/build/Lib/test/test_embed.py", line 1385, in test_init_pybuilddir
os.mkdir(libdir)
OSError: [Errno 28] No space left on device: '/tmp/test_python_qv4hfavy/tmpmhuba6rp/libdir'
|
Sorry, something went wrong.
|
I thought this was a docs only PR, but it updates a test. Presumably that’s what caused the buildbot failure? I can look into this tomorrow. |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Arch Linux Asan Debug 3.x has failed when building commit f00645d. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/585/builds/2118 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 299 tests omitted: 128 tests OK. 10 slowest tests:
3 tests failed: 7 tests skipped: 3 re-run tests: Total duration: 9 min 15 sec Click to see traceback logsTraceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 149, in test_bootstrapping_with_verbosity_2
ensurepip.bootstrap(verbosity=2)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmplw4w7fhr'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 191, in test_pip_environment_variables_removed
ensurepip.bootstrap()
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmp4695zjfv'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 179, in test_bootstrapping_with_default_pip
ensurepip.bootstrap(default_pip=True)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpm34xth33'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_embed.py", line 1453, in test_init_pyvenv_cfg
tempfile.TemporaryDirectory() as pyvenv_home:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_xeezqzxm/tmps0tbon91'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 191, in test_pip_environment_variables_removed
ensurepip.bootstrap()
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpvx7sj177'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 138, in test_bootstrapping_with_verbosity_1
ensurepip.bootstrap(verbosity=1)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmpi9rl2xud'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 90, in test_basic_bootstrapping
ensurepip.bootstrap()
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmpz4lebfh9'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 127, in test_bootstrapping_with_upgrade
ensurepip.bootstrap(upgrade=True)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpbp2xv7ar'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 21, in test_version
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmpjk989zea'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 171, in test_bootstrapping_with_regular_install
ensurepip.bootstrap()
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmpv5q3g8ii'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_embed.py", line 1377, in test_init_pybuilddir
with self.tmpdir_with_python() as tmpdir:
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_embed.py", line 1239, in tmpdir_with_python
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpx1f3e1mw'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 127, in test_bootstrapping_with_upgrade
ensurepip.bootstrap(upgrade=True)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmps36w8738'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_zipfile.py", line 1224, in test_write_filtered_python_package
zipfp.writepy(packagedir)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/zipfile.py", line 2065, in writepy
self.writepy(path, basename,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/zipfile.py", line 2052, in writepy
fname, arcname = self._get_codename(initname[0:-3], basename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/zipfile.py", line 2152, in _get_codename
if _compile(file_py):
^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/zipfile.py", line 2115, in _compile
py_compile.compile(file, doraise=True, optimize=optimize)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/py_compile.py", line 157, in compile
os.makedirs(dirname)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/os.py", line 225, in makedirs
mkdir(name, mode)
OSError: [Errno 28] No space left on device: '/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ctypes/__pycache__'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 326, in test_bootstrapping_error_code
exit_code = ensurepip._main([])
^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 286, in _main
return _bootstrap(
^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmphnxdu8mt'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 46, in test_get_packages_with_dir
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmp2n89pxo8'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 179, in test_bootstrapping_with_default_pip
ensurepip.bootstrap(default_pip=True)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmpn1p30j44'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 138, in test_bootstrapping_with_verbosity_1
ensurepip.bootstrap(verbosity=1)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmp51iqvyev'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 326, in test_bootstrapping_error_code
exit_code = ensurepip._main([])
^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 286, in _main
return _bootstrap(
^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmphw5c4nc5'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 116, in test_bootstrapping_with_user
ensurepip.bootstrap(user=True)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmplbsw37ti'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 310, in test_basic_bootstrapping
exit_code = ensurepip._main([])
^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 286, in _main
return _bootstrap(
^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmpvugbap7j'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 21, in test_version
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmp_6raq5yi'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 46, in test_get_packages_with_dir
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmpz3_9854a'
Traceback (most recent call last):
Warning -- File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/libregrtest/runtest_mp.py", line 334, in run
Warning -- mp_result = self._runtest(test_name)
Warning -- ^^^^^^^^^^^^^^^^^^^^^^^^
Warning -- File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/libregrtest/runtest_mp.py", line 282, in _runtest
Warning -- tmp_dir = tempfile.mkdtemp(prefix="test_python_")
Warning -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning -- File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
Warning -- _os.mkdir(file, 0o700)
Warning -- OSError: [Errno 28] No space left on device: '/tmp/test_python__ujy_jf1'
Kill <TestWorkerProcess #2 running test=test_urllib pid=3559186 time=1.0 sec> process group
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 160, in test_bootstrapping_with_verbosity_3
ensurepip.bootstrap(verbosity=3)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpigfke03w'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 197, in test_pip_config_file_disabled
ensurepip.bootstrap()
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpdv5zw_pj'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_embed.py", line 1452, in test_init_pyvenv_cfg
with self.tmpdir_with_python() as tmpdir, \
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_embed.py", line 1239, in tmpdir_with_python
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpziqvpxki'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 171, in test_bootstrapping_with_regular_install
ensurepip.bootstrap()
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpxmskvql4'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 175, in test_bootstrapping_with_alt_install
ensurepip.bootstrap(altinstall=True)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpcdrit_f3'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 197, in test_pip_config_file_disabled
ensurepip.bootstrap()
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmpe4h4zqh6'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_embed.py", line 1385, in test_init_pybuilddir
os.mkdir(libdir)
OSError: [Errno 28] No space left on device: '/tmp/test_python_xeezqzxm/tmp8jnddm85/libdir'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 160, in test_bootstrapping_with_verbosity_3
ensurepip.bootstrap(verbosity=3)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmpck7g314z'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 104, in test_bootstrapping_with_root
ensurepip.bootstrap(root="/foo/bar/")
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmphp9rrmq6'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 310, in test_basic_bootstrapping
exit_code = ensurepip._main([])
^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 286, in _main
return _bootstrap(
^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpcfz923ok'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 90, in test_basic_bootstrapping
ensurepip.bootstrap()
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmppg_1lctz'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 149, in test_bootstrapping_with_verbosity_2
ensurepip.bootstrap(verbosity=2)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmpe9n_altl'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 104, in test_bootstrapping_with_root
ensurepip.bootstrap(root="/foo/bar/")
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmps20r8ab8'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 116, in test_bootstrapping_with_user
ensurepip.bootstrap(user=True)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmp6029zjet'
Traceback (most recent call last):
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/test/test_ensurepip.py", line 175, in test_bootstrapping_with_alt_install
ensurepip.bootstrap(altinstall=True)
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 135, in bootstrap
_bootstrap(root=root, upgrade=upgrade, user=user,
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/ensurepip/__init__.py", line 169, in _bootstrap
with tempfile.TemporaryDirectory() as tmpdir:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 854, in __init__
self.name = mkdtemp(suffix, prefix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/buildbot/buildarea/3.x.pablogsal-arch-x86_64.asan_debug/build/Lib/tempfile.py", line 368, in mkdtemp
_os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/test_python_m00bzbn7/tmpddvkyiql'
|
Sorry, something went wrong.
|
Then again how could test_embed be affected? |
Sorry, something went wrong.
…ncancel() (python#95253) Co-authored-by: Thomas Grainger <tagrain@gmail.com>
|
More recent runs of the same buildbot passed, so I conclude this was a flake. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.