Pull request #985 opened 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 e042529789ff5cfd73894854f7c76baefff42a98+2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 (ac27aee424949c63608501056de36b82f7e9c49a) Running in Durability level: MAX_SURVIVABILITY 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-ssh1541098287133917326.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3439817869852163222.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-985/workspace@libs/edgex-global-pipelines # timeout=10 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-985/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5205075707430036020.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-985/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3404615872910532337.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8394472889700850158.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-985/workspace@libs/lf-pipelines # timeout=10 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-985/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2234178854814690283.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-1239 in /w/workspace/dgexfoundry_device-sdk-go_PR-985 [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-985 # 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-985@tmp/jenkins-gitclient-ssh4842475539394705060.key Merging remotes/origin/master commit 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 into PR head commit e042529789ff5cfd73894854f7c76baefff42a98 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp/jenkins-gitclient-ssh1244005223376829982.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/985/head:refs/remotes/origin/PR-985 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e042529789ff5cfd73894854f7c76baefff42a98 # 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-985@tmp/jenkins-gitclient-ssh6578538418257491588.key > git merge 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 Merge succeeded, producing e042529789ff5cfd73894854f7c76baefff42a98 Checking out Revision e042529789ff5cfd73894854f7c76baefff42a98 (PR-985) > git config core.sparsecheckout # timeout=10 > git checkout -f e042529789ff5cfd73894854f7c76baefff42a98 # timeout=10 Commit message: "build: Update to go-mod-messaging v2.0.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-24T18:01:19.515Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-24T18:01:19.832Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-24T18:01:19.939Z] ========================================================= [2021-06-24T18:01:19.939Z] EdgeX Global Pipelines Version Info [2021-06-24T18:01:19.939Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:01:21.484Z] ------------------- [2021-06-24T18:01:21.484Z] stable info: [2021-06-24T18:01:21.484Z] ------------------- [2021-06-24T18:01:21.484Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-24T18:01:21.484Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T18:01:21.484Z] Message: update stable to v1.0.195 [2021-06-24T18:01:22.064Z] ------------------- [2021-06-24T18:01:22.064Z] experimental info: [2021-06-24T18:01:22.064Z] ------------------- [2021-06-24T18:01:22.064Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-24T18:01:22.064Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-24T18:01:22.064Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-24T18:01:22.401Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-24T18:01:22.464Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-24T18:01:22.518Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-24T18:01:22.579Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-24T18:01:22.633Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-24T18:01:22.699Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-24T18:01:22.756Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-24T18:01:22.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-24T18:01:22.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-24T18:01:22.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-24T18:01:23.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-24T18:01:23.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-24T18:01:23.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-24T18:01:23.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-24T18:01:23.250Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-24T18:01:23.310Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T18:01:23.370Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T18:01:23.430Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-24T18:01:23.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-24T18:01:23.541Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-24T18:01:23.598Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-24T18:01:23.652Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-24T18:01:23.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-24T18:01:23.774Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-24T18:01:23.833Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-24T18:01:23.891Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-24T18:01:23.952Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-985 [Pipeline] echo [2021-06-24T18:01:24.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-985 [Pipeline] echo [2021-06-24T18:01:24.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-985 [Pipeline] echo [2021-06-24T18:01:24.146Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e042529789ff5cfd73894854f7c76baefff42a98 [Pipeline] echo [2021-06-24T18:01:24.203Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e042529 [Pipeline] echo [2021-06-24T18:01:24.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T18:01:24.455Z] provisioning config files... [2021-06-24T18:01:24.479Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp/config4280807761462147784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:01:24.865Z] ---> docker-login.sh [2021-06-24T18:01:24.866Z] nexus3.edgexfoundry.org:10001 [2021-06-24T18:01:24.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:01:27.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:01:27.054Z] Configure a credential helper to remove this warning. See [2021-06-24T18:01:27.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:01:27.054Z] [2021-06-24T18:01:27.054Z] Login Succeeded [2021-06-24T18:01:27.054Z] nexus3.edgexfoundry.org:10002 [2021-06-24T18:01:27.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:01:27.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:01:27.054Z] Configure a credential helper to remove this warning. See [2021-06-24T18:01:27.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:01:27.054Z] [2021-06-24T18:01:27.054Z] Login Succeeded [2021-06-24T18:01:27.054Z] nexus3.edgexfoundry.org:10003 [2021-06-24T18:01:27.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:01:27.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:01:27.054Z] Configure a credential helper to remove this warning. See [2021-06-24T18:01:27.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:01:27.054Z] [2021-06-24T18:01:27.054Z] Login Succeeded [2021-06-24T18:01:27.054Z] nexus3.edgexfoundry.org:10004 [2021-06-24T18:01:27.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:01:27.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:01:27.054Z] Configure a credential helper to remove this warning. See [2021-06-24T18:01:27.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:01:27.054Z] [2021-06-24T18:01:27.054Z] Login Succeeded [2021-06-24T18:01:27.054Z] docker.io [2021-06-24T18:01:27.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:01:27.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:01:27.054Z] Configure a credential helper to remove this warning. See [2021-06-24T18:01:27.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:01:27.054Z] [2021-06-24T18:01:27.054Z] Login Succeeded [2021-06-24T18:01:27.054Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T18:01:27.084Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T18:01:27.887Z] + git log --format=format:%s -1 e042529789ff5cfd73894854f7c76baefff42a98 [Pipeline] echo [2021-06-24T18:01:27.952Z] GIT_COMMIT: e042529789ff5cfd73894854f7c76baefff42a98, Commit Message: build: Update to go-mod-messaging v2.0.1 [Pipeline] echo [2021-06-24T18:01:27.999Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:01:29.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T18:01:29.089Z] [2021-06-24T18:01:29.089Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:01:29.461Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T18:01:29.461Z] latest: Pulling from edgex-devops/git-semver [2021-06-24T18:01:29.461Z] 31603596830f: Pulling fs layer [2021-06-24T18:01:29.461Z] 54011a49482f: Pulling fs layer [2021-06-24T18:01:29.461Z] a6820b24f6d8: Pulling fs layer [2021-06-24T18:01:29.461Z] f581987b2513: Pulling fs layer [2021-06-24T18:01:29.461Z] f581987b2513: Waiting [2021-06-24T18:01:29.461Z] 54011a49482f: Verifying Checksum [2021-06-24T18:01:29.461Z] 54011a49482f: Download complete [2021-06-24T18:01:29.727Z] 31603596830f: Verifying Checksum [2021-06-24T18:01:29.727Z] 31603596830f: Download complete [2021-06-24T18:01:29.727Z] f581987b2513: Verifying Checksum [2021-06-24T18:01:29.727Z] f581987b2513: Download complete [2021-06-24T18:01:29.727Z] a6820b24f6d8: Verifying Checksum [2021-06-24T18:01:29.727Z] a6820b24f6d8: Download complete [2021-06-24T18:01:30.009Z] 31603596830f: Pull complete [2021-06-24T18:01:30.009Z] 54011a49482f: Pull complete [2021-06-24T18:01:30.599Z] a6820b24f6d8: Pull complete [2021-06-24T18:01:30.864Z] f581987b2513: Pull complete [2021-06-24T18:01:30.864Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-24T18:01:30.864Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-24T18:01:30.864Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-24T18:01:30.970Z] prd-centos7-docker-4c-2g-1239 does not seem to be running inside a container [2021-06-24T18:01:31.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-985 -v /w/workspace/dgexfoundry_device-sdk-go_PR-985:/w/workspace/dgexfoundry_device-sdk-go_PR-985:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-24T18:01:32.285Z] $ docker top f38570d1c9452bdb382a101b3a55a967daa1929549507ab227f7912d7ccf5ea1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-24T18:01:32.511Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T18:01:32.511Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T18:01:32.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T18:01:32.624Z] $ docker exec f38570d1c9452bdb382a101b3a55a967daa1929549507ab227f7912d7ccf5ea1 ssh-agent [2021-06-24T18:01:32.743Z] SSH_AUTH_SOCK=/tmp/ssh-XaQrcN79KIij/agent.13 [2021-06-24T18:01:32.743Z] SSH_AGENT_PID=19 [2021-06-24T18:01:32.753Z] Running ssh-add (command line suppressed) [2021-06-24T18:01:32.846Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp/private_key_5872100412724929348.key (/w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp/private_key_5872100412724929348.key) [2021-06-24T18:01:32.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T18:01:33.226Z] + git tag --points-at HEAD [Pipeline] } [2021-06-24T18:01:33.245Z] $ docker exec --env ******** --env ******** f38570d1c9452bdb382a101b3a55a967daa1929549507ab227f7912d7ccf5ea1 ssh-agent -k [2021-06-24T18:01:33.350Z] unset SSH_AUTH_SOCK; [2021-06-24T18:01:33.350Z] unset SSH_AGENT_PID; [2021-06-24T18:01:33.350Z] echo Agent pid 19 killed; [2021-06-24T18:01:33.367Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-24T18:01:33.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-24T18:01:33.457Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-24T18:01:33.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-24T18:01:33.569Z] $ docker exec f38570d1c9452bdb382a101b3a55a967daa1929549507ab227f7912d7ccf5ea1 ssh-agent [2021-06-24T18:01:33.680Z] SSH_AUTH_SOCK=/tmp/ssh-sb5nLfU5h36E/agent.52 [2021-06-24T18:01:33.680Z] SSH_AGENT_PID=59 [2021-06-24T18:01:33.685Z] Running ssh-add (command line suppressed) [2021-06-24T18:01:33.778Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp/private_key_5772877696235462357.key (/w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp/private_key_5772877696235462357.key) [2021-06-24T18:01:33.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-24T18:01:34.146Z] + git semver init [2021-06-24T18:01:34.146Z] # -> Open(): unable to determine branch for HEAD [2021-06-24T18:01:34.146Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-985/.git [2021-06-24T18:01:34.146Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-985 [2021-06-24T18:01:34.146Z] # $SEMVER_REMOTE_NAME = origin [2021-06-24T18:01:34.146Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-24T18:01:34.146Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-24T18:01:34.146Z] # $SEMVER_BRANCH = PR-985 [2021-06-24T18:01:34.146Z] # $SEMVER_TEMP = /tmp/semver-749941021 [2021-06-24T18:01:34.146Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-24T18:01:35.102Z] # '/tmp/semver-749941021' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-985/.semver' [2021-06-24T18:01:35.102Z] # -> Force: false [2021-06-24T18:01:35.102Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-985/.semver [Pipeline] } [2021-06-24T18:01:35.127Z] $ docker exec --env ******** --env ******** f38570d1c9452bdb382a101b3a55a967daa1929549507ab227f7912d7ccf5ea1 ssh-agent -k [2021-06-24T18:01:35.220Z] unset SSH_AUTH_SOCK; [2021-06-24T18:01:35.223Z] unset SSH_AGENT_PID; [2021-06-24T18:01:35.223Z] echo Agent pid 59 killed; [2021-06-24T18:01:35.238Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-24T18:01:35.679Z] + git semver [Pipeline] } [2021-06-24T18:01:35.704Z] $ docker stop --time=1 f38570d1c9452bdb382a101b3a55a967daa1929549507ab227f7912d7ccf5ea1 [2021-06-24T18:01:37.007Z] $ docker rm -f f38570d1c9452bdb382a101b3a55a967daa1929549507ab227f7912d7ccf5ea1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T18:01:37.458Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-24T18:01:37.805Z] Stashed 1 file(s) [Pipeline] echo [2021-06-24T18:01:37.833Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-06-24T18:01:55.548Z] Still waiting to schedule task [2021-06-24T18:01:55.549Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-24T18:01:55.577Z] Still waiting to schedule task [2021-06-24T18:01:55.577Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-24T18:03:56.221Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1240 in /w/workspace/dgexfoundry_device-sdk-go_PR-985 [Pipeline] { [Pipeline] ws [2021-06-24T18:03:56.286Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-24T18:03:56.535Z] Selected Git installation does not exist. Using Default [2021-06-24T18:03:56.535Z] The recommended git tool is: NONE [2021-06-24T18:04:02.249Z] using credential edgex-jenkins-ssh [2021-06-24T18:04:02.268Z] Cloning the remote Git repository [2021-06-24T18:04:02.330Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:04:02.444Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-24T18:04:02.510Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:04:02.511Z] > git --version # timeout=10 [2021-06-24T18:04:02.528Z] > git --version # 'git version 2.17.1' [2021-06-24T18:04:02.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:04:02.639Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T18:04:04.887Z] Merging remotes/origin/master commit 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 into PR head commit e042529789ff5cfd73894854f7c76baefff42a98 [2021-06-24T18:04:05.125Z] Merge succeeded, producing e042529789ff5cfd73894854f7c76baefff42a98 [2021-06-24T18:04:05.126Z] Checking out Revision e042529789ff5cfd73894854f7c76baefff42a98 (PR-985) [2021-06-24T18:04:04.110Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T18:04:04.129Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T18:04:04.162Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T18:04:04.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:04:04.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:04:04.216Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/985/head:refs/remotes/origin/PR-985 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T18:04:04.903Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T18:04:04.925Z] > git checkout -f e042529789ff5cfd73894854f7c76baefff42a98 # timeout=10 [2021-06-24T18:04:05.028Z] > git remote # timeout=10 [2021-06-24T18:04:05.050Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T18:04:05.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:04:05.074Z] > git merge 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 # timeout=10 [2021-06-24T18:04:05.100Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T18:04:05.128Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T18:04:05.145Z] > git checkout -f e042529789ff5cfd73894854f7c76baefff42a98 # timeout=10 [2021-06-24T18:04:10.215Z] Running on prd-centos7-docker-4c-2g-1241 in /w/workspace/dgexfoundry_device-sdk-go_PR-985 [Pipeline] { [Pipeline] ws [2021-06-24T18:04:10.276Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-24T18:04:10.414Z] Selected Git installation does not exist. Using Default [2021-06-24T18:04:10.414Z] The recommended git tool is: NONE [2021-06-24T18:04:11.765Z] Commit message: "build: Update to go-mod-messaging v2.0.1" [2021-06-24T18:04:11.819Z] > git --version # timeout=10 [2021-06-24T18:04:11.842Z] > git --version # 'git version 2.17.1' [2021-06-24T18:04:11.858Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T18:04:12.671Z] using credential edgex-jenkins-ssh [2021-06-24T18:04:12.684Z] Cloning the remote Git repository [2021-06-24T18:04:12.322Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:04:16.794Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-24T18:04:16.825Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:04:16.826Z] > git --version # timeout=10 [2021-06-24T18:04:16.833Z] > git --version # 'git version 2.24.4' [2021-06-24T18:04:16.833Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:04:16.860Z] [INFO] Currently running in a labeled security context [2021-06-24T18:04:16.860Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T18:04:16.861Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh699956963644678528.key [2021-06-24T18:04:16.880Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T18:04:17.442Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-24T18:04:17.867Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T18:04:18.108Z] Merging remotes/origin/master commit 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 into PR head commit e042529789ff5cfd73894854f7c76baefff42a98 [2021-06-24T18:04:18.186Z] Merge succeeded, producing e042529789ff5cfd73894854f7c76baefff42a98 [2021-06-24T18:04:18.187Z] Checking out Revision e042529789ff5cfd73894854f7c76baefff42a98 (PR-985) [2021-06-24T18:04:18.237Z] + true [2021-06-24T18:04:18.237Z] + sudo service docker restart [2021-06-24T18:04:17.600Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T18:04:17.611Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-24T18:04:17.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-24T18:04:17.633Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-24T18:04:17.633Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:04:17.635Z] [INFO] Currently running in a labeled security context [2021-06-24T18:04:17.635Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T18:04:17.635Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4461006037502479640.key [2021-06-24T18:04:17.641Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/985/head:refs/remotes/origin/PR-985 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-24T18:04:18.111Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T18:04:18.119Z] > git checkout -f e042529789ff5cfd73894854f7c76baefff42a98 # timeout=10 [2021-06-24T18:04:18.148Z] > git remote # timeout=10 [2021-06-24T18:04:18.156Z] > git config --get remote.origin.url # timeout=10 [2021-06-24T18:04:18.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-24T18:04:18.163Z] [INFO] Currently running in a labeled security context [2021-06-24T18:04:18.163Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-24T18:04:18.163Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6493212724018464266.key [2021-06-24T18:04:18.171Z] > git merge 2e09c6c73ab4d6858d50b7bbdafefaad88bbfb40 # timeout=10 [2021-06-24T18:04:18.178Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-24T18:04:18.185Z] > git config core.sparsecheckout # timeout=10 [2021-06-24T18:04:18.193Z] > git checkout -f e042529789ff5cfd73894854f7c76baefff42a98 # timeout=10 [2021-06-24T18:04:21.751Z] Commit message: "build: Update to go-mod-messaging v2.0.1" [2021-06-24T18:04:21.768Z] > git --version # timeout=10 [2021-06-24T18:04:21.773Z] > git --version # 'git version 2.24.4' [2021-06-24T18:04:21.779Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T18:04:25.120Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-24T18:04:25.478Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-24T18:04:25.807Z] + sudo service docker restart [2021-06-24T18:04:25.808Z] + true [2021-06-24T18:04:25.808Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T18:04:38.763Z] provisioning config files... [2021-06-24T18:04:38.798Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3124106970927432302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:04:39.230Z] ---> docker-login.sh [2021-06-24T18:04:39.230Z] nexus3.edgexfoundry.org:10001 [2021-06-24T18:04:40.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:04:40.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:04:40.512Z] Configure a credential helper to remove this warning. See [2021-06-24T18:04:40.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:04:40.512Z] [2021-06-24T18:04:40.512Z] Login Succeeded [2021-06-24T18:04:40.512Z] nexus3.edgexfoundry.org:10002 [2021-06-24T18:04:41.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:04:41.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:04:41.112Z] Configure a credential helper to remove this warning. See [2021-06-24T18:04:41.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:04:41.112Z] [2021-06-24T18:04:41.112Z] Login Succeeded [2021-06-24T18:04:41.112Z] nexus3.edgexfoundry.org:10003 [2021-06-24T18:04:41.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:04:41.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:04:41.657Z] Configure a credential helper to remove this warning. See [2021-06-24T18:04:41.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:04:41.657Z] [2021-06-24T18:04:41.657Z] Login Succeeded [2021-06-24T18:04:41.657Z] nexus3.edgexfoundry.org:10004 [2021-06-24T18:04:41.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:04:42.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:04:42.211Z] Configure a credential helper to remove this warning. See [2021-06-24T18:04:42.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:04:42.211Z] [2021-06-24T18:04:42.211Z] Login Succeeded [2021-06-24T18:04:42.211Z] docker.io [2021-06-24T18:04:42.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:04:42.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:04:42.762Z] Configure a credential helper to remove this warning. See [2021-06-24T18:04:42.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:04:42.762Z] [2021-06-24T18:04:42.762Z] Login Succeeded [2021-06-24T18:04:42.762Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T18:04:42.793Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-24T18:04:43.403Z] ========================================================= [2021-06-24T18:04:43.403Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-24T18:04:43.403Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:04:43.823Z] + 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 . [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T18:04:44.092Z] provisioning config files... [2021-06-24T18:04:44.108Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1819914634092746930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:04:44.426Z] Sending build context to Docker daemon 2.664MB [2021-06-24T18:04:44.426Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T18:04:44.426Z] Step 2/8 : FROM ${BASE} [2021-06-24T18:04:44.426Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-24T18:04:44.426Z] 595b0fe564bb: Pulling fs layer [2021-06-24T18:04:44.426Z] 3088b5b3c5c0: Pulling fs layer [2021-06-24T18:04:44.426Z] 5b7225fbf94c: Pulling fs layer [2021-06-24T18:04:44.426Z] ba82ee9f976e: Pulling fs layer [2021-06-24T18:04:44.426Z] 506bd15cee9f: Pulling fs layer [2021-06-24T18:04:44.426Z] 75a0a4a0db45: Pulling fs layer [2021-06-24T18:04:44.426Z] 618dc40b7e24: Pulling fs layer [2021-06-24T18:04:44.426Z] 506bd15cee9f: Waiting [2021-06-24T18:04:44.426Z] 75a0a4a0db45: Waiting [2021-06-24T18:04:44.426Z] 618dc40b7e24: Waiting [2021-06-24T18:04:44.426Z] ba82ee9f976e: Waiting [2021-06-24T18:04:44.503Z] ---> docker-login.sh [2021-06-24T18:04:44.503Z] nexus3.edgexfoundry.org:10001 [2021-06-24T18:04:44.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:04:44.710Z] 5b7225fbf94c: Verifying Checksum [2021-06-24T18:04:44.711Z] 5b7225fbf94c: Download complete [2021-06-24T18:04:44.711Z] 3088b5b3c5c0: Verifying Checksum [2021-06-24T18:04:44.711Z] 3088b5b3c5c0: Download complete [2021-06-24T18:04:44.711Z] 506bd15cee9f: Verifying Checksum [2021-06-24T18:04:44.711Z] 506bd15cee9f: Download complete [2021-06-24T18:04:44.711Z] 75a0a4a0db45: Download complete [2021-06-24T18:04:44.711Z] 595b0fe564bb: Verifying Checksum [2021-06-24T18:04:44.711Z] 595b0fe564bb: Download complete [2021-06-24T18:04:45.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:04:45.080Z] Configure a credential helper to remove this warning. See [2021-06-24T18:04:45.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:04:45.080Z] [2021-06-24T18:04:45.080Z] Login Succeeded [2021-06-24T18:04:45.080Z] nexus3.edgexfoundry.org:10002 [2021-06-24T18:04:45.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:04:45.313Z] 595b0fe564bb: Pull complete [2021-06-24T18:04:45.921Z] 3088b5b3c5c0: Pull complete [2021-06-24T18:04:46.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:04:46.469Z] Configure a credential helper to remove this warning. See [2021-06-24T18:04:46.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:04:46.469Z] [2021-06-24T18:04:46.469Z] Login Succeeded [2021-06-24T18:04:46.469Z] nexus3.edgexfoundry.org:10003 [2021-06-24T18:04:46.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:04:46.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:04:46.469Z] Configure a credential helper to remove this warning. See [2021-06-24T18:04:46.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:04:46.469Z] [2021-06-24T18:04:46.469Z] Login Succeeded [2021-06-24T18:04:46.469Z] nexus3.edgexfoundry.org:10004 [2021-06-24T18:04:46.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:04:46.521Z] 5b7225fbf94c: Pull complete [2021-06-24T18:04:46.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:04:46.733Z] Configure a credential helper to remove this warning. See [2021-06-24T18:04:46.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:04:46.733Z] [2021-06-24T18:04:46.733Z] Login Succeeded [2021-06-24T18:04:46.733Z] docker.io [2021-06-24T18:04:46.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-24T18:04:47.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-24T18:04:47.257Z] Configure a credential helper to remove this warning. See [2021-06-24T18:04:47.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-24T18:04:47.257Z] [2021-06-24T18:04:47.257Z] Login Succeeded [2021-06-24T18:04:47.257Z] ---> docker-login.sh ends [Pipeline] } [2021-06-24T18:04:47.284Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-24T18:04:49.817Z] 618dc40b7e24: Verifying Checksum [2021-06-24T18:04:49.817Z] 618dc40b7e24: Download complete [2021-06-24T18:04:49.817Z] ba82ee9f976e: Download complete [Pipeline] echo [2021-06-24T18:04:49.843Z] ========================================================= [2021-06-24T18:04:49.843Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-24T18:04:49.843Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:04:50.234Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-24T18:04:50.234Z] Sending build context to Docker daemon 2.665MB [2021-06-24T18:04:50.234Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T18:04:50.234Z] Step 2/8 : FROM ${BASE} [2021-06-24T18:04:50.496Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-24T18:04:50.496Z] 540db60ca938: Pulling fs layer [2021-06-24T18:04:50.496Z] adcc1eea9eea: Pulling fs layer [2021-06-24T18:04:50.496Z] 4c4ab2625f07: Pulling fs layer [2021-06-24T18:04:50.496Z] 0510c868ecb4: Pulling fs layer [2021-06-24T18:04:50.496Z] afea3b2eda06: Pulling fs layer [2021-06-24T18:04:50.496Z] 7809a108b3ef: Pulling fs layer [2021-06-24T18:04:50.496Z] f706445af74f: Pulling fs layer [2021-06-24T18:04:50.496Z] 0510c868ecb4: Waiting [2021-06-24T18:04:50.496Z] afea3b2eda06: Waiting [2021-06-24T18:04:50.496Z] 7809a108b3ef: Waiting [2021-06-24T18:04:50.496Z] f706445af74f: Waiting [2021-06-24T18:04:50.496Z] 4c4ab2625f07: Verifying Checksum [2021-06-24T18:04:50.496Z] 4c4ab2625f07: Download complete [2021-06-24T18:04:50.496Z] adcc1eea9eea: Verifying Checksum [2021-06-24T18:04:50.496Z] adcc1eea9eea: Download complete [2021-06-24T18:04:50.496Z] afea3b2eda06: Verifying Checksum [2021-06-24T18:04:50.496Z] afea3b2eda06: Download complete [2021-06-24T18:04:50.496Z] 540db60ca938: Verifying Checksum [2021-06-24T18:04:50.496Z] 540db60ca938: Download complete [2021-06-24T18:04:50.496Z] 7809a108b3ef: Verifying Checksum [2021-06-24T18:04:50.496Z] 7809a108b3ef: Download complete [2021-06-24T18:04:50.758Z] 540db60ca938: Pull complete [2021-06-24T18:04:50.758Z] adcc1eea9eea: Pull complete [2021-06-24T18:04:51.023Z] 4c4ab2625f07: Pull complete [2021-06-24T18:04:51.973Z] f706445af74f: Verifying Checksum [2021-06-24T18:04:51.973Z] f706445af74f: Download complete [2021-06-24T18:04:52.255Z] 0510c868ecb4: Verifying Checksum [2021-06-24T18:04:52.255Z] 0510c868ecb4: Download complete [2021-06-24T18:04:55.611Z] 0510c868ecb4: Pull complete [2021-06-24T18:04:55.611Z] afea3b2eda06: Pull complete [2021-06-24T18:04:55.611Z] 7809a108b3ef: Pull complete [2021-06-24T18:04:57.026Z] f706445af74f: Pull complete [2021-06-24T18:04:57.026Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-24T18:04:57.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-24T18:04:57.026Z] ---> b068be0155e3 [2021-06-24T18:04:57.026Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:05:00.013Z] ba82ee9f976e: Pull complete [2021-06-24T18:05:00.013Z] 506bd15cee9f: Pull complete [2021-06-24T18:05:00.013Z] 75a0a4a0db45: Pull complete [2021-06-24T18:05:02.449Z] ---> Running in 5054995edf95 [2021-06-24T18:05:02.449Z] Removing intermediate container 5054995edf95 [2021-06-24T18:05:02.449Z] ---> d99db2e3fe48 [2021-06-24T18:05:02.449Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:05:02.449Z] ---> Running in ac938ba42c89 [2021-06-24T18:05:02.449Z] Removing intermediate container ac938ba42c89 [2021-06-24T18:05:02.449Z] ---> 0714ac64cada [2021-06-24T18:05:02.449Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T18:05:02.449Z] ---> Running in bb98de383a66 [2021-06-24T18:05:02.449Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T18:05:02.449Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T18:05:03.029Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-24T18:05:03.029Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-24T18:05:03.029Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-24T18:05:03.144Z] 618dc40b7e24: Pull complete [2021-06-24T18:05:03.289Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-24T18:05:03.289Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-24T18:05:03.289Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-24T18:05:03.425Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-24T18:05:03.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-24T18:05:03.425Z] ---> a36622ca3599 [2021-06-24T18:05:03.425Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:05:03.557Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T18:05:03.557Z] OK: 150 MiB in 46 packages [2021-06-24T18:05:03.823Z] Removing intermediate container bb98de383a66 [2021-06-24T18:05:03.823Z] ---> 279aa5061e62 [2021-06-24T18:05:03.823Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-24T18:05:03.823Z] ---> Running in af0485beb63f [2021-06-24T18:05:03.823Z] Removing intermediate container af0485beb63f [2021-06-24T18:05:03.823Z] ---> c19097adf002 [2021-06-24T18:05:03.823Z] Step 7/8 : COPY . . [2021-06-24T18:05:04.024Z] ---> Running in 555ebea4874d [2021-06-24T18:05:04.097Z] ---> 9ddbe7c09737 [2021-06-24T18:05:04.097Z] Step 8/8 : RUN go mod download [2021-06-24T18:05:04.359Z] ---> Running in 5c5dc44f724f [2021-06-24T18:05:04.632Z] Removing intermediate container 555ebea4874d [2021-06-24T18:05:04.632Z] ---> dba7d0d9b389 [2021-06-24T18:05:04.632Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:05:04.907Z] ---> Running in 89c4c1371748 [2021-06-24T18:05:07.535Z] Removing intermediate container 89c4c1371748 [2021-06-24T18:05:07.535Z] ---> 15ea04bdc1f1 [2021-06-24T18:05:07.535Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-24T18:05:07.535Z] ---> Running in aefc1f555d78 [2021-06-24T18:05:08.516Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T18:05:09.946Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T18:05:10.544Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-24T18:05:10.544Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-24T18:05:10.544Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-24T18:05:10.817Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-24T18:05:10.817Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-24T18:05:11.103Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-24T18:05:11.103Z] Executing busybox-1.32.1-r6.trigger [2021-06-24T18:05:11.103Z] OK: 139 MiB in 46 packages [2021-06-24T18:05:12.547Z] Removing intermediate container aefc1f555d78 [2021-06-24T18:05:12.547Z] ---> 38fa4e530e94 [2021-06-24T18:05:12.547Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-24T18:05:12.547Z] ---> Running in 5422571cc953 [2021-06-24T18:05:13.145Z] Removing intermediate container 5422571cc953 [2021-06-24T18:05:13.145Z] ---> a297a9e9f1e9 [2021-06-24T18:05:13.145Z] Step 7/8 : COPY . . [2021-06-24T18:05:15.712Z] Removing intermediate container 5c5dc44f724f [2021-06-24T18:05:15.712Z] ---> 5959c689fb81 [2021-06-24T18:05:15.712Z] Successfully built 5959c689fb81 [2021-06-24T18:05:15.712Z] Successfully tagged ci-base-image-x86_64:latest [2021-06-24T18:05:15.718Z] ---> ae96f6a3f3d5 [2021-06-24T18:05:15.719Z] Step 8/8 : RUN go mod download [2021-06-24T18:05:15.719Z] ---> Running in 797677f8fb1c [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:05:16.064Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T18:05:16.064Z] . [Pipeline] withDockerContainer [2021-06-24T18:05:16.161Z] prd-centos7-docker-4c-2g-1241 does not seem to be running inside a container [2021-06-24T18:05:16.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-24T18:05:16.524Z] $ docker top c43877868e5c34f9de6f9acd21155ddff34473f913fa28036086c264c518415a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T18:05:16.974Z] + go version [2021-06-24T18:05:16.974Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-24T18:05:16.999Z] $ docker stop --time=1 c43877868e5c34f9de6f9acd21155ddff34473f913fa28036086c264c518415a [2021-06-24T18:05:18.179Z] $ docker rm -f c43877868e5c34f9de6f9acd21155ddff34473f913fa28036086c264c518415a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:05:19.042Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-24T18:05:19.042Z] . [Pipeline] withDockerContainer [2021-06-24T18:05:19.143Z] prd-centos7-docker-4c-2g-1241 does not seem to be running inside a container [2021-06-24T18:05:19.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-24T18:05:19.507Z] $ docker top 176a1fa1810425b5940417b7d0d37aab20a07fb3b095f95b293edd7315acce86 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T18:05:19.961Z] + go mod tidy [Pipeline] sh [2021-06-24T18:05:20.558Z] + make test [2021-06-24T18:05:20.558Z] go mod tidy [2021-06-24T18:05:20.558Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-24T18:05:26.316Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-24T18:05:43.804Z] Removing intermediate container 797677f8fb1c [2021-06-24T18:05:43.804Z] ---> dc6a1b6f9950 [2021-06-24T18:05:43.804Z] Successfully built dc6a1b6f9950 [2021-06-24T18:05:43.804Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:05:44.192Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T18:05:44.192Z] . [Pipeline] withDockerContainer [2021-06-24T18:05:44.476Z] prd-ubuntu18.04-docker-arm64-4c-16g-1240 does not seem to be running inside a container [2021-06-24T18:05:44.575Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-24T18:05:46.282Z] $ docker top 2ef941896af72c90c61590e02704e42dac82946f2543c6f9935b45c195f53b79 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T18:05:47.303Z] + go version [2021-06-24T18:05:47.303Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-24T18:05:47.344Z] $ docker stop --time=1 2ef941896af72c90c61590e02704e42dac82946f2543c6f9935b45c195f53b79 [2021-06-24T18:05:49.178Z] $ docker rm -f 2ef941896af72c90c61590e02704e42dac82946f2543c6f9935b45c195f53b79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:05:50.203Z] + docker inspect -f . ci-base-image-arm64 [2021-06-24T18:05:50.203Z] . [Pipeline] withDockerContainer [2021-06-24T18:05:50.484Z] prd-ubuntu18.04-docker-arm64-4c-16g-1240 does not seem to be running inside a container [2021-06-24T18:05:50.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-24T18:05:50.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-24T18:05:50.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-24T18:05:50.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-24T18:05:50.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 24.2% of statements [2021-06-24T18:05:50.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-24T18:05:50.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.044s coverage: 28.1% of statements [2021-06-24T18:05:51.126Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements [2021-06-24T18:05:51.126Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.040s coverage: 9.0% of statements [2021-06-24T18:05:51.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-24T18:05:51.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-24T18:05:51.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-24T18:05:52.077Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.061s coverage: 28.7% of statements [2021-06-24T18:05:52.077Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-24T18:05:52.210Z] $ docker top 337c8596e39c15a86b92e277f65293c9ae0181d7da741aa9235f22667f7eacce -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T18:05:53.029Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 83.3% of statements [2021-06-24T18:05:53.029Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-24T18:05:53.029Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T18:05:53.029Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 58.0% of statements [2021-06-24T18:05:53.260Z] + go mod tidy [Pipeline] sh [2021-06-24T18:05:54.422Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.836s coverage: 89.2% of statements [2021-06-24T18:05:54.422Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-24T18:05:54.422Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements [2021-06-24T18:05:54.422Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-24T18:05:54.422Z] GO111MODULE=on go vet ./... [2021-06-24T18:05:54.541Z] + make test [2021-06-24T18:05:54.541Z] go mod tidy [2021-06-24T18:05:55.140Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-24T18:06:12.064Z] gofmt -l . [2021-06-24T18:06:12.064Z] [ "`gofmt -l .`" = "" ] [2021-06-24T18:06:12.064Z] ./bin/test-attribution-txt.sh [2021-06-24T18:06:12.064Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T18:06:12.092Z] $ docker stop --time=1 176a1fa1810425b5940417b7d0d37aab20a07fb3b095f95b293edd7315acce86 [2021-06-24T18:06:13.690Z] $ docker rm -f 176a1fa1810425b5940417b7d0d37aab20a07fb3b095f95b293edd7315acce86 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T18:06:14.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T18:06:14.485Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-24T18:06:19.537Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T18:06:19.664Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-24T18:06:19.854Z] + ls -al . [2021-06-24T18:06:19.854Z] total 212 [2021-06-24T18:06:19.854Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 24 18:06 . [2021-06-24T18:06:19.854Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 24 18:04 .. [2021-06-24T18:06:19.854Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 24 18:04 bin [2021-06-24T18:06:19.854Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 24 18:05 coverage.out [2021-06-24T18:06:19.854Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 24 18:04 Dockerfile.build [2021-06-24T18:06:19.854Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 24 18:04 .dockerignore [2021-06-24T18:06:19.854Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 24 18:04 example [2021-06-24T18:06:19.854Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 24 18:04 .git [2021-06-24T18:06:19.854Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 24 18:04 .github [2021-06-24T18:06:19.854Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 24 18:04 .gitignore [2021-06-24T18:06:19.854Z] -rw-r--r--. 1 jenkins jenkins 563 Jun 24 18:06 go.mod [2021-06-24T18:06:19.854Z] -rw-r--r--. 1 jenkins jenkins 20498 Jun 24 18:05 go.sum [2021-06-24T18:06:19.854Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 24 18:04 internal [2021-06-24T18:06:19.854Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 24 18:04 Jenkinsfile [2021-06-24T18:06:19.854Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 24 18:04 LICENSE [2021-06-24T18:06:19.854Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 24 18:04 Makefile [2021-06-24T18:06:19.854Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 24 18:04 openapi [2021-06-24T18:06:19.854Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 24 18:04 pkg [2021-06-24T18:06:19.854Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 24 18:04 README.md [2021-06-24T18:06:19.854Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 24 18:04 RELEASE-NOTES.txt [2021-06-24T18:06:19.854Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 24 18:04 snap [2021-06-24T18:06:19.854Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 24 18:01 VERSION [2021-06-24T18:06:19.854Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 24 18:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:06:20.207Z] + 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=e042529789ff5cfd73894854f7c76baefff42a98 --label arch=amd64 --label version=0.0.0 . [2021-06-24T18:06:20.207Z] Sending build context to Docker daemon 2.791MB [2021-06-24T18:06:20.207Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T18:06:20.207Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-24T18:06:20.207Z] ---> 5959c689fb81 [2021-06-24T18:06:20.207Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-24T18:06:20.207Z] ---> Running in 768d79881a51 [2021-06-24T18:06:20.469Z] Removing intermediate container 768d79881a51 [2021-06-24T18:06:20.469Z] ---> f6b18a1a2f19 [2021-06-24T18:06:20.469Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:06:20.469Z] ---> Running in 9b06b6f238be [2021-06-24T18:06:20.469Z] Removing intermediate container 9b06b6f238be [2021-06-24T18:06:20.469Z] ---> a1f8f2b6e80c [2021-06-24T18:06:20.469Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:06:20.469Z] ---> Running in 41fb1bce54fc [2021-06-24T18:06:21.042Z] Removing intermediate container 41fb1bce54fc [2021-06-24T18:06:21.042Z] ---> ee946edd8ad1 [2021-06-24T18:06:21.042Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T18:06:21.042Z] ---> Running in 74966f208804 [2021-06-24T18:06:21.304Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-24T18:06:22.257Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-24T18:06:22.519Z] OK: 150 MiB in 46 packages [2021-06-24T18:06:22.781Z] Removing intermediate container 74966f208804 [2021-06-24T18:06:22.781Z] ---> 66203b7b2533 [2021-06-24T18:06:22.781Z] Step 7/23 : COPY . . [2021-06-24T18:06:23.048Z] ---> 0e5991f77bc5 [2021-06-24T18:06:23.048Z] Step 8/23 : RUN go mod download [2021-06-24T18:06:23.048Z] ---> Running in 764dea9ab90f [2021-06-24T18:06:23.623Z] Removing intermediate container 764dea9ab90f [2021-06-24T18:06:23.623Z] ---> 39fe6431614e [2021-06-24T18:06:23.623Z] Step 9/23 : RUN make build [2021-06-24T18:06:23.623Z] ---> Running in d144a2a430ca [2021-06-24T18:06:23.890Z] go mod tidy [2021-06-24T18:06:23.890Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-24T18:06:34.033Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-24T18:06:36.369Z] Removing intermediate container d144a2a430ca [2021-06-24T18:06:36.369Z] ---> ed3bab4f74ff [2021-06-24T18:06:36.369Z] Step 10/23 : FROM alpine:3.12 [2021-06-24T18:06:36.369Z] 3.12: Pulling from library/alpine [2021-06-24T18:06:36.369Z] 339de151aab4: Pulling fs layer [2021-06-24T18:06:36.369Z] 339de151aab4: Download complete [2021-06-24T18:06:36.369Z] 339de151aab4: Pull complete [2021-06-24T18:06:36.369Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T18:06:36.369Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T18:06:36.369Z] ---> 13621d1b12d4 [2021-06-24T18:06:36.369Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:06:36.369Z] ---> Running in 58802d263920 [2021-06-24T18:06:36.369Z] Removing intermediate container 58802d263920 [2021-06-24T18:06:36.369Z] ---> f3fe952bf906 [2021-06-24T18:06:36.369Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:06:36.369Z] ---> Running in 2b093d1c11bd [2021-06-24T18:06:36.369Z] Removing intermediate container 2b093d1c11bd [2021-06-24T18:06:36.369Z] ---> 82eebeee60fe [2021-06-24T18:06:36.369Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-24T18:06:36.369Z] ---> Running in 8879251b52a6 [2021-06-24T18:06:36.369Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-24T18:06:37.310Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-24T18:06:37.884Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-24T18:06:37.885Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-24T18:06:38.145Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-24T18:06:38.408Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-24T18:06:38.408Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-24T18:06:38.408Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T18:06:38.408Z] OK: 8 MiB in 19 packages [2021-06-24T18:06:38.668Z] Removing intermediate container 8879251b52a6 [2021-06-24T18:06:38.669Z] ---> 2ede384a2c6a [2021-06-24T18:06:38.669Z] Step 14/23 : WORKDIR / [2021-06-24T18:06:38.669Z] ---> Running in fc2b7532a7da [2021-06-24T18:06:38.933Z] Removing intermediate container fc2b7532a7da [2021-06-24T18:06:38.933Z] ---> 0e63bb9f8632 [2021-06-24T18:06:38.933Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-24T18:06:38.933Z] ---> 02da787364da [2021-06-24T18:06:38.933Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-24T18:06:39.506Z] ---> 23f5fb4824d8 [2021-06-24T18:06:39.506Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-24T18:06:39.506Z] ---> 8561e64fed4f [2021-06-24T18:06:39.506Z] Step 18/23 : EXPOSE 59999 [2021-06-24T18:06:39.506Z] ---> Running in ae356204bbe4 [2021-06-24T18:06:39.506Z] Removing intermediate container ae356204bbe4 [2021-06-24T18:06:39.506Z] ---> 52bd3ad9bae1 [2021-06-24T18:06:39.506Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-24T18:06:39.506Z] ---> Running in 1c3a20b3995a [2021-06-24T18:06:39.767Z] Removing intermediate container 1c3a20b3995a [2021-06-24T18:06:39.767Z] ---> 5b4943154d52 [2021-06-24T18:06:39.767Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T18:06:39.767Z] ---> Running in 11fa71c99a13 [2021-06-24T18:06:39.767Z] Removing intermediate container 11fa71c99a13 [2021-06-24T18:06:39.767Z] ---> 6b5d279e6d3a [2021-06-24T18:06:39.767Z] Step 21/23 : LABEL arch=amd64 [2021-06-24T18:06:39.767Z] ---> Running in 7c4e4a5c8dc8 [2021-06-24T18:06:40.029Z] Removing intermediate container 7c4e4a5c8dc8 [2021-06-24T18:06:40.029Z] ---> 733712160014 [2021-06-24T18:06:40.029Z] Step 22/23 : LABEL git_sha=e042529789ff5cfd73894854f7c76baefff42a98 [2021-06-24T18:06:40.029Z] ---> Running in 43666c40171a [2021-06-24T18:06:40.029Z] Removing intermediate container 43666c40171a [2021-06-24T18:06:40.029Z] ---> 4eed48655569 [2021-06-24T18:06:40.029Z] Step 23/23 : LABEL version=0.0.0 [2021-06-24T18:06:40.029Z] ---> Running in bcdc14ffee31 [2021-06-24T18:06:40.029Z] Removing intermediate container bcdc14ffee31 [2021-06-24T18:06:40.029Z] ---> 31d7e389f7ae [2021-06-24T18:06:40.029Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-24T18:06:40.029Z] Successfully built 31d7e389f7ae [2021-06-24T18:06:40.029Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:06:41.531Z] ---> job-cost.sh [2021-06-24T18:06:41.531Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-O2rK [2021-06-24T18:06:49.691Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T18:07:01.950Z] lf-activate-venv(): INFO: Adding /tmp/venv-O2rK/bin to PATH [2021-06-24T18:07:01.950Z] INFO: No Stack... [2021-06-24T18:07:02.533Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T18:07:03.107Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T18:07:03.432Z] + cut -d, -f6 [2021-06-24T18:07:03.432Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-06-24T18:07:03.492Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-985-1-stack-cost] [2021-06-24T18:07:03.506Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-985-1-stack-cost] did not exist. Created. [2021-06-24T18:07:03.506Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-985-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T18:07:03.932Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-24T18:07:04.027Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T18:07:04.044Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-985-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-24T18:07:17.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-24T18:07:17.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-24T18:07:17.607Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-24T18:07:32.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.293s coverage: 24.2% of statements [2021-06-24T18:07:32.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-24T18:07:32.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.197s coverage: 28.1% of statements [2021-06-24T18:07:32.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.317s coverage: 78.9% of statements [2021-06-24T18:07:32.751Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.216s coverage: 9.0% of statements [2021-06-24T18:07:32.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-24T18:07:32.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-24T18:07:32.751Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-24T18:07:33.358Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.277s coverage: 28.7% of statements [2021-06-24T18:07:33.358Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-24T18:07:36.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.270s coverage: 83.3% of statements [2021-06-24T18:07:36.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-24T18:07:36.784Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-24T18:07:36.784Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.366s coverage: 58.0% of statements [2021-06-24T18:07:39.417Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.004s coverage: 89.2% of statements [2021-06-24T18:07:39.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-24T18:07:39.417Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.202s coverage: 5.0% of statements [2021-06-24T18:07:39.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-24T18:07:40.022Z] GO111MODULE=on go vet ./... [2021-06-24T18:08:36.632Z] gofmt -l . [2021-06-24T18:08:36.632Z] [ "`gofmt -l .`" = "" ] [2021-06-24T18:08:36.633Z] ./bin/test-attribution-txt.sh [2021-06-24T18:08:36.633Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-24T18:08:36.685Z] $ docker stop --time=1 337c8596e39c15a86b92e277f65293c9ae0181d7da741aa9235f22667f7eacce [2021-06-24T18:08:38.734Z] $ docker rm -f 337c8596e39c15a86b92e277f65293c9ae0181d7da741aa9235f22667f7eacce [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-24T18:08:39.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-24T18:08:39.918Z] Warning: overwriting stash ‘coverage-report’ [2021-06-24T18:08:44.840Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-24T18:08:45.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-24T18:08:46.055Z] + ls -al . [2021-06-24T18:08:46.055Z] total 248 [2021-06-24T18:08:46.055Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 18:08 . [2021-06-24T18:08:46.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 18:04 .. [2021-06-24T18:08:46.055Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 18:04 .dockerignore [2021-06-24T18:08:46.055Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 18:04 .git [2021-06-24T18:08:46.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 18:04 .github [2021-06-24T18:08:46.055Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 24 18:04 .gitignore [2021-06-24T18:08:46.055Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 24 18:04 Dockerfile.build [2021-06-24T18:08:46.055Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 24 18:04 Jenkinsfile [2021-06-24T18:08:46.055Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 24 18:04 LICENSE [2021-06-24T18:08:46.055Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 24 18:04 Makefile [2021-06-24T18:08:46.055Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 24 18:04 README.md [2021-06-24T18:08:46.055Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 24 18:04 RELEASE-NOTES.txt [2021-06-24T18:08:46.055Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 24 18:01 VERSION [2021-06-24T18:08:46.055Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 18:04 bin [2021-06-24T18:08:46.055Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 24 18:07 coverage.out [2021-06-24T18:08:46.055Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 18:04 example [2021-06-24T18:08:46.055Z] -rw-r--r-- 1 jenkins jenkins 563 Jun 24 18:08 go.mod [2021-06-24T18:08:46.055Z] -rw-r--r-- 1 jenkins jenkins 20498 Jun 24 18:05 go.sum [2021-06-24T18:08:46.055Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 24 18:04 internal [2021-06-24T18:08:46.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 18:04 openapi [2021-06-24T18:08:46.055Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 18:04 pkg [2021-06-24T18:08:46.055Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 18:04 snap [2021-06-24T18:08:46.055Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 24 18:04 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:08:46.441Z] + 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=e042529789ff5cfd73894854f7c76baefff42a98 --label arch=arm64 --label version=0.0.0 . [2021-06-24T18:08:47.064Z] Sending build context to Docker daemon 2.79MB [2021-06-24T18:08:47.064Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-24T18:08:47.064Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-24T18:08:47.064Z] ---> dc6a1b6f9950 [2021-06-24T18:08:47.064Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-24T18:08:47.336Z] ---> Running in 0e9036219f9d [2021-06-24T18:08:47.931Z] Removing intermediate container 0e9036219f9d [2021-06-24T18:08:47.931Z] ---> 6f24f97cc6f3 [2021-06-24T18:08:47.931Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:08:47.931Z] ---> Running in eaf4fd614f5f [2021-06-24T18:08:48.206Z] Removing intermediate container eaf4fd614f5f [2021-06-24T18:08:48.206Z] ---> 978a14410e54 [2021-06-24T18:08:48.206Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:08:48.483Z] ---> Running in b33f55680611 [2021-06-24T18:08:50.470Z] Removing intermediate container b33f55680611 [2021-06-24T18:08:50.470Z] ---> a0d8af00c93f [2021-06-24T18:08:50.470Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-24T18:08:50.744Z] ---> Running in 059887ddea3d [2021-06-24T18:08:52.182Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-24T18:08:53.160Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-24T18:08:54.596Z] OK: 139 MiB in 46 packages [2021-06-24T18:08:56.034Z] Removing intermediate container 059887ddea3d [2021-06-24T18:08:56.034Z] ---> e9bdf0f9079c [2021-06-24T18:08:56.034Z] Step 7/23 : COPY . . [2021-06-24T18:08:57.482Z] ---> cc2be44ff0de [2021-06-24T18:08:57.482Z] Step 8/23 : RUN go mod download [2021-06-24T18:08:57.482Z] ---> Running in 559d75e126c8 [2021-06-24T18:09:00.105Z] Removing intermediate container 559d75e126c8 [2021-06-24T18:09:00.105Z] ---> d2d9c8e032e6 [2021-06-24T18:09:00.105Z] Step 9/23 : RUN make build [2021-06-24T18:09:00.105Z] ---> Running in 4fd2ab78269c [2021-06-24T18:09:01.547Z] go mod tidy [2021-06-24T18:09:01.821Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-24T18:09:34.235Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-24T18:09:36.217Z] Removing intermediate container 4fd2ab78269c [2021-06-24T18:09:36.217Z] ---> 01d7bb29c8d5 [2021-06-24T18:09:36.217Z] Step 10/23 : FROM alpine:3.12 [2021-06-24T18:09:37.193Z] 3.12: Pulling from library/alpine [2021-06-24T18:09:37.193Z] d2f70382dc9a: Pulling fs layer [2021-06-24T18:09:37.467Z] d2f70382dc9a: Verifying Checksum [2021-06-24T18:09:37.467Z] d2f70382dc9a: Download complete [2021-06-24T18:09:38.073Z] d2f70382dc9a: Pull complete [2021-06-24T18:09:38.073Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-24T18:09:38.073Z] Status: Downloaded newer image for alpine:3.12 [2021-06-24T18:09:38.073Z] ---> c4fd0aeabfcf [2021-06-24T18:09:38.073Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-24T18:09:38.348Z] ---> Running in 1aa6b10e08ae [2021-06-24T18:09:38.945Z] Removing intermediate container 1aa6b10e08ae [2021-06-24T18:09:38.945Z] ---> 27659e62070d [2021-06-24T18:09:38.945Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-24T18:09:38.945Z] ---> Running in 953e6385dc1b [2021-06-24T18:09:42.343Z] Removing intermediate container 953e6385dc1b [2021-06-24T18:09:42.343Z] ---> 4f91aee971ab [2021-06-24T18:09:42.343Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-24T18:09:42.343Z] ---> Running in 6eebdaab9160 [2021-06-24T18:09:43.324Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-24T18:09:43.957Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-24T18:09:44.626Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-24T18:09:44.902Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-24T18:09:44.902Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-24T18:09:45.192Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-24T18:09:45.192Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-24T18:09:45.192Z] Executing busybox-1.31.1-r20.trigger [2021-06-24T18:09:45.192Z] OK: 8 MiB in 19 packages [2021-06-24T18:09:47.192Z] Removing intermediate container 6eebdaab9160 [2021-06-24T18:09:47.192Z] ---> 3851334632ed [2021-06-24T18:09:47.192Z] Step 14/23 : WORKDIR / [2021-06-24T18:09:47.192Z] ---> Running in 7ae1f38390c1 [2021-06-24T18:09:47.792Z] Removing intermediate container 7ae1f38390c1 [2021-06-24T18:09:47.792Z] ---> 353c67873751 [2021-06-24T18:09:47.792Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-24T18:09:48.391Z] ---> d0a522af49f5 [2021-06-24T18:09:48.391Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-24T18:09:49.835Z] ---> 4a1d57b51c06 [2021-06-24T18:09:49.835Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-24T18:09:50.816Z] ---> f46abf01c07b [2021-06-24T18:09:50.816Z] Step 18/23 : EXPOSE 59999 [2021-06-24T18:09:50.816Z] ---> Running in 7abaf7903db5 [2021-06-24T18:09:51.414Z] Removing intermediate container 7abaf7903db5 [2021-06-24T18:09:51.414Z] ---> 912866b59e61 [2021-06-24T18:09:51.414Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-24T18:09:51.414Z] ---> Running in b571b969c24b [2021-06-24T18:09:52.013Z] Removing intermediate container b571b969c24b [2021-06-24T18:09:52.013Z] ---> 42fbe7e4e4cb [2021-06-24T18:09:52.013Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-24T18:09:52.013Z] ---> Running in 5ff7fc191988 [2021-06-24T18:09:52.609Z] Removing intermediate container 5ff7fc191988 [2021-06-24T18:09:52.609Z] ---> a1a96ba272d0 [2021-06-24T18:09:52.609Z] Step 21/23 : LABEL arch=arm64 [2021-06-24T18:09:52.886Z] ---> Running in a4f86e6ff3e4 [2021-06-24T18:09:53.164Z] Removing intermediate container a4f86e6ff3e4 [2021-06-24T18:09:53.164Z] ---> bccb8e69e65e [2021-06-24T18:09:53.164Z] Step 22/23 : LABEL git_sha=e042529789ff5cfd73894854f7c76baefff42a98 [2021-06-24T18:09:53.438Z] ---> Running in 286af0f59158 [2021-06-24T18:09:54.034Z] Removing intermediate container 286af0f59158 [2021-06-24T18:09:54.034Z] ---> 01553e466819 [2021-06-24T18:09:54.034Z] Step 23/23 : LABEL version=0.0.0 [2021-06-24T18:09:54.034Z] ---> Running in 48d769f58bb0 [2021-06-24T18:09:54.630Z] Removing intermediate container 48d769f58bb0 [2021-06-24T18:09:54.630Z] ---> 5ebe23bd1282 [2021-06-24T18:09:54.630Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-06-24T18:09:54.630Z] Successfully built 5ebe23bd1282 [2021-06-24T18:09:54.905Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:09:55.868Z] ---> job-cost.sh [2021-06-24T18:09:55.869Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-bdKF [2021-06-24T18:10:34.858Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-24T18:11:56.677Z] lf-activate-venv(): INFO: Adding /tmp/venv-bdKF/bin to PATH [2021-06-24T18:11:56.677Z] INFO: No Stack... [2021-06-24T18:11:58.105Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-24T18:11:58.377Z] INFO: Archiving Costs [Pipeline] sh [2021-06-24T18:11:58.739Z] + cut -d, -f6 [2021-06-24T18:11:58.740Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-06-24T18:11:58.834Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-985-1-stack-cost] [2021-06-24T18:11:58.841Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-985-1-stack-cost] did not exist. Created. [2021-06-24T18:11:58.841Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-985-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-24T18:11:59.287Z] /w/workspace/device-sdk-go/1@tmp/durable-1385c377/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-1385c377/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-24T18:11:59.677Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-24T18:11:59.723Z] Warning: overwriting stash ‘stack-cost’ [2021-06-24T18:11:59.886Z] Stashed 1 file(s) [Pipeline] } [2021-06-24T18:11:59.909Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-985-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-24T18:12:01.335Z] provisioning config files... [2021-06-24T18:12:01.346Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp/config2614726086361909876tmp [Pipeline] { [Pipeline] sh [2021-06-24T18:12:01.712Z] + set +x [2021-06-24T18:12:01.712Z] + curl -s https://codecov.io/bash [2021-06-24T18:12:01.712Z] + bash -s -- [2021-06-24T18:12:01.712Z] [2021-06-24T18:12:01.712Z] _____ _ [2021-06-24T18:12:01.712Z] / ____| | | [2021-06-24T18:12:01.712Z] | | ___ __| | ___ ___ _____ __ [2021-06-24T18:12:01.712Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-24T18:12:01.712Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-24T18:12:01.712Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-24T18:12:01.712Z] Bash-1.0.3 [2021-06-24T18:12:01.712Z] [2021-06-24T18:12:01.712Z] [2021-06-24T18:12:01.712Z] ==> git version 2.24.4 found [2021-06-24T18:12:01.712Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-24T18:12:01.712Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-24T18:12:01.712Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-24T18:12:01.712Z] ==> Jenkins CI detected. [2021-06-24T18:12:01.712Z] project root: . [2021-06-24T18:12:01.712Z] --> token set from env [2021-06-24T18:12:01.984Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-24T18:12:01.985Z] ==> Running gcov in . (disable via -X gcov) [2021-06-24T18:12:01.985Z] ==> Python coveragepy not found [2021-06-24T18:12:01.985Z] ==> Searching for coverage reports in: [2021-06-24T18:12:01.985Z] + . [2021-06-24T18:12:01.985Z] -> Found 1 reports [2021-06-24T18:12:01.985Z] ==> Detecting git/mercurial file structure [2021-06-24T18:12:01.985Z] ==> Reading reports [2021-06-24T18:12:01.985Z] + ./coverage.out bytes=125634 [2021-06-24T18:12:01.985Z] ==> Appending adjustments [2021-06-24T18:12:01.985Z] https://docs.codecov.io/docs/fixing-reports [2021-06-24T18:12:02.250Z] + Found adjustments [2021-06-24T18:12:02.250Z] ==> Gzipping contents [2021-06-24T18:12:02.250Z] 16K /tmp/codecov.6GLIUg.gz [2021-06-24T18:12:02.250Z] ==> Uploading reports [2021-06-24T18:12:02.250Z] url: https://codecov.io [2021-06-24T18:12:02.250Z] query: branch=PR-985&commit=e042529789ff5cfd73894854f7c76baefff42a98&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-985%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=985&job=&cmd_args= [2021-06-24T18:12:02.250Z] -> Pinging Codecov [2021-06-24T18:12:02.250Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-985&commit=e042529789ff5cfd73894854f7c76baefff42a98&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-985%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=985&job=&cmd_args= [2021-06-24T18:12:02.822Z] -> Uploading to [2021-06-24T18:12:02.823Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-24/7E55EF52A471D76F132DFD9A03CDDE97/e042529789ff5cfd73894854f7c76baefff42a98/45ad6c0c-a5aa-460d-983d-6c6380168a64.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210624T181202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8a04d8fd01d16158a26dc8f998c7daa1be53cd56558cde85ed4eb4092e0b5e0d [2021-06-24T18:12:02.823Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-24T18:12:02.823Z] Dload Upload Total Spent Left Speed [2021-06-24T18:12:03.088Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16305 0 0 100 16305 0 39015 --:--:-- --:--:-- --:--:-- 39100 [2021-06-24T18:12:03.088Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e042529789ff5cfd73894854f7c76baefff42a98 [Pipeline] } [2021-06-24T18:12:03.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:12:06.047Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:12:06.669Z] ---> package-listing.sh [2021-06-24T18:12:06.669Z] ++ facter osfamily [2021-06-24T18:12:06.669Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-24T18:12:06.932Z] + OS_FAMILY=redhat [2021-06-24T18:12:06.932Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-985 [2021-06-24T18:12:06.932Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-24T18:12:06.932Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-24T18:12:06.932Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-24T18:12:06.932Z] + PACKAGES=/tmp/packages_start.txt [2021-06-24T18:12:06.932Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-985 ']' [2021-06-24T18:12:06.932Z] + PACKAGES=/tmp/packages_end.txt [2021-06-24T18:12:06.932Z] + case "${OS_FAMILY}" in [2021-06-24T18:12:06.932Z] + rpm -qa [2021-06-24T18:12:06.932Z] + sort [2021-06-24T18:12:07.507Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-24T18:12:07.507Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-24T18:12:07.507Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-24T18:12:07.507Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-985 ']' [2021-06-24T18:12:07.507Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-985/archives/ [2021-06-24T18:12:07.507Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-985/archives/ [Pipeline] echo [2021-06-24T18:12:09.927Z] 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-985/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-24T18:12:10.248Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:12:10.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T18:12:10.860Z] [2021-06-24T18:12:10.860Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-24T18:12:11.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T18:12:11.232Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-24T18:12:11.232Z] df20fa9351a1: Pulling fs layer [2021-06-24T18:12:11.232Z] 36b3adc4ff6f: Pulling fs layer [2021-06-24T18:12:11.232Z] 8ad3a11d3b57: Pulling fs layer [2021-06-24T18:12:11.232Z] 46f8f816bc3b: Pulling fs layer [2021-06-24T18:12:11.232Z] 93b61091891f: Pulling fs layer [2021-06-24T18:12:11.232Z] 93b9cdb0e59b: Pulling fs layer [2021-06-24T18:12:11.232Z] 5e14af77c1be: Pulling fs layer [2021-06-24T18:12:11.232Z] 01666e4c0597: Pulling fs layer [2021-06-24T18:12:11.232Z] aa168da1d23b: Pulling fs layer [2021-06-24T18:12:11.232Z] 93b9cdb0e59b: Waiting [2021-06-24T18:12:11.232Z] 5e14af77c1be: Waiting [2021-06-24T18:12:11.232Z] 01666e4c0597: Waiting [2021-06-24T18:12:11.232Z] aa168da1d23b: Waiting [2021-06-24T18:12:11.232Z] 46f8f816bc3b: Waiting [2021-06-24T18:12:11.232Z] 93b61091891f: Waiting [2021-06-24T18:12:11.232Z] 36b3adc4ff6f: Verifying Checksum [2021-06-24T18:12:11.232Z] 36b3adc4ff6f: Download complete [2021-06-24T18:12:11.493Z] 46f8f816bc3b: Verifying Checksum [2021-06-24T18:12:11.493Z] 46f8f816bc3b: Download complete [2021-06-24T18:12:11.493Z] df20fa9351a1: Verifying Checksum [2021-06-24T18:12:11.493Z] 93b9cdb0e59b: Verifying Checksum [2021-06-24T18:12:11.493Z] 93b9cdb0e59b: Download complete [2021-06-24T18:12:11.493Z] 93b61091891f: Verifying Checksum [2021-06-24T18:12:11.493Z] 93b61091891f: Download complete [2021-06-24T18:12:11.493Z] 5e14af77c1be: Verifying Checksum [2021-06-24T18:12:11.493Z] 5e14af77c1be: Download complete [2021-06-24T18:12:11.493Z] 01666e4c0597: Verifying Checksum [2021-06-24T18:12:11.493Z] 01666e4c0597: Download complete [2021-06-24T18:12:11.493Z] df20fa9351a1: Pull complete [2021-06-24T18:12:11.756Z] 36b3adc4ff6f: Pull complete [2021-06-24T18:12:12.025Z] 8ad3a11d3b57: Verifying Checksum [2021-06-24T18:12:12.025Z] 8ad3a11d3b57: Download complete [2021-06-24T18:12:12.605Z] 8ad3a11d3b57: Pull complete [2021-06-24T18:12:12.605Z] 46f8f816bc3b: Pull complete [2021-06-24T18:12:12.869Z] 93b61091891f: Pull complete [2021-06-24T18:12:12.869Z] 93b9cdb0e59b: Pull complete [2021-06-24T18:12:13.130Z] 5e14af77c1be: Pull complete [2021-06-24T18:12:13.130Z] 01666e4c0597: Pull complete [2021-06-24T18:12:13.706Z] aa168da1d23b: Verifying Checksum [2021-06-24T18:12:13.706Z] aa168da1d23b: Download complete [2021-06-24T18:12:17.958Z] aa168da1d23b: Pull complete [2021-06-24T18:12:17.958Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-24T18:12:17.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-24T18:12:17.958Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-24T18:12:18.060Z] prd-centos7-docker-4c-2g-1239 does not seem to be running inside a container [2021-06-24T18:12:18.095Z] $ 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-985/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-985 -v /w/workspace/dgexfoundry_device-sdk-go_PR-985:/w/workspace/dgexfoundry_device-sdk-go_PR-985:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-24T18:12:20.562Z] $ docker top f4ccd4258853e201fd538bbdeda074382bd72fa1385c862f4413f2dddd3a99f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-24T18:12:21.011Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-24T18:12:21.333Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-24T18:12:21.663Z] + ls /var/log/sa-host [2021-06-24T18:12:21.663Z] + sadf -c /var/log/sa-host/sa05 [2021-06-24T18:12:21.663Z] file_magic: OK [2021-06-24T18:12:21.663Z] HZ: Using current value: 100 [2021-06-24T18:12:21.663Z] file_header: OK [2021-06-24T18:12:21.663Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-24T18:12:21.663Z] Statistics: [2021-06-24T18:12:21.663Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T18:12:21.663Z] File successfully converted to sysstat format version 12.2.1 [2021-06-24T18:12:21.663Z] + sadf -c /var/log/sa-host/sa24 [2021-06-24T18:12:21.663Z] file_magic: OK [2021-06-24T18:12:21.663Z] HZ: Using current value: 100 [2021-06-24T18:12:21.663Z] file_header: OK [2021-06-24T18:12:21.663Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-24T18:12:21.663Z] Statistics: [2021-06-24T18:12:21.663Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-24T18:12:21.663Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-24T18:12:21.925Z] provisioning config files... [2021-06-24T18:12:21.944Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-985@tmp/config6617422419821073830tmp [Pipeline] { [Pipeline] echo [2021-06-24T18:12:22.007Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:12:22.364Z] ---> create-netrc.sh [Pipeline] } [2021-06-24T18:12:22.391Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:12:22.828Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-24T18:12:22.863Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:12:23.210Z] ---> sudo-logs.sh [2021-06-24T18:12:23.210Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-24T18:12:23.317Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:12:23.660Z] ---> job-cost.sh [2021-06-24T18:12:23.660Z] lf-activate-venv: SKIPPING [2021-06-24T18:12:23.660Z] DEBUG: total: 0.18000000715255737 [2021-06-24T18:12:23.660Z] INFO: Retrieving Stack Cost... [2021-06-24T18:12:25.054Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-24T18:12:25.315Z] INFO: Archiving Costs [Pipeline] echo [2021-06-24T18:12:25.351Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-24T18:12:25.686Z] ---> logs-deploy.sh [2021-06-24T18:12:25.687Z] lf-activate-venv: SKIPPING [2021-06-24T18:12:25.687Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-985/1 [2021-06-24T18:12:25.687Z] INFO: archiving workspace using pattern(s): [2021-06-24T18:12:26.632Z] Archives upload complete. [2021-06-24T18:12:26.632Z] INFO: archiving logs to Nexus [2021-06-24T18:12:27.206Z] ---> uname -a: [2021-06-24T18:12:27.206Z] Linux prd-centos7-docker-4c-2g-1239.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-06-24T18:12:27.206Z] [2021-06-24T18:12:27.206Z] [2021-06-24T18:12:27.206Z] ---> lscpu: [2021-06-24T18:12:27.206Z] Architecture: x86_64 [2021-06-24T18:12:27.206Z] CPU op-mode(s): 32-bit, 64-bit [2021-06-24T18:12:27.206Z] Byte Order: Little Endian [2021-06-24T18:12:27.206Z] Address sizes: 40 bits physical, 48 bits virtual [2021-06-24T18:12:27.206Z] CPU(s): 2 [2021-06-24T18:12:27.206Z] On-line CPU(s) list: 0,1 [2021-06-24T18:12:27.206Z] Thread(s) per core: 1 [2021-06-24T18:12:27.206Z] Core(s) per socket: 1 [2021-06-24T18:12:27.206Z] Socket(s): 2 [2021-06-24T18:12:27.206Z] NUMA node(s): 1 [2021-06-24T18:12:27.206Z] Vendor ID: AuthenticAMD [2021-06-24T18:12:27.206Z] CPU family: 23 [2021-06-24T18:12:27.206Z] Model: 49 [2021-06-24T18:12:27.206Z] Model name: AMD EPYC-Rome Processor [2021-06-24T18:12:27.206Z] Stepping: 0 [2021-06-24T18:12:27.206Z] CPU MHz: 2800.000 [2021-06-24T18:12:27.206Z] BogoMIPS: 5600.00 [2021-06-24T18:12:27.206Z] Virtualization: AMD-V [2021-06-24T18:12:27.206Z] Hypervisor vendor: KVM [2021-06-24T18:12:27.206Z] Virtualization type: full [2021-06-24T18:12:27.206Z] L1d cache: 64 KiB [2021-06-24T18:12:27.206Z] L1i cache: 64 KiB [2021-06-24T18:12:27.206Z] L2 cache: 1 MiB [2021-06-24T18:12:27.206Z] L3 cache: 32 MiB [2021-06-24T18:12:27.206Z] NUMA node0 CPU(s): 0,1 [2021-06-24T18:12:27.206Z] Vulnerability Itlb multihit: Not affected [2021-06-24T18:12:27.206Z] Vulnerability L1tf: Not affected [2021-06-24T18:12:27.206Z] Vulnerability Mds: Not affected [2021-06-24T18:12:27.206Z] Vulnerability Meltdown: Not affected [2021-06-24T18:12:27.206Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-06-24T18:12:27.206Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-06-24T18:12:27.206Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-06-24T18:12:27.206Z] Vulnerability Srbds: Not affected [2021-06-24T18:12:27.206Z] Vulnerability Tsx async abort: Not affected [2021-06-24T18:12:27.206Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp [2021-06-24T18:12:27.206Z] [2021-06-24T18:12:27.206Z] [2021-06-24T18:12:27.206Z] ---> nproc: [2021-06-24T18:12:27.206Z] 2 [2021-06-24T18:12:27.206Z] [2021-06-24T18:12:27.206Z]