#339 breaks test_nested_finally #341

Closed
opened 2024-11-20 10:26:23 +08:00 by sb10q · 2 comments
Owner

https://nixbld.m-labs.hk/build/170009/nixlog/2


======================================================================
ERROR: test_nested_finally (artiq.test.coredevice.test_portability.HostVsDeviceCase.test_nested_finally)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/test/coredevice/test_portability.py", line 309, in test_nested_finally
    self.execute(_NestedFinally, trace=t_device)
  File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/test/hardware_testbench.py", line 68, in execute
    raise exn
  File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/test/hardware_testbench.py", line 57, in execute
    exp.run()
  File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/language/core.py", line 54, in run_on_core
    return getattr(self, arg).run(run_on_core, ((self,) + k_args), k_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/coredevice/core.py", line 177, in run
    self._run_compiled(kernel_library, embedding_map, symbolizer, demangler)
  File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/coredevice/core.py", line 166, in _run_compiled
    self.comm.serve(embedding_map, symbolizer, demangler)
  File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/coredevice/comm_kernel.py", line 734, in serve
    self._serve_exception(embedding_map, symbolizer, demangler)
  File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/coredevice/comm_kernel.py", line 716, in _serve_exception
    raise python_exn
ValueError: IndexError
Core Device Traceback:
Traceback (most recent call first):
  File "<artiq>/test/coredevice/test_portability.py", line 140, column 17, in artiq.test.coredevice.test_portability._NestedFinally.run(..., ...)
    raise ValueError
    ^
  File "<artiq>/test/coredevice/test_portability.py", line 140, in ?? (RA=+0x1b8)
    raise ValueError
ValueError(0): ValueError

During handling of the above exception, another exception occurred:

Traceback (most recent call first):
  File "<artiq>/test/coredevice/test_portability.py", line 143, column 21, in artiq.test.coredevice.test_portability._NestedFinally.run(..., ...)
    raise IndexError()
    ^
  File "<artiq>/test/coredevice/test_portability.py", line 143, in ?? (RA=+0x210)
    raise IndexError()
IndexError(0): IndexError

End of Core Device Traceback
https://nixbld.m-labs.hk/build/170009/nixlog/2 ``` ====================================================================== ERROR: test_nested_finally (artiq.test.coredevice.test_portability.HostVsDeviceCase.test_nested_finally) ---------------------------------------------------------------------- Traceback (most recent call last): File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/test/coredevice/test_portability.py", line 309, in test_nested_finally self.execute(_NestedFinally, trace=t_device) File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/test/hardware_testbench.py", line 68, in execute raise exn File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/test/hardware_testbench.py", line 57, in execute exp.run() File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/language/core.py", line 54, in run_on_core return getattr(self, arg).run(run_on_core, ((self,) + k_args), k_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/coredevice/core.py", line 177, in run self._run_compiled(kernel_library, embedding_map, symbolizer, demangler) File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/coredevice/core.py", line 166, in _run_compiled self.comm.serve(embedding_map, symbolizer, demangler) File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/coredevice/comm_kernel.py", line 734, in serve self._serve_exception(embedding_map, symbolizer, demangler) File "/nix/store/7jffqqjhb56zja4xxk5vw2f1b1k62rpx-python3.12-artiq-9.9100+8b335c4.beta/lib/python3.12/site-packages/artiq/coredevice/comm_kernel.py", line 716, in _serve_exception raise python_exn ValueError: IndexError Core Device Traceback: Traceback (most recent call first): File "<artiq>/test/coredevice/test_portability.py", line 140, column 17, in artiq.test.coredevice.test_portability._NestedFinally.run(..., ...) raise ValueError ^ File "<artiq>/test/coredevice/test_portability.py", line 140, in ?? (RA=+0x1b8) raise ValueError ValueError(0): ValueError During handling of the above exception, another exception occurred: Traceback (most recent call first): File "<artiq>/test/coredevice/test_portability.py", line 143, column 21, in artiq.test.coredevice.test_portability._NestedFinally.run(..., ...) raise IndexError() ^ File "<artiq>/test/coredevice/test_portability.py", line 143, in ?? (RA=+0x210) raise IndexError() IndexError(0): IndexError End of Core Device Traceback ```
Contributor

I believe this is due to a compiler bug, and appears to be fixed by https://github.com/m-labs/artiq/pull/2620.

I believe this is due to a compiler bug, and appears to be fixed by https://github.com/m-labs/artiq/pull/2620.
Author
Owner

Ah, yes! Thanks.

Ah, yes! Thanks.
sb10q closed this issue 2024-11-21 18:03:28 +08:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/artiq-zynq#341
No description provided.