Skip to content

Increase journald rate limiter when running test-end-to-end-docker.sh - #13529

Merged
openshift-bot merged 2 commits into
openshift:masterfrom
soltysh:issue12558
Apr 6, 2017
Merged

openshift-bot merged 2 commits into
openshift:masterfrom
soltysh:issue12558

Conversation

@soltysh

@soltysh soltysh commented Mar 23, 2017

Copy link
Copy Markdown
Contributor

Fixes #12558 by increasing rate limiter values while running test-end-to-end-docker.sh. Additionally, this re-enables the tests that were disabled due to that error.

@stevekuznetsov ptal
@smarterclayton fyi

@soltysh

soltysh commented Mar 23, 2017

Copy link
Copy Markdown
Contributor Author

[test]

@smarterclayton

Copy link
Copy Markdown
Contributor

Why aren't we just changing the base ami?

@smarterclayton

Copy link
Copy Markdown
Contributor

Is there an issue to ansible team that disables this (or has the discussion about it) as well? I can't think of a good reason for user logs to get thrown away in the long run.

@soltysh

soltysh commented Mar 23, 2017

Copy link
Copy Markdown
Contributor Author

Is there an issue to ansible team that disables this (or has the discussion about it) as well? I can't think of a good reason for user logs to get thrown away in the long run.

I'll open a PR in a few.

Why aren't we just changing the base ami?

@stevekuznetsov was hesitant to do that, but I'm fine with having this explicit here.

@smarterclayton

Copy link
Copy Markdown
Contributor

I'd prefer to change the base ami if we would also be making ansible changes to a recommended configuration.

The tradeoff of losing app data is pretty important - that needs to be understood by an admin. Not ignored.

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@smarterclayton my comment to @soltysh was that we should run against the cluster set up by openshift-ansible and that this should be a short patch to get us there. not sure I want to change the base ami if the installer is going to arm wrestle for who gets to set the real values

@soltysh

soltysh commented Mar 23, 2017

Copy link
Copy Markdown
Contributor Author

The ansible change was submitted here: openshift/openshift-ansible#3753

@soltysh

soltysh commented Mar 24, 2017

Copy link
Copy Markdown
Contributor Author

Flake #13271.

[test]

@soltysh

soltysh commented Mar 24, 2017

Copy link
Copy Markdown
Contributor Author

@smarterclayton since the discussion with ansible folks is under way, are you ok with this merging as is. This will fix our problems and gets our test back, which was excluded temporarily?

@smarterclayton

Copy link
Copy Markdown
Contributor

LGTM

@soltysh

soltysh commented Mar 24, 2017

Copy link
Copy Markdown
Contributor Author

Thx, will merge on green tests.

@soltysh

soltysh commented Mar 24, 2017

Copy link
Copy Markdown
Contributor Author

Hmmm... it looks like this increased rate limits uncovered some error:

[INFO] Validating exec
Running test/end-to-end/core.sh:463: executing 'oc exec -p frontend-1-2tcnx id' expecting success and text '1000'...
SUCCESS after 0.274s: test/end-to-end/core.sh:463: executing 'oc exec -p frontend-1-2tcnx id' expecting success and text '1000'
Standard output from the command:
uid=1000050000 gid=0(root) groups=0(root),1000050000

Standard error from the command:
W0324 10:00:15.686149   16605 cmd.go:337] -p POD_NAME is DEPRECATED and will be removed in a future version. Use exec POD_NAME instead.

Running test/end-to-end/core.sh:464: executing 'oc rsh pod/frontend-1-2tcnx id -u' expecting success and text '1000'...
Connection to 172.18.8.26 closed by remote host.
++ export status=FAILURE
++ status=FAILURE
+ set +o xtrace

I'll try to dig into it more, in that case.

@soltysh

soltysh commented Apr 6, 2017

Copy link
Copy Markdown
Contributor Author

I've rebased this and will wait for tests. The error I've pointed in previous comment doesn't look like caused by this PR (seen in others as well). I'll give it a fresh run. When green will merge based on previous approval.

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 671fa64

@openshift-bot

Copy link
Copy Markdown
Contributor

@soltysh

soltysh commented Apr 6, 2017

Copy link
Copy Markdown
Contributor Author

[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 671fa64

@openshift-bot

openshift-bot commented Apr 6, 2017 •

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/600/) (Base Commit: 33e1425) (Image: devenv-rhel7_6119)

@openshift-bot
openshift-bot merged commit d6f7e06 into openshift:master Apr 6, 2017
@soltysh
soltysh deleted the issue12558 branch April 6, 2017 14:50
@stevekuznetsov

Copy link
Copy Markdown
Contributor

@mfojtik @dobbymoodge so here's a fun fact ... the merge-pretest-success merged this in while the merge job was running. and the merge job hung for six hours and the rest of the queue was broken but nevertheless it seems weird that we can merge while a job is already running .... I really do not like the pretest success feature and we should be super careful with it

@dobbymoodge

Copy link
Copy Markdown
Contributor

@stevekuznetsov Whoah, that is weird.

@mfojtik

mfojtik commented Apr 7, 2017

Copy link
Copy Markdown
Contributor

@stevekuznetsov hrm, shouldn't the pretest merge create some lock file (or merge job) that wiill block till the premerge/merge finishes?

@soltysh
soltysh restored the issue12558 branch April 7, 2017 08:14
@stevekuznetsov

stevekuznetsov commented Apr 7, 2017 •

Copy link
Copy Markdown
Contributor

ZiMaybe it should. Still wouldn't have helped if it got pushed in this PR before the merge job started. I think we have a very complex system that entirely depends on merges happening serially. The pre-test success option breaks that assumption and I don't think all of the edge cases or interactions were ever taken into account. Especially with the cross repo tests, it's more dangerous today than ever before. I've never been a huge fan of the option but I'd rather see effort put into getting us SubmitQueue and Prow than trying to untangle pre-test success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants