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

Rebase 1.7.6 #16615

Merged
merged 27 commits into from
Oct 5, 2017
Merged

Rebase 1.7.6 #16615

merged 27 commits into from
Oct 5, 2017

Conversation

soltysh
Copy link
Member

@soltysh soltysh commented Sep 29, 2017

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 29, 2017
@soltysh
Copy link
Member Author

soltysh commented Sep 29, 2017

The only problem I have right now is:

F0929 16:56:13.334553    6360 openapi.go:38] Failed to register open api spec for root: Duplicate Operation ID createNamespacedDeploymen
tConfigRollback for path /oapi/v1/namespaces/{namespace}/deploymentconfigrollbacks and /oapi/v1/namespaces/{namespace}/deploymentconfigs/{name}/rollback.

@deads2k
Copy link
Contributor

deads2k commented Sep 29, 2017

The only problem I have right now is:

F0929 16:56:13.334553 6360 openapi.go:38] Failed to register open api spec for root: Duplicate Operation ID createNamespacedDeploymen
tConfigRollback for path /oapi/v1/namespaces/{namespace}/deploymentconfigrollbacks and /oapi/v1/namespaces/{namespace}/deploymentconfigs/{name}/rollback.

That's just because your server isn't far enough to fail on something else :)

I think we had a patch somewhere renaming those.

@stevekuznetsov
Copy link
Contributor

/unassign

@soltysh
Copy link
Member Author

soltysh commented Sep 29, 2017

@deads2k found the problem, this was introduced in this fix kubernetes/kubernetes@5b7783f after I removed it it's working. We'll need to figure out if the fix is wrong or we messed something up. I haven't checked how this works in 1.8, though. Let's see how tests results are now.

@soltysh
Copy link
Member Author

soltysh commented Sep 30, 2017

@liggitt remember when you've mentioned k8s 1.7 bumped azure driver, now I see this is biting us really hard, docker distribution's azure driver relies on some methods not present anymore in the newer version :/ @smarterclayton fyi. What should we do with it?

@liggitt
Copy link
Contributor

liggitt commented Sep 30, 2017

This is why we have to get our dockerregistry built separately, so we can track kube levels of docker, etc. Diamond dependencies are going to become impossible

@soltysh
Copy link
Member Author

soltysh commented Sep 30, 2017

Yeah, that's the long term goal. But thankfully I realized we have a vendor directory inside our docker/distribution, which just needs the old Azure dependency and it looks like it's working...

@soltysh soltysh force-pushed the rebase-1.7.6 branch 2 times, most recently from 8dc237c to 9868522 Compare October 2, 2017 10:44
@soltysh soltysh changed the title WIP: Rebase 1.7.6 Rebase 1.7.6 Oct 2, 2017
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 2, 2017
@soltysh
Copy link
Member Author

soltysh commented Oct 2, 2017

This is almost green, except for TestNodeAuthorizer and TestScopedProjectAccess integration tests.

@soltysh
Copy link
Member Author

soltysh commented Oct 2, 2017

So apparently rebasing the rebase of the master helped. This is ready for reviews.

