[
https://issues.apache.org/jira/browse/SLIDER-894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570935#comment-14570935
]
Gour Saha commented on SLIDER-894:
----------------------------------
This test now fails with some HTML dump -
{noformat}
test failure
tcid = 'org.apache.slider.funtest.lifecycle.AgentWebPagesIT-testAgentWeb'
@pytest.mark.p0
@pytest.mark.parametrize("tcid", TESTCASES)
def test_slider_funtests(tcid):
'''
Verify Java junit results for tcid=${tcid}.
'''
> assert TEST_RESULT[tcid]['result'] == "pass", TEST_RESULT[tcid]['failure']
E AssertionError: expected a 401, got <!DOCTYPE html PUBLIC "-//W3C//DTD HTML
4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
E <html>
E <meta http-equiv="X-UA-Compatible" content="IE=8">
E <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
E <title>
E Slider App Master
E </title>
E <link rel="stylesheet"
href="/proxy/application_1433324323674_0013/static/yarn.css">
E <style type="text/css">
E #layout { height: 100%; }
E #layout thead td { height: 3em; }
E #layout #navcell { width: 11em; padding: 0 1em; }
E #layout td.content { padding-top: 0 }
E #layout tbody { vertical-align: top; }
E #layout tfoot td { height: 4em; }
E </style>
E <link rel="stylesheet"
href="/proxy/application_1433324323674_0013/static/jquery/themes-1.9.1/base/jquery-ui.css">
E <link rel="stylesheet"
href="/proxy/application_1433324323674_0013/static/dt-1.9.4/css/jui-dt.css">
E <script type="text/javascript"
src="/proxy/application_1433324323674_0013/static/jquery/jquery-1.8.2.min.js">
E </script>
E <script type="text/javascript"
src="/proxy/application_1433324323674_0013/static/jquery/jquery-ui-1.9.1.custom.min.js">
E </script>
E <script type="text/javascript"
src="/proxy/application_1433324323674_0013/static/dt-1.9.4/js/jquery.dataTables.min.js">
E </script>
E <script type="text/javascript"
src="/proxy/application_1433324323674_0013/static/yarn.dt.plugins.js">
E </script>
E <style type="text/css">
E #jsnotice { padding: 0.2em; text-align: center; }
E .ui-progressbar { height: 1em; min-width: 5em }
E </style>
E <script type="text/javascript">
E $(function() {
E $('#nav').accordion({autoHeight:false, active:0});
E });
E </script>
E <div id="jsnotice" class="ui-state-error">
E This page will not function without javascript enabled. Please enable
javascript on your browser.
E </div>
E <script type="text/javascript">
E $('#jsnotice').hide();
E </script>
E <table id="layout" class="ui-widget-content">
E <thead>
E <tr>
E <td colspan="2">
E <div id="header" class="ui-widget">
E <div id="user">
E Logged in as: dr.who
E </div>
E <div id="logo">
E <img src="/static/hadoop-st.png">
E </div>
E <h1>
E Slider App Master
E </h1>
E </div>
E </td>
E </tr>
E </thead>
E <tfoot>
E <tr>
E <td colspan="2">
E <div id="footer" class="ui-widget">
E </div>
E </td>
E </tr>
E </tfoot>
E <tbody>
E <tr>
E <td id="navcell">
E <div id="nav">
E <h3>
E Slider
E </h3>
E <ul>
E <li>
E <a href="/proxy/application_1433324323674_0013/slideram">Overview</a>
E <li>
E <a href="/proxy/application_1433324323674_0013/slideram/stats">Statistics</a>
E <li>
E <a
href="/proxy/application_1433324323674_0013/slideram/spec">Specification</a>
E <li>
E <a
href="/proxy/application_1433324323674_0013/slideram/spec">Specification</a>
E <li>
E <a
href="/proxy/application_1433324323674_0013/system/metrics?format=json">Metrics</a>
E <li>
E <a href="/proxy/application_1433324323674_0013/system/health">Health</a>
E <li>
E <a href="/proxy/application_1433324323674_0013/system/threads">Threads</a>
E </ul>
E <h3>
E REST API
E </h3>
E <ul>
E <li>
E <a
href="/proxy/application_1433324323674_0013/ws/v1/slider/application/model/desired">Specified</a>
E <li>
E <a
href="/proxy/application_1433324323674_0013/ws/v1/slider/application/model/resolved">Resolved</a>
E <li>
E <a
href="/proxy/application_1433324323674_0013/ws/v1/slider/application/live/resources">Resources</a>
E <li>
E <a
href="/proxy/application_1433324323674_0013/ws/v1/slider/application/live/components">Components</a>
E <li>
E <a
href="/proxy/application_1433324323674_0013/ws/v1/slider/application/live/containers">Containers</a>
E <li>
E <a
href="/proxy/application_1433324323674_0013/ws/v1/slider/application/live/liveness">Liveness</a>
E </ul>
E </div>
E </td>
E <td class="content">
E <div class="general_info">
E <h1 class="index_header">
E Application: test-agent-web
E </h1>
E <table>
E <tr>
E <td>
E Status
E </td>
E <td>
E all containers allocated
E </td>
E </tr>
E <tr>
E <td>
E Total number of containers
E </td>
E <td>
E 1
E </td>
E </tr>
E <tr>
E <td>
E Create time:
E </td>
E <td>
E 3 Jun 2015 11:10:26 GMT
E </td>
E </tr>
E <tr>
E <td>
E Running since:
E </td>
E <td>
E 3 Jun 2015 11:10:26 GMT
E </td>
E </tr>
E <tr>
E <td>
E Time last flexed:
E </td>
E <td>
E N/A
E </td>
E </tr>
E <tr>
E <td>
E Application storage path:
E </td>
E <td>
E
hdfs://ip-172-31-41-85.ec2.internal:8020/user/hrt_qa/.slider/cluster/test-agent-web/database
E </td>
E </tr>
E <tr>
E <td>
E Application configuration path:
E </td>
E <td>
E
hdfs://ip-172-31-41-85.ec2.internal:8020/user/hrt_qa/.slider/cluster/test-agent-web/snapshot
E </td>
E </tr>
E </table>
E </div>
E <div class="container_instances">
E <h3>
E Component Instances
E </h3>
E <table>
E <tr>
E <td>
E Component
E </td>
E <td>
E Desired
E </td>
E <td>
E Actual
E </td>
E <td>
E Outstanding Requests
E </td>
E <td>
E Failed
E </td>
E <td>
E Failed to start
E </td>
E </tr>
E <tr>
E <td>
E COMMAND_LOGGER
E </td>
E <td>
E 0
E </td>
E <td>
E 0
E </td>
E <td>
E 0
E </td>
E <td>
E 0
E </td>
E <td>
E 0
E </td>
E </tr>
E <tr>
E <td>
E slider-appmaster
E </td>
E <td>
E 1
E </td>
E <td>
E 1
E </td>
E <td>
E 0
E </td>
E <td>
E 0
E </td>
E <td>
E 0
E </td>
E </tr>
E </table>
E </div>
E <p>
E <p>
E <div class="provider_info">
E <h3>
E Slider Agent information
E </h3>
E <ul>
E <li>
E http://
E <a
href="http://ip-172-31-41-90.ec2.internal:1025">http://ip-172-31-41-90.ec2.internal:1025</a>
E <li>
E classpath:org.apache.slider.client.rest
E <a
href="http://ip-172-31-41-90.ec2.internal:1025">http://ip-172-31-41-90.ec2.internal:1025</a>
E <li>
E classpath:org.apache.slider.management
E <a
href="http://ip-172-31-41-90.ec2.internal:1025/ws/v1/slider/mgmt">http://ip-172-31-41-90.ec2.internal:1025/ws/v1/slider/mgmt</a>
E <li>
E classpath:org.apache.slider.publisher
E <a
href="http://ip-172-31-41-90.ec2.internal:1025/ws/v1/slider/publisher">http://ip-172-31-41-90.ec2.internal:1025/ws/v1/slider/publisher</a>
E <li>
E classpath:org.apache.slider.registry
E <a
href="http://ip-172-31-41-90.ec2.internal:1025/ws/v1/slider/registry">http://ip-172-31-41-90.ec2.internal:1025/ws/v1/slider/registry</a>
E <li>
E classpath:org.apache.slider.publisher.configurations
E <a
href="http://ip-172-31-41-90.ec2.internal:1025/ws/v1/slider/publisher/slider">http://ip-172-31-41-90.ec2.internal:1025/ws/v1/slider/publisher/slider</a>
E <li>
E classpath:org.apache.slider.publisher.exports
E <a
href="http://ip-172-31-41-90.ec2.internal:1025/ws/v1/slider/publisher/exports">http://ip-172-31-41-90.ec2.internal:1025/ws/v1/slider/publisher/exports</a>
E <li>
E slider-appmaster Host(s)/Container(s):
[ip-172-31-41-90.ec2.internal/container_e02_1433324323674_0013_01_000001]
E </ul>
E </div>
E </td>
E </tr>
E </tbody>
E </table>
E </html>
tests/slider/test_slider_funtests.py:130: AssertionError
{noformat}
> AgentWebPagesIT fails with AuthenticationException in secure clusters
> ---------------------------------------------------------------------
>
> Key: SLIDER-894
> URL: https://issues.apache.org/jira/browse/SLIDER-894
> Project: Slider
> Issue Type: Bug
> Components: Web & REST
> Affects Versions: Slider 0.81
> Environment: Java 8
> Reporter: Steve Loughran
> Assignee: Jonathan Maron
>
> seeing a test failure in a secure cluster
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)