ilteoood / docker_buildx

GitHub actions with docker buildx
23 stars 12 forks source link

Getting warning with new "load" option #11

Closed rhastie closed 4 years ago

rhastie commented 4 years ago

I thought you should know... I am getting a warning on execution but is working:

Check warning on line 1 in .github

@github-actions
github-actions
/ docker-buildx-x86-and-test

.github#L1
Unexpected input 'load', valid inputs are ['tag', 'imageName', 'dockerFile', 'buildArg', 'publish', 'platform', 'dockerHubUser', 'dockerHubPassword']
ilteoood commented 4 years ago

Do you have any public log abou this?

rhastie commented 4 years ago

No... But I'll add you now to my private repo...

You can access the GitHub Actions records here: https://github.com/rhastie/build-nmos-cpp/actions/runs/109256758

ilteoood commented 4 years ago

Please retry

rhastie commented 4 years ago

Now getting different errors... Same process that was originally working is now failing.

Log is here: https://github.com/rhastie/build-nmos-cpp/runs/690485292?check_suite_focus=true

2020-05-19T20:28:16.9303773Z ##[group]Run ilteoood/docker_buildx@master
2020-05-19T20:28:16.9303963Z with:
2020-05-19T20:28:16.9304118Z   dockerfile: Dockerfile
2020-05-19T20:28:16.9304272Z   publish: false
2020-05-19T20:28:16.9304432Z   load: true
2020-05-19T20:28:16.9304692Z   imageName: ***/nmos-cpp
2020-05-19T20:28:16.9304846Z   tag: dev
2020-05-19T20:28:16.9304992Z   buildArg: makemt=3
2020-05-19T20:28:16.9305141Z   platform: linux/amd64
2020-05-19T20:28:16.9305289Z env:
2020-05-19T20:28:16.9306432Z   SECRET_GOOGLE_CREDENTIALS: ***
2020-05-19T20:28:16.9306621Z   SECRET_RESULTS_SHEET_ID: ***
2020-05-19T20:28:16.9306774Z   GITHUB_COMMIT: abe8c60
2020-05-19T20:28:16.9306922Z   GITHUB_BRANCH: dev
2020-05-19T20:28:16.9307087Z   GITHUB_WORKSPACE: /home/runner/work/build-nmos-cpp/build-nmos-cpp
2020-05-19T20:28:16.9307269Z   RUNNER_WORKSPACE: /home/runner/work/build-nmos-cpp
2020-05-19T20:28:16.9307432Z   BUILD_NAME: ubuntu-latest_avahi
2020-05-19T20:28:16.9307590Z   TEST_FAIL: FALSE
2020-05-19T20:28:16.9307782Z   GDRIVE_CREDENTIALS: /home/runner/work/build-nmos-cpp/build-nmos-cpp/gdrive/credentials.json
2020-05-19T20:28:16.9307959Z   HOST_IP_ADDRESS: 10.1.0.4
2020-05-19T20:28:16.9308102Z ##[endgroup]
2020-05-19T20:28:17.1857729Z Cloning into 'docker_buildx'...
2020-05-19T20:28:22.4287232Z Unable to find image 'docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3' locally
2020-05-19T20:28:22.7136092Z 820fdd95a9972a5308930a2bdfb8573dd4447ad3: Pulling from docker/binfmt
2020-05-19T20:28:22.8020413Z 2527e2e5bb29: Pulling fs layer
2020-05-19T20:28:22.8031031Z 123e7058f4ec: Pulling fs layer
2020-05-19T20:28:22.8032579Z e0d3f1463c7a: Pulling fs layer
2020-05-19T20:28:22.9000439Z e0d3f1463c7a: Verifying Checksum
2020-05-19T20:28:22.9001354Z e0d3f1463c7a: Download complete
2020-05-19T20:28:22.9367479Z 123e7058f4ec: Verifying Checksum
2020-05-19T20:28:22.9787340Z 2527e2e5bb29: Download complete
2020-05-19T20:28:23.2025842Z 2527e2e5bb29: Pull complete
2020-05-19T20:28:23.2762245Z 123e7058f4ec: Pull complete
2020-05-19T20:28:23.3091886Z e0d3f1463c7a: Pull complete
2020-05-19T20:28:23.3136340Z Digest: sha256:1a3f78d507c9b2115222924aa1c2b0d9f553e47e86f7518d9cae7567bf290ed1
2020-05-19T20:28:23.3144650Z Status: Downloaded newer image for docker/binfmt:820fdd95a9972a5308930a2bdfb8573dd4447ad3
2020-05-19T20:28:26.3890095Z Unable to find image 'multiarch/qemu-user-static:latest' locally
2020-05-19T20:28:26.4900993Z latest: Pulling from multiarch/qemu-user-static
2020-05-19T20:28:26.4901449Z e2334dd9fee4: Pulling fs layer
2020-05-19T20:28:26.4901713Z 9af49f645bc8: Pulling fs layer
2020-05-19T20:28:26.4901976Z ed8a5179ae11: Pulling fs layer
2020-05-19T20:28:26.4902198Z 1ec39da9c97d: Pulling fs layer
2020-05-19T20:28:26.4902423Z 19b0574c3a7f: Pulling fs layer
2020-05-19T20:28:26.4957648Z 1ec39da9c97d: Waiting
2020-05-19T20:28:26.4958039Z 19b0574c3a7f: Waiting
2020-05-19T20:28:26.5646885Z ed8a5179ae11: Verifying Checksum
2020-05-19T20:28:26.5647501Z ed8a5179ae11: Download complete
2020-05-19T20:28:26.5668892Z 9af49f645bc8: Verifying Checksum
2020-05-19T20:28:26.5675137Z 9af49f645bc8: Download complete
2020-05-19T20:28:26.5956164Z e2334dd9fee4: Download complete
2020-05-19T20:28:26.6344211Z 1ec39da9c97d: Verifying Checksum
2020-05-19T20:28:26.6349482Z 1ec39da9c97d: Download complete
2020-05-19T20:28:26.6800142Z e2334dd9fee4: Pull complete
2020-05-19T20:28:26.7516321Z 9af49f645bc8: Pull complete
2020-05-19T20:28:26.8104944Z ed8a5179ae11: Pull complete
2020-05-19T20:28:26.8754104Z 1ec39da9c97d: Pull complete
2020-05-19T20:28:27.0145778Z 19b0574c3a7f: Verifying Checksum
2020-05-19T20:28:27.0148774Z 19b0574c3a7f: Download complete
2020-05-19T20:28:28.1316083Z 19b0574c3a7f: Pull complete
2020-05-19T20:28:28.1335874Z Digest: sha256:c4bbb826aff01aacd5c73bc29401751ef045d8f0ed05f067aab1ce1072db20f0
2020-05-19T20:28:28.1356602Z Status: Downloaded newer image for multiarch/qemu-user-static:latest
2020-05-19T20:28:30.2296550Z Setting /usr/bin/qemu-alpha-static as binfmt interpreter for alpha
2020-05-19T20:28:30.2304059Z Setting /usr/bin/qemu-arm-static as binfmt interpreter for arm
2020-05-19T20:28:30.2307618Z Setting /usr/bin/qemu-armeb-static as binfmt interpreter for armeb
2020-05-19T20:28:30.2315337Z Setting /usr/bin/qemu-sparc-static as binfmt interpreter for sparc
2020-05-19T20:28:30.2318899Z Setting /usr/bin/qemu-sparc32plus-static as binfmt interpreter for sparc32plus
2020-05-19T20:28:30.2327979Z Setting /usr/bin/qemu-sparc64-static as binfmt interpreter for sparc64
2020-05-19T20:28:30.2334707Z Setting /usr/bin/qemu-ppc-static as binfmt interpreter for ppc
2020-05-19T20:28:30.2341531Z Setting /usr/bin/qemu-ppc64-static as binfmt interpreter for ppc64
2020-05-19T20:28:30.2365136Z Setting /usr/bin/qemu-ppc64le-static as binfmt interpreter for ppc64le
2020-05-19T20:28:30.2372870Z Setting /usr/bin/qemu-m68k-static as binfmt interpreter for m68k
2020-05-19T20:28:30.2375416Z Setting /usr/bin/qemu-mips-static as binfmt interpreter for mips
2020-05-19T20:28:30.2383749Z Setting /usr/bin/qemu-mipsel-static as binfmt interpreter for mipsel
2020-05-19T20:28:30.2397493Z Setting /usr/bin/qemu-mipsn32-static as binfmt interpreter for mipsn32
2020-05-19T20:28:30.2406013Z Setting /usr/bin/qemu-mipsn32el-static as binfmt interpreter for mipsn32el
2020-05-19T20:28:30.2409089Z Setting /usr/bin/qemu-mips64-static as binfmt interpreter for mips64
2020-05-19T20:28:30.2417120Z Setting /usr/bin/qemu-mips64el-static as binfmt interpreter for mips64el
2020-05-19T20:28:30.2426572Z Setting /usr/bin/qemu-sh4-static as binfmt interpreter for sh4
2020-05-19T20:28:30.2432443Z Setting /usr/bin/qemu-sh4eb-static as binfmt interpreter for sh4eb
2020-05-19T20:28:30.2439945Z Setting /usr/bin/qemu-s390x-static as binfmt interpreter for s390x
2020-05-19T20:28:30.2446755Z Setting /usr/bin/qemu-aarch64-static as binfmt interpreter for aarch64
2020-05-19T20:28:30.2453650Z Setting /usr/bin/qemu-aarch64_be-static as binfmt interpreter for aarch64_be
2020-05-19T20:28:30.2460337Z Setting /usr/bin/qemu-hppa-static as binfmt interpreter for hppa
2020-05-19T20:28:30.2470090Z Setting /usr/bin/qemu-riscv32-static as binfmt interpreter for riscv32
2020-05-19T20:28:30.2475433Z Setting /usr/bin/qemu-riscv64-static as binfmt interpreter for riscv64
2020-05-19T20:28:30.2484351Z Setting /usr/bin/qemu-xtensa-static as binfmt interpreter for xtensa
2020-05-19T20:28:30.2489518Z Setting /usr/bin/qemu-xtensaeb-static as binfmt interpreter for xtensaeb
2020-05-19T20:28:30.2496705Z Setting /usr/bin/qemu-microblaze-static as binfmt interpreter for microblaze
2020-05-19T20:28:30.2503760Z Setting /usr/bin/qemu-microblazeel-static as binfmt interpreter for microblazeel
2020-05-19T20:28:30.2517380Z Setting /usr/bin/qemu-or1k-static as binfmt interpreter for or1k
2020-05-19T20:28:30.5159532Z actions_builder
2020-05-19T20:28:30.6221856Z #1 [internal] booting buildkit
2020-05-19T20:28:30.7721095Z #1 pulling image moby/buildkit:buildx-stable-1
2020-05-19T20:28:32.1232178Z #1 pulling image moby/buildkit:buildx-stable-1 1.4s done
2020-05-19T20:28:32.1233507Z #1 creating container buildx_buildkit_actions_builder0
2020-05-19T20:28:36.3301453Z #1 creating container buildx_buildkit_actions_builder0 4.3s done
2020-05-19T20:28:36.3301762Z #1 ERROR: exit code 1
2020-05-19T20:28:36.3302590Z ------
2020-05-19T20:28:36.3302751Z  > [internal] booting buildkit:
2020-05-19T20:28:36.3303271Z ------
2020-05-19T20:28:56.3372838Z Supported platforms: 
2020-05-19T20:28:56.6304608Z #1 [internal] load .dockerignore
2020-05-19T20:28:56.6307098Z #1 transferring context: 2B done
2020-05-19T20:28:56.6309233Z #1 DONE 0.0s
2020-05-19T20:28:56.6309387Z 
2020-05-19T20:28:56.6309599Z #2 [internal] load build definition from Dockerfile
2020-05-19T20:28:56.6309823Z #2 transferring dockerfile: 6.72kB done
2020-05-19T20:28:56.6310034Z #2 DONE 0.0s
2020-05-19T20:28:56.6310116Z 
2020-05-19T20:28:56.6310332Z #3 [internal] load metadata for docker.io/library/ubuntu:bionic
2020-05-19T20:29:16.5976855Z #3 ERROR: failed to do request: Head https://registry-1.docker.io/v2/library/ubuntu/manifests/bionic: dial tcp: lookup registry-1.docker.io on 168.63.129.16:53: read udp 172.17.0.2:39330->168.63.129.16:53: i/o timeout
2020-05-19T20:29:16.5977322Z 
2020-05-19T20:29:16.5977548Z #14 [internal] load build context
2020-05-19T20:29:16.5977876Z #14 DONE 0.0s
2020-05-19T20:29:16.5978031Z 
2020-05-19T20:29:16.5978510Z #4 [stage1-build  1/16] FROM docker.io/library/ubuntu:bionic
2020-05-19T20:29:16.5978752Z #4 resolve docker.io/library/ubuntu:bionic
2020-05-19T20:29:36.5077547Z #4 resolve docker.io/library/ubuntu:bionic 20.0s done
2020-05-19T20:29:36.5089603Z #4 ERROR: failed to do request: Head https://registry-1.docker.io/v2/library/ubuntu/manifests/bionic: dial tcp: lookup registry-1.docker.io on 168.63.129.16:53: read udp 172.17.0.2:36838->168.63.129.16:53: i/o timeout
2020-05-19T20:29:36.5094536Z ------
2020-05-19T20:29:36.5111472Z  > [internal] load metadata for docker.io/library/ubuntu:bionic:
2020-05-19T20:29:36.5115248Z ##[error]Command failed: docker_buildx/scripts/docker_build.sh linux/amd64 ***/nmos-cpp dev Dockerfile false makemt=3 true 
2020-05-19T20:29:36.5120016Z ------
2020-05-19T20:29:36.5127903Z ------
2020-05-19T20:29:36.5128260Z  > [stage1-build  1/16] FROM docker.io/library/ubuntu:bionic:
2020-05-19T20:29:36.5128558Z ------
2020-05-19T20:29:36.5129216Z failed to solve: rpc error: code = Unknown desc = failed to load cache key: failed to do request: Head https://registry-1.docker.io/v2/library/ubuntu/manifests/bionic: dial tcp: lookup registry-1.docker.io on 168.63.129.16:53: read udp 172.17.0.2:36838->168.63.129.16:53: i/o timeout
rhastie commented 4 years ago

Resolved the above error... Don't accidentally flush the IP address from docker0