Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve .kube/config.lock: file exists flake #4225

Merged

Conversation

girishramnani
Copy link
Contributor

@girishramnani girishramnani commented Nov 16, 2020

What type of PR is this?

/kind failing-test

What does does this PR do / why we need it:
Some PRs are failing with this error

Creating a new project: vhgeggwlqs
Running kubectl with args [kubectl create namespace vhgeggwlqs]
[kubectl] namespace/vhgeggwlqs created
Running kubectl with args [kubectl config set-context --current --namespace vhgeggwlqs]
[kubectl] error: open /home/travis/.kube/config.lock: file exists

Hence resolving this error
https://travis-ci.com/github/openshift/odo/jobs/440575550

Which issue(s) this PR fixes:

Fixes #4190

PR acceptance criteria:

How to test changes / Special notes to the reviewer:

@girishramnani
Copy link
Contributor Author

[odo] [INFO] BUILD FAILURE
[odo] [INFO] ------------------------------------------------------------------------
[odo] [INFO] Total time:  25.791 s
[odo] [INFO] Finished at: 2020-11-16T10:44:14Z
[odo] [INFO] ------------------------------------------------------------------------
[odo] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project sprtest1: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile failed: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-toolchain:jar:1.0, org.apache.maven.shared:maven-shared-incremental:jar:1.1: Could not transfer artifact org.apache.maven:maven-toolchain:jar:1.0 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/maven-toolchain/1.0/maven-toolchain-1.0.jar: Connection reset -> [Help 1]

maven error in travis

Copy link
Contributor

@anandrkskd anandrkskd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Nov 16, 2020
@prietyc123
Copy link
Contributor

/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: prietyc123

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. label Nov 16, 2020
@girishramnani
Copy link
Contributor Author

 ⚠  Registry DefaultDevfileRegistry is not set up properly with error: Unable to unmarshal the devfile index.json from https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/index.json: invalid character ']' after top-level value, please check the registry URL and credential (refer `odo registry update --help`)
[odo] 
[odo] I1116 11:59:29.299547   43035 preference.go:209] The path for preference file is /tmp/743953526/preference.yaml
[odo] Validation
[odo]  •  Checking devfile existence  ...
[odo]  ✗  Checking devfile existence [9649ns]
[odo] I1116 11:59:29.301392   43035 util.go:431] path devfile.yaml doesn't exist, skipping it
[odo]  ⚠  Devfile component type java-maven is not supported, please run `odo catalog list components` for a list of supported devfile component types
[odo] I1116 11:59:29.301454   43035 preference.go:209] The path for preference file is /tmp/743953526/preference.yaml
[odo] I1116 11:59:29.386294   43035 preference.go:209] The path for preference file is /tmp/743953526/preference.yaml
[odo]  ✗  component type "java-maven" not found

/retest

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

10 similar comments
@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@girishramnani
Copy link
Contributor Author

/retest

@codecov
Copy link

codecov bot commented Nov 17, 2020

Codecov Report

Merging #4225 (cc540c5) into master (2363910) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4225   +/-   ##
=======================================
  Coverage   42.56%   42.56%           
=======================================
  Files         156      156           
  Lines       13266    13266           
=======================================
  Hits         5647     5647           
  Misses       7017     7017           
  Partials      602      602           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2363910...cc540c5. Read the comment docs.

@openshift-merge-robot openshift-merge-robot merged commit 0dea26a into redhat-developer:master Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parallel test execution fails due to racing with duplicate entry in KUBECONFIG
6 participants