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

Have pull-kops-e2e-kubernetes-aws extract ci/latest #4462

Conversation

justinsb
Copy link
Member

@justinsb justinsb commented Sep 8, 2017

We bring up the cluster with ci/latest, so we should run those tests
also.

We bring up the cluster with ci/latest, so we should run those tests
also.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 8, 2017
@justinsb
Copy link
Member Author

justinsb commented Sep 8, 2017

The kops PR builder is currently failing because it is running the 1.7 e2e tests against a 1.9-alpha cluster, a and 1.8 added validation which the 1.7 e2e tests violate (kubernetes/kubernetes#47224)

This can be seen in the logs for kubernetes/kops#3336 here: https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/kops/3336/pull-kops-e2e-kubernetes-aws/2906/build-log.txt

We run kubetest and create the cluster with 1.9:

W0908 03:00:46.573] + readonly KOPS_KUBE_LATEST_URL=https://storage.googleapis.com/kubernetes-release-dev/ci/latest.txt
W0908 03:00:46.573] + KOPS_KUBE_LATEST_URL=https://storage.googleapis.com/kubernetes-release-dev/ci/latest.txt
W0908 03:00:46.573] ++ curl -fsS --retry 3 https://storage.googleapis.com/kubernetes-release-dev/ci/latest.txt
W0908 03:00:46.637] + readonly KOPS_KUBE_LATEST=v1.9.0-alpha.0.433+92e1f4466e8f29
W0908 03:00:46.638] + KOPS_KUBE_LATEST=v1.9.0-alpha.0.433+92e1f4466e8f29

But then we get our e2e tests from release/stable, from extract:

W0908 03:00:52.771] 2017/09/08 03:00:52 util.go:132: Running: gsutil cat gs://kubernetes-release/release/stable.txt
W0908 03:00:55.029] 2017/09/08 03:00:55 util.go:134: Step 'gsutil cat gs://kubernetes-release/release/stable.txt' finished in 2.340759186s
W0908 03:00:55.029] 2017/09/08 03:00:55 extract.go:236: U=https://storage.googleapis.com/kubernetes-release/release R=v1.7.5 get-kube.sh
W0908 03:00:55.029] 2017/09/08 03:00:55 util.go:132: Running: ./get-kube.sh
W0908 03:00:55.063]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

I believe this can be fixed by setting --extract=ci/latest instead of --extract=release/stable. This also means we'll be testing kops PRs with the master branch of k8s, which is probably a good idea.

cc @krzyzacy and @zmerlynn

@krzyzacy
Copy link
Member

krzyzacy commented Sep 8, 2017

ah makes sense.
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 8, 2017
@krzyzacy krzyzacy merged commit 5f27551 into kubernetes:master Sep 8, 2017
k8s-github-robot pushed a commit to kubernetes/kubernetes that referenced this pull request Sep 24, 2017
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>..

Allow dns e2e test case for ExternalName to run on aws

**What this PR does / why we need it**:
#52840 uses allocated clusterIP instead of hard-coded one. So we don't need to care about the clusterIP range of the CI job config. Let it run on pull-kubernetes-e2e-kops-aws

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #47224

**Special notes for your reviewer**:
ref: kubernetes/test-infra#4462

/cc @bowei @MrHohn @justinsb 

**Release note**:

```release-note
NONE
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants