Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b+ee399ff793e6dfca353bb8608da5c77bb591d6d3 (b9fce1030a5139dc9fcabe1c5ab96c08c6c17b93) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5491613605809162207.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1585916517765017769.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6466577626198921851.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4058233377582865092.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3653718454520390358.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 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 Running on prd-centos7-docker-4c-2g-266 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-971 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh3454123494331223095.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh9067164458731632808.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ee399ff793e6dfca353bb8608da5c77bb591d6d3 into PR head commit 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b Merge succeeded, producing d3b9e87b58d1e1ba78754c99fd8e29504e675186 Checking out Revision d3b9e87b58d1e1ba78754c99fd8e29504e675186 (PR-971) > git config core.sparsecheckout # timeout=10 > git checkout -f 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # timeout=10 > git remote # timeout=10 > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh4862808064819452312.key > git merge ee399ff793e6dfca353bb8608da5c77bb591d6d3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3b9e87b58d1e1ba78754c99fd8e29504e675186 # timeout=10 Commit message: "Merge commit 'ee399ff793e6dfca353bb8608da5c77bb591d6d3' into HEAD" > git rev-list --no-walk 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-26T18:40:33.501Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-26T18:40:33.603Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-26T18:40:33.637Z] ========================================================= [2021-06-26T18:40:33.637Z] EdgeX Global Pipelines Version Info [2021-06-26T18:40:33.637Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:40:35.072Z] ------------------- [2021-06-26T18:40:35.072Z] stable info: [2021-06-26T18:40:35.072Z] ------------------- [2021-06-26T18:40:35.072Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-26T18:40:35.072Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-26T18:40:35.072Z] Message: update stable to v1.0.195 [2021-06-26T18:40:35.645Z] ------------------- [2021-06-26T18:40:35.645Z] experimental info: [2021-06-26T18:40:35.645Z] ------------------- [2021-06-26T18:40:35.646Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-26T18:40:35.646Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-26T18:40:35.646Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-26T18:40:35.775Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-26T18:40:35.800Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-26T18:40:35.823Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-26T18:40:35.849Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-26T18:40:35.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-26T18:40:35.897Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-26T18:40:35.922Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-26T18:40:35.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-26T18:40:35.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-26T18:40:35.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-26T18:40:36.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-26T18:40:36.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-26T18:40:36.083Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-26T18:40:36.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-26T18:40:36.129Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-26T18:40:36.161Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-26T18:40:36.185Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-26T18:40:36.209Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-26T18:40:36.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-26T18:40:36.257Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-26T18:40:36.286Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-26T18:40:36.315Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-26T18:40:36.339Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-26T18:40:36.364Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-26T18:40:36.388Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-26T18:40:36.412Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-26T18:40:36.436Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-06-26T18:40:36.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-06-26T18:40:36.510Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-06-26T18:40:36.534Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3b9e87b58d1e1ba78754c99fd8e29504e675186 [Pipeline] echo [2021-06-26T18:40:36.557Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d3b9e87 [Pipeline] echo [2021-06-26T18:40:36.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-26T18:40:36.659Z] provisioning config files... [2021-06-26T18:40:36.678Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config1116730246482410990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:40:37.014Z] ---> docker-login.sh [2021-06-26T18:40:37.014Z] nexus3.edgexfoundry.org:10001 [2021-06-26T18:40:37.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:40:37.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:40:37.277Z] Configure a credential helper to remove this warning. See [2021-06-26T18:40:37.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:40:37.277Z] [2021-06-26T18:40:37.277Z] Login Succeeded [2021-06-26T18:40:37.277Z] nexus3.edgexfoundry.org:10002 [2021-06-26T18:40:37.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:40:37.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:40:37.541Z] Configure a credential helper to remove this warning. See [2021-06-26T18:40:37.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:40:37.541Z] [2021-06-26T18:40:37.541Z] Login Succeeded [2021-06-26T18:40:37.541Z] nexus3.edgexfoundry.org:10003 [2021-06-26T18:40:37.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:40:37.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:40:37.541Z] Configure a credential helper to remove this warning. See [2021-06-26T18:40:37.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:40:37.541Z] [2021-06-26T18:40:37.541Z] Login Succeeded [2021-06-26T18:40:37.541Z] nexus3.edgexfoundry.org:10004 [2021-06-26T18:40:37.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:40:37.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:40:37.803Z] Configure a credential helper to remove this warning. See [2021-06-26T18:40:37.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:40:37.803Z] [2021-06-26T18:40:37.803Z] Login Succeeded [2021-06-26T18:40:37.803Z] docker.io [2021-06-26T18:40:37.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:40:38.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:40:38.064Z] Configure a credential helper to remove this warning. See [2021-06-26T18:40:38.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:40:38.065Z] [2021-06-26T18:40:38.065Z] Login Succeeded [2021-06-26T18:40:38.065Z] ---> docker-login.sh ends [Pipeline] } [2021-06-26T18:40:38.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-26T18:40:38.619Z] + git log --format=format:%s -1 d3b9e87b58d1e1ba78754c99fd8e29504e675186 [Pipeline] echo [2021-06-26T18:40:38.661Z] GIT_COMMIT: d3b9e87b58d1e1ba78754c99fd8e29504e675186, Commit Message: Merge commit 'ee399ff793e6dfca353bb8608da5c77bb591d6d3' into HEAD [Pipeline] echo [2021-06-26T18:40:38.674Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:40:39.717Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-26T18:40:39.717Z] [2021-06-26T18:40:39.717Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:40:40.031Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-26T18:40:40.031Z] latest: Pulling from edgex-devops/git-semver [2021-06-26T18:40:40.031Z] 31603596830f: Pulling fs layer [2021-06-26T18:40:40.031Z] 54011a49482f: Pulling fs layer [2021-06-26T18:40:40.031Z] a6820b24f6d8: Pulling fs layer [2021-06-26T18:40:40.031Z] f581987b2513: Pulling fs layer [2021-06-26T18:40:40.031Z] f581987b2513: Waiting [2021-06-26T18:40:40.031Z] 54011a49482f: Verifying Checksum [2021-06-26T18:40:40.031Z] 54011a49482f: Download complete [2021-06-26T18:40:40.296Z] 31603596830f: Verifying Checksum [2021-06-26T18:40:40.296Z] 31603596830f: Download complete [2021-06-26T18:40:40.296Z] a6820b24f6d8: Verifying Checksum [2021-06-26T18:40:40.296Z] a6820b24f6d8: Download complete [2021-06-26T18:40:40.559Z] 31603596830f: Pull complete [2021-06-26T18:40:40.559Z] f581987b2513: Verifying Checksum [2021-06-26T18:40:40.559Z] f581987b2513: Download complete [2021-06-26T18:40:40.559Z] 54011a49482f: Pull complete [2021-06-26T18:40:41.149Z] a6820b24f6d8: Pull complete [2021-06-26T18:40:41.411Z] f581987b2513: Pull complete [2021-06-26T18:40:41.411Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-26T18:40:41.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-26T18:40:41.411Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-26T18:40:41.501Z] prd-centos7-docker-4c-2g-266 does not seem to be running inside a container [2021-06-26T18:40:41.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-26T18:40:42.604Z] $ docker top 4cf6f4daf8fdac6878f81018024e8d9396d8f17fff26877071e6248b17f9a6e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-26T18:40:42.739Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-26T18:40:42.739Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-26T18:40:42.845Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-26T18:40:42.847Z] $ docker exec 4cf6f4daf8fdac6878f81018024e8d9396d8f17fff26877071e6248b17f9a6e2 ssh-agent [2021-06-26T18:40:42.948Z] SSH_AUTH_SOCK=/tmp/ssh-s467Y1390Eij/agent.13 [2021-06-26T18:40:42.948Z] SSH_AGENT_PID=20 [2021-06-26T18:40:42.956Z] Running ssh-add (command line suppressed) [2021-06-26T18:40:43.058Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_6475614218248690376.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_6475614218248690376.key) [2021-06-26T18:40:43.074Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-26T18:40:43.380Z] + git tag --points-at HEAD [Pipeline] } [2021-06-26T18:40:43.401Z] $ docker exec --env ******** --env ******** 4cf6f4daf8fdac6878f81018024e8d9396d8f17fff26877071e6248b17f9a6e2 ssh-agent -k [2021-06-26T18:40:43.507Z] unset SSH_AUTH_SOCK; [2021-06-26T18:40:43.507Z] unset SSH_AGENT_PID; [2021-06-26T18:40:43.507Z] echo Agent pid 20 killed; [2021-06-26T18:40:43.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-26T18:40:43.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-26T18:40:43.561Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-26T18:40:43.674Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-26T18:40:43.677Z] $ docker exec 4cf6f4daf8fdac6878f81018024e8d9396d8f17fff26877071e6248b17f9a6e2 ssh-agent [2021-06-26T18:40:43.781Z] SSH_AUTH_SOCK=/tmp/ssh-PoMFCfTqxe5G/agent.54 [2021-06-26T18:40:43.781Z] SSH_AGENT_PID=61 [2021-06-26T18:40:43.787Z] Running ssh-add (command line suppressed) [2021-06-26T18:40:43.888Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_9158566649379383156.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_9158566649379383156.key) [2021-06-26T18:40:43.905Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-26T18:40:44.209Z] + git semver init [2021-06-26T18:40:44.209Z] # -> Open(): unable to determine branch for HEAD [2021-06-26T18:40:44.209Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-06-26T18:40:44.209Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-26T18:40:44.209Z] # $SEMVER_REMOTE_NAME = origin [2021-06-26T18:40:44.209Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-26T18:40:44.209Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-26T18:40:44.209Z] # $SEMVER_BRANCH = PR-971 [2021-06-26T18:40:44.209Z] # $SEMVER_TEMP = /tmp/semver-172407884 [2021-06-26T18:40:44.209Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-26T18:40:44.781Z] # '/tmp/semver-172407884' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-06-26T18:40:44.781Z] # -> Force: false [2021-06-26T18:40:44.781Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-06-26T18:40:44.790Z] $ docker exec --env ******** --env ******** 4cf6f4daf8fdac6878f81018024e8d9396d8f17fff26877071e6248b17f9a6e2 ssh-agent -k [2021-06-26T18:40:44.878Z] unset SSH_AUTH_SOCK; [2021-06-26T18:40:44.878Z] unset SSH_AGENT_PID; [2021-06-26T18:40:44.878Z] echo Agent pid 61 killed; [2021-06-26T18:40:44.889Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-26T18:40:45.225Z] + git semver [Pipeline] } [2021-06-26T18:40:45.239Z] $ docker stop --time=1 4cf6f4daf8fdac6878f81018024e8d9396d8f17fff26877071e6248b17f9a6e2 [2021-06-26T18:40:46.672Z] $ docker rm -f 4cf6f4daf8fdac6878f81018024e8d9396d8f17fff26877071e6248b17f9a6e2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-26T18:40:47.048Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-26T18:40:47.346Z] Stashed 1 file(s) [Pipeline] echo [2021-06-26T18:40:47.350Z] [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] node [Pipeline] node [2021-06-26T18:41:02.656Z] Still waiting to schedule task [2021-06-26T18:41:02.657Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-26T18:41:02.659Z] Still waiting to schedule task [2021-06-26T18:41:02.660Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-26T18:43:03.707Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-268 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-26T18:43:03.728Z] Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout [2021-06-26T18:43:04.027Z] Selected Git installation does not exist. Using Default [2021-06-26T18:43:04.027Z] The recommended git tool is: NONE [2021-06-26T18:43:09.231Z] using credential edgex-jenkins-ssh [2021-06-26T18:43:09.307Z] Cloning the remote Git repository [2021-06-26T18:43:09.353Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-26T18:43:09.462Z] > git init /w/workspace/device-sdk-go/20 # timeout=10 [2021-06-26T18:43:09.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-26T18:43:09.539Z] > git --version # timeout=10 [2021-06-26T18:43:09.628Z] > git --version # 'git version 2.17.1' [2021-06-26T18:43:09.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-26T18:43:09.793Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-26T18:43:11.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-26T18:43:11.040Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-26T18:43:11.072Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-26T18:43:11.105Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-26T18:43:11.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-26T18:43:11.126Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-26T18:43:11.633Z] Merging remotes/origin/master commit ee399ff793e6dfca353bb8608da5c77bb591d6d3 into PR head commit 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b [2021-06-26T18:43:11.925Z] Merge succeeded, producing 8e8b9a86579dded82dbc03ff3d53f543fe8b7a1b [2021-06-26T18:43:11.926Z] Checking out Revision 8e8b9a86579dded82dbc03ff3d53f543fe8b7a1b (PR-971) [2021-06-26T18:43:11.646Z] > git config core.sparsecheckout # timeout=10 [2021-06-26T18:43:11.657Z] > git checkout -f 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # timeout=10 [2021-06-26T18:43:11.758Z] > git remote # timeout=10 [2021-06-26T18:43:11.797Z] > git config --get remote.origin.url # timeout=10 [2021-06-26T18:43:11.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-26T18:43:11.826Z] > git merge ee399ff793e6dfca353bb8608da5c77bb591d6d3 # timeout=10 [2021-06-26T18:43:11.902Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-26T18:43:11.928Z] > git config core.sparsecheckout # timeout=10 [2021-06-26T18:43:11.941Z] > git checkout -f 8e8b9a86579dded82dbc03ff3d53f543fe8b7a1b # timeout=10 [2021-06-26T18:43:16.196Z] Commit message: "Merge commit 'ee399ff793e6dfca353bb8608da5c77bb591d6d3' into HEAD" [2021-06-26T18:43:16.198Z] > git rev-list --no-walk 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-26T18:43:17.704Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-26T18:43:18.130Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-26T18:43:18.474Z] + sudo service docker restart [2021-06-26T18:43:18.474Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-26T18:43:36.823Z] provisioning config files... [2021-06-26T18:43:36.853Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/20@tmp/config3973976112433738063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:43:37.237Z] ---> docker-login.sh [2021-06-26T18:43:37.237Z] nexus3.edgexfoundry.org:10001 [2021-06-26T18:43:38.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:43:38.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:43:38.497Z] Configure a credential helper to remove this warning. See [2021-06-26T18:43:38.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:43:38.497Z] [2021-06-26T18:43:38.497Z] Login Succeeded [2021-06-26T18:43:38.497Z] nexus3.edgexfoundry.org:10002 [2021-06-26T18:43:38.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:43:39.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:43:39.045Z] Configure a credential helper to remove this warning. See [2021-06-26T18:43:39.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:43:39.045Z] [2021-06-26T18:43:39.045Z] Login Succeeded [2021-06-26T18:43:39.045Z] nexus3.edgexfoundry.org:10003 [2021-06-26T18:43:39.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:43:39.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:43:39.601Z] Configure a credential helper to remove this warning. See [2021-06-26T18:43:39.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:43:39.601Z] [2021-06-26T18:43:39.601Z] Login Succeeded [2021-06-26T18:43:39.601Z] nexus3.edgexfoundry.org:10004 [2021-06-26T18:43:39.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:43:40.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:43:40.148Z] Configure a credential helper to remove this warning. See [2021-06-26T18:43:40.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:43:40.148Z] [2021-06-26T18:43:40.148Z] Login Succeeded [2021-06-26T18:43:40.148Z] docker.io [2021-06-26T18:43:40.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:43:41.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:43:41.018Z] Configure a credential helper to remove this warning. See [2021-06-26T18:43:41.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:43:41.018Z] [2021-06-26T18:43:41.018Z] Login Succeeded [2021-06-26T18:43:41.018Z] ---> docker-login.sh ends [Pipeline] } [2021-06-26T18:43:41.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-26T18:43:41.571Z] ========================================================= [2021-06-26T18:43:41.571Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-26T18:43:41.571Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:43:42.038Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-26T18:43:42.664Z] Sending build context to Docker daemon 2.717MB [2021-06-26T18:43:42.664Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-26T18:43:42.664Z] Step 2/8 : FROM ${BASE} [2021-06-26T18:43:42.664Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-26T18:43:42.664Z] 595b0fe564bb: Pulling fs layer [2021-06-26T18:43:42.664Z] 3088b5b3c5c0: Pulling fs layer [2021-06-26T18:43:42.664Z] 5b7225fbf94c: Pulling fs layer [2021-06-26T18:43:42.664Z] ba82ee9f976e: Pulling fs layer [2021-06-26T18:43:42.664Z] 506bd15cee9f: Pulling fs layer [2021-06-26T18:43:42.664Z] 75a0a4a0db45: Pulling fs layer [2021-06-26T18:43:42.664Z] 618dc40b7e24: Pulling fs layer [2021-06-26T18:43:42.664Z] ba82ee9f976e: Waiting [2021-06-26T18:43:42.664Z] 506bd15cee9f: Waiting [2021-06-26T18:43:42.664Z] 75a0a4a0db45: Waiting [2021-06-26T18:43:42.664Z] 618dc40b7e24: Waiting [2021-06-26T18:43:42.664Z] 5b7225fbf94c: Download complete [2021-06-26T18:43:42.941Z] 3088b5b3c5c0: Verifying Checksum [2021-06-26T18:43:42.941Z] 3088b5b3c5c0: Download complete [2021-06-26T18:43:42.941Z] 506bd15cee9f: Download complete [2021-06-26T18:43:42.941Z] 75a0a4a0db45: Verifying Checksum [2021-06-26T18:43:42.941Z] 75a0a4a0db45: Download complete [2021-06-26T18:43:42.941Z] 595b0fe564bb: Verifying Checksum [2021-06-26T18:43:42.941Z] 595b0fe564bb: Download complete [2021-06-26T18:43:43.542Z] 595b0fe564bb: Pull complete [2021-06-26T18:43:44.158Z] 3088b5b3c5c0: Pull complete [2021-06-26T18:43:44.758Z] 5b7225fbf94c: Pull complete [2021-06-26T18:43:45.037Z] 618dc40b7e24: Download complete [2021-06-26T18:43:47.040Z] ba82ee9f976e: Verifying Checksum [2021-06-26T18:43:47.040Z] ba82ee9f976e: Download complete [2021-06-26T18:43:57.225Z] ba82ee9f976e: Pull complete [2021-06-26T18:43:57.501Z] 506bd15cee9f: Pull complete [2021-06-26T18:43:57.779Z] 75a0a4a0db45: Pull complete [2021-06-26T18:44:02.139Z] 618dc40b7e24: Pull complete [2021-06-26T18:44:02.139Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-26T18:44:02.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-26T18:44:02.139Z] ---> a36622ca3599 [2021-06-26T18:44:02.139Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-26T18:44:03.586Z] ---> Running in e674896d5ec8 [2021-06-26T18:44:04.182Z] Removing intermediate container e674896d5ec8 [2021-06-26T18:44:04.182Z] ---> 79a5bae3ed18 [2021-06-26T18:44:04.182Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-26T18:44:04.182Z] ---> Running in c8a9fd2db7d7 [2021-06-26T18:44:06.809Z] Removing intermediate container c8a9fd2db7d7 [2021-06-26T18:44:06.809Z] ---> 2b2357d2e32c [2021-06-26T18:44:06.809Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-26T18:44:06.809Z] ---> Running in f841f66ea7a9 [2021-06-26T18:44:07.781Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-26T18:44:08.754Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-26T18:44:09.730Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-26T18:44:09.730Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-26T18:44:09.730Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-26T18:44:09.730Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-26T18:44:09.999Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-26T18:44:09.999Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-26T18:44:10.269Z] Executing busybox-1.32.1-r6.trigger [2021-06-26T18:44:10.269Z] OK: 139 MiB in 46 packages [2021-06-26T18:44:11.334Z] Removing intermediate container f841f66ea7a9 [2021-06-26T18:44:11.334Z] ---> 1e17a705924f [2021-06-26T18:44:11.334Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-26T18:44:11.606Z] ---> Running in 6d880890de6e [2021-06-26T18:44:12.202Z] Removing intermediate container 6d880890de6e [2021-06-26T18:44:12.202Z] ---> c4d1febd05e2 [2021-06-26T18:44:12.202Z] Step 7/8 : COPY . . [2021-06-26T18:44:13.658Z] ---> b19cdd5120e0 [2021-06-26T18:44:13.658Z] Step 8/8 : RUN go mod download [2021-06-26T18:44:13.658Z] ---> Running in 3cc0c1b95c0b [2021-06-26T18:44:40.478Z] Removing intermediate container 3cc0c1b95c0b [2021-06-26T18:44:40.479Z] ---> cb48a7ea7256 [2021-06-26T18:44:40.479Z] Successfully built cb48a7ea7256 [2021-06-26T18:44:40.479Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:44:40.825Z] + docker inspect -f . ci-base-image-arm64 [2021-06-26T18:44:40.825Z] . [Pipeline] withDockerContainer [2021-06-26T18:44:41.053Z] prd-ubuntu18.04-docker-arm64-4c-16g-268 does not seem to be running inside a container [2021-06-26T18:44:41.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-26T18:44:42.723Z] $ docker top c2fb363c2883aeaba02eb6b8befcc44b348096f6602db21ab1a7e5f0ff1e8136 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-26T18:44:43.712Z] + go version [2021-06-26T18:44:43.713Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-26T18:44:43.733Z] $ docker stop --time=1 c2fb363c2883aeaba02eb6b8befcc44b348096f6602db21ab1a7e5f0ff1e8136 [2021-06-26T18:44:45.543Z] $ docker rm -f c2fb363c2883aeaba02eb6b8befcc44b348096f6602db21ab1a7e5f0ff1e8136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:44:46.401Z] + docker inspect -f . ci-base-image-arm64 [2021-06-26T18:44:46.401Z] . [Pipeline] withDockerContainer [2021-06-26T18:44:46.635Z] prd-ubuntu18.04-docker-arm64-4c-16g-268 does not seem to be running inside a container [2021-06-26T18:44:46.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-26T18:44:48.247Z] $ docker top 67962ab1c3cccc3c25307902540dc2bf0a9cfc32feb164dc1bc6d55a59a08857 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-26T18:44:49.217Z] + go mod tidy [Pipeline] sh [2021-06-26T18:44:50.486Z] + make test [2021-06-26T18:44:50.486Z] go mod tidy [2021-06-26T18:44:50.770Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-26T18:45:12.256Z] Running on prd-centos7-docker-4c-2g-269 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-26T18:45:12.278Z] Running in /w/workspace/device-sdk-go/20 [Pipeline] { [Pipeline] checkout [2021-06-26T18:45:12.408Z] Selected Git installation does not exist. Using Default [2021-06-26T18:45:12.408Z] The recommended git tool is: NONE [2021-06-26T18:45:15.030Z] using credential edgex-jenkins-ssh [2021-06-26T18:45:15.056Z] Cloning the remote Git repository [2021-06-26T18:45:14.833Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-26T18:45:14.912Z] > git init /w/workspace/device-sdk-go/20 # timeout=10 [2021-06-26T18:45:14.945Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-26T18:45:14.945Z] > git --version # timeout=10 [2021-06-26T18:45:14.953Z] > git --version # 'git version 2.24.4' [2021-06-26T18:45:14.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-26T18:45:14.984Z] [INFO] Currently running in a labeled security context [2021-06-26T18:45:14.985Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-26T18:45:14.985Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/20@tmp/jenkins-gitclient-ssh8323645229876347007.key [2021-06-26T18:45:15.002Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-26T18:45:16.462Z] Merging remotes/origin/master commit ee399ff793e6dfca353bb8608da5c77bb591d6d3 into PR head commit 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b [2021-06-26T18:45:16.569Z] Merge succeeded, producing 015380786860eedc73de1111a3d97e3fbd00f1e6 [2021-06-26T18:45:16.570Z] Checking out Revision 015380786860eedc73de1111a3d97e3fbd00f1e6 (PR-971) [2021-06-26T18:45:15.842Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-26T18:45:15.851Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-26T18:45:15.867Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-26T18:45:15.882Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-26T18:45:15.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-26T18:45:15.884Z] [INFO] Currently running in a labeled security context [2021-06-26T18:45:15.884Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-26T18:45:15.884Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/20@tmp/jenkins-gitclient-ssh4135201607543604027.key [2021-06-26T18:45:15.892Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-26T18:45:16.334Z] > git config core.sparsecheckout # timeout=10 [2021-06-26T18:45:16.343Z] > git checkout -f 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # timeout=10 [2021-06-26T18:45:16.381Z] > git remote # timeout=10 [2021-06-26T18:45:16.390Z] > git config --get remote.origin.url # timeout=10 [2021-06-26T18:45:16.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-26T18:45:16.398Z] [INFO] Currently running in a labeled security context [2021-06-26T18:45:16.398Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-26T18:45:16.398Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/20@tmp/jenkins-gitclient-ssh3447885894372152379.key [2021-06-26T18:45:16.408Z] > git merge ee399ff793e6dfca353bb8608da5c77bb591d6d3 # timeout=10 [2021-06-26T18:45:16.430Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-26T18:45:16.444Z] > git config core.sparsecheckout # timeout=10 [2021-06-26T18:45:16.454Z] > git checkout -f 015380786860eedc73de1111a3d97e3fbd00f1e6 # timeout=10 [2021-06-26T18:45:17.621Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-26T18:45:20.128Z] Commit message: "Merge commit 'ee399ff793e6dfca353bb8608da5c77bb591d6d3' into HEAD" [2021-06-26T18:45:20.128Z] > git rev-list --no-walk 85c9abe6fa3cd0c0f04d55ec4f0f48affb8b929b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-26T18:45:21.468Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-26T18:45:21.800Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-26T18:45:22.103Z] + true [2021-06-26T18:45:22.103Z] + sudo service docker restart [2021-06-26T18:45:22.103Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-26T18:45:40.334Z] provisioning config files... [2021-06-26T18:45:40.351Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/20@tmp/config4090039904427793618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:45:40.693Z] ---> docker-login.sh [2021-06-26T18:45:40.693Z] nexus3.edgexfoundry.org:10001 [2021-06-26T18:45:40.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:45:40.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:45:40.957Z] Configure a credential helper to remove this warning. See [2021-06-26T18:45:40.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:45:40.957Z] [2021-06-26T18:45:40.957Z] Login Succeeded [2021-06-26T18:45:40.957Z] nexus3.edgexfoundry.org:10002 [2021-06-26T18:45:41.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:45:41.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:45:41.226Z] Configure a credential helper to remove this warning. See [2021-06-26T18:45:41.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:45:41.226Z] [2021-06-26T18:45:41.226Z] Login Succeeded [2021-06-26T18:45:41.226Z] nexus3.edgexfoundry.org:10003 [2021-06-26T18:45:41.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:45:41.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:45:41.492Z] Configure a credential helper to remove this warning. See [2021-06-26T18:45:41.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:45:41.492Z] [2021-06-26T18:45:41.492Z] Login Succeeded [2021-06-26T18:45:41.492Z] nexus3.edgexfoundry.org:10004 [2021-06-26T18:45:41.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:45:41.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:45:41.492Z] Configure a credential helper to remove this warning. See [2021-06-26T18:45:41.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:45:41.492Z] [2021-06-26T18:45:41.492Z] Login Succeeded [2021-06-26T18:45:41.492Z] docker.io [2021-06-26T18:45:41.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-26T18:45:42.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-26T18:45:42.068Z] Configure a credential helper to remove this warning. See [2021-06-26T18:45:42.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-26T18:45:42.068Z] [2021-06-26T18:45:42.068Z] Login Succeeded [2021-06-26T18:45:42.068Z] ---> docker-login.sh ends [Pipeline] } [2021-06-26T18:45:42.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-26T18:45:42.268Z] ========================================================= [2021-06-26T18:45:42.268Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-26T18:45:42.268Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:45:42.592Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-26T18:45:42.592Z] Sending build context to Docker daemon 2.708MB [2021-06-26T18:45:42.592Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-26T18:45:42.592Z] Step 2/8 : FROM ${BASE} [2021-06-26T18:45:42.856Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-26T18:45:42.856Z] 540db60ca938: Pulling fs layer [2021-06-26T18:45:42.856Z] adcc1eea9eea: Pulling fs layer [2021-06-26T18:45:42.856Z] 4c4ab2625f07: Pulling fs layer [2021-06-26T18:45:42.856Z] 0510c868ecb4: Pulling fs layer [2021-06-26T18:45:42.856Z] afea3b2eda06: Pulling fs layer [2021-06-26T18:45:42.856Z] 7809a108b3ef: Pulling fs layer [2021-06-26T18:45:42.856Z] f706445af74f: Pulling fs layer [2021-06-26T18:45:42.856Z] afea3b2eda06: Waiting [2021-06-26T18:45:42.856Z] 7809a108b3ef: Waiting [2021-06-26T18:45:42.856Z] f706445af74f: Waiting [2021-06-26T18:45:42.856Z] 0510c868ecb4: Waiting [2021-06-26T18:45:42.856Z] 4c4ab2625f07: Verifying Checksum [2021-06-26T18:45:42.856Z] 4c4ab2625f07: Download complete [2021-06-26T18:45:42.856Z] adcc1eea9eea: Download complete [2021-06-26T18:45:42.856Z] afea3b2eda06: Verifying Checksum [2021-06-26T18:45:42.856Z] afea3b2eda06: Download complete [2021-06-26T18:45:42.856Z] 540db60ca938: Verifying Checksum [2021-06-26T18:45:42.856Z] 540db60ca938: Download complete [2021-06-26T18:45:42.856Z] 7809a108b3ef: Verifying Checksum [2021-06-26T18:45:42.856Z] 7809a108b3ef: Download complete [2021-06-26T18:45:43.121Z] 540db60ca938: Pull complete [2021-06-26T18:45:43.122Z] adcc1eea9eea: Pull complete [2021-06-26T18:45:43.386Z] 4c4ab2625f07: Pull complete [2021-06-26T18:45:44.346Z] f706445af74f: Verifying Checksum [2021-06-26T18:45:44.346Z] f706445af74f: Download complete [2021-06-26T18:45:45.291Z] 0510c868ecb4: Verifying Checksum [2021-06-26T18:45:45.291Z] 0510c868ecb4: Download complete [2021-06-26T18:45:48.662Z] 0510c868ecb4: Pull complete [2021-06-26T18:45:48.925Z] afea3b2eda06: Pull complete [2021-06-26T18:45:48.925Z] 7809a108b3ef: Pull complete [2021-06-26T18:45:50.871Z] f706445af74f: Pull complete [2021-06-26T18:45:50.871Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-26T18:45:50.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-26T18:45:50.871Z] ---> b068be0155e3 [2021-06-26T18:45:50.871Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-26T18:45:54.257Z] ---> Running in 172512e8a5a4 [2021-06-26T18:45:54.521Z] Removing intermediate container 172512e8a5a4 [2021-06-26T18:45:54.521Z] ---> 7663e460a592 [2021-06-26T18:45:54.521Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-26T18:45:54.521Z] ---> Running in fbc1d36415c3 [2021-06-26T18:45:55.102Z] Removing intermediate container fbc1d36415c3 [2021-06-26T18:45:55.102Z] ---> 8bb3c51cb751 [2021-06-26T18:45:55.102Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-26T18:45:55.102Z] ---> Running in 3c6440eb0d51 [2021-06-26T18:45:55.363Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-26T18:45:56.311Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-26T18:45:56.885Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-26T18:45:56.885Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-26T18:45:56.885Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-26T18:45:57.146Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-26T18:45:57.146Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-26T18:45:57.146Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-26T18:45:57.409Z] Executing busybox-1.32.1-r6.trigger [2021-06-26T18:45:57.409Z] OK: 150 MiB in 46 packages [2021-06-26T18:45:57.670Z] Removing intermediate container 3c6440eb0d51 [2021-06-26T18:45:57.670Z] ---> 26d07fd370cc [2021-06-26T18:45:57.670Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-26T18:45:57.670Z] ---> Running in 6a43b8ec99d7 [2021-06-26T18:45:57.931Z] Removing intermediate container 6a43b8ec99d7 [2021-06-26T18:45:57.931Z] ---> 0e4a480c2aa6 [2021-06-26T18:45:57.931Z] Step 7/8 : COPY . . [2021-06-26T18:45:58.199Z] ---> 2a448a8466bd [2021-06-26T18:45:58.199Z] Step 8/8 : RUN go mod download [2021-06-26T18:45:58.199Z] ---> Running in fa4b79ff2eb5 [2021-06-26T18:46:10.497Z] Removing intermediate container fa4b79ff2eb5 [2021-06-26T18:46:10.497Z] ---> c6fcd8019b49 [2021-06-26T18:46:10.497Z] Successfully built c6fcd8019b49 [2021-06-26T18:46:10.497Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:46:10.806Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-26T18:46:10.807Z] . [Pipeline] withDockerContainer [2021-06-26T18:46:10.905Z] prd-centos7-docker-4c-2g-269 does not seem to be running inside a container [2021-06-26T18:46:10.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-26T18:46:11.362Z] $ docker top 8a1c4763acc3acb19cc60e3742c340416328baa5b4688f8affefefa47452c366 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-26T18:46:11.763Z] + go version [2021-06-26T18:46:11.763Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-26T18:46:11.772Z] $ docker stop --time=1 8a1c4763acc3acb19cc60e3742c340416328baa5b4688f8affefefa47452c366 [2021-06-26T18:46:13.004Z] $ docker rm -f 8a1c4763acc3acb19cc60e3742c340416328baa5b4688f8affefefa47452c366 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:46:13.595Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-26T18:46:13.595Z] . [Pipeline] withDockerContainer [2021-06-26T18:46:13.683Z] prd-centos7-docker-4c-2g-269 does not seem to be running inside a container [2021-06-26T18:46:13.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/20 -v /w/workspace/device-sdk-go/20:/w/workspace/device-sdk-go/20:rw,z -v /w/workspace/device-sdk-go/20@tmp:/w/workspace/device-sdk-go/20@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 ******** -e ******** ci-base-image-x86_64 cat [2021-06-26T18:46:14.135Z] $ docker top f6ca221d9c2cdb35a9141f23151ce5c34516bbf1dc7fade1193a73411a9cd621 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-26T18:46:14.294Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-26T18:46:14.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-26T18:46:14.295Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-26T18:46:14.560Z] + go mod tidy [Pipeline] sh [2021-06-26T18:46:15.132Z] + make test [2021-06-26T18:46:15.132Z] go mod tidy [2021-06-26T18:46:15.408Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-26T18:46:20.832Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-26T18:46:29.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.301s coverage: 24.2% of statements [2021-06-26T18:46:29.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-26T18:46:29.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.206s coverage: 28.1% of statements [2021-06-26T18:46:29.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.271s coverage: 78.9% of statements [2021-06-26T18:46:29.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.213s coverage: 9.0% of statements [2021-06-26T18:46:29.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-26T18:46:29.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-26T18:46:29.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-26T18:46:29.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.286s coverage: 28.7% of statements [2021-06-26T18:46:29.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-26T18:46:29.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.288s coverage: 83.3% of statements [2021-06-26T18:46:29.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-26T18:46:29.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-26T18:46:29.714Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.353s coverage: 58.0% of statements [2021-06-26T18:46:34.042Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.993s coverage: 89.2% of statements [2021-06-26T18:46:34.042Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-26T18:46:34.042Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.185s coverage: 4.9% of statements [2021-06-26T18:46:34.042Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-26T18:46:34.042Z] GO111MODULE=on go vet ./... [2021-06-26T18:46:47.590Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-26T18:46:47.590Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-26T18:46:47.590Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-26T18:46:48.170Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 24.2% of statements [2021-06-26T18:46:48.170Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-26T18:46:48.170Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 28.1% of statements [2021-06-26T18:46:48.432Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements [2021-06-26T18:46:48.699Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2021-06-26T18:46:48.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-26T18:46:48.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-26T18:46:48.699Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-26T18:46:49.649Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.076s coverage: 28.7% of statements [2021-06-26T18:46:49.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-26T18:46:51.046Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.057s coverage: 83.3% of statements [2021-06-26T18:46:51.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-26T18:46:51.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-26T18:46:51.046Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.094s coverage: 58.0% of statements [2021-06-26T18:46:51.999Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.838s coverage: 89.2% of statements [2021-06-26T18:46:51.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-26T18:46:51.999Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.9% of statements [2021-06-26T18:46:51.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-26T18:46:51.999Z] GO111MODULE=on go vet ./... [2021-06-26T18:47:14.080Z] gofmt -l . [2021-06-26T18:47:14.080Z] [ "`gofmt -l .`" = "" ] [2021-06-26T18:47:14.081Z] ./bin/test-attribution-txt.sh [2021-06-26T18:47:14.081Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-26T18:47:14.090Z] $ docker stop --time=1 f6ca221d9c2cdb35a9141f23151ce5c34516bbf1dc7fade1193a73411a9cd621 [2021-06-26T18:47:15.594Z] $ docker rm -f f6ca221d9c2cdb35a9141f23151ce5c34516bbf1dc7fade1193a73411a9cd621 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-26T18:47:16.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-26T18:47:16.331Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-26T18:47:19.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-26T18:47:19.492Z] + ls -al . [2021-06-26T18:47:19.492Z] total 228 [2021-06-26T18:47:19.492Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 26 18:47 . [2021-06-26T18:47:19.492Z] drwxrwxr-x. 4 jenkins jenkins 30 Jun 26 18:45 .. [2021-06-26T18:47:19.492Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 26 18:45 bin [2021-06-26T18:47:19.492Z] -rw-rw-r--. 1 jenkins jenkins 25548 Jun 26 18:45 CHANGELOG.md [2021-06-26T18:47:19.492Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 26 18:46 coverage.out [2021-06-26T18:47:19.492Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 26 18:45 Dockerfile.build [2021-06-26T18:47:19.492Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 26 18:45 .dockerignore [2021-06-26T18:47:19.492Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 26 18:45 example [2021-06-26T18:47:19.492Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 26 18:45 .git [2021-06-26T18:47:19.492Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 26 18:45 .github [2021-06-26T18:47:19.492Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 26 18:45 .gitignore [2021-06-26T18:47:19.492Z] -rw-r--r--. 1 jenkins jenkins 548 Jun 26 18:47 go.mod [2021-06-26T18:47:19.492Z] -rw-r--r--. 1 jenkins jenkins 20301 Jun 26 18:46 go.sum [2021-06-26T18:47:19.492Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 26 18:45 internal [2021-06-26T18:47:19.492Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 26 18:45 Jenkinsfile [2021-06-26T18:47:19.492Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 26 18:45 LICENSE [2021-06-26T18:47:19.492Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 26 18:45 Makefile [2021-06-26T18:47:19.492Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 26 18:45 openapi [2021-06-26T18:47:19.492Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 26 18:45 pkg [2021-06-26T18:47:19.492Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 26 18:45 README.md [2021-06-26T18:47:19.492Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 26 18:45 snap [2021-06-26T18:47:19.492Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 26 18:40 VERSION [2021-06-26T18:47:19.492Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 26 18:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:47:19.807Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=015380786860eedc73de1111a3d97e3fbd00f1e6 --label arch=amd64 --label version=0.0.0 . [2021-06-26T18:47:19.807Z] Sending build context to Docker daemon 2.834MB [2021-06-26T18:47:19.807Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-26T18:47:19.807Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-26T18:47:19.807Z] ---> c6fcd8019b49 [2021-06-26T18:47:19.807Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-26T18:47:19.807Z] ---> Running in 2c8e082a36e5 [2021-06-26T18:47:20.071Z] Removing intermediate container 2c8e082a36e5 [2021-06-26T18:47:20.072Z] ---> 2eb95ef22f00 [2021-06-26T18:47:20.072Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-26T18:47:20.072Z] ---> Running in a849f7b3274a [2021-06-26T18:47:20.072Z] Removing intermediate container a849f7b3274a [2021-06-26T18:47:20.072Z] ---> ec7c785808ab [2021-06-26T18:47:20.072Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-26T18:47:20.072Z] ---> Running in 2f797082b8b7 [2021-06-26T18:47:20.647Z] Removing intermediate container 2f797082b8b7 [2021-06-26T18:47:20.647Z] ---> fedfd15df0ab [2021-06-26T18:47:20.647Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-26T18:47:20.647Z] ---> Running in 46504f1e1dd7 [2021-06-26T18:47:20.912Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-26T18:47:21.859Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-26T18:47:22.810Z] OK: 150 MiB in 46 packages [2021-06-26T18:47:23.073Z] Removing intermediate container 46504f1e1dd7 [2021-06-26T18:47:23.073Z] ---> d8fe9036a34c [2021-06-26T18:47:23.073Z] Step 7/23 : COPY . . [2021-06-26T18:47:23.334Z] ---> 303537fac52d [2021-06-26T18:47:23.334Z] Step 8/23 : RUN go mod download [2021-06-26T18:47:23.334Z] ---> Running in cd6704c6eb03 [2021-06-26T18:47:23.923Z] Removing intermediate container cd6704c6eb03 [2021-06-26T18:47:23.923Z] ---> 26e77a0df86d [2021-06-26T18:47:23.923Z] Step 9/23 : RUN make build [2021-06-26T18:47:23.923Z] ---> Running in 29e6e960c454 [2021-06-26T18:47:24.506Z] go mod tidy [2021-06-26T18:47:24.506Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-26T18:47:30.629Z] gofmt -l . [2021-06-26T18:47:30.629Z] [ "`gofmt -l .`" = "" ] [2021-06-26T18:47:30.629Z] ./bin/test-attribution-txt.sh [2021-06-26T18:47:30.629Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-26T18:47:30.648Z] $ docker stop --time=1 67962ab1c3cccc3c25307902540dc2bf0a9cfc32feb164dc1bc6d55a59a08857 [2021-06-26T18:47:32.678Z] $ docker rm -f 67962ab1c3cccc3c25307902540dc2bf0a9cfc32feb164dc1bc6d55a59a08857 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-26T18:47:33.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-26T18:47:33.758Z] Warning: overwriting stash ‘coverage-report’ [2021-06-26T18:47:34.349Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-26T18:47:34.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-26T18:47:35.244Z] + ls -al . [2021-06-26T18:47:35.244Z] total 264 [2021-06-26T18:47:35.244Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 26 18:47 . [2021-06-26T18:47:35.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 18:43 .. [2021-06-26T18:47:35.244Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 26 18:43 .dockerignore [2021-06-26T18:47:35.244Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 26 18:43 .git [2021-06-26T18:47:35.244Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 18:43 .github [2021-06-26T18:47:35.244Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 26 18:43 .gitignore [2021-06-26T18:47:35.244Z] -rw-rw-r-- 1 jenkins jenkins 25548 Jun 26 18:43 CHANGELOG.md [2021-06-26T18:47:35.244Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 26 18:43 Dockerfile.build [2021-06-26T18:47:35.244Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 26 18:43 Jenkinsfile [2021-06-26T18:47:35.244Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 26 18:43 LICENSE [2021-06-26T18:47:35.244Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 26 18:43 Makefile [2021-06-26T18:47:35.244Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 26 18:43 README.md [2021-06-26T18:47:35.244Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 26 18:40 VERSION [2021-06-26T18:47:35.244Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 26 18:43 bin [2021-06-26T18:47:35.244Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 26 18:46 coverage.out [2021-06-26T18:47:35.244Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 26 18:43 example [2021-06-26T18:47:35.244Z] -rw-r--r-- 1 jenkins jenkins 548 Jun 26 18:47 go.mod [2021-06-26T18:47:35.244Z] -rw-r--r-- 1 jenkins jenkins 20301 Jun 26 18:44 go.sum [2021-06-26T18:47:35.244Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 26 18:43 internal [2021-06-26T18:47:35.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 18:43 openapi [2021-06-26T18:47:35.244Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 26 18:43 pkg [2021-06-26T18:47:35.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 26 18:43 snap [2021-06-26T18:47:35.244Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 26 18:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:47:35.597Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8e8b9a86579dded82dbc03ff3d53f543fe8b7a1b --label arch=arm64 --label version=0.0.0 . [2021-06-26T18:47:36.203Z] Sending build context to Docker daemon 2.843MB [2021-06-26T18:47:36.204Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-26T18:47:36.204Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-26T18:47:36.204Z] ---> cb48a7ea7256 [2021-06-26T18:47:36.204Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-26T18:47:36.476Z] ---> Running in b8d914fde255 [2021-06-26T18:47:36.750Z] Removing intermediate container b8d914fde255 [2021-06-26T18:47:36.750Z] ---> 50d251aa257a [2021-06-26T18:47:36.750Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-26T18:47:36.883Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-26T18:47:36.883Z] Removing intermediate container 29e6e960c454 [2021-06-26T18:47:36.883Z] ---> 7b10f45241ae [2021-06-26T18:47:36.883Z] Step 10/23 : FROM alpine:3.12 [2021-06-26T18:47:37.021Z] ---> Running in 3d9d6ad7f312 [2021-06-26T18:47:37.146Z] 3.12: Pulling from library/alpine [2021-06-26T18:47:37.146Z] 339de151aab4: Pulling fs layer [2021-06-26T18:47:37.412Z] 339de151aab4: Verifying Checksum [2021-06-26T18:47:37.412Z] 339de151aab4: Download complete [2021-06-26T18:47:37.620Z] Removing intermediate container 3d9d6ad7f312 [2021-06-26T18:47:37.620Z] ---> 1b2d3b96f79f [2021-06-26T18:47:37.620Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-26T18:47:37.620Z] ---> Running in 1fab752a75cf [2021-06-26T18:47:37.676Z] 339de151aab4: Pull complete [2021-06-26T18:47:37.676Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-26T18:47:37.676Z] Status: Downloaded newer image for alpine:3.12 [2021-06-26T18:47:37.676Z] ---> 13621d1b12d4 [2021-06-26T18:47:37.676Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-26T18:47:37.676Z] ---> Running in 8b8bf47ee08d [2021-06-26T18:47:37.938Z] Removing intermediate container 8b8bf47ee08d [2021-06-26T18:47:37.938Z] ---> 0b0154641c18 [2021-06-26T18:47:37.938Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-26T18:47:37.938Z] ---> Running in 49fad271b1b3 [2021-06-26T18:47:38.517Z] Removing intermediate container 49fad271b1b3 [2021-06-26T18:47:38.517Z] ---> 473aa6269a63 [2021-06-26T18:47:38.517Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-26T18:47:38.517Z] ---> Running in 339b2d39710e [2021-06-26T18:47:38.779Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-26T18:47:39.352Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-26T18:47:39.593Z] Removing intermediate container 1fab752a75cf [2021-06-26T18:47:39.593Z] ---> 20936058b415 [2021-06-26T18:47:39.593Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-26T18:47:39.593Z] ---> Running in f11d194688b7 [2021-06-26T18:47:39.929Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-26T18:47:39.929Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-26T18:47:39.929Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-26T18:47:40.878Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-26T18:47:40.878Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-26T18:47:41.038Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-26T18:47:41.142Z] Executing busybox-1.31.1-r20.trigger [2021-06-26T18:47:41.142Z] OK: 8 MiB in 19 packages [2021-06-26T18:47:41.412Z] Removing intermediate container 339b2d39710e [2021-06-26T18:47:41.412Z] ---> 0a6fa54eb01d [2021-06-26T18:47:41.412Z] Step 14/23 : WORKDIR / [2021-06-26T18:47:41.412Z] ---> Running in 23b9ee631ef3 [2021-06-26T18:47:41.412Z] Removing intermediate container 23b9ee631ef3 [2021-06-26T18:47:41.412Z] ---> 0e0e52c25756 [2021-06-26T18:47:41.412Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-26T18:47:41.677Z] ---> a430e51900c9 [2021-06-26T18:47:41.677Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-26T18:47:42.020Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-26T18:47:42.253Z] ---> fa080c25199c [2021-06-26T18:47:42.253Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-26T18:47:42.253Z] ---> 8a05fd1a399b [2021-06-26T18:47:42.253Z] Step 18/23 : EXPOSE 59999 [2021-06-26T18:47:42.253Z] ---> Running in 14a07afefeb5 [2021-06-26T18:47:42.515Z] Removing intermediate container 14a07afefeb5 [2021-06-26T18:47:42.515Z] ---> a63378e99d78 [2021-06-26T18:47:42.515Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-26T18:47:42.515Z] ---> Running in dca38e3dd1ba [2021-06-26T18:47:42.515Z] Removing intermediate container dca38e3dd1ba [2021-06-26T18:47:42.515Z] ---> e5d5642c1a55 [2021-06-26T18:47:42.515Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-26T18:47:42.515Z] ---> Running in 3b507d15f043 [2021-06-26T18:47:42.515Z] Removing intermediate container 3b507d15f043 [2021-06-26T18:47:42.515Z] ---> 70b97d2f31b3 [2021-06-26T18:47:42.515Z] Step 21/23 : LABEL arch=amd64 [2021-06-26T18:47:42.615Z] OK: 139 MiB in 46 packages [2021-06-26T18:47:42.780Z] ---> Running in 406a5eeaaf90 [2021-06-26T18:47:42.780Z] Removing intermediate container 406a5eeaaf90 [2021-06-26T18:47:42.780Z] ---> a407ab2973f6 [2021-06-26T18:47:42.780Z] Step 22/23 : LABEL git_sha=015380786860eedc73de1111a3d97e3fbd00f1e6 [2021-06-26T18:47:42.780Z] ---> Running in 9dab7a1f709e [2021-06-26T18:47:42.780Z] Removing intermediate container 9dab7a1f709e [2021-06-26T18:47:42.780Z] ---> 0b3a0e902305 [2021-06-26T18:47:42.780Z] Step 23/23 : LABEL version=0.0.0 [2021-06-26T18:47:42.780Z] ---> Running in 2e452f297c26 [2021-06-26T18:47:43.043Z] Removing intermediate container 2e452f297c26 [2021-06-26T18:47:43.043Z] ---> 009da2a4f9e6 [2021-06-26T18:47:43.043Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-26T18:47:43.043Z] Successfully built 009da2a4f9e6 [2021-06-26T18:47:43.043Z] Successfully tagged device-sdk-simple: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 [2021-06-26T18:47:43.615Z] Removing intermediate container f11d194688b7 [2021-06-26T18:47:43.615Z] ---> c50bb260828d [2021-06-26T18:47:43.615Z] Step 7/23 : COPY . . [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:47:43.974Z] ---> job-cost.sh [2021-06-26T18:47:43.975Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RIUo [2021-06-26T18:47:45.051Z] ---> 079fb09ff2a7 [2021-06-26T18:47:45.051Z] Step 8/23 : RUN go mod download [2021-06-26T18:47:45.051Z] ---> Running in dae1422fc036 [2021-06-26T18:47:47.672Z] Removing intermediate container dae1422fc036 [2021-06-26T18:47:47.672Z] ---> d5715b2bd4d8 [2021-06-26T18:47:47.672Z] Step 9/23 : RUN make build [2021-06-26T18:47:47.672Z] ---> Running in 4e62dabe395d [2021-06-26T18:47:48.654Z] go mod tidy [2021-06-26T18:47:48.929Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-26T18:47:54.046Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-26T18:48:06.383Z] lf-activate-venv(): INFO: Adding /tmp/venv-RIUo/bin to PATH [2021-06-26T18:48:06.383Z] INFO: No Stack... [2021-06-26T18:48:06.646Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-26T18:48:07.220Z] INFO: Archiving Costs [Pipeline] sh [2021-06-26T18:48:07.527Z] + cat /w/workspace/device-sdk-go/20/archives/cost.csv [2021-06-26T18:48:07.527Z] + cut -d, -f6 [Pipeline] lock [2021-06-26T18:48:07.561Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-20-stack-cost] [2021-06-26T18:48:07.571Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-20-stack-cost] did not exist. Created. [2021-06-26T18:48:07.571Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-26T18:48:07.908Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-26T18:48:07.993Z] Stashed 1 file(s) [Pipeline] } [2021-06-26T18:48:08.023Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-20-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-26T18:48:21.346Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-26T18:48:22.782Z] Removing intermediate container 4e62dabe395d [2021-06-26T18:48:22.782Z] ---> a2a4017c8a92 [2021-06-26T18:48:22.782Z] Step 10/23 : FROM alpine:3.12 [2021-06-26T18:48:23.377Z] 3.12: Pulling from library/alpine [2021-06-26T18:48:23.378Z] d2f70382dc9a: Pulling fs layer [2021-06-26T18:48:23.651Z] d2f70382dc9a: Verifying Checksum [2021-06-26T18:48:23.651Z] d2f70382dc9a: Download complete [2021-06-26T18:48:24.248Z] d2f70382dc9a: Pull complete [2021-06-26T18:48:24.248Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-26T18:48:24.249Z] Status: Downloaded newer image for alpine:3.12 [2021-06-26T18:48:24.249Z] ---> c4fd0aeabfcf [2021-06-26T18:48:24.249Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-26T18:48:24.523Z] ---> Running in d7efa95d4cc3 [2021-06-26T18:48:25.120Z] Removing intermediate container d7efa95d4cc3 [2021-06-26T18:48:25.120Z] ---> 596567a6c12c [2021-06-26T18:48:25.120Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-26T18:48:25.120Z] ---> Running in 82a4a52565e0 [2021-06-26T18:48:27.099Z] Removing intermediate container 82a4a52565e0 [2021-06-26T18:48:27.099Z] ---> 478a48285261 [2021-06-26T18:48:27.099Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-26T18:48:27.371Z] ---> Running in 992ff51fdc6a [2021-06-26T18:48:28.347Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-26T18:48:29.320Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-26T18:48:30.745Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-26T18:48:30.745Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-26T18:48:30.745Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-26T18:48:30.745Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-26T18:48:31.018Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-26T18:48:31.018Z] Executing busybox-1.31.1-r20.trigger [2021-06-26T18:48:31.018Z] OK: 8 MiB in 19 packages [2021-06-26T18:48:32.001Z] Removing intermediate container 992ff51fdc6a [2021-06-26T18:48:32.001Z] ---> 759143921643 [2021-06-26T18:48:32.001Z] Step 14/23 : WORKDIR / [2021-06-26T18:48:32.276Z] ---> Running in d87f4388fa37 [2021-06-26T18:48:32.888Z] Removing intermediate container d87f4388fa37 [2021-06-26T18:48:32.888Z] ---> 3c973b88b20e [2021-06-26T18:48:32.888Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-26T18:48:33.486Z] ---> 2180f0537fc1 [2021-06-26T18:48:33.486Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-26T18:48:34.933Z] ---> 2fe387d7dd0b [2021-06-26T18:48:34.933Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-26T18:48:35.527Z] ---> 65d46468f68c [2021-06-26T18:48:35.527Z] Step 18/23 : EXPOSE 59999 [2021-06-26T18:48:35.801Z] ---> Running in fe6f92564ebc [2021-06-26T18:48:36.072Z] Removing intermediate container fe6f92564ebc [2021-06-26T18:48:36.073Z] ---> c56f3b2f6408 [2021-06-26T18:48:36.073Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-26T18:48:36.344Z] ---> Running in 962a3feed340 [2021-06-26T18:48:36.617Z] Removing intermediate container 962a3feed340 [2021-06-26T18:48:36.617Z] ---> da3e2ee0a570 [2021-06-26T18:48:36.617Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-26T18:48:36.889Z] ---> Running in 43a2b8ab048f [2021-06-26T18:48:37.491Z] Removing intermediate container 43a2b8ab048f [2021-06-26T18:48:37.491Z] ---> 901bd9370672 [2021-06-26T18:48:37.491Z] Step 21/23 : LABEL arch=arm64 [2021-06-26T18:48:37.491Z] ---> Running in e265e0f37447 [2021-06-26T18:48:37.767Z] Removing intermediate container e265e0f37447 [2021-06-26T18:48:37.767Z] ---> b157c2d61c4f [2021-06-26T18:48:37.767Z] Step 22/23 : LABEL git_sha=8e8b9a86579dded82dbc03ff3d53f543fe8b7a1b [2021-06-26T18:48:38.041Z] ---> Running in 406a4c1d6aa5 [2021-06-26T18:48:38.633Z] Removing intermediate container 406a4c1d6aa5 [2021-06-26T18:48:38.633Z] ---> 28fd571ecdb4 [2021-06-26T18:48:38.633Z] Step 23/23 : LABEL version=0.0.0 [2021-06-26T18:48:38.633Z] ---> Running in b0d336f6a550 [2021-06-26T18:48:38.907Z] Removing intermediate container b0d336f6a550 [2021-06-26T18:48:38.907Z] ---> 4be956800f5e [2021-06-26T18:48:38.907Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-26T18:48:39.181Z] Successfully built 4be956800f5e [2021-06-26T18:48:39.181Z] Successfully tagged device-sdk-simple-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] libraryResource [Pipeline] sh [2021-06-26T18:48:39.768Z] ---> job-cost.sh [2021-06-26T18:48:39.768Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sw5j [2021-06-26T18:49:18.742Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-26T18:50:55.533Z] lf-activate-venv(): INFO: Adding /tmp/venv-sw5j/bin to PATH [2021-06-26T18:50:55.533Z] INFO: No Stack... [2021-06-26T18:50:55.533Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-26T18:50:55.533Z] INFO: Archiving Costs [Pipeline] sh [2021-06-26T18:50:55.886Z] + cat /w/workspace/device-sdk-go/20/archives/cost.csv [2021-06-26T18:50:55.886Z] + cut -d, -f6 [Pipeline] lock [2021-06-26T18:50:55.957Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-20-stack-cost] [2021-06-26T18:50:55.975Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-20-stack-cost] did not exist. Created. [2021-06-26T18:50:55.975Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-26T18:50:56.356Z] /w/workspace/device-sdk-go/20@tmp/durable-d43d2cd5/script.sh: 1: /w/workspace/device-sdk-go/20@tmp/durable-d43d2cd5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-26T18:50:56.706Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-26T18:50:56.743Z] Warning: overwriting stash ‘stack-cost’ [2021-06-26T18:50:56.905Z] Stashed 1 file(s) [Pipeline] } [2021-06-26T18:50:56.919Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-20-stack-cost] [Pipeline] // lock [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 [2021-06-26T18:50:57.721Z] provisioning config files... [2021-06-26T18:50:57.735Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config6755497610465160530tmp [Pipeline] { [Pipeline] sh [2021-06-26T18:50:58.067Z] + set +x [2021-06-26T18:50:58.067Z] + bash -s -- [2021-06-26T18:50:58.067Z] + curl -s https://codecov.io/bash [2021-06-26T18:50:58.067Z] [2021-06-26T18:50:58.067Z] _____ _ [2021-06-26T18:50:58.067Z] / ____| | | [2021-06-26T18:50:58.067Z] | | ___ __| | ___ ___ _____ __ [2021-06-26T18:50:58.067Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-26T18:50:58.067Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-26T18:50:58.067Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-26T18:50:58.067Z] Bash-1.0.3 [2021-06-26T18:50:58.067Z] [2021-06-26T18:50:58.067Z] [2021-06-26T18:50:58.067Z] ==> git version 2.24.4 found [2021-06-26T18:50:58.067Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-26T18:50:58.067Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-26T18:50:58.067Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-26T18:50:58.330Z] ==> Jenkins CI detected. [2021-06-26T18:50:58.330Z] project root: . [2021-06-26T18:50:58.330Z] --> token set from env [2021-06-26T18:50:58.330Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-26T18:50:58.330Z] ==> Running gcov in . (disable via -X gcov) [2021-06-26T18:50:58.330Z] ==> Python coveragepy not found [2021-06-26T18:50:58.330Z] ==> Searching for coverage reports in: [2021-06-26T18:50:58.330Z] + . [2021-06-26T18:50:58.330Z] -> Found 1 reports [2021-06-26T18:50:58.330Z] ==> Detecting git/mercurial file structure [2021-06-26T18:50:58.330Z] ==> Reading reports [2021-06-26T18:50:58.330Z] + ./coverage.out bytes=125634 [2021-06-26T18:50:58.330Z] ==> Appending adjustments [2021-06-26T18:50:58.330Z] https://docs.codecov.io/docs/fixing-reports [2021-06-26T18:50:58.596Z] + Found adjustments [2021-06-26T18:50:58.596Z] ==> Gzipping contents [2021-06-26T18:50:58.596Z] 16K /tmp/codecov.e5FfAa.gz [2021-06-26T18:50:58.596Z] ==> Uploading reports [2021-06-26T18:50:58.596Z] url: https://codecov.io [2021-06-26T18:50:58.596Z] query: branch=PR-971&commit=d3b9e87b58d1e1ba78754c99fd8e29504e675186&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-26T18:50:58.596Z] -> Pinging Codecov [2021-06-26T18:50:58.596Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=d3b9e87b58d1e1ba78754c99fd8e29504e675186&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-26T18:50:58.863Z] -> Uploading to [2021-06-26T18:50:58.863Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-26/7E55EF52A471D76F132DFD9A03CDDE97/d3b9e87b58d1e1ba78754c99fd8e29504e675186/63b07e4c-acc4-4a25-afc8-f3d7c7e955e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210626%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210626T185058Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a4d6ff6b195247125486d089c4192a744f3cf3e9cd91b4e1260a9b9ec316032e [2021-06-26T18:50:58.863Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-26T18:50:58.864Z] Dload Upload Total Spent Left Speed [2021-06-26T18:50:59.442Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16329 0 0 100 16329 0 45795 --:--:-- --:--:-- --:--:-- 45867 [2021-06-26T18:50:59.442Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d3b9e87b58d1e1ba78754c99fd8e29504e675186 [Pipeline] } [2021-06-26T18:50:59.451Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:51:01.518Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:51:02.101Z] ---> package-listing.sh [2021-06-26T18:51:02.101Z] ++ facter osfamily [2021-06-26T18:51:02.101Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-26T18:51:02.381Z] + OS_FAMILY=redhat [2021-06-26T18:51:02.381Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-26T18:51:02.381Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-26T18:51:02.381Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-26T18:51:02.381Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-26T18:51:02.381Z] + PACKAGES=/tmp/packages_start.txt [2021-06-26T18:51:02.381Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-26T18:51:02.381Z] + PACKAGES=/tmp/packages_end.txt [2021-06-26T18:51:02.381Z] + case "${OS_FAMILY}" in [2021-06-26T18:51:02.381Z] + rpm -qa [2021-06-26T18:51:02.381Z] + sort [2021-06-26T18:51:02.956Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-26T18:51:02.956Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-26T18:51:02.956Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-26T18:51:02.956Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-26T18:51:02.956Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-06-26T18:51:02.956Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [Pipeline] echo [2021-06-26T18:51:02.971Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-26T18:51:03.263Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:51:03.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-26T18:51:03.838Z] [2021-06-26T18:51:03.838Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-26T18:51:04.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-26T18:51:04.183Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-26T18:51:04.183Z] df20fa9351a1: Pulling fs layer [2021-06-26T18:51:04.183Z] 36b3adc4ff6f: Pulling fs layer [2021-06-26T18:51:04.183Z] 8ad3a11d3b57: Pulling fs layer [2021-06-26T18:51:04.183Z] 46f8f816bc3b: Pulling fs layer [2021-06-26T18:51:04.183Z] 93b61091891f: Pulling fs layer [2021-06-26T18:51:04.183Z] 93b9cdb0e59b: Pulling fs layer [2021-06-26T18:51:04.183Z] 5e14af77c1be: Pulling fs layer [2021-06-26T18:51:04.183Z] 01666e4c0597: Pulling fs layer [2021-06-26T18:51:04.183Z] aa168da1d23b: Pulling fs layer [2021-06-26T18:51:04.183Z] 93b61091891f: Waiting [2021-06-26T18:51:04.183Z] 93b9cdb0e59b: Waiting [2021-06-26T18:51:04.183Z] 5e14af77c1be: Waiting [2021-06-26T18:51:04.183Z] 01666e4c0597: Waiting [2021-06-26T18:51:04.183Z] aa168da1d23b: Waiting [2021-06-26T18:51:04.183Z] 46f8f816bc3b: Waiting [2021-06-26T18:51:04.183Z] 36b3adc4ff6f: Verifying Checksum [2021-06-26T18:51:04.183Z] 36b3adc4ff6f: Download complete [2021-06-26T18:51:04.183Z] 46f8f816bc3b: Verifying Checksum [2021-06-26T18:51:04.183Z] 46f8f816bc3b: Download complete [2021-06-26T18:51:04.455Z] df20fa9351a1: Verifying Checksum [2021-06-26T18:51:04.455Z] df20fa9351a1: Download complete [2021-06-26T18:51:04.455Z] 93b9cdb0e59b: Verifying Checksum [2021-06-26T18:51:04.455Z] 93b9cdb0e59b: Download complete [2021-06-26T18:51:04.455Z] 5e14af77c1be: Verifying Checksum [2021-06-26T18:51:04.455Z] 5e14af77c1be: Download complete [2021-06-26T18:51:04.455Z] 93b61091891f: Verifying Checksum [2021-06-26T18:51:04.455Z] 93b61091891f: Download complete [2021-06-26T18:51:04.455Z] 01666e4c0597: Verifying Checksum [2021-06-26T18:51:04.455Z] 01666e4c0597: Download complete [2021-06-26T18:51:04.455Z] 8ad3a11d3b57: Verifying Checksum [2021-06-26T18:51:04.455Z] 8ad3a11d3b57: Download complete [2021-06-26T18:51:04.455Z] df20fa9351a1: Pull complete [2021-06-26T18:51:04.720Z] 36b3adc4ff6f: Pull complete [2021-06-26T18:51:04.983Z] 8ad3a11d3b57: Pull complete [2021-06-26T18:51:04.983Z] 46f8f816bc3b: Pull complete [2021-06-26T18:51:05.244Z] 93b61091891f: Pull complete [2021-06-26T18:51:05.505Z] 93b9cdb0e59b: Pull complete [2021-06-26T18:51:05.505Z] 5e14af77c1be: Pull complete [2021-06-26T18:51:05.505Z] 01666e4c0597: Pull complete [2021-06-26T18:51:06.484Z] aa168da1d23b: Verifying Checksum [2021-06-26T18:51:06.484Z] aa168da1d23b: Download complete [2021-06-26T18:51:10.712Z] aa168da1d23b: Pull complete [2021-06-26T18:51:10.713Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-26T18:51:10.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-26T18:51:10.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-26T18:51:10.793Z] prd-centos7-docker-4c-2g-266 does not seem to be running inside a container [2021-06-26T18:51:10.833Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@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:alpine cat [2021-06-26T18:51:13.863Z] $ docker top e23b9220783e11e164644d9b23a06c9ca27098a5ef0b0a178468fa5bc5a2cb91 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-26T18:51:14.279Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-26T18:51:14.584Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-26T18:51:14.910Z] + ls /var/log/sa-host [2021-06-26T18:51:14.910Z] + sadf -c /var/log/sa-host/sa05 [2021-06-26T18:51:14.910Z] file_magic: OK [2021-06-26T18:51:14.910Z] HZ: Using current value: 100 [2021-06-26T18:51:14.910Z] file_header: OK [2021-06-26T18:51:14.910Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-26T18:51:14.910Z] Statistics: [2021-06-26T18:51:14.910Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-26T18:51:14.910Z] File successfully converted to sysstat format version 12.2.1 [2021-06-26T18:51:14.910Z] + sadf -c /var/log/sa-host/sa26 [2021-06-26T18:51:14.910Z] file_magic: OK [2021-06-26T18:51:14.910Z] HZ: Using current value: 100 [2021-06-26T18:51:14.910Z] file_header: OK [2021-06-26T18:51:14.910Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-26T18:51:14.910Z] Statistics: [2021-06-26T18:51:14.910Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-26T18:51:14.910Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-26T18:51:15.769Z] provisioning config files... [2021-06-26T18:51:15.784Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config6356171139712375990tmp [Pipeline] { [Pipeline] echo [2021-06-26T18:51:15.811Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:51:16.112Z] ---> create-netrc.sh [Pipeline] } [2021-06-26T18:51:16.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:51:16.576Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-26T18:51:16.587Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:51:16.892Z] ---> sudo-logs.sh [2021-06-26T18:51:16.893Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-26T18:51:16.934Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:51:17.230Z] ---> job-cost.sh [2021-06-26T18:51:17.230Z] lf-activate-venv: SKIPPING [2021-06-26T18:51:17.230Z] DEBUG: total: 0.18000000715255737 [2021-06-26T18:51:17.230Z] INFO: Retrieving Stack Cost... [2021-06-26T18:51:18.178Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-26T18:51:18.752Z] INFO: Archiving Costs [Pipeline] echo [2021-06-26T18:51:18.768Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-26T18:51:19.083Z] ---> logs-deploy.sh [2021-06-26T18:51:19.083Z] lf-activate-venv: SKIPPING [2021-06-26T18:51:19.083Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/20 [2021-06-26T18:51:19.083Z] INFO: archiving workspace using pattern(s): [2021-06-26T18:51:20.029Z] Archives upload complete. [2021-06-26T18:51:20.029Z] INFO: archiving logs to Nexus