Test-infra: Jobs cloning the kubernetes/release repo are failing due to `/home/prow/go/src/k8s.io/release/.git/hooks/post-update.sample': File exists # Error: exit status 128

Created on 8 Nov 2018  路  7Comments  路  Source: kubernetes/test-infra

Example: https://storage.googleapis.com/kubernetes-jenkins/logs/ci-kubernetes-coverage-conformance/404/build-log.txt

# FAILED!
# Cloning kubernetes/release at master
$ mkdir -p /home/prow/go/src/k8s.io/release
$ git init
fatal: cannot copy '/usr/share/git-core/templates/hooks/post-update.sample' to '/home/prow/go/src/k8s.io/release/.git/hooks/post-update.sample': File exists
# Error: exit status 128
# FAILED!

/cc @krzyzacy

Most helpful comment

Here is the problem: https://github.com/kubernetes/test-infra/pull/9952#pullrequestreview-173134225

Making a fix PR now.

All 7 comments

cc @cjwagner @stevekuznetsov feels like a cloneref thing?

also cc @Katharine @BenTheElder for the coverage job

Failing coverage jobs:
https://testgrid.k8s.io/sig-testing-canaries#ci-kubernetes-coverage-conformance
https://testgrid.k8s.io/sig-testing-canaries#ci-kubernetes-coverage-e2e-gci-gce

Those logs don't make any sense... Is it trying to create the repo thrice (!?)

# FAILED!
# Cloning kubernetes/release at master
$ mkdir -p /home/prow/go/src/k8s.io/release
$ git init
fatal: cannot copy '/usr/share/git-core/templates/hooks/post-update.sample' to '/home/prow/go/src/k8s.io/release/.git/hooks/post-update.sample': File exists
# Error: exit status 128
# FAILED!
# Cloning kubernetes/release at master
$ mkdir -p /home/prow/go/src/k8s.io/release
$ git init
fatal: cannot copy '/usr/share/git-core/templates/hooks/post-update.sample' to '/home/prow/go/src/k8s.io/release/.git/hooks/post-update.sample': File exists
# Error: exit status 128
# Cloning kubernetes/release at master
$ mkdir -p /home/prow/go/src/k8s.io/release
$ git init
Initialized empty Git repository in /home/prow/go/src/k8s.io/release/.git/

The tests started failing since last night. Not sure what had changed.

This coincides with yesterday's Prow bump. There is probably a regression in plank. Looking now.

Here is the problem: https://github.com/kubernetes/test-infra/pull/9952#pullrequestreview-173134225

Making a fix PR now.

Can we revert this change or get a quick fix? Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Aisuko picture Aisuko  路  3Comments

stevekuznetsov picture stevekuznetsov  路  3Comments

xiangpengzhao picture xiangpengzhao  路  3Comments

lavalamp picture lavalamp  路  3Comments

BenTheElder picture BenTheElder  路  3Comments