Pull request #897 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 674e9693270d133fc8868ee23277d06afa12afdf+188b4cc14b9321dd8b2b5872b94485f2cb4f6961 (5e26b5938df2c80725a4d35ed19af73acf92057f) 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-897/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-897/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 on ‘prd-centos7-docker-4c-2g-1756’ Running on prd-centos7-docker-4c-2g-1758 in /w/workspace/dgexfoundry_device-sdk-go_PR-897 [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-897 # 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 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 674e9693270d133fc8868ee23277d06afa12afdf Merge succeeded, producing 674e9693270d133fc8868ee23277d06afa12afdf Checking out Revision 674e9693270d133fc8868ee23277d06afa12afdf (PR-897) > 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/897/head:refs/remotes/origin/PR-897 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 674e9693270d133fc8868ee23277d06afa12afdf # 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 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 674e9693270d133fc8868ee23277d06afa12afdf # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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 06:52:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:52:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:52:16 ========================================================= 06:52:16 EdgeX Global Pipelines Version Info 06:52:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:52:18 ------------------- 06:52:18 stable info: 06:52:18 ------------------- 06:52:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:52:18 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:52:18 Message: update stable to v1.0.186 06:52:19 ------------------- 06:52:19 experimental info: 06:52:19 ------------------- 06:52:19 Commited By: **** collab-it+edgex@linuxfoundation.org 06:52:19 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 06:52:19 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:52:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:52:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:52:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-897 [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-897 [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-897 [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 674e9693270d133fc8868ee23277d06afa12afdf [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 674e969 [Pipeline] echo 06:52:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:52:21 provisioning config files... 06:52:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-897@tmp/config2828914914415434744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:22 ---> docker-login.sh 06:52:22 nexus3.edgexfoundry.org:10001 06:52:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:23 Configure a credential helper to remove this warning. See 06:52:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:23 06:52:23 Login Succeeded 06:52:24 nexus3.edgexfoundry.org:10002 06:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:24 Configure a credential helper to remove this warning. See 06:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:24 06:52:24 Login Succeeded 06:52:24 nexus3.edgexfoundry.org:10003 06:52:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:24 Configure a credential helper to remove this warning. See 06:52:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:24 06:52:24 Login Succeeded 06:52:24 nexus3.edgexfoundry.org:10004 06:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:25 Configure a credential helper to remove this warning. See 06:52:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:25 06:52:25 Login Succeeded 06:52:25 docker.io 06:52:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:52:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:52:26 Configure a credential helper to remove this warning. See 06:52:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:52:26 06:52:26 Login Succeeded 06:52:26 ---> docker-login.sh ends [Pipeline] } 06:52:26 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 06:52:27 + git log --format=format:%s -1 674e9693270d133fc8868ee23277d06afa12afdf [Pipeline] echo 06:52:27 GIT_COMMIT: 674e9693270d133fc8868ee23277d06afa12afdf, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 06:52:27 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:52:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:28 06:52:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:52:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:28 latest: Pulling from edgex-devops/git-semver 06:52:28 31603596830f: Pulling fs layer 06:52:28 2a8b12db71e7: Pulling fs layer 06:52:28 6ca5941a6612: Pulling fs layer 06:52:28 ecc8261a40a4: Pulling fs layer 06:52:28 ecc8261a40a4: Waiting 06:52:28 2a8b12db71e7: Download complete 06:52:28 31603596830f: Verifying Checksum 06:52:28 31603596830f: Download complete 06:52:28 ecc8261a40a4: Verifying Checksum 06:52:28 ecc8261a40a4: Download complete 06:52:29 6ca5941a6612: Verifying Checksum 06:52:29 6ca5941a6612: Download complete 06:52:29 31603596830f: Pull complete 06:52:29 2a8b12db71e7: Pull complete 06:52:32 6ca5941a6612: Pull complete 06:52:33 ecc8261a40a4: Pull complete 06:52:33 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:52:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:52:33 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:52:33 prd-centos7-docker-4c-2g-1758 does not seem to be running inside a container 06:52:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-897 -v /w/workspace/dgexfoundry_device-sdk-go_PR-897:/w/workspace/dgexfoundry_device-sdk-go_PR-897:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-897@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-897@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:52:37 $ docker top fa292c32c4eaef822c484f6eec8f37382a42191ececf4ba65e2265891bf986c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:52:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:37 [ssh-agent] Looking for ssh-agent implementation... 06:52:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:38 $ docker exec fa292c32c4eaef822c484f6eec8f37382a42191ececf4ba65e2265891bf986c4 ssh-agent 06:52:39 SSH_AUTH_SOCK=/tmp/ssh-kwsv8UaNbNyH/agent.11 06:52:39 SSH_AGENT_PID=17 06:52:39 Running ssh-add (command line suppressed) 06:52:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-897@tmp/private_key_353748516377874710.key (/w/workspace/dgexfoundry_device-sdk-go_PR-897@tmp/private_key_353748516377874710.key) 06:52:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:40 + git tag --points-at HEAD [Pipeline] } 06:52:40 $ docker exec --env ******** --env ******** fa292c32c4eaef822c484f6eec8f37382a42191ececf4ba65e2265891bf986c4 ssh-agent -k 06:52:40 unset SSH_AUTH_SOCK; 06:52:40 unset SSH_AGENT_PID; 06:52:40 echo Agent pid 17 killed; 06:52:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:52:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:40 [ssh-agent] Looking for ssh-agent implementation... 06:52:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:40 $ docker exec fa292c32c4eaef822c484f6eec8f37382a42191ececf4ba65e2265891bf986c4 ssh-agent 06:52:40 SSH_AUTH_SOCK=/tmp/ssh-OhjUyb6jpaZe/agent.46 06:52:40 SSH_AGENT_PID=51 06:52:40 Running ssh-add (command line suppressed) 06:52:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-897@tmp/private_key_6978915250344956434.key (/w/workspace/dgexfoundry_device-sdk-go_PR-897@tmp/private_key_6978915250344956434.key) 06:52:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:41 + git semver init 06:52:41 # -> Open(): unable to determine branch for HEAD 06:52:41 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-897/.git 06:52:41 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-897 06:52:41 # $SEMVER_REMOTE_NAME = origin 06:52:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:52:41 # $SEMVER_USER_NAME = edgex-jenkins 06:52:41 # $SEMVER_BRANCH = PR-897 06:52:41 # $SEMVER_TEMP = /tmp/semver-115036354 06:52:41 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:52:42 # '/tmp/semver-115036354' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-897/.semver' 06:52:42 # -> Force: false 06:52:42 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-897/.semver [Pipeline] } 06:52:42 $ docker exec --env ******** --env ******** fa292c32c4eaef822c484f6eec8f37382a42191ececf4ba65e2265891bf986c4 ssh-agent -k 06:52:42 unset SSH_AUTH_SOCK; 06:52:42 unset SSH_AGENT_PID; 06:52:42 echo Agent pid 51 killed; 06:52:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:52:43 + git semver [Pipeline] } 06:52:43 $ docker stop --time=1 fa292c32c4eaef822c484f6eec8f37382a42191ececf4ba65e2265891bf986c4 06:52:44 $ docker rm -f fa292c32c4eaef822c484f6eec8f37382a42191ececf4ba65e2265891bf986c4 [Pipeline] // withDockerContainer [Pipeline] sh 06:52:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:52:46 Stashed 1 file(s) [Pipeline] echo 06:52:46 [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 06:53:01 Still waiting to schedule task 06:53:01 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:53:01 Still waiting to schedule task 06:53:01 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1757’ 06:56:04 Running on prd-centos7-docker-4c-2g-1760 in /w/workspace/dgexfoundry_device-sdk-go_PR-897 [Pipeline] { [Pipeline] ws 06:56:04 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:56:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1759 in /w/workspace/dgexfoundry_device-sdk-go_PR-897 [Pipeline] { [Pipeline] ws 06:56:05 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:56:11 using credential edgex-jenkins-ssh 06:56:11 Cloning the remote Git repository 06:56:11 using credential edgex-jenkins-ssh 06:56:11 Cloning the remote Git repository 06:56:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:56:11 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:56:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:56:11 > git --version # timeout=10 06:56:11 > git --version # 'git version 2.17.1' 06:56:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:56:11 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:56:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:56:12 > git --version # timeout=10 06:56:12 > git --version # 'git version 2.24.3' 06:56:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:56:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:56:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:56:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/897/head:refs/remotes/origin/PR-897 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:56:13 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 674e9693270d133fc8868ee23277d06afa12afdf 06:56:13 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 674e9693270d133fc8868ee23277d06afa12afdf 06:56:13 Merge succeeded, producing 674e9693270d133fc8868ee23277d06afa12afdf 06:56:13 Checking out Revision 674e9693270d133fc8868ee23277d06afa12afdf (PR-897) 06:56:13 Merge succeeded, producing 674e9693270d133fc8868ee23277d06afa12afdf 06:56:13 Checking out Revision 674e9693270d133fc8868ee23277d06afa12afdf (PR-897) 06:56:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:56:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:56:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:56:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:56:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/897/head:refs/remotes/origin/PR-897 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:56:13 > git config core.sparsecheckout # timeout=10 06:56:13 > git checkout -f 674e9693270d133fc8868ee23277d06afa12afdf # timeout=10 06:56:13 > git remote # timeout=10 06:56:13 > git config --get remote.origin.url # timeout=10 06:56:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:13 > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 06:56:13 > git rev-parse HEAD^{commit} # timeout=10 06:56:13 > git config core.sparsecheckout # timeout=10 06:56:13 > git checkout -f 674e9693270d133fc8868ee23277d06afa12afdf # timeout=10 06:56:13 > git config core.sparsecheckout # timeout=10 06:56:13 > git checkout -f 674e9693270d133fc8868ee23277d06afa12afdf # timeout=10 06:56:13 > git remote # timeout=10 06:56:13 > git config --get remote.origin.url # timeout=10 06:56:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:56:13 > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 06:56:13 > git rev-parse HEAD^{commit} # timeout=10 06:56:13 > git config core.sparsecheckout # timeout=10 06:56:13 > git checkout -f 674e9693270d133fc8868ee23277d06afa12afdf # timeout=10 06:56:17 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:56:17 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 06:56:17 > git --version # timeout=10 06:56:17 > git --version # 'git version 2.24.3' 06:56:17 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:56:17 > git --version # timeout=10 06:56:17 > git --version # 'git version 2.17.1' 06:56:17 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 06:56:19 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:56:19 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 06:56:19 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 06:56:20 + sudo service docker restart 06:56:20 + true 06:56:20 Redirecting to /bin/systemctl restart docker.service 06:56:20 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:56:20 + true 06:56:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:56:21 provisioning config files... 06:56:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config764681026735835364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:22 ---> docker-login.sh 06:56:22 nexus3.edgexfoundry.org:10001 06:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:23 Configure a credential helper to remove this warning. See 06:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:23 06:56:23 Login Succeeded 06:56:23 nexus3.edgexfoundry.org:10002 [Pipeline] withEnv [Pipeline] { 06:56:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] wrap 06:56:23 provisioning config files... 06:56:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6601096281423593210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:56:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:23 Configure a credential helper to remove this warning. See 06:56:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:23 06:56:23 Login Succeeded 06:56:23 nexus3.edgexfoundry.org:10003 06:56:24 ---> docker-login.sh 06:56:24 nexus3.edgexfoundry.org:10001 06:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:24 Configure a credential helper to remove this warning. See 06:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:24 06:56:24 Login Succeeded 06:56:24 nexus3.edgexfoundry.org:10004 06:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:25 Configure a credential helper to remove this warning. See 06:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:25 06:56:25 Login Succeeded 06:56:25 docker.io 06:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:25 Configure a credential helper to remove this warning. See 06:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:25 06:56:25 Login Succeeded 06:56:25 nexus3.edgexfoundry.org:10002 06:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:25 Configure a credential helper to remove this warning. See 06:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:25 06:56:25 Login Succeeded 06:56:25 nexus3.edgexfoundry.org:10003 06:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:25 Configure a credential helper to remove this warning. See 06:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:25 06:56:25 Login Succeeded 06:56:25 ---> docker-login.sh ends [Pipeline] } 06:56:26 Deleting 1 temporary files [Pipeline] // wrap 06:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:26 Configure a credential helper to remove this warning. See 06:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:26 06:56:26 Login Succeeded 06:56:26 nexus3.edgexfoundry.org:10004 [Pipeline] echo 06:56:26 ========================================================= 06:56:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:56:26 ========================================================= 06:56:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] isUnix [Pipeline] sh 06:56:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:26 Configure a credential helper to remove this warning. See 06:56:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:26 06:56:26 Login Succeeded 06:56:26 docker.io 06:56:27 + 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 . 06:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:56:27 Sending build context to Docker daemon 2.46MB 06:56:27 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:56:27 Step 2/8 : FROM ${BASE} 06:56:27 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:56:27 188c0c94c7c5: Pulling fs layer 06:56:27 0ef7d3d256c8: Pulling fs layer 06:56:27 de9db76c5a1d: Pulling fs layer 06:56:27 bca2f99d35d6: Pulling fs layer 06:56:27 93359f2a8cfa: Pulling fs layer 06:56:27 7c6f9722023f: Pulling fs layer 06:56:27 a35cf1a2eb13: Pulling fs layer 06:56:27 bca2f99d35d6: Waiting 06:56:27 93359f2a8cfa: Waiting 06:56:27 7c6f9722023f: Waiting 06:56:27 a35cf1a2eb13: Waiting 06:56:27 de9db76c5a1d: Verifying Checksum 06:56:27 de9db76c5a1d: Download complete 06:56:27 0ef7d3d256c8: Verifying Checksum 06:56:27 0ef7d3d256c8: Download complete 06:56:27 93359f2a8cfa: Verifying Checksum 06:56:27 93359f2a8cfa: Download complete 06:56:27 7c6f9722023f: Verifying Checksum 06:56:27 7c6f9722023f: Download complete 06:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:56:27 Configure a credential helper to remove this warning. See 06:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:56:27 06:56:27 Login Succeeded 06:56:27 ---> docker-login.sh ends [Pipeline] } 06:56:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:56:28 188c0c94c7c5: Verifying Checksum 06:56:28 188c0c94c7c5: Download complete [Pipeline] echo 06:56:28 ========================================================= 06:56:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:56:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:56:28 + 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 . 06:56:28 188c0c94c7c5: Pull complete 06:56:28 0ef7d3d256c8: Pull complete 06:56:29 Sending build context to Docker daemon 2.459MB 06:56:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:56:29 Step 2/8 : FROM ${BASE} 06:56:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:56:29 5f621e34cdf4: Pulling fs layer 06:56:29 a4357932f1b6: Pulling fs layer 06:56:29 18c013af1878: Pulling fs layer 06:56:29 00ac8860ef70: Pulling fs layer 06:56:29 63d7cb157983: Pulling fs layer 06:56:29 b116817d02f9: Pulling fs layer 06:56:29 745a02a5169b: Pulling fs layer 06:56:29 00ac8860ef70: Waiting 06:56:29 63d7cb157983: Waiting 06:56:29 b116817d02f9: Waiting 06:56:29 745a02a5169b: Waiting 06:56:29 18c013af1878: Verifying Checksum 06:56:29 18c013af1878: Download complete 06:56:29 a4357932f1b6: Verifying Checksum 06:56:29 a4357932f1b6: Download complete 06:56:29 63d7cb157983: Download complete 06:56:29 b116817d02f9: Download complete 06:56:29 5f621e34cdf4: Download complete 06:56:29 de9db76c5a1d: Pull complete 06:56:29 5f621e34cdf4: Pull complete 06:56:30 a4357932f1b6: Pull complete 06:56:31 18c013af1878: Pull complete 06:56:32 745a02a5169b: Verifying Checksum 06:56:32 745a02a5169b: Download complete 06:56:33 00ac8860ef70: Verifying Checksum 06:56:33 00ac8860ef70: Download complete 06:56:33 a35cf1a2eb13: Verifying Checksum 06:56:33 a35cf1a2eb13: Download complete 06:56:34 bca2f99d35d6: Verifying Checksum 06:56:34 bca2f99d35d6: Download complete 06:56:43 00ac8860ef70: Pull complete 06:56:44 63d7cb157983: Pull complete 06:56:44 b116817d02f9: Pull complete 06:56:44 bca2f99d35d6: Pull complete 06:56:44 93359f2a8cfa: Pull complete 06:56:44 7c6f9722023f: Pull complete 06:56:47 745a02a5169b: Pull complete 06:56:47 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:56:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:56:47 ---> b7e6874047d6 06:56:47 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:50 a35cf1a2eb13: Pull complete 06:56:50 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:56:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:56:50 ---> a62c8e92a672 06:56:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:56:50 ---> Running in 664000af657e 06:56:50 Removing intermediate container 664000af657e 06:56:50 ---> 08bf9482a2c7 06:56:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:56:50 ---> Running in 0f6dd7f77b37 06:56:51 ---> Running in 8d6567de4ce0 06:56:51 Removing intermediate container 8d6567de4ce0 06:56:51 ---> 34ac76d9c2ea 06:56:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:56:51 ---> Running in e6ebf965f47d 06:56:52 Removing intermediate container 0f6dd7f77b37 06:56:52 ---> c3e8a661635a 06:56:52 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:56:52 ---> Running in 0d07307fbe04 06:56:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:56:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:56:53 Removing intermediate container e6ebf965f47d 06:56:53 ---> 2392b7aa748a 06:56:53 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:56:53 ---> Running in e209f89dae95 06:56:54 (1/6) Installing libc-dev (0.7.2-r3) 06:56:54 (2/6) Installing libsodium (1.0.18-r0) 06:56:54 (3/6) Installing pkgconf (1.7.2-r0) 06:56:54 (4/6) Installing libsodium-dev (1.0.18-r0) 06:56:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:56:55 (5/6) Installing libzmq (4.3.3-r0) 06:56:55 (6/6) Installing zeromq-dev (4.3.3-r0) 06:56:55 Executing busybox-1.31.1-r19.trigger 06:56:55 OK: 167 MiB in 45 packages 06:56:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:56:56 (1/6) Installing libc-dev (0.7.2-r3) 06:56:56 (2/6) Installing libsodium (1.0.18-r0) 06:56:56 Removing intermediate container 0d07307fbe04 06:56:56 ---> 12cf8d063fc1 06:56:56 Step 6/8 : WORKDIR /device-sdk-go 06:56:56 ---> Running in 250489193ce1 06:56:56 (3/6) Installing pkgconf (1.7.2-r0) 06:56:56 (4/6) Installing libsodium-dev (1.0.18-r0) 06:56:56 Removing intermediate container 250489193ce1 06:56:56 ---> 4c263b7e4a93 06:56:56 Step 7/8 : COPY . . 06:56:56 (5/6) Installing libzmq (4.3.3-r0) 06:56:56 (6/6) Installing zeromq-dev (4.3.3-r0) 06:56:56 Executing busybox-1.31.1-r19.trigger 06:56:56 OK: 144 MiB in 45 packages 06:56:57 ---> fe6916190aac 06:56:57 Step 8/8 : RUN go mod download 06:56:57 ---> Running in 2ebf0d084961 06:56:58 Removing intermediate container e209f89dae95 06:56:58 ---> 529fb358196f 06:56:58 Step 6/8 : WORKDIR /device-sdk-go 06:56:58 ---> Running in 5e00b20b7793 06:56:59 Removing intermediate container 5e00b20b7793 06:56:59 ---> b1654b6396e4 06:56:59 Step 7/8 : COPY . . 06:57:00 ---> 9e7226f93ced 06:57:00 Step 8/8 : RUN go mod download 06:57:00 ---> Running in 8ac65729e6e3 06:57:24 Removing intermediate container 2ebf0d084961 06:57:24 ---> a68308839579 06:57:24 Successfully built a68308839579 06:57:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:57:25 + docker inspect -f . ci-base-image-x86_64 06:57:25 . [Pipeline] withDockerContainer 06:57:25 prd-centos7-docker-4c-2g-1760 does not seem to be running inside a container 06:57:25 $ 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 06:57:26 Removing intermediate container 8ac65729e6e3 06:57:26 ---> 32229d76184c 06:57:26 Successfully built 32229d76184c 06:57:26 Successfully tagged ci-base-image-arm64:latest 06:57:27 $ docker top 6aab3be6f120fb784a3c1b3547808edb482be0f914769db8f858a8ff39a6547a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 06:57:27 + go version 06:57:27 go version go1.15.5 linux/amd64 [Pipeline] } 06:57:27 $ docker stop --time=1 6aab3be6f120fb784a3c1b3547808edb482be0f914769db8f858a8ff39a6547a 06:57:27 + docker inspect -f . ci-base-image-arm64 06:57:27 . 06:57:29 $ docker rm -f 6aab3be6f120fb784a3c1b3547808edb482be0f914769db8f858a8ff39a6547a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 06:57:29 prd-ubuntu18.04-docker-arm64-4c-16g-1759 does not seem to be running inside a container 06:57:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:57:31 $ docker top 59b8d2cc6874167099f79a181f5f013498da0a26a7bee2303518c6ef926d31dd -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:57:32 + docker inspect -f . ci-base-image-x86_64 06:57:32 . [Pipeline] withDockerContainer 06:57:32 + go version 06:57:32 go version go1.15.5 linux/arm64 06:57:32 prd-centos7-docker-4c-2g-1760 does not seem to be running inside a container 06:57:32 $ 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 06:57:33 $ docker top d1d301e27f66fa8eae5852d2aa91e61b6036042c9b8d98816f4d7198d8459f29 -eo pid,comm [Pipeline] { [Pipeline] } 06:57:34 $ docker stop --time=1 59b8d2cc6874167099f79a181f5f013498da0a26a7bee2303518c6ef926d31dd 06:57:36 $ docker rm -f 59b8d2cc6874167099f79a181f5f013498da0a26a7bee2303518c6ef926d31dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { 06:57:36 + make test 06:57:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] isUnix [Pipeline] sh 06:57:37 + docker inspect -f . ci-base-image-arm64 06:57:37 . [Pipeline] withDockerContainer 06:57:37 prd-ubuntu18.04-docker-arm64-4c-16g-1759 does not seem to be running inside a container 06:57:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:57:38 $ docker top 0c15e43fec8353def36148084febb0b9d7177d2895b7ff60dc2006e17094c552 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:39 + make test 06:57:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:57:49 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:58:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:58:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:58:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:58:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:58:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:58:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:58:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.117s coverage: 28.1% of statements 06:58:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.085s coverage: 78.9% of statements 06:58:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.083s coverage: 7.8% of statements 06:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:58:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.192s coverage: 32.0% of statements 06:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:58:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:58:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.194s coverage: 57.2% of statements 06:58:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.683s coverage: 6.6% of statements 06:58:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.115s coverage: 5.0% of statements 06:58:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:58:25 GO111MODULE=on go vet ./... 06:58:53 gofmt -l . 06:58:53 [ "`gofmt -l .`" = "" ] 06:58:53 ./bin/test-attribution-txt.sh 06:58:53 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:58:53 $ docker stop --time=1 d1d301e27f66fa8eae5852d2aa91e61b6036042c9b8d98816f4d7198d8459f29 06:58:55 $ docker rm -f d1d301e27f66fa8eae5852d2aa91e61b6036042c9b8d98816f4d7198d8459f29 [Pipeline] // withDockerContainer [Pipeline] sh 06:58:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:58:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 06:58:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:58:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:58:58 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:58:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:58:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [Pipeline] sh 06:59:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:59:00 + ls -al . 06:59:00 total 188 06:59:00 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 26 06:58 . 06:59:00 drwxrwxr-x. 4 jenkins jenkins 28 Apr 26 06:56 .. 06:59:00 drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 06:56 bin 06:59:00 -rw-r--r--. 1 jenkins jenkins 100024 Apr 26 06:58 coverage.out 06:59:00 -rw-rw-r--. 1 jenkins jenkins 987 Apr 26 06:56 Dockerfile.build 06:59:00 -rw-rw-r--. 1 jenkins jenkins 140 Apr 26 06:56 .dockerignore 06:59:00 drwxrwxr-x. 5 jenkins jenkins 62 Apr 26 06:56 example 06:59:00 drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 06:56 .git 06:59:00 drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 06:56 .github 06:59:00 -rw-rw-r--. 1 jenkins jenkins 138 Apr 26 06:56 .gitignore 06:59:00 -rw-r--r--. 1 jenkins jenkins 575 Apr 26 06:58 go.mod 06:59:00 -rw-r--r--. 1 jenkins jenkins 20957 Apr 26 06:58 go.sum 06:59:00 drwxrwxr-x. 14 jenkins jenkins 207 Apr 26 06:56 internal 06:59:00 -rw-rw-r--. 1 jenkins jenkins 901 Apr 26 06:56 Jenkinsfile 06:59:00 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 26 06:56 LICENSE 06:59:00 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 26 06:56 Makefile 06:59:00 drwxrwxr-x. 4 jenkins jenkins 26 Apr 26 06:56 openapi 06:59:00 drwxrwxr-x. 5 jenkins jenkins 50 Apr 26 06:56 pkg 06:59:00 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 26 06:56 README.md 06:59:00 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 26 06:56 RELEASE-NOTES.txt 06:59:00 drwxrwxr-x. 4 jenkins jenkins 54 Apr 26 06:56 snap 06:59:00 -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 06:52 VERSION 06:59:00 -rw-rw-r--. 1 jenkins jenkins 222 Apr 26 06:56 version.go [Pipeline] isUnix [Pipeline] sh 06:59:00 + 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=674e9693270d133fc8868ee23277d06afa12afdf --label arch=amd64 --label version=0.0.0 . 06:59:01 Sending build context to Docker daemon 2.561MB 06:59:01 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:59:01 Step 2/23 : FROM ${BASE} AS builder 06:59:01 ---> a68308839579 06:59:01 Step 3/23 : WORKDIR /device-sdk-go 06:59:01 ---> Running in 3189d478a967 06:59:01 Removing intermediate container 3189d478a967 06:59:01 ---> 5b20d3ea5e77 06:59:01 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:59:01 ---> Running in 528c36362fa3 06:59:02 Removing intermediate container 528c36362fa3 06:59:02 ---> f558e0c2c279 06:59:02 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:59:02 ---> Running in f2d8c7fd581e 06:59:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.143s coverage: 28.1% of statements 06:59:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.184s coverage: 78.9% of statements 06:59:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.168s coverage: 7.8% of statements 06:59:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:59:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:59:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:59:03 Removing intermediate container f2d8c7fd581e 06:59:03 ---> ad9f1bd30b31 06:59:03 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:59:03 ---> Running in db6870a0ce67 06:59:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:59:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.304s coverage: 32.0% of statements 06:59:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:59:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:59:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:59:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:59:05 OK: 167 MiB in 45 packages 06:59:05 Removing intermediate container db6870a0ce67 06:59:05 ---> f58c99012ee8 06:59:05 Step 7/23 : COPY . . 06:59:06 ---> 86405c4e2b0a 06:59:06 Step 8/23 : RUN go mod download 06:59:06 ---> Running in c31bbaba8a5f 06:59:08 Removing intermediate container c31bbaba8a5f 06:59:08 ---> 8341e33a38a5 06:59:08 Step 9/23 : RUN make build 06:59:08 ---> Running in c6a3735aef43 06:59:08 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 06:59:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.324s coverage: 57.2% of statements 06:59:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.196s coverage: 6.6% of statements 06:59:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements 06:59:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:59:08 GO111MODULE=on go vet ./... 06:59:24 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:59:26 Removing intermediate container c6a3735aef43 06:59:26 ---> c0ca5597f4ea 06:59:26 Step 10/23 : FROM alpine:3.12 06:59:26 3.12: Pulling from library/alpine 06:59:26 339de151aab4: Pulling fs layer 06:59:27 339de151aab4: Verifying Checksum 06:59:27 339de151aab4: Download complete 06:59:27 339de151aab4: Pull complete 06:59:27 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:59:27 Status: Downloaded newer image for alpine:3.12 06:59:27 ---> 13621d1b12d4 06:59:27 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:59:27 ---> Running in dafdddadeb77 06:59:28 Removing intermediate container dafdddadeb77 06:59:28 ---> fafafe0a52f7 06:59:28 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:59:28 ---> Running in 604a85eda8e2 06:59:29 Removing intermediate container 604a85eda8e2 06:59:29 ---> b63538571c36 06:59:29 Step 13/23 : RUN apk add --update --no-cache zeromq 06:59:29 ---> Running in becada1427e9 06:59:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:59:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:59:31 (1/5) Installing libgcc (9.3.0-r2) 06:59:31 (2/5) Installing libsodium (1.0.18-r0) 06:59:31 (3/5) Installing libstdc++ (9.3.0-r2) 06:59:32 (4/5) Installing libzmq (4.3.3-r0) 06:59:32 (5/5) Installing zeromq (4.3.3-r0) 06:59:32 Executing busybox-1.31.1-r20.trigger 06:59:32 OK: 8 MiB in 19 packages 06:59:33 Removing intermediate container becada1427e9 06:59:33 ---> 834a0c2a6035 06:59:33 Step 14/23 : WORKDIR / 06:59:33 ---> Running in 77ae35603e3e 06:59:33 Removing intermediate container 77ae35603e3e 06:59:33 ---> 0414eaa5c6cd 06:59:33 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:59:33 ---> ae65ef3072e3 06:59:33 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:59:35 ---> eb0b74b99f40 06:59:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:59:35 ---> 495ac3dd9cf1 06:59:35 Step 18/23 : EXPOSE 49990 06:59:35 ---> Running in 79850462c67c 06:59:35 Removing intermediate container 79850462c67c 06:59:35 ---> 0b169718dc25 06:59:35 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:59:35 ---> Running in 25d1d0b4c8d7 06:59:36 Removing intermediate container 25d1d0b4c8d7 06:59:36 ---> 7a930e61a549 06:59:36 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:59:36 ---> Running in 83cd554de736 06:59:36 Removing intermediate container 83cd554de736 06:59:36 ---> 7c3de80de35d 06:59:36 Step 21/23 : LABEL arch=amd64 06:59:36 ---> Running in ae59880271d1 06:59:36 Removing intermediate container ae59880271d1 06:59:36 ---> 06556df75cac 06:59:36 Step 22/23 : LABEL git_sha=674e9693270d133fc8868ee23277d06afa12afdf 06:59:36 ---> Running in 49a7c138be07 06:59:36 Removing intermediate container 49a7c138be07 06:59:36 ---> 50a3f7751540 06:59:36 Step 23/23 : LABEL version=0.0.0 06:59:37 ---> Running in 45db8647ee7a 06:59:37 Removing intermediate container 45db8647ee7a 06:59:37 ---> b8e4f5be616d 06:59:37 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:59:37 Successfully built b8e4f5be616d 06:59:37 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 06:59:38 ---> job-cost.sh 06:59:38 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EVQ6 06:59:55 gofmt -l . 06:59:55 [ "`gofmt -l .`" = "" ] 06:59:55 ./bin/test-attribution-txt.sh 06:59:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:59:55 $ docker stop --time=1 0c15e43fec8353def36148084febb0b9d7177d2895b7ff60dc2006e17094c552 06:59:56 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:59:58 $ docker rm -f 0c15e43fec8353def36148084febb0b9d7177d2895b7ff60dc2006e17094c552 [Pipeline] // withDockerContainer [Pipeline] sh 06:59:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:59:59 Warning: overwriting stash ‘coverage-report’ 07:00:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:00:01 + ls -al . 07:00:01 total 224 07:00:01 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 06:59 . 07:00:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 06:56 .. 07:00:01 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 06:56 .dockerignore 07:00:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 06:56 .git 07:00:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 06:56 .github 07:00:01 -rw-rw-r-- 1 jenkins jenkins 138 Apr 26 06:56 .gitignore 07:00:01 -rw-rw-r-- 1 jenkins jenkins 987 Apr 26 06:56 Dockerfile.build 07:00:01 -rw-rw-r-- 1 jenkins jenkins 901 Apr 26 06:56 Jenkinsfile 07:00:01 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 06:56 LICENSE 07:00:01 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 26 06:56 Makefile 07:00:01 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 26 06:56 README.md 07:00:01 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 26 06:56 RELEASE-NOTES.txt 07:00:01 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 06:52 VERSION 07:00:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 06:56 bin 07:00:01 -rw-r--r-- 1 jenkins jenkins 100024 Apr 26 06:59 coverage.out 07:00:01 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 06:56 example 07:00:01 -rw-r--r-- 1 jenkins jenkins 575 Apr 26 06:59 go.mod 07:00:01 -rw-r--r-- 1 jenkins jenkins 20957 Apr 26 06:59 go.sum 07:00:01 drwxrwxr-x 14 jenkins jenkins 4096 Apr 26 06:56 internal 07:00:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 06:56 openapi 07:00:01 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 06:56 pkg 07:00:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 06:56 snap 07:00:01 -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 06:56 version.go [Pipeline] isUnix [Pipeline] sh 07:00:01 + 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=674e9693270d133fc8868ee23277d06afa12afdf --label arch=arm64 --label version=0.0.0 . 07:00:01 Sending build context to Docker daemon 2.559MB 07:00:01 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 07:00:01 Step 2/23 : FROM ${BASE} AS builder 07:00:01 ---> 32229d76184c 07:00:01 Step 3/23 : WORKDIR /device-sdk-go 07:00:02 ---> Running in 6f5a5d2d3f36 07:00:02 Removing intermediate container 6f5a5d2d3f36 07:00:02 ---> 2c73bbabd66f 07:00:02 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:00:02 ---> Running in 1293c23caa4a 07:00:03 Removing intermediate container 1293c23caa4a 07:00:03 ---> db3934d45b5b 07:00:03 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:00:03 ---> Running in 8a574494ba92 07:00:05 Removing intermediate container 8a574494ba92 07:00:05 ---> b1a8b3236618 07:00:05 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:00:05 ---> Running in ebd3bdb22029 07:00:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:00:07 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:00:08 OK: 144 MiB in 45 packages 07:00:09 Removing intermediate container ebd3bdb22029 07:00:09 ---> c103c0f3aaf1 07:00:09 Step 7/23 : COPY . . 07:00:10 ---> 37365d71bf0d 07:00:10 Step 8/23 : RUN go mod download 07:00:10 ---> Running in 84dae96e7629 07:00:13 Removing intermediate container 84dae96e7629 07:00:13 ---> 68325631b2d9 07:00:13 Step 9/23 : RUN make build 07:00:13 ---> Running in fd1efbe50e54 07:00:14 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 07:00:29 lf-activate-venv(): INFO: Adding /tmp/venv-EVQ6/bin to PATH 07:00:29 INFO: No Stack... 07:00:29 INFO: Retrieving Pricing Info for: v1-standard-2 07:00:30 INFO: Archiving Costs [Pipeline] sh 07:00:31 + cut -d, -f6 07:00:31 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 07:00:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-897-1-stack-cost] 07:00:31 Resource [jenkins-edgexfoundry-device-sdk-go-PR-897-1-stack-cost] did not exist. Created. 07:00:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-897-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:00:32 + echo total: 0.029999999329447746 [Pipeline] stash 07:00:32 Stashed 1 file(s) [Pipeline] } 07:00:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-897-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:00:46 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:00:50 Removing intermediate container fd1efbe50e54 07:00:50 ---> de265877a7fb 07:00:50 Step 10/23 : FROM alpine:3.12 07:00:50 3.12: Pulling from library/alpine 07:00:50 d2f70382dc9a: Pulling fs layer 07:00:50 d2f70382dc9a: Verifying Checksum 07:00:50 d2f70382dc9a: Download complete 07:00:50 d2f70382dc9a: Pull complete 07:00:51 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 07:00:51 Status: Downloaded newer image for alpine:3.12 07:00:51 ---> 9852663dfa18 07:00:51 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:00:51 ---> Running in e4f478020be0 07:00:51 Removing intermediate container e4f478020be0 07:00:51 ---> f90d4e9d8f5b 07:00:51 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:00:52 ---> Running in 9c6e6cf571a7 07:00:54 Removing intermediate container 9c6e6cf571a7 07:00:54 ---> ad65b69b56b7 07:00:54 Step 13/23 : RUN apk add --update --no-cache zeromq 07:00:54 ---> Running in c2dda7a5e240 07:00:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:00:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:00:56 (1/5) Installing libgcc (9.3.0-r2) 07:00:56 (2/5) Installing libsodium (1.0.18-r0) 07:00:56 (3/5) Installing libstdc++ (9.3.0-r2) 07:00:57 (4/5) Installing libzmq (4.3.3-r0) 07:00:57 (5/5) Installing zeromq (4.3.3-r0) 07:00:57 Executing busybox-1.31.1-r20.trigger 07:00:57 OK: 8 MiB in 19 packages 07:00:58 Removing intermediate container c2dda7a5e240 07:00:58 ---> 2b7c071ea275 07:00:58 Step 14/23 : WORKDIR / 07:00:58 ---> Running in 6ab8037cc9f4 07:00:59 Removing intermediate container 6ab8037cc9f4 07:00:59 ---> a2ee3f2b1b37 07:00:59 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:00:59 ---> 2d0e14805ac4 07:00:59 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:01:01 ---> a812e6ca9216 07:01:01 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:01:02 ---> 73ef1452b102 07:01:02 Step 18/23 : EXPOSE 49990 07:01:02 ---> Running in dda020dd6366 07:01:02 Removing intermediate container dda020dd6366 07:01:02 ---> 1090a27f2db6 07:01:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:01:02 ---> Running in 3dbb5b2b8136 07:01:03 Removing intermediate container 3dbb5b2b8136 07:01:03 ---> f0a7fb0661bb 07:01:03 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:01:03 ---> Running in 60582631e39d 07:01:03 Removing intermediate container 60582631e39d 07:01:03 ---> 9f61347fc27e 07:01:03 Step 21/23 : LABEL arch=arm64 07:01:03 ---> Running in c3d989a61f1a 07:01:04 Removing intermediate container c3d989a61f1a 07:01:04 ---> e5711dba6252 07:01:04 Step 22/23 : LABEL git_sha=674e9693270d133fc8868ee23277d06afa12afdf 07:01:04 ---> Running in 01f649884d32 07:01:05 Removing intermediate container 01f649884d32 07:01:05 ---> b0fba0683514 07:01:05 Step 23/23 : LABEL version=0.0.0 07:01:05 ---> Running in 526be5f2074b 07:01:05 Removing intermediate container 526be5f2074b 07:01:05 ---> 3b09fa8783cf 07:01:05 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:01:05 Successfully built 3b09fa8783cf 07:01:05 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 07:01:06 ---> job-cost.sh 07:01:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2zvV 07:01:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:03:07 lf-activate-venv(): INFO: Adding /tmp/venv-2zvV/bin to PATH 07:03:07 INFO: No Stack... 07:03:07 INFO: Retrieving Pricing Info for: lf-standard-4 07:03:07 INFO: Archiving Costs [Pipeline] sh 07:03:07 + + cat /w/workspace/device-sdk-go/1/archives/cost.csv 07:03:07 cut -d, -f6 [Pipeline] lock 07:03:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-897-1-stack-cost] 07:03:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-897-1-stack-cost] did not exist. Created. 07:03:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-897-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:03:08 /w/workspace/device-sdk-go/1@tmp/durable-5cc037ec/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-5cc037ec/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:03:08 + echo total: 0.20999999344348907 [Pipeline] stash 07:03:08 Warning: overwriting stash ‘stack-cost’ 07:03:08 Stashed 1 file(s) [Pipeline] } 07:03:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-897-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 07:03:10 provisioning config files... 07:03:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-897@tmp/config6167165755247108600tmp [Pipeline] { [Pipeline] sh 07:03:10 + set +x 07:03:10 + bash -s -- 07:03:10 + curl -s https://codecov.io/bash 07:03:10 07:03:10 _____ _ 07:03:10 / ____| | | 07:03:10 | | ___ __| | ___ ___ _____ __ 07:03:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:03:10 | |___| (_) | (_| | __/ (_| (_) \ V / 07:03:10 \_____\___/ \__,_|\___|\___\___/ \_/ 07:03:10 Bash-1.0.2 07:03:10 07:03:10 07:03:10 ==> git version 2.24.3 found 07:03:10 ==> 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 07:03:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:03:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:03:10 ==> Jenkins CI detected. 07:03:10 project root: . 07:03:10 --> token set from env 07:03:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:03:11 ==> Running gcov in . (disable via -X gcov) 07:03:11 ==> Python coveragepy not found 07:03:11 ==> Searching for coverage reports in: 07:03:11 + . 07:03:11 -> Found 1 reports 07:03:11 ==> Detecting git/mercurial file structure 07:03:11 ==> Reading reports 07:03:11 + ./coverage.out bytes=100024 07:03:11 ==> Appending adjustments 07:03:11 https://docs.codecov.io/docs/fixing-reports 07:03:12 + Found adjustments 07:03:12 ==> Gzipping contents 07:03:12 16K /tmp/codecov.T55bUa.gz 07:03:12 ==> Uploading reports 07:03:12 url: https://codecov.io 07:03:12 query: branch=PR-897&commit=674e9693270d133fc8868ee23277d06afa12afdf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-897%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=897&job=&cmd_args= 07:03:12 -> Pinging Codecov 07:03:12 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-897&commit=674e9693270d133fc8868ee23277d06afa12afdf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-897%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=897&job=&cmd_args= 07:03:12 -> Uploading to 07:03:12 https://storage.googleapis.com/codecov/v4/raw/2021-04-26/7E55EF52A471D76F132DFD9A03CDDE97/674e9693270d133fc8868ee23277d06afa12afdf/5829a247-ed1e-4e40-b54b-0bdfe0da327f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T070312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc93f51f98208a6734c1630c278c7389ea457113ff1b67ab0bb995f3f0a0bb8c 07:03:12 % Total % Received % Xferd Average Speed Time Time Time Current 07:03:12 Dload Upload Total Spent Left Speed 07:03:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13526 0 0 100 13526 0 22032 --:--:-- --:--:-- --:--:-- 22065 07:03:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/674e9693270d133fc8868ee23277d06afa12afdf [Pipeline] } 07:03:13 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 07:03:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:03:16 ---> package-listing.sh 07:03:16 ++ facter osfamily 07:03:16 ++ tr '[:upper:]' '[:lower:]' 07:03:17 + OS_FAMILY=redhat 07:03:17 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-897 07:03:17 + START_PACKAGES=/tmp/packages_start.txt 07:03:17 + END_PACKAGES=/tmp/packages_end.txt 07:03:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:03:17 + PACKAGES=/tmp/packages_start.txt 07:03:17 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-897 ']' 07:03:17 + PACKAGES=/tmp/packages_end.txt 07:03:17 + case "${OS_FAMILY}" in 07:03:17 + rpm -qa 07:03:17 + sort 07:03:25 + '[' -f /tmp/packages_start.txt ']' 07:03:25 + '[' -f /tmp/packages_end.txt ']' 07:03:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:03:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-897 ']' 07:03:25 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-897/archives/ 07:03:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-897/archives/ [Pipeline] echo 07:03:25 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-897/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:03:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:03:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:03:27 07:03:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:03:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:03:27 alpine: Pulling from edgex-lftools-log-publisher 07:03:27 df20fa9351a1: Pulling fs layer 07:03:27 36b3adc4ff6f: Pulling fs layer 07:03:27 8ad3a11d3b57: Pulling fs layer 07:03:27 46f8f816bc3b: Pulling fs layer 07:03:27 93b61091891f: Pulling fs layer 07:03:27 93b9cdb0e59b: Pulling fs layer 07:03:27 5e14af77c1be: Pulling fs layer 07:03:27 01666e4c0597: Pulling fs layer 07:03:27 aa168da1d23b: Pulling fs layer 07:03:27 93b9cdb0e59b: Waiting 07:03:27 5e14af77c1be: Waiting 07:03:27 01666e4c0597: Waiting 07:03:27 aa168da1d23b: Waiting 07:03:27 46f8f816bc3b: Waiting 07:03:27 93b61091891f: Waiting 07:03:27 36b3adc4ff6f: Verifying Checksum 07:03:27 36b3adc4ff6f: Download complete 07:03:27 46f8f816bc3b: Download complete 07:03:27 df20fa9351a1: Download complete 07:03:27 93b9cdb0e59b: Verifying Checksum 07:03:27 93b9cdb0e59b: Download complete 07:03:27 5e14af77c1be: Verifying Checksum 07:03:27 5e14af77c1be: Download complete 07:03:27 01666e4c0597: Verifying Checksum 07:03:27 01666e4c0597: Download complete 07:03:27 93b61091891f: Verifying Checksum 07:03:27 93b61091891f: Download complete 07:03:28 8ad3a11d3b57: Verifying Checksum 07:03:28 8ad3a11d3b57: Download complete 07:03:28 df20fa9351a1: Pull complete 07:03:28 36b3adc4ff6f: Pull complete 07:03:30 8ad3a11d3b57: Pull complete 07:03:30 46f8f816bc3b: Pull complete 07:03:31 aa168da1d23b: Verifying Checksum 07:03:31 aa168da1d23b: Download complete 07:03:31 93b61091891f: Pull complete 07:03:32 93b9cdb0e59b: Pull complete 07:03:32 5e14af77c1be: Pull complete 07:03:33 01666e4c0597: Pull complete 07:03:52 aa168da1d23b: Pull complete 07:03:52 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:03:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:03:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:03:52 prd-centos7-docker-4c-2g-1758 does not seem to be running inside a container 07:03:52 $ 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-897/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-897 -v /w/workspace/dgexfoundry_device-sdk-go_PR-897:/w/workspace/dgexfoundry_device-sdk-go_PR-897:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-897@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-897@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:03:56 $ docker top 96c88b4934b08bb344a66bffc95588264bd515329b3582e68f0cb06b93e2b95b -eo pid,comm [Pipeline] { [Pipeline] sh 07:03:57 + touch /tmp/pre-build-complete [Pipeline] sh 07:03:58 + mkdir -p /var/log/sa [Pipeline] sh 07:03:58 + ls /var/log/sa-host 07:03:58 + sadf -c /var/log/sa-host/sa23 07:03:58 file_magic: OK 07:03:58 HZ: Using current value: 100 07:03:58 file_header: OK 07:03:58 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 07:03:58 Statistics: 07:03:58 Hnuu...uuuununununu... 07:03:58 File successfully converted to sysstat format version 12.2.1 07:03:58 + sadf -c /var/log/sa-host/sa26 07:03:58 file_magic: OK 07:03:58 HZ: Using current value: 100 07:03:58 file_header: OK 07:03:58 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 07:03:58 Statistics: 07:03:58 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:03:58 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:03:59 provisioning config files... 07:03:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-897@tmp/config7022961091875244192tmp [Pipeline] { [Pipeline] echo 07:03:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:03:59 ---> create-netrc.sh [Pipeline] } 07:03:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:03:59 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:04:00 ---> python-tools-install.sh [Pipeline] echo 07:04:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:04:00 ---> sudo-logs.sh 07:04:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:04:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:04:01 ---> job-cost.sh 07:04:01 lf-activate-venv: SKIPPING 07:04:01 DEBUG: total: 0.20999999344348907 07:04:01 INFO: Retrieving Stack Cost... 07:04:02 INFO: Retrieving Pricing Info for: v1-standard-2 07:04:02 INFO: Archiving Costs [Pipeline] echo 07:04:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:04:03 ---> logs-deploy.sh 07:04:03 lf-activate-venv: SKIPPING 07:04:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-897/1 07:04:03 INFO: archiving workspace using pattern(s): 07:04:06 Archives upload complete. 07:04:06 INFO: archiving logs to Nexus