FailedOk

th/SRPMS[OK]
th/x32[OK]
th/i686[OK]
th/x86_64[OK]

ac/SRPMS[OK]
ac/i386[OK]
ac/i586[OK]
ac/i686[OK]
ac/alpha[OK]
ac/amd64[OK]
ac/athlon[OK]
ac/ppc[OK]
ac/sparc[OK]
ac/sparc64[OK]

Advanced Search
main()
Powered by PLD Linux
(c) 2002-2020 PLD Team
$Revision: 1.37 $
Powered by Dark Side of the Force.
Your IP: 3.92.74.105

python-ipykernel 606232c3-644d-4081-b660-45e8bf1a11f5

Status:Failed
Source URL:https://buildlogs.pld-linux.org/pld/th/i686/FAIL/python-ipykernel,606232c3-644d-4081-b660-45e8bf1a11f5.bz2
text/plain URL:View!
full text:View!
rpm -qa of builder:View!
Date:2020/09/15 19:46:06
Runtime:0:01:03.870664

Toc:

  • error 1
  • Exception AttributeError: "'NoneType' object has no attribute 'ref'" in <bound method Socket.__del__ of <zmq.sugar.socket.Socket object at 0xee5d3224>> ignored
  • error 2
  • Exception AttributeError: "'NoneType' object has no attribute 'ref'" in <bound method Socket.__del__ of <zmq.sugar.socket.Socket object at 0xee5d3304>> ignored
  • error 3
  • E AssertionError: assert None == 'foobar'
  • error 4
  • E KeyError: 'foo'
  • error 5
  • E AssertionError: assert 'error' == 'ok'
  • error 6
  • E AssertionError: {'ename': 'TypeError', 'engine_info': {'engine_id': -1, 'engine_uuid': '52cb46e5-96d9-4f53-89cf-e756deb690f5', 'method': 'execute'}, 'evalue': 'required field "type_ignores" missing from Module', 'execution_count': 2, ...}
  • error 7
  • E AssertionError: assert '' == 'True'
  • error 8
  • E AssertionError: assert '' == 'True'
  • error 9
  • E AssertionError: assert '' == 'True'
  • error 10
  • E AssertionError: assert 'ValueError' in ''
  • error 11
  • E AssertionError: 'error' != 'ok'
  • error 12
  • E AssertionError: 0 not greater than 0
  • error 13
  • E AssertionError:
  • error 14
  • E AssertionError: assert 'error' == 'status'
  • error 15
  • E AssertionError: {} != {'foo': {'status': 'ok', 'data': {'text/plain': '2'}, 'metadata': {}}}
  • error 16
  • E KeyError: 'foo'
  • error 17
  • E AssertionError: assert 'alpha' in ['%alias', '%alias_magic', 'all']
  • error 18
  • E AssertionError: assert 'error' == 'display_data'
  • error 19
  • E TypeError: an integer is required (got type bytes)
  • error 20
  • E TypeError: an integer is required (got type bytes)
  • error 21
  • E TypeError: an integer is required (got type bytes)
  • error 22
  • E TypeError: an integer is required (got type bytes)
  • error 23
  • E TypeError: an integer is required (got type bytes)
  • error 24
  • E TypeError: an integer is required (got type bytes)
  • error 25
  • E AssertionError: assert 'error' == 'ok'
  • error 26
  • E AssertionError: assert 'error' == 'ok'
  • error 27
  • error: Bad exit status from /tmp/B.w6ouYy/BUILD/tmp/rpm-tmp.47477 (%build)
  • error 28
  • RPM build errors:
  • error 29
  • error: No files produced.

Content:

ipykernel/tests/test_start_kernel.py ..                                  [ 93%]
ipykernel/tests/test_zmq_shell.py ......                                 [100%]

=============================== warnings summary ===============================
/usr/share/python2.7/site-packages/_pytest/assertion/rewrite.py:272
  /usr/share/python2.7/site-packages/_pytest/assertion/rewrite.py:272: PytestWarning: Module already imported so cannot be rewritten: backports

/usr/share/python2.7/site-packages/IPython/external/decorators/__init__.py:2
  /usr/share/python2.7/site-packages/IPython/external/decorators/__init__.py:2: DeprecationWarning: Importing from numpy.testing.decorators is deprecated since numpy 1.15.0, import from numpy.testing instead.

/usr/share/python2.7/site-packages/IPython/external/decorators/__init__.py:3
  /usr/share/python2.7/site-packages/IPython/external/decorators/__init__.py:3: DeprecationWarning: Importing from numpy.testing.noseclasses is deprecated since 1.15.0, import from numpy.testing instead

ipykernel/pickleutil.py:8
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/pickleutil.py:8: DeprecationWarning: ipykernel.pickleutil is deprecated. It has moved to ipyparallel.
    warnings.warn("ipykernel.pickleutil is deprecated. It has moved to ipyparallel.", DeprecationWarning)

ipykernel/codeutil.py:17
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/codeutil.py:17: DeprecationWarning: ipykernel.codeutil is deprecated since IPykernel 4.3.1. It has moved to ipyparallel.serialize
    warnings.warn("ipykernel.codeutil is deprecated since IPykernel 4.3.1. It has moved to ipyparallel.serialize", DeprecationWarning)

ipykernel/serialize.py:7
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/serialize.py:7: DeprecationWarning: ipykernel.serialize is deprecated. It has moved to ipyparallel.serialize
    warnings.warn("ipykernel.serialize is deprecated. It has moved to ipyparallel.serialize", DeprecationWarning)

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_getpass_stream
  /usr/share/python2.7/site-packages/traitlets/traitlets.py:144: DeprecationWarning: Session._key_changed is deprecated in traitlets 4.1: use @observe and @unobserve instead.
  (inspection failed) source code not available
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/datapub.py:5: DeprecationWarning: ipykernel.datapub is deprecated. It has moved to ipyparallel.datapub
    warnings.warn("ipykernel.datapub is deprecated. It has moved to ipyparallel.datapub", DeprecationWarning)
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/iostream.py:66: DeprecationWarning: zmq.eventloop.ioloop is deprecated in pyzmq 17. pyzmq now works with default tornado and asyncio eventloops.
    self.io_loop = IOLoop(make_current=False)
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/inprocess/tests/test_kernel.py:76: UserWarning: The `stream` parameter of `getpass.getpass` will have no effect when using ipykernel
    kernel.getpass(stream='non empty')

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_pylab
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_raw_input
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_stdout
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket

ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_complete
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket

ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_execute
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket

ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_history
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket

ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_inspect
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket

ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_interface
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
  /usr/share/python2.7/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket

