<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:47:47 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>[PIPE2D-53] tests/testDRP.py will fail on modern Mac OS</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-53</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;drp_stella&apos;s &lt;tt&gt;tests/testDRP.py&lt;/tt&gt; contains the line:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
print subprocess.Popen(&lt;span class=&quot;code-quote&quot;&gt;&quot;bin.src/reduceArcRefSpec.py %s --id visit=%d --refSpec %s --lineList %s --loglevel &lt;span class=&quot;code-quote&quot;&gt;&apos;info&apos;&lt;/span&gt; --calib %s --output %s --clobber-config&quot;&lt;/span&gt; % (self.testDataDir, self.arcVisit, self.refSpec, self.lineList, self.testCalibDir, self.testDataDir), shell=True)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;On Mac OS &amp;gt;= 10.11, this will produce the following result:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
self.testDataDir = &amp;lt; /Users/jds/Projects/Astronomy/PFS/src/drp_stella_data/tests/data/ &amp;gt;
self.testCalibDir = &amp;lt; /Users/jds/Projects/Astronomy/PFS/src/drp_stella_data/tests/data/CALIB/ &amp;gt;
self.arcVisit = &amp;lt; 4 &amp;gt;
self.refSpec = &amp;lt; /Users/jds/Projects/Astronomy/PFS/src/obs_pfs/pfs/arcSpectra/refSpec_CdHgKrNeXe_red.fits &amp;gt;
self.lineList = &amp;lt; /Users/jds/Projects/Astronomy/PFS/src/obs_pfs/pfs/lineLists/CdHgKrNeXe_red.fits &amp;gt;
os.environ[&lt;span class=&quot;code-quote&quot;&gt;&apos;OBS_PFS_DIR&apos;&lt;/span&gt;] = &amp;lt; /Users/jds/Projects/Astronomy/PFS/src/obs_pfs &amp;gt;
&amp;lt;subprocess.Popen object at 0x114f36c90&amp;gt;
.
----------------------------------------------------------------------
Ran 1 test in 0.004s

OK
Could not &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; lsstcppimport; please ensure the base &lt;span class=&quot;code-keyword&quot;&gt;package&lt;/span&gt; has been built (not just setup).

Traceback (most recent call last):
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;bin.src/reduceArcRefSpec.py&quot;&lt;/span&gt;, line 3, in &amp;lt;module&amp;gt;
    from pfs.drp.stella.reduceArcRefSpecTask &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; ReduceArcRefSpecTask
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/Users/jds/Projects/Astronomy/PFS/src/drp_stella/python/pfs/drp/stella/__init__.py&quot;&lt;/span&gt;, line 1, in &amp;lt;module&amp;gt;
    from stellaLib &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; *
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/Users/jds/Projects/Astronomy/PFS/src/drp_stella/python/pfs/drp/stella/stellaLib.py&quot;&lt;/span&gt;, line 34, in &amp;lt;module&amp;gt;
    _stellaLib = swig_import_helper()
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/Users/jds/Projects/Astronomy/PFS/src/drp_stella/python/pfs/drp/stella/stellaLib.py&quot;&lt;/span&gt;, line 30, in swig_import_helper
    _mod = imp.load_module(&lt;span class=&quot;code-quote&quot;&gt;&apos;_stellaLib&apos;&lt;/span&gt;, fp, pathname, description)
  File &lt;span class=&quot;code-quote&quot;&gt;&quot;/Users/jds/Projects/Astronomy/LSST/stack/DarwinX86/base/12.0-4-g0d328d3/python/lsstimport.py&quot;&lt;/span&gt;, line 107, in imp_load_module
    module = orig_imp_load_module(name, *args)
ImportError: dlopen(/Users/jds/Projects/Astronomy/PFS/src/drp_stella/python/pfs/drp/stella/_stellaLib.so, 2): Library not loaded: libdrp_stella.dylib
  Referenced from: /Users/jds/Projects/Astronomy/PFS/src/drp_stella/python/pfs/drp/stella/_stellaLib.so
  Reason: image not found
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Two problems here:&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;The test is obviously not being run, due to issues with SIP;&lt;/li&gt;
	&lt;li&gt;Despite crashing and burning like this, we&apos;re still reporting it as a success.&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="11108">PIPE2D-53</key>
            <summary>tests/testDRP.py will fail on modern Mac OS</summary>
                <type id="1" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10503&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/major.svg">Major</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="aritter">aritter</assignee>
                                    <reporter username="swinbank">swinbank</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 Jul 2016 16:04:48 +0000</created>
                <updated>Mon, 13 Mar 2017 18:49:55 +0000</updated>
                            <resolved>Mon, 13 Mar 2017 18:49:55 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="11510" author="rhl" created="Mon, 7 Nov 2016 20:23:11 +0000"  >&lt;p&gt;The runPipeline script will have the same problem with SIP, and should be fixed the same way; I think that adding&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
export LD_LIBRARY_PATH=$LSST_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$LSST_LIBRARY_PATH
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;is all that is required for a shell script.&lt;/p&gt;</comment>
                            <comment id="11925" author="aritter" created="Fri, 10 Mar 2017 21:36:50 +0000"  >&lt;p&gt;The check of the return values will be done in ticket &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-69&quot; title=&quot;tests/testDrp.py fails without returning an error code on os/x 10.11&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-69&quot;&gt;&lt;del&gt;PIPE2D-69&lt;/del&gt;&lt;/a&gt;. This ticket is only to make the integration test run again, which it does thanks to your help! &lt;img class=&quot;emoticon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="11928" author="swinbank" created="Fri, 10 Mar 2017 23:30:41 +0000"  >&lt;p&gt;Looks fine. Shame we&apos;re still pulling in so much other... &lt;b&gt;stuff&lt;/b&gt; on tickets (of the 7 commits, only a couple are actually relevant here), but at least the overall diff is small enough to be readable this time.&lt;/p&gt;

&lt;p&gt;&lt;img class=&quot;emoticon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/emoticons/thumbs_up.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="11929" author="aritter" created="Mon, 13 Mar 2017 18:49:55 +0000"  >&lt;p&gt;Merged into master&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="11132">PIPE2D-69</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|ii00v2:y</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10100" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Reviewers</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>swinbank</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="22">2014-16</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>