aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-10-18crun: fix offline buildshonister-netBruce Ashfield
The 'autogen.sh' script of crun was fetching dependencies that we already have in our SRC_URI. We want the OE git fetcher to manage the source, not scripts in the source of a package. We grab the two lines out of autogen.sh that we need, and use them directly in the configure_prepend. We also add yajl to the source code dependencies as the package DEPENDS is not enough as crun is explicitly building source that looks for the yajl code. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-18podman: check for ipv6 in DISTRO_FEATURESBruce Ashfield
When setting up networking, podman is looking for the ipv6tables executable. We have iptables in our rdepnds, but the ipv6 variant won't be available unless ipv6 is in DISTRO_FEATURES. We can use our distro feature check to detect the issue and alert the developer. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-12k3s: update to v1.21.5Bruce Ashfield
Bumping k3s to version v1.21.5+k3s2-2-gaa5a0a8c78, which comprises the following commits: aa5a0a8c78 set transport to skip verify if se skip flag passed (#4102) (#4104) 3ee5098225 Add "etcd-" prefix to etcd-snapshot commands as aliases (#4161) (#4171) 724ef700ba Bump containerd to v1.4.11+k3s1 69a9f46bce Don't evacuate the root cgroup when rootless 0af55a830a Skip tests that violate version skew policy 9e66f975d5 Fix PREVIOUS_CHANNEL lookup when current minor release is not stable 38ddda587a Properly handle operation as init process 15f3a2ebfb Enable the inheritance of settings for ipv6 273827d4ba Update build images to python3 for compat with recent gsutil change 8c2f7ac41c Remove experimental from cluster commands acad8ef840 [release-1.21] Update Kubernetes to v1.21.5 (#4032) 6acee2e2f5 No-op when etcd member was already removed and use existing name for etcd controller (#4015) 863512e055 Initial leader elected etcd member management controller (#4010) 37caf87d6d Add exposed metrics listener instead of replacing loopback listener a8a6edfb0d Add missing node name entry to apiserver SAN list 659307d327 Fix condition for adding kubernetes endpoints (#3941) (#3946) 7cf85c235a Fix issue where addon checksum was never stored 656c190629 Reset load balancer state during restoraion (#3878) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-12kubernetes: introduce devupstream variantBruce Ashfield
Introduce a devupstream variant of k8s, so we can track development while also packaging the latest released versions. We set the SRECREV to 1.23.x as it was previously, and before the go version dependency bumps to above where OE core is currently providing. We move the patches to a :append, so they can apply to both the released and devupstream versions. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-12k8s: set to 1.22.3 releaseBruce Ashfield
As it turns out 1.23.x won't release in time for the next meta-virt release, so we back off to the 1.22.x release branch. To avoid PV issues when the number goes backwards, we add PE = "1" to the versioning. 1.23.x will return in a devupstream format in another commit. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-12xen: add missing pkgconfig inheritRoss Burton
New oe-core pulls in less default dependencies[1], so add an explicit inherit of pkgconfig as it is needed to configure Xen. [1] https://lists.openembedded.org/g/openembedded-core/message/156185 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-08xen, rpi4: Use PARTUUID for rootfs discoveryluca fancellu
The mmc probing order has become unpredictable due to recent linux kernel changes, therefore devices like the raspberry pi that have two mmc interface most of the time can't boot from the hard-coded root path. Modify the u-boot script to fetch the PARTUUID of the second partition of the sd card and use it to put root=PARTUUID=<xxx> in the command line passed to the dom0 kernel. Reviewed-by: Diego Sueiro <diego.sueiro@arm.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com> Tested-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Luca Fancellu <luca.fancellu@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-08xen, rpi4: Fix syntax in linux-yocto bbappendluca fancellu
Syntax conversion for bbappend linux-yocto_5.10 and linux-yocto-dev inside the raspberrypi dynamic layer. Reviewed-by: Diego Sueiro <diego.sueiro@arm.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com> Tested-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Luca Fancellu <luca.fancellu@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-04podman: upate to v3.4.oBruce Ashfield
We adjust the LICENSE checksum due to: commit 84694170402ff699065382ba2d2fb172c3b6c88f Author: Daniel J Walsh <dwalsh@redhat.com> Date: Thu Aug 26 13:15:23 2021 -0400 Globally replace http:// with https:// [NO TESTS NEEDED] Hopefully existing tests will find issues. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> and import the following changes: 6e8de00bb Bump to v3.4.0 3c93afbf4 Final release notes update for v3.4.0 128e168be Support selinux options with bind mounts play/gen 855746cc9 Fix release notes 09b353081 Release notes for v3.4.0 final release 2247d5f1b Disable docker and alias to podman in FCOS ignition 7d72e8324 [NO TESTS NEEDED] Add port configuration to first regular container 4fc40c82f Remind user to check connection or use podman machine 5064fd519 Ensure pod ID bucket is properly updated on rename ba74d6e6e libpod: do not call (*container).Config() a1199dbaf [CI:DOCS] cmd/podman: no dot for short descriptions ddc2b9bbe System tests: speed up. They've gotten too slow. b3af5a92c stop: Do nothing if container was never created in runtime 7bfc5250d remote build: EvalSymlinks() the context directory 7395459c7 podman machine: do not join userns 5e9aa13dc added healthcheck to ps command 6638a91e8 Fix english on prune prompt 31df5b78f rootful: do not set XDG_RUNTIME_DIR for cni plugins 8c944274f Revert "rootful: unset XDG_RUNTIME_DIR" 6ef2d3bd8 shell completion: do not show images without tag 063ba47d7 Update docs for --platform in podman-build.1 0f87cfd28 podman generate kube should not include images command da67c7199 Also show the (initial) disk size 2c5382ba9 Show cpus and memory in machine list 57c055f61 Ignore mount errors except ErrContainerUnknown when cleaningup container 8084c5ef2 Allow machine options to be set from containers.conf c0efa0dba Vendor in containers/buildah v1.23.1 6c7445d2b Vendor in containers/common v0.44.2 d6f6767a5 Set context dir for play kube build f2c676e99 [3.4] podman save: enforce signature removal 8ee18bde1 Use a new markdown converter for sphinx 9dd75d311 Bump to v3.4.0-dev e343b5368 Bump to v3.4.0-rc2 5bc648762 Release notes for v3.4.0-RC2 72e19cf51 Generate kube should'd add podman default environment vars 909cbfe21 sync container state before reading the healthcheck 897150946 Eighty-six eighty-eighty e06abee1d vendor c/psgo@v1.7.1 d45cbbda3 Add a backoff and retries to retrieving exited event 70da2e858 [CI:DOCS] Add network alias note in man pages a98e0371e Remove references to kube being development 70a428662 Support --format tables in ps output 45f8b01f6 Add podman image/container inspect man pages 863ea75c4 compat API: /images/json prefix image id with sha256 c66db2b70 [CI:DOCS] Add link to skopeo delete in podman rmi 7bfe9ca3d remote untag: support digests 7e6921170 System tests: cleanup, and remove obsolete skips 8784c1dd6 Remove unused code from libpod 79966def8 [CI:DOCS] markdown cleanup be15a01c5 Only add 127.0.0.1 entry to /etc/hosts with --net=none d27fcbdc2 container runlabel remove image tag from name 1a25a90a4 Fix /auth compat endpoint c8fd65ea6 fix inverted condition 3bd3c6213 Fix machine image 331ce0f7e utils: return error message from StartTransientUnit 046fa2740 utils: raise warning only on cgroupv2 6001cd02a test/apiv2: set main version back to 3 4406ebb46 [3.4] vendor c/common@v0.44.1 40eeb7d3b runtime: move pause process to scope e6fe5d631 system: move MovePauseProcessToScope to utils ae5a5b51b system: always move pause process when running on systemd 34c9ce2ec system: avoid reading pause pid file 41cd360dc Bump to v3.4.0-dev bd47b9eff Bump to v3.4.0-rc1 29edeaa89 Fix buildah-bud tests by using main's diff file 66eb69224 Fix podman-build manpages by using version from main a647e1d18 Fix release notes 0d43151c2 Remove Pod CPU tests fd56c8386 Set DEST_BRANCH in cirrus to fix CI 4841ec5c6 Final release notes for v3.4.0 RC1 5532cd488 libpod: honor --cgroups=split also with pods e07dccc3a build: take advantage of --platform lists c7c4cb886 build.bats: fix copy tests after containers/buildah#3486 c407813d6 build: mirror --authfile to filesystem if pointing to FD instead of file 69e327378 Bump to Buildah v1.23.0 331d4c5c7 Further release notes updates 901cf71a6 Show variant and codename of the distribution 507000a30 api: handle nil pointer dereference in rest endpoints 702e524ff Fix example in podman machine init man page c8cbd87fd Document `all` query parameter for /libpod/images/prune 939db105c tests: enable --cgroups=disabled test for rootless e0881fd5e tests: simplify --cgroups=disabled test 74bc365eb Enhance bindings for IDE hints e37883f13 Cirrus: NM/CNI workaround + Remove prior-Ubuntu 0ca62196a libpod: rootful close binded ports b6789c3d5 fix restart always with rootlessport ffc8e57d3 remove rootlessport socket to prevent EADDRINUSE fd8d332a4 test: enable --cgroup-parent test 33591c3ef Search gvproxy with config.FindHelperBinary() 1af0f8934 Add deprecated fields for 1.22+ clients that still expect them c6e4453f6 If container exits with 125 podman should exit with 125 5829d62ea Use default username for podman machine ssh c487389fa bump c/common to v0.44.0 069d90124 Initial release notes for v3.4.0 RC1 3c24d1fda Remove pod create options `--cpus` and `--cpuset-cpus` fceec6972 Use new aarch64 fcos repos 31604b43d Revert "logs: adjust handling around partial log messages" c23f81fab Fix #11444: remote breaks with stdout redirection a8875faca [CI:DOCS] Remove short 'a' option from all-tags eec59cea2 Bump github.com/containers/storage from 1.35.0 to 1.36.0 deaf96924 Refacter API server emphasis on logging 4fbc5b8fe Stop outputting 'healthy' on healthcheck 81751bebc Bump github.com/opencontainers/selinux from 1.8.4 to 1.8.5 f5e4ffb5e Add init containers to generate and play kube d2e10a71d podman unshare keep exit code 309d98971 Bump github.com/containers/psgo from 1.5.2 to 1.6.0 f87f27ddc Add /containers/stats response to API docs 8d638d502 try to create the runroot before we warn that it is not writable 5bf220144 machine: set filemodes in octal 6f36a47ac podman machine: enforce a single search registry 50688da29 stats: detect containers restart 2b85382ca api: correctly set the container stats 53dc99fa6 stats: allow to read stats for paused containers a4cc32c2c Fix missing args in name in example 5fdd0431b Cirrus: Run unit-tests rootless 4ccb4f81f Add a system test to modify and import an exported container. c65b43a0f Bump github.com/godbus/dbus/v5 from 5.0.4 to 5.0.5 7cf22279d Fix conmon attach socket buffer size e5468d404 test/e2e/search_test.go - relax tests 78c5a47fc vendor mpb@v7.1.4 6888b061d inspect: printTmpl must Flush writer 4d9dcab0c podman upgrade tests for networking bbdaf837b Normalize auth key before calling `SetAuthentication` 2f967b81c Add logDriver to podman info ab272d1e9 Add 'Machine %q started' message when podman machine start successful cee689af1 Fix spacing on --userns options in docs 1ff797e36 system tests: new random_free_port helper a1cab358c fix play kube can't use infra_image in config file 6aa666a27 container inspect: improve error handling aa412ccc4 test/testvol/main.go: Fix missing arguments to Errorf() f18ccbcc0 fix play kube --network options 748c2700b pkg/bindings/images.nTar(): set ownership of build context to 0:0 bfcd83ecd Add Checkpointed bool to Inspect 0d1ba0a58 Remove changelog.txt from the repository 8b4f99ac2 QEMU Apple Silicon: Find BIOS FD wherever 1150d1b0b Document default timeout for libpod API Container Restart d1573b95e generate systemd: handle --restart 1eaa44959 logs -f: file: fix dead lock 3d02cfb5e network create: add warning for deprecated macvlan flag bd6403927 cgroup-info: check if user.slice is valid before accessing value 57133bb33 Fix warning of unsupported feature on MacOS c01f7725a TCG Accel fallback for Apple Silicon. Iss #10577 ebd37ede9 Example says there is not IP then in the next command suggests to use it 11fc0e554 kube: Add support for podman pod logs ce5baa125 feat: add localhost into hosts if the networking mode is not host e151f4c9f Fix #11418 - Default TMPDIR to /tmp on OS X 5d31c4250 Bump release to 3.3.1 274a3bc80 Remove unused stubs intended to start a machine with libvirt 8d9e19b03 Spell "build linux darwin" as "build !windows". d346e6e73 Add filtering functionality to http api secrets list 90998176d machine: always check error of net.Dial, even after last try 02a0d4b7f auto-update systemd test: skip on RHEL b3bb7da72 [#11408] podman help machine init cba114dd3 manifest: rm should not remove referenced images. a077335ce make podman run --systemd case insensitive ddeaaa47c Drop dependency on iproute e3c7e02a0 System tests: add cleanup & debugging output abdedc31a rootlessport: allow socket paths with more than 108 chars a55f595fe podman stop always cleanup f9a689f3e generate systemd: clarify limitations of `--new` 1ed0a7209 Cirrus: Reduce APIv2 task timeout 1fb07c422 Make secret env var available to exec session d674eb41e [CI:DOCS] podman cp: highlight globbing and multi-file copy 10144b707 pass LISTEN_* environment into container 9f7bad7da Use UNMERGED vbauerster/mpb PR to fix a pull deadlock b3aee22bd Cirrus: Skip APIv2 tests for [CI:DOCS] 375c3a7b3 docs: fix indentation for userns modes 1122c66ce upgrade test: add new baseline a2a166345 clean up socket and pid files from podman machine 06f94dd09 rootless cni: resolve absolute symlinks correctly ec1f350ee container: resolve workdir after all the mounts happen. de3920c0e auto-update: fix authfile label 9b7ef3dad runtime: Warn if XDG_RUNTIME_DIR is set but is not writable. a5adc3d80 Add support for mount options to API db60a1e65 Add support for libsubid 846941704 Globally replace http:// with https:// ab6c43f3e Shell completion for --format with anonymous fields d28e85741 InfraContainer Rework 1e6d1e5c6 Add filter params description to volume list/prune docs f5ce02b22 Bump github.com/containers/image/v5 from 5.15.2 to 5.16.0 d5507704e volumes: Add volume import to allow importing contents on tar into volume e88b62b34 Fix swagger issue c6e12a2e4 Bump github.com/fsnotify/fsnotify from 1.4.9 to 1.5.1 1dc6d1473 Fix file descriptor leaks and add test 1e176923b teardown play kube 3f22e5296 Allow setting of machine stream and image path from containers.conf 274d6fa19 generate systemd: use --cidfile again 4b2dc48d0 podman inspect show exposed ports 74ab2aaf9 Revert "generate systemd: custom stop signal" c0b1edd6a Network interface 70801b3d7 generate systemd: custom stop signal 3007bd4a9 130-kill.bats: increase timeouts from 10s to 60s 21f396de6 logs: adjust handling around partial log messages b20a54705 330-corrupt-images: don't try to tag with a canonical name fc6a02033 bump github.com/containers/common 1411fa5f2 libpod/Container.readFromJournal(): don't skip the first entry 6b06e9b77 Switch eventlogger to journald by default 02e59c668 utils.RunUnderSystemdScope(): always close Conn d06d285e6 logFile until flag issue edddfe8c4 volumes: Add support for exporting volumes to external tar d24a5d9fd Bump github.com/opencontainers/runc from 1.0.1 to 1.0.2 7b54a5fbe profiling: higher memory sampling rate fe4dc452e Bump github.com/containers/buildah from 1.22.0 to 1.22.3 1493b86c7 Bump github.com/onsi/gomega from 1.15.0 to 1.16.0 feff0d3c4 Use pod netns with --pod-id-file 57a0ed182 Bump k8s.io/api from 0.22.0 to 0.22.1 319c85e89 Support for --tls-verify flag in podman run & podman create e5d8defc4 Update README for 3.3.0 release 33fee83de add flag to record memory profiles db7eaa98b Bump k8s.io/apimachinery from 0.22.0 to 0.22.1 c22f3e8b4 Implement SD-NOTIFY proxy in conmon 7f3f792e2 Fix network aliases with network id fd32c73e3 Update /version endpoint to add components 745f6d949 e2e tests: fix overlay: Unknown option vfs.imagestore 16dfce486 Podman info output plugin information 0897946f6 [NO TESTS NEEDED] Clean up swagger b19812b5a machine: compute sha256 as we read the image file 043457192 machine: check for file exists instead of listing directory 82bb999e3 Bump github.com/containers/image/v5 from 5.15.1 to 5.15.2 2d0a0c0d2 fix rootlessport flake 592fae422 Volumes: Only remove from DB if plugin removal succeeds 9dd088e55 Cirrus: Confirm CGv1 / CGv2 VM expectations 5c837fe5b Skip stats test in CGv1 container environments dc7038288 Fix AVC denials in tests of volume mounts 77f665200 Restore buildah-bud test requiring new images 14f3658da Revert ".cirrus.yml: use fresh images for all VMs" aeffdb05d pkg/bindings/images.nTar(): slashify hdr.Name values cd40c875a Add ability to build images in play kube f0247df89 Bump github.com/rootless-containers/rootlesskit from 0.14.4 to 0.14.5 970529b6a Documented ways to fix firewall rules that are lost when firewalld reloads c1b7787a2 Bump github.com/containers/image/v5 from 5.15.0 to 5.15.1 bfc936261 Cirrus: Resolve two upgrade-test FIXMEs 1f632f357 fix: unifiedOverlays should be assigned if no conflicts found. e9f4d8179 Bump github.com/containers/storage from 1.34.0 to 1.34.1 e7ee15f8c cgroup-manager-systemd:Fail early if user:rootless and relevent session is not present. 3cee85531 libpod/option.go remove error stutter from wrap/wraf fe2be7f88 make sure that signal buffers are sufficiently big f98569946 volume: move validating volume dest from client to server. 91e21bed4 rootful: unset XDG_RUNTIME_DIR 2a8c41448 Fix rootless cni dns without systemd stub resolver 257d5e8a7 Fixed healthcheck default values when container created via compat API d99756434 Add space trimming check in ValidateSysctls bef26f258 rename oneshot initcontainers to once 9fc946563 Set gvproxy path to /usr/libexec/podman/gvproxy 5a32946d6 For compatibility, ignore Content-Type 404488a08 Run codespell to fix spelling 643178c1e Revert "Use static path for gvproxy" 73a755eec Fix device tests using ls test files d0e3b3c3a Enhance priv. dev. check cfbbc38a5 Workaround host availability of /dev/kvm 2e3ba9cd9 Change connection error to be helpful for machine users ed30ae4a8 Add until filter to podman pod ps 800a65fb2 [CI:DOCS] Fix multi-arch image docs 4e4c4b62f Bump github.com/opencontainers/selinux from 1.8.3 to 1.8.4 af46a64a8 Document source ip for the rootlesskit port handler f7de8bc80 Bump github.com/containers/storage from 1.33.1 to 1.34.0 8b9b925e7 skip flaking auto-update test 27443660c Enable docker-py compat. testing w/ ignored result 221b1add7 Add support for pod inside of user namespace. 12ac4198c Libpod images pull changes e7b7c90ba Reproducible Builds: trim embedded cgo paths 170fb2572 Alias build to buildx, so it won't fail bb96da9f1 Skip cgroup-parent test due to frequent flakes a4bdc67c4 Added autocompletion for images and system connections 1adeb2b70 podman info show correct slirp4netns path 79e4baf4c Bump github.com/onsi/gomega from 1.14.0 to 1.15.0 541e83ffe personality: Add support for setting execution domain. 88b9cbd5e Bump k8s.io/api from 0.21.3 to 0.22.0 e52187e7f show podman machine ssh command line 30df551bd auto-update: simple rollback adee0ca59 Bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1 eb2e99101 Bump k8s.io/apimachinery from 0.21.3 to 0.22.0 c9e2f2f60 [CI:DOCS] tests-expect-exit: include source line numbers 8cbbbe6ef Fix TS parsing for fractional values 3c3fa6fac implement init containers in podman f4dd22b31 Cirrus: Fix not uploading logformatter html ddc360fe1 Bump Buildah to v1.22.0 [NO TESTS NEEDED] 41f94a4dc Fix podman unpause,pause,kill --all to work like podman stop --all cfcd1e186 Do not add an entry to /etc/hosts with `--net=host` f40a0e7c8 Handle timezone on server containers.conf e78f3e8c4 Bump github.com/docker/docker bd29ec4c3 Bump github.com/rootless-containers/rootlesskit from 0.14.3 to 0.14.4 9cc974c96 Only support containers stats using cgroups v2 ecf103302 podman info: try qfile before equery cc43b5133 image scp: fix typo in output e88d8dbea fix rootless port forwarding with network dis-/connect 4acc1d685 Use static path for gvproxy a210a2292 Compat API: Fix healthcheck status and healthcheck config 0762c7e97 Bump github.com/opencontainers/selinux from 1.8.2 to 1.8.3 985c71708 Fix handling of user specified container labels 03ffba29a podman-registry: minor usability updates 0ab9d19ad Bump to v4.0.0-dev 34b28d959 e2e tests: re-enable and fix podman stats tests c0952c733 Support size and inode options on builtin volumes 1d10ca739 Created scp.go image_scp_test.go and podman-image-scp.1.md 8ccf2539e test: move container process to a sub-cgroup cdbbd7915 stats: add a interval parameter to cli and api stream mode Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-30ovs: update to 2.15.1Bruce Ashfield
We drop a previously backported patch, and bump to version v2.15.1-30-gf8274b78c, which comprises the following commits: f8274b78c datapath-windows:adjust Offset when processing packet in POP_VLAN action a2f860aa2 cirrus: Reduce memory requirements for FreeBSD VMs. 7788f1579 netdev-linux: Fix a null pointer dereference in netdev_linux_notify_sock(). dd32deba6 pcap-file: Fix memory leak in ovs_pcap_open(). 9f2f66c8e odp-util: Fix a null pointer dereference in odp_flow_format(). 02b0c265c odp-util: Fix a null pointer dereference in odp_nsh_key_from_attr__(). 031eff456 netdev-dpdk: Fix RSS configuration for virtio. 09cd9570d ipf: Fix only nat the first fragment in the reass process. ef8ca3e19 dpif-netdev: Fix crash when PACKET_OUT is metered. d3ff41d60 tc: Set action flags for tunnel_key release. 079a4de72 netlink-socket: Replace error with txn->error when logging nacked transactions. f8cc5aa35 dynamic-string: Fix a crash in ds_clone(). 64d1bba91 dpif-netdev: fix memory leak in dpcls subtable set command 90b219275 dpif-netdev: Do not flush PMD offloads on reload. b29b04f85 dpif-netdev: Fix offloads of modified flows. 1d0b89ea7 dpif-netdev: Fix flow modification after failure. 8d84a4b16 netdev-offload-dpdk: Fix IPv6 rewrite cast-align warning. f3f7849cb daemon-unix: Fix leak of a fork error message. 8aa0f0374 ovsdb-cs: Perform forced reconnects without a backoff. ee4e034dc datapath-windows:Correct checksum for DNAT action 72132a940 bond: Fix broken rebalancing after link state changes. aa84cfe25 dpif-netlink: Fix report_loss() message. aec05f7cd ovsdb-server: Fix memleak when failing to read storage. 05bdf11fc conntrack: Init hash basis first at creation. 94e3b9d9c netdev-linux: Ignore TSO packets when TSO is not enabled for userspace. 842bfb899 conntrack: Handle already natted packets. ab873c1af conntrack: Document all-zero IP SNAT behavior and add a test case. 86d6a9ee1 python: Fix Idl.run change_seqno update. 1ba0c8365 bridge: Use correct (legacy) role names in database. 7e5293ea5 Prepare for 2.15.2. b855bbc32 Set release date for 2.15.1. 007a4f48f dpif-netdev: Apply subtable-lookup-prio-set on any datapath. c93358a56 netlink: removed incorrect optimization 31626579f ovs-actions.xml: Add missing bracket. 30596ec27 netdev-offload-tc: Use nl_msg_put_flag for OVS_TUNNEL_KEY_ATTR_CSUM. 728980291 conntrack: Increment coverage counter for all bad checksum cases. 881d71ea2 datapath-windows: Specify external include paths 934668c29 Remove Python 2 leftovers. aaa596705 ipf: Fix a use-after-free error, and remove the 'do_not_steal' flag. bc0aa785a ovsdb-idl: Fix the database update signaling if it has never been connected. 559426d2b ofproto: Fix potential NULL dereference in ofproto_ct_*_zone_timeout_policy(). f31070e27 ofproto: Fix potential NULL dereference in ofproto_get_datapath_cap(). 8995d5311 dpif-netlink: Fix send of uninitialized memory in ct limit requests. 0c056891c ofproto-dpif: Fix use of uninitialized attributes of timeout policy. 121a67cad netdev-linux: Fix use of uninitialized LAG master name. 5f27ff1cf ofp_actions: Fix set_mpls_tc formatting. e87adce83 dpif-netdev: Remove meter rate from the bucket size calculation. a3ee3258e ovs-ofctl: Fix coredump when using "add-groups" command. c5d2a6275 raft: Transfer leadership before creating snapshots. 553d52392 ovsdb-cs: Consider all tables when computing expected cond seqno. 8d0aebcc4 dpdk: Use DPDK 20.11.1 release. 21452722b github: Fix up malformed /etc/hosts. 90d1984b9 doc: automake: Add support for sphinx 4.0. 38a8bed70 cirrus: Look up existing versions of python dependencies. 255c38c74 ofp-group: Use big-enough buffer in ofputil_format_group(). f2c0744d2 ofproto/ofproto-dpif-sflow: Check sflow agent in case of race ab157ef34 dpif: Fix use of uninitialized execute hash. b1fded020 odp-util: Fix use of uninitialized erspan metadata. f473ee568 dpif-netlink: Fix using uninitialized info.tc_modify_flow_deleted in out label. 2721606bd netdev-offload-tc: Probe for support for any of the ct_state flags. 091bc48d9 compat: Add ct_state flags definitions. 1307e90e3 Add test cases for ingress_policing parameters d184c6ce6 netdev-linux: correct unit of burst parameter cab998e50 ipsec: Fix IPv6 default route support for Libreswan. b9ab7827e ovsdb-idl: Mark arc sources as updated when destination is deleted. c82d2e3fb ovsdb-idl: Preserve references for deleted rows. 9a24ecbc2 ovsdb-idl.at: Make test outputs more predictable. 8d71feb1b ovs-ofctl: Fix segfault due to bad meter n_bands. 3a716b1d9 dpif-netdev: Refactor and fix the buckets calculation. 73ece9c87 dpif-netdev: Fix the meter buckets overflow. d5dc16670 python: Send notifications after the transaction ends. 556e65e17 ovs-ctl: Allow recording hostname separately. 3982aee45 dpif-netdev: Fix crash when add dp flow without in_port field. 02096f1b3 Documentation: Fix DPDK qos example. 8f1dda316 raft: Report disconnected in cluster/status if candidate retries election. 79e9749da raft: Reintroduce jsonrpc inactivity probes. 2e84a4adb ovsdb-cs: Fix use-after-free for the request id. d2c311dce connmgr: Check nullptr inside ofmonitor_report(). 7307af690 ovsdb-client: Fix needs-conversion when SERVER is explicitly specified. 2a7a63571 windows, tests: Modify service test. 9b48549c6 netdev-linux: Fix indentation. 861a9f3b4 ofproto-dpif-upcall: Fix ukey leak on udpif destroy. 339044c3c ci: Use parallel build for distcheck. 38744b1bc ofp-actions: Fix use-after-free while decoding RAW_ENCAP. 33abe6c05 Prepare for 2.15.1. 8dc1733ea Set release date for 2.15.0. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-30oath: inherit pkgconfigMartin Jansa
* Newer oe-core doesn't pull many default dependencies anymore: https://lists.openembedded.org/g/openembedded-core/message/156185 add explicit dependency on pkgconfig through pkgconfig.bbclass as we're using it here. * fixes: ../../oath-toolkit-2.6.2/liboath/configure: line 30585: PKG_PROG_PKG_CONFIG: command not found checking for gtk-doc... ../../oath-toolkit-2.6.2/liboath/configure: line 30595: syntax error near unexpected token `$gtk_doc_requires,have_gtk_doc=yes,have_gtk_doc=no' ../../oath-toolkit-2.6.2/liboath/configure: line 30595: ` PKG_CHECK_EXISTS($gtk_doc_requires,have_gtk_doc=yes,have_gtk_doc=no)' configure: error: ../../oath-toolkit-2.6.2/liboath/configure failed for liboath Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-30kubernetes: update sed expressionKai Kang
It misses a backslash in sed expression and causes warning when run do_compile: | sed: -e expression #1, char 35: Unmatched ) or \) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-24kernel: drop 5.13 configuration includeBruce Ashfield
5.13 hs been removed from core, so we drop our associated configuration include. 5.14 is now the default. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-22kernel: add 5.14 patternBruce Ashfield
oe-core is moving to a 5.10/5.14 reference, so we adjust our matching versions. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-17Revert "ceph/libibverbs: replace libibverbs with rdma-core"Bruce Ashfield
meta-cloud-services still has users of libibverbs, so we'll keep it around a bit longer. But this library has been replaced by rdma-core, and won't get more updates, so it should be considered depreciated and slated for removal. This reverts commit 513f05926a5bdcda033a5da6f76f4f0dddb9d41f.
2021-09-16lxc: Fix -c command for lxc-attachsana kazi
Added fix_c_command.patch the -c command seems to be broken because the passed context is ignored and always overwritten by the context specified in the config file. Signed-off-by: Sana Kazi <Sana.Kazi@kpit.com> Signed-off-by: Sana Kazi <sanakazisk19@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16libvirt: fix CVE-2021-3631Zqiang
Selinux MCS generate a single category context and may be accessed by another machine. link: https://gitlab.com/libvirt/libvirt/-/issues/153 Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16ovs: add upstream-status to CVE patchBruce Ashfield
The patch file itself is missing an upstream-status, so we add it here. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16openvswitch: fix CVE-2021-36980Zqiang
Open vSwitch (aka openvswitch) 2.11.0 through 2.15.0 has a use-after-free in decode_NXAST_RAW_ENCAP (called from ofpact_decode and ofpacts_decode) during the decoding of a RAW_ENCAP action. Reference: https://nvd.nist.gov/vuln/detail/CVE-2021-36980 Patches from: https://github.com/openvswitch/ovs/commit/65c61b0c23a0d474696d7b1cea522a5016a8aeb3 Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16lxc: update to 4.0.10 and switch to gitBruce Ashfield
To more easily pull in fixes / backports from newer versions, switching to git. This also allows bisecting and easier support when we run into upgrade issues. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16python3-dtc: update BSD License to more specific BSD-2-ClauseBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16ceph/libibverbs: replace libibverbs with rdma-coreBruce Ashfield
libibverbs is no longer developed, and its functionaty is provided by the rdma-core projects. rdma-core is part of meta-networking, so we drop libibverbs and update our dependency to rdma-core. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16python3-sphinx: add specific LicensesBruce Ashfield
The LICENSE field for python3-sphinx is not specific enough, and doesn't contain all the integrated package licenses. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16python3-sphinx: update to 4.2.0Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16grpc-go: update license to Apache-2.0Bruce Ashfield
The LICENSE was incorrect in grpc-go. According to the LICENSE file, it is Apache-2.0, so we update the recipe accordingly. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16grpc-go: update to 1.4.0Bruce Ashfield
Bumping grpc-go to version v1.0.5-2001-g5d8e5aad, which comprises the following commits: 5d8e5aad Create NOTICE.txt (#4739) 5bfc05fb grpc: clarify the use of transport.ErrConnClosing from createTransport() (#4757) 77ffb2ef xds: RBAC HTTP Filter (#4748) 03268c8e balancer: fix aggregated state to not report idle with zero subconns (#4756) d25e31e7 client: fix case where GOAWAY would leak connections and memory (#4755) 7f560ef4 grpc: close underlying transport when subConn is closed when in connecting state (#4751) 4e07a14b credentials/ALTS: Ensure ALTS record protocol names are consistent (#4754) 16cf6561 xds: update xdsclient NACK to keep valid resources (#4743) 43e8fd4f xds: don't remove env var protection for security on the client yet (#4752) 0a99ae2d xds: support new fields to fetch security configuration (#4747) 2608e38e xds: Added server side routing (#4726) 1fe5adbb interop-testing: add soak test cases to interop client (#4677) a6a63177 xds: add retry support (#4738) 2f3355d2 xds: update go-control-plane to latest (#4737) 973e7cb9 ringhash: the picker (#4730) 00a7dc89 xds: remove env var protection for security on client (#4735) c99a9c19 priority: forward the first IDLE state and picker (#4731) 0ca7dca9 oauth: Allow access to Google API regional endpoints via Google Default Credentials (#4713) b2ba77a3 xds: use separate update channels for listeners in test (#4712) c93e4727 Fixed race in Filter Chain (#4728) b189f5e1 authz: create interceptors for gRPC security policy API (#4664) d6a5f5f4 ringhash: the ring (#4701) 51003aa8 xds: start a management server per test (#4720) ed501aa1 xds/internal/resolver: update github.com/cespare/xxhash to v2 (#4671) f7d66b58 Change to a non-workload-identity GKE cluster (#4723) 198d951d xds: Instantiated HTTP Filters on Server Side (#4669) ef66d13a xds: Required Router Filter for both Client and Server side (#4676) 85b9a1a0 xds: pass empty balancer.BuildOptions in clusterresolver_test (#4711) 43b19ef0 grpctest: extend use of mutex to guard more things (#4710) d074cae6 github: fold security tests into 'tests'; update testing to 1.17-1.15 (#4708) 0b372df5 xds/client: NACK ringhash lb policy if env var is not set (#4707) 712e8d4f Remove support for Go 1.13 and older (cont) (#4706) 498743c1 xds/c2p: update default XDS server name in C2P resolver (#4705) 6bd8e8cf multiple: remove support for Go 1.11 (#4700) 5f4bc667 grpc: fix stayConnected function to connect upon entry (#4699) 46ab723b multiple: remove appengine specific build constraints and code (#4685) bfd964bb xds: use the defaultTestTimeout instead of the short one (#4684) dc3afb20 xds: deflake Test/ServerSideXDS_ServingModeChanges (#4689) 45a623cb test: use non blocking dials in end2end_test (#4687) c361e9ea Move Server Credentials Handshake to transport (#4692) 8ab16ef2 balancer: add ExitIdle optional interface (#4673) 52cea245 server: fix net.conn closed twice (#4663) a42567fe xds: support picking ringhash in xds client and cds policy (#4657) ad87ad00 xds: Add support for Dynamic RDS in listener wrapper (#4655) 88dc96b4 Copy the tag_and_push_docker_image method to grpc-go (#4667) 9c668aea all: preallocate slices where possible (#4609) c7c1e9e0 Update xDS client/server image per-branch tag after build (#4661) 997ce619 clientconn: do not automatically reconnect addrConns; go idle instead (#4613) 01bababd Added connection to transport context (#4649) 574137db xds: fix flaky test (TestPickerUpdateAfterClose) (#4658) fc30d5b5 xds/cluster_resolver: support RING_HASH as a child of cluster_resolver balancer (#4621) 74370577 xds: Add route to filterchain (#4610) 6ba56c81 transport: fix race accessing s.recvCompress (#4645) 0d6854ab transport: fix race accessing s.recvCompress (#4641) edb9b3bc github: update stale bot to v4 (#4636) c052940b server: fix leaked net.Conn (#4633) 8ed8dd26 advancedtls: fix a typo in crl.go (#4634) ea9b7a0a xds: fix a typo (#4631) ad0a2a84 Update MAINTAINERS.md (#4628) 61c70460 fix typo (#4616) 245ad257 Change version to 1.41.0-dev (#4625) 00edd8c1 Add xDS k8s url-map test Kokoro job (#4614) 1ddab338 client: fix detection of whether IO was performed in NewStream (#4611) 582ef458 cluster_resolver: move balancer config types into cluster_resolver package and unexport (#4607) c513103b Add extra layer on top of RBAC Engine (#4576) a0bed723 xds: add http filters to FilterChain matching (#4595) 0a8c6373 grpclb: propagate the most recent connection error when grpclb enters transient failure (#4605) 8332d5b9 test: fix possible goroutine leaks in unit tests (#4570) 0300770d xds: support cluster fallback in cluster_resolver (#4594) 65cabd74 internal/binarylog: Fix data race when calling Write() and Close() in parallel (#4604) ce7bdf50 advancedtls: CRL checking for golang gRPC (#4489) 0103ea2d client: improve GOAWAY debug messages (#4587) b586e921 xds/client: notify the resource watchers of xDS errors (#4564) bfe1d0dc binarylog: Use a simple boolean rather than a sync.Once (#4581) ba41bbac transport: validate http 200 status for responses (#4474) ebfe3be6 cluster_resolver: implement resource resolver to resolve EDS and DNS (#4531) 30dfb4b9 binarylog: Don't continue after failing to marshal the proto (#4582) 51e780ce internal/binarylog: Use defer to unlock mutexes (#4590) afad3761 Fix bootstrap format in comment (#4586) 91e0aeb1 binarylog: Don't leak the flusher goroutine when closing a Sink (#4583) dd589923 clientconn: stop automatically connecting to idle subchannels returned by picker (#4579) 52546c5d authorization: translate SDK policy to Envoy RBAC proto (#4523) b3f274c2 xds/cluster_impl: fix cluster_impl not correctly starting LoadReport stream (#4566) 83f9def5 internal/transport: do not mask ConnectionError (#4561) 9b2fa9f8 server: improve chained interceptors performance (#4524) e24ede59 xds: delete LRS policy and move the functionality to xds_cluster_impl (#4528) d9eb12fe xdsclient: move tests out of tests directory (#4535) b9270c3a client: add deadline for TransportCredentials handshaker (#4559) 4440c3b8 cluster_resolver: fix DiscoveryMechanismType marshal JSON (#4532) 14c7ed60 xds/circuit_breaking: counters should be keyed by {cluster, EDS service name} pair (#4560) 50328cf8 buildscripts: add option to use xds-k8s test driver from a fork (#4548) 4faa31f0 stats: add stream info inside stats.Begin (#4533) 74fe073e Revert "xds: require router filter when filters are empty" (#4556) 1c1e3f88 xds: fix test race in cluster_resolver (#4555) 151c8b77 xds/clusterimpl: fix race between picker update and ClientConn state update (#4551) 00ae0c57 xds: require router filter when filters are empty (#4553) 633fbe4d xds: generate per-request hash config selector (#4525) 7e353565 metadata: add Delete method to MD (#4549) 4c651eda xds: move eds package to cluster_resolver (#4545) 549c53a9 xds/eds: rewrite EDS policy using child policies (#4457) cd9f53ac xds/cds: update CDS balancer to partially handle aggregated cluster (#4539) f06e0060 Change version to 1.40.0-dev (#4543) 22c53581 xds: add HashPolicy fields to RDS update (#4521) 45549242 internal: fix deadlock during switch_balancer and NewSubConn() (#4536) 2d3b1f90 grpc: prevent deadlock in Test/ClientUpdatesParamsAfterGoAway on failure (#4534) 6351a55c xds: remove env var protetion of advanced routing features (#4529) 95e48a89 Add GetServiceInfo to xds.GRPCServer (#4507) aa1169ab vet: remove support for non-module-aware Go versions (#4530) b1418a6e xds: export XDSClient interface and use it in balancer tests (#4510) 7301a311 c2p: add random number to xDS node ID in google-c2p resolver (#4519) d30e2c91 xds/resolver: test xds client closed by resolver Close (#4509) 656cad9a xds: standardize xds client field name (xdsClient) (#4518) 7f9eeeae xds: standardize builder type names (bb) and balancer receiver names (b) (#4517) 7beddeea cleanup: remove "Interface" as suffix of (almost all) interface names (#4512) 5c164e2b xds: rename xds/internal/client package to xdsclient (#4511) 32d5490a metadata: convert keys to lowercase in FromContext() (#4416) c67c056b doc: fix typo in package networktype (#4508) a3715292 csds: return empty response if xds client is not set (#4505) 0956b125 client: handle RemoveSubConn in goroutine to avoid deadlock (#4504) 174b1c28 internal/transport: skip log on EOF when reading client preface (#4458) e7b12ef3 cluster_resolver: add functions to build child balancer config (#4429) 35084521 xds: add test-only injection of xds config to client and server (#4476) e5cad3dc doc: fix broken benchmark dashboard link in README.md (#4503) 8bdcb4c9 client: Clarify that WaitForReady will block for CONNECTING channels (#4477) 2de42fcb kokoro: Specify the correct path to the build config (#4495) 34bd6fbb xds: add RBAC Engine (#4471) 194dcc92 example: improve hello world server with starting msg (#4468) 4bae49e0 mergeable: update relnotes regex (#4488) bbb542c3 Kokoro build configs for PSM security interop tests (#4481) e26e756f Enable logging in xds interop docker containers (#4482) 598e3f6a github: update lock bot to github actions (#4484) 67b72063 github: increase stale bot ops per run to process everything (#4485) 4ecb61be github: limit repo access of testing workflows (#4483) 69da917c github: update stale bot to github actions (#4480) 280df42a mergeable: require RELEASE NOTES in PR description, milestone, and Type label (#4475) 728364ac server: return UNIMPLEMENTED on receipt of malformed method name (#4464) c4ed6360 transport: remove RequestURI field from requests in transport test (#4465) 359fdbb7 Delete .travis.yml file (#4462) a8e85e0d server: allow PreparedMsgs to work for server streams (#3480) b1f7648a client: ensure LB policy is closed before closing resolver (#4478) 3dd75a68 xds_client/rds: weighted_cluster totalWeight default to 100 (#4439) 84d0920b transport: unblock read throttling when controlbuf exits (#4447) 86ac0fbc Documentation: Fix typo (#4445) 23a83dd0 transport: various simplifications noticed during #4447 (#4455) c9c9a753 internal: fix test unset env var AggregateAndDNSSupportEnv (#4454) 74c40c96 xds/cds: fix LOGICAL_DNS cluster semantics (#4434) 584fa418 xds/testing: export variables for testing (#4449) 2713b77e use depth logging from the e2e package (#4448) 39015b9c interop/xds: support xds security on interop server (#4444) 9749a793 transport: remove decodeState from server to reduce allocations (#4423) 78e8edf3 interop/xds: dockerfile for the xds interop client (#4443) a12250e9 xds/cds: add env var for aggregated and DNS cluster (#4440) 50c071e9 example: correct the default value for server_host_override (#4407) b759b408 xds: moved shared matchers to internal/xds (#4441) 71a1ca6c interop/xds: support xds credentials in interop client (#4436) dc77d7ff xds: revert a workaround made in #4413 (#4428) a16b156e internal: fix flaky test KeepaliveClientStaysHealthyWithResponsiveServer (#4427) 6fea90d7 benchmark: do not allow addition of values lower than the minimum allowed in histogram stats a712a738 xds/cds: add separate fields for cluster name and eds service name (#4414) 397adad6 update go.mod and go.sum to point to latest go-control-plane (#4425) 9cb99a52 xds: pretty print xDS updates and service config (#4405) 45e60095 xds: add support for aggregate clusters (#4332) 8bf65c69 xds: use same format while registering and watching resources (#4422) aa59641d interop: use credentials.NewTLS() when possible (#4390) a95a5c3b transport: remove decodeState from client to reduce allocations (#3313) 62adda2e client: fix ForceCodec to set content-type header appropriately (#4401) 81b8cca6 Change version to 1.39.0-dev (#4420) 5f95ad62 xds: workaround to deflake xds e2e tests (#4413) b1940e15 xds: register resources at the mgmt server before requesting them (#4406) 98c895f7 cleanup: use testutils.MarshalAny in more places (#4404) 12a377b1 xds: nack route configuration with regexes that don't compile (#4388) c15291b0 client: initialize safe config selector when creating ClientConn (#4398) 328b1d17 transport: allow InTapHandle to return status errors (#4365) aff517ba xds: make e2e tests use a single management server instance (#4399) 0439465f xds_resolver: fix flaky Test/XDSResolverDelayedOnCommitted (#4393) 0ab423af test: fix flaky GoAwayThenClose (#4394) b6f206b8 grpc: improve docs on StreamDesc (#4397) c7ea7340 dns: fix flaky TestRateLimitedResolve (#4387) cb396472 Revert "grpc: call balancer.Close() before returning from ccBalancerWrapper.close()" (#4391) d2d6bdae server: add ForceServerCodec() to set a custom encoding.Codec on the server (#4205) d426aa5f test: extend the xDS interop tests timeout to 360 mins (#4380) 40b25c5b xds: set correct order of certificate providers in handshake info (#4350) 0fc0397d xds: actually close stuff in cds/eds `Close()` (#4381) 4f3aa7cf xds: optimize fault injection filter with empty config (#4367) 79e55d64 xds: use SendContext() to fail in time when the channel is full (#4386) 11bd7766 xds: work around xdsclient race in fault injection test (#4377) 75497df9 meshca: remove meshca certificate provider implementation (#4385) ebd6aba6 Revert "xds/cds: add separate fields for cluster name and eds service name" (#4382) b418de83 xds/eds: restart EDS watch after previous was canceled (#4378) 28078834 grpc: call balancer.Close() before returning from ccBalancerWrapper.close() (#4364) aa3ef8fb internal: regenerate proto (#4373) c3b66015 xds/circuit_breaking: use cluster name as key, not EDS service name (#4372) 91d8f0c9 serviceconfig: support marshalling BalancerConfig to JSON (#4368) b602d17e metadata: reduce memory footprint in FromOutgoingContext (#4360) 24d03d9f xds/priority: add ignore reresolution boolean to config (#4275) 7c5e7379 xds/cds: add separate fields for cluster name and eds service name (#4352) 145f12a9 reflection: accept interface instead of grpc.Server struct in Register() (#4340) 52a707c0 xds: serving mode changes outlined in gRFC A36 (#4328) 9572fd6f client: include details about GOAWAYs in status messages (#4316) e158e3e8 xds/lrs: server name is not required to be non-empty (#4356) 74fe6eaa github: testing action workflow improvements and update to test Go1.16 (#4358) f02863c3 xds: specify "h2" as the alpn in xds creds (#4361) 7276af6d client: fix leaked addrConn struct when addresses are updated (#4347) f2783f27 Run emulated linux arm64 tests (#4344) 6f35bbbf test: enable xDS CSDS test (#4354) 671707bd internal: fix symbol undefined build failure (#4353) 970aa092 xds/balancers: export balancer names and config structs (#4334) 1c598a11 Move exponential backoff to DNS resolver from resolver.ClientConn (#4270) 41676e61 Fix goroutine leaks (#4214) 1a870aec xds/clusterimpl: trigger re-resolution on subconn transient_failure (#4314) 87eb5b75 credentials/google: remove unnecessary dependency on xds protos (#4339) 6fafb919 xds: support unspecified and wildcard filter chain prefixes (#4333) c2299229 client: propagate connection error causes to RPC statuses (#4311) 7a6ab591 multiple: go mod tidy to make vet happy (#4337) 950ddd3c xds/google_default_creds: handshake based on cluster name in address attributes (#4310) fab5982d xds: server-side listener network filter validation (#4312) d6abfb45 cmd/protoc-gen-go-grpc: add protoc and protoc-gen-go-grpc versions to top comment (#4313) 1d1bbb55 weightedtarget: handle updating child policy name (#4309) 2df4370b examples: update xds examples for PSM security (#4256) 69f6f5a5 xds: add support for unsupported filter matchers (#4315) c7a203dc xds/interop: move header/path matching to all (#4325) 1895da54 xds/resolver: fix panic when two LDS updates are receives without RDS in between (#4327) 493d388a xds/csds: update proto imports to separate grpc from non-grpc symbols (#4326) 004ef8ad xds/clusterimpl: fix picker update race after balancer is closed (#4318) 9a10f357 balancergroup: fix leak child balancer not closed (#4308) 777b228b xds: fix service request counter flaky test (#4324) 8892a7b2 [xds_interop_client_admin] xds/interop: register admin services and reflection (#4307) 5730f8d1 Invoke Go Vet Check in Sub-modules (#4302) db816235 xds: Add fields to cluster update (#4277) f6bb3972 xds: filter chain matching logic for server-side (#4281) c72e1c8f xds/resolver: support inline RDS resource from LDS response (#4299) 0028242d Change version to 1.38.0-dev (#4306) 4a19753e interop: add a flag to clients to statically configure grpclb (#4290) 2456c5cf Allow using interop client for making Traffic Director RPCs (#4291) 80e380ef balancer/base: keep address attributes for pickers (#4253) 702608ff xds: enable timeout, circuit breaking, and fault injection by default (#4286) faf4e1c7 xds: rename proto import to grpc (#4287) 46da49ca xds: use different proto import for grpc services (#4285) b331a48e alts: re-add vmOnGCP and once globals for easier testing (#4284) d26af8e3 admin: implement admin services (#4274) f320c793 test: enable fault_injection xds test (#4283) bce1cded internal: use strings.Replace instead strings.ReplaceAll (#4279) 967933ba xds/cdsbalancer: move xds client close to run() (#4273) 95173a53 csds: implement CSDS service handler (#4243) 1e7119b1 xds: support all matchers for SANs (#4246) 21976fa3 xds: disable fault injection test on 386 (#4264) de3c78e4 xds: validate 'listener_filters' and 'use_original_dst' fields (#4258) d7737376 xds: implement fault injection HTTP filter (A33) (#4236) f168a3cb c2p: add google-c2p resolver (#4204) 2f7f1f6c rls: update pb.gos after https://github.com/grpc/grpc-proto/pull/92 (#4257) e8930beb xds: Prepare to support filter chains on the server (#4222) a45f13b1 xds: Support server_listener_resource_name_template (#4233) d5b62886 vet: set PATH to HOME/go/bin, and print go version (#4254) fce74a94 cleanup: fix typo in Interceptor README (#4249) 19c44c2e xds: add env var protection for client-side security (#4247) 97798356 Added check for POST method in http2_server (#4241) 61f0b5fa client: implement proper config selector interceptors (#4235) 930c7918 csds: update xds_client to populate update metadata (#4226) c275c359 xds: Move tests requiring API client to `tests` directory (#4238) 29bf29e0 xds: add HTTP filter is_optional support (gRFC A39) (#4221) fc8f38cc xds: add support for more resources to e2e server (#4230) c949703b xds/cdsbalancer: Override UpdateAddresses() (#4227) 9dfe6773 balancer: Add UpdateAddresses() to balancer.ClientConn interface (#4215) 60843b10 xds: add support for HTTP filters (gRFC A39) (#4206) c8cef768 csds: update client resource cache to keep and dump metadata (#4217) dabedfb3 encoding/proto: do not panic when types do not match (#4218) 25cf9393 vet: allow golint to run on generated protos (#4220) 26c143bd circuit breaking: update picker inline when there's a counter update (#4212) 1b75f714 circuit breaking: keep max_count per picker, instead of globally, and add support in cluster_impl balancer (#4203) 425d405f test: add timeout to regular xds test runs (#4201) 9f3606cd xds: xds_cluster_impl_balancer part 1 (#4154) c9217c71 priority: pass build options to balancergroup (#4202) ad24ab52 priority: the implementation (#4070) ce29c77c Change version to 1.37.0-dev (#4200) 61962d0e status: document nil error handling of FromError (#4196) 9280052d balancergroup: Propagate balancer.BuildOptions to child policies (#4184) b753f490 xds testing: increase timeout from 90 minutes to 120 minutes (#4191) 7b8d65a7 xds: rename internal/client files to remove client prefix (#4188) f005af03 examples: delete profiling example since profiling support was rolled back (#4182) 0bc74173 xds: report drops by circuit breaking (#4171) e526a292 xds: Remove v3Support environment variable (#4174) 7bb497f7 grpc: Update protobuf regenrate script (#4177) 2c42474a pemfile: Make test happy with Go1.16 (#4164) 7f2581f9 xds interop: add xds v3 kokoro tests (#4165) f579b61a test: Run e2e authority tests only on linux. (#4160) 504caa93 interop/xds: support ClientConfigureRequest.timeout_sec field (#4157) 269d2536 interop/xds: implement new stats response field (#4156) ef9850d4 xds bootstrap: support config content in env variable (#4153) 938f6e2f cmd/protoc-gen-go-grpc: add gRPC-Go version comment and update release version (#4152) 5e3cbb54 interop/grpc_testing: update generated code after recent grpc-proto changes (#4149) d3ae124a cleanup: use different import alias for services than messages (#4148) 4cf4a985 Change version to 1.36.0-dev (#4142) fb40d833 xds interop: turn on circuit breaking test (#4144) 083393f2 xds/resolver: fix resource deletion (#4143) 85e55dc5 interop: update client for xds testing support (#4108) 6a318bb0 xds: add HTTP connection manager max_stream_duration support (#4122) 0bd76be2 lrs: use JSON for locality's String representation (#4135) ecc9a99b interop: remove test.proto clones/variants and use grpc-proto repo instead (#4129) 4f80d77f github: enable CodeQL checker (#4134) 829919d5 xds client: Updated v3 type for http connection manager (#4137) f4a20d2f xds: NACK more invalid RDS responses (#4120) 53788aa5 github: update bug template to link to the CVE process (#4131) 66c13937 github: improve security policy documentation (#4130) 39a500ab support unix-abstract schema (#4079) 666aea1f advancedtls: add IPv6 address to certificate SAN names (#4101) 15458d28 xds: implement RouteAction timeout support (#4116) d79063fd credentials/xds: Move non-user facing functionality to an internal package (#4117) 644d506e xds: Ignore application_protocols field for now (#4115) 2fad6bf4 xds: Implement server-side security (#4092) cfef8c7e pemfile: Update distributor only inside of the for loop (#4114) e2d2703c xds: NACK resource when security config is not as expected (#4113) 668e3ae6 testing: stop listening on externally-visible devices (#4112) 20f4a846 xds: Expect certprovider bootstrap configs when xdsCreds are in use (#4111) 73671aee Updated test.proto to facilitate xds interop testing (#4109) 4cd551ec xds: split routing balancer into config selector + cluster manager (#4083) 17e2cbe8 credentials/xds: ServerHandshake() implementation (#4089) 03d4b887 github: Get tests111 to actually run subset of tests (#4104) 81b95b18 github: Run only a subset of tests for Go1.11 (#4102) c638ab8c Update envoyproxy/go-control-plane (#4098) fd32f6a4 internal/syscall: make Rusage a type alias (#4088) ff161957 xds: Implement circuit breaking support. (#4050) 750abe8f resolver: allow config selector to return an RPC error (#4082) f64220f6 xds: Process `require_client_cert` field in security config (#4090) 96a834a1 xds: `server_features` should be a child of `xds_servers` and not a sibling (#4087) bce1fdfa eds/lrs: handle nil when LRS is disabled (#4086) 0d6a24f6 test: move stubServer to separate package in internal (#4081) 9db56a08 advancedtls: add examples demonstrating reloading behaviors (#4018) c7df457e credentials/xds: Rename test file (#4077) 2efef8fd advancedtls: fix default host name check issue (#4069) f1149b99 xds: support server-side listeners in LDS response (#4046) 5b1874ab xds: Handle child policy configs properly (#4071) 4a0125ac roundrobin: strip attributes from addresses (#4024) c456688b client: fix "unix" scheme handling for some corner cases (#4021) 44e408da Makefile: enable module support in deps (#4062) 53c86237 Makefile: Restore `deps` and `testdeps` (#4060) a82c291b github: Don't use `make` in testing.yaml (#4059) 8238a33b advancedtls: make sni test check common name only (#4055) 21570d76 xds: Read server_resource_name_id from bootstrap config (#4049) 8f3cc6cc protoc-gen-go-grpc: export grpc.ServiceDesc (#4035) 6d0f0110 meshca: Don't use the config proto from grpc-proto (#4056) 9da74c03 xds: Blank import supported certificate provider plugins. (#4047) 8736dcd0 xds: Accept a net.Listener in Serve(). (#4052) 83af8533 trim the Makefile (#4054) f6c335c7 github: Bump up Go version in testing workflow (#4051) 40076094 xds: call xdsclient.New instead of getting xds_client from attributes (#4032) 2af65e80 advancedtls: Make test happy on Go1.15 (#4053) 78864797 balancer: set RPC metadata in address attributes, instead of Metadata field (#4041) 230166b6 xds: Use management server from go-control-plane. (#4039) c5cf5144 github acitons: always run (#4045) 8f126961 Fix typo in encoding.md (#4020) fa59d201 pemfile: Implement certprovider config parsing API (#4023) 3d14af97 Change version to 1.35.0-dev (#4044) f5c42ca7 xds/client: Export a method to return bootstrap config. (#4033) b88744b8 xds: add ConfigSelector to support RouteAction timeouts (#3991) 20636e76 protobuf: update protoc to latest version (#4038) 707e298f internal: fix net.Dial fail without IP (#4037) 1d01bf99 grpclb: consider IDLE SubConns as connecting (#4031) 90f1b3ee client: use "localhost:port" as authority if target is ":port" (#4017) 22dba5eb xds: Remove usages of grpc.WithInsecure(). (#4028) d2629bd4 xds/bootstrap: Add support for `grpc_server_resource_name_id`. (#4030) 6caf9d86 xds: make xds client a singleton (#4015) 28c130fe xds: Minor improvements to xDS server API and test. (#4026) b5d479d6 xds: Deflake xds_server_integration_test.go (#4025) aeb04798 credentials: fix PerRPCCredentials w/RequireTransportSecurity and security levels (#3995) d6f8e6fb grpclb: send custom user-agent (#4011) 9c2f82d9 xds: Server implementation (#3999) bc01f3fa certprovider: API tweaks. (#3987) 5d7f8c9a advancedtls: make example to use new pemfile API (#4012) 25ddfddb rds: allow case_insensitive path matching (#3997) d7a7a304 testing: Avoid using context.Background (#3949) c6fa1217 Fix a typo in interceptor example's README.md (#4014) ea89aca6 xds: Add a package to hold environment variables. (#4002) 9a3c6618 xds: remove xdsclient.New from EDS balancer (#4001) 15ae9fc2 internal: increase timeout non timeout test in xds/client/v2 (#4006) 4e179b8d pemfile: Move file watcher plugin from advancedtls to gRPC (#3981) fe9c99ff xds: CDS balancer security integration. (#3955) f4d9cca4 github: add Github Actions workflow for tests; support in vet.sh (#4005) c8ef9bc9 xds: Check name of transport socket received in Cluster response. (#3988) 89faf1c3 internal/transport: fix a bug causing -bin metadata to be incorrectly encoded. (#3985) b045bc88 priority: add policy config parsing (#3936) fe98b4c6 doc: update keepalive.md to add why (#3993) 15a78f19 xds: Minor cleanup in client/v2 tests. (#3989) 71ef09e6 xdsResolver: call WatchListener and WatchRDS, instead of WatchService (#3972) 4e6166f6 Documentation: fix outgoing metadata example code (#3979) 829af019 advancedtls: add examples for reloading from file system (#3976) a223251d lrs: handle multiple clusters in LRS stream (#3935) e8e22874 Remove experimental comment from client interceptors (#3948) a80e6501 cmd/protoc-gen-go-grpc: bump -version to 1.0.1 for release (#3984) 3e67a200 Add GitHub release action (#3962) eb7fc22e credentials/xds: Handle no acceptedSANs correctly. (#3965) 37b72f94 xdsclient: populate error details for NACK (#3975) 0e8f1cda manual resolver: delete GenerateAndRegisterManualResolver (#3960) 4e8458e5 protobuf: update all generated code to google.golang.org/protobuf (#3932) 8153ecea credentials/insecure: Implement insecure credentials. (#3964) 9519efff cmd/protoc-gen-go-grpc: use grpc.ServiceRegistrar instead of *grpc.Server (#3968) ce5e3665 advancedtls: add PemFileProvider integration tests (#3934) 4be647f7 internal/resolver/unix: Implemented unix resolver. (#3890) ea47aa91 xdsClient: change WatchRDS to return all virtual hosts (#3944) c6cfaba1 advancedtls: Get Instant Updates Before Ticker Runs (#3959) 7b167fd6 encoding/proto: simplify & optimize proto codec (#3958) 7745e521 meshca: Use grpc suffix for grpc specific generated code. (#3954) bc36dc2c advancedtls: fix build on version prior to 1.14 (#3950) 3c400e7f advancedtls: clean up test files and shared code (#3897) 84e85f71 internal/credentials: fix a bug and add one more helper function SPIFFEIDFromCert (#3929) 9abcdab7 cmd/protoc-gen-go-grpc: fix method name in interceptor info (#3889) 06c094c3 xds/client: Process security configuration from Cluster resource (#3931) f0db9671 Change version to 1.34.0-dev (#3941) 5af60402 lrs: add Store.Stats() to report loads for multiple clusters (#3905) 7464f756 channelz: remove redundant case from AddTraceEvent and remove caps from severities (#3925) c0736608 xds: Cleanup CDS balancer code and tests. (#3916) 9a3c02f9 http2_client: fix reader segfault on PROTOCOL_ERRORs (#3926) dad518ae xds: Refactor/cleanup xds client tests. (#3920) b2c5f4a8 stalebot: send first ping after 6 days (#3923) d5280589 xds/bootstrap: Use correct format for "certificate_providers" field. (#3922) 8fbea727 cmd/protoc-gen-go-grpc: add --version flag support (#3921) d9063e7a standardized experimental warnings (#3917) bebda80b internal/balancer: Remove a TODO in stub balancer. (#3919) 2e2833c7 xds: Fix resource type to URL mapping for v3 client. (#3915) e55dd3e1 cmd/protoc-gen-go-grpc: re-add proto3 'optional' support (#3914) bb64fee3 xds: Replace a select with an if statement. (#3912) 866de13d meshca: CertificateProvider plugin implementation. (#3871) 6f47205d credentials/xds: Implementation of client-side xDS credentials. (#3888) 02cd07d9 cmd/protoc-gen-go-grpc: revert to interface-based service registration (#3911) e6c98a47 stats: include message header in stats.InPayload.WireLength (#3886) 21f897ea xds: Add bootstrap support for certificate providers. (#3901) 4e932bbc xds/testutils: Minor cleanup. (#3898) 659b8291 internal: regenerate pb.go (#3893) e4ae8742 xds/cdsbalancer: Use testutils.TestClientConn. (#3899) 0dc99861 lrs: add a layer for clusters in load store (#3880) 64c4c373 xds: Use a grpcsync.Event to represent close in CDS LB policy. (#3894) 400b4a0a binarylog: export Sink (#3879) d81def43 xds: Rename xdsclientWrapper type to xdsClientWrapper in EDS. (#3896) 924b48b0 xds: Use a grpcsync.Event to represent close in EDS LB policy (#3895) 0f7e218c advancedtls: add fields for root and identity providers in API (#3863) 4270c3cf xds bootstrap: support insecure and make Creds required (#3881) bf9584e1 internal/transport: handle h2 errcode on header decoding (#3872) 9ec6f110 xds: Exit from run() goroutine when resolver is closed. (#3882) 4bee4dbc protoc-gen-go-grpc: update README.md to reflect recent changes (#3883) ff9dd65c protoc-gen-go-grpc: generate interfaces optionally; remove NewFooService (#3876) a3e63e87 alts: Specify the build constraints correctly. (#3877) 32e7099c grpctest: Minor improvements to tlogger. (#3874) 86d33e46 connectivity: Get rid of unused Reporter interface. (#3875) 65911230 internal: rename package for test alone file (#3855) 4a2248a4 Remove grpc_cli build instructions (#3868) 52029da1 service reflection: include transitive closure for a file (#3851) 15157e26 test: remove funcServer and some uses of NewTestServiceService (#3867) 8630cac3 xds: update balancer group ID type to string (#3862) 9a132e44 advancedtls: add PEMFileProvider implementation for on-file-change credential reloading (#3826) 8c8305f8 benchmark: Revert to use old certs. (#3860) 0b575750 credentials/alts: Skip ALTS tests on darwin. (#3859) b5802b5f xds: v3 support for LRS. (#3856) 48bf772d credentials/alts: ClientAuthorizationCheck to case-fold compare of peer SA (#3792) d8ef479a internal: fix build for gae (#3852) d25c71b5 testutils: Add a context parameter to the Receive() method. (#3835) 35afeb6e internal: reintroduce legacy appengine build constraints (#3850) d31b6710 cmd/protoc-gen-go-grpc: call interceptor even if handler is unset (#3849) cc8e63ca security/authorization: add integration tests (#3809) c4ba4cc6 Change version to 1.33.0-dev (#3846) ff1fc890 internal: reintroduce legacy appengine build constraints (#3838) 44d73dff cmd/protoc-gen-go-grpc: rework service registration (#3828) 410880dd eds: fix priority timeout failure when EDS removes all priorities (#3830) 0e72e094 server: prevent hang in Go HTTP transport in some error cases (#3833) b9bc8e75 End stream flag bugfix (#3803) e14f1c23 certprovider: API update to include certificate name. (#3797) 6c0171fa rls: Update rls protos and code/test to reflect those changes. (#3832) d16bb4c3 transport: use escaped string instead of int->string conversion (#3831) f640ae6a security/authorization: util function for converting CEL expression string (#3822) 0f73133e xds: Export a WatchListener() method on the xdsClient. (#3817) a3740e5e grpc: Bump up support package version. (#3818) f30caa90 server: Add ServiceRegistrar interface. (#3816) 1dbe29f6 examples: update grpc version (#3813) 6768e33c xds: Fix TestV2ClientBackoffAfterRecvError (#3815) 9310253e meshca: Pull in the MeshCA service proto from istio repo. (#3814) 1605756d xds: add LRS balancing policy (#3799) 0baf4c2d meshca: Pull in the MeshCA config proto from grpc-proto repo. (#3807) 7d892150 internal/wrr: introduce order offset to edf scheduler as a tiebreaker for entries with same deadline (#3800) b54ea173 xds: Support xDS v3 transport protocol. (#3778) 6aaac03d internal/serviceconfig: Fix typo and improve docs. (#3802) 2983360f Fix interop tests which rely on the old certs/keys. (#3804) 244f9ece credentials: Migrate helper functions to /internal/credentials for future cleanup (#3780) d3e3e7a4 security/authorization: Added CEL-based authorization engine (#3707) 7419b444 xds: Improve TestClientWrapperWatchEDS. (#3783) 8beeedb8 internal: clean up all usages of grpclog, and replace with component (#3719) a5514c9e grpc: Minor refactor in server code. (#3779) b830b5f3 advancedtls: fixed SNI testing and put SNI functions back in advancedtls.go (#3774) 446b4dba advancedtls: add spiffe support in aTLS (#3777) b2f0b793 xds: Pass WatchExpiryTimeout to Client via Options. (#3784) fd393c89 testdata: Update testdata certs. (#3786) 94d8df75 xds: Avoid mutex copy in log statement. (#3788) 5f7b337d Add some appengine build constraints. (#3787) 8bec2f5d Re-add Go1.11 support (#3776) bc714cd8 Remove Go 1.9 / AppEngine support; assume go1.12 build tag (#3767) b72d07f8 advancedtls: migrate testing to grpctest (#3773) b2e49701 examples: break from 'PerRPCCredsCallOption' status checking loop (#3772) f92f5343 README: change badge to pkg.go.dev (#3768) 97c30a14 xds: Client refactor in preparation for xDS v3 support (#3743) d6c4e49a internal: delete mock from examples (#3766) 1c32b026 typo: upate->update (#3765) 0e6096e9 interop: update --fail_on_failed_rpc to wait for initial success (#3763) 067255ff xds testing: add path_matching and header_matching (#3764) dfc0c05b advancedtls: Add SNI logic to ServerOptions.GetCertificate (#3697) 8b7764bd xds interop: update interop client to support new tests (#3737) 7408372e xdsrouting: remove env variable for routing (#3754) 9106c3ff Change version to 1.32.0-dev (#3757) cee815db Added support for proto3 field presence (#3752) a1ace910 xdsrouting: resolver to generate service config with routes, and pick routing balancer (#3751) a5a36bd3 client: set auth header to localhost for unix target (#3730) 5f0e7284 xdsrouting: balancer implementation (#3746) ca3959a1 xdsrouting: handle route fields in xds_client (#3747) 266c7b6f xdsrouting: add fake headers (#3748) 6dc7938f xdsrouting: balancer config parsing (#3734) e2f575e5 xdsrouting: all matchers (#3733) 08e6bb18 examples: change xds example to import xds instead of experimental (#3745) 6e77a8b2 xds: delete experimental package and experimental scheme (#3729) 1154df9a balancer: remove deprecated type aliases as planned (#3742) dd8658f9 credentials: check and expose SPIFFE ID (#3626) 9fcde86e credentials/alts: Change ALTS hsConn to a map (#3741) 46d42f13 README: adjust links, and slight rework of page (#3736) a6c3c696 examples: cleanup README.md (#3738) d8193ee9 xds: Add v3 support for client bootstrap. (#3723) abfbf74f doc: fix references to status methods (#3702) 34053813 codes: document which error codes can be returned by the framework (#3699) a86c873a cleanup: fix mention of healthcheck to health (#3731) e8fb6c17 credentials/sts: PerRPCCreds Implementation (#3696) 9af290fa balancergroup: move balancer state (connectivity state and picker) building out (#3685) 4258d120 service config: add default method config support (#3684) 3de8449f xds: use logging components (#3718) 68098483 advancedtls: Add system default CAs to config function (#3663) c95dc4da doc: mark CustomCodec as deprecated (#3698) 506b7730 Implemented component logging (#3617) 42419544 xds: Move test only utility method to testutils. (#3715) 31d22c78 examples: use grpc v1.30.0 rather than v1.30.0-dev.1 (#3710) 7a808837 examples: make test script output easier to read (#3711) 38aafd89 vet.sh: require ALL modules are tidy; tidy some that are not (#3709) 4e63bcab test: replace manual.GenerateAndRegisterManualResolver with grpc.WithResolvers (#3700) 9a465503 alts: Added peer attributes accessor for alts context and updated test method (#3675) dfc058c6 credentials: Add certificate provider plugin APIs. (#3654) 3b63c2b1 retry: re-enable retrying on non-IO transport errors (#3691) 6f5ecbe5 Change version to 1.31.0-dev (#3681) b6d6ede3 xds: use google default creds (#3673) eb11ffdf retry: prevent per-RPC creds error from being transparently retried (#3677) 9aa97f9c stream: fix calloption.After() race in finish (#3672) d5bc6ecb xds: Add cmpopts.EquateEmpty option in tests. (#3671) 479df5ea advancedtls: check error before deferring close (#3659) ad51f572 protoc-gen-go-grpc: add requirement of embedding UnimplementedServer in services (#3657) 42eed59d xds: handle errors in xds_client (#3658) cb7f5de3 xds: handle errors in xds resolver (#3651) a085b3e7 credentials/local: fix incorrect binding of listener port (#3656) 806b6fc5 xds: handle errors in cds balancer (#3649) f818fd2a all: regenerate .pb.go files using cmd/protoc-gen-go-grpc (#3646) e0ec2b83 doc: fix quickstart hyperlink in README (#3648) acd5f849 xds: handle errors in eds balancer (#3645) 6c9e30c0 cmd/protoc-gen-go-grpc: add code generator (#3453) 30c53e74 xds: move balancer/resolver registation to package xds (#3640) e786c2df xds: eds balancer handleEDSUpdate cleanup (#3639) 5cd45224 internal: fix errors after merging (#3643) eb827fbf grpclb, dns: pass balancer addresses via resolver.State (#3614) d071d568 xds: handle weighted cluster as route action (#3613) 4709b05f transport: move append of header and data down to http2 write loop to save garbage (#3568) 5e506934 credentials/alts: Fix ALTS record crypto interface comments (#3638) d6e95de1 xds: rename subBalancerWithConfig to subBalancerWrapper (#3608) 5c35263b internal: update rls.pb.go (#3637) 8bd46590 xds: not cancel and restart RDS watch on the same LDS update (#3619) 9eb3e7dd credentials: local creds implementation (#3517) 636b0d84 internal: fix typos (#3581) 96e5c84c xds: rename resolver scheme to xds (#3621) f5cae438 Fix wording in keep alive documentation (#3625) f62d68d5 benchmark: exit from UnconstrainedStreamingCall() when stream is canceled (#3623) 36493bc3 xds: stop expiry timer after receiving an update (#3615) a6ab4473 cache: callback without cache's mutex (#3603) 42e450fa doc: update "A short introduction to Channelz" url (#3583) 695df7e2 status: wrap status proto in a struct (#3556) 10ccd463 xds_client: make sure LDS sets ConfigSource to ADS (#3588) c8482678 advancedtls: remove test.Fatal() from child goroutine (#3595) e7557c82 xds: reject RDS response containing match with case-sensitive false (#3592) a906ca04 balancergroup: fix connectivity state (#3585) 661d4c96 internal: update service_config.pb.go (#3584) fe604e1f xds: add weighted_target balancer (#3541) eedec2c1 advancedtls: add leaf cert in verify params (#3571) 4b071056 internal: revert change to make travis always build proto (#3580) 695da821 interop: increase xds test client rpc timeout (#3579) 80ff2c9d internal: code regen move file to correct location (#3574) accb8795 cleanup: remove lingering V2 references (#3576) d70354e6 advancedtls: add field names for unit tests (#3570) 4eb418e5 balancer: move Balancer and Picker to V2; delete legacy API (#3431) b0ac6011 rls: LB policy with only control channel handling (#3496) b2df44ea Pass weights to wrr balancer through attributes. (#3530) a3cc4f61 interop: add --fail_on_failed_rpc xds client flag (#3567) 15653fec all: refactor .pb.go generation (#3451) 7d6aa9ed kokoro: use xds-test-server image (#3564) c10d2c6f rls: Update rls protobufs. (#3562) a0cdc21e server.go: use worker goroutines for fewer stack allocations (#3204) 29f40a46 make helper function return error (#3553) 6a3c0388 Pass address attributes from balancer to creds handshaker. (#3548) 8f94cb18 status: remove Error method accidentally added to *Status (#3561) 18b6aa77 xds: unexport edsBalancerImplInterface's function (#3550) f313ade8 advancedtls: add fine-grained verification levels in XXXOptions (#3454) 843b06d5 benchmark: Fix segfault in benchmark code. (#3555) 03def2a1 examples: add go.mod to make examples a separate module (#3546) f67e7c03 Make vet happy on non_linux platforms. (#3549) da151789 internal: move parseMethodName func to internal/grpcutil (#3525) 6774920a xds: Modify return value of getClusterFromRouteConfiguration (#3534) aff515dc env: check GRPC_GO_IGNORE_TXT_ERRORS env var (#3532) d15f1a4a test: Move creds related to tests to creds_test.go (#3542) f9ac13d4 credentials/alts: Properly release server InBytes buffer after the handshake is complete. (#3529) 759569bb balancer: support hierarchical paths in addresses (#3494) f9a1aeb4 xds: accept either "" or "/" as the prefix for the default route (#3535) ff40ef42 xds: refactor xds_client (#3477) 6e001bea README: add link to Go releases (#3526) c7079afb lint: fail on missing package comment (#3524) c97e1d3b Revert "credentials/alts: Properly release server InBytes buffer after the handshake is complete. (#3513)" (#3528) 4c4cafba internal/transport: Get rid of TargetInfo struct. (#3527) 46c755af rename to LocalityID (#3522) 8e6052a0 fix typo in flag description (#3520) a783b25f internal: rename proto import to end with pb (#3523) 27096e82 doc: update README for supported Go versions and travis for tests (#3516) 7c3fd130 credentials/alts: Properly release server InBytes buffer after the handshake is complete. (#3513) b02de000 client: option to surface connection errors to callers (#3430) a9555d04 balancergroup: update methods to V2balancer (#3505) 709091fe service config: move balancer config parsing to internal (#3504) 7f194773 Change version to 1.30.0-dev (#3511) 85e3a6fd credentials: Update doc strings for NewClientTLSFromCert et. al. (#3508) 3038e58e examples: add example to show how to use the health service (#3381) 98e4c7ad xds: move balancer group to a separate package (#3493) c5faf568 status: move statusError to internal/status package (#3432) 7cb4db26 internal: update grpc_lb_v1 proto (#3499) a9601d93 xds: update nonce even if the ACK/NACK is not sent on wire (#3497) 66e9dfe7 transport: fix handling of header metadata in serverHandler (#3484) aedb1362 balancer: change roundrobin to accept empty address list (#3491) fe1d8e71 xds: add temporary logging to LRS (#3490) 508cf420 cleanup: fix typo in grpclib_remote_balancer.go (#3486) cc864071 rls: Manually implement equality of key builder maps. (#3476) e965f2a6 client: add a WithNoProxy dialoption (#3411) 5dbd4c23 kokoro: allow individual test case logs for xds (#3478) 192c8a2a rls: Rename type `picker` to `rlsPicker`. (#3475) 7c502e14 wrr: make random wrr thread safe (#3470) fe80f08f Update test credentials to 2048-bit RSA keys (#3467) b3dcc681 stats: set response compression codec on stats.InHeader and stats.OutHeader (#3390) 197c621d xds: use generated protos from github.com/cncf/udpa/go (#3449) 166461e2 channelz: Make staticchecker happy on darwin. (#3469) 09c4b45e vet: Get it to work on Darwin. (#3452) 71f583e9 xds: split callback in xds_client to avoid type assertions (#3450) ba34a8c5 doc: fix link in xds readme to point gRFC (#3466) b9b4456a README: add KeepaliveParameters hint to FAQ (#3465) 804ff443 rls: Implementation of the picker (#3423) 399ae780 alts: add trailing dot to metadata.google.internal (#3460) 09f5e89a kokora: checkout matching grpc/grpc branch for xds test (#3456) 4e487c16 xds: rename WatchEDS to WatchEndpoints in xds_client (#3447) ecea6ed1 xds: better way to compare and update dropper in EDS (#3434) 9e4ff32c client: fix getResolver to use scheme param (#3437) a6bd1006 kokoro: add xds job (#3448) 0e160327 rls: Implementation of the RLS client. (#3446) 47c04d19 rls: LB config cleanup (#3443) 6d849d5c rls: Some minor updates to the RLS cache. (#3442) dc074d67 rls: Add an Equal method to the KeyBuilderMap type. (#3441) 5c17da69 stats: add comments about why out headers and out trailers have no wire length (#3408) 9a1081e2 xds: handle removing drops (#3433) d179e8f5 xds: Update an error log message. (#3429) 3211773f Change version to 1.29.0-dev (#3428) c1242570 rls: Implementation of lb config parse functionality. (#3379) 759de4dd xds: include nonce from the most recent response in new requests (#3420) cfc5fec3 eds: handle child balancer state asynchronously (#3418) 6af3d372 Fixed channelz test flakyness. (#3417) d3b2eefd xds: include port in VirtualHost domain matching (#3413) c0d37940 xds: Eliminate calls to reflect.DeepEqual from xds code. (#3414) c26257da rls: Initial implementation of the LRU cache. (#3359) 2cd9da62 test: record peers by hostname in xds client (#3409) e139b475 xds: support wildcard domain matching for RDS response (#3397) 73cf2d2a xds: LRS send hostname in metadata (#3394) 6f9eea6e test: include xDS package in test client dependencies (#3407) a63c5550 xds: set no_overprovisioning in request Node (#3402) 224056d3 xds: add reflection and health service to example server (#3403) f8ad812d internal: update interop test.pb.go (#3405) 7f5ddc8a xds: improve logging (#3386) c02d9d17 xds: LRS handle response contains multiple cluster names (#3393) 6cd03861 vet.sh: ensure vet runs on all packages (#3395) b1a5073a Fix vet issues (#3396) a43f3ee9 interop: add xds test client and server (#3326) 5b44288e internal: update service config proto (#3389) 7392afe7 xds: client should handle new watch requests even if there's no working stream (#3376) fff75ae4 channelz: log on channelz trace events and trace on channelz relevant logs. (#3329) a10661dd credentials: deprecate ProtocolInfo.SecurityVersion (#3372) 6b9bf429 Revert "profiling: add hooks within grpc (#3159)" (#3378) 92dd426e balancer/base: keep bad SubConns in TransientFailure until Ready (#3366) d0235e4d interceptor: new APIs for chaining server interceptors. (#3336) 95c834a7 xds: resolver handle good update after getting an error (#3374) 83263d17 profiling: add hooks within grpc (#3159) a431daa3 testutil: add a mutex to tLogger to protect errors map (#3373) f3111a57 interop: Build grpclb_fallback/client.go only for linux. (#3375) e38032e9 internal: Move parseTarget function into internal package and export it. (#3368) eb53a9e8 internal: Update service_config.pb.go (#3365) d76e57cb rls: Implementation of RLS key builders. (#3344) 979f0a2f client: clarify units of send/receive message size call options (#3354) 0ab367d2 examples: add client/server to be used for xds examples (#3362) 132187f0 Modified tests to use tlogger. (#3343) cb03b9f6 balancer/base: consider an empty address list an error (#3361) 597699c0 grpclb: support explicit fallback signal (#3351) 13535f71 rls: Implementation of the adaptive client-side throttler. (#3346) 648cf9b0 advancedtls: use grpc 1.27.0 and small fixes (#3360) 3ae60ebf stats: create new MD for outgoing header if no MD is available (#3357) e0e0cbc7 xds: move "_experimental" to suffix for all balancers (#3356) 77bc3d39 test/tools: update protoc-gen-go version used by vet.sh (#3355) 1f6cca96 README: update SupportPackageIsVersion help in FAQ section (#3350) 7621679b stats: add client side user agent to outgoing header (#3331) b88d2d74 protobuf: update protoc-gen-go version and generated code (#3345) f97821dd advancedtls: add end to end tests (#3318) 822723f7 xds: Enable keepalives on the xds client channel. (#3335) ca10cab1 Change version to 1.28.0-dev (#3342) 1ce75691 rls: Add generated pb.go files for RLS. (#3337) 8c50fc25 revert buffer reuse (#3338) 7afcfdd6 client: add interface for ClientConn to be accepted by generated code (#3334) 1f66bc9e xds: propogate bootstrap error to grpc.Dial (#3330) 27fd7d00 balancer/resolver: remove temporary backward-compatibility type aliases (#3309) 3311b9ea grpclb: update proto from grpc/grpc-proto (#3323) d670c2dc advancedtls: fix internal tests (#3322) cd74fa23 internal: remove withResolverBuilder and use WithResolvers instead (#3321) 62d4bd73 security: Add a package level comment to testdata package in advancedtls (#3317) 0083f6ee client: add WithResolvers options for specifying client-local resolvers (#3320) e8a4440d grpctest: implement grpclogger using testing.T and inject in tests (#3260) c35a580b Revert "balancer: move Balancer and Picker to V2; delete legacy… (#3315) 20bce9a0 advancedtls: add package for testdata (#3306) 336cf8d7 balancer: move Balancer and Picker to V2; delete legacy API (#3301) 69baa3f1 credentials: close tls.Conn on failure (#3300) 02c70004 xds: delete old xds resolver (#3303) 1a3212aa lint: add missing package level comments (#3302) ede71d58 stream: fix returnBuffers race during retry (#3293) 4a4d179f advancedtls: add new module for advanced TLS handshaker (#3187) 4346c592 credentials: create API for transport security level information (#3214) b91517cd dns: ignore TXT errors unless GRPC_GO_IGNORE_TXT_ERRORS=false (#3299) cf9eb4f5 benchmark: add support for payload size curves (#3248) 10cea432 internal: fix initialBackoff typo (#3289) 287dc3e5 eds: move edsBalancer to the package `edsbalancer` (#3294) 1f28521e eds: delete fallback related code from the EDS balancer (#3287) 5bc9b325 fix lbpb package name typo (#3290) 5f3da2a0 Fix resolver.ClientConnection to resolver.ClientConn (#3288) 8a65b845 xds: client test cleanup. (#3284) c6189753 internal: fix profiling go generate proto file path (#3285) aa428f8e xds: fix RDS flaky tests due to ACK (#3279) d14c8346 xds: client test cleanup (#3267) 01d201eb examples: add profiling (#3265) a2a5ae5d credentials/alts: Add Client Authorization Utility API (#3271) 64267512 codec/proto: reuse of marshal byte buffers (#3167) ffcdcbc7 profiling: add cmd binary for retrieving and processing data (#3161) fb8a0977 xds: Improve cdsbalancer_test.go (#3277) f42dee19 trace: fix getting family for the method (#3216) 9819552c xds: Improve xds_resolver_test.go (#3259) d44b1112 profiling: add proto and service (#3160) fcf817f6 dns: report errors from A record lookups instead of zero addresses (#3258) 660df6a0 xds: Improve xds_client_test.go (#3270) 04c17931 xds: support multiple xds servers in bootstrap file (#3247) f3249004 dns: fix timing-based test to be more reliable (#3269) a281b506 xds test: read ACK to clear req chan (#3266) 9efef036 Change version to 1.27.0-dev (#3263) d01454da xds: Improve balancere/xds_test.go. (#3256) f7b39d80 profiling: Fix a data race in the circular buffer. (#3254) e3baa761 grpc: Defer the unlock in newCCResolverWrapper (#3255) 085c9800 grpclb: do not send redundant empty load reports to remote LB (#3249) df18b543 xds: support ack/nack (#3227) 032a3799 godoc: clarify WithTimeout deprecation note (#3226) cb0e11b5 benchmark: include go and grpc version in result files (#3242) d5c817b9 xds: Improve xds_lrs_test.go (#3251) 4323b783 Update README.md (#3231) 9f02faef credentials: move TLS implementation to a separate file (#3243) 021bd573 profiling: add internal changes to support profiling of gRPC (#3158) 505c0d64 xds: skip callback if xds client reports error (#3240) 81a07a98 internal: Improve documentation around buffer.Unbounded (#3241) 3a4f66e0 xds: small fixes (#3238) 11399004 xds: resolver test cleanup (#3233) a4e9d955 xds: Update the check for match field when handling an RDS response. (#3239) 86c8a0cb xds/resolver: Add missing double quote in json SC (#3232) 3180dcb4 server.go: combine defers to reduce stack usage (#3208) da3b1eb4 xds: Implementation of the CDS LB policy. (#3224) 6f8ce092 dns: reapply "dns: stop polling for updates; use UpdateState API" (#3228) 895b36dd travis: run interop tests with examples (#3229) 14426e9c credentials/alts: Ensure that GetBytesConsumed is in-bound (#3225) 22854c88 credentials/alts: Simplify ALTS acquire and release APIs (#3221) 645dd12f alts: Update handshaker.pb.go 1e36139a credentials/alts: Set the handshake extra slice correctly (#3222) 4b2104f1 xds: change lrs server name field in xds balancer config to a string pointer (#3210) 9dc72d1d Revert "dns: stop polling for updates; use UpdateState API" (#3213) 157dc9f3 xds: cleanup eds tests to use fakexds server (#3209) 7e7050be xds: Minor refactoring, prep for CDS LB policy (#3211) d8e3da36 xds: in EDS balancer, use xds_client from attibutes (#3205) 1c4070c2 xds: CDS implementation in v2Client. (#3203) e5e980f2 dns: stop polling for updates; use UpdateState API (#3165) cb47f381 dns: do not call NewServiceConfig when lookups are disabled (#3201) da649b36 xds: use the shared xds client in eds balancer (#3197) 0e8c6a32 github: make stalebot monitor PRs, too (#3202) dc49de8a balancer: add V2Picker, ClientConn.UpdateState, SubConnState.ConnectionError (#3186) 7c1d3267 benchmark: Enable server keepalive in benchmarks (#3196) 24b653e8 xds: Don't override dialFunc in xdsClient in tests. (#3191) d720ab34 server: Keepalive pings should be sent every [Time] period (#3172) 24f6331d server: correct doc regarding unknown handlers and interceptors (#3195) 5d4cc8af xds: Implementation of xds_resolver using LDS/RDS (#3183) 71ba135a xds: handle EDS in xds client (#3181) 967379b1 client: set grpc-accept-encoding header based on outgoing compressor (#3139) 347a6b4d stats: attach metadata to In/Out Headers/Trailers (#3169) 448c8c62 xds: replace eds proto message with xdsclient defined struct in eds balancer (#3174) 0b3a5cc2 Move bootstrap functionality to a new package. (#3176) 2cb07fcd resolver: rename Option to Options, leaving type aliases for now (#3175) dc9615bb xds: Initial implementation of a client using the v2 API (#3144) 460b1d2c dns: disable SRV record lookups unless grpclb is imported (#3149) 51ac07fb vet: revise staticcheck strategy (#3152) 95c37594 examples: change wait into job polling loop after killing tests (#3168) d903dd74 interop: add grpclb fallback test (#2994) 4717e3b5 resolver: add deprecation note to AddressType and its values (#3156) f691f352 resolver: re-add dns and passthrough packages as references to internal versions (#3162) caaa7649 examples: enable debugging to help determine why tests are hanging (#3166) 6071e701 more detailed log message (#3117) c2b74f74 xds: set client node.BuildVersion to gRPC version (#3140) 2548a220 internal: fix EDS test race in cmp/sort (#3154) 0aa47d32 resolver: introduce attributes package and use it for Address and State (#3151) 2d2f6568 cleanup: fix generic comparisons on protobuf messages (#3153) dd568c06 xds: support priority (#3066) 76e6ad37 Change version to 1.26.0-dev (#3148) 6dac0204 test: add test of malformed gzip payload (#3141) 6c48774f travis: move example tests to a separate run (#3143) b09352fc xds: add new fields to XDSConfig (#3100) bbd4b7ae eds: skip unhealthy endpoints (#3137) 583401aa Add a general purpose unbounded buffer implementation (#3099) 88bf0703 resolver: Add new fields to resolver.BuildOption struct to support dialing a remote name resolver (#3098) 7c97d1d5 docs: fix reflection doc (#3138) da2bec01 test & testutils: prevent goroutine leaks in test functions (#3133) 0f32486d transport: minor code simplification (#3136) 8988da6e examples: add examples regression test script (#3118) 8eafb5b7 xds: remove cds from the current xds balancer (#3085) 459a38a0 grpclb: enter fallback if no balancer addresses are available (#3119) ff5f0e93 xds: add script to regenerate orca (#3131) ee90cbda stalebot: only update one issue per run to prepare for re-enabling it (#3129) 5367efb8 cleanup: no x/net/context (#3120) a8f166a0 xds: use generated files from go-control-plane (#3083) 4ec516e5 interop, examples: use localhost instead of 127.0.0.1 (#3124) 88080a24 Update the comment for `newCCResolverWrapper`. (#3123) 0f2d5393 client: Keepalive pings should be sent every [Time] period (#3102) c0909e91 resolver: move dns and passthrough to internal (#3116) a7c1650e fix typos (#3111) 041ead07 xds: cache locality (sub-balancer) (#3067) b53233ce examples: add regression test script to hello world example (#3092) 7c3115d8 client: fix bug with cancellation propagation for unary RPCs (#3106) 5e3ef93a grpclb: avoid use of reflect.DeepEqual on proto.Message types (#3101) 7c8e6037 Add more details in ClientConn GoDoc. (#3096) d5ab7434 credentials: accept another listen error as lack of support in test (#3097) 027cd627 Fix a data race in resolver_conn_wrapper.go (#3090) 0859afa3 xds: set dial target in request resource_names (#3081) 1610f0fd mod: move test/tools to a different module (#3086) c0122323 fix typo for grpclb token key (#3094) ef403a2e Make healthcheck tests in end2end_test.go more readable. (#2883) f07f2cff credentials: Use net.SplitHostPort safely parse IPv6 authorities in ClientHandshake (#3082) ff0c603b proxy_test: Fix a goroutine-leak bug in testHTTPConnect: now use channel done to store err and call t.Fatalf when err not nil (#3080) 2d6a3edc cleanup: fix typo (#3084) 2e7984e2 clientconn: override authority with address's ServerName, if set (#3073) d08614fd examples: add UnimplementedGreeterServer in debugging example (#3079) b4f13811 [xds_config_rename] xds bootstrap: rename helper.go to config.go (#3059) df162eae test: embed Unimplemented___Server in every service (#3076) 691f3b44 cleanup: fix various misspellings (#3075) ed563a02 resolver: add State fields to support error handling (#2951) aa4eae65 Remove couple of unused fields in the resolver wrapper. (#3070) 50c4579f examples: add Unimplemented___Server to all example servers (#3071) dcd1c974 Use exact size, if known, to allocate decompression buffer (#3048) 47d3cfe0 Adding a RequestInfo struct for propagating request data to Get… (#3057) 31911ed0 client: add WithConnectParams to configure connection backoff and timeout (#2960) fb2e5cdc server: add ServerOption HeaderTableSize (#2931) 3778847a examples: create an example for enabling and configuring retry (#3028) 492ab452 xds: incorporate changes to bootstrap file format. (#3065) 5bf44136 xds: make balancer group restartable (#2999) 2e14ef27 transport: don't check s.header on the server side in Stream.Header (#3063) 5df282ef transport: fix race between operateHeaders and closeStream and reading headers (#3062) 7aa94b7e health: Use sync.RWMutex instead of sync.Mutex (#3058) 663e4ce0 client: fix race between client-side stream cancellation and compressed server data arriving (#3054) 861d8e79 internal: fix typos in comments (#3046) 1e7ab3da Move keepalive tests to a separate test file. (#3014) e75b8f48 test: fix flake in GoAwayThenClose (#3052) e3510443 clientconn: fix potential deadlock caused by ResetConnectBackoff (#3051) 1950dc9d travis: add go1.13 and remove go1.10 and go1.9 without GAE (#3050) 275a76f4 Change version to 1.25.0-dev (#3043) 230def76 docs: fix debugging README typo (#3037) 788ffe62 Update governance, contributing, code of conduct docs (#3033) 6b46f470 client: consider service config invalid if loadBalancingConfig… (#3034) a5e64ec4 test: fix channelz test for violating flow control (#3031) e2cfd1c2 internal: update proto library version (#3025) 7b8c5564 Add functionality to read xDS bootstrap file. (#3000) 40ed2eb4 server: set and advertise max frame size of 16KB (#3018) ac35b677 grpclb: fix deadlock in grpclb connection cache (#3017) 4ccf24ac vet: ignore status code from grep -L (#3016) 92075d79 modules: add go 1.11 to go.mod (#3013) 74f33a44 github: add mergeable config (#3008) 5735d6dc github: add stalebot config (#3007) e2d4ecf5 doc: clarify client concurrency (#3001) 59c5eb75 Keepalive test improvements. (#2992) da768de0 Improve xds_test.go (#2991) 6c2b3b1b Add a micro benchmark for context.WithValue() to compare using local and (#2986) 4d39b489 transport: derive transport context from context.Background (#2930) d5a36f00 credentials/alts: Assume not running on GCP if DMI not present (#2996) 45bd2846 Use sync.Cond to implement keepalive dormancy. (#2987) ad20eafd change from Inc. to LLC for Google (#2997) 0574097d example: use proto message Get methods in helloworld (#2990) 6fb38bde Fix a bug in benchmark code. (#2989) dc187547 Implementation of the xds_experimental resolver. (#2967) 3bb34e53 bufconn: Implement read/write deadlines (#2959) 7cc21331 internal: fix context leak when stream is not created successfully #2985 451cf373 add MAINTAINERS.md (#2971) c26cd97e transport: make http2Client.getStream() to only return a stream. (#2984) 03082453 transport: remove defer in http2Client.getStream (#2980) 24a4d6eb Change version to 1.24.0-dev (#2974) ee21c923 transport: block reading frames when too many transport control frames are queued (#2970) ee87494b transport: fix race between header and RPC cancellation (#2947) b8d26754 wrr: add EDF implementation of weighted round robin. (#2957) a074ab2d internal: fix a typo. (#2964) 36ddeccf Move code out of balancer/xds. (#2950) fde0cae1 stream: call stats handler if the attempt failed to get transport (#2962) cd5357d6 Change Unlock to defer Unlock, to avoid data race (#2953) 1f154c6e stream: fix panic caused by failing to get a transport for a retry attempt (#2958) a2bdfb40 balancer: populate endpoint weight by edsbalancer for weighted_round_robin (#2945) 92635fa6 server: avoid call to trace.FromContext and resulting allocations when tracing is disabled (#2926) a4f24690 internal: log when connection is closed due to keepalive (#2940) 120728e1 client: log balancer info messages only for verbosity level >=2 (#2908) 6d6c0413 test: fix race reading while incrementing (#2935) b5748caa server: populate WireLength on stats.InPayload for unary RPCs (#2932) 61f27c14 status: Implement *statusError.Is (#2868) 5da5b1f2 status: avoid allocations when returning an OK status (#2929) decb4380 http2client: remove unnecessary allocations for header fields (#2925) 97714221 client: fix race between transport draining and new RPCs (#2919) a975db93 grpclb: enable keepalive (#2918) c654cab1 server: avoid allocations related to tracking excessive pings (#2923) 04c71b7a server: avoid an unnecessary allocation per-RPC for OK status (#2920) 207b5d80 xds: instructions for regenerating proto (#2898) f7de2c8d balancer: filter out grpclb addresses if balancer is not grpclb (#2907) 64ddb19a client: fix canceled vs deadline exceeded double-check logic (#2906) 24b2fb89 client: remove option to send RPCs before HTTP/2 handshake is completed (#2904) 59fd1f3d server: immediately close all connections created after GracefulStop (#2903) 12906490 docs: clarify "deprecated" to indicate whether some features may be removed in 1.x (#2900) 08d23162 grpclb: recreate SubConns when switching fallback (#2899) 8e511dc1 xds: update proto (#2896) 005a2997 Change version to 1.23.0-dev (#2893) 73b304d8 xds: bazel proto gen code generation scripts (#2775) 95da23bb xds: load report for server loads (from trailer) (#2870) 5caf9629 client: addrConn NewStream and health check cleanup (#2848) 915d20dc grpc: change type of Server.conns 7472edcc metadata: write original md before appended md (#2879) 70e8b380 test: end2end test improvements separate server and client configs. (#2877) e8b58ff6 [xds_ignore_weight_0_localities] xds: ignore localities with weight 0 (#2875) 43c0599b test: fix flaky grpclb TestDropRequest (#2865) ecb921dd test: end2end test cleanup http handler server (#2876) eca11cb9 transport: share recv buffers (#2813) 712624e6 examples: note about ALTS special access permission on GCP (#2846) f7e18a39 examples: fixed spelling mistake in route_guide client example (#2873) 7a12d52f internal: update channelz.pb.go (#2871) fc15416d test: fix GoAwayThenClose by wait for cc state change (#2855) c7831546 test: extend RPC timeout for TestHTTPHeaderFrameErrorHandlingHTTPMode (#2861) 684ef046 Fix a typo in the comment. (#2866) cd89eaf4 test: fix Test/GracefulStop by not removing activeStreams too aggresivelly (#2857) a1d4c283 client: update state earlier to prevent resetTransport calls from killing good transports (#2862) a5396fd4 Remove call to proto.Clone() in http2Server.WriteStatus. (#2842) b681a11d A few more improvements to the benchmark code. (#2840) f2967c2f serviceconfig: mark new package experimental (#2852) d33cecda xds: fix difference between user target name and resource name (#2845) 914c27f8 internal: ignore unexported fields when comparing struct fields (#2853) 2df9cb80 xds: rpc counts (start/end) per locality (#2805) 73e56798 travis: run most test environments on Go 1.12 instead of 1.11 (#2847) 532a0b98 only force update picker when cache is used (sub-balancer is round-robin) (#2843) 99aff99e xds: rename balancer to xds_experimental during testing (#2850) a69f9700 internal: lint receiver name not x (#2844) 82fdf277 addrConn: not reset backoff if update address in TransientFailure (#2740) 58c136ca [xds_112] internal: balancer/xds remove build contrain >= 1.12 (#2834) d40a9958 balancer/resolver: add loadBalancingConfig and pre-parsing support (#2732) 0435a4bb balancer: stop using picker from old balancer with switching balancers (#2833) b3e4b49d xds: fix eds balancer nil pointer panic without addresses (#2809) f34abd95 xds: add orca generated file, and move orca to xds folder (#2804) b7325a31 Update go.mod for golang/x/tools and staticcheck (#2832) 25ad15b8 transport: Fix the inconsistency between headerChan and headerDone (#2818) e73aa7fe Change version to 1.22.0-dev (#2830) c2e0a6d7 Fix a typo. (#2826) 7c037930 benchmark: refactor the benchmark code. (#2820) 8655d473 credentials/alts: Add example of authz in ALTS (#2814) 263405c7 docs: small docs fixed to WithDisableServiceConfig (#2819) 4a199db1 xds: split proto imports for message and service (#2812) ab909771 Fix using grpc.WithBalancerName("grpclb") explicitly (#2778) (#2802) a0be99ad xds: use BuildOptions.Target.endpoint string instead of deprecated cc.Target (#2807) 4748a040 balancer: provide parsed target through BuildOptions (#2803) 39ed87fc xds: report loads to traffic director (#2789) 9949ee0c xds: lrs load store (#2779) 4b60e3b6 credentials/alts: Panic Bug Fix (#2800) 028242f8 xds: fix flaky test due to balancerV2 API update (#2799) 42baa8b1 channelz: wait for clean up before next test (#2797) a9408321 internal: remove err from ClientTransport.GracefulClose (#2771) 5ed5cbab dns: rate limit DNS resolution requests (#2760) d5973a91 xds: support BalancerV2 API (#2781) 47e1ebe5 client: return helpful error message when wait-for-ready RPCs fail with timeout (#2777) a90198c7 internal: seed random for wrr tests (#2791) b78962e5 xds: save category in dropper (#2780) 1e6ab1e9 server: define ServerOption as interfaces (#2784) a8b5bd3c xds: wrr with random (#2745) 4dfb34b0 Mark PreparedMsg as EXPERIMENTAL (#2783) 8260df7a grpc: implementation of PreparedMsg API d7af56a5 internal: tweak ClientTransport.GracefulClose documentation (#2772) 5b263177 xds: make local proto generated files (#2750) 3fc74305 transport: fix a race that could lead to memory leaks (#2765) 9d8d97a2 docs: add note about retrying UNAVAILABLE (#2774) 776edd3b interceptor: new APIs for chaining client interceptors. (#2696) a9de79b9 Use 'go vet' and not 'go tool vet'. (#2768) e1d95c39 credentials/alts: Support UDS addresses in ALTS interop test server (#2763) 597a4aa0 grpc: remove excess new line from the log statement (#2766) ee9f7f0c interop: add test case for "pick_first" (#2762) 3f98697f grpclb: handle service config and switch to pickfirst (#2719) 289eb50d internal: clean up README (#2764) e3305117 Change version to 1.21.0-dev (#2759) bc316a57 doc: fixing link in keepalive docs (#2755) 981ad1f9 doc: fixing broken link in rpc-error doc (#2753) 4abb3622 tls: append h2 to tlsconfig.NextProtos (#2744) b03f6fd5 internal: balancer/xds go1.12 only (#2748) d37bd82d Fix DialContext when using a timeout (#2737) ea5e6da2 service config: default service config (#2686) 4745f6ae grpclb: fallback after init (#2681) 955eb8a3 channelz: cleanup channel registration if Dial fails (#2733) d389f9fa balancer: add server loads from RPC trailers to DoneInfo (#2641) 92445710 syscall: remove logging in init(). (#2734) f1437f7c server: Improve error message when an unknown method is invoked. (#2723) 9a2caafd client: restore remote address in traces (#2718) ed10349f stats: add WireLength to stats.InPayload (#2692) (#2711) 6d8271a0 credentials: add compute engine channel creds (#2708) ef9bac26 cleanup: remove unnecessary ignoreContentType field (#2715) 0e83fbeb encoding: check whether encoding.Name() is empty before calling strings.ToLower (#2707) aded19ed update to use new fancy issue templates (#2712) 3910b873 bar: add ability to update resolver state atomically and pass directly to the balancer (#2693) bcfa7b30 Downgrade grpclb package info logs to V(2). (#2710) 22c2121b benchmark: exit after printing help when using `-h` (#2701) 66cd5249 transport: stop using http.CloseNotifier in handler server (#2697) d021e89b internal: fix Dial_OneBackoffPerRetryGroup (#2689) 495133b6 internal: fix pickoptions in balancer_test (#2698) ce455589 balancer: make sure non-nil done returned by Pick is called (#2688) 272a4b69 transport: do not close channel that can lean to panic (#2695) fba6715d addrConn: resetTransport loop cleanup (#2676) d7d97796 grpclb: support pickfirst (#2652) 3c84def8 balancer: remove Header from PickOptions; it is also available through context (#2674) 2d5c4dfb server: send RST_STREAM after trailers if client has not half-closed (#2684) 2098091c dns: prefixing txt record lookup with "_grpc_config." (#2691) 7c93bdf7 internal: update x/lint dependency (#2690) 3958fc86 addrConn: resetTransport cleanup (#2673) ff28255d cleanup: fix typo in comment (#2657) 9c3a9595 stats: add Trailer to client-side stats.End (#2639) d3f95b27 xds: fix xds api change breakage (#2685) 77ce7bc2 minor: typo fix (#2680) 69e99ca5 grpclb: keep drop index unless a new serverlist is received (#2631) 29adad9d edsbalancer: fix address format (#2675) 5abb3575 client: reset backoff to 0 after a connection is established (#2669) a1a84e16 service config: make retryThrottling maxTokens setting of 1000 valid (#2670) 2369d0a0 travis: add Go 1.12.x to CI (#2671) a618c37a server: Don't log errors on ErrConnDispatched (#2656) 79c9bc67 client: handle HTTP header parsing error correctly (#2599) 45890ffd xds: lowercase the field name (#2666) 914c52b2 xds: eds balancer (#2624) cba9cfed xds Balancer: implementation (#2614) 9ecb6116 grpclb: drop only when at least one SubConn is ready (#2630) 5878d965 transport: remove RequireHandshakeHybrid support (#2529) a51d23e0 transport: return ErrConnClosing for proper handling (#2644) 3aaef9f0 Change version to 1.20.0-dev (#2661) 40cb5618 dialOption: export WithContextDialer() (#2629) 871b88ce doc: fix typos (#2655) 9c297a48 examples: remove duplicated words (#2654) 2773c7bb Fix styling (#2647) ed70822b keepalive: apply minimum ping time of 10s to client and 1s to server (#2642) ae7b4f21 examples: correct typo in keepalive example (#2645) b86a9dbd documentation: Adds package level comments (#2612) 587cec03 Moves swapState up, so it gets executed no matter what. (#2649) 29c406a5 examples: add keepalive example (#2637) 6d026ae4 internal: transport_test init expected byte slice to be not all zero (#2643) 1dbad57d internal: delete an info log (#2640) 32559e21 internal: server deletes stream after receiving an RST_STREAM frame a402911c internal: resetTransport connect deadline is across addresses (#2540) 1263ed4d internal: add buffer for channelz flowcontrol getter channel (#2625) 05de310f Fix typo s/banlacer/balancer/ (#2633) 5d5c0ac4 internal: check flush err (#2632) 2259ee6f makefile: remove testappengine from make all (#2621) 01e57758 grpc: limit reader with maxReceiveMessageSize (#2617) 23ef1279 doc: fix broken link in auth doc (#2613) f959f2e8 xds: balancer group (#2564) c2f12b83 Fix error formatting based on best practices from Code Review Comments (#2615) d14ffaeb client: deprecate CallCustomCodec and provide new version using encoding.Codec (#2556) 1925e244 client: don't allow io.EOF to be passed from balancer to user (#2604) 25e74d3f vet: use fail_on_output so user can see why git client is not porcelain (#2605) 8e6533ee client: clean up v1 balancer wrapper error handling (#2511) eda3b7e3 client: fix handling of GRPC_GO_REQUIRE_HANDSHAKE=on to not interpret as "hybrid" (#2603) 17f24498 Add google_default_credentials interop test case for go (#2600) 6086f8d6 examples: reflection (#2594) 6d855749 travis: add Go 1.12beta2 to CI (#2598) 0e8a6f93 credentials: add TLS 1.3 cipher suites (#2596) 92256663 Modified binary search for the correct delay. (#2584) e9c1ac35 fix: typos (#2591) 4cad6a62 comment: default MaxSendMsgSize should be math.MaxInt32 instead of 4MB (#2586) ec9c18c8 internal: split StateRecordingBalancer in test to balancer and builder (#2578) 9f93218b cleanup: update staticcheck to version supporting modules and new checkers (#2583) d7e8e3da cleanup: remove staticcheck exception (#2582) 9572bbe0 cleanup: remove unused symbols (#2581) efaac523 roundrobin: randomize starting address when rebuilding the picker (#2579) 59acad4c cleanup: more simplifications (#2574) 4e92c060 cleanup: replace unnecessary loops (#2573) dfd7708d cleanup: use time.Until(t) instead of t.Sub(time.Now) (#2571) 38b35dcb cleanup: lower-case starting character of error strings (#2572) a1ead1ef Change version to 1.19.0-dev (#2569) 6cc789b3 client: make handshake required 'on' by default, not 'hybrid' (#2565) 98a94b0c test: disable leakcheck after the first failure (#2563) f647b6fa grpctest: defer Teardown to guarantee it is run even after t.Fatal (#2562) 9e7c1463 Return nil trailer metadata, if the RPC's status is context canceled. (#2554) 954fe273 benchmark: Unconstrained streaming benchmark (#2512) bd0b3b2a grpctest: fix comments to be more readable (#2555) 253dfbcf internal: use -go option to target 1.9 (#2550) b6f0a0f3 grpctest: add example to show how it is used (#2552) 8fd063a5 channelz: Implement GetServer method for channelz (#2537) 76cc5072 internal: rewrite TestDialWithMultipleBackendsNotSendingServerPreface (#2438) 0a391ff2 grpctest: add new package to manage tests and support per-test setup/teardown (#2523) e441557e rpc_util: update deprecated messages (#2545) 98de7e24 internal: change split2() comment to be consistent with behavior (#2547) c71aa624 example: interceptor (#2541) 36f31269 example: name_resolving (#2514) 2197c7b0 example: load_balancing (#2504) 0a3dc64b example: debugging (#2536) 39611680 enhance log for hello world SayHello (#2538) 7b141362 health: resume health server (#2528) 25de51fc example: errors (#2534) f286604f example: cancellation (#2525) 2cb2074d example: authentication (#2531) adac1aea example: compression (#2527) 30155c0b example: errors (#2521) 1838dede channelz: respect max_results in listing methods (#2516) 463950a1 internal: example flag.Parse() and comments (#2526) d9bc55b7 example: encryption (#2524) 1b41b79f internal: refactor transport to single retry mechanism (#2461) 42df0c55 examples: deadline (#2494) 5da252b6 health check test: prevent double close of hcEnterChan (#2441) b74673af examples: wait_for_ready (#2503) 29a7ac4d client: deprecates FailFast & replaces its use by WaitForReady. 39333409 internal: copy testdata to routeguide (#2478) 9d925ce5 examples: metadata (#2500) 53884fa7 grpclb: re-resolve when the stream to GRPCLB balancer fails (#2502) 191cc8e3 grpclb: filter out grpclb addresses if balancer in use is not grpclb (#2509) ebf41aab roundrobin: use balancer.ConnectivityStateEvaluator in roundrobin (#2520) 102aee9b internal: cleanup roundrobin_test with cleanup function (#2519) 14de8b69 WithWaitForHandshake: fix deprecated comment (#2518) a3af876a internal: document example/echo proto (#2517) aad0edee health: shutdown server to set NOT_SERVING and disallow future updates (#2513) e242249c comment typo: MaxConnectionAgeGrace(#2515) 4be7750b plumb lastConn error in v1 balancer (#2508) 187e357a examples: multiplex (#2477) 49616eb1 examples: add echo proto (#2505) 272e9d4f Change version to 1.18.0-dev (#2498) ca62c6b9 channelz: fix GetSecurityValue function name. (#2450) 55ef6013 internal: cleanup remaining x/net/context (#2470) f3eb5bc0 client: add GRPC_GO_REQUIRE_HANDSHAKE options to control connection behavior (#2464) ef2b8e2f internal: move syscall.Conn wrapper into a separate package (#2457) 0fccf8bf transport: increase BDP limit to 16MB to improve performance for high latency networks (#2455) 63ae68c9 proxy: support basic authentication (#2426) 04ea8200 cleanup: replace "x/net/context" import with "context" (#2439) eb55fa50 resolverWrapper: remove the watcher goroutine (#2446) a612bb68 client: block RPCs early until the resolver has returned addresses (#2409) 12ed5d0f internal: split health proto package import in test (#2445) c94cef38 internal: split proto package import in health package (#2442) d27440de client: set TCP_USER_TIMEOUT socket option for linux (#2307) 1b89e78f test: Adds end2end tests for the case that Watch method returns unimplemented. (#2429) 8f2842d4 client: in UpdateBalancerState, update picker before connectivity state (#2431) 761a6b36 binarylog: fix end2end test race (#2433) 59a2cfbd Remove support for Go1.6-1.8 (#2428) 36ef35dd internal: add doc to tlsConn wrapper for channelz (#2421) 0efb1e10 binarylog: no warning if no config string is set (is empty string) (#2430) 61c3ec86 docs: clarify SendMsg/CloseSend usage (#2418) 105f6142 health: Client LB channel health checking (#2387) f4273b1b binarylog: fix racy TestClientBinaryLogCancel (#2423) 5a500ee7 travis: remove Go 1.6 and 1.8 tests (#2415) 7271c8bb Fixes a broken test case. (#2425) c86bc5cd health: Checks if the service's serving status has changed before sending an update (#2424) 6572a802 internal: update golint to use new url (#2393) 3332afdf internal: binarylog test replace += 1 with ++ (#2420) 24638f59 binarylog: call binary log in Client and Server (#2388) a88340f3 internal: add testutils package comment (#2414) c4d3b2fa channelz: register sockets with meaningful refnames (#2416) ec76f14f health: Merges healthcheck package to health package. (#2417) 582d1c9b healthcheck: add package comment (#2413) aaaaffa6 channelz: data race fix (#2411) 0430365f channelz: update generated proto stubs f86585f6 channelz: update generated proto stubs (#2408) 1b1c45ef internal: vet cleanups (#2405) e1660768 healthcheck: clientHealthCheck and its unit test (#2389) 425c07e5 internal: add check for import of ptypes proto packages (#2396) ecb5db9e channelz: returns sockets after startID in GetServerSockets() (#2401) d7518259 Change version to 1.17.0-dev (#2399) e120c3f9 internal: transport nil should happen before backoff (#2392) 93a2ad2c internal: rename proto imports to pb (#2395) ff2aa059 internal: fix GO_AWAY deadlock (#2391) 39444b99 binarylog: implement methodlogger (#2334) 0ee15440 cleanup: remove ac.events (unused) and related dead code (#2385) 13b2b26a internal: update proto generated code (#2386) 04c0c4d2 internal: fix client send preface problems (#2380) 481c28e8 documentation: add proxy doc (#2357) 491af2b0 grpclb: downgrade error logs to warning (#2381) 23d111fa Health server watch method (#2365) cfb96008 server: fix handling of RPC timeouts that overflow int64 nanos (#2379) 557b6b5f healthcheck: client-side internal hook (#2378) 1da8e519 transport: http2Client sends RST_STREAM (#2354) f1b28afd doc: add faq for logging and "transport is closing" error (#2372) dfaadfec server: handleStream() cleanup (#2352) 37181188 balancer: add clarifying note to PickOptions.Header (#2377) 5b2c343e add header metadata to PickOptions (#2376) 1ca9df53 internal: clean up and unflake state transitions test (#2366) 5a2acb1f channelz: remove init logging (#2373) c05280cc cleanup: remove unused channel ready (#2353) dc3d58fc retry go get when it fails (#2345) cb116274 clientconn: not panic when service config updated while closing (#2371) c1fc9faf refactor variable name (#2369) c195587d balancer: add trailer metadata to DoneInfo (#2359) 55cdff2a test: add test for picker DoneInfo.Err (#2358) 8d75951f Fix onclose state transition (#2346) 0361d80f server: reuse function recv() in processUnary (#2351) 179dc636 testing: fix race caused by successful Accept on a shutdown server (#2321) 30f4150e service config: Avoid logging a warning on empty serviceconfig. (#2316) 431e4028 Provide a fake grpclb balancer server that can be used for testing (#2338) ad6d187e keepalive: godoc improvement and behavior explanation (#2342) 945824a2 credentials/alts: Minor typo fix (#2344) fdc936c6 lint: add package comment for package google (#2343) b48e364c client: read from Conn while writing preface to unblock synchronous Conns (#2337) cc41663c client: fix panic caused by WithWaitForHandshake and related races (#2336) f8063d3b tests: fix leak in TestDialParseTargetUnknownScheme (#2320) a3389948 binarylog: implement env variable config parsing (#2299) 7fea98ed Add lock.yml for locking closed, stale PRs/issues (#2331) 4dedfdc8 credentials: support google default creds (#2315) ebea9b5b resolver/dns: support custom dns authority (#2265) 30212c84 internal: fix various problems in transport_test.go 82f263dc internal: fix race between cancel and shutdown 8997b5fa credentials/alts: Pass the target name to ALTS handshaker (#2319) 35c3afad Transport refactor (#2305) 0baa0671 tests: fix goroutine leak (#2317) 8ce7e6ba stream: never return errors from CloseSend (#2312) be59908d testing: upgrade appengine sdk to version 1.9.68 (#2311) bd04c068 vet: move go_vet directory under test directory (#2310) 0ec11dce typo: remove duplicate "the" (#2309) f2aaa9bf Check error when calling compressor.Compress (#2274) acd14295 channelz: channel tracing (#2262) 9cc4fdbd Change version to 1.16.0-dev (#2303) d42ac644 move tools.go to sub-package (#2300) 46ee6abe import check for appengine environment(#2215) 5fe5ce74 credentials/alts: Export test APIs (#2293) 16df5a33 credentials/alts: Rename core package to internal (#2296) 0150fc5d credentials/alts: Move alts/core to alts/internal (#2292) 5fe10fcc Remove unused symbols (#2287) 90f728ea Remove shadowing of built-ins (#2290) ccd64cfc Miscellaneous small cleanups (#2291) 826807ed change 'if x == true' to 'if x' (#2289) ba4eb68a Travis/Makefile/vet cleanups (#2283) 911d6908 Make all error strings use lowercased first letter per Go style (#2286) ce4f3c8a Initial go.mod module definition and corresponding Travis/vet.sh changes (#2281) da7e20b8 channelz: turn on channelz when importing service package, delete RegisterChannelz from grpc package (#2277) a91fb537 credentials/alts: Add ALTS AuthInfoFromPeer API (#2269) 59dd9b3f test: add go 1.11 to travis and remove go 1.7 (#2278) d2aec4d7 client: Add ClientConn.ResetConnectBackoff to force reconnections on demand (#2273) 91c7ef84 client: fix FailOnNonTempDialError and add a test for it (#2276) e00d2494 testdata: get test assets related to package root instead of GOPATH (#2272) 9907ae0e health: update pb.go and add watch method (#2263) 07ef407d channelz: unexport unnecessary API on grpc entities (#2257) f4da7eee channelz: use atomic instead of mutex (#2218) a344a357 internal: remove TestingUseHandlerImpl (#2253) 3b859c04 update proto generated code (#2254) b20cbb44 Revert "internal: remove transportMonitor, replace with callbacks" (#2252) 97da9e08 internal: remove transportMonitor, replace with callbacks (#2219) fb6867e4 Change version to 1.15.0-dev (#2247) 8fbeaf87 interop: implement special_status_message interop test (#2241) efcc5364 internal/grpcsync: introduce package for synchronization (#2244) 804c2a90 remove 1.6 support for channelz (#2242) 339b6cb1 transport: eliminate StreamError; use status errors instead (#2239) c0369724 transport: replace ClientTransport with *http2Client for internal usage (#2238) fe131d6f disable go1.6 travis tests (#2237) 8e36593a go generate: update proto files (#2236) 980d9e03 ClientConn: add Target() returning target string (#2233) 445634bd client: define dialOptions as interfaces instead of functions (#2230) 4f4261e7 interop: loosen restrictions on creds per test in interop client (#2231) 5562178a Convert io.ErrUnexpectedEOF to a codes.Internal-marked status in toRPCerr. (#2228) b534d2d2 internal/transport: remove unnecessary ServerTransport method (#2224) a7d6032d internal/transport_test.go: prevent leaking context (#2227) 7273294e internal/syscall: add package description (#2226) d8ecae53 transport.go: minor typo fix (#2225) c8fcd323 resolver: document that SetDefaultScheme should be called at init time (#2217) 1dab6d18 addrconn: remove unused wait() method (#2220) ce6ee6b0 dns resolver: exponential retry when getting empty address list (#2201) e1937570 internal/transport: remove some unused fields from structs (#2213) 984bb2c6 internal: move DialOptions to a new file (#2193) 8c156464 Benchmark: fix build tags (#2099) 11b58272 transport: move to internal to make room for new, public transport API (#2212) f57a529f balancer: add rpc method to PickOptions (#2204) e85134fd transport: double-check deadline when processing server cancelation (#2211) c491b250 createTransport: timeout under waitForHandshake case should not have transport transferred to ready stage (#2208) 50de898e deprecate stream, move documentation to client|server stream (#2198) 264daa2b Set and respect HTTP/2 SETTINGS_MAX_HEADER_LIST_SIZE (#2084) 7f149975 travis: skip race testing on 386 as it is not supported (#2207) f3361fda internal: changes to travis to make it do less work (#2200) 40cd6b15 stream: in withRetry, block until Status is valid and check on io.EOF (#2199) a3e99ebe grpclb: s/fmt.Errorf/errors.New/ (#2196) d35d0064 Fix flaky test: TestClientStreamingError (#2192) 75703b31 Add documentation for loopy. (#2169) cedd9131 Fix test: wait on server to signal successful accept. (#2183) 6a43dcc2 Allow interop client to use call creds on any secure channel (#2185) 40a879c2 client: Implement gRFC A6: configurable client-side retry support (#2111) f9bde863 documentation: clarify SendMsg documentation (#2171) 2106e3b3 credentials: cleanup version-specific files (#2178) 5ea5eec7 Restrict channelz service test to x86 architecture (#2179) 3ec535a2 client, server: update dial/server buffer options to support a "disable" setting (#2147) f1ab7acf credentials: add more appengine build tags (#2177) b39aa9e0 Revert stickiness (#2175) 4f70de23 minor fix: remove redundant channelz files (#2176) 7268ca41 channelz: stage 4 - add security and socket option info with appengine build tags (#2149) 8e187527 Update flow control test to have multiple concurrent streams. (#2170) 92d38b03 balancer/grpclb: update to latest lb proto (#2172) 0c16dc1c resolver/dns: error if target ends with a colon instead of assuming the default port (#2150) ba63e52f grpclb: remove old grpclb generated code (#2143) cd69bb27 testing: run test in simulated appengine environment (#2145) b519e3d2 interop: set dns as default scheme in interop client (#2165) 2ab07fd5 Change version to 1.14.0-dev (#2163) 536e74e0 Don't log grpclb server ending connection as error (#2162) b28608a9 channelz: move APIs to internal except channelz service (#2157) 3b3ed4f5 transport: notify controlbuf that transport is gracefully closing to ensure proper cleanup (#2158) fd9db51e Register incoming stream with loopy as soon as it gets created. (#2144) 7e6dc36b Import grpclb package in the interop client (#2155) d2f8e5a2 fix: do not percent encode character tilde (#2139) 692f13ae grpclb: backoff for RPC call if init handshake was unsucessful (#2077) e218c924 status: handle invalid utf-8 characters (#2109) (#2134) e074afe7 Don't do extra work for keepalive when it's disabled. (#2148) 24f3cca1 internal: move backoff to internal (#2141) 107f1936 Fix flaky tests in transport. (#2120) fb845db1 internal: Change Lock to RLock since no mutation is performed (#2142) aa30531d grpclb: remove redundent testing struct (#2126) dc86fffc Normalize gRPC LB 6d55ae1a Fix test: Account for the fact that Dial can return successfully before Accept. (#2123) 10a4999d Add some debug info (#2136) 49c8c817 Documentation: create doc describing grpc-go's log levels and their usages (#2033) 39a41182 internal: Update proto generated code (#2133) 6f35246b resolver_conn_wrapper.go: fix minor typo (#2135) 0e5a36b6 internal: move leakcheck to internal/ (#2129) 26ac8d28 Revert "status: handle invalid utf-8 characters" (#2127) 9c658603 status: handle invalid utf-8 characters (#2109) 96cefb43 Revert " channelz: stage 4 - add security and socket option info" (#2124) 629f6bc5 grpclb: minor fixes on comments and tests (#2122) c1a21e22 channelz: stage 4 - add security and socket option info (#2098) 4344c204 Split grpclb out of top level grpc package (#2107) 35085cc9 Reduce error logs in transport. (#2117) 2c5843eb DNS resolver: Throw an error for non-default DNS authority. (#2067) 70e9c284 grpclb: sync messages.proto and update client load reporting (#2101) 130c87fa alts: copy handshake address in Clone() (#2119) b94ea975 codes: fix: marshal/unmarshal a Code to JSON fails (#2116) 590da37e Account for user configured small io write buffer. (#2092) bfe41979 clarify CloseSend vs CloseAndRecv; better formatting (#2071) bd7f82c7 internal/grpcrand: New package for concurrency-safe randoms (#2106) 1fa3750c Clarify newCCResolverWrapper documentation. (#2100) d33a9231 Revert "channelz: stage 4 - add security and socket option info" (#2096) 7cc28372 channelz: stage 4 - add security and socket option info (#1965) c16e07b1 stickiness: limit the max count of stickiness keys (#2021) dea4e573 Benchmarks that runs server and client and separate processes. (#1952) 8f06f82c Synchronize WriteStatus with WriteHeader on server. (#2074) f6692351 internal: update proto generated code (#2093) 3b7feb18 health: generate health proto from grpc-proto (#2081) be1fb4f2 internal: remove redundant channelz service go generate (#2085) 1bacc359 Revert "Strip port from server name in grpclb (#2066)" (#2083) 4e829f02 channelz: generate proto from grpc-proto repo (#2082) b4dd7852 internal: move version to a separate file (#2080) 679ceaae internal: fix travis failure on alts proto (#2079) dbffeabc test: make end2end test use split grpc / proto imports (#2069) 9020130b credentials/alts: make go:generate rebuild alts protos (#2056) f64553fe channelz: split channelz grpc and pb (#2068) d24d0a4b Strip port from server name in grpclb (#2066) 161c1953 benchmark: listen on all addresses in benchmark servers (#2073) a36eb467 regenerate *.pb.go files due to proto-gen-go update (#2070) 9a54b9ab transport: respect http2 setting SETTINGS_HEADER_TABLE_SIZE (#2045) 419de394 Add AuthInfoFromContext utility API (#2062) 4ab6e31b Fix possible data loss; Only let reader goroutine handle connection errors. (#1993) 091a8001 split encode into three functions (#2058) b75baa10 small documentation addition to NewStream (#2060) 0ebfac42 Documentation: Add initial documentation on concurrency (#2034) d07538b1 status: Introduce FromContextError convenience function (#2057) 45d7f3a2 Change version to 1.13.0-dev (#2054) 854695be client: introduce WithDisableServiceConfig DialOption (#2010) a36d2ab5 fix flaky test caused by race in channelz test (#2051) 18957c5f Fix typo (#2050) b412d5aa Ignore metadata that gRPC explicitly sets. (#2026) e09cbb70 internal: better test names (#2043) 0bc7c328 Revert "Less mem (#1987)" (#2049) ed247291 client: fix interceptors after recent cleanup (#2046) e9443916 internal: vet.sh quits when it sees macosx (#2048) 9b03f4f0 channelz: update proto to canonical version and rename directory (#2044) 3592bccf interop: Fix unimplemented method test (#2040) 7c204fd1 health: set health proto canonical path (#2038) f8dbc38b Fix "deprecated" function godoc comments to match standard formatting (#2027) e538e04c proto: update generated code (#2039) 1cd00ab9 Rename proto import. (#2036) 8508314f Fix typos. (#2035) 17a5d9ce credentials/alts: Refer to ALTS gRPC types by a different package (#2028) 71fe8dfd http2Client: send reset stream when closing the stream on protocol error (#2030) 8b851264 Stage 3: Channelz server implementation (#1919) 7a8c9895 Less mem (#1987) fc37cf13 server: export ServerTransportStreamFromContext for unary interceptors to control headers/trailers (#2019) 07709e8a dns resolver: create rand seed at init time (#2007) 66090d99 vet: disallow importing "unsafe" (#2024) 72630890 stickiness: avoid using unsafe (#2023) 247a5d44 Fix typos (#2020) 9c2d308a travis: skip vet install for 386 (#2018) e8a6e284 stickiness: add stickiness support (#1969) 4166ea7d Stage 2: Channelz metric collection (#1909) 75d37eff credentials/alts: Add ServiceOption for server-side ALTS creation (#2009) 4172bfc2 documentation: add instructions for running tests locally (#2006) b4a36ce6 go vet: fix composite literal uses unkeyed fields (#2005) d27df52a documentation: add OAuth2 doc and example (#2003) 6e5192d2 reflection: regenerate pb.go file after typo fix (#2002) 5d889714 Remove unnecessary type conversions (unconvert) (#1995) 7de91393 Fix typos (#1994) 35a2846d Various simplifications (gosimple) 4d9544a0 Simplify make() (gosimple) 749a0db2 Use time.Since() helper function (gosimple) 95bbf696 Remove redundant return statements (gosimple) 35aeaeb5 documentation: mention DialContext is non-blocking by default (#1970) c4a6e758 documentation: mention Register functions should be call at init time (#1975) 0c6b34bb cleanup: extend dial context for TestFailFastRPCErrorOnBadCertificates to 10 seconds (#1984) 2783898b Fix Test: race between t.Write() and t.closeStream() (#1989) db0f0713 Small test readability fixes (#1985) 858463ac documentation: mention peer will only be populated after RPC completes (#1982) b1807c31 Channelz: more stable tesing (#1983) 844b2a52 grpclb: fix issues caused by caching SubConns (#1977) cf3bf7f7 createTransport: check for SHUTDOWN before assigning TransientFailure to ac.state (#1979) e8d9fec3 resolver/dns: Typo in lookupHost failure warning (#1981) 7f73c863 Channelz: Entity Registration and Deletion (#1811) 73169184 clientconn: add support for unix network in DialContext. (#1883) 30fb59a4 documentation: Mark compresser and decompresser as deprecated (#1971) 85ce0565 grpclb: cache SubConns for 10 seconds after it is removed from the backendlist (#1957) 4b176969 internal: clean up deprecated Invoke() usage (#1966) 76b07ed7 Mark old balancer and naming APIs as deprecated (#1951) d0a21a33 Export changes to OSS. (#1962) 291de7f0 metadata: Add Get, Set, and Append methods to metadata.MD (#1940) 2eae9d0c server: add grpc.Method function for extracting method from context (#1961) d354447d resolver/manual: fix minor typo (#1960) 2dfcc11f status: remove redundant import (#1947) 1a70180f client: Fix race when using both client-side default CallOptions and per-call CallOptions (#1948) f72b28a6 Change version to 1.12.0-dev (#1946) f2620c38 resolver: keep full unparsed target string if scheme in parsed target is not registered (#1943) 9d2250f5 status: rename Status to GRPCStatus to avoid name conflicts (#1944) 27569563 status: Allow external packages to produce status-compatible errors (#1927) 0ff1b764 routeguide: reimplement distance calculation dfbefc67 service reflection can lookup enum, enum val, oneof, and field symbols (#1910) 32d9ffab Documentation: Fix broken link in rpc-errors.md (#1935) d5126f92 Correct Go 1.6 support policy (#1934) 5415d183 Add documentation and example of adding details to errors (#1915) 57640c0e Allow storing alternate transport.ServerStream implementations in context (#1904) 031ee13c Fix Test: Update the deadline since small deadlines are prone to flakes on Travis. (#1932) 2249df6d gzip: Add ability to set compression level (#1891) 8124abf7 credentials/alts: Remove the enable_untrusted_alts flag (#1931) b96718f8 metadata: Fix bug where AppendToOutgoingContext could modify another context's metadata (#1930) 738eb6b6 fix minor typos and remove grpc.Codec related code in TestInterceptorCanAccessCallOptions (#1929) 211a7b7e credentials/alts: Update ALTS "New" APIs (#1921) fa28bef9 client: export types implementing CallOptions for access by interceptors (#1902) ec9275ba travis: add Go 1.10 and run vet there instead of 1.9 (#1913) 13975c07 stream: split per-attempt data from clientStream (#1900) 2c2d834e stats: add BeginTime to stats.End (#1907) 3a9e1bab Reset ping strike counter right before sending out data. (#1905) 90dca433 resolver: always fall back to default resolver when target does not follow URI scheme (#1889) 9aba0449 server: Convert all non-status errors to codes.Unknown (#1881) efcc755f credentials/alts: change ALTS protos to match the golden version (#1908) 0843fd0e credentials/alts: fix infinite recursion bug [in custom error type] (#1906) 207e2760 Fix test race: Atomically access minConnecTimout in testing environment. (#1897) 3ae2a613 interop: Add use_alts flag to client and server binaries (#1896) 5190b068 ALTS: Simplify "New" APIs (#1895) 7c5299d7 Fix flaky test: TestCloseConnectionWhenServerPrefaceNotReceived (#1870) f0a1202a examples: Replace context.Background with context.WithTimeout (#1877) a1de3b2b alts: Change ALTS proto package name (#1886) 2e7e633f Add ALTS code (#1865) 583a6303 Expunge error codes that shouldn't be returned from library (#1875) 2759199b Small spelling fixes (unknow -> unknown) (#1868) 12da0261 clientconn: fix a typo in GetMethodConfig documentation (#1867) dfa18343 Change version to 1.11.0-dev (#1863) 46fd263c benchmarks: add flag to benchmain to use bufconn instead of network (#1837) 3926816d addrConn: Report underlying connection error in RPC error (#1855) 445b7284 Fix data race in TestServerGoAwayPendingRPC (#1862) e014063a addrConn: keep retrying even on non-temporary errors (#1856) 484b3ebb transport: fix race causing flow control discrepancy when sending messages over server limit (#1859) 6c48c7f5 interop test: Expect io.EOF from stream.Send() (#1858) 08d62613 metadata: provide AppendToOutgoingContext interface (#1794) d50734d1 Add status.Convert convenience function (#1848) 365770fc streams: Stop cleaning up after orphaned streams (#1854) 7646b536 transport: support stats.Handler in serverHandlerTransport (#1840) 104054ad Fix connection drain error message (#1844) d09ec435 Implement unary functionality using streams (#1835) 37346e31 Revert "Add WithResolverUserOptions for custom resolver build options" (#1839) 424e3e98 Stream: do not cancel ctx created with service config timeout (#1838) f9628db6 Fix lint error and typo (#1843) 0bd008f5 stats: Fix bug causing trailers-only responses to be reported as headers (#1817) 5769e027 transport: remove unnecessary rstReceived (#1834) 0848a097 transport: remove redundant check of stream state in Write (#1833) c22018a9 client: send RST_STREAM on client-side errors to prevent server from blocking (#1823) 82e9f61d Use keyed fields for struct initializers (#1829) 5ba054bf encoding: Introduce new method for registering and choosing codecs (#1813) 4f7a2c71 compare atomic and mutex performance in case of contention. (#1788) b71aced4 transport: Fix a data race when headers are received while the stream is being closed (#1814) 46bef23b Write should fail when the stream was done but context wasn't cancelled. (#1792) 10598f3e Explain target format in DialContext's documentation (#1785) 08b7bd3b gzip: add Name const to avoid typos in usage (#1804) 8b02d69f remove .please-update (#1800) 1cd23462 Documentation: update broken wire.html link in metadata package. (#1791) 6913ad5c Document that all errors from RPCs are status errors (#1782) 8a8ac82f update const order (#1770) e975017b Don't set reconnect parameters when the server has already responded. (#1779) 7aea499f credentials: return Unavailable instead of Internal for per-RPC creds errors (#1776) c998149a Avoid copying headers/trailers in unary RPCs unless requested by CallOptions (#1775) 82462103 Update version to 1.10.0-dev (#1777) 17c6e90c compare atomic and mutex performance for incrementing/storing one variable (#1757) 65c901e4 Fix flakey test. (#1771) 7f2472bb grpclb: Remove duplicate init() (#1764) 09fc336d server: fix bug preventing Serve from exiting when Listener is closed (#1765) 035eb475 Fix TestGracefulStop flakiness (#1767) 2720857d server: fix race between GracefulStop and new incoming connections (#1745) 05479800 Notify parent ClientConn to re-resolve in grpclb (#1699) e6549e63 Add dial option to set balancer (#1697) 6610f9a3 Fix test: Data race while resetting global var. (#1748) f4b52376 status: add Code convenience function (#1754) 47bddd7d vet: run golint on _string files (#1749) 45088c29 examples: fix concurrent map accesses in route_guide server (#1752) 4e393e0b grpc: fix deprecation comments to conform to standard (#1691) 0b24825e Adjust keepalive paramenters in the test such that scheduling delays don't cause false failures too often. (#1730) f9390a7b fix typo (#1746) 6ef45d36 fix stats flaky test (#1740) 98b17f20 relocate check for shutdown in ac.tearDown() (#1723) 5ff10c3b fix flaky TestPickfirstOneAddressRemoval (#1731) 2625f033 bufconn: allow readers to receive data after writers close (#1739) b0e09509 After sending second goaway close conn if idle. (#1736) b8cf13ea Make sure all goroutines have ended before restoring global vars. (#1732) 4742c425 client: fix race between server response and stream context cancellation (#1729) 8fba5fc8 In gracefull stop close server transport only after flushing status of the last stream. (#1734) d1fc8fa7 Deflake tests that rely on Stop() then Dial() not reconnecting (#1728) dba60db4 Switch balancer to grpclb when at least one address is grpclb address (#1692) ca1b23bf Update CONTRIBUTING.md to CNCF CLA 2941ee12 codes: Add UnmarshalJSON support to Code type (#1720) ec61302c naming: Fix build constraints for go1.6 and go1.7 (#1718) b8191e57 remove stringer and go generate (#1715) ff1be3fc Add WithResolverUserOptions for custom resolver build options (#1711) 580defab Fix grpc basics link in route_guide example (#1713) b7dc71e7 Optimize codes.String() method using a switch instead of a slice of indexes (#1712) 1fc873d0 Disable ccBalancerWrapper when it is closed (#1698) bf35f1b9 Refactor roundrobin to support custom picker (#1707) 43083423 Change parseTimeout to not handle non-second durations (#1706) be077907 make load balancing policy name string case-insensitive (#1708) cd563b81 protoCodec: avoid buffer allocations if proto.Marshaler/Unmarshaler (#1689) 61c67402 Add comments to ClientConn/SubConn interfaces to indicate new methods may be added (#1680) ddbb27e5 client: backoff before reconnecting if an HTTP2 server preface was not received (#1648) a4bf3410 use the request context with net/http handler (#1696) c6b46087 transport: fix race sending RPC status that could lead to a panic (#1687) 00383af2 Fix misleading default resolver scheme comments (#1703) a62701e4 Eliminate data race in ccBalancerWrapper (#1688) 1e1a47f0 Re-resolve target when one connection becomes TransientFailure (#1679) 2ef021f7 New grpclb implementation (#1558) 10873b30 Fix panics on balancer and resolver updates (#1684) 646f701c Change version to 1.9.0-dev (#1682) 6253aa93 set context timeout when Timeout value >= 0 (#1678) d6cc7286 switch balancer based on service config info (#1670) 816fa5b0 Add proper support for 'identity' encoding type (#1664) c1fc2961 update code_string.go for new stringer changes (#1674) 409fd8e2 addrConn: set ac.state to TransientFailure upon non-temporary errors (#1657) 87bcb38f Eliminate race on ac.acbw (#1666) 5f2e2f99 Corrected documentation on Server.Serve (#1668) de2209a9 Update picker doc when returned SubConn is not ready (#1659) ebefec97 travis: fix GOARCH=386 and add misspell check (#1658) abd3e10d Add context benchmarks (#1610) 3790967a Add protoc command to example/readme (#1653) 8ff86836 Implement transparent retries for gRFC A6 (#1597) 551f2957 server: add EXPERIMENTAL tag to grpc.ConnectTimeout (#1652) 865013bc *: replace deprecated grpc.Errorf calls with status.Errorf (#1651) 4318e647 server: apply deadline to new connections until all handshaking is completed (#1646) 60f1f6aa codec_benchmark_test: fix racy unmarshal behavior and make some cleanups (#1642) ac0ac2b8 Speed-up quota pools. (#1636) af224a8a Check ac state shutdown before setting it to TransientFailure (#1643) 08a45354 vet.sh: don't check git status when doing -install (#1641) fc6acc5e latency: Listen on localhost:0 instead of :0 in test (#1640) fb4b2b29 reduce timeout for tests to 5m (7m for testrace) (#1635) 5db344a4 Introduce new Compressor/Decompressor API (#1428) 246b2f70 Fix settings ack race (#1630) c91118c8 Update examples/README.md (#1629) a4ff4e29 Get method string from stream (#1588) fe0602d9 fix max msg size type issues on different arch (#1623) 3cc21586 Deflake roundrobin TestOneServerDown, and fix test error messages (#1622) 0d399e63 Remove self-imposed limit on max concurrent streams if the server doesn't impose any. (#1624) e9a5821d Acquire all stream related quota and cache it locally since no more than one write can happen in parallel on stream (#1614) b5eab4cc Make travis 32-bit actually work (#1621) 33ee217d balancer: reduce chattiness (#1608) c5f391bd Revert "cap max msg size to min(max_int, max_uint32) (#1598)" (#1619) 58565387 cap max msg size to min(max_int, max_uint32) (#1598) 0d57c57a Fix parseTarget for unix socket address without scheme (#1611) b3ed81a6 Fix connectivity state transitions when dialing (#1596) 0c2d9db1 Update go_package declarations (#1593) 1687ce57 ClientHandshake should get the dialing endpoint as the authority (#1607) a5986a5c Add functions to ClientConn so it satisfies an interface for generated code (#1599) 5c3d956e Re-add support for Go1.6 (#1603) 94f19176 Make passthrouth resolver the default instead of dns (#1606) de0cff50 Fix goroutine leak in grpclb_test (#1595) 16075983 Add go report card (#1594) 6f3b6ff4 Parse ServiceConfig JSON string (#1515) a353537f Register and use default balancers and resolvers (#1551) 94687c3b fix misspell (#1592) 473b1425 Serve() should not return error on Stop() or GracefulStop() (#1485) faebfcb7 Remove single-entry var blocks (#1589) 16c41925 update fail fast documentation to remove retry language (#1586) 2d4b7e00 Create versioning and release policy document (#1583) c06db1c7 Skip proxy_test in race mode (#1584) c209cdff transport: minor cleanups (comment and error text) (#1576) 5131c1f0 Use proto3 in interop tests and end2end tests (#1574) 90947a8e Change version to 1.8.0-dev (#1573) 3f10311c Make resolver Build() take a target struct (#1567) 06233310 Revert "Temporary disable staticcheck" (#1568) 5279edf2 Update UnknownServiceHandler comment to be clearer about interceptor behavior (#1566) 22c3f92f transport: fix racey send to writes channel in WriteStatus (#1546) cf79c849 fix stats test race (#1560) 7103997b Run tests without -v (#1562) c8405557 Remove Go1.6 support (#1492) dc413bbc Temporary disable staticcheck (#1561) 3bf110cd fix TestServerCredsDispatch and stats test race (#1554) 4b49faaf Make interop client dial blocking (#1559) 8230f98e benchmark: add type assertion benchmarks (#1556) 83acb056 fix typo and lint (#1553) 5a82377e transport: refactor of error/cancellation paths (#1533) 4bbdf230 New implementation of roundrobin and pickfirst (#1506) 8443e311 Update format string to match type (#1548) 8843b88f add comment to dns package (#1545) 8214c28a Make IO Buffer size configurable. (#1544) 6014154b Use the same hpack encoder on a transport and share it between RPCs. (#1536) eaf555a8 DNS with new API (#1513) 4e1a1ebe update markdown render (#1542) a68137c9 Revert "Added localhost to net.Listen() calls to avoid macOS firewall dialog." (#1541) c67cd636 Added localhost to net.Listen() calls to avoid macOS firewall dialog. (#1539) d555c823 transport: remove some defers (#1538) 956d689a Use Type() method for OAuth tokens instead of accessing TokenType field. (#1537) d4b75ebd benchmark: add primivites benchmark for Unlocking via defer vs. inline (#1534) 1253dac1 benchmain: format output of benchmark to a table (#1493) 59cb69e6 Fix misspells (#1531) 8afb9cb8 vet.sh: set PATH to force downloaded binaries to be run (#1529) 47685752 Fix format error on travis (#1527) dce31693 Move primitives benchmarks to package primitives_test (#1522) a7dba25a Speed up end to end tests by removing an unnecessary sleep (#1521) bb788787 Change quota version to uint32 instead on uint64 (#1517) 35170916 Fix deadline error on grpclb streams (#1511) 894322f0 Dedicated goroutine for writing. (#1498) c4431560 benchmark: add primitives benchmarks for informational purposes (#1501) 3214f767 Truncate payload trace string, and turn trace off by default (#1509) d46a3655 Add leak goroutine checking to grpc/balancer tests (#1497) 067cb1fc Add RegisterIgnoreGoroutine to leakcheck package (#1507) 4bbe223b remove a debug print that causes deadlock (#1505) 91999f44 vet.sh: fix protoc installation (#1502) 8233e124 Add new Resolver and Balancer APIs (gRFC L9) (#1408) 1ea63c9e Fix to avoid annoying firewall dialog on macOS (#1499) e67952ee Move leak check into a separate leakcheck package (#1445) 3a378f9d Change version to 1.7.0-dev (#1496) 47d8591b Run Go1.9 and 386 on Travis (#1475) d6870035 Check "x/net/context" with `go vet` like "context" (#1490) 85a1e381 benchmain: add nop compressor and other usability tweaks (#1489) e6069834 Fix context warnings from govet. (#1486) 7fd9c2c6 benchmain: minor bug fixes (#1488) 2be1bca9 Update proto generation commands in example doc (#1481) e696c3d4 Remove expiration_interval from grpclb message (#1477) 41127174 balancer_test: possible ctx leak, cancel before break (#1479) 2b9fb510 Fix for 32-bit architectures (#1471) 39596153 When sending a non heads-up goaway close the connection if there are no active streams. (#1474) 526ef328 Rename packages for grpclb messages/service to match directory name fa59b779 Remove unnecessary function handleStreamSuspension (#1468) e98913ec fix grpclb protos to not cause re-registration of types (#1466) 0b4b292f transport: fix handling of InTapHandle's returned context (#1461) 83368072 the cancel function should be called to avoid ctx leak (#1465) 051e7013 add comment (#1464) 01089b29 Remove buf copy when the compressor exist (#1427) c29d6389 transport: Fix deadlock in client keepalive. (#1460) 7db1564b benchmark: add benchmain/main.go to run benchmark with flag set (#1352) 69abda08 stats: add methods to allow setting grpc-trace-bin and grpc-tags-bin headers (#1404) 9b6ac7dd deduplicate dns record in lookup (#1454) 25d6e52b Add -u to installation command (#1451) 2308131c addrConn: change address to slice of address (#1376) 25b4a426 go-generate pb.go files and check in Travis to make sure they don't change (#1426) 5d9b09e4 Fix host string passed to PerRPCCredentials (#1433) 596a6acc metadata: Remove NewContext and FromContext for gRFC L7 (#1392) bfaf0423 Add status details support to server HTTP handler (#1438) 13084144 put *gzip.Writer back to pool (#1441) 9d99afc2 Automatic WriteStatus for RecvMsg/SendMsg error on server side (#1409) 43d1787a Update ServerInHandle comments (#1437) 7657092a Server should send 2 goaway messages to gracefully shutdown the connection. (#1403) e81b5698 Add and use connectivity package for states (#1430) 73041be9 Add 'experimental' note to ServeHTTP godoc (#1429) 383b1143 Document Server.ServeHTTP (#1406) 059280c9 Set peer before sending request (#1423) 963eb485 Fix missing and wrong license (#1422) 4e56696c Fix a goroutine leak in DialContext (#1424) 39c8c386 Use `NewOutgoingContext ` in the metadata doc (#1425) 53ae6b7e Fix typo 66c9ed80 Add flags for tls file path (#1419) bba722ab Change comment on stats.End.Error (#1418) b463cc32 Call cancel on contexts in tests (#1412) fa1cb32d Don't use 64-bit integers with atomic. (#1411) 4c7bb729 benchmark: don't stop timer until after workers are done (#1407) 7c7afa03 Validate send quota again after acquiring writable channel (#1367) 98bc2cec Use log instead of grpclog in routeguide example (#1395) 971efedc Revert "Make all "grpc-" metadata field names reserved (#1391)" (#1400) aa5b2f73 Enabling client process multiple GoAways (#1393) b31f0c60 Assign testdata path to correct variable (#1397) e64ff5d7 Do not call testdata.Path when defining flags (#1394) 3ddcdc26 Make all "grpc-" metadata field names reserved (#1391) 0c390d8e remove defer funtion in recvBufferReader Read method (#1031) ca9e0c34 Add testdata package and unify testdata to only one dir (#1297) a5684396 DNS resolver (#1300) a5d184a8 Expose ConnectivityState of a ClientConn. (#1385) cdc12d4a status: Add WithDetails and Details functions (#1358) 6495e8df benchmark: remove multi-layer for loop (#1339) 0c418763 transport: fix minor typo in http2_server.go (#1383) b34c88b0 Add doc in default implementation fatal functions on os.Exit() (#1365) 2bb31825 Fix bufconn.Close to not be blocking. (#1377) 98eab9ba Do not create new addrConn when connection error happens (#1369) 2b21bfb9 Change version to 1.6.x (#1382) 939edc09 Revert "Use bufconn in end2end tests." (#1381) 71260d21 Fix logging method (#1375) c7e2c00e Use bufconn in end2end tests. 9a71c794 Create bufconn package for a local, buffered net.Conn and dialer/listener ce03e9cc Fix a typo in examples/gotutorial.md (#1374) d6723916 Use log severity and verbosity level (#1340) 27b2052c fix deadlock of roundrobin balancer (#1353) 8264d619 Ignore goroutines spanwned by log.init during leakcheck. (#1368) 86ec6baa Populate callInfo.peer object for streaming RPCs (#1356) d69dedd8 BDP estimation and window update. (#1310) 93166a0b Canonicalize https://grpc.io as the preferred URL prefix 37be128e Update leckCheck to ignore non-gRPC goroutine introduced in Go1.9 (#1351) 41d9b6ea Do not flush NewStream header on client side for unary RPCs and streaming RPCs with requests. (#1343) 0100e426 adjust import order (#1311) 3c33c262 add license for some proto files (#1322) 9cb02b88 latency: sleep in Write when BDP is exceeded to avoid buffer bloat (#1330) 77d4a9f4 Add documentation to deprecate WithTimeout dial option (#1333) eb7b1305 change objects in recvBuffer queue from interface to concrete type to reduce allocs (#1029) 57ff3285 Catch invalid use of Server.RegisterService after Register.Serve (#828) f0c566b8 benchmark: add latency/MTU/bandwidth into testcases (#1304) 2f3320d9 Updated documentation of ClientStream. (#1320) 1d797552 Add support for grpc.SupportPackageIsVersion3 back (#1331) 8855ede8 Deflake TestServerGoAway (#1321) 79fc236e dont create new reader in recvMsg (#940) 306d7d08 Make Apache 2.0 LICENSE file a verbatim copy (#1329) 40e7a759 Protect bytesSent and bytesReceived with mutex to avoid datarace (#1318) 2887f947 Add Severity and VerboseLevel to grpclog. (#922) ea143546 update LICENSE (#1312) c5c761db fix spell (#1314) c6b96641 Add goroutine safety doc on stream (#1313) 834dbd54 replace 127.0.0.1 with localhost for ipv6 only environment (#1306) 7df48bee transport: fix error handling on Stream deletion (#1275) a3592bda Behaviour Change: transport errors should be coded Unavailable instead of internal. (#1307) 1ab4adf2 Support ipv6 addresses in grpclb (#1303) 89caed9e Return header in Stream.Header() if available (#1281) a94a7ac0 add license for some files (#1296) 20e03965 Make RPCs non-failfast in grpclb_test. (#1302) 0c68d6e2 Specify characters allowed in metadata keys (#1299) ba30de56 use subtests for the benchmark_test and add it into the Makefile (#1278) 84158ac5 update the path of guide (#950) cfd21dac Create latency package for realistically simulating network latency (#1286) dbdb479a Deflake TestFlowContolLogicalRace (#1279) a1857942 patents are part of Apache2 license ddbf6c46 autofix license notice 3c7e64ff add AUTHORS and LICENSE 06c98486 Change version to 1.5.0-dev (#1288) d2a85bf7 transport: fix minor typo in 'GoAway' godoc (#1284) 8de2dff7 Piggyback window updates for connection with those of a stream. (#1273) 6fecf283 Reopening: Server shouldn't Fatalf in case it fails to encode. (#1276) a8cd0c13 Avoid int32 overflow when applying initial window size setting 84311653 Revert "Server shouldn't Fatalf in case it fails to encode. (#1251)" (#1274) d5bc85c1 Server shouldn't Fatalf in case it fails to encode. (#1251) 1e47334c Decouple transport flow control from application read. (#1265) a1135905 Update references to route_guide.proto to use new directory name (#1270) 6bb76488 add MaxConcurrentStreams to benchmark_test when start the server (#1271) e49f6f2d Update CONTRIBUTING.md 0294ac81 Create ISSUE_TEMPLATE 27399678 re-enable handler_server in end2end test, and fix some failed tests (#1259) 3a46d9d5 Avoid panic caused by stdlib context package errors (#1258) 72395c53 Initialize stream properly in handler_server. (#1260) 6dff7c5f Expand stream's flow control in case of an active read. (#1248) 79f73d62 Suppress server log message when EOF without receiving data for preface (#1052) 5e42b6f3 Fixed comment spelling (#1254) 4a7b4d03 minor fix cb649383 fix minor issues 9bf8ea0a clientconn, server: replace time.After with time.NewTimer (#998) c7379be7 grpclb balancer.Close() should not panic if called more than once (#1250) 27ae1472 remove some todo comments 074dbfbc Add doc and example for mocking streaming RPCs (#1230) ed64d51c remove unnecessary ok d19bbe84 change max message size functions name 11d93ecd Test for EmptyCallOption ce595b84 Implement `EmptyCallOption` 3419b429 Reuse Token for serviceAccount credentials (#1238) 37737978 Travis: add staticcheck (#1019) 75054818 comments added 4d2b4b5c fix minor typo e2f22b02 Defined GA and add pointer to benchmarks (#1239) bdf9a640 add timeout test, add check or pointer filed in callOption, fix minor issues aacd01c2 call listen with "localhost:port" instead of ":port" in tests (#1237) 135247d8 fix server panic trying to send on stream as client disconnects #1111 (#1115) 1c69e4ca Eagerly set a pointer to nil to help GC (#1232) 780308da add logs to grpclb on send and recv (#1235) a0c3e722 Add stats test for client streaming and server streaming RPCs (#1140) 88a73d35 Adding dial options for PerRPCCredentials (#1225) 07bd9434 Pass custom dialer to balancer (#1205) 3dd14ccc Http status to grpc status conversion (#1195) 17760cfd Calling handleRPC with context derived from the original (#1227) 600406e6 Use pooled gzip.{Writer,Reader} in gzip{Compressor,Decompressor} (#1217) 4013f8d5 tentative fix to a flow control over-give-back bug (#1170) 59426b3c gofmt d9265441 remove unessary nil in return statement ffa4ec7d Ensure that RoundRobin.Close() does not panic. (#1139) 2eb11e10 Log the actual error when inTapHandle fails in http2Server (#1185) 66a9140c make ServerOption panic messages more clear. (#1194) f3b5bf53 Make window size configurable. (#1210) 07f4e6bf Reset proto before unmarshalling (#1222) a40b8d44 Address the comments 7ddf89f9 Fix doc 68a5d50f Fix go buildable source file problem (#1213) 0914b461 don't add defer func if stats handler is nil (#1214) 0eb507a2 Change version to 1.4.0-dev (#1212) 84cd50a2 Fix nil pointer dereferences from status.FromProto(nil) (#1211) fc5d3552 Split grpclb client load report test to deflake test. (#1206) 4d1604cc Use unpadded base64 encoding for binary metadata headers; handle padded or unpadded input (#1209) b610ffd3 Never encode binary metadata within the metadata map (#1188) 277e90a4 Client load report for grpclb. (#1200) a7fee9fe Use proto.Equal for equalities on Go proto messages (#1204) ea230c71 update ecbc34aa move server defaults, delete defer cancel() in stream.go eaa9ccb0 minor comment change 9c5f260e make max size a pointer type and initialize function a CallOption c73e0165 Update grpclb proto and move grpclb into package grpc (#1186) 38df39ba Revert "temporary disable 1.6 on travis (#1198)" (#1199) 983d8372 update the merge of client api and sc 72b617aa temporary disable 1.6 on travis (#1198) ef10a566 Revert "To adhere with protocol the server should send RST_STREAM on observing timeout on a strea, (#1130)" 2d949be2 Make sure all in-flight streams close when ClientConn.Close() is called. (#1136) 6d0e6b04 To adhere with protocol the server should send RST_STREAM on observing timeout on a strea, (#1130) 6914ab1e Fix broken Markdown headings in examples/gotutorial.md (#1189) 955c8670 Support proxy with dialer (#1098) cb02ab4d change error message from InvalidArgument to ResourceExhausted 8a6eb0f6 grpclb should connect to the second balancer (#1181) 0e8b58d2 use proto.Buffer API for protobuf codec and cache proto.Buffer structs (#1010) cd8432ec Move handling stats.End to clientStream.finish() (#1182) 6d158dbf Fix markdown in README.md (#1180) ff17eeb5 opt in to frame reuse on the framer to reduce garbage (#1096) bfa5dd27 Client should update keepalive parameters upon receiving GoAway with … (#1169) b47cbd15 Use proto import from google.golang.org instead of github.com (#1176) 0c1d39df Separate incoming and outgoing metadata in context 087f3d6e transport: implement GoString on Stream (#1167) 74a632af fix comments aad28b3c add error handling for InvalidArgument error from sendResponse() c6a39370 fix send response error case 6f8b5531 fix the testMaxMsgSizeServerAPI failure 9f9c1906 Fix typo in interceptor.go (#1172) 1d27587e Change status package to deal with concrete types instead of interfaces (#1171) f1bb70fa gofmt a66f9231 Make initial service config non-blocking in Dial() b5071124 Add status package for reporting gRPC status and errors (#1156) f45e6e3b Bug fix(Issue#1141): Check if peer is nil before trying to derefer it. (#1143) ad16b942 fix gofmt goimports go tool vet errors ee8ed34b get more metrics from go benchmark servers (#913) a0b902a1 fix missing import 50d41750 Add client and service side apis for limiting the send/recv msg size. Update MethodConfig struct b982c1ca Behavior change: do not strip out gRPC user-agent (#1158) b2fae0cf Implementation for server enforcement of keepalive policy. (#1147) 7fc29d0c populate initReq target name and fix IP []byte type in grpclb (#1145) b3cc2b5e pick a random address if the current in use is deleted by resolver (#1135) ccdf2704 add document to ClientHandshake about returning temporary error (#1125) 0df08a7a :authority should include port number (#1123) 14a6be43 Add grpc.Version string and use it in the UA (#1144) 0a207581 remove support for go1.5 (#1132) d9541d75 post-review commit. 9d8d0c6e Update test to work according to changes made to maxStreams behavior. (#1137) 50fcb6ab post review update f1ab3d93 Post review update c5a5dbc5 Don't return an error from dial if the balancer returns no initial servers (#1112) 3c9df8ef Post review updates 55353842 Removing unnecessary change to http2_server 6b28425a Upon observing timeout on rpc context, the client should send a RST_STREAM to the server before freeing the quota for more rpcs to be created. 82fb96a3 Rest of the implementation e5a289ce MaxConnectionIdle implementation. More to follow 659f9812 more initial commits 0e716191 making client consistent with server 1bf38b6a initial commit b9b6d489 test debug a94b0948 Client should have a check on maximum size of received message size. d9b58b5c Initial commit 5ebdd304 lint update and test fix 0d5b22c2 golint update 9d235766 post-review update 77204bfd Add comment explaining why cancel is not called in success path after client transport is created 25f14b7f post-review updates ba23d25e relax the checking on error string f2206190 post-review updates 0dc1a7dd post review updates f28d4877 future-proofing e328eded more refactoring 3ad78109 removing dead code bc3cca99 Implementation changes;Using an independent goroutine for keepalive checks. 9871e09f Use codes.Code.String() rather than logging integers e59576b1 add support for user-provided UnknownStreamHandler 0dd2b961 comment update 3d392908 fix go vet in end2end test 467c1fdc add go1.8 to travis.yml 2e56e83e Use tls.Config.Clone() for go1.8 3de1621f account for padding in flow control, when received frame uses it 7f74821f experimental commit 6810d346 fix issue #1056 and #1050 888efe30 style update df4f24b1 1. Initialize streamsQuota at object creation. 2. Defer adding back to streamsQuota pool in CloseStream 4ad16bc3 Authority overwrite only works if TLS is not present 336b4ea3 post review update 9e922bde Issue #1060 maximum number of streams on the client should be capped at 100 by default ba8cd6e3 fix FileContainingExtension in server reflection bcc367f3 get rid of extra payload local variable a0bd789d fix wording c7430a06 Only override :authority for insecure dials dfb494c6 post review update 09fddba2 remove debug code 97c325c9 Replace "127.0.0.1" with "localhost" to support IPv6-only environments. 66de296a post review update f9065ac5 Added test. 794873f0 Added calloption to retrieve peer information a050dbc8 Fix and modify logging. 84bee50b Add DialOption to overwrite :authority pseudo-header 0bdf0596 post review updates c8983baf const variable name change for goimports 0ba0eafe update activity on recieveing settings 5fcb58f0 post review updates b2448f6c intermediate change 6e0ace39 Change max message size fields from uint64 to uint32. 50955793 Debugging tests for AuthInfo (#1046) 9d8ac145 Add Go interop http2 client cb653e4b Change stats APIs (#1030) 4ed34891 ClientHandshake to return AuthInfo (#956) 325a0c20 Update comment. 49d2a88c Comment formatting eeb6f5ba code cleaning ec1de5b4 call cancel on context in DoTimeoutOnSleepingServer dd6905b8 Wait until all rpcs are done instead of a hard stop. 97b8c7c5 Set failfast to false for stress tests. 47b25d4b remove proto object allocs on streaming benchmark server 09aecb09 Add the initial service config support (#1009) 64362e65 FIX: use /usr/bin/env bash in shebang 541319e4 Update gomock-example.md 6a68fd85 post review updates a0474a67 exclude mockgen generated code from golint 54f30019 Update gomock-example.md 5202729e Update gomock-example.md e6b46622 Update gomock-example.md 0708983f Create gomock-example.md 9cc4fd4c Example code on how to mock gRPC services 5ad7c5b8 add always returns non-nil error comment to server.serve() 74849601 remove stats.Stop() and fix flaky stats test (#1016) 4203221f Lint fix 8da57eb8 Add availible interop tests to stress client 417442a7 transport: fix logical race in flow control (#1005) deb01f42 add stats tagger APIs and connection stats. (#992) 4a119ee2 Use InfoDepth/FatalDepth in glogger.go 87da9042 Add logging of new flags f45b8d1e fix the flakiness of timeout_on_sleeping_server interop test e9ab0757 Add new flags to go stress client 901cdf6f Post review updates b7d24ba0 correct errors in documentation 4f404a1c fix a circular dependency in clientconn_test 97fb58a2 go tool vet again 45907c27 go tool vet rectification 058907d0 refactored and rectified test failures 93111e4c sending ping the right way a417b824 Added synchronization e58450b5 Keepalive client-side implementation b13ef794 add more comments to metadata Fromcontext (#986) 85518587 Grpclb: Support server list expiration (#962) dd61a2fa fix golint c31bccc2 add FailOnNonTempDialError to control if gRPC should fail on non-temp dial error 524f4213 fix flaky stats test and reuse functions in stats test 2769b6ca Fix comments from github df5d48b5 fix comments 947e436e return non temporary connection error if dialer returns non temprary errors fd15d531 add note in readme pre-req section to get the latest go version 88bdb956 fixes in test f511c49a remove Stream.TraceContext f80f54e4 fix failing tests 6445dedf fix wrong context when handling stats 183e5e98 fix comments in stats testing 11b929be remove wrong comments from stats testing proto 0b062e4d cache conn LocalAddr and RemoteAddr ff0b1db3 fix comments 3de821b7 remote end stats in header() and SendMsg() badd5540 fix comments 3f9a96ea move inPayload.RecvTime to after unmarshal d23fdd77 fix comments 5938492b fix comments a4edc462 renaming aa5b5c7e client side, use user context, and change sent time 1896a21f fix review comments 1d2a929a add stats.Begin and stats.End 8a126b02 change stats comments e4784867 remove isStats from interface c0087b3c add failfast option to stats 0d345b58 change package stats comment be665028 change behavior of stats register handler and start stop c6985882 Renaming types and variables e42a66c8 add client stats 2de8bacb change stats interface API to include ClientStats() function adaae033 remove initStats, merge into headerStats aa914665 add isclient to errorstats 1054f1c4 add payload with original type to payload stats 85c5e0e3 add errorStats 7984a9c6 change CallBack to handler, and move ctx out of Stats. 46e80bf1 fix race in test and add import comments 17ee5a36 Add package stats, and export stats on server side. c3d1b960 Fix broken markdown 3ff3e89d add grpc.SupportPackageIsVersion faq 0225e28a add a TODO f3469bf2 add the missing comment b85d2b0b Support transport tap 86765df8 Add comments and no longer export helper func 687c9584 Reimplement unimplemented_method and address gofmt issues 5b6bca7d Add unimplemented test cases to Go interop client dc220c92 Add support for custom metadata to Go interop code 883bfc7b pb.go file update 5303e26e update reflection test pb.go 727a60e4 update server reflection code to comply with the change to the grpc generator b1efb1e3 fixes in reflection_tutorial 522de0d7 Add server-reflection-tutorial.md Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16singularity: update generic "BSD" license specificationBruce Ashfield
Although singularity is somewhat broken, the LICENSE was not precisely set, so we update the field to indicate that it is BSD clause 3 or Apache 2 licensed. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16spf13-pflag: update license to specific BSD clauseBruce Ashfield
"BSD" is generic, we update our license to the specific clause of the package. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16spf13-pflag: update to 1.0.4Bruce Ashfield
Bumping pflag to version v1.0.5-4-gd5e0c06, which comprises the following commits: d5e0c06 allow for blank ip addresses (#316) 85dd5c8 Add IPNetSlice and unit tests (#170) 6971c29 remove dead code for checking error nil (#282) 81378bb Add exported functions to preserve `pkg/flag` compatibility (#220) 14457a6 Remove require pflag v1.0.3 e8f2996 Fix typo in go.mod 8e39cc4 gofmt 68f4136 Add SliceValue Comments b22fc70 Expand SliceValue support to all slice and array types. c6c0f0f Add first SliceValue implementations 9722382 Added String-To-Int64 option parsing (#211) 4890c25 Fix package doc b3e76d4 Fix descriptions for StringSlice functions 24fa697 fix misspell (#197) 916c5bf Fix typo in count.go (#196) aea12ed add int32 & int64 slice support (#194) 454a7fb add float32 & float64 slice support (#192) 082b515 Travis: test on 1.9 as well (#191) 252d3ee travis: update to 1.10 and 1.11 in travis tests (#190) 0873577 Fix golint import path (#189) b5e1a80 Sentence restructure and grammar fix (#188) 298182f Fix panic when parsing unknown flag followed by empty argument (#173) d929dcb Handle single string=>string flags without quotes (#179) 947b89b Add map valued (string->string, string->int) flags. (#133) 9a97c10 bytes: add support for base64 encoded flags (#177) 3ebe029 Allow bubbling up of -test.* flags (#169) 583c0c0 Typo correction in flag.go (#164) 329ebf1 Allow Users To Show Deprecated Flags (#163) 1ce0cc6 make x.Parsed() return true after AddGoFlagSet(x) and pflag.Parse() (#162) 1cd4a0c add ability to ignore unknown flags (#160) ad68c28 Add multiline wrapping support (#155) 45e82a3 Implement BytesHex type of argument (#115) ee5fd03 doc: clarify difference between string slice vs. array (#158) 6a877eb DurationSlice: implementation and tests (#122) 4c012f6 Add uintSlice and boolSlice to name prettifier (#150) 97afa5e Prevent printing when using ContinueOnError (#144) 1f33b80 add int16 flag (#143) a9789e8 Remove redundant break 2c300e7 Fixing Count flag usage string (#141) be7121d Fix SetNormalizeFunc (#137) 5c2d607 Generate flag error output for errors returned from the parseFunc (#138) 7aff26d New: renamed intSlice to ints in usage 230e229 Fixed: updated unittest adc6ccc New: added a default name to avoid stringSlice in the usage message. e57e3ee Delete example, what isn't even shown in docs 80fe0fb Testing for Shorthand Lookup 75859d1 Add example to FlagSet.ShorthandLookup 86425cb Add example to ShorthandLookup 10b28b3 Add note about panic in ShorthandLookup a84f757 Allow lookup by shorthand (#106) c990990 Add Go 1.8.1 to .travis.yml af3f947 Update .travis.yml f1d95a3 Unify error message for panic and f.out 314c91c Use comparison a string with "" instead of comparison of len 1cd6182 Prevent parsing if there are no arguments 9c8891d Add more verbosity to panic of shorthand redefinition 1d9fab4 Use f.out in output flag deprecation 4995a3e Make more detailed error in Set 9421342 Add comments for better understanding of parsing short flags 159e1d7 Document Count function e466d44 Delete setFlag 686edd7 Fix alreadythere variable name af10531 Note about SortFlags in README e453343 flag_test: fix go vet (#123) 0328f15 Cache sorted flags 9a906f1 Prevent changing order of flags after SetNormalizeFunc() (#121) d16db1e Modified to display a string default value as double quoted and escaped (#118) d90f37a Add SortFlags option (#113) b205ad1 Change `ogier` to `spf13` in docs and README 9ff6c69 Add FlagSet.FlagUsagesWrapped(cols) which wraps to the given column (#105) 3f939ad Removed unused field "exitOnError". Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16go-errors: update license to precise BSD variantBruce Ashfield
BSD as a license is not precise, updating to the specific variant. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16go-errors: update to 0.8.1Bruce Ashfield
Bumping go-errors to version v0.8.1-32-g5dd12d0, which comprises the following commits: 5dd12d0 AddingPowerSupport_CI/Testing (#234) 614d223 Revert "Support Go 1.13 error chains in `Cause` (#215)" (#220) 49f8f61 Support Go 1.13 error chains in `Cause` (#215) 004deef remove unnecessary use of fmt.Sprintf (#217) 6d954f5 feat: support std errors functions (#213) 7f95ac1 Add support for Go 1.13 error chains (#206) 91f1693 travis.yml: add Go 1.13 ca0248e fix travis, 1.10 doesnt support by unconvert anymore 27936f6 travis.yml: add Go 1.12 (#200) 856c240 Add json.Marshaler support to the Frame type. (#197) ffb6e22 Reduce allocations in StackTrace.Format (#194) e9933c1 Restore performance improvements from #150 ee1923e Return errors.Frame to a uintptr 72fa05e errors: detect unknown frames correctly (#192) c38ea53 Remove errors.Frame to runtime.Frame conversions (#189) c9e70be Makefile: switch to staticcheck (#187) ee4766c Fix error during merge 584cbac Remove checks for old style anon funcs (#186) 42ce1b6 Remove Frame methods (#185) 937e8c5 gofmt -w e19cb69 Remove last reference to runtime.FuncForPC (#184) 4f47277 Switch to runtime.CallersFrames (#183) 537896a travis: remove Go 1.8 and earlier (#182) 31aac83 travis: use Makefile (#181) 5ac96ae Update README.md ba968bf gofmt -w errors.go (#179) 059132a Update .travis.yml (#168) d58f942 Bump Travis versions (#172) 6ed0a2e Fix StackTrace print example 2233dee Copyedit the package documentation (#135) e981d1a Add WithMessagef function (#118) c059e47 fixed spelling (#156) 816c908 travis.yml: add Go 1.10 (#154) e1ac100 reduce allocations when printing stack traces (#149) 30136e2 Remove deadcode (#146) e881fd5 Fix minor typo in README.md (#142) 8842a6e Add badge for number of dependent libraries (#109) e4f5060 Fix doc comment for exported Format func (#137) f15c970 Remove an unused argument of utility test func (#139) 2b3a18b travis: add 1.9.x to go versions (#133) c605e28 Add doc comment for exported Format func (#115) ff09b13 Bump Go versions, use latest patch releases (#110) bfd5150 Move benchmark assigned err to global exported variable (#106) 248dadf Bump Go versions (#91) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-09lxc: Enable seccomp support for lxcsana kazi
Enabled seccomp support for lxc. Also added a patch to enable seccomp.profile only when compiled with libseccomp. Currently, seccomp.profile is silently ignored. This could lead to the false impression that the seccomp filter is applied while it actually isn't. Signed-off-by: Sana Kazi <Sana.Kazi@kpit.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-06podman: update to 3.3.1Bruce Ashfield
Bumping libpod to version v3.3.1-2-g364efce39, which comprises the following commits: 1b33f7675 Bump to v3.3.2-dev 4c5283fab Bump to v3.3.1 bea109608 clean up socket and pid files from podman machine 68a059d89 Update release notes for v3.3.1 0103a0459 rootless cni: resolve absolute symlinks correctly 77948c8b4 Add filter params description to volume list/prune docs aa754c7e2 logFile until flag issue f363b805c Fix file descriptor leaks and add test d1ea54549 utils.RunUnderSystemdScope(): always close Conn 17afae4eb Use pod netns with --pod-id-file c16daa07e e2e tests: fix overlay: Unknown option vfs.imagestore 85846b633 change error comparison for exec.ErrNotFound 822818287 generate systemd: use --cidfile again 8aeaf681d Bump to v3.3.1-dev 98f252a3a Bump to v3.3.0 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-06virtual/containerd: don't rprovide virtual/Bruce Ashfield
Similar to the oe-core commit: commit 93ac180d8c389f16964bce8bd5538d9389e970e6 Author: Michael Opdenacker <michael.opdenacker@bootlin.com> Date: Wed Sep 1 11:20:20 2021 +0200 meta: stop using "virtual/" in RPROVIDES and RDEPENDS Fixes [YOCTO #14538] Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS. That's confusing because "virtual/" has no special meaning in RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS). Instead, using "virtual-" instead of "virtual/" as already done in the glibc recipe. We stop rproviding virtual/containerd to keep the namespace clean. There aren't many users of this virtual provides, but we keep it around (for now) to maintain compatibility. At the same time we convert the RPROVIDES to virtual-containerd, to keep it available and consistent with oe-core use virtual-libc, etc. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-06virtual/runc: don't rprovide virtual/Bruce Ashfield
Similar to the oe-core commit: commit 93ac180d8c389f16964bce8bd5538d9389e970e6 Author: Michael Opdenacker <michael.opdenacker@bootlin.com> Date: Wed Sep 1 11:20:20 2021 +0200 meta: stop using "virtual/" in RPROVIDES and RDEPENDS Fixes [YOCTO #14538] Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS. That's confusing because "virtual/" has no special meaning in RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS). Instead, using "virtual-" instead of "virtual/" as already done in the glibc recipe. We stop rproviding virtual/runc to keep the namespace clean. There aren't many users of this virtual provides, but we keep it around (for now) to maintain compatibility. At the same time we convert the RPROVIDES to virtual-runc, to keep it available and consistent with oe-core use virtual-libc, etc. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-06libibverbs: don't rprovide virtual/libibverbsBruce Ashfield
Similar to the oe-core commit: commit 93ac180d8c389f16964bce8bd5538d9389e970e6 Author: Michael Opdenacker <michael.opdenacker@bootlin.com> Date: Wed Sep 1 11:20:20 2021 +0200 meta: stop using "virtual/" in RPROVIDES and RDEPENDS Fixes [YOCTO #14538] Recipes shouldn't use the "virtual/" string in RPROVIDES and RDEPENDS. That's confusing because "virtual/" has no special meaning in RPROVIDES and RDEPENDS (unlike in PROVIDES and DEPENDS). Instead, using "virtual-" instead of "virtual/" as already done in the glibc recipe. We stop rproviding virtual/libibverbs to keep the namespace clean. There aren't many (any) users of this virtual provides, but we keep it around (for now) to maintain compatibility. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-02xtf: add testimage integration to run XTF test cases in OEQAChristopher Clark
Add a new minimal OEQA test case to run the Xen Test Framework test runner in the standard testimage step. Tested with qemux86-64 and designed for compatibility with Arm when XTF supports it. To enable, append to local.conf: INHERIT += "testimage" QEMU_USE_SLIRP = "1" TEST_SERVER_IP = "127.0.0.1" To run: bitbake -c testimage xtf-image For inspection while it runs, at another shell prompt: * Observe the image booting: tail -f ${TMPDIR}/work/qemux86_64-*/xtf-image/*/testimage/qemu_boot_log.* * Observe the tests running once boot has completed: tail -f ${TMPDIR}/work/qemux86_64-*/xtf-image/*/temp/log.do_testimage The XTF test sequence by default is a single XTF test case with minimal hardware dependency to ensure that Xen is running, the Xen toolstack is functional and XTF works. Additional XTF test cases for an image can be configured via variables that are documented in the OEQA test case: * XTF_TEST_CASES_POPULATE * XTF_TEST_CASES_SKIP * XTF_TEST_CASES_REQUIRE Since testimage requires a functioning network to perform the tests on the image and the qemu MACHINES do not have networking enabled this commit provides a new qemuboot-testimage-network bbclass to add an image postprocess command to enable a functional eth0 for qemu MACHINES. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-02xtf-image: update qemuboot settingsChristopher Clark
QB_MEM is now set via the qemuboot-xen-defaults bbclass and has the better default value of 512MB, which fixes some test failures observed when using the lower previous default value of 400MB. The SYSLINUX_XEN_ARGS method of setting the intended dom0 memory level did not take effect in practice, so remove it. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-02xtf-image: fix QB_DEFAULT_FSTYPE: only needed for x86-64 qemuChristopher Clark
The qemuboot launch method for x86-64 uses wic but Arm does not. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-02xen-image-minimal: supply bootloader config for qemux86-64 machineChristopher Clark
Add a dedicated bootloader config for the qemux86-64 machine so that the 'pmtmr=0' kernel command line argument can be provided, which removes an error message that otherwise occurs in syslog during boot which is detected by an OEQA test case causing it to fail. A new kickstart file is provided that applies the new bootloader config and it is supplied as an override to WKS_FILE for this image. This is work towards enabling the Xen Test Framework (XTF) in the OEQA testimage framework. Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-01python-cached: synchronize with meta-pythonBruce Ashfield
python3-cached-property was recently added to meta-python, with the same version, but slightly different variable definitions. This is breaking reprodicibility tests. We've had some issues with python packages upgrading in meta-python and causing runtime issues, so we temporarily want to hold onto a copy of this recipe until that can be ruled out. We'll either pin the version in meta-virt or remove the recipe once that is determined. But for now, if we synchronize the recipe variables, the reprodicibility checks should stop failing. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-27xen, xen-tools: apply workaround for gnu linker error to fix x86 buildChristopher Clark
Upstream patch applied to each Xen and Xen tools recipe to fix the build of the hypervisor and shim with GNU linker 2.37. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-27busybox-initrd: rename to match 1.34.0 version from oe-coreMartin Jansa
Upgraded in: https://git.openembedded.org/openembedded-core/commit/?id=d0e694ef4ec7bd862bdefee494210e3878152b44 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-27cri-o: update to 1.22-devBruce Ashfield
Updating to the latest cri-o development branches to align with k*s testing and dev. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-27containerd: update to v1.5.5Bruce Ashfield
Bumping containerd to version v1.5.5-11-g69e5db821, which comprises the following commits: 27e164648 Allow expanded DNS configuration 8cfab161f CI: Switch to available latest images b9d5cff5d Update Go to 1.16.7 fe195c343 mergo: Upgrade to 0.3.12 to fix panic 677fade0f Prepare release notes for v1.5.5 166a81f88 snapshot/devmapper: log exported methods correctly eb4ba99fe Install apparmor parser for arm64 environment 0bc1e1d8a update seccomp version Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-27docker-distrubution: update to 2.7-latestBruce Ashfield
Not much of an update, but we pickup the latest compatibility restrictions: Bumping docker-distribution to version v2.7.1-32-g61e7e208, which comprises the following commits: d836b23f [release/2.7] update to go1.16 cc341b01 Added flag for user configurable cipher suites Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-27runc-docker: update to 1.0.2Bruce Ashfield
Bumping runc to version v1.0.2-2-g04bcb7c7, which comprises the following commits: 86d83333 VERSION: back to development 52b36a2d VERSION: release 1.0.2 8ec57628 libct/cg/sd/v1: add SkipFreezeOnSet knob 1850dc16 libct/cg/sd/v1: add freezeBeforeSet unit test 4ce440f2 libct/cg/sd/v1: Fix unnecessary freeze/thaw 13b45cb4 libct/nsenter: fix unused-result warning 7cf1952f libct/nsenter: fix logging race in nsexec e2e5267c [1.0] script/release.sh: make builds reproducible 960182fd libct/seccomp: skip redundant rules 4c70105b libct/cg/v1: workaround CPU quota period set failure 1d454045 Do not use Vagrant for CentOS 7/8 c8d8fd5b tests/rootless.sh: fixup for "update rt" test 257018e7 tests/int: fix "update rt period and runtime" for rootless 76c047f1 Evaluate Cirrus CI for Vagrant tests 466d1a1a VERSION: back to development 4144b638 VERSION: release 1.0.1 4efb7a69 libct/cg/sd: add TestPodSkipDevicesUpdate 82d3eb69 libct/cg/sd: TestFreezePodCgroup: rm explicit freeze 2fc2e3d6 libct/cg/sd/v1: Set: avoid unnecessary freeze/thaw ef0aa849 libct/int/TestFreeze: test freeze/thaw via Set 01cd4b5f libct/int: allow subtests 22b2ff0f libct/cg/sd/v1: Set: don't overwrite r.Freezer 04edd79d libct/cg/sd: Don't freeze cgroup on cgroup v2 Set 298a3100 Update device update tests 257723b3 ci/gha: run on release-* branches after a push 4dc207a6 cgroupv2: ebpf: ignore inaccessible existing programs 90d01a04 vendor: update github.com/cilium/ebpf 3f40fbff libct/cg/sd: Add freezer tests c1a5b3e1 libct/cg/fs/freezer.GetState: report current cgroup state 0a5d8ba4 libct/user: fix parsing long /etc/group lines 5fd7b3b7 libct/user: ParseGroupFilter: use TrimSpace 0025bf68 libct/user: use []byte more, avoid allocations 3745b2be [1.0] retry unix.EINTR for container init process e99c0f5e tests/int/no_pivot: fix for new kernels 84113eef VERSION: release runc 1.0.0 29168172 tests/int/cgroups: add test for bfq per-device weight 1036f3f9 libct/cg/fs2: set per-device io weight if available 30d83d4d libct/cg/fs/blkio: do not set weight == 0 d7fc3028 libct/cg/fs*: mark {Open,Read,Write}File as deprecated 8f1b4d4a libct/cg: mv fscommon.{Open,Read,Write}File to cgroups 322c8fd3 Returns clearer error message for setenv 46940ed8 update cilium/ebpf to fix haveBpfProgReplace() check 6339d8a0 libcontainer/cgroups/fs/blkio: support BFQ weight[_device] 01f5dcae build(deps): bump tim-actions/get-pr-commits from 1.0.0 to 1.1.0 bd8e0701 libct/cg/sd: fix "SkipDevices" handling 1b2abc89 github: workflows: fix tiny typo b31a9340 libcontainer: relax validation for absolute paths dbb35411 configs/validator: move cgroup validation to the list of checks 9573e4b6 libct/cg/fs: don't forget to close a file 9ebc573a cgroupv2: ebpf: debug info when detaching programs in fallback mode a3ca7b47 cgroupv2: ebpf: check for BPF_F_REPLACE support and degrade gracefully d06bda60 libct/cg/sd/dbus: fix NewDbusConnManager 535f25c4 Allow restoring with a different LSM profile 508f5bf6 libct/int: add device update test 8fe3dfbb libcontainer/system: remove alias for deprecated RunningInUserNS 3f23a736 libcontainer/configs: remove stubs for deprecated Devices funcs b2d28c5d libct/cg/sd: fix dbus error handling bf7492ee runc update: skip devices c3831d64 libct/cg/fs/stats_util_test: use t.Helper 9eb0371b libct/cg/fs/memory_test: fix formatting e969d421 libct/int/testPids: logging nits a5bd78ef vendor: willf/bitset@v1.1.11 -> bits-and-blooms/bitset@v1.2.0 65cf0e61 Bump selinux to v1.8.2 f99d252d docs/terminals.md: add troubleshooting 49ea4b37 update crosbymichael email 3e1bcb1f libcontainer/keys: var should be sessKeyID/ringID (golint) 1fb56f9f libcontainer/cgroups/devices: if block ends with a return statement c2416fb4 libcontainer/system: fix godoc (golint) 9be156cb libcontainer/devices: fix godoc (golint) 340fdd93 libcontainer/nsenter: fix captalization (golint) 81fc5c87 libcontainer/user: fix capitalization (golint) e204d6a9 libcontainer/configs: add / fix godoc (golint) c0643046 libcontainer/apparmor: split api (exported) from implementation 02fb18ed libcontainer/user: remove unused ErrUnsupported 9e964dfc build(deps): bump github.com/opencontainers/selinux from 1.8.0 to 1.8.1 470610d0 build(deps): bump github.com/cilium/ebpf from 0.5.0 to 0.6.0 31f58829 build(deps): bump github.com/coreos/go-systemd/v22 from 22.3.1 to 22.3.2 c836265b build(deps): bump github.com/sirupsen/logrus from 1.7.0 to 1.8.1 074aa044 build(deps): bump google.golang.org/protobuf from 1.25.0 to 1.26.0 7ca54562 Enable dependabot e6048715 Use gofumpt to format code 1eea9253 cgroup2: io: add io.stats parsing test 0fef122f cgroup2: io: handle 64-bit values correctly on 32-bit architectures efca32c7 cgroup2: io: map io.stats to v1 blkio.stats correctly 49d293a5 cgroup2: capitalize io stats read and write Op values 0e16e7c2 libct/cg/sd: add SkipDevices unit test f5a2c9cc tests/int/dev: only call lsblk once aa934af0 runc -v: set default for, always show main.version 37767c05 ci: lint: show all errors in PRs 07ca0be0 *: clean up remaining golangci-lint failures 752e7a82 libct/cg/sd: fix SkipDevices for systemd fdc28957 Makefile: use git describe for $COMMIT 33c9f8b9 libct/cg/sd: return error from stopUnit Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-27runc-opencontainers: update to v1.0.2Bruce Ashfield
We refresh our patch context and pickup the following commits: Bumping runc to version v1.0.2-2-g04bcb7c7, which comprises the following commits: 86d83333 VERSION: back to development 52b36a2d VERSION: release 1.0.2 8ec57628 libct/cg/sd/v1: add SkipFreezeOnSet knob 1850dc16 libct/cg/sd/v1: add freezeBeforeSet unit test 4ce440f2 libct/cg/sd/v1: Fix unnecessary freeze/thaw 13b45cb4 libct/nsenter: fix unused-result warning 7cf1952f libct/nsenter: fix logging race in nsexec e2e5267c [1.0] script/release.sh: make builds reproducible 960182fd libct/seccomp: skip redundant rules 4c70105b libct/cg/v1: workaround CPU quota period set failure 1d454045 Do not use Vagrant for CentOS 7/8 c8d8fd5b tests/rootless.sh: fixup for "update rt" test 257018e7 tests/int: fix "update rt period and runtime" for rootless 76c047f1 Evaluate Cirrus CI for Vagrant tests 466d1a1a VERSION: back to development 4144b638 VERSION: release 1.0.1 4efb7a69 libct/cg/sd: add TestPodSkipDevicesUpdate 82d3eb69 libct/cg/sd: TestFreezePodCgroup: rm explicit freeze 2fc2e3d6 libct/cg/sd/v1: Set: avoid unnecessary freeze/thaw ef0aa849 libct/int/TestFreeze: test freeze/thaw via Set 01cd4b5f libct/int: allow subtests 22b2ff0f libct/cg/sd/v1: Set: don't overwrite r.Freezer 04edd79d libct/cg/sd: Don't freeze cgroup on cgroup v2 Set 298a3100 Update device update tests 257723b3 ci/gha: run on release-* branches after a push 4dc207a6 cgroupv2: ebpf: ignore inaccessible existing programs 90d01a04 vendor: update github.com/cilium/ebpf 3f40fbff libct/cg/sd: Add freezer tests c1a5b3e1 libct/cg/fs/freezer.GetState: report current cgroup state 0a5d8ba4 libct/user: fix parsing long /etc/group lines 5fd7b3b7 libct/user: ParseGroupFilter: use TrimSpace 0025bf68 libct/user: use []byte more, avoid allocations 3745b2be [1.0] retry unix.EINTR for container init process e99c0f5e tests/int/no_pivot: fix for new kernels 84113eef VERSION: release runc 1.0.0 29168172 tests/int/cgroups: add test for bfq per-device weight 1036f3f9 libct/cg/fs2: set per-device io weight if available 30d83d4d libct/cg/fs/blkio: do not set weight == 0 d7fc3028 libct/cg/fs*: mark {Open,Read,Write}File as deprecated 8f1b4d4a libct/cg: mv fscommon.{Open,Read,Write}File to cgroups 322c8fd3 Returns clearer error message for setenv 46940ed8 update cilium/ebpf to fix haveBpfProgReplace() check 6339d8a0 libcontainer/cgroups/fs/blkio: support BFQ weight[_device] 01f5dcae build(deps): bump tim-actions/get-pr-commits from 1.0.0 to 1.1.0 bd8e0701 libct/cg/sd: fix "SkipDevices" handling 1b2abc89 github: workflows: fix tiny typo b31a9340 libcontainer: relax validation for absolute paths dbb35411 configs/validator: move cgroup validation to the list of checks 9573e4b6 libct/cg/fs: don't forget to close a file 9ebc573a cgroupv2: ebpf: debug info when detaching programs in fallback mode a3ca7b47 cgroupv2: ebpf: check for BPF_F_REPLACE support and degrade gracefully d06bda60 libct/cg/sd/dbus: fix NewDbusConnManager 535f25c4 Allow restoring with a different LSM profile 508f5bf6 libct/int: add device update test 8fe3dfbb libcontainer/system: remove alias for deprecated RunningInUserNS 3f23a736 libcontainer/configs: remove stubs for deprecated Devices funcs b2d28c5d libct/cg/sd: fix dbus error handling bf7492ee runc update: skip devices c3831d64 libct/cg/fs/stats_util_test: use t.Helper 9eb0371b libct/cg/fs/memory_test: fix formatting e969d421 libct/int/testPids: logging nits a5bd78ef vendor: willf/bitset@v1.1.11 -> bits-and-blooms/bitset@v1.2.0 65cf0e61 Bump selinux to v1.8.2 f99d252d docs/terminals.md: add troubleshooting 49ea4b37 update crosbymichael email 3e1bcb1f libcontainer/keys: var should be sessKeyID/ringID (golint) 1fb56f9f libcontainer/cgroups/devices: if block ends with a return statement c2416fb4 libcontainer/system: fix godoc (golint) 9be156cb libcontainer/devices: fix godoc (golint) 340fdd93 libcontainer/nsenter: fix captalization (golint) 81fc5c87 libcontainer/user: fix capitalization (golint) e204d6a9 libcontainer/configs: add / fix godoc (golint) c0643046 libcontainer/apparmor: split api (exported) from implementation 02fb18ed libcontainer/user: remove unused ErrUnsupported 9e964dfc build(deps): bump github.com/opencontainers/selinux from 1.8.0 to 1.8.1 470610d0 build(deps): bump github.com/cilium/ebpf from 0.5.0 to 0.6.0 31f58829 build(deps): bump github.com/coreos/go-systemd/v22 from 22.3.1 to 22.3.2 c836265b build(deps): bump github.com/sirupsen/logrus from 1.7.0 to 1.8.1 074aa044 build(deps): bump google.golang.org/protobuf from 1.25.0 to 1.26.0 7ca54562 Enable dependabot e6048715 Use gofumpt to format code 1eea9253 cgroup2: io: add io.stats parsing test 0fef122f cgroup2: io: handle 64-bit values correctly on 32-bit architectures efca32c7 cgroup2: io: map io.stats to v1 blkio.stats correctly 49d293a5 cgroup2: capitalize io stats read and write Op values 0e16e7c2 libct/cg/sd: add SkipDevices unit test f5a2c9cc tests/int/dev: only call lsblk once aa934af0 runc -v: set default for, always show main.version 37767c05 ci: lint: show all errors in PRs 07ca0be0 *: clean up remaining golangci-lint failures 752e7a82 libct/cg/sd: fix SkipDevices for systemd fdc28957 Makefile: use git describe for $COMMIT 33c9f8b9 libct/cg/sd: return error from stopUnit Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-27skoeo: update to 1.4.x release seriesBruce Ashfield
updating to the 1.4.x release series, we refresh our Makefile patch and pick up the following commits: 6b2aa5da [release-1.4] Bump to v1.4.2-dev 130f32f0 [release-1.4] Bump to v1.4.1 6f99811c [release-1.4] Bump c/image 5.15.2 c/storage 1.34.1 c/common 0.42.1 a9f5f10c [release-1.4] Bump c/storage 1.34.0, c/image 5.15.1 and c/common 0.43.0 a44da449 Release 1.4.0 3d9340c8 vendor-in-container: update to golang:1.16 961d5da7 Accept repositories on login/logout fb03e033 update c/common, c/image, c/storage d70ea890 Update on Building on Ubuntu ce6035b7 Add timeouts when waiting on OpenShift or the registry to start 3a8d3cb5 Add docs and bash completions aeb61f65 Add support for decompressing while copying to dir:// 76eb9bc9 Update to enabled containers/image version a1f9318e Fix two instances of unused err found by go-staticcheck d82c6621 Bump github.com/containers/storage from 1.32.6 to 1.33.0 f0c49b5c Multi-arch image build: Daily version-tag push 5e550664 CONTRIBUTING: small fixes to commands 726d982c Fix --tls-verify bb447f2f Test both imageOptions and imageDestOptions in TestTLSVerifyFlags 2a98df6b Split testing of --tls-verify into separate TestTLSVerifyFlags a6cf2f42 Add the --tls-verify option to (skopeo logout) 285a5cb6 Fix using images from rate-limited docker hub 02bacf57 Use Fedora container for doccheck ae0595c5 Man page validation: part 2 of 2 ec73ff3d docs: Adding info re container signatures e460b9aa [CI:DOCS] Multi-arch image workflow: Make steps generic ee054863 Update nix pin with `make nixpkgs` 2476e99c Cirrus: Freshen CI images 76103a6c Bump github.com/containers/common from 0.40.1 to 0.41.0 990908bf Bump github.com/containers/storage from 1.32.5 to 1.32.6 ede29c91 Remove an unnecessary break 75f0183e Remove an unnecessary Sprintf 7ace4265 Fix TestDockerRepositoryReferenceParser 3d4fb09f Remove unused code 4efeb71e Set cobra.Command.CompletionOption already in createApp a0ce5421 Bump version to v1.4.0-dev f80bf8a3 Revert "integration tests: disable `ls` for logs" c39b3dc2 CONTRIBUTING: update vendoring instructions 8eaf0329 disable `completion` command aeb75f38 Bump github.com/spf13/cobra from 1.2.0 to 1.2.1 83603a79 Bump github.com/spf13/cobra from 1.1.3 to 1.2.0 6d6c8b56 Update tests for removal of error and Error from error messages 09282bcf Fix some comments in man-page-checker 09ca3ba4 Improve the description of (skopeo list-tags) 22908fb3 Include the mandatory --output option in synopsis of (skopeo standalone-sign) a3725128 Support **non-replaceable strings** in synopsis e4d13920 Use (make validate-local) in the validate target e716b2fa man page checker - part 1 of 2 97eaace7 Cirrus: Rename cross -> osx task, add cross task. 30c0eb03 Bump github.com/containers/ocicrypt from 1.1.1 to 1.1.2 5918513e Cirrus: Add vendor + tree status check b20c2d45 Run unit tests as well, not integration tests twice d0f7339b Bump github.com/containers/storage from 1.32.4 to 1.32.5 012ed661 Reintroduce the GNU semantics of DESTDIR c30b904c Add --retry-times to markdown docs 9fbb9abc Workaround quay.io image build failure 4417dc44 Update brew to avoid 403 on accessing https://homebrew.bintray.com 93b819a7 Fix automation re: master->main rename e7c5e9f7 Bump github.com/containers/storage from 1.32.3 to 1.32.4 1eac38e3 Bump github.com/containers/common from 0.40.0 to 0.40.1 b1e78efa Bump github.com/containers/storage from 1.32.2 to 1.32.3 298f7476 Bump github.com/containers/image/v5 from 5.13.1 to 5.13.2 5778d9bd Fix documentation of the --format option of skopeo copy and skopeo sync df170047 Bump github.com/containers/common from 0.39.0 to 0.40.0 ad4ec8b4 Cirrus: New VM Images w/ podman 3.2.1 abdc4a7e Bump github.com/containers/image/v5 from 5.12.0 to 5.13.1 bcc18ebf Update nix pin with `make nixpkgs` 9b9ef675 Fix multi-arch build version check 9a5f009e [CI:DOCS] Fix docs links due to branch rename 865407ca Bump github.com/containers/storage from 1.32.1 to 1.32.2 10c4c877 Update nix pin with `make nixpkgs` e32f3f17 Bump github.com/docker/docker 76110014 Fix wrong directory name a0b6ea28 Support [CI:DOCS] mode e5cb7ce1 install.md Building Docs needs MacOS section c8060838 Bump github.com/containers/storage from 1.32.0 to 1.32.1 cac3f2b1 Bump github.com/containers/common from 0.38.4 to 0.39.0 6452a9b6 Multi-arch github-action workflow unification 184f0eee Bump github.com/containers/storage from 1.31.1 to 1.31.2 65ed9920 Move to v1.3.1-dev Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-27crun: update to 0.21-latestBruce Ashfield
Bumping crun to version 0.21-15-g360f5d0, which comprises the following commits: 2199d10 tests: update containerd version 1798d5a cgroup: chown cgroup to root b5cdeb5 cgroupv1: add support for setting memory.use_hierarchy 7cfdf09 Makefile.am: link libcrun to $(FOUND_LIBS) d4d1825 linux: treat pidfd_open EINVAL as ESRCH 62149b3 Update nixpkgs ac00581 Dockerfile: delete file c4c3cdf NEWS: release 0.21 69bd7dc Doc: cgroups v2 and RT processes unsupported 6397998 krun/kvm: crun should silently/gracefully switch to krun when needed. 92499bd container: wrap execv in retry-on-eintr b04a335 cgroup: lookup pids controller as well 448494e README.md: drop travis badge 1bbf562 Reflect #696 in crun's manpage e836219 rpm: fix license 2b88faa status: add fields for owner and created timestamp b07c389 criu: fix error check 09401bb linux: fix unitialized variable b222968 cgroup: fix a memory leak Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>