[INTTEST-105] Migrate Tests to Python 3 Created: 20/Jun/20  Updated: 22/Jun/20

Status: Open
Project: integration-test
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Venkatrangan Govindarajan Assignee: Venkatrangan Govindarajan
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Recently the robot environment has been migrated to Python 3, causing the tests to fail. The tests for all projects are failing.



 Comments   
Comment by Kailash Khalasi [ 22/Jun/20 ]

HttpLibrary.HTTP was deprecated for Robot Framework 3.1......its not importable using python3

 

So any keywords that are being used from the HTTPLibrary need to be removed/replaced with keywords from supported libraries. 

Comment by Jamo Luhrsen [ 22/Jun/20 ]

doesn't look like a lot:

csit/suites/aaa/authn/010_Credential_Authentication.robot
7:Library           HttpLibrary.HTTP

csit/libraries/TsdrUtils.robot
11:Library           HttpLibrary.HTTP

csit/suites/sfc/SFC_Persistency/020__sfc_persistency.robot
9:Library           HttpLibrary.HTTP

csit/suites/sfc/SFC_Basic/070__sfc_rendered_service_paths.robot
9:Library           HttpLibrary.HTTP

csit/suites/sfc/Full_Deploy/015__sfc_rendered_service_paths_logical.robot
9:Library           HttpLibrary.HTTP

csit/suites/backuprestore/br-basic/020__br_sfc_tests.robot
9:Library           HttpLibrary.HTTP

csit/suites/nic/basic/010_Restconf_OK.robot
7:Library           HttpLibrary.HTTP

I'll work on this part.

Comment by Kailash Khalasi [ 22/Jun/20 ]

This KW needs to be removed and any tests using it needs to be updated - 

 

Extract Value From Content

I will work on that. 

Comment by Jamo Luhrsen [ 22/Jun/20 ]

here are some patches that will get rid of all usages of HTTP library:
https://git.opendaylight.org/gerrit/q/topic:%22INTTEST-105%22+(status:open%20OR%20status:merged)

Generated at Wed Feb 07 20:04:35 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.