ipykernel/tests/test_message_spec.py::test_oinfo
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/tests/test_message_spec.py:101: DeprecationWarning: InspectReply._data_changed is deprecated in traitlets 4.1: use @observe and @unobserve instead.
    def _data_changed(self, name, old, new):

-- Docs: https://docs.pytest.org/en/latest/warnings.html
======= 92 passed, 2 skipped, 1 deselected, 53 warnings in 30.69 seconds =======
Exception AttributeError: "'NoneType' object has no attribute 'ref'" in <bound method Socket.__del__ of <zmq.sugar.socket.Socket object at 0xee5d3224>> ignored
Exception AttributeError: "'NoneType' object has no attribute 'ref'" in <bound method Socket.__del__ of <zmq.sugar.socket.Socket object at 0xee5d3304>> ignored
+ LDFLAGS='-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' 
+ export LDFLAGS
+ CFLAGS=' -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 
+ export CFLAGS
+ CXXFLAGS=' -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Werror=trampolines -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 ' 
+ export CXXFLAGS
+ CC=i686-pld-linux-gcc 
+ export CC
+ CXX=i686-pld-linux-g++ 
+ export CXX
+ /usr/bin/python3 setup.py build '--build-base=build-3'
running build
running build_py
creating build-3
creating build-3/lib
copying ipykernel_launcher.py -> build-3/lib
creating build-3/lib/ipykernel
copying ipykernel/__init__.py -> build-3/lib/ipykernel
copying ipykernel/__main__.py -> build-3/lib/ipykernel
copying ipykernel/_eventloop_macos.py -> build-3/lib/ipykernel
copying ipykernel/_version.py -> build-3/lib/ipykernel
copying ipykernel/codeutil.py -> build-3/lib/ipykernel
copying ipykernel/connect.py -> build-3/lib/ipykernel
copying ipykernel/datapub.py -> build-3/lib/ipykernel
copying ipykernel/displayhook.py -> build-3/lib/ipykernel
copying ipykernel/embed.py -> build-3/lib/ipykernel
copying ipykernel/eventloops.py -> build-3/lib/ipykernel
copying ipykernel/heartbeat.py -> build-3/lib/ipykernel
copying ipykernel/iostream.py -> build-3/lib/ipykernel
copying ipykernel/ipkernel.py -> build-3/lib/ipykernel
copying ipykernel/jsonutil.py -> build-3/lib/ipykernel
copying ipykernel/kernelapp.py -> build-3/lib/ipykernel
copying ipykernel/kernelbase.py -> build-3/lib/ipykernel
copying ipykernel/kernelspec.py -> build-3/lib/ipykernel
copying ipykernel/log.py -> build-3/lib/ipykernel
copying ipykernel/parentpoller.py -> build-3/lib/ipykernel
copying ipykernel/pickleutil.py -> build-3/lib/ipykernel
copying ipykernel/serialize.py -> build-3/lib/ipykernel
copying ipykernel/zmqshell.py -> build-3/lib/ipykernel
creating build-3/lib/ipykernel/comm
copying ipykernel/comm/__init__.py -> build-3/lib/ipykernel/comm
copying ipykernel/comm/comm.py -> build-3/lib/ipykernel/comm
copying ipykernel/comm/manager.py -> build-3/lib/ipykernel/comm
creating build-3/lib/ipykernel/gui
copying ipykernel/gui/__init__.py -> build-3/lib/ipykernel/gui
copying ipykernel/gui/gtk3embed.py -> build-3/lib/ipykernel/gui
copying ipykernel/gui/gtkembed.py -> build-3/lib/ipykernel/gui
creating build-3/lib/ipykernel/inprocess
copying ipykernel/inprocess/__init__.py -> build-3/lib/ipykernel/inprocess
copying ipykernel/inprocess/blocking.py -> build-3/lib/ipykernel/inprocess
copying ipykernel/inprocess/channels.py -> build-3/lib/ipykernel/inprocess
copying ipykernel/inprocess/client.py -> build-3/lib/ipykernel/inprocess
copying ipykernel/inprocess/constants.py -> build-3/lib/ipykernel/inprocess
copying ipykernel/inprocess/ipkernel.py -> build-3/lib/ipykernel/inprocess
copying ipykernel/inprocess/manager.py -> build-3/lib/ipykernel/inprocess
copying ipykernel/inprocess/socket.py -> build-3/lib/ipykernel/inprocess
creating build-3/lib/ipykernel/inprocess/tests
copying ipykernel/inprocess/tests/__init__.py -> build-3/lib/ipykernel/inprocess/tests
copying ipykernel/inprocess/tests/test_kernel.py -> build-3/lib/ipykernel/inprocess/tests
copying ipykernel/inprocess/tests/test_kernelmanager.py -> build-3/lib/ipykernel/inprocess/tests
creating build-3/lib/ipykernel/pylab
copying ipykernel/pylab/__init__.py -> build-3/lib/ipykernel/pylab
copying ipykernel/pylab/backend_inline.py -> build-3/lib/ipykernel/pylab
copying ipykernel/pylab/config.py -> build-3/lib/ipykernel/pylab
creating build-3/lib/ipykernel/tests
copying ipykernel/tests/__init__.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/_asyncio.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_connect.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_embed_kernel.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_eventloop.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_io.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_jsonutil.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_kernel.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_kernelspec.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_message_spec.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_pickleutil.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_serialize.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_start_kernel.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/test_zmq_shell.py -> build-3/lib/ipykernel/tests
copying ipykernel/tests/utils.py -> build-3/lib/ipykernel/tests
creating build-3/lib/ipykernel/resources
copying ipykernel/resources/logo-32x32.png -> build-3/lib/ipykernel/resources
copying ipykernel/resources/logo-64x64.png -> build-3/lib/ipykernel/resources
+ pwd
+ PYTHONPATH=/tmp/B.w6ouYy/BUILD/ipykernel-4.10.1 /usr/bin/python3 -m pytest ipykernel
============================= test session starts ==============================
platform linux -- Python 3.8.5, pytest-3.10.1, py-1.8.1, pluggy-0.13.1
benchmark: 3.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1, inifile:
plugins: xdist-1.27.0, mock-1.10.3, expect-1.1.0, forked-1.1.3, flaky-3.6.1, benchmark-3.2.3, hypothesis-4.57.1, timeout-1.3.4, cov-2.8.1, pyfakefs-4.0.2
collected 95 items