@@ -63,6 +63,10 @@ func GetOperationIDAndTags(r *restful.Route) (string, []string, error) {
op := r.Operation
path := r.Path
var tags []string
// TODO: This is hacky, figure out where this name conflict is created and fix it at the root.
if strings.HasPrefix(path, "/apis/extensions/v1beta1/namespaces/{namespace}/") && strings.HasSuffix(op, "ScaleScale") {
Copy link
Contributor

Choose a reason for hiding this comment

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

create issue pls, this is ultraugly

Copy link
Member Author

Choose a reason for hiding this comment

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

Created #16635.

Copy link
Contributor

Choose a reason for hiding this comment

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

mehdy?

@mfojtik
Copy link
Contributor

mfojtik commented Oct 2, 2017

Origin changes looks reasonable to me (except #16615 (comment) maybe ;-). Good job!
LGTM

@@ -589,15 +589,6 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag

routes := []*restful.RouteBuilder{}

// If there is a subresource, kind should be the parent's kind.
if hasSubresource {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we should do this. This is messing with the kinds reported via discovery, right?

@deads2k
Copy link
Contributor

deads2k commented Oct 2, 2017

UPSTREAM: docker/distribution: <carry>: Azure dependencies smells like a bad bump. YOu accidentally wrote a directory should not have perhaps?

@soltysh
Copy link
Member Author

soltysh commented Oct 2, 2017

UPSTREAM: docker/distribution: : Azure dependencies smells like a bad bump. YOu accidentally wrote a directory should not have perhaps?

Nope, @liggitt warned me that 1.7.x bumps Azure deps, which in-turn conflict with docker distrubution's requirements. I had to move the old Azure deps to distribution's vendor dir. It's intentional.

@deads2k
Copy link
Contributor

deads2k commented Oct 4, 2017

/retest

1 similar comment
@soltysh
Copy link
Member Author

soltysh commented Oct 5, 2017

/retest

@soltysh
Copy link
Member Author

soltysh commented Oct 5, 2017

LOL, and I thought that I'm the only one hitting:

/usr/lib/golang/pkg/tool/linux_amd64/link: flushing /tmp/go-link-610563765/go.o: write /tmp/go-link-610563765/go.o: cannot allocate memory

apparently our CI suffered that one as well.

@soltysh
Copy link
Member Author

soltysh commented Oct 5, 2017

/retest

@soltysh
Copy link
Member Author

soltysh commented Oct 5, 2017

Failed on:

[WARNING] `go test` had the following output to stderr:
# testmain
/usr/lib/golang/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: final link failed: No space left on device
collect2: error: ld returned 1 exit status

go build testmain: /usr/lib/golang/pkg/tool/linux_amd64/link: signal: killed
# testmain
2017/10/05 07:26:04 reading input: read /go/src/github.com/openshift/origin/_output/local/go/pkg/linux_amd64_race/github.com/openshift/origin/vendor/k8s.io/apimachinery/pkg/util/yaml.a: bad address
# testmain
/usr/lib/golang/pkg/tool/linux_amd64/link: flushing /tmp/go-link-276328245/go.o: write /tmp/go-link-276328245/go.o: cannot allocate memory
# testmain
/usr/lib/golang/pkg/tool/linux_amd64/link: flushing /tmp/go-link-585832900/go.o: write /tmp/go-link-585832900/go.o: cannot allocate memory
# testmain
/usr/lib/golang/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: final link failed: No space left on device
collect2: error: ld returned 1 exit status

@0xmichalis
Copy link
Contributor

/retest

@soltysh
Copy link
Member Author

soltysh commented Oct 5, 2017

/retest

@soltysh
Copy link
Member Author

soltysh commented Oct 5, 2017

TestScopedProjectAccess was mentioned by @smarterclayton to be more flaky. I think we'll have to dig into it more.

@soltysh
Copy link
Member Author

soltysh commented Oct 5, 2017

/retest

1 similar comment
@deads2k
Copy link
Contributor

deads2k commented Oct 5, 2017

/retest

@0xmichalis
Copy link
Contributor

@deads2k add a retest-not-required label if you want it merged as quick as possible?

@deads2k
Copy link
Contributor

deads2k commented Oct 5, 2017

@deads2k add a retest-not-required label if you want it merged as quick as possible?

That carries a risk of breakage, but I can live with that. Do we have an easily accessible view of the branch jobs to see what happens after this merges?

@0xmichalis
Copy link
Contributor

https://deck-ci.svc.ci.openshift.org/?type=postsubmit

These are jobs that run on every commit in master.

@deads2k
Copy link
Contributor

deads2k commented Oct 5, 2017

https://deck-ci.svc.ci.openshift.org/?type=postsubmit

These are jobs that run on every commit in master.

thanks.

@0xmichalis
Copy link
Contributor

0xmichalis commented Oct 5, 2017

You likely want origin only: https://deck-ci.svc.ci.openshift.org/?repo=openshift%2Forigin&type=postsubmit

Btw, I verified that this PR is not conflicting with the current batch in the queue. So as soon as that job finishes, we should see this merged.

@deads2k
Copy link
Contributor

deads2k commented Oct 5, 2017

@soltysh failed again

/retest

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue.

@openshift-merge-robot openshift-merge-robot merged commit 050c9ea into openshift:master Oct 5, 2017
@soltysh soltysh deleted the rebase-1.7.6 branch October 5, 2017 15:56
@ironcladlou ironcladlou mentioned this pull request Oct 5, 2017
52 tasks
@deads2k
Copy link
Contributor

deads2k commented Oct 5, 2017

@soltysh @ironcladlou I need SHAs to start the apimachinery, client-go, apiserver, and metrics release-1.7.6 branches from

@smarterclayton
Copy link
Contributor

smarterclayton commented Oct 5, 2017

Godeps references commit "a08f5eeb6246134f4ae5443c0593d72fd057ea7c" which doesn't exist under a branch in openshift/kubernetes, which means git fetch can't grab it.

Can someone tag this to whatever branch it should be tagged to?

@smarterclayton
Copy link
Contributor

Another hack/restore-godeps failure:

godep: error restoring dep (github.com/docker/distribution/vendor/google.golang.org/grpc/codes): Wanted to restore rev 48294d928ced5dd9b378f7fd7c6f5da3ff3f2c89, already restored rev 1e2bbed6e09c6c8047f52af965a6e301f346d04e for another package in the repo
godep: error restoring dep (github.com/docker/distribution/vendor/google.golang.org/grpc/credentials): Wanted to restore rev 48294d928ced5dd9b378f7fd7c6f5da3ff3f2c89, already restored rev 1e2bbed6e09c6c8047f52af965a6e301f346d04e for another package in the repo
godep: error restoring dep (github.com/docker/distribution/vendor/google.golang.org/grpc/grpclog): Wanted to restore rev 48294d928ced5dd9b378f7fd7c6f5da3ff3f2c89, already restored rev 1e2bbed6e09c6c8047f52af965a6e301f346d04e for another package in the repo
godep: error restoring dep (github.com/docker/distribution/vendor/google.golang.org/grpc/internal): Wanted to restore rev 48294d928ced5dd9b378f7fd7c6f5da3ff3f2c89, already restored rev 1e2bbed6e09c6c8047f52af965a6e301f346d04e for another package in the repo
godep: error restoring dep (github.com/docker/distribution/vendor/google.golang.org/grpc/metadata): Wanted to restore rev 48294d928ced5dd9b378f7fd7c6f5da3ff3f2c89, already restored rev 1e2bbed6e09c6c8047f52af965a6e301f346d04e for another package in the repo
godep: error restoring dep (github.com/docker/distribution/vendor/google.golang.org/grpc/naming): Wanted to restore rev 48294d928ced5dd9b378f7fd7c6f5da3ff3f2c89, already restored rev 1e2bbed6e09c6c8047f52af965a6e301f346d04e for another package in the repo
godep: error restoring dep (github.com/docker/distribution/vendor/google.golang.org/grpc/transport): Wanted to restore rev 48294d928ced5dd9b378f7fd7c6f5da3ff3f2c89, already restored rev 1e2bbed6e09c6c8047f52af965a6e301f346d04e for another package in the repo
godep: error restoring dep (github.com/docker/distribution/vendor/google.golang.org/api/gensupport): Wanted to restore rev 48294d928ced5dd9b378f7fd7c6f5da3ff3f2c89, already restored rev 1e2bbed6e09c6c8047f52af965a6e301f346d04e for another package in the repo
godep: error restoring dep (github.com/docker/distribution/vendor/google.golang.org/appengine/internal/base): Wanted to restore rev 48294d928ced5dd9b378f7fd7c6f5da3ff3f2c89, already restored rev 1e2bbed6e09c6c8047f52af965a6e301f346d04e for another package in the repo
godep: error restoring dep (github.com/docker/distribution/vendor/google.golang.org/appengine/internal/datastore): Wanted to restore rev 48294d928ced5dd9b378f7fd7c6f5da3ff3f2c89, already restored rev 1e2bbed6e09c6c8047f52af965a6e301f346d04e for another package in the repo

Godeps/Godeps.json has docker/distribution in there twice at two different Revs.

openshift-merge-robot added a commit that referenced this pull request Oct 6, 2017
Automatic merge from submit-queue.

UPSTREAM: google/cadvisor: 1766: adaptive longOp for du operation

google/cadvisor#1766

xref https://bugzilla.redhat.com/show_bug.cgi?id=1498632

@derekwaynecarr @ravisantoshgudimetla 

hold pending #16615
@ironcladlou
Copy link
Contributor

ironcladlou commented Oct 6, 2017

So this is weird....

The referenced commit merged to release-1.7.6 from my original rebase PR in openshift/kubernetes@a08f5ee: "soltysh merged 166 commits into openshift:release-1.7.6 from ironcladlou:rebase-1.7.6"

Notice that openshift/kubernetes@a08f5ee isn't in the release-1.7.6 branch now.

BUT, here's a duplicate of the commit with a different sha in the release-1.7.6 branch openshift/kubernetes@ad0dbed.

👀

@soltysh
Copy link
Member Author

soltysh commented Oct 6, 2017

@deads2k and I were syncing our forks, either of us must have overwritten the commits. Looking at the commits it appears it was me, not sure why though, since I was working on top of freshly pulled branch...

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. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. queue/critical-fix retest-not-required size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet