<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:29:59 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[INSTRM-918] SM1 at Subaru : shutters failed</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-918</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;03:53:07.430948 spsait w text=&quot;enu_sm1 shutters failed: FysomError(&apos;event init inappropriate in current state FAILED&apos;,) in fn() at /software/conda/lib/python3.6/site-packages/fysom/_&lt;em&gt;init&lt;/em&gt;_.py:272&quot;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;Don&apos;t know why they failed&lt;/font&gt;&lt;/p&gt;


&lt;p&gt;Basically biasha board is stuck in a peculiar state where it doesn&apos;t answer correctly.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;alefur@shell-ics:~$ oneCmd.py enu_sm1 biasha raw=status                                                            
2020-08-13T16:00:44.454 sent enu_sm1 biasha raw=status (from alefur_shell_ics)                                     
2020-08-13T16:00:44.478 enu_sm1 : text=&quot;returned: 30&quot;                                                              
alefur@shell-ics:~$ oneCmd.py enu_sm1 biasha raw=statword                                                          
2020-08-13T16:01:01.772 sent enu_sm1 biasha raw=statword (from alefur_shell_ics)                                   
2020-08-13T16:01:01.792 enu_sm1 : text=&quot;returned: n&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&#160;The only fix is to power cycle the board&lt;/p&gt;</description>
                <environment></environment>
        <key id="14239">INSTRM-918</key>
            <summary>SM1 at Subaru : shutters failed</summary>
                <type id="1" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10503&amp;avatarType=issuetype">Bug</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="arnaud.lefur">arnaud.lefur</assignee>
                                    <reporter username="fmadec">fmadec</reporter>
                        <labels>
                            <label>SM1</label>
                            <label>SPS</label>
                    </labels>
                <created>Wed, 11 Mar 2020 14:03:03 +0000</created>
                <updated>Mon, 21 Jun 2021 18:24:02 +0000</updated>
                            <resolved>Mon, 21 Jun 2021 18:24:02 +0000</resolved>
                                                                    <component>ics_enuActor</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="16826" author="fmadec" created="Wed, 11 Mar 2020 14:10:43 +0000"  >&lt;p&gt;just did disconnect/connect , status became ok.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;a dark test image works.&lt;/p&gt;

&lt;p&gt;but then I started a sequence but it failed again:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt; 04:06:44.656414 spsait w text=&quot;enu_sm1 shutters failed: RuntimeError(&apos;biasha has replied nok, red_open inappropriate in current state &apos;,) in _gotoState() at /software/mhs/products/Linux64/ics_enuActor/1.0.0/python/enuActor/Controllers/biasha.py:344&quot; 04:06:44.656966 spsait w text=&quot;command failed: RuntimeError(&apos;Exposure has failed&apos;,) in expose() at /software/mhs/devel/ics_spsActor/python/spsActor/Controllers/expose.py:58&quot; 04:06:44.711224 spsait f text=&quot;command failed: RuntimeError(&apos;subCmd has failed.. sequence aborted..&apos;,) in processSubCmd() at /software/mhs/products/Linux64/ics_spsaitActor/1.0.3/python/spsaitActor/utils/experiment.py:80&quot;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="16836" author="arnaud.lefur" created="Wed, 11 Mar 2020 18:16:29 +0000"  >&lt;p&gt;It&apos;s seems that the arduino is stuck in a weird state, some command are not recognized correctly.&#160;&lt;/p&gt;

&lt;p&gt;Power cycle fixed it, but that&apos;s the second time it&apos;s happening at Subaru and we never seen it at LAM, a bit worrysome...&lt;/p&gt;</comment>
                            <comment id="17022" author="fmadec" created="Mon, 13 Apr 2020 17:12:13 +0000"  >&lt;p&gt;it happened again today&lt;/p&gt;

