Hi Jose Luis,
Sorry, I was on PTO last week. I think this is part of the modifications 
performed to get more accurate response codes. When a delete operation is 
executed on a non-existent resource it is ok to return 404.
We will have to modify our test cases to allow for 404 in DELETE operations 
when no resource exists. As a matter of fact, you can find some places where 
there is an attempt to add support for this (check line 344  in [0])

BR,
Miguel Ángel.


[0] 
https://git.opendaylight.org/gerrit/gitweb?p=integration/test.git;a=blob;f=csit/libraries/TemplatedRequests.robot;h=992bd9ee3a9b7772bfce83e27f81d2d3806eeccc;hb=HEAD#l344


From: sfc-dev-boun...@lists.opendaylight.org 
[mailto:sfc-dev-boun...@lists.opendaylight.org] On Behalf Of Jose Luis Franco 
Arza
Sent: viernes, 26 de agosto de 2016 10:25
To: sfc-dev@lists.opendaylight.org
Subject: [sfc-dev] SFC Robot Tests

Hello all,

My name is Jose Luis and I am working for the ODL SFC project here at Ericsson.

I am setting up the Robot framework and analyzing the integration tests for SFC 
following the instructions from 
https://wiki.opendaylight.org/view/CrossProject:Integration_Group:Download_and_Run_System_Test
 . When I ran the SFC_Basic test suite most of the tests failed.
The reason seems to be that each of the tests is calling to "Remove All 
Elements at URI" (as a clean up pre-test) which sends a delete to the RESTCONF 
interface for all the service-functions and it expects the response to be a 
200, 201 or 204. This result is correct when some service-function exists in 
the configuration. But I observed that when there are no service-functions 
configured, the RESTCONF Delete operations returns a 404 instead (tested in 
stable/boron)

I went to the Jenkins SFC tests results and saw that the same results are 
obtained: 
https://jenkins.opendaylight.org/releng/view/sfc/job/sfc-csit-3node-rest-basic-all-boron/99/robot/sfc-rest-basic.txt/Sfc%20Service%20Functions/Get%20one%20Service%20Function/

I am newbie in the open source world so, I would like to ask you: how does it 
work if I would like to fix this test cases? Can I just start changing the 
tests right away? Or is there any test coordinator for the project which I 
should contact first?

Thank you very much for your help.

Best Regards,
Jose Luis

_______________________________________________
sfc-dev mailing list
sfc-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/sfc-dev

Reply via email to