flutter and flutter upgrade failing

Steps to Reproduce
run flutter or flutter upgrade and it will fail with exceptions.
After it failed a few times, I deleted the local git repo and cloned it again. I tried again and had the same result in the log below. I've ran flutter upgrade in the terminal and IDE.
Logs
/Users/branflake2267/git/flutter/bin/flutter --no-color upgrade
Downloading Dart SDK 1.23.0-dev.10.0...
######################################################################## 100.0%
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/server/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/server/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/server/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/search/
          No such file or directory

warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/search/
          No such file or directory
It appears that the downloaded file is corrupt; please try the operation again later.
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/search/
If this problem persists, please report the problem at
https://github.com/flutter/flutter/issues/new
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/execution/

          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/execution/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/execution/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/edit/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/edit/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/edit/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/diagnostic/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/diagnostic/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/diagnostic/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/completion/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/completion/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/completion/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/analysis/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/analysis/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/analysis/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/integration/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/edit/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/edit/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/edit/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/channel/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/channel/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/channel/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/analysis/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/analysis/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/test/analysis/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/utilities/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/utilities/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/utilities/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/status/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/status/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/status/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/source/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/source/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/source/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/search/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/search/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/search/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/refactoring/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/refactoring/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/refactoring/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/index/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/index/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/index/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/dependencies/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/dependencies/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/dependencies/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/correction/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/correction/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/correction/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/completion/dart/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/completion/dart/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/completion/dart/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/completion/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/completion/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/completion/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/services/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/server/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/server/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/server/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/search/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/search/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/search/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/refactoring/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/refactoring/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/refactoring/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/edit/utilities/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/edit/utilities/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/edit/utilities/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/edit/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/edit/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/edit/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/completion/dart/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/completion/dart/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/completion/dart/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/completion/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/completion/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/completion/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/provisional/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/protocol/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/protocol/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/protocol/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/plugin/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/plugin/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/plugin/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/operation/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/operation/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/operation/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/edit/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/edit/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/edit/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/domains/analysis/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/domains/analysis/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/domains/analysis/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/domains/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/domains/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/domains/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/computer/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/computer/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/computer/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/channel/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/channel/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/channel/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/src/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/protocol/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/protocol/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/protocol/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/edit/fix/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/edit/fix/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/edit/fix/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/edit/assist/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/edit/assist/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/edit/assist/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/edit/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/edit/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/edit/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/analysis/occurrences/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/analysis/occurrences/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/analysis/occurrences/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/analysis/navigation/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/analysis/navigation/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/analysis/navigation/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/analysis/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/analysis/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/analysis/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/plugin/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/lib/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/bin/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/bin/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/bin/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/benchmark/perf/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/benchmark/perf/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/benchmark/perf/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/benchmark/integration/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/benchmark/integration/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/benchmark/integration/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/benchmark/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/benchmark/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/analysis_server/benchmark/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/sdk_library_metadata/lib/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/sdk_library_metadata/lib/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/sdk_library_metadata/lib/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/sdk_library_metadata/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/sdk_library_metadata/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/sdk_library_metadata/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/asset/dart/serialize/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/asset/dart/serialize/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/asset/dart/serialize/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/asset/dart/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/asset/dart/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/asset/dart/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/asset/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/asset/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/asset/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/pub/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/lib/shared/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/lib/shared/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/lib/shared/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/lib/preambles/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/lib/preambles/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/lib/preambles/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/lib/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/lib/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/lib/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/js_runtime/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_internal/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_chrome/dartium/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_chrome/dartium/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_chrome/dartium/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_chrome/dart2js/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_chrome/dart2js/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_chrome/dart2js/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_chrome/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_chrome/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_chrome/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_blink/dartium/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_blink/dartium/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_blink/dartium/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_blink/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_blink/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/lib/_blink/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/include/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/include/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/include/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/templates/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/templates/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/templates/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/resources/css/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/resources/css/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/resources/css/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/resources/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/resources/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/resources/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/dartdoc/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/resources/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/snapshots/
warning:  cannot set modif./access times for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/
          No such file or directory
warning:  cannot set permissions for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/
          No such file or directory
warning:  set times/attribs failed for /Users/branflake2267/git/flutter/bin/cache/dart-sdk/bin/
Process finished with exit code 1

Run your application with flutter run and attach all the log output.
Run flutter analyze and attach any output of that command also.

Its not possible to run this, b/c it's trying to upgrade the dart sdk

Flutter Doctor
Paste the output of running flutter doctor here.
Brandons-MacBook-Pro:flutter branflake2267$ flutter doctor
Downloading Dart SDK 1.23.0-dev.10.0...
######################################################################## 100.0%
Building flutter tool...
Downloading Material fonts...                         0.8s
Downloading package sky_engine...                     0.7s
Downloading darwin-x64 tools...                       3.5s
Downloading android-arm-profile/darwin-x64 tools...   1.1s
Downloading android-arm-release/darwin-x64 tools...   1.1s
Downloading android-x86 tools...                      2.3s
Downloading android-x64 tools...                      2.5s
Downloading android-arm tools...                      1.6s
Downloading android-arm-profile tools...              1.6s
Downloading android-arm-release tools...              1.5s
Downloading ios tools...                              3.3s
Downloading ios-profile tools...                      2.7s
Downloading ios-release tools...                      2.5s
[✓] Flutter (on Mac OS X 10.12.4 16E195, channel master)
    • Flutter at /Users/branflake2267/git/flutter
    • Framework revision 91dbb3c91e (18 hours ago), 2017-03-31 16:20:14
    • Engine revision 4c05830aaf
    • Tools Dart version 1.23.0-dev.10.0

