Skip to content

Extended deployment tests and others flake all the time because of journald rate limiting #14785

Closed

Description

@bparees
/go/src/github.com/openshift/origin/test/extended/deployments/deployments.go:423
Expected
    <string>: --> pre: Running hook pod ...
to contain substring
    <string>: hello bar
/go/src/github.com/openshift/origin/test/extended/deployments/deployments.go:422

https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/1060

Activity

  1. added
    kind/test-flake
    on Jun 20, 2017
  2. mfojtik commented on Jun 23, 2017

    @mfojtik
    Contributor

    this is journald logging issue when we loosing the log messages...

  3. changed the title [-]Extended.deploymentconfigs with env in params referencing the configmap [Conformance] should expand the config map key to a value[/-] [+]Extended deployment tests and others flake all the time because of journald rate limiting[/+] on Aug 1, 2017
  4. smarterclayton commented on Aug 1, 2017

    @smarterclayton
    Contributor

    So at this point this is now my "journald breaks deployment tests and causes hundreds of flakes" tracking issue.

    @stevekuznetsov @mfojtik @soltysh @derekwaynecarr @sjenning @jcantrill @portante

    Journald rate limiting on pod logs causes flakes on e2e tests that depend on looking at log output. Log output is something that is supposed to work no matter what. We have a few options on our test runs:

    1. turn off journald rate limiting on our test instances
    2. turn off journald logging and use jsonfile on our test instances
    3. ???

    What other options do we have? This is failing 1/3 or 1/4 e2e runs and making me angry. Let's get a decision.

  5. portante commented on Aug 1, 2017

    @portante
  6. smarterclayton commented on Aug 1, 2017

    @smarterclayton
    Contributor

    @stevekuznetsov do we change anything except what's in here? https://github.com/openshift/origin-ci-tool/blob/151e40a674f15fcf77dd7ca12b75738e06f93972/oct/ansible/oct/roles/dependencies/tasks/pre_install.yml

    If not, then stock rhel/centos. We turn rate limiting off in a few test setups, but it may be that we just want to turn off rate limiting on the docker journal via openshift-ansible (for the single and multi-node setups).

    Basically, dropping logs via rate limiting has no place in our test environment for end user containers. Only blocking would be acceptable.

  7. stevekuznetsov commented on Aug 1, 2017

    @stevekuznetsov
    Contributor

    Nope, nothing other than that

  8. sjenning commented on Aug 1, 2017

    @sjenning
    Contributor

    I vote for jsonfile (option 2). That's what I do on my personal cluster deployments. That and switching to overlay storage driver. Not sure what the historical reason was for doing journald support in docker. Remote log aggregation?

    This is part of my overall opinion that we should align with upstream kube as much as possible.

    Leads to things like this when we try to run kube e2e:
    kubernetes/kubernetes#43479

  9. stevekuznetsov commented on Aug 1, 2017

    @stevekuznetsov
    Contributor

    I was not under the impression that we suggested anything but journald for production customer deployments?

  10. smarterclayton commented on Aug 1, 2017

    @smarterclayton
    Contributor
  11. portante commented on Aug 2, 2017

    @portante

    @smarterclayton, proposed PR openshift/origin-ci-tool#133 to drop rate-limiting.

  12. soltysh commented on Aug 4, 2017

    @soltysh
    Contributor

    rate limiting with drop should be opt in for journal, not opt out

    How do you want to achieve that, that's the reason you rate limit, to drop what's above limit. IMHO for our tests we should be turning off the limits. Our docs should warn users about it, until docker-journald has a proper fix in place, which is each container should be taken as a separate service.

  13. self-assigned this
    on Aug 4, 2017
  14. soltysh commented on Aug 4, 2017

    @soltysh
    Contributor

    Bumping to P0 as the linked PR. They are both the same, the only difference is that they touch different test regions.

  15. tnozicka commented on Aug 21, 2017

    @tnozicka
    Contributor

    also seen in #15790 (comment)

  16. soltysh commented on Dec 5, 2017

    @soltysh
    Contributor

    I've double checked the logs you've pointed to @tnozicka and it doesn't look like it's related to journald rate limiting. The test happened after the journald was modified and during the test time I have not seen indication that journald is rate limiting any messages. I will close this issue when #17597 merges and I'm more assured this is not happening anymore.

  17. added a commit that references this issue on Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

component/appscomponent/loggingkind/test-flakepriority/P0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions