z2-Environment: Issueshttps://redmine.z2-environment.net/https://redmine.z2-environment.net/favicon.ico?15813551872024-03-07T15:07:18Zz2-Environment
Redmine z2-Environment - Bug #2173 (New): All exceptions thrown in class Z2JupiterTestServlet should be l...https://redmine.z2-environment.net/issues/21732024-03-07T15:07:18ZJonas Basslbusiness@bassl.de
<p>In class Z2JupiterTestServlet#service, only IllegalArgumentExceptions are being caught and therefore also logged.<br />Other exceptions are just "thrown away".<br />We should change that, so also other exceptions show up in the log, if it happens.</p> z2-Environment - Bug #2169 (Feedback): Cleanup of collected resources may remove good resource entryhttps://redmine.z2-environment.net/issues/21692024-02-29T13:35:07ZHenning Blohmhenning.blohm@zfabrik.de
<p>The following sequence of events may lead to untracking of a still valid resource:</p>
<p>1. In NamespaceImpl _getResourceHandleImplNonNull we find a vh!=null && rh==null and (in another loop) put the vh directly into the invQ.<br />2. A subsequent tick() removes the vh.getKey() from the resource map and we can bind a new entry</p>
<p>Later:</p>
<p>3. In another tick we ingest the gc queue from the resource map into invQ. Because only now the GC noted the collected value, we get the same vh from above again in the invQ and the tick removes the key again from the resource map.</p>
<a name="Solution"></a>
<h2 >Solution<a href="#Solution" class="wiki-anchor">¶</a></h2>
<ul>
<li>In tick make sure to check for value holders that are still bound in the map</li>
<li>Only remove from the map, if it is still bound.</li>
</ul> z2-Environment - Improvement #2164 (Feedback): CLI / shell script cleanuphttps://redmine.z2-environment.net/issues/21642024-01-27T18:15:31ZHenning Blohmhenning.blohm@zfabrik.de
<p>The bin scripts need to be revisited for more consistency and use multiple modes made more accessible.</p> z2-Environment - Bug #2161 (In Progress): Application Threadpool gets confused on interruptionhttps://redmine.z2-environment.net/issues/21612024-01-02T13:22:19ZHenning Blohmhenning.blohm@zfabrik.de
<p>When interrupting a thread in the thread pool, it will terminate but still be in the pool. This happens in WorkerThread.java:</p>
<pre><code class="java syntaxhl"> <span class="k">if</span> <span class="o">(</span><span class="k">this</span><span class="o">.</span><span class="na">wm</span><span class="o">.</span><span class="na">taskCompleted</span><span class="o">(</span><span class="k">this</span><span class="o">))</span> <span class="o">{</span>
<span class="kd">synchronized</span> <span class="o">(</span><span class="k">this</span><span class="o">)</span> <span class="o">{</span>
<span class="k">if</span> <span class="o">(!</span><span class="k">this</span><span class="o">.</span><span class="na">kicked</span><span class="o">)</span> <span class="o">{</span>
<span class="c1">// only if not having been kicked between being put into</span>
<span class="c1">// the pool and entering this block</span>
<span class="n">waiting</span> <span class="o">=</span> <span class="kc">true</span><span class="o">;</span>
<span class="k">try</span> <span class="o">{</span>
<span class="k">this</span><span class="o">.</span><span class="na">wait</span><span class="o">();</span>
<span class="o">}</span> <span class="k">catch</span> <span class="o">(</span><span class="nc">InterruptedException</span> <span class="n">e</span><span class="o">)</span> <span class="o">{</span>
<span class="n">logger</span><span class="o">.</span><span class="na">fine</span><span class="o">(</span><span class="s">"Thread interrupted: "</span><span class="o">+</span><span class="k">this</span><span class="o">);</span>
<span class="o">}</span> <span class="k">finally</span> <span class="o">{</span>
<span class="k">this</span><span class="o">.</span><span class="na">waiting</span> <span class="o">=</span> <span class="kc">false</span><span class="o">;</span>
<span class="o">}</span>
<span class="o">}</span> <span class="k">else</span>
<span class="k">this</span><span class="o">.</span><span class="na">kicked</span> <span class="o">=</span> <span class="kc">false</span><span class="o">;</span>
<span class="o">}</span>
<span class="o">}</span> <span class="k">else</span>
<span class="kd">synchronized</span> <span class="o">(</span><span class="k">this</span><span class="o">)</span> <span class="o">{}</span> <span class="c1">// also to comply to the memory model</span>
</code></pre>
<p>The code is super outdated and far to complex.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>The ThreadPool code is simplified with less concurrency spaghetti code</li>
<li>When a thread is interrupted, it is terminating and remove from the pool</li>
<li>The fix is merged into master</li>
</ul> z2-Environment - Improvement #2160 (New): UI polishing taskshttps://redmine.z2-environment.net/issues/21602023-12-29T15:08:11ZHenning Blohmhenning.blohm@zfabrik.de
<p>Some GUI polishing work:</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>Replace the famfamfam icons with b&w icons that are theme independent</li>
</ul> z2-Environment - Bug #2158 (New): Log Buffer Capping should still log all content and append newlinehttps://redmine.z2-environment.net/issues/21582023-11-16T09:21:39ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently, the log buffer limiting of <a class="issue tracker-5 status-3 priority-4 priority-default closed" title="Improvement: Limit stream reader buffers for worker output handling (Resolved)" href="https://redmine.z2-environment.net/issues/2150">#2150</a> is writing the capped line and adds no new line.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>Limiting of lines as in <a class="issue tracker-5 status-3 priority-4 priority-default closed" title="Improvement: Limit stream reader buffers for worker output handling (Resolved)" href="https://redmine.z2-environment.net/issues/2150">#2150</a> is enforced but logging wraps rather than limiting the actual output</li>
</ul> z2-Environment - Feature #2155 (New): Enhance the z2UnitTestRunner and the Jupiter Engine with th...https://redmine.z2-environment.net/issues/21552023-07-07T09:37:40ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently, we do not see the application log during test execution. We do however have "installation" wide log streaming via the log streaming extension in place. In order to have the application log visible in the remote test execution case, the Z2Unit and Z2Jupiter implementation should be enhanced to stream not only test events but also application log chunks.</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>The test runner / z2 jupiter engines (optionally) streams the application log to the local console during test execution</li>
</ul>
<a name="Implementation-Hint"></a>
<h2 >Implementation Hint<a href="#Implementation-Hint" class="wiki-anchor">¶</a></h2>
<ul>
<li>This may be achieved by either enhancing the local to remote protocol of the test runner / jupiter engine or</li>
<li>This may be achieved by enhancing the local test execution with a parallel access to log streaming.</li>
</ul> z2-Environment - Bug #2097 (Feedback): Java Component Timestamp Dependency Map uses wrong timesta...https://redmine.z2-environment.net/issues/20972021-07-23T22:29:22ZHenning Blohmhenning.blohm@zfabrik.de
<p>The dependency check for changes in ComponentsBuilder uses a wrong tstamp file location - effectively ignoring the instance id.</p>
<p>This leads to omitted rebuilds.</p> z2-Environment - Improvement #2079 (New): Devise a method to reduce dependencieshttps://redmine.z2-environment.net/issues/20792020-08-18T13:34:17ZHenning Blohmhenning.blohm@zfabrik.de
<p>Reducing module dependencies to a minimum is a tricky task that is hardly ever looked at as it is cumbersome with little immediate merits.</p>
<p>It would be good to have a way of knowing what dependencies were actually used at some point in time. E.g. via a classloading based tracking of effective dependencies and a JMX or web adm based display of these.</p> z2-Environment - Improvement #2078 (New): Drop gitcr compatibility handling of refs/remotes/origin/https://redmine.z2-environment.net/issues/20782020-08-14T18:28:50ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently a ref spec with that prefix will be changed to refs/heads/... due to compatibility considerations with previous versions.</p>
<p>That however breaks use of tracking branches of local repos as source for z2 and so, as it is not used anymore, should simply be removed.</p> z2-Environment - Improvement #2066 (New): Make X type-safely extensiblehttps://redmine.z2-environment.net/issues/20662020-05-02T08:18:23ZHenning Blohmhenning.blohm@zfabrik.de
<p>Currently, extending X harms the fluid syntax capability w.r.t. the extender.</p>
<p>This can be fixed by</p>
<ul>
<li>changing X to X<Y extends X></li>
<li>adding a</li>
</ul>
<pre><code>
protected abstract Class&lt;U&gt; clz();
</code></pre>
<ul>
<li>and by generally returning</li>
</ul>
<pre><code>
clz().cast(this)
</code></pre>
<p>that that <code>this</code> .</p>
<a name="Acceptance-Criteria"></a>
<h2 >Acceptance Criteria<a href="#Acceptance-Criteria" class="wiki-anchor">¶</a></h2>
<ul>
<li>Make it so.</li>
</ul> z2-Environment - Feature #1896 (New): Port Hadoop Job Capability to 3.0https://redmine.z2-environment.net/issues/18962015-04-13T06:43:46ZHenning Blohmhenning.blohm@zfabrik.de
<p>We can seamlessly run Hadoop Jobs in 2.3. This should be one of the underpinnings of 3.0 as well to make sure we have this as a core feature.</p> z2-Environment - Feature #1893 (New): Port reference documentationhttps://redmine.z2-environment.net/issues/18932015-04-12T14:34:40ZHenning Blohmhenning.blohm@zfabrik.dez2-Environment - Bug #1886 (New): GitCR deletes clone in some circumstanceshttps://redmine.z2-environment.net/issues/18862015-02-20T13:10:37ZHenning Blohmhenning.blohm@zfabrik.de
<p>Problems establishing a connection may lead to deletion of the whole repo.</p>
<p>This should never be done as it leaves the system in worse shape in many cases (after all - the clone might have been up-to-date)</p> z2-Environment - Improvement #1881 (New): Port Maven Component Repositoryhttps://redmine.z2-environment.net/issues/18812015-02-01T20:29:06ZHenning Blohmhenning.blohm@zfabrik.de
<p>from z2v2.3.</p>
<a name="To-Dos"></a>
<h2 >To Dos<a href="#To-Dos" class="wiki-anchor">¶</a></h2>
<ul>
<li>port basic implementation</li>
<li>adapt common repository interface (e.g. shared properties)</li>
<li>support local repository (for re-distribution as a whole)</li>
</ul>