ipykernel/inprocess/tests/test_kernel.py ..F.                            [  4%]
ipykernel/inprocess/tests/test_kernelmanager.py .F...                    [  9%]
ipykernel/tests/test_connect.py ..                                       [ 11%]
ipykernel/tests/test_embed_kernel.py F..                                 [ 14%]
ipykernel/tests/test_eventloop.py F                                      [ 15%]
ipykernel/tests/test_io.py .                                             [ 16%]
ipykernel/tests/test_jsonutil.py .....                                   [ 22%]
ipykernel/tests/test_kernel.py FFFFFF.s.F..FF.                           [ 37%]
ipykernel/tests/test_kernelspec.py ..........                            [ 48%]
ipykernel/tests/test_message_spec.py .F...FF.FF.F...F.....F              [ 71%]
ipykernel/tests/test_pickleutil.py FFFF.                                 [ 76%]
ipykernel/tests/test_serialize.py ..........F.F.                         [ 91%]
ipykernel/tests/test_start_kernel.py FF                                  [ 93%]
ipykernel/tests/test_zmq_shell.py ......                                 [100%]

=================================== FAILURES ===================================
____________________ InProcessKernelTestCase.test_raw_input ____________________

self = <ipykernel.inprocess.tests.test_kernel.InProcessKernelTestCase testMethod=test_raw_input>

    def test_raw_input(self):
        """ Does the in-process kernel handle raw_input correctly?
        """
        io = StringIO('foobar\n')
        sys_stdin = sys.stdin
        sys.stdin = io
        try:
            if py3compat.PY3:
                self.kc.execute('x = input()')
            else:
                self.kc.execute('x = raw_input()')
        finally:
            sys.stdin = sys_stdin
>       assert self.km.kernel.shell.user_ns.get('x') == 'foobar'
E       AssertionError: assert None == 'foobar'
E        +  where None = <built-in method get of dict object at 0xf2c80528>('x')
E        +    where <built-in method get of dict object at 0xf2c80528> = {'ALLOW_THREADS': 1, 'Annotation': <class 'matplotlib.text.Annotation'>, 'Arrow': <class 'matplotlib.patches.Arrow'>, 'Artist': <class 'matplotlib.artist.Artist'>, ...}.get
E        +      where {'ALLOW_THREADS': 1, 'Annotation': <class 'matplotlib.text.Annotation'>, 'Arrow': <class 'matplotlib.patches.Arrow'>, 'Artist': <class 'matplotlib.artist.Artist'>, ...} = <ipykernel.inprocess.ipkernel.InProcessInteractiveShell object at 0xf2d85ce8>.user_ns
E        +        where <ipykernel.inprocess.ipkernel.InProcessInteractiveShell object at 0xf2d85ce8> = <ipykernel.inprocess.ipkernel.InProcessKernel object at 0xef0c5958>.shell
E        +          where <ipykernel.inprocess.ipkernel.InProcessKernel object at 0xef0c5958> = <ipykernel.inprocess.manager.InProcessKernelManager object at 0xef0c5880>.kernel
E        +            where <ipykernel.inprocess.manager.InProcessKernelManager object at 0xef0c5880> = <ipykernel.inprocess.tests.test_kernel.InProcessKernelTestCase testMethod=test_raw_input>.km

ipykernel/inprocess/tests/test_kernel.py:53: AssertionError
----------------------------- Captured stdout call -----------------------------
status
status
_________________ InProcessKernelManagerTestCase.test_execute __________________

self = <ipykernel.inprocess.tests.test_kernelmanager.InProcessKernelManagerTestCase testMethod=test_execute>

    def test_execute(self):
        """ Does executing code in an in-process kernel work?
        """
        km = self.km
        km.start_kernel()
        kc = km.client()
        kc.start_channels()
        kc.wait_for_ready()
        kc.execute('foo = 1')
>       assert km.kernel.shell.user_ns['foo'] == 1
E       KeyError: 'foo'

ipykernel/inprocess/tests/test_kernelmanager.py:63: KeyError
___________________________ test_embed_kernel_basic ____________________________

    def test_embed_kernel_basic():
        """IPython.embed_kernel() is basically functional"""
        cmd = '\n'.join([
            'from IPython import embed_kernel',
            'def go():',
            '    a=5',
            '    b="hi there"',
            '    embed_kernel()',
            'go()',
            '',
        ])
    
        with setup_kernel(cmd) as client:
            # oinfo a (int)
            msg_id = client.inspect('a')
            msg = client.get_shell_msg(block=True, timeout=TIMEOUT)
            content = msg['content']
            assert content['found']
    
            msg_id = client.execute("c=a*2")
            msg = client.get_shell_msg(block=True, timeout=TIMEOUT)
            content = msg['content']
>           assert content['status'] == u'ok'
E           AssertionError: assert 'error' == 'ok'
E             - error
E             + ok

ipykernel/tests/test_embed_kernel.py:86: AssertionError
____________________________ test_asyncio_interrupt ____________________________

