Pull request #990 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 5b9873fc5658fb4b4c48b057788cd55a404aa657 rather than 5669c30b8ab6fb074970a33fffe0991f26afb72a Obtained Jenkinsfile from 5b9873fc5658fb4b4c48b057788cd55a404aa657 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-ssh1051300305696921364.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-ssh8432215729375619358.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-990/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-990/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6477094595265272188.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-ssh658254637077664704.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-990/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-990/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8944845651504014170.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 Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-30 in /w/workspace/dgexfoundry_device-sdk-go_PR-990 [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-990 # 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-990@tmp/jenkins-gitclient-ssh7735639810430482204.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 5b9873fc5658fb4b4c48b057788cd55a404aa657 into PR head commit 5669c30b8ab6fb074970a33fffe0991f26afb72a Merge succeeded, producing 5669c30b8ab6fb074970a33fffe0991f26afb72a Checking out Revision 5669c30b8ab6fb074970a33fffe0991f26afb72a (PR-990) > 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-990@tmp/jenkins-gitclient-ssh8245630048851329766.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/990/head:refs/remotes/origin/PR-990 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5669c30b8ab6fb074970a33fffe0991f26afb72a # 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-990@tmp/jenkins-gitclient-ssh7062195663328395509.key > git merge 5b9873fc5658fb4b4c48b057788cd55a404aa657 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5669c30b8ab6fb074970a33fffe0991f26afb72a # timeout=10 Commit message: "fix: Fix device service update failed when startup" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-25T10:01:34.956Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-25T10:01:35.054Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-25T10:01:35.088Z] ========================================================= [2021-06-25T10:01:35.088Z] EdgeX Global Pipelines Version Info [2021-06-25T10:01:35.088Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 67bcbe47cca7c5745db99d78b87dbcee659b2159 # timeout=10 [2021-06-25T10:01:36.527Z] ------------------- [2021-06-25T10:01:36.527Z] stable info: [2021-06-25T10:01:36.527Z] ------------------- [2021-06-25T10:01:36.527Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-25T10:01:36.527Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T10:01:36.527Z] Message: update stable to v1.0.195 [2021-06-25T10:01:37.106Z] ------------------- [2021-06-25T10:01:37.106Z] experimental info: [2021-06-25T10:01:37.106Z] ------------------- [2021-06-25T10:01:37.106Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-25T10:01:37.106Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T10:01:37.106Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-25T10:01:37.238Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-25T10:01:37.277Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-25T10:01:37.302Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-25T10:01:37.326Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-25T10:01:37.356Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-25T10:01:37.383Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-25T10:01:37.410Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-25T10:01:37.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-25T10:01:37.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-25T10:01:37.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-25T10:01:37.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-25T10:01:37.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-25T10:01:37.620Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-25T10:01:37.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-25T10:01:37.686Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-25T10:01:37.710Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T10:01:37.735Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T10:01:37.778Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T10:01:37.807Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-25T10:01:37.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-25T10:01:37.860Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-25T10:01:37.889Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-25T10:01:37.925Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-25T10:01:37.951Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-25T10:01:37.986Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-25T10:01:38.022Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-25T10:01:38.053Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-990 [Pipeline] echo [2021-06-25T10:01:38.080Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-990 [Pipeline] echo [2021-06-25T10:01:38.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-990 [Pipeline] echo [2021-06-25T10:01:38.142Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5669c30b8ab6fb074970a33fffe0991f26afb72a [Pipeline] echo [2021-06-25T10:01:38.168Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5669c30 [Pipeline] echo [2021-06-25T10:01:38.192Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:01:38.276Z] provisioning config files... [2021-06-25T10:01:38.297Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-990@tmp/config2293207568745353602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:01:38.628Z] ---> docker-login.sh [2021-06-25T10:01:38.628Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:01:38.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:01:38.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:01:38.894Z] Configure a credential helper to remove this warning. See [2021-06-25T10:01:38.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:01:38.894Z] [2021-06-25T10:01:38.894Z] Login Succeeded [2021-06-25T10:01:38.894Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:01:38.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:01:39.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:01:39.157Z] Configure a credential helper to remove this warning. See [2021-06-25T10:01:39.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:01:39.157Z] [2021-06-25T10:01:39.157Z] Login Succeeded [2021-06-25T10:01:39.157Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:01:39.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:01:39.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:01:39.157Z] Configure a credential helper to remove this warning. See [2021-06-25T10:01:39.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:01:39.157Z] [2021-06-25T10:01:39.157Z] Login Succeeded [2021-06-25T10:01:39.157Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:01:39.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:01:39.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:01:39.425Z] Configure a credential helper to remove this warning. See [2021-06-25T10:01:39.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:01:39.425Z] [2021-06-25T10:01:39.425Z] Login Succeeded [2021-06-25T10:01:39.425Z] docker.io [2021-06-25T10:01:39.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:01:39.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:01:39.692Z] Configure a credential helper to remove this warning. See [2021-06-25T10:01:39.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:01:39.692Z] [2021-06-25T10:01:39.692Z] Login Succeeded [2021-06-25T10:01:39.692Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:01:39.701Z] 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-25T10:01:40.213Z] + git log --format=format:%s -1 5669c30b8ab6fb074970a33fffe0991f26afb72a [Pipeline] echo [2021-06-25T10:01:40.257Z] GIT_COMMIT: 5669c30b8ab6fb074970a33fffe0991f26afb72a, Commit Message: fix: Fix device service update failed when startup [Pipeline] echo [2021-06-25T10:01:40.272Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:01:40.872Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:01:40.872Z] [2021-06-25T10:01:40.872Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:01:41.192Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:01:41.192Z] latest: Pulling from edgex-devops/git-semver [2021-06-25T10:01:41.192Z] 31603596830f: Pulling fs layer [2021-06-25T10:01:41.192Z] 54011a49482f: Pulling fs layer [2021-06-25T10:01:41.192Z] a6820b24f6d8: Pulling fs layer [2021-06-25T10:01:41.192Z] f581987b2513: Pulling fs layer [2021-06-25T10:01:41.192Z] f581987b2513: Waiting [2021-06-25T10:01:41.192Z] 54011a49482f: Verifying Checksum [2021-06-25T10:01:41.192Z] 54011a49482f: Download complete [2021-06-25T10:01:41.192Z] 31603596830f: Verifying Checksum [2021-06-25T10:01:41.192Z] 31603596830f: Download complete [2021-06-25T10:01:41.461Z] a6820b24f6d8: Verifying Checksum [2021-06-25T10:01:41.461Z] a6820b24f6d8: Download complete [2021-06-25T10:01:41.461Z] f581987b2513: Verifying Checksum [2021-06-25T10:01:41.461Z] f581987b2513: Download complete [2021-06-25T10:01:41.461Z] 31603596830f: Pull complete [2021-06-25T10:01:41.461Z] 54011a49482f: Pull complete [2021-06-25T10:01:42.412Z] a6820b24f6d8: Pull complete [2021-06-25T10:01:42.412Z] f581987b2513: Pull complete [2021-06-25T10:01:42.412Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-25T10:01:42.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:01:42.412Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-25T10:01:42.515Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2021-06-25T10:01:42.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-990 -v /w/workspace/dgexfoundry_device-sdk-go_PR-990:/w/workspace/dgexfoundry_device-sdk-go_PR-990:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-990@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-990@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:10004/edgex-devops/git-semver:latest cat [2021-06-25T10:01:43.694Z] $ docker top 3cf8239725446124ca1ed9507711eace51de1237e0a61619aa71c2c6271efe83 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-25T10:01:43.833Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T10:01:43.833Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T10:01:43.951Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T10:01:43.951Z] $ docker exec 3cf8239725446124ca1ed9507711eace51de1237e0a61619aa71c2c6271efe83 ssh-agent [2021-06-25T10:01:44.085Z] SSH_AUTH_SOCK=/tmp/ssh-xidP72Nh1Am9/agent.14 [2021-06-25T10:01:44.085Z] SSH_AGENT_PID=21 [2021-06-25T10:01:44.094Z] Running ssh-add (command line suppressed) [2021-06-25T10:01:44.196Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-990@tmp/private_key_1729193655160826559.key (/w/workspace/dgexfoundry_device-sdk-go_PR-990@tmp/private_key_1729193655160826559.key) [2021-06-25T10:01:44.220Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T10:01:44.535Z] + git tag --points-at HEAD [Pipeline] } [2021-06-25T10:01:44.548Z] $ docker exec --env ******** --env ******** 3cf8239725446124ca1ed9507711eace51de1237e0a61619aa71c2c6271efe83 ssh-agent -k [2021-06-25T10:01:44.656Z] unset SSH_AUTH_SOCK; [2021-06-25T10:01:44.656Z] unset SSH_AGENT_PID; [2021-06-25T10:01:44.656Z] echo Agent pid 21 killed; [2021-06-25T10:01:44.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-25T10:01:44.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T10:01:44.717Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T10:01:44.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T10:01:44.844Z] $ docker exec 3cf8239725446124ca1ed9507711eace51de1237e0a61619aa71c2c6271efe83 ssh-agent [2021-06-25T10:01:44.962Z] SSH_AUTH_SOCK=/tmp/ssh-2TM10flT7eHx/agent.54 [2021-06-25T10:01:44.962Z] SSH_AGENT_PID=60 [2021-06-25T10:01:44.967Z] Running ssh-add (command line suppressed) [2021-06-25T10:01:45.087Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-990@tmp/private_key_7024406242378198849.key (/w/workspace/dgexfoundry_device-sdk-go_PR-990@tmp/private_key_7024406242378198849.key) [2021-06-25T10:01:45.108Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T10:01:45.418Z] + git semver init [2021-06-25T10:01:45.418Z] # -> Open(): unable to determine branch for HEAD [2021-06-25T10:01:45.418Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-990/.git [2021-06-25T10:01:45.418Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-990 [2021-06-25T10:01:45.418Z] # $SEMVER_REMOTE_NAME = origin [2021-06-25T10:01:45.419Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-25T10:01:45.419Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-25T10:01:45.419Z] # $SEMVER_BRANCH = PR-990 [2021-06-25T10:01:45.419Z] # $SEMVER_TEMP = /tmp/semver-461734493 [2021-06-25T10:01:45.419Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-25T10:01:46.002Z] # '/tmp/semver-461734493' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-990/.semver' [2021-06-25T10:01:46.002Z] # -> Force: false [2021-06-25T10:01:46.002Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-990/.semver [Pipeline] } [2021-06-25T10:01:46.011Z] $ docker exec --env ******** --env ******** 3cf8239725446124ca1ed9507711eace51de1237e0a61619aa71c2c6271efe83 ssh-agent -k [2021-06-25T10:01:46.122Z] unset SSH_AUTH_SOCK; [2021-06-25T10:01:46.122Z] unset SSH_AGENT_PID; [2021-06-25T10:01:46.122Z] echo Agent pid 60 killed; [2021-06-25T10:01:46.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-25T10:01:46.484Z] + git semver [Pipeline] } [2021-06-25T10:01:46.498Z] $ docker stop --time=1 3cf8239725446124ca1ed9507711eace51de1237e0a61619aa71c2c6271efe83 [2021-06-25T10:01:47.781Z] $ docker rm -f 3cf8239725446124ca1ed9507711eace51de1237e0a61619aa71c2c6271efe83 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:01:48.171Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-25T10:01:48.473Z] Stashed 1 file(s) [Pipeline] echo [2021-06-25T10:01:48.477Z] [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-25T10:02:03.845Z] Still waiting to schedule task [2021-06-25T10:02:03.845Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-25T10:02:03.849Z] Still waiting to schedule task [2021-06-25T10:02:03.850Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-25T10:03:17.018Z] Running on prd-centos7-docker-4c-2g-32 in /w/workspace/dgexfoundry_device-sdk-go_PR-990 [Pipeline] { [Pipeline] ws [2021-06-25T10:03:17.039Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-25T10:03:17.162Z] Selected Git installation does not exist. Using Default [2021-06-25T10:03:17.162Z] The recommended git tool is: NONE [2021-06-25T10:03:19.426Z] using credential edgex-jenkins-ssh [2021-06-25T10:03:19.446Z] Cloning the remote Git repository [2021-06-25T10:03:19.178Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:03:19.250Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-25T10:03:19.292Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:03:19.292Z] > git --version # timeout=10 [2021-06-25T10:03:19.300Z] > git --version # 'git version 2.24.4' [2021-06-25T10:03:19.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:03:19.323Z] [INFO] Currently running in a labeled security context [2021-06-25T10:03:19.324Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:03:19.324Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh5269496743360570179.key [2021-06-25T10:03:19.332Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:03:20.065Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:03:20.078Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:03:20.088Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:03:20.105Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:03:20.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:03:20.106Z] [INFO] Currently running in a labeled security context [2021-06-25T10:03:20.106Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:03:20.106Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1744267387036685479.key [2021-06-25T10:03:20.116Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/990/head:refs/remotes/origin/PR-990 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T10:03:20.812Z] Merging remotes/origin/master commit 5b9873fc5658fb4b4c48b057788cd55a404aa657 into PR head commit 5669c30b8ab6fb074970a33fffe0991f26afb72a [2021-06-25T10:03:20.913Z] Merge succeeded, producing 5669c30b8ab6fb074970a33fffe0991f26afb72a [2021-06-25T10:03:20.914Z] Checking out Revision 5669c30b8ab6fb074970a33fffe0991f26afb72a (PR-990) [2021-06-25T10:03:20.647Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:03:20.654Z] > git checkout -f 5669c30b8ab6fb074970a33fffe0991f26afb72a # timeout=10 [2021-06-25T10:03:20.697Z] > git remote # timeout=10 [2021-06-25T10:03:20.707Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T10:03:20.714Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:03:20.715Z] [INFO] Currently running in a labeled security context [2021-06-25T10:03:20.716Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:03:20.716Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh5847067367961026995.key [2021-06-25T10:03:20.725Z] > git merge 5b9873fc5658fb4b4c48b057788cd55a404aa657 # timeout=10 [2021-06-25T10:03:20.734Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T10:03:20.753Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:03:20.762Z] > git checkout -f 5669c30b8ab6fb074970a33fffe0991f26afb72a # timeout=10 [2021-06-25T10:03:24.337Z] Commit message: "fix: Fix device service update failed when startup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:03:25.347Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:03:25.680Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:03:26.075Z] + sudo service docker restart [2021-06-25T10:03:26.076Z] + true [2021-06-25T10:03:26.076Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:03:44.264Z] provisioning config files... [2021-06-25T10:03:44.281Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8206743956356368644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:03:44.625Z] ---> docker-login.sh [2021-06-25T10:03:44.625Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:03:44.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:03:44.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:03:44.889Z] Configure a credential helper to remove this warning. See [2021-06-25T10:03:44.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:03:44.889Z] [2021-06-25T10:03:44.889Z] Login Succeeded [2021-06-25T10:03:44.889Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:03:45.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:03:45.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:03:45.154Z] Configure a credential helper to remove this warning. See [2021-06-25T10:03:45.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:03:45.154Z] [2021-06-25T10:03:45.154Z] Login Succeeded [2021-06-25T10:03:45.154Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:03:45.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:03:45.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:03:45.154Z] Configure a credential helper to remove this warning. See [2021-06-25T10:03:45.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:03:45.154Z] [2021-06-25T10:03:45.154Z] Login Succeeded [2021-06-25T10:03:45.154Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:03:45.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:03:45.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:03:45.415Z] Configure a credential helper to remove this warning. See [2021-06-25T10:03:45.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:03:45.415Z] [2021-06-25T10:03:45.415Z] Login Succeeded [2021-06-25T10:03:45.415Z] docker.io [2021-06-25T10:03:45.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:03:45.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:03:45.678Z] Configure a credential helper to remove this warning. See [2021-06-25T10:03:45.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:03:45.688Z] [2021-06-25T10:03:45.688Z] Login Succeeded [2021-06-25T10:03:45.688Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:03:45.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T10:03:45.872Z] ========================================================= [2021-06-25T10:03:45.873Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-25T10:03:45.873Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:03:46.198Z] + 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-25T10:03:46.198Z] Sending build context to Docker daemon 2.69MB [2021-06-25T10:03:46.198Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:03:46.198Z] Step 2/8 : FROM ${BASE} [2021-06-25T10:03:46.467Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-25T10:03:46.467Z] 540db60ca938: Pulling fs layer [2021-06-25T10:03:46.467Z] adcc1eea9eea: Pulling fs layer [2021-06-25T10:03:46.467Z] 4c4ab2625f07: Pulling fs layer [2021-06-25T10:03:46.467Z] 0510c868ecb4: Pulling fs layer [2021-06-25T10:03:46.467Z] afea3b2eda06: Pulling fs layer [2021-06-25T10:03:46.467Z] 7809a108b3ef: Pulling fs layer [2021-06-25T10:03:46.467Z] f706445af74f: Pulling fs layer [2021-06-25T10:03:46.467Z] 0510c868ecb4: Waiting [2021-06-25T10:03:46.467Z] afea3b2eda06: Waiting [2021-06-25T10:03:46.467Z] 7809a108b3ef: Waiting [2021-06-25T10:03:46.467Z] f706445af74f: Waiting [2021-06-25T10:03:46.467Z] 4c4ab2625f07: Verifying Checksum [2021-06-25T10:03:46.467Z] 4c4ab2625f07: Download complete [2021-06-25T10:03:46.467Z] adcc1eea9eea: Verifying Checksum [2021-06-25T10:03:46.467Z] adcc1eea9eea: Download complete [2021-06-25T10:03:46.467Z] afea3b2eda06: Verifying Checksum [2021-06-25T10:03:46.467Z] afea3b2eda06: Download complete [2021-06-25T10:03:46.467Z] 7809a108b3ef: Verifying Checksum [2021-06-25T10:03:46.467Z] 7809a108b3ef: Download complete [2021-06-25T10:03:46.467Z] 540db60ca938: Verifying Checksum [2021-06-25T10:03:46.467Z] 540db60ca938: Download complete [2021-06-25T10:03:46.732Z] 540db60ca938: Pull complete [2021-06-25T10:03:46.733Z] adcc1eea9eea: Pull complete [2021-06-25T10:03:46.995Z] 4c4ab2625f07: Pull complete [2021-06-25T10:03:47.939Z] f706445af74f: Verifying Checksum [2021-06-25T10:03:47.939Z] f706445af74f: Download complete [2021-06-25T10:03:48.515Z] 0510c868ecb4: Verifying Checksum [2021-06-25T10:03:48.515Z] 0510c868ecb4: Download complete [2021-06-25T10:03:51.849Z] 0510c868ecb4: Pull complete [2021-06-25T10:03:51.849Z] afea3b2eda06: Pull complete [2021-06-25T10:03:51.849Z] 7809a108b3ef: Pull complete [2021-06-25T10:03:52.818Z] f706445af74f: Pull complete [2021-06-25T10:03:52.818Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-25T10:03:52.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-25T10:03:52.818Z] ---> b068be0155e3 [2021-06-25T10:03:52.818Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:03:57.034Z] ---> Running in 6c2529b2cd2b [2021-06-25T10:03:57.034Z] Removing intermediate container 6c2529b2cd2b [2021-06-25T10:03:57.034Z] ---> 372ae38f366e [2021-06-25T10:03:57.034Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:03:57.034Z] ---> Running in 1abf4c222632 [2021-06-25T10:03:57.296Z] Removing intermediate container 1abf4c222632 [2021-06-25T10:03:57.296Z] ---> 94f719e3d00b [2021-06-25T10:03:57.296Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T10:03:57.296Z] ---> Running in e228a012979f [2021-06-25T10:03:57.558Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:03:58.504Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T10:03:59.088Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-25T10:03:59.088Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-25T10:03:59.088Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-25T10:03:59.088Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-25T10:03:59.352Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-25T10:03:59.352Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-25T10:03:59.617Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T10:03:59.617Z] OK: 150 MiB in 46 packages [2021-06-25T10:03:59.883Z] Removing intermediate container e228a012979f [2021-06-25T10:03:59.883Z] ---> 4472839c7e80 [2021-06-25T10:03:59.883Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-25T10:03:59.883Z] ---> Running in ab68ae41cc2f [2021-06-25T10:03:59.883Z] Removing intermediate container ab68ae41cc2f [2021-06-25T10:03:59.883Z] ---> 4aa26f32f896 [2021-06-25T10:03:59.883Z] Step 7/8 : COPY . . [2021-06-25T10:04:00.153Z] ---> ca80e6039dc6 [2021-06-25T10:04:00.153Z] Step 8/8 : RUN go mod download [2021-06-25T10:04:00.154Z] ---> Running in 964608175e02 [2021-06-25T10:04:02.489Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-31 in /w/workspace/dgexfoundry_device-sdk-go_PR-990 [Pipeline] { [Pipeline] ws [2021-06-25T10:04:02.514Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-06-25T10:04:02.779Z] Selected Git installation does not exist. Using Default [2021-06-25T10:04:02.779Z] The recommended git tool is: NONE [2021-06-25T10:04:07.947Z] using credential edgex-jenkins-ssh [2021-06-25T10:04:08.032Z] Cloning the remote Git repository [2021-06-25T10:04:08.081Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:04:08.247Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-06-25T10:04:08.317Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:04:08.318Z] > git --version # timeout=10 [2021-06-25T10:04:08.336Z] > git --version # 'git version 2.17.1' [2021-06-25T10:04:08.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:04:08.421Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:04:09.566Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:04:09.585Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:04:09.614Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:04:09.659Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:04:09.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:04:09.676Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/990/head:refs/remotes/origin/PR-990 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T10:04:10.341Z] Merging remotes/origin/master commit 5b9873fc5658fb4b4c48b057788cd55a404aa657 into PR head commit 5669c30b8ab6fb074970a33fffe0991f26afb72a [2021-06-25T10:04:10.552Z] Merge succeeded, producing 5669c30b8ab6fb074970a33fffe0991f26afb72a [2021-06-25T10:04:10.553Z] Checking out Revision 5669c30b8ab6fb074970a33fffe0991f26afb72a (PR-990) [2021-06-25T10:04:10.326Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:04:10.348Z] > git checkout -f 5669c30b8ab6fb074970a33fffe0991f26afb72a # timeout=10 [2021-06-25T10:04:10.444Z] > git remote # timeout=10 [2021-06-25T10:04:10.461Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T10:04:10.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:04:10.487Z] > git merge 5b9873fc5658fb4b4c48b057788cd55a404aa657 # timeout=10 [2021-06-25T10:04:10.506Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T10:04:10.529Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:04:10.547Z] > git checkout -f 5669c30b8ab6fb074970a33fffe0991f26afb72a # timeout=10 [2021-06-25T10:04:12.427Z] Removing intermediate container 964608175e02 [2021-06-25T10:04:12.427Z] ---> e27102722e9d [2021-06-25T10:04:12.427Z] Successfully built e27102722e9d [2021-06-25T10:04:12.427Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:04:12.738Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T10:04:12.738Z] . [Pipeline] withDockerContainer [2021-06-25T10:04:12.818Z] prd-centos7-docker-4c-2g-32 does not seem to be running inside a container [2021-06-25T10:04:12.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T10:04:13.249Z] $ docker top 8e4012231a236d7f427d3d3a2f2a5491fa2cc5ca55769b0382f1aba4695160f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:04:13.684Z] + go version [2021-06-25T10:04:13.684Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-25T10:04:13.690Z] $ docker stop --time=1 8e4012231a236d7f427d3d3a2f2a5491fa2cc5ca55769b0382f1aba4695160f7 [2021-06-25T10:04:14.781Z] Commit message: "fix: Fix device service update failed when startup" [2021-06-25T10:04:14.870Z] $ docker rm -f 8e4012231a236d7f427d3d3a2f2a5491fa2cc5ca55769b0382f1aba4695160f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:04:15.507Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T10:04:15.507Z] . [Pipeline] withDockerContainer [2021-06-25T10:04:16.023Z] prd-centos7-docker-4c-2g-32 does not seem to be running inside a container [2021-06-25T10:04:16.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-25T10:04:16.249Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-06-25T10:04:16.440Z] $ docker top 7526842b276d8a701cca5127ef7cfe79eeec4d0c4062d5f35f400b4555050b40 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-25T10:04:16.898Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:04:16.938Z] + go mod tidy [Pipeline] sh [2021-06-25T10:04:17.273Z] + sudo service docker restart [2021-06-25T10:04:17.273Z] + true [2021-06-25T10:04:17.511Z] + make test [2021-06-25T10:04:17.511Z] go mod tidy [2021-06-25T10:04:17.511Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-25T10:04:22.940Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:04:35.706Z] provisioning config files... [2021-06-25T10:04:35.733Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7594132479981786717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:04:36.120Z] ---> docker-login.sh [2021-06-25T10:04:36.120Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:04:37.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:04:37.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:04:37.378Z] Configure a credential helper to remove this warning. See [2021-06-25T10:04:37.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:04:37.378Z] [2021-06-25T10:04:37.378Z] Login Succeeded [2021-06-25T10:04:37.378Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:04:37.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:04:37.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:04:37.982Z] Configure a credential helper to remove this warning. See [2021-06-25T10:04:37.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:04:37.982Z] [2021-06-25T10:04:37.982Z] Login Succeeded [2021-06-25T10:04:37.982Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:04:38.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:04:38.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:04:38.593Z] Configure a credential helper to remove this warning. See [2021-06-25T10:04:38.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:04:38.593Z] [2021-06-25T10:04:38.593Z] Login Succeeded [2021-06-25T10:04:38.593Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:04:39.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:04:39.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:04:39.195Z] Configure a credential helper to remove this warning. See [2021-06-25T10:04:39.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:04:39.195Z] [2021-06-25T10:04:39.195Z] Login Succeeded [2021-06-25T10:04:39.195Z] docker.io [2021-06-25T10:04:39.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:04:40.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:04:40.069Z] Configure a credential helper to remove this warning. See [2021-06-25T10:04:40.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:04:40.069Z] [2021-06-25T10:04:40.069Z] Login Succeeded [2021-06-25T10:04:40.069Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:04:40.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T10:04:40.378Z] ========================================================= [2021-06-25T10:04:40.378Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-25T10:04:40.378Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:04:40.718Z] + 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-25T10:04:41.319Z] Sending build context to Docker daemon 2.679MB [2021-06-25T10:04:41.319Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:04:41.319Z] Step 2/8 : FROM ${BASE} [2021-06-25T10:04:41.593Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-25T10:04:41.593Z] 595b0fe564bb: Pulling fs layer [2021-06-25T10:04:41.593Z] 3088b5b3c5c0: Pulling fs layer [2021-06-25T10:04:41.593Z] 5b7225fbf94c: Pulling fs layer [2021-06-25T10:04:41.593Z] ba82ee9f976e: Pulling fs layer [2021-06-25T10:04:41.593Z] 506bd15cee9f: Pulling fs layer [2021-06-25T10:04:41.593Z] 75a0a4a0db45: Pulling fs layer [2021-06-25T10:04:41.593Z] 618dc40b7e24: Pulling fs layer [2021-06-25T10:04:41.593Z] 506bd15cee9f: Waiting [2021-06-25T10:04:41.593Z] 75a0a4a0db45: Waiting [2021-06-25T10:04:41.593Z] 618dc40b7e24: Waiting [2021-06-25T10:04:41.593Z] ba82ee9f976e: Waiting [2021-06-25T10:04:41.593Z] 5b7225fbf94c: Verifying Checksum [2021-06-25T10:04:41.593Z] 5b7225fbf94c: Download complete [2021-06-25T10:04:41.593Z] 3088b5b3c5c0: Verifying Checksum [2021-06-25T10:04:41.593Z] 3088b5b3c5c0: Download complete [2021-06-25T10:04:41.593Z] 506bd15cee9f: Verifying Checksum [2021-06-25T10:04:41.593Z] 506bd15cee9f: Download complete [2021-06-25T10:04:41.593Z] 75a0a4a0db45: Verifying Checksum [2021-06-25T10:04:41.593Z] 75a0a4a0db45: Download complete [2021-06-25T10:04:41.876Z] 595b0fe564bb: Verifying Checksum [2021-06-25T10:04:41.876Z] 595b0fe564bb: Download complete [2021-06-25T10:04:42.477Z] 595b0fe564bb: Pull complete [2021-06-25T10:04:43.082Z] 3088b5b3c5c0: Pull complete [2021-06-25T10:04:43.355Z] 5b7225fbf94c: Pull complete [2021-06-25T10:04:43.961Z] 618dc40b7e24: Verifying Checksum [2021-06-25T10:04:43.961Z] 618dc40b7e24: Download complete [2021-06-25T10:04:44.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-25T10:04:44.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-25T10:04:44.975Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-25T10:04:45.390Z] ba82ee9f976e: Verifying Checksum [2021-06-25T10:04:45.390Z] ba82ee9f976e: Download complete [2021-06-25T10:04:46.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 24.2% of statements [2021-06-25T10:04:46.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-25T10:04:46.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 28.1% of statements [2021-06-25T10:04:47.492Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2021-06-25T10:04:47.756Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.042s coverage: 9.0% of statements [2021-06-25T10:04:47.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-25T10:04:47.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-25T10:04:47.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-25T10:04:48.335Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 28.7% of statements [2021-06-25T10:04:48.335Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-25T10:04:49.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 83.3% of statements [2021-06-25T10:04:49.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-25T10:04:49.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-25T10:04:49.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 58.0% of statements [2021-06-25T10:04:50.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.825s coverage: 89.2% of statements [2021-06-25T10:04:50.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-25T10:04:50.685Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.065s coverage: 4.9% of statements [2021-06-25T10:04:50.685Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-25T10:04:50.685Z] GO111MODULE=on go vet ./... [2021-06-25T10:04:55.549Z] ba82ee9f976e: Pull complete [2021-06-25T10:04:55.550Z] 506bd15cee9f: Pull complete [2021-06-25T10:04:56.171Z] 75a0a4a0db45: Pull complete [2021-06-25T10:04:59.580Z] 618dc40b7e24: Pull complete [2021-06-25T10:04:59.580Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-25T10:04:59.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-25T10:04:59.581Z] ---> a36622ca3599 [2021-06-25T10:04:59.581Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:05:02.218Z] ---> Running in 14dc510f5f3a [2021-06-25T10:05:02.494Z] Removing intermediate container 14dc510f5f3a [2021-06-25T10:05:02.494Z] ---> 8317336c5cb6 [2021-06-25T10:05:02.494Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:05:02.494Z] ---> Running in d623d3e1ec99 [2021-06-25T10:05:05.121Z] Removing intermediate container d623d3e1ec99 [2021-06-25T10:05:05.121Z] ---> be573f195c81 [2021-06-25T10:05:05.121Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T10:05:05.121Z] ---> Running in 9e8e6cbad677 [2021-06-25T10:05:06.099Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:05:07.087Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:05:08.065Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-25T10:05:08.337Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-25T10:05:08.337Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-25T10:05:08.337Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-25T10:05:08.609Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-25T10:05:08.609Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-25T10:05:08.609Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T10:05:08.880Z] gofmt -l . [2021-06-25T10:05:08.880Z] [ "`gofmt -l .`" = "" ] [2021-06-25T10:05:08.880Z] ./bin/test-attribution-txt.sh [2021-06-25T10:05:08.880Z] ./bin/test-go-mod-tidy.sh [2021-06-25T10:05:08.884Z] OK: 139 MiB in 46 packages [Pipeline] } [2021-06-25T10:05:08.888Z] $ docker stop --time=1 7526842b276d8a701cca5127ef7cfe79eeec4d0c4062d5f35f400b4555050b40 [2021-06-25T10:05:10.324Z] Removing intermediate container 9e8e6cbad677 [2021-06-25T10:05:10.324Z] ---> cea551c51742 [2021-06-25T10:05:10.324Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-25T10:05:10.324Z] ---> Running in aed25aee6def [2021-06-25T10:05:10.586Z] $ docker rm -f 7526842b276d8a701cca5127ef7cfe79eeec4d0c4062d5f35f400b4555050b40 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:05:10.925Z] Removing intermediate container aed25aee6def [2021-06-25T10:05:10.926Z] ---> 7ea5f0bbe3cb [2021-06-25T10:05:10.926Z] Step 7/8 : COPY . . [2021-06-25T10:05:11.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T10:05:11.280Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-25T10:05:12.368Z] ---> 27c183541a70 [2021-06-25T10:05:12.368Z] Step 8/8 : RUN go mod download [2021-06-25T10:05:12.368Z] ---> Running in 9457f2c07433 [Pipeline] sh [2021-06-25T10:05:14.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T10:05:14.821Z] + ls -al . [2021-06-25T10:05:14.821Z] total 208 [2021-06-25T10:05:14.821Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 25 10:05 . [2021-06-25T10:05:14.821Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 25 10:03 .. [2021-06-25T10:05:14.821Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 25 10:03 bin [2021-06-25T10:05:14.821Z] -rw-r--r--. 1 jenkins jenkins 125635 Jun 25 10:04 coverage.out [2021-06-25T10:05:14.821Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 25 10:03 Dockerfile.build [2021-06-25T10:05:14.821Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 25 10:03 .dockerignore [2021-06-25T10:05:14.821Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 25 10:03 example [2021-06-25T10:05:14.821Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 25 10:03 .git [2021-06-25T10:05:14.821Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 25 10:03 .github [2021-06-25T10:05:14.821Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 25 10:03 .gitignore [2021-06-25T10:05:14.821Z] -rw-r--r--. 1 jenkins jenkins 548 Jun 25 10:05 go.mod [2021-06-25T10:05:14.821Z] -rw-r--r--. 1 jenkins jenkins 20210 Jun 25 10:04 go.sum [2021-06-25T10:05:14.821Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 25 10:03 internal [2021-06-25T10:05:14.821Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 25 10:03 Jenkinsfile [2021-06-25T10:05:14.821Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 25 10:03 LICENSE [2021-06-25T10:05:14.821Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 25 10:03 Makefile [2021-06-25T10:05:14.821Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 25 10:03 openapi [2021-06-25T10:05:14.821Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 25 10:03 pkg [2021-06-25T10:05:14.821Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 25 10:03 README.md [2021-06-25T10:05:14.821Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 25 10:03 RELEASE-NOTES.txt [2021-06-25T10:05:14.821Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 25 10:03 snap [2021-06-25T10:05:14.821Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 25 10:01 VERSION [2021-06-25T10:05:14.821Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 25 10:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:05:15.135Z] + 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=5669c30b8ab6fb074970a33fffe0991f26afb72a --label arch=amd64 --label version=0.0.0 . [2021-06-25T10:05:15.135Z] Sending build context to Docker daemon 2.817MB [2021-06-25T10:05:15.135Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:05:15.135Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-25T10:05:15.135Z] ---> e27102722e9d [2021-06-25T10:05:15.135Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-25T10:05:15.135Z] ---> Running in 501fc109953a [2021-06-25T10:05:15.398Z] Removing intermediate container 501fc109953a [2021-06-25T10:05:15.398Z] ---> c43341cd24d9 [2021-06-25T10:05:15.398Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:05:15.398Z] ---> Running in 47fd06e4cfc2 [2021-06-25T10:05:15.398Z] Removing intermediate container 47fd06e4cfc2 [2021-06-25T10:05:15.398Z] ---> 747b03ae0f56 [2021-06-25T10:05:15.398Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:05:15.398Z] ---> Running in b6fa187acb77 [2021-06-25T10:05:15.981Z] Removing intermediate container b6fa187acb77 [2021-06-25T10:05:15.981Z] ---> 481726520234 [2021-06-25T10:05:15.981Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-25T10:05:15.981Z] ---> Running in b113b5ddf668 [2021-06-25T10:05:16.243Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:05:16.815Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T10:05:17.387Z] OK: 150 MiB in 46 packages [2021-06-25T10:05:17.647Z] Removing intermediate container b113b5ddf668 [2021-06-25T10:05:17.647Z] ---> 6818d16d5c7e [2021-06-25T10:05:17.647Z] Step 7/23 : COPY . . [2021-06-25T10:05:17.907Z] ---> 9abcffaa4cf8 [2021-06-25T10:05:17.907Z] Step 8/23 : RUN go mod download [2021-06-25T10:05:17.907Z] ---> Running in a0e64bc7917f [2021-06-25T10:05:18.486Z] Removing intermediate container a0e64bc7917f [2021-06-25T10:05:18.486Z] ---> 67cf0ec596c4 [2021-06-25T10:05:18.486Z] Step 9/23 : RUN make build [2021-06-25T10:05:18.486Z] ---> Running in 130cc7cffd9d [2021-06-25T10:05:18.751Z] go mod tidy [2021-06-25T10:05:18.751Z] 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-25T10:05:28.870Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-25T10:05:29.820Z] Removing intermediate container 130cc7cffd9d [2021-06-25T10:05:29.821Z] ---> a08b8d6af542 [2021-06-25T10:05:29.821Z] Step 10/23 : FROM alpine:3.12 [2021-06-25T10:05:30.082Z] 3.12: Pulling from library/alpine [2021-06-25T10:05:30.344Z] 339de151aab4: Pulling fs layer [2021-06-25T10:05:30.344Z] 339de151aab4: Verifying Checksum [2021-06-25T10:05:30.344Z] 339de151aab4: Download complete [2021-06-25T10:05:30.608Z] 339de151aab4: Pull complete [2021-06-25T10:05:30.608Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T10:05:30.608Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T10:05:30.608Z] ---> 13621d1b12d4 [2021-06-25T10:05:30.608Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:05:30.608Z] ---> Running in b6972c2bd90e [2021-06-25T10:05:30.870Z] Removing intermediate container b6972c2bd90e [2021-06-25T10:05:30.870Z] ---> 419cf797a766 [2021-06-25T10:05:30.870Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:05:30.870Z] ---> Running in 37f5f4994211 [2021-06-25T10:05:31.133Z] Removing intermediate container 37f5f4994211 [2021-06-25T10:05:31.133Z] ---> 0584eb75dd47 [2021-06-25T10:05:31.133Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-25T10:05:31.133Z] ---> Running in 0f1740d2d03b [2021-06-25T10:05:31.395Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:05:32.355Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-25T10:05:32.616Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-25T10:05:32.616Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-25T10:05:32.616Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-25T10:05:33.558Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-25T10:05:33.819Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-25T10:05:33.819Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T10:05:33.819Z] OK: 8 MiB in 19 packages [2021-06-25T10:05:34.082Z] Removing intermediate container 0f1740d2d03b [2021-06-25T10:05:34.082Z] ---> ee85e0853ae9 [2021-06-25T10:05:34.082Z] Step 14/23 : WORKDIR / [2021-06-25T10:05:34.082Z] ---> Running in 49ab2b206826 [2021-06-25T10:05:34.082Z] Removing intermediate container 49ab2b206826 [2021-06-25T10:05:34.082Z] ---> 94ad2517216c [2021-06-25T10:05:34.082Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-25T10:05:34.348Z] ---> a1cdb43dc52e [2021-06-25T10:05:34.348Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-25T10:05:34.921Z] ---> ae507868d804 [2021-06-25T10:05:34.921Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-25T10:05:34.921Z] ---> b358caabb2a7 [2021-06-25T10:05:34.921Z] Step 18/23 : EXPOSE 59999 [2021-06-25T10:05:34.921Z] ---> Running in 3781c16d300b [2021-06-25T10:05:35.184Z] Removing intermediate container 3781c16d300b [2021-06-25T10:05:35.184Z] ---> a2289b60c01e [2021-06-25T10:05:35.184Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-25T10:05:35.184Z] ---> Running in b56c731a42c7 [2021-06-25T10:05:35.184Z] Removing intermediate container b56c731a42c7 [2021-06-25T10:05:35.184Z] ---> 5693f122df89 [2021-06-25T10:05:35.184Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T10:05:35.184Z] ---> Running in cb589106883f [2021-06-25T10:05:35.184Z] Removing intermediate container cb589106883f [2021-06-25T10:05:35.184Z] ---> cd1c3f8c7e00 [2021-06-25T10:05:35.184Z] Step 21/23 : LABEL arch=amd64 [2021-06-25T10:05:35.184Z] ---> Running in fd2655f8d04e [2021-06-25T10:05:35.446Z] Removing intermediate container fd2655f8d04e [2021-06-25T10:05:35.446Z] ---> 799896b6cb11 [2021-06-25T10:05:35.446Z] Step 22/23 : LABEL git_sha=5669c30b8ab6fb074970a33fffe0991f26afb72a [2021-06-25T10:05:35.446Z] ---> Running in 2df7e0b09b8c [2021-06-25T10:05:35.446Z] Removing intermediate container 2df7e0b09b8c [2021-06-25T10:05:35.446Z] ---> 9e017384eda4 [2021-06-25T10:05:35.446Z] Step 23/23 : LABEL version=0.0.0 [2021-06-25T10:05:35.446Z] ---> Running in 0106519674c9 [2021-06-25T10:05:35.707Z] Removing intermediate container 0106519674c9 [2021-06-25T10:05:35.707Z] ---> 2e54c6a69b31 [2021-06-25T10:05:35.707Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-25T10:05:35.707Z] Successfully built 2e54c6a69b31 [2021-06-25T10:05:35.707Z] 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 [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:05:36.513Z] ---> job-cost.sh [2021-06-25T10:05:36.513Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VhDf [2021-06-25T10:05:39.186Z] Removing intermediate container 9457f2c07433 [2021-06-25T10:05:39.187Z] ---> 7b1ca86c61a3 [2021-06-25T10:05:39.187Z] Successfully built 7b1ca86c61a3 [2021-06-25T10:05:39.187Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:05:39.530Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T10:05:39.530Z] . [Pipeline] withDockerContainer [2021-06-25T10:05:40.005Z] prd-ubuntu18.04-docker-arm64-4c-16g-31 does not seem to be running inside a container [2021-06-25T10:05:40.102Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T10:05:41.760Z] $ docker top da37939cbfa141652e95138473c27590918c6e5f5535ddd3feca524f848efa66 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:05:42.875Z] + go version [2021-06-25T10:05:42.875Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-25T10:05:42.900Z] $ docker stop --time=1 da37939cbfa141652e95138473c27590918c6e5f5535ddd3feca524f848efa66 [2021-06-25T10:05:44.667Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T10:05:44.818Z] $ docker rm -f da37939cbfa141652e95138473c27590918c6e5f5535ddd3feca524f848efa66 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:05:45.648Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T10:05:45.648Z] . [Pipeline] withDockerContainer [2021-06-25T10:05:45.909Z] prd-ubuntu18.04-docker-arm64-4c-16g-31 does not seem to be running inside a container [2021-06-25T10:05:45.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-25T10:05:47.565Z] $ docker top 33b2a32d19458574daa71d4974311539a86c37cc5bc98e0c4b01d0b49265cdf8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:05:48.566Z] + go mod tidy [Pipeline] sh [2021-06-25T10:05:49.831Z] + make test [2021-06-25T10:05:49.831Z] go mod tidy [2021-06-25T10:05:50.438Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-25T10:05:59.620Z] lf-activate-venv(): INFO: Adding /tmp/venv-VhDf/bin to PATH [2021-06-25T10:05:59.621Z] INFO: No Stack... [2021-06-25T10:05:59.621Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T10:05:59.621Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T10:05:59.927Z] + cut -d, -f6 [2021-06-25T10:05:59.927Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-06-25T10:05:59.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-990-2-stack-cost] [2021-06-25T10:05:59.965Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-990-2-stack-cost] did not exist. Created. [2021-06-25T10:05:59.965Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-990-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T10:06:00.289Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-25T10:06:00.344Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T10:06:00.357Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-990-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-25T10:06:12.637Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-25T10:07:20.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-25T10:07:20.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-25T10:07:20.727Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-25T10:07:27.504Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.264s coverage: 24.2% of statements [2021-06-25T10:07:27.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-25T10:07:27.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.253s coverage: 28.1% of statements [2021-06-25T10:07:27.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.228s coverage: 78.9% of statements [2021-06-25T10:07:27.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.218s coverage: 9.0% of statements [2021-06-25T10:07:27.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-25T10:07:27.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-25T10:07:27.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-25T10:07:28.110Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.336s coverage: 28.7% of statements [2021-06-25T10:07:28.110Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-25T10:07:29.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.221s coverage: 83.3% of statements [2021-06-25T10:07:29.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-25T10:07:29.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-25T10:07:29.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.307s coverage: 58.0% of statements [2021-06-25T10:07:33.886Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.994s coverage: 89.2% of statements [2021-06-25T10:07:33.886Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-25T10:07:33.886Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.183s coverage: 4.9% of statements [2021-06-25T10:07:33.886Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-25T10:07:34.164Z] GO111MODULE=on go vet ./... [2021-06-25T10:08:30.759Z] gofmt -l . [2021-06-25T10:08:30.759Z] [ "`gofmt -l .`" = "" ] [2021-06-25T10:08:30.759Z] ./bin/test-attribution-txt.sh [2021-06-25T10:08:30.759Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-25T10:08:30.769Z] $ docker stop --time=1 33b2a32d19458574daa71d4974311539a86c37cc5bc98e0c4b01d0b49265cdf8 [2021-06-25T10:08:32.723Z] $ docker rm -f 33b2a32d19458574daa71d4974311539a86c37cc5bc98e0c4b01d0b49265cdf8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:08:33.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T10:08:33.825Z] Warning: overwriting stash ‘coverage-report’ [2021-06-25T10:08:34.448Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:08:35.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T10:08:35.381Z] + ls -al . [2021-06-25T10:08:35.381Z] total 244 [2021-06-25T10:08:35.381Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 10:08 . [2021-06-25T10:08:35.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 10:04 .. [2021-06-25T10:08:35.381Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 10:04 .dockerignore [2021-06-25T10:08:35.381Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 10:04 .git [2021-06-25T10:08:35.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 10:04 .github [2021-06-25T10:08:35.381Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 25 10:04 .gitignore [2021-06-25T10:08:35.381Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 25 10:04 Dockerfile.build [2021-06-25T10:08:35.381Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 25 10:04 Jenkinsfile [2021-06-25T10:08:35.381Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 25 10:04 LICENSE [2021-06-25T10:08:35.381Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 25 10:04 Makefile [2021-06-25T10:08:35.381Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 25 10:04 README.md [2021-06-25T10:08:35.381Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 25 10:04 RELEASE-NOTES.txt [2021-06-25T10:08:35.381Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 10:01 VERSION [2021-06-25T10:08:35.381Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 10:04 bin [2021-06-25T10:08:35.381Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 25 10:07 coverage.out [2021-06-25T10:08:35.381Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 10:04 example [2021-06-25T10:08:35.381Z] -rw-r--r-- 1 jenkins jenkins 548 Jun 25 10:08 go.mod [2021-06-25T10:08:35.381Z] -rw-r--r-- 1 jenkins jenkins 20210 Jun 25 10:05 go.sum [2021-06-25T10:08:35.381Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 25 10:04 internal [2021-06-25T10:08:35.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 10:04 openapi [2021-06-25T10:08:35.381Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 10:04 pkg [2021-06-25T10:08:35.381Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 10:04 snap [2021-06-25T10:08:35.381Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 25 10:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:08:35.742Z] + 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=5669c30b8ab6fb074970a33fffe0991f26afb72a --label arch=arm64 --label version=0.0.0 . [2021-06-25T10:08:36.344Z] Sending build context to Docker daemon 2.805MB [2021-06-25T10:08:36.344Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:08:36.344Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-25T10:08:36.344Z] ---> 7b1ca86c61a3 [2021-06-25T10:08:36.344Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-25T10:08:36.618Z] ---> Running in 59d5e982ac3b [2021-06-25T10:08:37.218Z] Removing intermediate container 59d5e982ac3b [2021-06-25T10:08:37.218Z] ---> a2ecc8c8e204 [2021-06-25T10:08:37.218Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:08:37.218Z] ---> Running in a03d7627bbb6 [2021-06-25T10:08:37.815Z] Removing intermediate container a03d7627bbb6 [2021-06-25T10:08:37.815Z] ---> 6be34c0bbf4a [2021-06-25T10:08:37.815Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:08:37.815Z] ---> Running in 61fb7cace2d9 [2021-06-25T10:08:40.437Z] Removing intermediate container 61fb7cace2d9 [2021-06-25T10:08:40.437Z] ---> 29feaaa89784 [2021-06-25T10:08:40.437Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-25T10:08:40.437Z] ---> Running in 5aa99ae5b593 [2021-06-25T10:08:41.419Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:08:42.419Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:08:43.856Z] OK: 139 MiB in 46 packages [2021-06-25T10:08:44.841Z] Removing intermediate container 5aa99ae5b593 [2021-06-25T10:08:44.841Z] ---> 08941adac7d6 [2021-06-25T10:08:44.841Z] Step 7/23 : COPY . . [2021-06-25T10:08:46.310Z] ---> 1ec016738f17 [2021-06-25T10:08:46.310Z] Step 8/23 : RUN go mod download [2021-06-25T10:08:46.310Z] ---> Running in 2877010daded [2021-06-25T10:08:48.964Z] Removing intermediate container 2877010daded [2021-06-25T10:08:48.964Z] ---> 9fed11ba1f1f [2021-06-25T10:08:48.964Z] Step 9/23 : RUN make build [2021-06-25T10:08:48.964Z] ---> Running in 7704932261e2 [2021-06-25T10:08:49.956Z] go mod tidy [2021-06-25T10:08:50.565Z] 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-25T10:09:23.002Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-25T10:09:24.446Z] Removing intermediate container 7704932261e2 [2021-06-25T10:09:24.446Z] ---> 3088676b8ade [2021-06-25T10:09:24.446Z] Step 10/23 : FROM alpine:3.12 [2021-06-25T10:09:25.042Z] 3.12: Pulling from library/alpine [2021-06-25T10:09:25.316Z] d2f70382dc9a: Pulling fs layer [2021-06-25T10:09:25.611Z] d2f70382dc9a: Verifying Checksum [2021-06-25T10:09:25.611Z] d2f70382dc9a: Download complete [2021-06-25T10:09:26.211Z] d2f70382dc9a: Pull complete [2021-06-25T10:09:26.211Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T10:09:26.211Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T10:09:26.211Z] ---> c4fd0aeabfcf [2021-06-25T10:09:26.211Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:09:26.488Z] ---> Running in bfe25c4ec692 [2021-06-25T10:09:27.087Z] Removing intermediate container bfe25c4ec692 [2021-06-25T10:09:27.087Z] ---> 0ce99994f757 [2021-06-25T10:09:27.087Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:09:27.087Z] ---> Running in 1cc483c8445c [2021-06-25T10:09:29.709Z] Removing intermediate container 1cc483c8445c [2021-06-25T10:09:29.709Z] ---> 59d3c8fc95d0 [2021-06-25T10:09:29.709Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-25T10:09:29.709Z] ---> Running in fb39f047c887 [2021-06-25T10:09:30.705Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:09:31.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:09:31.901Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-25T10:09:31.901Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-25T10:09:32.173Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-25T10:09:32.173Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-25T10:09:32.446Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-25T10:09:32.446Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T10:09:32.446Z] OK: 8 MiB in 19 packages [2021-06-25T10:09:33.883Z] Removing intermediate container fb39f047c887 [2021-06-25T10:09:33.883Z] ---> a00e2b921137 [2021-06-25T10:09:33.883Z] Step 14/23 : WORKDIR / [2021-06-25T10:09:33.883Z] ---> Running in 62f1bc79be7b [2021-06-25T10:09:34.156Z] Removing intermediate container 62f1bc79be7b [2021-06-25T10:09:34.156Z] ---> 47809107eb19 [2021-06-25T10:09:34.156Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-25T10:09:35.141Z] ---> 7cd712f21c1e [2021-06-25T10:09:35.141Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-25T10:09:36.130Z] ---> c04988235fc9 [2021-06-25T10:09:36.130Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-25T10:09:37.109Z] ---> b7f353b60f52 [2021-06-25T10:09:37.109Z] Step 18/23 : EXPOSE 59999 [2021-06-25T10:09:37.109Z] ---> Running in f34dbe82dde8 [2021-06-25T10:09:37.705Z] Removing intermediate container f34dbe82dde8 [2021-06-25T10:09:37.705Z] ---> 8eddf902f89a [2021-06-25T10:09:37.705Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-25T10:09:37.705Z] ---> Running in fee49df78b45 [2021-06-25T10:09:38.307Z] Removing intermediate container fee49df78b45 [2021-06-25T10:09:38.308Z] ---> a31e82116904 [2021-06-25T10:09:38.308Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T10:09:38.583Z] ---> Running in 1c4c4e27740c [2021-06-25T10:09:38.859Z] Removing intermediate container 1c4c4e27740c [2021-06-25T10:09:38.859Z] ---> 122718e9cf76 [2021-06-25T10:09:38.859Z] Step 21/23 : LABEL arch=arm64 [2021-06-25T10:09:39.138Z] ---> Running in 1b4590208a48 [2021-06-25T10:09:39.738Z] Removing intermediate container 1b4590208a48 [2021-06-25T10:09:39.738Z] ---> 9a375d4ac790 [2021-06-25T10:09:39.738Z] Step 22/23 : LABEL git_sha=5669c30b8ab6fb074970a33fffe0991f26afb72a [2021-06-25T10:09:39.738Z] ---> Running in fa4b439d02fe [2021-06-25T10:09:40.335Z] Removing intermediate container fa4b439d02fe [2021-06-25T10:09:40.335Z] ---> 14f07b2283a6 [2021-06-25T10:09:40.335Z] Step 23/23 : LABEL version=0.0.0 [2021-06-25T10:09:40.335Z] ---> Running in 49aa5c072e8a [2021-06-25T10:09:40.933Z] Removing intermediate container 49aa5c072e8a [2021-06-25T10:09:40.933Z] ---> fc12ae1c1f3c [2021-06-25T10:09:40.933Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-25T10:09:40.933Z] Successfully built fc12ae1c1f3c [2021-06-25T10:09:40.933Z] 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-25T10:09:41.544Z] ---> job-cost.sh [2021-06-25T10:09:41.544Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Mg3d [2021-06-25T10:10:20.533Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T10:11:42.315Z] lf-activate-venv(): INFO: Adding /tmp/venv-Mg3d/bin to PATH [2021-06-25T10:11:42.315Z] INFO: No Stack... [2021-06-25T10:11:42.315Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-25T10:11:42.315Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T10:11:42.656Z] + + cutcat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-06-25T10:11:42.656Z] -d, -f6 [Pipeline] lock [2021-06-25T10:11:42.718Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-990-2-stack-cost] [2021-06-25T10:11:42.737Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-990-2-stack-cost] did not exist. Created. [2021-06-25T10:11:42.737Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-990-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T10:11:43.106Z] /w/workspace/device-sdk-go/2@tmp/durable-9385b8d0/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-9385b8d0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-25T10:11:43.454Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-25T10:11:43.475Z] Warning: overwriting stash ‘stack-cost’ [2021-06-25T10:11:43.639Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T10:11:43.652Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-990-2-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-25T10:11:44.542Z] provisioning config files... [2021-06-25T10:11:44.566Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-990@tmp/config4561769148975840722tmp [Pipeline] { [Pipeline] sh [2021-06-25T10:11:44.915Z] + set +x [2021-06-25T10:11:44.915Z] + bash -s -- [2021-06-25T10:11:44.915Z] + curl -s https://codecov.io/bash [2021-06-25T10:11:44.915Z] [2021-06-25T10:11:44.915Z] _____ _ [2021-06-25T10:11:44.915Z] / ____| | | [2021-06-25T10:11:44.915Z] | | ___ __| | ___ ___ _____ __ [2021-06-25T10:11:44.915Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-25T10:11:44.915Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-25T10:11:44.915Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-25T10:11:44.915Z] Bash-1.0.3 [2021-06-25T10:11:44.915Z] [2021-06-25T10:11:44.915Z] [2021-06-25T10:11:44.915Z] ==> git version 2.24.4 found [2021-06-25T10:11:44.915Z] ==> 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-25T10:11:44.915Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-25T10:11:44.915Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-25T10:11:44.915Z] ==> Jenkins CI detected. [2021-06-25T10:11:44.915Z] project root: . [2021-06-25T10:11:44.915Z] --> token set from env [2021-06-25T10:11:44.915Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-25T10:11:45.181Z] ==> Running gcov in . (disable via -X gcov) [2021-06-25T10:11:45.181Z] ==> Python coveragepy not found [2021-06-25T10:11:45.181Z] ==> Searching for coverage reports in: [2021-06-25T10:11:45.181Z] + . [2021-06-25T10:11:45.181Z] -> Found 1 reports [2021-06-25T10:11:45.181Z] ==> Detecting git/mercurial file structure [2021-06-25T10:11:45.181Z] ==> Reading reports [2021-06-25T10:11:45.181Z] + ./coverage.out bytes=125634 [2021-06-25T10:11:45.181Z] ==> Appending adjustments [2021-06-25T10:11:45.181Z] https://docs.codecov.io/docs/fixing-reports [2021-06-25T10:11:45.445Z] + Found adjustments [2021-06-25T10:11:45.445Z] ==> Gzipping contents [2021-06-25T10:11:45.445Z] 16K /tmp/codecov.RBeRIC.gz [2021-06-25T10:11:45.445Z] ==> Uploading reports [2021-06-25T10:11:45.445Z] url: https://codecov.io [2021-06-25T10:11:45.445Z] query: branch=PR-990&commit=5669c30b8ab6fb074970a33fffe0991f26afb72a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-990%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=990&job=&cmd_args= [2021-06-25T10:11:45.445Z] -> Pinging Codecov [2021-06-25T10:11:45.445Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-990&commit=5669c30b8ab6fb074970a33fffe0991f26afb72a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-990%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=990&job=&cmd_args= [2021-06-25T10:11:45.710Z] -> Uploading to [2021-06-25T10:11:45.710Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-25/7E55EF52A471D76F132DFD9A03CDDE97/5669c30b8ab6fb074970a33fffe0991f26afb72a/f88e3991-896b-49fd-90db-c47e43ce48d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210625%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210625T101145Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b6f8ead49ffb3c06311bd585077e66bef66a664e7364ed08023ca0ed340e993a [2021-06-25T10:11:45.710Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-25T10:11:45.710Z] Dload Upload Total Spent Left Speed [2021-06-25T10:11:46.287Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16321 0 0 100 16321 0 40515 --:--:-- --:--:-- --:--:-- 40599 [2021-06-25T10:11:46.287Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5669c30b8ab6fb074970a33fffe0991f26afb72a [Pipeline] } [2021-06-25T10:11:46.296Z] 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-25T10:11:47.955Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:11:48.531Z] ---> package-listing.sh [2021-06-25T10:11:48.532Z] ++ facter osfamily [2021-06-25T10:11:48.532Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-25T10:11:48.803Z] + OS_FAMILY=redhat [2021-06-25T10:11:48.804Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-990 [2021-06-25T10:11:48.804Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-25T10:11:48.804Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-25T10:11:48.804Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-25T10:11:48.804Z] + PACKAGES=/tmp/packages_start.txt [2021-06-25T10:11:48.804Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-990 ']' [2021-06-25T10:11:48.804Z] + PACKAGES=/tmp/packages_end.txt [2021-06-25T10:11:48.804Z] + case "${OS_FAMILY}" in [2021-06-25T10:11:48.804Z] + rpm -qa [2021-06-25T10:11:48.804Z] + sort [2021-06-25T10:11:49.383Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-25T10:11:49.383Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-25T10:11:49.383Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-25T10:11:49.383Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-990 ']' [2021-06-25T10:11:49.383Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-990/archives/ [2021-06-25T10:11:49.383Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-990/archives/ [Pipeline] echo [2021-06-25T10:11:49.397Z] 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-990/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-25T10:11:49.690Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:11:50.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:11:50.265Z] [2021-06-25T10:11:50.265Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:11:50.585Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:11:50.585Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-25T10:11:50.585Z] df20fa9351a1: Pulling fs layer [2021-06-25T10:11:50.585Z] 36b3adc4ff6f: Pulling fs layer [2021-06-25T10:11:50.585Z] 8ad3a11d3b57: Pulling fs layer [2021-06-25T10:11:50.585Z] 46f8f816bc3b: Pulling fs layer [2021-06-25T10:11:50.585Z] 93b61091891f: Pulling fs layer [2021-06-25T10:11:50.585Z] 93b9cdb0e59b: Pulling fs layer [2021-06-25T10:11:50.585Z] 5e14af77c1be: Pulling fs layer [2021-06-25T10:11:50.585Z] 01666e4c0597: Pulling fs layer [2021-06-25T10:11:50.585Z] aa168da1d23b: Pulling fs layer [2021-06-25T10:11:50.585Z] 46f8f816bc3b: Waiting [2021-06-25T10:11:50.585Z] 93b61091891f: Waiting [2021-06-25T10:11:50.585Z] 93b9cdb0e59b: Waiting [2021-06-25T10:11:50.585Z] 5e14af77c1be: Waiting [2021-06-25T10:11:50.585Z] 01666e4c0597: Waiting [2021-06-25T10:11:50.585Z] aa168da1d23b: Waiting [2021-06-25T10:11:50.585Z] 36b3adc4ff6f: Verifying Checksum [2021-06-25T10:11:50.585Z] 36b3adc4ff6f: Download complete [2021-06-25T10:11:50.585Z] 46f8f816bc3b: Verifying Checksum [2021-06-25T10:11:50.585Z] 46f8f816bc3b: Download complete [2021-06-25T10:11:50.850Z] df20fa9351a1: Verifying Checksum [2021-06-25T10:11:50.850Z] df20fa9351a1: Download complete [2021-06-25T10:11:50.850Z] 93b61091891f: Verifying Checksum [2021-06-25T10:11:50.850Z] 93b61091891f: Download complete [2021-06-25T10:11:50.850Z] 93b9cdb0e59b: Verifying Checksum [2021-06-25T10:11:50.850Z] 93b9cdb0e59b: Download complete [2021-06-25T10:11:50.850Z] 5e14af77c1be: Verifying Checksum [2021-06-25T10:11:50.850Z] 5e14af77c1be: Download complete [2021-06-25T10:11:50.850Z] 01666e4c0597: Verifying Checksum [2021-06-25T10:11:50.850Z] 01666e4c0597: Download complete [2021-06-25T10:11:50.850Z] 8ad3a11d3b57: Verifying Checksum [2021-06-25T10:11:50.850Z] 8ad3a11d3b57: Download complete [2021-06-25T10:11:51.117Z] df20fa9351a1: Pull complete [2021-06-25T10:11:51.117Z] 36b3adc4ff6f: Pull complete [2021-06-25T10:11:51.698Z] 8ad3a11d3b57: Pull complete [2021-06-25T10:11:51.964Z] 46f8f816bc3b: Pull complete [2021-06-25T10:11:52.233Z] 93b61091891f: Pull complete [2021-06-25T10:11:52.233Z] 93b9cdb0e59b: Pull complete [2021-06-25T10:11:52.495Z] 5e14af77c1be: Pull complete [2021-06-25T10:11:52.495Z] 01666e4c0597: Pull complete [2021-06-25T10:11:53.068Z] aa168da1d23b: Verifying Checksum [2021-06-25T10:11:53.068Z] aa168da1d23b: Download complete [2021-06-25T10:11:58.401Z] aa168da1d23b: Pull complete [2021-06-25T10:11:58.401Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-25T10:11:58.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:11:58.401Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-25T10:11:58.486Z] prd-centos7-docker-4c-2g-30 does not seem to be running inside a container [2021-06-25T10:11:58.534Z] $ 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-990/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-990 -v /w/workspace/dgexfoundry_device-sdk-go_PR-990:/w/workspace/dgexfoundry_device-sdk-go_PR-990:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-990@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-990@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-25T10:12:01.262Z] $ docker top d7de2e4330cc4696bb37604f3b6ff61c21ffa95cfb4712c37c06f4a498c6032b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:12:01.670Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-25T10:12:01.970Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-25T10:12:02.274Z] + ls /var/log/sa-host [2021-06-25T10:12:02.275Z] + sadf -c /var/log/sa-host/sa05 [2021-06-25T10:12:02.275Z] file_magic: OK [2021-06-25T10:12:02.275Z] HZ: Using current value: 100 [2021-06-25T10:12:02.275Z] file_header: OK [2021-06-25T10:12:02.275Z] 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-25T10:12:02.275Z] Statistics: [2021-06-25T10:12:02.275Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T10:12:02.275Z] File successfully converted to sysstat format version 12.2.1 [2021-06-25T10:12:02.275Z] + sadf -c /var/log/sa-host/sa25 [2021-06-25T10:12:02.275Z] file_magic: OK [2021-06-25T10:12:02.275Z] HZ: Using current value: 100 [2021-06-25T10:12:02.275Z] file_header: OK [2021-06-25T10:12:02.275Z] 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-25T10:12:02.275Z] Statistics: [2021-06-25T10:12:02.275Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T10:12:02.275Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:12:02.521Z] provisioning config files... [2021-06-25T10:12:02.537Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-990@tmp/config6679697942279168935tmp [Pipeline] { [Pipeline] echo [2021-06-25T10:12:02.558Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:12:02.871Z] ---> create-netrc.sh [Pipeline] } [2021-06-25T10:12:02.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:12:03.266Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-25T10:12:03.280Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:12:03.588Z] ---> sudo-logs.sh [2021-06-25T10:12:03.588Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-25T10:12:03.614Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:12:03.912Z] ---> job-cost.sh [2021-06-25T10:12:03.912Z] lf-activate-venv: SKIPPING [2021-06-25T10:12:03.912Z] DEBUG: total: 0.18000000715255737 [2021-06-25T10:12:03.912Z] INFO: Retrieving Stack Cost... [2021-06-25T10:12:04.858Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T10:12:05.122Z] INFO: Archiving Costs [Pipeline] echo [2021-06-25T10:12:05.139Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:12:05.459Z] ---> logs-deploy.sh [2021-06-25T10:12:05.459Z] lf-activate-venv: SKIPPING [2021-06-25T10:12:05.459Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-990/2 [2021-06-25T10:12:05.459Z] INFO: archiving workspace using pattern(s): [2021-06-25T10:12:06.406Z] Archives upload complete. [2021-06-25T10:12:06.406Z] INFO: archiving logs to Nexus