Pull request #881 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f1f8d07c7547b0631bee6ef379e1f335d995aecd+4afc3732447dbc1bcd63643089443d556eeee277 (3ad33c594a54a8222c6b86190d3aebf084f90868) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-881/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-881/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 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:docker-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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-421 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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-881 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd Merge succeeded, producing f1f8d07c7547b0631bee6ef379e1f335d995aecd Checking out Revision f1f8d07c7547b0631bee6ef379e1f335d995aecd (PR-881) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-04-16T05:56:24.281Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-04-16T05:56:24.496Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-04-16T05:56:24.611Z] ========================================================= [2021-04-16T05:56:24.611Z] EdgeX Global Pipelines Version Info [2021-04-16T05:56:24.611Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-04-16T05:56:26.171Z] ------------------- [2021-04-16T05:56:26.171Z] stable info: [2021-04-16T05:56:26.171Z] ------------------- [2021-04-16T05:56:26.171Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-04-16T05:56:26.171Z] Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 [2021-04-16T05:56:26.171Z] Message: update stable to v1.0.186 [2021-04-16T05:56:27.119Z] ------------------- [2021-04-16T05:56:27.119Z] experimental info: [2021-04-16T05:56:27.119Z] ------------------- [2021-04-16T05:56:27.119Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-04-16T05:56:27.119Z] Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 [2021-04-16T05:56:27.119Z] Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-04-16T05:56:27.354Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-04-16T05:56:27.412Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-04-16T05:56:27.470Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-04-16T05:56:27.529Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-04-16T05:56:27.583Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-04-16T05:56:27.638Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-04-16T05:56:27.693Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-04-16T05:56:27.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-04-16T05:56:27.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-04-16T05:56:27.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-04-16T05:56:27.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-04-16T05:56:27.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-04-16T05:56:28.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-04-16T05:56:28.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-04-16T05:56:28.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-04-16T05:56:28.285Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-04-16T05:56:28.342Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-04-16T05:56:28.402Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-04-16T05:56:28.475Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-04-16T05:56:28.529Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-04-16T05:56:28.594Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-04-16T05:56:28.672Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-04-16T05:56:28.733Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-04-16T05:56:28.788Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-04-16T05:56:28.846Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-04-16T05:56:28.914Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-04-16T05:56:28.969Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-881 [Pipeline] echo [2021-04-16T05:56:29.026Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-881 [Pipeline] echo [2021-04-16T05:56:29.082Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-881 [Pipeline] echo [2021-04-16T05:56:29.139Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1f8d07c7547b0631bee6ef379e1f335d995aecd [Pipeline] echo [2021-04-16T05:56:29.196Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f1f8d07 [Pipeline] echo [2021-04-16T05:56:29.253Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T05:56:29.405Z] provisioning config files... [2021-04-16T05:56:29.440Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config5579466126294480827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T05:56:29.821Z] ---> docker-login.sh [2021-04-16T05:56:29.822Z] nexus3.edgexfoundry.org:10001 [2021-04-16T05:56:30.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:56:30.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:56:30.351Z] Configure a credential helper to remove this warning. See [2021-04-16T05:56:30.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:56:30.351Z] [2021-04-16T05:56:30.351Z] Login Succeeded [2021-04-16T05:56:30.351Z] nexus3.edgexfoundry.org:10002 [2021-04-16T05:56:30.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:56:30.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:56:30.351Z] Configure a credential helper to remove this warning. See [2021-04-16T05:56:30.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:56:30.351Z] [2021-04-16T05:56:30.351Z] Login Succeeded [2021-04-16T05:56:30.351Z] nexus3.edgexfoundry.org:10003 [2021-04-16T05:56:30.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:56:30.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:56:30.615Z] Configure a credential helper to remove this warning. See [2021-04-16T05:56:30.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:56:30.615Z] [2021-04-16T05:56:30.615Z] Login Succeeded [2021-04-16T05:56:30.615Z] nexus3.edgexfoundry.org:10004 [2021-04-16T05:56:30.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:56:30.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:56:30.881Z] Configure a credential helper to remove this warning. See [2021-04-16T05:56:30.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:56:30.881Z] [2021-04-16T05:56:30.881Z] Login Succeeded [2021-04-16T05:56:30.881Z] docker.io [2021-04-16T05:56:30.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:56:31.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:56:31.144Z] Configure a credential helper to remove this warning. See [2021-04-16T05:56:31.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:56:31.144Z] [2021-04-16T05:56:31.144Z] Login Succeeded [2021-04-16T05:56:31.144Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T05:56:31.170Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T05:56:31.893Z] + git log --format=format:%s -1 f1f8d07c7547b0631bee6ef379e1f335d995aecd [Pipeline] echo [2021-04-16T05:56:31.996Z] GIT_COMMIT: f1f8d07c7547b0631bee6ef379e1f335d995aecd, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-04-16T05:56:32.047Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-04-16T05:56:33.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T05:56:33.032Z] [2021-04-16T05:56:33.032Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T05:56:33.407Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T05:56:33.408Z] latest: Pulling from edgex-devops/git-semver [2021-04-16T05:56:33.408Z] 31603596830f: Pulling fs layer [2021-04-16T05:56:33.408Z] 2a8b12db71e7: Pulling fs layer [2021-04-16T05:56:33.408Z] 6ca5941a6612: Pulling fs layer [2021-04-16T05:56:33.408Z] ecc8261a40a4: Pulling fs layer [2021-04-16T05:56:33.408Z] ecc8261a40a4: Waiting [2021-04-16T05:56:33.408Z] 2a8b12db71e7: Verifying Checksum [2021-04-16T05:56:33.408Z] 2a8b12db71e7: Download complete [2021-04-16T05:56:33.408Z] 31603596830f: Verifying Checksum [2021-04-16T05:56:33.408Z] 31603596830f: Download complete [2021-04-16T05:56:33.687Z] ecc8261a40a4: Verifying Checksum [2021-04-16T05:56:33.687Z] ecc8261a40a4: Download complete [2021-04-16T05:56:33.687Z] 6ca5941a6612: Verifying Checksum [2021-04-16T05:56:33.687Z] 6ca5941a6612: Download complete [2021-04-16T05:56:33.951Z] 31603596830f: Pull complete [2021-04-16T05:56:33.951Z] 2a8b12db71e7: Pull complete [2021-04-16T05:56:34.907Z] 6ca5941a6612: Pull complete [2021-04-16T05:56:35.171Z] ecc8261a40a4: Pull complete [2021-04-16T05:56:35.171Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-04-16T05:56:35.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-04-16T05:56:35.171Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-04-16T05:56:35.302Z] prd-centos7-docker-4c-2g-421 does not seem to be running inside a container [2021-04-16T05:56:35.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-881 -v /w/workspace/dgexfoundry_device-sdk-go_PR-881:/w/workspace/dgexfoundry_device-sdk-go_PR-881:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-881@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-04-16T05:56:37.314Z] $ docker top 7ba3cf5a7a57427ba05fd045fd13ea3c454fe90c819cb49e9955127be3015bff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-04-16T05:56:37.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T05:56:37.554Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T05:56:37.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T05:56:37.785Z] $ docker exec 7ba3cf5a7a57427ba05fd045fd13ea3c454fe90c819cb49e9955127be3015bff ssh-agent [2021-04-16T05:56:37.950Z] SSH_AUTH_SOCK=/tmp/ssh-i7uFau3jjcOW/agent.12 [2021-04-16T05:56:37.950Z] SSH_AGENT_PID=18 [2021-04-16T05:56:37.960Z] Running ssh-add (command line suppressed) [2021-04-16T05:56:38.085Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_961007623006001473.key (/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_961007623006001473.key) [2021-04-16T05:56:38.134Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T05:56:38.478Z] + git tag --points-at HEAD [Pipeline] } [2021-04-16T05:56:38.511Z] $ docker exec --env ******** --env ******** 7ba3cf5a7a57427ba05fd045fd13ea3c454fe90c819cb49e9955127be3015bff ssh-agent -k [2021-04-16T05:56:38.626Z] unset SSH_AUTH_SOCK; [2021-04-16T05:56:38.626Z] unset SSH_AGENT_PID; [2021-04-16T05:56:38.626Z] echo Agent pid 18 killed; [2021-04-16T05:56:38.672Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-04-16T05:56:38.767Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-04-16T05:56:38.767Z] [ssh-agent] Looking for ssh-agent implementation... [2021-04-16T05:56:38.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-04-16T05:56:38.938Z] $ docker exec 7ba3cf5a7a57427ba05fd045fd13ea3c454fe90c819cb49e9955127be3015bff ssh-agent [2021-04-16T05:56:39.105Z] SSH_AUTH_SOCK=/tmp/ssh-9loVZTAEhrNM/agent.47 [2021-04-16T05:56:39.105Z] SSH_AGENT_PID=52 [2021-04-16T05:56:39.113Z] Running ssh-add (command line suppressed) [2021-04-16T05:56:39.237Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_7299808932935990113.key (/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/private_key_7299808932935990113.key) [2021-04-16T05:56:39.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-04-16T05:56:39.628Z] + git semver init [2021-04-16T05:56:39.628Z] # -> Open(): unable to determine branch for HEAD [2021-04-16T05:56:39.628Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-881/.git [2021-04-16T05:56:39.628Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-881 [2021-04-16T05:56:39.628Z] # $SEMVER_REMOTE_NAME = origin [2021-04-16T05:56:39.628Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-04-16T05:56:39.628Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-04-16T05:56:39.628Z] # $SEMVER_BRANCH = PR-881 [2021-04-16T05:56:39.628Z] # $SEMVER_TEMP = /tmp/semver-428012451 [2021-04-16T05:56:39.628Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-04-16T05:56:40.577Z] # '/tmp/semver-428012451' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-881/.semver' [2021-04-16T05:56:40.577Z] # -> Force: false [2021-04-16T05:56:40.577Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-881/.semver [Pipeline] } [2021-04-16T05:56:40.600Z] $ docker exec --env ******** --env ******** 7ba3cf5a7a57427ba05fd045fd13ea3c454fe90c819cb49e9955127be3015bff ssh-agent -k [2021-04-16T05:56:40.721Z] unset SSH_AUTH_SOCK; [2021-04-16T05:56:40.722Z] unset SSH_AGENT_PID; [2021-04-16T05:56:40.722Z] echo Agent pid 52 killed; [2021-04-16T05:56:40.774Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-04-16T05:56:41.217Z] + git semver [Pipeline] } [2021-04-16T05:56:41.251Z] $ docker stop --time=1 7ba3cf5a7a57427ba05fd045fd13ea3c454fe90c819cb49e9955127be3015bff [2021-04-16T05:56:42.674Z] $ docker rm -f 7ba3cf5a7a57427ba05fd045fd13ea3c454fe90c819cb49e9955127be3015bff [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T05:56:43.144Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-04-16T05:56:43.591Z] Stashed 1 file(s) [Pipeline] echo [2021-04-16T05:56:43.613Z] [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-04-16T05:56:59.146Z] Still waiting to schedule task [2021-04-16T05:56:59.147Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-421’ [2021-04-16T05:56:59.180Z] Still waiting to schedule task [2021-04-16T05:56:59.180Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-04-16T05:58:14.926Z] Running on prd-centos7-docker-4c-2g-425 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [Pipeline] { [Pipeline] ws [2021-04-16T05:58:14.980Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-16T05:58:17.424Z] using credential edgex-jenkins-ssh [2021-04-16T05:58:17.437Z] Cloning the remote Git repository [2021-04-16T05:58:17.114Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T05:58:17.195Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-16T05:58:17.262Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T05:58:17.262Z] > git --version # timeout=10 [2021-04-16T05:58:17.268Z] > git --version # 'git version 2.24.3' [2021-04-16T05:58:17.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T05:58:17.302Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T05:58:18.720Z] Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd [2021-04-16T05:58:18.804Z] Merge succeeded, producing f1f8d07c7547b0631bee6ef379e1f335d995aecd [2021-04-16T05:58:18.804Z] Checking out Revision f1f8d07c7547b0631bee6ef379e1f335d995aecd (PR-881) [2021-04-16T05:58:18.026Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T05:58:18.037Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T05:58:18.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T05:58:18.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T05:58:18.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T05:58:18.072Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-16T05:58:18.491Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T05:58:18.495Z] > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 [2021-04-16T05:58:18.540Z] > git remote # timeout=10 [2021-04-16T05:58:18.546Z] > git config --get remote.origin.url # timeout=10 [2021-04-16T05:58:18.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T05:58:18.557Z] > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 [2021-04-16T05:58:18.568Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-16T05:58:18.577Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T05:58:18.581Z] > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 [2021-04-16T05:58:22.205Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-04-16T05:58:22.229Z] > git --version # timeout=10 [2021-04-16T05:58:22.235Z] > git --version # 'git version 2.24.3' [2021-04-16T05:58:22.243Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T05:58:23.363Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-04-16T05:58:23.703Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T05:58:24.031Z] + true [2021-04-16T05:58:24.031Z] + sudo service docker restart [2021-04-16T05:58:24.031Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-04-16T05:58:25.079Z] provisioning config files... [2021-04-16T05:58:25.159Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4321319181850365932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-04-16T05:58:25.532Z] ---> docker-login.sh [2021-04-16T05:58:25.532Z] nexus3.edgexfoundry.org:10001 [2021-04-16T05:58:25.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:58:25.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:58:25.798Z] Configure a credential helper to remove this warning. See [2021-04-16T05:58:25.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:58:25.798Z] [2021-04-16T05:58:25.798Z] Login Succeeded [2021-04-16T05:58:25.798Z] nexus3.edgexfoundry.org:10002 [2021-04-16T05:58:25.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:58:26.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:58:26.060Z] Configure a credential helper to remove this warning. See [2021-04-16T05:58:26.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:58:26.060Z] [2021-04-16T05:58:26.060Z] Login Succeeded [2021-04-16T05:58:26.060Z] nexus3.edgexfoundry.org:10003 [2021-04-16T05:58:26.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:58:26.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:58:26.060Z] Configure a credential helper to remove this warning. See [2021-04-16T05:58:26.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:58:26.060Z] [2021-04-16T05:58:26.060Z] Login Succeeded [2021-04-16T05:58:26.060Z] nexus3.edgexfoundry.org:10004 [2021-04-16T05:58:26.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:58:26.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:58:26.321Z] Configure a credential helper to remove this warning. See [2021-04-16T05:58:26.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:58:26.321Z] [2021-04-16T05:58:26.321Z] Login Succeeded [2021-04-16T05:58:26.321Z] docker.io [2021-04-16T05:58:26.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:58:26.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:58:26.583Z] Configure a credential helper to remove this warning. See [2021-04-16T05:58:26.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:58:26.583Z] [2021-04-16T05:58:26.583Z] Login Succeeded [2021-04-16T05:58:26.583Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T05:58:26.611Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-16T05:58:26.903Z] ========================================================= [2021-04-16T05:58:26.903Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-04-16T05:58:26.903Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T05:58:27.263Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-04-16T05:58:27.263Z] Sending build context to Docker daemon 2.423MB [2021-04-16T05:58:27.263Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T05:58:27.263Z] Step 2/8 : FROM ${BASE} [2021-04-16T05:58:27.527Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-04-16T05:58:27.527Z] 188c0c94c7c5: Pulling fs layer [2021-04-16T05:58:27.527Z] 0ef7d3d256c8: Pulling fs layer [2021-04-16T05:58:27.527Z] de9db76c5a1d: Pulling fs layer [2021-04-16T05:58:27.527Z] bca2f99d35d6: Pulling fs layer [2021-04-16T05:58:27.527Z] 93359f2a8cfa: Pulling fs layer [2021-04-16T05:58:27.527Z] 7c6f9722023f: Pulling fs layer [2021-04-16T05:58:27.527Z] a35cf1a2eb13: Pulling fs layer [2021-04-16T05:58:27.527Z] bca2f99d35d6: Waiting [2021-04-16T05:58:27.527Z] 93359f2a8cfa: Waiting [2021-04-16T05:58:27.527Z] 7c6f9722023f: Waiting [2021-04-16T05:58:27.527Z] a35cf1a2eb13: Waiting [2021-04-16T05:58:27.527Z] de9db76c5a1d: Verifying Checksum [2021-04-16T05:58:27.527Z] de9db76c5a1d: Download complete [2021-04-16T05:58:27.527Z] 0ef7d3d256c8: Download complete [2021-04-16T05:58:27.527Z] 93359f2a8cfa: Verifying Checksum [2021-04-16T05:58:27.527Z] 93359f2a8cfa: Download complete [2021-04-16T05:58:27.527Z] 7c6f9722023f: Verifying Checksum [2021-04-16T05:58:27.527Z] 7c6f9722023f: Download complete [2021-04-16T05:58:27.527Z] 188c0c94c7c5: Verifying Checksum [2021-04-16T05:58:27.527Z] 188c0c94c7c5: Download complete [2021-04-16T05:58:27.791Z] 188c0c94c7c5: Pull complete [2021-04-16T05:58:27.791Z] 0ef7d3d256c8: Pull complete [2021-04-16T05:58:28.054Z] de9db76c5a1d: Pull complete [2021-04-16T05:58:29.460Z] a35cf1a2eb13: Verifying Checksum [2021-04-16T05:58:29.460Z] a35cf1a2eb13: Download complete [2021-04-16T05:58:30.040Z] bca2f99d35d6: Download complete [2021-04-16T05:58:35.359Z] bca2f99d35d6: Pull complete [2021-04-16T05:58:35.359Z] 93359f2a8cfa: Pull complete [2021-04-16T05:58:35.359Z] 7c6f9722023f: Pull complete [2021-04-16T05:58:41.961Z] a35cf1a2eb13: Pull complete [2021-04-16T05:58:41.961Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-04-16T05:58:41.961Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-04-16T05:58:41.961Z] ---> a62c8e92a672 [2021-04-16T05:58:41.961Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T05:58:41.961Z] ---> Running in a2e2615ede52 [2021-04-16T05:58:41.961Z] Removing intermediate container a2e2615ede52 [2021-04-16T05:58:41.961Z] ---> 904a2c27819b [2021-04-16T05:58:41.961Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T05:58:41.961Z] ---> Running in 5910f0967be7 [2021-04-16T05:58:42.913Z] Removing intermediate container 5910f0967be7 [2021-04-16T05:58:42.913Z] ---> fa8106671864 [2021-04-16T05:58:42.913Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-16T05:58:42.913Z] ---> Running in c185aceff423 [2021-04-16T05:58:43.488Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T05:58:44.431Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T05:58:44.693Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-16T05:58:44.693Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-16T05:58:44.955Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-16T05:58:44.956Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-16T05:58:44.956Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-16T05:58:45.217Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-16T05:58:45.217Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T05:58:45.217Z] OK: 167 MiB in 45 packages [2021-04-16T05:58:45.790Z] Removing intermediate container c185aceff423 [2021-04-16T05:58:45.790Z] ---> 7eff30018f23 [2021-04-16T05:58:45.790Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-16T05:58:46.052Z] ---> Running in ac2fac832c7b [2021-04-16T05:58:46.052Z] Removing intermediate container ac2fac832c7b [2021-04-16T05:58:46.052Z] ---> 5b274109661e [2021-04-16T05:58:46.052Z] Step 7/8 : COPY . . [2021-04-16T05:58:47.442Z] ---> 124fa7845663 [2021-04-16T05:58:47.442Z] Step 8/8 : RUN go mod download [2021-04-16T05:58:47.442Z] ---> Running in 0cf29059e600 [2021-04-16T05:58:53.433Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-423 in /w/workspace/dgexfoundry_device-sdk-go_PR-881 [Pipeline] { [Pipeline] ws [2021-04-16T05:58:53.489Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-04-16T05:58:59.302Z] using credential edgex-jenkins-ssh [2021-04-16T05:58:59.327Z] Cloning the remote Git repository [2021-04-16T05:58:59.421Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T05:58:59.531Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-04-16T05:58:59.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T05:58:59.622Z] > git --version # timeout=10 [2021-04-16T05:58:59.640Z] > git --version # 'git version 2.17.1' [2021-04-16T05:58:59.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T05:58:59.713Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T05:59:00.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T05:59:00.926Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-04-16T05:59:00.949Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-04-16T05:59:00.978Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-04-16T05:59:00.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T05:59:00.990Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/881/head:refs/remotes/origin/PR-881 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-04-16T05:59:01.835Z] Merging remotes/origin/master commit 4afc3732447dbc1bcd63643089443d556eeee277 into PR head commit f1f8d07c7547b0631bee6ef379e1f335d995aecd [2021-04-16T05:59:02.030Z] Merge succeeded, producing f1f8d07c7547b0631bee6ef379e1f335d995aecd [2021-04-16T05:59:02.031Z] Checking out Revision f1f8d07c7547b0631bee6ef379e1f335d995aecd (PR-881) [2021-04-16T05:59:01.855Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T05:59:01.867Z] > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 [2021-04-16T05:59:01.957Z] > git remote # timeout=10 [2021-04-16T05:59:01.971Z] > git config --get remote.origin.url # timeout=10 [2021-04-16T05:59:01.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-04-16T05:59:02.000Z] > git merge 4afc3732447dbc1bcd63643089443d556eeee277 # timeout=10 [2021-04-16T05:59:02.022Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-04-16T05:59:02.041Z] > git config core.sparsecheckout # timeout=10 [2021-04-16T05:59:02.050Z] > git checkout -f f1f8d07c7547b0631bee6ef379e1f335d995aecd # timeout=10 [2021-04-16T05:59:06.239Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-04-16T05:59:06.297Z] > git --version # timeout=10 [2021-04-16T05:59:06.304Z] > git --version # 'git version 2.17.1' [2021-04-16T05:59:06.316Z] fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T05:59:08.001Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-04-16T05:59:08.426Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-04-16T05:59:08.788Z] + true [2021-04-16T05:59:08.788Z] + sudo service docker restart [2021-04-16T05:59:09.437Z] Removing intermediate container 0cf29059e600 [2021-04-16T05:59:09.437Z] ---> 1044d67f6be0 [2021-04-16T05:59:09.437Z] Successfully built 1044d67f6be0 [2021-04-16T05:59:09.437Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T05:59:09.769Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T05:59:09.770Z] . [Pipeline] withDockerContainer [2021-04-16T05:59:09.889Z] prd-centos7-docker-4c-2g-425 does not seem to be running inside a container [2021-04-16T05:59:09.931Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-16T05:59:10.562Z] $ docker top 7b77eda6c29e048ce1ea6fbfecaabf8b288e34e12bacb80800384a7f622ef789 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [2021-04-16T05:59:11.501Z] + go version [2021-04-16T05:59:11.501Z] go version go1.15.5 linux/amd64 [Pipeline] wrap [2021-04-16T05:59:11.513Z] provisioning config files... [2021-04-16T05:59:11.569Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7417838973705234630tmp [Pipeline] } [2021-04-16T05:59:11.588Z] $ docker stop --time=1 7b77eda6c29e048ce1ea6fbfecaabf8b288e34e12bacb80800384a7f622ef789 [2021-04-16T05:59:12.912Z] $ docker rm -f 7b77eda6c29e048ce1ea6fbfecaabf8b288e34e12bacb80800384a7f622ef789 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2021-04-16T05:59:13.492Z] ---> docker-login.sh [2021-04-16T05:59:13.492Z] nexus3.edgexfoundry.org:10001 [Pipeline] isUnix [Pipeline] sh [2021-04-16T05:59:13.822Z] + docker inspect -f . ci-base-image-x86_64 [2021-04-16T05:59:13.822Z] . [Pipeline] withDockerContainer [2021-04-16T05:59:13.937Z] prd-centos7-docker-4c-2g-425 does not seem to be running inside a container [2021-04-16T05:59:13.978Z] $ 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 ******** ci-base-image-x86_64 cat [2021-04-16T05:59:14.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:59:14.542Z] $ docker top 0d5a765c4bc42000fd72381f979bd471c468d0e9029302fbb9b9624cd575274e -eo pid,comm [Pipeline] { [2021-04-16T05:59:14.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:59:14.687Z] Configure a credential helper to remove this warning. See [2021-04-16T05:59:14.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:59:14.687Z] [2021-04-16T05:59:14.687Z] Login Succeeded [2021-04-16T05:59:14.687Z] nexus3.edgexfoundry.org:10002 [Pipeline] sh [2021-04-16T05:59:14.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:59:15.032Z] + make test [2021-04-16T05:59:15.032Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-16T05:59:15.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:59:15.240Z] Configure a credential helper to remove this warning. See [2021-04-16T05:59:15.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:59:15.240Z] [2021-04-16T05:59:15.240Z] Login Succeeded [2021-04-16T05:59:15.240Z] nexus3.edgexfoundry.org:10003 [2021-04-16T05:59:15.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:59:15.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:59:15.789Z] Configure a credential helper to remove this warning. See [2021-04-16T05:59:15.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:59:15.789Z] [2021-04-16T05:59:15.789Z] Login Succeeded [2021-04-16T05:59:15.789Z] nexus3.edgexfoundry.org:10004 [2021-04-16T05:59:16.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:59:16.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:59:16.063Z] Configure a credential helper to remove this warning. See [2021-04-16T05:59:16.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:59:16.063Z] [2021-04-16T05:59:16.063Z] Login Succeeded [2021-04-16T05:59:16.063Z] docker.io [2021-04-16T05:59:16.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-04-16T05:59:16.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-04-16T05:59:16.926Z] Configure a credential helper to remove this warning. See [2021-04-16T05:59:16.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-04-16T05:59:16.926Z] [2021-04-16T05:59:16.926Z] Login Succeeded [2021-04-16T05:59:16.926Z] ---> docker-login.sh ends [Pipeline] } [2021-04-16T05:59:16.955Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-04-16T05:59:17.406Z] ========================================================= [2021-04-16T05:59:17.406Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-04-16T05:59:17.406Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-04-16T05:59:17.783Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-04-16T05:59:18.385Z] Sending build context to Docker daemon 2.425MB [2021-04-16T05:59:18.385Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T05:59:18.385Z] Step 2/8 : FROM ${BASE} [2021-04-16T05:59:18.385Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-04-16T05:59:18.385Z] 5f621e34cdf4: Pulling fs layer [2021-04-16T05:59:18.385Z] a4357932f1b6: Pulling fs layer [2021-04-16T05:59:18.385Z] 18c013af1878: Pulling fs layer [2021-04-16T05:59:18.385Z] 00ac8860ef70: Pulling fs layer [2021-04-16T05:59:18.385Z] 63d7cb157983: Pulling fs layer [2021-04-16T05:59:18.385Z] b116817d02f9: Pulling fs layer [2021-04-16T05:59:18.385Z] 745a02a5169b: Pulling fs layer [2021-04-16T05:59:18.385Z] 63d7cb157983: Waiting [2021-04-16T05:59:18.385Z] b116817d02f9: Waiting [2021-04-16T05:59:18.385Z] 745a02a5169b: Waiting [2021-04-16T05:59:18.385Z] 00ac8860ef70: Waiting [2021-04-16T05:59:18.385Z] 18c013af1878: Verifying Checksum [2021-04-16T05:59:18.385Z] 18c013af1878: Download complete [2021-04-16T05:59:18.385Z] a4357932f1b6: Verifying Checksum [2021-04-16T05:59:18.385Z] a4357932f1b6: Download complete [2021-04-16T05:59:18.385Z] 63d7cb157983: Download complete [2021-04-16T05:59:18.385Z] b116817d02f9: Verifying Checksum [2021-04-16T05:59:18.385Z] b116817d02f9: Download complete [2021-04-16T05:59:18.385Z] 5f621e34cdf4: Verifying Checksum [2021-04-16T05:59:18.385Z] 5f621e34cdf4: Download complete [2021-04-16T05:59:19.378Z] 5f621e34cdf4: Pull complete [2021-04-16T05:59:20.005Z] a4357932f1b6: Pull complete [2021-04-16T05:59:20.280Z] 18c013af1878: Pull complete [2021-04-16T05:59:20.280Z] 745a02a5169b: Verifying Checksum [2021-04-16T05:59:20.280Z] 745a02a5169b: Download complete [2021-04-16T05:59:21.263Z] 00ac8860ef70: Download complete [2021-04-16T05:59:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-16T05:59:33.690Z] 00ac8860ef70: Pull complete [2021-04-16T05:59:33.690Z] 63d7cb157983: Pull complete [2021-04-16T05:59:33.690Z] b116817d02f9: Pull complete [2021-04-16T05:59:36.328Z] 745a02a5169b: Pull complete [2021-04-16T05:59:36.328Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-04-16T05:59:36.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-04-16T05:59:36.328Z] ---> b7e6874047d6 [2021-04-16T05:59:36.328Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T05:59:39.197Z] ---> Running in 0aac3177c40a [2021-04-16T05:59:39.469Z] Removing intermediate container 0aac3177c40a [2021-04-16T05:59:39.469Z] ---> 8ee855031501 [2021-04-16T05:59:39.469Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T05:59:39.743Z] ---> Running in 163b3c3aff07 [2021-04-16T05:59:42.363Z] Removing intermediate container 163b3c3aff07 [2021-04-16T05:59:42.363Z] ---> 4cec78968242 [2021-04-16T05:59:42.363Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-04-16T05:59:42.363Z] ---> Running in fa80fd3e0716 [2021-04-16T05:59:42.973Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T05:59:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-16T05:59:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-16T05:59:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-16T05:59:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-16T05:59:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-16T05:59:43.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 28.1% of statements [2021-04-16T05:59:43.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [2021-04-16T05:59:43.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.086s coverage: 7.8% of statements [2021-04-16T05:59:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-16T05:59:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-16T05:59:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-16T05:59:43.754Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 32.0% of statements [2021-04-16T05:59:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-16T05:59:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-16T05:59:43.754Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-16T05:59:43.960Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T05:59:44.018Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.097s coverage: 57.1% of statements [2021-04-16T05:59:44.557Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-04-16T05:59:44.557Z] (2/6) Installing libsodium (1.0.18-r0) [2021-04-16T05:59:44.557Z] (3/6) Installing pkgconf (1.7.2-r0) [2021-04-16T05:59:44.589Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.173s coverage: 6.6% of statements [2021-04-16T05:59:44.589Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements [2021-04-16T05:59:44.589Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-16T05:59:44.839Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-04-16T05:59:44.839Z] (5/6) Installing libzmq (4.3.3-r0) [2021-04-16T05:59:44.839Z] (6/6) Installing zeromq-dev (4.3.3-r0) [2021-04-16T05:59:44.851Z] GO111MODULE=on go vet ./... [2021-04-16T05:59:45.110Z] Executing busybox-1.31.1-r19.trigger [2021-04-16T05:59:45.111Z] OK: 144 MiB in 45 packages [2021-04-16T05:59:46.544Z] Removing intermediate container fa80fd3e0716 [2021-04-16T05:59:46.544Z] ---> b08defd50b4c [2021-04-16T05:59:46.544Z] Step 6/8 : WORKDIR /device-sdk-go [2021-04-16T05:59:46.545Z] ---> Running in 4e672fae3315 [2021-04-16T05:59:47.137Z] Removing intermediate container 4e672fae3315 [2021-04-16T05:59:47.137Z] ---> 28ad4363e0f8 [2021-04-16T05:59:47.137Z] Step 7/8 : COPY . . [2021-04-16T05:59:48.114Z] ---> 9ac0df1f9c52 [2021-04-16T05:59:48.114Z] Step 8/8 : RUN go mod download [2021-04-16T05:59:48.387Z] ---> Running in e9fd9a6b2ebc [2021-04-16T06:00:00.242Z] gofmt -l . [2021-04-16T06:00:00.242Z] [ "`gofmt -l .`" = "" ] [2021-04-16T06:00:00.242Z] ./bin/test-attribution-txt.sh [2021-04-16T06:00:00.242Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-16T06:00:00.280Z] $ docker stop --time=1 0d5a765c4bc42000fd72381f979bd471c468d0e9029302fbb9b9624cd575274e [2021-04-16T06:00:01.949Z] $ docker rm -f 0d5a765c4bc42000fd72381f979bd471c468d0e9029302fbb9b9624cd575274e [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T06:00:02.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-16T06:00:03.035Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-04-16T06:00:05.650Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-16T06:00:05.973Z] + ls -al . [2021-04-16T06:00:05.973Z] total 188 [2021-04-16T06:00:05.973Z] drwxrwxr-x. 10 jenkins jenkins 4096 Apr 16 05:59 . [2021-04-16T06:00:05.973Z] drwxrwxr-x. 4 jenkins jenkins 28 Apr 16 05:58 .. [2021-04-16T06:00:05.973Z] drwxrwxr-x. 2 jenkins jenkins 64 Apr 16 05:58 bin [2021-04-16T06:00:05.973Z] -rw-r--r--. 1 jenkins jenkins 99931 Apr 16 05:59 coverage.out [2021-04-16T06:00:05.973Z] -rw-rw-r--. 1 jenkins jenkins 987 Apr 16 05:58 Dockerfile.build [2021-04-16T06:00:05.973Z] -rw-rw-r--. 1 jenkins jenkins 140 Apr 16 05:58 .dockerignore [2021-04-16T06:00:05.973Z] drwxrwxr-x. 5 jenkins jenkins 62 Apr 16 05:58 example [2021-04-16T06:00:05.973Z] drwxrwxr-x. 8 jenkins jenkins 179 Apr 16 05:58 .git [2021-04-16T06:00:05.973Z] drwxrwxr-x. 2 jenkins jenkins 103 Apr 16 05:58 .github [2021-04-16T06:00:05.973Z] -rw-rw-r--. 1 jenkins jenkins 138 Apr 16 05:58 .gitignore [2021-04-16T06:00:05.973Z] -rw-r--r--. 1 jenkins jenkins 574 Apr 16 05:59 go.mod [2021-04-16T06:00:05.973Z] -rw-r--r--. 1 jenkins jenkins 20735 Apr 16 05:59 go.sum [2021-04-16T06:00:05.973Z] drwxrwxr-x. 14 jenkins jenkins 207 Apr 16 05:58 internal [2021-04-16T06:00:05.973Z] -rw-rw-r--. 1 jenkins jenkins 901 Apr 16 05:58 Jenkinsfile [2021-04-16T06:00:05.973Z] -rw-rw-r--. 1 jenkins jenkins 11341 Apr 16 05:58 LICENSE [2021-04-16T06:00:05.973Z] -rw-rw-r--. 1 jenkins jenkins 1022 Apr 16 05:58 Makefile [2021-04-16T06:00:05.973Z] drwxrwxr-x. 4 jenkins jenkins 26 Apr 16 05:58 openapi [2021-04-16T06:00:05.973Z] drwxrwxr-x. 5 jenkins jenkins 50 Apr 16 05:58 pkg [2021-04-16T06:00:05.973Z] -rw-rw-r--. 1 jenkins jenkins 5897 Apr 16 05:58 README.md [2021-04-16T06:00:05.973Z] -rw-rw-r--. 1 jenkins jenkins 6616 Apr 16 05:58 RELEASE-NOTES.txt [2021-04-16T06:00:05.973Z] drwxrwxr-x. 4 jenkins jenkins 54 Apr 16 05:58 snap [2021-04-16T06:00:05.973Z] -rw-rw-r--. 1 jenkins jenkins 5 Apr 16 05:56 VERSION [2021-04-16T06:00:05.973Z] -rw-rw-r--. 1 jenkins jenkins 222 Apr 16 05:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:00:06.314Z] + docker build -t docker-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=f1f8d07c7547b0631bee6ef379e1f335d995aecd --label arch=amd64 --label version=0.0.0 . [2021-04-16T06:00:06.314Z] Sending build context to Docker daemon 2.524MB [2021-04-16T06:00:06.314Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T06:00:06.314Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-16T06:00:06.314Z] ---> 1044d67f6be0 [2021-04-16T06:00:06.314Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-16T06:00:06.889Z] ---> Running in f460608c1bfc [2021-04-16T06:00:06.889Z] Removing intermediate container f460608c1bfc [2021-04-16T06:00:06.889Z] ---> ef5927dc98a2 [2021-04-16T06:00:06.889Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T06:00:06.889Z] ---> Running in 4c9e6cad823f [2021-04-16T06:00:07.152Z] Removing intermediate container 4c9e6cad823f [2021-04-16T06:00:07.152Z] ---> 416cc6db287c [2021-04-16T06:00:07.152Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T06:00:07.152Z] ---> Running in ad41dd83d239 [2021-04-16T06:00:08.096Z] Removing intermediate container ad41dd83d239 [2021-04-16T06:00:08.097Z] ---> b5032389ecae [2021-04-16T06:00:08.097Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-16T06:00:08.097Z] ---> Running in 50cd6da2eb94 [2021-04-16T06:00:08.357Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T06:00:08.929Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T06:00:09.502Z] OK: 167 MiB in 45 packages [2021-04-16T06:00:09.764Z] Removing intermediate container 50cd6da2eb94 [2021-04-16T06:00:09.764Z] ---> 32bebcc1ada8 [2021-04-16T06:00:09.764Z] Step 7/23 : COPY . . [2021-04-16T06:00:10.711Z] ---> e87fc82050fe [2021-04-16T06:00:10.711Z] Step 8/23 : RUN go mod download [2021-04-16T06:00:11.661Z] ---> Running in 4b4c0facaada [2021-04-16T06:00:12.238Z] Removing intermediate container 4b4c0facaada [2021-04-16T06:00:12.238Z] ---> 732c7c2e72dd [2021-04-16T06:00:12.238Z] Step 9/23 : RUN make build [2021-04-16T06:00:12.500Z] ---> Running in 6f2b18b94b80 [2021-04-16T06:00:12.764Z] 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-04-16T06:00:15.219Z] Removing intermediate container e9fd9a6b2ebc [2021-04-16T06:00:15.219Z] ---> 3df42df88a10 [2021-04-16T06:00:15.219Z] Successfully built 3df42df88a10 [2021-04-16T06:00:15.219Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:00:15.606Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T06:00:15.606Z] . [Pipeline] withDockerContainer [2021-04-16T06:00:15.910Z] prd-ubuntu18.04-docker-arm64-4c-16g-423 does not seem to be running inside a container [2021-04-16T06:00:16.000Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-16T06:00:17.628Z] $ docker top f1d0db653b41ef69bf83b59a91754741a14913ee859cc875d79b03c30234c636 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T06:00:18.668Z] + go version [2021-04-16T06:00:18.668Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-04-16T06:00:18.707Z] $ docker stop --time=1 f1d0db653b41ef69bf83b59a91754741a14913ee859cc875d79b03c30234c636 [2021-04-16T06:00:20.735Z] $ docker rm -f f1d0db653b41ef69bf83b59a91754741a14913ee859cc875d79b03c30234c636 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:00:21.730Z] + docker inspect -f . ci-base-image-arm64 [2021-04-16T06:00:21.730Z] . [Pipeline] withDockerContainer [2021-04-16T06:00:22.017Z] prd-ubuntu18.04-docker-arm64-4c-16g-423 does not seem to be running inside a container [2021-04-16T06:00:22.110Z] $ 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 ******** ci-base-image-arm64 cat [2021-04-16T06:00:22.921Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-16T06:00:23.720Z] $ docker top 914c1ed7f85be717be8bc6951a9a8681b4afc8774527c6a54e7c1b34876038ad -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T06:00:24.308Z] Removing intermediate container 6f2b18b94b80 [2021-04-16T06:00:24.308Z] ---> ca4a793f9db7 [2021-04-16T06:00:24.308Z] Step 10/23 : FROM alpine:3.12 [2021-04-16T06:00:24.569Z] 3.12: Pulling from library/alpine [2021-04-16T06:00:24.774Z] + make test [2021-04-16T06:00:24.774Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-04-16T06:00:24.830Z] 339de151aab4: Pulling fs layer [2021-04-16T06:00:24.830Z] 339de151aab4: Verifying Checksum [2021-04-16T06:00:24.830Z] 339de151aab4: Download complete [2021-04-16T06:00:25.094Z] 339de151aab4: Pull complete [2021-04-16T06:00:25.094Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-16T06:00:25.094Z] Status: Downloaded newer image for alpine:3.12 [2021-04-16T06:00:25.094Z] ---> 13621d1b12d4 [2021-04-16T06:00:25.094Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T06:00:25.094Z] ---> Running in e3c45d20b979 [2021-04-16T06:00:25.359Z] Removing intermediate container e3c45d20b979 [2021-04-16T06:00:25.359Z] ---> d81268a42ce5 [2021-04-16T06:00:25.359Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T06:00:25.359Z] ---> Running in 7eee81990716 [2021-04-16T06:00:26.312Z] Removing intermediate container 7eee81990716 [2021-04-16T06:00:26.312Z] ---> 4ac2eb150c19 [2021-04-16T06:00:26.312Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-16T06:00:26.312Z] ---> Running in c941dbea5d77 [2021-04-16T06:00:26.585Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-04-16T06:00:27.156Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-04-16T06:00:27.729Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-16T06:00:27.729Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-16T06:00:27.990Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-16T06:00:28.935Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-16T06:00:28.935Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-16T06:00:28.935Z] Executing busybox-1.31.1-r20.trigger [2021-04-16T06:00:28.935Z] OK: 8 MiB in 19 packages [2021-04-16T06:00:29.505Z] Removing intermediate container c941dbea5d77 [2021-04-16T06:00:29.505Z] ---> a76ceca37829 [2021-04-16T06:00:29.505Z] Step 14/23 : WORKDIR / [2021-04-16T06:00:29.505Z] ---> Running in d55f2f85d468 [2021-04-16T06:00:29.766Z] Removing intermediate container d55f2f85d468 [2021-04-16T06:00:29.766Z] ---> 95c75a76e631 [2021-04-16T06:00:29.766Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-16T06:00:29.766Z] ---> a4eebef1ea69 [2021-04-16T06:00:29.766Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-16T06:00:30.711Z] ---> ff8b56b1842c [2021-04-16T06:00:30.711Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-16T06:00:30.711Z] ---> c6b321746130 [2021-04-16T06:00:30.711Z] Step 18/23 : EXPOSE 49990 [2021-04-16T06:00:30.711Z] ---> Running in 73732b52ccd4 [2021-04-16T06:00:30.974Z] Removing intermediate container 73732b52ccd4 [2021-04-16T06:00:30.974Z] ---> cbac91879263 [2021-04-16T06:00:30.974Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-16T06:00:30.974Z] ---> Running in 0b29ed3ab39a [2021-04-16T06:00:31.235Z] Removing intermediate container 0b29ed3ab39a [2021-04-16T06:00:31.235Z] ---> 3b841ed9be61 [2021-04-16T06:00:31.235Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-16T06:00:31.235Z] ---> Running in f0b0045d7f8b [2021-04-16T06:00:31.495Z] Removing intermediate container f0b0045d7f8b [2021-04-16T06:00:31.495Z] ---> c431bf9a9603 [2021-04-16T06:00:31.495Z] Step 21/23 : LABEL arch=amd64 [2021-04-16T06:00:31.495Z] ---> Running in afdba0bdd596 [2021-04-16T06:00:31.756Z] Removing intermediate container afdba0bdd596 [2021-04-16T06:00:31.756Z] ---> 04dcdff90a50 [2021-04-16T06:00:31.756Z] Step 22/23 : LABEL git_sha=f1f8d07c7547b0631bee6ef379e1f335d995aecd [2021-04-16T06:00:31.756Z] ---> Running in c60d212f00e3 [2021-04-16T06:00:32.021Z] Removing intermediate container c60d212f00e3 [2021-04-16T06:00:32.021Z] ---> 439808f683c8 [2021-04-16T06:00:32.021Z] Step 23/23 : LABEL version=0.0.0 [2021-04-16T06:00:32.021Z] ---> Running in 9cd4b07754f0 [2021-04-16T06:00:32.284Z] Removing intermediate container 9cd4b07754f0 [2021-04-16T06:00:32.284Z] ---> 2f8ecb1fad36 [2021-04-16T06:00:32.284Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-16T06:00:32.284Z] Successfully built 2f8ecb1fad36 [2021-04-16T06:00:32.284Z] Successfully tagged docker-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-04-16T06:00:33.244Z] ---> job-cost.sh [2021-04-16T06:00:33.244Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jFmP [2021-04-16T06:00:46.939Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-04-16T06:00:48.168Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-16T06:01:14.800Z] lf-activate-venv(): INFO: Adding /tmp/venv-jFmP/bin to PATH [2021-04-16T06:01:14.800Z] INFO: No Stack... [2021-04-16T06:01:14.800Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-16T06:01:15.062Z] INFO: Archiving Costs [Pipeline] sh [2021-04-16T06:01:15.387Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-04-16T06:01:15.387Z] + cut -d, -f6 [Pipeline] lock [2021-04-16T06:01:15.489Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-881-1-stack-cost] [2021-04-16T06:01:15.496Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-881-1-stack-cost] did not exist. Created. [2021-04-16T06:01:15.496Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-881-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-16T06:01:15.924Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-04-16T06:01:16.026Z] Stashed 1 file(s) [Pipeline] } [2021-04-16T06:01:16.042Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-881-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-04-16T06:01:43.539Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-04-16T06:01:43.539Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-04-16T06:01:43.539Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-04-16T06:01:43.539Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-04-16T06:01:43.539Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-04-16T06:01:44.154Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.128s coverage: 28.1% of statements [2021-04-16T06:01:45.617Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.164s coverage: 78.9% of statements [2021-04-16T06:01:45.617Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.145s coverage: 7.8% of statements [2021-04-16T06:01:45.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-04-16T06:01:45.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-04-16T06:01:45.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-04-16T06:01:47.075Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.252s coverage: 32.0% of statements [2021-04-16T06:01:47.075Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-04-16T06:01:47.075Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-04-16T06:01:47.075Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-04-16T06:01:51.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.336s coverage: 57.1% of statements [2021-04-16T06:01:51.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.028s coverage: 6.6% of statements [2021-04-16T06:01:51.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.0% of statements [2021-04-16T06:01:51.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-04-16T06:01:51.708Z] GO111MODULE=on go vet ./... [2021-04-16T06:02:38.739Z] gofmt -l . [2021-04-16T06:02:38.740Z] [ "`gofmt -l .`" = "" ] [2021-04-16T06:02:38.740Z] ./bin/test-attribution-txt.sh [2021-04-16T06:02:38.740Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-04-16T06:02:38.773Z] $ docker stop --time=1 914c1ed7f85be717be8bc6951a9a8681b4afc8774527c6a54e7c1b34876038ad [2021-04-16T06:02:40.979Z] $ docker rm -f 914c1ed7f85be717be8bc6951a9a8681b4afc8774527c6a54e7c1b34876038ad [Pipeline] // withDockerContainer [Pipeline] sh [2021-04-16T06:02:42.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-04-16T06:02:42.080Z] Warning: overwriting stash ‘coverage-report’ [2021-04-16T06:02:42.641Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-04-16T06:02:43.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-04-16T06:02:43.606Z] + ls -al . [2021-04-16T06:02:43.606Z] total 224 [2021-04-16T06:02:43.606Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 06:02 . [2021-04-16T06:02:43.606Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 05:58 .. [2021-04-16T06:02:43.606Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 05:59 .dockerignore [2021-04-16T06:02:43.606Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 05:59 .git [2021-04-16T06:02:43.606Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 05:59 .github [2021-04-16T06:02:43.606Z] -rw-rw-r-- 1 jenkins jenkins 138 Apr 16 05:59 .gitignore [2021-04-16T06:02:43.606Z] -rw-rw-r-- 1 jenkins jenkins 987 Apr 16 05:59 Dockerfile.build [2021-04-16T06:02:43.606Z] -rw-rw-r-- 1 jenkins jenkins 901 Apr 16 05:59 Jenkinsfile [2021-04-16T06:02:43.606Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 05:59 LICENSE [2021-04-16T06:02:43.606Z] -rw-rw-r-- 1 jenkins jenkins 1022 Apr 16 05:59 Makefile [2021-04-16T06:02:43.606Z] -rw-rw-r-- 1 jenkins jenkins 5897 Apr 16 05:59 README.md [2021-04-16T06:02:43.606Z] -rw-rw-r-- 1 jenkins jenkins 6616 Apr 16 05:59 RELEASE-NOTES.txt [2021-04-16T06:02:43.606Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 05:56 VERSION [2021-04-16T06:02:43.606Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 05:59 bin [2021-04-16T06:02:43.606Z] -rw-r--r-- 1 jenkins jenkins 99931 Apr 16 06:01 coverage.out [2021-04-16T06:02:43.606Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 05:59 example [2021-04-16T06:02:43.606Z] -rw-r--r-- 1 jenkins jenkins 574 Apr 16 06:02 go.mod [2021-04-16T06:02:43.606Z] -rw-r--r-- 1 jenkins jenkins 20735 Apr 16 06:02 go.sum [2021-04-16T06:02:43.606Z] drwxrwxr-x 14 jenkins jenkins 4096 Apr 16 05:59 internal [2021-04-16T06:02:43.606Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 05:59 openapi [2021-04-16T06:02:43.606Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 05:59 pkg [2021-04-16T06:02:43.606Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 05:59 snap [2021-04-16T06:02:43.606Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 05:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:02:43.982Z] + docker build -t docker-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=f1f8d07c7547b0631bee6ef379e1f335d995aecd --label arch=arm64 --label version=0.0.0 . [2021-04-16T06:02:44.258Z] Sending build context to Docker daemon 2.526MB [2021-04-16T06:02:44.258Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-04-16T06:02:44.258Z] Step 2/23 : FROM ${BASE} AS builder [2021-04-16T06:02:44.258Z] ---> 3df42df88a10 [2021-04-16T06:02:44.258Z] Step 3/23 : WORKDIR /device-sdk-go [2021-04-16T06:02:44.539Z] ---> Running in 47cd6b031d5e [2021-04-16T06:02:45.142Z] Removing intermediate container 47cd6b031d5e [2021-04-16T06:02:45.142Z] ---> 4b61e59ebc08 [2021-04-16T06:02:45.142Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T06:02:45.142Z] ---> Running in 7f0db5539ee3 [2021-04-16T06:02:45.775Z] Removing intermediate container 7f0db5539ee3 [2021-04-16T06:02:45.775Z] ---> d003c06ec574 [2021-04-16T06:02:45.775Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T06:02:45.775Z] ---> Running in bb05366a4745 [2021-04-16T06:02:48.417Z] Removing intermediate container bb05366a4745 [2021-04-16T06:02:48.417Z] ---> cd12d62a40c4 [2021-04-16T06:02:48.417Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-04-16T06:02:48.417Z] ---> Running in 401286e7cb5e [2021-04-16T06:02:49.414Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T06:02:50.006Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T06:02:50.999Z] OK: 144 MiB in 45 packages [2021-04-16T06:02:51.980Z] Removing intermediate container 401286e7cb5e [2021-04-16T06:02:51.980Z] ---> 6889d87c7e5d [2021-04-16T06:02:51.980Z] Step 7/23 : COPY . . [2021-04-16T06:02:53.416Z] ---> 454e948f222c [2021-04-16T06:02:53.416Z] Step 8/23 : RUN go mod download [2021-04-16T06:02:53.416Z] ---> Running in 2d2a0020c958 [2021-04-16T06:02:56.037Z] Removing intermediate container 2d2a0020c958 [2021-04-16T06:02:56.037Z] ---> 2709a7247172 [2021-04-16T06:02:56.037Z] Step 9/23 : RUN make build [2021-04-16T06:02:56.037Z] ---> Running in d1b5a31ef9e1 [2021-04-16T06:02:57.020Z] 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-04-16T06:03:29.408Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-04-16T06:03:31.379Z] Removing intermediate container d1b5a31ef9e1 [2021-04-16T06:03:31.379Z] ---> fb0e9dd3e9c4 [2021-04-16T06:03:31.379Z] Step 10/23 : FROM alpine:3.12 [2021-04-16T06:03:31.653Z] 3.12: Pulling from library/alpine [2021-04-16T06:03:31.653Z] d2f70382dc9a: Pulling fs layer [2021-04-16T06:03:31.927Z] d2f70382dc9a: Verifying Checksum [2021-04-16T06:03:31.927Z] d2f70382dc9a: Download complete [2021-04-16T06:03:32.526Z] d2f70382dc9a: Pull complete [2021-04-16T06:03:32.526Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-04-16T06:03:32.526Z] Status: Downloaded newer image for alpine:3.12 [2021-04-16T06:03:32.526Z] ---> 9852663dfa18 [2021-04-16T06:03:32.527Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-04-16T06:03:32.800Z] ---> Running in 6ccc020c3a79 [2021-04-16T06:03:33.074Z] Removing intermediate container 6ccc020c3a79 [2021-04-16T06:03:33.074Z] ---> 0bb4458c9b84 [2021-04-16T06:03:33.074Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-04-16T06:03:33.348Z] ---> Running in bdb5a127f1bd [2021-04-16T06:03:35.975Z] Removing intermediate container bdb5a127f1bd [2021-04-16T06:03:35.975Z] ---> 2318d0955192 [2021-04-16T06:03:35.975Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-04-16T06:03:35.975Z] ---> Running in 223940fcf9a5 [2021-04-16T06:03:36.955Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-04-16T06:03:37.547Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-04-16T06:03:38.141Z] (1/5) Installing libgcc (9.3.0-r2) [2021-04-16T06:03:38.141Z] (2/5) Installing libsodium (1.0.18-r0) [2021-04-16T06:03:38.413Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-04-16T06:03:38.413Z] (4/5) Installing libzmq (4.3.3-r0) [2021-04-16T06:03:38.685Z] (5/5) Installing zeromq (4.3.3-r0) [2021-04-16T06:03:38.686Z] Executing busybox-1.31.1-r20.trigger [2021-04-16T06:03:38.686Z] OK: 8 MiB in 19 packages [2021-04-16T06:03:40.130Z] Removing intermediate container 223940fcf9a5 [2021-04-16T06:03:40.130Z] ---> 814352968554 [2021-04-16T06:03:40.130Z] Step 14/23 : WORKDIR / [2021-04-16T06:03:40.130Z] ---> Running in 4618f20df95b [2021-04-16T06:03:40.405Z] Removing intermediate container 4618f20df95b [2021-04-16T06:03:40.405Z] ---> 85fd779f3eab [2021-04-16T06:03:40.405Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-04-16T06:03:41.388Z] ---> 2b48a988421d [2021-04-16T06:03:41.388Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-04-16T06:03:42.370Z] ---> ffe7e1301688 [2021-04-16T06:03:42.370Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-04-16T06:03:43.349Z] ---> 95b636b5eb1c [2021-04-16T06:03:43.349Z] Step 18/23 : EXPOSE 49990 [2021-04-16T06:03:43.349Z] ---> Running in 431f6f855c09 [2021-04-16T06:03:43.624Z] Removing intermediate container 431f6f855c09 [2021-04-16T06:03:43.624Z] ---> a686acb03f8e [2021-04-16T06:03:43.624Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-04-16T06:03:43.901Z] ---> Running in e8d9ed21b665 [2021-04-16T06:03:44.176Z] Removing intermediate container e8d9ed21b665 [2021-04-16T06:03:44.176Z] ---> 4e480b58f869 [2021-04-16T06:03:44.176Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-04-16T06:03:44.448Z] ---> Running in 2bfbc9fe8ac8 [2021-04-16T06:03:45.044Z] Removing intermediate container 2bfbc9fe8ac8 [2021-04-16T06:03:45.044Z] ---> fa28cf5ff11d [2021-04-16T06:03:45.044Z] Step 21/23 : LABEL arch=arm64 [2021-04-16T06:03:45.044Z] ---> Running in 4de6a137c7a5 [2021-04-16T06:03:45.641Z] Removing intermediate container 4de6a137c7a5 [2021-04-16T06:03:45.641Z] ---> bdd0d811f0b9 [2021-04-16T06:03:45.641Z] Step 22/23 : LABEL git_sha=f1f8d07c7547b0631bee6ef379e1f335d995aecd [2021-04-16T06:03:45.641Z] ---> Running in 07281606b6f5 [2021-04-16T06:03:46.238Z] Removing intermediate container 07281606b6f5 [2021-04-16T06:03:46.238Z] ---> 1f43857bed54 [2021-04-16T06:03:46.238Z] Step 23/23 : LABEL version=0.0.0 [2021-04-16T06:03:46.238Z] ---> Running in b0563cded5ea [2021-04-16T06:03:46.832Z] Removing intermediate container b0563cded5ea [2021-04-16T06:03:46.832Z] ---> 0950bc015db5 [2021-04-16T06:03:46.832Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-04-16T06:03:46.832Z] Successfully built 0950bc015db5 [2021-04-16T06:03:46.832Z] Successfully tagged docker-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-04-16T06:03:48.405Z] ---> job-cost.sh [2021-04-16T06:03:48.405Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OxOs [2021-04-16T06:04:27.405Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-04-16T06:06:19.225Z] lf-activate-venv(): INFO: Adding /tmp/venv-OxOs/bin to PATH [2021-04-16T06:06:19.225Z] INFO: No Stack... [2021-04-16T06:06:19.225Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-04-16T06:06:19.225Z] INFO: Archiving Costs [Pipeline] sh [2021-04-16T06:06:19.602Z] + cut -d, -f6 [2021-04-16T06:06:19.602Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-04-16T06:06:19.759Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-881-1-stack-cost] [2021-04-16T06:06:19.765Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-881-1-stack-cost] did not exist. Created. [2021-04-16T06:06:19.765Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-881-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-04-16T06:06:20.230Z] /w/workspace/device-sdk-go/1@tmp/durable-4245dedd/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-4245dedd/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-04-16T06:06:20.608Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-04-16T06:06:20.679Z] Warning: overwriting stash ‘stack-cost’ [2021-04-16T06:06:20.857Z] Stashed 1 file(s) [Pipeline] } [2021-04-16T06:06:20.877Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-881-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] wrap [2021-04-16T06:06:22.077Z] provisioning config files... [2021-04-16T06:06:22.117Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config7238472510053986713tmp [Pipeline] { [Pipeline] sh [2021-04-16T06:06:22.591Z] + set +x [2021-04-16T06:06:22.591Z] + curl -s https://codecov.io/bash [2021-04-16T06:06:22.591Z] + bash -s -- [2021-04-16T06:06:22.878Z] [2021-04-16T06:06:22.878Z] _____ _ [2021-04-16T06:06:22.878Z] / ____| | | [2021-04-16T06:06:22.878Z] | | ___ __| | ___ ___ _____ __ [2021-04-16T06:06:22.878Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-04-16T06:06:22.878Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-04-16T06:06:22.878Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-04-16T06:06:22.878Z] Bash-1.0.1 [2021-04-16T06:06:22.878Z] [2021-04-16T06:06:22.878Z] [2021-04-16T06:06:22.878Z] ==> git version 2.24.3 found [2021-04-16T06:06:22.878Z] ==> 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-04-16T06:06:22.878Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-04-16T06:06:22.878Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-04-16T06:06:22.878Z] ==> Jenkins CI detected. [2021-04-16T06:06:22.878Z] project root: . [2021-04-16T06:06:22.878Z] --> token set from env [2021-04-16T06:06:23.159Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-04-16T06:06:23.159Z] ==> Running gcov in . (disable via -X gcov) [2021-04-16T06:06:23.159Z] ==> Python coveragepy not found [2021-04-16T06:06:23.159Z] ==> Searching for coverage reports in: [2021-04-16T06:06:23.159Z] + . [2021-04-16T06:06:23.159Z] -> Found 1 reports [2021-04-16T06:06:23.159Z] ==> Detecting git/mercurial file structure [2021-04-16T06:06:23.159Z] ==> Reading reports [2021-04-16T06:06:23.159Z] + ./coverage.out bytes=99931 [2021-04-16T06:06:23.159Z] ==> Appending adjustments [2021-04-16T06:06:23.159Z] https://docs.codecov.io/docs/fixing-reports [2021-04-16T06:06:23.751Z] + Found adjustments [2021-04-16T06:06:23.751Z] ==> Gzipping contents [2021-04-16T06:06:23.751Z] 16K /tmp/codecov.BCbNfT.gz [2021-04-16T06:06:23.751Z] ==> Uploading reports [2021-04-16T06:06:23.751Z] url: https://codecov.io [2021-04-16T06:06:23.751Z] query: branch=PR-881&commit=f1f8d07c7547b0631bee6ef379e1f335d995aecd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-881%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=881&job=&cmd_args= [2021-04-16T06:06:23.751Z] -> Pinging Codecov [2021-04-16T06:06:23.751Z] https://codecov.io/upload/v4?package=bash-1.0.1&token=secret&branch=PR-881&commit=f1f8d07c7547b0631bee6ef379e1f335d995aecd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-881%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=881&job=&cmd_args= [2021-04-16T06:06:24.340Z] -> Uploading to [2021-04-16T06:06:24.340Z] https://storage.googleapis.com/codecov/v4/raw/2021-04-16/7E55EF52A471D76F132DFD9A03CDDE97/f1f8d07c7547b0631bee6ef379e1f335d995aecd/1ff69227-c649-4a01-a334-e1dc92f33e3a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210416%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210416T060624Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=be74e470b479608c57898977967935a37e1d73fcbe3697fa5369db4da3e8d34c [2021-04-16T06:06:24.340Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-04-16T06:06:24.340Z] Dload Upload Total Spent Left Speed [2021-04-16T06:06:24.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13505 0 0 100 13505 0 23768 --:--:-- --:--:-- --:--:-- 23776 100 13505 0 0 100 13505 0 23757 --:--:-- --:--:-- --:--:-- 23734 [2021-04-16T06:06:24.941Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f1f8d07c7547b0631bee6ef379e1f335d995aecd [Pipeline] } [2021-04-16T06:06:24.972Z] Deleting 1 temporary files [Pipeline] // wrap [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-04-16T06:06:27.025Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:06:27.639Z] ---> package-listing.sh [2021-04-16T06:06:27.639Z] ++ facter osfamily [2021-04-16T06:06:27.639Z] ++ tr '[:upper:]' '[:lower:]' [2021-04-16T06:06:27.639Z] + OS_FAMILY=redhat [2021-04-16T06:06:27.639Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-881 [2021-04-16T06:06:27.639Z] + START_PACKAGES=/tmp/packages_start.txt [2021-04-16T06:06:27.639Z] + END_PACKAGES=/tmp/packages_end.txt [2021-04-16T06:06:27.639Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-04-16T06:06:27.639Z] + PACKAGES=/tmp/packages_start.txt [2021-04-16T06:06:27.639Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-881 ']' [2021-04-16T06:06:27.639Z] + PACKAGES=/tmp/packages_end.txt [2021-04-16T06:06:27.639Z] + case "${OS_FAMILY}" in [2021-04-16T06:06:27.639Z] + rpm -qa [2021-04-16T06:06:27.639Z] + sort [2021-04-16T06:06:34.286Z] + '[' -f /tmp/packages_start.txt ']' [2021-04-16T06:06:34.286Z] + '[' -f /tmp/packages_end.txt ']' [2021-04-16T06:06:34.286Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-04-16T06:06:34.286Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-881 ']' [2021-04-16T06:06:34.286Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-881/archives/ [2021-04-16T06:06:34.286Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-881/archives/ [Pipeline] echo [2021-04-16T06:06:34.326Z] 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-881/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-04-16T06:06:34.664Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:06:35.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T06:06:35.313Z] [2021-04-16T06:06:35.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-04-16T06:06:35.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T06:06:35.697Z] alpine: Pulling from edgex-lftools-log-publisher [2021-04-16T06:06:35.697Z] df20fa9351a1: Pulling fs layer [2021-04-16T06:06:35.697Z] 36b3adc4ff6f: Pulling fs layer [2021-04-16T06:06:35.697Z] 8ad3a11d3b57: Pulling fs layer [2021-04-16T06:06:35.697Z] 46f8f816bc3b: Pulling fs layer [2021-04-16T06:06:35.697Z] 93b61091891f: Pulling fs layer [2021-04-16T06:06:35.697Z] 93b9cdb0e59b: Pulling fs layer [2021-04-16T06:06:35.697Z] 5e14af77c1be: Pulling fs layer [2021-04-16T06:06:35.697Z] 01666e4c0597: Pulling fs layer [2021-04-16T06:06:35.697Z] aa168da1d23b: Pulling fs layer [2021-04-16T06:06:35.697Z] 46f8f816bc3b: Waiting [2021-04-16T06:06:35.697Z] 93b61091891f: Waiting [2021-04-16T06:06:35.697Z] 93b9cdb0e59b: Waiting [2021-04-16T06:06:35.697Z] 5e14af77c1be: Waiting [2021-04-16T06:06:35.697Z] 01666e4c0597: Waiting [2021-04-16T06:06:35.697Z] aa168da1d23b: Waiting [2021-04-16T06:06:35.697Z] 36b3adc4ff6f: Verifying Checksum [2021-04-16T06:06:35.697Z] 36b3adc4ff6f: Download complete [2021-04-16T06:06:35.974Z] 46f8f816bc3b: Verifying Checksum [2021-04-16T06:06:35.974Z] 46f8f816bc3b: Download complete [2021-04-16T06:06:35.974Z] df20fa9351a1: Verifying Checksum [2021-04-16T06:06:35.974Z] df20fa9351a1: Download complete [2021-04-16T06:06:35.974Z] 93b9cdb0e59b: Verifying Checksum [2021-04-16T06:06:35.974Z] 93b9cdb0e59b: Download complete [2021-04-16T06:06:35.974Z] 5e14af77c1be: Verifying Checksum [2021-04-16T06:06:35.974Z] 5e14af77c1be: Download complete [2021-04-16T06:06:35.974Z] 01666e4c0597: Verifying Checksum [2021-04-16T06:06:35.974Z] 01666e4c0597: Download complete [2021-04-16T06:06:35.974Z] 93b61091891f: Verifying Checksum [2021-04-16T06:06:35.974Z] 93b61091891f: Download complete [2021-04-16T06:06:35.974Z] 8ad3a11d3b57: Verifying Checksum [2021-04-16T06:06:35.974Z] 8ad3a11d3b57: Download complete [2021-04-16T06:06:36.243Z] df20fa9351a1: Pull complete [2021-04-16T06:06:36.847Z] 36b3adc4ff6f: Pull complete [2021-04-16T06:06:37.833Z] 8ad3a11d3b57: Pull complete [2021-04-16T06:06:37.833Z] 46f8f816bc3b: Pull complete [2021-04-16T06:06:38.807Z] 93b61091891f: Pull complete [2021-04-16T06:06:38.807Z] aa168da1d23b: Verifying Checksum [2021-04-16T06:06:38.807Z] aa168da1d23b: Download complete [2021-04-16T06:06:39.072Z] 93b9cdb0e59b: Pull complete [2021-04-16T06:06:39.350Z] 5e14af77c1be: Pull complete [2021-04-16T06:06:39.941Z] 01666e4c0597: Pull complete [2021-04-16T06:06:50.104Z] aa168da1d23b: Pull complete [2021-04-16T06:06:50.104Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-04-16T06:06:50.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-04-16T06:06:50.104Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-04-16T06:06:50.633Z] prd-centos7-docker-4c-2g-421 does not seem to be running inside a container [2021-04-16T06:06:50.746Z] $ 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-881/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-881 -v /w/workspace/dgexfoundry_device-sdk-go_PR-881:/w/workspace/dgexfoundry_device-sdk-go_PR-881:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-881@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-04-16T06:06:54.278Z] $ docker top 05c5c5246dc82255d32aa10ce4df289b8af567f66365900ef90bbad0f2bd7e8e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-04-16T06:06:55.330Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-04-16T06:06:55.701Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-04-16T06:06:56.141Z] + ls /var/log/sa-host [2021-04-16T06:06:56.141Z] + sadf -c /var/log/sa-host/sa16 [2021-04-16T06:06:56.141Z] file_magic: OK [2021-04-16T06:06:56.141Z] HZ: Using current value: 100 [2021-04-16T06:06:56.141Z] file_header: OK [2021-04-16T06:06:56.141Z] 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-04-16T06:06:56.141Z] Statistics: [2021-04-16T06:06:56.141Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-04-16T06:06:56.141Z] File successfully converted to sysstat format version 12.2.1 [2021-04-16T06:06:56.141Z] + sadf -c /var/log/sa-host/sa23 [2021-04-16T06:06:56.141Z] file_magic: OK [2021-04-16T06:06:56.141Z] HZ: Using current value: 100 [2021-04-16T06:06:56.141Z] file_header: OK [2021-04-16T06:06:56.141Z] 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-04-16T06:06:56.141Z] Statistics: [2021-04-16T06:06:56.141Z] Hnuu...uuuununununu... [2021-04-16T06:06:56.141Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-04-16T06:06:56.825Z] provisioning config files... [2021-04-16T06:06:56.845Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-881@tmp/config5382410441996066029tmp [Pipeline] { [Pipeline] echo [2021-04-16T06:06:56.903Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:06:57.256Z] ---> create-netrc.sh [Pipeline] } [2021-04-16T06:06:57.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-04-16T06:06:57.371Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:06:57.760Z] ---> python-tools-install.sh [Pipeline] echo [2021-04-16T06:06:57.794Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:06:58.157Z] ---> sudo-logs.sh [2021-04-16T06:06:58.157Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-04-16T06:06:58.548Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:06:58.916Z] ---> job-cost.sh [2021-04-16T06:06:59.186Z] lf-activate-venv: SKIPPING [2021-04-16T06:06:59.186Z] DEBUG: total: 0.20999999344348907 [2021-04-16T06:06:59.186Z] INFO: Retrieving Stack Cost... [2021-04-16T06:07:00.141Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-04-16T06:07:00.747Z] INFO: Archiving Costs [Pipeline] echo [2021-04-16T06:07:00.790Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-04-16T06:07:01.133Z] ---> logs-deploy.sh [2021-04-16T06:07:01.133Z] lf-activate-venv: SKIPPING [2021-04-16T06:07:01.133Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-881/1 [2021-04-16T06:07:01.133Z] INFO: archiving workspace using pattern(s): [2021-04-16T06:07:03.754Z] Archives upload complete. [2021-04-16T06:07:03.754Z] INFO: archiving logs to Nexus