[✓] Host Executable Compatibility
    • Downloaded executables execute on host

[✓] Android toolchain - develop for Android devices (Android SDK 25.0.2)
    • Android SDK at /Users/branflake2267/Library/Android/sdk
    • Platform android-25, build-tools 25.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[-] iOS toolchain - develop for iOS devices (Xcode 8.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.3, Build version 8E162
    • ios-deploy 1.9.1
    ✗ CocoaPods not installed. To install:
      brew update
      brew install cocoapods
      pod setup

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Gradle version 3.2
    • Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.1)
    • Dart plugin version 171.4006
    • Flutter plugin version 12.0

[✓] Connected devices
    • None
Brandons-MacBook-Pro:flutter branflake2267$

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

Workaround
Running flutter doctor fixes the flutter upgrade execution issue.
After running flutter doctor, the issue no longer exists.

Interesting.  Maybe running upgrade as the first action doesn't work for some reason.

Sorry to hear. Going to close this unless we can repro this. If it's still happening, please let me know.

@wcauchois just reported hitting this in Gitter just now.

Could this be https://github.com/flutter/flutter/issues/9750 ?


Proposal for renaming

Credentials -> AuthenticationMiddleware It is immediately clear what this class is.
Alternative names - AuthenticationRouterMiddleware. I am fine with the package name as it is now, since it can be any "brand" name - like passport.
CredentialsPluginProtocol -> AuthenticationMiddlwarePlugin.
In the README - Facebook OAuth2 token -> Facebook OAuth2 Access Token based flow or Facebook OAuth2 Bearer Token based flow or Facebook OAuth2 Access Token based authentication. Any description except from plain "Token" word.

@shmuelk @irar2 your comments are welcome.

I like more descriptive names.


Automated merge-ups don't work for developer-docs

Automated merge-ups doesn't work for developer-docs, which is one of the places it's most useful.
Here's an example run: https://github.com/silverstripe/developer-docs/actions/runs/5866307877/job/15904858173

DEFAULT_BRANCH is 5
PHP Fatal error:  Uncaught Exception: Could not work out what the default CMS major version this module uses in /home/runner/work/_actions/silverstripe/gha-merge-up/v1/funcs.php:56
Stack trace:
#0 /home/runner/work/_actions/silverstripe/gha-merge-up/v1/branches.php(8): branches()
#1 {main}
thrown in /home/runner/work/_actions/silverstripe/gha-merge-up/v1/funcs.php on line 56

We should probably just add a special case for docs that just uses the branch name for the cms major version.
PRs

https://github.com/silverstripe/gha-merge-up/pull/12

PR merged. This action now correctly finds the CMS version as expected: https://github.com/silverstripe/developer-docs/actions/runs/5866307877
There's a new failure on that run but it seems like it's more likely either a one-off problem or a systemic problem rather than a problem specific to this module so I'll close this card now.


experiment(bridge-frame): create L1 L2 bridging frame

#238  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jakim929 and the rest of your teammates on  Graphite


refactor(semantic): clean up transform checker

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5094  👈
#5093
#5092
#5091
#5090
#5089
#5088
#5082
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


java error

When I start run_Find_1OpenCLDevice I get this error
Unrecognized option: --illegal-access=permit
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
How I can fix it?
Edit: After I updated the java from java 8 to java 19 seems to work but I got this inside the .txt file generated by the .bat file:
^CPicked up _JAVA_OPTIONS: -Xmx512M
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option --illegal-access=permit; support was removed in 17.0
2022-12-20 16:13:44,696 [main] INFO  net.ladenthin.bitcoinaddressfinder.cli.Main - Find
2022-12-20 16:13:45,650 [main] INFO  net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - ##### BEGIN: LMDB stats #####
2022-12-20 16:13:45,651 [main] INFO  net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - ... this may take a lot of time ...
2022-12-20 16:13:45,715 [main] INFO  net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - DatabaseSize: 4708.55859375 MiB
2022-12-20 16:13:45,715 [main] INFO  net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - IncreasedCounter: 0
2022-12-20 16:13:45,715 [main] INFO  net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - IncreasedSum: 0.0 MiB
2022-12-20 16:13:45,716 [main] INFO  net.ladenthin.bitcoinaddressfinder.persistence.lmdb.LMDBPersistence - Stat: Stat{branchPages=0, depth=1, entries=1, leafPages=1, overflowPages=0, pageSize=4096}
But from Console I cant figure out if it is working or not, this is what should happen?