args = (), kwargs = {}

    def skipper_func(*args, **kwargs):
        """Skipper for normal test functions."""
        if skip_val():
            raise nose.SkipTest(get_msg(f,msg))
        else:
>           return f(*args, **kwargs)

/usr/share/python3.8/site-packages/IPython/testing/decorators.py:213: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    @dec.skipif(sys.version_info < (3, 5), "async/await syntax required")
    def test_asyncio_interrupt():
        flush_channels(KC)
        msg_id, content = execute('%gui asyncio', KC)
        assert content['status'] == 'ok', content
    
        flush_channels(KC)
        msg_id, content = execute(async_code, KC)
>       assert content['status'] == 'ok', content
E       AssertionError: {'ename': 'TypeError', 'engine_info': {'engine_id': -1, 'engine_uuid': '52cb46e5-96d9-4f53-89cf-e756deb690f5', 'method': 'execute'}, 'evalue': 'required field "type_ignores" missing from Module', 'execution_count': 2, ...}
E       assert 'error' == 'ok'
E         - error
E         + ok

ipykernel/tests/test_eventloop.py:38: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
______________________________ test_simple_print _______________________________

    def test_simple_print():
        """simple print statement in kernel"""
        with kernel() as kc:
            iopub = kc.iopub_channel
            msg_id, content = execute(kc=kc, code="print ('hi')")
            stdout, stderr = assemble_output(iopub)
            assert stdout == 'hi\n'
            assert stderr == ''
>           _check_master(kc, expected=True)

ipykernel/tests/test_kernel.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0xee638f58>
expected = True, stream = 'stdout'

    def _check_master(kc, expected=True, stream="stdout"):
        execute(kc=kc, code="import sys")
        flush_channels(kc)
        msg_id, content = execute(kc=kc, code="print (sys.%s._is_master_process())" % stream)
        stdout, stderr = assemble_output(kc.iopub_channel)
>       assert stdout.strip() == repr(expected)
E       AssertionError: assert '' == 'True'
E         + True

ipykernel/tests/test_kernel.py:29: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-3-09b77848b8c7> in <module>()
----> 1 print (sys.stdout._is_master_process())

NameError: name 'sys' is not defined
________________________________ test_sys_path _________________________________

    def test_sys_path():
        """test that sys.path doesn't get messed up by default"""
        with kernel() as kc:
            msg_id, content = execute(kc=kc, code="import sys; print (repr(sys.path[0]))")
            stdout, stderr = assemble_output(kc.iopub_channel)
>           assert stdout == "''\n"
E           assert '' == "''\n"
E             + ''

ipykernel/tests/test_kernel.py:56: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
__________________________ test_sys_path_profile_dir ___________________________

    def test_sys_path_profile_dir():
        """test that sys.path doesn't get messed up when `--profile-dir` is specified"""
    
        with new_kernel(['--profile-dir', locate_profile('default')]) as kc:
            msg_id, content = execute(kc=kc, code="import sys; print (repr(sys.path[0]))")
            stdout, stderr = assemble_output(kc.iopub_channel)
>           assert stdout == "''\n"
E           assert '' == "''\n"
E             + ''

ipykernel/tests/test_kernel.py:64: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
____________________________ test_subprocess_print _____________________________

args = (), kwargs = {}

    def skipper_func(*args, **kwargs):
        """Skipper for normal test functions."""
        if skip_val():
            raise nose.SkipTest(get_msg(f,msg))
        else:
>           return f(*args, **kwargs)

/usr/share/python3.8/site-packages/IPython/testing/decorators.py:213: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
ipykernel/tests/test_kernel.py:72: in test_subprocess_print
    _check_master(kc, expected=True)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0xedccb520>
expected = True, stream = 'stdout'

    def _check_master(kc, expected=True, stream="stdout"):
        execute(kc=kc, code="import sys")
        flush_channels(kc)
        msg_id, content = execute(kc=kc, code="print (sys.%s._is_master_process())" % stream)
        stdout, stderr = assemble_output(kc.iopub_channel)
>       assert stdout.strip() == repr(expected)
E       AssertionError: assert '' == 'True'
E         + True

ipykernel/tests/test_kernel.py:29: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-2-09b77848b8c7> in <module>()
----> 1 print (sys.stdout._is_master_process())

NameError: name 'sys' is not defined
___________________________ test_subprocess_noprint ____________________________

    def test_subprocess_noprint():
        """mp.Process without print doesn't trigger iostream mp_mode"""
        with kernel() as kc:
            iopub = kc.iopub_channel
    
            np = 5
            code = '\n'.join([
                "import multiprocessing as mp",
                "pool = [mp.Process(target=range, args=(i,)) for i in range(%i)]" % np,
                "for p in pool: p.start()",
                "for p in pool: p.join()"
            ])
    
            msg_id, content = execute(kc=kc, code=code)
            stdout, stderr = assemble_output(iopub)
            assert stdout == ''
            assert stderr == ''
    
>           _check_master(kc, expected=True)

ipykernel/tests/test_kernel.py:113: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

kc = <jupyter_client.blocking.client.BlockingKernelClient object at 0xee638f58>
expected = True, stream = 'stdout'

    def _check_master(kc, expected=True, stream="stdout"):
        execute(kc=kc, code="import sys")
        flush_channels(kc)
        msg_id, content = execute(kc=kc, code="print (sys.%s._is_master_process())" % stream)
        stdout, stderr = assemble_output(kc.iopub_channel)
>       assert stdout.strip() == repr(expected)
E       AssertionError: assert '' == 'True'
E         + True

ipykernel/tests/test_kernel.py:29: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-7-09b77848b8c7> in <module>()
----> 1 print (sys.stdout._is_master_process())

NameError: name 'sys' is not defined
____________________________ test_subprocess_error _____________________________

args = (), kwargs = {}

    def skipper_func(*args, **kwargs):
        """Skipper for normal test functions."""
        if skip_val():
            raise nose.SkipTest(get_msg(f,msg))
        else:
>           return f(*args, **kwargs)

