From Fedora Project Wiki

m (→‎Fixing Failures: changed wording)
(Replaced content with "'''AutoQA is now obsolete and replaced by Taskotron.'''")
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''[[AutoQA]] is now obsolete and replaced by [[Taskotron]].'''
{{draft}}
 
= What Is Depcheck? =
Depcheck was created to detect packages with broken dependencies. As the test matures, it will eventually be a part of the rel-eng process to prevent broken packages from being pushed to the ''testing'' or ''stable'' package repositories.
 
= How Does Depcheck Work? =
Describing exactly how depcheck functions is outside the scope of this page but the basic idea is to trick yum into thinking that all available packages are installed and attempt to install the package under test. If there are problems installing that package, depcheck assumes that those errors are dependency problems and fails the error-causing package.
 
For more detailed information on depcheck, there are several blog posts about its internals (<ref>http://qa-rockstar.livejournal.com/10187.html</ref> <ref>http://qa-rockstar.livejournal.com/10368.html</ref> <ref> http://qa-rockstar.livejournal.com/10507.html</ref> <ref>http://blogs.fedoraproject.org/wp/wwoods/2011/01/03/depcheck-tags-and-timing-2/ </ref>).
 
= Understanding Failures =
Looking at an [http://tflink.fedorapeople.org/autoqa/prettylog/depcheck_example_error.html example log], we see the following highlight:
<pre>
matahari-lib-0.4.1-2.fc14.i686 from pending has depsolving problems
  --> Package: matahari-lib-0.4.1-2.fc14.i686 (pending)
  -->    Requires: libsigar.so »
</pre>
 
In this case, {{package|matahari}} requires the shared library {{filename|libsigar.so}}.  At the time the test ran, the shared library {{filename|libsigar.so}} was not provided by any available package.
 
= Fixing Failures =
Fortunately, the fixes for depcheck errors tend to be relatively straight-forward and tend to fall into one of two categories listed below.
 
<ol>
<li> '''Add missing dependencies'''<br/>
The missing dependencies could come from packages that have not yet been built or updated, in which case waiting for those packages is a good solution. Otherwise, the missing dependencies need to be added to an existing package or a new one.
<li> '''Remove Incorrect Dependencies'''<br/>
Removing the problem-causing dependency would also fix the problem, assuming that it wasn't actually needed.
</ol>
 
= Getting Help =
If you still don't understand why your update failed the test, if you think there's something wrong in our test or its documentation or if you have any other suggestions, please [[AutoQA#Communicate|contact us]].
 
= Additional Information =
<references/>
 
[[Category:AutoQA tests]]

Latest revision as of 08:27, 22 June 2017

AutoQA is now obsolete and replaced by Taskotron.