Hi, which database are you using? You need to wait till ##### END: LMDB stats ##### occur in the file. It may take a lot of time to read the whole database to the RAM. I recommend a SSD.

An example log:
16:54:32.513 [main] INFO  n.l.bitcoinaddressfinder.cli.Main - Find
16:54:32.840 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - ##### BEGIN: LMDB stats #####
16:54:32.840 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - ... this may take a lot of time ...
16:54:32.842 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - DatabaseSize: 4708.55859375 MiB
16:54:32.842 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - IncreasedCounter: 0
16:54:32.842 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - IncreasedSum: 0.0 MiB
16:54:32.843 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - Stat: Stat{branchPages=0, depth=1, entries=1, leafPages=1, overflowPages=0, pageSize=4096}
16:55:41.458 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - LMDB contains 111983796 unique entries.
16:55:41.458 [main] INFO  n.l.b.p.lmdb.LMDBPersistence - ##### END: LMDB stats #####
16:55:51.472 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 0 M keys in 0 minutes] [0 k keys/second] [0 M keys/minute] [Times an empty consumer: 1288] [Average contains time: 0 ms] [keys queue size: 0] [Hits: 0]
16:56:01.464 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 0 M keys in 0 minutes] [0 k keys/second] [0 M keys/minute] [Times an empty consumer: 2864] [Average contains time: 0 ms] [keys queue size: 0] [Hits: 0]
16:56:11.461 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 0 M keys in 0 minutes] [0 k keys/second] [0 M keys/minute] [Times an empty consumer: 4448] [Average contains time: 0 ms] [keys queue size: 0] [Hits: 0]
16:56:21.463 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 0 M keys in 0 minutes] [0 k keys/second] [0 M keys/minute] [Times an empty consumer: 5736] [Average contains time: 0 ms] [keys queue size: 0] [Hits: 0]
16:56:31.462 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 8 M keys in 0 minutes] [164 k keys/second] [8 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:56:41.461 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 24 M keys in 1 minutes] [409 k keys/second] [24 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:56:51.462 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 40 M keys in 1 minutes] [576 k keys/second] [40 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:01.461 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 56 M keys in 1 minutes] [704 k keys/second] [56 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:11.462 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 72 M keys in 1 minutes] [809 k keys/second] [72 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:21.589 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 89 M keys in 1 minutes] [895 k keys/second] [89 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:31.462 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 106 M keys in 1 minutes] [964 k keys/second] [106 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:41.461 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 122 M keys in 2 minutes] [1024 k keys/second] [61 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]
16:57:51.463 [Timer-0] INFO  n.l.b.ConsumerJava - Statistics: [Checked 140 M keys in 2 minutes] [1078 k keys/second] [70 M keys/minute] [Times an empty consumer: 6441] [Average contains time: 0 ms] [keys queue size: 4] [Hits: 0]


Update Details.js

Hi @Ambujinee12 - I'm glad to see you're using this react template! This repo is designed to work well with the sample index so I don't plan to update the field names like you did in your PR (I'm not sure if you intentionally opened the PR on this repo or not).
On a side note, it looks like you're building a document search application. There's a more document-centric version of this reat template at https://github.com/jennifermarsman/cognitive-search-qna-solution that you could check out too. There's a separate ASP.NET MVC template here for document search too: https://github.com/dereklegenzoff/azure-search-react-template


32-bit Integer overflow on MacBook Pro 16" runs macOS 10.15.2

Hello Sir.
Your Fanny app is stunning, I'm using it for a year on my MacBook Pro 13" runs 10.14 Mojave.
Recently i updated to the new MBP 16" with 10.15, and I realize there is an overflow bug in Fanny so that I opened this issue.

Thank you for opening the issue.
This issue is resolved in the latest version of Fanny. Please update https://www.fannywidget.com/


separate multicluster from kcp

This is just an experiment following my question on slack. Hope it's OK to get this drafted as a PR :)
Possible next steps, provided there's interest from others:

[ ] Extract the underlying apiserver setup, aka stuff in cmd code, to its own package so that something like apiserver.WithFlags(flags).WithConfig(config).WithControllers(controllers).Run() is possible
[ ]

Arguably everything in this repo is an "example" (even the kcp binary).  We've got two perspectives on it so far:

kcp looks like it does too much, can I do <simpler> (with the answer yes, of course)
I just want to see the demo run, what do I want to run (kcp mostly)

