Ole,

 

My plugin's python test (uses Python3) ran fine until I used a latest gerrit
vpp repo today. I get the following error:

 

   super(TestUPF6, self).tearDown()

  File "/home/hemant/vpp/test/framework.py", line 798, in tearDown

    self.logger.info(self.statistics.set_errors_str())

  File "/home/hemant/vpp/src/vpp-api/python/vpp_papi/vpp_stats.py", line
230, in set_errors_str

    error_counters = self.set_errors()

  File "/home/hemant/vpp/src/vpp-api/python/vpp_papi/vpp_stats.py", line
213, in set_errors

    self.connect()

  File "/home/hemant/vpp/src/vpp-api/python/vpp_papi/vpp_stats.py", line
135, in connect

    socket.close(mfd)

AttributeError: module 'socket' has no attribute 'close' 

 

"git blame" shows this checkin that has caused the issue.

 

e66443c9b4 (Ole Troan               2021-03-18 11:12:01 +0100 135)
socket.close(mfd)

 

Should we file a JIRA issue to fix the problem?

 

Thanks,

 

Hemant

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19203): https://lists.fd.io/g/vpp-dev/message/19203
Mute This Topic: https://lists.fd.io/mt/82104033/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to