/usr/share/python3.8/site-packages/IPython/testing/decorators.py:213: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    @dec.skipif(sys.platform == 'win32', "subprocess prints fail on Windows")
    def test_subprocess_error():
        """error in mp.Process doesn't crash"""
        with new_kernel() as kc:
            iopub = kc.iopub_channel
    
            code = '\n'.join([
                "import multiprocessing as mp",
                "p = mp.Process(target=int, args=('hi',))",
                "p.start()",
                "p.join()",
            ])
    
            msg_id, content = execute(kc=kc, code=code)
            stdout, stderr = assemble_output(iopub)
            assert stdout == ''
>           assert "ValueError" in stderr
E           AssertionError: assert 'ValueError' in ''

ipykernel/tests/test_kernel.py:133: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
___________________________ test_smoke_faulthandler ____________________________

args = (), kwargs = {}

    def skipper_func(*args, **kwargs):
        """Skipper for normal test functions."""
        if skip_val():
            raise nose.SkipTest(get_msg(f,msg))
        else:
>           return f(*args, **kwargs)

/usr/share/python3.8/site-packages/IPython/testing/decorators.py:213: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
ipykernel/tests/test_kernel.py:211: in test_smoke_faulthandler
    nt.assert_equal(reply['status'], 'ok', reply.get('traceback', ''))
/usr/lib/python3.8/unittest/case.py:912: in assertEqual
    assertion_func(first, second, msg=msg)
/usr/lib/python3.8/unittest/case.py:1292: in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <nose.tools.trivial.Dummy testMethod=nop>
msg = '\'error\' != \'ok\'\n- error\n+ ok\n : [\'\\x1b[0;31m----------------------------------------------------------------...\\x1b[0;34m\\x1b[0m\\x1b[0m\\n\', \'\\x1b[0;31mTypeError\\x1b[0m: required field "type_ignores" missing from Module\']'

    def fail(self, msg=None):
        """Fail immediately, with the given message."""
>       raise self.failureException(msg)
E       AssertionError: 'error' != 'ok'
E       - error
E       + ok
E        : ['\x1b[0;31m---------------------------------------------------------------------------\x1b[0m', '\x1b[0;31mTypeError\x1b[0m                                 Traceback (most recent call last)', '\x1b[0;32m/usr/lib/python3.8/codeop.py\x1b[0m in \x1b[0;36m__call__\x1b[0;34m(self, source, filename, symbol)\x1b[0m\n\x1b[1;32m    139\x1b[0m \x1b[0;34m\x1b[0m\x1b[0m\n\x1b[1;32m    140\x1b[0m     \x1b[0;32mdef\x1b[0m \x1b[0m__call__\x1b[0m\x1b[0;34m(\x1b[0m\x1b[0mself\x1b[0m\x1b[0;34m,\x1b[0m \x1b[0msource\x1b[0m\x1b[0;34m,\x1b[0m \x1b[0mfilename\x1b[0m\x1b[0;34m,\x1b[0m \x1b[0msymbol\x1b[0m\x1b[0;34m)\x1b[0m\x1b[0;34m:\x1b[0m\x1b[0;34m\x1b[0m\x1b[0;34m\x1b[0m\x1b[0m\n\x1b[0;32m--> 141\x1b[0;31m         \x1b[0mcodeob\x1b[0m \x1b[0;34m=\x1b[0m \x1b[0mcompile\x1b[0m\x1b[0;34m(\x1b[0m\x1b[0msource\x1b[0m\x1b[0;34m,\x1b[0m \x1b[0mfilename\x1b[0m\x1b[0;34m,\x1b[0m \x1b[0msymbol\x1b[0m\x1b[0;34m,\x1b[0m \x1b[0mself\x1b[0m\x1b[0;34m.\x1b[0m\x1b[0mflags\x1b[0m\x1b[0;34m,\x1b[0m \x1b[0;36m1\x1b[0m\x1b[0;34m)\x1b[0m\x1b[0;34m\x1b[0m\x1b[0;34m\x1b[0m\x1b[0m\n\x1b[0m\x1b[1;32m    142\x1b[0m         \x1b[0;32mfor\x1b[0m \x1b[0mfeature\x1b[0m \x1b[0;32min\x1b[0m \x1b[0m_features\x1b[0m\x1b[0;34m:\x1b[0m\x1b[0;34m\x1b[0m\x1b[0;34m\x1b[0m\x1b[0m\n\x1b[1;32m    143\x1b[0m             \x1b[0;32mif\x1b[0m \x1b[0mcodeob\x1b[0m\x1b[0;34m.\x1b[0m\x1b[0mco_flags\x1b[0m \x1b[0;34m&\x1b[0m \x1b[0mfeature\x1b[0m\x1b[0;34m.\x1b[0m\x1b[0mcompiler_flag\x1b[0m\x1b[0;34m:\x1b[0m\x1b[0;34m\x1b[0m\x1b[0;34m\x1b[0m\x1b[0m\n', '\x1b[0;31mTypeError\x1b[0m: required field "type_ignores" missing from Module']

/usr/lib/python3.8/unittest/case.py:753: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
________________________________ test_complete _________________________________

    def test_complete():
        with kernel() as kc:
            execute(u'a = 1', kc=kc)
            wait_for_idle(kc)
            cell = 'import IPython\nb = a.'
            kc.complete(cell)
            reply = kc.get_shell_msg(block=True, timeout=TIMEOUT)
            c = reply['content']
            assert c['status'] == 'ok'
            assert c['cursor_start'] == cell.find('a.')
            assert c['cursor_end'] == cell.find('a.') + 2
            matches = c['matches']
>           nt.assert_greater(len(matches), 0)

ipykernel/tests/test_kernel.py:255: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.8/unittest/case.py:1310: in assertGreater
    self.fail(self._formatMessage(msg, standardMsg))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <nose.tools.trivial.Dummy testMethod=nop>, msg = '0 not greater than 0'

    def fail(self, msg=None):
        """Fail immediately, with the given message."""
>       raise self.failureException(msg)
E       AssertionError: 0 not greater than 0

