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

Add a presubmit job for k8s-multicluster-ingress #5373

Merged
merged 1 commit into from
Nov 9, 2017

Conversation

nikhiljindal
Copy link
Contributor

@nikhiljindal nikhiljindal commented Nov 7, 2017

Adding a presubmit job for github.com/GoogleCloudPlatform/k8s-multicluster-ingress.

cc @krzyzacy @G-Harmon

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 7, 2017
@nikhiljindal
Copy link
Contributor Author

@krzyzacy I definitely dont understand all the changes here. Followed the changes for another similar job :)
Please take a look and let me know if I am doing something silly, which is totally possible :)

jobs/config.json Outdated
@@ -9300,6 +9300,15 @@
"sig-network"
]
},
"pull-kubernetes-multicluster-ingress-test": {
"args": [
"true"
Copy link
Member

Choose a reason for hiding this comment

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

do you actually want to run something useful? xD

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added "make test" here. It should start working once GoogleCloudPlatform/k8s-multicluster-ingress#62 merges.

@@ -119,3 +119,6 @@ plugins:
- reopen
- lgtm
- trigger

GoogleCloudPlatform/k8s-multicluster-ingress:
Copy link
Member

Choose a reason for hiding this comment

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

If you look at top of this file, the repo need to be configured to send prow webhooks, also send an invitation to @k8s-ci-robot to make it work. Are you the owner of this repo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No instructions at the top of the file, but done and done

Copy link
Member

Choose a reason for hiding this comment

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

cc @cjwagner maybe we want to put in some internal docs so that we know where to find different things

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ALso added GoogleCloudPlatform/k8s-multicluster-ingress to the top of file

@krzyzacy
Copy link
Member

krzyzacy commented Nov 9, 2017

jobs/config.json is not sorted, please run bazel run //jobs:config_sort

@nikhiljindal
Copy link
Contributor Author

aah didnt realize that its sorted. Done it now

@krzyzacy
Copy link
Member

krzyzacy commented Nov 9, 2017

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 9, 2017
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: krzyzacy, nikhiljindal

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

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 9, 2017
@k8s-ci-robot k8s-ci-robot merged commit 1dcc85f into kubernetes:master Nov 9, 2017
@k8s-ci-robot
Copy link
Contributor

@nikhiljindal: I updated Prow config for you!

I updated Prow plugins config for you!

In response to this:

Adding a presubmit job for github.com/GoogleCloudPlatform/k8s-multicluster-ingress.

cc @krzyzacy @G-Harmon

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@nikhiljindal
Copy link
Contributor Author

@krzyzacy The tests are failing and link to logs is not working: GoogleCloudPlatform/k8s-multicluster-ingress#41 (comment).
Any idea why?

readOnly: true
- name: cache-ssd
mountPath: /root/.cache
ports:
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this needs this port

@BenTheElder
Copy link
Member

I'm investigating, currently your job is pending, I think waiting for a free node with that port available. We should probably remove that from the spec in a follow up, we use that as a hack to make sure the bazel jobs aren't using the bazel cache concurrently.

@BenTheElder
Copy link
Member

http://prow.k8s.io/log?job=pull-kubernetes-multicluster-ingress-test&id=11

I1110 00:40:34.302] Call:  git fetch --quiet --tags https://github.com/k8s-multicluster-ingress master +refs/pull/41/head:refs/pr/41
W1110 00:40:34.504] remote: Not Found
W1110 00:40:34.504] fatal: repository 'https://github.com/k8s-multicluster-ingress/' not found
E1110 00:40:34.507] Command failed
I1110 00:40:34.507] process 23 exited with code 128 after 0.0m
W1110 00:40:34.507] git fetch failed
I1110 00:40:34.874] Call:  git fetch --quiet --tags https://github.com/k8s-multicluster-ingress master +refs/pull/41/head:refs/pr/41
W1110 00:40:35.074] remote: Not Found
W1110 00:40:35.074] fatal: repository 'https://github.com/k8s-multicluster-ingress/' not found
E1110 00:40:35.076] Command failed
I1110 00:40:35.076] process 26 exited with code 128 after 0.0m
W1110 00:40:35.077] git fetch failed
I1110 00:40:36.890] Call:  git fetch --quiet --tags https://github.com/k8s-multicluster-ingress master +refs/pull/41/head:refs/pr/41
W1110 00:40:37.104] remote: Not Found
W1110 00:40:37.105] fatal: repository 'https://github.com/k8s-multicluster-ingress/' not found
E1110 00:40:37.107] Command failed
I1110 00:40:37.107] process 29 exited with code 128 after 0.0m
E1110 00:40:37.107] unexpected error
Traceback (most recent call last):
  File "./test-infra/jenkins/bootstrap.py", line 926, in bootstrap
  File "./test-infra/jenkins/bootstrap.py", line 841, in setup_root
  File "./test-infra/jenkins/bootstrap.py", line 248, in checkout
  File "./test-infra/jenkins/bootstrap.py", line 906, in <lambda>
  File "./test-infra/jenkins/bootstrap.py", line 147, in _call

containers:
- image: gcr.io/k8s-testimages/gcloud-in-go:0.4
args:
- "--repo=github.com/$(REPO_NAME)=$(PULL_REFS)"
Copy link
Member

Choose a reason for hiding this comment

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

this needs to be "--repo=github.com/GoogleCloudPlatform/$(REPO_NAME)=$(PULL_REFS)"

Copy link
Member

Choose a reason for hiding this comment

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

oh right, good catch

@nikhiljindal
Copy link
Contributor Author

nikhiljindal commented Nov 10, 2017

Thanks for the investigation @BenTheElder!
Sent #5438 for the fixes.

Are the instructions for debugging this documented somewhere?
I tried the link you posted (http://prow.k8s.io/log?job=pull-kubernetes-multicluster-ingress-test&id=11) and I get a 404. Is that link only valid when the job is running?

@BenTheElder
Copy link
Member

@nikhiljindal I don't think we have instructions for debugging this anywhere, but generally the prow log links (which are at the on each job's entry on prow.k8s.io) are usually all you need.

Is that link only valid when the job is running?

more or less, the pods do get GC'd, it's only meant to be used while running but is still valid for a bit. It's especially useful when the logs don't upload.

@@ -9349,6 +9349,15 @@
"sig-scalability"
]
},
"pull-kubernetes-multicluster-ingress-test": {
"args": [
"make test"
Copy link
Member

Choose a reason for hiding this comment

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

Oh and this needs to be an arg array 😞

"args": [
  "make",
  "test"
]

Copy link
Member

Choose a reason for hiding this comment

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

fixed in #5439

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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants