Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ci machine for docker on macos #7240

Merged
merged 1 commit into from
Apr 15, 2020

Conversation

medyagh
Copy link
Member

@medyagh medyagh commented Mar 25, 2020

Update

we cant connect to our mac os machines because of this
#7251

till that ticket is solved we can not verify if this PR works.

Original PR description

our docker installation on mac os machine keeps crashing. seems like it is an issue for anyone using docker as in CI on mac os.

while trying to make docker work on travis on mac os I stumpled upon an old code of mine:
https://github.com/medyagh/travis-macos-experiment/blob/8fb615e2803a65e8bcbf4b7ec08ab237f8914adb/install_docker_hyperkit_on_travis.sh#L9

sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended &

that I noticed other people have seen same issue.
More info

docker/for-mac#882 (comment)
docker/for-mac#882 (comment)


Bottom line: MAYBE be fixes our docker installation on mac os CIs

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 25, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: medyagh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 25, 2020
@codecov-io
Copy link

Codecov Report

Merging #7240 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #7240   +/-   ##
=======================================
  Coverage   37.88%   37.88%           
=======================================
  Files         147      147           
  Lines        9065     9065           
=======================================
  Hits         3434     3434           
  Misses       5206     5206           
  Partials      425      425           

@medyagh
Copy link
Member Author

medyagh commented Mar 26, 2020

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Mar 26, 2020
@minikube-pr-bot
Copy link

Error: running mkcmp: exit status 1

@medyagh medyagh changed the title fix ci machine for docker on macos wip: fix ci machine for docker on macos Mar 26, 2020
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 26, 2020
@minikube-pr-bot
Copy link

Times for minikube: [65.565656003 65.79685391 64.961245149]
Average time for minikube: 65.44125168733333

Times for Minikube (PR 7240): [83.69351380799998 67.43253631600001 70.85761586800001]
Average time for Minikube (PR 7240): 73.99455533066666

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.052644 |                    |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.019980 |           0.020360 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003099 |                    |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.430285 |          47.902103 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.017932 |                    |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.842264 |           2.035119 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.071612 |           0.080337 |
| configured to use "minikube"   |           |                    |
|                                |  0.003436 |           0.000163 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [66.404331902 65.09086952599999 66.485362838]
Average time for minikube: 65.993521422

Times for Minikube (PR 7240): [71.799336049 71.88493954900001 70.439643144]
Average time for Minikube (PR 7240): 71.37463958066667

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.055043 |                    |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.019739 |           0.022526 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003415 |                    |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.671899 |          44.033380 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 21.938332 |                    |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.230323 |           2.059565 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.071606 |           0.093217 |
| configured to use "minikube"   |           |                    |
|                                |  0.003164 |           0.053210 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [67.656151646 66.81321036000001 67.445661271]
Average time for minikube: 67.30500775900002

Times for Minikube (PR 7240): [74.601816788 71.47137028700001 72.691099603]
Average time for Minikube (PR 7240): 72.92142889266665

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.053818 |                    |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.019992 |           0.021024 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.002939 |                    |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.519523 |          45.356653 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 23.651057 |                    |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.974179 |           2.225572 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.080414 |           0.075853 |
| configured to use "minikube"   |           |                    |
|                                |  0.003086 |           0.000088 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [67.01222344899999 65.41998020599999 70.255176834]
Average time for minikube: 67.56246016299998

Times for Minikube (PR 7240): [68.014437538 70.99696362400002 68.540324046]
Average time for Minikube (PR 7240): 69.18390840266666

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.055485 |                    |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020008 |           0.021141 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003367 |                    |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.626466 |          43.458067 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 23.827498 |                    |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.950562 |           2.026304 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.075704 |           0.088839 |
| configured to use "minikube"   |           |                    |
|                                |  0.003369 |          23.530042 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [68.071767985 64.57687968500001 64.859847204]
Average time for minikube: 65.836164958

Times for Minikube (PR 7240): [69.01536594000001 67.759602232 71.673439813]
Average time for Minikube (PR 7240): 69.48280266166667

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.053645 |                    |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020072 |           0.020728 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003642 |                    |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.154616 |          43.780988 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.576385 |                    |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.949658 |           2.198168 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.075387 |           0.077807 |
| configured to use "minikube"   |           |                    |
|                                |  0.002759 |           0.000117 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [65.494496089 64.710554206 66.865664004]
Average time for minikube: 65.69023809966667

Times for Minikube (PR 7240): [71.470709741 70.156092163 69.16862849200001]
Average time for Minikube (PR 7240): 70.26514346533334

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.055404 |                    |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020503 |           0.022972 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003139 |                    |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.465550 |          43.595609 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.773539 |                    |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.291869 |           2.079656 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.077323 |           0.079838 |
| configured to use "minikube"   |           |                    |
|                                |  0.002910 |           0.056300 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [69.81335502499999 63.492454871999996 65.155684765]
Average time for minikube: 66.153831554

