Add custom callback exception callable #12483
test.yaml
on: pull_request
Setup workflow
2s
Pixi lock
4s
Matrix: core_test_suite
Matrix: type_test_suite
Matrix: ui_test_suite
Matrix: unit_test_suite
result:test
0s
Annotations
32 errors and 10 warnings
core:test-core:ubuntu-latest:
panel/tests/chat/test_feed.py#L1133
TestChatFeedCallback.test_callback_exception_async_callable
TypeError: TestChatFeedCallback.test_callback_exception_async_callable.<locals>.exception_callback() missing 2 required positional arguments: 'exception' and 'instance'
|
core:test-core:ubuntu-latest
Process completed with exit code 1.
|
core:test-minimum:ubuntu-latest:
panel/tests/chat/test_feed.py#L1133
TestChatFeedCallback.test_callback_exception_async_callable
TypeError: TestChatFeedCallback.test_callback_exception_async_callable.<locals>.exception_callback() missing 2 required positional arguments: 'exception' and 'instance'
|
core:test-minimum:ubuntu-latest
Process completed with exit code 1.
|
unit:test-310:macos-latest:
panel/tests/chat/test_feed.py#L341
TestChatFeedCallback.test_callback_exception_raise
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/threading.py", line 881, in __init__
self._invoke_excepthook = _make_invoke_excepthook()
ResourceWarning: unclosed <socket.socket fd=21, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
|
unit:test-310:macos-latest:
panel/tests/chat/test_feed.py#L341
TestChatFeedCallback.test_callback_exception_callable
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/threading.py", line 881, in __init__
self._invoke_excepthook = _make_invoke_excepthook()
ResourceWarning: unclosed <socket.socket fd=18, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
|
unit:test-310:macos-latest:
panel/tests/chat/test_feed.py#L1133
TestChatFeedCallback.test_callback_exception_async_callable
TypeError: TestChatFeedCallback.test_callback_exception_async_callable.<locals>.exception_callback() missing 2 required positional arguments: 'exception' and 'instance'
|
unit:test-310:macos-latest:
panel/tests/chat/test_feed.py#L341
TestChatFeedCallback.test_callback_two_arguments
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/Users/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/param/parameterized.py", line 2523, in objects
return dict(pdict, **self_.self._param__private.params)
ResourceWarning: unclosed <socket.socket fd=24, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
|
unit:test-310:macos-latest
Process completed with exit code 1.
|
unit:test-310:ubuntu-latest:
panel/tests/chat/test_feed.py#L341
TestChatFeedCallback.test_callback_exception_raise
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/home/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/threading.py", line 995, in _set_tstate_lock
with _shutdown_locks_lock:
ResourceWarning: unclosed <socket.socket fd=19, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
|
unit:test-310:ubuntu-latest:
panel/tests/chat/test_feed.py#L341
TestChatFeedCallback.test_callback_exception_callable
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
Traceback (most recent call last):
File "/home/runner/work/panel/panel/panel/chat/feed.py", line 573, in _prepare_response
await asyncio.gather(
File "/home/runner/work/panel/panel/panel/chat/feed.py", line 547, in _handle_callback
response = await asyncio.to_thread(self.callback, *callback_args, **callback_kwargs)
File "/home/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/asyncio/threads.py", line 25, in to_thread
return await loop.run_in_executor(None, func_call)
File "/home/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/runner/work/panel/panel/panel/tests/chat/test_feed.py", line 1113, in callback
raise ValueError("Expected error")
ValueError: Expected error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/param/_utils.py", line 287, in <lambda>
return lambda actual_f: f(actual_f, *args, **kwargs)
ResourceWarning: unclosed <socket.socket fd=22, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
|
unit:test-310:ubuntu-latest:
panel/tests/chat/test_feed.py#L1133
TestChatFeedCallback.test_callback_exception_async_callable
TypeError: TestChatFeedCallback.test_callback_exception_async_callable.<locals>.exception_callback() missing 2 required positional arguments: 'exception' and 'instance'
|
unit:test-310:ubuntu-latest
Process completed with exit code 1.
|
unit:test-312:ubuntu-latest:
panel/tests/chat/test_feed.py#L1133
TestChatFeedCallback.test_callback_exception_async_callable
TypeError: TestChatFeedCallback.test_callback_exception_async_callable.<locals>.exception_callback() missing 2 required positional arguments: 'exception' and 'instance'
|
unit:test-312:ubuntu-latest:
panel/tests/chat/test_feed.py#L341
TestChatFeedCallback.test_callback_short_time
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=1, type=1, proto=0>
Traceback (most recent call last):
File "/home/runner/work/panel/panel/.pixi/envs/test-312/lib/python3.12/inspect.py", line 306, in ismethod
def ismethod(object):
ResourceWarning: unclosed <socket.socket fd=16, family=1, type=1, proto=0>
|
unit:test-312:ubuntu-latest
Process completed with exit code 1.
|
unit:test-310:windows-latest:
panel\tests\chat\test_feed.py#L1133
TestChatFeedCallback.test_callback_exception_async_callable
TypeError: TestChatFeedCallback.test_callback_exception_async_callable.<locals>.exception_callback() missing 2 required positional arguments: 'exception' and 'instance'
|
unit:test-310:windows-latest
Process completed with exit code 1.
|
unit:test-312:windows-latest:
panel\tests\chat\test_feed.py#L1133
TestChatFeedCallback.test_callback_exception_async_callable
TypeError: TestChatFeedCallback.test_callback_exception_async_callable.<locals>.exception_callback() missing 2 required positional arguments: 'exception' and 'instance'
|
unit:test-312:windows-latest
Process completed with exit code 1.
|
ui:test-ui:macos-latest:
panel/tests/ui/layout/test_feed.py#L132
test_feed_scroll_to_latest_within_limit
TimeoutError: wait_until timed out in 5000 milliseconds
|
ui:test-ui:macos-latest:
panel/tests/ui/pane/test_image.py#L65
test_png_scale_width[False-scale_width]
assert 0 == 585
|
ui:test-ui:ubuntu-latest:
panel/tests/ui/widgets/test_tabulator.py#L2440
test_tabulator_patching_and_styling
AssertionError: Locator expected to have count '1'
Actual value: 0
Call log:
LocatorAssertions.to_have_count with timeout 5000ms
- waiting for locator(".tabulator-cell").filter(has=locator("text=\"100\""))
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
|
ui:test-ui:ubuntu-latest:
panel/tests/ui/widgets/test_tabulator.py#L3510
test_tabulator_sorter_default_number
TimeoutError: wait_until timed out in 5000 milliseconds
|
ui:test-ui:windows-latest:
panel\tests\ui\io\test_reload.py#L30
test_reload_app_on_touch[ipynb]
TimeoutError: wait_until timed out in 5000 milliseconds
|
ui:test-ui:windows-latest:
panel\tests\ui\layout\test_column.py#L204
test_column_scroll_position_init
AssertionError: Locator expected to have JS Property '100'
Actual value: 0
Call log:
LocatorAssertions.to_have_js_property with timeout 5000ms
- waiting for locator(".bk-panel-models-layout-Column")
- locator resolved to <div class="bk-panel-models-layout-Column scrollable-vertical"></div>
- unexpected value "0"
- locator resolved to <div class="bk-panel-models-layout-Column scrollable-vertical"></div>
- unexpected value "0"
- locator resolved to <div class="bk-panel-models-layout-Column scrollable-vertical"></div>
- unexpected value "0"
- locator resolved to <div class="bk-panel-models-layout-Column scrollable-vertical"></div>
- unexpected value "0"
- locator resolved to <div class="bk-panel-models-layout-Column scrollable-vertical"></div>
- unexpected value "0"
- locator resolved to <div class="bk-panel-models-layout-Column scrollable-vertical"></div>
- unexpected value "0"
- locator resolved to <div class="bk-panel-models-layout-Column scrollable-vertical"></div>
- unexpected value "0"
- locator resolved to <div class="bk-panel-models-layout-Column scrollable-vertical"></div>
- unexpected value "0"
|
ui:test-ui:windows-latest:
panel\tests\ui\layout\test_feed.py#L52
test_feed_view_latest
TimeoutError: wait_until timed out in 5000 milliseconds
|
ui:test-ui:windows-latest:
panel\tests\ui\layout\test_feed.py#L132
test_feed_scroll_to_latest_within_limit
TimeoutError: wait_until timed out in 5000 milliseconds
|
unit:test-312:macos-latest
Canceling since a higher priority waiting request for 'tests-7558' exists
|
unit:test-312:macos-latest:
panel/tests/chat/test_feed.py#L1133
TestChatFeedCallback.test_callback_exception_async_callable
TypeError: TestChatFeedCallback.test_callback_exception_async_callable.<locals>.exception_callback() missing 2 required positional arguments: 'exception' and 'instance'
|
unit:test-312:macos-latest
The operation was canceled.
|
result:test
Process completed with exit code 1.
|
Setup workflow
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Pixi lock
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run pre-commit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
core:test-core:ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
core:test-minimum:ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
type:test-type:ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit:test-310:ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit:test-312:ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ui:test-ui:ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
result:test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pixi-lock
|
343 KB |
|
ui_screenshots_Linux
|
347 KB |
|
ui_screenshots_Windows
|
501 KB |
|
ui_screenshots_macOS
|
656 KB |
|