<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:08:38 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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[AAA-101] token authentication fails intermittently</title>
                <link>https://jira.opendaylight.org/browse/AAA-101</link>
                <project id="10102" key="AAA">aaa</project>
                    <description>&lt;p&gt;aaa authn csit jobs see sporadic failures in test cases using token&lt;br/&gt;
authentication.  The recently (within 1s) retrieved token does not&lt;br/&gt;
authenticate and the test REST call returns 401 and the test case&lt;br/&gt;
fails.&lt;/p&gt;

&lt;p&gt;one job here:&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/aaa/job/aaa-csit-1node-authn-only-boron/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/aaa/job/aaa-csit-1node-authn-only-boron/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;running the same suites locally produces the same failures.  While &lt;br/&gt;
reproducing, I used TRACE logging on org.opendaylight.aaa and saw&lt;br/&gt;
these messages just after the failed token authentication happened:&lt;/p&gt;

&lt;p&gt;2016-05-04 00:00:21,915 | DEBUG | tp555984556-1669 | TokenAuthRealm                   | 212 - org.opendaylight.aaa.shiro - 0.3.2.Beryllium-SR2 | Authentication attempt using org.opendaylight.aaa.basic.HttpBasicAuth&lt;br/&gt;
2016-05-04 00:00:21,915 | DEBUG | tp555984556-1669 | IdmLightProxy                    | 223 - org.opendaylight.aaa.idmlight - 0.3.2.Beryllium-SR2 | get domain&lt;br/&gt;
2016-05-04 00:00:21,923 | DEBUG | tp555984556-1669 | AbstractStore                    | 222 - org.opendaylight.aaa.h2-store - 0.3.2.Beryllium-SR2 | Table DOMAINS already exists&lt;br/&gt;
2016-05-04 00:00:21,923 | DEBUG | tp555984556-1669 | DomainStore                      | 222 - org.opendaylight.aaa.h2-store - 0.3.2.Beryllium-SR2 | query string: prep257: SELECT * FROM DOMAINS WHERE domainid = ?  &lt;/p&gt;
{1: &apos;sdn&apos;}
&lt;p&gt;2016-05-04 00:00:21,926 | DEBUG | tp555984556-1669 | IdmLightProxy                    | 223 - org.opendaylight.aaa.idmlight - 0.3.2.Beryllium-SR2 | check user / pwd&lt;br/&gt;
2016-05-04 00:00:21,926 | DEBUG | tp555984556-1669 | UserStore                        | 222 - org.opendaylight.aaa.h2-store - 0.3.2.Beryllium-SR2 | getUsers for: &#239;&#191;&#189; in domain sdn&lt;br/&gt;
2016-05-04 00:00:21,942 | DEBUG | tp555984556-1669 | AbstractStore                    | 222 - org.opendaylight.aaa.h2-store - 0.3.2.Beryllium-SR2 | Table USERS already exists&lt;br/&gt;
2016-05-04 00:00:21,943 | DEBUG | tp555984556-1669 | UserStore                        | 222 - org.opendaylight.aaa.h2-store - 0.3.2.Beryllium-SR2 | query string: prep259: SELECT * FROM USERS WHERE userid = ?  &lt;/p&gt;
{1: STRINGDECODE(&apos;\u
00ef\u00bf\u00bd@sdn&apos;)}
&lt;p&gt;2016-05-04 00:00:21,945 | DEBUG | tp555984556-1669 | AuthenticationListener           | 212 - org.opendaylight.aaa.shiro - 0.3.2.Beryllium-SR2 | Unsuccessful authentication attempt by &#65533; from &amp;lt;snip&amp;gt;&lt;/p&gt;


&lt;p&gt;I checked against Beryllium SR1, Lithium SR2 and the current Beryllium SR2 candidate.  I ran&lt;br/&gt;
the robot suite 40 times each and the results:&lt;/p&gt;


&lt;p&gt;BeSR2 - 8  failures&lt;br/&gt;
BeSR1 - 11 failures&lt;br/&gt;
LiSR2 - 0  failures&lt;/p&gt;


&lt;p&gt;email thread discussing this issue is here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://lists.opendaylight.org/pipermail/integration-dev/2016-May/006612.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/integration-dev/2016-May/006612.html&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22352">AAA-101</key>
            <summary>token authentication fails intermittently</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="zhengjingwen">zhengj ingwen</assignee>
                                    <reporter username="jluhrsen">Jamo Luhrsen</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 May 2016 00:06:11 +0000</created>
                <updated>Thu, 21 Mar 2019 11:56:46 +0000</updated>
                                                                            <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="42342" author="rgoulding" created="Tue, 17 May 2016 23:44:25 +0000"  >&lt;p&gt;This does happen in Li-SR4 too;  it took a little longer to present but it does happen.  This isn&apos;t a regression, and I feel there may be a race condition in the ehcache implementation.  Will look further later.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5838</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=5838]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0243r:</customfieldvalue>

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