Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
ghx-label-7
Description
On a ubuntu-16.04-dockerised-tests build:
webserver.test_web_pages.TestWebPage.test_catalog Error Message webserver/test_web_pages.py:311: in test_catalog self.get_and_check_status_jvm(self.CATALOG_URL, "foo_part") webserver/test_web_pages.py:185: in get_and_check_status_jvm ports_to_test=self.TEST_PORTS_WITHOUT_SS) webserver/test_web_pages.py:170: in get_and_check_status assert string_to_search in response.text, "URL: {0} Str:'{1}'\nResp:{2}".format( E AssertionError: URL: http://localhost:25000/catalog Str:'foo_part' E Resp:<!-- E Licensed to the Apache Software Foundation (ASF) under one E or more contributor license agreements. See the NOTICE file E distributed with this work for additional information E regarding copyright ownership. The ASF licenses this file E to you under the Apache License, Version 2.0 (the E "License"); you may not use this file except in compliance E with the License. You may obtain a copy of the License at E E http://www.apache.org/licenses/LICENSE-2.0 E E Unless required by applicable law or agreed to in writing, E software distributed under the License is distributed on an E "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY E KIND, either express or implied. See the License for the E specific language governing permissions and limitations E under the License. E --> E <!-- E Licensed to the Apache Software Foundation (ASF) under one E or more contributor license agreements. See the NOTICE file E distributed with this work for additional information E regarding copyright ownership. The ASF licenses this file E to you under the Apache License, Version 2.0 (the E "License"); you may not use this file except in compliance E with the License. You may obtain a copy of the License at E E http://www.apache.org/licenses/LICENSE-2.0 E E Unless required by applicable law or agreed to in writing, E software distributed under the License is distributed on an E "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY E KIND, either express or implied. See the License for the E specific language governing permissions and limitations E under the License. E --> E E <!DOCTYPE html> E <html> E <head><title>Apache Impala</title> E <script src='/www/jquery/jquery-3.4.1.min.js'></script> E <script src='/www/bootstrap/js/bootstrap-4.3.1.min.js'></script> E <script src='/www/scripts/util.js'></script> E <link rel="stylesheet" type="text/css" href="/www/datatables-1.10.18.min.css"/> E <script type="text/javascript" src="/www/datatables-1.10.18.min.js"></script> E <link href='/www/bootstrap/css/bootstrap-4.3.1.min.css' rel='stylesheet' media='screen'> E <link rel='icon' href='/www/favicon.ico'> E <style> E @media (min-width: 1300px) { E #nav-options { E width: 1280px; E } E } E E body { E font-size: 14px; E } E E pre { E padding: 10px; E font-size: 12px; E border: 1px solid #ccc; E } E E /* Avoid unsightly padding around code element */ E pre.code { E padding: 0; E } E </style> E </head> E <body> E <header class="navbar navbar-default navbar-expand bg-light navbar-static-top" id="top" role="banner"> E <div id="nav-options" class="container"> E <div class="navbar-header"> E <a class='navbar-brand' href='/' id='root-link'>impalad</a> E </div> E <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation"> E <ul class="nav navbar-nav"> E E <li class="navbar-item"><a class="nav-link" href="/">/</a></li> E E <li class="navbar-item"><a class="nav-link" href="/admission">/admission</a></li> E E <li class="navbar-item"><a class="nav-link" href="/backends">/backends</a></li> E E <li class="navbar-item"><a class="nav-link" href="/catalog">/catalog</a></li> E E <li class="navbar-item"><a class="nav-link" href="/hadoop-varz">/hadoop-varz</a></li> E E <li class="navbar-item"><a class="nav-link" href="/jmx">/jmx</a></li> E E <li class="navbar-item"><a class="nav-link" href="/log_level">/log_level</a></li> E E <li class="navbar-item"><a class="nav-link" href="/logs">/logs</a></li> E E <li class="navbar-item"><a class="nav-link" href="/memz">/memz</a></li> E E <li class="navbar-item"><a class="nav-link" href="/metrics">/metrics</a></li> E E <li class="navbar-item"><a class="nav-link" href="/profile_docs">/profile_docs</a></li> E E <li class="navbar-item"><a class="nav-link" href="/queries">/queries</a></li> E E <li class="navbar-item"><a class="nav-link" href="/rpcz">/rpcz</a></li> E E <li class="navbar-item"><a class="nav-link" href="/sessions">/sessions</a></li> E E <li class="navbar-item"><a class="nav-link" href="/threadz">/threadz</a></li> E E <li class="navbar-item"><a class="nav-link" href="/varz">/varz</a></li> E E </ul> E </nav> E </div> E </header> E <div class='container-fluid' style='width:80%'> E E <div class="alert alert-danger"> E <strong>Error:</strong> E InconsistentMetadataFetchException: Fetching DATABASE failed. Could not find TCatalogObject(type:DATABASE, catalog_version:0, db:TDatabase(db_name:test_query_time_and_link_message_ddef586f)) E E </div> E E <script> E // For Apache Knox compatibility, all urls that are accessed by javascript should have E // their path wrapped with this. E function make_url(path) { E var root_link = document.getElementById('root-link'); E var s = root_link.href.split("?"); E url = s[0] + path; E if (s.length > 1) { E if (path.includes("?")) { E url += "&" E } else { E url += "?"; E } E url += s[1]; E } E return url; E } E </script> E E <h2>Catalog</h2> E E E E E E E E E E <h3>Databases</h3> E <ol class="breadcrumb"> E E </ol> E E E E </div> E </body> E </html> E E E assert 'foo_part' in '<!--\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements. See the NOTI...;\n}\n</script>\n\n<h2>Catalog</h2>\n\n\n\n\n\n\n\n\n\n<h3>Databases</h3>\n<ol class="breadcrumb">\n\n</ol>\n\n\n\n</div>\n</body>\n</html>\n\n' E + where '<!--\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements. See the NOTI...;\n}\n</script>\n\n<h2>Catalog</h2>\n\n\n\n\n\n\n\n\n\n<h3>Databases</h3>\n<ol class="breadcrumb">\n\n</ol>\n\n\n\n</div>\n</body>\n</html>\n\n' = <Response [200]>.text Stacktrace webserver/test_web_pages.py:311: in test_catalog self.get_and_check_status_jvm(self.CATALOG_URL, "foo_part") webserver/test_web_pages.py:185: in get_and_check_status_jvm ports_to_test=self.TEST_PORTS_WITHOUT_SS) webserver/test_web_pages.py:170: in get_and_check_status assert string_to_search in response.text, "URL: {0} Str:'{1}'\nResp:{2}".format( E AssertionError: URL: http://localhost:25000/catalog Str:'foo_part' E Resp:<!-- E Licensed to the Apache Software Foundation (ASF) under one E or more contributor license agreements. See the NOTICE file E distributed with this work for additional information E regarding copyright ownership. The ASF licenses this file E to you under the Apache License, Version 2.0 (the E "License"); you may not use this file except in compliance E with the License. You may obtain a copy of the License at E E http://www.apache.org/licenses/LICENSE-2.0 E E Unless required by applicable law or agreed to in writing, E software distributed under the License is distributed on an E "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY E KIND, either express or implied. See the License for the E specific language governing permissions and limitations E under the License. E --> E <!-- E Licensed to the Apache Software Foundation (ASF) under one E or more contributor license agreements. See the NOTICE file E distributed with this work for additional information E regarding copyright ownership. The ASF licenses this file E to you under the Apache License, Version 2.0 (the E "License"); you may not use this file except in compliance E with the License. You may obtain a copy of the License at E E http://www.apache.org/licenses/LICENSE-2.0 E E Unless required by applicable law or agreed to in writing, E software distributed under the License is distributed on an E "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY E KIND, either express or implied. See the License for the E specific language governing permissions and limitations E under the License. E --> E E <!DOCTYPE html> E <html> E <head><title>Apache Impala</title> E <script src='/www/jquery/jquery-3.4.1.min.js'></script> E <script src='/www/bootstrap/js/bootstrap-4.3.1.min.js'></script> E <script src='/www/scripts/util.js'></script> E <link rel="stylesheet" type="text/css" href="/www/datatables-1.10.18.min.css"/> E <script type="text/javascript" src="/www/datatables-1.10.18.min.js"></script> E <link href='/www/bootstrap/css/bootstrap-4.3.1.min.css' rel='stylesheet' media='screen'> E <link rel='icon' href='/www/favicon.ico'> E <style> E @media (min-width: 1300px) { E #nav-options { E width: 1280px; E } E } E E body { E font-size: 14px; E } E E pre { E padding: 10px; E font-size: 12px; E border: 1px solid #ccc; E } E E /* Avoid unsightly padding around code element */ E pre.code { E padding: 0; E } E </style> E </head> E <body> E <header class="navbar navbar-default navbar-expand bg-light navbar-static-top" id="top" role="banner"> E <div id="nav-options" class="container"> E <div class="navbar-header"> E <a class='navbar-brand' href='/' id='root-link'>impalad</a> E </div> E <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation"> E <ul class="nav navbar-nav"> E E <li class="navbar-item"><a class="nav-link" href="/">/</a></li> E E <li class="navbar-item"><a class="nav-link" href="/admission">/admission</a></li> E E <li class="navbar-item"><a class="nav-link" href="/backends">/backends</a></li> E E <li class="navbar-item"><a class="nav-link" href="/catalog">/catalog</a></li> E E <li class="navbar-item"><a class="nav-link" href="/hadoop-varz">/hadoop-varz</a></li> E E <li class="navbar-item"><a class="nav-link" href="/jmx">/jmx</a></li> E E <li class="navbar-item"><a class="nav-link" href="/log_level">/log_level</a></li> E E <li class="navbar-item"><a class="nav-link" href="/logs">/logs</a></li> E E <li class="navbar-item"><a class="nav-link" href="/memz">/memz</a></li> E E <li class="navbar-item"><a class="nav-link" href="/metrics">/metrics</a></li> E E <li class="navbar-item"><a class="nav-link" href="/profile_docs">/profile_docs</a></li> E E <li class="navbar-item"><a class="nav-link" href="/queries">/queries</a></li> E E <li class="navbar-item"><a class="nav-link" href="/rpcz">/rpcz</a></li> E E <li class="navbar-item"><a class="nav-link" href="/sessions">/sessions</a></li> E E <li class="navbar-item"><a class="nav-link" href="/threadz">/threadz</a></li> E E <li class="navbar-item"><a class="nav-link" href="/varz">/varz</a></li> E E </ul> E </nav> E </div> E </header> E <div class='container-fluid' style='width:80%'> E E <div class="alert alert-danger"> E <strong>Error:</strong> E InconsistentMetadataFetchException: Fetching DATABASE failed. Could not find TCatalogObject(type:DATABASE, catalog_version:0, db:TDatabase(db_name:test_query_time_and_link_message_ddef586f)) E E </div> E E <script> E // For Apache Knox compatibility, all urls that are accessed by javascript should have E // their path wrapped with this. E function make_url(path) { E var root_link = document.getElementById('root-link'); E var s = root_link.href.split("?"); E url = s[0] + path; E if (s.length > 1) { E if (path.includes("?")) { E url += "&" E } else { E url += "?"; E } E url += s[1]; E } E return url; E } E </script> E E <h2>Catalog</h2> E E E E E E E E E E <h3>Databases</h3> E <ol class="breadcrumb"> E E </ol> E E E E </div> E </body> E </html> E E E assert 'foo_part' in '<!--\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements. See the NOTI...;\n}\n</script>\n\n<h2>Catalog</h2>\n\n\n\n\n\n\n\n\n\n<h3>Databases</h3>\n<ol class="breadcrumb">\n\n</ol>\n\n\n\n</div>\n</body>\n</html>\n\n' E + where '<!--\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements. See the NOTI...;\n}\n</script>\n\n<h2>Catalog</h2>\n\n\n\n\n\n\n\n\n\n<h3>Databases</h3>\n<ol class="breadcrumb">\n\n</ol>\n\n\n\n</div>\n</body>\n</html>\n\n' = <Response [200]>.text
Attachments
Issue Links
- relates to
-
IMPALA-10125 webserver.test_web_pages.TestWebPage.test_catalog failed
- Reopened