[ 
https://issues.apache.org/jira/browse/WAGON-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492630#comment-16492630
 ] 

Thomas Meyer commented on WAGON-520:
------------------------------------

oops, i made a mistake, everything works as expected, sadly I cannot close this 
issue.

> Maven 3.3.9 silenty ignores "no space left on device" errors when downloading 
> artifacts in local repo
> -----------------------------------------------------------------------------------------------------
>
>                 Key: WAGON-520
>                 URL: https://issues.apache.org/jira/browse/WAGON-520
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-http
>    Affects Versions: 2.10
>            Reporter: Thomas Meyer
>            Priority: Major
>
> I still cannot believe it but I spend the last hour debugging an problem we 
> see on our Openshift pods running maven builds.
> We using maven version 3.3.9 and when I read the source correctly an 
> IOException from an "no space left" error seems to get ignored by the 
> wagon-http.
> Stack trace is:
> Thread [main] (Suspended) 
>  HttpWagon$__sisu23(AbstractWagon).transfer(Resource, InputStream, 
> OutputStream, int, long) line: 542 
>  HttpWagon$__sisu23(AbstractWagon).getTransfer(Resource, OutputStream, 
> InputStream, boolean, long) line: 353 
>  HttpWagon$__sisu23(AbstractWagon).getTransfer(Resource, File, InputStream, 
> boolean, long) line: 316 
>  HttpWagon$__sisu23(AbstractWagon).getTransfer(Resource, File, InputStream) 
> line: 285 
>  HttpWagon$__sisu23(StreamWagon).getIfNewer(String, File, long) line: 97 
>  HttpWagon$__sisu23(StreamWagon).get(String, File) line: 61 
>  WagonTransporter$GetTaskRunner.run(Wagon) line: 560 
>  WagonTransporter.execute(TransportTask, WagonTransporter$TaskRunner) line: 
> 427 
>  WagonTransporter.get(GetTask) line: 404 
>  BasicRepositoryConnector$GetTaskRunner.runTask() line: 447 
>  
> BasicRepositoryConnector$GetTaskRunner(BasicRepositoryConnector$TaskRunner).run()
>  line: 350 
>  RunnableErrorForwarder$1.run() line: 67 
>  BasicRepositoryConnector$DirectExecutor.execute(Runnable) line: 581 
>  BasicRepositoryConnector.get(Collection<ArtifactDownload>, 
> Collection<MetadataDownload>) line: 249 
>  DefaultArtifactResolver.performDownloads(RepositorySystemSession, 
> DefaultArtifactResolver$ResolutionGroup) line: 520 
>  DefaultArtifactResolver.resolve(RepositorySystemSession, 
> Collection<ArtifactRequest>) line: 421 
>  DefaultArtifactResolver.resolveArtifacts(RepositorySystemSession, 
> Collection<ArtifactRequest>) line: 246 
>  DefaultArtifactResolver.resolveArtifact(RepositorySystemSession, 
> ArtifactRequest) line: 223 
>  DefaultModelResolver.resolveModel(String, String, String) line: 173 
>  DefaultModelResolver.resolveModel(Parent) line: 226 
>  DefaultModelBuilder.readParentExternally(Model, ModelBuildingRequest, 
> DefaultModelProblemCollector) line: 1000 
>  DefaultModelBuilder.readParent(Model, ModelSource, ModelBuildingRequest, 
> DefaultModelProblemCollector) line: 800 
>  DefaultModelBuilder.build(ModelBuildingRequest) line: 329 
>  DefaultArtifactDescriptorReader.loadPom(RepositorySystemSession, 
> ArtifactDescriptorRequest, ArtifactDescriptorResult) line: 320 
>  
> DefaultArtifactDescriptorReader.readArtifactDescriptor(RepositorySystemSession,
>  ArtifactDescriptorRequest) line: 198 
>  DefaultDependencyCollector.resolveCachedArtifactDescriptor(DataPool, 
> ArtifactDescriptorRequest, RepositorySystemSession, Dependency, 
> DefaultDependencyCollector$Results, DefaultDependencyCollector$Args) line: 
> 535 
>  
> DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector$Args,
>  DefaultDependencyCollector$Results, boolean, Dependency, 
> ArtifactDescriptorRequest) line: 519 
>  DefaultDependencyCollector.processDependency(Args, Results, 
> List<RemoteRepository>, DependencySelector, DependencyManager, 
> DependencyTraverser, VersionFilter, Dependency, List<Artifact>, boolean) 
> line: 409 
>  DefaultDependencyCollector.processDependency(Args, Results, 
> List<RemoteRepository>, DependencySelector, DependencyManager, 
> DependencyTraverser, VersionFilter, Dependency) line: 363 
>  DefaultDependencyCollector.process(Args, Results, List<Dependency>, 
> List<RemoteRepository>, DependencySelector, DependencyManager, 
> DependencyTraverser, VersionFilter) line: 351 
>  DefaultDependencyCollector.doRecurse(Args, Results, List<RemoteRepository>, 
> DependencySelector, DependencyManager, DependencyTraverser, VersionFilter, 
> Dependency, ArtifactDescriptorResult, DefaultDependencyNode) line: 504 
>  DefaultDependencyCollector.processDependency(Args, Results, 
> List<RemoteRepository>, DependencySelector, DependencyManager, 
> DependencyTraverser, VersionFilter, Dependency, List<Artifact>, boolean) 
> line: 458 
>  DefaultDependencyCollector.processDependency(Args, Results, 
> List<RemoteRepository>, DependencySelector, DependencyManager, 
> DependencyTraverser, VersionFilter, Dependency) line: 363 
>  DefaultDependencyCollector.process(Args, Results, List<Dependency>, 
> List<RemoteRepository>, DependencySelector, DependencyManager, 
> DependencyTraverser, VersionFilter) line: 351 
>  DefaultDependencyCollector.collectDependencies(RepositorySystemSession, 
> CollectRequest) line: 254 
>  DefaultRepositorySystem.collectDependencies(RepositorySystemSession, 
> CollectRequest) line: 316 
>  DefaultProjectDependenciesResolver.resolve(DependencyResolutionRequest) 
> line: 172 
>  LifecycleDependencyResolver.getDependencies(MavenProject, 
> Collection<String>, Collection<String>, MavenSession, boolean, Set<Artifact>) 
> line: 195 
>  LifecycleDependencyResolver.resolveProjectDependencies(MavenProject, 
> Collection<String>, Collection<String>, MavenSession, boolean, Set<Artifact>) 
> line: 127 
>  MojoExecutor.ensureDependenciesAreResolved(MojoDescriptor, MavenSession, 
> DependencyContext) line: 245 
>  MojoExecutor.execute(MavenSession, MojoExecution, ProjectIndex, 
> DependencyContext) line: 199 
>  MojoExecutor.execute(MavenSession, MojoExecution, ProjectIndex, 
> DependencyContext, PhaseRecorder) line: 153 
>  MojoExecutor.execute(MavenSession, List<MojoExecution>, ProjectIndex) line: 
> 145 
>  LifecycleModuleBuilder.buildProject(MavenSession, MavenSession, 
> ReactorContext, MavenProject, TaskSegment) line: 116 
>  LifecycleModuleBuilder.buildProject(MavenSession, ReactorContext, 
> MavenProject, TaskSegment) line: 80 
>  SingleThreadedBuilder.build(MavenSession, ReactorContext, ProjectBuildList, 
> List<TaskSegment>, ReactorBuildStatus) line: 51 
>  LifecycleStarter.execute(MavenSession) line: 128 
>  DefaultMaven.doExecute(MavenExecutionRequest, MavenSession, 
> MavenExecutionResult, DefaultRepositorySystemSession) line: 307 
>  DefaultMaven.doExecute(MavenExecutionRequest) line: 193 
>  DefaultMaven.execute(MavenExecutionRequest) line: 106 
>  MavenCli.execute(CliRequest) line: 863 
>  MavenCli.doMain(CliRequest) line: 288 
>  MavenCli.main(String[], ClassWorld) line: 199 
>  NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not 
> available [native method] 
>  NativeMethodAccessorImpl.invoke(Object, Object[]) line: 62 
>  DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43 
>  Method.invoke(Object, Object...) line: 564 
>  Launcher.launchEnhanced(String[]) line: 289 
>  Launcher.launch(String[]) line: 229 
>  Launcher.mainWithExitCode(String[]) line: 415 
>  Launcher.main(String[]) line: 356



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to