/usr/lib/python3.8/unittest/case.py:753: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
_______________________ test_matplotlib_inline_on_import _______________________

args = (), kwargs = {}

    def skipper_func(*args, **kwargs):
        """Skipper for normal test functions."""
        if skip_val():
            raise nose.SkipTest(get_msg(f,msg))
        else:
>           return f(*args, **kwargs)

/usr/share/python3.8/site-packages/IPython/testing/decorators.py:213: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
ipykernel/tests/test_kernel.py:270: in test_matplotlib_inline_on_import
    _check_status(reply)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

content = {'ename': 'TypeError', 'engine_info': {'engine_id': -1, 'engine_uuid': 'b4afa82b-8925-46b9-a81b-eb85b42d2c0e', 'method': 'execute'}, 'evalue': 'required field "type_ignores" missing from Module', 'execution_count': 14, ...}

    def _check_status(content):
        """If status=error, show the traceback"""
        if content['status'] == 'error':
>           assert False, ''.join(['\n'] + content['traceback'])
E           AssertionError: 
E             ---------------------------------------------------------------------------TypeError                                 Traceback (most recent call last)/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
E                 139 
E                 140     def __call__(self, source, filename, symbol):
E             --> 141         codeob = compile(source, filename, symbol, self.flags, 1)
E                 142         for feature in _features:
E                 143             if codeob.co_flags & feature.compiler_flag:
E             TypeError: required field "type_ignores" missing from Module
E           assert False

ipykernel/tests/test_kernel.py:35: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
_____________________________ test_execute_silent ______________________________

    def test_execute_silent():
        flush_channels()
        msg_id, reply = execute(code='x=1', silent=True)
    
        # flush status=idle
        status = KC.iopub_channel.get_msg(timeout=TIMEOUT)
>       validate_message(status, 'status', msg_id)

ipykernel/tests/test_message_spec.py:288: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

msg = {'buffers': [], 'content': {'ename': 'TypeError', 'evalue': 'required field "type_ignores" missing from Module', 'trac...7d10dacfdd0c47396246b', 'msg_type': 'error', 'session': 'd8d0bc1e-ca7094b6a17a66f40e37fa3e', ...}, 'metadata': {}, ...}
msg_type = 'status', parent = 'b50fc8da-46a80e1d39487efda517d62f'

    def validate_message(msg, msg_type=None, parent=None):
        """validate a message
    
        This is a generator, and must be iterated through to actually
        trigger each test.
    
        If msg_type and/or parent are given, the msg_type and/or parent msg_id
        are compared with the given values.
        """
        RMessage().check(msg)
        if msg_type:
>           assert msg['msg_type'] == msg_type
E           AssertionError: assert 'error' == 'status'
E             - error
E             + status

ipykernel/tests/test_message_spec.py:260: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
____________________________ test_user_expressions _____________________________

    def test_user_expressions():
        flush_channels()
    
        msg_id, reply = execute(code='x=1', user_expressions=dict(foo='x+1'))
        user_expressions = reply['user_expressions']
>       nt.assert_equal(user_expressions, {u'foo': {
            u'status': u'ok',
            u'data': {u'text/plain': u'2'},
            u'metadata': {},
        }})

ipykernel/tests/test_message_spec.py:360: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.8/unittest/case.py:912: in assertEqual
    assertion_func(first, second, msg=msg)
/usr/lib/python3.8/unittest/case.py:1211: in assertDictEqual
    self.fail(self._formatMessage(msg, standardMsg))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <nose.tools.trivial.Dummy testMethod=nop>
msg = "{} != {'foo': {'status': 'ok', 'data': {'text/plain': '2'}, 'metadata': {}}}\n- {}\n+ {'foo': {'data': {'text/plain': '2'}, 'metadata': {}, 'status': 'ok'}}"

    def fail(self, msg=None):
        """Fail immediately, with the given message."""
>       raise self.failureException(msg)
E       AssertionError: {} != {'foo': {'status': 'ok', 'data': {'text/plain': '2'}, 'metadata': {}}}
E       - {}
E       + {'foo': {'data': {'text/plain': '2'}, 'metadata': {}, 'status': 'ok'}}

/usr/lib/python3.8/unittest/case.py:753: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
__________________________ test_user_expressions_fail __________________________

    def test_user_expressions_fail():
        flush_channels()
    
        msg_id, reply = execute(code='x=0', user_expressions=dict(foo='nosuchname'))
        user_expressions = reply['user_expressions']
>       foo = user_expressions['foo']
E       KeyError: 'foo'

ipykernel/tests/test_message_spec.py:372: KeyError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
_______________________________ test_oinfo_found _______________________________

    def test_oinfo_found():
        flush_channels()
    
        msg_id, reply = execute(code='a=5')
    
        msg_id = KC.inspect('a')
        reply = KC.get_shell_msg(timeout=TIMEOUT)
        validate_message(reply, 'inspect_reply', msg_id)
        content = reply['content']
>       assert content['found']
E       assert False

ipykernel/tests/test_message_spec.py:394: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
______________________________ test_oinfo_detail _______________________________

    def test_oinfo_detail():
        flush_channels()
    
        msg_id, reply = execute(code='ip=get_ipython()')
    
        msg_id = KC.inspect('ip.object_inspect', cursor_pos=10, detail_level=1)
        reply = KC.get_shell_msg(timeout=TIMEOUT)
        validate_message(reply, 'inspect_reply', msg_id)
        content = reply['content']
>       assert content['found']
E       assert False

ipykernel/tests/test_message_spec.py:409: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
________________________________ test_complete _________________________________

    def test_complete():
        flush_channels()
    
        msg_id, reply = execute(code="alpha = albert = 5")
    
        msg_id = KC.complete('al', 2)
        reply = KC.get_shell_msg(timeout=TIMEOUT)
        validate_message(reply, 'complete_reply', msg_id)
        matches = reply['content']['matches']
        for name in ('alpha', 'albert'):
>           assert name in matches
E           AssertionError: assert 'alpha' in ['%alias', '%alias_magic', 'all']

