<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:16:03 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-1807] Stripes/UI module unit tests not executed in CI</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1807</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;It appears that frontend modules with unit tests are not executing correctly in CI. &lt;/p&gt;

&lt;p&gt;Jenkins console log:&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;+ xvfb-run &apos;--server-args=-screen 0 1024x768x24&apos; yarn test --karma.singleRun --karma.browsers ChromeDocker --karma.reporters mocha junit --coverage
yarn run v1.9.4
$ stripes test karma --karma.singleRun --karma.browsers ChromeDocker --karma.reporters mocha junit --coverage
Done in 0.78s.
[Pipeline] echo
All tests completed successfully.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There is no test output displayed in the log and the execution time is way to small (.78s) which leads me to believe the tests are not executed at all and a status of &apos;0&apos; is returned. &lt;/p&gt;
</description>
                <environment></environment>
        <key id="81088">FOLIO-1807</key>
            <summary>Stripes/UI module unit tests not executed in CI</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</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="10003">Done</resolution>
                                                        <assignee accountid="5f9abc1eb45b2e007453f423">John Malconian</assignee>
                                                                <reporter accountid="5f9abc1eb45b2e007453f423">John Malconian</reporter>
                                    <labels>
                            <label>ci</label>
                            <label>sprint57</label>
                    </labels>
                <created>Thu, 14 Feb 2019 18:49:23 +0000</created>
                <updated>Wed, 3 Jun 2020 16:39:31 +0000</updated>
                            <resolved>Thu, 14 Feb 2019 20:46:46 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="195556" author="5f9abc1eb45b2e007453f423" created="Thu, 14 Feb 2019 18:52:26 +0000"  >&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;See successful execution of tests on Feb 12.   So something has changes in the last two days or so.&lt;/li&gt;
	&lt;li&gt;Verified that there have been no changes to the jenkins shared pipeline libraries that invoke these tests.&lt;/li&gt;
	&lt;li&gt;Verified Jenkinsfile is configured correctly.&lt;/li&gt;
	&lt;li&gt;Verified Docker image used for CI builds has not recently changed.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                                                            <comment id="195559" author="5f9abc1eb45b2e007453f423" created="Thu, 14 Feb 2019 19:15:15 +0000"  >&lt;p&gt;I notice  in the last couple of days stripes-cli version has changed from @folio/stripes-cli@1.9.1000166 to @folio/stripes-cli@1.9.1000170.   Wondering if some change in stripes-cli behavior is affecting this.  &lt;/p&gt;

&lt;p&gt;When I run the tests manually in the CI build env, they run fine.  &lt;/p&gt;</comment>
                                                            <comment id="195563" author="5f9abc1eb45b2e007453f423" created="Thu, 14 Feb 2019 19:29:46 +0000"  >&lt;p&gt;Verified that when pinning stripes-cli to @folio/stripes-cli@1.9.1000166,   the tests are executed in CI.  &lt;/p&gt;</comment>
                                                            <comment id="195565" author="5f9abc1eb45b2e007453f423" created="Thu, 14 Feb 2019 19:33:43 +0000"  >&lt;p&gt;Tests are invoked in CI by invoking a virtual frame buffer (needed in order to run in Docker).  &lt;/p&gt;

&lt;p&gt; xvfb-run &apos;--server-args=-screen 0 1024x768x24&apos; yarn test --karma.singleRun --karma.browsers ChromeDocker --karma.reporters mocha junit --coverage&lt;/p&gt;

&lt;p&gt;Running this command manually in CI build environment does execute the tests,  but when this invoked in Jenkins with stripes-cli 1.9.1000170,  it doesn&apos;t appear anything is invoked. &lt;/p&gt;</comment>
                                                            <comment id="195570" author="5f9abc1eb45b2e007453f423" created="Thu, 14 Feb 2019 19:45:02 +0000"  >&lt;p&gt;The exact version of stripes-cli where behavior has changed is @folio/stripes-cli@1.9.1000168.  &lt;/p&gt;
</comment>
                                                            <comment id="195574" author="5f9abc1eb45b2e007453f423" created="Thu, 14 Feb 2019 20:46:21 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A624212b9-5938-4e3b-84c6-8c8a8db84996&quot; class=&quot;user-hover&quot; rel=&quot;557058:624212b9-5938-4e3b-84c6-8c8a8db84996&quot; data-account-id=&quot;557058:624212b9-5938-4e3b-84c6-8c8a8db84996&quot; accountid=&quot;557058:624212b9-5938-4e3b-84c6-8c8a8db84996&quot; rel=&quot;noreferrer&quot;&gt;Matthew Jones&lt;/a&gt; has implemented a fix in stripes-cli and released to master.  Issue is resolved in &lt;a href=&quot;https://github.com/folio-org/stripes-cli/pull/173&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/stripes-cli/pull/173&lt;/a&gt;.   The issue was caused by changes in stripes-cli related to stdin handling, and, in particular, cases where a tty is not present (ala Jenkins).    For posterity purposes,  it&apos;s worth noting that wrapping a command that requires a tty in a &apos;script&apos; command is a viable woprkaround to bypass this limitation.  Example: &lt;/p&gt;

&lt;p&gt;script --return -c &apos;xvfb-run --server-args=&quot;-screen 0 1024x768x24&quot; yarn test --karma.singleRun --karma.browsers ChromeDocker --karma.reporters mocha junit --coverage&apos; /dev/null&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="71496">STCLI-131</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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="10144"><![CDATA[Core: Platform]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </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>