&lt;p&gt;07:07:55.644614 spsait w text=&quot;enu_sm1 shutters failed: RuntimeError(&apos;biasha has replied nok, shut_open inappropriate in current state &apos;,) in _gotoState() at /software/mhs/products/Linux64/ics_enuActor/1.0.0/python/enuActor/Controllers/biasha.py:344&quot;&lt;br/&gt;
07:07:55.645212 spsait w text=&quot;command failed: RuntimeError(&apos;Exposure has failed&apos;,) in expose() at /software/mhs/devel/ics_spsActor/python/spsActor/Controllers/expose.py:58&quot;&lt;br/&gt;
07:07:55.699574 spsait f text=&quot;command failed: RuntimeError(&apos;subCmd has failed.. sequence aborted..&apos;,) in processSubCmd() at /software/mhs/products/Linux64/ics_spsaitActor/1.0.3/python/spsaitActor/utils/experiment.py:80&quot;&lt;/p&gt;</comment>
                            <comment id="17046" author="hassan" created="Wed, 15 Apr 2020 18:35:15 +0000"  >&lt;p&gt;As we heard during today&apos;s ICS/SpS telecon: not much can be done without significant software changes. No longer required for the spsait-&amp;gt;Subaru migration. Problem appears on an exposure-by-exposure basis, so the worst that can happen is that one exposure is lost. Nominal situation then recovered after a power-cycle.&lt;/p&gt;

&lt;p&gt;Will lower priority for this.&lt;/p&gt;</comment>
                            <comment id="17239" author="hassan" created="Wed, 3 Jun 2020 15:30:04 +0000"  >&lt;p&gt;From &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=arnaud.lefur&quot; class=&quot;user-hover&quot; rel=&quot;arnaud.lefur&quot;&gt;arnaud.lefur&lt;/a&gt;: not much can be done about this. We just need to monitor the situation regularly.&lt;/p&gt;</comment>
                            <comment id="17531" author="arnaud.lefur" created="Thu, 13 Aug 2020 17:09:02 +0000"  >&lt;p&gt;the bug again using only blue shutters.&lt;br/&gt;
board was stuck and needed to be power-cycled.&lt;/p&gt;


&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;alefur@shell-ics:~$ oneCmd.py enu_sm1 biasha raw=status                                                            
2020-08-13T16:00:44.454 sent enu_sm1 biasha raw=status (from alefur_shell_ics)                                     
2020-08-13T16:00:44.478 enu_sm1 : text=&quot;returned: 30&quot;                                                              
alefur@shell-ics:~$ oneCmd.py enu_sm1 biasha raw=statword                                                          
2020-08-13T16:01:01.772 sent enu_sm1 biasha raw=statword (from alefur_shell_ics)                                   
2020-08-13T16:01:01.792 enu_sm1 : text=&quot;returned: n&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="17838" author="arnaud.lefur" created="Wed, 7 Oct 2020 15:43:08 +0000"  >&lt;p&gt;happened again today !&lt;/p&gt;</comment>
                            <comment id="17840" author="hassan" created="Wed, 7 Oct 2020 15:55:57 +0000"  >&lt;p&gt;Requires a firmware update and discussions with LAM support on this.&lt;/p&gt;</comment>
                            <comment id="18022" author="hassan" created="Wed, 4 Nov 2020 15:36:51 +0000"  >&lt;p&gt;Arnaud will organize a meeting with LAM support (Philip?) to address this.&lt;/p&gt;</comment>
                            <comment id="18357" author="cloomis" created="Sun, 17 Jan 2021 18:51:32 +0000"  >&lt;p&gt;And on 2021-01-16:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2021-01-16 22:37:05.780Z biasha           10 bufferedSocket.py:64 sending b&apos;init\r\n&apos;
2021-01-16 22:37:05.795Z biasha           10 bufferedSocket.py:133 received &apos;ok&apos;
2021-01-16 22:37:05.798Z biasha           10 bufferedSocket.py:64 sending b&apos;blue_open\r\n&apos;
2021-01-16 22:37:05.811Z biasha           10 bufferedSocket.py:133 received &apos;nok&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="18589" author="hassan" created="Wed, 24 Feb 2021 15:34:51 +0000"  >&lt;p&gt;A similar problem is occurring at LAM (SM2). Arnaud will investigate this further at LAM.&lt;/p&gt;</comment>
                            <comment id="18962" author="hassan" created="Wed, 24 Mar 2021 15:13:22 +0000"  >&lt;p&gt;Arnaud starting testing at LAM. Ongoing.&lt;/p&gt;</comment>
                            <comment id="19073" author="arnaud.lefur" created="Wed, 31 Mar 2021 12:43:05 +0000"  >&lt;p&gt;currently running a fixed version on SM3.&lt;/p&gt;</comment>
                            <comment id="19137" author="hassan" created="Wed, 14 Apr 2021 15:04:27 +0000"  >&lt;p&gt;Problem not seen so far at LAM.&lt;/p&gt;</comment>
                            <comment id="19199" author="hassan" created="Thu, 22 Apr 2021 14:42:41 +0000"  >&lt;p&gt;Problem after firmware update at LAM, no further problems have been seen.&lt;/p&gt;

