Closed lorenzobracciale closed 2 years ago
nel branch logger non funziona testbed/ddos_double_token_bucket_with_sampler.sh
il client da questi errori: FAIL: Attempt to fetch the hike_default package. This is a system package which is already installed. Error cloning the packages FAIL: <threading.Event object at 0x7fd0c44494c0> has type Event, but expected one of: bytes, unicode
il log del server e' questo: root@75749e467785:/opt/eclat-daemon/log# cat eclatd.log 08-09-2022 09:17:15 : INFO : 123 : Server started. Listening on port 50051 08-09-2022 09:17:18 : INFO : 41 : FetchConfiguration 08-09-2022 09:17:18 : ERROR : 49 : Exception occurred in FetchConfiguration Traceback (most recent call last): File "/opt/eclat-daemon/eclatd.py", line 44, in FetchConfiguration ret = self.controller.fetch_configuration( File "/opt/eclat-daemon/controller.py", line 76, in fetch_configuration pm.pull(package) File "/opt/eclat-daemon/package_manager.py", line 22, in pull raise Exception("Attempt to fetch the hike_default package. This is a system package which is already installed.") Exception: Attempt to fetch the hike_default package. This is a system package which is already installed. 08-09-2022 09:17:19 : ERROR : 77 : Exception occurred in Quit Traceback (most recent call last): File "/opt/eclat-daemon/eclatd.py", line 75, in Quit response.message = ret TypeError: <threading.Event object at 0x7f5a81cd3430> has type Event, but expected one of: bytes, unicode 08-09-2022 09:32:31 : INFO : 123 : Server started. Listening on port 50051 08-09-2022 09:32:35 : INFO : 41 : FetchConfiguration 08-09-2022 09:32:35 : ERROR : 49 : Exception occurred in FetchConfiguration Traceback (most recent call last): File "/opt/eclat-daemon/eclatd.py", line 44, in FetchConfiguration ret = self.controller.fetch_configuration( File "/opt/eclat-daemon/controller.py", line 76, in fetch_configuration pm.pull(package) File "/opt/eclat-daemon/package_manager.py", line 22, in pull raise Exception("Attempt to fetch the hike_default package. This is a system package which is already installed.") Exception: Attempt to fetch the hike_default package. This is a system package which is already installed. 08-09-2022 09:32:35 : ERROR : 77 : Exception occurred in Quit Traceback (most recent call last): File "/opt/eclat-daemon/eclatd.py", line 75, in Quit response.message = ret TypeError: <threading.Event object at 0x7f4a6cfd0430> has type Event, but expected one of: bytes, unicode
This notifies the user if she is fetching a package already downloaded (closes #74), shows error in nice way (fix #75) and implements python logger (resolve #55)