test_embedding.DefaultArgTest fails #528

Open
opened 2024-08-30 13:23:27 +08:00 by sb10q · 0 comments
Owner
======================================================================
ERROR: test_default_arg (test_embedding.DefaultArgTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/sb/artiq/artiq/test/coredevice/test_embedding.py", line 132, in test_default_arg
    self.assertEqual(exp.run(), 42)
  File "/home/sb/artiq/artiq/language/core.py", line 81, in run_on_core
    return self.core.run(fake_method, args, kwargs)
  File "/home/sb/artiq/artiq/coredevice/core.py", line 121, in run
    self._run_compiled(kernel_library, embedding_map)
  File "/home/sb/artiq/artiq/coredevice/core.py", line 132, in _run_compiled
    self.comm.serve(embedding_map, symbolizer)
  File "/home/sb/artiq/artiq/coredevice/comm_kernel.py", line 844, in serve
    self._serve_rpc(embedding_map)
  File "/home/sb/artiq/artiq/coredevice/comm_kernel.py", line 686, in _serve_rpc
    args, kwargs = self._receive_rpc_args(embedding_map)
  File "/home/sb/artiq/artiq/coredevice/comm_kernel.py", line 527, in _receive_rpc_args
    value = self._receive_rpc_value(embedding_map)
  File "/home/sb/artiq/artiq/coredevice/comm_kernel.py", line 520, in _receive_rpc_value
    return receivers.get(tag)(self, embedding_map)
  File "/home/sb/artiq/artiq/coredevice/comm_kernel.py", line 154, in <lambda>
    embedding_map.retrieve_object(kernel._read_int32()),
  File "/home/sb/artiq/artiq/language/embedding_map.py", line 64, in retrieve_object
    return self.object_map[key]
KeyError: 0
``` ====================================================================== ERROR: test_default_arg (test_embedding.DefaultArgTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/sb/artiq/artiq/test/coredevice/test_embedding.py", line 132, in test_default_arg self.assertEqual(exp.run(), 42) File "/home/sb/artiq/artiq/language/core.py", line 81, in run_on_core return self.core.run(fake_method, args, kwargs) File "/home/sb/artiq/artiq/coredevice/core.py", line 121, in run self._run_compiled(kernel_library, embedding_map) File "/home/sb/artiq/artiq/coredevice/core.py", line 132, in _run_compiled self.comm.serve(embedding_map, symbolizer) File "/home/sb/artiq/artiq/coredevice/comm_kernel.py", line 844, in serve self._serve_rpc(embedding_map) File "/home/sb/artiq/artiq/coredevice/comm_kernel.py", line 686, in _serve_rpc args, kwargs = self._receive_rpc_args(embedding_map) File "/home/sb/artiq/artiq/coredevice/comm_kernel.py", line 527, in _receive_rpc_args value = self._receive_rpc_value(embedding_map) File "/home/sb/artiq/artiq/coredevice/comm_kernel.py", line 520, in _receive_rpc_value return receivers.get(tag)(self, embedding_map) File "/home/sb/artiq/artiq/coredevice/comm_kernel.py", line 154, in <lambda> embedding_map.retrieve_object(kernel._read_int32()), File "/home/sb/artiq/artiq/language/embedding_map.py", line 64, in retrieve_object return self.object_map[key] KeyError: 0 ```
Sign in to join this conversation.
No Milestone
No Assignees
1 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/nac3#528
No description provided.