mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-14 02:58:10 +00:00
move to warning (#66)
This commit is contained in:
@ -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,
|
||||||
)
|
)
|
||||||
|
@ -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()
|
||||||
|
@ -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,
|
||||||
|
Reference in New Issue
Block a user