-
Notifications
You must be signed in to change notification settings - Fork 74
update all deps #1257
update all deps #1257
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: capri-xiyue 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 |
go.mod
Outdated
@@ -75,3 +79,5 @@ replace gopkg.in/yaml.v2 => gopkg.in/yaml.v2 v2.2.2 | |||
replace honnef.co/go/tools => honnef.co/go/tools v0.0.1-2019.2.3 | |||
|
|||
replace sigs.k8s.io/yaml => sigs.k8s.io/yaml v1.1.0 | |||
|
|||
replace knative.dev/test-infra => knative.dev/test-infra v0.0.0-20200610004422-8b4a5283a123 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pin to specific knative.dev/test-infra to fix the error when running ./hack/update-deps.sh --upgrade
The error logs is as follows:
github.com/google/knative-gcp/hack imports knative.dev/pkg/hack imports knative.dev/test-infra/scripts: ambiguous import: found package knative.dev/test-infra/scripts in multiple modules: knative.dev/test-infra v0.0.0-20200608183332-3442736aebd0 (/usr/local/google/home/xiyue/go/pkg/mod/knative.dev/test-infra@v0.0.0-20200608183332-3442736aebd0/scripts) knative.dev/test-infra/scripts v0.0.0-00010101000000-000000000000 (/usr/local/google/home/xiyue/go/pkg/mod/knative.dev/test-infra/scripts@v0.0.0-20200
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure whether it's the right way to handle this(I searched Google and that's what stackoverflow suggested)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a comment saying that you are getting an ambiguous import problem otherwise?... in package knative.dev/test-infra/scripts
@chizhg any ideas?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the ambiguous import is because knative serving
also specifies specific version of knative.dev/test-infra
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chizhg fixed it here: knative/test-infra#2185
can you revert this test-infra portion once the other PR gets merged and update deps again?
fyi @nachocano Have to pin to specific |
test/e2e/e2e_test.go
Outdated
@@ -136,7 +136,7 @@ func TestBrokerDeadLetterSink(t *testing.T) { | |||
t.Skip("Skipping until https://github.com/google/knative-gcp/issues/485 is fixed.") | |||
cancel := logstream.Start(t) | |||
defer cancel() | |||
e2ehelpers.BrokerDeadLetterSinkTestHelper(t, "MTChannelBasedBroker" /*brokerClass*/, channelTestRunner, lib.DuplicatePubSubSecret) | |||
e2ehelpers.TestBrokerWithConfig(t, "MTChannelBasedBroker" /*brokerClass*/, channelTestRunner, lib.DuplicatePubSubSecret) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch not to remove the test!
/lgtm |
/retest |
/test pull-google-knative-gcp-build-tests |
/lgtm |
/unhold |
/retest |
The following is the coverage report on the affected files.
|
/test pull-google-knative-gcp-wi-tests |
1 similar comment
/test pull-google-knative-gcp-wi-tests |
The following jobs failed:
Failed non-flaky tests preventing automatic retry of pull-google-knative-gcp-wi-tests:
|
/retest |
Fixes #
Proposed Changes
Release Note
Docs