<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:18 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>[NETCONF-544] FilesystemSchemaSourceCache sometimes fails tests with: Unable to create cache directory at...</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-544</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;On &lt;a href=&quot;https://lists.opendaylight.org/pipermail/yangtools-dev/2017-October/002036.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/yangtools-dev/2017-October/002036.html&lt;/a&gt;&#160;and &lt;a href=&quot;https://lists.opendaylight.org/pipermail/netconf-dev/2018-May/001790.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/netconf-dev/2018-May/001790.html&lt;/a&gt;&#160;the following problem was reported, but it seems to be a heisenbug occuring only occassionally (because the following mulipatch job went further):&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Caused by: java.lang.IllegalArgumentException: Unable to create cache directory at cache/schema
 &#160;&#160; &#160;at com.google.common.base.Preconditions.checkArgument(Preconditions.java:210)
 &#160;&#160; &#160;at org.opendaylight.yangtools.yang.model.repo.util.FilesystemSchemaSourceCache.&amp;lt;init&amp;gt;(FilesystemSchemaSourceCache.java:74)
 &#160;&#160; &#160;at org.opendaylight.netconf.topology.AbstractNetconfTopology.&amp;lt;clinit&amp;gt;(AbstractNetconfTopology.java:147)
 &#160;&#160; &#160;... 31 more&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Looking at &lt;a href=&quot;https://github.com/opendaylight/yangtools/blob/master/yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/repo/util/FilesystemSchemaSourceCache.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/yangtools/blob/master/yang/yang-model-util/src/main/java/org/opendaylight/yangtools/yang/model/repo/util/FilesystemSchemaSourceCache.java&lt;/a&gt; I&apos;ve noticed that while the error message says &quot;&quot;Unable to create...&quot; there is actually no &lt;tt&gt;storageDirectory.mkdirs()&lt;/tt&gt; there - perhaps that would help, in some corner case?&lt;/p&gt;</description>
                <environment></environment>
        <key id="29951">NETCONF-544</key>
            <summary>FilesystemSchemaSourceCache sometimes fails tests with: Unable to create cache directory at...</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 May 2018 14:31:06 +0000</created>
                <updated>Mon, 6 Aug 2018 14:14:20 +0000</updated>
                            <resolved>Mon, 6 Aug 2018 14:14:20 +0000</resolved>
                                                    <fixVersion>Fluorine</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="62969" author="rovarga" created="Wed, 16 May 2018 11:47:55 +0000"  >&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;01:23:56.587 Unable to initialize bean callhomeProvider
01:23:56.588 org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean callhomeProvider
01:23:56.589 	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:738)
01:23:56.590 	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:848)
01:23:56.591 	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)
01:23:56.592 	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
01:23:56.592 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01:23:56.592 	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
01:23:56.592 	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:255)
01:23:56.592 	at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:186)
01:23:56.592 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:704)
01:23:56.592 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:410)
01:23:56.592 	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:275)
01:23:56.592 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
01:23:56.592 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01:23:56.592 	at org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106)
01:23:56.592 	at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)
01:23:56.592 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
01:23:56.592 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
01:23:56.592 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
01:23:56.592 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
01:23:56.592 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
01:23:56.592 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
01:23:56.592 	at java.lang.Thread.run(Thread.java:748)
01:23:56.592 Caused by: java.lang.ExceptionInInitializerError
01:23:56.592 	at org.opendaylight.netconf.callhome.mount.CallHomeMountDispatcher.createTopology(CallHomeMountDispatcher.java:95)
01:23:56.592 	at org.opendaylight.netconf.callhome.mount.IetfZeroTouchCallHomeServerProvider.initializeServer(IetfZeroTouchCallHomeServerProvider.java:111)
01:23:56.592 	at org.opendaylight.netconf.callhome.mount.IetfZeroTouchCallHomeServerProvider.init(IetfZeroTouchCallHomeServerProvider.java:77)
01:23:56.592 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01:23:56.592 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
01:23:56.592 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
01:23:56.595 	at java.lang.reflect.Method.invoke(Method.java:498)
01:23:56.595 	at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:299)
01:23:56.595 	at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:980)
01:23:56.595 	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:736)
01:23:56.595 	... 21 more
01:23:56.595 Caused by: java.lang.IllegalArgumentException: Unable to create cache directory at cache/schema
01:23:56.595 	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:210)
01:23:56.595 	at org.opendaylight.yangtools.yang.model.repo.util.FilesystemSchemaSourceCache.&amp;lt;init&amp;gt;(FilesystemSchemaSourceCache.java:74)
01:23:56.595 	at org.opendaylight.netconf.topology.AbstractNetconfTopology.&amp;lt;clinit&amp;gt;(AbstractNetconfTopology.java:147)
01:23:56.595 	... 31 more&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="62970" author="rovarga" created="Wed, 16 May 2018 11:52:31 +0000"  >&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (!storageDirectory.exists()) {
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; checkArgument(storageDirectory.mkdirs(), &quot;Unable to create cache directory at %s&quot;, storageDirectory);
&#160;&#160;&#160;&#160;&#160;&#160;&#160; }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;is already there &#8211; it actually is the source of the exception. Is this perhaps some sort of a race condition? I do not see anything wrong with the yangtools code and it is a library, so perhaps it should be checked out by the netconf team?&lt;/p&gt;</comment>
                            <comment id="62972" author="rovarga" created="Wed, 16 May 2018 12:00:22 +0000"  >&lt;p&gt;ExceptionInInitializerError is coming from the static initialization of AbstractNetconfTopology, which seems weird.&lt;/p&gt;</comment>
                            <comment id="64562" author="jmorvay" created="Mon, 6 Aug 2018 14:14:20 +0000"  >&lt;p&gt;Fix: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/72775/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/72775/&lt;/a&gt;&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03egn:</customfieldvalue>

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