Best outcome I think for short term is that yes, examples has binaries, with examples of reusing any example libraries we have in pkg/, and that kcp is enough to run the demo.  That almost implies we have examples/minimal-apiserver that is the etcd + apiserver simplification.  Then we set the requirement that anything that goes into kcp must have an example standalone (if it's a concept) and be "librarified" enough that you can reuse it.  Then we can have deeper examples.  I do want to avoid having too much formality around each component example (i.e. so crd normalization can iterate) and keeping the repo clean enough that a random human can at least understand the examples we are building.
Also, I would like to avoid too much syntactic sugar right now and focus on interfaces and structs that feel as close to "no new concepts" as possible, but then have people propose syntactic sugar (like you have) and we can bike shed over time into the final view.
So will concretely look through this a bit more, but I like the perspective and the potential direction.
@imjasonh thoughts?

The original motivation for moving cluster controller + deployment splitter into the kcp binary was to be able to reproduce the demo with one binary running, demonstrating the minimal API server embedded into a binary with things that add meaningful features.
Now that we've done that I think we can split it back out, so long as there are still scripts that get kcp+friends up to a working state where you can demo transparent multicluster.
+1 to having a librarified kcp with examples showing how it's used, even a more basic example that just shows a simple demo CRD, it doesn't have to be the multicluster demo.
Over time I expect/hope that the kcp library becomes a progressively thinner veneer around upstream k8s packages, and just demonstrates how to use those upstream packages to make a minimal embeddable API server, without any new code.

Thanks a lot for your feedback. Would you like me to continue then? Totally fine closing this if it's something that's already on your plate.

@smarterclayton @imjasonh @sttts @stevekuznetsov @pires any updated thoughts on this PR? Keep open or close?

I think we should at least close it for now, but I think we're definitely still interested in the use case of having kcp run a standalone bare API server without multicluster anything.


Sort Property Types Before Printing

Description
See title. Without sorting, the order of property type printing in document_module is not assured.

🚀 [bumpr] Bumped! New version:v1.0.29 Changes:v1.0.28...v1.0.29


bower.commands.init does not generate bower.json file

Output of bower -v && npm -v && node -v:
1.8.0
3.8.9
v6.2.0

Additional environment details (proxy, private registry, etc.):
macOS 10.11.5
Steps to reproduce the issue:
Here is my NPM package definition:
{
  "name": "bower-init",
  "version": "0.0.1",
  "description": "bower-init",
  "scripts": {
    "bower-init": "bin/bower-init.js"
  },
  "dependencies": {
    "bower": "^1.8.0",
    "inquirer": "^3.0.6",
    "shelljs": "^0.7.7"
  },
  "bin": {
    "bower-init": "bin/bower-init.js",
  }
}

I have the following node script bin/bower-init.js:
 #! /usr/bin/env node
 var inquirer =  require('inquirer');
 var bower =  require('bower');
 bower.commands
        .init({interactive: true})
        .on('prompt', function (prompts, callback) {
            inquirer.prompt(prompts, callback);
        })
        .on('end', function(){
            console.log('ended');
        })

The script is ran with NPM: npm run bower-init.

Then, answer to the several prompts.

Describe the results you received:
No bower.json file is generated and the console.log('ended');is never reached.
Describe the results you expected:
It should have generated the bower.json file and log "ended".

Can confirm I get the same result.
I also included an 'error'** event on my test make sure it was not hitting an error and not getting to 'end' but it did not fire.
**
.on('error', function(){
        console.log('error');
})

Ok, Inquirer changed from callback style prototypes to Promises. Using Promise instead make it work:
 .on('prompt', function (prompts, callback) {
    inquirer.prompt(prompts).then(callback);
})

The documentation needs a tiny update in the sample: programmatic-api

I see it's fixed now, thanks!


[BUG]Yurt hub keep restarting every few minutes.

What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

I0618 17:02:49.546974       1 certificate_manager.go:409] Rotating certificates
I0618 17:02:49.547617       1 cert_mgr.go:443] /var/lib/yurthub/yurthub.conf file not exists, so create it
I0618 17:02:49.551566       1 certificate.go:83] waiting for preparing client certificate
I0618 17:02:54.552754       1 certificate.go:83] waiting for preparing client certificate
I0618 17:02:59.552646       1 certificate.go:83] waiting for preparing client certificate
I0618 17:03:04.552659       1 certificate.go:83] waiting for preparing client certificate
I0618 17:03:09.551958       1 certificate.go:83] waiting for preparing client certificate
I0618 17:03:14.551873       1 certificate.go:83] waiting for preparing client certificate
I0618 17:03:19.552681       1 certificate.go:83] waiting for preparing client certificate
I0618 17:03:19.591819       1 cert_mgr.go:371] no join token, so use kubelet config to bootstrap hub
I0618 17:03:19.592431       1 cert_mgr.go:423] avoid tcp conn leak, close old tcp conn that used to rotate certificate
I0618 17:03:19.592499       1 connrotation.go:110] forcibly close 0 connections on <IP_ADDRESS>:6443 for hub certificate manager dialer
I0618 17:03:19.782938       1 connrotation.go:145] create a connection from <IP_ADDRESS>:45698 to <IP_ADDRESS>:6443, total 1 connections in hub certificate manager dialer
I0618 17:03:20.178377       1 reflector.go:175] Starting reflector *v1beta1.CertificateSigningRequest (0s) from pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125
I0618 17:03:20.375686       1 csr.go:121] certificate signing request csr-kppws is issued
I0618 17:03:20.658745       1 reflector.go:181] Stopping reflector *v1beta1.CertificateSigningRequest (0s) from pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125
I0618 17:03:21.663163       1 certificate_manager.go:553] Certificate expiration is 2022-06-18 16:58:34 +0000 UTC, rotation deadline is 2022-03-30 23:46:28.226746726 +0000 UTC
I0618 17:03:21.663255       1 certificate_manager.go:288] Waiting 6846h43m6.563503205s for next certificate rotation
I0618 17:03:24.551874       1 start.go:96] 3. new transport manager
I0618 17:03:24.551955       1 transport.go:60] use /var/lib/yurthub/pki/ca.crt ca cert file to access remote server
I0618 17:03:24.552700       1 start.go:104] 4. create health checker for remote servers
I0618 17:03:24.733350       1 connrotation.go:145] create a connection from <IP_ADDRESS>:45736 to <IP_ADDRESS>:6443, total 1 connections in transport manager dialer
I0618 17:03:25.412806       1 start.go:113] 5. new cache manager with storage wrapper and serializer manager
I0618 17:03:25.413026       1 cache_agent.go:68] reset cache agents to [kubelet kube-proxy flanneld coredns yurttunnel-agent]
I0618 17:03:25.458176       1 start.go:121] 6. new gc manager for node koe-node-ark1123, and gc frequency is a random time between 120 min and 360 min
I0618 17:03:25.458731       1 gc.go:97] list pod keys from storage, total: 5
I0618 17:03:25.461052       1 cert_mgr.go:213] re-fix hub rest config host successfully with server https://<IP_ADDRESS>:6443
I0618 17:03:26.407532       1 gc.go:125] list all of pod that on the node: total: 5
I0618 17:03:26.407625       1 start.go:130] 7. new reverse proxy handler for remote servers
I0618 17:03:26.407673       1 start.go:139] 8. create dummy network interface yurthub-dummy0 and init iptables manager
I0618 17:03:26.408219       1 gc.go:74] start gc events after waiting 577.607µs from previous gc
I0618 17:03:26.413840       1 cert_mgr.go:213] re-fix hub rest config host successfully with server https://<IP_ADDRESS>:6443
I0618 17:03:26.448445       1 gc.go:163] list kubelet event keys from storage, total: 1377
I0618 17:03:26.595912       1 start.go:147] 9. new yurthub server and begin to serve, dummy proxy server: <IP_ADDRESS>:10261
I0618 17:03:26.595982       1 start.go:150] 9. new yurthub server and begin to serve, proxy server: <IP_ADDRESS>:10261, hub server: <IP_ADDRESS>:10267
E0618 17:03:26.633896       1 gc.go:177] could not get kubelet kubelet/events/default/koe-node-ark1123.16896d021878eaf6 event for node(koe-node-ark1123), events "koe-node-ark1123.16896d021878eaf6" is forbidden: User "system:node:koe-node-ark1123" cannot get resource "events" in API group "" in the namespace "default"
I0618 17:03:26.634020       1 gc.go:160] no kube-proxy events in local storage, skip kube-proxy events gc
I0618 17:03:26.948615       1 util.go:232] start proxying: get /api/v1/namespaces/kube-system/pods/yurt-hub-koe-node-ark1123, in flight requests: 1
I0618 17:03:27.151970       1 util.go:215] kubelet get pods: /api/v1/namespaces/kube-system/pods/yurt-hub-koe-node-ark1123 with status code 200, spent 203.164872ms
I0618 17:03:27.154064       1 util.go:232] start proxying: patch /api/v1/namespaces/kube-system/pods/yurt-hub-koe-node-ark1123/status, in flight requests: 1
I0618 17:03:27.184922       1 util.go:232] start proxying: patch /api/v1/namespaces/kube-system/events/kube-proxy-w5klc.16896d02fddc3bb4, in flight requests: 2
I0618 17:03:27.371297       1 util.go:215] kubelet patch pods: /api/v1/namespaces/kube-system/pods/yurt-hub-koe-node-ark1123/status with status code 200, spent 217.1259ms
I0618 17:03:27.387457       1 util.go:215] kubelet patch events: /api/v1/namespaces/kube-system/events/kube-proxy-w5klc.16896d02fddc3bb4 with status code 200, spent 202.313244ms
I0618 17:03:27.388759       1 util.go:232] start proxying: patch /api/v1/namespaces/kube-system/events/yurt-tunnel-agent-25tzz.16896e69075e2279, in flight requests: 1
I0618 17:03:27.477949       1 util.go:232] start proxying: get /api/v1/pods?allowWatchBookmarks=true&fieldSelector=spec.nodeName%3Dkoe-node-ark1123&resourceVersion=4985226&timeoutSeconds=491&watch=true, in flight requests: 2
I0618 17:03:27.578935       1 util.go:215] kubelet patch events: /api/v1/namespaces/kube-system/events/yurt-tunnel-agent-25tzz.16896e69075e2279 with status code 200, spent 190.074715ms
I0618 17:03:27.679818       1 cache_manager.go:302] pod(kubelet/pods/kube-system/yurt-hub-koe-node-ark1123) is MODIFIED
I0618 17:03:27.753157       1 util.go:232] start proxying: get /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 2
I0618 17:03:27.753933       1 util.go:215] kubelet get leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 653.051µs
I0618 17:03:27.759014       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 2
I0618 17:03:27.759401       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 189µs
I0618 17:03:33.421124       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 2
I0618 17:03:33.659951       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 238.689314ms
I0618 17:03:33.732363       1 util.go:232] start proxying: patch /api/v1/namespaces/default/events/koe-node-ark1123.16896d023077cf9e, in flight requests: 2
I0618 17:03:33.735498       1 util.go:232] start proxying: patch /api/v1/nodes/koe-node-ark1123/status?timeout=10s, in flight requests: 3
I0618 17:03:33.971467       1 util.go:215] kubelet patch events: /api/v1/namespaces/default/events/koe-node-ark1123.16896d023077cf9e with status code 200, spent 238.998088ms
I0618 17:03:34.039085       1 util.go:215] kubelet patch nodes: /api/v1/nodes/koe-node-ark1123/status?timeout=10s with status code 200, spent 303.433322ms
I0618 17:03:37.761860       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 2
I0618 17:03:37.762082       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 126.876µs
I0618 17:03:44.040835       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 2
I0618 17:03:44.282259       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 241.184893ms
I0618 17:03:47.735584       1 util.go:232] start proxying: get /api/v1/namespaces/kube-system/configmaps?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dcalico-config&resourceVersion=4986197&timeout=7m10s&timeoutSeconds=430&watch=true, in flight requests: 2
I0618 17:03:47.764190       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 3
I0618 17:03:47.764439       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 136.668µs
I0618 17:03:51.302616       1 util.go:232] start proxying: get /api/v1/namespaces/kube-system/secrets?allowWatchBookmarks=true&fieldSelector=metadata.name%3Ddefault-token-sf5hs&resourceVersion=4982377&timeout=7m23s&timeoutSeconds=443&watch=true, in flight requests: 3
I0618 17:03:52.052831       1 util.go:232] start proxying: get /api/v1/namespaces/kube-system/secrets?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dcalico-node-token-qxb7h&resourceVersion=4353815&timeout=8m28s&timeoutSeconds=508&watch=true, in flight requests: 4
I0618 17:03:54.352602       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 5
I0618 17:03:54.596315       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 243.534683ms
I0618 17:03:56.126431       1 util.go:232] start proxying: get /api/v1/nodes?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dkoe-node-ark1123&resourceVersion=4986166&timeout=8m36s&timeoutSeconds=516&watch=true, in flight requests: 5
I0618 17:03:56.440823       1 util.go:232] start proxying: get /api/v1/namespaces/kube-system/secrets?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dkube-proxy-token-rbh29&resourceVersion=4353815&timeout=8m33s&timeoutSeconds=513&watch=true, in flight requests: 6
I0618 17:03:56.620354       1 util.go:232] start proxying: get /api/v1/services?allowWatchBookmarks=true&resourceVersion=4982157&timeout=7m55s&timeoutSeconds=475&watch=true, in flight requests: 7
I0618 17:03:57.766810       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 8
I0618 17:03:57.767075       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 131.747µs
I0618 17:03:59.969674       1 util.go:232] start proxying: get /apis/node.k8s.io/v1/runtimeclasses?allowWatchBookmarks=true&resourceVersion=1401590&timeout=8m18s&timeoutSeconds=498&watch=true, in flight requests: 8
I0618 17:04:00.149192       1 serializer.go:222] schema.GroupVersionResource{Group:"node.k8s.io", Version:"v1", Resource:"runtimeclasses"} is not found in client-go runtime scheme
E0618 17:04:00.149723       1 cache_manager.go:251] saveWatchObject ended with error, no stream serializers registered for application/vnd.kubernetes.protobuf
E0618 17:04:00.150013       1 remote.go:121] kubelet watch runtimeclasses: https://<IP_ADDRESS>:6443/apis/node.k8s.io/v1/runtimeclasses?allowWatchBookmarks=true&resourceVersion=1401590&timeout=8m18s&timeoutSeconds=498&watch=true response cache ended with error, no stream serializers registered for application/vnd.kubernetes.protobuf
I0618 17:04:04.434798       1 util.go:232] start proxying: get /api/v1/namespaces/kube-system/secrets?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dvsphere-config-secret&resourceVersion=4353815&timeout=6m28s&timeoutSeconds=388&watch=true, in flight requests: 9
I0618 17:04:04.666805       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 10
I0618 17:04:04.880324       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 212.738552ms
I0618 17:04:07.768707       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 10
I0618 17:04:07.768898       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 99.84µs
I0618 17:04:08.724444       1 util.go:232] start proxying: get /api/v1/namespaces/kube-system/configmaps?allowWatchBookmarks=true&fieldSelector=metadata.name%3Dkube-proxy&resourceVersion=4986197&timeout=5m14s&timeoutSeconds=314&watch=true, in flight requests: 10
I0618 17:04:09.192933       1 util.go:232] start proxying: get /apis/storage.k8s.io/v1/csidrivers?allowWatchBookmarks=true&resourceVersion=1401590&timeout=9m52s&timeoutSeconds=592&watch=true, in flight requests: 11
I0618 17:04:14.958235       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:04:15.160352       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 201.923412ms
I0618 17:04:17.771030       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:04:17.771314       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 141.203µs
I0618 17:04:25.230456       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:04:25.434605       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 203.933049ms
I0618 17:04:27.773034       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:04:27.773561       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 418.872µs
I0618 17:04:35.512000       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:04:35.761965       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 249.772606ms
I0618 17:04:37.775751       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:04:37.776040       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 193.152µs
I0618 17:04:45.840451       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:04:46.037736       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 197.004885ms
I0618 17:04:47.777898       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:04:47.778174       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 180.191µs
I0618 17:04:50.659268       1 connrotation.go:48] close connection from <IP_ADDRESS>:45698 to <IP_ADDRESS>:6443 for hub certificate manager dialer, remain 0 connections
I0618 17:04:56.108794       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:04:56.311999       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 203.068223ms
I0618 17:04:57.780183       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:04:57.780432       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 139.44µs
I0618 17:05:06.386709       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:05:06.594158       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 207.329861ms
I0618 17:05:07.781884       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:05:07.782069       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 101.388µs
I0618 17:05:16.664674       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:05:16.865624       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 200.625063ms
I0618 17:05:17.783724       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:05:17.783944       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 125.808µs
I0618 17:05:17.949902       1 util.go:232] start proxying: patch /api/v1/namespaces/kube-system/events/yurt-hub-koe-node-ark1123.16896d5e7711d49d, in flight requests: 12
I0618 17:05:18.154202       1 util.go:215] kubelet patch events: /api/v1/namespaces/kube-system/events/yurt-hub-koe-node-ark1123.16896d5e7711d49d with status code 200, spent 204.193376ms
I0618 17:05:26.935731       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:05:27.135315       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 199.317929ms
I0618 17:05:27.785755       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:05:27.785995       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 134.064µs
I0618 17:05:37.209866       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:05:37.411262       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 201.248667ms
I0618 17:05:37.787623       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:05:37.787896       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 172.692µs
I0618 17:05:47.490796       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:05:47.694155       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 203.237291ms
I0618 17:05:47.789648       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:05:47.789867       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 122.292µs
I0618 17:05:57.764132       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:05:57.792129       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 13
I0618 17:05:57.792402       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 137.111µs
I0618 17:05:57.964061       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 199.797833ms
I0618 17:06:07.794325       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:06:07.794573       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 128.628µs
I0618 17:06:08.032694       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:06:08.233015       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 200.197757ms
I0618 17:06:17.796718       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:06:17.796956       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 129.168µs
I0618 17:06:18.302877       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:06:18.505021       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 202.019726ms
I0618 17:06:27.798399       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:06:27.798590       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 106.056µs
I0618 17:06:28.576870       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:06:28.778665       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 201.262477ms
I0618 17:06:37.800116       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:06:37.800330       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 134.052µs
I0618 17:06:38.854693       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:06:39.052364       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 197.482364ms
I0618 17:06:40.511751       1 util.go:232] start proxying: patch /api/v1/namespaces/kube-system/events/calico-node-4clzd.16896d030ba51f49, in flight requests: 12
I0618 17:06:40.713659       1 util.go:215] kubelet patch events: /api/v1/namespaces/kube-system/events/calico-node-4clzd.16896d030ba51f49 with status code 200, spent 201.812604ms
I0618 17:06:46.951384       1 util.go:232] start proxying: patch /api/v1/namespaces/kube-system/events/kube-proxy-w5klc.16896d02fddc3bb4, in flight requests: 12
I0618 17:06:47.139499       1 util.go:215] kubelet patch events: /api/v1/namespaces/kube-system/events/kube-proxy-w5klc.16896d02fddc3bb4 with status code 200, spent 187.82792ms
I0618 17:06:47.802253       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:06:47.802711       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 361.8µs
I0618 17:06:47.846110       1 cache_manager.go:312] get bookmark with rv 4987344 for kubelet watch configmaps
I0618 17:06:49.118363       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:06:49.386776       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 268.284761ms
I0618 17:06:51.951222       1 util.go:232] start proxying: patch /api/v1/namespaces/kube-system/events/vsphere-csi-node-9s442.16896d02fd9ef8ad, in flight requests: 12
I0618 17:06:52.145199       1 util.go:215] kubelet patch events: /api/v1/namespaces/kube-system/events/vsphere-csi-node-9s442.16896d02fd9ef8ad with status code 200, spent 193.856796ms
I0618 17:06:57.273892       1 cache_manager.go:312] get bookmark with rv 4987488 for kubelet watch nodes
I0618 17:06:57.804673       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:06:57.804929       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 143.1µs
I0618 17:06:59.454703       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:06:59.657398       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 202.561439ms
I0618 17:07:07.806927       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:07:07.807183       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 161.82µs
I0618 17:07:09.092784       1 cache_manager.go:312] get bookmark with rv 4987539 for kubelet watch configmaps
I0618 17:07:09.730474       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:07:09.945734       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 215.129428ms
I0618 17:07:17.809619       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:07:17.809868       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 141.672µs
I0618 17:07:20.029480       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:07:20.233662       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 204.040389ms
I0618 17:07:27.811746       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:07:27.812465       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 611.315µs
I0618 17:07:30.330296       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:07:30.530684       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 200.261907ms
I0618 17:07:37.814415       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:07:37.814652       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 128.316µs
I0618 17:07:40.599808       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:07:40.797344       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 196.745552ms
I0618 17:07:47.816773       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:07:47.817017       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 140.148µs
I0618 17:07:48.707264       1 cache_manager.go:312] get bookmark with rv 4987694 for kubelet watch configmaps
I0618 17:07:50.873097       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:07:51.072392       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 199.161304ms
I0618 17:07:51.266034       1 util.go:232] start proxying: get /v1/healthz, in flight requests: 12
I0618 17:07:51.450327       1 util.go:215]  get : /v1/healthz with status code 403, spent 184.161425ms
I0618 17:07:56.265948       1 util.go:232] start proxying: get /v1/healthz, in flight requests: 12
I0618 17:07:56.446656       1 util.go:215]  get : /v1/healthz with status code 403, spent 180.583175ms
I0618 17:07:57.270523       1 cache_manager.go:312] get bookmark with rv 4987488 for kubelet watch nodes
I0618 17:07:57.818962       1 util.go:232] start proxying: put /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s, in flight requests: 12
I0618 17:07:57.819237       1 util.go:215] kubelet update leases: /apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/koe-node-ark1123?timeout=10s with status code 200, spent 179.724µs
I0618 17:08:01.147265       1 util.go:232] start proxying: get /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s, in flight requests: 12
I0618 17:08:01.265897       1 util.go:232] start proxying: get /v1/healthz, in flight requests: 13
I0618 17:08:01.346910       1 util.go:215] kubelet get nodes: /api/v1/nodes/koe-node-ark1123?resourceVersion=0&timeout=10s with status code 200, spent 199.511573ms
I0618 17:08:01.450131       1 util.go:215]  get : /v1/healthz with status code 403, spent 184.115131ms

