move to warning (#66)

This commit is contained in:
bmc-msft
2020-10-01 15:37:01 -04:00
committed by GitHub
parent 5e3c79efd2
commit 27a798febe
3 changed files with 5 additions and 5 deletions

View File

@ -181,7 +181,7 @@ class Task(BASE_TASK, ORMMixin):
else: else:
return pool return pool
logging.warn( logging.warning(
"unable to find a scaleset that matches the task prereqs: %s", "unable to find a scaleset that matches the task prereqs: %s",
self.task_id, self.task_id,
) )

View File

@ -442,7 +442,7 @@ class TestOnefuzz:
""" stop a specific template """ """ stop a specific template """
if self.skip_cleanup: if self.skip_cleanup:
self.logger.warn("not cleaning up target: %s", target) self.logger.warning("not cleaning up target: %s", target)
else: else:
self.of.template.stop( self.of.template.stop(
self.project, self.project,
@ -456,7 +456,7 @@ class TestOnefuzz:
""" cleanup all of the integration pools & jobs """ """ cleanup all of the integration pools & jobs """
if self.skip_cleanup: if self.skip_cleanup:
self.logger.warn("not cleaning up") self.logger.warning("not cleaning up")
return True return True
self.logger.info("cleaning up") self.logger.info("cleaning up")
@ -527,7 +527,7 @@ class Run(Command):
tester.launch(samples) tester.launch(samples)
tester.check_jobs() tester.check_jobs()
if skip_repro: if skip_repro:
self.logger.warn("not testing crash repro") self.logger.warning("not testing crash repro")
else: else:
tester.launch_repro() tester.launch_repro()
tester.check_repro() tester.check_repro()

View File

@ -201,7 +201,7 @@ class Versions(Endpoint):
and api.patch >= cli.patch and api.patch >= cli.patch
) )
if cli_str == "0.0.0" and not result: if cli_str == "0.0.0" and not result:
self.logger.warn( self.logger.warning(
"ignoring compatibility check as the CLI was installed " "ignoring compatibility check as the CLI was installed "
"from git. api: %s cli: %s", "from git. api: %s cli: %s",
api_str, api_str,