Commit 29692376 authored by douomo's avatar douomo
Browse files

Fixed type in alarmTest.robot

parent 871a44dd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -93,11 +93,10 @@ Mute ODU Receive RSL Alarms and Unmute
    ${notif_xml}=    Set Variable    ${notif.notification_xml}
    Should Not Be Empty    ${notif_xml}
    Log    ${notif_xml}    console=yes
    Should Not Be Empty    ${notif}
    #Should Not Be Empty    ${notif}
    Unmute ODU    ${t}    ${transmitter["testInterface"]}
    Set TX Power    ${t}    ${transmitter["testInterface"]}    ${transmitter["maxTxPower"]}    
    ${actual-recevied}=    Get Iface Metrics    ${m}    ${par["testInterface"]}    "actual-received-level"
    #Should Be True    ${actual-recevied}>0
    ${ok}=    Evaluate    float(${actual-recevied}) > -40
    Should Be True      ${ok}    msg=Actual RSL (${actual-recevied}) must be greater than -40
    Close Current Session    ${m}
+6 −6
Original line number Diff line number Diff line
@@ -2074,31 +2074,31 @@ storage = function () {
window.output = {};
</script>
<script type="text/javascript">
window.output["suite"] = [1,2,3,0,[],[0,0,1257],[[4,5,6,7,[],[0,17,1239],[],[[8,0,0,[],[0,156,1097,9],[[0,10,11,0,12,0,0,0,[1,157,2],[]],[0,13,11,0,14,0,0,0,[0,159,1092],[]],[0,15,16,0,17,0,0,0,[3,1251,0],[]],[0,18,11,0,19,0,0,0,[3,1253,0],[]]]],[20,0,0,[21],[0,1254,1,22],[]],[23,0,0,[21],[0,1255,0,22],[]],[24,0,0,[21],[0,1255,0,22],[]],[25,0,0,[21],[0,1256,0,22],[]]],[],[5,0,5,0]]],[],[],[5,0,5,0]];
window.output["suite"] = [1,2,3,0,[],[1,0,54],[],[[4,0,0,[],[1,52,2],[[0,5,0,0,0,0,0,0,[1,53,1],[[0,6,7,0,8,9,0,0,[1,53,0],[[54,2,10]]]]]]]],[],[1,1,0,0]];
</script>
<script type="text/javascript">
window.output["strings"] = [];
</script>
<script type="text/javascript">
window.output["strings"] = window.output["strings"].concat(["*","*Features","*/home/douomo/sampleTest/features","*features","*Simple VLAN management","*/home/douomo/sampleTest/features/vlan.feature","*features/vlan.feature","*<p>As a Network Controller, I want to deploy and remove VLANs on network elements.\x3c/p>","*Plain VLAN 100","*Execution terminated by signal","*Given the network mentioned in network.csv","*NetconfLibrary","*<p>Load network from CSV file.\x3c/p>","*When the controller deploys VLAN 100","*<p>Deploy a VLAN on all network elements. <code>vlan_id\x3c/code> is pushed in all NEs.\x3c/p>","*Then the traffic should pass on this VLAN","*TesterLibrary","*<p>Fails if the traffic don't pass on the VLAN.\x3c/p>","*And the VLAN 100 should be in the configuration","*<p>Verify that VLAN is deployed in all NEs configuration.\x3c/p>","*Plain VLAN 100 Removal","*robot:exit","*Test execution stopped due to a fatal error.","*Deploy VLAN independanly vlan_id = 100","*Deploy VLAN independanly vlan_id = 200","*Multiple VLANs"]);
window.output["strings"] = window.output["strings"].concat(["*","*Tmp","*/home/douomo/sampleTest/tmp.robot","*tmp.robot","*Test_1","*Query Alarms","*Should Not Be Empty","*BuiltIn","*<p>Verifies that the given item is not empty.\x3c/p>","*${string}","*Length is 16."]);
</script>
<script type="text/javascript">
window.output["stats"] = [[{"elapsed":"00:00:01","fail":5,"label":"All Tests","pass":0,"skip":0}],[{"combined":"NOT robot:exit","elapsed":"00:00:01","fail":1,"info":"combined","label":"NOT robot:exit","pass":0,"skip":0}],[{"elapsed":"00:00:01","fail":5,"id":"s1","label":"Features","name":"Features","pass":0,"skip":0},{"elapsed":"00:00:01","fail":5,"id":"s1-s1","label":"Features.Simple VLAN management","name":"Simple VLAN management","pass":0,"skip":0}]];
window.output["stats"] = [[{"elapsed":"00:00:00","fail":0,"label":"All Tests","pass":1,"skip":0}],[],[{"elapsed":"00:00:00","fail":0,"id":"s1","label":"Tmp","name":"Tmp","pass":1,"skip":0}]];
</script>
<script type="text/javascript">
window.output["errors"] = [];
</script>
<script type="text/javascript">
window.output["baseMillis"] = 1761144557679;
window.output["baseMillis"] = 1761574928810;
</script>
<script type="text/javascript">
window.output["generated"] = 1262;
window.output["generated"] = 57;
</script>
<script type="text/javascript">
window.output["expand_keywords"] = null;
</script>
<script type="text/javascript">
window.settings = {"defaultLevel":"INFO","minLevel":"NONE","reportURL":"report.html","rpa":false,"splitLogBase":"log","title":""};
window.settings = {"defaultLevel":"INFO","minLevel":"INFO","reportURL":"report.html","rpa":false,"splitLogBase":"log","title":""};
</script>
<title></title>
</head>
+14 −45
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 7.3.2 (Python 3.12.3 on linux)" generated="2025-10-22T16:49:17.678714" rpa="false" schemaversion="5">
<suite id="s1" name="Features" source="/home/douomo/sampleTest/features">
<suite id="s1-s1" name="Simple VLAN management" source="/home/douomo/sampleTest/features/vlan.feature">
<test id="s1-s1-t1" name="Plain VLAN 100" line="5">
<kw name="Given the network mentioned in network.csv" owner="NetconfLibrary" source_name="the network mentioned in ${network_filename}">
<doc>Load network from CSV file.</doc>
<status status="PASS" start="2025-10-22T16:49:17.835855" elapsed="0.001636"/>
<robot generator="Robot 7.3.2 (Python 3.12.3 on linux)" generated="2025-10-27T15:22:08.808847" rpa="false" schemaversion="5">
<suite id="s1" name="Tmp" source="/home/douomo/sampleTest/tmp.robot">
<test id="s1-t1" name="Test_1" line="11">
<kw name="Query Alarms">
<kw name="Should Not Be Empty" owner="BuiltIn">
<msg time="2025-10-27T15:22:08.863581" level="INFO">Length is 16.</msg>
<arg>${string}</arg>
<doc>Verifies that the given item is not empty.</doc>
<status status="PASS" start="2025-10-27T15:22:08.863385" elapsed="0.000273"/>
</kw>
<kw name="When the controller deploys VLAN 100" owner="NetconfLibrary" source_name="the controller deploys VLAN ${vlan_id}">
<doc>Deploy a VLAN on all network elements.
``vlan_id`` is pushed in all NEs.</doc>
<status status="FAIL" start="2025-10-22T16:49:17.837732" elapsed="1.091693">Execution terminated by signal</status>
<status status="PASS" start="2025-10-27T15:22:08.862768" elapsed="0.001035"/>
</kw>
<kw name="Then the traffic should pass on this VLAN" owner="TesterLibrary">
<doc>Fails if the traffic don't pass on the VLAN.</doc>
<status status="NOT RUN" start="2025-10-22T16:49:18.929918" elapsed="0.000068"/>
</kw>
<kw name="And the VLAN 100 should be in the configuration" owner="NetconfLibrary" source_name="the VLAN ${vlan_id} should be in the configuration">
<doc>Verify that VLAN is deployed in all NEs configuration.</doc>
<status status="NOT RUN" start="2025-10-22T16:49:18.931995" elapsed="0.000047"/>
</kw>
<status status="FAIL" start="2025-10-22T16:49:17.835051" elapsed="1.097295">Execution terminated by signal</status>
</test>
<test id="s1-s1-t2" name="Plain VLAN 100 Removal" line="12">
<tag>robot:exit</tag>
<status status="FAIL" start="2025-10-22T16:49:18.932696" elapsed="0.000627">Test execution stopped due to a fatal error.</status>
</test>
<test id="s1-s1-t3" name="Deploy VLAN independanly vlan_id = 100" line="18">
<tag>robot:exit</tag>
<status status="FAIL" start="2025-10-22T16:49:18.933531" elapsed="0.000390">Test execution stopped due to a fatal error.</status>
<status status="PASS" start="2025-10-27T15:22:08.862099" elapsed="0.001925"/>
</test>
<test id="s1-s1-t4" name="Deploy VLAN independanly vlan_id = 200" line="18">
<tag>robot:exit</tag>
<status status="FAIL" start="2025-10-22T16:49:18.934097" elapsed="0.000342">Test execution stopped due to a fatal error.</status>
</test>
<test id="s1-s1-t5" name="Multiple VLANs" line="30">
<tag>robot:exit</tag>
<status status="FAIL" start="2025-10-22T16:49:18.934665" elapsed="0.000294">Test execution stopped due to a fatal error.</status>
</test>
<doc>As a Network Controller,
    I want to deploy and remove VLANs on network elements.</doc>
<status status="FAIL" start="2025-10-22T16:49:17.696140" elapsed="1.239333"/>
</suite>
<status status="FAIL" start="2025-10-22T16:49:17.679489" elapsed="1.256713"/>
<status status="PASS" start="2025-10-27T15:22:08.810017" elapsed="0.054469"/>
</suite>
<statistics>
<total>
<stat pass="0" fail="5" skip="0">All Tests</stat>
<stat pass="1" fail="0" skip="0">All Tests</stat>
</total>
<tag>
<stat info="combined" combined="NOT robot:exit" pass="0" fail="1" skip="0">NOT robot:exit</stat>
</tag>
<suite>
<stat name="Features" id="s1" pass="0" fail="5" skip="0">Features</stat>
<stat name="Simple VLAN management" id="s1-s1" pass="0" fail="5" skip="0">Features.Simple VLAN management</stat>
<stat name="Tmp" id="s1" pass="1" fail="0" skip="0">Tmp</stat>
</suite>
</statistics>
<errors>
+5 −5
Original line number Diff line number Diff line
@@ -1887,22 +1887,22 @@ storage = function () {
window.output = {};
</script>
<script type="text/javascript">
window.output["suite"] = [1,2,3,0,[],[0,0,1257],[[4,5,6,7,[],[0,17,1239],[],[[8,0,0,[],[0,156,1097,9],[]],[10,0,0,[11],[0,1254,1,12],[]],[13,0,0,[11],[0,1255,0,12],[]],[14,0,0,[11],[0,1255,0,12],[]],[15,0,0,[11],[0,1256,0,12],[]]],[],[5,0,5,0]]],[],[],[5,0,5,0]];
window.output["suite"] = [1,2,3,0,[],[1,0,54],[],[[4,0,0,[],[1,52,2],[]]],[],[1,1,0,0]];
</script>
<script type="text/javascript">
window.output["strings"] = [];
</script>
<script type="text/javascript">
window.output["strings"] = window.output["strings"].concat(["*","*Features","*/home/douomo/sampleTest/features","*features","*Simple VLAN management","*/home/douomo/sampleTest/features/vlan.feature","*features/vlan.feature","*<p>As a Network Controller, I want to deploy and remove VLANs on network elements.\x3c/p>","*Plain VLAN 100","*Execution terminated by signal","*Plain VLAN 100 Removal","*robot:exit","*Test execution stopped due to a fatal error.","*Deploy VLAN independanly vlan_id = 100","*Deploy VLAN independanly vlan_id = 200","*Multiple VLANs"]);
window.output["strings"] = window.output["strings"].concat(["*","*Tmp","*/home/douomo/sampleTest/tmp.robot","*tmp.robot","*Test_1"]);
</script>
<script type="text/javascript">
window.output["stats"] = [[{"elapsed":"00:00:01","fail":5,"label":"All Tests","pass":0,"skip":0}],[{"combined":"NOT robot:exit","elapsed":"00:00:01","fail":1,"info":"combined","label":"NOT robot:exit","pass":0,"skip":0}],[{"elapsed":"00:00:01","fail":5,"id":"s1","label":"Features","name":"Features","pass":0,"skip":0},{"elapsed":"00:00:01","fail":5,"id":"s1-s1","label":"Features.Simple VLAN management","name":"Simple VLAN management","pass":0,"skip":0}]];
window.output["stats"] = [[{"elapsed":"00:00:00","fail":0,"label":"All Tests","pass":1,"skip":0}],[],[{"elapsed":"00:00:00","fail":0,"id":"s1","label":"Tmp","name":"Tmp","pass":1,"skip":0}]];
</script>
<script type="text/javascript">
window.output["baseMillis"] = 1761144557679;
window.output["baseMillis"] = 1761574928810;
</script>
<script type="text/javascript">
window.output["generated"] = 1262;
window.output["generated"] = 57;
</script>
<script type="text/javascript">
window.output["expand_keywords"] = null;