<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:24:34 UTC 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 add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-2964] &quot;NPM Install&quot; sometimes dies in Jenkins with network connection problems</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2964</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;UI builds occasionally fail in Jenkins during the &quot;NPM Install&quot; step with this error:&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;
There appears to be trouble with your network connection. Retrying...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Specifically, this is a problem for the builds on master that are triggered automatically whenever a PR merges because the failure is silent. From a developer&apos;s point of view, the PR merged successfully (indeed, it did) but there is no indication that the subsequent &lt;tt&gt;master&lt;/tt&gt; build, which actually publishes those changes to our NPM repository (thus allowing them to be picked up by the automated reference builds), has failed. &lt;/p&gt;

&lt;p&gt;The problem can almost always be overcome by restarting the build, usually just once, but sometimes it takes a few tries. It is neither frequent nor rare, and while it&apos;s easy to deal with if you know how, it&apos;s a bit of a mystery if you don&apos;t. Multiplied across the dozens of UI repositories we maintain, it starts to feel like death by a thousand papercuts. &lt;/p&gt;

&lt;p&gt;I started seeing this error around November 2020. It seems to get worse during release weeks when many people are hammering on Jenkins, but it continues to show up even when the Jenkins job queue is empty. &lt;/p&gt;</description>
                <environment></environment>
        <key id="81874">FOLIO-2964</key>
            <summary>&quot;NPM Install&quot; sometimes dies in Jenkins with network connection problems</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Won&apos;t Do</resolution>
                                                        <assignee accountid="-1">Unassigned</assignee>
                                                                <reporter accountid="615afd1cd9820f0070a09ef0">Zak Burke</reporter>
                                    <labels>
                    </labels>
                <created>Fri, 15 Jan 2021 18:55:50 +0000</created>
                <updated>Thu, 22 Sep 2022 17:18:34 +0000</updated>
                            <resolved>Thu, 22 Sep 2022 17:18:34 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                                                            <comment id="198708" author="615afd1cd9820f0070a09ef0" created="Thu, 21 Jan 2021 02:39:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/folio-org/job/stripes-components/job/master/1248/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;It continues&lt;/a&gt;.&lt;/p&gt;</comment>
                                                            <comment id="198710" author="615afd1cd9820f0070a09ef0" created="Thu, 21 Jan 2021 20:27:09 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/folio-org/job/stripes-components/job/master/1251/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;Still going&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="198711" author="615afd1cd9820f0070a09ef0" created="Fri, 22 Jan 2021 19:30:44 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/folio-org/job/stripes-components/job/master/1254/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;And again&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="198713" author="615afd1cd9820f0070a09ef0" created="Fri, 22 Jan 2021 19:39:39 +0000"  >&lt;p&gt;NB: updated the description to indicate why this failure is such a problem: &lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Specifically, this is a problem for the builds on master that are triggered automatically whenever a PR merges because the failure is silent. From a developer&apos;s point of view, the PR merged successfully (indeed, it did) but there is no indication that the subsequent &lt;tt&gt;master&lt;/tt&gt; build, which actually publishes those changes to our NPM repository (thus allowing them to be picked up by the automated reference builds), has failed. &lt;/p&gt;&lt;/blockquote&gt;</comment>
                                                            <comment id="198715" author="615afd1cd9820f0070a09ef0" created="Fri, 22 Jan 2021 22:41:22 +0000"  >&lt;p&gt;(Also, &lt;a href=&quot;https://jenkins-aws.indexdata.com/job/folio-org/job/ui-search/job/PR-248/14/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;it&apos;s not just stripes-components/not just master builds&lt;/a&gt;)&lt;/p&gt;</comment>
                                                            <comment id="198717" author="615afd1cd9820f0070a09ef0" created="Fri, 29 Jan 2021 12:02:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/folio-org/job/ui-erm-usage/job/master/261/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;ui-erm-usage&lt;/a&gt; and &lt;a href=&quot;https://jenkins-aws.indexdata.com/job/folio-org/job/ui-finance/job/master/441/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;ui-finance&lt;/a&gt;.&lt;/p&gt;</comment>
                                                            <comment id="198719" author="615afd1cd9820f0070a09ef0" created="Mon, 8 Feb 2021 18:21:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/folio-org/job/ui-calendar/job/master/97/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;ui-calendar&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="198721" author="615afd1cd9820f0070a09ef0" created="Fri, 19 Feb 2021 19:53:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/folio-org/job/ui-requests/view/change-requests/job/PR-707/4/consoleText&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;ui-requests&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="198722" author="615afd1cd9820f0070a09ef0" created="Mon, 1 Mar 2021 17:13:13 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jenkins-aws.indexdata.com/job/folio-org/job/ui-developer/view/change-requests/job/PR-217/2/consoleText&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;ui-developer&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="198724" author="5bffed52a1b46046f530c8f7" created="Mon, 1 Mar 2021 17:20:50 +0000"  >&lt;p&gt;Another manifestation of the same problem prevents new code from being merged at all: for example, I just made a trivial pull-request that fixes two lint errors in ui-developer. That PR failed the tests even though ui-developer doesn&apos;t even &lt;em&gt;have&lt;/em&gt; any damn tests, because the NPM installation required to get ui-developer to the point where we can run &lt;tt&gt;yarn test&lt;/tt&gt; (and see the message &lt;tt&gt;placeholder. no tests implemented&lt;/tt&gt;) failed. So now I am babysitting Jenkins&apos; repeated attempts to run this process to completion.&lt;/p&gt;

&lt;p&gt;Need I saw what a monumental waste of time, energy and morale this is? Not just for me, but for every other developer who has to hit Jenkins repeatedly with a big hammer every time they want to fix a trivial lint error or correct a typo?&lt;/p&gt;

&lt;p&gt;I don&apos;t know what causes this, and I have no idea how to fix it, but I really really really want us to take it seriously, It&apos;s a huge drag on productivity, and it affects &lt;em&gt;every&lt;/em&gt; front-end developer.&lt;/p&gt;</comment>
                                                            <comment id="198727" author="5bffed52a1b46046f530c8f7" created="Mon, 1 Mar 2021 17:21:49 +0000"  >&lt;p&gt;I&apos;ve gone ahead and marked this P2. (Not P1 because it doesn&apos;t quite actually &lt;em&gt;prevent&lt;/em&gt; us from getting UI work done; it just makes that work take longer than it ought to, and imposes a cognitive/temporal tax on being a good citizen.)&lt;/p&gt;</comment>
                                                            <comment id="198729" author="615afd1cd9820f0070a09ef0" created="Mon, 1 Mar 2021 17:57:58 +0000"  >&lt;p&gt;FYI from #devops: (a) this can&apos;t be reliably reproduced, which makes it an absolute bear to troubleshoot, though we have tried a few things. (b) other options we can try cost actual cash money, which maybe is OK, but we can&apos;t just blindly pursue these options; we are bringing this to the attn of the people with the purse strings. &lt;/p&gt;</comment>
                                                            <comment id="198731" author="615afd1cd9820f0070a09ef0" created="Thu, 22 Sep 2022 17:18:34 +0000"  >&lt;p&gt;UI builds have moved to GitHub actions, with a few exceptions, and consequently these failures on Jenkins are no longer frequent enough to be a concern.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i028fj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 1 Mar 2021 17:20:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>