Pull request #934 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 177901c0c2e2fd4e232d0c5d67b34206db6cc66d+9b89d7644d3409c1e42d925e84b99a1b27025fab (06ac5a6e2005c32fb3d0cba7f191080e804d6da3) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9063275913101553387.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5210950278659801049.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-934/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-934/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3723292259472118726.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8745693222539935374.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-934/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-934/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6071860212851042444.key > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15014 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-934 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/jenkins-gitclient-ssh7490274128213174777.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/jenkins-gitclient-ssh7780673595092620987.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d Merge succeeded, producing 177901c0c2e2fd4e232d0c5d67b34206db6cc66d Checking out Revision 177901c0c2e2fd4e232d0c5d67b34206db6cc66d (PR-934) > git config core.sparsecheckout # timeout=10 > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/jenkins-gitclient-ssh5415928064865266275.key > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 Commit message: "build: update snap build" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:57:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:57:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:57:27 ========================================================= 05:57:27 EdgeX Global Pipelines Version Info 05:57:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9f08648ade41faca250647d52fae2d276d6fcbea # timeout=10 05:57:29 ------------------- 05:57:29 stable info: 05:57:29 ------------------- 05:57:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:57:29 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 05:57:29 Message: update stable to v1.0.192 05:57:29 ------------------- 05:57:29 experimental info: 05:57:29 ------------------- 05:57:29 Commited By: **** collab-it+edgex@linuxfoundation.org 05:57:29 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 05:57:29 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:57:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-934 [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-934 [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-934 [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 177901c [Pipeline] echo 05:57:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:57:30 provisioning config files... 05:57:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config3588617143266016340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:31 ---> docker-login.sh 05:57:31 nexus3.edgexfoundry.org:10001 05:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:31 Configure a credential helper to remove this warning. See 05:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:31 05:57:31 Login Succeeded 05:57:31 nexus3.edgexfoundry.org:10002 05:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:31 Configure a credential helper to remove this warning. See 05:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:31 05:57:31 Login Succeeded 05:57:31 nexus3.edgexfoundry.org:10003 05:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:31 Configure a credential helper to remove this warning. See 05:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:31 05:57:31 Login Succeeded 05:57:31 nexus3.edgexfoundry.org:10004 05:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:31 Configure a credential helper to remove this warning. See 05:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:31 05:57:31 Login Succeeded 05:57:31 docker.io 05:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:32 Configure a credential helper to remove this warning. See 05:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:32 05:57:32 Login Succeeded 05:57:32 ---> docker-login.sh ends [Pipeline] } 05:57:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:57:32 + git log --format=format:%s -1 177901c0c2e2fd4e232d0c5d67b34206db6cc66d [Pipeline] echo 05:57:32 GIT_COMMIT: 177901c0c2e2fd4e232d0c5d67b34206db6cc66d, Commit Message: build: update snap build [Pipeline] echo 05:57:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:57:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:33 05:57:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:57:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:33 latest: Pulling from edgex-devops/git-semver 05:57:33 31603596830f: Pulling fs layer 05:57:33 54011a49482f: Pulling fs layer 05:57:33 a6820b24f6d8: Pulling fs layer 05:57:33 f581987b2513: Pulling fs layer 05:57:33 f581987b2513: Waiting 05:57:33 54011a49482f: Verifying Checksum 05:57:33 54011a49482f: Download complete 05:57:33 31603596830f: Verifying Checksum 05:57:33 31603596830f: Download complete 05:57:33 f581987b2513: Verifying Checksum 05:57:33 f581987b2513: Download complete 05:57:33 a6820b24f6d8: Verifying Checksum 05:57:33 a6820b24f6d8: Download complete 05:57:33 31603596830f: Pull complete 05:57:34 54011a49482f: Pull complete 05:57:34 a6820b24f6d8: Pull complete 05:57:34 f581987b2513: Pull complete 05:57:34 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:57:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:57:35 prd-centos7-docker-4c-2g-15014 does not seem to be running inside a container 05:57:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-934 -v /w/workspace/dgexfoundry_device-sdk-go_PR-934:/w/workspace/dgexfoundry_device-sdk-go_PR-934:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-934@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:10004/edgex-devops/git-semver:latest cat 05:57:38 $ docker top 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:57:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:38 [ssh-agent] Looking for ssh-agent implementation... 05:57:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:38 $ docker exec 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c ssh-agent 05:57:38 SSH_AUTH_SOCK=/tmp/ssh-I81hQ8cLFfPK/agent.14 05:57:38 SSH_AGENT_PID=20 05:57:38 Running ssh-add (command line suppressed) 05:57:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_6407063471451251354.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_6407063471451251354.key) 05:57:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:38 + git tag --points-at HEAD [Pipeline] } 05:57:38 $ docker exec --env ******** --env ******** 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c ssh-agent -k 05:57:39 unset SSH_AUTH_SOCK; 05:57:39 unset SSH_AGENT_PID; 05:57:39 echo Agent pid 20 killed; 05:57:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:57:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:39 [ssh-agent] Looking for ssh-agent implementation... 05:57:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:39 $ docker exec 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c ssh-agent 05:57:39 SSH_AUTH_SOCK=/tmp/ssh-Wvqwg0DrDrdW/agent.56 05:57:39 SSH_AGENT_PID=62 05:57:39 Running ssh-add (command line suppressed) 05:57:39 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_3833685400878566212.key (/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/private_key_3833685400878566212.key) 05:57:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:39 + git semver init 05:57:39 # -> Open(): unable to determine branch for HEAD 05:57:39 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.git 05:57:39 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-934 05:57:39 # $SEMVER_REMOTE_NAME = origin 05:57:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:57:39 # $SEMVER_USER_NAME = edgex-jenkins 05:57:39 # $SEMVER_BRANCH = PR-934 05:57:39 # $SEMVER_TEMP = /tmp/semver-809298929 05:57:39 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:57:40 # '/tmp/semver-809298929' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver' 05:57:40 # -> Force: false 05:57:40 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-934/.semver [Pipeline] } 05:57:40 $ docker exec --env ******** --env ******** 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c ssh-agent -k 05:57:40 unset SSH_AUTH_SOCK; 05:57:40 unset SSH_AGENT_PID; 05:57:40 echo Agent pid 62 killed; 05:57:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:57:40 + git semver [Pipeline] } 05:57:40 $ docker stop --time=1 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c 05:57:42 $ docker rm -f 6cf76f8fbad75588c55818e9a30fcd0ceee2be88cc0e3de3044c799db5ec319c [Pipeline] // withDockerContainer [Pipeline] sh 05:57:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:57:42 Stashed 1 file(s) [Pipeline] echo 05:57:42 [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 05:57:58 Still waiting to schedule task 05:57:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:57:58 Still waiting to schedule task 05:57:58 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:59:54 Running on prd-centos7-docker-4c-2g-15017 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws 05:59:54 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:59:54 Selected Git installation does not exist. Using Default 05:59:54 The recommended git tool is: NONE 05:59:57 using credential edgex-jenkins-ssh 05:59:57 Cloning the remote Git repository 05:59:57 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:59:57 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:59:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:57 > git --version # timeout=10 05:59:57 > git --version # 'git version 2.24.4' 05:59:57 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:57 [INFO] Currently running in a labeled security context 05:59:57 [INFO] Currently SELinux is 'enforcing' on the host 05:59:57 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8833732101278862147.key 05:59:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:58 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:58 [INFO] Currently running in a labeled security context 05:59:58 [INFO] Currently SELinux is 'enforcing' on the host 05:59:58 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8434818148312830815.key 05:59:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:59:58 Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d 05:59:58 Merge succeeded, producing 177901c0c2e2fd4e232d0c5d67b34206db6cc66d 05:59:58 Checking out Revision 177901c0c2e2fd4e232d0c5d67b34206db6cc66d (PR-934) 05:59:58 > git config core.sparsecheckout # timeout=10 05:59:58 > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 05:59:58 > git remote # timeout=10 05:59:58 > git config --get remote.origin.url # timeout=10 05:59:58 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:58 [INFO] Currently running in a labeled security context 05:59:58 [INFO] Currently SELinux is 'enforcing' on the host 05:59:58 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh6389610287063764355.key 05:59:58 > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 05:59:58 > git rev-parse HEAD^{commit} # timeout=10 05:59:58 > git config core.sparsecheckout # timeout=10 05:59:58 > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 06:00:02 Commit message: "build: update snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:03 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:00:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:00:04 + sudo service docker restart 06:00:04 + true 06:00:04 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:22 provisioning config files... 06:00:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2465168688802085833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:22 ---> docker-login.sh 06:00:22 nexus3.edgexfoundry.org:10001 06:00:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:23 Configure a credential helper to remove this warning. See 06:00:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:23 06:00:23 Login Succeeded 06:00:23 nexus3.edgexfoundry.org:10002 06:00:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:23 Configure a credential helper to remove this warning. See 06:00:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:23 06:00:23 Login Succeeded 06:00:23 nexus3.edgexfoundry.org:10003 06:00:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:23 Configure a credential helper to remove this warning. See 06:00:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:23 06:00:23 Login Succeeded 06:00:23 nexus3.edgexfoundry.org:10004 06:00:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:23 Configure a credential helper to remove this warning. See 06:00:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:23 06:00:23 Login Succeeded 06:00:23 docker.io 06:00:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:24 Configure a credential helper to remove this warning. See 06:00:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:24 06:00:24 Login Succeeded 06:00:24 ---> docker-login.sh ends [Pipeline] } 06:00:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:24 ========================================================= 06:00:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 06:00:24 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:00:24 + 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:00:24 Sending build context to Docker daemon 2.596MB 06:00:24 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 06:00:24 Step 2/8 : FROM ${BASE} 06:00:25 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:25 540db60ca938: Pulling fs layer 06:00:25 adcc1eea9eea: Pulling fs layer 06:00:25 4c4ab2625f07: Pulling fs layer 06:00:25 0510c868ecb4: Pulling fs layer 06:00:25 afea3b2eda06: Pulling fs layer 06:00:25 7809a108b3ef: Pulling fs layer 06:00:25 f706445af74f: Pulling fs layer 06:00:25 afea3b2eda06: Waiting 06:00:25 7809a108b3ef: Waiting 06:00:25 f706445af74f: Waiting 06:00:25 0510c868ecb4: Waiting 06:00:25 4c4ab2625f07: Verifying Checksum 06:00:25 4c4ab2625f07: Download complete 06:00:25 adcc1eea9eea: Verifying Checksum 06:00:25 adcc1eea9eea: Download complete 06:00:25 afea3b2eda06: Verifying Checksum 06:00:25 afea3b2eda06: Download complete 06:00:25 7809a108b3ef: Verifying Checksum 06:00:25 7809a108b3ef: Download complete 06:00:25 540db60ca938: Verifying Checksum 06:00:25 540db60ca938: Download complete 06:00:25 540db60ca938: Pull complete 06:00:25 adcc1eea9eea: Pull complete 06:00:25 4c4ab2625f07: Pull complete 06:00:26 f706445af74f: Verifying Checksum 06:00:26 f706445af74f: Download complete 06:00:27 0510c868ecb4: Verifying Checksum 06:00:27 0510c868ecb4: Download complete 06:00:31 0510c868ecb4: Pull complete 06:00:31 afea3b2eda06: Pull complete 06:00:31 7809a108b3ef: Pull complete 06:00:32 f706445af74f: Pull complete 06:00:32 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 06:00:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 06:00:32 ---> b068be0155e3 06:00:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:00:51 ---> Running in bf7bfc98961d 06:00:51 Removing intermediate container bf7bfc98961d 06:00:51 ---> ecc95fe88c6c 06:00:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:00:51 ---> Running in d229739faa39 06:00:51 Removing intermediate container d229739faa39 06:00:51 ---> d33b84f6a74e 06:00:51 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:00:51 ---> Running in 43a3b1e41627 06:00:51 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:00:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:00:52 (1/6) Installing libc-dev (0.7.2-r3) 06:00:52 (2/6) Installing libsodium (1.0.18-r0) 06:00:52 (3/6) Installing pkgconf (1.7.3-r0) 06:00:52 (4/6) Installing libsodium-dev (1.0.18-r0) 06:00:52 (5/6) Installing libzmq (4.3.3-r1) 06:00:52 (6/6) Installing zeromq-dev (4.3.3-r1) 06:00:52 Executing busybox-1.32.1-r6.trigger 06:00:52 OK: 150 MiB in 46 packages 06:00:53 Removing intermediate container 43a3b1e41627 06:00:53 ---> 7d6cbde8c89e 06:00:53 Step 6/8 : WORKDIR /device-sdk-go 06:00:53 ---> Running in 9d1438c89404 06:00:53 Removing intermediate container 9d1438c89404 06:00:53 ---> c8a304564db1 06:00:53 Step 7/8 : COPY . . 06:00:54 ---> 34b698158cb5 06:00:54 Step 8/8 : RUN go mod download 06:00:54 ---> Running in 029586a615a8 06:00:55 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15018 in /w/workspace/dgexfoundry_device-sdk-go_PR-934 [Pipeline] { [Pipeline] ws 06:00:55 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:00:55 Selected Git installation does not exist. Using Default 06:00:55 The recommended git tool is: NONE 06:01:01 using credential edgex-jenkins-ssh 06:01:01 Cloning the remote Git repository 06:01:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:01:01 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:01:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:01:01 > git --version # timeout=10 06:01:01 > git --version # 'git version 2.17.1' 06:01:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:01 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:01:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:01:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:01:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/934/head:refs/remotes/origin/PR-934 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:01:05 Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit 177901c0c2e2fd4e232d0c5d67b34206db6cc66d 06:01:05 Merge succeeded, producing 177901c0c2e2fd4e232d0c5d67b34206db6cc66d 06:01:05 Checking out Revision 177901c0c2e2fd4e232d0c5d67b34206db6cc66d (PR-934) 06:01:05 > git config core.sparsecheckout # timeout=10 06:01:05 > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 06:01:05 > git remote # timeout=10 06:01:05 > git config --get remote.origin.url # timeout=10 06:01:05 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:05 > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 06:01:05 > git rev-parse HEAD^{commit} # timeout=10 06:01:05 > git config core.sparsecheckout # timeout=10 06:01:05 > git checkout -f 177901c0c2e2fd4e232d0c5d67b34206db6cc66d # timeout=10 06:01:09 Commit message: "build: update snap build" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:10 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:01:11 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:01:11 + sudo service docker restart 06:01:11 + true 06:01:16 Removing intermediate container 029586a615a8 06:01:16 ---> 68ced58372b6 06:01:16 Successfully built 68ced58372b6 06:01:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:01:17 + docker inspect -f . ci-base-image-x86_64 06:01:17 . [Pipeline] withDockerContainer 06:01:17 prd-centos7-docker-4c-2g-15017 does not seem to be running inside a container 06:01:17 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:01:17 $ docker top 27030cd71925405a7d365ea77642b72ca069a3b1c7f5051f1a3fb211de4679f0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:18 + go version 06:01:18 go version go1.16.3 linux/amd64 [Pipeline] } 06:01:18 $ docker stop --time=1 27030cd71925405a7d365ea77642b72ca069a3b1c7f5051f1a3fb211de4679f0 06:01:19 $ docker rm -f 27030cd71925405a7d365ea77642b72ca069a3b1c7f5051f1a3fb211de4679f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:01:19 + docker inspect -f . ci-base-image-x86_64 06:01:19 . [Pipeline] withDockerContainer 06:01:20 prd-centos7-docker-4c-2g-15017 does not seem to be running inside a container 06:01:20 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:01:20 $ docker top 04ac5479596d356c5127d33f0a66830ea21a54d1b634336ef6651d9c7c043524 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:20 + go mod tidy [Pipeline] sh 06:01:21 + make test 06:01:21 go mod tidy 06:01:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:01:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:01:30 provisioning config files... 06:01:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2734134951158812702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:30 ---> docker-login.sh 06:01:30 nexus3.edgexfoundry.org:10001 06:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:31 Configure a credential helper to remove this warning. See 06:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:31 06:01:31 Login Succeeded 06:01:31 nexus3.edgexfoundry.org:10002 06:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:32 Configure a credential helper to remove this warning. See 06:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:32 06:01:32 Login Succeeded 06:01:32 nexus3.edgexfoundry.org:10003 06:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:32 Configure a credential helper to remove this warning. See 06:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:32 06:01:32 Login Succeeded 06:01:32 nexus3.edgexfoundry.org:10004 06:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:33 Configure a credential helper to remove this warning. See 06:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:33 06:01:33 Login Succeeded 06:01:33 docker.io 06:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:34 Configure a credential helper to remove this warning. See 06:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:34 06:01:34 Login Succeeded 06:01:34 ---> docker-login.sh ends [Pipeline] } 06:01:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:34 ========================================================= 06:01:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 06:01:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:01:35 + 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:01:35 Sending build context to Docker daemon 2.595MB 06:01:35 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 06:01:35 Step 2/8 : FROM ${BASE} 06:01:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:01:35 595b0fe564bb: Pulling fs layer 06:01:35 7186ed65a4f7: Pulling fs layer 06:01:35 316046926c0a: Pulling fs layer 06:01:35 4ebd0625c992: Pulling fs layer 06:01:35 207e8628e3a3: Pulling fs layer 06:01:35 c791037a9be2: Pulling fs layer 06:01:35 ffd874e62e21: Pulling fs layer 06:01:35 207e8628e3a3: Waiting 06:01:35 c791037a9be2: Waiting 06:01:35 4ebd0625c992: Waiting 06:01:35 ffd874e62e21: Waiting 06:01:35 316046926c0a: Verifying Checksum 06:01:35 316046926c0a: Download complete 06:01:35 7186ed65a4f7: Verifying Checksum 06:01:35 7186ed65a4f7: Download complete 06:01:35 207e8628e3a3: Verifying Checksum 06:01:35 207e8628e3a3: Download complete 06:01:35 c791037a9be2: Verifying Checksum 06:01:35 c791037a9be2: Download complete 06:01:36 595b0fe564bb: Verifying Checksum 06:01:36 595b0fe564bb: Download complete 06:01:36 595b0fe564bb: Pull complete 06:01:37 7186ed65a4f7: Pull complete 06:01:38 316046926c0a: Pull complete 06:01:38 ffd874e62e21: Verifying Checksum 06:01:38 ffd874e62e21: Download complete 06:01:40 4ebd0625c992: Verifying Checksum 06:01:40 4ebd0625c992: Download complete 06:01:50 4ebd0625c992: Pull complete 06:01:50 207e8628e3a3: Pull complete 06:01:50 c791037a9be2: Pull complete 06:01:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:01:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:01:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:01:55 ffd874e62e21: Pull complete 06:01:55 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 06:01:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 06:01:55 ---> cfc18b08335c 06:01:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.054s coverage: 25.4% of statements 06:01:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:01:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements 06:01:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements 06:01:57 ---> Running in 0524a48c212b 06:01:57 Removing intermediate container 0524a48c212b 06:01:57 ---> 2221ab41ddd0 06:01:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:58 ---> Running in 851df90a94e1 06:01:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.055s coverage: 10.7% of statements 06:01:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:01:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:01:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:01:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 30.2% of statements 06:01:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:02:00 Removing intermediate container 851df90a94e1 06:02:00 ---> 23541e9c043e 06:02:00 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:02:00 ---> Running in 422f0cf5be3c 06:02:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.053s coverage: 83.3% of statements 06:02:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:02:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:02:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 58.0% of statements 06:02:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.829s coverage: 89.2% of statements 06:02:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:02:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 5.0% of statements 06:02:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:02:02 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:02:02 GO111MODULE=on go vet ./... 06:02:03 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:02:04 (1/6) Installing libc-dev (0.7.2-r3) 06:02:04 (2/6) Installing libsodium (1.0.18-r0) 06:02:04 (3/6) Installing pkgconf (1.7.3-r0) 06:02:04 (4/6) Installing libsodium-dev (1.0.18-r0) 06:02:04 (5/6) Installing libzmq (4.3.3-r1) 06:02:05 (6/6) Installing zeromq-dev (4.3.3-r1) 06:02:05 Executing busybox-1.32.1-r6.trigger 06:02:05 OK: 139 MiB in 46 packages 06:02:06 Removing intermediate container 422f0cf5be3c 06:02:06 ---> 79683dbb95d2 06:02:06 Step 6/8 : WORKDIR /device-sdk-go 06:02:06 ---> Running in e9b846a08ddc 06:02:07 Removing intermediate container e9b846a08ddc 06:02:07 ---> ee1a08391da3 06:02:07 Step 7/8 : COPY . . 06:02:08 ---> a21d7950e695 06:02:08 Step 8/8 : RUN go mod download 06:02:09 ---> Running in 87838a542571 06:02:29 gofmt -l . 06:02:29 [ "`gofmt -l .`" = "" ] 06:02:29 ./bin/test-attribution-txt.sh 06:02:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:02:29 $ docker stop --time=1 04ac5479596d356c5127d33f0a66830ea21a54d1b634336ef6651d9c7c043524 06:02:31 $ docker rm -f 04ac5479596d356c5127d33f0a66830ea21a54d1b634336ef6651d9c7c043524 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:02:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:33 + ls -al . 06:02:33 total 212 06:02:33 drwxrwxr-x. 10 jenkins jenkins 4096 May 19 06:02 . 06:02:33 drwxrwxr-x. 4 jenkins jenkins 28 May 19 05:59 .. 06:02:33 drwxrwxr-x. 2 jenkins jenkins 64 May 19 05:59 bin 06:02:33 -rw-r--r--. 1 jenkins jenkins 126187 May 19 06:02 coverage.out 06:02:33 -rw-rw-r--. 1 jenkins jenkins 987 May 19 05:59 Dockerfile.build 06:02:33 -rw-rw-r--. 1 jenkins jenkins 140 May 19 05:59 .dockerignore 06:02:33 drwxrwxr-x. 5 jenkins jenkins 62 May 19 05:59 example 06:02:33 drwxrwxr-x. 8 jenkins jenkins 179 May 19 06:00 .git 06:02:33 drwxrwxr-x. 2 jenkins jenkins 103 May 19 05:59 .github 06:02:33 -rw-rw-r--. 1 jenkins jenkins 138 May 19 05:59 .gitignore 06:02:33 -rw-r--r--. 1 jenkins jenkins 575 May 19 06:02 go.mod 06:02:33 -rw-r--r--. 1 jenkins jenkins 20803 May 19 06:01 go.sum 06:02:33 drwxrwxr-x. 15 jenkins jenkins 224 May 19 05:59 internal 06:02:33 -rw-rw-r--. 1 jenkins jenkins 894 May 19 05:59 Jenkinsfile 06:02:33 -rw-rw-r--. 1 jenkins jenkins 11341 May 19 05:59 LICENSE 06:02:33 -rw-rw-r--. 1 jenkins jenkins 997 May 19 05:59 Makefile 06:02:33 drwxrwxr-x. 4 jenkins jenkins 26 May 19 05:59 openapi 06:02:33 drwxrwxr-x. 5 jenkins jenkins 50 May 19 05:59 pkg 06:02:33 -rw-rw-r--. 1 jenkins jenkins 7652 May 19 05:59 README.md 06:02:33 -rw-rw-r--. 1 jenkins jenkins 6616 May 19 05:59 RELEASE-NOTES.txt 06:02:33 drwxrwxr-x. 4 jenkins jenkins 54 May 19 05:59 snap 06:02:33 -rw-rw-r--. 1 jenkins jenkins 5 May 19 05:57 VERSION 06:02:33 -rw-rw-r--. 1 jenkins jenkins 222 May 19 05:59 version.go [Pipeline] isUnix [Pipeline] sh 06:02:33 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=177901c0c2e2fd4e232d0c5d67b34206db6cc66d --label arch=amd64 --label version=0.0.0 . 06:02:33 Sending build context to Docker daemon 2.723MB 06:02:33 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 06:02:33 Step 2/23 : FROM ${BASE} AS builder 06:02:33 ---> 68ced58372b6 06:02:33 Step 3/23 : WORKDIR /device-sdk-go 06:02:34 ---> Running in 016ee34ceb2f 06:02:34 Removing intermediate container 016ee34ceb2f 06:02:34 ---> 1f2d3dc814f6 06:02:34 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:34 ---> Running in 9b59d7bd7db8 06:02:34 Removing intermediate container 9b59d7bd7db8 06:02:34 ---> 24d77fafbe60 06:02:34 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:34 ---> Running in 5b6008e78ea1 06:02:35 Removing intermediate container 5b6008e78ea1 06:02:35 ---> 1f0de4767e0e 06:02:35 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:02:35 ---> Running in 743ba9781113 06:02:35 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:02:36 Removing intermediate container 87838a542571 06:02:36 ---> b8a9a98498b4 06:02:36 Successfully built b8a9a98498b4 06:02:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:02:36 + docker inspect -f . ci-base-image-arm64 06:02:36 . [Pipeline] withDockerContainer 06:02:36 prd-ubuntu18.04-docker-arm64-4c-16g-15018 does not seem to be running inside a container 06:02:36 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 06:02:36 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:02:37 OK: 150 MiB in 46 packages 06:02:37 Removing intermediate container 743ba9781113 06:02:37 ---> f1cdb4e25073 06:02:37 Step 7/23 : COPY . . 06:02:38 ---> 7dbd3e3d68e2 06:02:38 Step 8/23 : RUN go mod download 06:02:38 ---> Running in 55071aa94dee 06:02:38 $ docker top ec065846ba276f53485cf513ed289054a834376ac90497e147d82483e1e2a57b -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:38 Removing intermediate container 55071aa94dee 06:02:38 ---> 7c2c4ad82621 06:02:38 Step 9/23 : RUN make build 06:02:38 ---> Running in ea07f169688d 06:02:39 go mod tidy 06:02: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:02:39 + go version 06:02:39 go version go1.16.3 linux/arm64 [Pipeline] } 06:02:39 $ docker stop --time=1 ec065846ba276f53485cf513ed289054a834376ac90497e147d82483e1e2a57b 06:02:41 $ docker rm -f ec065846ba276f53485cf513ed289054a834376ac90497e147d82483e1e2a57b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:02:42 + docker inspect -f . ci-base-image-arm64 06:02:42 . [Pipeline] withDockerContainer 06:02:42 prd-ubuntu18.04-docker-arm64-4c-16g-15018 does not seem to be running inside a container 06:02:42 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 06:02:44 $ docker top e131eb96ba8be3ddc4123002ddb2d02d525ffcc5f818228d0d74d569f0057e93 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:45 + go mod tidy [Pipeline] sh 06:02:46 + make test 06:02:46 go mod tidy 06:02:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:02:54 Removing intermediate container ea07f169688d 06:02:54 ---> af4d6e7fb2c9 06:02:54 Step 10/23 : FROM alpine:3.12 06:02:54 3.12: Pulling from library/alpine 06:02:54 339de151aab4: Pulling fs layer 06:02:54 339de151aab4: Download complete 06:02:55 339de151aab4: Pull complete 06:02:55 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:02:55 Status: Downloaded newer image for alpine:3.12 06:02:55 ---> 13621d1b12d4 06:02:55 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:55 ---> Running in 4c5a575c566f 06:02:55 Removing intermediate container 4c5a575c566f 06:02:55 ---> 86b11a59a7a6 06:02:55 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:55 ---> Running in d90e9473e2c2 06:02:56 Removing intermediate container d90e9473e2c2 06:02:56 ---> a334799ba074 06:02:56 Step 13/23 : RUN apk add --update --no-cache zeromq 06:02:56 ---> Running in 16b53d831e8b 06:02:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:02:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:02:58 (1/5) Installing libgcc (9.3.0-r2) 06:02:58 (2/5) Installing libsodium (1.0.18-r0) 06:02:58 (3/5) Installing libstdc++ (9.3.0-r2) 06:02:59 (4/5) Installing libzmq (4.3.3-r0) 06:02:59 (5/5) Installing zeromq (4.3.3-r0) 06:02:59 Executing busybox-1.31.1-r20.trigger 06:02:59 OK: 8 MiB in 19 packages 06:02:59 Removing intermediate container 16b53d831e8b 06:02:59 ---> 038f2f061e72 06:02:59 Step 14/23 : WORKDIR / 06:02:59 ---> Running in b5c04a75a226 06:02:59 Removing intermediate container b5c04a75a226 06:02:59 ---> 61393197b6fb 06:02:59 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:03:00 ---> 6e431218df01 06:03:00 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:03:00 ---> 9a740f5aecbb 06:03:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:03:00 ---> 4c79345c1923 06:03:00 Step 18/23 : EXPOSE 49990 06:03:00 ---> Running in df0da6a8492f 06:03:00 Removing intermediate container df0da6a8492f 06:03:00 ---> a86015ddcfb1 06:03:00 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:03:00 ---> Running in eaa3f01ce8e8 06:03:00 Removing intermediate container eaa3f01ce8e8 06:03:00 ---> 2a76788f8b8e 06:03:00 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:03:00 ---> Running in b54ef8fe7c7d 06:03:01 Removing intermediate container b54ef8fe7c7d 06:03:01 ---> 1c960d7b8b7f 06:03:01 Step 21/23 : LABEL arch=amd64 06:03:01 ---> Running in b3b0dbfe8ed6 06:03:01 Removing intermediate container b3b0dbfe8ed6 06:03:01 ---> ac40bed5bcda 06:03:01 Step 22/23 : LABEL git_sha=177901c0c2e2fd4e232d0c5d67b34206db6cc66d 06:03:01 ---> Running in d860228107b0 06:03:01 Removing intermediate container d860228107b0 06:03:01 ---> 6be187cd0b4f 06:03:01 Step 23/23 : LABEL version=0.0.0 06:03:01 ---> Running in a700d70bfa46 06:03:01 Removing intermediate container a700d70bfa46 06:03:01 ---> a2748a5cfd76 06:03:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:03:01 Successfully built a2748a5cfd76 06:03:01 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:03:02 ---> job-cost.sh 06:03:02 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-x1pL 06:03:12 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:03:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:03:27 lf-activate-venv(): INFO: Adding /tmp/venv-x1pL/bin to PATH 06:03:27 INFO: No Stack... 06:03:28 INFO: Retrieving Pricing Info for: v3-standard-2 06:03:28 INFO: Archiving Costs [Pipeline] sh 06:03:29 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 06:03:29 + cut -d, -f6 [Pipeline] lock 06:03:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] 06:03:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] did not exist. Created. 06:03:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:03:29 + echo total: 0.05999999865889549 [Pipeline] stash 06:03:29 Stashed 1 file(s) [Pipeline] } 06:03:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:04:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:04:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:04:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:04:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.287s coverage: 25.4% of statements 06:04:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:04:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.180s coverage: 28.1% of statements 06:04:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.265s coverage: 78.9% of statements 06:04:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.223s coverage: 10.7% of statements 06:04:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:04:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:04:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:04:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.300s coverage: 30.2% of statements 06:04:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:04:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.197s coverage: 83.3% of statements 06:04:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:04:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:04:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.375s coverage: 58.0% of statements 06:04:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.307s coverage: 89.2% of statements 06:04:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:04:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.189s coverage: 5.0% of statements 06:04:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:04:41 GO111MODULE=on go vet ./... 06:05:49 gofmt -l . 06:05:49 [ "`gofmt -l .`" = "" ] 06:05:49 ./bin/test-attribution-txt.sh 06:05:49 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:05:49 $ docker stop --time=1 e131eb96ba8be3ddc4123002ddb2d02d525ffcc5f818228d0d74d569f0057e93 06:05:51 $ docker rm -f e131eb96ba8be3ddc4123002ddb2d02d525ffcc5f818228d0d74d569f0057e93 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:52 Warning: overwriting stash ‘coverage-report’ 06:05:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:54 + ls -al . 06:05:54 total 248 06:05:54 drwxrwxr-x 10 jenkins jenkins 4096 May 19 06:05 . 06:05:54 drwxrwxr-x 4 jenkins jenkins 4096 May 19 06:01 .. 06:05:54 -rw-rw-r-- 1 jenkins jenkins 140 May 19 06:01 .dockerignore 06:05:54 drwxrwxr-x 8 jenkins jenkins 4096 May 19 06:01 .git 06:05:54 drwxrwxr-x 2 jenkins jenkins 4096 May 19 06:01 .github 06:05:54 -rw-rw-r-- 1 jenkins jenkins 138 May 19 06:01 .gitignore 06:05:54 -rw-rw-r-- 1 jenkins jenkins 987 May 19 06:01 Dockerfile.build 06:05:54 -rw-rw-r-- 1 jenkins jenkins 894 May 19 06:01 Jenkinsfile 06:05:54 -rw-rw-r-- 1 jenkins jenkins 11341 May 19 06:01 LICENSE 06:05:54 -rw-rw-r-- 1 jenkins jenkins 997 May 19 06:01 Makefile 06:05:54 -rw-rw-r-- 1 jenkins jenkins 7652 May 19 06:01 README.md 06:05:54 -rw-rw-r-- 1 jenkins jenkins 6616 May 19 06:01 RELEASE-NOTES.txt 06:05:54 -rw-rw-r-- 1 jenkins jenkins 5 May 19 05:57 VERSION 06:05:54 drwxrwxr-x 2 jenkins jenkins 4096 May 19 06:01 bin 06:05:54 -rw-r--r-- 1 jenkins jenkins 126187 May 19 06:04 coverage.out 06:05:54 drwxrwxr-x 5 jenkins jenkins 4096 May 19 06:01 example 06:05:54 -rw-r--r-- 1 jenkins jenkins 575 May 19 06:05 go.mod 06:05:54 -rw-r--r-- 1 jenkins jenkins 20803 May 19 06:02 go.sum 06:05:54 drwxrwxr-x 15 jenkins jenkins 4096 May 19 06:01 internal 06:05:54 drwxrwxr-x 4 jenkins jenkins 4096 May 19 06:01 openapi 06:05:54 drwxrwxr-x 5 jenkins jenkins 4096 May 19 06:01 pkg 06:05:54 drwxrwxr-x 4 jenkins jenkins 4096 May 19 06:01 snap 06:05:54 -rw-rw-r-- 1 jenkins jenkins 222 May 19 06:01 version.go [Pipeline] isUnix [Pipeline] sh 06:05:55 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=177901c0c2e2fd4e232d0c5d67b34206db6cc66d --label arch=arm64 --label version=0.0.0 . 06:05:55 Sending build context to Docker daemon 2.722MB 06:05:55 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 06:05:55 Step 2/23 : FROM ${BASE} AS builder 06:05:55 ---> b8a9a98498b4 06:05:55 Step 3/23 : WORKDIR /device-sdk-go 06:05:56 ---> Running in 1bb420b2cc69 06:05:56 Removing intermediate container 1bb420b2cc69 06:05:56 ---> b9b103b3b1f8 06:05:56 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:05:57 ---> Running in f2a9c71543c8 06:05:57 Removing intermediate container f2a9c71543c8 06:05:57 ---> e529dab976a3 06:05:57 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:05:57 ---> Running in 8d19257955ef 06:06:00 Removing intermediate container 8d19257955ef 06:06:00 ---> b0b736e489c8 06:06:00 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:06:00 ---> Running in 86eaafc4afbf 06:06:01 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:06:02 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:06:03 OK: 139 MiB in 46 packages 06:06:04 Removing intermediate container 86eaafc4afbf 06:06:04 ---> 0ffdd78f143b 06:06:04 Step 7/23 : COPY . . 06:06:06 ---> d70fd995699e 06:06:06 Step 8/23 : RUN go mod download 06:06:06 ---> Running in 2c0aff8d16fc 06:06:08 Removing intermediate container 2c0aff8d16fc 06:06:08 ---> d97043e2d458 06:06:08 Step 9/23 : RUN make build 06:06:08 ---> Running in f142953c190d 06:06:10 go mod tidy 06:06:10 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:06:49 Removing intermediate container f142953c190d 06:06:49 ---> fbf3efe1e38a 06:06:49 Step 10/23 : FROM alpine:3.12 06:06:49 3.12: Pulling from library/alpine 06:06:49 d2f70382dc9a: Pulling fs layer 06:06:49 d2f70382dc9a: Verifying Checksum 06:06:49 d2f70382dc9a: Download complete 06:06:50 d2f70382dc9a: Pull complete 06:06:50 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:06:50 Status: Downloaded newer image for alpine:3.12 06:06:50 ---> 9852663dfa18 06:06:50 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:06:50 ---> Running in 65cbf0de2c43 06:06:50 Removing intermediate container 65cbf0de2c43 06:06:50 ---> cdf8745b361c 06:06:50 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:06:51 ---> Running in 80623c799f94 06:06:53 Removing intermediate container 80623c799f94 06:06:53 ---> 0e5fe496a21d 06:06:53 Step 13/23 : RUN apk add --update --no-cache zeromq 06:06:53 ---> Running in 1e077210ea67 06:06:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:06:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:06:56 (1/5) Installing libgcc (9.3.0-r2) 06:06:56 (2/5) Installing libsodium (1.0.18-r0) 06:06:56 (3/5) Installing libstdc++ (9.3.0-r2) 06:06:56 (4/5) Installing libzmq (4.3.3-r0) 06:06:56 (5/5) Installing zeromq (4.3.3-r0) 06:06:56 Executing busybox-1.31.1-r20.trigger 06:06:56 OK: 8 MiB in 19 packages 06:06:58 Removing intermediate container 1e077210ea67 06:06:58 ---> e4ad542377bb 06:06:58 Step 14/23 : WORKDIR / 06:06:58 ---> Running in 763584705b0e 06:06:58 Removing intermediate container 763584705b0e 06:06:58 ---> 48b1652a7ca1 06:06:58 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:06:59 ---> 2832ad932794 06:06:59 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:07:00 ---> a593f31e7c05 06:07:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:07:01 ---> 7eae4ee9fc39 06:07:01 Step 18/23 : EXPOSE 49990 06:07:01 ---> Running in dd79f5ed3ef3 06:07:02 Removing intermediate container dd79f5ed3ef3 06:07:02 ---> 59b84ac4975a 06:07:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:07:02 ---> Running in 9b40b704de1d 06:07:02 Removing intermediate container 9b40b704de1d 06:07:02 ---> 093c21872bfe 06:07:02 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:07:02 ---> Running in 71145cc3e4c7 06:07:03 Removing intermediate container 71145cc3e4c7 06:07:03 ---> d01db05f1a6a 06:07:03 Step 21/23 : LABEL arch=arm64 06:07:03 ---> Running in e6df1bf7c070 06:07:04 Removing intermediate container e6df1bf7c070 06:07:04 ---> a67557287c2e 06:07:04 Step 22/23 : LABEL git_sha=177901c0c2e2fd4e232d0c5d67b34206db6cc66d 06:07:04 ---> Running in a17e3b679a6b 06:07:04 Removing intermediate container a17e3b679a6b 06:07:04 ---> 4deb44123f41 06:07:04 Step 23/23 : LABEL version=0.0.0 06:07:04 ---> Running in ee9cbf7e27d1 06:07:05 Removing intermediate container ee9cbf7e27d1 06:07:05 ---> 68cf49ef557e 06:07:05 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:07:05 Successfully built 68cf49ef557e 06:07:05 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 06:07:06 ---> job-cost.sh 06:07:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-QAqV 06:07:53 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:09:29 lf-activate-venv(): INFO: Adding /tmp/venv-QAqV/bin to PATH 06:09:29 INFO: No Stack... 06:09:29 INFO: Retrieving Pricing Info for: v2-standard-4 06:09:30 INFO: Archiving Costs [Pipeline] sh 06:09:30 + + cut -d, -f6 06:09:30 cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 06:09:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] 06:09:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] did not exist. Created. 06:09:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:09:31 /w/workspace/device-sdk-go/2@tmp/durable-e0759ae7/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-e0759ae7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:09:31 + echo total: 0.18000000715255737 [Pipeline] stash 06:09:31 Warning: overwriting stash ‘stack-cost’ 06:09:31 Stashed 1 file(s) [Pipeline] } 06:09:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-934-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 06:09:32 provisioning config files... 06:09:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config2686753978586724716tmp [Pipeline] { [Pipeline] sh 06:09:32 + set +x 06:09:32 + curl -s https://codecov.io/bash 06:09:32 + bash -s -- 06:09:32 06:09:32 _____ _ 06:09:32 / ____| | | 06:09:32 | | ___ __| | ___ ___ _____ __ 06:09:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:09:32 | |___| (_) | (_| | __/ (_| (_) \ V / 06:09:32 \_____\___/ \__,_|\___|\___\___/ \_/ 06:09:32 Bash-1.0.2 06:09:32 06:09:32 06:09:32 ==> git version 2.24.4 found 06:09:32 ==> 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:09:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:09:32 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:09:32 ==> Jenkins CI detected. 06:09:32 project root: . 06:09:32 --> token set from env 06:09:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:09:32 ==> Running gcov in . (disable via -X gcov) 06:09:32 ==> Python coveragepy not found 06:09:32 ==> Searching for coverage reports in: 06:09:32 + . 06:09:32 -> Found 1 reports 06:09:32 ==> Detecting git/mercurial file structure 06:09:32 ==> Reading reports 06:09:32 + ./coverage.out bytes=126187 06:09:33 ==> Appending adjustments 06:09:33 https://docs.codecov.io/docs/fixing-reports 06:09:33 + Found adjustments 06:09:33 ==> Gzipping contents 06:09:33 20K /tmp/codecov.EgVGbg.gz 06:09:33 ==> Uploading reports 06:09:33 url: https://codecov.io 06:09:33 query: branch=PR-934&commit=177901c0c2e2fd4e232d0c5d67b34206db6cc66d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= 06:09:33 -> Pinging Codecov 06:09:33 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-934&commit=177901c0c2e2fd4e232d0c5d67b34206db6cc66d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-934%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=934&job=&cmd_args= 06:09:33 -> Uploading to 06:09:33 https://storage.googleapis.com/codecov/v4/raw/2021-05-19/7E55EF52A471D76F132DFD9A03CDDE97/177901c0c2e2fd4e232d0c5d67b34206db6cc66d/cf671950-9260-4f46-b1eb-983bb374184f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210519T060933Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=244a306c8f5b25f1bc4b327e8c1d6f7e044bdb9e7da10cd142e6bd3fce7328b2 06:09:33 % Total % Received % Xferd Average Speed Time Time Time Current 06:09:33 Dload Upload Total Spent Left Speed 06:09:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16518 0 0 100 16518 0 49440 --:--:-- --:--:-- --:--:-- 49603 06:09:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/177901c0c2e2fd4e232d0c5d67b34206db6cc66d [Pipeline] } 06:09:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:09:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:09:36 ---> package-listing.sh 06:09:36 ++ tr '[:upper:]' '[:lower:]' 06:09:36 ++ facter osfamily 06:09:36 + OS_FAMILY=redhat 06:09:36 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-934 06:09:36 + START_PACKAGES=/tmp/packages_start.txt 06:09:36 + END_PACKAGES=/tmp/packages_end.txt 06:09:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:09:36 + PACKAGES=/tmp/packages_start.txt 06:09:36 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' 06:09:36 + PACKAGES=/tmp/packages_end.txt 06:09:36 + case "${OS_FAMILY}" in 06:09:36 + sort 06:09:37 + rpm -qa 06:09:37 + '[' -f /tmp/packages_start.txt ']' 06:09:37 + '[' -f /tmp/packages_end.txt ']' 06:09:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:09:37 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-934 ']' 06:09:37 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ 06:09:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-934/archives/ [Pipeline] echo 06:09:37 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-934/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:09:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:09:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:09:38 06:09:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:09:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:09:38 alpine: Pulling from edgex-lftools-log-publisher 06:09:38 df20fa9351a1: Pulling fs layer 06:09:38 36b3adc4ff6f: Pulling fs layer 06:09:38 8ad3a11d3b57: Pulling fs layer 06:09:38 46f8f816bc3b: Pulling fs layer 06:09:38 93b61091891f: Pulling fs layer 06:09:38 93b9cdb0e59b: Pulling fs layer 06:09:38 5e14af77c1be: Pulling fs layer 06:09:38 01666e4c0597: Pulling fs layer 06:09:38 aa168da1d23b: Pulling fs layer 06:09:38 93b9cdb0e59b: Waiting 06:09:38 5e14af77c1be: Waiting 06:09:38 01666e4c0597: Waiting 06:09:38 aa168da1d23b: Waiting 06:09:38 46f8f816bc3b: Waiting 06:09:38 93b61091891f: Waiting 06:09:38 36b3adc4ff6f: Verifying Checksum 06:09:38 36b3adc4ff6f: Download complete 06:09:38 46f8f816bc3b: Verifying Checksum 06:09:38 46f8f816bc3b: Download complete 06:09:39 df20fa9351a1: Verifying Checksum 06:09:39 df20fa9351a1: Download complete 06:09:39 93b9cdb0e59b: Verifying Checksum 06:09:39 93b9cdb0e59b: Download complete 06:09:39 5e14af77c1be: Verifying Checksum 06:09:39 5e14af77c1be: Download complete 06:09:39 01666e4c0597: Verifying Checksum 06:09:39 01666e4c0597: Download complete 06:09:39 93b61091891f: Verifying Checksum 06:09:39 93b61091891f: Download complete 06:09:39 8ad3a11d3b57: Verifying Checksum 06:09:39 8ad3a11d3b57: Download complete 06:09:39 df20fa9351a1: Pull complete 06:09:39 36b3adc4ff6f: Pull complete 06:09:40 8ad3a11d3b57: Pull complete 06:09:40 46f8f816bc3b: Pull complete 06:09:40 93b61091891f: Pull complete 06:09:40 93b9cdb0e59b: Pull complete 06:09:40 5e14af77c1be: Pull complete 06:09:41 01666e4c0597: Pull complete 06:09:41 aa168da1d23b: Verifying Checksum 06:09:41 aa168da1d23b: Download complete 06:09:45 aa168da1d23b: Pull complete 06:09:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:09:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:09:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:09:45 prd-centos7-docker-4c-2g-15014 does not seem to be running inside a container 06:09:45 $ 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-934/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-934 -v /w/workspace/dgexfoundry_device-sdk-go_PR-934:/w/workspace/dgexfoundry_device-sdk-go_PR-934:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-934@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:09:48 $ docker top 1520c5abcdc454ad0137cbdeb7416cacb3fa88a412093477772107abaeb41a23 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:49 + touch /tmp/pre-build-complete [Pipeline] sh 06:09:49 + mkdir -p /var/log/sa [Pipeline] sh 06:09:49 + ls /var/log/sa-host 06:09:49 + sadf -c /var/log/sa-host/sa05 06:09:49 file_magic: OK 06:09:49 HZ: Using current value: 100 06:09:49 file_header: OK 06:09:49 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:09:49 Statistics: 06:09:49 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:09:49 File successfully converted to sysstat format version 12.2.1 06:09:49 + sadf -c /var/log/sa-host/sa19 06:09:49 file_magic: OK 06:09:49 HZ: Using current value: 100 06:09:49 file_header: OK 06:09:49 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:09:49 Statistics: 06:09:49 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... 06:09:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:50 provisioning config files... 06:09:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-934@tmp/config3991639724228497147tmp [Pipeline] { [Pipeline] echo 06:09:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:09:50 ---> create-netrc.sh [Pipeline] } 06:09:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:09:50 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:09:51 ---> python-tools-install.sh [Pipeline] echo 06:09:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:09:51 ---> sudo-logs.sh 06:09:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:09:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:09:51 ---> job-cost.sh 06:09:51 lf-activate-venv: SKIPPING 06:09:51 DEBUG: total: 0.18000000715255737 06:09:51 INFO: Retrieving Stack Cost... 06:09:52 INFO: Retrieving Pricing Info for: v3-standard-2 06:09:52 INFO: Archiving Costs [Pipeline] echo 06:09:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:09:53 ---> logs-deploy.sh 06:09:53 lf-activate-venv: SKIPPING 06:09:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-934/2 06:09:53 INFO: archiving workspace using pattern(s): 06:09:54 Archives upload complete. 06:09:54 INFO: archiving logs to Nexus