Re: Build failure on integration/test gerrit patches


Sam Hague <shague@...>
 

Looks like a new version of flake8 was pushed last night and our files don't like it. v3.6.0 is new, so I pushed the patch below to roll it back to 3.5.0. That works locally so it should be fine also upstream. Let's see if Thanh has a different fix, but this will get us by in the short-term.


On Wed, Oct 24, 2018 at 1:04 PM Faseela K <faseela.k@...> wrote:

+ integration-dev

 

From: R P Karthika .
Sent: Wednesday, October 24, 2018 9:33 PM
To: Jamo Luhrsen <jluhrsen@...>
Cc: Faseela K <faseela.k@...>
Subject: Build failure on gerrit patches

 

Hi Jamo,

In both my COE-CSIT patches [1] and [2] releng build verification is failing with the following error.

 

ERROR: invocation failed (exit code 1), logfile: /w/workspace/integration-test-tox-verify-master/.tox/pep8/log/pep8-2.log

ERROR: actionid: pep8

msg: runtests

cmdargs: ['/w/workspace/integration-test-tox-verify-master/.tox/pep8/bin/flake8']

 

./csit/libraries/ClusterStateLibrary.py:50:27: W504 line break after binary operator

                    print("Try" + str(j) + ":An error occurred when finding leader on" + ip +

                          ^

./csit/libraries/UtilLibrary.py:240:11: W605 invalid escape sequence '\s'

        controller_regex_string = "[\s\S]*" + isolated_controller + " *" + controller + "[\s\S]*"

          ^

./csit/libraries/UtilLibrary.py:240:11: W605 invalid escape sequence '\s'

        controller_regex_string = "[\s\S]*" + isolated_controller + " *" + controller + "[\s\S]*"

          ^

./csit/libraries/UtilLibrary.py:240:13: W605 invalid escape sequence '\S'

        controller_regex_string = "[\s\S]*" + isolated_controller + " *" + controller + "[\s\S]*"

            ^

 

Full log link : https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/integration-test-tox-verify-master/5202/console.log.gz

[1] : https://git.opendaylight.org/gerrit/#/c/73654/

[2] : https://git.opendaylight.org/gerrit/#/c/75172/

 

Is anything broken?

 

 

 

 

Regards,

R P Karthika

_______________________________________________
integration-dev mailing list
integration-dev@...
https://lists.opendaylight.org/mailman/listinfo/integration-dev

Join integration-dev@lists.opendaylight.org to automatically receive all group messages.