Repository navigation
Added beam correction tests - #678
Open
LowriJenkins wants to merge 8 commits into
Open
LowriJenkins wants to merge 8 commits into
LowriJenkins wants to merge 8 commits into
Conversation
LowriJenkins
force-pushed
the
Ticket8830_Muon_Active_beam_compensation
branch
from
September 16, 2026 14:54
42202f2 to
344bc3a
Compare
3 of 4 tasks
Co-authored-by: Tom Willemsen <tomwillemsen1995@gmail.com>
…ub.com/ISISComputingGroup/EPICS-IOC_Test_Framework into Ticket8830_Muon_Active_beam_compensation
LowriJenkins
force-pushed
the
Ticket8830_Muon_Active_beam_compensation
branch
from
October 21, 2026 08:28
28676bc to
e985097
Compare
Tom-Willemsen
left a comment
Member
There was a problem hiding this comment.
======================================================================
ERROR [1.200s]: test_GIVEN_kepco_running_AND_corrections_disabled_AND_not_recsim_THEN_properly_sets_to_kepco (tests.beamcorrections.BEAMCORRTests.test_GIVEN_kepco_running_AND_corrections_disabled_AND_not_recsim_THEN_properly_sets_to_kepco)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Instrument\Apps\EPICS\support\IocTestFramework\master\utils\testing.py", line 236, in wrapper
return func(*args, **kwargs)
File "C:\Instrument\Apps\EPICS\support\IocTestFramework\master\tests\beamcorrections.py", line 252, in test_GIVEN_kepco_running_AND_corrections_disabled_AND_not_recsim_THEN_properly_sets_to_kepco
self.kepco_setup()
~~~~~~~~~~~~~~~~^^
File "C:\Instrument\Apps\EPICS\support\IocTestFramework\master\tests\beamcorrections.py", line 230, in kepco_setup
self._kepco_emulator_1.backdoor_run_function_on_device("reset")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "c:\Instrument\Apps\EPICS\support\IocTestFramework\master\utils\emulator_launcher.py", line 757, in backdoor_run_function_on_device
return self.backdoor_command(command)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "c:\Instrument\Apps\EPICS\support\IocTestFramework\master\utils\emulator_launcher.py", line 772, in backdoor_command
time_stamp = datetime.fromtimestamp(time(), tz=datetime.UTC).strftime("%Y-%m-%d %H:%M:%S")
^^^^^^^^^^^^
AttributeError: type object 'datetime.datetime' has no attribute 'UTC'
======================================================================
ERROR [1.298s]: test_GIVEN_kepco_running_AND_corrections_enabled_AND_not_recsim_THEN_properly_sets_to_kepco (tests.beamcorrections.BEAMCORRTests.test_GIVEN_kepco_running_AND_corrections_enabled_AND_not_recsim_THEN_properly_sets_to_kepco)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Instrument\Apps\EPICS\support\IocTestFramework\master\utils\testing.py", line 236, in wrapper
return func(*args, **kwargs)
File "C:\Instrument\Apps\EPICS\support\IocTestFramework\master\tests\beamcorrections.py", line 262, in test_GIVEN_kepco_running_AND_corrections_enabled_AND_not_recsim_THEN_properly_sets_to_kepco
self.kepco_setup()
~~~~~~~~~~~~~~~~^^
File "C:\Instrument\Apps\EPICS\support\IocTestFramework\master\tests\beamcorrections.py", line 230, in kepco_setup
self._kepco_emulator_1.backdoor_run_function_on_device("reset")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "c:\Instrument\Apps\EPICS\support\IocTestFramework\master\utils\emulator_launcher.py", line 757, in backdoor_run_function_on_device
return self.backdoor_command(command)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "c:\Instrument\Apps\EPICS\support\IocTestFramework\master\utils\emulator_launcher.py", line 772, in backdoor_command
time_stamp = datetime.fromtimestamp(time(), tz=datetime.UTC).strftime("%Y-%m-%d %H:%M:%S")
^^^^^^^^^^^^
AttributeError: type object 'datetime.datetime' has no attribute 'UTC'
======================================================================
ERROR [1.299s]: test_GIVEN_kepco_running_AND_not_recsim_THEN_properly_reads_from_kepco (tests.beamcorrections.BEAMCORRTests.test_GIVEN_kepco_running_AND_not_recsim_THEN_properly_reads_from_kepco)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Instrument\Apps\EPICS\support\IocTestFramework\master\utils\testing.py", line 236, in wrapper
return func(*args, **kwargs)
File "C:\Instrument\Apps\EPICS\support\IocTestFramework\master\tests\beamcorrections.py", line 241, in test_GIVEN_kepco_running_AND_not_recsim_THEN_properly_reads_from_kepco
self.kepco_setup()
~~~~~~~~~~~~~~~~^^
File "C:\Instrument\Apps\EPICS\support\IocTestFramework\master\tests\beamcorrections.py", line 230, in kepco_setup
self._kepco_emulator_1.backdoor_run_function_on_device("reset")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "c:\Instrument\Apps\EPICS\support\IocTestFramework\master\utils\emulator_launcher.py", line 757, in backdoor_run_function_on_device
return self.backdoor_command(command)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "c:\Instrument\Apps\EPICS\support\IocTestFramework\master\utils\emulator_launcher.py", line 772, in backdoor_command
time_stamp = datetime.fromtimestamp(time(), tz=datetime.UTC).strftime("%Y-%m-%d %H:%M:%S")
^^^^^^^^^^^^
AttributeError: type object 'datetime.datetime' has no attribute 'UTC'
----------------------------------------------------------------------
Ran 36 tests in 43.660s
FAILED (errors=3, skipped=33)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ISISComputingGroup/IBEX#8830