build-windows1809
Passed Started
by
@ajwalker
Arran Walker
1Running with gitlab-runner 14.8.0 (565b6c0b)2 on windows-shared-runners-manager 6QgxEPvR5Using Custom executor with driver autoscaler 0.1.0 (495ee7a)...6Creating virtual machine for the job...7Virtual machine created!9Running on PACKER-5F1153D4 via 10runner-wsrm-2379096767...12Fetching changes with git depth set to 50...13Initialized empty Git repository in C:/GitLab-Runner/builds/gitlab-org/ci-cd/tests/liveness/.git/14Created fresh repository.15Checking out a9c663a2 as master...16git-lfs/2.8.0 (GitHub; windows amd64; go 1.12.2; git 30af66bb)17Skipping Git submodules setup19WARNING: Starting with version 14.0 the 'build_script' stage will be replaced with 'step_script': https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2642620$ choco install -y make21Chocolatey v0.10.1522Installing the following packages:23make24By installing you accept licenses for the packages.25Progress: Downloading make 4.3... 100%26make v4.3 [Approved]27make package files install completed. Performing other installation steps.28 ShimGen has successfully created a shim for make.exe29 The install of make was successful.30 Software install location not explicitly set, could be in package or31 default install location if installer.32Chocolatey installed 1/1 packages. 33 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).34$ docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY35WARNING! Using --password via the CLI is insecure. Use --password-stdin.36Login Succeeded37$ make build-windows WINDOWS_PLATFORMS=nanoserver-180938WARNING! Your password will be stored unencrypted in C:\Users\gitlab_runner\.docker\config.json.39Configure a credential helper to remove this warning. See41make[1]: Entering directory 'C:/GitLab-Runner/builds/gitlab-org/ci-cd/tests/liveness'42Sending build context to Docker daemon 107.5kB43Step 1/13 : ARG TAG=180944Step 2/13 : ARG GOLANG_TAG=${TAG}45Step 3/13 : FROM rancher/golang:1.16-windowsservercore-${GOLANG_TAG} AS builder461.16-windowsservercore-1809: Pulling from rancher/golang474612f6d0b889: Already exists481bd78008c728: Pulling fs layer49b35142b840c3: Pulling fs layer50f1d7261ab623: Pulling fs layer51f13115dd4887: Pulling fs layer5258f6a7772ef1: Pulling fs layer53ddaa710dca14: Pulling fs layer54f67baa8d92ff: Pulling fs layer55ec707bb72189: Pulling fs layer566b487045ca65: Pulling fs layer571dfff224ce34: Pulling fs layer581ab6edfe39c1: Pulling fs layer5987f46789c0bf: Pulling fs layer60a8ffde28aa00: Pulling fs layer612a335ed1861f: Pulling fs layer622a9ec709d81a: Pulling fs layer634cad22b99ad7: Pulling fs layer64f13115dd4887: Waiting6558f6a7772ef1: Waiting66ddaa710dca14: Waiting67f67baa8d92ff: Waiting68ec707bb72189: Waiting696b487045ca65: Waiting701dfff224ce34: Waiting711ab6edfe39c1: Waiting7287f46789c0bf: Waiting73a8ffde28aa00: Waiting742a335ed1861f: Waiting752a9ec709d81a: Waiting764cad22b99ad7: Waiting77f1d7261ab623: Download complete78b35142b840c3: Verifying Checksum79b35142b840c3: Download complete80f13115dd4887: Verifying Checksum81f13115dd4887: Download complete8258f6a7772ef1: Verifying Checksum8358f6a7772ef1: Download complete84ddaa710dca14: Download complete85ec707bb72189: Verifying Checksum86ec707bb72189: Download complete876b487045ca65: Verifying Checksum886b487045ca65: Download complete891dfff224ce34: Download complete90f67baa8d92ff: Verifying Checksum91f67baa8d92ff: Download complete9287f46789c0bf: Verifying Checksum9387f46789c0bf: Download complete94a8ffde28aa00: Verifying Checksum95a8ffde28aa00: Download complete962a335ed1861f: Download complete972a9ec709d81a: Verifying Checksum982a9ec709d81a: Download complete994cad22b99ad7: Verifying Checksum1004cad22b99ad7: Download complete1011ab6edfe39c1: Verifying Checksum1021ab6edfe39c1: Download complete1031bd78008c728: Verifying Checksum1041bd78008c728: Download complete1051bd78008c728: Pull complete106b35142b840c3: Pull complete107f1d7261ab623: Pull complete108f13115dd4887: Pull complete10958f6a7772ef1: Pull complete110ddaa710dca14: Pull complete111f67baa8d92ff: Pull complete112ec707bb72189: Pull complete1136b487045ca65: Pull complete1141dfff224ce34: Pull complete1151ab6edfe39c1: Pull complete11687f46789c0bf: Pull complete117a8ffde28aa00: Pull complete1182a335ed1861f: Pull complete1192a9ec709d81a: Pull complete1204cad22b99ad7: Pull complete121Digest: sha256:562f0fb016f90c22717eec812c72f70f349cf7fa4be3e3359dac1bf54d5d2c91122Status: Downloaded newer image for rancher/golang:1.16-windowsservercore-1809123 ---> cf9e8d4f8308124Step 4/13 : WORKDIR C:/gopath/src/liveness125 ---> Running in 6b0e99061824126Removing intermediate container 6b0e99061824127 ---> 9dfaf7f5809e128Step 5/13 : COPY . .129 ---> cb6c57ea9e95130Step 6/13 : RUN go build -ldflags='-w -s' -o C:/gopath/bin/liveness.exe131 ---> Running in f3a5dcc38815132Removing intermediate container f3a5dcc38815133 ---> 70e845649884134Step 7/13 : FROM mcr.microsoft.com/powershell:7.1.4-nanoserver-${TAG}1357.1.4-nanoserver-1809: Pulling from powershell1363585a81ca503: Pulling fs layer1378ca38a8d47ea: Pulling fs layer1385f00c35c62c4: Pulling fs layer13905c0aff3732e: Pulling fs layer1408dea282bad1f: Pulling fs layer141889e29bdbbe2: Pulling fs layer1427ef166ee9b38: Pulling fs layer1435fc1023b1c49: Pulling fs layer144bfd753e8ed81: Pulling fs layer14505c0aff3732e: Waiting1468dea282bad1f: Waiting147889e29bdbbe2: Waiting1487ef166ee9b38: Waiting1495fc1023b1c49: Waiting150bfd753e8ed81: Waiting1518ca38a8d47ea: Verifying Checksum1528ca38a8d47ea: Download complete1535f00c35c62c4: Verifying Checksum1545f00c35c62c4: Download complete15505c0aff3732e: Verifying Checksum15605c0aff3732e: Download complete1573585a81ca503: Verifying Checksum1583585a81ca503: Download complete1598dea282bad1f: Verifying Checksum1608dea282bad1f: Download complete1617ef166ee9b38: Verifying Checksum1627ef166ee9b38: Download complete1635fc1023b1c49: Verifying Checksum1645fc1023b1c49: Download complete165bfd753e8ed81: Verifying Checksum166bfd753e8ed81: Download complete167889e29bdbbe2: Verifying Checksum168889e29bdbbe2: Download complete1693585a81ca503: Pull complete1708ca38a8d47ea: Pull complete1715f00c35c62c4: Pull complete17205c0aff3732e: Pull complete1738dea282bad1f: Pull complete174889e29bdbbe2: Pull complete1757ef166ee9b38: Pull complete1765fc1023b1c49: Pull complete177bfd753e8ed81: Pull complete178Digest: sha256:e8784055c25a9b1072d84cfa55f2337ec7eaf20fd60bc96d9a49fcb2ba161472179Status: Downloaded newer image for mcr.microsoft.com/powershell:7.1.4-nanoserver-1809180 ---> a9566702c655181Step 8/13 : COPY --from=builder C:/gopath/bin/liveness.exe C:/go/bin/liveness.exe182 ---> c62832ea7535183Step 9/13 : USER ContainerAdministrator184 ---> Running in 71d5ab7298b6185Removing intermediate container 71d5ab7298b6186 ---> 277a6a35a429187Step 10/13 : RUN setx /M PATH "%PATH%C:\go\bin\;"188 ---> Running in 5abe37546373189SUCCESS: Specified value was saved.190Removing intermediate container 5abe37546373191 ---> f879478ace8f192Step 11/13 : USER ContainerUser193 ---> Running in 683a13721b7c194Removing intermediate container 683a13721b7c195 ---> 55d4f4f181d8196Step 12/13 : ENTRYPOINT ["liveness"]197 ---> Running in bee03c5b9d82198Removing intermediate container bee03c5b9d82199 ---> 1fa4b46ee863200Step 13/13 : EXPOSE 80/tcp201 ---> Running in f8a32991bc83202Removing intermediate container f8a32991bc83203 ---> e83dcc57cc80204Successfully built e83dcc57cc80205Successfully tagged registry.gitlab.com/gitlab-org/ci-cd/tests/liveness:0.1.0-nanoserver-1809-a9c663a2206make[1]: Leaving directory 'C:/GitLab-Runner/builds/gitlab-org/ci-cd/tests/liveness'207$ make push208The push refers to repository [registry.gitlab.com/gitlab-org/ci-cd/tests/liveness]2092814a195150e: Preparing2102b4c9370ec38: Preparing211d51be395f9b4: Preparing212990efc449256: Preparing213c69789b65e06: Preparing214cef3752ff9b7: Preparing215c05a67beb677: Preparing216731cc88e9c69: Preparing2175aa91e0a6f9d: Preparing21855ecfc2ba689: Preparing219ebb9208687f6: Preparing220219170c3ef23: Preparing221cd3b79e06de9: Preparing2220724213cab76: Preparing223d884c38d8a71: Preparing224cef3752ff9b7: Waiting225c05a67beb677: Waiting226731cc88e9c69: Waiting2275aa91e0a6f9d: Waiting22855ecfc2ba689: Waiting229ebb9208687f6: Waiting230219170c3ef23: Waiting231cd3b79e06de9: Waiting2320724213cab76: Waiting233d884c38d8a71: Waiting234c69789b65e06: Pushed2352b4c9370ec38: Pushed2362814a195150e: Pushed237990efc449256: Pushed238d51be395f9b4: Pushed239c05a67beb677: Layer already exists240731cc88e9c69: Layer already exists24155ecfc2ba689: Layer already exists2425aa91e0a6f9d: Layer already exists243d884c38d8a71: Skipped foreign layer244ebb9208687f6: Layer already exists245219170c3ef23: Layer already exists246cd3b79e06de9: Layer already exists2470724213cab76: Layer already exists248cef3752ff9b7: Pushed2490.1.0-nanoserver-1809-a9c663a2: digest: sha256:061be28e13477a5fb5a9701aa1990fdb918fd191e3a0dfee5c5e97d1ae1d856d size: 3629251Job succeeded