[Anthill-pro] Resolve artifacts fails with "Operation not supported"

Russ Francis rpf at urbancode.com
Thu Oct 15 12:52:05 CDT 2009


What OS / filesystem is being used on the agent that works and the
agent that doesn't?

On Thu, Oct 15, 2009 at 1:30 PM, Peter Steele <psteele at maxiscale.com> wrote:
> I have a secondary that I want to run on a particular agent and one of the
> steps it performs is to perform a “Resolve My Artifacts” operation. The
> agent however reports an error when attempting to retrieve the requested
> artifacts:
>
>
>
> 2009-10-14 15:50:28,803 ERROR
> com.urbancode.anthill3.command.codestation2.GetCodestationArtifactsCommand -
> Error retrieving artifact
>
> s from Codestation
>
> java.io.IOException: Operation not supported
>
>         at sun.nio.ch.FileChannelImpl.lock0(Native Method)
>
>         at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:784)
>
>         at
> com.urbancode.commons.fileutils.sync.SynchronizedDirectory.beginReadAction(SynchronizedDirectory.java:149)
>
>         at
> com.urbancode.commons.fileutils.sync.DirectoryAccessSynchronizer.beginReadAction(DirectoryAccessSynchronizer.java:78)
>
>         at
> com.urbancode.codestation2.client.cache.CodestationCache$CachedArtifactSet.<init>(CodestationCache.java:266)
>
>         at
> com.urbancode.codestation2.client.cache.CodestationCache.openArtifactSetForRead(CodestationCache.java:193)
>
>         at
> com.urbancode.codestation2.client.CodestationFacade.updateArtifactsCache(CodestationFacade.java:683)
>
>         at
> com.urbancode.codestation2.client.CodestationFacade.restartableUpdateArtifactsCache(CodestationFacade.java:660)
>
>         at
> com.urbancode.codestation2.client.CodestationFacade.getArtifactSetFromServer(CodestationFacade.java:614)
>
>         at
> com.urbancode.codestation2.client.CodestationFacade.retrieveArtifacts(CodestationFacade.java:274)
>
>         at
> com.urbancode.anthill3.command.codestation2.GetCodestationArtifactsCommand.execute(GetCodestationArtifactsCommand.java:109)
>
>         at
> com.urbancode.devilfish.services.command.CommandExecutionThread.run(CommandExecutionThread.java:88)
>
>
>
> If I run the same secondary on another agent it works fine, but
> unfortunately I need to run it on the agent that is causing this error.
> Everything else runs fine on this agent; it only fails when I use a
>  “Resolve My Artifacts” operation or a  “Retrieve artifacts from another
> project” operation. Ironically, this same agent was used when the artifacts
> were originally recreated when the primary workflow was run, so there
> doesn’t seem to be a problem delivering artifacts, only retrieving them.
>
>
>
> What would cause this kind of build step to not work on this agent? It’s
> running 3.5.2. I enabled debug mode logging for the agent but there didn’t
> seem to be any additional logs that might explain this problem.
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>


More information about the Anthill-pro mailing list