We have an issue with the attribute trigger of the event-options’ policy on ACX7509 (Junos EVO 24.2R2-S2.5-EVO)
set event-options policy TRACK_UPLINK_UP events rpd_ospf_nbrup
set event-options policy TRACK_UPLINK_UP attributes-match rpd_ospf_nbrup.new-state matches Full
set event-options policy TRACK_UPLINK_UP attributes-match rpd_ospf_nbrup.interface-name matches "et-0/0/0.0$|et-0/0/0.1$"
set event-options policy TRACK_UPLINK_UP then event-script agg-spine-track-uplink-up.slax arguments event-interface "{$$.interface-name}"
set event-options policy TRACK_UPLINK_UP then event-script agg-spine-track-uplink-up.slax arguments wait-interface-stable 60
set event-options policy TRACK_UPLINK_UP then event-script agg-spine-track-uplink-up.slax arguments laser-on-interfaces et-0/0/0
For above config, the script should be triggered only when ospf neighbors of et-0/0/0.0 or et-0/0/0.1 becomes 'Full'.
But, we can see with event of et-0/0/0.2 becoming Full, the script is triggered.
Aug 13 17:53:43.789 JTAC cscript[21910]: Script agg-spine-track-uplink-up.slax detected ospf neighbor on uplink interface et-0/0/0.2 UP!
Aug 13 17:53:43.789 JTAC cscript[21910]: Script agg-spine-track-uplink-up.slax is trying to connect to MGD!
Aug 13 17:53:44.017 JTAC cscript[21910]: Script agg-spine-track-uplink-up.slax has connected to MGD!
Aug 13 17:53:44.017 JTAC cscript[21910]: Script agg-spine-track-uplink-up.slax is trying to check interface et-0/0/0 status - 1st!
Aug 13 17:53:44.063 JTAC cscript[21910]: Script agg-spine-track-uplink-up.slax detected uplink interface et-0/0/0 up at 2025-08-13 17:48:58 IST in 1st checking!
Aug 13 17:53:44.063 JTAC cscript[21910]: Script agg-spine-track-uplink-up.slax is waiting for 60s to check interface status again...
We can hit the issue by making above config addition as new or any changes in regex & then commiting this as well.
The issue was analysed in internal PR, PR1901400 & this was noted to be fixed in another internal PR1879178.