Pull request #164 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5a28157ce755f88c21a63d05b145494c7f51f86e+ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (97d79ec464a42ddd024c1b958f2125952adda551) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5291851851184904065.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16656169773329622937.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-164/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-164/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11425760830027038907.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-164/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18138796203667745091.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9137882491098536374.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-164/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-164/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4256077084701666572.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9278 in /w/workspace/gexfoundry_device-rest-go_PR-164 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-164 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 5a28157ce755f88c21a63d05b145494c7f51f86e Merge succeeded, producing 5a28157ce755f88c21a63d05b145494c7f51f86e Checking out Revision 5a28157ce755f88c21a63d05b145494c7f51f86e (PR-164) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a28157ce755f88c21a63d05b145494c7f51f86e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a28157ce755f88c21a63d05b145494c7f51f86e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:04:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:04:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:04:36 ========================================================= 20:04:36 EdgeX Global Pipelines Version Info 20:04:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:37 ------------------- 20:04:37 stable info: 20:04:37 ------------------- 20:04:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:37 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:04:37 Message: update stable to v1.0.221 20:04:37 ------------------- 20:04:37 experimental info: 20:04:37 ------------------- 20:04:37 Commited By: **** collab-it+edgex@linuxfoundation.org 20:04:37 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:04:37 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:04:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-164 [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-164 [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-164 [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a28157ce755f88c21a63d05b145494c7f51f86e [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a28157 [Pipeline] echo 20:04:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:39 provisioning config files... 20:04:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/config3441345157917861882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:39 ---> docker-login.sh 20:04:39 nexus3.edgexfoundry.org:10001 20:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:39 Configure a credential helper to remove this warning. See 20:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:39 20:04:39 Login Succeeded 20:04:39 nexus3.edgexfoundry.org:10002 20:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:40 Configure a credential helper to remove this warning. See 20:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:40 20:04:40 Login Succeeded 20:04:40 nexus3.edgexfoundry.org:10003 20:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:40 Configure a credential helper to remove this warning. See 20:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:40 20:04:40 Login Succeeded 20:04:40 nexus3.edgexfoundry.org:10004 20:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:40 Configure a credential helper to remove this warning. See 20:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:40 20:04:40 Login Succeeded 20:04:40 docker.io 20:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:40 Configure a credential helper to remove this warning. See 20:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:40 20:04:40 Login Succeeded 20:04:40 ---> docker-login.sh ends [Pipeline] } 20:04:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:04:41 + git rev-list -1 --merges 5a28157ce755f88c21a63d05b145494c7f51f86e~1..5a28157ce755f88c21a63d05b145494c7f51f86e [Pipeline] echo 20:04:41 -----------> git rev-list -1 --merges 5a28157ce755f88c21a63d05b145494c7f51f86e~1..5a28157ce755f88c21a63d05b145494c7f51f86e 5a28157ce755f88c21a63d05b145494c7f51f86e [false] [Pipeline] sh 20:04:41 + git log --format=format:%s -1 5a28157ce755f88c21a63d05b145494c7f51f86e [Pipeline] echo 20:04:41 ========================================================= 20:04:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:04:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:42 + git log --format=format:%s -1 5a28157ce755f88c21a63d05b145494c7f51f86e [Pipeline] echo 20:04:42 [semverPrep] GIT_COMMIT: 5a28157ce755f88c21a63d05b145494c7f51f86e, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 20:04:42 [semverPrep] This is not a build commit. [Pipeline] sh 20:04:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:04:42 + grep -v github /etc/ssh/ssh_known_hosts 20:04:42 + [ -e /tmp/ssh_known_hosts ] 20:04:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:04:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:04:42 + sudo tee -a /etc/ssh/ssh_known_hosts 20:04:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:04:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:04:43 20:04:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:04:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:04:43 latest: Pulling from edgex-devops/git-semver 20:04:43 a0d0a0d46f8b: Pulling fs layer 20:04:43 3e5f54012d9b: Pulling fs layer 20:04:43 4c7163046ea9: Pulling fs layer 20:04:43 0c2d73faf560: Pulling fs layer 20:04:43 3e5f54012d9b: Download complete 20:04:43 a0d0a0d46f8b: Download complete 20:04:43 0c2d73faf560: Verifying Checksum 20:04:43 0c2d73faf560: Download complete 20:04:43 4c7163046ea9: Verifying Checksum 20:04:43 4c7163046ea9: Download complete 20:04:43 a0d0a0d46f8b: Pull complete 20:04:43 3e5f54012d9b: Pull complete 20:04:43 4c7163046ea9: Pull complete 20:04:44 0c2d73faf560: Pull complete 20:04:44 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:04:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:04:44 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:04:44 prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container 20:04:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-164 -v /w/workspace/gexfoundry_device-rest-go_PR-164:/w/workspace/gexfoundry_device-rest-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-164@tmp:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:04:44 $ docker top dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:04:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:45 [ssh-agent] Looking for ssh-agent implementation... 20:04:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:45 $ docker exec dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b ssh-agent 20:04:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgGMgIl/agent.13 20:04:45 SSH_AGENT_PID=20 20:04:45 Running ssh-add (command line suppressed) 20:04:45 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-164@tmp/private_key_5891820917223413592.key (/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/private_key_5891820917223413592.key) 20:04:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:45 + git tag --points-at HEAD [Pipeline] } 20:04:45 $ docker exec --env ******** --env ******** dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b ssh-agent -k 20:04:46 unset SSH_AUTH_SOCK; 20:04:46 unset SSH_AGENT_PID; 20:04:46 echo Agent pid 20 killed; 20:04:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:04:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:46 [ssh-agent] Looking for ssh-agent implementation... 20:04:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:46 $ docker exec dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b ssh-agent 20:04:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlAafnO/agent.53 20:04:46 SSH_AGENT_PID=59 20:04:46 Running ssh-add (command line suppressed) 20:04:46 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-164@tmp/private_key_4940243240853159009.key (/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/private_key_4940243240853159009.key) 20:04:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:46 + git semver init 20:04:46 # -> Open(): unable to determine branch for HEAD 20:04:46 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-164/.git 20:04:46 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-164 20:04:46 # $SEMVER_REMOTE_NAME = origin 20:04:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:04:46 # $SEMVER_USER_NAME = edgex-jenkins 20:04:46 # $SEMVER_BRANCH = PR-164 20:04:46 # $SEMVER_TEMP = /tmp/semver-799899862 20:04:46 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:04:48 # '/tmp/semver-799899862' -> '/w/workspace/gexfoundry_device-rest-go_PR-164/.semver' 20:04:48 # -> Force: false 20:04:48 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-164/.semver [Pipeline] } 20:04:48 $ docker exec --env ******** --env ******** dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b ssh-agent -k 20:04:48 unset SSH_AUTH_SOCK; 20:04:48 unset SSH_AGENT_PID; 20:04:48 echo Agent pid 59 killed; 20:04:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:04:48 + git semver [Pipeline] } 20:04:48 $ docker stop --time=1 dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b 20:04:50 $ docker rm -f dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b [Pipeline] // withDockerContainer [Pipeline] sh 20:04:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:04:51 Stashed 1 file(s) [Pipeline] echo 20:04:51 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:51 provisioning config files... 20:04:51 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/config8703109612376338133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:51 ---> docker-login.sh 20:04:51 nexus3.edgexfoundry.org:10001 20:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:51 Configure a credential helper to remove this warning. See 20:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:51 20:04:51 Login Succeeded 20:04:51 nexus3.edgexfoundry.org:10002 20:04:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:51 Configure a credential helper to remove this warning. See 20:04:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:51 20:04:51 Login Succeeded 20:04:52 nexus3.edgexfoundry.org:10003 20:04:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:52 Configure a credential helper to remove this warning. See 20:04:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:52 20:04:52 Login Succeeded 20:04:52 nexus3.edgexfoundry.org:10004 20:04:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:52 Configure a credential helper to remove this warning. See 20:04:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:52 20:04:52 Login Succeeded 20:04:52 docker.io 20:04:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:52 Configure a credential helper to remove this warning. See 20:04:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:52 20:04:52 Login Succeeded 20:04:52 ---> docker-login.sh ends [Pipeline] } 20:04:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:53 ========================================================= 20:04:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:04:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:04:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:04:53 Sending build context to Docker daemon 10.55MB 20:04:53 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:04:53 Step 2/12 : FROM ${BASE} AS builder 20:04:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:04:53 59bf1c3509f3: Pulling fs layer 20:04:53 666ba61612fd: Pulling fs layer 20:04:53 8ed8ca486205: Pulling fs layer 20:04:53 4fe6c5a15a65: Pulling fs layer 20:04:53 22a0e8bec74d: Pulling fs layer 20:04:53 640e595b4fbd: Pulling fs layer 20:04:53 763cafe07f6e: Pulling fs layer 20:04:53 0c0b528cf693: Pulling fs layer 20:04:53 10935f4eaf8b: Pulling fs layer 20:04:53 22a0e8bec74d: Waiting 20:04:53 640e595b4fbd: Waiting 20:04:53 763cafe07f6e: Waiting 20:04:53 0c0b528cf693: Waiting 20:04:53 10935f4eaf8b: Waiting 20:04:53 4fe6c5a15a65: Waiting 20:04:53 8ed8ca486205: Verifying Checksum 20:04:53 8ed8ca486205: Download complete 20:04:53 666ba61612fd: Download complete 20:04:53 22a0e8bec74d: Verifying Checksum 20:04:53 22a0e8bec74d: Download complete 20:04:53 640e595b4fbd: Verifying Checksum 20:04:53 640e595b4fbd: Download complete 20:04:53 59bf1c3509f3: Verifying Checksum 20:04:53 59bf1c3509f3: Download complete 20:04:53 763cafe07f6e: Verifying Checksum 20:04:53 763cafe07f6e: Download complete 20:04:53 0c0b528cf693: Verifying Checksum 20:04:53 0c0b528cf693: Download complete 20:04:53 59bf1c3509f3: Pull complete 20:04:53 666ba61612fd: Pull complete 20:04:53 8ed8ca486205: Pull complete 20:04:54 10935f4eaf8b: Verifying Checksum 20:04:54 10935f4eaf8b: Download complete 20:04:54 4fe6c5a15a65: Verifying Checksum 20:04:54 4fe6c5a15a65: Download complete 20:04:58 4fe6c5a15a65: Pull complete 20:04:58 22a0e8bec74d: Pull complete 20:04:58 640e595b4fbd: Pull complete 20:04:58 763cafe07f6e: Pull complete 20:04:58 0c0b528cf693: Pull complete 20:05:00 10935f4eaf8b: Pull complete 20:05:00 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:05:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:05:00 ---> 99d49a6021b9 20:05:00 Step 3/12 : ARG MAKE='make build' 20:05:01 ---> Running in 5826784f1912 20:05:01 Removing intermediate container 5826784f1912 20:05:01 ---> 3cd4831313d0 20:05:01 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:01 ---> Running in 8980011e23a8 20:05:01 Removing intermediate container 8980011e23a8 20:05:01 ---> 8a5b2f8830ee 20:05:01 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:05:01 ---> Running in 5d7fb244d838 20:05:01 Removing intermediate container 5d7fb244d838 20:05:01 ---> 40efd27a6bc7 20:05:01 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:01 ---> Running in c038bd42d6ed 20:05:02 Removing intermediate container c038bd42d6ed 20:05:02 ---> 97a4b6d30ebe 20:05:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:02 ---> Running in b3d513cd38bb 20:05:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:05:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:05:04 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:05:04 (2/4) Installing libedit (20210910.3.1-r0) 20:05:04 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:05:04 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:05:04 Executing busybox-1.34.1-r3.trigger 20:05:04 OK: 224 MiB in 56 packages 20:05:04 Removing intermediate container b3d513cd38bb 20:05:04 ---> 6102c5fb337e 20:05:04 Step 8/12 : WORKDIR /device-rest-go 20:05:04 ---> Running in 2a850df920b3 20:05:04 Removing intermediate container 2a850df920b3 20:05:04 ---> 289016567cae 20:05:04 Step 9/12 : COPY go.mod vendor* ./ 20:05:05 ---> 88390a519724 20:05:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:05 ---> Running in efb18824cf1f 20:05:06 Still waiting to schedule task 20:05:06 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9279’ is offline 20:05:27 Removing intermediate container efb18824cf1f 20:05:27 ---> 80e330a9edc1 20:05:27 Step 11/12 : COPY . . 20:05:27 ---> 3891f8eeb490 20:05:27 Step 12/12 : RUN $MAKE 20:05:27 ---> Running in 169d67087491 20:05:27 noop 20:05:27 Removing intermediate container 169d67087491 20:05:27 ---> 6e75f55bbf0e 20:05:27 Successfully built 6e75f55bbf0e 20:05:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:05:27 + docker inspect -f . ci-base-image-x86_64 20:05:27 . [Pipeline] withDockerContainer 20:05:27 prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container 20:05:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-164 -v /w/workspace/gexfoundry_device-rest-go_PR-164:/w/workspace/gexfoundry_device-rest-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-164@tmp:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:28 $ docker top b4cbac49e5ad92cece709e82c4af0f2c0667867be7ce8ccf92f844932bf695eb -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:28 + go version 20:05:28 go version go1.17.6 linux/amd64 [Pipeline] } 20:05:28 $ docker stop --time=1 b4cbac49e5ad92cece709e82c4af0f2c0667867be7ce8ccf92f844932bf695eb 20:05:29 $ docker rm -f b4cbac49e5ad92cece709e82c4af0f2c0667867be7ce8ccf92f844932bf695eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:05:30 + docker inspect -f . ci-base-image-x86_64 20:05:30 . [Pipeline] withDockerContainer 20:05:30 prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container 20:05:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-164 -v /w/workspace/gexfoundry_device-rest-go_PR-164:/w/workspace/gexfoundry_device-rest-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-164@tmp:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:30 $ docker top cee4a038bf6faf94e6b6e03cacae7e5c615bbaed4659896de97de128f7e9cc70 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:05:31 + make test 20:05:31 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:05:31 ? github.com/edgexfoundry/device-rest-go [no test files] 20:05:38 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:05:38 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 56.0% of statements 20:05:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:05:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:05:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:05:41 ./bin/test-attribution-txt.sh [Pipeline] echo 20:05:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:05:41 $ docker stop --time=1 cee4a038bf6faf94e6b6e03cacae7e5c615bbaed4659896de97de128f7e9cc70 20:05:43 $ docker rm -f cee4a038bf6faf94e6b6e03cacae7e5c615bbaed4659896de97de128f7e9cc70 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:05:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:05:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:05:45 + ls -al . 20:05:45 total 180 20:05:45 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 20:05 . 20:05:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:04 .. 20:05:45 -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 20:04 .dockerignore 20:05:45 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:04 .git 20:05:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:04 .github 20:05:45 -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 20:04 .gitignore 20:05:45 drwx------ 3 jenkins jenkins 4096 Mar 28 20:04 .semver 20:05:45 -rw-rw-r-- 1 jenkins jenkins 7192 Mar 28 20:04 Attribution.txt 20:05:45 -rw-rw-r-- 1 jenkins jenkins 7459 Mar 28 20:04 CHANGELOG.md 20:05:45 -rw-rw-r-- 1 jenkins jenkins 1672 Mar 28 20:04 Dockerfile 20:05:45 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:04 GOVERNANCE.md 20:05:45 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:04 Jenkinsfile 20:05:45 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:04 LICENSE 20:05:45 -rw-rw-r-- 1 jenkins jenkins 1078 Mar 28 20:04 Makefile 20:05:45 -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 20:04 OWNERS.md 20:05:45 -rw-rw-r-- 1 jenkins jenkins 8246 Mar 28 20:04 README.md 20:05:45 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:04 VERSION 20:05:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:04 bin 20:05:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:04 cmd 20:05:45 -rw-r--r-- 1 jenkins jenkins 9215 Mar 28 20:05 coverage.out 20:05:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:04 driver 20:05:45 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 20:04 go.mod 20:05:45 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 28 20:04 go.sum 20:05:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:04 snap 20:05:45 -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 20:04 version.go [Pipeline] isUnix [Pipeline] sh 20:05:45 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=5a28157ce755f88c21a63d05b145494c7f51f86e --label arch=amd64 --label version=0.0.0 . 20:05:45 Sending build context to Docker daemon 10.56MB 20:05:45 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:05:45 Step 2/25 : FROM ${BASE} AS builder 20:05:45 ---> 6e75f55bbf0e 20:05:45 Step 3/25 : ARG MAKE='make build' 20:05:45 ---> Running in 439115f3643e 20:05:45 Removing intermediate container 439115f3643e 20:05:45 ---> c0d5f5709b16 20:05:45 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:45 ---> Running in 05da2157aa4e 20:05:45 Removing intermediate container 05da2157aa4e 20:05:45 ---> 4733547734e5 20:05:45 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:05:45 ---> Running in dad87cfea60f 20:05:45 Removing intermediate container dad87cfea60f 20:05:45 ---> 112e0890bcdd 20:05:45 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:45 ---> Running in 60981e28507e 20:05:46 Removing intermediate container 60981e28507e 20:05:46 ---> 1c4c2b761b56 20:05:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:46 ---> Running in 58b084b8feb1 20:05:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:05:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:05:47 OK: 224 MiB in 56 packages 20:05:48 Removing intermediate container 58b084b8feb1 20:05:48 ---> 7e210730fa24 20:05:48 Step 8/25 : WORKDIR /device-rest-go 20:05:48 ---> Running in 7a4c5136cac5 20:05:48 Removing intermediate container 7a4c5136cac5 20:05:48 ---> 28d344753c14 20:05:48 Step 9/25 : COPY go.mod vendor* ./ 20:05:48 ---> 786bbcf77812 20:05:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:48 ---> Running in 52a3f5e312d6 20:05:49 Removing intermediate container 52a3f5e312d6 20:05:49 ---> a8d8b21b0eff 20:05:49 Step 11/25 : COPY . . 20:05:49 ---> 99d8b2bdc8a9 20:05:49 Step 12/25 : RUN $MAKE 20:05:49 ---> Running in 4a9ebaa3530f 20:05:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 20:05:57 Removing intermediate container 4a9ebaa3530f 20:05:57 ---> e8bbb4dec710 20:05:57 Step 13/25 : FROM alpine:3.14 20:05:58 3.14: Pulling from library/alpine 20:05:58 36ccefbf3d8a: Pulling fs layer 20:05:58 36ccefbf3d8a: Verifying Checksum 20:05:58 36ccefbf3d8a: Download complete 20:05:58 36ccefbf3d8a: Pull complete 20:05:58 Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 20:05:58 Status: Downloaded newer image for alpine:3.14 20:05:58 ---> a33ac4f1069a 20:05:58 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:05:58 ---> Running in e4c0b9a59c4c 20:05:58 Removing intermediate container e4c0b9a59c4c 20:05:58 ---> 3c632d37daf8 20:05:58 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:05:58 ---> Running in 6e4bce7f3da4 20:05:58 Removing intermediate container 6e4bce7f3da4 20:05:58 ---> c0cf46b245af 20:05:58 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:05:58 ---> Running in 1452aa9e42c2 20:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:05:59 (1/6) Installing dumb-init (1.2.5-r1) 20:05:59 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:05:59 (3/6) Installing libsodium (1.0.18-r0) 20:05:59 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:05:59 (5/6) Installing libzmq (4.3.4-r0) 20:05:59 (6/6) Installing zeromq (4.3.4-r0) 20:05:59 Executing busybox-1.33.1-r6.trigger 20:05:59 OK: 8 MiB in 20 packages 20:05:59 Removing intermediate container 1452aa9e42c2 20:05:59 ---> c533dae3a06f 20:05:59 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:06:00 ---> 60eb0da3bb10 20:06:00 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:06:00 ---> 4ed72c8d9189 20:06:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:06:00 ---> cf7ab9b6ae79 20:06:00 Step 20/25 : EXPOSE 59986 20:06:00 ---> Running in f819c2469105 20:06:00 Removing intermediate container f819c2469105 20:06:00 ---> 94d5a833d47b 20:06:00 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:06:00 ---> Running in e1ce569a7e49 20:06:00 Removing intermediate container e1ce569a7e49 20:06:00 ---> d0ba6753d64b 20:06:00 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:06:00 ---> Running in b42407c58f65 20:06:00 Removing intermediate container b42407c58f65 20:06:00 ---> 58a2249fff7d 20:06:00 Step 23/25 : LABEL arch=amd64 20:06:00 ---> Running in 4b5aa82852e3 20:06:01 Removing intermediate container 4b5aa82852e3 20:06:01 ---> 20f1c3174833 20:06:01 Step 24/25 : LABEL git_sha=5a28157ce755f88c21a63d05b145494c7f51f86e 20:06:01 ---> Running in 5c0ef890bd92 20:06:01 Removing intermediate container 5c0ef890bd92 20:06:01 ---> 8b2f98fe65d6 20:06:01 Step 25/25 : LABEL version=0.0.0 20:06:01 ---> Running in e4bb82c56585 20:06:01 Removing intermediate container e4bb82c56585 20:06:01 ---> 0b29a146643c 20:06:01 [Warning] One or more build-args [ARCH] were not consumed 20:06:01 Successfully built 0b29a146643c 20:06:01 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:06:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:02 20:06:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:06:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:02 latest: Pulling from edgex-lftools-log-publisher 20:06:02 5eb5b503b376: Pulling fs layer 20:06:02 5c69ac0246d0: Pulling fs layer 20:06:02 ec43610c2a17: Pulling fs layer 20:06:02 3a2ae6a8a46f: Pulling fs layer 20:06:02 33b1e0a273af: Pulling fs layer 20:06:02 5d3b04190fa2: Pulling fs layer 20:06:02 2f39f015ded8: Pulling fs layer 20:06:02 3a2ae6a8a46f: Waiting 20:06:02 33b1e0a273af: Waiting 20:06:02 5d3b04190fa2: Waiting 20:06:02 5c69ac0246d0: Download complete 20:06:02 3a2ae6a8a46f: Verifying Checksum 20:06:02 3a2ae6a8a46f: Download complete 20:06:02 ec43610c2a17: Verifying Checksum 20:06:02 ec43610c2a17: Download complete 20:06:02 33b1e0a273af: Download complete 20:06:02 5d3b04190fa2: Verifying Checksum 20:06:02 5d3b04190fa2: Download complete 20:06:02 5eb5b503b376: Verifying Checksum 20:06:02 5eb5b503b376: Download complete 20:06:03 2f39f015ded8: Download complete 20:06:04 5eb5b503b376: Pull complete 20:06:04 5c69ac0246d0: Pull complete 20:06:04 ec43610c2a17: Pull complete 20:06:04 3a2ae6a8a46f: Pull complete 20:06:05 33b1e0a273af: Pull complete 20:06:05 5d3b04190fa2: Pull complete 20:06:10 2f39f015ded8: Pull complete 20:06:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:06:10 prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container 20:06:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-164 -v /w/workspace/gexfoundry_device-rest-go_PR-164:/w/workspace/gexfoundry_device-rest-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-164@tmp:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:12 $ docker top 6949b4bcec8fc7b5f8064a284ea5c931896f55fc3a0fee3c85413850cb69fd19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:12 ---> job-cost.sh 20:06:12 lf-activate-venv: SKIPPING 20:06:12 INFO: No Stack... 20:06:13 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:13 INFO: Archiving Costs [Pipeline] sh 20:06:14 + cat /w/workspace/gexfoundry_device-rest-go_PR-164/archives/cost.csv 20:06:14 + cut -d, -f6 [Pipeline] lock 20:06:14 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] 20:06:14 Resource [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] did not exist. Created. 20:06:14 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:14 + echo total: 0.2199999988079071 [Pipeline] stash 20:06:14 Stashed 1 file(s) [Pipeline] } 20:06:14 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:14 $ docker stop --time=1 6949b4bcec8fc7b5f8064a284ea5c931896f55fc3a0fee3c85413850cb69fd19 20:06:15 $ docker rm -f 6949b4bcec8fc7b5f8064a284ea5c931896f55fc3a0fee3c85413850cb69fd19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:07:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9280 in /w/workspace/gexfoundry_device-rest-go_PR-164 [Pipeline] { [Pipeline] ws 20:07:53 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:07:54 The recommended git tool is: git 20:08:02 using credential edgex-jenkins-ssh 20:08:02 Cloning the remote Git repository 20:08:02 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:08:02 > git init /w/workspace/device-rest-go/1 # timeout=10 20:08:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:02 > git --version # timeout=10 20:08:02 > git --version # 'git version 2.25.1' 20:08:02 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:04 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:05 Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 5a28157ce755f88c21a63d05b145494c7f51f86e 20:08:06 Merge succeeded, producing 5a28157ce755f88c21a63d05b145494c7f51f86e 20:08:06 Checking out Revision 5a28157ce755f88c21a63d05b145494c7f51f86e (PR-164) 20:08:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:08:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:08:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:08:05 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:08:05 > git config core.sparsecheckout # timeout=10 20:08:06 > git checkout -f 5a28157ce755f88c21a63d05b145494c7f51f86e # timeout=10 20:08:06 > git remote # timeout=10 20:08:06 > git config --get remote.origin.url # timeout=10 20:08:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:08:06 > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 20:08:06 > git rev-parse HEAD^{commit} # timeout=10 20:08:06 > git config core.sparsecheckout # timeout=10 20:08:06 > git checkout -f 5a28157ce755f88c21a63d05b145494c7f51f86e # timeout=10 20:08:10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 20:08:10 > git --version # timeout=10 20:08:10 > git --version # 'git version 2.25.1' 20:08:10 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:08:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:08:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:08:12 Dload Upload Total Spent Left Speed 20:08:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 226k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 20:08:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:08:12 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:08:12 sudo tee /etc/docker/daemon.new 20:08:12 { 20:08:12 "registry-mirrors": [ 20:08:12 "https://nexus3.edgexfoundry.org:10001" 20:08:12 ], 20:08:12 "bip": "10.250.0.254/24", 20:08:12 "hosts": [ 20:08:12 "tcp://0.0.0.0:5555", 20:08:12 "unix:///var/run/docker.sock" 20:08:12 ], 20:08:12 "mtu": 1458, 20:08:12 "selinux-enabled": true, 20:08:12 "seccomp-profile": "/etc/docker/seccomp.json" 20:08:12 } [Pipeline] sh 20:08:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:08:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:32 provisioning config files... 20:08:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1252721825221646447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:32 ---> docker-login.sh 20:08:32 nexus3.edgexfoundry.org:10001 20:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:33 Configure a credential helper to remove this warning. See 20:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:33 20:08:33 Login Succeeded 20:08:33 nexus3.edgexfoundry.org:10002 20:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:34 Configure a credential helper to remove this warning. See 20:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:34 20:08:34 Login Succeeded 20:08:34 nexus3.edgexfoundry.org:10003 20:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:34 Configure a credential helper to remove this warning. See 20:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:34 20:08:34 Login Succeeded 20:08:34 nexus3.edgexfoundry.org:10004 20:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:35 Configure a credential helper to remove this warning. See 20:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:35 20:08:35 Login Succeeded 20:08:35 docker.io 20:08:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:35 Configure a credential helper to remove this warning. See 20:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:35 20:08:35 Login Succeeded 20:08:35 ---> docker-login.sh ends [Pipeline] } 20:08:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:08:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:36 ========================================================= 20:08:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:08:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:08:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:08:36 Sending build context to Docker daemon 124.9kB 20:08:37 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:08:37 Step 2/12 : FROM ${BASE} AS builder 20:08:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:08:37 9b3977197b4f: Pulling fs layer 20:08:37 1a89e8eeedd5: Pulling fs layer 20:08:37 94645a83ff95: Pulling fs layer 20:08:37 3f3a8bcf1eab: Pulling fs layer 20:08:37 0c92f367c5e7: Pulling fs layer 20:08:37 f7c0051592d6: Pulling fs layer 20:08:37 a227ed2f7395: Pulling fs layer 20:08:37 7b1c46037f91: Pulling fs layer 20:08:37 0c92f367c5e7: Waiting 20:08:37 f7c0051592d6: Waiting 20:08:37 a227ed2f7395: Waiting 20:08:37 7b1c46037f91: Waiting 20:08:37 3f3a8bcf1eab: Waiting 20:08:37 94645a83ff95: Download complete 20:08:37 1a89e8eeedd5: Download complete 20:08:37 0c92f367c5e7: Verifying Checksum 20:08:37 0c92f367c5e7: Download complete 20:08:37 f7c0051592d6: Verifying Checksum 20:08:37 f7c0051592d6: Download complete 20:08:37 9b3977197b4f: Verifying Checksum 20:08:37 9b3977197b4f: Download complete 20:08:37 a227ed2f7395: Verifying Checksum 20:08:37 a227ed2f7395: Download complete 20:08:38 9b3977197b4f: Pull complete 20:08:38 1a89e8eeedd5: Pull complete 20:08:39 94645a83ff95: Pull complete 20:08:39 7b1c46037f91: Verifying Checksum 20:08:39 7b1c46037f91: Download complete 20:08:40 3f3a8bcf1eab: Verifying Checksum 20:08:40 3f3a8bcf1eab: Download complete 20:08:52 3f3a8bcf1eab: Pull complete 20:08:52 0c92f367c5e7: Pull complete 20:08:52 f7c0051592d6: Pull complete 20:08:52 a227ed2f7395: Pull complete 20:08:59 7b1c46037f91: Pull complete 20:08:59 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:08:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:08:59 ---> f79e39bc4007 20:08:59 Step 3/12 : ARG MAKE='make build' 20:09:00 ---> Running in f2b105f9872b 20:09:00 Removing intermediate container f2b105f9872b 20:09:00 ---> 402ab015f20d 20:09:00 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:09:00 ---> Running in 106be51694eb 20:09:00 Removing intermediate container 106be51694eb 20:09:00 ---> 1a4cc37fedc3 20:09:00 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:09:00 ---> Running in aa1235e18951 20:09:01 Removing intermediate container aa1235e18951 20:09:01 ---> 2d0cd4820ded 20:09:01 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:09:01 ---> Running in 3c26d69cb579 20:09:03 Removing intermediate container 3c26d69cb579 20:09:03 ---> cc612f311705 20:09:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:09:03 ---> Running in 89dd7b39c276 20:09:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:09:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:09:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:09:06 (2/4) Installing libedit (20210910.3.1-r0) 20:09:06 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:09:06 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:09:06 Executing busybox-1.34.1-r3.trigger 20:09:06 OK: 224 MiB in 56 packages 20:09:07 Removing intermediate container 89dd7b39c276 20:09:07 ---> f867f49b82a1 20:09:07 Step 8/12 : WORKDIR /device-rest-go 20:09:07 ---> Running in 897e37c64eeb 20:09:08 Removing intermediate container 897e37c64eeb 20:09:08 ---> f1ebbc97cb4d 20:09:08 Step 9/12 : COPY go.mod vendor* ./ 20:09:08 ---> ae73948f4851 20:09:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:09:08 ---> Running in 65d1a2c2d481 20:10:30 Removing intermediate container 65d1a2c2d481 20:10:30 ---> 374d52d16ee7 20:10:30 Step 11/12 : COPY . . 20:10:30 ---> 28e995a79f0e 20:10:30 Step 12/12 : RUN $MAKE 20:10:30 ---> Running in e1fb1d996985 20:10:30 noop 20:10:30 Removing intermediate container e1fb1d996985 20:10:30 ---> e1f82d665856 20:10:30 Successfully built e1f82d665856 20:10:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:10:30 + docker inspect -f . ci-base-image-arm64 20:10:30 . [Pipeline] withDockerContainer 20:10:31 prd-ubuntu20.04-docker-arm64-4c-16g-9280 does not seem to be running inside a container 20:10:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:10:32 $ docker top 4687a70ed03cab8c2c7a555341ef8e2c49d942dec05c946e7481ab82497f3dd4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:10:33 + go version 20:10:33 go version go1.17.6 linux/arm64 [Pipeline] } 20:10:33 $ docker stop --time=1 4687a70ed03cab8c2c7a555341ef8e2c49d942dec05c946e7481ab82497f3dd4 20:10:35 $ docker rm -f 4687a70ed03cab8c2c7a555341ef8e2c49d942dec05c946e7481ab82497f3dd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:10:36 + docker inspect -f . ci-base-image-arm64 20:10:36 . [Pipeline] withDockerContainer 20:10:36 prd-ubuntu20.04-docker-arm64-4c-16g-9280 does not seem to be running inside a container 20:10:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:10:37 $ docker top 3d0634057dab596a58ee9a29d73e35ac8ee24b727bdfdf1d385ecda8da4349c5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:10:38 + make test 20:10:38 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:10:40 ? github.com/edgexfoundry/device-rest-go [no test files] 20:11:36 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:11:36 ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 56.0% of statements 20:11:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:11:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:11:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:11:52 ./bin/test-attribution-txt.sh [Pipeline] echo 20:11:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:11:54 $ docker stop --time=1 3d0634057dab596a58ee9a29d73e35ac8ee24b727bdfdf1d385ecda8da4349c5 20:11:55 $ docker rm -f 3d0634057dab596a58ee9a29d73e35ac8ee24b727bdfdf1d385ecda8da4349c5 [Pipeline] // withDockerContainer [Pipeline] sh 20:11:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:11:56 Warning: overwriting stash ‘coverage-report’ 20:11:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:11:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:11:58 + ls -al . 20:11:58 total 176 20:11:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:11 . 20:11:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:08 .. 20:11:58 -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 20:08 .dockerignore 20:11:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:08 .git 20:11:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:08 .github 20:11:58 -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 20:08 .gitignore 20:11:58 -rw-rw-r-- 1 jenkins jenkins 7192 Mar 28 20:08 Attribution.txt 20:11:58 -rw-rw-r-- 1 jenkins jenkins 7459 Mar 28 20:08 CHANGELOG.md 20:11:58 -rw-rw-r-- 1 jenkins jenkins 1672 Mar 28 20:08 Dockerfile 20:11:58 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:08 GOVERNANCE.md 20:11:58 -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:08 Jenkinsfile 20:11:58 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:08 LICENSE 20:11:58 -rw-rw-r-- 1 jenkins jenkins 1078 Mar 28 20:08 Makefile 20:11:58 -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 20:08 OWNERS.md 20:11:58 -rw-rw-r-- 1 jenkins jenkins 8246 Mar 28 20:08 README.md 20:11:58 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:04 VERSION 20:11:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:08 bin 20:11:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:08 cmd 20:11:58 -rw-r--r-- 1 jenkins jenkins 9215 Mar 28 20:11 coverage.out 20:11:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:08 driver 20:11:58 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 20:08 go.mod 20:11:58 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 28 20:08 go.sum 20:11:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:08 snap 20:11:58 -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 20:08 version.go [Pipeline] isUnix [Pipeline] sh 20:11:58 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=5a28157ce755f88c21a63d05b145494c7f51f86e --label arch=arm64 --label version=0.0.0 . 20:11:58 Sending build context to Docker daemon 134.7kB 20:11:58 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:11:58 Step 2/25 : FROM ${BASE} AS builder 20:11:58 ---> e1f82d665856 20:11:58 Step 3/25 : ARG MAKE='make build' 20:11:58 ---> Running in 68396cf95e40 20:11:59 Removing intermediate container 68396cf95e40 20:11:59 ---> 84fa5d86f1dd 20:11:59 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:11:59 ---> Running in dd4ee6b31f09 20:11:59 Removing intermediate container dd4ee6b31f09 20:11:59 ---> 06a0e6365bae 20:11:59 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:11:59 ---> Running in cb55f5b81808 20:12:00 Removing intermediate container cb55f5b81808 20:12:00 ---> 92daa14fcf03 20:12:00 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:12:00 ---> Running in 74aa183d1778 20:12:01 Removing intermediate container 74aa183d1778 20:12:01 ---> dea0ceaa78f4 20:12:01 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:12:01 ---> Running in d9d0a1831c7f 20:12:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:12:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:12:04 OK: 224 MiB in 56 packages 20:12:05 Removing intermediate container d9d0a1831c7f 20:12:05 ---> 8e788b55bcf7 20:12:05 Step 8/25 : WORKDIR /device-rest-go 20:12:05 ---> Running in 8140b094ea48 20:12:05 Removing intermediate container 8140b094ea48 20:12:05 ---> 5817f345169c 20:12:05 Step 9/25 : COPY go.mod vendor* ./ 20:12:06 ---> cc32b3ef72de 20:12:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:12:06 ---> Running in 0d68a4537a77 20:12:08 Removing intermediate container 0d68a4537a77 20:12:08 ---> c354dbddc6b4 20:12:08 Step 11/25 : COPY . . 20:12:09 ---> 0d0e3578e984 20:12:09 Step 12/25 : RUN $MAKE 20:12:09 ---> Running in 51045e42ea56 20:12:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 20:12:49 Removing intermediate container 51045e42ea56 20:12:49 ---> 1a183fab027e 20:12:49 Step 13/25 : FROM alpine:3.14 20:12:49 3.14: Pulling from library/alpine 20:12:49 93a1719cf261: Pulling fs layer 20:12:50 93a1719cf261: Verifying Checksum 20:12:50 93a1719cf261: Download complete 20:12:50 93a1719cf261: Pull complete 20:12:50 Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 20:12:50 Status: Downloaded newer image for alpine:3.14 20:12:50 ---> 71a2028e5025 20:12:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:12:50 ---> Running in 389274f5da61 20:12:50 Removing intermediate container 389274f5da61 20:12:50 ---> 4e02cd67e440 20:12:50 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:12:51 ---> Running in 2017396e2be4 20:12:51 Removing intermediate container 2017396e2be4 20:12:51 ---> 55a1f54e3d1b 20:12:51 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:12:51 ---> Running in 1a5bbc072396 20:12:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:12:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:12:53 (1/6) Installing dumb-init (1.2.5-r1) 20:12:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:12:53 (3/6) Installing libsodium (1.0.18-r0) 20:12:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:12:53 (5/6) Installing libzmq (4.3.4-r0) 20:12:53 (6/6) Installing zeromq (4.3.4-r0) 20:12:53 Executing busybox-1.33.1-r6.trigger 20:12:53 OK: 8 MiB in 20 packages 20:12:54 Removing intermediate container 1a5bbc072396 20:12:54 ---> b0e8215aab84 20:12:54 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:12:55 ---> 01cd6ac6a84b 20:12:55 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:12:55 ---> 4a7616254880 20:12:55 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:12:56 ---> 31ed35e1ddbb 20:12:56 Step 20/25 : EXPOSE 59986 20:12:56 ---> Running in cf6da31b87d5 20:12:56 Removing intermediate container cf6da31b87d5 20:12:56 ---> c2c669c38746 20:12:56 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:12:57 ---> Running in fb46db203b4f 20:12:57 Removing intermediate container fb46db203b4f 20:12:57 ---> 09904760088b 20:12:57 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:12:57 ---> Running in 69007fc5396e 20:12:57 Removing intermediate container 69007fc5396e 20:12:57 ---> 46007cff8c72 20:12:57 Step 23/25 : LABEL arch=arm64 20:12:57 ---> Running in 4e89b82219f2 20:12:57 Removing intermediate container 4e89b82219f2 20:12:57 ---> 451b66e96ec4 20:12:57 Step 24/25 : LABEL git_sha=5a28157ce755f88c21a63d05b145494c7f51f86e 20:12:58 ---> Running in 3846ede16982 20:12:58 Removing intermediate container 3846ede16982 20:12:58 ---> 45502714c23c 20:12:58 Step 25/25 : LABEL version=0.0.0 20:12:58 ---> Running in f191237700dd 20:12:58 Removing intermediate container f191237700dd 20:12:58 ---> 596b106a1f06 20:12:58 [Warning] One or more build-args [ARCH] were not consumed 20:12:58 Successfully built 596b106a1f06 20:12:58 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:12:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:12:59 20:12:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:12:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:00 arm64: Pulling from edgex-lftools-log-publisher 20:13:00 8998bd30e6a1: Pulling fs layer 20:13:00 04944245beec: Pulling fs layer 20:13:00 699f458cf7ca: Pulling fs layer 20:13:00 765212b225bb: Pulling fs layer 20:13:00 f23df028b6ca: Pulling fs layer 20:13:00 d65c8cfc05b1: Pulling fs layer 20:13:00 2437ff75d9bd: Pulling fs layer 20:13:00 765212b225bb: Waiting 20:13:00 f23df028b6ca: Waiting 20:13:00 2437ff75d9bd: Waiting 20:13:00 d65c8cfc05b1: Waiting 20:13:00 04944245beec: Verifying Checksum 20:13:00 04944245beec: Download complete 20:13:00 765212b225bb: Download complete 20:13:00 f23df028b6ca: Verifying Checksum 20:13:00 f23df028b6ca: Download complete 20:13:00 d65c8cfc05b1: Download complete 20:13:00 699f458cf7ca: Verifying Checksum 20:13:00 699f458cf7ca: Download complete 20:13:00 8998bd30e6a1: Verifying Checksum 20:13:00 8998bd30e6a1: Download complete 20:13:03 2437ff75d9bd: Verifying Checksum 20:13:03 2437ff75d9bd: Download complete 20:13:04 8998bd30e6a1: Pull complete 20:13:05 04944245beec: Pull complete 20:13:06 699f458cf7ca: Pull complete 20:13:07 765212b225bb: Pull complete 20:13:08 f23df028b6ca: Pull complete 20:13:08 d65c8cfc05b1: Pull complete 20:13:23 2437ff75d9bd: Pull complete 20:13:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:13:23 prd-ubuntu20.04-docker-arm64-4c-16g-9280 does not seem to be running inside a container 20:13:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:13:25 $ docker top cfdbbace495f201d8b41f53285d4ecf1cfc174aa29aa494927fca76969e67e3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:26 ---> job-cost.sh 20:13:26 lf-activate-venv: SKIPPING 20:13:26 INFO: No Stack... 20:13:27 INFO: Retrieving Pricing Info for: v3-standard-4 20:13:28 INFO: Archiving Costs [Pipeline] sh 20:13:29 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:13:29 + cut -d, -f6 [Pipeline] lock 20:13:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] 20:13:29 Resource [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] did not exist. Created. 20:13:29 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:13:30 /w/workspace/device-rest-go/1@tmp/durable-91516bdf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:13:30 + echo total: 0.10999999940395355 [Pipeline] stash 20:13:30 Warning: overwriting stash ‘stack-cost’ 20:13:30 Stashed 1 file(s) [Pipeline] } 20:13:30 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:13:30 $ docker stop --time=1 cfdbbace495f201d8b41f53285d4ecf1cfc174aa29aa494927fca76969e67e3c 20:13:32 $ docker rm -f cfdbbace495f201d8b41f53285d4ecf1cfc174aa29aa494927fca76969e67e3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:13:33 provisioning config files... 20:13:33 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/config1174627433662718434tmp [Pipeline] { [Pipeline] sh 20:13:33 + set +x 20:13:33 + curl -s https://codecov.io/bash 20:13:33 + bash -s -- 20:13:33 20:13:33 _____ _ 20:13:33 / ____| | | 20:13:33 | | ___ __| | ___ ___ _____ __ 20:13:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:13:33 | |___| (_) | (_| | __/ (_| (_) \ V / 20:13:33 \_____\___/ \__,_|\___|\___\___/ \_/ 20:13:33 Bash-1.0.6 20:13:33 20:13:33 20:13:33 ==> git version 2.25.1 found 20:13:33 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:13:33 Release-Date: 2020-01-08 20:13:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:13:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:13:33 ==> Jenkins CI detected. 20:13:33 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-164 20:13:33 project root: . 20:13:33 --> token set from env 20:13:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:13:33 ==> Running gcov in . (disable via -X gcov) 20:13:33 ==> Python coveragepy not found 20:13:33 ==> Searching for coverage reports in: 20:13:33 + . 20:13:33 -> Found 1 reports 20:13:33 ==> Detecting git/mercurial file structure 20:13:33 ==> Reading reports 20:13:33 + ./coverage.out bytes=9215 20:13:33 ==> Appending adjustments 20:13:33 https://docs.codecov.io/docs/fixing-reports 20:13:34 + Found adjustments 20:13:34 ==> Gzipping contents 20:13:34 4.0K /tmp/codecov.9HJ28Q.gz 20:13:34 ==> Uploading reports 20:13:34 url: https://codecov.io 20:13:34 query: branch=PR-164&commit=5a28157ce755f88c21a63d05b145494c7f51f86e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=164&job=&cmd_args= 20:13:34 -> Pinging Codecov 20:13:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-164&commit=5a28157ce755f88c21a63d05b145494c7f51f86e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=164&job=&cmd_args= 20:13:34 -> Uploading to 20:13:34 https://storage.googleapis.com/codecov/v4/raw/2022-03-28/4E5D53B4F1F92C436F7061BF334D961C/5a28157ce755f88c21a63d05b145494c7f51f86e/75a2e447-8d51-4c51-97ae-512ceedb86d4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220328T201334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bbf5bf622e69f6a2e1fcd7d12623cbb90a78205769ebd34e51891cfa62d193dd 20:13:34 % Total % Received % Xferd Average Speed Time Time Time Current 20:13:34 Dload Upload Total Spent Left Speed 20:13:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1798 0 0 100 1798 0 6968 --:--:-- --:--:-- --:--:-- 6996 20:13:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5a28157ce755f88c21a63d05b145494c7f51f86e [Pipeline] } 20:13:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:13:36 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-164/archives ] 20:13:36 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-164/archives 20:13:36 total 16 20:13:36 drwxr-xr-x 3 root root 4096 Mar 28 20:06 . 20:13:36 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:06 .. 20:13:36 drwxr-xr-x 2 root root 4096 Mar 28 20:06 cost 20:13:36 -rw-r--r-- 1 root root 85 Mar 28 20:06 cost.csv 20:13:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-164/archives 20:13:36 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-164/archives 20:13:36 total 16 20:13:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:06 . 20:13:36 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:06 .. 20:13:36 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 20:06 cost 20:13:36 -rw-r--r-- 1 jenkins jenkins 85 Mar 28 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:13:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:13:37 ---> package-listing.sh 20:13:37 ++ facter osfamily 20:13:37 ++ tr '[:upper:]' '[:lower:]' 20:13:37 + OS_FAMILY=debian 20:13:37 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-164 20:13:37 + START_PACKAGES=/tmp/packages_start.txt 20:13:37 + END_PACKAGES=/tmp/packages_end.txt 20:13:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:13:37 + PACKAGES=/tmp/packages_start.txt 20:13:37 + '[' /w/workspace/gexfoundry_device-rest-go_PR-164 ']' 20:13:37 + PACKAGES=/tmp/packages_end.txt 20:13:37 + case "${OS_FAMILY}" in 20:13:37 + dpkg -l 20:13:37 + grep '^ii' 20:13:37 + '[' -f /tmp/packages_start.txt ']' 20:13:37 + '[' -f /tmp/packages_end.txt ']' 20:13:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:13:37 + '[' /w/workspace/gexfoundry_device-rest-go_PR-164 ']' 20:13:37 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-164/archives/ 20:13:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-164/archives/ [Pipeline] echo 20:13:37 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:13:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:13:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:13:38 . [Pipeline] withDockerContainer 20:13:38 prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container 20:13:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-164 -v /w/workspace/gexfoundry_device-rest-go_PR-164:/w/workspace/gexfoundry_device-rest-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-164@tmp:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:13:39 $ docker top c571b0024017957e6cfdd810b7e0a32ffa4af2a3a181b966b3579bed2e3521f3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:39 + touch /tmp/pre-build-complete [Pipeline] sh 20:13:39 + mkdir -p /var/log/sysstat [Pipeline] sh 20:13:40 + ls /var/log/sa-host 20:13:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:40 provisioning config files... 20:13:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/config2024598445137559009tmp [Pipeline] { [Pipeline] echo 20:13:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:13:40 ---> create-netrc.sh [Pipeline] } 20:13:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:13:41 ---> python-tools-install.sh [Pipeline] echo 20:13:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:13:41 ---> sudo-logs.sh 20:13:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:13:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:13:41 ---> job-cost.sh 20:13:41 lf-activate-venv: SKIPPING 20:13:41 DEBUG: total: 0.2199999988079071 20:13:41 INFO: Retrieving Stack Cost... 20:13:42 INFO: Retrieving Pricing Info for: v3-standard-8 20:13:42 INFO: Archiving Costs [Pipeline] echo 20:13:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:13:43 ---> logs-deploy.sh 20:13:43 lf-activate-venv: SKIPPING 20:13:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-164/1 20:13:43 INFO: archiving workspace using pattern(s): 20:13:44 Archives upload complete. 20:13:44 INFO: archiving logs to Nexus