<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:42:13 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>[TRNSPRTPCE-86] Node disconnect tests in test_topology.py fail when trying to delete node in the openroadm-network</title>
                <link>https://jira.opendaylight.org/browse/TRNSPRTPCE-86</link>
                <project id="10178" key="TRNSPRTPCE">transportpce</project>
                    <description>&lt;p&gt;It seems that when deleting a node in the topology-netconf, it is also deleted in the openroadm-network. Therefore, when later trying to delete it in the openroadm-network it does not exist anymore and a 404 is returned.&lt;/p&gt;</description>
                <environment></environment>
        <key id="31430">TRNSPRTPCE-86</key>
            <summary>Node disconnect tests in test_topology.py fail when trying to delete node in the openroadm-network</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="cbetoule">Christophe BETOULE</assignee>
                                    <reporter username="ojnas">Jonas M&#229;rtensson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Feb 2019 13:43:01 +0000</created>
                <updated>Fri, 3 Sep 2021 13:01:41 +0000</updated>
                            <resolved>Mon, 29 Apr 2019 10:01:10 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                    <progress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </progress>
                                    <aggregateprogress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </aggregateprogress>
                                            <timeestimate seconds="0">0 minutes</timeestimate>
                            <timespent seconds="86400">3 days</timespent>
                                <comments>
                            <comment id="66438" author="atriki" created="Wed, 13 Feb 2019 16:30:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ojnas&quot; class=&quot;user-hover&quot; rel=&quot;ojnas&quot;&gt;ojnas&lt;/a&gt;jonas Can you please check if the new code resolve the problem?&lt;/p&gt;</comment>
                            <comment id="66441" author="ojnas" created="Wed, 13 Feb 2019 21:02:03 +0000"  >&lt;p&gt;The patch does not solve the issue since nodes are still deleted in the openroadm-network after being deleted in the topology-netconf. Note that the problem does not always happen since it may take some time before nodes are really deleted but if you introduce a few seconds delay before deleting nodes in the openroadm-network you will see that the nodes does not exist anymore causing the test to fail with a 404.&lt;/p&gt;

&lt;p&gt;More tests fail with this patch since nodes are not deleted in the clli-network after the failure to delete nodes in the openroadm-network. This causes some later getClliNetwork tests to fail.&lt;/p&gt;</comment>
                            <comment id="66442" author="guillaume.lambert@orange.com" created="Thu, 14 Feb 2019 10:59:55 +0000"  >&lt;p&gt;OK, so Ahmed maybe the first action to take is to modify the topology test suite to add this timer and expose the problem and then try to investigate with colleagues what is wrong in the current workflow before&#160;proposing a fix ( should the 2 actions be merged or should we fix&#160;the java code ? )&lt;/p&gt;</comment>
                            <comment id="66461" author="atriki" created="Mon, 18 Feb 2019 15:56:18 +0000"  >&lt;p&gt;As you can see in the patch 4, I have added a timer to be sure that the node disconnection process is well taken into account, so I get the bug as it is described by Jonas. When nodes are disconnected at the topology-netconf layer, they will be automatically disconnected at the openroadm-network as well. Therefore, they will not be found by ODL and the test fails. So I delete the part that concerns the node disconnection at the openroam-network. However, at the end of the test suite when all the nodes are disconnected, the roadm-to-roadm links are still exist (failure of the last test). We will check with the colleagues if this is normal!&lt;/p&gt;</comment>
                            <comment id="66550" author="orenais" created="Thu, 14 Mar 2019 09:09:57 +0000"  >&lt;p&gt;The fact that the node is automatically removed from network topollogy when it disapear from the netconf topology fits with expected behavior. So I guess we should modify or remove the test to fit with this.expected behavior. for what concerns link, we expect something different. The link state shall change, but the link shall not disappear, because the link is built in a two srtep process. Discovery (leveraging lldp), and consolidation, checking consistency with data that describe a link and are not known by the device (SRLG, PMD,...). So we shall not test that the link does or does not exist. Note that they are currently user stories adressing the process of OMS information consolidation (&lt;a href=&quot;https://jira.opendaylight.org/browse/TRNSPRTPCE-80&quot; title=&quot;OMS attribute feeling&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TRNSPRTPCE-80&quot;&gt;TRNSPRTPCE-80&lt;/a&gt;)&lt;/p&gt;</comment>
                    </comments>
                    <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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03frz:0i002qgi</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10001" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="16">Sprint 8</customfieldvalue>
    <customfieldvalue id="17">Sprint 9</customfieldvalue>

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