Pull request #686 updated 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at c21ff6277396b81a1001baea71274dd2dd19f737 rather than c87251bf569d32dfb39ff8fe99e0140a145998b0 Obtained Jenkinsfile from c21ff6277396b81a1001baea71274dd2dd19f737 Running in Durability level: PERFORMANCE_OPTIMIZED 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-15363 in /w/workspace/dgexfoundry_device-sdk-go_PR-686 [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-686 # 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 > 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/686/head:refs/remotes/origin/PR-686 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit c87251bf569d32dfb39ff8fe99e0140a145998b0 Merge succeeded, producing c87251bf569d32dfb39ff8fe99e0140a145998b0 Checking out Revision c87251bf569d32dfb39ff8fe99e0140a145998b0 (PR-686) > git config core.sparsecheckout # timeout=10 > git checkout -f c87251bf569d32dfb39ff8fe99e0140a145998b0 # 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 c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c87251bf569d32dfb39ff8fe99e0140a145998b0 # timeout=10 Commit message: "Refactor: remove github.com/pkg/errors from Attribution.txt" > git rev-list --no-walk d72cc10d2d063d512d9bc35b15c6e16400e128c5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:39:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:39:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:39:22 ========================================================= 10:39:22 EdgeX Global Pipelines Version Info 10:39:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:39:24 ------------------- 10:39:24 stable info: 10:39:24 ------------------- 10:39:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:39:24 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 10:39:24 Message: update stable to v1.0.172 10:39:25 ------------------- 10:39:25 experimental info: 10:39:25 ------------------- 10:39:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:39:25 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 10:39:25 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:39:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:39:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:39:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:39:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:39:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:39:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:39:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:39:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:39:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:39:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:39:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:39:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:39:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:39:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:39:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:39:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:39:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:39:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:39:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:39:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:39:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:39:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:39:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:39:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:39:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:39:28 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 10:39:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-686 [Pipeline] echo 10:39:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-686 [Pipeline] echo 10:39:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-686 [Pipeline] echo 10:39:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c87251bf569d32dfb39ff8fe99e0140a145998b0 [Pipeline] echo 10:39:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c87251b [Pipeline] echo 10:39:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:39:29 provisioning config files... 10:39:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-686@tmp/config332873223053513649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:39:29 ---> docker-login.sh 10:39:29 nexus3.edgexfoundry.org:10001 10:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:30 Configure a credential helper to remove this warning. See 10:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:30 10:39:30 Login Succeeded 10:39:30 nexus3.edgexfoundry.org:10002 10:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:30 Configure a credential helper to remove this warning. See 10:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:30 10:39:30 Login Succeeded 10:39:30 nexus3.edgexfoundry.org:10003 10:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:30 Configure a credential helper to remove this warning. See 10:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:30 10:39:30 Login Succeeded 10:39:30 nexus3.edgexfoundry.org:10004 10:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:30 Configure a credential helper to remove this warning. See 10:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:30 10:39:30 Login Succeeded 10:39:30 docker.io 10:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:39:30 Configure a credential helper to remove this warning. See 10:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:39:30 10:39:30 Login Succeeded 10:39:30 ---> docker-login.sh ends [Pipeline] } 10:39:30 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 10:39:31 + git log --format=format:%s -1 c87251bf569d32dfb39ff8fe99e0140a145998b0 [Pipeline] echo 10:39:32 GIT_COMMIT: c87251bf569d32dfb39ff8fe99e0140a145998b0, Commit Message: Refactor: remove github.com/pkg/errors from Attribution.txt [Pipeline] echo 10:39:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:39:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:39:33 10:39:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:39:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:39:33 latest: Pulling from edgex-devops/git-semver 10:39:33 31603596830f: Pulling fs layer 10:39:33 2a8b12db71e7: Pulling fs layer 10:39:33 6ca5941a6612: Pulling fs layer 10:39:33 ecc8261a40a4: Pulling fs layer 10:39:33 ecc8261a40a4: Waiting 10:39:33 2a8b12db71e7: Verifying Checksum 10:39:33 2a8b12db71e7: Download complete 10:39:33 31603596830f: Verifying Checksum 10:39:33 31603596830f: Download complete 10:39:33 ecc8261a40a4: Verifying Checksum 10:39:33 ecc8261a40a4: Download complete 10:39:33 6ca5941a6612: Download complete 10:39:34 31603596830f: Pull complete 10:39:34 2a8b12db71e7: Pull complete 10:39:34 6ca5941a6612: Pull complete 10:39:35 ecc8261a40a4: Pull complete 10:39:35 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:39:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:39:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:39:35 prd-centos7-docker-4c-2g-15363 does not seem to be running inside a container 10:39:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-686 -v /w/workspace/dgexfoundry_device-sdk-go_PR-686:/w/workspace/dgexfoundry_device-sdk-go_PR-686:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-686@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-686@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:10004/edgex-devops/git-semver:latest cat 10:39:37 $ docker top 7d49f9606f959e1683c183f74dd11985ca4e99bec623deb4abee184a0d2ade38 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:39:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:38 [ssh-agent] Looking for ssh-agent implementation... 10:39:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:38 $ docker exec 7d49f9606f959e1683c183f74dd11985ca4e99bec623deb4abee184a0d2ade38 ssh-agent 10:39:38 SSH_AUTH_SOCK=/tmp/ssh-lvcSYZDEfhux/agent.12 10:39:38 SSH_AGENT_PID=18 10:39:38 Running ssh-add (command line suppressed) 10:39:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-686@tmp/private_key_3651615969133809552.key (/w/workspace/dgexfoundry_device-sdk-go_PR-686@tmp/private_key_3651615969133809552.key) 10:39:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:39 + git tag --points-at HEAD [Pipeline] } 10:39:39 $ docker exec --env ******** --env ******** 7d49f9606f959e1683c183f74dd11985ca4e99bec623deb4abee184a0d2ade38 ssh-agent -k 10:39:39 unset SSH_AUTH_SOCK; 10:39:39 unset SSH_AGENT_PID; 10:39:39 echo Agent pid 18 killed; 10:39:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:39:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:39:39 [ssh-agent] Looking for ssh-agent implementation... 10:39:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:39:39 $ docker exec 7d49f9606f959e1683c183f74dd11985ca4e99bec623deb4abee184a0d2ade38 ssh-agent 10:39:39 SSH_AUTH_SOCK=/tmp/ssh-2xwWx6my01gb/agent.47 10:39:39 SSH_AGENT_PID=52 10:39:39 Running ssh-add (command line suppressed) 10:39:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-686@tmp/private_key_6944203251602123331.key (/w/workspace/dgexfoundry_device-sdk-go_PR-686@tmp/private_key_6944203251602123331.key) 10:39:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:39:40 + git semver init 10:39:40 # -> Open(): unable to determine branch for HEAD 10:39:40 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-686/.git 10:39:40 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-686 10:39:40 # $SEMVER_REMOTE_NAME = origin 10:39:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:39:40 # $SEMVER_USER_NAME = edgex-jenkins 10:39:40 # $SEMVER_BRANCH = PR-686 10:39:40 # $SEMVER_TEMP = /tmp/semver-795137193 10:39:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:39:40 # '/tmp/semver-795137193' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-686/.semver' 10:39:41 # -> Force: false 10:39:41 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-686/.semver [Pipeline] } 10:39:41 $ docker exec --env ******** --env ******** 7d49f9606f959e1683c183f74dd11985ca4e99bec623deb4abee184a0d2ade38 ssh-agent -k 10:39:41 unset SSH_AUTH_SOCK; 10:39:41 unset SSH_AGENT_PID; 10:39:41 echo Agent pid 52 killed; 10:39:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:39:41 + git semver [Pipeline] } 10:39:41 $ docker stop --time=1 7d49f9606f959e1683c183f74dd11985ca4e99bec623deb4abee184a0d2ade38 10:39:43 $ docker rm -f 7d49f9606f959e1683c183f74dd11985ca4e99bec623deb4abee184a0d2ade38 [Pipeline] // withDockerContainer [Pipeline] sh 10:39:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:39:44 Stashed 1 file(s) [Pipeline] echo 10:39:44 [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 10:39:59 Still waiting to schedule task 10:39:59 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-15363’ 10:39:59 Still waiting to schedule task 10:39:59 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 10:41:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15364 in /w/workspace/dgexfoundry_device-sdk-go_PR-686 [Pipeline] { [Pipeline] ws 10:41:47 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 10:41:53 using credential edgex-jenkins-ssh 10:41:53 Cloning the remote Git repository 10:41:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:41:53 > git init /w/workspace/device-sdk-go/2 # timeout=10 10:41:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:41:53 > git --version # timeout=10 10:41:53 > git --version # 'git version 2.17.1' 10:41:53 using GIT_SSH to set credentials SSH Credentials for GitHub 10:41:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:41:55 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit c87251bf569d32dfb39ff8fe99e0140a145998b0 10:41:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:41:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:41:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:41:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:41:54 using GIT_SSH to set credentials SSH Credentials for GitHub 10:41:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/686/head:refs/remotes/origin/PR-686 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:41:55 > git config core.sparsecheckout # timeout=10 10:41:55 > git checkout -f c87251bf569d32dfb39ff8fe99e0140a145998b0 # timeout=10 10:41:55 Merge succeeded, producing c87251bf569d32dfb39ff8fe99e0140a145998b0 10:41:55 Checking out Revision c87251bf569d32dfb39ff8fe99e0140a145998b0 (PR-686) 10:41:55 > git remote # timeout=10 10:41:55 > git config --get remote.origin.url # timeout=10 10:41:55 using GIT_SSH to set credentials SSH Credentials for GitHub 10:41:55 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 10:41:55 > git rev-parse HEAD^{commit} # timeout=10 10:41:55 > git config core.sparsecheckout # timeout=10 10:41:55 > git checkout -f c87251bf569d32dfb39ff8fe99e0140a145998b0 # timeout=10 10:42:00 Commit message: "Refactor: remove github.com/pkg/errors from Attribution.txt" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:42:01 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:42:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:42:02 + sudo service docker restart 10:42:02 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:42:05 provisioning config files... 10:42:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3033220433603525131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:42:05 ---> docker-login.sh 10:42:05 nexus3.edgexfoundry.org:10001 10:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:07 Configure a credential helper to remove this warning. See 10:42:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:07 10:42:07 Login Succeeded 10:42:07 nexus3.edgexfoundry.org:10002 10:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:07 Configure a credential helper to remove this warning. See 10:42:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:07 10:42:07 Login Succeeded 10:42:07 nexus3.edgexfoundry.org:10003 10:42:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:07 Configure a credential helper to remove this warning. See 10:42:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:07 10:42:07 Login Succeeded 10:42:07 nexus3.edgexfoundry.org:10004 10:42:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:08 Configure a credential helper to remove this warning. See 10:42:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:08 10:42:08 Login Succeeded 10:42:08 docker.io 10:42:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:09 Configure a credential helper to remove this warning. See 10:42:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:09 10:42:09 Login Succeeded 10:42:09 ---> docker-login.sh ends [Pipeline] } 10:42:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:42:09 ========================================================= 10:42:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:42:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:42:10 + 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 . 10:42:10 Sending build context to Docker daemon 2.451MB 10:42:10 Step 1/8 : ARG BASE=golang:1.15-alpine 10:42:10 Step 2/8 : FROM ${BASE} 10:42:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:42:10 5f621e34cdf4: Pulling fs layer 10:42:10 a4357932f1b6: Pulling fs layer 10:42:10 18c013af1878: Pulling fs layer 10:42:10 00ac8860ef70: Pulling fs layer 10:42:10 63d7cb157983: Pulling fs layer 10:42:10 b116817d02f9: Pulling fs layer 10:42:10 745a02a5169b: Pulling fs layer 10:42:10 63d7cb157983: Waiting 10:42:10 b116817d02f9: Waiting 10:42:10 745a02a5169b: Waiting 10:42:10 00ac8860ef70: Waiting 10:42:10 18c013af1878: Verifying Checksum 10:42:10 18c013af1878: Download complete 10:42:10 a4357932f1b6: Verifying Checksum 10:42:10 a4357932f1b6: Download complete 10:42:10 63d7cb157983: Verifying Checksum 10:42:10 63d7cb157983: Download complete 10:42:10 5f621e34cdf4: Verifying Checksum 10:42:10 b116817d02f9: Verifying Checksum 10:42:10 b116817d02f9: Download complete 10:42:11 5f621e34cdf4: Pull complete 10:42:12 a4357932f1b6: Pull complete 10:42:12 18c013af1878: Pull complete 10:42:14 745a02a5169b: Verifying Checksum 10:42:14 745a02a5169b: Download complete 10:42:14 00ac8860ef70: Download complete 10:42:23 Running on prd-centos7-docker-4c-2g-15365 in /w/workspace/dgexfoundry_device-sdk-go_PR-686 [Pipeline] { [Pipeline] ws 10:42:23 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 10:42:24 00ac8860ef70: Pull complete 10:42:24 63d7cb157983: Pull complete 10:42:25 b116817d02f9: Pull complete 10:42:25 using credential edgex-jenkins-ssh 10:42:25 Cloning the remote Git repository 10:42:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:42:26 > git init /w/workspace/device-sdk-go/2 # timeout=10 10:42:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:42:26 > git --version # timeout=10 10:42:26 > git --version # 'git version 2.24.3' 10:42:26 using GIT_SSH to set credentials SSH Credentials for GitHub 10:42:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:42:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:42:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:42:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:42:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:42:26 using GIT_SSH to set credentials SSH Credentials for GitHub 10:42:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/686/head:refs/remotes/origin/PR-686 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:42:27 Merging remotes/origin/master commit c21ff6277396b81a1001baea71274dd2dd19f737 into PR head commit c87251bf569d32dfb39ff8fe99e0140a145998b0 10:42:27 Merge succeeded, producing c87251bf569d32dfb39ff8fe99e0140a145998b0 10:42:27 Checking out Revision c87251bf569d32dfb39ff8fe99e0140a145998b0 (PR-686) 10:42:27 > git config core.sparsecheckout # timeout=10 10:42:27 > git checkout -f c87251bf569d32dfb39ff8fe99e0140a145998b0 # timeout=10 10:42:27 > git remote # timeout=10 10:42:27 > git config --get remote.origin.url # timeout=10 10:42:27 using GIT_SSH to set credentials SSH Credentials for GitHub 10:42:27 > git merge c21ff6277396b81a1001baea71274dd2dd19f737 # timeout=10 10:42:27 > git rev-parse HEAD^{commit} # timeout=10 10:42:27 > git config core.sparsecheckout # timeout=10 10:42:27 > git checkout -f c87251bf569d32dfb39ff8fe99e0140a145998b0 # timeout=10 10:42:28 745a02a5169b: Pull complete 10:42:28 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 10:42:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:42:28 ---> b7e6874047d6 10:42:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:42:31 Commit message: "Refactor: remove github.com/pkg/errors from Attribution.txt" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:42:32 ---> Running in 66f27a8bda19 10:42:32 Removing intermediate container 66f27a8bda19 10:42:32 ---> 577a9e10ec08 10:42:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:42:32 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:42:32 ---> Running in f42e2cfa7e50 10:42:32 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:42:33 + sudo service docker restart 10:42:33 + true 10:42:33 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:42:34 provisioning config files... 10:42:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2083946562561020306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:42:34 ---> docker-login.sh 10:42:34 nexus3.edgexfoundry.org:10001 10:42:34 Removing intermediate container f42e2cfa7e50 10:42:34 ---> b56589f87375 10:42:34 Step 5/8 : RUN apk add --no-cache make git 10:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:34 Configure a credential helper to remove this warning. See 10:42:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:34 10:42:34 Login Succeeded 10:42:34 nexus3.edgexfoundry.org:10002 10:42:34 ---> Running in 8eba9aefd6a3 10:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:35 Configure a credential helper to remove this warning. See 10:42:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:35 10:42:35 Login Succeeded 10:42:35 nexus3.edgexfoundry.org:10003 10:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:35 Configure a credential helper to remove this warning. See 10:42:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:35 10:42:35 Login Succeeded 10:42:35 nexus3.edgexfoundry.org:10004 10:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:35 Configure a credential helper to remove this warning. See 10:42:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:35 10:42:35 Login Succeeded 10:42:35 docker.io 10:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:42:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:42:35 Configure a credential helper to remove this warning. See 10:42:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:42:35 10:42:35 Login Succeeded 10:42:35 ---> docker-login.sh ends [Pipeline] } 10:42:35 Deleting 1 temporary files 10:42:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:42:36 ========================================================= 10:42:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:42:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:42:36 + 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 . 10:42:36 Sending build context to Docker daemon 2.452MB 10:42:36 Step 1/8 : ARG BASE=golang:1.15-alpine 10:42:36 Step 2/8 : FROM ${BASE} 10:42:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:42:36 188c0c94c7c5: Pulling fs layer 10:42:36 0ef7d3d256c8: Pulling fs layer 10:42:36 de9db76c5a1d: Pulling fs layer 10:42:36 bca2f99d35d6: Pulling fs layer 10:42:36 93359f2a8cfa: Pulling fs layer 10:42:36 7c6f9722023f: Pulling fs layer 10:42:36 a35cf1a2eb13: Pulling fs layer 10:42:36 93359f2a8cfa: Waiting 10:42:36 bca2f99d35d6: Waiting 10:42:36 7c6f9722023f: Waiting 10:42:36 a35cf1a2eb13: Waiting 10:42:36 de9db76c5a1d: Verifying Checksum 10:42:36 de9db76c5a1d: Download complete 10:42:36 0ef7d3d256c8: Verifying Checksum 10:42:36 0ef7d3d256c8: Download complete 10:42:36 93359f2a8cfa: Verifying Checksum 10:42:36 93359f2a8cfa: Download complete 10:42:36 188c0c94c7c5: Verifying Checksum 10:42:36 188c0c94c7c5: Download complete 10:42:36 7c6f9722023f: Verifying Checksum 10:42:36 7c6f9722023f: Download complete 10:42:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:42:36 188c0c94c7c5: Pull complete 10:42:37 0ef7d3d256c8: Pull complete 10:42:37 de9db76c5a1d: Pull complete 10:42:37 OK: 142 MiB in 39 packages 10:42:38 a35cf1a2eb13: Verifying Checksum 10:42:38 a35cf1a2eb13: Download complete 10:42:38 Removing intermediate container 8eba9aefd6a3 10:42:38 ---> 569628e67e6a 10:42:38 Step 6/8 : WORKDIR /device-sdk-go 10:42:38 ---> Running in b713c244150e 10:42:39 Removing intermediate container b713c244150e 10:42:39 ---> a2c14a38c2e4 10:42:39 Step 7/8 : COPY . . 10:42:39 bca2f99d35d6: Verifying Checksum 10:42:39 bca2f99d35d6: Download complete 10:42:40 ---> 99b2306c4189 10:42:40 Step 8/8 : RUN go mod download 10:42:40 ---> Running in 898dfe4c663a 10:42:44 bca2f99d35d6: Pull complete 10:42:44 93359f2a8cfa: Pull complete 10:42:44 7c6f9722023f: Pull complete 10:42:53 a35cf1a2eb13: Pull complete 10:42:53 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 10:42:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:42:53 ---> a62c8e92a672 10:42:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:42:53 ---> Running in 8154171d316f 10:42:53 Removing intermediate container 8154171d316f 10:42:53 ---> a2e7a9c0f5b2 10:42:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:42:53 ---> Running in 2f9055609b46 10:42:53 Removing intermediate container 2f9055609b46 10:42:53 ---> 33faf957493f 10:42:53 Step 5/8 : RUN apk add --no-cache make git 10:42:53 ---> Running in 555bd95ae519 10:42:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:42:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:42:55 OK: 166 MiB in 39 packages 10:42:56 Removing intermediate container 555bd95ae519 10:42:56 ---> 7d564f7099ab 10:42:56 Step 6/8 : WORKDIR /device-sdk-go 10:42:56 ---> Running in 3ccb70cd4fd6 10:42:56 Removing intermediate container 3ccb70cd4fd6 10:42:56 ---> b2427686801e 10:42:56 Step 7/8 : COPY . . 10:42:57 ---> 8cfad281a16a 10:42:57 Step 8/8 : RUN go mod download 10:42:57 ---> Running in 0914d6e27055 10:43:03 Removing intermediate container 898dfe4c663a 10:43:03 ---> acd1f9507e2e 10:43:03 Successfully built acd1f9507e2e 10:43:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:43:03 + docker inspect -f . ci-base-image-arm64 10:43:03 . [Pipeline] withDockerContainer 10:43:03 prd-ubuntu18.04-docker-arm64-4c-16g-15364 does not seem to be running inside a container 10:43:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:43:05 $ docker top 6455ceb2152d6c288ca353e7fb7deb55e7142b75c56fe4ab4d8503575ee33776 -eo pid,comm [Pipeline] { [Pipeline] sh 10:43:06 + go version 10:43:06 go version go1.15.5 linux/arm64 [Pipeline] } 10:43:06 $ docker stop --time=1 6455ceb2152d6c288ca353e7fb7deb55e7142b75c56fe4ab4d8503575ee33776 10:43:08 $ docker rm -f 6455ceb2152d6c288ca353e7fb7deb55e7142b75c56fe4ab4d8503575ee33776 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:43:09 + docker inspect -f . ci-base-image-arm64 10:43:09 . [Pipeline] withDockerContainer 10:43:09 prd-ubuntu18.04-docker-arm64-4c-16g-15364 does not seem to be running inside a container 10:43:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:43:11 $ docker top 29d6af7f1d0d3c5e5915bbb2ad2ae5d3041e34f3f84a2b3aece22b3df6a77faf -eo pid,comm [Pipeline] { [Pipeline] sh 10:43:12 + make test 10:43:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:43:16 Removing intermediate container 0914d6e27055 10:43:16 ---> 31e11d1f4127 10:43:16 Successfully built 31e11d1f4127 10:43:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:43:16 + docker inspect -f . ci-base-image-x86_64 10:43:16 . [Pipeline] withDockerContainer 10:43:16 prd-centos7-docker-4c-2g-15365 does not seem to be running inside a container 10:43:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:43:18 $ docker top 0e5a59cd27ac70a37e1ff8fcd606b5c065f1c6c7458a16c4337fad404192b004 -eo pid,comm [Pipeline] { [Pipeline] sh 10:43:18 + go version 10:43:18 go version go1.15.5 linux/amd64 [Pipeline] } 10:43:18 $ docker stop --time=1 0e5a59cd27ac70a37e1ff8fcd606b5c065f1c6c7458a16c4337fad404192b004 10:43:19 $ docker rm -f 0e5a59cd27ac70a37e1ff8fcd606b5c065f1c6c7458a16c4337fad404192b004 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:43:21 + docker inspect -f . ci-base-image-x86_64 10:43:21 . [Pipeline] withDockerContainer 10:43:21 prd-centos7-docker-4c-2g-15365 does not seem to be running inside a container 10:43:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:43:21 $ docker top d9c57198029c10665914ea2b7047dfcf856fd8b29fbbad0a5a2a2f0667fa677c -eo pid,comm [Pipeline] { [Pipeline] sh 10:43:22 + make test 10:43:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:43:28 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:43:34 ? github.com/edgexfoundry/device-sdk-go [no test files] 10:43:43 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:43:43 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:43:43 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:43:43 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.061s coverage: 20.6% of statements 10:43:44 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.462s coverage: 97.1% of statements 10:44:13 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 10:44:13 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 10:44:13 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 10:44:13 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.128s coverage: 20.6% of statements 10:44:17 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.063s coverage: 9.4% of statements 10:44:17 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.054s coverage: 21.9% of statements 10:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:44:17 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.231s coverage: 42.5% of statements 10:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:44:17 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.281s coverage: 68.9% of statements 10:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 10:44:17 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.074s coverage: 53.8% of statements 10:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 10:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 10:44:17 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 10:44:17 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.332s coverage: 68.9% of statements 10:44:17 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.6% of statements 10:44:17 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:44:17 GO111MODULE=on go vet ./... 10:44:17 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.209s coverage: 97.1% of statements 10:44:23 gofmt -l . 10:44:23 [ "`gofmt -l .`" = "" ] 10:44:23 ./bin/test-attribution-txt.sh 10:44:23 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:44:24 $ docker stop --time=1 d9c57198029c10665914ea2b7047dfcf856fd8b29fbbad0a5a2a2f0667fa677c 10:44:26 $ docker rm -f d9c57198029c10665914ea2b7047dfcf856fd8b29fbbad0a5a2a2f0667fa677c [Pipeline] // withDockerContainer [Pipeline] sh 10:44:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:44:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:44:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:44:30 + ls -al . 10:44:30 total 208 10:44:30 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 10 10:44 . 10:44:30 drwxrwxr-x. 4 jenkins jenkins 28 Dec 10 10:42 .. 10:44:30 drwxrwxr-x. 2 jenkins jenkins 64 Dec 10 10:42 bin 10:44:30 -rw-r--r--. 1 jenkins jenkins 128828 Dec 10 10:44 coverage.out 10:44:30 -rw-rw-r--. 1 jenkins jenkins 936 Dec 10 10:42 Dockerfile.build 10:44:30 -rw-rw-r--. 1 jenkins jenkins 140 Dec 10 10:42 .dockerignore 10:44:30 drwxrwxr-x. 4 jenkins jenkins 48 Dec 10 10:42 example 10:44:30 drwxrwxr-x. 8 jenkins jenkins 179 Dec 10 10:42 .git 10:44:30 drwxrwxr-x. 2 jenkins jenkins 103 Dec 10 10:42 .github 10:44:30 -rw-rw-r--. 1 jenkins jenkins 138 Dec 10 10:42 .gitignore 10:44:30 -rw-r--r--. 1 jenkins jenkins 488 Dec 10 10:44 go.mod 10:44:30 -rw-r--r--. 1 jenkins jenkins 13631 Dec 10 10:44 go.sum 10:44:30 drwxrwxr-x. 15 jenkins jenkins 211 Dec 10 10:42 internal 10:44:30 -rw-rw-r--. 1 jenkins jenkins 901 Dec 10 10:42 Jenkinsfile 10:44:30 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 10 10:42 LICENSE 10:44:30 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 10 10:42 Makefile 10:44:30 drwxrwxr-x. 4 jenkins jenkins 26 Dec 10 10:42 openapi 10:44:30 drwxrwxr-x. 5 jenkins jenkins 50 Dec 10 10:42 pkg 10:44:30 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 10 10:42 README.md 10:44:30 -rw-rw-r--. 1 jenkins jenkins 4291 Dec 10 10:42 RELEASE-NOTES.txt 10:44:30 drwxrwxr-x. 4 jenkins jenkins 54 Dec 10 10:42 snap 10:44:30 -rw-rw-r--. 1 jenkins jenkins 5 Dec 10 10:39 VERSION 10:44:30 -rw-rw-r--. 1 jenkins jenkins 222 Dec 10 10:42 version.go [Pipeline] isUnix [Pipeline] sh 10:44:30 + 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=c87251bf569d32dfb39ff8fe99e0140a145998b0 --label arch=amd64 --label version=0.0.0 . 10:44:30 Sending build context to Docker daemon 2.582MB 10:44:30 Step 1/24 : ARG BASE=golang:1.15-alpine 10:44:30 Step 2/24 : FROM ${BASE} AS builder 10:44:30 ---> 31e11d1f4127 10:44:30 Step 3/24 : ARG MAKE='make build' 10:44:31 ---> Running in 015f19c27d6d 10:44:31 Removing intermediate container 015f19c27d6d 10:44:31 ---> 0495b8487532 10:44:31 Step 4/24 : WORKDIR /device-sdk-go 10:44:31 ---> Running in 96ce60d69b7f 10:44:31 Removing intermediate container 96ce60d69b7f 10:44:31 ---> 3eb1e6c1c430 10:44:31 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:44:31 ---> Running in fcf9ed5e8250 10:44:31 Removing intermediate container fcf9ed5e8250 10:44:31 ---> 35bdb82da591 10:44:31 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:44:32 ---> Running in 342e43344b2a 10:44:32 Removing intermediate container 342e43344b2a 10:44:32 ---> 0e330cb7d4af 10:44:32 Step 7/24 : RUN apk add --update --no-cache make git 10:44:32 ---> Running in 2fed2d1092c6 10:44:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:44:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:44:34 OK: 166 MiB in 39 packages 10:44:35 Removing intermediate container 2fed2d1092c6 10:44:35 ---> fd6df0583a53 10:44:35 Step 8/24 : COPY . . 10:44:36 ---> 93fc55dafc6d 10:44:36 Step 9/24 : RUN ${MAKE} 10:44:36 ---> Running in fb55669161e7 10:44:36 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:44:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:44:46 Removing intermediate container fb55669161e7 10:44:46 ---> 3571883003d2 10:44:46 Step 10/24 : FROM scratch 10:44:46 ---> 10:44:46 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:44:46 ---> Running in acaef6e8b806 10:44:46 Removing intermediate container acaef6e8b806 10:44:46 ---> a92504f18e21 10:44:46 Step 12/24 : ENV APP_PORT=49990 10:44:46 ---> Running in e65f90932f45 10:44:47 Removing intermediate container e65f90932f45 10:44:47 ---> 2b14e61e5e51 10:44:47 Step 13/24 : EXPOSE $APP_PORT 10:44:47 ---> Running in 4d5347759f53 10:44:47 Removing intermediate container 4d5347759f53 10:44:47 ---> cc8bddc849a9 10:44:47 Step 14/24 : WORKDIR / 10:44:47 ---> Running in 4ffc7a4d4c1c 10:44:48 Removing intermediate container 4ffc7a4d4c1c 10:44:48 ---> c2aa57912f66 10:44:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:44:48 ---> e3eb91969bb5 10:44:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:44:48 ---> 518a07649ee8 10:44:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:44:49 ---> 994ff1411ef1 10:44:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:44:49 ---> 50b437f44e3a 10:44:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:44:49 ---> d6e5b092e712 10:44:49 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:44:49 ---> Running in 583121de84f3 10:44:49 Removing intermediate container 583121de84f3 10:44:49 ---> 1920d13d69a8 10:44:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:44:49 ---> Running in 780d94ed0184 10:44:50 Removing intermediate container 780d94ed0184 10:44:50 ---> b305fdc5ae8f 10:44:50 Step 22/24 : LABEL arch=amd64 10:44:50 ---> Running in 653100798f91 10:44:50 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.182s coverage: 9.4% of statements 10:44:50 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.144s coverage: 21.9% of statements 10:44:50 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 10:44:50 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.588s coverage: 42.5% of statements 10:44:50 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 10:44:50 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.820s coverage: 68.9% of statements 10:44:50 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 10:44:50 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 10:44:50 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 10:44:50 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 10:44:50 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.199s coverage: 53.8% of statements 10:44:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 10:44:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 10:44:50 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 10:44:50 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.718s coverage: 68.9% of statements 10:44:50 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.142s coverage: 4.6% of statements 10:44:50 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 10:44:50 GO111MODULE=on go vet ./... 10:44:50 Removing intermediate container 653100798f91 10:44:50 ---> 2095043f0897 10:44:50 Step 23/24 : LABEL git_sha=c87251bf569d32dfb39ff8fe99e0140a145998b0 10:44:50 ---> Running in 275ebafd8f9a 10:44:50 Removing intermediate container 275ebafd8f9a 10:44:50 ---> 524189f1755b 10:44:50 Step 24/24 : LABEL version=0.0.0 10:44:50 ---> Running in 2411719c3067 10:44:50 Removing intermediate container 2411719c3067 10:44:50 ---> fef959e91aa1 10:44:50 [Warning] One or more build-args [ARCH] were not consumed 10:44:50 Successfully built fef959e91aa1 10:44:50 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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:45:17 gofmt -l . 10:45:17 [ "`gofmt -l .`" = "" ] 10:45:17 ./bin/test-attribution-txt.sh 10:45:17 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:45:18 $ docker stop --time=1 29d6af7f1d0d3c5e5915bbb2ad2ae5d3041e34f3f84a2b3aece22b3df6a77faf 10:45:20 $ docker rm -f 29d6af7f1d0d3c5e5915bbb2ad2ae5d3041e34f3f84a2b3aece22b3df6a77faf [Pipeline] // withDockerContainer [Pipeline] sh 10:45:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:45:21 Warning: overwriting stash ‘coverage-report’ 10:45:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:45:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:45:23 + ls -al . 10:45:23 total 244 10:45:23 drwxrwxr-x 10 jenkins jenkins 4096 Dec 10 10:45 . 10:45:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 10:41 .. 10:45:23 -rw-rw-r-- 1 jenkins jenkins 140 Dec 10 10:41 .dockerignore 10:45:23 drwxrwxr-x 8 jenkins jenkins 4096 Dec 10 10:41 .git 10:45:23 drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 10:41 .github 10:45:23 -rw-rw-r-- 1 jenkins jenkins 138 Dec 10 10:41 .gitignore 10:45:23 -rw-rw-r-- 1 jenkins jenkins 936 Dec 10 10:41 Dockerfile.build 10:45:23 -rw-rw-r-- 1 jenkins jenkins 901 Dec 10 10:41 Jenkinsfile 10:45:23 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 10 10:41 LICENSE 10:45:23 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 10 10:41 Makefile 10:45:23 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 10 10:41 README.md 10:45:23 -rw-rw-r-- 1 jenkins jenkins 4291 Dec 10 10:41 RELEASE-NOTES.txt 10:45:23 -rw-rw-r-- 1 jenkins jenkins 5 Dec 10 10:39 VERSION 10:45:23 drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 10:41 bin 10:45:23 -rw-r--r-- 1 jenkins jenkins 128828 Dec 10 10:44 coverage.out 10:45:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 10:41 example 10:45:23 -rw-r--r-- 1 jenkins jenkins 488 Dec 10 10:45 go.mod 10:45:23 -rw-r--r-- 1 jenkins jenkins 13631 Dec 10 10:45 go.sum 10:45:23 drwxrwxr-x 15 jenkins jenkins 4096 Dec 10 10:41 internal 10:45:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 10:41 openapi 10:45:23 drwxrwxr-x 5 jenkins jenkins 4096 Dec 10 10:41 pkg 10:45:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 10:41 snap 10:45:23 -rw-rw-r-- 1 jenkins jenkins 222 Dec 10 10:41 version.go [Pipeline] isUnix [Pipeline] sh 10:45:23 + 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=c87251bf569d32dfb39ff8fe99e0140a145998b0 --label arch=arm64 --label version=0.0.0 . 10:45:24 Sending build context to Docker daemon 2.581MB 10:45:24 Step 1/24 : ARG BASE=golang:1.15-alpine 10:45:24 Step 2/24 : FROM ${BASE} AS builder 10:45:24 ---> acd1f9507e2e 10:45:24 Step 3/24 : ARG MAKE='make build' 10:45:24 ---> Running in d2aebf131103 10:45:24 Removing intermediate container d2aebf131103 10:45:24 ---> b504e5f13550 10:45:24 Step 4/24 : WORKDIR /device-sdk-go 10:45:24 ---> Running in 0eb529dd22a1 10:45:25 Removing intermediate container 0eb529dd22a1 10:45:25 ---> 97e38493307c 10:45:25 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:45:25 ---> Running in ad87e096cbe8 10:45:26 Removing intermediate container ad87e096cbe8 10:45:26 ---> 13f2fac358be 10:45:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:45:26 ---> Running in 08d3cc549016 10:45:28 Removing intermediate container 08d3cc549016 10:45:28 ---> 73764f6820e1 10:45:28 Step 7/24 : RUN apk add --update --no-cache make git 10:45:28 ---> Running in dc7827ba3c50 10:45:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:45:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:45:30 OK: 142 MiB in 39 packages 10:45:32 Removing intermediate container dc7827ba3c50 10:45:32 ---> ad6b991d3fe7 10:45:32 Step 8/24 : COPY . . 10:45:33 ---> c9816d214073 10:45:33 Step 9/24 : RUN ${MAKE} 10:45:33 ---> Running in 10b6624ef313 10:45:34 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:46:01 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 10:46:01 Removing intermediate container 10b6624ef313 10:46:01 ---> 7acd0317983f 10:46:01 Step 10/24 : FROM scratch 10:46:01 ---> 10:46:01 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:46:01 ---> Running in 9b42de54da4a 10:46:01 Removing intermediate container 9b42de54da4a 10:46:01 ---> 88f58f87e412 10:46:01 Step 12/24 : ENV APP_PORT=49990 10:46:01 ---> Running in 9794b4e40678 10:46:02 Removing intermediate container 9794b4e40678 10:46:02 ---> 5496c77772de 10:46:02 Step 13/24 : EXPOSE $APP_PORT 10:46:02 ---> Running in 65282e4aa09d 10:46:02 Removing intermediate container 65282e4aa09d 10:46:02 ---> d8f93dc5ad1e 10:46:02 Step 14/24 : WORKDIR / 10:46:02 ---> Running in 942c5de6570a 10:46:03 Removing intermediate container 942c5de6570a 10:46:03 ---> cd926c50f861 10:46:03 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 10:46:04 ---> aacd7ec8581a 10:46:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 10:46:04 ---> 9cadbe57bb2f 10:46:04 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 10:46:05 ---> f64e920360f4 10:46:05 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 10:46:06 ---> be82c3872432 10:46:06 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 10:46:07 ---> 69f9aa803187 10:46:07 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 10:46:07 ---> Running in 1fcd9d134547 10:46:07 Removing intermediate container 1fcd9d134547 10:46:07 ---> f2ec04562b0c 10:46:07 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:46:07 ---> Running in 6741dc7e76d9 10:46:08 Removing intermediate container 6741dc7e76d9 10:46:08 ---> f0022e1984d4 10:46:08 Step 22/24 : LABEL arch=arm64 10:46:08 ---> Running in 63219e59bc10 10:46:09 Removing intermediate container 63219e59bc10 10:46:09 ---> 312467545090 10:46:09 Step 23/24 : LABEL git_sha=c87251bf569d32dfb39ff8fe99e0140a145998b0 10:46:09 ---> Running in 97dba80c9060 10:46:09 Removing intermediate container 97dba80c9060 10:46:09 ---> b3aa224be538 10:46:09 Step 24/24 : LABEL version=0.0.0 10:46:09 ---> Running in 34abda457378 10:46:09 Removing intermediate container 34abda457378 10:46:09 ---> 4b004fd46a0a 10:46:09 [Warning] One or more build-args [ARCH] were not consumed 10:46:10 Successfully built 4b004fd46a0a 10:46:10 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 [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 10:46:12 provisioning config files... 10:46:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-686@tmp/config2541661974440161106tmp [Pipeline] { [Pipeline] sh 10:46:12 + set +x 10:46:12 + curl -s https://codecov.io/bash 10:46:12 + bash -s -- 10:46:13 10:46:13 _____ _ 10:46:13 / ____| | | 10:46:13 | | ___ __| | ___ ___ _____ __ 10:46:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:46:13 | |___| (_) | (_| | __/ (_| (_) \ V / 10:46:13 \_____\___/ \__,_|\___|\___\___/ \_/ 10:46:13 Bash-20201130-cc6d3fe 10:46:13 10:46:13 10:46:13 ==> Jenkins CI detected. 10:46:13 project root: . 10:46:13 --> token set from env 10:46:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:46:13 ==> Running gcov in . (disable via -X gcov) 10:46:13 ==> Python coveragepy not found 10:46:13 ==> Searching for coverage reports in: 10:46:13 + . 10:46:13 -> Found 1 reports 10:46:13 ==> Detecting git/mercurial file structure 10:46:13 ==> Reading reports 10:46:13 + ./coverage.out bytes=128828 10:46:13 ==> Appending adjustments 10:46:13 https://docs.codecov.io/docs/fixing-reports 10:46:13 + Found adjustments 10:46:13 ==> Gzipping contents 10:46:13 24K /tmp/codecov.4Shi5z.gz 10:46:13 ==> Uploading reports 10:46:13 url: https://codecov.io 10:46:13 query: branch=PR-686&commit=c87251bf569d32dfb39ff8fe99e0140a145998b0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-686%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=686&job=&cmd_args= 10:46:13 -> Pinging Codecov 10:46:13 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-686&commit=c87251bf569d32dfb39ff8fe99e0140a145998b0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-686%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=686&job=&cmd_args= 10:46:13 -> Uploading to 10:46:13 https://storage.googleapis.com/codecov/v4/raw/2020-12-10/7E55EF52A471D76F132DFD9A03CDDE97/c87251bf569d32dfb39ff8fe99e0140a145998b0/64452dfc-88f6-4526-aa9a-5c44977a4bc7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201210%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201210T104613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6a0e2a787e1d363b48c3d1cfdae01c8ea87b1ef17a7af305519f5be472b87536 10:46:13 % Total % Received % Xferd Average Speed Time Time Time Current 10:46:13 Dload Upload Total Spent Left Speed 10:46:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21075 0 0 100 21075 0 50705 --:--:-- --:--:-- --:--:-- 50783 10:46:14 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c87251bf569d32dfb39ff8fe99e0140a145998b0 [Pipeline] } 10:46:14 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 10:46:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:46:19 ---> package-listing.sh 10:46:19 ++ facter osfamily 10:46:19 ++ tr '[:upper:]' '[:lower:]' 10:46:19 + OS_FAMILY=redhat 10:46:19 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-686 10:46:19 + START_PACKAGES=/tmp/packages_start.txt 10:46:19 + END_PACKAGES=/tmp/packages_end.txt 10:46:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:46:19 + PACKAGES=/tmp/packages_start.txt 10:46:19 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-686 ']' 10:46:19 + PACKAGES=/tmp/packages_end.txt 10:46:19 + case "${OS_FAMILY}" in 10:46:19 + rpm -qa 10:46:19 + sort 10:46:23 + '[' -f /tmp/packages_start.txt ']' 10:46:23 + '[' -f /tmp/packages_end.txt ']' 10:46:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:46:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-686 ']' 10:46:23 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-686/archives/ 10:46:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-686/archives/ [Pipeline] echo 10:46:23 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-686/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:46:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:46:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:46:23 10:46:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:46:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:46:24 alpine: Pulling from edgex-lftools-log-publisher 10:46:24 df20fa9351a1: Pulling fs layer 10:46:24 36b3adc4ff6f: Pulling fs layer 10:46:24 8ad3a11d3b57: Pulling fs layer 10:46:24 46f8f816bc3b: Pulling fs layer 10:46:24 93b61091891f: Pulling fs layer 10:46:24 93b9cdb0e59b: Pulling fs layer 10:46:24 5e14af77c1be: Pulling fs layer 10:46:24 01666e4c0597: Pulling fs layer 10:46:24 aa168da1d23b: Pulling fs layer 10:46:24 93b9cdb0e59b: Waiting 10:46:24 01666e4c0597: Waiting 10:46:24 5e14af77c1be: Waiting 10:46:24 aa168da1d23b: Waiting 10:46:24 46f8f816bc3b: Waiting 10:46:24 93b61091891f: Waiting 10:46:24 36b3adc4ff6f: Download complete 10:46:24 46f8f816bc3b: Download complete 10:46:24 df20fa9351a1: Verifying Checksum 10:46:24 df20fa9351a1: Download complete 10:46:24 93b9cdb0e59b: Verifying Checksum 10:46:24 93b9cdb0e59b: Download complete 10:46:24 5e14af77c1be: Verifying Checksum 10:46:24 5e14af77c1be: Download complete 10:46:24 93b61091891f: Verifying Checksum 10:46:24 93b61091891f: Download complete 10:46:24 df20fa9351a1: Pull complete 10:46:24 36b3adc4ff6f: Pull complete 10:46:24 8ad3a11d3b57: Verifying Checksum 10:46:24 8ad3a11d3b57: Download complete 10:46:25 01666e4c0597: Verifying Checksum 10:46:25 01666e4c0597: Download complete 10:46:25 8ad3a11d3b57: Pull complete 10:46:25 46f8f816bc3b: Pull complete 10:46:26 aa168da1d23b: Verifying Checksum 10:46:26 aa168da1d23b: Download complete 10:46:27 93b61091891f: Pull complete 10:46:27 93b9cdb0e59b: Pull complete 10:46:27 5e14af77c1be: Pull complete 10:46:27 01666e4c0597: Pull complete 10:46:36 aa168da1d23b: Pull complete 10:46:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:46:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:46:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:46:36 prd-centos7-docker-4c-2g-15363 does not seem to be running inside a container 10:46:36 $ 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-686/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-686 -v /w/workspace/dgexfoundry_device-sdk-go_PR-686:/w/workspace/dgexfoundry_device-sdk-go_PR-686:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-686@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-686@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:46:40 $ docker top 1a07aba563084b48740ea82ea148d39fe3bf6d27830896392d99e33284457fbc -eo pid,comm [Pipeline] { [Pipeline] sh 10:46:40 + touch /tmp/pre-build-complete [Pipeline] sh 10:46:41 + mkdir -p /var/log/sa [Pipeline] sh 10:46:41 + ls /var/log/sa-host 10:46:41 + sadf -c /var/log/sa-host/sa10 10:46:41 file_magic: OK 10:46:41 HZ: Using current value: 100 10:46:41 file_header: OK 10:46:41 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 10:46:41 Statistics: 10:46:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:46:41 File successfully converted to sysstat format version 12.2.1 10:46:41 + sadf -c /var/log/sa-host/sa23 10:46:41 file_magic: OK 10:46:41 HZ: Using current value: 100 10:46:41 file_header: OK 10:46:41 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 10:46:41 Statistics: 10:46:41 Hnuu...uuuununununu... 10:46:41 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:46:42 provisioning config files... 10:46:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-686@tmp/config1869046052392554126tmp [Pipeline] { [Pipeline] echo 10:46:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:46:42 ---> create-netrc.sh [Pipeline] } 10:46:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:46:42 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:46:42 ---> python-tools-install.sh [Pipeline] echo 10:46:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:46:43 ---> sudo-logs.sh 10:46:43 Archiving 'sudo' log.. [Pipeline] echo 10:46:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:46:43 ---> job-cost.sh 10:46:43 lf-activate-venv: SKIPPING 10:46:43 INFO: No Stack... 10:46:44 INFO: Retrieving Pricing Info for: v1-standard-2 10:46:45 INFO: Archiving Costs [Pipeline] echo 10:46:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:46:45 ---> logs-deploy.sh 10:46:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-686/2 10:46:45 INFO: archiving workspace using pattern(s): 10:46:47 Archives upload complete. 10:46:47 INFO: archiving logs to Nexus