Repository navigation
Conversation
| writeEtcdDump(t, response.Node) | ||
| } | ||
|
|
||
| func DumpEtcd3(t *testing.T) { |
There was a problem hiding this comment.
Would be better to take an etcd client here rather than implicitly creating one.
| name := f.Name()[last:] | ||
| } | ||
|
|
||
| func DumpEtcd2(t *testing.T) { |
|
@mfojtik @soltysh @smarterclayton @stevekuznetsov Anyone have any ideas why those specific tests are failing with this change? |
|
Do you have specific questions regarding logs you're seeing? |
@stevekuznetsov Basically either the API server or the test fatals after a point because it tries to get something from etcd that it must have, but etcd is non-functional for some reason. Example: TestPullThroughInsecure Logs |
|
These messages are in quick succession -- |
|
But no, specifically why this is happening I have no clue. Haven't seen it before. |
| func RequireEtcd3(t *testing.T) (*etcdtest.EtcdTestServer, *storagebackend.Config) { | ||
| s, c := etcdtest.NewUnsecuredEtcd3TestClientServer(t, kapi.Scheme) | ||
| func RequireEtcd3(t *testing.T) EtcdTestServer { | ||
| s, _ := etcdtest.NewUnsecuredEtcd3TestClientServer(t, kapi.Scheme) |
There was a problem hiding this comment.
guess the error is important here?
Signed-off-by: Monis Khan <[email protected]>
Signed-off-by: Monis Khan <[email protected]>
Signed-off-by: Monis Khan <[email protected]>
Signed-off-by: Monis Khan <[email protected]>
|
Evaluated for origin test up to 3436971 |
|
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/1905/) (Base Commit: 626c61c) |
soltysh
left a comment
There was a problem hiding this comment.
A few comments/suggestions.
|
|
||
| const etcdDigest = "sha256:958608f8ecc1dc62c93b6c610f3a834dae4220c9642e6e8b4e0f2b3ad7cbd238" | ||
| const etcdManifest = `{ | ||
| "schemaVersion": 1, |
There was a problem hiding this comment.
Some of the failures are caused by touching this part of the file. This is caused by digest not matching the version you've modified. No, I have no idea how to re-calculate those digests :/
Personally, I'm always failing back to VIM where I don't have auto-formatting, or any other auto-* scripts which will mess this part.
| } | ||
|
|
||
| func testSetupImageSignatureTest(t *testing.T, userName string) (adminClient *client.Client, userClient *client.Client, image *imageapi.Image) { | ||
| testutil.RequireEtcd(t) |
There was a problem hiding this comment.
Hmmm... you're not consistent. In test/integration/imageimporter_test.go you do this inside testImageStreamImportWithPath helper method, but here you moved those to actual test methods.
In general I'm fine with this approach, but make it consistent everywhere.
|
|
||
| func (s EtcdTestServer) DumpEtcdOnFailure() { | ||
| defer func() { | ||
| time.Sleep(time.Second) // push Terminate's race forward |
|
Origin Action Required: Pull request cannot be automatically merged, please rebase your branch from latest HEAD and push again |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: enj Assign the PR to them by writing Associated issue: 14095 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:You can indicate your approval by writing |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enj Associated issue: 14095 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
1 similar comment
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enj Associated issue: 14095 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
@enj what's the status on this? |
|
I think my PR covers this now?
…On Tue, Aug 1, 2017 at 12:58 PM, David Eads ***@***.***> wrote:
@enj <https://github.com/enj> what's the status on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14145 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG_p_AIBAufhOO5331QnDvssMRqc--qks5sT1k9gaJpZM4NYQZN>
.
|
|
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
|
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Also adds etcd3 dump support which is not yet enabled. Once #14095 is merged I will look at what things break if we start defaulting to etcd3.
[test]
cc @stevekuznetsov @bparees @sttts