ipykernel/tests/test_message_spec.py:435: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
_____________________________ test_single_payload ______________________________

    def test_single_payload():
        flush_channels()
        msg_id, reply = execute(code="ip = get_ipython()\n"
                                     "for i in range(3):\n"
                                     "   ip.set_next_input('Hello There')\n")
        payload = reply['payload']
        next_input_pls = [pl for pl in payload if pl["source"] == "set_next_input"]
>       assert len(next_input_pls) == 1
E       assert 0 == 1
E        +  where 0 = len([])

ipykernel/tests/test_message_spec.py:473: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
______________________________ test_display_data _______________________________

    def test_display_data():
        flush_channels()
    
        msg_id, reply = execute("from IPython.core.display import display; display(1)")
    
        display = KC.iopub_channel.get_msg(timeout=TIMEOUT)
>       validate_message(display, 'display_data', parent=msg_id)

ipykernel/tests/test_message_spec.py:538: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

msg = {'buffers': [], 'content': {'ename': 'TypeError', 'evalue': 'required field "type_ignores" missing from Module', 'trac...33cc4b4bfc37c9404542f', 'msg_type': 'error', 'session': 'd8d0bc1e-ca7094b6a17a66f40e37fa3e', ...}, 'metadata': {}, ...}
msg_type = 'display_data', parent = 'f8d03272-d77a79f89e9f1dd51870a41a'

    def validate_message(msg, msg_type=None, parent=None):
        """validate a message
    
        This is a generator, and must be iterated through to actually
        trigger each test.
    
        If msg_type and/or parent are given, the msg_type and/or parent msg_id
        are compared with the given values.
        """
        RMessage().check(msg)
        if msg_type:
>           assert msg['msg_type'] == msg_type
E           AssertionError: assert 'error' == 'display_data'
E             - error
E             + display_data

ipykernel/tests/test_message_spec.py:260: AssertionError
----------------------------- Captured stderr call -----------------------------
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/usr/lib/python3.8/codeop.py in __call__(self, source, filename, symbol)
    139 
    140     def __call__(self, source, filename, symbol):
--> 141         codeob = compile(source, filename, symbol, self.flags, 1)
    142         for feature in _features:
    143             if codeob.co_flags & feature.compiler_flag:

TypeError: required field "type_ignores" missing from Module
_______________________________ test_no_closure ________________________________

    def test_no_closure():
        @interactive
        def foo():
            a = 5
            return a
    
        pfoo = dumps(foo)
>       bar = loads(pfoo)

ipykernel/tests/test_pickleutil.py:23: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
ipykernel/tests/test_pickleutil.py:14: in loads
    return uncan(pickle.loads(obj))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (0, 0, 1, 1, 83, b'd\x01}\x00|\x00S\x00', ...)

    def code_ctor(*args):
>       return types.CodeType(*args)
E       TypeError: an integer is required (got type bytes)

ipykernel/codeutil.py:27: TypeError
____________________________ test_generator_closure ____________________________

    def test_generator_closure():
        # this only creates a closure on Python 3
        @interactive
        def foo():
            i = 'i'
            r = [ i for j in (1,2) ]
            return r
    
        pfoo = dumps(foo)
>       bar = loads(pfoo)

ipykernel/tests/test_pickleutil.py:35: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
ipykernel/tests/test_pickleutil.py:14: in loads
    return uncan(pickle.loads(obj))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (1, 0, 2, 3, 19, b'g\x00|\x00]\x08}\x01\x88\x00\x91\x02q\x04S\x00', ...)

    def code_ctor(*args):
>       return types.CodeType(*args)
E       TypeError: an integer is required (got type bytes)

ipykernel/codeutil.py:27: TypeError
_____________________________ test_nested_closure ______________________________

    def test_nested_closure():
        @interactive
        def foo():
            i = 'i'
            def g():
                return i
            return g()
    
        pfoo = dumps(foo)
>       bar = loads(pfoo)

ipykernel/tests/test_pickleutil.py:47: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
ipykernel/tests/test_pickleutil.py:14: in loads
    return uncan(pickle.loads(obj))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (0, 0, 0, 1, 19, b'\x88\x00S\x00', ...)

    def code_ctor(*args):
>       return types.CodeType(*args)
E       TypeError: an integer is required (got type bytes)

ipykernel/codeutil.py:27: TypeError
_________________________________ test_closure _________________________________

    def test_closure():
        i = 'i'
        @interactive
        def foo():
            return i
    
        pfoo = dumps(foo)
>       bar = loads(pfoo)

ipykernel/tests/test_pickleutil.py:57: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
ipykernel/tests/test_pickleutil.py:14: in loads
    return uncan(pickle.loads(obj))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (0, 0, 0, 1, 19, b'\x88\x00S\x00', ...)

    def code_ctor(*args):
>       return types.CodeType(*args)
E       TypeError: an integer is required (got type bytes)

ipykernel/codeutil.py:27: TypeError
__________________________________ test_tuple __________________________________

    def test_tuple():
        tup = (lambda x:x, 1)
        bufs = serialize_object(tup)
>       canned = pickle.loads(bufs[0])

ipykernel/tests/test_serialize.py:162: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (1, 0, 1, 1, 83, b'|\x00S\x00', ...)

    def code_ctor(*args):
>       return types.CodeType(*args)
E       TypeError: an integer is required (got type bytes)

ipykernel/codeutil.py:27: TypeError
__________________________________ test_list ___________________________________

    def test_list():
        lis = [lambda x:x, 1]
        bufs = serialize_object(lis)
>       canned = pickle.loads(bufs[0])

ipykernel/tests/test_serialize.py:181: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = (1, 0, 1, 1, 83, b'|\x00S\x00', ...)

    def code_ctor(*args):
>       return types.CodeType(*args)
E       TypeError: an integer is required (got type bytes)