&lt;p&gt;Following discussions with Fabrice, Arnaud and Craig: will update the firmware further and coordinate with Subaru in ~ 1 month to install the updated firmware.&lt;/p&gt;
</comment>
                            <comment id="21070" author="fmadec" created="Wed, 2 Jun 2021 08:11:01 +0000"  >&lt;p&gt;Problem occured this morning at LAM with the new firmware version:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2021-06-02 07:15:05.729Z cmds &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;20 CommandLink.py:121 &amp;gt; 2 1048 f text=&quot;command failed: RuntimeError(&apos;error : shutter switch timeoutn&apos;) in _gotoState() at /software/mhs/p 
roducts/Linux64/ics_enuActor/1.1.8/python/enuActor/Controllers/biasha.py:347&quot; 
2021-06-02 07:15:53.886Z cmds &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;20 CommandLink.py:121 &amp;gt; 2 1050 f text=&quot;command failed: FysomError(&apos;event init inappropriate in current state FAILED&apos;) in fn() at /softwar 
e/conda/envs/conda-ics/lib/python3.7/site-packages/fysom/__init__.py:272&quot; 
2021-06-02 07:16:08.940Z cmds &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;20 CommandLink.py:121 &amp;gt; 0 0 w text=&quot;command failed: RuntimeError(&apos;statword 010100 &#160;does not match current state&apos;) in shutterStatus() at / 
software/mhs/products/Linux64/ics_enuActor/1.1.8/python/enuActor/Controllers/biasha.py:237&quot; 
2021-06-02 07:16:23.993Z cmds &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;20 CommandLink.py:121 &amp;gt; 0 0 w text=&quot;command failed: RuntimeError(&apos;statword 010100 &#160;does not match current state&apos;) in shutterStatus() at / 
software/mhs/products/Linux64/ics_enuActor/1.1.8/python/enuActor/Controllers/biasha.py:237&quot; 
2021-06-02 07:16:37.191Z cmds &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;20 CommandLink.py:121 &amp;gt; 2 1052 f text=&quot;command failed: FysomError(&apos;event init inappropriate in current state FAILED&apos;) in fn() at /softwar 
e/conda/envs/conda-ics/lib/python3.7/site-packages/fysom/__init__.py:272&quot; 
2021-06-02 07:16:52.244Z cmds &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;20 CommandLink.py:121 &amp;gt; 0 0 w text=&quot;command failed: RuntimeError(&apos;statword 010100 &#160;does not match current state&apos;) in shutterStatus() at / 
software/mhs/products/Linux64/ics_enuActor/1.1.8/python/enuActor/Controllers/biasha.py:237&quot; 
2021-06-02 07:17:07.297Z cmds &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;20 CommandLink.py:121 &amp;gt; 0 0 w text=&quot;command failed: RuntimeError(&apos;statword 010100 &#160;does not match current state&apos;) in shutterStatus() at / 
software/mhs/products/Linux64/ics_enuActor/1.1.8/python/enuActor/Controllers/biasha.py:237&quot; 
2021-06-02 07:17:20.296Z cmds &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;20 CommandLink.py:121 &amp;gt; 2 1054 f text=&quot;command failed: FysomError(&apos;event init inappropriate in current state FAILED&apos;) in fn() at /softwar 
e/conda/envs/conda-ics/lib/python3.7/site-packages/fysom/__init__.py:272&quot; 
2021-06-02 07:17:35.349Z cmds &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;20 CommandLink.py:121 &amp;gt; 0 0 w text=&quot;command failed: RuntimeError(&apos;statword 010100 &#160;does not match current state&apos;) in shutterStatus() at / 
so&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="21071" author="arnaud.lefur" created="Wed, 2 Jun 2021 13:17:24 +0000"  >&lt;p&gt;It looks like another issue.&lt;/p&gt;


&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2021-06-02 07:15:00.126Z cmds             20 CommandLink.py:121 &amp;gt; 2 1048 i elapsedTime=6.43                                                                         
2021-06-02 07:15:02.127Z cmds             20 CommandLink.py:121 &amp;gt; 2 1048 i elapsedTime=8.43      
2021-06-02 07:15:03.701Z cmds             20 CommandLink.py:121 &amp;gt; 0 0 i biashaFSM=ONLINE,BUSY      
2021-06-02 07:15:03.701Z cmds             20 CommandLink.py:121 &amp;gt; 0 0 i metaFSM=ONLINE,BUSY
2021-06-02 07:15:03.701Z biasha           10 bufferedSocket.py:64 sending b&apos;red_close\r\n&apos;                                                                                                                     
2021-06-02 07:15:05.722Z biasha           10 bufferedSocket.py:133 received &apos;shutter switch timeoutnok&apos;         
2021-06-02 07:15:05.722Z cmds             20 CommandLink.py:121 &amp;gt; 0 0 i biashaFSM=ONLINE,FAILED
2021-06-02 07:15:05.722Z cmds             20 CommandLink.py:121 &amp;gt; 0 0 i metaFSM=ONLINE,FAILED  
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;An exposure was being taken, the red shutter did not close as it&apos;s supposed to.&lt;br/&gt;
But the board itself was responding well:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2021-06-02 07:16:08.936Z biasha           10 bufferedSocket.py:133 received &apos;84ok&apos;                                                                                  
2021-06-02 07:16:08.936Z cmds             20 CommandLink.py:121 &amp;gt; 0 0 i shb=0,1,0                                                                                   
2021-06-02 07:16:08.937Z cmds             20 CommandLink.py:121 &amp;gt; 0 0 i shr=1,0,0                                                                                   
2021-06-02 07:16:08.937Z cmds             20 CommandLink.py:121 &amp;gt; 0 0 w shutters=undef                    
2021-06-02 07:16:08.940Z cmds             20 CommandLink.py:121 &amp;gt; 0 0 w text=&quot;command failed: RuntimeError(&apos;statword 010100  does not match current state&apos;) in shutterStatus() at /software/mhs/products/Linux64/ics_enuActor/1.1.8/python/enuActor/Controllers/biasha.py:237&quot;
2021-06-02 07:16:23.941Z cmds             20 CommandLink.py:121 &amp;gt; 0 0 i biashaFSM=ONLINE,FAILED                                                                     
2021-06-02 07:16:23.941Z cmds             20 CommandLink.py:121 &amp;gt; 0 0 i biashaMode=operation              
2021-06-02 07:16:23.942Z biasha           10 bufferedSocket.py:64 sending b&apos;status\r\n&apos;                                                                             
2021-06-02 07:16:23.947Z biasha           10 bufferedSocket.py:133 received &apos;0ok&apos;                                                                                   
2021-06-02 07:16:23.947Z cmds             20 CommandLink.py:121 &amp;gt; 0 0 i biasha=0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is reflected here, in biasha=0 both shutters are supposed to be closed, but red was actually still open.&lt;/p&gt;

&lt;p&gt;It would have been interesting to see whether a &lt;em&gt;biasha init&lt;/em&gt; command could fix the issue.&lt;/p&gt;</comment>
                            <comment id="21547" author="arnaud.lefur" created="Mon, 21 Jun 2021 18:24:02 +0000"  >&lt;p&gt;after 3 month of test, this mysterious bug never came back !&lt;br/&gt;
So let&apos;s declare victory now and close this ticket.&lt;br/&gt;
Will open a new one if it appears to be necessary.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="15541">INSTRM-1239</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="15515">INSTRM-1226</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="15528">INSTRM-1232</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzs4ye:i</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="78">SM1PD-2020 C</customfieldvalue>
    <customfieldvalue id="79">SM1PD-2020 D</customfieldvalue>
    <customfieldvalue id="80">SM1PD-2020 G</customfieldvalue>
    <customfieldvalue id="85">SM1PD-2020 G2</customfieldvalue>
    <customfieldvalue id="86">SM1PD-2020 H</customfieldvalue>
    <customfieldvalue id="87">SM1PD-2020 J</customfieldvalue>
    <customfieldvalue id="100">SM1PD-2021 A 3</customfieldvalue>
    <customfieldvalue id="101">SM1PD-2021 A 4</customfieldvalue>
    <customfieldvalue id="103">SM1PD-2021 A 5</customfieldvalue>
    <customfieldvalue id="104">SM1PD-2021 A 6</customfieldvalue>
    <customfieldvalue id="112">SM1PD-2021 A 11</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>