New issue
Advanced search Search tips

Issue 904533 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Kitchen tests have git crashing

Project Member Reported by vadimsh@chromium.org, Nov 12

Issue description

https://logs.chromium.org/logs/infra/buildbucket/cr-buildbucket.appspot.com/8930032052259207232/+/steps/go_tests/0/stdout

Initialized empty Git repository in e:/b/swarm_slave/w/ir/tmp/t/kitchen-test-294752938/checkout/.git/
[ 2018-11-12 12:44:33] fetching repository "file://e:\\b\\swarm_slave\\w\\ir\\tmp\\t\\kitchen-test-294752938\\recipe_repo", ref "HEAD"...
[ 2018-11-12 12:44:33] e:\b\swarm_slave\w\ir\tmp\t\kitchen-test-294752938\checkout$ git -c user.email=kitchen_test@example.com -c user.name=kitchen_test fetch file://e:\b\swarm_slave\w\ir\tmp\t\kitchen-test-294752938\recipe_repo HEAD
[master 93ac5fd] c2
 1 file changed, 1 insertion(+)
 create mode 100644 b
.Initialized empty Git repository in e:/b/swarm_slave/w/ir/tmp/t/353992556/dest/.git/
      0 [main] sh 3864 e:\b\swarm_slave\w\ir\cipd_bin_packages\usr\bin\sh.exe: *** fatal error - add_item ("\??\e:\b\swarm_slave\w\ir\cipd_bin_packages", "/", ...) failed, errno 1
Stack trace:
Frame        Function    Args
000FFFF9BC0  0018005E0DE (0018025366A, 00180230C39, 00600010000, 000FFFF8B40)
000FFFF9BC0  001800468F9 (000FFFFAC16, 000FFFF9BC0, 00000000000, 00000000000)
000FFFF9BC0  00180046932 (000FFFF9BC0, 00000000001, 00600010000, 625C3A655C3F3F5C)
000FFFF9BC0  001800CD2CB (00000000000, 00040000024, 00000000000, 00000000000)
1D47AC884678B65  0018011BF05 (001800B463C, 00000000000, 00000000000, 00000000000)
000FFFFCCD0  00180046EF3 (00000000000, 00000000000, 00000000000, 00000000000)
00000000000  00180045A03 (00000000000, 00000000000, 00000000000, 00000000000)
000FFFFFFF0  00180045AB4 (00000000000, 00000000000, 00000000000, 00000000000)
End of stack trace
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
x
Failures:

  * e:/b/swarm_slave/w/ir/cache/infra_gclient_with_go/infra/go/src/infra/tools/kitchen/git_test.go 
  Line 168:
  Expected: nil
  Actual:   'could not fetch: failed to run ["git" "-c" "user.email=kitchen_test@example.com" "-c" "user.name=kitchen_test" "fetch" "e:\\b\\swarm_slave\\w\\ir\\tmp\\t\\353992556\\src" "refs/heads/master"]: exit status 128'

 
I can't figure out what have changed.

I'll remove t.Parallel() from them in a voodoo attempt to "fix", since similar crash has been related to parallel bash.exe invocations in the past, per https://stackoverflow.com/questions/28861237/bash-is-crashing-on-cygwin-add-item-c-cygwin
Project Member

Comment 2 by bugdroid1@chromium.org, Nov 12

The following revision refers to this bug:
  https://chromium.googlesource.com/infra/infra/+/5927ed67065ef73c7d7d069fb72164c743533ea3

commit 5927ed67065ef73c7d7d069fb72164c743533ea3
Author: Vadim Shtayura <vadimsh@chromium.org>
Date: Mon Nov 12 21:10:01 2018

[kitchen] Stop running tests that use git in parallel.

It may be causing git crashes on Windows. Or maybe not.

TBR=nodir@chromium.org, iannucci@chromium.org
BUG=904533

Change-Id: I14df8480cdc73b7c1895300ea04509417e64fe12
Reviewed-on: https://chromium-review.googlesource.com/c/1331968
Reviewed-by: Vadim Shtayura <vadimsh@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#18930}
[modify] https://crrev.com/5927ed67065ef73c7d7d069fb72164c743533ea3/go/src/infra/tools/kitchen/git_test.go
[modify] https://crrev.com/5927ed67065ef73c7d7d069fb72164c743533ea3/go/src/infra/tools/kitchen/cook_test.go

Owner: no...@chromium.org
Status: Assigned (was: Available)

Sign in to add a comment