F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Avihay_140840's avatar
Avihay_140840
Icon for Nimbostratus rankNimbostratus
Jan 14, 2014

Testing f5 load balance api

Hi, I'm running tests for f5 load balancer. Using bigsuds.BIGIP(hostname=host, username=user, password=pwd) and calling LocalLB.get_member_v2 .

 

Running with python unitest it is all fine "python -m unittest discover" Running with nosetest it is failing "nosetests test_F5Api.py" same result with pycharm unitest vs nosetest

 

The error is: raise Connecti ('iControl call failed, possibly invalid ' Connecti : iControl call failed, possibly invalid credentials.

 

Any reason why I get these difference ?

 

Thx, Avihay

 

1 Reply

  • Hi, I found the answer, The default log level is different, nosetest as default uses debug, and from some reason the debug message is getting stuck and time out exception throw. the error message was confusing. the workaround is adding to command-line --logging-level=INFO nosetests test_F5Api.py --logging-level=INFO

     

    I do not have an answer why the log got stuck or how to solve this stuck.

     

    Avihay