@yixingjia The reason of yurthub restarting seems to be the livenessprobe failure. would you check the liveness setting of yurthub is http://<IP_ADDRESS>:10267/v1/healthz or not?
and you can check the newest yurthub yaml here: https://github.com/openyurtio/openyurt/blob/master/config/yaml-template/yurthub.yaml#L42

@rambohe-ch @yixingjia
Should definition of YurthubTemplate
	YurthubTemplate = `
apiVersion: v1
kind: Pod
metadata:
  labels:
    k8s-app: yurt-hub
  name: yurt-hub
  namespace: kube-system
spec:
  volumes:
  - name: hub-dir
    hostPath:
      path: /var/lib/yurthub
      type: DirectoryOrCreate
...

in openyurt/pkg/yurtctl/util/edgenode/common.go be aligned with openyurt/config/yaml-template/yurthub.yaml?
I encountered servant's kubelet restart issue. It recovers if I use the one based on template file instead of the one created by v0.4.0 based on this definition in common.go.

@rambohe-ch @yixingjia
Should definition of YurthubTemplate
	YurthubTemplate = `
apiVersion: v1
kind: Pod
metadata:
  labels:
    k8s-app: yurt-hub
  name: yurt-hub
  namespace: kube-system
spec:
  volumes:
  - name: hub-dir
    hostPath:
      path: /var/lib/yurthub
      type: DirectoryOrCreate
