Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a244db068d9d338f92108e2449d6abf774265388+5c06a72fcc3128da4af48966d2175cda114393df (9a75b490c87536fc4e1356279e2af26cec6028c9) 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-ssh3257643380989614043.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3662582371704289640.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-960/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-960/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7239947855833790946.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4640132447314350675.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-960/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-960/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1674629069766012005.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-280’ is offline Running on prd-centos7-docker-4c-2g-283 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [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-960 # 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-960@tmp/jenkins-gitclient-ssh6353419539853307570.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-960@tmp/jenkins-gitclient-ssh1796339815513107726.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5c06a72fcc3128da4af48966d2175cda114393df into PR head commit a244db068d9d338f92108e2449d6abf774265388 Merge succeeded, producing c29f8ad2eba044ae2580f02623e7dec90ed6731b Checking out Revision c29f8ad2eba044ae2580f02623e7dec90ed6731b (PR-960) > git config core.sparsecheckout # timeout=10 > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # 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-960@tmp/jenkins-gitclient-ssh3666116508637463068.key > git merge 5c06a72fcc3128da4af48966d2175cda114393df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c29f8ad2eba044ae2580f02623e7dec90ed6731b # timeout=10 Commit message: "Merge commit '5c06a72fcc3128da4af48966d2175cda114393df' into HEAD" > git rev-list --no-walk a244db068d9d338f92108e2449d6abf774265388 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-10T18:42:39.385Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-10T18:42:39.492Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-10T18:42:39.523Z] ========================================================= [2021-06-10T18:42:39.523Z] EdgeX Global Pipelines Version Info [2021-06-10T18:42:39.523Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:42:40.947Z] ------------------- [2021-06-10T18:42:40.947Z] stable info: [2021-06-10T18:42:40.947Z] ------------------- [2021-06-10T18:42:40.947Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-10T18:42:40.947Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-10T18:42:40.947Z] Message: update stable to v1.0.195 [2021-06-10T18:42:41.523Z] ------------------- [2021-06-10T18:42:41.523Z] experimental info: [2021-06-10T18:42:41.523Z] ------------------- [2021-06-10T18:42:41.523Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-10T18:42:41.523Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-10T18:42:41.523Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-10T18:42:41.650Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-10T18:42:41.677Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-10T18:42:41.703Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-10T18:42:41.729Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-10T18:42:41.754Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-10T18:42:41.779Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-10T18:42:41.806Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-10T18:42:41.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-10T18:42:41.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-10T18:42:41.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-10T18:42:41.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-10T18:42:41.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-10T18:42:41.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-10T18:42:41.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-10T18:42:42.016Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-10T18:42:42.053Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T18:42:42.081Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T18:42:42.109Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-10T18:42:42.137Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-10T18:42:42.165Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-10T18:42:42.195Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-10T18:42:42.224Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-10T18:42:42.255Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-10T18:42:42.282Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-10T18:42:42.335Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-10T18:42:42.363Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-10T18:42:42.391Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-960 [Pipeline] echo [2021-06-10T18:42:42.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-960 [Pipeline] echo [2021-06-10T18:42:42.510Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-960 [Pipeline] echo [2021-06-10T18:42:42.536Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c29f8ad2eba044ae2580f02623e7dec90ed6731b [Pipeline] echo [2021-06-10T18:42:42.564Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c29f8ad [Pipeline] echo [2021-06-10T18:42:42.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T18:42:42.672Z] provisioning config files... [2021-06-10T18:42:42.686Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config7811647197519498530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:42:43.028Z] ---> docker-login.sh [2021-06-10T18:42:43.028Z] nexus3.edgexfoundry.org:10001 [2021-06-10T18:42:43.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:42:43.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:42:43.292Z] Configure a credential helper to remove this warning. See [2021-06-10T18:42:43.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:42:43.292Z] [2021-06-10T18:42:43.292Z] Login Succeeded [2021-06-10T18:42:43.292Z] nexus3.edgexfoundry.org:10002 [2021-06-10T18:42:43.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:42:43.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:42:43.292Z] Configure a credential helper to remove this warning. See [2021-06-10T18:42:43.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:42:43.292Z] [2021-06-10T18:42:43.292Z] Login Succeeded [2021-06-10T18:42:43.292Z] nexus3.edgexfoundry.org:10003 [2021-06-10T18:42:43.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:42:43.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:42:43.556Z] Configure a credential helper to remove this warning. See [2021-06-10T18:42:43.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:42:43.556Z] [2021-06-10T18:42:43.556Z] Login Succeeded [2021-06-10T18:42:43.556Z] nexus3.edgexfoundry.org:10004 [2021-06-10T18:42:43.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:42:43.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:42:43.556Z] Configure a credential helper to remove this warning. See [2021-06-10T18:42:43.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:42:43.556Z] [2021-06-10T18:42:43.556Z] Login Succeeded [2021-06-10T18:42:43.556Z] docker.io [2021-06-10T18:42:43.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:42:44.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:42:44.091Z] Configure a credential helper to remove this warning. See [2021-06-10T18:42:44.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:42:44.091Z] [2021-06-10T18:42:44.091Z] Login Succeeded [2021-06-10T18:42:44.091Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T18:42:44.100Z] 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-10T18:42:44.620Z] + git log --format=format:%s -1 c29f8ad2eba044ae2580f02623e7dec90ed6731b [Pipeline] echo [2021-06-10T18:42:44.658Z] GIT_COMMIT: c29f8ad2eba044ae2580f02623e7dec90ed6731b, Commit Message: Merge commit '5c06a72fcc3128da4af48966d2175cda114393df' into HEAD [Pipeline] echo [2021-06-10T18:42:44.673Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:42:45.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T18:42:45.240Z] [2021-06-10T18:42:45.240Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:42:45.563Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T18:42:45.563Z] latest: Pulling from edgex-devops/git-semver [2021-06-10T18:42:45.563Z] 31603596830f: Pulling fs layer [2021-06-10T18:42:45.563Z] 54011a49482f: Pulling fs layer [2021-06-10T18:42:45.563Z] a6820b24f6d8: Pulling fs layer [2021-06-10T18:42:45.563Z] f581987b2513: Pulling fs layer [2021-06-10T18:42:45.563Z] f581987b2513: Waiting [2021-06-10T18:42:45.563Z] 54011a49482f: Verifying Checksum [2021-06-10T18:42:45.563Z] 54011a49482f: Download complete [2021-06-10T18:42:45.563Z] 31603596830f: Verifying Checksum [2021-06-10T18:42:45.563Z] 31603596830f: Download complete [2021-06-10T18:42:45.833Z] f581987b2513: Verifying Checksum [2021-06-10T18:42:45.833Z] f581987b2513: Download complete [2021-06-10T18:42:45.833Z] a6820b24f6d8: Verifying Checksum [2021-06-10T18:42:45.833Z] a6820b24f6d8: Download complete [2021-06-10T18:42:45.833Z] 31603596830f: Pull complete [2021-06-10T18:42:46.099Z] 54011a49482f: Pull complete [2021-06-10T18:42:46.678Z] a6820b24f6d8: Pull complete [2021-06-10T18:42:46.678Z] f581987b2513: Pull complete [2021-06-10T18:42:46.940Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-10T18:42:46.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-10T18:42:46.940Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-10T18:42:47.022Z] prd-centos7-docker-4c-2g-283 does not seem to be running inside a container [2021-06-10T18:42:47.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-960 -v /w/workspace/dgexfoundry_device-sdk-go_PR-960:/w/workspace/dgexfoundry_device-sdk-go_PR-960:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-10T18:42:48.208Z] $ docker top 97b4c75454aad5a26445b3fdc105598511e56b70f9957aa51a6c3a6256d10387 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-10T18:42:48.339Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T18:42:48.339Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T18:42:48.468Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T18:42:48.466Z] $ docker exec 97b4c75454aad5a26445b3fdc105598511e56b70f9957aa51a6c3a6256d10387 ssh-agent [2021-06-10T18:42:48.591Z] SSH_AUTH_SOCK=/tmp/ssh-vji8UEiK9KWA/agent.13 [2021-06-10T18:42:48.591Z] SSH_AGENT_PID=19 [2021-06-10T18:42:48.599Z] Running ssh-add (command line suppressed) [2021-06-10T18:42:48.695Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_5464501663893372482.key (/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_5464501663893372482.key) [2021-06-10T18:42:48.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T18:42:49.018Z] + git tag --points-at HEAD [Pipeline] } [2021-06-10T18:42:49.027Z] $ docker exec --env ******** --env ******** 97b4c75454aad5a26445b3fdc105598511e56b70f9957aa51a6c3a6256d10387 ssh-agent -k [2021-06-10T18:42:49.125Z] unset SSH_AUTH_SOCK; [2021-06-10T18:42:49.125Z] unset SSH_AGENT_PID; [2021-06-10T18:42:49.125Z] echo Agent pid 19 killed; [2021-06-10T18:42:49.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-10T18:42:49.190Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-10T18:42:49.190Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-10T18:42:49.297Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-10T18:42:49.295Z] $ docker exec 97b4c75454aad5a26445b3fdc105598511e56b70f9957aa51a6c3a6256d10387 ssh-agent [2021-06-10T18:42:49.406Z] SSH_AUTH_SOCK=/tmp/ssh-Nfbz3g1kfj89/agent.54 [2021-06-10T18:42:49.406Z] SSH_AGENT_PID=61 [2021-06-10T18:42:49.412Z] Running ssh-add (command line suppressed) [2021-06-10T18:42:49.502Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_556717538048747269.key (/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/private_key_556717538048747269.key) [2021-06-10T18:42:49.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-10T18:42:49.851Z] + git semver init [2021-06-10T18:42:49.851Z] # -> Open(): unable to determine branch for HEAD [2021-06-10T18:42:49.851Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-960/.git [2021-06-10T18:42:49.851Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-960 [2021-06-10T18:42:49.851Z] # $SEMVER_REMOTE_NAME = origin [2021-06-10T18:42:49.851Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-10T18:42:49.851Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-10T18:42:49.851Z] # $SEMVER_BRANCH = PR-960 [2021-06-10T18:42:49.851Z] # $SEMVER_TEMP = /tmp/semver-165065384 [2021-06-10T18:42:49.851Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-10T18:42:50.806Z] # '/tmp/semver-165065384' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-960/.semver' [2021-06-10T18:42:50.806Z] # -> Force: false [2021-06-10T18:42:50.806Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-960/.semver [Pipeline] } [2021-06-10T18:42:50.812Z] $ docker exec --env ******** --env ******** 97b4c75454aad5a26445b3fdc105598511e56b70f9957aa51a6c3a6256d10387 ssh-agent -k [2021-06-10T18:42:50.921Z] unset SSH_AUTH_SOCK; [2021-06-10T18:42:50.921Z] unset SSH_AGENT_PID; [2021-06-10T18:42:50.921Z] echo Agent pid 61 killed; [2021-06-10T18:42:50.938Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-10T18:42:51.292Z] + git semver [Pipeline] } [2021-06-10T18:42:51.301Z] $ docker stop --time=1 97b4c75454aad5a26445b3fdc105598511e56b70f9957aa51a6c3a6256d10387 [2021-06-10T18:42:52.554Z] $ docker rm -f 97b4c75454aad5a26445b3fdc105598511e56b70f9957aa51a6c3a6256d10387 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T18:42:52.930Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-10T18:42:53.217Z] Stashed 1 file(s) [Pipeline] echo [2021-06-10T18:42:53.220Z] [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-10T18:43:08.531Z] Still waiting to schedule task [2021-06-10T18:43:08.531Z] ‘prd-centos7-builder-2c-1g-144’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-10T18:43:08.531Z] ‘prd-centos7-docker-4c-2g-285’ is offline [2021-06-10T18:43:08.531Z] ‘prd-ubuntu18.04-docker-8c-8g-253’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-10T18:43:08.531Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-282’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-10T18:43:08.535Z] Still waiting to schedule task [2021-06-10T18:43:08.535Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-282’ is offline [2021-06-10T18:46:06.804Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-287 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [Pipeline] { [Pipeline] ws [2021-06-10T18:46:06.830Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-06-10T18:46:07.094Z] Selected Git installation does not exist. Using Default [2021-06-10T18:46:07.094Z] The recommended git tool is: NONE [2021-06-10T18:46:12.650Z] using credential edgex-jenkins-ssh [2021-06-10T18:46:12.669Z] Cloning the remote Git repository [2021-06-10T18:46:12.739Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:46:12.866Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-06-10T18:46:12.966Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:46:12.967Z] > git --version # timeout=10 [2021-06-10T18:46:12.992Z] > git --version # 'git version 2.17.1' [2021-06-10T18:46:12.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:46:13.106Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T18:46:14.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T18:46:14.333Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T18:46:14.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T18:46:14.394Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:46:14.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:46:14.406Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T18:46:14.968Z] Merging remotes/origin/master commit 5c06a72fcc3128da4af48966d2175cda114393df into PR head commit a244db068d9d338f92108e2449d6abf774265388 [2021-06-10T18:46:15.249Z] Merge succeeded, producing a92562a85e9b6eacb7ed68bdaf40325fe44a561f [2021-06-10T18:46:15.249Z] Checking out Revision a92562a85e9b6eacb7ed68bdaf40325fe44a561f (PR-960) [2021-06-10T18:46:15.004Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T18:46:15.014Z] > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 [2021-06-10T18:46:15.108Z] > git remote # timeout=10 [2021-06-10T18:46:15.128Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T18:46:15.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:46:15.158Z] > git merge 5c06a72fcc3128da4af48966d2175cda114393df # timeout=10 [2021-06-10T18:46:15.237Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T18:46:15.262Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T18:46:15.272Z] > git checkout -f a92562a85e9b6eacb7ed68bdaf40325fe44a561f # timeout=10 [2021-06-10T18:46:19.538Z] Commit message: "Merge commit '5c06a72fcc3128da4af48966d2175cda114393df' into HEAD" [2021-06-10T18:46:19.550Z] > git rev-list --no-walk a244db068d9d338f92108e2449d6abf774265388 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T18:46:20.767Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-10T18:46:21.158Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T18:46:21.527Z] + sudo service docker restart [2021-06-10T18:46:21.527Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T18:46:39.904Z] provisioning config files... [2021-06-10T18:46:39.932Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3312394056421494887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:46:40.332Z] ---> docker-login.sh [2021-06-10T18:46:40.332Z] nexus3.edgexfoundry.org:10001 [2021-06-10T18:46:41.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:46:41.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:46:41.599Z] Configure a credential helper to remove this warning. See [2021-06-10T18:46:41.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:46:41.599Z] [2021-06-10T18:46:41.599Z] Login Succeeded [2021-06-10T18:46:41.599Z] nexus3.edgexfoundry.org:10002 [2021-06-10T18:46:41.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:46:42.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:46:42.159Z] Configure a credential helper to remove this warning. See [2021-06-10T18:46:42.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:46:42.159Z] [2021-06-10T18:46:42.159Z] Login Succeeded [2021-06-10T18:46:42.159Z] nexus3.edgexfoundry.org:10003 [2021-06-10T18:46:42.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:46:42.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:46:42.711Z] Configure a credential helper to remove this warning. See [2021-06-10T18:46:42.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:46:42.711Z] [2021-06-10T18:46:42.711Z] Login Succeeded [2021-06-10T18:46:42.711Z] nexus3.edgexfoundry.org:10004 [2021-06-10T18:46:43.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:46:43.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:46:43.312Z] Configure a credential helper to remove this warning. See [2021-06-10T18:46:43.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:46:43.312Z] [2021-06-10T18:46:43.312Z] Login Succeeded [2021-06-10T18:46:43.312Z] docker.io [2021-06-10T18:46:43.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:46:44.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:46:44.192Z] Configure a credential helper to remove this warning. See [2021-06-10T18:46:44.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:46:44.192Z] [2021-06-10T18:46:44.192Z] Login Succeeded [2021-06-10T18:46:44.192Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T18:46:44.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T18:46:44.738Z] ========================================================= [2021-06-10T18:46:44.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-10T18:46:44.738Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:46:45.113Z] + 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-10T18:46:45.844Z] Sending build context to Docker daemon 2.656MB [2021-06-10T18:46:45.844Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T18:46:45.844Z] Step 2/8 : FROM ${BASE} [2021-06-10T18:46:46.124Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-10T18:46:46.124Z] 595b0fe564bb: Pulling fs layer [2021-06-10T18:46:46.124Z] 3088b5b3c5c0: Pulling fs layer [2021-06-10T18:46:46.124Z] 5b7225fbf94c: Pulling fs layer [2021-06-10T18:46:46.124Z] ba82ee9f976e: Pulling fs layer [2021-06-10T18:46:46.124Z] 506bd15cee9f: Pulling fs layer [2021-06-10T18:46:46.124Z] 75a0a4a0db45: Pulling fs layer [2021-06-10T18:46:46.124Z] 618dc40b7e24: Pulling fs layer [2021-06-10T18:46:46.124Z] 506bd15cee9f: Waiting [2021-06-10T18:46:46.124Z] 75a0a4a0db45: Waiting [2021-06-10T18:46:46.124Z] 618dc40b7e24: Waiting [2021-06-10T18:46:46.124Z] ba82ee9f976e: Waiting [2021-06-10T18:46:46.124Z] 5b7225fbf94c: Download complete [2021-06-10T18:46:46.124Z] 3088b5b3c5c0: Download complete [2021-06-10T18:46:46.124Z] 506bd15cee9f: Verifying Checksum [2021-06-10T18:46:46.124Z] 506bd15cee9f: Download complete [2021-06-10T18:46:46.124Z] 75a0a4a0db45: Verifying Checksum [2021-06-10T18:46:46.124Z] 75a0a4a0db45: Download complete [2021-06-10T18:46:46.124Z] 595b0fe564bb: Verifying Checksum [2021-06-10T18:46:46.124Z] 595b0fe564bb: Download complete [2021-06-10T18:46:46.725Z] 595b0fe564bb: Pull complete [2021-06-10T18:46:47.722Z] 3088b5b3c5c0: Pull complete [2021-06-10T18:46:48.325Z] 618dc40b7e24: Verifying Checksum [2021-06-10T18:46:48.325Z] 618dc40b7e24: Download complete [2021-06-10T18:46:49.311Z] 5b7225fbf94c: Pull complete [2021-06-10T18:46:49.585Z] ba82ee9f976e: Verifying Checksum [2021-06-10T18:46:49.585Z] ba82ee9f976e: Download complete [2021-06-10T18:46:59.774Z] ba82ee9f976e: Pull complete [2021-06-10T18:47:00.371Z] 506bd15cee9f: Pull complete [2021-06-10T18:47:00.643Z] 75a0a4a0db45: Pull complete [2021-06-10T18:47:04.981Z] 618dc40b7e24: Pull complete [2021-06-10T18:47:04.981Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-10T18:47:04.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-10T18:47:04.981Z] ---> a36622ca3599 [2021-06-10T18:47:04.981Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T18:47:06.952Z] ---> Running in cecf9f082694 [2021-06-10T18:47:06.952Z] Removing intermediate container cecf9f082694 [2021-06-10T18:47:06.952Z] ---> 6ea63efca222 [2021-06-10T18:47:06.952Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T18:47:07.227Z] ---> Running in 35bff5af005e [2021-06-10T18:47:09.857Z] Removing intermediate container 35bff5af005e [2021-06-10T18:47:09.857Z] ---> 0aa299f89a8c [2021-06-10T18:47:09.857Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-10T18:47:09.857Z] ---> Running in b8dce7c8cdb7 [2021-06-10T18:47:10.832Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T18:47:11.806Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T18:47:12.398Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-10T18:47:12.670Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-10T18:47:12.670Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-10T18:47:12.670Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-10T18:47:12.946Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-10T18:47:12.946Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-10T18:47:12.946Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T18:47:12.946Z] OK: 139 MiB in 46 packages [2021-06-10T18:47:14.386Z] Removing intermediate container b8dce7c8cdb7 [2021-06-10T18:47:14.386Z] ---> 20ae91253d78 [2021-06-10T18:47:14.386Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-10T18:47:14.386Z] ---> Running in 64a371abb12d [2021-06-10T18:47:14.984Z] Removing intermediate container 64a371abb12d [2021-06-10T18:47:14.984Z] ---> 9ac3b8c81007 [2021-06-10T18:47:14.984Z] Step 7/8 : COPY . . [2021-06-10T18:47:16.419Z] ---> cf76d2b2807e [2021-06-10T18:47:16.419Z] Step 8/8 : RUN go mod download [2021-06-10T18:47:16.419Z] ---> Running in f0ccd2e925ab [2021-06-10T18:47:31.451Z] Running on prd-centos7-docker-4c-2g-288 in /w/workspace/dgexfoundry_device-sdk-go_PR-960 [Pipeline] { [Pipeline] ws [2021-06-10T18:47:31.473Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-06-10T18:47:31.572Z] Selected Git installation does not exist. Using Default [2021-06-10T18:47:31.572Z] The recommended git tool is: NONE [2021-06-10T18:47:33.930Z] using credential edgex-jenkins-ssh [2021-06-10T18:47:33.958Z] Cloning the remote Git repository [2021-06-10T18:47:34.086Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:47:34.156Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-06-10T18:47:34.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:47:34.192Z] > git --version # timeout=10 [2021-06-10T18:47:34.199Z] > git --version # 'git version 2.24.4' [2021-06-10T18:47:34.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:47:34.229Z] [INFO] Currently running in a labeled security context [2021-06-10T18:47:34.229Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T18:47:34.229Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh2895302746176171674.key [2021-06-10T18:47:34.272Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T18:47:34.982Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T18:47:34.992Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-10T18:47:35.458Z] Merging remotes/origin/master commit 5c06a72fcc3128da4af48966d2175cda114393df into PR head commit a244db068d9d338f92108e2449d6abf774265388 [2021-06-10T18:47:35.585Z] Merge succeeded, producing b2cac3cf576308353b07b5c785a0216e4b1b323e [2021-06-10T18:47:35.586Z] Checking out Revision b2cac3cf576308353b07b5c785a0216e4b1b323e (PR-960) [2021-06-10T18:47:35.007Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-10T18:47:35.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-10T18:47:35.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:47:35.026Z] [INFO] Currently running in a labeled security context [2021-06-10T18:47:35.026Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T18:47:35.027Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh3839014853241318306.key [2021-06-10T18:47:35.035Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/960/head:refs/remotes/origin/PR-960 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-10T18:47:35.464Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T18:47:35.476Z] > git checkout -f a244db068d9d338f92108e2449d6abf774265388 # timeout=10 [2021-06-10T18:47:35.515Z] > git remote # timeout=10 [2021-06-10T18:47:35.523Z] > git config --get remote.origin.url # timeout=10 [2021-06-10T18:47:35.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-10T18:47:35.533Z] [INFO] Currently running in a labeled security context [2021-06-10T18:47:35.533Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-10T18:47:35.533Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh2914276083581656172.key [2021-06-10T18:47:35.548Z] > git merge 5c06a72fcc3128da4af48966d2175cda114393df # timeout=10 [2021-06-10T18:47:35.574Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-10T18:47:35.584Z] > git config core.sparsecheckout # timeout=10 [2021-06-10T18:47:35.592Z] > git checkout -f b2cac3cf576308353b07b5c785a0216e4b1b323e # timeout=10 [2021-06-10T18:47:39.193Z] Commit message: "Merge commit '5c06a72fcc3128da4af48966d2175cda114393df' into HEAD" [2021-06-10T18:47:39.192Z] > git rev-list --no-walk a244db068d9d338f92108e2449d6abf774265388 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T18:47:40.374Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-10T18:47:40.703Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-10T18:47:41.004Z] + sudo service docker restart [2021-06-10T18:47:41.004Z] + true [2021-06-10T18:47:41.004Z] Redirecting to /bin/systemctl restart docker.service [2021-06-10T18:47:43.250Z] Removing intermediate container f0ccd2e925ab [2021-06-10T18:47:43.250Z] ---> d5160d26482c [2021-06-10T18:47:43.250Z] Successfully built d5160d26482c [2021-06-10T18:47:43.250Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:47:43.590Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T18:47:43.590Z] . [Pipeline] withDockerContainer [2021-06-10T18:47:43.812Z] prd-ubuntu18.04-docker-arm64-4c-16g-287 does not seem to be running inside a container [2021-06-10T18:47:43.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-10T18:47:45.479Z] $ docker top 06c07771e6dd6035064865318676884dcfd5e791ebdba9daa5b6f39a8e0c4808 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T18:47:46.419Z] + go version [2021-06-10T18:47:46.420Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-10T18:47:46.441Z] $ docker stop --time=1 06c07771e6dd6035064865318676884dcfd5e791ebdba9daa5b6f39a8e0c4808 [2021-06-10T18:47:48.246Z] $ docker rm -f 06c07771e6dd6035064865318676884dcfd5e791ebdba9daa5b6f39a8e0c4808 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:47:48.981Z] + docker inspect -f . ci-base-image-arm64 [2021-06-10T18:47:48.981Z] . [Pipeline] withDockerContainer [2021-06-10T18:47:49.208Z] prd-ubuntu18.04-docker-arm64-4c-16g-287 does not seem to be running inside a container [2021-06-10T18:47:49.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-10T18:47:50.814Z] $ docker top 53261e7f401ec9ab7a3968143181d3f724424233528d5cbeb38644b14cbbded5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T18:47:51.740Z] + go mod tidy [Pipeline] sh [2021-06-10T18:47:53.020Z] + make test [2021-06-10T18:47:53.020Z] go mod tidy [2021-06-10T18:47:53.295Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T18:47:59.188Z] provisioning config files... [2021-06-10T18:47:59.211Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config8747496667617367122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:47:59.548Z] ---> docker-login.sh [2021-06-10T18:47:59.548Z] nexus3.edgexfoundry.org:10001 [2021-06-10T18:47:59.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:47:59.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:47:59.812Z] Configure a credential helper to remove this warning. See [2021-06-10T18:47:59.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:47:59.812Z] [2021-06-10T18:47:59.812Z] Login Succeeded [2021-06-10T18:47:59.812Z] nexus3.edgexfoundry.org:10002 [2021-06-10T18:48:00.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:48:00.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:48:00.073Z] Configure a credential helper to remove this warning. See [2021-06-10T18:48:00.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:48:00.073Z] [2021-06-10T18:48:00.073Z] Login Succeeded [2021-06-10T18:48:00.073Z] nexus3.edgexfoundry.org:10003 [2021-06-10T18:48:00.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:48:00.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:48:00.335Z] Configure a credential helper to remove this warning. See [2021-06-10T18:48:00.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:48:00.335Z] [2021-06-10T18:48:00.335Z] Login Succeeded [2021-06-10T18:48:00.335Z] nexus3.edgexfoundry.org:10004 [2021-06-10T18:48:00.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:48:00.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:48:00.335Z] Configure a credential helper to remove this warning. See [2021-06-10T18:48:00.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:48:00.335Z] [2021-06-10T18:48:00.335Z] Login Succeeded [2021-06-10T18:48:00.335Z] docker.io [2021-06-10T18:48:00.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-10T18:48:00.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-10T18:48:00.860Z] Configure a credential helper to remove this warning. See [2021-06-10T18:48:00.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-10T18:48:00.860Z] [2021-06-10T18:48:00.860Z] Login Succeeded [2021-06-10T18:48:00.860Z] ---> docker-login.sh ends [Pipeline] } [2021-06-10T18:48:00.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-10T18:48:01.059Z] ========================================================= [2021-06-10T18:48:01.060Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-10T18:48:01.060Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:48:01.389Z] + 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-10T18:48:01.389Z] Sending build context to Docker daemon 2.657MB [2021-06-10T18:48:01.389Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T18:48:01.389Z] Step 2/8 : FROM ${BASE} [2021-06-10T18:48:01.664Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-10T18:48:01.664Z] 540db60ca938: Pulling fs layer [2021-06-10T18:48:01.664Z] adcc1eea9eea: Pulling fs layer [2021-06-10T18:48:01.664Z] 4c4ab2625f07: Pulling fs layer [2021-06-10T18:48:01.664Z] 0510c868ecb4: Pulling fs layer [2021-06-10T18:48:01.664Z] afea3b2eda06: Pulling fs layer [2021-06-10T18:48:01.664Z] 7809a108b3ef: Pulling fs layer [2021-06-10T18:48:01.664Z] f706445af74f: Pulling fs layer [2021-06-10T18:48:01.664Z] 0510c868ecb4: Waiting [2021-06-10T18:48:01.664Z] afea3b2eda06: Waiting [2021-06-10T18:48:01.664Z] 7809a108b3ef: Waiting [2021-06-10T18:48:01.665Z] f706445af74f: Waiting [2021-06-10T18:48:01.665Z] 4c4ab2625f07: Verifying Checksum [2021-06-10T18:48:01.665Z] 4c4ab2625f07: Download complete [2021-06-10T18:48:01.665Z] adcc1eea9eea: Verifying Checksum [2021-06-10T18:48:01.665Z] adcc1eea9eea: Download complete [2021-06-10T18:48:01.665Z] afea3b2eda06: Verifying Checksum [2021-06-10T18:48:01.665Z] afea3b2eda06: Download complete [2021-06-10T18:48:01.665Z] 540db60ca938: Verifying Checksum [2021-06-10T18:48:01.665Z] 540db60ca938: Download complete [2021-06-10T18:48:01.665Z] 7809a108b3ef: Verifying Checksum [2021-06-10T18:48:01.665Z] 7809a108b3ef: Download complete [2021-06-10T18:48:01.930Z] 540db60ca938: Pull complete [2021-06-10T18:48:01.930Z] adcc1eea9eea: Pull complete [2021-06-10T18:48:02.193Z] 4c4ab2625f07: Pull complete [2021-06-10T18:48:03.242Z] f706445af74f: Verifying Checksum [2021-06-10T18:48:03.242Z] f706445af74f: Download complete [2021-06-10T18:48:03.504Z] 0510c868ecb4: Verifying Checksum [2021-06-10T18:48:03.504Z] 0510c868ecb4: Download complete [2021-06-10T18:48:07.758Z] 0510c868ecb4: Pull complete [2021-06-10T18:48:07.758Z] afea3b2eda06: Pull complete [2021-06-10T18:48:07.758Z] 7809a108b3ef: Pull complete [2021-06-10T18:48:08.708Z] f706445af74f: Pull complete [2021-06-10T18:48:08.970Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-10T18:48:08.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-10T18:48:08.970Z] ---> b068be0155e3 [2021-06-10T18:48:08.970Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T18:48:14.295Z] ---> Running in 9c5df0a0c04a [2021-06-10T18:48:14.295Z] Removing intermediate container 9c5df0a0c04a [2021-06-10T18:48:14.295Z] ---> 24599f0086ba [2021-06-10T18:48:14.295Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T18:48:14.295Z] ---> Running in 1e69207ecd34 [2021-06-10T18:48:14.871Z] Removing intermediate container 1e69207ecd34 [2021-06-10T18:48:14.871Z] ---> e243b08fa73c [2021-06-10T18:48:14.871Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-10T18:48:14.871Z] ---> Running in 8633def9cb44 [2021-06-10T18:48:15.135Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T18:48:16.089Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T18:48:16.352Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-10T18:48:16.353Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-10T18:48:16.617Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-10T18:48:16.617Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-10T18:48:16.617Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-10T18:48:16.880Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-10T18:48:16.880Z] Executing busybox-1.32.1-r6.trigger [2021-06-10T18:48:16.880Z] OK: 150 MiB in 46 packages [2021-06-10T18:48:17.143Z] Removing intermediate container 8633def9cb44 [2021-06-10T18:48:17.143Z] ---> 27c2699d61ac [2021-06-10T18:48:17.143Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-10T18:48:17.408Z] ---> Running in eea4bff99234 [2021-06-10T18:48:17.409Z] Removing intermediate container eea4bff99234 [2021-06-10T18:48:17.409Z] ---> a306a37c0f48 [2021-06-10T18:48:17.409Z] Step 7/8 : COPY . . [2021-06-10T18:48:17.670Z] ---> 43f722d8add0 [2021-06-10T18:48:17.670Z] Step 8/8 : RUN go mod download [2021-06-10T18:48:17.935Z] ---> Running in 9620663e2aa7 [2021-06-10T18:48:20.163Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-10T18:48:32.887Z] Removing intermediate container 9620663e2aa7 [2021-06-10T18:48:32.887Z] ---> b67007c305a4 [2021-06-10T18:48:32.887Z] Successfully built b67007c305a4 [2021-06-10T18:48:32.887Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:48:33.200Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T18:48:33.200Z] . [Pipeline] withDockerContainer [2021-06-10T18:48:33.292Z] prd-centos7-docker-4c-2g-288 does not seem to be running inside a container [2021-06-10T18:48:33.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-x86_64 cat [2021-06-10T18:48:33.796Z] $ docker top 57f455b129b1db03e28d5ce6c5ce368a367390554723a5c8610ef5949d40a849 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T18:48:34.204Z] + go version [2021-06-10T18:48:34.204Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-10T18:48:34.212Z] $ docker stop --time=1 57f455b129b1db03e28d5ce6c5ce368a367390554723a5c8610ef5949d40a849 [2021-06-10T18:48:35.449Z] $ docker rm -f 57f455b129b1db03e28d5ce6c5ce368a367390554723a5c8610ef5949d40a849 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:48:36.090Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-10T18:48:36.090Z] . [Pipeline] withDockerContainer [2021-06-10T18:48:36.177Z] prd-centos7-docker-4c-2g-288 does not seem to be running inside a container [2021-06-10T18:48:36.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-x86_64 cat [2021-06-10T18:48:36.639Z] $ docker top 32bfd879f25b775f075c333393c074fee36ab74f38f2cbcd7ff5e93fb8e9c10d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T18:48:37.059Z] + go mod tidy [Pipeline] sh [2021-06-10T18:48:37.625Z] + make test [2021-06-10T18:48:37.625Z] go mod tidy [2021-06-10T18:48:37.899Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-10T18:48:43.330Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-10T18:49:10.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-10T18:49:10.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-10T18:49:10.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-10T18:49:10.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 25.4% of statements [2021-06-10T18:49:10.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-10T18:49:10.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements [2021-06-10T18:49:10.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.055s coverage: 78.9% of statements [2021-06-10T18:49:10.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements [2021-06-10T18:49:10.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-10T18:49:10.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-10T18:49:10.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-10T18:49:10.040Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 29.2% of statements [2021-06-10T18:49:10.040Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-10T18:49:11.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.058s coverage: 83.3% of statements [2021-06-10T18:49:11.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-10T18:49:11.435Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-10T18:49:11.435Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 58.0% of statements [2021-06-10T18:49:12.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.858s coverage: 89.2% of statements [2021-06-10T18:49:12.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-10T18:49:12.386Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 5.0% of statements [2021-06-10T18:49:12.386Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-10T18:49:12.386Z] GO111MODULE=on go vet ./... [2021-06-10T18:49:28.216Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-10T18:49:28.216Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-10T18:49:28.216Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-10T18:49:30.652Z] gofmt -l . [2021-06-10T18:49:30.652Z] [ "`gofmt -l .`" = "" ] [2021-06-10T18:49:30.652Z] ./bin/test-attribution-txt.sh [2021-06-10T18:49:30.652Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-10T18:49:30.660Z] $ docker stop --time=1 32bfd879f25b775f075c333393c074fee36ab74f38f2cbcd7ff5e93fb8e9c10d [2021-06-10T18:49:32.258Z] $ docker rm -f 32bfd879f25b775f075c333393c074fee36ab74f38f2cbcd7ff5e93fb8e9c10d [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T18:49:32.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-10T18:49:33.012Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-10T18:49:33.664Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.365s coverage: 25.4% of statements [2021-06-10T18:49:33.664Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-10T18:49:33.665Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.304s coverage: 28.1% of statements [2021-06-10T18:49:33.665Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.206s coverage: 78.9% of statements [2021-06-10T18:49:33.665Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.166s coverage: 9.0% of statements [2021-06-10T18:49:33.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-10T18:49:33.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-10T18:49:33.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-10T18:49:33.945Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.340s coverage: 29.2% of statements [2021-06-10T18:49:33.945Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [Pipeline] sh [2021-06-10T18:49:34.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-10T18:49:34.586Z] + ls -al . [2021-06-10T18:49:34.586Z] total 212 [2021-06-10T18:49:34.586Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 10 18:49 . [2021-06-10T18:49:34.586Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 10 18:47 .. [2021-06-10T18:49:34.586Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 10 18:47 bin [2021-06-10T18:49:34.586Z] -rw-r--r--. 1 jenkins jenkins 126071 Jun 10 18:49 coverage.out [2021-06-10T18:49:34.586Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 10 18:47 Dockerfile.build [2021-06-10T18:49:34.586Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 10 18:47 .dockerignore [2021-06-10T18:49:34.586Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 10 18:47 example [2021-06-10T18:49:34.586Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 10 18:47 .git [2021-06-10T18:49:34.586Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 10 18:47 .github [2021-06-10T18:49:34.586Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 10 18:47 .gitignore [2021-06-10T18:49:34.586Z] -rw-r--r--. 1 jenkins jenkins 575 Jun 10 18:49 go.mod [2021-06-10T18:49:34.586Z] -rw-r--r--. 1 jenkins jenkins 20590 Jun 10 18:48 go.sum [2021-06-10T18:49:34.586Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 10 18:47 internal [2021-06-10T18:49:34.586Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 10 18:47 Jenkinsfile [2021-06-10T18:49:34.586Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 10 18:47 LICENSE [2021-06-10T18:49:34.586Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 10 18:47 Makefile [2021-06-10T18:49:34.586Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 10 18:47 openapi [2021-06-10T18:49:34.586Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 10 18:47 pkg [2021-06-10T18:49:34.586Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 10 18:47 README.md [2021-06-10T18:49:34.586Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 10 18:47 RELEASE-NOTES.txt [2021-06-10T18:49:34.586Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 10 18:47 snap [2021-06-10T18:49:34.587Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 10 18:42 VERSION [2021-06-10T18:49:34.587Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 10 18:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:49:34.900Z] + 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=b2cac3cf576308353b07b5c785a0216e4b1b323e --label arch=amd64 --label version=0.0.0 . [2021-06-10T18:49:34.900Z] Sending build context to Docker daemon 2.784MB [2021-06-10T18:49:34.900Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T18:49:34.900Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-10T18:49:34.900Z] ---> b67007c305a4 [2021-06-10T18:49:34.900Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-10T18:49:35.162Z] ---> Running in fd62e6fb78dd [2021-06-10T18:49:35.162Z] Removing intermediate container fd62e6fb78dd [2021-06-10T18:49:35.162Z] ---> c2ea9ec0483b [2021-06-10T18:49:35.162Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T18:49:35.162Z] ---> Running in 024c3a241cbb [2021-06-10T18:49:35.162Z] Removing intermediate container 024c3a241cbb [2021-06-10T18:49:35.162Z] ---> ce2bc2d2d6f1 [2021-06-10T18:49:35.162Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T18:49:35.162Z] ---> Running in 7a0acec97a22 [2021-06-10T18:49:35.739Z] Removing intermediate container 7a0acec97a22 [2021-06-10T18:49:35.739Z] ---> 99b24b5ff9a3 [2021-06-10T18:49:35.739Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-10T18:49:35.739Z] ---> Running in 6870df14b816 [2021-06-10T18:49:36.002Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-10T18:49:36.611Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.201s coverage: 83.3% of statements [2021-06-10T18:49:36.611Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-10T18:49:36.611Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-10T18:49:36.611Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.317s coverage: 58.0% of statements [2021-06-10T18:49:36.943Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-10T18:49:37.888Z] OK: 150 MiB in 46 packages [2021-06-10T18:49:37.888Z] Removing intermediate container 6870df14b816 [2021-06-10T18:49:37.888Z] ---> a34543dea946 [2021-06-10T18:49:37.888Z] Step 7/23 : COPY . . [2021-06-10T18:49:38.462Z] ---> 5bc836cc49f1 [2021-06-10T18:49:38.462Z] Step 8/23 : RUN go mod download [2021-06-10T18:49:38.462Z] ---> Running in 9b70cabc9f4d [2021-06-10T18:49:39.041Z] Removing intermediate container 9b70cabc9f4d [2021-06-10T18:49:39.041Z] ---> ab0ea2ade47b [2021-06-10T18:49:39.041Z] Step 9/23 : RUN make build [2021-06-10T18:49:39.041Z] ---> Running in 924fa578ab5b [2021-06-10T18:49:39.307Z] go mod tidy [2021-06-10T18:49:39.578Z] 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-10T18:49:40.166Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.053s coverage: 89.2% of statements [2021-06-10T18:49:40.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-10T18:49:40.167Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.202s coverage: 5.0% of statements [2021-06-10T18:49:40.167Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-10T18:49:40.441Z] GO111MODULE=on go vet ./... [2021-06-10T18:49:49.632Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-10T18:49:51.033Z] Removing intermediate container 924fa578ab5b [2021-06-10T18:49:51.033Z] ---> 0f3211669150 [2021-06-10T18:49:51.033Z] Step 10/23 : FROM alpine:3.12 [2021-06-10T18:49:51.296Z] 3.12: Pulling from library/alpine [2021-06-10T18:49:51.296Z] 339de151aab4: Pulling fs layer [2021-06-10T18:49:51.578Z] 339de151aab4: Verifying Checksum [2021-06-10T18:49:51.578Z] 339de151aab4: Download complete [2021-06-10T18:49:51.851Z] 339de151aab4: Pull complete [2021-06-10T18:49:51.851Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-10T18:49:51.851Z] Status: Downloaded newer image for alpine:3.12 [2021-06-10T18:49:51.851Z] ---> 13621d1b12d4 [2021-06-10T18:49:51.851Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T18:49:51.851Z] ---> Running in ea09dff97263 [2021-06-10T18:49:52.115Z] Removing intermediate container ea09dff97263 [2021-06-10T18:49:52.115Z] ---> 3af8e206180e [2021-06-10T18:49:52.115Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T18:49:52.115Z] ---> Running in 98f7d011a2cb [2021-06-10T18:49:52.688Z] Removing intermediate container 98f7d011a2cb [2021-06-10T18:49:52.688Z] ---> b9d2a7104098 [2021-06-10T18:49:52.688Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-10T18:49:52.688Z] ---> Running in ef894617d45b [2021-06-10T18:49:52.688Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-10T18:49:53.630Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-10T18:49:53.892Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-10T18:49:53.892Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-10T18:49:53.892Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-10T18:49:54.834Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-10T18:49:55.408Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-10T18:49:55.408Z] Executing busybox-1.31.1-r20.trigger [2021-06-10T18:49:55.408Z] OK: 8 MiB in 19 packages [2021-06-10T18:49:55.671Z] Removing intermediate container ef894617d45b [2021-06-10T18:49:55.671Z] ---> 7c71b5e896d2 [2021-06-10T18:49:55.671Z] Step 14/23 : WORKDIR / [2021-06-10T18:49:55.671Z] ---> Running in b5a4aa8c8a99 [2021-06-10T18:49:55.671Z] Removing intermediate container b5a4aa8c8a99 [2021-06-10T18:49:55.671Z] ---> 6c5d36aac365 [2021-06-10T18:49:55.671Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-10T18:49:55.937Z] ---> 5dd9233d0971 [2021-06-10T18:49:55.937Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-10T18:49:56.511Z] ---> fcdb07b4f9f0 [2021-06-10T18:49:56.511Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-10T18:49:56.511Z] ---> c8144f4696e8 [2021-06-10T18:49:56.511Z] Step 18/23 : EXPOSE 59999 [2021-06-10T18:49:56.511Z] ---> Running in c3b19454d759 [2021-06-10T18:49:56.511Z] Removing intermediate container c3b19454d759 [2021-06-10T18:49:56.511Z] ---> a39ae7eacfba [2021-06-10T18:49:56.511Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-10T18:49:56.779Z] ---> Running in d46786238362 [2021-06-10T18:49:56.779Z] Removing intermediate container d46786238362 [2021-06-10T18:49:56.779Z] ---> 8d1f34bec412 [2021-06-10T18:49:56.779Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-10T18:49:56.779Z] ---> Running in 41d79599e45f [2021-06-10T18:49:56.779Z] Removing intermediate container 41d79599e45f [2021-06-10T18:49:56.779Z] ---> 791ca9eed13a [2021-06-10T18:49:56.779Z] Step 21/23 : LABEL arch=amd64 [2021-06-10T18:49:56.779Z] ---> Running in 249f9f6b3dd5 [2021-06-10T18:49:57.039Z] Removing intermediate container 249f9f6b3dd5 [2021-06-10T18:49:57.040Z] ---> ff5472dca36f [2021-06-10T18:49:57.040Z] Step 22/23 : LABEL git_sha=b2cac3cf576308353b07b5c785a0216e4b1b323e [2021-06-10T18:49:57.040Z] ---> Running in c31b2267d3d8 [2021-06-10T18:49:57.040Z] Removing intermediate container c31b2267d3d8 [2021-06-10T18:49:57.040Z] ---> 9331fdc0df96 [2021-06-10T18:49:57.040Z] Step 23/23 : LABEL version=0.0.0 [2021-06-10T18:49:57.040Z] ---> Running in 8c17bf7a2e30 [2021-06-10T18:49:57.302Z] Removing intermediate container 8c17bf7a2e30 [2021-06-10T18:49:57.302Z] ---> 48437fc34f79 [2021-06-10T18:49:57.302Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-10T18:49:57.302Z] Successfully built 48437fc34f79 [2021-06-10T18:49:57.302Z] 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-10T18:49:57.976Z] ---> job-cost.sh [2021-06-10T18:49:57.976Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vvu5 [2021-06-10T18:50:08.003Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T18:50:20.312Z] lf-activate-venv(): INFO: Adding /tmp/venv-vvu5/bin to PATH [2021-06-10T18:50:20.312Z] INFO: No Stack... [2021-06-10T18:50:20.591Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T18:50:21.165Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T18:50:21.468Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-06-10T18:50:21.468Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T18:50:21.502Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-960-5-stack-cost] [2021-06-10T18:50:21.512Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-960-5-stack-cost] did not exist. Created. [2021-06-10T18:50:21.512Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-960-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T18:50:21.842Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-10T18:50:21.913Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T18:50:21.930Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-960-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-10T18:50:37.078Z] gofmt -l . [2021-06-10T18:50:37.078Z] [ "`gofmt -l .`" = "" ] [2021-06-10T18:50:37.078Z] ./bin/test-attribution-txt.sh [2021-06-10T18:50:37.078Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-10T18:50:37.693Z] $ docker stop --time=1 53261e7f401ec9ab7a3968143181d3f724424233528d5cbeb38644b14cbbded5 [2021-06-10T18:50:39.942Z] $ docker rm -f 53261e7f401ec9ab7a3968143181d3f724424233528d5cbeb38644b14cbbded5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-10T18:50:41.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-10T18:50:41.040Z] Warning: overwriting stash ‘coverage-report’ [2021-06-10T18:50:41.626Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-10T18:50:42.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-10T18:50:42.608Z] + ls -al . [2021-06-10T18:50:42.608Z] total 248 [2021-06-10T18:50:42.608Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 10 18:50 . [2021-06-10T18:50:42.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 18:46 .. [2021-06-10T18:50:42.608Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 10 18:46 .dockerignore [2021-06-10T18:50:42.608Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 10 18:46 .git [2021-06-10T18:50:42.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 18:46 .github [2021-06-10T18:50:42.608Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 10 18:46 .gitignore [2021-06-10T18:50:42.608Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 10 18:46 Dockerfile.build [2021-06-10T18:50:42.608Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 10 18:46 Jenkinsfile [2021-06-10T18:50:42.608Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 10 18:46 LICENSE [2021-06-10T18:50:42.608Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 10 18:46 Makefile [2021-06-10T18:50:42.608Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 10 18:46 README.md [2021-06-10T18:50:42.608Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 10 18:46 RELEASE-NOTES.txt [2021-06-10T18:50:42.608Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 10 18:42 VERSION [2021-06-10T18:50:42.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 10 18:46 bin [2021-06-10T18:50:42.608Z] -rw-r--r-- 1 jenkins jenkins 126071 Jun 10 18:49 coverage.out [2021-06-10T18:50:42.608Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 10 18:46 example [2021-06-10T18:50:42.608Z] -rw-r--r-- 1 jenkins jenkins 575 Jun 10 18:50 go.mod [2021-06-10T18:50:42.608Z] -rw-r--r-- 1 jenkins jenkins 20590 Jun 10 18:47 go.sum [2021-06-10T18:50:42.608Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 10 18:46 internal [2021-06-10T18:50:42.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 18:46 openapi [2021-06-10T18:50:42.608Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 10 18:46 pkg [2021-06-10T18:50:42.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 10 18:46 snap [2021-06-10T18:50:42.608Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 10 18:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:50:42.973Z] + 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=a92562a85e9b6eacb7ed68bdaf40325fe44a561f --label arch=arm64 --label version=0.0.0 . [2021-06-10T18:50:43.576Z] Sending build context to Docker daemon 2.783MB [2021-06-10T18:50:43.576Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-10T18:50:43.576Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-10T18:50:43.576Z] ---> d5160d26482c [2021-06-10T18:50:43.576Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-10T18:50:43.847Z] ---> Running in 589c53312a60 [2021-06-10T18:50:44.444Z] Removing intermediate container 589c53312a60 [2021-06-10T18:50:44.444Z] ---> d9c309d851e3 [2021-06-10T18:50:44.444Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T18:50:44.444Z] ---> Running in b3917fe77853 [2021-06-10T18:50:45.040Z] Removing intermediate container b3917fe77853 [2021-06-10T18:50:45.040Z] ---> f3dfe6b3f9f7 [2021-06-10T18:50:45.040Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T18:50:45.040Z] ---> Running in 4ba8f6f1cc30 [2021-06-10T18:50:47.018Z] Removing intermediate container 4ba8f6f1cc30 [2021-06-10T18:50:47.018Z] ---> 182fa6385e7b [2021-06-10T18:50:47.018Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-10T18:50:47.018Z] ---> Running in 3b84c0be67b7 [2021-06-10T18:50:48.453Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-10T18:50:49.433Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-10T18:50:50.024Z] OK: 139 MiB in 46 packages [2021-06-10T18:50:51.007Z] Removing intermediate container 3b84c0be67b7 [2021-06-10T18:50:51.007Z] ---> ec9e12117417 [2021-06-10T18:50:51.007Z] Step 7/23 : COPY . . [2021-06-10T18:50:52.443Z] ---> d57a2ca9fc04 [2021-06-10T18:50:52.443Z] Step 8/23 : RUN go mod download [2021-06-10T18:50:52.716Z] ---> Running in 793a40805c20 [2021-06-10T18:50:55.349Z] Removing intermediate container 793a40805c20 [2021-06-10T18:50:55.349Z] ---> 540fe0bb6f42 [2021-06-10T18:50:55.349Z] Step 9/23 : RUN make build [2021-06-10T18:50:55.349Z] ---> Running in 5a84d9c93f37 [2021-06-10T18:50:56.330Z] go mod tidy [2021-06-10T18:50:56.931Z] 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-10T18:51:29.314Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-10T18:51:31.930Z] Removing intermediate container 5a84d9c93f37 [2021-06-10T18:51:31.930Z] ---> 80e01ea79d7e [2021-06-10T18:51:31.930Z] Step 10/23 : FROM alpine:3.12 [2021-06-10T18:51:33.361Z] 3.12: Pulling from library/alpine [2021-06-10T18:51:33.634Z] d2f70382dc9a: Pulling fs layer [2021-06-10T18:51:33.908Z] d2f70382dc9a: Verifying Checksum [2021-06-10T18:51:33.908Z] d2f70382dc9a: Download complete [2021-06-10T18:51:34.508Z] d2f70382dc9a: Pull complete [2021-06-10T18:51:34.508Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-10T18:51:34.508Z] Status: Downloaded newer image for alpine:3.12 [2021-06-10T18:51:34.508Z] ---> 9852663dfa18 [2021-06-10T18:51:34.508Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-10T18:51:34.781Z] ---> Running in d9cd5e7c1ab6 [2021-06-10T18:51:35.373Z] Removing intermediate container d9cd5e7c1ab6 [2021-06-10T18:51:35.373Z] ---> cb2eff72ae0c [2021-06-10T18:51:35.373Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-10T18:51:35.373Z] ---> Running in 1941529395de [2021-06-10T18:51:37.348Z] Removing intermediate container 1941529395de [2021-06-10T18:51:37.348Z] ---> 9f39f50a2af6 [2021-06-10T18:51:37.348Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-10T18:51:37.348Z] ---> Running in dcd39ab31270 [2021-06-10T18:51:38.801Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-10T18:51:39.395Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-10T18:51:39.988Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-10T18:51:39.988Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-10T18:51:40.258Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-10T18:51:40.258Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-10T18:51:40.530Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-10T18:51:40.530Z] Executing busybox-1.31.1-r20.trigger [2021-06-10T18:51:40.530Z] OK: 8 MiB in 19 packages [2021-06-10T18:51:41.961Z] Removing intermediate container dcd39ab31270 [2021-06-10T18:51:41.961Z] ---> e90583b8ac5c [2021-06-10T18:51:41.961Z] Step 14/23 : WORKDIR / [2021-06-10T18:51:41.961Z] ---> Running in 5fd03f20e7d2 [2021-06-10T18:51:42.565Z] Removing intermediate container 5fd03f20e7d2 [2021-06-10T18:51:42.565Z] ---> 56ae4429bba6 [2021-06-10T18:51:42.565Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-10T18:51:43.159Z] ---> 26d1c6e47de5 [2021-06-10T18:51:43.159Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-10T18:51:44.589Z] ---> a65fc2b20ee8 [2021-06-10T18:51:44.589Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-10T18:51:45.183Z] ---> e8e2ad8f7b5f [2021-06-10T18:51:45.183Z] Step 18/23 : EXPOSE 59999 [2021-06-10T18:51:45.456Z] ---> Running in 90f9488dbe42 [2021-06-10T18:51:46.056Z] Removing intermediate container 90f9488dbe42 [2021-06-10T18:51:46.056Z] ---> e9fa58f1cd32 [2021-06-10T18:51:46.056Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-10T18:51:46.056Z] ---> Running in 8ae76dd10d79 [2021-06-10T18:51:46.655Z] Removing intermediate container 8ae76dd10d79 [2021-06-10T18:51:46.655Z] ---> cc36db36fd63 [2021-06-10T18:51:46.655Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-10T18:51:46.655Z] ---> Running in 0a6c314cd551 [2021-06-10T18:51:47.256Z] Removing intermediate container 0a6c314cd551 [2021-06-10T18:51:47.256Z] ---> 52bbd8e1d500 [2021-06-10T18:51:47.256Z] Step 21/23 : LABEL arch=arm64 [2021-06-10T18:51:47.256Z] ---> Running in a618fc71c784 [2021-06-10T18:51:47.902Z] Removing intermediate container a618fc71c784 [2021-06-10T18:51:47.902Z] ---> 5d2a853bbe4a [2021-06-10T18:51:47.902Z] Step 22/23 : LABEL git_sha=a92562a85e9b6eacb7ed68bdaf40325fe44a561f [2021-06-10T18:51:47.902Z] ---> Running in 4846128b7368 [2021-06-10T18:51:48.520Z] Removing intermediate container 4846128b7368 [2021-06-10T18:51:48.520Z] ---> 4f73610afbcf [2021-06-10T18:51:48.520Z] Step 23/23 : LABEL version=0.0.0 [2021-06-10T18:51:48.520Z] ---> Running in c3ea82cb045b [2021-06-10T18:51:49.132Z] Removing intermediate container c3ea82cb045b [2021-06-10T18:51:49.132Z] ---> b2f76e3f7609 [2021-06-10T18:51:49.132Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-10T18:51:49.132Z] Successfully built b2f76e3f7609 [2021-06-10T18:51:49.132Z] 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-10T18:51:49.781Z] ---> job-cost.sh [2021-06-10T18:51:49.781Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8CBI [2021-06-10T18:52:28.758Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-10T18:54:05.586Z] lf-activate-venv(): INFO: Adding /tmp/venv-8CBI/bin to PATH [2021-06-10T18:54:05.586Z] INFO: No Stack... [2021-06-10T18:54:05.586Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-10T18:54:05.586Z] INFO: Archiving Costs [Pipeline] sh [2021-06-10T18:54:05.929Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-06-10T18:54:05.929Z] + cut -d, -f6 [Pipeline] lock [2021-06-10T18:54:05.993Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-960-5-stack-cost] [2021-06-10T18:54:06.013Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-960-5-stack-cost] did not exist. Created. [2021-06-10T18:54:06.013Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-960-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-10T18:54:06.414Z] /w/workspace/device-sdk-go/5@tmp/durable-4a116a39/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-4a116a39/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-10T18:54:06.760Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-10T18:54:06.780Z] Warning: overwriting stash ‘stack-cost’ [2021-06-10T18:54:06.935Z] Stashed 1 file(s) [Pipeline] } [2021-06-10T18:54:06.952Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-960-5-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-10T18:54:07.563Z] provisioning config files... [2021-06-10T18:54:07.573Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config8645331294546192825tmp [Pipeline] { [Pipeline] sh [2021-06-10T18:54:07.900Z] + set +x [2021-06-10T18:54:07.900Z] + curl -s https://codecov.io/bash [2021-06-10T18:54:07.900Z] + bash -s -- [2021-06-10T18:54:07.900Z] [2021-06-10T18:54:07.900Z] _____ _ [2021-06-10T18:54:07.900Z] / ____| | | [2021-06-10T18:54:07.900Z] | | ___ __| | ___ ___ _____ __ [2021-06-10T18:54:07.900Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-10T18:54:07.900Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-10T18:54:07.900Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-10T18:54:07.900Z] Bash-1.0.3 [2021-06-10T18:54:07.900Z] [2021-06-10T18:54:07.900Z] [2021-06-10T18:54:07.900Z] ==> git version 2.24.4 found [2021-06-10T18:54:07.900Z] ==> 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-10T18:54:07.900Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-10T18:54:07.900Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-10T18:54:07.900Z] ==> Jenkins CI detected. [2021-06-10T18:54:07.900Z] project root: . [2021-06-10T18:54:07.900Z] --> token set from env [2021-06-10T18:54:07.900Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-10T18:54:07.900Z] ==> Running gcov in . (disable via -X gcov) [2021-06-10T18:54:07.900Z] ==> Python coveragepy not found [2021-06-10T18:54:07.900Z] ==> Searching for coverage reports in: [2021-06-10T18:54:07.900Z] + . [2021-06-10T18:54:07.900Z] -> Found 1 reports [2021-06-10T18:54:07.900Z] ==> Detecting git/mercurial file structure [2021-06-10T18:54:07.900Z] ==> Reading reports [2021-06-10T18:54:07.900Z] + ./coverage.out bytes=126071 [2021-06-10T18:54:07.900Z] ==> Appending adjustments [2021-06-10T18:54:07.900Z] https://docs.codecov.io/docs/fixing-reports [2021-06-10T18:54:08.164Z] + Found adjustments [2021-06-10T18:54:08.164Z] ==> Gzipping contents [2021-06-10T18:54:08.164Z] 20K /tmp/codecov.PrcNvo.gz [2021-06-10T18:54:08.164Z] ==> Uploading reports [2021-06-10T18:54:08.164Z] url: https://codecov.io [2021-06-10T18:54:08.164Z] query: branch=PR-960&commit=c29f8ad2eba044ae2580f02623e7dec90ed6731b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-960%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=960&job=&cmd_args= [2021-06-10T18:54:08.425Z] -> Pinging Codecov [2021-06-10T18:54:08.425Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-960&commit=c29f8ad2eba044ae2580f02623e7dec90ed6731b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-960%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=960&job=&cmd_args= [2021-06-10T18:54:08.688Z] -> Uploading to [2021-06-10T18:54:08.688Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-10/7E55EF52A471D76F132DFD9A03CDDE97/c29f8ad2eba044ae2580f02623e7dec90ed6731b/c11200e5-f6b6-4660-a941-96ec0ad3484a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210610%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210610T185408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2cd080f6d72c5103939ea815ce527b7132a3b265fa9292d2d4adcbeeee7f144a [2021-06-10T18:54:08.688Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-10T18:54:08.688Z] Dload Upload Total Spent Left Speed [2021-06-10T18:54:09.260Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16438 0 0 100 16438 0 44930 --:--:-- --:--:-- --:--:-- 45035 [2021-06-10T18:54:09.260Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c29f8ad2eba044ae2580f02623e7dec90ed6731b [Pipeline] } [2021-06-10T18:54:09.268Z] 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-10T18:54:10.759Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:54:11.324Z] ---> package-listing.sh [2021-06-10T18:54:11.324Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-10T18:54:11.324Z] ++ facter osfamily [2021-06-10T18:54:11.587Z] + OS_FAMILY=redhat [2021-06-10T18:54:11.587Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-960 [2021-06-10T18:54:11.587Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-10T18:54:11.587Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-10T18:54:11.587Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-10T18:54:11.587Z] + PACKAGES=/tmp/packages_start.txt [2021-06-10T18:54:11.587Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-960 ']' [2021-06-10T18:54:11.587Z] + PACKAGES=/tmp/packages_end.txt [2021-06-10T18:54:11.587Z] + case "${OS_FAMILY}" in [2021-06-10T18:54:11.587Z] + rpm -qa [2021-06-10T18:54:11.587Z] + sort [2021-06-10T18:54:12.159Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-10T18:54:12.159Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-10T18:54:12.159Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-10T18:54:12.159Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-960 ']' [2021-06-10T18:54:12.159Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-960/archives/ [2021-06-10T18:54:12.159Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-960/archives/ [Pipeline] echo [2021-06-10T18:54:12.173Z] 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-960/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-10T18:54:12.464Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:54:13.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T18:54:13.032Z] [2021-06-10T18:54:13.032Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-10T18:54:13.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T18:54:13.350Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-10T18:54:13.350Z] df20fa9351a1: Pulling fs layer [2021-06-10T18:54:13.350Z] 36b3adc4ff6f: Pulling fs layer [2021-06-10T18:54:13.350Z] 8ad3a11d3b57: Pulling fs layer [2021-06-10T18:54:13.350Z] 46f8f816bc3b: Pulling fs layer [2021-06-10T18:54:13.350Z] 93b61091891f: Pulling fs layer [2021-06-10T18:54:13.350Z] 93b9cdb0e59b: Pulling fs layer [2021-06-10T18:54:13.350Z] 5e14af77c1be: Pulling fs layer [2021-06-10T18:54:13.350Z] 01666e4c0597: Pulling fs layer [2021-06-10T18:54:13.350Z] aa168da1d23b: Pulling fs layer [2021-06-10T18:54:13.350Z] 46f8f816bc3b: Waiting [2021-06-10T18:54:13.350Z] 5e14af77c1be: Waiting [2021-06-10T18:54:13.350Z] 01666e4c0597: Waiting [2021-06-10T18:54:13.350Z] 93b61091891f: Waiting [2021-06-10T18:54:13.350Z] aa168da1d23b: Waiting [2021-06-10T18:54:13.350Z] 93b9cdb0e59b: Waiting [2021-06-10T18:54:13.350Z] 36b3adc4ff6f: Verifying Checksum [2021-06-10T18:54:13.350Z] 36b3adc4ff6f: Download complete [2021-06-10T18:54:13.350Z] 46f8f816bc3b: Verifying Checksum [2021-06-10T18:54:13.350Z] 46f8f816bc3b: Download complete [2021-06-10T18:54:13.350Z] df20fa9351a1: Verifying Checksum [2021-06-10T18:54:13.350Z] df20fa9351a1: Download complete [2021-06-10T18:54:13.614Z] 93b9cdb0e59b: Verifying Checksum [2021-06-10T18:54:13.614Z] 93b9cdb0e59b: Download complete [2021-06-10T18:54:13.614Z] 5e14af77c1be: Verifying Checksum [2021-06-10T18:54:13.614Z] 5e14af77c1be: Download complete [2021-06-10T18:54:13.614Z] 93b61091891f: Verifying Checksum [2021-06-10T18:54:13.614Z] 93b61091891f: Download complete [2021-06-10T18:54:13.614Z] df20fa9351a1: Pull complete [2021-06-10T18:54:13.614Z] 8ad3a11d3b57: Verifying Checksum [2021-06-10T18:54:13.614Z] 8ad3a11d3b57: Download complete [2021-06-10T18:54:13.877Z] 36b3adc4ff6f: Pull complete [2021-06-10T18:54:14.456Z] 8ad3a11d3b57: Pull complete [2021-06-10T18:54:14.456Z] 46f8f816bc3b: Pull complete [2021-06-10T18:54:14.716Z] 01666e4c0597: Verifying Checksum [2021-06-10T18:54:14.716Z] 01666e4c0597: Download complete [2021-06-10T18:54:14.716Z] 93b61091891f: Pull complete [2021-06-10T18:54:14.716Z] 93b9cdb0e59b: Pull complete [2021-06-10T18:54:14.979Z] 5e14af77c1be: Pull complete [2021-06-10T18:54:14.979Z] 01666e4c0597: Pull complete [2021-06-10T18:54:15.553Z] aa168da1d23b: Verifying Checksum [2021-06-10T18:54:15.553Z] aa168da1d23b: Download complete [2021-06-10T18:54:19.814Z] aa168da1d23b: Pull complete [2021-06-10T18:54:19.814Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-10T18:54:19.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-10T18:54:19.814Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-10T18:54:19.891Z] prd-centos7-docker-4c-2g-283 does not seem to be running inside a container [2021-06-10T18:54:19.928Z] $ 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-960/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-960 -v /w/workspace/dgexfoundry_device-sdk-go_PR-960:/w/workspace/dgexfoundry_device-sdk-go_PR-960:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-960@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-10T18:54:22.044Z] $ docker top 1cdc86954aad05e81e6e9312ab9da4968ef6f226cdba1a3957a7b6064db02adf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-10T18:54:22.437Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-10T18:54:22.763Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-10T18:54:23.069Z] + ls /var/log/sa-host [2021-06-10T18:54:23.070Z] + sadf -c /var/log/sa-host/sa05 [2021-06-10T18:54:23.070Z] file_magic: OK [2021-06-10T18:54:23.070Z] HZ: Using current value: 100 [2021-06-10T18:54:23.070Z] file_header: OK [2021-06-10T18:54:23.070Z] 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-10T18:54:23.070Z] Statistics: [2021-06-10T18:54:23.070Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-10T18:54:23.070Z] File successfully converted to sysstat format version 12.2.1 [2021-06-10T18:54:23.070Z] + sadf -c /var/log/sa-host/sa10 [2021-06-10T18:54:23.070Z] file_magic: OK [2021-06-10T18:54:23.070Z] HZ: Using current value: 100 [2021-06-10T18:54:23.070Z] file_header: OK [2021-06-10T18:54:23.070Z] 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-10T18:54:23.070Z] Statistics: [2021-06-10T18:54:23.070Z] 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-10T18:54:23.070Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-10T18:54:23.377Z] provisioning config files... [2021-06-10T18:54:23.390Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-960@tmp/config9209206406195231815tmp [Pipeline] { [Pipeline] echo [2021-06-10T18:54:23.414Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:54:23.716Z] ---> create-netrc.sh [Pipeline] } [2021-06-10T18:54:23.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:54:24.090Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-10T18:54:24.101Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:54:24.405Z] ---> sudo-logs.sh [2021-06-10T18:54:24.405Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-10T18:54:24.433Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:54:24.748Z] ---> job-cost.sh [2021-06-10T18:54:24.748Z] lf-activate-venv: SKIPPING [2021-06-10T18:54:24.748Z] DEBUG: total: 0.18000000715255737 [2021-06-10T18:54:24.749Z] INFO: Retrieving Stack Cost... [2021-06-10T18:54:25.693Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-10T18:54:26.265Z] INFO: Archiving Costs [Pipeline] echo [2021-06-10T18:54:26.279Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-10T18:54:26.575Z] ---> logs-deploy.sh [2021-06-10T18:54:26.575Z] lf-activate-venv: SKIPPING [2021-06-10T18:54:26.575Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-960/5 [2021-06-10T18:54:26.575Z] INFO: archiving workspace using pattern(s): [2021-06-10T18:54:27.526Z] Archives upload complete. [2021-06-10T18:54:27.526Z] INFO: archiving logs to Nexus