Pull request #914 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from cb99f86c6c9de52924b12c20769e25d8d75925cc+c59eaec4927ead084ac23e2dc62563ecf0e6da75 (14d585b37bf9efb44894f644bc5f29bea2c1eb4f) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-914/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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-914/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4022 in /w/workspace/dgexfoundry_device-sdk-go_PR-914 [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-914 # 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 c59eaec4927ead084ac23e2dc62563ecf0e6da75 into PR head commit cb99f86c6c9de52924b12c20769e25d8d75925cc Merge succeeded, producing cb99f86c6c9de52924b12c20769e25d8d75925cc Checking out Revision cb99f86c6c9de52924b12c20769e25d8d75925cc (PR-914) > 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/914/head:refs/remotes/origin/PR-914 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # 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 c59eaec4927ead084ac23e2dc62563ecf0e6da75 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # timeout=10 Commit message: "refactor: replace usage of io/ioutl package" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:28:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:28:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:28:34 ========================================================= 06:28:34 EdgeX Global Pipelines Version Info 06:28:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:28:35 ------------------- 06:28:35 stable info: 06:28:35 ------------------- 06:28:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:28:35 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 06:28:35 Message: update stable to v1.0.191 06:28:36 ------------------- 06:28:36 experimental info: 06:28:36 ------------------- 06:28:36 Commited By: **** collab-it+edgex@linuxfoundation.org 06:28:36 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 06:28:36 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:28:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-914 [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-914 [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-914 [Pipeline] echo 06:28:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb99f86c6c9de52924b12c20769e25d8d75925cc [Pipeline] echo 06:28:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb99f86 [Pipeline] echo 06:28:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:28:39 provisioning config files... 06:28:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/config5269558907567355236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:39 ---> docker-login.sh 06:28:39 nexus3.edgexfoundry.org:10001 06:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:40 Configure a credential helper to remove this warning. See 06:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:40 06:28:40 Login Succeeded 06:28:40 nexus3.edgexfoundry.org:10002 06:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:40 Configure a credential helper to remove this warning. See 06:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:40 06:28:40 Login Succeeded 06:28:40 nexus3.edgexfoundry.org:10003 06:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:40 Configure a credential helper to remove this warning. See 06:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:40 06:28:40 Login Succeeded 06:28:40 nexus3.edgexfoundry.org:10004 06:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:40 Configure a credential helper to remove this warning. See 06:28:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:40 06:28:40 Login Succeeded 06:28:40 docker.io 06:28:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:41 Configure a credential helper to remove this warning. See 06:28:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:41 06:28:41 Login Succeeded 06:28:41 ---> docker-login.sh ends [Pipeline] } 06:28:41 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:28:42 + git log --format=format:%s -1 cb99f86c6c9de52924b12c20769e25d8d75925cc [Pipeline] echo 06:28:42 GIT_COMMIT: cb99f86c6c9de52924b12c20769e25d8d75925cc, Commit Message: refactor: replace usage of io/ioutl package [Pipeline] echo 06:28:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:28:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:28:43 06:28:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:28:43 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:28:43 latest: Pulling from edgex-devops/git-semver 06:28:43 31603596830f: Pulling fs layer 06:28:43 54011a49482f: Pulling fs layer 06:28:43 a6820b24f6d8: Pulling fs layer 06:28:43 f581987b2513: Pulling fs layer 06:28:43 f581987b2513: Waiting 06:28:43 54011a49482f: Verifying Checksum 06:28:43 54011a49482f: Download complete 06:28:43 31603596830f: Download complete 06:28:43 f581987b2513: Verifying Checksum 06:28:43 f581987b2513: Download complete 06:28:44 a6820b24f6d8: Verifying Checksum 06:28:44 a6820b24f6d8: Download complete 06:28:44 31603596830f: Pull complete 06:28:44 54011a49482f: Pull complete 06:28:45 a6820b24f6d8: Pull complete 06:28:45 f581987b2513: Pull complete 06:28:45 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 06:28:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:28:45 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:28:45 prd-centos7-docker-4c-2g-4022 does not seem to be running inside a container 06:28:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-914 -v /w/workspace/dgexfoundry_device-sdk-go_PR-914:/w/workspace/dgexfoundry_device-sdk-go_PR-914:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:28:48 $ docker top a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:48 [ssh-agent] Looking for ssh-agent implementation... 06:28:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:48 $ docker exec a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 ssh-agent 06:28:48 SSH_AUTH_SOCK=/tmp/ssh-5Ebvpw0gtZPm/agent.13 06:28:48 SSH_AGENT_PID=18 06:28:48 Running ssh-add (command line suppressed) 06:28:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/private_key_6050527064171916292.key (/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/private_key_6050527064171916292.key) 06:28:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:49 + git tag --points-at HEAD [Pipeline] } 06:28:49 $ docker exec --env ******** --env ******** a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 ssh-agent -k 06:28:49 unset SSH_AUTH_SOCK; 06:28:49 unset SSH_AGENT_PID; 06:28:49 echo Agent pid 18 killed; 06:28:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:28:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:49 [ssh-agent] Looking for ssh-agent implementation... 06:28:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:49 $ docker exec a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 ssh-agent 06:28:50 SSH_AUTH_SOCK=/tmp/ssh-i4LZFT4hkNxd/agent.47 06:28:50 SSH_AGENT_PID=52 06:28:50 Running ssh-add (command line suppressed) 06:28:50 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/private_key_6541763681092501259.key (/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/private_key_6541763681092501259.key) 06:28:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:50 + git semver init 06:28:50 # -> Open(): unable to determine branch for HEAD 06:28:50 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-914/.git 06:28:50 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-914 06:28:50 # $SEMVER_REMOTE_NAME = origin 06:28:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:28:50 # $SEMVER_USER_NAME = edgex-jenkins 06:28:50 # $SEMVER_BRANCH = PR-914 06:28:50 # $SEMVER_TEMP = /tmp/semver-250051985 06:28:50 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:28:51 # '/tmp/semver-250051985' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-914/.semver' 06:28:51 # -> Force: false 06:28:51 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-914/.semver [Pipeline] } 06:28:51 $ docker exec --env ******** --env ******** a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 ssh-agent -k 06:28:51 unset SSH_AUTH_SOCK; 06:28:51 unset SSH_AGENT_PID; 06:28:51 echo Agent pid 52 killed; 06:28:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:52 + git semver [Pipeline] } 06:28:52 $ docker stop --time=1 a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 06:28:54 $ docker rm -f a90c4b29277e585e3a05636109942e46e0d7d73244e5ab93e5103b48fdfeb2f0 [Pipeline] // withDockerContainer [Pipeline] sh 06:28:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:28:55 Stashed 1 file(s) [Pipeline] echo 06:28:55 [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:29:10 Still waiting to schedule task 06:29:10 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:29:10 Still waiting to schedule task 06:29:10 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 06:32:29 Running on prd-centos7-docker-4c-2g-4024 in /w/workspace/dgexfoundry_device-sdk-go_PR-914 [Pipeline] { [Pipeline] ws 06:32:29 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:32:32 using credential edgex-jenkins-ssh 06:32:32 Cloning the remote Git repository 06:32:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:32:32 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:32:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:32:32 > git --version # timeout=10 06:32:32 > git --version # 'git version 2.24.3' 06:32:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:34 Merging remotes/origin/master commit c59eaec4927ead084ac23e2dc62563ecf0e6da75 into PR head commit cb99f86c6c9de52924b12c20769e25d8d75925cc 06:32:34 Merge succeeded, producing cb99f86c6c9de52924b12c20769e25d8d75925cc 06:32:34 Checking out Revision cb99f86c6c9de52924b12c20769e25d8d75925cc (PR-914) 06:32:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:32:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:32:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:32:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/914/head:refs/remotes/origin/PR-914 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:32:34 > git config core.sparsecheckout # timeout=10 06:32:34 > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # timeout=10 06:32:34 > git remote # timeout=10 06:32:34 > git config --get remote.origin.url # timeout=10 06:32:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:34 > git merge c59eaec4927ead084ac23e2dc62563ecf0e6da75 # timeout=10 06:32:34 > git rev-parse HEAD^{commit} # timeout=10 06:32:34 > git config core.sparsecheckout # timeout=10 06:32:34 > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # timeout=10 06:32:37 Commit message: "refactor: replace usage of io/ioutl package" 06:32:37 > git --version # timeout=10 06:32:37 > git --version # 'git version 2.24.3' 06:32:37 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:32:39 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:32:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:32:40 + sudo service docker restart 06:32:40 + true 06:32:40 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:32:41 provisioning config files... 06:32:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1461648573917071142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:32:41 ---> docker-login.sh 06:32:41 nexus3.edgexfoundry.org:10001 06:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:32:42 Configure a credential helper to remove this warning. See 06:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:32:42 06:32:42 Login Succeeded 06:32:42 nexus3.edgexfoundry.org:10002 06:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:32:42 Configure a credential helper to remove this warning. See 06:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:32:42 06:32:42 Login Succeeded 06:32:42 nexus3.edgexfoundry.org:10003 06:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:32:42 Configure a credential helper to remove this warning. See 06:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:32:42 06:32:42 Login Succeeded 06:32:42 nexus3.edgexfoundry.org:10004 06:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:32:42 Configure a credential helper to remove this warning. See 06:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:32:42 06:32:42 Login Succeeded 06:32:42 docker.io 06:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:32:43 Configure a credential helper to remove this warning. See 06:32:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:32:43 06:32:43 Login Succeeded 06:32:43 ---> docker-login.sh ends [Pipeline] } 06:32:43 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:32:43 ========================================================= 06:32:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 06:32:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:32:43 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 06:32:44 Sending build context to Docker daemon 2.553MB 06:32:44 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 06:32:44 Step 2/8 : FROM ${BASE} 06:32:44 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 06:32:44 540db60ca938: Pulling fs layer 06:32:44 adcc1eea9eea: Pulling fs layer 06:32:44 4c4ab2625f07: Pulling fs layer 06:32:44 0510c868ecb4: Pulling fs layer 06:32:44 afea3b2eda06: Pulling fs layer 06:32:44 7809a108b3ef: Pulling fs layer 06:32:44 f706445af74f: Pulling fs layer 06:32:44 afea3b2eda06: Waiting 06:32:44 f706445af74f: Waiting 06:32:44 7809a108b3ef: Waiting 06:32:44 0510c868ecb4: Waiting 06:32:44 4c4ab2625f07: Download complete 06:32:44 adcc1eea9eea: Download complete 06:32:44 afea3b2eda06: Download complete 06:32:44 7809a108b3ef: Verifying Checksum 06:32:44 7809a108b3ef: Download complete 06:32:44 540db60ca938: Verifying Checksum 06:32:44 540db60ca938: Download complete 06:32:44 540db60ca938: Pull complete 06:32:44 adcc1eea9eea: Pull complete 06:32:44 4c4ab2625f07: Pull complete 06:32:46 f706445af74f: Verifying Checksum 06:32:46 f706445af74f: Download complete 06:32:47 0510c868ecb4: Download complete 06:32:52 0510c868ecb4: Pull complete 06:32:52 afea3b2eda06: Pull complete 06:32:52 7809a108b3ef: Pull complete 06:32:56 f706445af74f: Pull complete 06:32:56 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 06:32:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 06:32:56 ---> b068be0155e3 06:32:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:32:56 ---> Running in 8762669adde7 06:32:57 Removing intermediate container 8762669adde7 06:32:57 ---> 7822aca48a16 06:32:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:32:57 ---> Running in 4bdda30d28dc 06:32:58 Removing intermediate container 4bdda30d28dc 06:32:58 ---> cfa7180157e2 06:32:58 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:32:58 ---> Running in 1b729d53833c 06:32:59 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:33:00 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:33:01 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4023 in /w/workspace/dgexfoundry_device-sdk-go_PR-914 [Pipeline] { [Pipeline] ws 06:33:01 Running in /w/workspace/device-sdk-go/1 [Pipeline] { 06:33:01 (1/6) Installing libc-dev (0.7.2-r3) 06:33:01 (2/6) Installing libsodium (1.0.18-r0) [Pipeline] checkout 06:33:01 (3/6) Installing pkgconf (1.7.3-r0) 06:33:02 (4/6) Installing libsodium-dev (1.0.18-r0) 06:33:02 (5/6) Installing libzmq (4.3.3-r1) 06:33:02 (6/6) Installing zeromq-dev (4.3.3-r1) 06:33:02 Executing busybox-1.32.1-r6.trigger 06:33:02 OK: 150 MiB in 46 packages 06:33:03 Removing intermediate container 1b729d53833c 06:33:03 ---> 9b9d0b29992f 06:33:03 Step 6/8 : WORKDIR /device-sdk-go 06:33:03 ---> Running in 7a9a7ef38710 06:33:03 Removing intermediate container 7a9a7ef38710 06:33:03 ---> a9ab2a8d1883 06:33:03 Step 7/8 : COPY . . 06:33:04 ---> 32edb1041ba0 06:33:04 Step 8/8 : RUN go mod download 06:33:04 ---> Running in d22b95444cca 06:33:07 using credential edgex-jenkins-ssh 06:33:07 Cloning the remote Git repository 06:33:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:33:07 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:33:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:33:07 > git --version # timeout=10 06:33:07 > git --version # 'git version 2.17.1' 06:33:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:33:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:33:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:33:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:33:09 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:09 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/914/head:refs/remotes/origin/PR-914 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:33:10 Merging remotes/origin/master commit c59eaec4927ead084ac23e2dc62563ecf0e6da75 into PR head commit cb99f86c6c9de52924b12c20769e25d8d75925cc 06:33:11 Merge succeeded, producing cb99f86c6c9de52924b12c20769e25d8d75925cc 06:33:11 Checking out Revision cb99f86c6c9de52924b12c20769e25d8d75925cc (PR-914) 06:33:11 > git config core.sparsecheckout # timeout=10 06:33:11 > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # timeout=10 06:33:11 > git remote # timeout=10 06:33:11 > git config --get remote.origin.url # timeout=10 06:33:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:33:11 > git merge c59eaec4927ead084ac23e2dc62563ecf0e6da75 # timeout=10 06:33:11 > git rev-parse HEAD^{commit} # timeout=10 06:33:11 > git config core.sparsecheckout # timeout=10 06:33:11 > git checkout -f cb99f86c6c9de52924b12c20769e25d8d75925cc # timeout=10 06:33:15 Commit message: "refactor: replace usage of io/ioutl package" 06:33:15 > git --version # timeout=10 06:33:15 > git --version # 'git version 2.17.1' 06:33:15 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:17 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:33:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:33:18 + sudo service docker restart+ 06:33:18 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:33:21 provisioning config files... 06:33:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7540420010401917582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:21 ---> docker-login.sh 06:33:21 nexus3.edgexfoundry.org:10001 06:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:22 Configure a credential helper to remove this warning. See 06:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:22 06:33:22 Login Succeeded 06:33:22 nexus3.edgexfoundry.org:10002 06:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:23 Configure a credential helper to remove this warning. See 06:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:23 06:33:23 Login Succeeded 06:33:23 nexus3.edgexfoundry.org:10003 06:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:23 Configure a credential helper to remove this warning. See 06:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:23 06:33:23 Login Succeeded 06:33:23 nexus3.edgexfoundry.org:10004 06:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:24 Configure a credential helper to remove this warning. See 06:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:24 06:33:24 Login Succeeded 06:33:24 docker.io 06:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:25 Configure a credential helper to remove this warning. See 06:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:25 06:33:25 Login Succeeded 06:33:25 ---> docker-login.sh ends [Pipeline] } 06:33:25 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:33:25 ========================================================= 06:33:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 06:33:25 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:33:26 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 06:33:26 Sending build context to Docker daemon 2.557MB 06:33:26 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 06:33:26 Step 2/8 : FROM ${BASE} 06:33:26 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:33:26 595b0fe564bb: Pulling fs layer 06:33:26 7186ed65a4f7: Pulling fs layer 06:33:26 316046926c0a: Pulling fs layer 06:33:26 4ebd0625c992: Pulling fs layer 06:33:26 207e8628e3a3: Pulling fs layer 06:33:26 c791037a9be2: Pulling fs layer 06:33:26 ffd874e62e21: Pulling fs layer 06:33:26 4ebd0625c992: Waiting 06:33:26 207e8628e3a3: Waiting 06:33:26 c791037a9be2: Waiting 06:33:26 ffd874e62e21: Waiting 06:33:26 316046926c0a: Verifying Checksum 06:33:26 316046926c0a: Download complete 06:33:26 7186ed65a4f7: Download complete 06:33:26 207e8628e3a3: Verifying Checksum 06:33:26 207e8628e3a3: Download complete 06:33:26 c791037a9be2: Verifying Checksum 06:33:26 c791037a9be2: Download complete 06:33:26 595b0fe564bb: Verifying Checksum 06:33:26 595b0fe564bb: Download complete 06:33:27 595b0fe564bb: Pull complete 06:33:28 7186ed65a4f7: Pull complete 06:33:28 316046926c0a: Pull complete 06:33:29 ffd874e62e21: Verifying Checksum 06:33:29 ffd874e62e21: Download complete 06:33:30 4ebd0625c992: Verifying Checksum 06:33:30 4ebd0625c992: Download complete 06:33:31 Removing intermediate container d22b95444cca 06:33:31 ---> 88c21c3b24f9 06:33:31 Successfully built 88c21c3b24f9 06:33:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:33:31 + docker inspect -f . ci-base-image-x86_64 06:33:31 . [Pipeline] withDockerContainer 06:33:32 prd-centos7-docker-4c-2g-4024 does not seem to be running inside a container 06:33: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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:33:33 $ docker top f7161ef41945b136a1185052b8c668e666b08601969ac0b088f50df23b8c120a -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:33 + go version 06:33:33 go version go1.16.3 linux/amd64 [Pipeline] } 06:33:33 $ docker stop --time=1 f7161ef41945b136a1185052b8c668e666b08601969ac0b088f50df23b8c120a 06:33:35 $ docker rm -f f7161ef41945b136a1185052b8c668e666b08601969ac0b088f50df23b8c120a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:33:35 + docker inspect -f . ci-base-image-x86_64 06:33:35 . [Pipeline] withDockerContainer 06:33:35 prd-centos7-docker-4c-2g-4024 does not seem to be running inside a container 06:33:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:33:36 $ docker top 61129eda4bb2ad8ea0560c7602af4624d16a580d91fc3fa93b9e07261b1431e5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:37 + go mod tidy [Pipeline] sh 06:33:37 + make test 06:33:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:33:40 4ebd0625c992: Pull complete 06:33:40 207e8628e3a3: Pull complete 06:33:40 c791037a9be2: Pull complete 06:33:44 ffd874e62e21: Pull complete 06:33:44 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 06:33:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 06:33:44 ---> cfc18b08335c 06:33:44 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:33:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:33:47 ---> Running in c96ba5f736e3 06:33:47 Removing intermediate container c96ba5f736e3 06:33:47 ---> 35fdd5f8131d 06:33:47 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:47 ---> Running in 323e5bbf893d 06:33:50 Removing intermediate container 323e5bbf893d 06:33:50 ---> f3180eadcce7 06:33:50 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:33:50 ---> Running in 60161c1de2b3 06:33:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:33:53 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:33:54 (1/6) Installing libc-dev (0.7.2-r3) 06:33:54 (2/6) Installing libsodium (1.0.18-r0) 06:33:55 (3/6) Installing pkgconf (1.7.3-r0) 06:33:55 (4/6) Installing libsodium-dev (1.0.18-r0) 06:33:55 (5/6) Installing libzmq (4.3.3-r1) 06:33:55 (6/6) Installing zeromq-dev (4.3.3-r1) 06:33:55 Executing busybox-1.32.1-r6.trigger 06:33:55 OK: 139 MiB in 46 packages 06:33:57 Removing intermediate container 60161c1de2b3 06:33:57 ---> 7e53a271e382 06:33:57 Step 6/8 : WORKDIR /device-sdk-go 06:33:57 ---> Running in 31e81407520d 06:33:57 Removing intermediate container 31e81407520d 06:33:57 ---> 1628c37efd32 06:33:57 Step 7/8 : COPY . . 06:33:59 ---> 6aba12d882ea 06:33:59 Step 8/8 : RUN go mod download 06:33:59 ---> Running in 568b48855f50 06:34:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:34:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:34:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:34:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.069s coverage: 25.4% of statements 06:34:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:34:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.086s coverage: 28.1% of statements 06:34:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.087s coverage: 78.9% of statements 06:34:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.060s coverage: 10.7% of statements 06:34:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:34:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:34:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:34:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 30.2% of statements 06:34:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:34:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 06:34:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:34:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:34:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.137s coverage: 58.4% of statements 06:34:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.218s coverage: 89.2% of statements 06:34:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:34:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 06:34:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:34:16 GO111MODULE=on go vet ./... 06:34:26 Removing intermediate container 568b48855f50 06:34:26 ---> b23477dc87a7 06:34:26 Successfully built b23477dc87a7 06:34:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:34:26 + docker inspect -f . ci-base-image-arm64 06:34:26 . [Pipeline] withDockerContainer 06:34:26 prd-ubuntu18.04-docker-arm64-4c-16g-4023 does not seem to be running inside a container 06:34:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:34:28 $ docker top 34623e12fc28412d24679c1d1b8d1616d1d4f207cb014cd977070dd02ba44234 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:29 + go version 06:34:29 go version go1.16.3 linux/arm64 [Pipeline] } 06:34:29 $ docker stop --time=1 34623e12fc28412d24679c1d1b8d1616d1d4f207cb014cd977070dd02ba44234 06:34:31 $ docker rm -f 34623e12fc28412d24679c1d1b8d1616d1d4f207cb014cd977070dd02ba44234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:34:32 + docker inspect -f . ci-base-image-arm64 06:34:32 . [Pipeline] withDockerContainer 06:34:32 prd-ubuntu18.04-docker-arm64-4c-16g-4023 does not seem to be running inside a container 06:34: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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:34:34 $ docker top f5cd5d093cf38665739deb9c536a1d4d714c2d9845b9e042ed51e6a5d21bb29e -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:35 + go mod tidy [Pipeline] sh 06:34:36 + make test 06:34:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:34:38 gofmt -l . 06:34:38 [ "`gofmt -l .`" = "" ] 06:34:38 ./bin/test-attribution-txt.sh 06:34:38 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:34:38 $ docker stop --time=1 61129eda4bb2ad8ea0560c7602af4624d16a580d91fc3fa93b9e07261b1431e5 06:34:40 $ docker rm -f 61129eda4bb2ad8ea0560c7602af4624d16a580d91fc3fa93b9e07261b1431e5 [Pipeline] // withDockerContainer [Pipeline] sh 06:34:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:34:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:34:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:34:45 + ls -al . 06:34:45 total 212 06:34:45 drwxrwxr-x. 10 jenkins jenkins 4096 May 10 06:34 . 06:34:45 drwxrwxr-x. 4 jenkins jenkins 28 May 10 06:32 .. 06:34:45 drwxrwxr-x. 2 jenkins jenkins 64 May 10 06:32 bin 06:34:45 -rw-r--r--. 1 jenkins jenkins 124140 May 10 06:34 coverage.out 06:34:45 -rw-rw-r--. 1 jenkins jenkins 987 May 10 06:32 Dockerfile.build 06:34:45 -rw-rw-r--. 1 jenkins jenkins 140 May 10 06:32 .dockerignore 06:34:45 drwxrwxr-x. 5 jenkins jenkins 62 May 10 06:32 example 06:34:45 drwxrwxr-x. 8 jenkins jenkins 179 May 10 06:32 .git 06:34:45 drwxrwxr-x. 2 jenkins jenkins 103 May 10 06:32 .github 06:34:45 -rw-rw-r--. 1 jenkins jenkins 138 May 10 06:32 .gitignore 06:34:45 -rw-r--r--. 1 jenkins jenkins 575 May 10 06:34 go.mod 06:34:45 -rw-r--r--. 1 jenkins jenkins 20637 May 10 06:33 go.sum 06:34:45 drwxrwxr-x. 15 jenkins jenkins 222 May 10 06:32 internal 06:34:45 -rw-rw-r--. 1 jenkins jenkins 901 May 10 06:32 Jenkinsfile 06:34:45 -rw-rw-r--. 1 jenkins jenkins 11341 May 10 06:32 LICENSE 06:34:45 -rw-rw-r--. 1 jenkins jenkins 1000 May 10 06:32 Makefile 06:34:45 drwxrwxr-x. 4 jenkins jenkins 26 May 10 06:32 openapi 06:34:45 drwxrwxr-x. 5 jenkins jenkins 50 May 10 06:32 pkg 06:34:45 -rw-rw-r--. 1 jenkins jenkins 7652 May 10 06:32 README.md 06:34:45 -rw-rw-r--. 1 jenkins jenkins 6616 May 10 06:32 RELEASE-NOTES.txt 06:34:45 drwxrwxr-x. 4 jenkins jenkins 54 May 10 06:32 snap 06:34:45 -rw-rw-r--. 1 jenkins jenkins 5 May 10 06:28 VERSION 06:34:45 -rw-rw-r--. 1 jenkins jenkins 222 May 10 06:32 version.go [Pipeline] isUnix [Pipeline] sh 06:34:45 + 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=cb99f86c6c9de52924b12c20769e25d8d75925cc --label arch=amd64 --label version=0.0.0 . 06:34:46 Sending build context to Docker daemon 2.678MB 06:34:46 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 06:34:46 Step 2/23 : FROM ${BASE} AS builder 06:34:46 ---> 88c21c3b24f9 06:34:46 Step 3/23 : WORKDIR /device-sdk-go 06:34:46 ---> Running in 38efb9d1bb66 06:34:46 Removing intermediate container 38efb9d1bb66 06:34:46 ---> 0934add3ca84 06:34:46 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:34:46 ---> Running in e173dc004aa1 06:34:47 Removing intermediate container e173dc004aa1 06:34:47 ---> adbd1026c40a 06:34:47 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:34:47 ---> Running in 969f7b420b18 06:34:48 Removing intermediate container 969f7b420b18 06:34:48 ---> 27e33cc61636 06:34:48 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:34:48 ---> Running in e622b2f31c04 06:34:48 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:34:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:34:52 OK: 150 MiB in 46 packages 06:34:52 Removing intermediate container e622b2f31c04 06:34:52 ---> 2f2226d65534 06:34:52 Step 7/23 : COPY . . 06:34:54 ---> 5b40b11b6f29 06:34:54 Step 8/23 : RUN go mod download 06:34:54 ---> Running in 19ea1a3a44f8 06:34:55 Removing intermediate container 19ea1a3a44f8 06:34:55 ---> e70f4e786103 06:34:55 Step 9/23 : RUN make build 06:34:55 ---> Running in ac8867b85e6a 06:34:55 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:35:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:35:08 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:35:09 Removing intermediate container ac8867b85e6a 06:35:09 ---> 39a4b1d30833 06:35:09 Step 10/23 : FROM alpine:3.12 06:35:09 3.12: Pulling from library/alpine 06:35:09 339de151aab4: Pulling fs layer 06:35:10 339de151aab4: Verifying Checksum 06:35:10 339de151aab4: Download complete 06:35:10 339de151aab4: Pull complete 06:35:10 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:35:10 Status: Downloaded newer image for alpine:3.12 06:35:10 ---> 13621d1b12d4 06:35:10 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:35:10 ---> Running in 3d17c9e59412 06:35:10 Removing intermediate container 3d17c9e59412 06:35:10 ---> 09442b50e488 06:35:10 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:35:10 ---> Running in 37c7f9fec7c1 06:35:11 Removing intermediate container 37c7f9fec7c1 06:35:11 ---> 1b7ce0d18e03 06:35:11 Step 13/23 : RUN apk add --update --no-cache zeromq 06:35:12 ---> Running in 8cb8f4b1e64b 06:35:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:35:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:35:14 (1/5) Installing libgcc (9.3.0-r2) 06:35:14 (2/5) Installing libsodium (1.0.18-r0) 06:35:14 (3/5) Installing libstdc++ (9.3.0-r2) 06:35:16 (4/5) Installing libzmq (4.3.3-r0) 06:35:16 (5/5) Installing zeromq (4.3.3-r0) 06:35:16 Executing busybox-1.31.1-r20.trigger 06:35:16 OK: 8 MiB in 19 packages 06:35:17 Removing intermediate container 8cb8f4b1e64b 06:35:17 ---> 23642398b565 06:35:17 Step 14/23 : WORKDIR / 06:35:17 ---> Running in a26db36223e3 06:35:17 Removing intermediate container a26db36223e3 06:35:17 ---> 50e9b9d9a2fc 06:35:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:35:18 ---> a93e24dbdd55 06:35:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:35:19 ---> fe59b0cb6cef 06:35:19 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:35:19 ---> 7767382fff36 06:35:19 Step 18/23 : EXPOSE 49990 06:35:19 ---> Running in 13f3a23d610a 06:35:19 Removing intermediate container 13f3a23d610a 06:35:19 ---> df5875cad517 06:35:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:35:19 ---> Running in b2d3dbd20394 06:35:20 Removing intermediate container b2d3dbd20394 06:35:20 ---> d46a2711a24b 06:35:20 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:35:20 ---> Running in 23231ac23c00 06:35:20 Removing intermediate container 23231ac23c00 06:35:20 ---> 4d70f8446640 06:35:20 Step 21/23 : LABEL arch=amd64 06:35:20 ---> Running in 2ce76cc36723 06:35:20 Removing intermediate container 2ce76cc36723 06:35:20 ---> 45e288e875db 06:35:20 Step 22/23 : LABEL git_sha=cb99f86c6c9de52924b12c20769e25d8d75925cc 06:35:20 ---> Running in 66356bc7f4a5 06:35:21 Removing intermediate container 66356bc7f4a5 06:35:21 ---> 42657267abd3 06:35:21 Step 23/23 : LABEL version=0.0.0 06:35:21 ---> Running in 8b7ee5c4e89e 06:35:21 Removing intermediate container 8b7ee5c4e89e 06:35:21 ---> e736217afb22 06:35:21 [Warning] One or more build-args [MAKE ARCH] were not consumed 06:35:21 Successfully built e736217afb22 06:35:21 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:35:22 ---> job-cost.sh 06:35:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-aaXy 06:35:37 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:36:04 lf-activate-venv(): INFO: Adding /tmp/venv-aaXy/bin to PATH 06:36:04 INFO: No Stack... 06:36:06 INFO: Retrieving Pricing Info for: v1-standard-2 06:36:06 INFO: Archiving Costs [Pipeline] sh 06:36:07 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:36:07 + cut -d, -f6 [Pipeline] lock 06:36:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] 06:36:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] did not exist. Created. 06:36:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:07 + echo total: 0.029999999329447746 [Pipeline] stash 06:36:07 Stashed 1 file(s) [Pipeline] } 06:36:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:36:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:36:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:36:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:36:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.227s coverage: 25.4% of statements 06:36:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:36:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.149s coverage: 28.1% of statements 06:36:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.271s coverage: 78.9% of statements 06:36:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.144s coverage: 10.7% of statements 06:36:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:36:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:36:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:36:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.253s coverage: 30.2% of statements 06:36:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:36:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] 06:36:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:36:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:36:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.371s coverage: 58.4% of statements 06:36:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.218s coverage: 89.2% of statements 06:36:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:36:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.140s coverage: 5.0% of statements 06:36:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:36:20 GO111MODULE=on go vet ./... 06:37:17 gofmt -l . 06:37:17 [ "`gofmt -l .`" = "" ] 06:37:17 ./bin/test-attribution-txt.sh 06:37:18 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:37:18 $ docker stop --time=1 f5cd5d093cf38665739deb9c536a1d4d714c2d9845b9e042ed51e6a5d21bb29e 06:37:21 $ docker rm -f f5cd5d093cf38665739deb9c536a1d4d714c2d9845b9e042ed51e6a5d21bb29e [Pipeline] // withDockerContainer [Pipeline] sh 06:37:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:37:22 Warning: overwriting stash ‘coverage-report’ 06:37:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:37:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:37:24 + ls -al . 06:37:24 total 248 06:37:24 drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:37 . 06:37:24 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:33 .. 06:37:24 -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:33 .dockerignore 06:37:24 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:33 .git 06:37:24 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:33 .github 06:37:24 -rw-rw-r-- 1 jenkins jenkins 138 May 10 06:33 .gitignore 06:37:24 -rw-rw-r-- 1 jenkins jenkins 987 May 10 06:33 Dockerfile.build 06:37:24 -rw-rw-r-- 1 jenkins jenkins 901 May 10 06:33 Jenkinsfile 06:37:24 -rw-rw-r-- 1 jenkins jenkins 11341 May 10 06:33 LICENSE 06:37:24 -rw-rw-r-- 1 jenkins jenkins 1000 May 10 06:33 Makefile 06:37:24 -rw-rw-r-- 1 jenkins jenkins 7652 May 10 06:33 README.md 06:37:24 -rw-rw-r-- 1 jenkins jenkins 6616 May 10 06:33 RELEASE-NOTES.txt 06:37:24 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:28 VERSION 06:37:24 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:33 bin 06:37:24 -rw-r--r-- 1 jenkins jenkins 124140 May 10 06:36 coverage.out 06:37:24 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:33 example 06:37:24 -rw-r--r-- 1 jenkins jenkins 575 May 10 06:37 go.mod 06:37:24 -rw-r--r-- 1 jenkins jenkins 20637 May 10 06:34 go.sum 06:37:24 drwxrwxr-x 15 jenkins jenkins 4096 May 10 06:33 internal 06:37:24 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:33 openapi 06:37:24 drwxrwxr-x 5 jenkins jenkins 4096 May 10 06:33 pkg 06:37:24 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:33 snap 06:37:24 -rw-rw-r-- 1 jenkins jenkins 222 May 10 06:33 version.go [Pipeline] isUnix [Pipeline] sh 06:37:24 + 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=cb99f86c6c9de52924b12c20769e25d8d75925cc --label arch=arm64 --label version=0.0.0 . 06:37:25 Sending build context to Docker daemon 2.682MB 06:37:25 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 06:37:25 Step 2/23 : FROM ${BASE} AS builder 06:37:25 ---> b23477dc87a7 06:37:25 Step 3/23 : WORKDIR /device-sdk-go 06:37:25 ---> Running in 16d33c9e14a9 06:37:26 Removing intermediate container 16d33c9e14a9 06:37:26 ---> a86fe515bcdf 06:37:26 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:37:26 ---> Running in 2a257dd7b236 06:37:27 Removing intermediate container 2a257dd7b236 06:37:27 ---> ac4b6ce045c1 06:37:27 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:37:27 ---> Running in 2830f7824de9 06:37:29 Removing intermediate container 2830f7824de9 06:37:29 ---> 2fa09eaa2622 06:37:29 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:37:29 ---> Running in 5e48fce5e879 06:37:30 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:37:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:37:33 OK: 139 MiB in 46 packages 06:37:34 Removing intermediate container 5e48fce5e879 06:37:34 ---> d6bebebf0ef4 06:37:34 Step 7/23 : COPY . . 06:37:36 ---> bfaca47f0618 06:37:36 Step 8/23 : RUN go mod download 06:37:36 ---> Running in c1fade3a6d0f 06:37:38 Removing intermediate container c1fade3a6d0f 06:37:38 ---> a0dd88ed1113 06:37:38 Step 9/23 : RUN make build 06:37:38 ---> Running in e49000ae547a 06:37:39 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:38:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:38:15 Removing intermediate container e49000ae547a 06:38:15 ---> 40d396c448b0 06:38:15 Step 10/23 : FROM alpine:3.12 06:38:15 3.12: Pulling from library/alpine 06:38:15 d2f70382dc9a: Pulling fs layer 06:38:15 d2f70382dc9a: Verifying Checksum 06:38:15 d2f70382dc9a: Download complete 06:38:16 d2f70382dc9a: Pull complete 06:38:16 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:38:16 Status: Downloaded newer image for alpine:3.12 06:38:16 ---> 9852663dfa18 06:38:16 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:38:16 ---> Running in d677a7b73613 06:38:16 Removing intermediate container d677a7b73613 06:38:16 ---> 7cfbef80b717 06:38:16 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:38:17 ---> Running in eb4fc1351380 06:38:19 Removing intermediate container eb4fc1351380 06:38:19 ---> 3a373000ec38 06:38:19 Step 13/23 : RUN apk add --update --no-cache zeromq 06:38:19 ---> Running in 13d2341447c1 06:38:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:38:23 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:38:25 (1/5) Installing libgcc (9.3.0-r2) 06:38:25 (2/5) Installing libsodium (1.0.18-r0) 06:38:25 (3/5) Installing libstdc++ (9.3.0-r2) 06:38:26 (4/5) Installing libzmq (4.3.3-r0) 06:38:26 (5/5) Installing zeromq (4.3.3-r0) 06:38:26 Executing busybox-1.31.1-r20.trigger 06:38:26 OK: 8 MiB in 19 packages 06:38:28 Removing intermediate container 13d2341447c1 06:38:28 ---> d85208b1c282 06:38:28 Step 14/23 : WORKDIR / 06:38:28 ---> Running in 3838f07f4c73 06:38:28 Removing intermediate container 3838f07f4c73 06:38:28 ---> 306bd65f9e97 06:38:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:38:29 ---> 73b957d9b28e 06:38:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:38:30 ---> 8c08e0083bd5 06:38:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:38:31 ---> 09c45aa70781 06:38:31 Step 18/23 : EXPOSE 49990 06:38:31 ---> Running in 2c97a89e67b3 06:38:32 Removing intermediate container 2c97a89e67b3 06:38:32 ---> 2c9cb315cd92 06:38:32 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:38:32 ---> Running in 0dfcab27c4ae 06:38:32 Removing intermediate container 0dfcab27c4ae 06:38:32 ---> 39793779bed5 06:38:32 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:38:32 ---> Running in bba7a9f115d1 06:38:33 Removing intermediate container bba7a9f115d1 06:38:33 ---> 9cec9734fae7 06:38:33 Step 21/23 : LABEL arch=arm64 06:38:33 ---> Running in 7b7676d4fbb3 06:38:33 Removing intermediate container 7b7676d4fbb3 06:38:33 ---> e5964a90de34 06:38:33 Step 22/23 : LABEL git_sha=cb99f86c6c9de52924b12c20769e25d8d75925cc 06:38:33 ---> Running in 7cc7a4fc2d02 06:38:34 Removing intermediate container 7cc7a4fc2d02 06:38:34 ---> aa6c84d13901 06:38:34 Step 23/23 : LABEL version=0.0.0 06:38:34 ---> Running in 741e3aba905c 06:38:35 Removing intermediate container 741e3aba905c 06:38:35 ---> c2eedeba8cf3 06:38:35 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:38:35 Successfully built c2eedeba8cf3 06:38:35 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 06:38:35 ---> job-cost.sh 06:38:35 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-pfw1 06:39:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:40:51 lf-activate-venv(): INFO: Adding /tmp/venv-pfw1/bin to PATH 06:40:51 INFO: No Stack... 06:40:51 INFO: Retrieving Pricing Info for: lf-standard-4 06:40:51 INFO: Archiving Costs [Pipeline] sh 06:40:51 + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, 06:40:51 -f6 [Pipeline] lock 06:40:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] 06:40:52 Resource [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] did not exist. Created. 06:40:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-914-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:40:52 /w/workspace/device-sdk-go/1@tmp/durable-88d1b783/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-88d1b783/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:40:52 + echo total: 0.20999999344348907 [Pipeline] stash 06:40:52 Warning: overwriting stash ‘stack-cost’ 06:40:53 Stashed 1 file(s) [Pipeline] } 06:40:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-914-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 06:40:54 provisioning config files... 06:40:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/config1104307936957511148tmp [Pipeline] { [Pipeline] sh 06:40:54 + set +x 06:40:54 + curl -s https://codecov.io/bash 06:40:54 + bash -s -- 06:40:54 06:40:54 _____ _ 06:40:54 / ____| | | 06:40:54 | | ___ __| | ___ ___ _____ __ 06:40:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:40:54 | |___| (_) | (_| | __/ (_| (_) \ V / 06:40:54 \_____\___/ \__,_|\___|\___\___/ \_/ 06:40:54 Bash-1.0.2 06:40:54 06:40:54 06:40:54 ==> git version 2.24.3 found 06:40:54 ==> 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 06:40:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:40:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:40:54 ==> Jenkins CI detected. 06:40:54 project root: . 06:40:54 --> token set from env 06:40:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:40:54 ==> Running gcov in . (disable via -X gcov) 06:40:54 ==> Python coveragepy not found 06:40:54 ==> Searching for coverage reports in: 06:40:54 + . 06:40:54 -> Found 1 reports 06:40:54 ==> Detecting git/mercurial file structure 06:40:54 ==> Reading reports 06:40:54 + ./coverage.out bytes=124140 06:40:54 ==> Appending adjustments 06:40:54 https://docs.codecov.io/docs/fixing-reports 06:40:55 + Found adjustments 06:40:55 ==> Gzipping contents 06:40:55 16K /tmp/codecov.yOEYb8.gz 06:40:55 ==> Uploading reports 06:40:55 url: https://codecov.io 06:40:55 query: branch=PR-914&commit=cb99f86c6c9de52924b12c20769e25d8d75925cc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-914%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=914&job=&cmd_args= 06:40:55 -> Pinging Codecov 06:40:55 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-914&commit=cb99f86c6c9de52924b12c20769e25d8d75925cc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-914%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=914&job=&cmd_args= 06:40:56 -> Uploading to 06:40:56 https://storage.googleapis.com/codecov/v4/raw/2021-05-10/7E55EF52A471D76F132DFD9A03CDDE97/cb99f86c6c9de52924b12c20769e25d8d75925cc/cf387b93-b612-4560-a667-fe308a9b184c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T064055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42c291a10594465b8a3f75fe96a856ee39c6a837ad98b1a7718feae660eb3f4d 06:40:56 % Total % Received % Xferd Average Speed Time Time Time Current 06:40:56 Dload Upload Total Spent Left Speed 06:40:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16209 0 0 100 16209 0 32196 --:--:-- --:--:-- --:--:-- 32224 06:40:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cb99f86c6c9de52924b12c20769e25d8d75925cc [Pipeline] } 06:40:56 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 06:40:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:40:58 ---> package-listing.sh 06:40:58 ++ facter osfamily 06:40:58 ++ tr '[:upper:]' '[:lower:]' 06:40:58 + OS_FAMILY=redhat 06:40:58 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-914 06:40:58 + START_PACKAGES=/tmp/packages_start.txt 06:40:58 + END_PACKAGES=/tmp/packages_end.txt 06:40:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:40:58 + PACKAGES=/tmp/packages_start.txt 06:40:58 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-914 ']' 06:40:58 + PACKAGES=/tmp/packages_end.txt 06:40:58 + case "${OS_FAMILY}" in 06:40:58 + rpm -qa 06:40:58 + sort 06:41:04 + '[' -f /tmp/packages_start.txt ']' 06:41:04 + '[' -f /tmp/packages_end.txt ']' 06:41:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:41:04 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-914 ']' 06:41:04 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-914/archives/ 06:41:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-914/archives/ [Pipeline] echo 06:41:04 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-914/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:41:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:41:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:41:05 06:41:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:41:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:41:06 alpine: Pulling from edgex-lftools-log-publisher 06:41:06 df20fa9351a1: Pulling fs layer 06:41:06 36b3adc4ff6f: Pulling fs layer 06:41:06 8ad3a11d3b57: Pulling fs layer 06:41:06 46f8f816bc3b: Pulling fs layer 06:41:06 93b61091891f: Pulling fs layer 06:41:06 93b9cdb0e59b: Pulling fs layer 06:41:06 5e14af77c1be: Pulling fs layer 06:41:06 01666e4c0597: Pulling fs layer 06:41:06 aa168da1d23b: Pulling fs layer 06:41:06 93b9cdb0e59b: Waiting 06:41:06 01666e4c0597: Waiting 06:41:06 5e14af77c1be: Waiting 06:41:06 46f8f816bc3b: Waiting 06:41:06 93b61091891f: Waiting 06:41:06 aa168da1d23b: Waiting 06:41:06 36b3adc4ff6f: Download complete 06:41:06 46f8f816bc3b: Verifying Checksum 06:41:06 46f8f816bc3b: Download complete 06:41:06 df20fa9351a1: Verifying Checksum 06:41:06 df20fa9351a1: Download complete 06:41:06 93b9cdb0e59b: Verifying Checksum 06:41:06 93b9cdb0e59b: Download complete 06:41:06 5e14af77c1be: Verifying Checksum 06:41:06 5e14af77c1be: Download complete 06:41:06 93b61091891f: Download complete 06:41:06 01666e4c0597: Verifying Checksum 06:41:06 01666e4c0597: Download complete 06:41:06 df20fa9351a1: Pull complete 06:41:06 8ad3a11d3b57: Verifying Checksum 06:41:06 8ad3a11d3b57: Download complete 06:41:06 36b3adc4ff6f: Pull complete 06:41:08 8ad3a11d3b57: Pull complete 06:41:08 46f8f816bc3b: Pull complete 06:41:09 93b61091891f: Pull complete 06:41:09 93b9cdb0e59b: Pull complete 06:41:09 aa168da1d23b: Verifying Checksum 06:41:09 aa168da1d23b: Download complete 06:41:10 5e14af77c1be: Pull complete 06:41:10 01666e4c0597: Pull complete 06:41:22 aa168da1d23b: Pull complete 06:41:22 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:41:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:41:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:41:23 prd-centos7-docker-4c-2g-4022 does not seem to be running inside a container 06:41:23 $ 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-914/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-914 -v /w/workspace/dgexfoundry_device-sdk-go_PR-914:/w/workspace/dgexfoundry_device-sdk-go_PR-914:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:41:29 $ docker top 37a1ad8e2ff6451ffc3af39696d8308db6a23c0bc12bdcb1874c23f4dbebf804 -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:30 + touch /tmp/pre-build-complete [Pipeline] sh 06:41:31 + mkdir -p /var/log/sa [Pipeline] sh 06:41:31 + ls /var/log/sa-host 06:41:31 + sadf -c /var/log/sa-host/sa10 06:41:31 file_magic: OK 06:41:31 HZ: Using current value: 100 06:41:31 file_header: OK 06:41:31 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 06:41:31 Statistics: 06:41:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:41:31 File successfully converted to sysstat format version 12.2.1 06:41:31 + sadf -c /var/log/sa-host/sa23 06:41:31 file_magic: OK 06:41:31 HZ: Using current value: 100 06:41:31 file_header: OK 06:41:31 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 06:41:31 Statistics: 06:41:31 Hnuu...uuuununununu... 06:41:31 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:32 provisioning config files... 06:41:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-914@tmp/config3321802040527774791tmp [Pipeline] { [Pipeline] echo 06:41:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:41:32 ---> create-netrc.sh [Pipeline] } 06:41:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:41:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:41:33 ---> python-tools-install.sh [Pipeline] echo 06:41:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:41:33 ---> sudo-logs.sh 06:41:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:41:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:41:34 ---> job-cost.sh 06:41:34 lf-activate-venv: SKIPPING 06:41:34 DEBUG: total: 0.20999999344348907 06:41:34 INFO: Retrieving Stack Cost... 06:41:36 INFO: Retrieving Pricing Info for: v1-standard-2 06:41:36 INFO: Archiving Costs [Pipeline] echo 06:41:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:41:37 ---> logs-deploy.sh 06:41:37 lf-activate-venv: SKIPPING 06:41:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-914/1 06:41:37 INFO: archiving workspace using pattern(s): 06:41:40 Archives upload complete. 06:41:40 INFO: archiving logs to Nexus