...

in openyurt/pkg/yurtctl/util/edgenode/common.go be aligned with openyurt/config/yaml-template/yurthub.yaml?
I encountered servant's kubelet restart issue. It recovers if I use the one based on template file instead of the one created by v0.4.0 based on this definition in common.go.
Main differences are in the volumes now.

yes, when we using command line tool yurtctl to convert the cluster into OpenYurt environment, it always failed. and We found in this code openyurt/pkg/yurtctl/util/edgenode/common.go  has missing some volume configures.
Could you fix this issue or we will submit a patch on this?
Regards

https://github.com/openyurtio/openyurt/issues/367
Just opened another ticket to follow.
I will try to modify openyurt/pkg/yurtctl/util/edgenode/common.go according to template file locally, and commit a patch if necessary.

yes, when we using command line tool yurtctl to convert the cluster into OpenYurt environment, it always failed. and We found in this code openyurt/pkg/yurtctl/util/edgenode/common.go has missing some volume configures.
Could you fix this issue or we will submit a patch on this?
Regards
@gaofeng1973 Thank you for response,  Very appreciate you to submit a path to solve it.

yes, when we using command line tool yurtctl to convert the cluster into OpenYurt environment, it always failed. and We found in this code openyurt/pkg/yurtctl/util/edgenode/common.go has missing some volume configures.
Could you fix this issue or we will submit a patch on this?
Regards
@gaofeng1973 Thank you for response,  Very appreciate you to submit a path to solve it.

@rambohe-ch
Got it and thanks. Windrow will submit a patch .
Regards

/assign @Windrow

https://github.com/openyurtio/openyurt/pull/370

@yixingjia I think that the problem in this issue has been solved, and because long time not active for this issue, we will close this issue. and if you have any other questions, you can reopen this issue at any time.