Pull request #962 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5+f91460baaab7f197ca117fe0ead63848762b28df (9bc8505f6a2c6f4bff7db12a648ecff6bb4b3057) 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-ssh7760460247837669651.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-ssh1797832953345075232.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 f4a1163c6b2b14014f487cca778b157dcbc6cc6b 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-962/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-962/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9022636804661540622.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f4a1163c6b2b14014f487cca778b157dcbc6cc6b (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f4a1163c6b2b14014f487cca778b157dcbc6cc6b # timeout=10 Commit message: "Merge pull request #339 from ernestojeda/disable-snaps-temp" > 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-ssh8389857047802339404.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-962/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-962/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1640449846894871544.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 ‘prd-centos7-docker-4c-2g-32’ is offline ‘prd-centos7-docker-4c-2g-35’ is offline ‘prd-centos7-docker-4c-2g-43’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-34’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-38’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-48 in /w/workspace/dgexfoundry_device-sdk-go_PR-962 [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-962 # 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-962@tmp/jenkins-gitclient-ssh6980748895274437039.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/jenkins-gitclient-ssh5622498074027579796.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/962/head:refs/remotes/origin/PR-962 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 Merge succeeded, producing 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 Checking out Revision 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 (PR-962) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 # 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-962@tmp/jenkins-gitclient-ssh7165648252571698483.key > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-09T13:18:51.966Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-09T13:18:52.058Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-09T13:18:52.090Z] ========================================================= [2021-06-09T13:18:52.090Z] EdgeX Global Pipelines Version Info [2021-06-09T13:18:52.090Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f654371f5cbd69739ab6647064448fc290223e54 # timeout=10 [2021-06-09T13:18:53.530Z] ------------------- [2021-06-09T13:18:53.530Z] stable info: [2021-06-09T13:18:53.530Z] ------------------- [2021-06-09T13:18:53.530Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-09T13:18:53.530Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T13:18:53.530Z] Message: update stable to v1.0.194 [2021-06-09T13:18:54.105Z] ------------------- [2021-06-09T13:18:54.105Z] experimental info: [2021-06-09T13:18:54.105Z] ------------------- [2021-06-09T13:18:54.105Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-09T13:18:54.105Z] Commit SHA: f4a1163c6b2b14014f487cca778b157dcbc6cc6b [2021-06-09T13:18:54.105Z] Message: update experimental to v1.0.194 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-09T13:18:54.225Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-09T13:18:54.249Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-09T13:18:54.273Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-09T13:18:54.300Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-09T13:18:54.326Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-09T13:18:54.352Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-09T13:18:54.379Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-09T13:18:54.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-09T13:18:54.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-09T13:18:54.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-09T13:18:54.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-09T13:18:54.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-09T13:18:54.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-09T13:18:54.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-09T13:18:54.590Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-09T13:18:54.614Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T13:18:54.639Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T13:18:54.663Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-09T13:18:54.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-09T13:18:54.715Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-09T13:18:54.770Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-09T13:18:54.817Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-09T13:18:54.853Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-09T13:18:54.895Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-09T13:18:54.925Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-09T13:18:54.971Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-09T13:18:54.999Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-962 [Pipeline] echo [2021-06-09T13:18:55.025Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-962 [Pipeline] echo [2021-06-09T13:18:55.052Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-962 [Pipeline] echo [2021-06-09T13:18:55.097Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 [Pipeline] echo [2021-06-09T13:18:55.125Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a98dc5 [Pipeline] echo [2021-06-09T13:18:55.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T13:18:55.247Z] provisioning config files... [2021-06-09T13:18:55.264Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/config3177236691829398588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:18:55.591Z] ---> docker-login.sh [2021-06-09T13:18:55.592Z] nexus3.edgexfoundry.org:10001 [2021-06-09T13:18:55.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:18:55.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:18:55.592Z] Configure a credential helper to remove this warning. See [2021-06-09T13:18:55.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:18:55.592Z] [2021-06-09T13:18:55.592Z] Login Succeeded [2021-06-09T13:18:55.592Z] nexus3.edgexfoundry.org:10002 [2021-06-09T13:18:55.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:18:55.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:18:55.853Z] Configure a credential helper to remove this warning. See [2021-06-09T13:18:55.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:18:55.853Z] [2021-06-09T13:18:55.854Z] Login Succeeded [2021-06-09T13:18:55.854Z] nexus3.edgexfoundry.org:10003 [2021-06-09T13:18:55.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:18:55.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:18:55.854Z] Configure a credential helper to remove this warning. See [2021-06-09T13:18:55.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:18:55.854Z] [2021-06-09T13:18:55.854Z] Login Succeeded [2021-06-09T13:18:55.854Z] nexus3.edgexfoundry.org:10004 [2021-06-09T13:18:56.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:18:56.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:18:56.120Z] Configure a credential helper to remove this warning. See [2021-06-09T13:18:56.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:18:56.120Z] [2021-06-09T13:18:56.120Z] Login Succeeded [2021-06-09T13:18:56.120Z] docker.io [2021-06-09T13:18:56.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:18:56.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:18:56.386Z] Configure a credential helper to remove this warning. See [2021-06-09T13:18:56.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:18:56.386Z] [2021-06-09T13:18:56.386Z] Login Succeeded [2021-06-09T13:18:56.386Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T13:18:56.396Z] 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-09T13:18:57.053Z] + git log --format=format:%s -1 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 [Pipeline] echo [2021-06-09T13:18:57.088Z] GIT_COMMIT: 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-06-09T13:18:57.102Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:18:57.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T13:18:57.710Z] [2021-06-09T13:18:57.710Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:18:58.036Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T13:18:58.036Z] latest: Pulling from edgex-devops/git-semver [2021-06-09T13:18:58.036Z] 31603596830f: Pulling fs layer [2021-06-09T13:18:58.036Z] 54011a49482f: Pulling fs layer [2021-06-09T13:18:58.036Z] a6820b24f6d8: Pulling fs layer [2021-06-09T13:18:58.036Z] f581987b2513: Pulling fs layer [2021-06-09T13:18:58.036Z] f581987b2513: Waiting [2021-06-09T13:18:58.036Z] 54011a49482f: Download complete [2021-06-09T13:18:58.036Z] 31603596830f: Verifying Checksum [2021-06-09T13:18:58.036Z] 31603596830f: Download complete [2021-06-09T13:18:58.303Z] f581987b2513: Verifying Checksum [2021-06-09T13:18:58.303Z] f581987b2513: Download complete [2021-06-09T13:18:58.303Z] a6820b24f6d8: Verifying Checksum [2021-06-09T13:18:58.303Z] a6820b24f6d8: Download complete [2021-06-09T13:18:58.303Z] 31603596830f: Pull complete [2021-06-09T13:18:58.566Z] 54011a49482f: Pull complete [2021-06-09T13:18:59.142Z] a6820b24f6d8: Pull complete [2021-06-09T13:18:59.142Z] f581987b2513: Pull complete [2021-06-09T13:18:59.142Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-09T13:18:59.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-09T13:18:59.142Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-09T13:18:59.226Z] prd-centos7-docker-4c-2g-48 does not seem to be running inside a container [2021-06-09T13:18:59.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-962 -v /w/workspace/dgexfoundry_device-sdk-go_PR-962:/w/workspace/dgexfoundry_device-sdk-go_PR-962:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-09T13:19:00.147Z] $ docker top dc40862321ebaf9860414806b76af49ef68b5d052756c5a677359342e6c97b81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-09T13:19:00.275Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T13:19:00.276Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T13:19:00.386Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T13:19:00.385Z] $ docker exec dc40862321ebaf9860414806b76af49ef68b5d052756c5a677359342e6c97b81 ssh-agent [2021-06-09T13:19:00.496Z] SSH_AUTH_SOCK=/tmp/ssh-NwIeCYdnnaHy/agent.15 [2021-06-09T13:19:00.496Z] SSH_AGENT_PID=21 [2021-06-09T13:19:00.504Z] Running ssh-add (command line suppressed) [2021-06-09T13:19:00.604Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/private_key_8517528570819525353.key (/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/private_key_8517528570819525353.key) [2021-06-09T13:19:00.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T13:19:00.928Z] + git tag --points-at HEAD [Pipeline] } [2021-06-09T13:19:00.939Z] $ docker exec --env ******** --env ******** dc40862321ebaf9860414806b76af49ef68b5d052756c5a677359342e6c97b81 ssh-agent -k [2021-06-09T13:19:01.043Z] unset SSH_AUTH_SOCK; [2021-06-09T13:19:01.044Z] unset SSH_AGENT_PID; [2021-06-09T13:19:01.044Z] echo Agent pid 21 killed; [2021-06-09T13:19:01.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-09T13:19:01.106Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-09T13:19:01.106Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-09T13:19:01.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-09T13:19:01.236Z] $ docker exec dc40862321ebaf9860414806b76af49ef68b5d052756c5a677359342e6c97b81 ssh-agent [2021-06-09T13:19:01.358Z] SSH_AUTH_SOCK=/tmp/ssh-dihaoUsN7laG/agent.54 [2021-06-09T13:19:01.358Z] SSH_AGENT_PID=60 [2021-06-09T13:19:01.365Z] Running ssh-add (command line suppressed) [2021-06-09T13:19:01.462Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/private_key_300500945017460938.key (/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/private_key_300500945017460938.key) [2021-06-09T13:19:01.497Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-09T13:19:01.809Z] + git semver init [2021-06-09T13:19:01.809Z] # -> Open(): unable to determine branch for HEAD [2021-06-09T13:19:01.809Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-962/.git [2021-06-09T13:19:01.809Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-962 [2021-06-09T13:19:01.809Z] # $SEMVER_REMOTE_NAME = origin [2021-06-09T13:19:01.809Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-09T13:19:01.809Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-09T13:19:01.809Z] # $SEMVER_BRANCH = PR-962 [2021-06-09T13:19:01.809Z] # $SEMVER_TEMP = /tmp/semver-221095813 [2021-06-09T13:19:01.809Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-09T13:19:03.763Z] # '/tmp/semver-221095813' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-962/.semver' [2021-06-09T13:19:03.764Z] # -> Force: false [2021-06-09T13:19:03.764Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-962/.semver [Pipeline] } [2021-06-09T13:19:03.776Z] $ docker exec --env ******** --env ******** dc40862321ebaf9860414806b76af49ef68b5d052756c5a677359342e6c97b81 ssh-agent -k [2021-06-09T13:19:03.866Z] unset SSH_AUTH_SOCK; [2021-06-09T13:19:03.867Z] unset SSH_AGENT_PID; [2021-06-09T13:19:03.867Z] echo Agent pid 60 killed; [2021-06-09T13:19:03.893Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-09T13:19:04.270Z] + git semver [Pipeline] } [2021-06-09T13:19:04.282Z] $ docker stop --time=1 dc40862321ebaf9860414806b76af49ef68b5d052756c5a677359342e6c97b81 [2021-06-09T13:19:05.554Z] $ docker rm -f dc40862321ebaf9860414806b76af49ef68b5d052756c5a677359342e6c97b81 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T13:19:05.950Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-09T13:19:06.255Z] Stashed 1 file(s) [Pipeline] echo [2021-06-09T13:19:06.260Z] [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-09T13:19:21.579Z] Still waiting to schedule task [2021-06-09T13:19:21.580Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-09T13:19:21.585Z] Still waiting to schedule task [2021-06-09T13:19:21.586Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-41’ is offline [2021-06-09T13:22:13.818Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-52 in /w/workspace/dgexfoundry_device-sdk-go_PR-962 [Pipeline] { [Pipeline] ws [2021-06-09T13:22:13.836Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-09T13:22:14.039Z] Selected Git installation does not exist. Using Default [2021-06-09T13:22:14.039Z] The recommended git tool is: NONE [2021-06-09T13:22:19.338Z] using credential edgex-jenkins-ssh [2021-06-09T13:22:19.356Z] Cloning the remote Git repository [2021-06-09T13:22:19.455Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:22:19.610Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-09T13:22:19.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:22:19.696Z] > git --version # timeout=10 [2021-06-09T13:22:19.711Z] > git --version # 'git version 2.17.1' [2021-06-09T13:22:19.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:22:19.795Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T13:22:21.038Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T13:22:21.062Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T13:22:21.091Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T13:22:21.126Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:22:21.127Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:22:21.138Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/962/head:refs/remotes/origin/PR-962 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T13:22:21.649Z] Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 [2021-06-09T13:22:21.858Z] Merge succeeded, producing 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 [2021-06-09T13:22:21.859Z] Checking out Revision 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 (PR-962) [2021-06-09T13:22:21.665Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T13:22:21.682Z] > git checkout -f 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 # timeout=10 [2021-06-09T13:22:21.775Z] > git remote # timeout=10 [2021-06-09T13:22:21.795Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T13:22:21.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:22:21.825Z] > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 [2021-06-09T13:22:21.843Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T13:22:21.863Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T13:22:21.873Z] > git checkout -f 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 # timeout=10 [2021-06-09T13:22:26.100Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T13:22:27.305Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-09T13:22:27.717Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-09T13:22:28.059Z] + sudo service docker restart [2021-06-09T13:22:28.059Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T13:22:46.392Z] provisioning config files... [2021-06-09T13:22:46.419Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8684219818100474587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:22:46.793Z] ---> docker-login.sh [2021-06-09T13:22:46.793Z] nexus3.edgexfoundry.org:10001 [2021-06-09T13:22:47.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:22:48.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:22:48.051Z] Configure a credential helper to remove this warning. See [2021-06-09T13:22:48.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:22:48.051Z] [2021-06-09T13:22:48.051Z] Login Succeeded [2021-06-09T13:22:48.051Z] nexus3.edgexfoundry.org:10002 [2021-06-09T13:22:48.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:22:48.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:22:48.600Z] Configure a credential helper to remove this warning. See [2021-06-09T13:22:48.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:22:48.600Z] [2021-06-09T13:22:48.600Z] Login Succeeded [2021-06-09T13:22:48.600Z] nexus3.edgexfoundry.org:10003 [2021-06-09T13:22:49.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:22:49.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:22:49.203Z] Configure a credential helper to remove this warning. See [2021-06-09T13:22:49.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:22:49.203Z] [2021-06-09T13:22:49.203Z] Login Succeeded [2021-06-09T13:22:49.203Z] nexus3.edgexfoundry.org:10004 [2021-06-09T13:22:49.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:22:49.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:22:49.800Z] Configure a credential helper to remove this warning. See [2021-06-09T13:22:49.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:22:49.800Z] [2021-06-09T13:22:49.801Z] Login Succeeded [2021-06-09T13:22:49.801Z] docker.io [2021-06-09T13:22:50.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:22:50.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:22:50.674Z] Configure a credential helper to remove this warning. See [2021-06-09T13:22:50.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:22:50.674Z] [2021-06-09T13:22:50.674Z] Login Succeeded [2021-06-09T13:22:50.674Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T13:22:50.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T13:22:51.065Z] ========================================================= [2021-06-09T13:22:51.065Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-09T13:22:51.065Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:22:51.414Z] + 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-09T13:22:51.687Z] Sending build context to Docker daemon 2.643MB [2021-06-09T13:22:52.011Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T13:22:52.011Z] Step 2/8 : FROM ${BASE} [2021-06-09T13:22:52.286Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-09T13:22:52.286Z] 595b0fe564bb: Pulling fs layer [2021-06-09T13:22:52.286Z] 7186ed65a4f7: Pulling fs layer [2021-06-09T13:22:52.286Z] 316046926c0a: Pulling fs layer [2021-06-09T13:22:52.286Z] 4ebd0625c992: Pulling fs layer [2021-06-09T13:22:52.286Z] 207e8628e3a3: Pulling fs layer [2021-06-09T13:22:52.286Z] c791037a9be2: Pulling fs layer [2021-06-09T13:22:52.286Z] ffd874e62e21: Pulling fs layer [2021-06-09T13:22:52.286Z] 4ebd0625c992: Waiting [2021-06-09T13:22:52.286Z] 207e8628e3a3: Waiting [2021-06-09T13:22:52.286Z] c791037a9be2: Waiting [2021-06-09T13:22:52.286Z] ffd874e62e21: Waiting [2021-06-09T13:22:52.286Z] 316046926c0a: Verifying Checksum [2021-06-09T13:22:52.286Z] 316046926c0a: Download complete [2021-06-09T13:22:52.286Z] 7186ed65a4f7: Verifying Checksum [2021-06-09T13:22:52.286Z] 7186ed65a4f7: Download complete [2021-06-09T13:22:52.286Z] 207e8628e3a3: Verifying Checksum [2021-06-09T13:22:52.286Z] 207e8628e3a3: Download complete [2021-06-09T13:22:52.286Z] c791037a9be2: Verifying Checksum [2021-06-09T13:22:52.286Z] c791037a9be2: Download complete [2021-06-09T13:22:52.286Z] 595b0fe564bb: Verifying Checksum [2021-06-09T13:22:52.286Z] 595b0fe564bb: Download complete [2021-06-09T13:22:53.262Z] 595b0fe564bb: Pull complete [2021-06-09T13:22:53.548Z] 7186ed65a4f7: Pull complete [2021-06-09T13:22:54.178Z] 316046926c0a: Pull complete [2021-06-09T13:22:55.193Z] ffd874e62e21: Download complete [2021-06-09T13:22:56.626Z] 4ebd0625c992: Verifying Checksum [2021-06-09T13:22:56.626Z] 4ebd0625c992: Download complete [2021-06-09T13:23:06.786Z] 4ebd0625c992: Pull complete [2021-06-09T13:23:07.059Z] 207e8628e3a3: Pull complete [2021-06-09T13:23:07.656Z] c791037a9be2: Pull complete [2021-06-09T13:23:11.979Z] ffd874e62e21: Pull complete [2021-06-09T13:23:11.979Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-06-09T13:23:11.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-09T13:23:11.979Z] ---> cfc18b08335c [2021-06-09T13:23:11.979Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:23:13.419Z] ---> Running in cb9bd5c56028 [2021-06-09T13:23:14.013Z] Removing intermediate container cb9bd5c56028 [2021-06-09T13:23:14.013Z] ---> 74d922a376a0 [2021-06-09T13:23:14.013Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:23:14.286Z] ---> Running in 89994811566a [2021-06-09T13:23:16.915Z] Removing intermediate container 89994811566a [2021-06-09T13:23:16.915Z] ---> 8be3ab600fc3 [2021-06-09T13:23:16.915Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T13:23:16.915Z] ---> Running in a08bd490331e [2021-06-09T13:23:17.895Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T13:23:18.869Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T13:23:19.884Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T13:23:19.884Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T13:23:19.884Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T13:23:20.155Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T13:23:20.155Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T13:23:20.155Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T13:23:20.430Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T13:23:20.430Z] OK: 139 MiB in 46 packages [2021-06-09T13:23:21.865Z] Removing intermediate container a08bd490331e [2021-06-09T13:23:21.865Z] ---> 4831f7756a8b [2021-06-09T13:23:21.865Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T13:23:21.865Z] ---> Running in d8d2a37764dd [2021-06-09T13:23:22.463Z] Removing intermediate container d8d2a37764dd [2021-06-09T13:23:22.463Z] ---> 86f219980588 [2021-06-09T13:23:22.463Z] Step 7/8 : COPY . . [2021-06-09T13:23:23.905Z] ---> a20831f62c3a [2021-06-09T13:23:23.905Z] Step 8/8 : RUN go mod download [2021-06-09T13:23:23.905Z] ---> Running in ab7dd2b6c66c [2021-06-09T13:23:49.907Z] Running on prd-centos7-docker-4c-2g-54 in /w/workspace/dgexfoundry_device-sdk-go_PR-962 [Pipeline] { [Pipeline] ws [2021-06-09T13:23:49.934Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-06-09T13:23:50.038Z] Selected Git installation does not exist. Using Default [2021-06-09T13:23:50.038Z] The recommended git tool is: NONE [2021-06-09T13:23:50.727Z] Removing intermediate container ab7dd2b6c66c [2021-06-09T13:23:50.727Z] ---> 8390e08d9485 [2021-06-09T13:23:50.727Z] Successfully built 8390e08d9485 [2021-06-09T13:23:50.727Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:23:51.072Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T13:23:51.072Z] . [Pipeline] withDockerContainer [2021-06-09T13:23:51.311Z] prd-ubuntu18.04-docker-arm64-4c-16g-52 does not seem to be running inside a container [2021-06-09T13:23:51.396Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-09T13:23:52.337Z] using credential edgex-jenkins-ssh [2021-06-09T13:23:52.353Z] Cloning the remote Git repository [2021-06-09T13:23:52.892Z] $ docker top 682bc28f0b0ad4fa17e81911d3219cbce39bde97cc54e58ae1627a06ed8c9639 -eo pid,comm [Pipeline] { [2021-06-09T13:23:52.210Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:23:52.285Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-06-09T13:23:52.311Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:23:52.311Z] > git --version # timeout=10 [2021-06-09T13:23:52.316Z] > git --version # 'git version 2.24.4' [2021-06-09T13:23:52.317Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:23:52.343Z] [INFO] Currently running in a labeled security context [2021-06-09T13:23:52.344Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T13:23:52.344Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh1878120752505538176.key [2021-06-09T13:23:52.388Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] sh [2021-06-09T13:23:53.732Z] Merging remotes/origin/master commit f91460baaab7f197ca117fe0ead63848762b28df into PR head commit 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 [2021-06-09T13:23:53.835Z] Merge succeeded, producing 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 [2021-06-09T13:23:53.836Z] Checking out Revision 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 (PR-962) [2021-06-09T13:23:53.864Z] + go version [2021-06-09T13:23:53.865Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-06-09T13:23:53.891Z] $ docker stop --time=1 682bc28f0b0ad4fa17e81911d3219cbce39bde97cc54e58ae1627a06ed8c9639 [2021-06-09T13:23:53.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T13:23:53.203Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-09T13:23:53.220Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-09T13:23:53.241Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-09T13:23:53.241Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:23:53.243Z] [INFO] Currently running in a labeled security context [2021-06-09T13:23:53.243Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T13:23:53.243Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh8983805703642707558.key [2021-06-09T13:23:53.248Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/962/head:refs/remotes/origin/PR-962 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-09T13:23:53.686Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T13:23:53.694Z] > git checkout -f 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 # timeout=10 [2021-06-09T13:23:53.733Z] > git remote # timeout=10 [2021-06-09T13:23:53.741Z] > git config --get remote.origin.url # timeout=10 [2021-06-09T13:23:53.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-09T13:23:53.750Z] [INFO] Currently running in a labeled security context [2021-06-09T13:23:53.751Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-09T13:23:53.751Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh136068100188884231.key [2021-06-09T13:23:53.762Z] > git merge f91460baaab7f197ca117fe0ead63848762b28df # timeout=10 [2021-06-09T13:23:53.779Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-09T13:23:53.792Z] > git config core.sparsecheckout # timeout=10 [2021-06-09T13:23:53.803Z] > git checkout -f 5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 # timeout=10 [2021-06-09T13:23:55.709Z] $ docker rm -f 682bc28f0b0ad4fa17e81911d3219cbce39bde97cc54e58ae1627a06ed8c9639 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:23:56.476Z] + docker inspect -f . ci-base-image-arm64 [2021-06-09T13:23:56.477Z] . [Pipeline] withDockerContainer [2021-06-09T13:23:56.701Z] prd-ubuntu18.04-docker-arm64-4c-16g-52 does not seem to be running inside a container [2021-06-09T13:23:56.784Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-09T13:23:57.480Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-09T13:23:58.433Z] $ docker top babc123210a7541121a50cbdad273a3f54704208f8a30ba3e937bdd4f9476837 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T13:23:59.412Z] + go mod tidy [2021-06-09T13:23:59.468Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-09T13:23:59.897Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh [2021-06-09T13:24:00.206Z] + true [2021-06-09T13:24:00.206Z] + sudo service docker restart [2021-06-09T13:24:00.206Z] Redirecting to /bin/systemctl restart docker.service [2021-06-09T13:24:00.671Z] + make test [2021-06-09T13:24:00.671Z] go mod tidy [2021-06-09T13:24:01.277Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T13:24:18.404Z] provisioning config files... [2021-06-09T13:24:18.423Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config425266927192732661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:24:18.756Z] ---> docker-login.sh [2021-06-09T13:24:18.756Z] nexus3.edgexfoundry.org:10001 [2021-06-09T13:24:19.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:24:19.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:24:19.330Z] Configure a credential helper to remove this warning. See [2021-06-09T13:24:19.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:24:19.330Z] [2021-06-09T13:24:19.330Z] Login Succeeded [2021-06-09T13:24:19.330Z] nexus3.edgexfoundry.org:10002 [2021-06-09T13:24:19.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:24:19.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:24:19.595Z] Configure a credential helper to remove this warning. See [2021-06-09T13:24:19.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:24:19.595Z] [2021-06-09T13:24:19.595Z] Login Succeeded [2021-06-09T13:24:19.595Z] nexus3.edgexfoundry.org:10003 [2021-06-09T13:24:19.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:24:19.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:24:19.595Z] Configure a credential helper to remove this warning. See [2021-06-09T13:24:19.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:24:19.595Z] [2021-06-09T13:24:19.595Z] Login Succeeded [2021-06-09T13:24:19.595Z] nexus3.edgexfoundry.org:10004 [2021-06-09T13:24:19.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:24:19.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:24:19.857Z] Configure a credential helper to remove this warning. See [2021-06-09T13:24:19.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:24:19.857Z] [2021-06-09T13:24:19.857Z] Login Succeeded [2021-06-09T13:24:19.857Z] docker.io [2021-06-09T13:24:19.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-09T13:24:20.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-09T13:24:20.118Z] Configure a credential helper to remove this warning. See [2021-06-09T13:24:20.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-09T13:24:20.118Z] [2021-06-09T13:24:20.118Z] Login Succeeded [2021-06-09T13:24:20.118Z] ---> docker-login.sh ends [Pipeline] } [2021-06-09T13:24:20.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-09T13:24:20.350Z] ========================================================= [2021-06-09T13:24:20.350Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-09T13:24:20.350Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:24:20.667Z] + 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-09T13:24:20.667Z] Sending build context to Docker daemon 2.648MB [2021-06-09T13:24:20.667Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T13:24:20.667Z] Step 2/8 : FROM ${BASE} [2021-06-09T13:24:20.933Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-09T13:24:20.933Z] 540db60ca938: Pulling fs layer [2021-06-09T13:24:20.933Z] adcc1eea9eea: Pulling fs layer [2021-06-09T13:24:20.933Z] 4c4ab2625f07: Pulling fs layer [2021-06-09T13:24:20.933Z] 0510c868ecb4: Pulling fs layer [2021-06-09T13:24:20.933Z] afea3b2eda06: Pulling fs layer [2021-06-09T13:24:20.933Z] 7809a108b3ef: Pulling fs layer [2021-06-09T13:24:20.933Z] f706445af74f: Pulling fs layer [2021-06-09T13:24:20.933Z] afea3b2eda06: Waiting [2021-06-09T13:24:20.933Z] 7809a108b3ef: Waiting [2021-06-09T13:24:20.933Z] f706445af74f: Waiting [2021-06-09T13:24:20.933Z] 0510c868ecb4: Waiting [2021-06-09T13:24:20.933Z] 4c4ab2625f07: Verifying Checksum [2021-06-09T13:24:20.933Z] 4c4ab2625f07: Download complete [2021-06-09T13:24:20.933Z] adcc1eea9eea: Download complete [2021-06-09T13:24:20.933Z] afea3b2eda06: Verifying Checksum [2021-06-09T13:24:20.933Z] afea3b2eda06: Download complete [2021-06-09T13:24:20.933Z] 540db60ca938: Verifying Checksum [2021-06-09T13:24:20.933Z] 540db60ca938: Download complete [2021-06-09T13:24:20.933Z] 7809a108b3ef: Verifying Checksum [2021-06-09T13:24:20.933Z] 7809a108b3ef: Download complete [2021-06-09T13:24:21.195Z] 540db60ca938: Pull complete [2021-06-09T13:24:21.195Z] adcc1eea9eea: Pull complete [2021-06-09T13:24:21.456Z] 4c4ab2625f07: Pull complete [2021-06-09T13:24:22.851Z] f706445af74f: Verifying Checksum [2021-06-09T13:24:22.851Z] f706445af74f: Download complete [2021-06-09T13:24:23.427Z] 0510c868ecb4: Verifying Checksum [2021-06-09T13:24:23.427Z] 0510c868ecb4: Download complete [2021-06-09T13:24:23.498Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T13:24:26.763Z] 0510c868ecb4: Pull complete [2021-06-09T13:24:26.763Z] afea3b2eda06: Pull complete [2021-06-09T13:24:26.763Z] 7809a108b3ef: Pull complete [2021-06-09T13:24:28.155Z] f706445af74f: Pull complete [2021-06-09T13:24:28.155Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-09T13:24:28.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-09T13:24:28.155Z] ---> b068be0155e3 [2021-06-09T13:24:28.155Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:24:32.368Z] ---> Running in a6671e2b4b7b [2021-06-09T13:24:32.368Z] Removing intermediate container a6671e2b4b7b [2021-06-09T13:24:32.368Z] ---> 6168b673a36d [2021-06-09T13:24:32.368Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:24:32.368Z] ---> Running in 0880d53cc8f0 [2021-06-09T13:24:32.945Z] Removing intermediate container 0880d53cc8f0 [2021-06-09T13:24:32.945Z] ---> ceb660175bc6 [2021-06-09T13:24:32.945Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-09T13:24:32.945Z] ---> Running in 4231a0d3a02c [2021-06-09T13:24:33.206Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T13:24:33.779Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T13:24:34.352Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-09T13:24:34.352Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-09T13:24:34.352Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-09T13:24:34.614Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-09T13:24:34.614Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-09T13:24:34.878Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-09T13:24:34.878Z] Executing busybox-1.32.1-r6.trigger [2021-06-09T13:24:34.878Z] OK: 150 MiB in 46 packages [2021-06-09T13:24:35.141Z] Removing intermediate container 4231a0d3a02c [2021-06-09T13:24:35.142Z] ---> cd859d895afb [2021-06-09T13:24:35.142Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-09T13:24:35.142Z] ---> Running in 61720d6e4f6b [2021-06-09T13:24:35.403Z] Removing intermediate container 61720d6e4f6b [2021-06-09T13:24:35.403Z] ---> 1ae1d16ee9b1 [2021-06-09T13:24:35.403Z] Step 7/8 : COPY . . [2021-06-09T13:24:35.665Z] ---> e459c26ce6f4 [2021-06-09T13:24:35.665Z] Step 8/8 : RUN go mod download [2021-06-09T13:24:35.665Z] ---> Running in f5d84211ac22 [2021-06-09T13:24:47.955Z] Removing intermediate container f5d84211ac22 [2021-06-09T13:24:47.955Z] ---> f6de960a7a69 [2021-06-09T13:24:47.955Z] Successfully built f6de960a7a69 [2021-06-09T13:24:47.955Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:24:48.274Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T13:24:48.274Z] . [Pipeline] withDockerContainer [2021-06-09T13:24:48.357Z] prd-centos7-docker-4c-2g-54 does not seem to be running inside a container [2021-06-09T13:24:48.396Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-09T13:24:48.730Z] $ docker top 88b818c13d72140f2a743c6f22dbfffd34bd834e88cba8a867593e2f9aa58093 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T13:24:49.150Z] + go version [2021-06-09T13:24:49.150Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-09T13:24:49.158Z] $ docker stop --time=1 88b818c13d72140f2a743c6f22dbfffd34bd834e88cba8a867593e2f9aa58093 [2021-06-09T13:24:50.326Z] $ docker rm -f 88b818c13d72140f2a743c6f22dbfffd34bd834e88cba8a867593e2f9aa58093 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:24:50.952Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-09T13:24:50.952Z] . [Pipeline] withDockerContainer [2021-06-09T13:24:51.037Z] prd-centos7-docker-4c-2g-54 does not seem to be running inside a container [2021-06-09T13:24:51.071Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-09T13:24:51.466Z] $ docker top 47f3b5bf49ea7d814e71a6c66a3f6a4f17ded04372ad98a8636effee5ecc41de -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T13:24:51.906Z] + go mod tidy [Pipeline] sh [2021-06-09T13:24:52.479Z] + make test [2021-06-09T13:24:52.479Z] go mod tidy [2021-06-09T13:24:52.479Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-09T13:24:57.806Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-09T13:25:19.843Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T13:25:19.843Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T13:25:19.843Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T13:25:22.412Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.051s coverage: 25.4% of statements [2021-06-09T13:25:22.412Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T13:25:22.412Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 28.1% of statements [2021-06-09T13:25:22.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements [2021-06-09T13:25:22.689Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements [2021-06-09T13:25:22.689Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T13:25:22.689Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T13:25:22.689Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T13:25:23.827Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 29.2% of statements [2021-06-09T13:25:23.827Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T13:25:24.597Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.047s coverage: 83.3% of statements [2021-06-09T13:25:24.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T13:25:24.597Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T13:25:24.597Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 58.0% of statements [2021-06-09T13:25:26.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.818s coverage: 89.2% of statements [2021-06-09T13:25:26.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T13:25:26.104Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 5.0% of statements [2021-06-09T13:25:26.104Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T13:25:26.104Z] GO111MODULE=on go vet ./... [2021-06-09T13:25:31.594Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-09T13:25:31.594Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-09T13:25:31.594Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-09T13:25:39.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.269s coverage: 25.4% of statements [2021-06-09T13:25:39.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-09T13:25:39.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.248s coverage: 28.1% of statements [2021-06-09T13:25:39.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.268s coverage: 78.9% of statements [2021-06-09T13:25:39.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.176s coverage: 9.0% of statements [2021-06-09T13:25:39.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-09T13:25:39.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-09T13:25:39.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-09T13:25:39.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.311s coverage: 29.2% of statements [2021-06-09T13:25:39.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-09T13:25:40.527Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.238s coverage: 83.3% of statements [2021-06-09T13:25:40.527Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-09T13:25:40.527Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-09T13:25:42.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.457s coverage: 58.0% of statements [2021-06-09T13:25:44.400Z] gofmt -l . [2021-06-09T13:25:44.400Z] [ "`gofmt -l .`" = "" ] [2021-06-09T13:25:44.400Z] ./bin/test-attribution-txt.sh [2021-06-09T13:25:44.400Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T13:25:44.412Z] $ docker stop --time=1 47f3b5bf49ea7d814e71a6c66a3f6a4f17ded04372ad98a8636effee5ecc41de [2021-06-09T13:25:45.205Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.131s coverage: 89.2% of statements [2021-06-09T13:25:45.205Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-09T13:25:45.205Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.183s coverage: 5.0% of statements [2021-06-09T13:25:45.205Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-09T13:25:45.502Z] GO111MODULE=on go vet ./... [2021-06-09T13:25:46.287Z] $ docker rm -f 47f3b5bf49ea7d814e71a6c66a3f6a4f17ded04372ad98a8636effee5ecc41de [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T13:25:46.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T13:25:47.053Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-09T13:25:48.244Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T13:25:48.548Z] + ls -al . [2021-06-09T13:25:48.548Z] total 212 [2021-06-09T13:25:48.548Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 9 13:25 . [2021-06-09T13:25:48.548Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 9 13:23 .. [2021-06-09T13:25:48.548Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 9 13:23 bin [2021-06-09T13:25:48.548Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 9 13:25 coverage.out [2021-06-09T13:25:48.548Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 9 13:23 Dockerfile.build [2021-06-09T13:25:48.548Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 9 13:23 .dockerignore [2021-06-09T13:25:48.548Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 9 13:23 example [2021-06-09T13:25:48.548Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 9 13:23 .git [2021-06-09T13:25:48.548Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 9 13:23 .github [2021-06-09T13:25:48.548Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 9 13:23 .gitignore [2021-06-09T13:25:48.548Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 9 13:25 go.mod [2021-06-09T13:25:48.548Z] -rw-r--r--. 1 jenkins jenkins 20590 Jun 9 13:24 go.sum [2021-06-09T13:25:48.548Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 9 13:23 internal [2021-06-09T13:25:48.548Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 9 13:23 Jenkinsfile [2021-06-09T13:25:48.548Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 9 13:23 LICENSE [2021-06-09T13:25:48.548Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 9 13:23 Makefile [2021-06-09T13:25:48.548Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 9 13:23 openapi [2021-06-09T13:25:48.548Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 9 13:23 pkg [2021-06-09T13:25:48.548Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 9 13:23 README.md [2021-06-09T13:25:48.548Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 9 13:23 RELEASE-NOTES.txt [2021-06-09T13:25:48.548Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 9 13:23 snap [2021-06-09T13:25:48.548Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 9 13:19 VERSION [2021-06-09T13:25:48.548Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 9 13:23 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:25:48.858Z] + 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=5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 --label arch=amd64 --label version=0.0.0 . [2021-06-09T13:25:48.858Z] Sending build context to Docker daemon 2.775MB [2021-06-09T13:25:48.858Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T13:25:48.858Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T13:25:48.858Z] ---> f6de960a7a69 [2021-06-09T13:25:48.858Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T13:25:48.858Z] ---> Running in 2562694e9bc0 [2021-06-09T13:25:49.123Z] Removing intermediate container 2562694e9bc0 [2021-06-09T13:25:49.123Z] ---> f5d873132693 [2021-06-09T13:25:49.123Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:25:49.123Z] ---> Running in 331b5ec8fbc0 [2021-06-09T13:25:49.123Z] Removing intermediate container 331b5ec8fbc0 [2021-06-09T13:25:49.123Z] ---> 6876a0142a2d [2021-06-09T13:25:49.123Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:25:49.123Z] ---> Running in 0ec21a200932 [2021-06-09T13:25:49.710Z] Removing intermediate container 0ec21a200932 [2021-06-09T13:25:49.710Z] ---> 71d70e3ee988 [2021-06-09T13:25:49.710Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T13:25:49.710Z] ---> Running in 0d4d31d4ab0d [2021-06-09T13:25:49.972Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-09T13:25:50.917Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-09T13:25:51.182Z] OK: 150 MiB in 46 packages [2021-06-09T13:25:51.444Z] Removing intermediate container 0d4d31d4ab0d [2021-06-09T13:25:51.444Z] ---> 64f6b40baa23 [2021-06-09T13:25:51.444Z] Step 7/23 : COPY . . [2021-06-09T13:25:51.708Z] ---> d32fb76b9d92 [2021-06-09T13:25:51.708Z] Step 8/23 : RUN go mod download [2021-06-09T13:25:51.708Z] ---> Running in 2eb54223a401 [2021-06-09T13:25:52.319Z] Removing intermediate container 2eb54223a401 [2021-06-09T13:25:52.319Z] ---> 96103a45237c [2021-06-09T13:25:52.319Z] Step 9/23 : RUN make build [2021-06-09T13:25:52.319Z] ---> Running in 9492d5a0e460 [2021-06-09T13:25:52.581Z] go mod tidy [2021-06-09T13:25:52.581Z] 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-09T13:26:02.633Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T13:26:04.022Z] Removing intermediate container 9492d5a0e460 [2021-06-09T13:26:04.022Z] ---> 6ed7a18f9ec8 [2021-06-09T13:26:04.022Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T13:26:04.592Z] 3.12: Pulling from library/alpine [2021-06-09T13:26:04.592Z] 339de151aab4: Pulling fs layer [2021-06-09T13:26:04.858Z] 339de151aab4: Verifying Checksum [2021-06-09T13:26:04.858Z] 339de151aab4: Download complete [2021-06-09T13:26:05.128Z] 339de151aab4: Pull complete [2021-06-09T13:26:05.128Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T13:26:05.128Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T13:26:05.128Z] ---> 13621d1b12d4 [2021-06-09T13:26:05.128Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:26:05.128Z] ---> Running in f670960c40a8 [2021-06-09T13:26:05.128Z] Removing intermediate container f670960c40a8 [2021-06-09T13:26:05.128Z] ---> 61b8bf028057 [2021-06-09T13:26:05.128Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:26:05.128Z] ---> Running in 72bbec39874b [2021-06-09T13:26:05.748Z] Removing intermediate container 72bbec39874b [2021-06-09T13:26:05.748Z] ---> 0be3da0f9e50 [2021-06-09T13:26:05.748Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T13:26:05.748Z] ---> Running in 4ad97f90c0b8 [2021-06-09T13:26:06.009Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-09T13:26:06.594Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-09T13:26:07.184Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T13:26:07.184Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T13:26:07.184Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T13:26:08.133Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T13:26:08.133Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T13:26:08.133Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T13:26:08.133Z] OK: 8 MiB in 19 packages [2021-06-09T13:26:08.395Z] Removing intermediate container 4ad97f90c0b8 [2021-06-09T13:26:08.395Z] ---> 5b230c67157c [2021-06-09T13:26:08.395Z] Step 14/23 : WORKDIR / [2021-06-09T13:26:08.661Z] ---> Running in 7796dfdaa534 [2021-06-09T13:26:08.661Z] Removing intermediate container 7796dfdaa534 [2021-06-09T13:26:08.661Z] ---> b2df61ae387b [2021-06-09T13:26:08.661Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T13:26:08.661Z] ---> 28fc393a9823 [2021-06-09T13:26:08.661Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T13:26:09.239Z] ---> aaab193328e7 [2021-06-09T13:26:09.239Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T13:26:09.239Z] ---> 515ddfbe4946 [2021-06-09T13:26:09.239Z] Step 18/23 : EXPOSE 59999 [2021-06-09T13:26:09.239Z] ---> Running in 26c0a46cc5e6 [2021-06-09T13:26:09.501Z] Removing intermediate container 26c0a46cc5e6 [2021-06-09T13:26:09.501Z] ---> a332fe7108f9 [2021-06-09T13:26:09.501Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T13:26:09.501Z] ---> Running in 104f4e92378c [2021-06-09T13:26:09.501Z] Removing intermediate container 104f4e92378c [2021-06-09T13:26:09.501Z] ---> c3a528ebff2a [2021-06-09T13:26:09.501Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T13:26:09.501Z] ---> Running in 2a8003aefb29 [2021-06-09T13:26:09.501Z] Removing intermediate container 2a8003aefb29 [2021-06-09T13:26:09.501Z] ---> cef38368ff6a [2021-06-09T13:26:09.501Z] Step 21/23 : LABEL arch=amd64 [2021-06-09T13:26:09.763Z] ---> Running in 666e05e35025 [2021-06-09T13:26:09.763Z] Removing intermediate container 666e05e35025 [2021-06-09T13:26:09.763Z] ---> b72d92c78560 [2021-06-09T13:26:09.763Z] Step 22/23 : LABEL git_sha=5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 [2021-06-09T13:26:09.763Z] ---> Running in 058edec6308b [2021-06-09T13:26:09.763Z] Removing intermediate container 058edec6308b [2021-06-09T13:26:09.763Z] ---> c0bc2f3017fb [2021-06-09T13:26:09.763Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T13:26:09.763Z] ---> Running in ace4e39455b4 [2021-06-09T13:26:10.030Z] Removing intermediate container ace4e39455b4 [2021-06-09T13:26:10.030Z] ---> eced26ca1033 [2021-06-09T13:26:10.030Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T13:26:10.030Z] Successfully built eced26ca1033 [2021-06-09T13:26:10.030Z] 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-09T13:26:10.963Z] ---> job-cost.sh [2021-06-09T13:26:10.963Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NVru [2021-06-09T13:26:20.980Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T13:26:33.217Z] lf-activate-venv(): INFO: Adding /tmp/venv-NVru/bin to PATH [2021-06-09T13:26:33.218Z] INFO: No Stack... [2021-06-09T13:26:33.218Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T13:26:33.218Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T13:26:33.518Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-06-09T13:26:33.518Z] + cut -d, -f6 [Pipeline] lock [2021-06-09T13:26:33.548Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-962-4-stack-cost] [2021-06-09T13:26:33.561Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-962-4-stack-cost] did not exist. Created. [2021-06-09T13:26:33.561Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-962-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T13:26:33.881Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-09T13:26:33.988Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T13:26:34.004Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-962-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-09T13:26:42.162Z] gofmt -l . [2021-06-09T13:26:42.162Z] [ "`gofmt -l .`" = "" ] [2021-06-09T13:26:42.162Z] ./bin/test-attribution-txt.sh [2021-06-09T13:26:42.162Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-09T13:26:42.783Z] $ docker stop --time=1 babc123210a7541121a50cbdad273a3f54704208f8a30ba3e937bdd4f9476837 [2021-06-09T13:26:44.851Z] $ docker rm -f babc123210a7541121a50cbdad273a3f54704208f8a30ba3e937bdd4f9476837 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-09T13:26:45.967Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-09T13:26:45.989Z] Warning: overwriting stash ‘coverage-report’ [2021-06-09T13:26:46.585Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-09T13:26:47.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-09T13:26:47.421Z] + ls -al . [2021-06-09T13:26:47.421Z] total 248 [2021-06-09T13:26:47.421Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 9 13:26 . [2021-06-09T13:26:47.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:22 .. [2021-06-09T13:26:47.421Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 9 13:22 .dockerignore [2021-06-09T13:26:47.421Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 9 13:22 .git [2021-06-09T13:26:47.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 13:22 .github [2021-06-09T13:26:47.421Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 9 13:22 .gitignore [2021-06-09T13:26:47.421Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 9 13:22 Dockerfile.build [2021-06-09T13:26:47.421Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 9 13:22 Jenkinsfile [2021-06-09T13:26:47.421Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 9 13:22 LICENSE [2021-06-09T13:26:47.421Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 9 13:22 Makefile [2021-06-09T13:26:47.421Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 9 13:22 README.md [2021-06-09T13:26:47.421Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 9 13:22 RELEASE-NOTES.txt [2021-06-09T13:26:47.421Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 9 13:19 VERSION [2021-06-09T13:26:47.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 9 13:22 bin [2021-06-09T13:26:47.421Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 9 13:25 coverage.out [2021-06-09T13:26:47.421Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 13:22 example [2021-06-09T13:26:47.421Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 9 13:26 go.mod [2021-06-09T13:26:47.421Z] -rw-r--r-- 1 jenkins jenkins 20590 Jun 9 13:23 go.sum [2021-06-09T13:26:47.421Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 9 13:22 internal [2021-06-09T13:26:47.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:22 openapi [2021-06-09T13:26:47.421Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 9 13:22 pkg [2021-06-09T13:26:47.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 9 13:22 snap [2021-06-09T13:26:47.421Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 9 13:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:26:47.768Z] + 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=5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 --label arch=arm64 --label version=0.0.0 . [2021-06-09T13:26:48.362Z] Sending build context to Docker daemon 2.77MB [2021-06-09T13:26:48.362Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-09T13:26:48.362Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-09T13:26:48.362Z] ---> 8390e08d9485 [2021-06-09T13:26:48.362Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-09T13:26:48.636Z] ---> Running in 0c1d1bd3959e [2021-06-09T13:26:49.231Z] Removing intermediate container 0c1d1bd3959e [2021-06-09T13:26:49.231Z] ---> d84819f88e5b [2021-06-09T13:26:49.231Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:26:49.231Z] ---> Running in dc2c4c316180 [2021-06-09T13:26:49.827Z] Removing intermediate container dc2c4c316180 [2021-06-09T13:26:49.827Z] ---> 77063184027d [2021-06-09T13:26:49.827Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:26:49.827Z] ---> Running in 3b5bdabe73c3 [2021-06-09T13:26:52.461Z] Removing intermediate container 3b5bdabe73c3 [2021-06-09T13:26:52.461Z] ---> 7282e6fa1aa9 [2021-06-09T13:26:52.461Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-09T13:26:52.461Z] ---> Running in 0d6f63976ca5 [2021-06-09T13:26:53.470Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-09T13:26:54.449Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-09T13:26:55.047Z] OK: 139 MiB in 46 packages [2021-06-09T13:26:56.482Z] Removing intermediate container 0d6f63976ca5 [2021-06-09T13:26:56.482Z] ---> 088d85d326ee [2021-06-09T13:26:56.482Z] Step 7/23 : COPY . . [2021-06-09T13:26:57.470Z] ---> f68b18519deb [2021-06-09T13:26:57.470Z] Step 8/23 : RUN go mod download [2021-06-09T13:26:57.744Z] ---> Running in a62da97c631c [2021-06-09T13:27:00.358Z] Removing intermediate container a62da97c631c [2021-06-09T13:27:00.358Z] ---> 7421d708e04c [2021-06-09T13:27:00.358Z] Step 9/23 : RUN make build [2021-06-09T13:27:00.358Z] ---> Running in 92356f597063 [2021-06-09T13:27:01.797Z] go mod tidy [2021-06-09T13:27:02.080Z] 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-09T13:27:34.533Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-09T13:27:37.922Z] Removing intermediate container 92356f597063 [2021-06-09T13:27:37.922Z] ---> 52d9a8516699 [2021-06-09T13:27:37.922Z] Step 10/23 : FROM alpine:3.12 [2021-06-09T13:27:37.922Z] 3.12: Pulling from library/alpine [2021-06-09T13:27:38.196Z] d2f70382dc9a: Pulling fs layer [2021-06-09T13:27:38.470Z] d2f70382dc9a: Verifying Checksum [2021-06-09T13:27:38.470Z] d2f70382dc9a: Download complete [2021-06-09T13:27:39.073Z] d2f70382dc9a: Pull complete [2021-06-09T13:27:39.073Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-09T13:27:39.073Z] Status: Downloaded newer image for alpine:3.12 [2021-06-09T13:27:39.073Z] ---> 9852663dfa18 [2021-06-09T13:27:39.073Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-09T13:27:39.346Z] ---> Running in a535d836040c [2021-06-09T13:27:39.946Z] Removing intermediate container a535d836040c [2021-06-09T13:27:39.946Z] ---> 261010fe9fd3 [2021-06-09T13:27:39.946Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-09T13:27:39.946Z] ---> Running in 5ff17a43889c [2021-06-09T13:27:41.931Z] Removing intermediate container 5ff17a43889c [2021-06-09T13:27:41.931Z] ---> b3f527f05655 [2021-06-09T13:27:41.931Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-09T13:27:42.214Z] ---> Running in 4f3a7587fca3 [2021-06-09T13:27:43.660Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-09T13:27:43.934Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-09T13:27:44.920Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-09T13:27:44.920Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-09T13:27:44.920Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-09T13:27:45.196Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-09T13:27:45.196Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-09T13:27:45.196Z] Executing busybox-1.31.1-r20.trigger [2021-06-09T13:27:45.477Z] OK: 8 MiB in 19 packages [2021-06-09T13:27:46.460Z] Removing intermediate container 4f3a7587fca3 [2021-06-09T13:27:46.460Z] ---> ca7deb4690f6 [2021-06-09T13:27:46.460Z] Step 14/23 : WORKDIR / [2021-06-09T13:27:46.733Z] ---> Running in 41965a854509 [2021-06-09T13:27:47.329Z] Removing intermediate container 41965a854509 [2021-06-09T13:27:47.329Z] ---> 980e6dc1c6a3 [2021-06-09T13:27:47.329Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-09T13:27:47.925Z] ---> 51996544cd55 [2021-06-09T13:27:47.925Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-09T13:27:49.362Z] ---> c1e6204efab6 [2021-06-09T13:27:49.362Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-09T13:27:50.341Z] ---> 7a85d3226be4 [2021-06-09T13:27:50.341Z] Step 18/23 : EXPOSE 59999 [2021-06-09T13:27:50.341Z] ---> Running in f10f2dccad5a [2021-06-09T13:27:50.618Z] Removing intermediate container f10f2dccad5a [2021-06-09T13:27:50.618Z] ---> b714808ba7dd [2021-06-09T13:27:50.618Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-09T13:27:50.890Z] ---> Running in 1357d1b9ee51 [2021-06-09T13:27:51.487Z] Removing intermediate container 1357d1b9ee51 [2021-06-09T13:27:51.487Z] ---> 579c4b3028f9 [2021-06-09T13:27:51.487Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-09T13:27:51.487Z] ---> Running in cde56e010556 [2021-06-09T13:27:52.088Z] Removing intermediate container cde56e010556 [2021-06-09T13:27:52.088Z] ---> 6fc47c75052b [2021-06-09T13:27:52.088Z] Step 21/23 : LABEL arch=arm64 [2021-06-09T13:27:52.088Z] ---> Running in 4617b0504533 [2021-06-09T13:27:52.685Z] Removing intermediate container 4617b0504533 [2021-06-09T13:27:52.686Z] ---> 08edfe0cfe0e [2021-06-09T13:27:52.686Z] Step 22/23 : LABEL git_sha=5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 [2021-06-09T13:27:52.686Z] ---> Running in 98a200ee6c5e [2021-06-09T13:27:53.283Z] Removing intermediate container 98a200ee6c5e [2021-06-09T13:27:53.283Z] ---> 363c16bc9dff [2021-06-09T13:27:53.283Z] Step 23/23 : LABEL version=0.0.0 [2021-06-09T13:27:53.283Z] ---> Running in 1df49b856dba [2021-06-09T13:27:53.901Z] Removing intermediate container 1df49b856dba [2021-06-09T13:27:53.901Z] ---> e8f93f1c4968 [2021-06-09T13:27:53.901Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-09T13:27:53.901Z] Successfully built e8f93f1c4968 [2021-06-09T13:27:53.901Z] 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-09T13:27:54.571Z] ---> job-cost.sh [2021-06-09T13:27:54.571Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tKBC [2021-06-09T13:28:33.556Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-09T13:30:10.349Z] lf-activate-venv(): INFO: Adding /tmp/venv-tKBC/bin to PATH [2021-06-09T13:30:10.349Z] INFO: No Stack... [2021-06-09T13:30:10.349Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-09T13:30:10.349Z] INFO: Archiving Costs [Pipeline] sh [2021-06-09T13:30:10.697Z] + + cut -d, -f6cat [2021-06-09T13:30:10.697Z] /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2021-06-09T13:30:10.787Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-962-4-stack-cost] [2021-06-09T13:30:10.800Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-962-4-stack-cost] did not exist. Created. [2021-06-09T13:30:10.800Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-962-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-09T13:30:11.174Z] /w/workspace/device-sdk-go/4@tmp/durable-c85cc358/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-c85cc358/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-09T13:30:11.524Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-09T13:30:11.545Z] Warning: overwriting stash ‘stack-cost’ [2021-06-09T13:30:11.712Z] Stashed 1 file(s) [Pipeline] } [2021-06-09T13:30:11.724Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-962-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-09T13:30:12.344Z] provisioning config files... [2021-06-09T13:30:12.353Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/config4721934616649121013tmp [Pipeline] { [Pipeline] sh [2021-06-09T13:30:12.671Z] + set +x [2021-06-09T13:30:12.671Z] + curl -s https://codecov.io/bash [2021-06-09T13:30:12.671Z] + bash -s -- [2021-06-09T13:30:12.671Z] [2021-06-09T13:30:12.671Z] _____ _ [2021-06-09T13:30:12.671Z] / ____| | | [2021-06-09T13:30:12.671Z] | | ___ __| | ___ ___ _____ __ [2021-06-09T13:30:12.671Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-09T13:30:12.671Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-09T13:30:12.671Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-09T13:30:12.671Z] Bash-1.0.3 [2021-06-09T13:30:12.671Z] [2021-06-09T13:30:12.671Z] [2021-06-09T13:30:12.671Z] ==> git version 2.24.4 found [2021-06-09T13:30:12.671Z] ==> 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-09T13:30:12.671Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-09T13:30:12.671Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-09T13:30:12.671Z] ==> Jenkins CI detected. [2021-06-09T13:30:12.671Z] project root: . [2021-06-09T13:30:12.671Z] --> token set from env [2021-06-09T13:30:12.671Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-09T13:30:12.671Z] ==> Running gcov in . (disable via -X gcov) [2021-06-09T13:30:12.671Z] ==> Python coveragepy not found [2021-06-09T13:30:12.671Z] ==> Searching for coverage reports in: [2021-06-09T13:30:12.671Z] + . [2021-06-09T13:30:12.671Z] -> Found 1 reports [2021-06-09T13:30:12.937Z] ==> Detecting git/mercurial file structure [2021-06-09T13:30:12.937Z] ==> Reading reports [2021-06-09T13:30:12.937Z] + ./coverage.out bytes=126071 [2021-06-09T13:30:12.937Z] ==> Appending adjustments [2021-06-09T13:30:12.937Z] https://docs.codecov.io/docs/fixing-reports [2021-06-09T13:30:13.198Z] + Found adjustments [2021-06-09T13:30:13.198Z] ==> Gzipping contents [2021-06-09T13:30:13.198Z] 20K /tmp/codecov.8g5VM4.gz [2021-06-09T13:30:13.198Z] ==> Uploading reports [2021-06-09T13:30:13.198Z] url: https://codecov.io [2021-06-09T13:30:13.198Z] query: branch=PR-962&commit=5a98dc5d9bc4ded19118a515dfdd359cdace9ac5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-962%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=962&job=&cmd_args= [2021-06-09T13:30:13.198Z] -> Pinging Codecov [2021-06-09T13:30:13.198Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-962&commit=5a98dc5d9bc4ded19118a515dfdd359cdace9ac5&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-962%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=962&job=&cmd_args= [2021-06-09T13:30:13.769Z] -> Uploading to [2021-06-09T13:30:13.770Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-09/7E55EF52A471D76F132DFD9A03CDDE97/5a98dc5d9bc4ded19118a515dfdd359cdace9ac5/ac123d58-20d9-4ded-8b67-eb4438dc4048.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210609%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210609T133013Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2277c2b784cd9b99fd24f65bad1347842f4a914a86e7d163799d1080ff7169c0 [2021-06-09T13:30:13.770Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-09T13:30:13.770Z] Dload Upload Total Spent Left Speed [2021-06-09T13:30:14.035Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16421 0 0 100 16421 0 40940 --:--:-- --:--:-- --:--:-- 41052 [2021-06-09T13:30:14.035Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5a98dc5d9bc4ded19118a515dfdd359cdace9ac5 [Pipeline] } [2021-06-09T13:30:14.044Z] 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-09T13:30:15.512Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:30:16.078Z] ---> package-listing.sh [2021-06-09T13:30:16.078Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-09T13:30:16.078Z] ++ facter osfamily [2021-06-09T13:30:16.340Z] + OS_FAMILY=redhat [2021-06-09T13:30:16.340Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-962 [2021-06-09T13:30:16.340Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-09T13:30:16.340Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-09T13:30:16.340Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-09T13:30:16.340Z] + PACKAGES=/tmp/packages_start.txt [2021-06-09T13:30:16.340Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-962 ']' [2021-06-09T13:30:16.340Z] + PACKAGES=/tmp/packages_end.txt [2021-06-09T13:30:16.340Z] + case "${OS_FAMILY}" in [2021-06-09T13:30:16.340Z] + rpm -qa [2021-06-09T13:30:16.340Z] + sort [2021-06-09T13:30:16.911Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-09T13:30:16.911Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-09T13:30:16.911Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-09T13:30:16.911Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-962 ']' [2021-06-09T13:30:16.911Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-962/archives/ [2021-06-09T13:30:16.911Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-962/archives/ [Pipeline] echo [2021-06-09T13:30:16.923Z] 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-962/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-09T13:30:17.215Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:30:17.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T13:30:17.781Z] [2021-06-09T13:30:17.781Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-09T13:30:18.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T13:30:18.102Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-09T13:30:18.102Z] df20fa9351a1: Pulling fs layer [2021-06-09T13:30:18.102Z] 36b3adc4ff6f: Pulling fs layer [2021-06-09T13:30:18.102Z] 8ad3a11d3b57: Pulling fs layer [2021-06-09T13:30:18.102Z] 46f8f816bc3b: Pulling fs layer [2021-06-09T13:30:18.102Z] 93b61091891f: Pulling fs layer [2021-06-09T13:30:18.102Z] 93b9cdb0e59b: Pulling fs layer [2021-06-09T13:30:18.102Z] 5e14af77c1be: Pulling fs layer [2021-06-09T13:30:18.102Z] 01666e4c0597: Pulling fs layer [2021-06-09T13:30:18.102Z] aa168da1d23b: Pulling fs layer [2021-06-09T13:30:18.102Z] 46f8f816bc3b: Waiting [2021-06-09T13:30:18.102Z] 93b61091891f: Waiting [2021-06-09T13:30:18.102Z] 93b9cdb0e59b: Waiting [2021-06-09T13:30:18.102Z] 5e14af77c1be: Waiting [2021-06-09T13:30:18.102Z] 01666e4c0597: Waiting [2021-06-09T13:30:18.102Z] aa168da1d23b: Waiting [2021-06-09T13:30:18.102Z] 36b3adc4ff6f: Verifying Checksum [2021-06-09T13:30:18.102Z] 36b3adc4ff6f: Download complete [2021-06-09T13:30:18.102Z] 46f8f816bc3b: Verifying Checksum [2021-06-09T13:30:18.102Z] 46f8f816bc3b: Download complete [2021-06-09T13:30:18.102Z] df20fa9351a1: Verifying Checksum [2021-06-09T13:30:18.102Z] df20fa9351a1: Download complete [2021-06-09T13:30:18.102Z] 93b9cdb0e59b: Verifying Checksum [2021-06-09T13:30:18.102Z] 93b9cdb0e59b: Download complete [2021-06-09T13:30:18.102Z] 5e14af77c1be: Verifying Checksum [2021-06-09T13:30:18.102Z] 5e14af77c1be: Download complete [2021-06-09T13:30:18.365Z] 01666e4c0597: Verifying Checksum [2021-06-09T13:30:18.365Z] 01666e4c0597: Download complete [2021-06-09T13:30:18.365Z] 93b61091891f: Verifying Checksum [2021-06-09T13:30:18.365Z] 93b61091891f: Download complete [2021-06-09T13:30:18.365Z] 8ad3a11d3b57: Verifying Checksum [2021-06-09T13:30:18.365Z] 8ad3a11d3b57: Download complete [2021-06-09T13:30:18.365Z] df20fa9351a1: Pull complete [2021-06-09T13:30:18.627Z] 36b3adc4ff6f: Pull complete [2021-06-09T13:30:19.207Z] 8ad3a11d3b57: Pull complete [2021-06-09T13:30:19.207Z] 46f8f816bc3b: Pull complete [2021-06-09T13:30:19.466Z] 93b61091891f: Pull complete [2021-06-09T13:30:19.725Z] 93b9cdb0e59b: Pull complete [2021-06-09T13:30:19.725Z] 5e14af77c1be: Pull complete [2021-06-09T13:30:19.986Z] 01666e4c0597: Pull complete [2021-06-09T13:30:20.247Z] aa168da1d23b: Verifying Checksum [2021-06-09T13:30:20.247Z] aa168da1d23b: Download complete [2021-06-09T13:30:24.471Z] aa168da1d23b: Pull complete [2021-06-09T13:30:24.471Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-09T13:30:24.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-09T13:30:24.471Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-09T13:30:24.546Z] prd-centos7-docker-4c-2g-48 does not seem to be running inside a container [2021-06-09T13:30:24.589Z] $ 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-962/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-962 -v /w/workspace/dgexfoundry_device-sdk-go_PR-962:/w/workspace/dgexfoundry_device-sdk-go_PR-962:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-09T13:30:26.868Z] $ docker top 69ea299e61e7e9f52c9d58341466f918b77a344697a0dc070a2563f04d818644 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-09T13:30:27.254Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-09T13:30:27.547Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-09T13:30:27.849Z] + ls /var/log/sa-host [2021-06-09T13:30:27.850Z] + sadf -c /var/log/sa-host/sa05 [2021-06-09T13:30:27.850Z] file_magic: OK [2021-06-09T13:30:27.850Z] HZ: Using current value: 100 [2021-06-09T13:30:27.850Z] file_header: OK [2021-06-09T13:30:27.850Z] 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-09T13:30:27.850Z] Statistics: [2021-06-09T13:30:27.850Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-09T13:30:27.850Z] File successfully converted to sysstat format version 12.2.1 [2021-06-09T13:30:27.850Z] + sadf -c /var/log/sa-host/sa09 [2021-06-09T13:30:27.850Z] file_magic: OK [2021-06-09T13:30:27.850Z] HZ: Using current value: 100 [2021-06-09T13:30:27.850Z] file_header: OK [2021-06-09T13:30:27.850Z] 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-09T13:30:27.850Z] Statistics: [2021-06-09T13:30:27.850Z] HRHnuu...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-09T13:30:27.850Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-09T13:30:28.058Z] provisioning config files... [2021-06-09T13:30:28.069Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-962@tmp/config1272427599129877205tmp [Pipeline] { [Pipeline] echo [2021-06-09T13:30:28.097Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:30:28.404Z] ---> create-netrc.sh [Pipeline] } [2021-06-09T13:30:28.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:30:28.782Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-09T13:30:28.792Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:30:29.095Z] ---> sudo-logs.sh [2021-06-09T13:30:29.095Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-09T13:30:29.128Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:30:29.424Z] ---> job-cost.sh [2021-06-09T13:30:29.424Z] lf-activate-venv: SKIPPING [2021-06-09T13:30:29.424Z] DEBUG: total: 0.18000000715255737 [2021-06-09T13:30:29.424Z] INFO: Retrieving Stack Cost... [2021-06-09T13:30:30.389Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-09T13:30:30.673Z] INFO: Archiving Costs [Pipeline] echo [2021-06-09T13:30:30.687Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-09T13:30:30.992Z] ---> logs-deploy.sh [2021-06-09T13:30:30.993Z] lf-activate-venv: SKIPPING [2021-06-09T13:30:30.993Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-962/4 [2021-06-09T13:30:30.993Z] INFO: archiving workspace using pattern(s): [2021-06-09T13:30:31.937Z] Archives upload complete. [2021-06-09T13:30:31.937Z] INFO: archiving logs to Nexus