DiamondLightSource / DiamondLightSource/mx-bluesky

GDA baton passing via the GDA queue does not work

Open
#1,738 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
5
Avg merge
1d 30m
Merged PRs (30d)
2

Description

During an overnight data collection, the baton pass command was added to the GDA queue, hyperion data collection started but was then interrupted because GDA took the baton back after 120 seconds:

```

2026-05-07 20:48:07,878 DEBUG [server/4108907@i03-control.diamond.ac.uk] gda.commandqueue.FindableProcessorQueue - Started: BATON PASS: Client #9 gaj11504 -> Client #1 UDC
2026-05-07 20:48:07,879 INFO [server/4108907@i03-control.diamond.ac.uk] gda.data.metadata.PersistantMetadataEntry - Setting PersistantMetadataEntry subdirectory to
2026-05-07 20:48:07,881 INFO [server/4108907@i03-control.diamond.ac.uk] gda.data.metadata.PersistantMetadataEntry - Setting PersistantMetadataEntry subdirectory to
2026-05-07 20:48:07,882 DEBUG [server/4108907@i03-control.diamond.ac.uk] gda.jython.batoncontrol.BatonManager - notifyServerOfBatonChange() called when jythonServerNotifer=gda.jython.JythonServer@6e5031fa
2026-05-07 20:48:07,882 INFO [server/4108907@i03-control.diamond.ac.uk] gda.px.unattendeddatacollection.UDCBatonHandler - BatonChanged Event received, baton holder is now UDC@i03-control.diamond.ac.uk visit: authorisation:4 baton:true

2026-05-07 19:48:08.779 i03-control.diamond.ac.uk 1098235
[33m[W 260507 20:48:08.778 log_based_service:50] ***ALERT*** summary=UDC Started content=Unattended Data Collection has started.
2026-05-07 19:48:10.505 i03-control.diamond.ac.uk 1101222
Pin detected, unloading sample...
2026-05-07 19:48:13.317 i03-control.diamond.ac.uk 1101222
Waiting on beamline enable
2026-05-07 19:48:23.618 i03-control.diamond.ac.uk 1098235
[32m[I 260507 20:48:23.618 _supervisor:60] Executing plan with parameters: {}
2026-05-07 19:48:26.038 i03-control.diamond.ac.uk 1101222
Waiting on beamline disable
2026-05-07 20:50:07,888 ERROR [server/4108907@i03-control.diamond.ac.uk] gda.px.unattendeddatacollection.HyperionUDCRunner - Hyperion did not finish, returning baton to GDA anyway
java.util.concurrent.TimeoutException: The requested value gda.px.unattendeddatacollection.HyperionUDCRunner$$Lambda/0x00007f4bf934fac0@1cee430e was not observed from the PV BL03I-
CS-BATON-01:CURRENT_USER within the specified timeout of 120s
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.