X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fintegrated%2Fcheck_crc.py;h=1d98a467e23deb824f21b4acce3be2eee337fba0;hb=HEAD;hp=9db8931ea7c79bf88183d7ac987831e7104b2ae4;hpb=0efd50d28d8809c4e89df40b0c828b7d93c79364;p=csit.git diff --git a/resources/tools/integrated/check_crc.py b/resources/tools/integrated/check_crc.py index 9db8931ea7..01a557c30c 100644 --- a/resources/tools/integrated/check_crc.py +++ b/resources/tools/integrated/check_crc.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -47,6 +47,7 @@ def main(): checker = VppApiCrcChecker(api_dir) try: checker.report_initial_conflicts(report_missing=True) + checker.print_warnings() except RuntimeError as err: stderr_lines = [ f"{err!r}", @@ -60,9 +61,13 @@ def main(): u"Either this Change and/or its ancestors were editing .api files,", u"or your chain is not rebased upon a recent enough VPP codebase.", u"", - u"Please rebase the patch to see if that fixes the problem.", - u"If that fails email csit-dev@lists.fd.io for a new", - u"operational branch supporting the api changes.", + u"In the former case, please consult the following document", + u"to see how to make CSIT accept the .api editing change.", + u"https://github.com/FDio/csit/blob/master/docs/" + u"automating_vpp_api_flag_day.rst", + u"For the latter case, please rebase the patch to see", + u"if that fixes the problem. If repeated rebases do not help", + u"send and email to csit-dev@lists.fd.io asking to investigate.", u"", u"@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", ]