ipykernel/codeutil.py:27: TypeError
_______________________ test_ipython_start_kernel_userns _______________________

    def test_ipython_start_kernel_userns():
        cmd = ('from IPython import start_kernel\n'
               'ns = {"tre": 123}\n'
               'start_kernel(user_ns=ns)')
    
        with setup_kernel(cmd) as client:
            msg_id = client.inspect('tre')
            msg = client.get_shell_msg(block=True, timeout=TIMEOUT)
            content = msg['content']
            assert content['found']
            text = content['data']['text/plain']
            assert u'123' in text
    
            # user_module should be an instance of DummyMod
            msg_id = client.execute("usermod = get_ipython().user_module")
            msg = client.get_shell_msg(block=True, timeout=TIMEOUT)
            content = msg['content']
>           assert content['status'] == u'ok'
E           AssertionError: assert 'error' == 'ok'
E             - error
E             + ok

ipykernel/tests/test_start_kernel.py:22: AssertionError
_____________________ test_ipython_start_kernel_no_userns ______________________

    def test_ipython_start_kernel_no_userns():
        # Issue #4188 - user_ns should be passed to shell as None, not {}
        cmd = ('from IPython import start_kernel\n'
               'start_kernel()')
    
        with setup_kernel(cmd) as client:
            # user_module should not be an instance of DummyMod
            msg_id = client.execute("usermod = get_ipython().user_module")
            msg = client.get_shell_msg(block=True, timeout=TIMEOUT)
            content = msg['content']
>           assert content['status'] == u'ok'
E           AssertionError: assert 'error' == 'ok'
E             - error
E             + ok

ipykernel/tests/test_start_kernel.py:40: AssertionError
=============================== warnings summary ===============================
ipykernel/pickleutil.py:8
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/pickleutil.py:8: DeprecationWarning: ipykernel.pickleutil is deprecated. It has moved to ipyparallel.
    warnings.warn("ipykernel.pickleutil is deprecated. It has moved to ipyparallel.", DeprecationWarning)

ipykernel/codeutil.py:17
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/codeutil.py:17: DeprecationWarning: ipykernel.codeutil is deprecated since IPykernel 4.3.1. It has moved to ipyparallel.serialize
    warnings.warn("ipykernel.codeutil is deprecated since IPykernel 4.3.1. It has moved to ipyparallel.serialize", DeprecationWarning)

ipykernel/serialize.py:7
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/serialize.py:7: DeprecationWarning: ipykernel.serialize is deprecated. It has moved to ipyparallel.serialize
    warnings.warn("ipykernel.serialize is deprecated. It has moved to ipyparallel.serialize", DeprecationWarning)

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_getpass_stream
  /usr/share/python3.8/site-packages/jupyter_client/session.py:371: DeprecationWarning: Session._key_changed is deprecated in traitlets 4.1: use @observe and @unobserve instead.
    def _key_changed(self):
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/datapub.py:5: DeprecationWarning: ipykernel.datapub is deprecated. It has moved to ipyparallel.datapub
    warnings.warn("ipykernel.datapub is deprecated. It has moved to ipyparallel.datapub", DeprecationWarning)
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/iostream.py:66: DeprecationWarning: zmq.eventloop.ioloop is deprecated in pyzmq 17. pyzmq now works with default tornado and asyncio eventloops.
    self.io_loop = IOLoop(make_current=False)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/inprocess/tests/test_kernel.py:76: UserWarning: The `stream` parameter of `getpass.getpass` will have no effect when using ipykernel
    kernel.getpass(stream='non empty')

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_pylab
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_raw_input
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)

ipykernel/inprocess/tests/test_kernel.py::InProcessKernelTestCase::test_stdout
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)

ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_complete
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)

ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_execute
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)

ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_history
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)

ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_inspect
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)

ipykernel/inprocess/tests/test_kernelmanager.py::InProcessKernelManagerTestCase::test_interface
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)
  /usr/share/python3.8/site-packages/jupyter_client/session.py:803: DeprecationWarning: Accessing zmq Socket attribute recv_multipart on BackgroundSocket
    msg_list = socket.recv_multipart(mode, copy=copy)

ipykernel/tests/test_message_spec.py::test_oinfo
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/tests/test_message_spec.py:101: DeprecationWarning: InspectReply._data_changed is deprecated in traitlets 4.1: use @observe and @unobserve instead.
    def _data_changed(self, name, old, new):

ipykernel/tests/test_serialize.py::test_numpy
  /tmp/B.w6ouYy/BUILD/ipykernel-4.10.1/ipykernel/tests/test_serialize.py:72: DeprecationWarning: Importing from numpy.testing.utils is deprecated since 1.15.0, import from numpy.testing instead.
    from numpy.testing.utils import assert_array_equal

-- Docs: https://docs.pytest.org/en/latest/warnings.html
======== 29 failed, 65 passed, 1 skipped, 53 warnings in 27.16 seconds =========
/usr/share/python3.8/site-packages/hypothesis/extra/pytestplugin.py:61: HypothesisWarning: 
        You are using Pytest version 3.10.1.  Hypothesis tests work with any test
        runner, but our Pytest plugin requires Pytest  4.3 or newer.
        Note that the Pytest developers no longer support this version either!
        Disabling the Hypothesis pytest plugin...
    
  warnings.warn(PYTEST_TOO_OLD_MESSAGE % (pytest.__version__,), HypothesisWarning)
error: Bad exit status from /tmp/B.w6ouYy/BUILD/tmp/rpm-tmp.47477 (%build)


RPM build errors:
    Bad exit status from /tmp/B.w6ouYy/BUILD/tmp/rpm-tmp.47477 (%build)
ended at: Tue Sep 15 19:46:06 2020, done in 0:01:03.870664
error: No files produced.
+ chmod -R u+rwX /tmp/B.w6ouYy/BUILD
+ rm -rf /tmp/B.w6ouYy/tmp /tmp/B.w6ouYy/BUILD
+ rm -rf /tmp/B.w6ouYy
Begin-PLD-Builder-Info
Build-Time: user:25.48s sys:2.99s real:68.43s (faults io:41 non-io:491935)

End-PLD-Builder-Info
[Back to list of logs] [View rpm -qa of builder]