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

functional: run tests with embedded etcd, add logger field #9572

Merged
merged 34 commits into from
Apr 17, 2018

Commits on Apr 17, 2018

  1. functional/rpcpb: add "*Etcd.EmbedConfig", and logger fields

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    575cf94 View commit details
    Browse the repository at this point in the history
  2. functional/agent: handle "embed.Etcd", logger sync

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    3312810 View commit details
    Browse the repository at this point in the history
  3. pkg/logutil: add "NewGRPCLoggerV2FromZap", "NewRaftLogger"

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    82e84a0 View commit details
    Browse the repository at this point in the history
  4. *: configure server logger

    - Add/Document "logger" to support structured logging.
      - This makes functional tests run easier, since zap logger
        provides built-in log redirect to files.
      - "etcd --logger-option=zap" to enable structured logging.
    - Current "capnslog" will still be used as "default".
      - We may switch the default or deprecate "capnslog" in v3.5.
      - Either way, will clearly be documented.
    
    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    041b906 View commit details
    Browse the repository at this point in the history
  5. CHANGELOG-3.4: highlight logger change

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    d5d4025 View commit details
    Browse the repository at this point in the history
  6. integration: use default logger "capnslog"

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    f879c1d View commit details
    Browse the repository at this point in the history
  7. etcdserver: support structured logging

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    bdbed26 View commit details
    Browse the repository at this point in the history
  8. pkg: support structured logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    0dad8ab View commit details
    Browse the repository at this point in the history
  9. mvcc: support structured logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    c00c6cb View commit details
    Browse the repository at this point in the history
  10. wal: support structured logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    fdbedac View commit details
    Browse the repository at this point in the history
  11. rafthttp: support structured logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    c68f625 View commit details
    Browse the repository at this point in the history
  12. raftsnap: support structured logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    ce8348e View commit details
    Browse the repository at this point in the history
  13. auth: support structured logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    f57fa6a View commit details
    Browse the repository at this point in the history
  14. snapshot: support structured logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    d1c7d40 View commit details
    Browse the repository at this point in the history
  15. clientv3,etcdctl: support structured logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    6dbce6b View commit details
    Browse the repository at this point in the history
  16. contrib/tools: support structured logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    9063805 View commit details
    Browse the repository at this point in the history
  17. integration: support structured logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    a7fd274 View commit details
    Browse the repository at this point in the history
  18. embed,etcdmain: support structured logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    c712e08 View commit details
    Browse the repository at this point in the history
  19. functional/agent: support embedded etcd

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    677894b View commit details
    Browse the repository at this point in the history
  20. functional/tester: run tests with embedded etcd

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    f34c5dc View commit details
    Browse the repository at this point in the history
  21. pkg/transport: check nil logger

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    2bd88e3 View commit details
    Browse the repository at this point in the history
  22. snapshot: ignore server logs

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    38e32a1 View commit details
    Browse the repository at this point in the history
  23. embed: support "io-discard" for logging, fix racey logging setup

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    cc77874 View commit details
    Browse the repository at this point in the history
  24. integration,embed: ignore embed log output

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    35a80bc View commit details
    Browse the repository at this point in the history
  25. functional/tester: handle "raft.ErrProposalDropped"

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    d1c2ae8 View commit details
    Browse the repository at this point in the history
  26. functional/tester: use binary for tests for now

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    2ee2a96 View commit details
    Browse the repository at this point in the history
  27. functional/agent: fix etcd exec path check

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    f63b5c1 View commit details
    Browse the repository at this point in the history
  28. CHANGELOG-3.4: highlight WAL changes

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    c716bea View commit details
    Browse the repository at this point in the history
  29. Documentation/upgrades: highlight wal, embed changes

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    b7ce6b7 View commit details
    Browse the repository at this point in the history
  30. etcdctl/ctlv3: fix snapshot command e2e tests

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    ae9ccd8 View commit details
    Browse the repository at this point in the history
  31. tests/e2e: fix TestIssue6361

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    92c3274 View commit details
    Browse the repository at this point in the history
  32. tests/e2e: fix gateway tests

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    a3b9d82 View commit details
    Browse the repository at this point in the history
  33. tests/e2e: comment out TestEtcdCorruptHash debugging lines

    No need
    
    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    1c44293 View commit details
    Browse the repository at this point in the history
  34. *: support --log-output=discard

    Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
    gyuho committed Apr 17, 2018
    Configuration menu
    Copy the full SHA
    18b3e45 View commit details
    Browse the repository at this point in the history