<!-- 
RSS generated by JIRA (9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1) at Sat Feb 10 06:06:33 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Akraino JIRA</title>
    <link>https://jira.akraino.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.5</version>
        <build-number>940005</build-number>
        <build-date>11-04-2023</build-date>
    </build-info>


<item>
            <title>[VAL-5] Test OPNFV Functest for Kubernetes testing</title>
                <link>https://jira.akraino.org/browse/VAL-5</link>
                <project id="10308" key="VAL">Validation</project>
                    <description>&lt;p&gt;Run OPNFV Functest-kubernetes against an IEC deployment for both x86 and aarch64.&lt;/p&gt;</description>
                <environment></environment>
        <key id="10213">VAL-5</key>
            <summary>Test OPNFV Functest for Kubernetes testing</summary>
                <type id="10002" iconUrl="https://jira.akraino.org/secure/viewavatar?size=xsmall&amp;avatarId=10318&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.akraino.org/images/icons/priorities/medium.svg">Medium</priority>
                        <status id="10001" iconUrl="https://jira.akraino.org/" description="">Done</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="cristinapauna">Cristina Pauna</assignee>
                                    <reporter username="TapioTallgren">Tapio Tallgren</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Mar 2019 12:46:59 +0000</created>
                <updated>Wed, 10 Apr 2019 15:36:57 +0000</updated>
                            <resolved>Wed, 10 Apr 2019 15:36:57 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="10106" author="cristinapauna" created="Tue, 19 Mar 2019 12:15:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.akraino.org/secure/ViewProfile.jspa?name=ns156u&quot; class=&quot;user-hover&quot; rel=&quot;ns156u&quot;&gt;ns156u&lt;/a&gt; Not sure what the genesis node is, we usually run functest from a jumpserver (a server from which k8s is installed, separate from the cluster itself).&lt;/p&gt;

&lt;p&gt;I ran the test also from the k8s master today and the test passed.&lt;/p&gt;

&lt;p&gt;{{ubuntu@iec01:~$ cat k8.creds }}&lt;br/&gt;
&lt;tt&gt;export KUBERNETES_PROVIDER=local&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;export KUBE_MASTER_URL=&lt;a href=&quot;https://127.0.0.1:6443&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://127.0.0.1:6443&lt;/a&gt;&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;export KUBE_MASTER_IP=127.0.0.1&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;In your case it seems connection to &lt;a href=&quot;https://127.0.0.1:6553/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&amp;amp;resourceVersion=0:&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://127.0.0.1:6553/api/v1&lt;/a&gt; is denied to localhost. What is the output of the command below?&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;wget &lt;a href=&quot;https://127.0.0.1:6553/api/v1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://127.0.0.1:6553/api/v1&lt;/a&gt; --no-check-certificate&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="10105" author="ns156u" created="Fri, 15 Mar 2019 05:33:25 +0000"  >&lt;p&gt;I am running it form genesis node.&lt;/p&gt;</comment>
                            <comment id="10104" author="ns156u" created="Fri, 15 Mar 2019 05:33:06 +0000"  >&lt;p&gt;Mar 15 05:28:25.275: INFO: &amp;gt;&amp;gt;&amp;gt; kubeConfig: /root/.kube/config&lt;br/&gt;
Mar 15 05:28:25.278: INFO: Waiting up to 30m0s for all (but 0) nodes to be schedulable&lt;br/&gt;
Mar 15 05:28:25.278: INFO: Unexpected error listing nodes: Get &lt;a href=&quot;https://127.0.0.1:6553/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&amp;amp;resourceVersion=0:&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://127.0.0.1:6553/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&amp;amp;resourceVersion=0:&lt;/a&gt; dial tcp 127.0.0.1:6553: connect: connection refused&lt;br/&gt;
Mar 15 05:28:25.278: INFO: Unexpected error occurred: Get &lt;a href=&quot;https://127.0.0.1:6553/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&amp;amp;resourceVersion=0:&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://127.0.0.1:6553/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&amp;amp;resourceVersion=0:&lt;/a&gt; dial tcp 127.0.0.1:6553: connect: connection refused&lt;br/&gt;
Failure &lt;span class=&quot;error&quot;&gt;&amp;#91;0.003 seconds&amp;#93;&lt;/span&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;BeforeSuite&amp;#93;&lt;/span&gt; BeforeSuite&lt;br/&gt;
_output/local/go/src/k8s.io/kubernetes/test/e2e/e2e.go:70&lt;/p&gt;

&lt;p&gt;  Unexpected error:&lt;br/&gt;
      &amp;lt;*url.Error | 0xc001e85260&amp;gt;: {&lt;br/&gt;
          Op: &quot;Get&quot;,&lt;br/&gt;
          URL: &quot;https://127.0.0.1:6553/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&amp;amp;resourceVersion=0&quot;,&lt;br/&gt;
          Err: {&lt;br/&gt;
              Op: &quot;dial&quot;,&lt;br/&gt;
              Net: &quot;tcp&quot;,&lt;br/&gt;
              Source: nil,&lt;br/&gt;
              Addr: &lt;/p&gt;
{
                  IP: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 127, 0, 0, 1],
                  Port: 6553,
                  Zone: &quot;&quot;,
              }
&lt;p&gt;,&lt;br/&gt;
              Err: &lt;/p&gt;
{Syscall: &quot;connect&quot;, Err: 0x6f}
&lt;p&gt;,&lt;br/&gt;
          },&lt;br/&gt;
      }&lt;br/&gt;
      Get &lt;a href=&quot;https://127.0.0.1:6553/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&amp;amp;resourceVersion=0:&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://127.0.0.1:6553/api/v1/nodes?fieldSelector=spec.unschedulable%3Dfalse&amp;amp;resourceVersion=0:&lt;/a&gt; dial tcp 127.0.0.1:6553: connect: connection refused&lt;br/&gt;
  occurred&lt;/p&gt;

&lt;p&gt;  _output/local/go/src/k8s.io/kubernetes/test/e2e/e2e.go:104&lt;br/&gt;
------------------------------&lt;br/&gt;
Mar 15 05:28:25.279: INFO: Running AfterSuite actions on all nodes&lt;br/&gt;
Mar 15 05:28:25.279: INFO: Running AfterSuite actions on node 1&lt;br/&gt;
Mar 15 05:28:25.279: INFO: Dumping logs locally to: /home/opnfv/functest/results/k8s_smoke&lt;br/&gt;
Mar 15 05:28:25.279: INFO: Error running cluster/log-dump/log-dump.sh: fork/exec ../../cluster/log-dump/log-dump.sh: no such file or directory&lt;/p&gt;

&lt;p&gt;Ran 1 of 0 Specs in 0.004 seconds&lt;br/&gt;
FAIL! &amp;#8211; 0 Passed | 1 Failed | 0 Pending | 0 Skipped &amp;#8212; FAIL: TestE2E (0.11s)&lt;/p&gt;</comment>
                            <comment id="10103" author="jingzhao" created="Thu, 14 Mar 2019 11:37:09 +0000"  >&lt;p&gt;Ran the opnfv/functest-kubernetes-healthcheck:latest image against an arm64 k8s deploy.&lt;/p&gt;

&lt;p&gt;The environmental-setting is same as x86 platform&apos;s. You can directly reference the x86 configurations. And the default.log is attached &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.akraino.org/secure/attachment/10001/10001_functest-k8s.log&quot; title=&quot;functest-k8s.log attached to VAL-5&quot;&gt;functest-k8s.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.akraino.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;On the other hand, when deploying the functest-kubernetes-healthcheck, i found that the status of coredns pod in kube-system namespace is crashed. It caused by host dns configuration. And i will updated the automatic scripts in future.&lt;/p&gt;</comment>
                            <comment id="10102" author="jukosone" created="Thu, 14 Mar 2019 11:33:58 +0000"  >&lt;p&gt;In this case results were attempted to push to database because option &apos;-r&apos; (report) was set in execution command:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;run_tests -r -t all&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;$ run_tests --help
usage: run_tests [-h] [-t TEST] [-n] [-r]
optional arguments:
 -h, --help show &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; help message and exit
 -t TEST, --test TEST Test &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; or tier (group of tests) to be executed. It
 will run all the test &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; not specified.
 -n, --noclean Do not clean OpenStack resources after running each
 test (&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;).
 -r, --report Push results to database (&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;=&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;).
$
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="10101" author="cristinapauna" created="Wed, 13 Mar 2019 09:36:48 +0000"  >&lt;p&gt;Ran the opnfv/functest-kubernetes-healthcheck:latest image against an x86 k8s deploy. The image can be used as is, with some prerequisites:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;copy admin.conf file in jenkins home (for the parameter -v /home/jenkins/admin.conf:/root/.kube/config)&lt;/li&gt;
	&lt;li&gt;create k8.creds (for the parameter -v /home/jenkins/k8.creds:/home/opnfv/functest/conf/env_file)
	&lt;ul&gt;
		&lt;li&gt;$ cat /home/jenkins/k8.creds&lt;br/&gt;
export KUBERNETES_PROVIDER=local&lt;br/&gt;
export KUBE_MASTER_URL=&lt;a href=&quot;https://172.16.10.36:6443&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://172.16.10.36:6443&lt;/a&gt;&lt;br/&gt;
export KUBE_MASTER_IP=172.16.10.36&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Start the tests from the jumpserver:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;docker run -e DEPLOY_SCENARIO=k8-nosdn-nofeature-noha -v /home/jenkins/k8.creds:/home/opnfv/functest/conf/env_file -v /home/jenkins/opnfv/functest/results/master:/home/opnfv/functest/results -v /home/jenkins/admin.conf:/root/.kube/config opnfv/functest-kubernetes-healthcheck:latest /bin/bash -c &apos;run_tests -r -t all&apos;&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;One additional note, the tests try to push the results to &lt;a href=&quot;http://testresults.opnfv.org/test/api/v1/results&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://testresults.opnfv.org/test/api/v1/results&lt;/a&gt; by default. Log of the run is attached.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10001" name="functest-k8s.log" size="5484" author="Jingzhao" created="Thu, 14 Mar 2019 11:36:40 +0000"/>
                            <attachment id="10002" name="functest_k8s_x86.txt" size="4448" author="cristinapauna" created="Thu, 14 Mar 2019 11:45:16 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10105" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i00087:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>