[Anthill] Projects stuck in the build queue
Eric Minick
eric at urbancode.com
Thu Jun 10 12:56:54 CDT 2004
I've heard of builds getting stuck in the build, but don't remember it
as something that happened as regularly as you describe. Most of the
time that the build hangs, it is waiting on something from CVS that
never comes back, or the SCM product requests more input.
To track down this problem, it might make sense for you to change you
logging to debug. It looks like the revision log parsing is fairly
verbose in log mode and we might be able to get a better feel for what's
going on with that output.
Regards,
Eric
anthill at nillis.com wrote:
>We use Anthill for our nightly builds and often (almost daily) run into
>cases where projects are stuck in the build queue. Most of the times, the
>anthill main page doesn't come up and the only solution is to kill tomcat
>and restart.
>
>
>
>We tried doing thread dumps and it seems that most of the problems come from
>parsing the CVS log; there are several while loops in the CVS repository
>adapter that seem to never end.
>
>
>
>Example of where we think the problem is:
>
>"Thread - AnthillBuildDaemon" daemon prio=1 tid=0x083bf920 nid=0x6d4a
>waiting on condition [4dcc4000..4dcc4998]
>
> at java.util.ArrayList.toArray(ArrayList.java:274)
>
> at java.util.ArrayList.addAll(ArrayList.java:434)
>
> at
>com.urbancode.anthill.adapter.CVSRepositoryAdapter.parseLogCommandResult(CVS
>RepositoryAdapter.java:240)
>
> at
>com.urbancode.anthill.adapter.CVSRepositoryAdapter.getRevisionsSince(CVSRepo
>sitoryAdapter.java:205)
>
> at
>com.urbancode.anthill.BuildManager.requiresBuild(BuildManager.java:345)
>
> at com.urbancode.anthill.BuildManager.build(BuildManager.java:111)
>
> at
>com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:231)
>
> - locked <0x4527f498> (a com.urbancode.anthill.AnthillProject)
>
> at
>com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:217)
>
> - locked <0x4527f498> (a com.urbancode.anthill.AnthillProject)
>
> at
>com.urbancode.anthill.AnthillProject.releaseProject(AnthillProject.java:195)
>
> - locked <0x4527f498> (a com.urbancode.anthill.AnthillProject)
>
> at com.urbancode.anthill.AnthillProject.run(AnthillProject.java:187)
>
> at com.urbancode.anthill.BuildDaemon.run(BuildDaemon.java:73)
>
>
>
>Is this a known issue, is there a workaround?
>
>
>
>Our environment is:
>
>Anthill version 1.7.0.162
>
>Running on Java 1.4.2_04
>
>Linux
>
>Tomcat 4
>
>
>
>Thanks!
>
>_______________________________________________
>Anthill mailing list
>Anthill at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>
>
>
More information about the Anthill
mailing list