New issue
Advanced search Search tips

Issue 724588 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 724350
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

browser_tests shards failing due to failing to remove temp directories

Project Member Reported by jbroman@chromium.org, May 19 2017

Issue description

Sample message:

SUCCESS: all tests passed.
Failed to delete /b/s/w/ir (1 files remaining).
  Maybe the test has a subprocess outliving it.
  Sleeping 2 seconds.
Failed to delete /b/s/w/it67qhmL (174 files remaining).
  Maybe the test has a subprocess outliving it.
  Sleeping 2 seconds.
Failed to delete /b/s/w/it67qhmL (2 files remaining).
  Maybe the test has a subprocess outliving it.
  Sleeping 4 seconds.
Failed to delete /b/s/w/it67qhmL. The following files remain:
- /b/s/w/it67qhmL
- /b/s/w/it67qhmL
8772 2017-05-19 18:36:22.079 E: Failure with [Errno 2] No such file or directory: '/b/s/w/it67qhmL'
Failed to delete the temp directory, thus failing the task.
This may be due to a subprocess outliving the main task
process, holding on to resources. Please fix the task so
that it releases resources and cleans up subprocesses.

e.g.
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/38832
https://build.chromium.org/p/chromium.win/builders/Win%207%20Tests%20x64%20%281%29/builds/24396

Earliest build I've seen so far was at r473218, but I don't see any obvious suspects in the log before that.
 
For reference, the error message on Windows:

SUCCESS: all tests passed.
Failed to delete e:\b\swarm_slave\w\ir (3 files remaining).
  Maybe the test has a subprocess outliving it.
  Sleeping 2 seconds.
Failed to delete e:\b\swarm_slave\w\ir (3 files remaining).
  Maybe the test has a subprocess outliving it.
  Sleeping 4 seconds.
Failed to delete e:\b\swarm_slave\w\ir. The following files remain:
- \\?\e:\b\swarm_slave\w\ir\out\Release
- \\?\e:\b\swarm_slave\w\ir\out
- \\?\e:\b\swarm_slave\w\ir
Enumerating processes:
Failed to delete e:\b\swarm_slave\w\ir. The following files remain:
- \\?\e:\b\swarm_slave\w\ir\out\Release
- \\?\e:\b\swarm_slave\w\ir\out
- \\?\e:\b\swarm_slave\w\ir
3848 2017-05-19 18:40:06.483 E: Failure with [Error 32] The process cannot access the file because it is being used by another process: u'\\\\?\\e:\\b\\swarm_slave\\w\\ir\\out\\Release'
Failed to delete the run directory, thus failing the task.
This may be due to a subprocess outliving the main task
process, holding on to resources. Please fix the task so
that it releases resources and cleans up subprocesses.

Comment 3 by mek@chromium.org, May 22 2017

Not sure if related, but also happening for media_unittests in https://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%281%29/builds/63319

Comment 4 by mgiuca@chromium.org, May 26 2017

Labels: -Sheriff-Chromium Infra-Troopers
-Sheriff-Chromium +Infra-Troopers

This is an infrastructure issue not sheriff.
Mergedinto: 724350
Status: Duplicate (was: Untriaged)

Sign in to add a comment