Activity log for bug #1856354

Date Who What changed Old value New value Message
2019-12-13 19:53:30 Corey Bryant bug added bug
2019-12-13 19:57:25 Corey Bryant description The following tests are failing for python3: ============================== Failed 2 tests - output below: ============================== pypowervm.tests.tasks.test_vterm.TestVterm.test_open_vnc_vterm_nonascii ----------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/mock/mock.py", line 1330, in patched return func(*args, **keywargs) File "/home/corey/pkg/ussuri/upstream/pypowervm/pypowervm/tests/tasks/test_vterm.py", line 94, in test_open_vnc_vterm_nonascii vterm.open_localhost_vnc_vterm, self.adpt, '1', True) File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 485, in assertRaises self.assertThat(our_callable, matcher) File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: <function open_localhost_vnc_vterm at 0x7fb337211cb0> returned None pypowervm.tests.tasks.test_vterm.TestVterm.test_open_vnc_vterm_nonvnc_noforce ----------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/mock/mock.py", line 1330, in patched return func(*args, **keywargs) File "/home/corey/pkg/ussuri/upstream/pypowervm/pypowervm/tests/tasks/test_vterm.py", line 136, in test_open_vnc_vterm_nonvnc_noforce 'lpar_uuid') File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 485, in assertRaises self.assertThat(our_callable, matcher) File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: <function open_localhost_vnc_vterm at 0x7fb337211cb0> returned None I cloned the master branch of https://github.com/powervm/pypowervm and ran tox -e py37 and tox -e py38 with the same failures (note tox.ini needed minor updates to run those versions of python. But the same tests also appear to fail on py36. The following tests are failing for python3: ============================== Failed 2 tests - output below: ============================== pypowervm.tests.tasks.test_vterm.TestVterm.test_open_vnc_vterm_nonascii ----------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~     Traceback (most recent call last):       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/mock/mock.py", line 1330, in patched         return func(*args, **keywargs)       File "/home/corey/pkg/ussuri/upstream/pypowervm/pypowervm/tests/tasks/test_vterm.py", line 94, in test_open_vnc_vterm_nonascii         vterm.open_localhost_vnc_vterm, self.adpt, '1', True)       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 485, in assertRaises         self.assertThat(our_callable, matcher)       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat         raise mismatch_error     testtools.matchers._impl.MismatchError: <function open_localhost_vnc_vterm at 0x7fb337211cb0> returned None pypowervm.tests.tasks.test_vterm.TestVterm.test_open_vnc_vterm_nonvnc_noforce ----------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~     Traceback (most recent call last):       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/mock/mock.py", line 1330, in patched         return func(*args, **keywargs)       File "/home/corey/pkg/ussuri/upstream/pypowervm/pypowervm/tests/tasks/test_vterm.py", line 136, in test_open_vnc_vterm_nonvnc_noforce         'lpar_uuid')       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 485, in assertRaises         self.assertThat(our_callable, matcher)       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat         raise mismatch_error     testtools.matchers._impl.MismatchError: <function open_localhost_vnc_vterm at 0x7fb337211cb0> returned None
2019-12-13 19:57:31 Corey Bryant tags py38
2019-12-13 20:05:19 Corey Bryant description I cloned the master branch of https://github.com/powervm/pypowervm and ran tox -e py37 and tox -e py38 with the same failures (note tox.ini needed minor updates to run those versions of python. But the same tests also appear to fail on py36. The following tests are failing for python3: ============================== Failed 2 tests - output below: ============================== pypowervm.tests.tasks.test_vterm.TestVterm.test_open_vnc_vterm_nonascii ----------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~     Traceback (most recent call last):       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/mock/mock.py", line 1330, in patched         return func(*args, **keywargs)       File "/home/corey/pkg/ussuri/upstream/pypowervm/pypowervm/tests/tasks/test_vterm.py", line 94, in test_open_vnc_vterm_nonascii         vterm.open_localhost_vnc_vterm, self.adpt, '1', True)       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 485, in assertRaises         self.assertThat(our_callable, matcher)       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat         raise mismatch_error     testtools.matchers._impl.MismatchError: <function open_localhost_vnc_vterm at 0x7fb337211cb0> returned None pypowervm.tests.tasks.test_vterm.TestVterm.test_open_vnc_vterm_nonvnc_noforce ----------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~     Traceback (most recent call last):       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/mock/mock.py", line 1330, in patched         return func(*args, **keywargs)       File "/home/corey/pkg/ussuri/upstream/pypowervm/pypowervm/tests/tasks/test_vterm.py", line 136, in test_open_vnc_vterm_nonvnc_noforce         'lpar_uuid')       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 485, in assertRaises         self.assertThat(our_callable, matcher)       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat         raise mismatch_error     testtools.matchers._impl.MismatchError: <function open_localhost_vnc_vterm at 0x7fb337211cb0> returned None I cloned the master branch of https://github.com/powervm/pypowervm and ran tox -e py37 and tox -e py38 with the failures listed below. Note tox.ini needed minor updates to run those versions of python, but the same tests also appear to fail on py36. Also worth noting setup.cfg is only showing py3 support up to 3.5, which is really old. Programming Language :: Python :: 3.5 The following tests are failing for python3: ============================== Failed 2 tests - output below: ============================== pypowervm.tests.tasks.test_vterm.TestVterm.test_open_vnc_vterm_nonascii ----------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~     Traceback (most recent call last):       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/mock/mock.py", line 1330, in patched         return func(*args, **keywargs)       File "/home/corey/pkg/ussuri/upstream/pypowervm/pypowervm/tests/tasks/test_vterm.py", line 94, in test_open_vnc_vterm_nonascii         vterm.open_localhost_vnc_vterm, self.adpt, '1', True)       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 485, in assertRaises         self.assertThat(our_callable, matcher)       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat         raise mismatch_error     testtools.matchers._impl.MismatchError: <function open_localhost_vnc_vterm at 0x7fb337211cb0> returned None pypowervm.tests.tasks.test_vterm.TestVterm.test_open_vnc_vterm_nonvnc_noforce ----------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~     Traceback (most recent call last):       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/mock/mock.py", line 1330, in patched         return func(*args, **keywargs)       File "/home/corey/pkg/ussuri/upstream/pypowervm/pypowervm/tests/tasks/test_vterm.py", line 136, in test_open_vnc_vterm_nonvnc_noforce         'lpar_uuid')       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 485, in assertRaises         self.assertThat(our_callable, matcher)       File "/home/corey/pkg/ussuri/upstream/pypowervm/.tox/py37/lib/python3.7/site-packages/testtools/testcase.py", line 498, in assertThat         raise mismatch_error     testtools.matchers._impl.MismatchError: <function open_localhost_vnc_vterm at 0x7fb337211cb0> returned None