Mock Version: 1.2.15 Mock Version: 1.2.15 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-bottle.spec'], chrootPath='/var/lib/mock/cloud7-openstack-common-el7-build-24547-35026/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=497) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-bottle.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-bottle-0.12.9-1.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-bottle.spec '], chrootPath='/var/lib/mock/cloud7-openstack-common-el7-build-24547-35026/root'shell=Falseuid=497env={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-bottle.spec '] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CTRs2I + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bottle-0.12.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/bottle-0.12.9.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd bottle-0.12.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/^#!/d' bottle.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NvNiab + umask 022 + cd /builddir/build/BUILD + cd bottle-0.12.9 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib copying bottle.py -> build/lib running build_scripts creating build/scripts-2.7 copying bottle.py -> build/scripts-2.7 changing mode of build/scripts-2.7/bottle.py from 644 to 755 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3kmsxD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch + cd bottle-0.12.9 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/lib/python2.7/site-packages copying build/lib/bottle.py -> /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/lib/python2.7/site-packages/bottle.py to bottle.pyc writing byte-compilation script '/tmp/tmpmdWDDG.py' /usr/bin/python2 -O /tmp/tmpmdWDDG.py removing /tmp/tmpmdWDDG.py running install_scripts creating /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/bin copying build/scripts-2.7/bottle.py -> /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/bin/bottle.py to 755 running install_egg_info Writing /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/lib/python2.7/site-packages/bottle-0.12.9-py2.7.egg-info + rm /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/bin/bottle.py + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/bottle-0.12.9 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.shWvV6 + umask 022 + cd /builddir/build/BUILD + cd bottle-0.12.9 + /usr/bin/python2 test/testall.py verbose WARNING: No Jinja2 template support. Skipping tests. WARNING: No Mako template support. Skipping tests. test_merge (test_mount.TestAppMerging) ... ok test_mount (test_mount.TestAppMounting) ... ok test_mount_json_bug (test_mount.TestAppMounting) ... ok test_mount_meta (test_mount.TestAppMounting) ... ok test_mount_no_plugins (test_mount.TestAppMounting) ... ok test_mount_order_bug581 (test_mount.TestAppMounting) ... ok test_mount_wsgi (test_mount.TestAppMounting) ... ok test_mount_wsgi_ctype_bug (test_mount.TestAppMounting) ... ok test_no_slash_prefix (test_mount.TestAppMounting) ... ok test_simple (test_server.MeinheldServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'meinheld' test (ImportError). ok test_simple (test_server.TestBjoernServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'bjoern' test (ImportError). ok test_simple (test_server.TestCherryPyServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'cherrypy' test (ImportError). ok test_simple (test_server.TestDieselServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'diesel' test (ImportError). ok test_simple (test_server.TestEventletServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'eventlet' test (ImportError). ok test_simple (test_server.TestFapwsServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'fapws3' test (ImportError). ok test_simple (test_server.TestGeventServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'gevent' test (ImportError). ok test_simple (test_server.TestGunicornServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'gunicorn' test (ImportError). ok test_simple (test_server.TestPasteServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'paste' test (ImportError). ok test_simple (test_server.TestRocketServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'rocket' test (ImportError). ok test_simple (test_server.TestServer) Test a simple static page with this server adapter. ... ok test_simple (test_server.TestTornadoServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'tornado' test (ImportError). ok test_simple (test_server.TestTwistedServer) Test a simple static page with this server adapter. ... WARNING: Skipping 'twisted' test (ImportError). ok test_attr_access (test_configdict.TestConfigDict) ConfigDict allow attribute access to keys. ... /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:30: DeprecationWarning: Attribute assignment is deprecated. c.test = 5 /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:31: DeprecationWarning: Attribute access is deprecated. self.assertEqual(5, c.test) /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:34: DeprecationWarning: Attribute access is deprecated. self.assertEqual(6, c.test) /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:38: DeprecationWarning: Attribute access is deprecated. self.assertEqual(None, c.test) ok test_call (test_configdict.TestConfigDict) Calling updates and returns the dict. ... /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:61: DeprecationWarning: Calling ConfDict is deprecated. Use the update() method. self.assertEqual(c, c(a=1)) /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:63: DeprecationWarning: Attribute access is deprecated. self.assertEqual(1, c.a) ok test_isadict (test_configdict.TestConfigDict) ConfigDict should behaves like a normal dict. ... /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:12: DeprecationWarning: Constructor does no longer accept parameters. d, m = dict(a=5), ConfigDict(a=5) ok test_issue588 (test_configdict.TestConfigDict) `ConfigDict` namespaces break route options ... /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:70: DeprecationWarning: Accessing namespaces as dicts is discouraged. Only use flat item access: cfg["names"]["pace"]["key"] -> cfg["name.space.key"] self.assertEqual('c', c['a']['b']) /usr/lib64/python2.7/_abcoll.py:395: DeprecationWarning: Accessing namespaces as dicts is discouraged. Only use flat item access: cfg["names"]["pace"]["key"] -> cfg["name.space.key"] return [(key, self[key]) for key in self] ok test_issue720 (test_configdict.TestConfigDict) Accept unicode keys. ... ok test_namespaces (test_configdict.TestConfigDict) Access to a non-existent uppercase attribute creates a new namespace. ... /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:43: DeprecationWarning: Attribute access is deprecated. self.assertEqual(ConfigDict.Namespace, c.Name.Space.__class__) /usr/lib64/python2.7/_abcoll.py:363: DeprecationWarning: Accessing namespaces as dicts is discouraged. Only use flat item access: cfg["names"]["pace"]["key"] -> cfg["name.space.key"] return self[key] /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:44: DeprecationWarning: Attribute access is deprecated. c.Name.Space.value = 5 /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:44: DeprecationWarning: Attribute assignment is deprecated. c.Name.Space.value = 5 /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:45: DeprecationWarning: Attribute access is deprecated. self.assertEqual(5, c.Name.Space.value) /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:46: DeprecationWarning: Attribute access is deprecated. self.assertTrue('value' in c.Name.Space) /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:47: DeprecationWarning: Attribute access is deprecated. self.assertTrue('Space' in c.Name) /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:51: DeprecationWarning: Attribute assignment is deprecated. self.assertRaises(AttributeError, lambda: setattr(c, 'Name', 5)) /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:53: DeprecationWarning: Attribute assignment is deprecated. self.assertRaises(AttributeError, lambda: setattr(c, 'keys', 5)) /builddir/build/BUILD/bottle-0.12.9/test/test_configdict.py:56: DeprecationWarning: Attribute access is deprecated. self.assertEqual(5, c.Name) ok test_string_key_only (test_configdict.TestConfigDict) ... ok test_request (test_contextlocals.TestThreadLocals) ... ok test_response (test_contextlocals.TestThreadLocals) ... ok test_headergetbug (test_mdict.TestMultiDict) Assure HeaderDict.get() to be case insensitive ... ok test_isadict (test_mdict.TestMultiDict) MultiDict should behaves like a normal dict ... ok test_isheader (test_mdict.TestMultiDict) HeaderDict replaces by default and title()s its keys ... ok test_ismulti (test_mdict.TestMultiDict) MultiDict has some special features ... ok test_module_shortcuts (test_wsgi.TestAppShortcuts) ... ok test_module_shortcuts_with_different_name (test_wsgi.TestAppShortcuts) ... ok test_autoroute (test_wsgi.TestDecorators) ... ok test_routebuild (test_wsgi.TestDecorators) WSGI: Test route builder ... ok test_truncate_body (test_wsgi.TestDecorators) WSGI: Some HTTP status codes must not be used with a response-body ... ok test_view (test_wsgi.TestDecorators) WSGI: Test view-decorator (should override autojson) ... /builddir/build/BUILD/bottle-0.12.9/bottle.py:3562: DeprecationWarning: The include and rebase keywords are functions now. line, comment = self.fix_backward_compatibility(line, comment) ok test_view_error (test_wsgi.TestDecorators) WSGI: Test if view-decorator reacts on non-dict return values correctly. ... ok test_apply (test_wsgi.TestRouteDecorator) ... ok test_apply_list (test_wsgi.TestRouteDecorator) ... ok test_callback (test_wsgi.TestRouteDecorator) ... ok test_decorators (test_wsgi.TestRouteDecorator) ... ok test_hooks (test_wsgi.TestRouteDecorator) ... ok test_method (test_wsgi.TestRouteDecorator) ... ok test_method_list (test_wsgi.TestRouteDecorator) ... ok test_name (test_wsgi.TestRouteDecorator) ... ok test_no_params_at_all (test_wsgi.TestRouteDecorator) ... ok test_no_path (test_wsgi.TestRouteDecorator) ... ok test_path_list (test_wsgi.TestRouteDecorator) ... ok test_single_path (test_wsgi.TestRouteDecorator) ... ok test_template (test_wsgi.TestRouteDecorator) ... ok test_template_opts (test_wsgi.TestRouteDecorator) ... ok test_303 (test_wsgi.TestWsgi) WSGI: redirect (HTTP 303) ... ok test_401 (test_wsgi.TestWsgi) WSGI: abort(401, '') (HTTP 401) ... ok test_500 (test_wsgi.TestWsgi) WSGI: Exceptions within handler code (HTTP 500) ... ok test_500_unicode (test_wsgi.TestWsgi) ... ok test_anymethod (test_wsgi.TestWsgi) ... ok test_cookie (test_wsgi.TestWsgi) WSGI: Cookies ... ok test_generator_callback (test_wsgi.TestWsgi) ... ok test_get (test_wsgi.TestWsgi) WSGI: GET routes ... ok test_headget (test_wsgi.TestWsgi) WSGI: HEAD routes and GET fallback ... ok test_post (test_wsgi.TestWsgi) WSGI: POST routes ... ok test_request_attrs (test_wsgi.TestWsgi) WSGI: POST routes ... ok test_utf8_404 (test_wsgi.TestWsgi) ... ok test_utf8_url (test_wsgi.TestWsgi) WSGI: UTF-8 Characters in the URL ... ok test_attr_access (test_formsdict.TestFormsDict) FomsDict.attribute returs string values as unicode. ... ok test_attr_missing (test_formsdict.TestFormsDict) FomsDict.attribute returs u'' on missing keys. ... ok test_attr_unicode_error (test_formsdict.TestFormsDict) FomsDict.attribute returs u'' on UnicodeError. ... ok test_decode_method (test_formsdict.TestFormsDict) ... ok test_apply (test_plugins.TestPluginAPI) ... /builddir/build/BUILD/bottle-0.12.9/bottle.py:526: DeprecationWarning: Switch to Plugin API v2 and access the Route object directly. context = self if api > 1 else self._context ok test_callable (test_plugins.TestPluginAPI) ... ok test_close (test_plugins.TestPluginAPI) ... ok test_instance_method_wrapper (test_plugins.TestPluginAPI) ... ok test_setup (test_plugins.TestPluginAPI) ... ok test_install_decorator (test_plugins.TestPluginManagement) ... ok test_install_non_plugin (test_plugins.TestPluginManagement) ... ok test_install_plugin (test_plugins.TestPluginManagement) ... ok test_plugin_oder (test_plugins.TestPluginManagement) ... ok test_route_plugin (test_plugins.TestPluginManagement) ... ok test_skip_all (test_plugins.TestPluginManagement) ... ok test_skip_by_class (test_plugins.TestPluginManagement) ... ok test_skip_by_instance (test_plugins.TestPluginManagement) ... ok test_skip_by_name (test_plugins.TestPluginManagement) ... ok test_skip_nonlist (test_plugins.TestPluginManagement) ... ok test_uninstall_all (test_plugins.TestPluginManagement) ... ok test_uninstall_by_instance (test_plugins.TestPluginManagement) ... ok test_uninstall_by_name (test_plugins.TestPluginManagement) ... ok test_uninstall_by_type (test_plugins.TestPluginManagement) ... ok test_asctime (test_sendfile.TestDateParser) DateParser: asctime format ... ok test_bad (test_sendfile.TestDateParser) DateParser: Bad format ... ok test_rfc1123 (test_sendfile.TestDateParser) DateParser: RFC 1123 format ... ok test_rfc850 (test_sendfile.TestDateParser) DateParser: RFC 850 format ... ok test_download (test_sendfile.TestSendFile) SendFile: Download as attachment ... ok test_ims (test_sendfile.TestSendFile) SendFile: If-Modified-Since ... ok test_invalid (test_sendfile.TestSendFile) SendFile: Invalid requests ... ok test_mime (test_sendfile.TestSendFile) SendFile: Mime Guessing ... ok test_range (test_sendfile.TestSendFile) ... ok test_range_parser (test_sendfile.TestSendFile) ... ok test_valid (test_sendfile.TestSendFile) SendFile: Valid requests ... ok testDeEncode (test_securecookies.TestSecureCookies) ... ok testIsEncoded (test_securecookies.TestSecureCookies) ... ok testValid (test_securecookies.TestSecureCookiesInBottle) ... ok testWrongKey (test_securecookies.TestSecureCookiesInBottle) ... ok testBasic (test_router.TestRouter) ... ok testBuild (test_router.TestRouter) ... ok testBuildAnon (test_router.TestRouter) ... ok testBuildFilter (test_router.TestRouter) ... ok testErrorInPattern (test_router.TestRouter) ... ok testFloatFilter (test_router.TestRouter) ... /builddir/build/BUILD/bottle-0.12.9/bottle.py:379: RuntimeWarning: Route > overwrites a previously defined route warnings.warn(msg % (method, rule), RuntimeWarning) ok testIntFilter (test_router.TestRouter) ... ok testNewSyntax (test_router.TestRouter) ... ok testParentheses (test_router.TestRouter) ... /builddir/build/BUILD/bottle-0.12.9/bottle.py:379: RuntimeWarning: Route overwrites a previously defined route warnings.warn(msg % (method, rule), RuntimeWarning) ok testPathFilter (test_router.TestRouter) ... ok testValueErrorInFilter (test_router.TestRouter) ... ok testWildcardNames (test_router.TestRouter) ... ok test_any_static_before_dynamic (test_router.TestRouter) Static ANY routes have higher priority than dynamic ANY routes. ... ok test_dynamic_any_if_method_exists (test_router.TestRouter) Check dynamic ANY routes if the matching method is known, ... ok test_dynamic_before_static_any (test_router.TestRouter) Static ANY routes have lower priority than dynamic GET routes. ... ok test_lots_of_routes (test_router.TestRouter) ... ok testBasic (test_router.TestRouterInCGIMode) ... ok testBuild (test_router.TestRouterInCGIMode) ... ok testBuildAnon (test_router.TestRouterInCGIMode) ... ok testBuildFilter (test_router.TestRouterInCGIMode) ... ok testErrorInPattern (test_router.TestRouterInCGIMode) ... ok testFloatFilter (test_router.TestRouterInCGIMode) ... ok testIntFilter (test_router.TestRouterInCGIMode) ... ok testNewSyntax (test_router.TestRouterInCGIMode) ... ok testParentheses (test_router.TestRouterInCGIMode) ... ok testPathFilter (test_router.TestRouterInCGIMode) ... ok testValueErrorInFilter (test_router.TestRouterInCGIMode) ... ok testWildcardNames (test_router.TestRouterInCGIMode) ... ok test_any_static_before_dynamic (test_router.TestRouterInCGIMode) Static ANY routes have higher priority than dynamic ANY routes. ... ok test_dynamic_any_if_method_exists (test_router.TestRouterInCGIMode) Check dynamic ANY routes if the matching method is known, ... ok test_dynamic_before_static_any (test_router.TestRouterInCGIMode) Static ANY routes have lower priority than dynamic GET routes. ... ok test_lots_of_routes (test_router.TestRouterInCGIMode) ... ok test__header (test_auth.TestBasicAuth) ... ok test_load_dict (test_config.TestConfDict) ... ok test_meta (test_config.TestConfDict) ... ok test_namespaces (test_config.TestConfDict) ... ok test_update (test_config.TestConfDict) ... ok test_write (test_config.TestConfDict) ... ok test_callback_inspection (test_route.TestRoute) ... ok test_defect_coding (test_stpl.TestSTPLDir) ... ok test_multiline_block (test_stpl.TestSTPLDir) ... ok test_multiline_comprehensions_in_code_line (test_stpl.TestSTPLDir) ... ok test_multiline_eob_after_end (test_stpl.TestSTPLDir) ... ok test_multiline_eob_in_single_line_code (test_stpl.TestSTPLDir) ... ok test_multiline_find_eob_in_comments (test_stpl.TestSTPLDir) ... ok test_multiline_ignore_eob_in_string (test_stpl.TestSTPLDir) ... ok test_multiline_indention (test_stpl.TestSTPLDir) ... ok test_multiline_strings_in_code_line (test_stpl.TestSTPLDir) ... ok test_old_include (test_stpl.TestSTPLDir) ... ok test_old_include_with_args (test_stpl.TestSTPLDir) ... ok test_blocks (test_stpl.TestSimpleTemplate) Templates: Code blocks and loops ... ok test_bug_block_keywords_eat_prefixed_code (test_stpl.TestSimpleTemplate) #595: Everything before an 'if' statement is removed, resulting in ... ok test_bug_no_whitespace_before_stmt (test_stpl.TestSimpleTemplate) ... ok test_coding_stress (test_stpl.TestSimpleTemplate) ... /builddir/build/BUILD/bottle-0.12.9/bottle.py:3562: DeprecationWarning: PEP263 encoding strings in templates are deprecated. line, comment = self.fix_backward_compatibility(line, comment) ok test_commentbug (test_stpl.TestSimpleTemplate) A "#" sign within an string is not a comment ... ok test_commentonly (test_stpl.TestSimpleTemplate) Templates: Commentd should behave like code-lines (e.g. flush text-lines) ... ok test_data (test_stpl.TestSimpleTemplate) Templates: Data representation ... ok test_dedentbug (test_stpl.TestSimpleTemplate) One-Line dednet blocks should not change indention ... ok test_defnied (test_stpl.TestSimpleTemplate) ... ok test_detect_pep263 (test_stpl.TestSimpleTemplate) PEP263 strings in code-lines change the template encoding on the fly ... /builddir/build/BUILD/bottle-0.12.9/bottle.py:188: DeprecationWarning: Template encodings other than utf8 are no longer supported. value = obj.__dict__[self.func.__name__] = self.func(obj) ok test_elsebug (test_stpl.TestSimpleTemplate) Whirespace between block keyword and colon is allowed ... ok test_error (test_stpl.TestSimpleTemplate) Templates: Exceptions ... ok test_escape (test_stpl.TestSimpleTemplate) ... ok test_escaped_codelines (test_stpl.TestSimpleTemplate) ... /builddir/build/BUILD/bottle-0.12.9/bottle.py:3357: DeprecationWarning: Escape code lines with a backslash. code = parser.translate() ok test_file (test_stpl.TestSimpleTemplate) ... /builddir/build/BUILD/bottle-0.12.9/bottle.py:3209: DeprecationWarning: The template lookup path list should not be empty. self.filename = self.search(self.name, self.lookup) ok test_get (test_stpl.TestSimpleTemplate) ... ok test_global_config (test_stpl.TestSimpleTemplate) ... ok test_htmlutils_quote (test_stpl.TestSimpleTemplate) ... ok test_ignore_late_pep263 (test_stpl.TestSimpleTemplate) PEP263 strings must appear within the first two lines ... ok test_ignore_pep263_in_textline (test_stpl.TestSimpleTemplate) PEP263 strings in text-lines have no effect ... ok test_import (test_stpl.TestSimpleTemplate) Templates: import statement ... ok test_include (test_stpl.TestSimpleTemplate) Templates: Include statements ... ok test_multiline (test_stpl.TestSimpleTemplate) Block statements with non-terminating newlines ... ok test_name (test_stpl.TestSimpleTemplate) ... ok test_newline_in_parameterlist (test_stpl.TestSimpleTemplate) Block statements with non-terminating newlines in list ... ok test_nobreak (test_stpl.TestSimpleTemplate) Templates: Nobreak statements ... ok test_noescape (test_stpl.TestSimpleTemplate) ... ok test_noescape_setting (test_stpl.TestSimpleTemplate) ... ok test_nonobreak (test_stpl.TestSimpleTemplate) Templates: Escaped nobreak statements ... ok test_notfound (test_stpl.TestSimpleTemplate) Templates: Unavailable templates ... ok test_onelineblocks (test_stpl.TestSimpleTemplate) Templates: one line code blocks ... ok test_onelinebugs (test_stpl.TestSimpleTemplate) One-Line blocks should not change indention ... ok test_rebase (test_stpl.TestSimpleTemplate) Templates: %rebase and method passing ... ok test_self_as_variable_name (test_stpl.TestSimpleTemplate) ... ok test_setdefault (test_stpl.TestSimpleTemplate) ... ok test_string (test_stpl.TestSimpleTemplate) Templates: Parse string ... ok test_template_shortcut (test_stpl.TestSimpleTemplate) ... ok test_unicode (test_stpl.TestSimpleTemplate) ... ok test_unicode_code (test_stpl.TestSimpleTemplate) Templates: utf8 code in file ... ok test_view_decorator (test_stpl.TestSimpleTemplate) ... ok test_view_decorator_issue_407 (test_stpl.TestSimpleTemplate) ... ok test_winbreaks (test_stpl.TestSimpleTemplate) Templates: Test windows line breaks ... ok test_winbreaks_end_bug (test_stpl.TestSimpleTemplate) ... ok test_get (test_resources.TestResourceManager) ... ok test_open (test_resources.TestResourceManager) ... ok test_path_absolutize (test_resources.TestResourceManager) ... ok test_path_create (test_resources.TestResourceManager) ... ok test_path_normalize (test_resources.TestResourceManager) ... ok test_path_order (test_resources.TestResourceManager) ... ok test_path_unique (test_resources.TestResourceManager) ... ok test_root_path (test_resources.TestResourceManager) ... ok test_absolute_path (test_environ.TestRedirect) ... ok test_host_http_1_0 (test_environ.TestRedirect) ... ok test_host_http_1_1 (test_environ.TestRedirect) ... ok test_host_http_proxy (test_environ.TestRedirect) ... ok test_redirect_preserve_cookies (test_environ.TestRedirect) ... ok test_relative_path (test_environ.TestRedirect) ... ok test_sheme (test_environ.TestRedirect) ... ok test_specialchars (test_environ.TestRedirect) The target URL is not quoted automatically. ... ok test_app_property (test_environ.TestRequest) ... ok test_auth (test_environ.TestRequest) ... ok test_bigbody (test_environ.TestRequest) Environ: Request.body should handle big uploads using files ... ok test_body (test_environ.TestRequest) Environ: Request.body should behave like a file object factory ... ok test_body_noclose (test_environ.TestRequest) Test that the body file handler is not closed after request.POST ... ok test_bodypost (test_environ.TestRequest) ... ok test_chunked (test_environ.TestRequest) ... ok test_chunked_illegal_size (test_environ.TestRequest) ... ok test_chunked_meta_fields (test_environ.TestRequest) ... ok test_chunked_not_chunked_at_all (test_environ.TestRequest) ... ok test_chunked_not_terminated (test_environ.TestRequest) ... ok test_chunked_wrong_size (test_environ.TestRequest) ... ok test_cookie_dict (test_environ.TestRequest) Environ: Cookie dict ... ok test_dict_access (test_environ.TestRequest) Environ: request objects are environment dicts ... ok test_get (test_environ.TestRequest) Environ: GET data ... ok test_getpostleak (test_environ.TestRequest) Environ: GET and POST should not leak into each other ... ok test_header_access (test_environ.TestRequest) Environ: Request objects decode headers ... ok test_header_access_special (test_environ.TestRequest) ... ok test_isajax (test_environ.TestRequest) ... ok test_json_empty (test_environ.TestRequest) Environ: Request.json property with empty body. ... ok test_json_forged_header_issue616 (test_environ.TestRequest) ... ok test_json_header_empty_body (test_environ.TestRequest) Request Content-Type is application/json but body is empty ... ok test_json_noheader (test_environ.TestRequest) Environ: Request.json property with missing content-type header. ... ok test_json_tobig (test_environ.TestRequest) Environ: Request.json property with huge body. ... ok test_json_valid (test_environ.TestRequest) Environ: Request.json property. ... ok test_method (test_environ.TestRequest) ... ok test_multipart (test_environ.TestRequest) Environ: POST (multipart files and multible values per key) ... ok test_params (test_environ.TestRequest) Environ: GET and POST are combined in request.param ... ok test_path (test_environ.TestRequest) PATH_INFO normalization. ... ok test_pathshift (test_environ.TestRequest) Request.path_shift() ... ok test_post (test_environ.TestRequest) Environ: POST data ... ok test_readonly_environ (test_environ.TestRequest) ... ok test_remote_addr (test_environ.TestRequest) ... ok test_remote_route (test_environ.TestRequest) ... ok test_route_property (test_environ.TestRequest) ... ok test_script_name (test_environ.TestRequest) SCRIPT_NAME normalization. ... ok test_tobigbody (test_environ.TestRequest) Environ: Request.body should truncate to Content-Length bytes ... ok test_url (test_environ.TestRequest) Environ: URL building ... ok test_url_for_property (test_environ.TestRequest) ... ok test_user_defined_attributes (test_environ.TestRequest) ... ok test_append_header (test_environ.TestResponse) ... ok test_charset (test_environ.TestResponse) ... ok test_constructor_body (test_environ.TestResponse) ... ok test_constructor_headerlist (test_environ.TestResponse) ... ok test_constructor_status (test_environ.TestResponse) ... ok test_content_type (test_environ.TestResponse) ... ok test_delete_cookie (test_environ.TestResponse) ... ok test_delete_header (test_environ.TestResponse) ... ok test_expires_header (test_environ.TestResponse) ... ok test_non_string_header (test_environ.TestResponse) ... ok test_set_cookie (test_environ.TestResponse) ... ok test_set_cookie_expires (test_environ.TestResponse) ... ok test_set_cookie_maxage (test_environ.TestResponse) ... ok test_set_header (test_environ.TestResponse) ... ok test_set_status (test_environ.TestResponse) ... ok test_bytes (test_environ.TestWSGIHeaderDict) ... ok test_dict (test_environ.TestWSGIHeaderDict) ... ok test_empty (test_environ.TestWSGIHeaderDict) ... ok test_native (test_environ.TestWSGIHeaderDict) ... ok test_unicode (test_environ.TestWSGIHeaderDict) ... ok test_data_import (test_importhook.TestImportHooks) ... ok test_direkt_import (test_importhook.TestImportHooks) ... ok test_ext_isfile (test_importhook.TestImportHooks) The virtual module needs a valid __file__ attribute. ... ok test_from_import (test_importhook.TestImportHooks) ... ok test_import_fail (test_importhook.TestImportHooks) Test a simple static page with this server adapter. ... ok test_bytearray (test_outputfilter.TestOutputFilter) ... ok test_bytes (test_outputfilter.TestOutputFilter) ... ok test_cookie (test_outputfilter.TestOutputFilter) WSGI: Cookies ... ok test_empty_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_emptylist (test_outputfilter.TestOutputFilter) ... ok test_error (test_outputfilter.TestOutputFilter) ... ok test_error_in_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_fatal_error (test_outputfilter.TestOutputFilter) ... ok test_fatal_error_in_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_file (test_outputfilter.TestOutputFilter) ... ok test_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_httperror_in_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_httpresponse_in_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_illegal (test_outputfilter.TestOutputFilter) ... ok test_invalid_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_iterator_with_close (test_outputfilter.TestOutputFilter) ... ok test_json (test_outputfilter.TestOutputFilter) ... ok test_json_HTTPError (test_outputfilter.TestOutputFilter) ... ok test_json_HTTPResponse (test_outputfilter.TestOutputFilter) ... ok test_json_serialization_error (test_outputfilter.TestOutputFilter) ... ok test_none (test_outputfilter.TestOutputFilter) ... ok test_tuple (test_outputfilter.TestOutputFilter) ... ok test_unicode (test_outputfilter.TestOutputFilter) ... ok test_unicode_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_filename (test_fileupload.TestFileUpload) ... ok test_name (test_fileupload.TestFileUpload) ... ok test_preserve_case_issue_582 (test_fileupload.TestFileUpload) ... ok test_raw_filename (test_fileupload.TestFileUpload) ... ok test_save_buffer (test_fileupload.TestFileUpload) ... ok test_save_dir (test_fileupload.TestFileUpload) ... ok test_save_file (test_fileupload.TestFileUpload) ... ok test_save_overwrite_lock (test_fileupload.TestFileUpload) ... ok ---------------------------------------------------------------------- Ran 313 tests in 3.437s OK + exit 0 Processing files: python2-bottle-0.12.9-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rSyfdI + umask 022 + cd /builddir/build/BUILD + cd bottle-0.12.9 + DOCDIR=/builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/share/doc/python2-bottle-0.12.9 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/share/doc/python2-bottle-0.12.9 + cp -pr AUTHORS /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/share/doc/python2-bottle-0.12.9 + cp -pr README.rst /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/share/doc/python2-bottle-0.12.9 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wxdjwj + umask 022 + cd /builddir/build/BUILD + cd bottle-0.12.9 + LICENSEDIR=/builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/share/licenses/python2-bottle-0.12.9 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/share/licenses/python2-bottle-0.12.9 + cp -pr LICENSE /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch/usr/share/licenses/python2-bottle-0.12.9 + exit 0 Provides: python-bottle = 0.12.9-1.el7 python2-bottle = 0.12.9-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Obsoletes: python-bottle < 0.12.9-1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch Wrote: /builddir/build/RPMS/python2-bottle-0.12.9-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4uuDAw + umask 022 + cd /builddir/build/BUILD + cd bottle-0.12.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-bottle-0.12.9-1.el7.noarch + exit 0 Child return code was: 0 LEAVE do -->