lenny-intel commented: recheck Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1880e37e39852ac8f938d3fb2206a2cdd1184e98+a3df5a9219cebd743c534ea7ba05fe82cddb65a8 (324994d5a61d64f33eaf3f1db9475fd6e7ef5d26) 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-ssh2190672639788535186.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh435132095568433286.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 9d0281235b943b7ad605f650702698f9078b2862 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-936/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-936/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1620195704342604260.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh5669021089254490615.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-936/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-936/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2504677407760817855.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15321 in /w/workspace/dgexfoundry_device-sdk-go_PR-936 [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-936 # 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-936@tmp/jenkins-gitclient-ssh7970683763414892330.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit a3df5a9219cebd743c534ea7ba05fe82cddb65a8 into PR head commit 1880e37e39852ac8f938d3fb2206a2cdd1184e98 Merge succeeded, producing 1880e37e39852ac8f938d3fb2206a2cdd1184e98 Checking out Revision 1880e37e39852ac8f938d3fb2206a2cdd1184e98 (PR-936) > 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-936@tmp/jenkins-gitclient-ssh6197177695823763537.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/936/head:refs/remotes/origin/PR-936 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1880e37e39852ac8f938d3fb2206a2cdd1184e98 # 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-936@tmp/jenkins-gitclient-ssh6183346811652127307.key > git merge a3df5a9219cebd743c534ea7ba05fe82cddb65a8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1880e37e39852ac8f938d3fb2206a2cdd1184e98 # timeout=10 Commit message: "refactor: Update to assign and uses new Port Assignments" > git rev-list --no-walk 1880e37e39852ac8f938d3fb2206a2cdd1184e98 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-20T15:39:18.182Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-20T15:39:18.278Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-20T15:39:18.305Z] ========================================================= [2021-05-20T15:39:18.305Z] EdgeX Global Pipelines Version Info [2021-05-20T15:39:18.305Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-20T15:39:19.756Z] ------------------- [2021-05-20T15:39:19.756Z] stable info: [2021-05-20T15:39:19.756Z] ------------------- [2021-05-20T15:39:19.756Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-20T15:39:19.756Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T15:39:19.756Z] Message: update stable to v1.0.192 [2021-05-20T15:39:20.334Z] ------------------- [2021-05-20T15:39:20.334Z] experimental info: [2021-05-20T15:39:20.334Z] ------------------- [2021-05-20T15:39:20.334Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-20T15:39:20.334Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T15:39:20.334Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-20T15:39:20.468Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-20T15:39:20.491Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-20T15:39:20.514Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-20T15:39:20.537Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-20T15:39:20.560Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-20T15:39:20.583Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-20T15:39:20.605Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-20T15:39:20.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-20T15:39:20.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-20T15:39:20.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-20T15:39:20.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-20T15:39:20.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-20T15:39:20.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-20T15:39:20.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-20T15:39:20.816Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T15:39:20.839Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T15:39:20.862Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T15:39:20.886Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T15:39:20.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-20T15:39:20.932Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-20T15:39:20.955Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-20T15:39:20.978Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-20T15:39:21.003Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-20T15:39:21.028Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-20T15:39:21.054Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-20T15:39:21.080Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-20T15:39:21.106Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-936 [Pipeline] echo [2021-05-20T15:39:21.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-936 [Pipeline] echo [2021-05-20T15:39:21.192Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-936 [Pipeline] echo [2021-05-20T15:39:21.217Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1880e37e39852ac8f938d3fb2206a2cdd1184e98 [Pipeline] echo [2021-05-20T15:39:21.242Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1880e37 [Pipeline] echo [2021-05-20T15:39:21.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T15:39:21.340Z] provisioning config files... [2021-05-20T15:39:21.372Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/config7439680167854992290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T15:39:21.707Z] ---> docker-login.sh [2021-05-20T15:39:21.707Z] nexus3.edgexfoundry.org:10001 [2021-05-20T15:39:22.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:39:22.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:39:22.292Z] Configure a credential helper to remove this warning. See [2021-05-20T15:39:22.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:39:22.292Z] [2021-05-20T15:39:22.292Z] Login Succeeded [2021-05-20T15:39:22.292Z] nexus3.edgexfoundry.org:10002 [2021-05-20T15:39:22.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:39:22.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:39:22.557Z] Configure a credential helper to remove this warning. See [2021-05-20T15:39:22.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:39:22.557Z] [2021-05-20T15:39:22.557Z] Login Succeeded [2021-05-20T15:39:22.557Z] nexus3.edgexfoundry.org:10003 [2021-05-20T15:39:22.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:39:22.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:39:22.557Z] Configure a credential helper to remove this warning. See [2021-05-20T15:39:22.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:39:22.557Z] [2021-05-20T15:39:22.557Z] Login Succeeded [2021-05-20T15:39:22.557Z] nexus3.edgexfoundry.org:10004 [2021-05-20T15:39:22.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:39:22.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:39:22.820Z] Configure a credential helper to remove this warning. See [2021-05-20T15:39:22.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:39:22.820Z] [2021-05-20T15:39:22.820Z] Login Succeeded [2021-05-20T15:39:22.820Z] docker.io [2021-05-20T15:39:22.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:39:23.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:39:23.083Z] Configure a credential helper to remove this warning. See [2021-05-20T15:39:23.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:39:23.083Z] [2021-05-20T15:39:23.083Z] Login Succeeded [2021-05-20T15:39:23.083Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T15:39:23.094Z] 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-05-20T15:39:23.654Z] + git log --format=format:%s -1 1880e37e39852ac8f938d3fb2206a2cdd1184e98 [Pipeline] echo [2021-05-20T15:39:23.706Z] GIT_COMMIT: 1880e37e39852ac8f938d3fb2206a2cdd1184e98, Commit Message: refactor: Update to assign and uses new Port Assignments [Pipeline] echo [2021-05-20T15:39:23.720Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-20T15:39:24.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T15:39:24.339Z] [2021-05-20T15:39:24.339Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T15:39:24.657Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T15:39:24.658Z] latest: Pulling from edgex-devops/git-semver [2021-05-20T15:39:24.658Z] 31603596830f: Pulling fs layer [2021-05-20T15:39:24.658Z] 54011a49482f: Pulling fs layer [2021-05-20T15:39:24.658Z] a6820b24f6d8: Pulling fs layer [2021-05-20T15:39:24.658Z] f581987b2513: Pulling fs layer [2021-05-20T15:39:24.658Z] f581987b2513: Waiting [2021-05-20T15:39:24.658Z] 54011a49482f: Verifying Checksum [2021-05-20T15:39:24.658Z] 54011a49482f: Download complete [2021-05-20T15:39:24.927Z] 31603596830f: Verifying Checksum [2021-05-20T15:39:24.927Z] 31603596830f: Download complete [2021-05-20T15:39:24.927Z] f581987b2513: Verifying Checksum [2021-05-20T15:39:24.927Z] f581987b2513: Download complete [2021-05-20T15:39:24.927Z] a6820b24f6d8: Verifying Checksum [2021-05-20T15:39:24.927Z] a6820b24f6d8: Download complete [2021-05-20T15:39:25.190Z] 31603596830f: Pull complete [2021-05-20T15:39:25.190Z] 54011a49482f: Pull complete [2021-05-20T15:39:26.160Z] a6820b24f6d8: Pull complete [2021-05-20T15:39:26.160Z] f581987b2513: Pull complete [2021-05-20T15:39:26.160Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-20T15:39:26.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T15:39:26.160Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-20T15:39:26.258Z] prd-centos7-docker-4c-2g-15321 does not seem to be running inside a container [2021-05-20T15:39:26.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-936 -v /w/workspace/dgexfoundry_device-sdk-go_PR-936:/w/workspace/dgexfoundry_device-sdk-go_PR-936:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T15:39:27.752Z] $ docker top 01999e0d8f75935fe0e89191b9e484b68cb41c0fe16ac66e78fd1d024cc08381 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T15:39:27.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T15:39:27.887Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T15:39:28.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T15:39:28.017Z] $ docker exec 01999e0d8f75935fe0e89191b9e484b68cb41c0fe16ac66e78fd1d024cc08381 ssh-agent [2021-05-20T15:39:28.135Z] SSH_AUTH_SOCK=/tmp/ssh-zP2Cj3CcdXBW/agent.14 [2021-05-20T15:39:28.135Z] SSH_AGENT_PID=20 [2021-05-20T15:39:28.144Z] Running ssh-add (command line suppressed) [2021-05-20T15:39:28.252Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/private_key_3755174952390709964.key (/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/private_key_3755174952390709964.key) [2021-05-20T15:39:28.268Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T15:39:28.575Z] + git tag --points-at HEAD [Pipeline] } [2021-05-20T15:39:28.600Z] $ docker exec --env ******** --env ******** 01999e0d8f75935fe0e89191b9e484b68cb41c0fe16ac66e78fd1d024cc08381 ssh-agent -k [2021-05-20T15:39:28.703Z] unset SSH_AUTH_SOCK; [2021-05-20T15:39:28.703Z] unset SSH_AGENT_PID; [2021-05-20T15:39:28.703Z] echo Agent pid 20 killed; [2021-05-20T15:39:28.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-20T15:39:28.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T15:39:28.758Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T15:39:28.878Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T15:39:28.882Z] $ docker exec 01999e0d8f75935fe0e89191b9e484b68cb41c0fe16ac66e78fd1d024cc08381 ssh-agent [2021-05-20T15:39:29.017Z] SSH_AUTH_SOCK=/tmp/ssh-Buc4WRLTvtZW/agent.54 [2021-05-20T15:39:29.017Z] SSH_AGENT_PID=61 [2021-05-20T15:39:29.023Z] Running ssh-add (command line suppressed) [2021-05-20T15:39:29.143Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/private_key_5018459164220066035.key (/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/private_key_5018459164220066035.key) [2021-05-20T15:39:29.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T15:39:29.469Z] + git semver init [2021-05-20T15:39:29.469Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T15:39:29.469Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-936/.git [2021-05-20T15:39:29.469Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-936 [2021-05-20T15:39:29.469Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T15:39:29.469Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T15:39:29.469Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T15:39:29.469Z] # $SEMVER_BRANCH = PR-936 [2021-05-20T15:39:29.469Z] # $SEMVER_TEMP = /tmp/semver-918665593 [2021-05-20T15:39:29.469Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-20T15:39:30.420Z] # '/tmp/semver-918665593' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-936/.semver' [2021-05-20T15:39:30.420Z] # -> Force: false [2021-05-20T15:39:30.420Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-936/.semver [Pipeline] } [2021-05-20T15:39:30.437Z] $ docker exec --env ******** --env ******** 01999e0d8f75935fe0e89191b9e484b68cb41c0fe16ac66e78fd1d024cc08381 ssh-agent -k [2021-05-20T15:39:30.560Z] unset SSH_AUTH_SOCK; [2021-05-20T15:39:30.561Z] unset SSH_AGENT_PID; [2021-05-20T15:39:30.562Z] echo Agent pid 61 killed; [2021-05-20T15:39:30.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T15:39:30.921Z] + git semver [Pipeline] } [2021-05-20T15:39:30.939Z] $ docker stop --time=1 01999e0d8f75935fe0e89191b9e484b68cb41c0fe16ac66e78fd1d024cc08381 [2021-05-20T15:39:32.506Z] $ docker rm -f 01999e0d8f75935fe0e89191b9e484b68cb41c0fe16ac66e78fd1d024cc08381 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T15:39:32.891Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-20T15:39:33.202Z] Stashed 1 file(s) [Pipeline] echo [2021-05-20T15:39:33.206Z] [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-05-20T15:39:48.446Z] Still waiting to schedule task [2021-05-20T15:39:48.446Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-20T15:39:48.449Z] Still waiting to schedule task [2021-05-20T15:39:48.450Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-15320’ [2021-05-20T15:42:21.717Z] Running on prd-centos7-docker-4c-2g-15322 in /w/workspace/dgexfoundry_device-sdk-go_PR-936 [Pipeline] { [Pipeline] ws [2021-05-20T15:42:21.738Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-05-20T15:42:21.847Z] Selected Git installation does not exist. Using Default [2021-05-20T15:42:21.847Z] The recommended git tool is: NONE [2021-05-20T15:42:24.131Z] using credential edgex-jenkins-ssh [2021-05-20T15:42:24.153Z] Cloning the remote Git repository [2021-05-20T15:42:23.833Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T15:42:23.904Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-05-20T15:42:23.928Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T15:42:23.929Z] > git --version # timeout=10 [2021-05-20T15:42:23.936Z] > git --version # 'git version 2.24.4' [2021-05-20T15:42:23.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T15:42:23.958Z] [INFO] Currently running in a labeled security context [2021-05-20T15:42:23.958Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T15:42:23.958Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh2343533191852548039.key [2021-05-20T15:42:23.977Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T15:42:24.729Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-20T15:42:24.738Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T15:42:24.749Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-20T15:42:24.757Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T15:42:24.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T15:42:24.758Z] [INFO] Currently running in a labeled security context [2021-05-20T15:42:24.758Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T15:42:24.758Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh7856922075493942411.key [2021-05-20T15:42:24.763Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/936/head:refs/remotes/origin/PR-936 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T15:42:25.508Z] Merging remotes/origin/master commit a3df5a9219cebd743c534ea7ba05fe82cddb65a8 into PR head commit 1880e37e39852ac8f938d3fb2206a2cdd1184e98 [2021-05-20T15:42:25.604Z] Merge succeeded, producing 1880e37e39852ac8f938d3fb2206a2cdd1184e98 [2021-05-20T15:42:25.605Z] Checking out Revision 1880e37e39852ac8f938d3fb2206a2cdd1184e98 (PR-936) [2021-05-20T15:42:25.291Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T15:42:25.305Z] > git checkout -f 1880e37e39852ac8f938d3fb2206a2cdd1184e98 # timeout=10 [2021-05-20T15:42:25.348Z] > git remote # timeout=10 [2021-05-20T15:42:25.354Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T15:42:25.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T15:42:25.360Z] [INFO] Currently running in a labeled security context [2021-05-20T15:42:25.360Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T15:42:25.360Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/5@tmp/jenkins-gitclient-ssh1330521068558034220.key [2021-05-20T15:42:25.369Z] > git merge a3df5a9219cebd743c534ea7ba05fe82cddb65a8 # timeout=10 [2021-05-20T15:42:25.378Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T15:42:25.387Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T15:42:25.393Z] > git checkout -f 1880e37e39852ac8f938d3fb2206a2cdd1184e98 # timeout=10 [2021-05-20T15:42:28.983Z] Commit message: "refactor: Update to assign and uses new Port Assignments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T15:42:30.206Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-20T15:42:30.526Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T15:42:30.821Z] + true [2021-05-20T15:42:30.822Z] + sudo service docker restart [2021-05-20T15:42:30.822Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T15:42:48.991Z] provisioning config files... [2021-05-20T15:42:49.005Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config4145289153533437097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T15:42:49.345Z] ---> docker-login.sh [2021-05-20T15:42:49.345Z] nexus3.edgexfoundry.org:10001 [2021-05-20T15:42:49.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:42:49.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:42:49.608Z] Configure a credential helper to remove this warning. See [2021-05-20T15:42:49.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:42:49.608Z] [2021-05-20T15:42:49.608Z] Login Succeeded [2021-05-20T15:42:49.608Z] nexus3.edgexfoundry.org:10002 [2021-05-20T15:42:49.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:42:49.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:42:49.608Z] Configure a credential helper to remove this warning. See [2021-05-20T15:42:49.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:42:49.608Z] [2021-05-20T15:42:49.608Z] Login Succeeded [2021-05-20T15:42:49.608Z] nexus3.edgexfoundry.org:10003 [2021-05-20T15:42:49.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:42:49.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:42:49.870Z] Configure a credential helper to remove this warning. See [2021-05-20T15:42:49.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:42:49.870Z] [2021-05-20T15:42:49.870Z] Login Succeeded [2021-05-20T15:42:49.870Z] nexus3.edgexfoundry.org:10004 [2021-05-20T15:42:49.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:42:49.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:42:49.871Z] Configure a credential helper to remove this warning. See [2021-05-20T15:42:49.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:42:49.871Z] [2021-05-20T15:42:49.871Z] Login Succeeded [2021-05-20T15:42:49.871Z] docker.io [2021-05-20T15:42:50.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:42:50.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:42:50.394Z] Configure a credential helper to remove this warning. See [2021-05-20T15:42:50.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:42:50.394Z] [2021-05-20T15:42:50.394Z] Login Succeeded [2021-05-20T15:42:50.394Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T15:42:50.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T15:42:50.592Z] ========================================================= [2021-05-20T15:42:50.592Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-20T15:42:50.592Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T15:42:50.909Z] + 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-05-20T15:42:50.909Z] Sending build context to Docker daemon 2.605MB [2021-05-20T15:42:50.909Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T15:42:50.909Z] Step 2/8 : FROM ${BASE} [2021-05-20T15:42:51.173Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-20T15:42:51.173Z] 540db60ca938: Pulling fs layer [2021-05-20T15:42:51.173Z] adcc1eea9eea: Pulling fs layer [2021-05-20T15:42:51.173Z] 4c4ab2625f07: Pulling fs layer [2021-05-20T15:42:51.173Z] 0510c868ecb4: Pulling fs layer [2021-05-20T15:42:51.173Z] afea3b2eda06: Pulling fs layer [2021-05-20T15:42:51.173Z] 7809a108b3ef: Pulling fs layer [2021-05-20T15:42:51.173Z] f706445af74f: Pulling fs layer [2021-05-20T15:42:51.173Z] 0510c868ecb4: Waiting [2021-05-20T15:42:51.173Z] afea3b2eda06: Waiting [2021-05-20T15:42:51.173Z] 7809a108b3ef: Waiting [2021-05-20T15:42:51.173Z] f706445af74f: Waiting [2021-05-20T15:42:51.173Z] 4c4ab2625f07: Verifying Checksum [2021-05-20T15:42:51.173Z] 4c4ab2625f07: Download complete [2021-05-20T15:42:51.173Z] adcc1eea9eea: Verifying Checksum [2021-05-20T15:42:51.173Z] adcc1eea9eea: Download complete [2021-05-20T15:42:51.173Z] afea3b2eda06: Verifying Checksum [2021-05-20T15:42:51.173Z] afea3b2eda06: Download complete [2021-05-20T15:42:51.173Z] 540db60ca938: Verifying Checksum [2021-05-20T15:42:51.173Z] 540db60ca938: Download complete [2021-05-20T15:42:51.173Z] 7809a108b3ef: Verifying Checksum [2021-05-20T15:42:51.173Z] 7809a108b3ef: Download complete [2021-05-20T15:42:51.173Z] 540db60ca938: Pull complete [2021-05-20T15:42:51.435Z] adcc1eea9eea: Pull complete [2021-05-20T15:42:51.435Z] 4c4ab2625f07: Pull complete [2021-05-20T15:42:52.821Z] f706445af74f: Verifying Checksum [2021-05-20T15:42:52.821Z] f706445af74f: Download complete [2021-05-20T15:42:53.391Z] 0510c868ecb4: Verifying Checksum [2021-05-20T15:42:53.391Z] 0510c868ecb4: Download complete [2021-05-20T15:42:56.717Z] 0510c868ecb4: Pull complete [2021-05-20T15:42:56.717Z] afea3b2eda06: Pull complete [2021-05-20T15:42:56.717Z] 7809a108b3ef: Pull complete [2021-05-20T15:42:58.132Z] f706445af74f: Pull complete [2021-05-20T15:42:58.132Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-20T15:42:58.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-20T15:42:58.132Z] ---> b068be0155e3 [2021-05-20T15:42:58.132Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T15:43:01.444Z] ---> Running in 2753b30e0fbb [2021-05-20T15:43:01.707Z] Removing intermediate container 2753b30e0fbb [2021-05-20T15:43:01.707Z] ---> f1576b067ddb [2021-05-20T15:43:01.707Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T15:43:01.707Z] ---> Running in 7d4471879e6d [2021-05-20T15:43:02.280Z] Removing intermediate container 7d4471879e6d [2021-05-20T15:43:02.280Z] ---> 3067d5f6804a [2021-05-20T15:43:02.280Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-20T15:43:02.280Z] ---> Running in 77e06519fd3c [2021-05-20T15:43:02.543Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T15:43:03.487Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T15:43:03.750Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-20T15:43:04.011Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-20T15:43:04.011Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-20T15:43:04.011Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-20T15:43:04.274Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-20T15:43:04.274Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-20T15:43:04.274Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T15:43:04.274Z] OK: 150 MiB in 46 packages [2021-05-20T15:43:04.851Z] Removing intermediate container 77e06519fd3c [2021-05-20T15:43:04.851Z] ---> 66febbeefe1d [2021-05-20T15:43:04.851Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-20T15:43:04.851Z] ---> Running in 31489af9d509 [2021-05-20T15:43:04.851Z] Removing intermediate container 31489af9d509 [2021-05-20T15:43:04.851Z] ---> 6815e9398d0b [2021-05-20T15:43:04.851Z] Step 7/8 : COPY . . [2021-05-20T15:43:05.114Z] ---> 7cbb0b0bbf84 [2021-05-20T15:43:05.114Z] Step 8/8 : RUN go mod download [2021-05-20T15:43:05.114Z] ---> Running in 4f251fe25086 [2021-05-20T15:43:17.427Z] Removing intermediate container 4f251fe25086 [2021-05-20T15:43:17.427Z] ---> 7b1bbdac43c1 [2021-05-20T15:43:17.427Z] Successfully built 7b1bbdac43c1 [2021-05-20T15:43:17.427Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T15:43:17.765Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T15:43:17.765Z] . [Pipeline] withDockerContainer [2021-05-20T15:43:17.858Z] prd-centos7-docker-4c-2g-15322 does not seem to be running inside a container [2021-05-20T15:43:17.901Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T15:43:18.261Z] $ docker top 4a1d5f69c79a23c2a1d2033dda1d8e712396790206352fa182d5334ebb30caee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T15:43:18.645Z] + go version [2021-05-20T15:43:18.645Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-20T15:43:18.657Z] $ docker stop --time=1 4a1d5f69c79a23c2a1d2033dda1d8e712396790206352fa182d5334ebb30caee [2021-05-20T15:43:19.830Z] $ docker rm -f 4a1d5f69c79a23c2a1d2033dda1d8e712396790206352fa182d5334ebb30caee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T15:43:20.470Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T15:43:20.470Z] . [Pipeline] withDockerContainer [2021-05-20T15:43:20.547Z] prd-centos7-docker-4c-2g-15322 does not seem to be running inside a container [2021-05-20T15:43:20.589Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T15:43:20.971Z] $ docker top b0f0688bae90c667bdef6d47a5416e4d2cf3dbeeeff7e8e502520dc4534108f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T15:43:21.413Z] + go mod tidy [Pipeline] sh [2021-05-20T15:43:22.087Z] + make test [2021-05-20T15:43:22.087Z] go mod tidy [2021-05-20T15:43:22.087Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-20T15:43:27.797Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-20T15:43:35.274Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15323 in /w/workspace/dgexfoundry_device-sdk-go_PR-936 [Pipeline] { [Pipeline] ws [2021-05-20T15:43:35.295Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-05-20T15:43:35.524Z] Selected Git installation does not exist. Using Default [2021-05-20T15:43:35.524Z] The recommended git tool is: NONE [2021-05-20T15:43:40.944Z] using credential edgex-jenkins-ssh [2021-05-20T15:43:40.963Z] Cloning the remote Git repository [2021-05-20T15:43:41.089Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T15:43:41.264Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-05-20T15:43:41.335Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T15:43:41.336Z] > git --version # timeout=10 [2021-05-20T15:43:41.351Z] > git --version # 'git version 2.17.1' [2021-05-20T15:43:41.353Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T15:43:41.425Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T15:43:42.601Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-20T15:43:42.618Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T15:43:42.638Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-20T15:43:42.665Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-20T15:43:42.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T15:43:42.679Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/936/head:refs/remotes/origin/PR-936 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T15:43:43.308Z] Merging remotes/origin/master commit a3df5a9219cebd743c534ea7ba05fe82cddb65a8 into PR head commit 1880e37e39852ac8f938d3fb2206a2cdd1184e98 [2021-05-20T15:43:43.521Z] Merge succeeded, producing 1880e37e39852ac8f938d3fb2206a2cdd1184e98 [2021-05-20T15:43:43.522Z] Checking out Revision 1880e37e39852ac8f938d3fb2206a2cdd1184e98 (PR-936) [2021-05-20T15:43:43.329Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T15:43:43.342Z] > git checkout -f 1880e37e39852ac8f938d3fb2206a2cdd1184e98 # timeout=10 [2021-05-20T15:43:43.434Z] > git remote # timeout=10 [2021-05-20T15:43:43.454Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T15:43:43.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T15:43:43.482Z] > git merge a3df5a9219cebd743c534ea7ba05fe82cddb65a8 # timeout=10 [2021-05-20T15:43:43.503Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T15:43:43.533Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T15:43:43.542Z] > git checkout -f 1880e37e39852ac8f938d3fb2206a2cdd1184e98 # timeout=10 [2021-05-20T15:43:47.784Z] Commit message: "refactor: Update to assign and uses new Port Assignments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T15:43:49.088Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-20T15:43:49.500Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T15:43:49.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-20T15:43:49.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-20T15:43:49.852Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-20T15:43:49.864Z] + sudo service docker restart [2021-05-20T15:43:49.864Z] + true [2021-05-20T15:43:51.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 25.4% of statements [2021-05-20T15:43:51.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-20T15:43:51.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 28.1% of statements [2021-05-20T15:43:52.362Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.049s coverage: 78.9% of statements [2021-05-20T15:43:53.756Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.061s coverage: 10.7% of statements [2021-05-20T15:43:53.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-20T15:43:53.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-20T15:43:53.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-20T15:43:53.756Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 30.2% of statements [2021-05-20T15:43:53.756Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-20T15:43:55.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.078s coverage: 83.3% of statements [2021-05-20T15:43:55.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-20T15:43:55.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-20T15:43:55.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 58.0% of statements [2021-05-20T15:43:55.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.814s coverage: 89.2% of statements [2021-05-20T15:43:55.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-20T15:43:55.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 5.0% of statements [2021-05-20T15:43:55.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-20T15:43:55.988Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T15:44:08.212Z] provisioning config files... [2021-05-20T15:44:08.238Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config83259853232751238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T15:44:08.614Z] ---> docker-login.sh [2021-05-20T15:44:08.614Z] nexus3.edgexfoundry.org:10001 [2021-05-20T15:44:09.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:44:09.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:44:09.873Z] Configure a credential helper to remove this warning. See [2021-05-20T15:44:09.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:44:09.873Z] [2021-05-20T15:44:09.873Z] Login Succeeded [2021-05-20T15:44:09.873Z] nexus3.edgexfoundry.org:10002 [2021-05-20T15:44:10.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:44:10.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:44:10.425Z] Configure a credential helper to remove this warning. See [2021-05-20T15:44:10.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:44:10.425Z] [2021-05-20T15:44:10.425Z] Login Succeeded [2021-05-20T15:44:10.425Z] nexus3.edgexfoundry.org:10003 [2021-05-20T15:44:10.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:44:10.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:44:10.974Z] Configure a credential helper to remove this warning. See [2021-05-20T15:44:10.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:44:10.974Z] [2021-05-20T15:44:10.974Z] Login Succeeded [2021-05-20T15:44:10.974Z] nexus3.edgexfoundry.org:10004 [2021-05-20T15:44:11.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:44:11.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:44:11.534Z] Configure a credential helper to remove this warning. See [2021-05-20T15:44:11.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:44:11.534Z] [2021-05-20T15:44:11.534Z] Login Succeeded [2021-05-20T15:44:11.534Z] docker.io [2021-05-20T15:44:11.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T15:44:12.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T15:44:12.407Z] Configure a credential helper to remove this warning. See [2021-05-20T15:44:12.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T15:44:12.407Z] [2021-05-20T15:44:12.407Z] Login Succeeded [2021-05-20T15:44:12.407Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T15:44:12.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T15:44:12.733Z] ========================================================= [2021-05-20T15:44:12.733Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-20T15:44:12.733Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T15:44:13.104Z] + 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-05-20T15:44:13.711Z] Sending build context to Docker daemon 2.604MB [2021-05-20T15:44:13.711Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T15:44:13.711Z] Step 2/8 : FROM ${BASE} [2021-05-20T15:44:13.711Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-20T15:44:13.711Z] 595b0fe564bb: Pulling fs layer [2021-05-20T15:44:13.711Z] 7186ed65a4f7: Pulling fs layer [2021-05-20T15:44:13.711Z] 316046926c0a: Pulling fs layer [2021-05-20T15:44:13.711Z] 4ebd0625c992: Pulling fs layer [2021-05-20T15:44:13.711Z] 207e8628e3a3: Pulling fs layer [2021-05-20T15:44:13.711Z] c791037a9be2: Pulling fs layer [2021-05-20T15:44:13.711Z] ffd874e62e21: Pulling fs layer [2021-05-20T15:44:13.711Z] 4ebd0625c992: Waiting [2021-05-20T15:44:13.711Z] 207e8628e3a3: Waiting [2021-05-20T15:44:13.711Z] c791037a9be2: Waiting [2021-05-20T15:44:13.711Z] ffd874e62e21: Waiting [2021-05-20T15:44:13.995Z] 316046926c0a: Verifying Checksum [2021-05-20T15:44:13.995Z] 316046926c0a: Download complete [2021-05-20T15:44:13.995Z] 7186ed65a4f7: Download complete [2021-05-20T15:44:13.995Z] 207e8628e3a3: Verifying Checksum [2021-05-20T15:44:13.995Z] 207e8628e3a3: Download complete [2021-05-20T15:44:13.995Z] c791037a9be2: Download complete [2021-05-20T15:44:13.995Z] 595b0fe564bb: Verifying Checksum [2021-05-20T15:44:13.995Z] 595b0fe564bb: Download complete [2021-05-20T15:44:14.193Z] gofmt -l . [2021-05-20T15:44:14.193Z] [ "`gofmt -l .`" = "" ] [2021-05-20T15:44:14.193Z] ./bin/test-attribution-txt.sh [2021-05-20T15:44:14.193Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-20T15:44:14.202Z] $ docker stop --time=1 b0f0688bae90c667bdef6d47a5416e4d2cf3dbeeeff7e8e502520dc4534108f5 [2021-05-20T15:44:14.596Z] 595b0fe564bb: Pull complete [2021-05-20T15:44:15.203Z] 7186ed65a4f7: Pull complete [2021-05-20T15:44:15.690Z] $ docker rm -f b0f0688bae90c667bdef6d47a5416e4d2cf3dbeeeff7e8e502520dc4534108f5 [Pipeline] // withDockerContainer [2021-05-20T15:44:15.857Z] 316046926c0a: Pull complete [Pipeline] sh [2021-05-20T15:44:16.143Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T15:44:16.359Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-20T15:44:16.478Z] ffd874e62e21: Download complete [Pipeline] sh [2021-05-20T15:44:17.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T15:44:17.907Z] + ls -al . [2021-05-20T15:44:17.907Z] total 212 [2021-05-20T15:44:17.907Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 20 15:44 . [2021-05-20T15:44:17.907Z] drwxrwxr-x. 4 jenkins jenkins 28 May 20 15:42 .. [2021-05-20T15:44:17.907Z] drwxrwxr-x. 2 jenkins jenkins 64 May 20 15:42 bin [2021-05-20T15:44:17.907Z] -rw-r--r--. 1 jenkins jenkins 126187 May 20 15:43 coverage.out [2021-05-20T15:44:17.907Z] -rw-rw-r--. 1 jenkins jenkins 987 May 20 15:42 Dockerfile.build [2021-05-20T15:44:17.907Z] -rw-rw-r--. 1 jenkins jenkins 140 May 20 15:42 .dockerignore [2021-05-20T15:44:17.907Z] drwxrwxr-x. 5 jenkins jenkins 62 May 20 15:42 example [2021-05-20T15:44:17.907Z] drwxrwxr-x. 8 jenkins jenkins 179 May 20 15:42 .git [2021-05-20T15:44:17.907Z] drwxrwxr-x. 2 jenkins jenkins 103 May 20 15:42 .github [2021-05-20T15:44:17.907Z] -rw-rw-r--. 1 jenkins jenkins 138 May 20 15:42 .gitignore [2021-05-20T15:44:17.907Z] -rw-r--r--. 1 jenkins jenkins 575 May 20 15:44 go.mod [2021-05-20T15:44:17.907Z] -rw-r--r--. 1 jenkins jenkins 20803 May 20 15:43 go.sum [2021-05-20T15:44:17.907Z] drwxrwxr-x. 15 jenkins jenkins 224 May 20 15:42 internal [2021-05-20T15:44:17.907Z] -rw-rw-r--. 1 jenkins jenkins 894 May 20 15:42 Jenkinsfile [2021-05-20T15:44:17.907Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 20 15:42 LICENSE [2021-05-20T15:44:17.907Z] -rw-rw-r--. 1 jenkins jenkins 1026 May 20 15:42 Makefile [2021-05-20T15:44:17.907Z] drwxrwxr-x. 4 jenkins jenkins 26 May 20 15:42 openapi [2021-05-20T15:44:17.907Z] drwxrwxr-x. 5 jenkins jenkins 50 May 20 15:42 pkg [2021-05-20T15:44:17.907Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 20 15:42 README.md [2021-05-20T15:44:17.907Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 20 15:42 RELEASE-NOTES.txt [2021-05-20T15:44:17.907Z] drwxrwxr-x. 4 jenkins jenkins 54 May 20 15:42 snap [2021-05-20T15:44:17.907Z] -rw-rw-r--. 1 jenkins jenkins 5 May 20 15:39 VERSION [2021-05-20T15:44:17.907Z] -rw-rw-r--. 1 jenkins jenkins 222 May 20 15:42 version.go [Pipeline] isUnix [2021-05-20T15:44:17.926Z] 4ebd0625c992: Verifying Checksum [2021-05-20T15:44:17.926Z] 4ebd0625c992: Download complete [Pipeline] sh [2021-05-20T15:44:18.211Z] + 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=1880e37e39852ac8f938d3fb2206a2cdd1184e98 --label arch=amd64 --label version=0.0.0 . [2021-05-20T15:44:18.211Z] Sending build context to Docker daemon 2.732MB [2021-05-20T15:44:18.211Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T15:44:18.211Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-20T15:44:18.211Z] ---> 7b1bbdac43c1 [2021-05-20T15:44:18.211Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-20T15:44:18.211Z] ---> Running in 537e010b11fe [2021-05-20T15:44:18.473Z] Removing intermediate container 537e010b11fe [2021-05-20T15:44:18.473Z] ---> 29985788bc48 [2021-05-20T15:44:18.473Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T15:44:18.473Z] ---> Running in f03837dc2b81 [2021-05-20T15:44:18.473Z] Removing intermediate container f03837dc2b81 [2021-05-20T15:44:18.473Z] ---> 3616b22ee7fc [2021-05-20T15:44:18.473Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T15:44:18.473Z] ---> Running in f2eb69ce3f28 [2021-05-20T15:44:19.061Z] Removing intermediate container f2eb69ce3f28 [2021-05-20T15:44:19.061Z] ---> a06d5d00d3b0 [2021-05-20T15:44:19.061Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-20T15:44:19.061Z] ---> Running in 391ac6f88582 [2021-05-20T15:44:19.324Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T15:44:20.267Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T15:44:20.528Z] OK: 150 MiB in 46 packages [2021-05-20T15:44:20.789Z] Removing intermediate container 391ac6f88582 [2021-05-20T15:44:20.789Z] ---> 3d565558d737 [2021-05-20T15:44:20.789Z] Step 7/23 : COPY . . [2021-05-20T15:44:21.050Z] ---> c3597dc0e81e [2021-05-20T15:44:21.050Z] Step 8/23 : RUN go mod download [2021-05-20T15:44:21.050Z] ---> Running in 54fd2b3d4a42 [2021-05-20T15:44:21.621Z] Removing intermediate container 54fd2b3d4a42 [2021-05-20T15:44:21.621Z] ---> 3cdb061ff9e4 [2021-05-20T15:44:21.621Z] Step 9/23 : RUN make build [2021-05-20T15:44:21.621Z] ---> Running in 85e4528c0f4c [2021-05-20T15:44:21.883Z] go mod tidy [2021-05-20T15:44:22.146Z] 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-05-20T15:44:28.074Z] 4ebd0625c992: Pull complete [2021-05-20T15:44:28.354Z] 207e8628e3a3: Pull complete [2021-05-20T15:44:28.626Z] c791037a9be2: Pull complete [2021-05-20T15:44:32.238Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-20T15:44:32.810Z] Removing intermediate container 85e4528c0f4c [2021-05-20T15:44:32.810Z] ---> e116e7938ea5 [2021-05-20T15:44:32.810Z] Step 10/23 : FROM alpine:3.12 [2021-05-20T15:44:32.940Z] ffd874e62e21: Pull complete [2021-05-20T15:44:32.940Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-20T15:44:32.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-20T15:44:32.940Z] ---> cfc18b08335c [2021-05-20T15:44:32.940Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T15:44:33.075Z] 3.12: Pulling from library/alpine [2021-05-20T15:44:33.339Z] 339de151aab4: Pulling fs layer [2021-05-20T15:44:33.601Z] 339de151aab4: Verifying Checksum [2021-05-20T15:44:33.601Z] 339de151aab4: Download complete [2021-05-20T15:44:33.601Z] 339de151aab4: Pull complete [2021-05-20T15:44:33.601Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T15:44:33.601Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T15:44:33.601Z] ---> 13621d1b12d4 [2021-05-20T15:44:33.601Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T15:44:33.601Z] ---> Running in c7256c5cce04 [2021-05-20T15:44:33.864Z] Removing intermediate container c7256c5cce04 [2021-05-20T15:44:33.864Z] ---> 0cceaaa6b460 [2021-05-20T15:44:33.864Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T15:44:33.864Z] ---> Running in 179b7a24b62e [2021-05-20T15:44:34.124Z] Removing intermediate container 179b7a24b62e [2021-05-20T15:44:34.124Z] ---> dea419048dda [2021-05-20T15:44:34.124Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-20T15:44:34.385Z] ---> Running in a3c15aa66800 [2021-05-20T15:44:34.646Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-20T15:44:34.925Z] ---> Running in aa3007a27c4e [2021-05-20T15:44:35.198Z] Removing intermediate container aa3007a27c4e [2021-05-20T15:44:35.198Z] ---> 7caa2cc3aaac [2021-05-20T15:44:35.198Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T15:44:35.198Z] ---> Running in bf315d4ea3f0 [2021-05-20T15:44:35.216Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-20T15:44:35.476Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-20T15:44:35.735Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-20T15:44:35.736Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-20T15:44:36.682Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-20T15:44:36.682Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-20T15:44:36.682Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T15:44:36.682Z] OK: 8 MiB in 19 packages [2021-05-20T15:44:36.943Z] Removing intermediate container a3c15aa66800 [2021-05-20T15:44:36.943Z] ---> f83a4d17cb56 [2021-05-20T15:44:36.943Z] Step 14/23 : WORKDIR / [2021-05-20T15:44:36.943Z] ---> Running in d639de6e9cc8 [2021-05-20T15:44:37.204Z] Removing intermediate container d639de6e9cc8 [2021-05-20T15:44:37.204Z] ---> a84cacd21e98 [2021-05-20T15:44:37.204Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-20T15:44:37.204Z] ---> 17b337842fa9 [2021-05-20T15:44:37.204Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-20T15:44:37.474Z] ---> 6b91b225b5d3 [2021-05-20T15:44:37.474Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-20T15:44:37.736Z] ---> 4fce8670adab [2021-05-20T15:44:37.736Z] Step 18/23 : EXPOSE 59999 [2021-05-20T15:44:37.736Z] ---> Running in 827745e01476 [2021-05-20T15:44:37.736Z] Removing intermediate container 827745e01476 [2021-05-20T15:44:37.736Z] ---> 4dfac1c23821 [2021-05-20T15:44:37.736Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-20T15:44:37.823Z] Removing intermediate container bf315d4ea3f0 [2021-05-20T15:44:37.823Z] ---> a1544d97a02e [2021-05-20T15:44:37.823Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-20T15:44:37.823Z] ---> Running in 8a4bb021bee4 [2021-05-20T15:44:38.003Z] ---> Running in ea7ab41acb9d [2021-05-20T15:44:38.003Z] Removing intermediate container ea7ab41acb9d [2021-05-20T15:44:38.003Z] ---> 95358c19477f [2021-05-20T15:44:38.003Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-20T15:44:38.003Z] ---> Running in 8c7f9b77fb1b [2021-05-20T15:44:38.003Z] Removing intermediate container 8c7f9b77fb1b [2021-05-20T15:44:38.003Z] ---> 1593749fdd56 [2021-05-20T15:44:38.003Z] Step 21/23 : LABEL arch=amd64 [2021-05-20T15:44:38.003Z] ---> Running in f68ec35958dc [2021-05-20T15:44:38.264Z] Removing intermediate container f68ec35958dc [2021-05-20T15:44:38.264Z] ---> 81c3f8238b08 [2021-05-20T15:44:38.264Z] Step 22/23 : LABEL git_sha=1880e37e39852ac8f938d3fb2206a2cdd1184e98 [2021-05-20T15:44:38.264Z] ---> Running in caa4ee506a9b [2021-05-20T15:44:38.264Z] Removing intermediate container caa4ee506a9b [2021-05-20T15:44:38.264Z] ---> e226b49b6acf [2021-05-20T15:44:38.264Z] Step 23/23 : LABEL version=0.0.0 [2021-05-20T15:44:38.264Z] ---> Running in 80f953c4b125 [2021-05-20T15:44:38.525Z] Removing intermediate container 80f953c4b125 [2021-05-20T15:44:38.525Z] ---> f2e2e6c4deb4 [2021-05-20T15:44:38.526Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-20T15:44:38.526Z] Successfully built f2e2e6c4deb4 [2021-05-20T15:44:38.526Z] 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-05-20T15:44:39.251Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T15:44:39.406Z] ---> job-cost.sh [2021-05-20T15:44:39.406Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UzAh [2021-05-20T15:44:40.229Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T15:44:40.826Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-20T15:44:41.096Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-20T15:44:41.096Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-20T15:44:41.096Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-20T15:44:41.367Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-20T15:44:41.367Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-20T15:44:41.367Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T15:44:41.641Z] OK: 139 MiB in 46 packages [2021-05-20T15:44:42.634Z] Removing intermediate container 8a4bb021bee4 [2021-05-20T15:44:42.634Z] ---> 23ac2e732e29 [2021-05-20T15:44:42.634Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-20T15:44:42.910Z] ---> Running in 9dc9e09599c3 [2021-05-20T15:44:43.508Z] Removing intermediate container 9dc9e09599c3 [2021-05-20T15:44:43.508Z] ---> 296de8bed3e6 [2021-05-20T15:44:43.508Z] Step 7/8 : COPY . . [2021-05-20T15:44:44.969Z] ---> 6a98136f8ca7 [2021-05-20T15:44:44.969Z] Step 8/8 : RUN go mod download [2021-05-20T15:44:44.969Z] ---> Running in eab9f430bb26 [2021-05-20T15:44:49.418Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T15:45:01.679Z] lf-activate-venv(): INFO: Adding /tmp/venv-UzAh/bin to PATH [2021-05-20T15:45:01.679Z] INFO: No Stack... [2021-05-20T15:45:01.679Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T15:45:02.255Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T15:45:02.560Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-05-20T15:45:02.560Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T15:45:02.606Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-936-5-stack-cost] [2021-05-20T15:45:02.620Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-936-5-stack-cost] did not exist. Created. [2021-05-20T15:45:02.621Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-936-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T15:45:02.954Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-20T15:45:03.079Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T15:45:03.092Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-936-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-20T15:45:11.776Z] Removing intermediate container eab9f430bb26 [2021-05-20T15:45:11.776Z] ---> 0b9299f0d0ca [2021-05-20T15:45:11.776Z] Successfully built 0b9299f0d0ca [2021-05-20T15:45:11.776Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T15:45:12.131Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T15:45:12.131Z] . [Pipeline] withDockerContainer [2021-05-20T15:45:12.364Z] prd-ubuntu18.04-docker-arm64-4c-16g-15323 does not seem to be running inside a container [2021-05-20T15:45:12.468Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T15:45:14.081Z] $ docker top cefd4cc50baaf122a2c6793f4f79666c1f7a8b9265ff98aee91dc0acbe30f7e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T15:45:15.021Z] + go version [2021-05-20T15:45:15.021Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-20T15:45:15.050Z] $ docker stop --time=1 cefd4cc50baaf122a2c6793f4f79666c1f7a8b9265ff98aee91dc0acbe30f7e1 [2021-05-20T15:45:16.858Z] $ docker rm -f cefd4cc50baaf122a2c6793f4f79666c1f7a8b9265ff98aee91dc0acbe30f7e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T15:45:17.606Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T15:45:17.606Z] . [Pipeline] withDockerContainer [2021-05-20T15:45:17.867Z] prd-ubuntu18.04-docker-arm64-4c-16g-15323 does not seem to be running inside a container [2021-05-20T15:45:17.954Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T15:45:19.601Z] $ docker top d5c4da338e239b56f21148b52878526033ed5191f42eb2e96fc44973d9240f5d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T15:45:20.576Z] + go mod tidy [Pipeline] sh [2021-05-20T15:45:21.833Z] + make test [2021-05-20T15:45:21.833Z] go mod tidy [2021-05-20T15:45:22.432Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-20T15:45:44.619Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-20T15:46:52.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-20T15:46:52.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-20T15:46:52.696Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-20T15:46:59.432Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.346s coverage: 25.4% of statements [2021-05-20T15:46:59.432Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-20T15:46:59.432Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.193s coverage: 28.1% of statements [2021-05-20T15:46:59.432Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.241s coverage: 78.9% of statements [2021-05-20T15:46:59.432Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.212s coverage: 10.7% of statements [2021-05-20T15:46:59.432Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-20T15:46:59.432Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-20T15:46:59.432Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-20T15:47:02.095Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.293s coverage: 30.2% of statements [2021-05-20T15:47:02.095Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-20T15:47:02.371Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.220s coverage: 83.3% of statements [2021-05-20T15:47:02.371Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-20T15:47:02.371Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-20T15:47:02.644Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.351s coverage: 58.0% of statements [2021-05-20T15:47:06.043Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.065s coverage: 89.2% of statements [2021-05-20T15:47:06.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-20T15:47:06.043Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.182s coverage: 5.0% of statements [2021-05-20T15:47:06.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-20T15:47:06.643Z] GO111MODULE=on go vet ./... [2021-05-20T15:48:03.255Z] gofmt -l . [2021-05-20T15:48:03.255Z] [ "`gofmt -l .`" = "" ] [2021-05-20T15:48:03.255Z] ./bin/test-attribution-txt.sh [2021-05-20T15:48:03.255Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-20T15:48:03.567Z] $ docker stop --time=1 d5c4da338e239b56f21148b52878526033ed5191f42eb2e96fc44973d9240f5d [2021-05-20T15:48:05.758Z] $ docker rm -f d5c4da338e239b56f21148b52878526033ed5191f42eb2e96fc44973d9240f5d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T15:48:06.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T15:48:06.972Z] Warning: overwriting stash ‘coverage-report’ [2021-05-20T15:48:07.867Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T15:48:08.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T15:48:08.769Z] + ls -al . [2021-05-20T15:48:08.769Z] total 248 [2021-05-20T15:48:08.769Z] drwxrwxr-x 10 jenkins jenkins 4096 May 20 15:48 . [2021-05-20T15:48:08.769Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 15:43 .. [2021-05-20T15:48:08.769Z] -rw-rw-r-- 1 jenkins jenkins 140 May 20 15:43 .dockerignore [2021-05-20T15:48:08.769Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 15:43 .git [2021-05-20T15:48:08.769Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 15:43 .github [2021-05-20T15:48:08.769Z] -rw-rw-r-- 1 jenkins jenkins 138 May 20 15:43 .gitignore [2021-05-20T15:48:08.769Z] -rw-rw-r-- 1 jenkins jenkins 987 May 20 15:43 Dockerfile.build [2021-05-20T15:48:08.769Z] -rw-rw-r-- 1 jenkins jenkins 894 May 20 15:43 Jenkinsfile [2021-05-20T15:48:08.769Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 20 15:43 LICENSE [2021-05-20T15:48:08.769Z] -rw-rw-r-- 1 jenkins jenkins 1026 May 20 15:43 Makefile [2021-05-20T15:48:08.769Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 20 15:43 README.md [2021-05-20T15:48:08.769Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 20 15:43 RELEASE-NOTES.txt [2021-05-20T15:48:08.769Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 15:39 VERSION [2021-05-20T15:48:08.769Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 15:43 bin [2021-05-20T15:48:08.769Z] -rw-r--r-- 1 jenkins jenkins 126187 May 20 15:47 coverage.out [2021-05-20T15:48:08.769Z] drwxrwxr-x 5 jenkins jenkins 4096 May 20 15:43 example [2021-05-20T15:48:08.769Z] -rw-r--r-- 1 jenkins jenkins 575 May 20 15:48 go.mod [2021-05-20T15:48:08.769Z] -rw-r--r-- 1 jenkins jenkins 20803 May 20 15:45 go.sum [2021-05-20T15:48:08.769Z] drwxrwxr-x 15 jenkins jenkins 4096 May 20 15:43 internal [2021-05-20T15:48:08.769Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 15:43 openapi [2021-05-20T15:48:08.769Z] drwxrwxr-x 5 jenkins jenkins 4096 May 20 15:43 pkg [2021-05-20T15:48:08.769Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 15:43 snap [2021-05-20T15:48:08.769Z] -rw-rw-r-- 1 jenkins jenkins 222 May 20 15:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T15:48:09.127Z] + 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=1880e37e39852ac8f938d3fb2206a2cdd1184e98 --label arch=arm64 --label version=0.0.0 . [2021-05-20T15:48:09.726Z] Sending build context to Docker daemon 2.731MB [2021-05-20T15:48:09.726Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T15:48:09.726Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-20T15:48:09.726Z] ---> 0b9299f0d0ca [2021-05-20T15:48:09.726Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-20T15:48:09.999Z] ---> Running in 4954ffcd68c3 [2021-05-20T15:48:10.595Z] Removing intermediate container 4954ffcd68c3 [2021-05-20T15:48:10.595Z] ---> 1fe2232b9ddd [2021-05-20T15:48:10.595Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T15:48:10.595Z] ---> Running in b67814f87a92 [2021-05-20T15:48:11.190Z] Removing intermediate container b67814f87a92 [2021-05-20T15:48:11.190Z] ---> 21e0015e61f1 [2021-05-20T15:48:11.190Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T15:48:11.190Z] ---> Running in f02a50e4cdfa [2021-05-20T15:48:13.818Z] Removing intermediate container f02a50e4cdfa [2021-05-20T15:48:13.818Z] ---> 177dc471eff5 [2021-05-20T15:48:13.818Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-20T15:48:13.818Z] ---> Running in c94d74c562e0 [2021-05-20T15:48:14.792Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T15:48:15.767Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T15:48:16.365Z] OK: 139 MiB in 46 packages [2021-05-20T15:48:17.344Z] Removing intermediate container c94d74c562e0 [2021-05-20T15:48:17.344Z] ---> b4a6269e5b7b [2021-05-20T15:48:17.344Z] Step 7/23 : COPY . . [2021-05-20T15:48:18.774Z] ---> b2c74aded969 [2021-05-20T15:48:18.774Z] Step 8/23 : RUN go mod download [2021-05-20T15:48:19.047Z] ---> Running in 64da3c92f5fc [2021-05-20T15:48:21.662Z] Removing intermediate container 64da3c92f5fc [2021-05-20T15:48:21.662Z] ---> 282ecaf59a55 [2021-05-20T15:48:21.662Z] Step 9/23 : RUN make build [2021-05-20T15:48:21.662Z] ---> Running in 72fa27c21df1 [2021-05-20T15:48:22.640Z] go mod tidy [2021-05-20T15:48:22.912Z] 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-05-20T15:48:55.345Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-20T15:48:57.959Z] Removing intermediate container 72fa27c21df1 [2021-05-20T15:48:57.959Z] ---> ff486f6dfb91 [2021-05-20T15:48:57.959Z] Step 10/23 : FROM alpine:3.12 [2021-05-20T15:48:58.552Z] 3.12: Pulling from library/alpine [2021-05-20T15:48:58.552Z] d2f70382dc9a: Pulling fs layer [2021-05-20T15:48:58.826Z] d2f70382dc9a: Verifying Checksum [2021-05-20T15:48:58.826Z] d2f70382dc9a: Download complete [2021-05-20T15:48:59.417Z] d2f70382dc9a: Pull complete [2021-05-20T15:48:59.417Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T15:48:59.417Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T15:48:59.417Z] ---> 9852663dfa18 [2021-05-20T15:48:59.417Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-20T15:48:59.690Z] ---> Running in b97fcbdd6591 [2021-05-20T15:49:00.294Z] Removing intermediate container b97fcbdd6591 [2021-05-20T15:49:00.294Z] ---> ff8b2c239ea9 [2021-05-20T15:49:00.294Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T15:49:00.294Z] ---> Running in 79ee79e7edf4 [2021-05-20T15:49:02.911Z] Removing intermediate container 79ee79e7edf4 [2021-05-20T15:49:02.911Z] ---> 89093e402ea9 [2021-05-20T15:49:02.911Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-20T15:49:02.911Z] ---> Running in c7d2929e8396 [2021-05-20T15:49:03.888Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-20T15:49:04.490Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-20T15:49:05.463Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-20T15:49:05.463Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-20T15:49:05.463Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-20T15:49:05.733Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-20T15:49:05.733Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-20T15:49:06.004Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T15:49:06.004Z] OK: 8 MiB in 19 packages [2021-05-20T15:49:06.991Z] Removing intermediate container c7d2929e8396 [2021-05-20T15:49:06.992Z] ---> fe9f1cbc5c17 [2021-05-20T15:49:06.992Z] Step 14/23 : WORKDIR / [2021-05-20T15:49:07.266Z] ---> Running in ebef4f031dcf [2021-05-20T15:49:07.539Z] Removing intermediate container ebef4f031dcf [2021-05-20T15:49:07.539Z] ---> 470f8cd0ec62 [2021-05-20T15:49:07.539Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-20T15:49:08.523Z] ---> 18531a670543 [2021-05-20T15:49:08.523Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-20T15:49:09.953Z] ---> 8f5ebdb287e5 [2021-05-20T15:49:09.953Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-20T15:49:10.552Z] ---> 20546f961811 [2021-05-20T15:49:10.552Z] Step 18/23 : EXPOSE 59999 [2021-05-20T15:49:10.826Z] ---> Running in 391778537c53 [2021-05-20T15:49:11.099Z] Removing intermediate container 391778537c53 [2021-05-20T15:49:11.099Z] ---> d4c7f498f997 [2021-05-20T15:49:11.099Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-20T15:49:11.374Z] ---> Running in 4233ada6c15c [2021-05-20T15:49:11.968Z] Removing intermediate container 4233ada6c15c [2021-05-20T15:49:11.968Z] ---> 6bce203fae97 [2021-05-20T15:49:11.968Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-20T15:49:11.968Z] ---> Running in b6a7872a24f4 [2021-05-20T15:49:12.561Z] Removing intermediate container b6a7872a24f4 [2021-05-20T15:49:12.561Z] ---> 227ab9c9c5cb [2021-05-20T15:49:12.561Z] Step 21/23 : LABEL arch=arm64 [2021-05-20T15:49:12.833Z] ---> Running in 982da104ff57 [2021-05-20T15:49:13.430Z] Removing intermediate container 982da104ff57 [2021-05-20T15:49:13.430Z] ---> bdd919bf69da [2021-05-20T15:49:13.430Z] Step 22/23 : LABEL git_sha=1880e37e39852ac8f938d3fb2206a2cdd1184e98 [2021-05-20T15:49:13.430Z] ---> Running in 166fd6ea7da4 [2021-05-20T15:49:14.023Z] Removing intermediate container 166fd6ea7da4 [2021-05-20T15:49:14.023Z] ---> 572e8a288fb7 [2021-05-20T15:49:14.023Z] Step 23/23 : LABEL version=0.0.0 [2021-05-20T15:49:14.023Z] ---> Running in a110182116cf [2021-05-20T15:49:14.618Z] Removing intermediate container a110182116cf [2021-05-20T15:49:14.618Z] ---> 84322c754b25 [2021-05-20T15:49:14.618Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-20T15:49:14.618Z] Successfully built 84322c754b25 [2021-05-20T15:49:14.618Z] 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-05-20T15:49:15.199Z] ---> job-cost.sh [2021-05-20T15:49:15.199Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WV8H [2021-05-20T15:49:54.150Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T15:51:31.006Z] lf-activate-venv(): INFO: Adding /tmp/venv-WV8H/bin to PATH [2021-05-20T15:51:31.006Z] INFO: No Stack... [2021-05-20T15:51:31.006Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-20T15:51:31.006Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T15:51:31.352Z] + cut -d, -f6 [2021-05-20T15:51:31.352Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2021-05-20T15:51:31.425Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-936-5-stack-cost] [2021-05-20T15:51:31.437Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-936-5-stack-cost] did not exist. Created. [2021-05-20T15:51:31.437Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-936-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T15:51:31.818Z] /w/workspace/device-sdk-go/5@tmp/durable-86b0018d/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-86b0018d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-20T15:51:32.160Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-20T15:51:32.181Z] Warning: overwriting stash ‘stack-cost’ [2021-05-20T15:51:32.336Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T15:51:32.350Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-936-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-05-20T15:51:33.289Z] provisioning config files... [2021-05-20T15:51:33.299Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/config6241056849945918610tmp [Pipeline] { [Pipeline] sh [2021-05-20T15:51:33.621Z] + set +x [2021-05-20T15:51:33.621Z] + curl -s https://codecov.io/bash [2021-05-20T15:51:33.621Z] + bash -s -- [2021-05-20T15:51:33.621Z] [2021-05-20T15:51:33.621Z] _____ _ [2021-05-20T15:51:33.621Z] / ____| | | [2021-05-20T15:51:33.621Z] | | ___ __| | ___ ___ _____ __ [2021-05-20T15:51:33.621Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-20T15:51:33.621Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-20T15:51:33.621Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-20T15:51:33.621Z] Bash-1.0.2 [2021-05-20T15:51:33.621Z] [2021-05-20T15:51:33.621Z] [2021-05-20T15:51:33.621Z] ==> git version 2.24.4 found [2021-05-20T15:51:33.621Z] ==> 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-05-20T15:51:33.621Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-20T15:51:33.621Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-20T15:51:33.621Z] ==> Jenkins CI detected. [2021-05-20T15:51:33.886Z] project root: . [2021-05-20T15:51:33.886Z] --> token set from env [2021-05-20T15:51:33.886Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-20T15:51:33.886Z] ==> Running gcov in . (disable via -X gcov) [2021-05-20T15:51:33.886Z] ==> Python coveragepy not found [2021-05-20T15:51:33.886Z] ==> Searching for coverage reports in: [2021-05-20T15:51:33.886Z] + . [2021-05-20T15:51:33.886Z] -> Found 1 reports [2021-05-20T15:51:33.886Z] ==> Detecting git/mercurial file structure [2021-05-20T15:51:33.886Z] ==> Reading reports [2021-05-20T15:51:33.886Z] + ./coverage.out bytes=126187 [2021-05-20T15:51:33.886Z] ==> Appending adjustments [2021-05-20T15:51:33.886Z] https://docs.codecov.io/docs/fixing-reports [2021-05-20T15:51:34.147Z] + Found adjustments [2021-05-20T15:51:34.147Z] ==> Gzipping contents [2021-05-20T15:51:34.147Z] 20K /tmp/codecov.StfC9z.gz [2021-05-20T15:51:34.147Z] ==> Uploading reports [2021-05-20T15:51:34.147Z] url: https://codecov.io [2021-05-20T15:51:34.147Z] query: branch=PR-936&commit=1880e37e39852ac8f938d3fb2206a2cdd1184e98&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-936%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=936&job=&cmd_args= [2021-05-20T15:51:34.147Z] -> Pinging Codecov [2021-05-20T15:51:34.147Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-936&commit=1880e37e39852ac8f938d3fb2206a2cdd1184e98&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-936%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=936&job=&cmd_args= [2021-05-20T15:51:34.718Z] -> Uploading to [2021-05-20T15:51:34.718Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-20/7E55EF52A471D76F132DFD9A03CDDE97/1880e37e39852ac8f938d3fb2206a2cdd1184e98/709c3e81-0a53-4b64-8b67-11337ef0cdc0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T155134Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07ad4cf9f74ede3893301add5a320e8baed3f389a3326b794a40c66d22dddc63 [2021-05-20T15:51:34.718Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-20T15:51:34.718Z] Dload Upload Total Spent Left Speed [2021-05-20T15:51:34.979Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16496 0 0 100 16496 0 41155 --:--:-- --:--:-- --:--:-- 41240 [2021-05-20T15:51:34.979Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1880e37e39852ac8f938d3fb2206a2cdd1184e98 [Pipeline] } [2021-05-20T15:51:34.989Z] 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-05-20T15:51:36.736Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T15:51:37.303Z] ---> package-listing.sh [2021-05-20T15:51:37.303Z] ++ facter osfamily [2021-05-20T15:51:37.303Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-20T15:51:37.570Z] + OS_FAMILY=redhat [2021-05-20T15:51:37.570Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-936 [2021-05-20T15:51:37.570Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-20T15:51:37.570Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-20T15:51:37.570Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-20T15:51:37.570Z] + PACKAGES=/tmp/packages_start.txt [2021-05-20T15:51:37.570Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-936 ']' [2021-05-20T15:51:37.570Z] + PACKAGES=/tmp/packages_end.txt [2021-05-20T15:51:37.570Z] + case "${OS_FAMILY}" in [2021-05-20T15:51:37.570Z] + rpm -qa [2021-05-20T15:51:37.570Z] + sort [2021-05-20T15:51:38.513Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-20T15:51:38.513Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-20T15:51:38.513Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-20T15:51:38.513Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-936 ']' [2021-05-20T15:51:38.513Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-936/archives/ [2021-05-20T15:51:38.513Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-936/archives/ [Pipeline] echo [2021-05-20T15:51:38.526Z] 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-936/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-20T15:51:38.845Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-20T15:51:39.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T15:51:39.423Z] [2021-05-20T15:51:39.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-20T15:51:39.743Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T15:51:39.743Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-20T15:51:39.743Z] df20fa9351a1: Pulling fs layer [2021-05-20T15:51:39.743Z] 36b3adc4ff6f: Pulling fs layer [2021-05-20T15:51:39.743Z] 8ad3a11d3b57: Pulling fs layer [2021-05-20T15:51:39.743Z] 46f8f816bc3b: Pulling fs layer [2021-05-20T15:51:39.743Z] 93b61091891f: Pulling fs layer [2021-05-20T15:51:39.743Z] 93b9cdb0e59b: Pulling fs layer [2021-05-20T15:51:39.743Z] 5e14af77c1be: Pulling fs layer [2021-05-20T15:51:39.743Z] 01666e4c0597: Pulling fs layer [2021-05-20T15:51:39.743Z] aa168da1d23b: Pulling fs layer [2021-05-20T15:51:39.743Z] 93b9cdb0e59b: Waiting [2021-05-20T15:51:39.743Z] 5e14af77c1be: Waiting [2021-05-20T15:51:39.743Z] 01666e4c0597: Waiting [2021-05-20T15:51:39.743Z] 46f8f816bc3b: Waiting [2021-05-20T15:51:39.743Z] 93b61091891f: Waiting [2021-05-20T15:51:39.743Z] aa168da1d23b: Waiting [2021-05-20T15:51:39.743Z] 36b3adc4ff6f: Verifying Checksum [2021-05-20T15:51:39.743Z] 36b3adc4ff6f: Download complete [2021-05-20T15:51:39.743Z] 46f8f816bc3b: Verifying Checksum [2021-05-20T15:51:39.743Z] 46f8f816bc3b: Download complete [2021-05-20T15:51:39.743Z] df20fa9351a1: Verifying Checksum [2021-05-20T15:51:39.743Z] df20fa9351a1: Download complete [2021-05-20T15:51:40.010Z] 93b9cdb0e59b: Verifying Checksum [2021-05-20T15:51:40.010Z] 93b9cdb0e59b: Download complete [2021-05-20T15:51:40.010Z] 5e14af77c1be: Verifying Checksum [2021-05-20T15:51:40.010Z] 5e14af77c1be: Download complete [2021-05-20T15:51:40.010Z] 93b61091891f: Verifying Checksum [2021-05-20T15:51:40.010Z] 93b61091891f: Download complete [2021-05-20T15:51:40.010Z] 01666e4c0597: Verifying Checksum [2021-05-20T15:51:40.010Z] 01666e4c0597: Download complete [2021-05-20T15:51:40.010Z] df20fa9351a1: Pull complete [2021-05-20T15:51:40.283Z] 8ad3a11d3b57: Verifying Checksum [2021-05-20T15:51:40.283Z] 8ad3a11d3b57: Download complete [2021-05-20T15:51:40.283Z] 36b3adc4ff6f: Pull complete [2021-05-20T15:51:40.862Z] 8ad3a11d3b57: Pull complete [2021-05-20T15:51:40.862Z] 46f8f816bc3b: Pull complete [2021-05-20T15:51:41.123Z] 93b61091891f: Pull complete [2021-05-20T15:51:41.391Z] 93b9cdb0e59b: Pull complete [2021-05-20T15:51:41.391Z] 5e14af77c1be: Pull complete [2021-05-20T15:51:41.654Z] 01666e4c0597: Pull complete [2021-05-20T15:51:41.925Z] aa168da1d23b: Verifying Checksum [2021-05-20T15:51:41.925Z] aa168da1d23b: Download complete [2021-05-20T15:51:47.265Z] aa168da1d23b: Pull complete [2021-05-20T15:51:47.265Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-20T15:51:47.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T15:51:47.265Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-20T15:51:47.346Z] prd-centos7-docker-4c-2g-15321 does not seem to be running inside a container [2021-05-20T15:51:47.400Z] $ 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-936/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-936 -v /w/workspace/dgexfoundry_device-sdk-go_PR-936:/w/workspace/dgexfoundry_device-sdk-go_PR-936:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-20T15:51:50.323Z] $ docker top 44c704509f8732119b77b232039cb02311860f239ebc71fcf78a096ec99f5db5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T15:51:50.719Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-20T15:51:51.021Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-20T15:51:51.316Z] + ls /var/log/sa-host [2021-05-20T15:51:51.316Z] + sadf -c /var/log/sa-host/sa05 [2021-05-20T15:51:51.316Z] file_magic: OK [2021-05-20T15:51:51.316Z] HZ: Using current value: 100 [2021-05-20T15:51:51.316Z] file_header: OK [2021-05-20T15:51:51.316Z] 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-05-20T15:51:51.316Z] Statistics: [2021-05-20T15:51:51.316Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T15:51:51.316Z] File successfully converted to sysstat format version 12.2.1 [2021-05-20T15:51:51.316Z] + sadf -c /var/log/sa-host/sa20 [2021-05-20T15:51:51.316Z] file_magic: OK [2021-05-20T15:51:51.316Z] HZ: Using current value: 100 [2021-05-20T15:51:51.316Z] file_header: OK [2021-05-20T15:51:51.316Z] 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-05-20T15:51:51.316Z] Statistics: [2021-05-20T15:51:51.316Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T15:51:51.316Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T15:51:52.004Z] provisioning config files... [2021-05-20T15:51:52.018Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-936@tmp/config4155264528831740039tmp [Pipeline] { [Pipeline] echo [2021-05-20T15:51:52.039Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T15:51:52.340Z] ---> create-netrc.sh [Pipeline] } [2021-05-20T15:51:52.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-20T15:51:52.376Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T15:51:52.677Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-20T15:51:52.690Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T15:51:52.996Z] ---> sudo-logs.sh [2021-05-20T15:51:52.996Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-20T15:51:53.044Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T15:51:53.347Z] ---> job-cost.sh [2021-05-20T15:51:53.347Z] lf-activate-venv: SKIPPING [2021-05-20T15:51:53.347Z] DEBUG: total: 0.18000000715255737 [2021-05-20T15:51:53.347Z] INFO: Retrieving Stack Cost... [2021-05-20T15:51:54.292Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T15:51:54.883Z] INFO: Archiving Costs [Pipeline] echo [2021-05-20T15:51:54.898Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T15:51:55.195Z] ---> logs-deploy.sh [2021-05-20T15:51:55.195Z] lf-activate-venv: SKIPPING [2021-05-20T15:51:55.195Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-936/5 [2021-05-20T15:51:55.195Z] INFO: archiving workspace using pattern(s): [2021-05-20T15:51:56.143Z] Archives upload complete. [2021-05-20T15:51:56.143Z] INFO: archiving logs to Nexus