Pull request #989 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f46723479a4d5b75f667bcc3f9a0b5e03b108cbc+5b9873fc5658fb4b4c48b057788cd55a404aa657 (5efa28e2c70d9c0ab14cc7007cf683f53776db5c) 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-ssh172829888531031480.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-ssh6427793182078679607.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-989/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-989/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh29560313495613616.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-989/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1764103518818984476.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-ssh7329846370738573930.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-989/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-989/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1858378660391982107.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-24 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-989 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/jenkins-gitclient-ssh7197765640751809436.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/jenkins-gitclient-ssh2235222698846155149.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 5b9873fc5658fb4b4c48b057788cd55a404aa657 into PR head commit f46723479a4d5b75f667bcc3f9a0b5e03b108cbc Merge succeeded, producing f46723479a4d5b75f667bcc3f9a0b5e03b108cbc Checking out Revision f46723479a4d5b75f667bcc3f9a0b5e03b108cbc (PR-989) > git config core.sparsecheckout # timeout=10 > git checkout -f f46723479a4d5b75f667bcc3f9a0b5e03b108cbc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/jenkins-gitclient-ssh8259501791091303519.key > git merge 5b9873fc5658fb4b4c48b057788cd55a404aa657 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f46723479a4d5b75f667bcc3f9a0b5e03b108cbc # timeout=10 Commit message: "docs: add Changelog for Ireland release" 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-25T09:30:38.136Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-25T09:30:38.364Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-25T09:30:38.495Z] ========================================================= [2021-06-25T09:30:38.495Z] EdgeX Global Pipelines Version Info [2021-06-25T09:30:38.495Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-25T09:30:40.054Z] ------------------- [2021-06-25T09:30:40.054Z] stable info: [2021-06-25T09:30:40.054Z] ------------------- [2021-06-25T09:30:40.054Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-25T09:30:40.055Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T09:30:40.055Z] Message: update stable to v1.0.195 [2021-06-25T09:30:40.633Z] ------------------- [2021-06-25T09:30:40.633Z] experimental info: [2021-06-25T09:30:40.633Z] ------------------- [2021-06-25T09:30:40.633Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-25T09:30:40.633Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-25T09:30:40.633Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-25T09:30:41.014Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-25T09:30:41.121Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-25T09:30:41.186Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-25T09:30:41.245Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-25T09:30:41.305Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-25T09:30:41.362Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-25T09:30:41.422Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-25T09:30:41.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-25T09:30:41.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-25T09:30:41.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-25T09:30:41.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-25T09:30:41.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-25T09:30:41.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-25T09:30:41.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-25T09:30:41.911Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-25T09:30:41.980Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T09:30:42.040Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T09:30:42.101Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-25T09:30:42.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-25T09:30:42.232Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-25T09:30:42.338Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-25T09:30:42.400Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-25T09:30:42.510Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-25T09:30:42.583Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-25T09:30:42.642Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-25T09:30:42.706Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-25T09:30:42.767Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-989 [Pipeline] echo [2021-06-25T09:30:42.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-989 [Pipeline] echo [2021-06-25T09:30:42.884Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-989 [Pipeline] echo [2021-06-25T09:30:42.955Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f46723479a4d5b75f667bcc3f9a0b5e03b108cbc [Pipeline] echo [2021-06-25T09:30:43.034Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f467234 [Pipeline] echo [2021-06-25T09:30:43.094Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T09:30:43.275Z] provisioning config files... [2021-06-25T09:30:43.294Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/config6770818681472815878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T09:30:43.683Z] ---> docker-login.sh [2021-06-25T09:30:43.683Z] nexus3.edgexfoundry.org:10001 [2021-06-25T09:30:43.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:30:43.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:30:43.952Z] Configure a credential helper to remove this warning. See [2021-06-25T09:30:43.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:30:43.952Z] [2021-06-25T09:30:43.952Z] Login Succeeded [2021-06-25T09:30:43.952Z] nexus3.edgexfoundry.org:10002 [2021-06-25T09:30:43.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:30:44.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:30:44.215Z] Configure a credential helper to remove this warning. See [2021-06-25T09:30:44.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:30:44.215Z] [2021-06-25T09:30:44.215Z] Login Succeeded [2021-06-25T09:30:44.215Z] nexus3.edgexfoundry.org:10003 [2021-06-25T09:30:44.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:30:44.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:30:44.215Z] Configure a credential helper to remove this warning. See [2021-06-25T09:30:44.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:30:44.215Z] [2021-06-25T09:30:44.215Z] Login Succeeded [2021-06-25T09:30:44.215Z] nexus3.edgexfoundry.org:10004 [2021-06-25T09:30:44.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:30:44.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:30:44.479Z] Configure a credential helper to remove this warning. See [2021-06-25T09:30:44.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:30:44.479Z] [2021-06-25T09:30:44.479Z] Login Succeeded [2021-06-25T09:30:44.479Z] docker.io [2021-06-25T09:30:44.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:30:44.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:30:44.741Z] Configure a credential helper to remove this warning. See [2021-06-25T09:30:44.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:30:44.741Z] [2021-06-25T09:30:44.741Z] Login Succeeded [2021-06-25T09:30:44.741Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T09:30:44.768Z] 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-25T09:30:45.819Z] + git log --format=format:%s -1 f46723479a4d5b75f667bcc3f9a0b5e03b108cbc [Pipeline] echo [2021-06-25T09:30:45.884Z] GIT_COMMIT: f46723479a4d5b75f667bcc3f9a0b5e03b108cbc, Commit Message: docs: add Changelog for Ireland release [Pipeline] echo [2021-06-25T09:30:45.945Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-25T09:30:47.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T09:30:47.060Z] [2021-06-25T09:30:47.060Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T09:30:47.428Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T09:30:47.428Z] latest: Pulling from edgex-devops/git-semver [2021-06-25T09:30:47.428Z] 31603596830f: Pulling fs layer [2021-06-25T09:30:47.428Z] 54011a49482f: Pulling fs layer [2021-06-25T09:30:47.428Z] a6820b24f6d8: Pulling fs layer [2021-06-25T09:30:47.428Z] f581987b2513: Pulling fs layer [2021-06-25T09:30:47.428Z] f581987b2513: Waiting [2021-06-25T09:30:47.428Z] 54011a49482f: Download complete [2021-06-25T09:30:47.698Z] 31603596830f: Verifying Checksum [2021-06-25T09:30:47.698Z] 31603596830f: Download complete [2021-06-25T09:30:47.698Z] f581987b2513: Verifying Checksum [2021-06-25T09:30:47.698Z] f581987b2513: Download complete [2021-06-25T09:30:47.698Z] a6820b24f6d8: Verifying Checksum [2021-06-25T09:30:47.698Z] a6820b24f6d8: Download complete [2021-06-25T09:30:47.698Z] 31603596830f: Pull complete [2021-06-25T09:30:47.963Z] 54011a49482f: Pull complete [2021-06-25T09:30:48.545Z] a6820b24f6d8: Pull complete [2021-06-25T09:30:48.810Z] f581987b2513: Pull complete [2021-06-25T09:30:48.811Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-25T09:30:48.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-25T09:30:48.811Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-25T09:30:48.931Z] prd-centos7-docker-4c-2g-24 does not seem to be running inside a container [2021-06-25T09:30:48.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-989 -v /w/workspace/dgexfoundry_device-sdk-go_PR-989:/w/workspace/dgexfoundry_device-sdk-go_PR-989:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-25T09:30:49.998Z] $ docker top 05ebd5213e77c0c5400065a7022fc205977257dcbf069956941ca5fbb99f840a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-25T09:30:50.217Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T09:30:50.217Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T09:30:50.349Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T09:30:50.351Z] $ docker exec 05ebd5213e77c0c5400065a7022fc205977257dcbf069956941ca5fbb99f840a ssh-agent [2021-06-25T09:30:50.477Z] SSH_AUTH_SOCK=/tmp/ssh-7mbvEk6p9wGX/agent.13 [2021-06-25T09:30:50.477Z] SSH_AGENT_PID=19 [2021-06-25T09:30:50.488Z] Running ssh-add (command line suppressed) [2021-06-25T09:30:50.599Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_4411694602836544997.key (/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_4411694602836544997.key) [2021-06-25T09:30:50.620Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T09:30:50.976Z] + git tag --points-at HEAD [Pipeline] } [2021-06-25T09:30:51.005Z] $ docker exec --env ******** --env ******** 05ebd5213e77c0c5400065a7022fc205977257dcbf069956941ca5fbb99f840a ssh-agent -k [2021-06-25T09:30:51.114Z] unset SSH_AUTH_SOCK; [2021-06-25T09:30:51.114Z] unset SSH_AGENT_PID; [2021-06-25T09:30:51.114Z] echo Agent pid 19 killed; [2021-06-25T09:30:51.131Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-25T09:30:51.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-25T09:30:51.229Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-25T09:30:51.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-25T09:30:51.357Z] $ docker exec 05ebd5213e77c0c5400065a7022fc205977257dcbf069956941ca5fbb99f840a ssh-agent [2021-06-25T09:30:51.476Z] SSH_AUTH_SOCK=/tmp/ssh-t5SZFkCA9kuo/agent.53 [2021-06-25T09:30:51.476Z] SSH_AGENT_PID=59 [2021-06-25T09:30:51.482Z] Running ssh-add (command line suppressed) [2021-06-25T09:30:51.588Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_8484979299059773513.key (/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/private_key_8484979299059773513.key) [2021-06-25T09:30:51.606Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-25T09:30:51.966Z] + git semver init [2021-06-25T09:30:51.966Z] # -> Open(): unable to determine branch for HEAD [2021-06-25T09:30:51.966Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-989/.git [2021-06-25T09:30:51.966Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-989 [2021-06-25T09:30:51.966Z] # $SEMVER_REMOTE_NAME = origin [2021-06-25T09:30:51.966Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-25T09:30:51.966Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-25T09:30:51.966Z] # $SEMVER_BRANCH = PR-989 [2021-06-25T09:30:51.966Z] # $SEMVER_TEMP = /tmp/semver-817442195 [2021-06-25T09:30:51.966Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-25T09:30:52.557Z] # '/tmp/semver-817442195' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-989/.semver' [2021-06-25T09:30:52.557Z] # -> Force: false [2021-06-25T09:30:52.557Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-989/.semver [Pipeline] } [2021-06-25T09:30:52.580Z] $ docker exec --env ******** --env ******** 05ebd5213e77c0c5400065a7022fc205977257dcbf069956941ca5fbb99f840a ssh-agent -k [2021-06-25T09:30:52.692Z] unset SSH_AUTH_SOCK; [2021-06-25T09:30:52.692Z] unset SSH_AGENT_PID; [2021-06-25T09:30:52.692Z] echo Agent pid 59 killed; [2021-06-25T09:30:52.712Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-25T09:30:53.197Z] + git semver [Pipeline] } [2021-06-25T09:30:53.230Z] $ docker stop --time=1 05ebd5213e77c0c5400065a7022fc205977257dcbf069956941ca5fbb99f840a [2021-06-25T09:30:54.530Z] $ docker rm -f 05ebd5213e77c0c5400065a7022fc205977257dcbf069956941ca5fbb99f840a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T09:30:54.998Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-25T09:30:55.327Z] Stashed 1 file(s) [Pipeline] echo [2021-06-25T09:30:55.352Z] [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-25T09:31:10.917Z] Still waiting to schedule task [2021-06-25T09:31:10.918Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-25T09:31:10.948Z] Still waiting to schedule task [2021-06-25T09:31:10.949Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ is offline [2021-06-25T09:33:12.063Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-25 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [Pipeline] { [Pipeline] ws [2021-06-25T09:33:12.130Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-06-25T09:33:12.376Z] Selected Git installation does not exist. Using Default [2021-06-25T09:33:12.376Z] The recommended git tool is: NONE [2021-06-25T09:33:17.520Z] using credential edgex-jenkins-ssh [2021-06-25T09:33:17.547Z] Cloning the remote Git repository [2021-06-25T09:33:17.595Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T09:33:17.696Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-25T09:33:17.756Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T09:33:17.757Z] > git --version # timeout=10 [2021-06-25T09:33:17.771Z] > git --version # 'git version 2.17.1' [2021-06-25T09:33:17.773Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T09:33:17.835Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T09:33:19.083Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T09:33:19.102Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T09:33:19.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T09:33:19.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T09:33:19.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T09:33:19.172Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T09:33:19.794Z] Merging remotes/origin/master commit 5b9873fc5658fb4b4c48b057788cd55a404aa657 into PR head commit f46723479a4d5b75f667bcc3f9a0b5e03b108cbc [2021-06-25T09:33:20.012Z] Merge succeeded, producing f46723479a4d5b75f667bcc3f9a0b5e03b108cbc [2021-06-25T09:33:20.013Z] Checking out Revision f46723479a4d5b75f667bcc3f9a0b5e03b108cbc (PR-989) [2021-06-25T09:33:19.812Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T09:33:19.830Z] > git checkout -f f46723479a4d5b75f667bcc3f9a0b5e03b108cbc # timeout=10 [2021-06-25T09:33:19.930Z] > git remote # timeout=10 [2021-06-25T09:33:19.948Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T09:33:19.964Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T09:33:19.975Z] > git merge 5b9873fc5658fb4b4c48b057788cd55a404aa657 # timeout=10 [2021-06-25T09:33:19.996Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T09:33:20.018Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T09:33:20.032Z] > git checkout -f f46723479a4d5b75f667bcc3f9a0b5e03b108cbc # timeout=10 [2021-06-25T09:33:24.504Z] Commit message: "docs: add Changelog for Ireland release" [2021-06-25T09:33:24.573Z] > git --version # timeout=10 [2021-06-25T09:33:24.583Z] > git --version # 'git version 2.17.1' [2021-06-25T09:33:24.597Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T09:33:26.309Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-25T09:33:26.764Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T09:33:27.133Z] + sudo service docker restart [2021-06-25T09:33:27.133Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T09:33:45.574Z] provisioning config files... [2021-06-25T09:33:45.605Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6152931165739937419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T09:33:46.060Z] ---> docker-login.sh [2021-06-25T09:33:46.060Z] nexus3.edgexfoundry.org:10001 [2021-06-25T09:33:47.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:33:47.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:33:47.317Z] Configure a credential helper to remove this warning. See [2021-06-25T09:33:47.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:33:47.317Z] [2021-06-25T09:33:47.317Z] Login Succeeded [2021-06-25T09:33:47.317Z] nexus3.edgexfoundry.org:10002 [2021-06-25T09:33:47.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:33:47.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:33:47.915Z] Configure a credential helper to remove this warning. See [2021-06-25T09:33:47.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:33:47.915Z] [2021-06-25T09:33:47.915Z] Login Succeeded [2021-06-25T09:33:47.915Z] nexus3.edgexfoundry.org:10003 [2021-06-25T09:33:48.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:33:48.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:33:48.518Z] Configure a credential helper to remove this warning. See [2021-06-25T09:33:48.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:33:48.518Z] [2021-06-25T09:33:48.518Z] Login Succeeded [2021-06-25T09:33:48.518Z] nexus3.edgexfoundry.org:10004 [2021-06-25T09:33:49.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:33:49.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:33:49.117Z] Configure a credential helper to remove this warning. See [2021-06-25T09:33:49.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:33:49.117Z] [2021-06-25T09:33:49.117Z] Login Succeeded [2021-06-25T09:33:49.117Z] docker.io [2021-06-25T09:33:49.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:33:49.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:33:49.988Z] Configure a credential helper to remove this warning. See [2021-06-25T09:33:49.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:33:49.988Z] [2021-06-25T09:33:49.988Z] Login Succeeded [2021-06-25T09:33:49.988Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T09:33:50.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T09:33:50.649Z] ========================================================= [2021-06-25T09:33:50.649Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-25T09:33:50.649Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T09:33:51.094Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-25T09:33:51.720Z] Sending build context to Docker daemon 2.694MB [2021-06-25T09:33:51.720Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T09:33:51.720Z] Step 2/8 : FROM ${BASE} [2021-06-25T09:33:51.720Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-25T09:33:51.720Z] 595b0fe564bb: Pulling fs layer [2021-06-25T09:33:51.720Z] 3088b5b3c5c0: Pulling fs layer [2021-06-25T09:33:51.720Z] 5b7225fbf94c: Pulling fs layer [2021-06-25T09:33:51.720Z] ba82ee9f976e: Pulling fs layer [2021-06-25T09:33:51.720Z] 506bd15cee9f: Pulling fs layer [2021-06-25T09:33:51.720Z] 75a0a4a0db45: Pulling fs layer [2021-06-25T09:33:51.720Z] 618dc40b7e24: Pulling fs layer [2021-06-25T09:33:51.720Z] ba82ee9f976e: Waiting [2021-06-25T09:33:51.720Z] 75a0a4a0db45: Waiting [2021-06-25T09:33:51.720Z] 618dc40b7e24: Waiting [2021-06-25T09:33:51.720Z] 506bd15cee9f: Waiting [2021-06-25T09:33:51.832Z] Running on prd-centos7-docker-4c-2g-26 in /w/workspace/dgexfoundry_device-sdk-go_PR-989 [Pipeline] { [Pipeline] ws [2021-06-25T09:33:51.910Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2021-06-25T09:33:51.998Z] 5b7225fbf94c: Verifying Checksum [2021-06-25T09:33:51.998Z] 5b7225fbf94c: Download complete [2021-06-25T09:33:51.998Z] 3088b5b3c5c0: Verifying Checksum [2021-06-25T09:33:51.998Z] 3088b5b3c5c0: Download complete [2021-06-25T09:33:51.998Z] 506bd15cee9f: Verifying Checksum [2021-06-25T09:33:51.998Z] 506bd15cee9f: Download complete [2021-06-25T09:33:51.998Z] 75a0a4a0db45: Verifying Checksum [2021-06-25T09:33:51.998Z] 75a0a4a0db45: Download complete [2021-06-25T09:33:51.998Z] 595b0fe564bb: Verifying Checksum [2021-06-25T09:33:51.998Z] 595b0fe564bb: Download complete [Pipeline] checkout [2021-06-25T09:33:52.105Z] Selected Git installation does not exist. Using Default [2021-06-25T09:33:52.105Z] The recommended git tool is: NONE [2021-06-25T09:33:52.608Z] 595b0fe564bb: Pull complete [2021-06-25T09:33:53.227Z] 3088b5b3c5c0: Pull complete [2021-06-25T09:33:53.832Z] 5b7225fbf94c: Pull complete [2021-06-25T09:33:54.438Z] 618dc40b7e24: Verifying Checksum [2021-06-25T09:33:54.438Z] 618dc40b7e24: Download complete [2021-06-25T09:33:54.463Z] using credential edgex-jenkins-ssh [2021-06-25T09:33:54.482Z] Cloning the remote Git repository [2021-06-25T09:33:55.436Z] ba82ee9f976e: Verifying Checksum [2021-06-25T09:33:55.436Z] ba82ee9f976e: Download complete [2021-06-25T09:33:54.722Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T09:33:54.780Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-06-25T09:33:54.817Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T09:33:54.817Z] > git --version # timeout=10 [2021-06-25T09:33:54.826Z] > git --version # 'git version 2.24.4' [2021-06-25T09:33:54.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T09:33:54.847Z] [INFO] Currently running in a labeled security context [2021-06-25T09:33:54.847Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T09:33:54.847Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1807371650659235626.key [2021-06-25T09:33:54.867Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T09:33:55.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T09:33:55.493Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-25T09:33:55.510Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-25T09:33:55.525Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-25T09:33:55.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T09:33:55.526Z] [INFO] Currently running in a labeled security context [2021-06-25T09:33:55.526Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T09:33:55.526Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh8791904001140539534.key [2021-06-25T09:33:55.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/989/head:refs/remotes/origin/PR-989 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-25T09:33:56.024Z] Merging remotes/origin/master commit 5b9873fc5658fb4b4c48b057788cd55a404aa657 into PR head commit f46723479a4d5b75f667bcc3f9a0b5e03b108cbc [2021-06-25T09:33:56.126Z] Merge succeeded, producing f46723479a4d5b75f667bcc3f9a0b5e03b108cbc [2021-06-25T09:33:56.127Z] Checking out Revision f46723479a4d5b75f667bcc3f9a0b5e03b108cbc (PR-989) [2021-06-25T09:33:56.067Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T09:33:56.073Z] > git checkout -f f46723479a4d5b75f667bcc3f9a0b5e03b108cbc # timeout=10 [2021-06-25T09:33:56.110Z] > git remote # timeout=10 [2021-06-25T09:33:56.115Z] > git config --get remote.origin.url # timeout=10 [2021-06-25T09:33:56.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-25T09:33:56.126Z] [INFO] Currently running in a labeled security context [2021-06-25T09:33:56.126Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-25T09:33:56.127Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6923221872111010497.key [2021-06-25T09:33:56.134Z] > git merge 5b9873fc5658fb4b4c48b057788cd55a404aa657 # timeout=10 [2021-06-25T09:33:56.144Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-25T09:33:56.159Z] > git config core.sparsecheckout # timeout=10 [2021-06-25T09:33:56.166Z] > git checkout -f f46723479a4d5b75f667bcc3f9a0b5e03b108cbc # timeout=10 [2021-06-25T09:33:59.725Z] Commit message: "docs: add Changelog for Ireland release" [2021-06-25T09:33:59.745Z] > git --version # timeout=10 [2021-06-25T09:33:59.751Z] > git --version # 'git version 2.24.4' [2021-06-25T09:33:59.758Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T09:34:01.045Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-25T09:34:01.407Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-25T09:34:01.733Z] + true [2021-06-25T09:34:01.733Z] + sudo service docker restart [2021-06-25T09:34:01.733Z] Redirecting to /bin/systemctl restart docker.service [2021-06-25T09:34:05.599Z] ba82ee9f976e: Pull complete [2021-06-25T09:34:05.599Z] 506bd15cee9f: Pull complete [2021-06-25T09:34:05.878Z] 75a0a4a0db45: Pull complete [2021-06-25T09:34:09.276Z] 618dc40b7e24: Pull complete [2021-06-25T09:34:09.276Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-25T09:34:09.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-25T09:34:09.276Z] ---> a36622ca3599 [2021-06-25T09:34:09.276Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T09:34:11.268Z] ---> Running in 332dc744e57e [2021-06-25T09:34:11.871Z] Removing intermediate container 332dc744e57e [2021-06-25T09:34:11.871Z] ---> 67e2c05ed2cd [2021-06-25T09:34:11.871Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T09:34:11.871Z] ---> Running in c9688837930e [2021-06-25T09:34:14.507Z] Removing intermediate container c9688837930e [2021-06-25T09:34:14.507Z] ---> d0aafecd1a13 [2021-06-25T09:34:14.507Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T09:34:14.507Z] ---> Running in 95a89ba35e3b [2021-06-25T09:34:15.486Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T09:34:16.463Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T09:34:17.433Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-25T09:34:17.433Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-25T09:34:17.433Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-25T09:34:17.704Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-25T09:34:17.704Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-25T09:34:17.704Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-25T09:34:17.976Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T09:34:17.976Z] OK: 139 MiB in 46 packages [2021-06-25T09:34:18.963Z] Removing intermediate container 95a89ba35e3b [2021-06-25T09:34:18.963Z] ---> 3b68434d5b80 [2021-06-25T09:34:18.963Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-25T09:34:19.241Z] ---> Running in 7dd0d6b03475 [2021-06-25T09:34:19.838Z] Removing intermediate container 7dd0d6b03475 [2021-06-25T09:34:19.838Z] ---> 2c353921a0fc [2021-06-25T09:34:19.838Z] Step 7/8 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T09:34:19.979Z] provisioning config files... [2021-06-25T09:34:20.002Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1846837164078063026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-25T09:34:20.384Z] ---> docker-login.sh [2021-06-25T09:34:20.384Z] nexus3.edgexfoundry.org:10001 [2021-06-25T09:34:20.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:34:20.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:34:20.646Z] Configure a credential helper to remove this warning. See [2021-06-25T09:34:20.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:34:20.646Z] [2021-06-25T09:34:20.646Z] Login Succeeded [2021-06-25T09:34:20.646Z] nexus3.edgexfoundry.org:10002 [2021-06-25T09:34:20.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:34:20.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:34:20.646Z] Configure a credential helper to remove this warning. See [2021-06-25T09:34:20.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:34:20.646Z] [2021-06-25T09:34:20.646Z] Login Succeeded [2021-06-25T09:34:20.646Z] nexus3.edgexfoundry.org:10003 [2021-06-25T09:34:20.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:34:20.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:34:20.911Z] Configure a credential helper to remove this warning. See [2021-06-25T09:34:20.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:34:20.911Z] [2021-06-25T09:34:20.911Z] Login Succeeded [2021-06-25T09:34:20.911Z] nexus3.edgexfoundry.org:10004 [2021-06-25T09:34:20.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:34:20.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:34:20.912Z] Configure a credential helper to remove this warning. See [2021-06-25T09:34:20.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:34:20.912Z] [2021-06-25T09:34:20.912Z] Login Succeeded [2021-06-25T09:34:20.912Z] docker.io [2021-06-25T09:34:21.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-25T09:34:21.274Z] ---> e33c67a39783 [2021-06-25T09:34:21.274Z] Step 8/8 : RUN go mod download [2021-06-25T09:34:21.274Z] ---> Running in b6638678dd23 [2021-06-25T09:34:21.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-25T09:34:21.435Z] Configure a credential helper to remove this warning. See [2021-06-25T09:34:21.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-25T09:34:21.435Z] [2021-06-25T09:34:21.435Z] Login Succeeded [2021-06-25T09:34:21.435Z] ---> docker-login.sh ends [Pipeline] } [2021-06-25T09:34:21.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-25T09:34:21.769Z] ========================================================= [2021-06-25T09:34:21.769Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-25T09:34:21.769Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-25T09:34:22.122Z] + 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-25T09:34:22.123Z] Sending build context to Docker daemon 2.695MB [2021-06-25T09:34:22.123Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T09:34:22.123Z] Step 2/8 : FROM ${BASE} [2021-06-25T09:34:22.388Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-25T09:34:22.388Z] 540db60ca938: Pulling fs layer [2021-06-25T09:34:22.388Z] adcc1eea9eea: Pulling fs layer [2021-06-25T09:34:22.388Z] 4c4ab2625f07: Pulling fs layer [2021-06-25T09:34:22.388Z] 0510c868ecb4: Pulling fs layer [2021-06-25T09:34:22.388Z] afea3b2eda06: Pulling fs layer [2021-06-25T09:34:22.388Z] 7809a108b3ef: Pulling fs layer [2021-06-25T09:34:22.388Z] f706445af74f: Pulling fs layer [2021-06-25T09:34:22.388Z] afea3b2eda06: Waiting [2021-06-25T09:34:22.388Z] 7809a108b3ef: Waiting [2021-06-25T09:34:22.388Z] f706445af74f: Waiting [2021-06-25T09:34:22.388Z] 0510c868ecb4: Waiting [2021-06-25T09:34:22.388Z] 4c4ab2625f07: Verifying Checksum [2021-06-25T09:34:22.388Z] 4c4ab2625f07: Download complete [2021-06-25T09:34:22.388Z] adcc1eea9eea: Verifying Checksum [2021-06-25T09:34:22.388Z] adcc1eea9eea: Download complete [2021-06-25T09:34:22.388Z] afea3b2eda06: Verifying Checksum [2021-06-25T09:34:22.388Z] afea3b2eda06: Download complete [2021-06-25T09:34:22.388Z] 540db60ca938: Verifying Checksum [2021-06-25T09:34:22.388Z] 540db60ca938: Download complete [2021-06-25T09:34:22.388Z] 7809a108b3ef: Verifying Checksum [2021-06-25T09:34:22.388Z] 7809a108b3ef: Download complete [2021-06-25T09:34:22.656Z] 540db60ca938: Pull complete [2021-06-25T09:34:22.656Z] adcc1eea9eea: Pull complete [2021-06-25T09:34:22.916Z] 4c4ab2625f07: Pull complete [2021-06-25T09:34:23.861Z] f706445af74f: Verifying Checksum [2021-06-25T09:34:23.861Z] f706445af74f: Download complete [2021-06-25T09:34:24.131Z] 0510c868ecb4: Verifying Checksum [2021-06-25T09:34:24.132Z] 0510c868ecb4: Download complete [2021-06-25T09:34:27.480Z] 0510c868ecb4: Pull complete [2021-06-25T09:34:27.480Z] afea3b2eda06: Pull complete [2021-06-25T09:34:27.480Z] 7809a108b3ef: Pull complete [2021-06-25T09:34:28.899Z] f706445af74f: Pull complete [2021-06-25T09:34:28.900Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-25T09:34:28.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-25T09:34:28.900Z] ---> b068be0155e3 [2021-06-25T09:34:28.900Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T09:34:32.216Z] ---> Running in 97854dc457ff [2021-06-25T09:34:32.481Z] Removing intermediate container 97854dc457ff [2021-06-25T09:34:32.481Z] ---> 6bd8b68475ef [2021-06-25T09:34:32.481Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T09:34:32.481Z] ---> Running in 33cc3d9bb8bf [2021-06-25T09:34:33.060Z] Removing intermediate container 33cc3d9bb8bf [2021-06-25T09:34:33.060Z] ---> 34e7525186d0 [2021-06-25T09:34:33.060Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-25T09:34:33.060Z] ---> Running in 383abd280c7f [2021-06-25T09:34:33.332Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T09:34:34.281Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T09:34:34.543Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-25T09:34:34.544Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-25T09:34:34.804Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-25T09:34:34.804Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-25T09:34:34.804Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-25T09:34:35.066Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-25T09:34:35.066Z] Executing busybox-1.32.1-r6.trigger [2021-06-25T09:34:35.066Z] OK: 150 MiB in 46 packages [2021-06-25T09:34:35.331Z] Removing intermediate container 383abd280c7f [2021-06-25T09:34:35.331Z] ---> fbb7f71e786e [2021-06-25T09:34:35.331Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-25T09:34:35.331Z] ---> Running in 2a44e4dee319 [2021-06-25T09:34:35.604Z] Removing intermediate container 2a44e4dee319 [2021-06-25T09:34:35.605Z] ---> 037215b838a3 [2021-06-25T09:34:35.605Z] Step 7/8 : COPY . . [2021-06-25T09:34:35.878Z] ---> 098483d8f547 [2021-06-25T09:34:35.878Z] Step 8/8 : RUN go mod download [2021-06-25T09:34:35.878Z] ---> Running in 1297a2ad3b4d [2021-06-25T09:34:45.925Z] Removing intermediate container 1297a2ad3b4d [2021-06-25T09:34:45.925Z] ---> 50bb33ca26b4 [2021-06-25T09:34:45.925Z] Successfully built 50bb33ca26b4 [2021-06-25T09:34:45.925Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-25T09:34:46.375Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T09:34:46.376Z] . [Pipeline] withDockerContainer [2021-06-25T09:34:46.488Z] prd-centos7-docker-4c-2g-26 does not seem to be running inside a container [2021-06-25T09:34:46.526Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-25T09:34:46.972Z] $ docker top 7aecd9c0622610af41bf66ec37d153677913006f774fc1cf3a33b633ef40d341 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T09:34:47.414Z] + go version [2021-06-25T09:34:47.415Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-25T09:34:47.444Z] $ docker stop --time=1 7aecd9c0622610af41bf66ec37d153677913006f774fc1cf3a33b633ef40d341 [2021-06-25T09:34:48.077Z] Removing intermediate container b6638678dd23 [2021-06-25T09:34:48.077Z] ---> c9168357f64a [2021-06-25T09:34:48.077Z] Successfully built c9168357f64a [2021-06-25T09:34:48.349Z] Successfully tagged ci-base-image-arm64:latest [2021-06-25T09:34:48.643Z] $ docker rm -f 7aecd9c0622610af41bf66ec37d153677913006f774fc1cf3a33b633ef40d341 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T09:34:49.506Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T09:34:49.506Z] . [Pipeline] withDockerContainer [2021-06-25T09:34:49.712Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-25T09:34:49.712Z] . [2021-06-25T09:34:49.786Z] prd-ubuntu18.04-docker-arm64-4c-16g-25 does not seem to be running inside a container [2021-06-25T09:34:49.871Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-25T09:34:51.384Z] $ docker top b23ec6ffca483cfb05bb1fa339132c40f10ae6b87e46c92041b4698f50778d8b -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-06-25T09:34:51.835Z] prd-centos7-docker-4c-2g-26 does not seem to be running inside a container [2021-06-25T09:34:51.875Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-25T09:34:52.213Z] $ docker top ad456852bcaf7ce3de6487a66cfb5de2386b6d8ad5fb63c6c88e7309f8a66957 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-25T09:34:52.746Z] + go mod tidy [2021-06-25T09:34:53.003Z] + go version [2021-06-25T09:34:53.003Z] go version go1.16.5 linux/arm64 [Pipeline] sh [Pipeline] } [2021-06-25T09:34:53.145Z] $ docker stop --time=1 b23ec6ffca483cfb05bb1fa339132c40f10ae6b87e46c92041b4698f50778d8b [2021-06-25T09:34:53.354Z] + make test [2021-06-25T09:34:53.354Z] go mod tidy [2021-06-25T09:34:53.354Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-25T09:34:54.902Z] $ docker rm -f b23ec6ffca483cfb05bb1fa339132c40f10ae6b87e46c92041b4698f50778d8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-25T09:34:55.971Z] + docker inspect -f . ci-base-image-arm64 [2021-06-25T09:34:55.971Z] . [Pipeline] withDockerContainer [2021-06-25T09:34:56.256Z] prd-ubuntu18.04-docker-arm64-4c-16g-25 does not seem to be running inside a container [2021-06-25T09:34:56.343Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-25T09:34:57.933Z] $ docker top fe09053bc1889d21bbf4277db833e0e2f78357436971776e01f68ad359498b59 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T09:34:58.695Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-25T09:34:58.978Z] + go mod tidy [Pipeline] sh [2021-06-25T09:35:00.259Z] + make test [2021-06-25T09:35:00.259Z] go mod tidy [2021-06-25T09:35:00.860Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-25T09:35:20.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-25T09:35:20.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-25T09:35:20.744Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-25T09:35:22.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.049s coverage: 24.2% of statements [2021-06-25T09:35:22.168Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-25T09:35:22.168Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.049s coverage: 28.1% of statements [2021-06-25T09:35:22.773Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements [2021-06-25T09:35:22.773Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.041s coverage: 9.0% of statements [2021-06-25T09:35:22.773Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-25T09:35:22.773Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-25T09:35:22.773Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-25T09:35:23.057Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-25T09:35:23.730Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 28.7% of statements [2021-06-25T09:35:23.730Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-25T09:35:24.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.052s coverage: 83.3% of statements [2021-06-25T09:35:24.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-25T09:35:24.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-25T09:35:24.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 58.0% of statements [2021-06-25T09:35:25.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.817s coverage: 89.2% of statements [2021-06-25T09:35:25.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-25T09:35:25.667Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 5.0% of statements [2021-06-25T09:35:25.667Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-25T09:35:25.667Z] GO111MODULE=on go vet ./... [2021-06-25T09:35:43.881Z] gofmt -l . [2021-06-25T09:35:43.881Z] [ "`gofmt -l .`" = "" ] [2021-06-25T09:35:43.881Z] ./bin/test-attribution-txt.sh [2021-06-25T09:35:43.881Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-25T09:35:43.914Z] $ docker stop --time=1 ad456852bcaf7ce3de6487a66cfb5de2386b6d8ad5fb63c6c88e7309f8a66957 [2021-06-25T09:35:45.478Z] $ docker rm -f ad456852bcaf7ce3de6487a66cfb5de2386b6d8ad5fb63c6c88e7309f8a66957 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T09:35:46.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T09:35:46.285Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-25T09:35:49.421Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T09:35:49.746Z] + ls -al . [2021-06-25T09:35:49.746Z] total 228 [2021-06-25T09:35:49.746Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 25 09:35 . [2021-06-25T09:35:49.746Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 25 09:33 .. [2021-06-25T09:35:49.746Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 25 09:33 bin [2021-06-25T09:35:49.746Z] -rw-rw-r--. 1 jenkins jenkins 25429 Jun 25 09:33 CHANGELOG.md [2021-06-25T09:35:49.746Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 25 09:35 coverage.out [2021-06-25T09:35:49.746Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 25 09:33 Dockerfile.build [2021-06-25T09:35:49.746Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 25 09:33 .dockerignore [2021-06-25T09:35:49.746Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 25 09:33 example [2021-06-25T09:35:49.746Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 25 09:33 .git [2021-06-25T09:35:49.746Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 25 09:33 .github [2021-06-25T09:35:49.746Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 25 09:33 .gitignore [2021-06-25T09:35:49.746Z] -rw-r--r--. 1 jenkins jenkins 548 Jun 25 09:35 go.mod [2021-06-25T09:35:49.746Z] -rw-r--r--. 1 jenkins jenkins 20210 Jun 25 09:34 go.sum [2021-06-25T09:35:49.746Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 25 09:33 internal [2021-06-25T09:35:49.746Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 25 09:33 Jenkinsfile [2021-06-25T09:35:49.746Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 25 09:33 LICENSE [2021-06-25T09:35:49.746Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 25 09:33 Makefile [2021-06-25T09:35:49.746Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 25 09:33 openapi [2021-06-25T09:35:49.746Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 25 09:33 pkg [2021-06-25T09:35:49.746Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 25 09:33 README.md [2021-06-25T09:35:49.746Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 25 09:33 snap [2021-06-25T09:35:49.746Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 25 09:30 VERSION [2021-06-25T09:35:49.746Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 25 09:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T09:35:50.085Z] + 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=f46723479a4d5b75f667bcc3f9a0b5e03b108cbc --label arch=amd64 --label version=0.0.0 . [2021-06-25T09:35:50.085Z] Sending build context to Docker daemon 2.822MB [2021-06-25T09:35:50.085Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T09:35:50.085Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-25T09:35:50.085Z] ---> 50bb33ca26b4 [2021-06-25T09:35:50.085Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-25T09:35:50.085Z] ---> Running in 18abd79a33ef [2021-06-25T09:35:50.359Z] Removing intermediate container 18abd79a33ef [2021-06-25T09:35:50.359Z] ---> bc38f650fd0c [2021-06-25T09:35:50.359Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T09:35:50.359Z] ---> Running in 77f85179397b [2021-06-25T09:35:50.359Z] Removing intermediate container 77f85179397b [2021-06-25T09:35:50.359Z] ---> 97a8c1b8c18a [2021-06-25T09:35:50.359Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T09:35:50.359Z] ---> Running in c323358bd9cc [2021-06-25T09:35:50.629Z] Removing intermediate container c323358bd9cc [2021-06-25T09:35:50.629Z] ---> 94ab45bf3ada [2021-06-25T09:35:50.629Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-25T09:35:50.889Z] ---> Running in c09b148ea6cd [2021-06-25T09:35:50.890Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-25T09:35:51.898Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-25T09:35:52.159Z] OK: 150 MiB in 46 packages [2021-06-25T09:35:52.424Z] Removing intermediate container c09b148ea6cd [2021-06-25T09:35:52.424Z] ---> ad17b272008a [2021-06-25T09:35:52.424Z] Step 7/23 : COPY . . [2021-06-25T09:35:52.686Z] ---> 3e3b7cae197a [2021-06-25T09:35:52.686Z] Step 8/23 : RUN go mod download [2021-06-25T09:35:52.952Z] ---> Running in 4194962b72d1 [2021-06-25T09:35:53.217Z] Removing intermediate container 4194962b72d1 [2021-06-25T09:35:53.217Z] ---> 77bd28dce1ce [2021-06-25T09:35:53.217Z] Step 9/23 : RUN make build [2021-06-25T09:35:53.217Z] ---> Running in 2f87c2b8b55d [2021-06-25T09:35:53.484Z] go mod tidy [2021-06-25T09:35:53.754Z] 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-25T09:36:03.833Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-25T09:36:04.787Z] Removing intermediate container 2f87c2b8b55d [2021-06-25T09:36:04.787Z] ---> ad74ec15d18b [2021-06-25T09:36:04.787Z] Step 10/23 : FROM alpine:3.12 [2021-06-25T09:36:05.050Z] 3.12: Pulling from library/alpine [2021-06-25T09:36:05.314Z] 339de151aab4: Pulling fs layer [2021-06-25T09:36:05.596Z] 339de151aab4: Verifying Checksum [2021-06-25T09:36:05.596Z] 339de151aab4: Download complete [2021-06-25T09:36:05.596Z] 339de151aab4: Pull complete [2021-06-25T09:36:05.596Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T09:36:05.596Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T09:36:05.596Z] ---> 13621d1b12d4 [2021-06-25T09:36:05.596Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T09:36:05.596Z] ---> Running in 0209c9be7339 [2021-06-25T09:36:05.858Z] Removing intermediate container 0209c9be7339 [2021-06-25T09:36:05.858Z] ---> 71e16791d65a [2021-06-25T09:36:05.858Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T09:36:05.858Z] ---> Running in 0d4517d96991 [2021-06-25T09:36:06.122Z] Removing intermediate container 0d4517d96991 [2021-06-25T09:36:06.122Z] ---> 91d2136974e4 [2021-06-25T09:36:06.122Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-25T09:36:06.122Z] ---> Running in e26f5a154d6d [2021-06-25T09:36:06.384Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-25T09:36:06.958Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-25T09:36:07.533Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-25T09:36:07.533Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-25T09:36:07.794Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-25T09:36:08.645Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-25T09:36:08.645Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-25T09:36:08.914Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T09:36:08.914Z] OK: 8 MiB in 19 packages [2021-06-25T09:36:09.174Z] Removing intermediate container e26f5a154d6d [2021-06-25T09:36:09.174Z] ---> 6fbf30668c5c [2021-06-25T09:36:09.174Z] Step 14/23 : WORKDIR / [2021-06-25T09:36:09.174Z] ---> Running in 5b774fca5b99 [2021-06-25T09:36:09.174Z] Removing intermediate container 5b774fca5b99 [2021-06-25T09:36:09.174Z] ---> de348e7c69b1 [2021-06-25T09:36:09.174Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-25T09:36:09.438Z] ---> a91c0828bcee [2021-06-25T09:36:09.438Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-25T09:36:09.698Z] ---> 8d5bc94d7ac9 [2021-06-25T09:36:09.698Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-25T09:36:09.964Z] ---> 354e089a974f [2021-06-25T09:36:09.964Z] Step 18/23 : EXPOSE 59999 [2021-06-25T09:36:09.964Z] ---> Running in e38b39fd649e [2021-06-25T09:36:09.964Z] Removing intermediate container e38b39fd649e [2021-06-25T09:36:09.964Z] ---> 289e1525b09d [2021-06-25T09:36:09.964Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-25T09:36:09.964Z] ---> Running in 5943e6233e1f [2021-06-25T09:36:10.238Z] Removing intermediate container 5943e6233e1f [2021-06-25T09:36:10.238Z] ---> 961ef36d50ef [2021-06-25T09:36:10.238Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T09:36:10.238Z] ---> Running in 508c8d27bf96 [2021-06-25T09:36:10.238Z] Removing intermediate container 508c8d27bf96 [2021-06-25T09:36:10.238Z] ---> d228c3b4481e [2021-06-25T09:36:10.238Z] Step 21/23 : LABEL arch=amd64 [2021-06-25T09:36:10.238Z] ---> Running in f7f9948e5e3b [2021-06-25T09:36:10.238Z] Removing intermediate container f7f9948e5e3b [2021-06-25T09:36:10.238Z] ---> 135e056608b1 [2021-06-25T09:36:10.238Z] Step 22/23 : LABEL git_sha=f46723479a4d5b75f667bcc3f9a0b5e03b108cbc [2021-06-25T09:36:10.238Z] ---> Running in 16f11b197b7e [2021-06-25T09:36:10.501Z] Removing intermediate container 16f11b197b7e [2021-06-25T09:36:10.501Z] ---> 07af0e7a1f6f [2021-06-25T09:36:10.501Z] Step 23/23 : LABEL version=0.0.0 [2021-06-25T09:36:10.501Z] ---> Running in 89fa1277f429 [2021-06-25T09:36:10.501Z] Removing intermediate container 89fa1277f429 [2021-06-25T09:36:10.501Z] ---> 8352dc5866b6 [2021-06-25T09:36:10.501Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-25T09:36:10.501Z] Successfully built 8352dc5866b6 [2021-06-25T09:36:10.501Z] 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-25T09:36:11.713Z] ---> job-cost.sh [2021-06-25T09:36:11.713Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rQpl [2021-06-25T09:36:21.735Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T09:36:31.142Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-25T09:36:31.142Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-25T09:36:31.142Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-25T09:36:34.015Z] lf-activate-venv(): INFO: Adding /tmp/venv-rQpl/bin to PATH [2021-06-25T09:36:34.015Z] INFO: No Stack... [2021-06-25T09:36:34.015Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T09:36:34.277Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T09:36:34.609Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-25T09:36:34.609Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T09:36:34.666Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-989-1-stack-cost] [2021-06-25T09:36:34.674Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-989-1-stack-cost] did not exist. Created. [2021-06-25T09:36:34.674Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-989-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T09:36:35.123Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-25T09:36:35.211Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T09:36:35.233Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-989-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-25T09:36:37.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.255s coverage: 24.2% of statements [2021-06-25T09:36:37.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-25T09:36:37.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.202s coverage: 28.1% of statements [2021-06-25T09:36:37.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.272s coverage: 78.9% of statements [2021-06-25T09:36:37.891Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.195s coverage: 9.0% of statements [2021-06-25T09:36:37.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-25T09:36:37.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-25T09:36:37.891Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-25T09:36:38.885Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.288s coverage: 28.7% of statements [2021-06-25T09:36:38.885Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-25T09:36:39.162Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.253s coverage: 83.3% of statements [2021-06-25T09:36:39.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-25T09:36:39.162Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-25T09:36:39.437Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.319s coverage: 58.0% of statements [2021-06-25T09:36:44.866Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.050s coverage: 89.2% of statements [2021-06-25T09:36:44.866Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-25T09:36:44.866Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.179s coverage: 5.0% of statements [2021-06-25T09:36:44.866Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-25T09:36:44.866Z] GO111MODULE=on go vet ./... [2021-06-25T09:37:41.461Z] gofmt -l . [2021-06-25T09:37:41.461Z] [ "`gofmt -l .`" = "" ] [2021-06-25T09:37:41.461Z] ./bin/test-attribution-txt.sh [2021-06-25T09:37:41.461Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-25T09:37:41.497Z] $ docker stop --time=1 fe09053bc1889d21bbf4277db833e0e2f78357436971776e01f68ad359498b59 [2021-06-25T09:37:43.571Z] $ docker rm -f fe09053bc1889d21bbf4277db833e0e2f78357436971776e01f68ad359498b59 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-25T09:37:44.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-25T09:37:44.701Z] Warning: overwriting stash ‘coverage-report’ [2021-06-25T09:37:45.300Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-25T09:37:46.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-25T09:37:46.398Z] + ls -al . [2021-06-25T09:37:46.398Z] total 264 [2021-06-25T09:37:46.398Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 25 09:37 . [2021-06-25T09:37:46.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 09:33 .. [2021-06-25T09:37:46.398Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 25 09:33 .dockerignore [2021-06-25T09:37:46.398Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 25 09:33 .git [2021-06-25T09:37:46.398Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 09:33 .github [2021-06-25T09:37:46.398Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 25 09:33 .gitignore [2021-06-25T09:37:46.398Z] -rw-rw-r-- 1 jenkins jenkins 25429 Jun 25 09:33 CHANGELOG.md [2021-06-25T09:37:46.398Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 25 09:33 Dockerfile.build [2021-06-25T09:37:46.398Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 25 09:33 Jenkinsfile [2021-06-25T09:37:46.398Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 25 09:33 LICENSE [2021-06-25T09:37:46.398Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 25 09:33 Makefile [2021-06-25T09:37:46.398Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 25 09:33 README.md [2021-06-25T09:37:46.398Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 25 09:30 VERSION [2021-06-25T09:37:46.398Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 25 09:33 bin [2021-06-25T09:37:46.398Z] -rw-r--r-- 1 jenkins jenkins 125635 Jun 25 09:36 coverage.out [2021-06-25T09:37:46.398Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 09:33 example [2021-06-25T09:37:46.398Z] -rw-r--r-- 1 jenkins jenkins 548 Jun 25 09:37 go.mod [2021-06-25T09:37:46.398Z] -rw-r--r-- 1 jenkins jenkins 20210 Jun 25 09:34 go.sum [2021-06-25T09:37:46.398Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 25 09:33 internal [2021-06-25T09:37:46.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 09:33 openapi [2021-06-25T09:37:46.398Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 25 09:33 pkg [2021-06-25T09:37:46.398Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 25 09:33 snap [2021-06-25T09:37:46.398Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 25 09:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-25T09:37:46.783Z] + 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=f46723479a4d5b75f667bcc3f9a0b5e03b108cbc --label arch=arm64 --label version=0.0.0 . [2021-06-25T09:37:47.387Z] Sending build context to Docker daemon 2.821MB [2021-06-25T09:37:47.387Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-25T09:37:47.387Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-25T09:37:47.387Z] ---> c9168357f64a [2021-06-25T09:37:47.387Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-25T09:37:47.663Z] ---> Running in ad6e2203bc1f [2021-06-25T09:37:48.262Z] Removing intermediate container ad6e2203bc1f [2021-06-25T09:37:48.262Z] ---> 8c9d3c8c5115 [2021-06-25T09:37:48.262Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T09:37:48.262Z] ---> Running in ad655f62dcbb [2021-06-25T09:37:48.863Z] Removing intermediate container ad655f62dcbb [2021-06-25T09:37:48.863Z] ---> fcf74ff5eb98 [2021-06-25T09:37:48.863Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T09:37:48.863Z] ---> Running in 269090697ee3 [2021-06-25T09:37:50.841Z] Removing intermediate container 269090697ee3 [2021-06-25T09:37:50.841Z] ---> a57087d1140d [2021-06-25T09:37:50.841Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-25T09:37:51.115Z] ---> Running in dc14a536ab93 [2021-06-25T09:37:52.553Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-25T09:37:53.160Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-25T09:37:54.142Z] OK: 139 MiB in 46 packages [2021-06-25T09:37:55.124Z] Removing intermediate container dc14a536ab93 [2021-06-25T09:37:55.124Z] ---> df082924ced6 [2021-06-25T09:37:55.124Z] Step 7/23 : COPY . . [2021-06-25T09:37:56.569Z] ---> 7ca94661fcb0 [2021-06-25T09:37:56.569Z] Step 8/23 : RUN go mod download [2021-06-25T09:37:56.569Z] ---> Running in 0da5859d8792 [2021-06-25T09:37:59.204Z] Removing intermediate container 0da5859d8792 [2021-06-25T09:37:59.204Z] ---> def8870b77af [2021-06-25T09:37:59.204Z] Step 9/23 : RUN make build [2021-06-25T09:37:59.204Z] ---> Running in 4f6ddadfbf49 [2021-06-25T09:38:00.186Z] go mod tidy [2021-06-25T09:38:00.786Z] 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-25T09:38:33.168Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-25T09:38:34.612Z] Removing intermediate container 4f6ddadfbf49 [2021-06-25T09:38:34.612Z] ---> edc56b9d8a50 [2021-06-25T09:38:34.612Z] Step 10/23 : FROM alpine:3.12 [2021-06-25T09:38:34.885Z] 3.12: Pulling from library/alpine [2021-06-25T09:38:35.159Z] d2f70382dc9a: Pulling fs layer [2021-06-25T09:38:35.159Z] d2f70382dc9a: Verifying Checksum [2021-06-25T09:38:35.159Z] d2f70382dc9a: Download complete [2021-06-25T09:38:35.757Z] d2f70382dc9a: Pull complete [2021-06-25T09:38:36.030Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-25T09:38:36.030Z] Status: Downloaded newer image for alpine:3.12 [2021-06-25T09:38:36.030Z] ---> c4fd0aeabfcf [2021-06-25T09:38:36.031Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-25T09:38:36.303Z] ---> Running in 7c84a71265c3 [2021-06-25T09:38:36.577Z] Removing intermediate container 7c84a71265c3 [2021-06-25T09:38:36.577Z] ---> 4afb042b0ec5 [2021-06-25T09:38:36.577Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-25T09:38:36.852Z] ---> Running in 1b0f9f45950b [2021-06-25T09:38:38.832Z] Removing intermediate container 1b0f9f45950b [2021-06-25T09:38:38.832Z] ---> 4f696396f6a6 [2021-06-25T09:38:38.832Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-25T09:38:39.109Z] ---> Running in 70db718389fe [2021-06-25T09:38:40.091Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-25T09:38:41.067Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-25T09:38:41.663Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-25T09:38:41.935Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-25T09:38:41.935Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-25T09:38:42.211Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-25T09:38:42.211Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-25T09:38:42.211Z] Executing busybox-1.31.1-r20.trigger [2021-06-25T09:38:42.211Z] OK: 8 MiB in 19 packages [2021-06-25T09:38:43.655Z] Removing intermediate container 70db718389fe [2021-06-25T09:38:43.655Z] ---> 5a88b3169e9a [2021-06-25T09:38:43.655Z] Step 14/23 : WORKDIR / [2021-06-25T09:38:43.655Z] ---> Running in dacaf4efe594 [2021-06-25T09:38:44.257Z] Removing intermediate container dacaf4efe594 [2021-06-25T09:38:44.257Z] ---> 8d035d942b17 [2021-06-25T09:38:44.257Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-25T09:38:45.237Z] ---> 0f950be84576 [2021-06-25T09:38:45.237Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-25T09:38:46.220Z] ---> b4f880fb6c60 [2021-06-25T09:38:46.220Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-25T09:38:47.205Z] ---> bf95b8b31dfc [2021-06-25T09:38:47.205Z] Step 18/23 : EXPOSE 59999 [2021-06-25T09:38:47.205Z] ---> Running in e1e7b11d93cd [2021-06-25T09:38:47.804Z] Removing intermediate container e1e7b11d93cd [2021-06-25T09:38:47.804Z] ---> a207ebd0beff [2021-06-25T09:38:47.804Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-25T09:38:47.804Z] ---> Running in c2af49a753b4 [2021-06-25T09:38:48.406Z] Removing intermediate container c2af49a753b4 [2021-06-25T09:38:48.406Z] ---> 3c622f727a5f [2021-06-25T09:38:48.406Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-25T09:38:48.406Z] ---> Running in ee6d975dd9cf [2021-06-25T09:38:49.014Z] Removing intermediate container ee6d975dd9cf [2021-06-25T09:38:49.014Z] ---> 83a274bd5e02 [2021-06-25T09:38:49.014Z] Step 21/23 : LABEL arch=arm64 [2021-06-25T09:38:49.014Z] ---> Running in 6897f97efcbd [2021-06-25T09:38:49.620Z] Removing intermediate container 6897f97efcbd [2021-06-25T09:38:49.620Z] ---> 692796ba769f [2021-06-25T09:38:49.620Z] Step 22/23 : LABEL git_sha=f46723479a4d5b75f667bcc3f9a0b5e03b108cbc [2021-06-25T09:38:49.896Z] ---> Running in f70363966c5c [2021-06-25T09:38:50.172Z] Removing intermediate container f70363966c5c [2021-06-25T09:38:50.172Z] ---> 1d1844d09687 [2021-06-25T09:38:50.172Z] Step 23/23 : LABEL version=0.0.0 [2021-06-25T09:38:50.447Z] ---> Running in 2dd9223ead3a [2021-06-25T09:38:51.047Z] Removing intermediate container 2dd9223ead3a [2021-06-25T09:38:51.047Z] ---> 50d4344a34eb [2021-06-25T09:38:51.047Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-25T09:38:51.047Z] Successfully built 50d4344a34eb [2021-06-25T09:38:51.047Z] 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-25T09:38:52.002Z] ---> job-cost.sh [2021-06-25T09:38:52.003Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pNCu [2021-06-25T09:39:31.006Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-25T09:40:52.785Z] lf-activate-venv(): INFO: Adding /tmp/venv-pNCu/bin to PATH [2021-06-25T09:40:52.785Z] INFO: No Stack... [2021-06-25T09:40:53.763Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-25T09:40:54.354Z] INFO: Archiving Costs [Pipeline] sh [2021-06-25T09:40:54.726Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-06-25T09:40:54.726Z] + cut -d, -f6 [Pipeline] lock [2021-06-25T09:40:54.828Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-989-1-stack-cost] [2021-06-25T09:40:54.836Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-989-1-stack-cost] did not exist. Created. [2021-06-25T09:40:54.837Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-989-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-25T09:40:55.313Z] /w/workspace/device-sdk-go/1@tmp/durable-4556286d/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-4556286d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-25T09:40:55.690Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-25T09:40:55.739Z] Warning: overwriting stash ‘stack-cost’ [2021-06-25T09:40:55.904Z] Stashed 1 file(s) [Pipeline] } [2021-06-25T09:40:55.931Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-989-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-25T09:40:57.406Z] provisioning config files... [2021-06-25T09:40:57.419Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/config9098944173345478778tmp [Pipeline] { [Pipeline] sh [2021-06-25T09:40:57.813Z] + set +x [2021-06-25T09:40:57.813Z] + bash -s -- [2021-06-25T09:40:57.813Z] + curl -s https://codecov.io/bash [2021-06-25T09:40:57.813Z] [2021-06-25T09:40:57.813Z] _____ _ [2021-06-25T09:40:57.813Z] / ____| | | [2021-06-25T09:40:57.813Z] | | ___ __| | ___ ___ _____ __ [2021-06-25T09:40:57.813Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-25T09:40:57.813Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-25T09:40:57.813Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-25T09:40:57.813Z] Bash-1.0.3 [2021-06-25T09:40:57.813Z] [2021-06-25T09:40:57.813Z] [2021-06-25T09:40:57.813Z] ==> git version 2.24.4 found [2021-06-25T09:40:57.813Z] ==> 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-25T09:40:57.813Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-25T09:40:57.813Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-25T09:40:57.813Z] ==> Jenkins CI detected. [2021-06-25T09:40:57.813Z] project root: . [2021-06-25T09:40:57.813Z] --> token set from env [2021-06-25T09:40:58.080Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-25T09:40:58.080Z] ==> Running gcov in . (disable via -X gcov) [2021-06-25T09:40:58.080Z] ==> Python coveragepy not found [2021-06-25T09:40:58.080Z] ==> Searching for coverage reports in: [2021-06-25T09:40:58.080Z] + . [2021-06-25T09:40:58.080Z] -> Found 1 reports [2021-06-25T09:40:58.080Z] ==> Detecting git/mercurial file structure [2021-06-25T09:40:58.080Z] ==> Reading reports [2021-06-25T09:40:58.081Z] + ./coverage.out bytes=125635 [2021-06-25T09:40:58.081Z] ==> Appending adjustments [2021-06-25T09:40:58.081Z] https://docs.codecov.io/docs/fixing-reports [2021-06-25T09:40:58.346Z] + Found adjustments [2021-06-25T09:40:58.346Z] ==> Gzipping contents [2021-06-25T09:40:58.346Z] 16K /tmp/codecov.0ihX1a.gz [2021-06-25T09:40:58.346Z] ==> Uploading reports [2021-06-25T09:40:58.346Z] url: https://codecov.io [2021-06-25T09:40:58.346Z] query: branch=PR-989&commit=f46723479a4d5b75f667bcc3f9a0b5e03b108cbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-989%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=989&job=&cmd_args= [2021-06-25T09:40:58.346Z] -> Pinging Codecov [2021-06-25T09:40:58.346Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-989&commit=f46723479a4d5b75f667bcc3f9a0b5e03b108cbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-989%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=989&job=&cmd_args= [2021-06-25T09:40:58.922Z] -> Uploading to [2021-06-25T09:40:58.922Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-25/7E55EF52A471D76F132DFD9A03CDDE97/f46723479a4d5b75f667bcc3f9a0b5e03b108cbc/8c7ad313-cfc5-446d-86ac-b2caff479440.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210625%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210625T094058Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01e386849bb9bb4683e3fdaded11a53c1313f4c354223f18ac0feee057fa0a12 [2021-06-25T09:40:58.922Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-25T09:40:58.922Z] Dload Upload Total Spent Left Speed [2021-06-25T09:40:59.185Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16312 0 0 100 16312 0 34112 --:--:-- --:--:-- --:--:-- 34125 [2021-06-25T09:40:59.185Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f46723479a4d5b75f667bcc3f9a0b5e03b108cbc [Pipeline] } [2021-06-25T09:40:59.212Z] 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-25T09:41:02.255Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T09:41:02.894Z] ---> package-listing.sh [2021-06-25T09:41:02.894Z] ++ facter osfamily [2021-06-25T09:41:02.894Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-25T09:41:03.172Z] + OS_FAMILY=redhat [2021-06-25T09:41:03.172Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-989 [2021-06-25T09:41:03.172Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-25T09:41:03.172Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-25T09:41:03.172Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-25T09:41:03.172Z] + PACKAGES=/tmp/packages_start.txt [2021-06-25T09:41:03.172Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-989 ']' [2021-06-25T09:41:03.172Z] + PACKAGES=/tmp/packages_end.txt [2021-06-25T09:41:03.172Z] + case "${OS_FAMILY}" in [2021-06-25T09:41:03.172Z] + sort [2021-06-25T09:41:03.172Z] + rpm -qa [2021-06-25T09:41:03.806Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-25T09:41:03.806Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-25T09:41:03.806Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-25T09:41:03.806Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-989 ']' [2021-06-25T09:41:03.806Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-989/archives/ [2021-06-25T09:41:03.806Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-989/archives/ [Pipeline] echo [2021-06-25T09:41:03.846Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-989/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-25T09:41:04.175Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-25T09:41:04.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T09:41:04.785Z] [2021-06-25T09:41:04.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-25T09:41:05.155Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T09:41:05.424Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-25T09:41:05.424Z] df20fa9351a1: Pulling fs layer [2021-06-25T09:41:05.424Z] 36b3adc4ff6f: Pulling fs layer [2021-06-25T09:41:05.424Z] 8ad3a11d3b57: Pulling fs layer [2021-06-25T09:41:05.424Z] 46f8f816bc3b: Pulling fs layer [2021-06-25T09:41:05.424Z] 93b61091891f: Pulling fs layer [2021-06-25T09:41:05.424Z] 93b9cdb0e59b: Pulling fs layer [2021-06-25T09:41:05.424Z] 5e14af77c1be: Pulling fs layer [2021-06-25T09:41:05.424Z] 01666e4c0597: Pulling fs layer [2021-06-25T09:41:05.424Z] aa168da1d23b: Pulling fs layer [2021-06-25T09:41:05.424Z] 46f8f816bc3b: Waiting [2021-06-25T09:41:05.424Z] 93b61091891f: Waiting [2021-06-25T09:41:05.424Z] 93b9cdb0e59b: Waiting [2021-06-25T09:41:05.424Z] 5e14af77c1be: Waiting [2021-06-25T09:41:05.424Z] 01666e4c0597: Waiting [2021-06-25T09:41:05.424Z] aa168da1d23b: Waiting [2021-06-25T09:41:05.424Z] 36b3adc4ff6f: Verifying Checksum [2021-06-25T09:41:05.424Z] 36b3adc4ff6f: Download complete [2021-06-25T09:41:05.424Z] 46f8f816bc3b: Verifying Checksum [2021-06-25T09:41:05.424Z] 46f8f816bc3b: Download complete [2021-06-25T09:41:05.424Z] df20fa9351a1: Download complete [2021-06-25T09:41:05.424Z] 93b9cdb0e59b: Verifying Checksum [2021-06-25T09:41:05.424Z] 93b9cdb0e59b: Download complete [2021-06-25T09:41:05.685Z] 5e14af77c1be: Verifying Checksum [2021-06-25T09:41:05.685Z] 5e14af77c1be: Download complete [2021-06-25T09:41:05.685Z] 01666e4c0597: Verifying Checksum [2021-06-25T09:41:05.685Z] 01666e4c0597: Download complete [2021-06-25T09:41:05.685Z] 93b61091891f: Verifying Checksum [2021-06-25T09:41:05.685Z] 93b61091891f: Download complete [2021-06-25T09:41:05.685Z] 8ad3a11d3b57: Verifying Checksum [2021-06-25T09:41:05.685Z] 8ad3a11d3b57: Download complete [2021-06-25T09:41:05.685Z] df20fa9351a1: Pull complete [2021-06-25T09:41:05.951Z] 36b3adc4ff6f: Pull complete [2021-06-25T09:41:06.539Z] 8ad3a11d3b57: Pull complete [2021-06-25T09:41:06.540Z] 46f8f816bc3b: Pull complete [2021-06-25T09:41:06.810Z] 93b61091891f: Pull complete [2021-06-25T09:41:07.078Z] 93b9cdb0e59b: Pull complete [2021-06-25T09:41:07.078Z] 5e14af77c1be: Pull complete [2021-06-25T09:41:07.341Z] 01666e4c0597: Pull complete [2021-06-25T09:41:08.304Z] aa168da1d23b: Download complete [2021-06-25T09:41:12.588Z] aa168da1d23b: Pull complete [2021-06-25T09:41:12.588Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-25T09:41:12.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-25T09:41:12.588Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-25T09:41:12.714Z] prd-centos7-docker-4c-2g-24 does not seem to be running inside a container [2021-06-25T09:41:12.757Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-989/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-989 -v /w/workspace/dgexfoundry_device-sdk-go_PR-989:/w/workspace/dgexfoundry_device-sdk-go_PR-989:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-25T09:41:14.769Z] $ docker top 3c91fbde1199c93d734cf1b4a22838288df87a41fcece2187f688d08c278cba8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-25T09:41:15.274Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-25T09:41:15.604Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-25T09:41:15.937Z] + ls /var/log/sa-host [2021-06-25T09:41:15.938Z] + sadf -c /var/log/sa-host/sa05 [2021-06-25T09:41:15.938Z] file_magic: OK [2021-06-25T09:41:15.938Z] HZ: Using current value: 100 [2021-06-25T09:41:15.938Z] file_header: OK [2021-06-25T09:41:15.938Z] 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-25T09:41:15.938Z] Statistics: [2021-06-25T09:41:15.938Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T09:41:15.938Z] File successfully converted to sysstat format version 12.2.1 [2021-06-25T09:41:15.938Z] + sadf -c /var/log/sa-host/sa25 [2021-06-25T09:41:15.938Z] file_magic: OK [2021-06-25T09:41:15.938Z] HZ: Using current value: 100 [2021-06-25T09:41:15.938Z] file_header: OK [2021-06-25T09:41:15.938Z] 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-25T09:41:15.938Z] Statistics: [2021-06-25T09:41:15.938Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-25T09:41:15.938Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-25T09:41:16.928Z] provisioning config files... [2021-06-25T09:41:16.946Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-989@tmp/config1639888452354815650tmp [Pipeline] { [Pipeline] echo [2021-06-25T09:41:17.010Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T09:41:17.384Z] ---> create-netrc.sh [Pipeline] } [2021-06-25T09:41:17.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-25T09:41:17.934Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-25T09:41:17.979Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T09:41:18.344Z] ---> sudo-logs.sh [2021-06-25T09:41:18.344Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-25T09:41:18.445Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T09:41:18.791Z] ---> job-cost.sh [2021-06-25T09:41:18.791Z] lf-activate-venv: SKIPPING [2021-06-25T09:41:18.791Z] DEBUG: total: 0.18000000715255737 [2021-06-25T09:41:18.791Z] INFO: Retrieving Stack Cost... [2021-06-25T09:41:19.739Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-25T09:41:20.010Z] INFO: Archiving Costs [Pipeline] echo [2021-06-25T09:41:20.058Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-25T09:41:20.416Z] ---> logs-deploy.sh [2021-06-25T09:41:20.416Z] lf-activate-venv: SKIPPING [2021-06-25T09:41:20.416Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-989/1 [2021-06-25T09:41:20.416Z] INFO: archiving workspace using pattern(s): [2021-06-25T09:41:23.732Z] Archives upload complete. [2021-06-25T09:41:23.732Z] INFO: archiving logs to Nexus