Times for Minikube (PR 7240): [69.904128065 69.095540164 71.289013856]
Average time for Minikube (PR 7240): 70.09622736166666

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.056561 |                    |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.021240 |           0.021226 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003871 |                    |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.462730 |          43.312560 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.461521 |                    |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.071715 |           2.466115 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.073171 |           0.084064 |
| configured to use "minikube"   |           |                    |
|                                |  0.003021 |           0.000249 |
+--------------------------------+-----------+--------------------+

@tstromberg
Copy link
Contributor

/ok-to-test

@minikube-pr-bot
Copy link

Times for minikube: [64.377856347 64.251842912 66.45898177400001]
Average time for minikube: 65.02956034433333

Times for Minikube (PR 7240): [67.18599887999999 68.106887098 72.434374335]
Average time for Minikube (PR 7240): 69.24242010433333

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.055168 |                    |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020435 |           0.021321 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003272 |                    |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 40.873729 |          42.998222 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.152082 |                    |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  1.847930 |           2.240991 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.074110 |           0.081034 |
| configured to use "minikube"   |           |                    |
|                                |  0.002834 |           0.000171 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [66.450912467 66.004321671 64.88725684]
Average time for minikube: 65.780830326

Times for Minikube (PR 7240): [67.237980421 65.676645471 69.14877263000001]
Average time for Minikube (PR 7240): 67.354466174

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.056261 |           0.055405 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.019823 |           0.020702 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003721 |           0.003628 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.248516 |          40.697883 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 22.111048 |          24.069060 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.255378 |           2.419387 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.083027 |           0.083502 |
| configured to use "minikube"   |           |                    |
|                                |  0.003057 |           0.004898 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [70.129495092 66.69597175799997 74.323823423]
Average time for minikube: 70.38309675766666

Times for Minikube (PR 7240): [65.12903806 66.08796030300002 64.90244299700001]
Average time for Minikube (PR 7240): 65.37314712000001

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.054605 |           0.055204 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.020653 |           0.020882 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003371 |           0.003638 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 44.556373 |          40.333287 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 23.499491 |          22.633766 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.167764 |           2.241349 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.075884 |           0.081136 |
| configured to use "minikube"   |           |                    |
|                                |  0.004955 |           0.003885 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [64.140303679 67.050565013 65.798154172]
Average time for minikube: 65.66300762133334

Times for Minikube (PR 7240): [65.649524847 65.89584441299999 67.28930543199999]
Average time for Minikube (PR 7240): 66.27822489733333

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.055382 |           0.055920 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.019895 |           0.020573 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003961 |           0.003544 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 41.405904 |          41.641462 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 21.570097 |          21.965982 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.521132 |           2.509283 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.082393 |           0.078097 |
| configured to use "minikube"   |           |                    |
|                                |  0.004244 |           0.003364 |
+--------------------------------+-----------+--------------------+

@minikube-pr-bot
Copy link

Times for minikube: [64.74168413999999 65.817243782 66.128972804]
Average time for minikube: 65.56263357533334

Times for Minikube (PR 7240): [65.696214617 65.766896284 64.282270482]
Average time for Minikube (PR 7240): 65.248460461

Averages Time Per Log

+--------------------------------+-----------+--------------------+
|              LOG               | MINIKUBE  | MINIKUBE (PR 7240) |
+--------------------------------+-----------+--------------------+
| * minikube v1.9.2 on Debian    |  0.052419 |           0.052487 |
|                           9.11 |           |                    |
| * Using the kvm2 driver based  |  0.018404 |           0.018614 |
| on user configuration          |           |                    |
| * Starting control plane node  |  0.003093 |           0.004429 |
| minikube in cluster minikube   |           |                    |
| * Creating kvm2 VM (CPUs=2,    | 39.889455 |          39.990084 |
| Memory=3700MB, Disk=20000MB)   |           |                    |
| ...                            |           |                    |
| * Preparing Kubernetes v1.18.0 | 23.295709 |          23.167780 |
| on Docker 19.03.8 ...          |           |                    |
| * Enabling addons:             |  2.223392 |           1.937190 |
| default-storageclass,          |           |                    |
| storage-provisioner            |           |                    |
| * Done! kubectl is now         |  0.076596 |           0.074493 |
| configured to use "minikube"   |           |                    |
|                                |  0.003565 |           0.003384 |
+--------------------------------+-----------+--------------------+

@medyagh medyagh changed the title wip: fix ci machine for docker on macos fix ci machine for docker on macos Apr 15, 2020
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 15, 2020
@medyagh medyagh merged commit 442c2dc into kubernetes:master Apr 15, 2020
@medyagh medyagh deleted the macos_ci_docker branch May 2, 2020 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants