Pull request #989 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from b6d36fcaa36493536af87454a4d86560364e3a1e+785b4defdcca312b165faacd9acb4d45f8b13b2d (12ada66a345d8a971a413c2f9dbd3472c664f14a) 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-ssh8274207805011465704.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-ssh6537347551945503512.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-989/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-989/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1667218522764972528.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-ssh7263089436006833047.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-989/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-989/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1036937193832316680.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-46 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [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-989 # 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-989@tmp/jenkins-gitclient-ssh305347296778745802.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 785b4defdcca312b165faacd9acb4d45f8b13b2d into PR head commit b6d36fcaa36493536af87454a4d86560364e3a1e Merge succeeded, producing b6d36fcaa36493536af87454a4d86560364e3a1e Checking out Revision b6d36fcaa36493536af87454a4d86560364e3a1e (PR-989) > 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-989@tmp/jenkins-gitclient-ssh6727046175683581498.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6d36fcaa36493536af87454a4d86560364e3a1e # 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-989@tmp/jenkins-gitclient-ssh3376459801837459146.key > git merge 785b4defdcca312b165faacd9acb4d45f8b13b2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6d36fcaa36493536af87454a4d86560364e3a1e # timeout=10 Commit message: "docs: add Changelog for Ireland release" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-25T10:27:14.697Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-25T10:27:14.787Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-25T10:27:14.816Z] ========================================================= [2021-06-25T10:27:14.816Z] EdgeX Global Pipelines Version Info [2021-06-25T10:27:14.816Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cf90dbe5cb496db7542168cc70da22dce3802ddc # timeout=10 [2021-06-25T10:27:16.301Z] ------------------- [2021-06-25T10:27:16.302Z] stable info: [2021-06-25T10:27:16.302Z] ------------------- [2021-06-25T10:27:16.302Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-25T10:27:16.302Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T10:27:16.302Z] Message: update stable to v1.0.195 [2021-06-25T10:27:16.874Z] ------------------- [2021-06-25T10:27:16.874Z] experimental info: [2021-06-25T10:27:16.874Z] ------------------- [2021-06-25T10:27:16.874Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-25T10:27:16.874Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T10:27:16.874Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-25T10:27:17.114Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-25T10:27:17.138Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-25T10:27:17.160Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-25T10:27:17.184Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-25T10:27:17.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-25T10:27:17.242Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-25T10:27:17.269Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-25T10:27:17.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-25T10:27:17.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-25T10:27:17.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-25T10:27:17.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-25T10:27:17.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-25T10:27:17.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-25T10:27:17.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-25T10:27:17.453Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-25T10:27:17.480Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T10:27:17.504Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T10:27:17.525Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T10:27:17.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-25T10:27:17.572Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-25T10:27:17.598Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-25T10:27:17.620Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-25T10:27:17.665Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-25T10:27:17.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-25T10:27:17.710Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-25T10:27:17.733Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-25T10:27:17.761Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-989 [Pipeline] echo [2021-06-25T10:27:17.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-989 [Pipeline] echo [2021-06-25T10:27:17.819Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-989 [Pipeline] echo [2021-06-25T10:27:17.841Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6d36fcaa36493536af87454a4d86560364e3a1e [Pipeline] echo [2021-06-25T10:27:17.864Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b6d36fc [Pipeline] echo [2021-06-25T10:27:17.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:27:17.974Z] provisioning config files... [2021-06-25T10:27:17.989Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/config5839566431886774228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:27:18.309Z] ---> docker-login.sh [2021-06-25T10:27:18.309Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:27:18.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:27:18.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:27:18.573Z] Configure a credential helper to remove this warning. See [2021-06-25T10:27:18.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:27:18.573Z] [2021-06-25T10:27:18.573Z] Login Succeeded [2021-06-25T10:27:18.573Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:27:18.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:27:18.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:27:18.573Z] Configure a credential helper to remove this warning. See [2021-06-25T10:27:18.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:27:18.573Z] [2021-06-25T10:27:18.573Z] Login Succeeded [2021-06-25T10:27:18.573Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:27:18.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:27:18.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:27:18.835Z] Configure a credential helper to remove this warning. See [2021-06-25T10:27:18.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:27:18.835Z] [2021-06-25T10:27:18.835Z] Login Succeeded [2021-06-25T10:27:18.835Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:27:18.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:27:18.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:27:18.835Z] Configure a credential helper to remove this warning. See [2021-06-25T10:27:18.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:27:18.835Z] [2021-06-25T10:27:18.835Z] Login Succeeded [2021-06-25T10:27:18.835Z] docker.io [2021-06-25T10:27:19.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:27:19.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:27:19.361Z] Configure a credential helper to remove this warning. See [2021-06-25T10:27:19.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:27:19.361Z] [2021-06-25T10:27:19.361Z] Login Succeeded [2021-06-25T10:27:19.361Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:27:19.370Z] 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:27:19.890Z] + git log --format=format:%s -1 b6d36fcaa36493536af87454a4d86560364e3a1e [Pipeline] echo [2021-06-25T10:27:19.935Z] GIT_COMMIT: b6d36fcaa36493536af87454a4d86560364e3a1e, Commit Message: docs: add Changelog for Ireland release [Pipeline] echo [2021-06-25T10:27:19.949Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:27:20.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:27:20.768Z] [2021-06-25T10:27:20.768Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:27:21.083Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:27:21.083Z] latest: Pulling from edgex-devops/git-semver [2021-06-25T10:27:21.083Z] 31603596830f: Pulling fs layer [2021-06-25T10:27:21.083Z] 54011a49482f: Pulling fs layer [2021-06-25T10:27:21.083Z] a6820b24f6d8: Pulling fs layer [2021-06-25T10:27:21.083Z] f581987b2513: Pulling fs layer [2021-06-25T10:27:21.083Z] f581987b2513: Waiting [2021-06-25T10:27:21.083Z] 54011a49482f: Verifying Checksum [2021-06-25T10:27:21.083Z] 54011a49482f: Download complete [2021-06-25T10:27:21.356Z] 31603596830f: Verifying Checksum [2021-06-25T10:27:21.356Z] 31603596830f: Download complete [2021-06-25T10:27:21.356Z] f581987b2513: Verifying Checksum [2021-06-25T10:27:21.356Z] f581987b2513: Download complete [2021-06-25T10:27:21.356Z] a6820b24f6d8: Verifying Checksum [2021-06-25T10:27:21.356Z] a6820b24f6d8: Download complete [2021-06-25T10:27:21.356Z] 31603596830f: Pull complete [2021-06-25T10:27:21.618Z] 54011a49482f: Pull complete [2021-06-25T10:27:22.195Z] a6820b24f6d8: Pull complete [2021-06-25T10:27:22.195Z] f581987b2513: Pull complete [2021-06-25T10:27:22.195Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-25T10:27:22.195Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T10:27:22.195Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-25T10:27:22.281Z] prd-centos7-docker-4c-2g-46 does not seem to be running inside a container [2021-06-25T10:27:22.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-989 -v /w/workspace/dgexfoundry_device-sdk-go_PR-989:/w/workspace/dgexfoundry_device-sdk-go_PR-989:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-989@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:27:23.661Z] $ docker top 6beb797e102db6947fbe2e3754c6a9c6d78a40dbcba4505ec1254e80f6e74759 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-25T10:27:23.787Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T10:27:23.787Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T10:27:23.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T10:27:23.885Z] $ docker exec 6beb797e102db6947fbe2e3754c6a9c6d78a40dbcba4505ec1254e80f6e74759 ssh-agent [2021-06-25T10:27:24.006Z] SSH_AUTH_SOCK=/tmp/ssh-KpsVIn4jFBs8/agent.13 [2021-06-25T10:27:24.006Z] SSH_AGENT_PID=20 [2021-06-25T10:27:24.013Z] Running ssh-add (command line suppressed) [2021-06-25T10:27:24.114Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_9147027647776485904.key (/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_9147027647776485904.key) [2021-06-25T10:27:24.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T10:27:24.438Z] + git tag --points-at HEAD [Pipeline] } [2021-06-25T10:27:24.449Z] $ docker exec --env ******** --env ******** 6beb797e102db6947fbe2e3754c6a9c6d78a40dbcba4505ec1254e80f6e74759 ssh-agent -k [2021-06-25T10:27:24.546Z] unset SSH_AUTH_SOCK; [2021-06-25T10:27:24.546Z] unset SSH_AGENT_PID; [2021-06-25T10:27:24.546Z] echo Agent pid 20 killed; [2021-06-25T10:27:24.563Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-25T10:27:24.613Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T10:27:24.613Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T10:27:24.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T10:27:24.733Z] $ docker exec 6beb797e102db6947fbe2e3754c6a9c6d78a40dbcba4505ec1254e80f6e74759 ssh-agent [2021-06-25T10:27:24.848Z] SSH_AUTH_SOCK=/tmp/ssh-2eYYvn53axl0/agent.55 [2021-06-25T10:27:24.848Z] SSH_AGENT_PID=61 [2021-06-25T10:27:24.855Z] Running ssh-add (command line suppressed) [2021-06-25T10:27:24.943Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_4018752351662742138.key (/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_4018752351662742138.key) [2021-06-25T10:27:24.961Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T10:27:25.271Z] + git semver init [2021-06-25T10:27:25.271Z] # -> Open(): unable to determine branch for HEAD [2021-06-25T10:27:25.271Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-989/.git [2021-06-25T10:27:25.271Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-989 [2021-06-25T10:27:25.271Z] # $SEMVER_REMOTE_NAME = origin [2021-06-25T10:27:25.271Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-25T10:27:25.271Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-25T10:27:25.271Z] # $SEMVER_BRANCH = PR-989 [2021-06-25T10:27:25.271Z] # $SEMVER_TEMP = /tmp/semver-214432841 [2021-06-25T10:27:25.271Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-25T10:27:25.848Z] # '/tmp/semver-214432841' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-989/.semver' [2021-06-25T10:27:25.848Z] # -> Force: false [2021-06-25T10:27:25.848Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-989/.semver [Pipeline] } [2021-06-25T10:27:25.855Z] $ docker exec --env ******** --env ******** 6beb797e102db6947fbe2e3754c6a9c6d78a40dbcba4505ec1254e80f6e74759 ssh-agent -k [2021-06-25T10:27:25.950Z] unset SSH_AUTH_SOCK; [2021-06-25T10:27:25.950Z] unset SSH_AGENT_PID; [2021-06-25T10:27:25.950Z] echo Agent pid 61 killed; [2021-06-25T10:27:25.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-25T10:27:26.301Z] + git semver [Pipeline] } [2021-06-25T10:27:26.312Z] $ docker stop --time=1 6beb797e102db6947fbe2e3754c6a9c6d78a40dbcba4505ec1254e80f6e74759 [2021-06-25T10:27:27.639Z] $ docker rm -f 6beb797e102db6947fbe2e3754c6a9c6d78a40dbcba4505ec1254e80f6e74759 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:27:27.997Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-25T10:27:28.263Z] Stashed 1 file(s) [Pipeline] echo [2021-06-25T10:27:28.267Z] [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:27:43.567Z] Still waiting to schedule task [2021-06-25T10:27:43.568Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-25T10:27:43.569Z] Still waiting to schedule task [2021-06-25T10:27:43.570Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-25T10:30:18.555Z] Running on prd-centos7-docker-4c-2g-47 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [Pipeline] { [Pipeline] ws [2021-06-25T10:30:18.583Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-25T10:30:18.690Z] Selected Git installation does not exist. Using Default [2021-06-25T10:30:18.690Z] The recommended git tool is: NONE [2021-06-25T10:30:20.931Z] using credential edgex-jenkins-ssh [2021-06-25T10:30:20.947Z] Cloning the remote Git repository [2021-06-25T10:30:21.033Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:30:21.103Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-25T10:30:21.140Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:30:21.140Z] > git --version # timeout=10 [2021-06-25T10:30:21.149Z] > git --version # 'git version 2.24.4' [2021-06-25T10:30:21.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:30:21.184Z] [INFO] Currently running in a labeled security context [2021-06-25T10:30:21.184Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:30:21.185Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh75877445997171012.key [2021-06-25T10:30:21.206Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:30:21.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:30:21.913Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:30:21.924Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:30:21.942Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:30:21.942Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:30:21.943Z] [INFO] Currently running in a labeled security context [2021-06-25T10:30:21.943Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:30:21.943Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh6442848076164729776.key [2021-06-25T10:30:21.949Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T10:30:22.401Z] Merging remotes/origin/master commit 785b4defdcca312b165faacd9acb4d45f8b13b2d into PR head commit b6d36fcaa36493536af87454a4d86560364e3a1e [2021-06-25T10:30:22.524Z] Merge succeeded, producing b6d36fcaa36493536af87454a4d86560364e3a1e [2021-06-25T10:30:22.525Z] Checking out Revision b6d36fcaa36493536af87454a4d86560364e3a1e (PR-989) [2021-06-25T10:30:22.409Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:30:22.420Z] > git checkout -f b6d36fcaa36493536af87454a4d86560364e3a1e # timeout=10 [2021-06-25T10:30:22.466Z] > git remote # timeout=10 [2021-06-25T10:30:22.476Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T10:30:22.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:30:22.486Z] [INFO] Currently running in a labeled security context [2021-06-25T10:30:22.486Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T10:30:22.486Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh1467152247662180948.key [2021-06-25T10:30:22.494Z] > git merge 785b4defdcca312b165faacd9acb4d45f8b13b2d # timeout=10 [2021-06-25T10:30:22.509Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T10:30:22.526Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:30:22.532Z] > git checkout -f b6d36fcaa36493536af87454a4d86560364e3a1e # timeout=10 [2021-06-25T10:30:26.256Z] Commit message: "docs: add Changelog for Ireland release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:30:27.576Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:30:27.903Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:30:28.206Z] + sudo service docker restart [2021-06-25T10:30:28.206Z] + true [2021-06-25T10:30:28.206Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:30:46.407Z] provisioning config files... [2021-06-25T10:30:46.422Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7805241504849242023tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:30:46.781Z] ---> docker-login.sh [2021-06-25T10:30:46.782Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:30:47.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:30:47.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:30:47.311Z] Configure a credential helper to remove this warning. See [2021-06-25T10:30:47.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:30:47.311Z] [2021-06-25T10:30:47.311Z] Login Succeeded [2021-06-25T10:30:47.311Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:30:47.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:30:47.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:30:47.575Z] Configure a credential helper to remove this warning. See [2021-06-25T10:30:47.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:30:47.575Z] [2021-06-25T10:30:47.575Z] Login Succeeded [2021-06-25T10:30:47.575Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:30:47.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:30:47.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:30:47.575Z] Configure a credential helper to remove this warning. See [2021-06-25T10:30:47.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:30:47.575Z] [2021-06-25T10:30:47.575Z] Login Succeeded [2021-06-25T10:30:47.575Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:30:47.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:30:47.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:30:47.836Z] Configure a credential helper to remove this warning. See [2021-06-25T10:30:47.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:30:47.836Z] [2021-06-25T10:30:47.836Z] Login Succeeded [2021-06-25T10:30:47.836Z] docker.io [2021-06-25T10:30:47.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:30:48.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:30:48.098Z] Configure a credential helper to remove this warning. See [2021-06-25T10:30:48.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:30:48.098Z] [2021-06-25T10:30:48.098Z] Login Succeeded [2021-06-25T10:30:48.098Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:30:48.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T10:30:48.289Z] ========================================================= [2021-06-25T10:30:48.289Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-25T10:30:48.289Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:30:48.613Z] + 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:30:48.613Z] Sending build context to Docker daemon 2.701MB [2021-06-25T10:30:48.613Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:30:48.613Z] Step 2/8 : FROM ${BASE} [2021-06-25T10:30:48.875Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-25T10:30:48.875Z] 540db60ca938: Pulling fs layer [2021-06-25T10:30:48.875Z] adcc1eea9eea: Pulling fs layer [2021-06-25T10:30:48.875Z] 4c4ab2625f07: Pulling fs layer [2021-06-25T10:30:48.875Z] 0510c868ecb4: Pulling fs layer [2021-06-25T10:30:48.875Z] afea3b2eda06: Pulling fs layer [2021-06-25T10:30:48.875Z] 7809a108b3ef: Pulling fs layer [2021-06-25T10:30:48.875Z] f706445af74f: Pulling fs layer [2021-06-25T10:30:48.875Z] 0510c868ecb4: Waiting [2021-06-25T10:30:48.875Z] afea3b2eda06: Waiting [2021-06-25T10:30:48.875Z] 7809a108b3ef: Waiting [2021-06-25T10:30:48.875Z] f706445af74f: Waiting [2021-06-25T10:30:48.875Z] 4c4ab2625f07: Verifying Checksum [2021-06-25T10:30:48.875Z] 4c4ab2625f07: Download complete [2021-06-25T10:30:48.875Z] adcc1eea9eea: Verifying Checksum [2021-06-25T10:30:48.875Z] adcc1eea9eea: Download complete [2021-06-25T10:30:48.875Z] afea3b2eda06: Verifying Checksum [2021-06-25T10:30:48.875Z] afea3b2eda06: Download complete [2021-06-25T10:30:48.875Z] 540db60ca938: Verifying Checksum [2021-06-25T10:30:48.875Z] 540db60ca938: Download complete [2021-06-25T10:30:48.875Z] 7809a108b3ef: Verifying Checksum [2021-06-25T10:30:48.875Z] 7809a108b3ef: Download complete [2021-06-25T10:30:49.152Z] 540db60ca938: Pull complete [2021-06-25T10:30:49.152Z] adcc1eea9eea: Pull complete [2021-06-25T10:30:49.152Z] 4c4ab2625f07: Pull complete [2021-06-25T10:30:50.541Z] f706445af74f: Verifying Checksum [2021-06-25T10:30:50.541Z] f706445af74f: Download complete [2021-06-25T10:30:50.541Z] 0510c868ecb4: Verifying Checksum [2021-06-25T10:30:50.541Z] 0510c868ecb4: Download complete [2021-06-25T10:30:53.865Z] 0510c868ecb4: Pull complete [2021-06-25T10:30:53.865Z] afea3b2eda06: Pull complete [2021-06-25T10:30:53.865Z] 7809a108b3ef: Pull complete [2021-06-25T10:30:55.272Z] f706445af74f: Pull complete [2021-06-25T10:30:55.532Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-25T10:30:55.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-25T10:30:55.532Z] ---> b068be0155e3 [2021-06-25T10:30:55.532Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:31:02.136Z] ---> Running in 3ac499d8669b [2021-06-25T10:31:02.397Z] Removing intermediate container 3ac499d8669b [2021-06-25T10:31:02.397Z] ---> 47245a049735 [2021-06-25T10:31:02.397Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:31:02.397Z] ---> Running in c739afe7cf0e [2021-06-25T10:31:02.968Z] Removing intermediate container c739afe7cf0e [2021-06-25T10:31:02.968Z] ---> 9a97c4fe9f54 [2021-06-25T10:31:02.968Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T10:31:02.968Z] ---> Running in d31135a4ce94 [2021-06-25T10:31:03.230Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:31:04.174Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T10:31:04.436Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-25T10:31:04.436Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-25T10:31:04.697Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-25T10:31:04.697Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-25T10:31:04.960Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-25T10:31:05.535Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-25T10:31:05.796Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T10:31:05.796Z] OK: 150 MiB in 46 packages [2021-06-25T10:31:06.057Z] Removing intermediate container d31135a4ce94 [2021-06-25T10:31:06.057Z] ---> d39cd19e541d [2021-06-25T10:31:06.057Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-25T10:31:06.057Z] ---> Running in 464f080e2f7c [2021-06-25T10:31:06.057Z] Removing intermediate container 464f080e2f7c [2021-06-25T10:31:06.057Z] ---> 95ec3c7daada [2021-06-25T10:31:06.057Z] Step 7/8 : COPY . . [2021-06-25T10:31:06.629Z] ---> 33a3ea0dc36b [2021-06-25T10:31:06.629Z] Step 8/8 : RUN go mod download [2021-06-25T10:31:06.629Z] ---> Running in d640c15959cd [2021-06-25T10:31:21.593Z] Removing intermediate container d640c15959cd [2021-06-25T10:31:21.593Z] ---> 875af0e3af4f [2021-06-25T10:31:21.593Z] Successfully built 875af0e3af4f [2021-06-25T10:31:21.593Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:31:21.902Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T10:31:21.902Z] . [Pipeline] withDockerContainer [2021-06-25T10:31:21.986Z] prd-centos7-docker-4c-2g-47 does not seem to be running inside a container [2021-06-25T10:31:22.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat [2021-06-25T10:31:22.440Z] $ docker top 47fd0db136d6b3cd9bde7af442d540c30fb6746eaee896229e43bcdbb88dbd50 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:31:22.810Z] + go version [2021-06-25T10:31:22.810Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-25T10:31:22.822Z] $ docker stop --time=1 47fd0db136d6b3cd9bde7af442d540c30fb6746eaee896229e43bcdbb88dbd50 [2021-06-25T10:31:24.018Z] $ docker rm -f 47fd0db136d6b3cd9bde7af442d540c30fb6746eaee896229e43bcdbb88dbd50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:31:24.582Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T10:31:24.583Z] . [Pipeline] withDockerContainer [2021-06-25T10:31:24.668Z] prd-centos7-docker-4c-2g-47 does not seem to be running inside a container [2021-06-25T10:31:24.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat [2021-06-25T10:31:25.106Z] $ docker top 6533dab4a4c3c9d6eff31e31cd6f2219ecaff7a88b51e41b991e3b6a1a85b2b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:31:25.513Z] + go mod tidy [Pipeline] sh [2021-06-25T10:31:26.084Z] + make test [2021-06-25T10:31:26.084Z] go mod tidy [2021-06-25T10:31:26.084Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-25T10:31:31.778Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-25T10:31:53.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-25T10:31:53.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-25T10:31:53.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-25T10:31:56.440Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.051s coverage: 24.2% of statements [2021-06-25T10:31:56.440Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-25T10:31:56.440Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 28.1% of statements [2021-06-25T10:31:56.440Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-06-25T10:31:56.706Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements [2021-06-25T10:31:56.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-25T10:31:56.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-25T10:31:56.706Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-25T10:31:57.293Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.070s coverage: 28.7% of statements [2021-06-25T10:31:57.293Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-25T10:31:57.902Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-48 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [Pipeline] { [Pipeline] ws [2021-06-25T10:31:57.919Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-25T10:31:58.160Z] Selected Git installation does not exist. Using Default [2021-06-25T10:31:58.160Z] The recommended git tool is: NONE [2021-06-25T10:31:58.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.068s coverage: 83.3% of statements [2021-06-25T10:31:58.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-25T10:31:58.250Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-25T10:31:58.250Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 58.0% of statements [2021-06-25T10:31:59.647Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.877s coverage: 89.2% of statements [2021-06-25T10:31:59.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-25T10:31:59.647Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.9% of statements [2021-06-25T10:31:59.647Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-25T10:31:59.647Z] GO111MODULE=on go vet ./... [2021-06-25T10:32:04.073Z] using credential edgex-jenkins-ssh [2021-06-25T10:32:04.102Z] Cloning the remote Git repository [2021-06-25T10:32:04.132Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:32:04.234Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-25T10:32:04.312Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:32:04.313Z] > git --version # timeout=10 [2021-06-25T10:32:04.328Z] > git --version # 'git version 2.17.1' [2021-06-25T10:32:04.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:32:04.435Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:32:05.568Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:32:05.588Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T10:32:05.609Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T10:32:06.310Z] Merging remotes/origin/master commit 785b4defdcca312b165faacd9acb4d45f8b13b2d into PR head commit b6d36fcaa36493536af87454a4d86560364e3a1e [2021-06-25T10:32:06.526Z] Merge succeeded, producing b6d36fcaa36493536af87454a4d86560364e3a1e [2021-06-25T10:32:06.527Z] Checking out Revision b6d36fcaa36493536af87454a4d86560364e3a1e (PR-989) [2021-06-25T10:32:05.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T10:32:05.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:32:05.656Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T10:32:06.298Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:32:06.311Z] > git checkout -f b6d36fcaa36493536af87454a4d86560364e3a1e # timeout=10 [2021-06-25T10:32:06.413Z] > git remote # timeout=10 [2021-06-25T10:32:06.429Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T10:32:06.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T10:32:06.452Z] > git merge 785b4defdcca312b165faacd9acb4d45f8b13b2d # timeout=10 [2021-06-25T10:32:06.483Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T10:32:06.503Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T10:32:06.515Z] > git checkout -f b6d36fcaa36493536af87454a4d86560364e3a1e # timeout=10 [2021-06-25T10:32:10.797Z] Commit message: "docs: add Changelog for Ireland release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:32:12.067Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:32:12.491Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T10:32:12.832Z] + true [2021-06-25T10:32:12.832Z] + sudo service docker restart [2021-06-25T10:32:17.851Z] gofmt -l . [2021-06-25T10:32:17.851Z] [ "`gofmt -l .`" = "" ] [2021-06-25T10:32:17.851Z] ./bin/test-attribution-txt.sh [2021-06-25T10:32:17.851Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-25T10:32:17.864Z] $ docker stop --time=1 6533dab4a4c3c9d6eff31e31cd6f2219ecaff7a88b51e41b991e3b6a1a85b2b2 [2021-06-25T10:32:19.563Z] $ docker rm -f 6533dab4a4c3c9d6eff31e31cd6f2219ecaff7a88b51e41b991e3b6a1a85b2b2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:32:20.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T10:32:20.321Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-25T10:32:22.587Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T10:32:22.892Z] + ls -al . [2021-06-25T10:32:22.892Z] total 228 [2021-06-25T10:32:22.892Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 25 10:32 . [2021-06-25T10:32:22.892Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 25 10:30 .. [2021-06-25T10:32:22.892Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 25 10:30 bin [2021-06-25T10:32:22.892Z] -rw-rw-r--. 1 jenkins jenkins 25548 Jun 25 10:30 CHANGELOG.md [2021-06-25T10:32:22.892Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 25 10:31 coverage.out [2021-06-25T10:32:22.892Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 25 10:30 Dockerfile.build [2021-06-25T10:32:22.892Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 25 10:30 .dockerignore [2021-06-25T10:32:22.892Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 25 10:30 example [2021-06-25T10:32:22.892Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 25 10:30 .git [2021-06-25T10:32:22.892Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 25 10:30 .github [2021-06-25T10:32:22.892Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 25 10:30 .gitignore [2021-06-25T10:32:22.892Z] -rw-r--r--. 1 jenkins jenkins 548 Jun 25 10:32 go.mod [2021-06-25T10:32:22.892Z] -rw-r--r--. 1 jenkins jenkins 20210 Jun 25 10:31 go.sum [2021-06-25T10:32:22.892Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 25 10:30 internal [2021-06-25T10:32:22.892Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 25 10:30 Jenkinsfile [2021-06-25T10:32:22.892Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 25 10:30 LICENSE [2021-06-25T10:32:22.892Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 25 10:30 Makefile [2021-06-25T10:32:22.892Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 25 10:30 openapi [2021-06-25T10:32:22.892Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 25 10:30 pkg [2021-06-25T10:32:22.892Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 25 10:30 README.md [2021-06-25T10:32:22.892Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 25 10:30 snap [2021-06-25T10:32:22.892Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 25 10:27 VERSION [2021-06-25T10:32:22.892Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 25 10:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:32:23.199Z] + 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=b6d36fcaa36493536af87454a4d86560364e3a1e --label arch=amd64 --label version=0.0.0 . [2021-06-25T10:32:23.199Z] Sending build context to Docker daemon 2.827MB [2021-06-25T10:32:23.199Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:32:23.199Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-25T10:32:23.199Z] ---> 875af0e3af4f [2021-06-25T10:32:23.199Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-25T10:32:23.463Z] ---> Running in 92cf19b0dbf2 [2021-06-25T10:32:23.463Z] Removing intermediate container 92cf19b0dbf2 [2021-06-25T10:32:23.463Z] ---> a3a19c524816 [2021-06-25T10:32:23.463Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:32:23.463Z] ---> Running in c675962747ee [2021-06-25T10:32:23.724Z] Removing intermediate container c675962747ee [2021-06-25T10:32:23.724Z] ---> 80f1b2b9a177 [2021-06-25T10:32:23.724Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:32:23.724Z] ---> Running in 832921db2ac4 [2021-06-25T10:32:23.987Z] Removing intermediate container 832921db2ac4 [2021-06-25T10:32:23.987Z] ---> d63d4748bc35 [2021-06-25T10:32:23.987Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-25T10:32:24.254Z] ---> Running in e5e2e566f6e6 [2021-06-25T10:32:24.515Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:32:25.460Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T10:32:25.723Z] OK: 150 MiB in 46 packages [2021-06-25T10:32:25.998Z] Removing intermediate container e5e2e566f6e6 [2021-06-25T10:32:25.998Z] ---> 12c28c490be3 [2021-06-25T10:32:25.998Z] Step 7/23 : COPY . . [2021-06-25T10:32:26.265Z] ---> 34c95aa8c330 [2021-06-25T10:32:26.265Z] Step 8/23 : RUN go mod download [2021-06-25T10:32:26.265Z] ---> Running in b1779353205b [2021-06-25T10:32:27.218Z] Removing intermediate container b1779353205b [2021-06-25T10:32:27.218Z] ---> 8d02a1881849 [2021-06-25T10:32:27.218Z] Step 9/23 : RUN make build [2021-06-25T10:32:27.218Z] ---> Running in b416fb1b4021 [2021-06-25T10:32:27.484Z] go mod tidy [2021-06-25T10:32:27.484Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:32:31.201Z] provisioning config files... [2021-06-25T10:32:31.227Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8818397325021957826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:32:31.617Z] ---> docker-login.sh [2021-06-25T10:32:31.617Z] nexus3.edgexfoundry.org:10001 [2021-06-25T10:32:32.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:32:32.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:32:32.875Z] Configure a credential helper to remove this warning. See [2021-06-25T10:32:32.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:32:32.875Z] [2021-06-25T10:32:32.875Z] Login Succeeded [2021-06-25T10:32:32.875Z] nexus3.edgexfoundry.org:10002 [2021-06-25T10:32:33.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:32:33.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:32:33.424Z] Configure a credential helper to remove this warning. See [2021-06-25T10:32:33.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:32:33.424Z] [2021-06-25T10:32:33.424Z] Login Succeeded [2021-06-25T10:32:33.424Z] nexus3.edgexfoundry.org:10003 [2021-06-25T10:32:33.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:32:33.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:32:33.981Z] Configure a credential helper to remove this warning. See [2021-06-25T10:32:33.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:32:33.981Z] [2021-06-25T10:32:33.981Z] Login Succeeded [2021-06-25T10:32:33.981Z] nexus3.edgexfoundry.org:10004 [2021-06-25T10:32:34.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:32:34.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:32:34.541Z] Configure a credential helper to remove this warning. See [2021-06-25T10:32:34.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:32:34.541Z] [2021-06-25T10:32:34.541Z] Login Succeeded [2021-06-25T10:32:34.541Z] docker.io [2021-06-25T10:32:34.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T10:32:35.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T10:32:35.418Z] Configure a credential helper to remove this warning. See [2021-06-25T10:32:35.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T10:32:35.418Z] [2021-06-25T10:32:35.418Z] Login Succeeded [2021-06-25T10:32:35.418Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T10:32:35.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T10:32:35.738Z] ========================================================= [2021-06-25T10:32:35.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-25T10:32:35.738Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:32:36.078Z] + 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:32:36.677Z] Sending build context to Docker daemon 2.702MB [2021-06-25T10:32:36.677Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:32:36.677Z] Step 2/8 : FROM ${BASE} [2021-06-25T10:32:36.957Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-25T10:32:36.957Z] 595b0fe564bb: Pulling fs layer [2021-06-25T10:32:36.957Z] 3088b5b3c5c0: Pulling fs layer [2021-06-25T10:32:36.957Z] 5b7225fbf94c: Pulling fs layer [2021-06-25T10:32:36.957Z] ba82ee9f976e: Pulling fs layer [2021-06-25T10:32:36.957Z] 506bd15cee9f: Pulling fs layer [2021-06-25T10:32:36.957Z] 75a0a4a0db45: Pulling fs layer [2021-06-25T10:32:36.957Z] 618dc40b7e24: Pulling fs layer [2021-06-25T10:32:36.957Z] ba82ee9f976e: Waiting [2021-06-25T10:32:36.957Z] 506bd15cee9f: Waiting [2021-06-25T10:32:36.957Z] 75a0a4a0db45: Waiting [2021-06-25T10:32:36.957Z] 618dc40b7e24: Waiting [2021-06-25T10:32:36.957Z] 5b7225fbf94c: Verifying Checksum [2021-06-25T10:32:36.957Z] 5b7225fbf94c: Download complete [2021-06-25T10:32:36.957Z] 3088b5b3c5c0: Verifying Checksum [2021-06-25T10:32:36.957Z] 3088b5b3c5c0: Download complete [2021-06-25T10:32:36.957Z] 506bd15cee9f: Verifying Checksum [2021-06-25T10:32:36.957Z] 506bd15cee9f: Download complete [2021-06-25T10:32:36.957Z] 75a0a4a0db45: Verifying Checksum [2021-06-25T10:32:36.957Z] 75a0a4a0db45: Download complete [2021-06-25T10:32:36.957Z] 595b0fe564bb: Verifying Checksum [2021-06-25T10:32:36.957Z] 595b0fe564bb: Download complete [2021-06-25T10:32:37.609Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-25T10:32:37.955Z] 595b0fe564bb: Pull complete [2021-06-25T10:32:38.244Z] 3088b5b3c5c0: Pull complete [2021-06-25T10:32:38.558Z] Removing intermediate container b416fb1b4021 [2021-06-25T10:32:38.558Z] ---> aae6f5e65cda [2021-06-25T10:32:38.558Z] Step 10/23 : FROM alpine:3.12 [2021-06-25T10:32:38.820Z] 3.12: Pulling from library/alpine [2021-06-25T10:32:38.853Z] 5b7225fbf94c: Pull complete [2021-06-25T10:32:39.083Z] 339de151aab4: Pulling fs layer [2021-06-25T10:32:39.084Z] 339de151aab4: Verifying Checksum [2021-06-25T10:32:39.084Z] 339de151aab4: Download complete [2021-06-25T10:32:39.127Z] 618dc40b7e24: Verifying Checksum [2021-06-25T10:32:39.127Z] 618dc40b7e24: Download complete [2021-06-25T10:32:39.347Z] 339de151aab4: Pull complete [2021-06-25T10:32:39.348Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T10:32:39.348Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T10:32:39.348Z] ---> 13621d1b12d4 [2021-06-25T10:32:39.348Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:32:39.348Z] ---> Running in 5d2f4b12f1d2 [2021-06-25T10:32:39.613Z] Removing intermediate container 5d2f4b12f1d2 [2021-06-25T10:32:39.613Z] ---> d4b14c89e2fd [2021-06-25T10:32:39.613Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:32:39.613Z] ---> Running in c718b138f887 [2021-06-25T10:32:40.186Z] Removing intermediate container c718b138f887 [2021-06-25T10:32:40.186Z] ---> cb2225d79e05 [2021-06-25T10:32:40.186Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-25T10:32:40.186Z] ---> Running in b854379085c2 [2021-06-25T10:32:40.446Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-25T10:32:40.570Z] ba82ee9f976e: Verifying Checksum [2021-06-25T10:32:40.570Z] ba82ee9f976e: Download complete [2021-06-25T10:32:41.017Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-25T10:32:41.278Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-25T10:32:41.278Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-25T10:32:41.538Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-25T10:32:42.481Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-25T10:32:42.481Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-25T10:32:42.481Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T10:32:42.481Z] OK: 8 MiB in 19 packages [2021-06-25T10:32:43.052Z] Removing intermediate container b854379085c2 [2021-06-25T10:32:43.052Z] ---> 1bdc292e4340 [2021-06-25T10:32:43.052Z] Step 14/23 : WORKDIR / [2021-06-25T10:32:43.052Z] ---> Running in 8ffcb96af549 [2021-06-25T10:32:43.052Z] Removing intermediate container 8ffcb96af549 [2021-06-25T10:32:43.052Z] ---> 396e12c93304 [2021-06-25T10:32:43.052Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-25T10:32:43.313Z] ---> ff5dcf05e2ac [2021-06-25T10:32:43.313Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-25T10:32:43.885Z] ---> aba0e5875957 [2021-06-25T10:32:43.885Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-25T10:32:44.149Z] ---> 70771622eedf [2021-06-25T10:32:44.149Z] Step 18/23 : EXPOSE 59999 [2021-06-25T10:32:44.149Z] ---> Running in 2c660b480d77 [2021-06-25T10:32:44.149Z] Removing intermediate container 2c660b480d77 [2021-06-25T10:32:44.149Z] ---> 4a1acf5e9c36 [2021-06-25T10:32:44.149Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-25T10:32:44.411Z] ---> Running in 12bd411cdf0d [2021-06-25T10:32:44.411Z] Removing intermediate container 12bd411cdf0d [2021-06-25T10:32:44.411Z] ---> 43dc1c363bf8 [2021-06-25T10:32:44.411Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T10:32:44.411Z] ---> Running in 5fb44f8f07d9 [2021-06-25T10:32:44.411Z] Removing intermediate container 5fb44f8f07d9 [2021-06-25T10:32:44.411Z] ---> e40ce3ee8ec2 [2021-06-25T10:32:44.411Z] Step 21/23 : LABEL arch=amd64 [2021-06-25T10:32:44.411Z] ---> Running in ca41b9605ac8 [2021-06-25T10:32:44.673Z] Removing intermediate container ca41b9605ac8 [2021-06-25T10:32:44.673Z] ---> 5d57d39d93d3 [2021-06-25T10:32:44.673Z] Step 22/23 : LABEL git_sha=b6d36fcaa36493536af87454a4d86560364e3a1e [2021-06-25T10:32:44.673Z] ---> Running in ac0c2800d104 [2021-06-25T10:32:44.673Z] Removing intermediate container ac0c2800d104 [2021-06-25T10:32:44.673Z] ---> 83123c3be364 [2021-06-25T10:32:44.673Z] Step 23/23 : LABEL version=0.0.0 [2021-06-25T10:32:44.673Z] ---> Running in a091b3bbd73a [2021-06-25T10:32:44.935Z] Removing intermediate container a091b3bbd73a [2021-06-25T10:32:44.935Z] ---> 4242f4b3a753 [2021-06-25T10:32:44.935Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-25T10:32:44.935Z] Successfully built 4242f4b3a753 [2021-06-25T10:32:44.935Z] 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:32:45.750Z] ---> job-cost.sh [2021-06-25T10:32:45.750Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vGOO [2021-06-25T10:32:50.761Z] ba82ee9f976e: Pull complete [2021-06-25T10:32:51.359Z] 506bd15cee9f: Pull complete [2021-06-25T10:32:51.634Z] 75a0a4a0db45: Pull complete [2021-06-25T10:32:55.817Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T10:32:55.976Z] 618dc40b7e24: Pull complete [2021-06-25T10:32:55.976Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-25T10:32:55.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-25T10:32:55.976Z] ---> a36622ca3599 [2021-06-25T10:32:55.976Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:32:57.433Z] ---> Running in b9de36594f76 [2021-06-25T10:32:57.705Z] Removing intermediate container b9de36594f76 [2021-06-25T10:32:57.705Z] ---> 5f15f49bc211 [2021-06-25T10:32:57.705Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:32:57.979Z] ---> Running in 1a9abda80629 [2021-06-25T10:32:59.960Z] Removing intermediate container 1a9abda80629 [2021-06-25T10:32:59.960Z] ---> f3861296daaf [2021-06-25T10:32:59.960Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T10:33:00.231Z] ---> Running in a757f519c137 [2021-06-25T10:33:01.275Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:33:02.345Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:33:02.940Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-25T10:33:03.213Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-25T10:33:03.213Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-25T10:33:03.213Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-25T10:33:03.484Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-25T10:33:03.484Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-25T10:33:03.484Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T10:33:03.760Z] OK: 139 MiB in 46 packages [2021-06-25T10:33:04.737Z] Removing intermediate container a757f519c137 [2021-06-25T10:33:04.737Z] ---> f7c41fefa923 [2021-06-25T10:33:04.737Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-25T10:33:05.012Z] ---> Running in c4d699e53b8e [2021-06-25T10:33:05.628Z] Removing intermediate container c4d699e53b8e [2021-06-25T10:33:05.628Z] ---> ae0d7e5befca [2021-06-25T10:33:05.628Z] Step 7/8 : COPY . . [2021-06-25T10:33:06.618Z] ---> 3a35b3a33fb5 [2021-06-25T10:33:06.618Z] Step 8/8 : RUN go mod download [2021-06-25T10:33:06.894Z] ---> Running in 85684138aa24 [2021-06-25T10:33:10.893Z] lf-activate-venv(): INFO: Adding /tmp/venv-vGOO/bin to PATH [2021-06-25T10:33:10.893Z] INFO: No Stack... [2021-06-25T10:33:10.893Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T10:33:10.893Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T10:33:11.194Z] + cut -d, -f6 [2021-06-25T10:33:11.194Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2021-06-25T10:33:11.225Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-989-4-stack-cost] [2021-06-25T10:33:11.233Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-989-4-stack-cost] did not exist. Created. [2021-06-25T10:33:11.233Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-989-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T10:33:11.554Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-25T10:33:11.660Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T10:33:11.679Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-989-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-25T10:33:33.760Z] Removing intermediate container 85684138aa24 [2021-06-25T10:33:33.760Z] ---> a7a80689a4dc [2021-06-25T10:33:33.760Z] Successfully built a7a80689a4dc [2021-06-25T10:33:33.760Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:33:34.119Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T10:33:34.119Z] . [Pipeline] withDockerContainer [2021-06-25T10:33:34.560Z] prd-ubuntu18.04-docker-arm64-4c-16g-48 does not seem to be running inside a container [2021-06-25T10:33:34.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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:33:36.252Z] $ docker top fcadf1a8aa00efc02039173bb6d0cd626b3d20008e44f88e7c7f1a9ec4a5a3b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:33:37.309Z] + go version [2021-06-25T10:33:37.309Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-25T10:33:37.306Z] $ docker stop --time=1 fcadf1a8aa00efc02039173bb6d0cd626b3d20008e44f88e7c7f1a9ec4a5a3b1 [2021-06-25T10:33:39.199Z] $ docker rm -f fcadf1a8aa00efc02039173bb6d0cd626b3d20008e44f88e7c7f1a9ec4a5a3b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:33:40.012Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T10:33:40.012Z] . [Pipeline] withDockerContainer [2021-06-25T10:33:40.275Z] prd-ubuntu18.04-docker-arm64-4c-16g-48 does not seem to be running inside a container [2021-06-25T10:33:40.330Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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:33:41.932Z] $ docker top c5c16bcad8a46b8b881f7be3f865e245f56417fe05698919a89f9c44e43a29ab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:33:42.918Z] + go mod tidy [Pipeline] sh [2021-06-25T10:33:44.200Z] + make test [2021-06-25T10:33:44.200Z] go mod tidy [2021-06-25T10:33:44.476Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-25T10:34:06.676Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-25T10:35:14.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-25T10:35:14.763Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-25T10:35:14.763Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-25T10:35:21.524Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.307s coverage: 24.2% of statements [2021-06-25T10:35:21.524Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-25T10:35:21.524Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.246s coverage: 28.1% of statements [2021-06-25T10:35:21.524Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.205s coverage: 78.9% of statements [2021-06-25T10:35:21.524Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.232s coverage: 9.0% of statements [2021-06-25T10:35:21.524Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-25T10:35:21.524Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-25T10:35:21.524Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-25T10:35:22.128Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.265s coverage: 28.7% of statements [2021-06-25T10:35:22.128Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-25T10:35:23.138Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.280s coverage: 83.3% of statements [2021-06-25T10:35:23.138Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-25T10:35:23.138Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-25T10:35:24.140Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.425s coverage: 58.0% of statements [2021-06-25T10:35:28.449Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.001s coverage: 89.2% of statements [2021-06-25T10:35:28.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-25T10:35:28.449Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.187s coverage: 4.9% of statements [2021-06-25T10:35:28.449Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-25T10:35:28.449Z] GO111MODULE=on go vet ./... [2021-06-25T10:36:25.038Z] gofmt -l . [2021-06-25T10:36:25.038Z] [ "`gofmt -l .`" = "" ] [2021-06-25T10:36:25.038Z] ./bin/test-attribution-txt.sh [2021-06-25T10:36:25.038Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-25T10:36:25.033Z] $ docker stop --time=1 c5c16bcad8a46b8b881f7be3f865e245f56417fe05698919a89f9c44e43a29ab [2021-06-25T10:36:27.207Z] $ docker rm -f c5c16bcad8a46b8b881f7be3f865e245f56417fe05698919a89f9c44e43a29ab [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T10:36:28.365Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T10:36:28.397Z] Warning: overwriting stash ‘coverage-report’ [2021-06-25T10:36:29.030Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T10:36:29.577Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T10:36:29.918Z] + ls -al . [2021-06-25T10:36:29.918Z] total 264 [2021-06-25T10:36:29.918Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 10:36 . [2021-06-25T10:36:29.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 10:32 .. [2021-06-25T10:36:29.918Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 10:32 .dockerignore [2021-06-25T10:36:29.918Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 10:32 .git [2021-06-25T10:36:29.918Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 10:32 .github [2021-06-25T10:36:29.918Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 25 10:32 .gitignore [2021-06-25T10:36:29.918Z] -rw-rw-r-- 1 jenkins jenkins 25548 Jun 25 10:32 CHANGELOG.md [2021-06-25T10:36:29.918Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 25 10:32 Dockerfile.build [2021-06-25T10:36:29.918Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 25 10:32 Jenkinsfile [2021-06-25T10:36:29.918Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 25 10:32 LICENSE [2021-06-25T10:36:29.918Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 25 10:32 Makefile [2021-06-25T10:36:29.918Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 25 10:32 README.md [2021-06-25T10:36:29.918Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 10:27 VERSION [2021-06-25T10:36:29.918Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 10:32 bin [2021-06-25T10:36:29.918Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 25 10:35 coverage.out [2021-06-25T10:36:29.918Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 10:32 example [2021-06-25T10:36:29.918Z] -rw-r--r-- 1 jenkins jenkins 548 Jun 25 10:36 go.mod [2021-06-25T10:36:29.918Z] -rw-r--r-- 1 jenkins jenkins 20210 Jun 25 10:33 go.sum [2021-06-25T10:36:29.918Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 25 10:32 internal [2021-06-25T10:36:29.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 10:32 openapi [2021-06-25T10:36:29.918Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 10:32 pkg [2021-06-25T10:36:29.918Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 10:32 snap [2021-06-25T10:36:29.918Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 25 10:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:36:30.264Z] + 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=b6d36fcaa36493536af87454a4d86560364e3a1e --label arch=arm64 --label version=0.0.0 . [2021-06-25T10:36:30.866Z] Sending build context to Docker daemon 2.828MB [2021-06-25T10:36:30.866Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T10:36:30.866Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-25T10:36:30.866Z] ---> a7a80689a4dc [2021-06-25T10:36:30.866Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-25T10:36:31.139Z] ---> Running in 2e9e9bc245af [2021-06-25T10:36:31.735Z] Removing intermediate container 2e9e9bc245af [2021-06-25T10:36:31.735Z] ---> 3e1ef4f2264c [2021-06-25T10:36:31.735Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:36:31.735Z] ---> Running in 1f51282a31f0 [2021-06-25T10:36:32.331Z] Removing intermediate container 1f51282a31f0 [2021-06-25T10:36:32.331Z] ---> 6affe09fb477 [2021-06-25T10:36:32.331Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:36:32.331Z] ---> Running in d5e8fd249b35 [2021-06-25T10:36:34.310Z] Removing intermediate container d5e8fd249b35 [2021-06-25T10:36:34.310Z] ---> 83b433a932fb [2021-06-25T10:36:34.310Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-25T10:36:34.583Z] ---> Running in 183bb2bea7f8 [2021-06-25T10:36:36.023Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:36:37.003Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:36:37.594Z] OK: 139 MiB in 46 packages [2021-06-25T10:36:38.579Z] Removing intermediate container 183bb2bea7f8 [2021-06-25T10:36:38.579Z] ---> a7410a0c7a2d [2021-06-25T10:36:38.579Z] Step 7/23 : COPY . . [2021-06-25T10:36:40.015Z] ---> d689a31b5648 [2021-06-25T10:36:40.015Z] Step 8/23 : RUN go mod download [2021-06-25T10:36:40.015Z] ---> Running in cffaeb817db3 [2021-06-25T10:36:42.647Z] Removing intermediate container cffaeb817db3 [2021-06-25T10:36:42.647Z] ---> 446ee671863f [2021-06-25T10:36:42.647Z] Step 9/23 : RUN make build [2021-06-25T10:36:42.647Z] ---> Running in 8996cb4aef52 [2021-06-25T10:36:43.628Z] go mod tidy [2021-06-25T10:36:44.228Z] 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:37:16.603Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-25T10:37:18.034Z] Removing intermediate container 8996cb4aef52 [2021-06-25T10:37:18.034Z] ---> f922119398cb [2021-06-25T10:37:18.034Z] Step 10/23 : FROM alpine:3.12 [2021-06-25T10:37:18.626Z] 3.12: Pulling from library/alpine [2021-06-25T10:37:18.626Z] d2f70382dc9a: Pulling fs layer [2021-06-25T10:37:18.901Z] d2f70382dc9a: Verifying Checksum [2021-06-25T10:37:18.901Z] d2f70382dc9a: Download complete [2021-06-25T10:37:19.508Z] d2f70382dc9a: Pull complete [2021-06-25T10:37:19.508Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T10:37:19.508Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T10:37:19.508Z] ---> c4fd0aeabfcf [2021-06-25T10:37:19.508Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T10:37:19.790Z] ---> Running in 3bf66f7ba1e0 [2021-06-25T10:37:20.390Z] Removing intermediate container 3bf66f7ba1e0 [2021-06-25T10:37:20.390Z] ---> 3582ba72695f [2021-06-25T10:37:20.390Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T10:37:20.390Z] ---> Running in 8dc608e79492 [2021-06-25T10:37:22.373Z] Removing intermediate container 8dc608e79492 [2021-06-25T10:37:22.373Z] ---> 71425907152e [2021-06-25T10:37:22.373Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-25T10:37:22.646Z] ---> Running in 861204db9b32 [2021-06-25T10:37:23.632Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-25T10:37:24.607Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-25T10:37:25.205Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-25T10:37:25.205Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-25T10:37:25.205Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-25T10:37:25.477Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-25T10:37:25.752Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-25T10:37:25.752Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T10:37:25.752Z] OK: 8 MiB in 19 packages [2021-06-25T10:37:27.198Z] Removing intermediate container 861204db9b32 [2021-06-25T10:37:27.198Z] ---> 9471e512d221 [2021-06-25T10:37:27.198Z] Step 14/23 : WORKDIR / [2021-06-25T10:37:27.198Z] ---> Running in b44a34dc5166 [2021-06-25T10:37:27.801Z] Removing intermediate container b44a34dc5166 [2021-06-25T10:37:27.801Z] ---> 1036f3cae29d [2021-06-25T10:37:27.801Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-25T10:37:28.398Z] ---> a032ef7a6b12 [2021-06-25T10:37:28.398Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-25T10:37:29.917Z] ---> 7fb9971425a1 [2021-06-25T10:37:29.917Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-25T10:37:30.513Z] ---> cb5fdf947f35 [2021-06-25T10:37:30.513Z] Step 18/23 : EXPOSE 59999 [2021-06-25T10:37:30.787Z] ---> Running in 1a2d00ff77aa [2021-06-25T10:37:31.063Z] Removing intermediate container 1a2d00ff77aa [2021-06-25T10:37:31.063Z] ---> 1b3307d3497c [2021-06-25T10:37:31.063Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-25T10:37:31.340Z] ---> Running in ef91d4c3a226 [2021-06-25T10:37:31.940Z] Removing intermediate container ef91d4c3a226 [2021-06-25T10:37:31.940Z] ---> 7a7db133835c [2021-06-25T10:37:31.940Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T10:37:31.940Z] ---> Running in 1dc2fc58d356 [2021-06-25T10:37:32.222Z] Removing intermediate container 1dc2fc58d356 [2021-06-25T10:37:32.222Z] ---> 22b38f45b86a [2021-06-25T10:37:32.222Z] Step 21/23 : LABEL arch=arm64 [2021-06-25T10:37:32.497Z] ---> Running in 0d5c66bb4a12 [2021-06-25T10:37:33.094Z] Removing intermediate container 0d5c66bb4a12 [2021-06-25T10:37:33.094Z] ---> 2844df181b38 [2021-06-25T10:37:33.094Z] Step 22/23 : LABEL git_sha=b6d36fcaa36493536af87454a4d86560364e3a1e [2021-06-25T10:37:33.094Z] ---> Running in 3c64f6284feb [2021-06-25T10:37:33.690Z] Removing intermediate container 3c64f6284feb [2021-06-25T10:37:33.690Z] ---> 92e9e8e95544 [2021-06-25T10:37:33.690Z] Step 23/23 : LABEL version=0.0.0 [2021-06-25T10:37:33.690Z] ---> Running in bbf6c6a36e74 [2021-06-25T10:37:34.285Z] Removing intermediate container bbf6c6a36e74 [2021-06-25T10:37:34.285Z] ---> b1c735f36a23 [2021-06-25T10:37:34.285Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-25T10:37:34.285Z] Successfully built b1c735f36a23 [2021-06-25T10:37:34.285Z] 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:37:35.119Z] ---> job-cost.sh [2021-06-25T10:37:35.119Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pOhy [2021-06-25T10:38:14.103Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T10:39:35.928Z] lf-activate-venv(): INFO: Adding /tmp/venv-pOhy/bin to PATH [2021-06-25T10:39:35.928Z] INFO: No Stack... [2021-06-25T10:39:36.199Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-25T10:39:36.793Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T10:39:37.145Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/4/archives/cost.csv [2021-06-25T10:39:37.145Z] [Pipeline] lock [2021-06-25T10:39:37.206Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-989-4-stack-cost] [2021-06-25T10:39:37.216Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-989-4-stack-cost] did not exist. Created. [2021-06-25T10:39:37.217Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-989-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T10:39:37.591Z] /w/workspace/device-sdk-go/4@tmp/durable-95a36097/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-95a36097/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-25T10:39:37.940Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-25T10:39:37.975Z] Warning: overwriting stash ‘stack-cost’ [2021-06-25T10:39:38.136Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T10:39:38.158Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-989-4-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:39:38.759Z] provisioning config files... [2021-06-25T10:39:38.776Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/config12770813424919332tmp [Pipeline] { [Pipeline] sh [2021-06-25T10:39:39.099Z] + set +x [2021-06-25T10:39:39.100Z] + bash -s -- [2021-06-25T10:39:39.100Z] + curl -s https://codecov.io/bash [2021-06-25T10:39:39.100Z] [2021-06-25T10:39:39.100Z] _____ _ [2021-06-25T10:39:39.100Z] / ____| | | [2021-06-25T10:39:39.100Z] | | ___ __| | ___ ___ _____ __ [2021-06-25T10:39:39.100Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-25T10:39:39.100Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-25T10:39:39.100Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-25T10:39:39.100Z] Bash-1.0.3 [2021-06-25T10:39:39.100Z] [2021-06-25T10:39:39.100Z] [2021-06-25T10:39:39.100Z] ==> git version 2.24.4 found [2021-06-25T10:39:39.100Z] ==> 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:39:39.100Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-25T10:39:39.100Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-25T10:39:39.100Z] ==> Jenkins CI detected. [2021-06-25T10:39:39.362Z] project root: . [2021-06-25T10:39:39.362Z] --> token set from env [2021-06-25T10:39:39.362Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-25T10:39:39.362Z] ==> Running gcov in . (disable via -X gcov) [2021-06-25T10:39:39.362Z] ==> Python coveragepy not found [2021-06-25T10:39:39.362Z] ==> Searching for coverage reports in: [2021-06-25T10:39:39.362Z] + . [2021-06-25T10:39:39.362Z] -> Found 1 reports [2021-06-25T10:39:39.362Z] ==> Detecting git/mercurial file structure [2021-06-25T10:39:39.362Z] ==> Reading reports [2021-06-25T10:39:39.362Z] + ./coverage.out bytes=125634 [2021-06-25T10:39:39.362Z] ==> Appending adjustments [2021-06-25T10:39:39.362Z] https://docs.codecov.io/docs/fixing-reports [2021-06-25T10:39:39.625Z] + Found adjustments [2021-06-25T10:39:39.625Z] ==> Gzipping contents [2021-06-25T10:39:39.625Z] 16K /tmp/codecov.4uaOt6.gz [2021-06-25T10:39:39.625Z] ==> Uploading reports [2021-06-25T10:39:39.625Z] url: https://codecov.io [2021-06-25T10:39:39.625Z] query: branch=PR-989&commit=b6d36fcaa36493536af87454a4d86560364e3a1e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-989%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=989&job=&cmd_args= [2021-06-25T10:39:39.625Z] -> Pinging Codecov [2021-06-25T10:39:39.625Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-989&commit=b6d36fcaa36493536af87454a4d86560364e3a1e&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-989%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=989&job=&cmd_args= [2021-06-25T10:39:40.202Z] -> Uploading to [2021-06-25T10:39:40.202Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-25/7E55EF52A471D76F132DFD9A03CDDE97/b6d36fcaa36493536af87454a4d86560364e3a1e/157aaa8c-d72e-49cf-9708-a6d65814714f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210625%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210625T103939Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e2dd0f1eadbcfef4d7f398ea2e30a50d6699e8074404d89ca63ca07dafdc28e [2021-06-25T10:39:40.202Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-25T10:39:40.202Z] Dload Upload Total Spent Left Speed [2021-06-25T10:39:40.465Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16322 0 0 100 16322 0 29511 --:--:-- --:--:-- --:--:-- 29515 100 16322 0 0 100 16322 0 29502 --:--:-- --:--:-- --:--:-- 29462 [2021-06-25T10:39:40.465Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b6d36fcaa36493536af87454a4d86560364e3a1e [Pipeline] } [2021-06-25T10:39:40.473Z] 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:39:42.491Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:39:43.061Z] ---> package-listing.sh [2021-06-25T10:39:43.061Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-25T10:39:43.061Z] ++ facter osfamily [2021-06-25T10:39:43.327Z] + OS_FAMILY=redhat [2021-06-25T10:39:43.327Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-989 [2021-06-25T10:39:43.327Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-25T10:39:43.327Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-25T10:39:43.327Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-25T10:39:43.327Z] + PACKAGES=/tmp/packages_start.txt [2021-06-25T10:39:43.327Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-989 ']' [2021-06-25T10:39:43.327Z] + PACKAGES=/tmp/packages_end.txt [2021-06-25T10:39:43.327Z] + case "${OS_FAMILY}" in [2021-06-25T10:39:43.327Z] + rpm -qa [2021-06-25T10:39:43.327Z] + sort [2021-06-25T10:39:43.903Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-25T10:39:43.903Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-25T10:39:43.903Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-25T10:39:43.903Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-989 ']' [2021-06-25T10:39:43.903Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-989/archives/ [2021-06-25T10:39:43.903Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-989/archives/ [Pipeline] echo [2021-06-25T10:39:43.921Z] 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-989/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:39:44.211Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:39:44.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:39:44.788Z] [2021-06-25T10:39:44.788Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-25T10:39:45.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:39:45.108Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-25T10:39:45.108Z] df20fa9351a1: Pulling fs layer [2021-06-25T10:39:45.108Z] 36b3adc4ff6f: Pulling fs layer [2021-06-25T10:39:45.108Z] 8ad3a11d3b57: Pulling fs layer [2021-06-25T10:39:45.108Z] 46f8f816bc3b: Pulling fs layer [2021-06-25T10:39:45.108Z] 93b61091891f: Pulling fs layer [2021-06-25T10:39:45.108Z] 93b9cdb0e59b: Pulling fs layer [2021-06-25T10:39:45.108Z] 5e14af77c1be: Pulling fs layer [2021-06-25T10:39:45.108Z] 01666e4c0597: Pulling fs layer [2021-06-25T10:39:45.108Z] aa168da1d23b: Pulling fs layer [2021-06-25T10:39:45.108Z] 46f8f816bc3b: Waiting [2021-06-25T10:39:45.108Z] 93b61091891f: Waiting [2021-06-25T10:39:45.108Z] 93b9cdb0e59b: Waiting [2021-06-25T10:39:45.108Z] 5e14af77c1be: Waiting [2021-06-25T10:39:45.108Z] 01666e4c0597: Waiting [2021-06-25T10:39:45.108Z] aa168da1d23b: Waiting [2021-06-25T10:39:45.108Z] 36b3adc4ff6f: Verifying Checksum [2021-06-25T10:39:45.108Z] 36b3adc4ff6f: Download complete [2021-06-25T10:39:45.108Z] 46f8f816bc3b: Verifying Checksum [2021-06-25T10:39:45.108Z] 46f8f816bc3b: Download complete [2021-06-25T10:39:45.108Z] df20fa9351a1: Verifying Checksum [2021-06-25T10:39:45.108Z] df20fa9351a1: Download complete [2021-06-25T10:39:45.376Z] 93b9cdb0e59b: Verifying Checksum [2021-06-25T10:39:45.376Z] 93b9cdb0e59b: Download complete [2021-06-25T10:39:45.376Z] 93b61091891f: Verifying Checksum [2021-06-25T10:39:45.376Z] 93b61091891f: Download complete [2021-06-25T10:39:45.376Z] 5e14af77c1be: Verifying Checksum [2021-06-25T10:39:45.376Z] 5e14af77c1be: Download complete [2021-06-25T10:39:45.376Z] 01666e4c0597: Verifying Checksum [2021-06-25T10:39:45.376Z] 01666e4c0597: Download complete [2021-06-25T10:39:45.376Z] df20fa9351a1: Pull complete [2021-06-25T10:39:45.651Z] 36b3adc4ff6f: Pull complete [2021-06-25T10:39:45.651Z] 8ad3a11d3b57: Verifying Checksum [2021-06-25T10:39:45.651Z] 8ad3a11d3b57: Download complete [2021-06-25T10:39:46.231Z] 8ad3a11d3b57: Pull complete [2021-06-25T10:39:46.231Z] 46f8f816bc3b: Pull complete [2021-06-25T10:39:46.499Z] 93b61091891f: Pull complete [2021-06-25T10:39:46.764Z] 93b9cdb0e59b: Pull complete [2021-06-25T10:39:46.764Z] 5e14af77c1be: Pull complete [2021-06-25T10:39:47.025Z] 01666e4c0597: Pull complete [2021-06-25T10:39:47.284Z] aa168da1d23b: Verifying Checksum [2021-06-25T10:39:47.284Z] aa168da1d23b: Download complete [2021-06-25T10:39:51.531Z] aa168da1d23b: Pull complete [2021-06-25T10:39:51.531Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-25T10:39:51.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T10:39:51.531Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-25T10:39:51.623Z] prd-centos7-docker-4c-2g-46 does not seem to be running inside a container [2021-06-25T10:39:51.659Z] $ 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-989/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-989 -v /w/workspace/dgexfoundry_device-sdk-go_PR-989:/w/workspace/dgexfoundry_device-sdk-go_PR-989:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-989@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:39:54.097Z] $ docker top 3a227d1f9317b84f4929eea5e1acc2100aee89302b3ccbb7bc5cb677db02a417 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T10:39:54.515Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-25T10:39:54.816Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-25T10:39:55.116Z] + ls /var/log/sa-host [2021-06-25T10:39:55.116Z] + sadf -c /var/log/sa-host/sa05 [2021-06-25T10:39:55.116Z] file_magic: OK [2021-06-25T10:39:55.116Z] HZ: Using current value: 100 [2021-06-25T10:39:55.116Z] file_header: OK [2021-06-25T10:39:55.116Z] 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:39:55.116Z] Statistics: [2021-06-25T10:39:55.116Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T10:39:55.116Z] File successfully converted to sysstat format version 12.2.1 [2021-06-25T10:39:55.116Z] + sadf -c /var/log/sa-host/sa25 [2021-06-25T10:39:55.116Z] file_magic: OK [2021-06-25T10:39:55.116Z] HZ: Using current value: 100 [2021-06-25T10:39:55.116Z] file_header: OK [2021-06-25T10:39:55.116Z] 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:39:55.116Z] Statistics: [2021-06-25T10:39:55.116Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T10:39:55.116Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T10:39:55.910Z] provisioning config files... [2021-06-25T10:39:55.924Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/config2374325699766800550tmp [Pipeline] { [Pipeline] echo [2021-06-25T10:39:55.951Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:39:56.246Z] ---> create-netrc.sh [Pipeline] } [2021-06-25T10:39:56.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:39:56.727Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-25T10:39:56.740Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:39:57.038Z] ---> sudo-logs.sh [2021-06-25T10:39:57.038Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-25T10:39:57.066Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:39:57.374Z] ---> job-cost.sh [2021-06-25T10:39:57.374Z] lf-activate-venv: SKIPPING [2021-06-25T10:39:57.374Z] DEBUG: total: 0.18000000715255737 [2021-06-25T10:39:57.374Z] INFO: Retrieving Stack Cost... [2021-06-25T10:39:58.318Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T10:39:58.578Z] INFO: Archiving Costs [Pipeline] echo [2021-06-25T10:39:58.591Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T10:39:58.887Z] ---> logs-deploy.sh [2021-06-25T10:39:58.887Z] lf-activate-venv: SKIPPING [2021-06-25T10:39:58.887Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-989/4 [2021-06-25T10:39:58.887Z] INFO: archiving workspace using pattern(s): [2021-06-25T10:39:59.838Z] Archives upload complete. [2021-06-25T10:39:59.838Z] INFO: archiving logs to Nexus [2021-06-25T10:40:00.416Z] ---> uname -a: [2021-06-25T10:40:00.416Z] Linux prd-centos7-docker-4c-2g-46.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-06-25T10:40:00.416Z] [2021-06-25T10:40:00.416Z]