<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:27:36 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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[ODLPARENT-88] Testing of one karaf4 feature may take more than 10 minutes</title>
                <link>https://jira.opendaylight.org/browse/ODLPARENT-88</link>
                <project id="10149" key="ODLPARENT">odlparent</project>
                    <description>&lt;p&gt;A good examples of this bug would be &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;,&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;. Basicly singleFeatureTest somethimes failes just with - Build timed out (after 360 minutes). Marking the build as failed - which is timeout for whole build. Maximum time for one feature should be 10 minutes, But in those two examples you can see that time exceeds this 10 mins by far more. &lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/netconf-verify-carbon-mvn33-openjdk8/1685/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/job/netconf-verify-carbon-mvn33-openjdk8/1685/console&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/netconf-verify-carbon-mvn33-openjdk8/1678/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/job/netconf-verify-carbon-mvn33-openjdk8/1678/console&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22211">ODLPARENT-88</key>
            <summary>Testing of one karaf4 feature may take more than 10 minutes</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="miroslav.kovac@pantheon.tech">Miroslav Kovac</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Apr 2017 11:01:05 +0000</created>
                <updated>Mon, 6 Sep 2021 09:33:33 +0000</updated>
                            <resolved>Mon, 6 Sep 2021 09:33:33 +0000</resolved>
                                    <version>2.0.5</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="41987" author="rovarga" created="Thu, 4 May 2017 08:35:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/netconf-verify-carbon-mvn33-openjdk8/1685/archives/features/netconf-connector/odl-netconf-connector-all/target/surefire-reports/org.opendaylight.odlparent.featuretest.SingleFeatureTest-output.txt.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/netconf-verify-carbon-mvn33-openjdk8/1685/archives/features/netconf-connector/odl-netconf-connector-all/target/surefire-reports/org.opendaylight.odlparent.featuretest.SingleFeatureTest-output.txt.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This looks like the test itself failed in ~10 minutes:&lt;/p&gt;

&lt;p&gt;2017-04-28 08:23:59,907 | ERROR | ime-limited test | SingleFeatureTest                | 73 - PAXEXAM-PROBE-5faad4d3-3ec4-47f8-b247-0e475d126ba5 - 0.0.0 | installFeature() failed&lt;br/&gt;
java.lang.InterruptedException&lt;br/&gt;
	at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:404)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.FutureTask.get(FutureTask.java:191)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvisionInThread(FeaturesServiceImpl.java:1077)&lt;span class=&quot;error&quot;&gt;&amp;#91;8:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:954)&lt;span class=&quot;error&quot;&gt;&amp;#91;8:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:847)&lt;span class=&quot;error&quot;&gt;&amp;#91;8:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:832)&lt;span class=&quot;error&quot;&gt;&amp;#91;8:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:837)&lt;span class=&quot;error&quot;&gt;&amp;#91;8:org.apache.karaf.features.core:4.0.9&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.odlparent.featuretest.SingleFeatureTest.installFeature(SingleFeatureTest.java:368)&lt;br/&gt;
	at org.opendaylight.odlparent.featuretest.SingleFeatureTest.installFeatureCatchAndLog(SingleFeatureTest.java:338)&lt;br/&gt;
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.reflect.Method.invoke(Method.java:498)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)&lt;span class=&quot;error&quot;&gt;&amp;#91;71:org.ops4j.pax.tipi.junit:4.12.0.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)&lt;span class=&quot;error&quot;&gt;&amp;#91;71:org.ops4j.pax.tipi.junit:4.12.0.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)&lt;span class=&quot;error&quot;&gt;&amp;#91;71:org.ops4j.pax.tipi.junit:4.12.0.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)&lt;span class=&quot;error&quot;&gt;&amp;#91;71:org.ops4j.pax.tipi.junit:4.12.0.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)&lt;span class=&quot;error&quot;&gt;&amp;#91;71:org.ops4j.pax.tipi.junit:4.12.0.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)&lt;span class=&quot;error&quot;&gt;&amp;#91;71:org.ops4j.pax.tipi.junit:4.12.0.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;after which the container started stopping, but it seems the shutdown process hung on:&lt;/p&gt;

&lt;p&gt;2017-04-28 08:24:01,019 | INFO  | Framework stop   | Activator                        | 330 - org.ops4j.pax.web.pax-web-extender-war - 4.3.0 | Destroying extension for bundle org.opendaylight.aaa.idmlight&lt;/p&gt;</comment>
                            <comment id="41988" author="rovarga" created="Thu, 4 May 2017 08:44:32 +0000"  >&lt;p&gt;On odlparent side, we probably should instruct pax-exam to hard-kill the container after a installFeature() timeout.&lt;/p&gt;

&lt;p&gt;Furthermore we should dump the bundle status to identify who is holding up the startup.&lt;/p&gt;</comment>
                            <comment id="41989" author="vorburger" created="Thu, 4 May 2017 11:40:59 +0000"  >&lt;p&gt;&amp;gt; On odlparent side, we probably should instruct pax-exam to&lt;br/&gt;
&amp;gt; hard-kill the container after a installFeature() timeout.&lt;/p&gt;

&lt;p&gt;Hm, is there a ready-made option for this?  I don&apos;t recall seeing one..&lt;/p&gt;

&lt;p&gt;This may be more than 3&apos; of work and require contributing to PAX?&lt;/p&gt;

&lt;p&gt;&amp;gt; Furthermore we should dump the bundle status to&lt;br/&gt;
&amp;gt; identify who is holding up the startup.&lt;/p&gt;

&lt;p&gt;Following &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/51908/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/51908/&lt;/a&gt;, normally this should already happen?  It won&apos;t dump the status just when it times out, but normally should have just before?  (Using Awaitility, I&apos;m not sure we can do the dump just before the timeout; we may have to make a contribution to Awaitility &lt;span class=&quot;error&quot;&gt;&amp;#91;or justwrite the spin loop ourselves&amp;#93;&lt;/span&gt;; or perhaps we can catch InterruptedException and dump there.  But having it just a little earlier in the log as is already may be sufficient?)&lt;/p&gt;</comment>
                            <comment id="69607" author="rovarga" created="Mon, 6 Sep 2021 09:33:33 +0000"  >&lt;p&gt;Most SFTs finish in under a minute. There really is not much we can do on testing side to speed things up.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="22212">ODLPARENT-89</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8333</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=8333]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Improvement]]></customfieldvalue>

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

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