Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-6779

MTT: TestTrafficShifting testcase failed against the 2.6 SMCP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • OSSM 2.6.0
    • OSSM 2.6.0
    • Customer Impact
    • None

      With the latest build of OSSM 2.6 (openshift-service-mesh-istio-operator-bundle:2.6.0-30), the TestTrafficShifting test fails on:

      TestTrafficShifting/50_percent_to_v3
      TestTrafficShifting/100_percent_to_v3

          traffic_shifting_test.go:90:    FATAL: expected status code 200 but got 500 Internal Server Error and response: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                "http://www.w3.org/TR/html4/loose.dtd">
              <html>
                <head>
                  <title>requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0) // Werkzeug Debugger</title>
                  <link rel="stylesheet" href="?__debugger__=yes&amp;cmd=resource&amp;f=style.css"
                      type="text/css">
                  <!-- We need to make sure this has a favicon so that the debugger does
                       not by accident trigger a request to /favicon.ico which might
                       change the application state. -->
                  <link rel="shortcut icon"
                      href="?__debugger__=yes&amp;cmd=resource&amp;f=console.png">
                  <script src="?__debugger__=yes&amp;cmd=resource&amp;f=jquery.js"></script>
                  <script src="?__debugger__=yes&amp;cmd=resource&amp;f=debugger.js"></script>
                  <script type="text/javascript">
                    var TRACEBACK = 140589454511760,
                        CONSOLE_MODE = false,
                        EVALEX = true,
                        EVALEX_TRUSTED = false,
                        SECRET = "btbuIOiqjtYgPfjt8De0";
                  </script>
                </head>
                <body style="background-color: #fff">
                  <div class="debugger">
              <h1>requests.exceptions.JSONDecodeError</h1>
              <div class="detail">
                <p class="errormsg">requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)</p>
              </div>
              <h2 class="traceback">Traceback <em>(most recent call last)</em></h2>
              <div class="traceback">
                
                <ul><li><div class="frame" id="frame-140589454523280">
                <h4>File <cite class="filename">"/usr/local/lib/python3.7/site-packages/simplejson/scanner.py"</cite>,
                    line <em class="line">37</em>,
                    in <code class="function">_scan_once</code></h4>
                <div class="source library"><pre class="line before"><span class="ws">    </span>memo = context.memo</pre>
              <pre class="line before"><span class="ws"></span> </pre>
              <pre class="line before"><span class="ws">    </span>def _scan_once(string, idx):</pre>
              <pre class="line before"><span class="ws">        </span>errmsg = 'Expecting value'</pre>
              <pre class="line before"><span class="ws">        </span>try:</pre>
              <pre class="line current"><span class="ws">            </span>nextchar = string[idx]</pre>
              <pre class="line after"><span class="ws">        </span>except IndexError:</pre>
              <pre class="line after"><span class="ws">            </span>raise JSONDecodeError(errmsg, string, idx)</pre>
              <pre class="line after"><span class="ws"></span> </pre>
              <pre class="line after"><span class="ws">        </span>if nextchar == '&quot;':</pre>
              <pre class="line after"><span class="ws">            </span>return parse_string(string, idx + 1, encoding, strict)</pre></div>
              </div>
              
              <li><div class="exc-divider">During handling of the above exception, another exception occurred:</div>
              <li><div class="frame" id="frame-140589454522960">
                <h4>File <cite class="filename">"/usr/local/lib/python3.7/site-packages/requests/models.py"</cite>,
                    line <em class="line">971</em>,
                    in <code class="function">json</code></h4>
                <div class="source library"><pre class="line before"><span class="ws">                    </span>pass</pre>
      

            pbajjuri0204 Praneeth Bajjuri
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: