Pull request #972 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c9c344e94e1131edb24af4e6dce04edca984b298+88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 (bd7d6ac2a8492258c730d9311eeeb0f15471f52d) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh1033819422019080241.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh973952903545881748.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-972/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-972/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1111095142747520057.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-972/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7320485336520512957.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-ssh7418899730778390234.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-972/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [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-972/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8705826484353697688.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1640 in /w/workspace/dgexfoundry_device-sdk-go_PR-972 [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-972 # 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-972@tmp/jenkins-gitclient-ssh4682702545089266477.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 into PR head commit c9c344e94e1131edb24af4e6dce04edca984b298 Merge succeeded, producing c9c344e94e1131edb24af4e6dce04edca984b298 Checking out Revision c9c344e94e1131edb24af4e6dce04edca984b298 (PR-972) > 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-972@tmp/jenkins-gitclient-ssh1025725829516136189.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/972/head:refs/remotes/origin/PR-972 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # 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-972@tmp/jenkins-gitclient-ssh2318138433407720044.key > git merge 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:38:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:38:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:38:01 ========================================================= 05:38:01 EdgeX Global Pipelines Version Info 05:38:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:38:03 ------------------- 05:38:03 stable info: 05:38:03 ------------------- 05:38:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:38:03 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 05:38:03 Message: update stable to v1.0.195 05:38:04 ------------------- 05:38:04 experimental info: 05:38:04 ------------------- 05:38:04 Commited By: **** collab-it+edgex@linuxfoundation.org 05:38:04 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 05:38:04 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:38:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:38:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:38:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:38:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:38:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:38:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:38:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:38:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:38:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:38:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:38:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:38:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:38:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:38:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:38:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:38:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:38:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:38:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:38:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:38:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:38:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:38:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:38:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:38:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:38:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:38:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:38:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-972 [Pipeline] echo 05:38:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-972 [Pipeline] echo 05:38:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-972 [Pipeline] echo 05:38:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9c344e94e1131edb24af4e6dce04edca984b298 [Pipeline] echo 05:38:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9c344e [Pipeline] echo 05:38:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:38:08 provisioning config files... 05:38:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/config8097592728505876598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:38:08 ---> docker-login.sh 05:38:08 nexus3.edgexfoundry.org:10001 05:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:09 Configure a credential helper to remove this warning. See 05:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:09 05:38:09 Login Succeeded 05:38:09 nexus3.edgexfoundry.org:10002 05:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:09 Configure a credential helper to remove this warning. See 05:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:09 05:38:09 Login Succeeded 05:38:09 nexus3.edgexfoundry.org:10003 05:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:09 Configure a credential helper to remove this warning. See 05:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:09 05:38:09 Login Succeeded 05:38:09 nexus3.edgexfoundry.org:10004 05:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:09 Configure a credential helper to remove this warning. See 05:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:09 05:38:09 Login Succeeded 05:38:09 docker.io 05:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:38:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:38:10 Configure a credential helper to remove this warning. See 05:38:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:38:10 05:38:10 Login Succeeded 05:38:10 ---> docker-login.sh ends [Pipeline] } 05:38:10 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:38:11 + git log --format=format:%s -1 c9c344e94e1131edb24af4e6dce04edca984b298 [Pipeline] echo 05:38:11 GIT_COMMIT: c9c344e94e1131edb24af4e6dce04edca984b298, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 05:38:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:38:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:38:12 05:38:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:38:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:38:12 latest: Pulling from edgex-devops/git-semver 05:38:12 31603596830f: Pulling fs layer 05:38:12 54011a49482f: Pulling fs layer 05:38:12 a6820b24f6d8: Pulling fs layer 05:38:12 f581987b2513: Pulling fs layer 05:38:12 f581987b2513: Waiting 05:38:12 54011a49482f: Verifying Checksum 05:38:12 54011a49482f: Download complete 05:38:12 31603596830f: Verifying Checksum 05:38:12 31603596830f: Download complete 05:38:12 a6820b24f6d8: Verifying Checksum 05:38:12 a6820b24f6d8: Download complete 05:38:12 f581987b2513: Verifying Checksum 05:38:12 f581987b2513: Download complete 05:38:13 31603596830f: Pull complete 05:38:13 54011a49482f: Pull complete 05:38:13 a6820b24f6d8: Pull complete 05:38:14 f581987b2513: Pull complete 05:38:14 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:38:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:38:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:38:14 prd-centos7-docker-4c-2g-1640 does not seem to be running inside a container 05:38:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-972 -v /w/workspace/dgexfoundry_device-sdk-go_PR-972:/w/workspace/dgexfoundry_device-sdk-go_PR-972:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:38:15 $ docker top 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:38:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:38:15 [ssh-agent] Looking for ssh-agent implementation... 05:38:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:38:15 $ docker exec 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 ssh-agent 05:38:15 SSH_AUTH_SOCK=/tmp/ssh-KxYH6WfBxgH5/agent.13 05:38:15 SSH_AGENT_PID=19 05:38:15 Running ssh-add (command line suppressed) 05:38:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/private_key_2071631715725421867.key (/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/private_key_2071631715725421867.key) 05:38:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:38:16 + git tag --points-at HEAD [Pipeline] } 05:38:16 $ docker exec --env ******** --env ******** 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 ssh-agent -k 05:38:16 unset SSH_AUTH_SOCK; 05:38:16 unset SSH_AGENT_PID; 05:38:16 echo Agent pid 19 killed; 05:38:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:38:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:38:16 [ssh-agent] Looking for ssh-agent implementation... 05:38:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:38:16 $ docker exec 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 ssh-agent 05:38:16 SSH_AUTH_SOCK=/tmp/ssh-NCMJEVFS7INs/agent.52 05:38:16 SSH_AGENT_PID=58 05:38:16 Running ssh-add (command line suppressed) 05:38:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/private_key_7258248072452785511.key (/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/private_key_7258248072452785511.key) 05:38:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:38:17 + git semver init 05:38:17 # -> Open(): unable to determine branch for HEAD 05:38:17 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-972/.git 05:38:17 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-972 05:38:17 # $SEMVER_REMOTE_NAME = origin 05:38:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:38:17 # $SEMVER_USER_NAME = edgex-jenkins 05:38:17 # $SEMVER_BRANCH = PR-972 05:38:17 # $SEMVER_TEMP = /tmp/semver-293304588 05:38:17 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:38:18 # '/tmp/semver-293304588' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-972/.semver' 05:38:18 # -> Force: false 05:38:18 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-972/.semver [Pipeline] } 05:38:18 $ docker exec --env ******** --env ******** 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 ssh-agent -k 05:38:18 unset SSH_AUTH_SOCK; 05:38:18 unset SSH_AGENT_PID; 05:38:18 echo Agent pid 58 killed; 05:38:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:38:19 + git semver [Pipeline] } 05:38:19 $ docker stop --time=1 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 05:38:20 $ docker rm -f 7df4d3ca6ed281b85e4dfa8e21d76ffc1a18c9c80b81c0507e2bafe72c2a6c54 [Pipeline] // withDockerContainer [Pipeline] sh 05:38:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:38:21 Stashed 1 file(s) [Pipeline] echo 05:38:21 [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:38:37 Still waiting to schedule task 05:38:37 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1640’ 05:38:37 Still waiting to schedule task 05:38:37 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:40:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1641 in /w/workspace/dgexfoundry_device-sdk-go_PR-972 [Pipeline] { [Pipeline] ws 05:40:38 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:40:38 Selected Git installation does not exist. Using Default 05:40:38 The recommended git tool is: NONE 05:40:44 using credential edgex-jenkins-ssh 05:40:44 Cloning the remote Git repository 05:40:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:40:44 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:40:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:40:44 > git --version # timeout=10 05:40:44 > git --version # 'git version 2.17.1' 05:40:44 using GIT_SSH to set credentials SSH Credentials for GitHub 05:40:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:40:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:40:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:40:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:40:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:40:46 using GIT_SSH to set credentials SSH Credentials for GitHub 05:40:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/972/head:refs/remotes/origin/PR-972 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:40:46 Merging remotes/origin/master commit 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 into PR head commit c9c344e94e1131edb24af4e6dce04edca984b298 05:40:46 Merge succeeded, producing c9c344e94e1131edb24af4e6dce04edca984b298 05:40:46 Checking out Revision c9c344e94e1131edb24af4e6dce04edca984b298 (PR-972) 05:40:46 > git config core.sparsecheckout # timeout=10 05:40:46 > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # timeout=10 05:40:46 > git remote # timeout=10 05:40:46 > git config --get remote.origin.url # timeout=10 05:40:46 using GIT_SSH to set credentials SSH Credentials for GitHub 05:40:46 > git merge 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 05:40:46 > git rev-parse HEAD^{commit} # timeout=10 05:40:46 > git config core.sparsecheckout # timeout=10 05:40:46 > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # timeout=10 05:40:51 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:40:51 > git --version # timeout=10 05:40:51 > git --version # 'git version 2.17.1' 05:40:51 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:40:52 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:40:53 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:40:53 + sudo service docker restart 05:40:53 + true 05:41:05 Running on prd-centos7-docker-4c-2g-1642 in /w/workspace/dgexfoundry_device-sdk-go_PR-972 [Pipeline] { [Pipeline] ws 05:41:06 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:41:06 Selected Git installation does not exist. Using Default 05:41:06 The recommended git tool is: NONE 05:41:08 using credential edgex-jenkins-ssh 05:41:08 Cloning the remote Git repository 05:41:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:41:08 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:41:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:41:08 > git --version # timeout=10 05:41:08 > git --version # 'git version 2.24.4' 05:41:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:08 [INFO] Currently running in a labeled security context 05:41:08 [INFO] Currently SELinux is 'enforcing' on the host 05:41:08 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7028209577820275293.key 05:41:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:10 Merging remotes/origin/master commit 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 into PR head commit c9c344e94e1131edb24af4e6dce04edca984b298 05:41:10 Merge succeeded, producing c9c344e94e1131edb24af4e6dce04edca984b298 05:41:10 Checking out Revision c9c344e94e1131edb24af4e6dce04edca984b298 (PR-972) 05:41:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:41:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:41:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:41:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:41:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:09 [INFO] Currently running in a labeled security context 05:41:09 [INFO] Currently SELinux is 'enforcing' on the host 05:41:09 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7529935866233202136.key 05:41:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/972/head:refs/remotes/origin/PR-972 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:41:10 > git config core.sparsecheckout # timeout=10 05:41:10 > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # timeout=10 05:41:10 > git remote # timeout=10 05:41:10 > git config --get remote.origin.url # timeout=10 05:41:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:41:10 [INFO] Currently running in a labeled security context 05:41:10 [INFO] Currently SELinux is 'enforcing' on the host 05:41:10 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1123903477729256266.key 05:41:10 > git merge 88bc9287cbb2eac6fea22b2a3b0d65630b8919c2 # timeout=10 05:41:10 > git rev-parse HEAD^{commit} # timeout=10 05:41:10 > git config core.sparsecheckout # timeout=10 05:41:10 > git checkout -f c9c344e94e1131edb24af4e6dce04edca984b298 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:41:13 provisioning config files... 05:41:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2871032312783607854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:13 ---> docker-login.sh 05:41:13 nexus3.edgexfoundry.org:10001 05:41:13 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:41:13 > git --version # timeout=10 05:41:13 > git --version # 'git version 2.24.4' 05:41:13 fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 05:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:14 Configure a credential helper to remove this warning. See 05:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:14 05:41:14 Login Succeeded 05:41:14 nexus3.edgexfoundry.org:10002 05:41:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:41:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:15 Configure a credential helper to remove this warning. See 05:41:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:15 05:41:15 Login Succeeded 05:41:15 nexus3.edgexfoundry.org:10003 05:41:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:15 + sudo service docker restart 05:41:15 + true 05:41:15 Redirecting to /bin/systemctl restart docker.service 05:41:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:16 Configure a credential helper to remove this warning. See 05:41:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:16 05:41:16 Login Succeeded 05:41:16 nexus3.edgexfoundry.org:10004 05:41:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:16 Configure a credential helper to remove this warning. See 05:41:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:16 05:41:16 Login Succeeded 05:41:16 docker.io 05:41:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:17 Configure a credential helper to remove this warning. See 05:41:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:17 05:41:17 Login Succeeded 05:41:17 ---> docker-login.sh ends [Pipeline] } 05:41:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:41:18 ========================================================= 05:41:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:41:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:41:21 + 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 . 05:41:21 Sending build context to Docker daemon 2.678MB 05:41:21 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:41:21 Step 2/8 : FROM ${BASE} 05:41:21 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:41:21 595b0fe564bb: Pulling fs layer 05:41:21 3088b5b3c5c0: Pulling fs layer 05:41:21 5b7225fbf94c: Pulling fs layer 05:41:21 ba82ee9f976e: Pulling fs layer 05:41:21 506bd15cee9f: Pulling fs layer 05:41:21 75a0a4a0db45: Pulling fs layer 05:41:21 618dc40b7e24: Pulling fs layer 05:41:21 506bd15cee9f: Waiting 05:41:21 75a0a4a0db45: Waiting 05:41:21 618dc40b7e24: Waiting 05:41:21 ba82ee9f976e: Waiting 05:41:21 5b7225fbf94c: Verifying Checksum 05:41:21 5b7225fbf94c: Download complete 05:41:21 3088b5b3c5c0: Download complete 05:41:21 506bd15cee9f: Verifying Checksum 05:41:21 506bd15cee9f: Download complete 05:41:21 75a0a4a0db45: Download complete 05:41:21 595b0fe564bb: Verifying Checksum 05:41:21 595b0fe564bb: Download complete 05:41:21 595b0fe564bb: Pull complete 05:41:21 3088b5b3c5c0: Pull complete 05:41:21 5b7225fbf94c: Pull complete 05:41:21 618dc40b7e24: Verifying Checksum 05:41:21 618dc40b7e24: Download complete 05:41:23 ba82ee9f976e: Download complete 05:41:33 ba82ee9f976e: Pull complete 05:41:33 506bd15cee9f: Pull complete 05:41:33 75a0a4a0db45: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:41:34 provisioning config files... 05:41:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5508844689148271918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:41:34 ---> docker-login.sh 05:41:34 nexus3.edgexfoundry.org:10001 05:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:35 Configure a credential helper to remove this warning. See 05:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:35 05:41:35 Login Succeeded 05:41:35 nexus3.edgexfoundry.org:10002 05:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:35 Configure a credential helper to remove this warning. See 05:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:35 05:41:35 Login Succeeded 05:41:35 nexus3.edgexfoundry.org:10003 05:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:35 Configure a credential helper to remove this warning. See 05:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:35 05:41:35 Login Succeeded 05:41:35 nexus3.edgexfoundry.org:10004 05:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:35 Configure a credential helper to remove this warning. See 05:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:35 05:41:35 Login Succeeded 05:41:35 docker.io 05:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:41:35 Configure a credential helper to remove this warning. See 05:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:41:35 05:41:35 Login Succeeded 05:41:35 ---> docker-login.sh ends [Pipeline] } 05:41:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:41:36 ========================================================= 05:41:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:41:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:41: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.16-alpine . 05:41:36 Sending build context to Docker daemon 2.681MB 05:41:36 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 05:41:36 Step 2/8 : FROM ${BASE} 05:41:36 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:41:36 540db60ca938: Pulling fs layer 05:41:36 adcc1eea9eea: Pulling fs layer 05:41:36 4c4ab2625f07: Pulling fs layer 05:41:36 0510c868ecb4: Pulling fs layer 05:41:36 afea3b2eda06: Pulling fs layer 05:41:36 7809a108b3ef: Pulling fs layer 05:41:36 f706445af74f: Pulling fs layer 05:41:36 afea3b2eda06: Waiting 05:41:36 7809a108b3ef: Waiting 05:41:36 f706445af74f: Waiting 05:41:36 0510c868ecb4: Waiting 05:41:36 4c4ab2625f07: Verifying Checksum 05:41:36 4c4ab2625f07: Download complete 05:41:36 540db60ca938: Verifying Checksum 05:41:36 afea3b2eda06: Verifying Checksum 05:41:36 afea3b2eda06: Download complete 05:41:36 7809a108b3ef: Verifying Checksum 05:41:36 7809a108b3ef: Download complete 05:41:36 540db60ca938: Pull complete 05:41:36 adcc1eea9eea: Verifying Checksum 05:41:36 adcc1eea9eea: Download complete 05:41:37 adcc1eea9eea: Pull complete 05:41:37 4c4ab2625f07: Pull complete 05:41:37 618dc40b7e24: Pull complete 05:41:37 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 05:41:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:41:37 ---> a36622ca3599 05:41:37 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:41:38 f706445af74f: Verifying Checksum 05:41:38 f706445af74f: Download complete 05:41:38 0510c868ecb4: Verifying Checksum 05:41:38 0510c868ecb4: Download complete 05:41:39 ---> Running in a61adb1f13fb 05:41:39 Removing intermediate container a61adb1f13fb 05:41:39 ---> d3468f6a64dd 05:41:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:41:39 ---> Running in d48f6195475c 05:41:42 0510c868ecb4: Pull complete 05:41:42 afea3b2eda06: Pull complete 05:41:42 7809a108b3ef: Pull complete 05:41:42 Removing intermediate container d48f6195475c 05:41:42 ---> 7d15e4ea5f9e 05:41:42 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:41:42 ---> Running in 88824bd854d4 05:41:43 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:41:43 f706445af74f: Pull complete 05:41:43 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:41:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:41:43 ---> b068be0155e3 05:41:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:41:44 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:41:48 ---> Running in 186a3fa3c695 05:41:48 Removing intermediate container 186a3fa3c695 05:41:48 ---> f4383f768442 05:41:48 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:41:48 ---> Running in a15558f159b6 05:41:48 Removing intermediate container a15558f159b6 05:41:48 ---> 66efaae18336 05:41:48 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:41:48 ---> Running in 9ab0c338dbe6 05:41:48 (1/6) Installing libc-dev (0.7.2-r3) 05:41:48 (2/6) Installing libsodium (1.0.18-r0) 05:41:48 (3/6) Installing pkgconf (1.7.3-r0) 05:41:48 (4/6) Installing libsodium-dev (1.0.18-r0) 05:41:48 (5/6) Installing libzmq (4.3.3-r1) 05:41:48 (6/6) Installing zeromq-dev (4.3.3-r1) 05:41:48 Executing busybox-1.32.1-r6.trigger 05:41:48 OK: 139 MiB in 46 packages 05:41:48 Removing intermediate container 88824bd854d4 05:41:48 ---> 35706bbcdb42 05:41:48 Step 6/8 : WORKDIR /device-sdk-go 05:41:48 ---> Running in 6e37b268264b 05:41:48 Removing intermediate container 6e37b268264b 05:41:48 ---> b847e2862956 05:41:48 Step 7/8 : COPY . . 05:41:49 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:41:49 ---> 881caaf65776 05:41:49 Step 8/8 : RUN go mod download 05:41:49 ---> Running in 37a263d4bc1c 05:41:50 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:41:50 (1/6) Installing libc-dev (0.7.2-r3) 05:41:50 (2/6) Installing libsodium (1.0.18-r0) 05:41:50 (3/6) Installing pkgconf (1.7.3-r0) 05:41:50 (4/6) Installing libsodium-dev (1.0.18-r0) 05:41:50 (5/6) Installing libzmq (4.3.3-r1) 05:41:50 (6/6) Installing zeromq-dev (4.3.3-r1) 05:41:50 Executing busybox-1.32.1-r6.trigger 05:41:50 OK: 150 MiB in 46 packages 05:41:51 Removing intermediate container 9ab0c338dbe6 05:41:51 ---> d75e2c6f728f 05:41:51 Step 6/8 : WORKDIR /device-sdk-go 05:41:51 ---> Running in 6ea883247b72 05:41:51 Removing intermediate container 6ea883247b72 05:41:51 ---> a8a60eec0362 05:41:51 Step 7/8 : COPY . . 05:41:51 ---> 71549d69b829 05:41:51 Step 8/8 : RUN go mod download 05:41:51 ---> Running in 6ea0413dcbbc 05:42:03 Removing intermediate container 6ea0413dcbbc 05:42:03 ---> cf210c6f5107 05:42:03 Successfully built cf210c6f5107 05:42:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:42:04 + docker inspect -f . ci-base-image-x86_64 05:42:04 . [Pipeline] withDockerContainer 05:42:04 prd-centos7-docker-4c-2g-1642 does not seem to be running inside a container 05:42:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:42:04 $ docker top dd9883adea451bec4eed79a38f85f3e48bd8063ae6da9b8d9b9fcabc4f3071f9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:05 + go version 05:42:05 go version go1.16.3 linux/amd64 [Pipeline] } 05:42:05 $ docker stop --time=1 dd9883adea451bec4eed79a38f85f3e48bd8063ae6da9b8d9b9fcabc4f3071f9 05:42:06 $ docker rm -f dd9883adea451bec4eed79a38f85f3e48bd8063ae6da9b8d9b9fcabc4f3071f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:42:07 + docker inspect -f . ci-base-image-x86_64 05:42:07 . [Pipeline] withDockerContainer 05:42:07 prd-centos7-docker-4c-2g-1642 does not seem to be running inside a container 05:42:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:42:08 $ docker top 3fd8dc28053cb995e0a09f62eff8f3384a41269e2dc3030a770fd573fd97d005 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:08 + go mod tidy [Pipeline] sh 05:42:09 + make test 05:42:09 go mod tidy 05:42:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:42:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:42:16 Removing intermediate container 37a263d4bc1c 05:42:16 ---> 2776a6b9033a 05:42:16 Successfully built 2776a6b9033a 05:42:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:42:16 + docker inspect -f . ci-base-image-arm64 05:42:16 . [Pipeline] withDockerContainer 05:42:16 prd-ubuntu18.04-docker-arm64-4c-16g-1641 does not seem to be running inside a container 05:42:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:42:18 $ docker top 27431b05866e4e3ea470581a9241dfe84266f2fa82c28a32b79ae254c921286a -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:19 + go version 05:42:19 go version go1.16.5 linux/arm64 [Pipeline] } 05:42:19 $ docker stop --time=1 27431b05866e4e3ea470581a9241dfe84266f2fa82c28a32b79ae254c921286a 05:42:23 $ docker rm -f 27431b05866e4e3ea470581a9241dfe84266f2fa82c28a32b79ae254c921286a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:42:24 + docker inspect -f . ci-base-image-arm64 05:42:24 . [Pipeline] withDockerContainer 05:42:24 prd-ubuntu18.04-docker-arm64-4c-16g-1641 does not seem to be running inside a container 05:42:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:42:26 $ docker top d5b7259138de426c2ace79d21262a16a2f64a725ac833fb6f15759695c6af6fc -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:27 + go mod tidy [Pipeline] sh 05:42:28 + make test 05:42:28 go mod tidy 05:42:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:42:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 25.4% of statements 05:42:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:42:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 28.1% of statements 05:42:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements 05:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 9.0% of statements 05:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.058s coverage: 29.2% of statements 05:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:42:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 83.3% of statements 05:42:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:42:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:42:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.073s coverage: 58.0% of statements 05:42:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.811s coverage: 89.2% of statements 05:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:42:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.044s coverage: 5.0% of statements 05:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:42:41 GO111MODULE=on go vet ./... 05:42:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:43:00 gofmt -l . 05:43:00 [ "`gofmt -l .`" = "" ] 05:43:00 ./bin/test-attribution-txt.sh 05:43:00 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:43:00 $ docker stop --time=1 3fd8dc28053cb995e0a09f62eff8f3384a41269e2dc3030a770fd573fd97d005 05:43:01 $ docker rm -f 3fd8dc28053cb995e0a09f62eff8f3384a41269e2dc3030a770fd573fd97d005 [Pipeline] // withDockerContainer [Pipeline] sh 05:43:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:43:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:43:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:43:07 + ls -al . 05:43:07 total 208 05:43:07 drwxrwxr-x. 10 jenkins jenkins 4096 Jun 16 05:42 . 05:43:07 drwxrwxr-x. 4 jenkins jenkins 28 Jun 16 05:41 .. 05:43:07 drwxrwxr-x. 2 jenkins jenkins 64 Jun 16 05:41 bin 05:43:07 -rw-r--r--. 1 jenkins jenkins 126073 Jun 16 05:42 coverage.out 05:43:07 -rw-rw-r--. 1 jenkins jenkins 987 Jun 16 05:41 Dockerfile.build 05:43:07 -rw-rw-r--. 1 jenkins jenkins 140 Jun 16 05:41 .dockerignore 05:43:07 drwxrwxr-x. 5 jenkins jenkins 62 Jun 16 05:41 example 05:43:07 drwxrwxr-x. 8 jenkins jenkins 179 Jun 16 05:41 .git 05:43:07 drwxrwxr-x. 2 jenkins jenkins 103 Jun 16 05:41 .github 05:43:07 -rw-rw-r--. 1 jenkins jenkins 138 Jun 16 05:41 .gitignore 05:43:07 -rw-r--r--. 1 jenkins jenkins 576 Jun 16 05:42 go.mod 05:43:07 -rw-r--r--. 1 jenkins jenkins 20294 Jun 16 05:42 go.sum 05:43:07 drwxrwxr-x. 15 jenkins jenkins 224 Jun 16 05:41 internal 05:43:07 -rw-rw-r--. 1 jenkins jenkins 894 Jun 16 05:41 Jenkinsfile 05:43:07 -rw-rw-r--. 1 jenkins jenkins 11341 Jun 16 05:41 LICENSE 05:43:07 -rw-rw-r--. 1 jenkins jenkins 1026 Jun 16 05:41 Makefile 05:43:07 drwxrwxr-x. 4 jenkins jenkins 26 Jun 16 05:41 openapi 05:43:07 drwxrwxr-x. 5 jenkins jenkins 50 Jun 16 05:41 pkg 05:43:07 -rw-rw-r--. 1 jenkins jenkins 7652 Jun 16 05:41 README.md 05:43:07 -rw-rw-r--. 1 jenkins jenkins 6616 Jun 16 05:41 RELEASE-NOTES.txt 05:43:07 drwxrwxr-x. 4 jenkins jenkins 54 Jun 16 05:41 snap 05:43:07 -rw-rw-r--. 1 jenkins jenkins 5 Jun 16 05:38 VERSION 05:43:07 -rw-rw-r--. 1 jenkins jenkins 222 Jun 16 05:41 version.go [Pipeline] isUnix [Pipeline] sh 05:43:08 + 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=c9c344e94e1131edb24af4e6dce04edca984b298 --label arch=amd64 --label version=0.0.0 . 05:43:08 Sending build context to Docker daemon 2.808MB 05:43:08 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 05:43:08 Step 2/23 : FROM ${BASE} AS builder 05:43:08 ---> cf210c6f5107 05:43:08 Step 3/23 : WORKDIR /device-sdk-go 05:43:08 ---> Running in 04df4ff66bf6 05:43:08 Removing intermediate container 04df4ff66bf6 05:43:08 ---> 80d941d230fe 05:43:08 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:43:08 ---> Running in 8478deaf68bf 05:43:08 Removing intermediate container 8478deaf68bf 05:43:08 ---> 9a58bc183607 05:43:08 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:43:08 ---> Running in ca45886be1a5 05:43:09 Removing intermediate container ca45886be1a5 05:43:09 ---> f00afa307218 05:43:09 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:43:09 ---> Running in 6714c247b3da 05:43:09 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:43:10 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:43:10 OK: 150 MiB in 46 packages 05:43:10 Removing intermediate container 6714c247b3da 05:43:10 ---> 72a1e134becc 05:43:10 Step 7/23 : COPY . . 05:43:11 ---> a72516dcb117 05:43:11 Step 8/23 : RUN go mod download 05:43:11 ---> Running in 3a29da7d8832 05:43:11 Removing intermediate container 3a29da7d8832 05:43:11 ---> afa1c17dd107 05:43:11 Step 9/23 : RUN make build 05:43:11 ---> Running in 0b3aa3c831d3 05:43:12 go mod tidy 05:43:12 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 05:43:22 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:43:24 Removing intermediate container 0b3aa3c831d3 05:43:24 ---> 98184bef933e 05:43:24 Step 10/23 : FROM alpine:3.12 05:43:24 3.12: Pulling from library/alpine 05:43:24 339de151aab4: Pulling fs layer 05:43:24 339de151aab4: Verifying Checksum 05:43:24 339de151aab4: Download complete 05:43:24 339de151aab4: Pull complete 05:43:24 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 05:43:24 Status: Downloaded newer image for alpine:3.12 05:43:24 ---> 13621d1b12d4 05:43:24 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:43:24 ---> Running in 99b71268b00d 05:43:24 Removing intermediate container 99b71268b00d 05:43:24 ---> 0de25c99e1cc 05:43:24 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:43:24 ---> Running in bdcc512fd862 05:43:24 Removing intermediate container bdcc512fd862 05:43:24 ---> d0704f3471e7 05:43:24 Step 13/23 : RUN apk add --update --no-cache zeromq 05:43:24 ---> Running in 9737b337d8b4 05:43:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:43:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:43:26 (1/5) Installing libgcc (9.3.0-r2) 05:43:26 (2/5) Installing libsodium (1.0.18-r0) 05:43:26 (3/5) Installing libstdc++ (9.3.0-r2) 05:43:26 (4/5) Installing libzmq (4.3.3-r0) 05:43:26 (5/5) Installing zeromq (4.3.3-r0) 05:43:26 Executing busybox-1.31.1-r20.trigger 05:43:26 OK: 8 MiB in 19 packages 05:43:27 Removing intermediate container 9737b337d8b4 05:43:27 ---> 8b16ed177030 05:43:27 Step 14/23 : WORKDIR / 05:43:27 ---> Running in 5b6f32c5a856 05:43:27 Removing intermediate container 5b6f32c5a856 05:43:27 ---> b3f8804e353b 05:43:27 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:43:27 ---> 141538a7f94f 05:43:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:43:27 ---> d8e079c157c0 05:43:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:43:27 ---> bcbc9a95ec1e 05:43:27 Step 18/23 : EXPOSE 59999 05:43:27 ---> Running in b2fe07502d4b 05:43:27 Removing intermediate container b2fe07502d4b 05:43:27 ---> 40dcf58371a8 05:43:27 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:43:28 ---> Running in f3790e29ae9a 05:43:28 Removing intermediate container f3790e29ae9a 05:43:28 ---> b3d7d012e2f1 05:43:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:43:28 ---> Running in 0e095a7a0b7e 05:43:28 Removing intermediate container 0e095a7a0b7e 05:43:28 ---> aa6563c51807 05:43:28 Step 21/23 : LABEL arch=amd64 05:43:28 ---> Running in ec974456348c 05:43:28 Removing intermediate container ec974456348c 05:43:28 ---> 923ed51cb45c 05:43:28 Step 22/23 : LABEL git_sha=c9c344e94e1131edb24af4e6dce04edca984b298 05:43:28 ---> Running in 8fd6f7ae1610 05:43:28 Removing intermediate container 8fd6f7ae1610 05:43:28 ---> 96eb4f6a446e 05:43:28 Step 23/23 : LABEL version=0.0.0 05:43:28 ---> Running in 2f4a0637b386 05:43:28 Removing intermediate container 2f4a0637b386 05:43:28 ---> 5bcaf9dac1cf 05:43:28 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:43:28 Successfully built 5bcaf9dac1cf 05:43:28 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 05:43:29 ---> job-cost.sh 05:43:29 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LhP9 05:43:39 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:43:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:43:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:43:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:43:52 lf-activate-venv(): INFO: Adding /tmp/venv-LhP9/bin to PATH 05:43:52 INFO: No Stack... 05:43:52 INFO: Retrieving Pricing Info for: v3-standard-2 05:43:52 INFO: Archiving Costs [Pipeline] sh 05:43:52 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:43:52 + cut -d, -f6 [Pipeline] lock 05:43:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] 05:43:52 Resource [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] did not exist. Created. 05:43:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:43:53 + echo total: 0.05999999865889549 [Pipeline] stash 05:43:53 Stashed 1 file(s) [Pipeline] } 05:43:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:44:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.271s coverage: 25.4% of statements 05:44:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:44:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.242s coverage: 28.1% of statements 05:44:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.253s coverage: 78.9% of statements 05:44:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.247s coverage: 9.0% of statements 05:44:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:44:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:44:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:44:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.291s coverage: 29.2% of statements 05:44:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:44:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.334s coverage: 83.3% of statements 05:44:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:44:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:44:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.341s coverage: 58.0% of statements 05:44:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.989s coverage: 89.2% of statements 05:44:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:44:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 5.0% of statements 05:44:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:44:14 GO111MODULE=on go vet ./... 05:45:11 gofmt -l . 05:45:11 [ "`gofmt -l .`" = "" ] 05:45:11 ./bin/test-attribution-txt.sh 05:45:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:45:11 $ docker stop --time=1 d5b7259138de426c2ace79d21262a16a2f64a725ac833fb6f15759695c6af6fc 05:45:13 $ docker rm -f d5b7259138de426c2ace79d21262a16a2f64a725ac833fb6f15759695c6af6fc [Pipeline] // withDockerContainer [Pipeline] sh 05:45:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:45:15 Warning: overwriting stash ‘coverage-report’ 05:45:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:45:16 + ls -al . 05:45:16 total 244 05:45:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 16 05:45 . 05:45:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 05:40 .. 05:45:16 -rw-rw-r-- 1 jenkins jenkins 140 Jun 16 05:40 .dockerignore 05:45:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 16 05:40 .git 05:45:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 05:40 .github 05:45:16 -rw-rw-r-- 1 jenkins jenkins 138 Jun 16 05:40 .gitignore 05:45:16 -rw-rw-r-- 1 jenkins jenkins 987 Jun 16 05:40 Dockerfile.build 05:45:16 -rw-rw-r-- 1 jenkins jenkins 894 Jun 16 05:40 Jenkinsfile 05:45:16 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 16 05:40 LICENSE 05:45:16 -rw-rw-r-- 1 jenkins jenkins 1026 Jun 16 05:40 Makefile 05:45:16 -rw-rw-r-- 1 jenkins jenkins 7652 Jun 16 05:40 README.md 05:45:16 -rw-rw-r-- 1 jenkins jenkins 6616 Jun 16 05:40 RELEASE-NOTES.txt 05:45:16 -rw-rw-r-- 1 jenkins jenkins 5 Jun 16 05:38 VERSION 05:45:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 16 05:40 bin 05:45:16 -rw-r--r-- 1 jenkins jenkins 126072 Jun 16 05:44 coverage.out 05:45:16 drwxrwxr-x 5 jenkins jenkins 4096 Jun 16 05:40 example 05:45:16 -rw-r--r-- 1 jenkins jenkins 576 Jun 16 05:45 go.mod 05:45:16 -rw-r--r-- 1 jenkins jenkins 20294 Jun 16 05:42 go.sum 05:45:16 drwxrwxr-x 15 jenkins jenkins 4096 Jun 16 05:40 internal 05:45:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 05:40 openapi 05:45:16 drwxrwxr-x 5 jenkins jenkins 4096 Jun 16 05:40 pkg 05:45:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 16 05:40 snap 05:45:16 -rw-rw-r-- 1 jenkins jenkins 222 Jun 16 05:40 version.go [Pipeline] isUnix [Pipeline] sh 05:45:17 + 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=c9c344e94e1131edb24af4e6dce04edca984b298 --label arch=arm64 --label version=0.0.0 . 05:45:17 Sending build context to Docker daemon 2.805MB 05:45:17 Step 1/23 : ARG BASE=golang:1.16-alpine3.12 05:45:17 Step 2/23 : FROM ${BASE} AS builder 05:45:17 ---> 2776a6b9033a 05:45:17 Step 3/23 : WORKDIR /device-sdk-go 05:45:18 ---> Running in bc632527765a 05:45:18 Removing intermediate container bc632527765a 05:45:18 ---> daafcd457ff6 05:45:18 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:45:18 ---> Running in 67418da51ebf 05:45:19 Removing intermediate container 67418da51ebf 05:45:19 ---> 269d14db2a7d 05:45:19 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:45:19 ---> Running in 6e4d90475202 05:45:21 Removing intermediate container 6e4d90475202 05:45:21 ---> 88634bfdd218 05:45:21 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:45:21 ---> Running in 1a85e770df95 05:45:23 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:45:23 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:45:24 OK: 139 MiB in 46 packages 05:45:25 Removing intermediate container 1a85e770df95 05:45:25 ---> e60020984d13 05:45:25 Step 7/23 : COPY . . 05:45:27 ---> 1d6d5f1ffaeb 05:45:27 Step 8/23 : RUN go mod download 05:45:27 ---> Running in 903472ab828d 05:45:29 Removing intermediate container 903472ab828d 05:45:29 ---> 0fa8c60ecf73 05:45:29 Step 9/23 : RUN make build 05:45:29 ---> Running in cd3b8ea309ba 05:45:30 go mod tidy 05:45:31 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 05:46:04 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:46:05 Removing intermediate container cd3b8ea309ba 05:46:05 ---> 8fae21a92b65 05:46:05 Step 10/23 : FROM alpine:3.12 05:46:06 3.12: Pulling from library/alpine 05:46:06 d2f70382dc9a: Pulling fs layer 05:46:06 d2f70382dc9a: Verifying Checksum 05:46:07 d2f70382dc9a: Pull complete 05:46:07 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 05:46:07 Status: Downloaded newer image for alpine:3.12 05:46:07 ---> c4fd0aeabfcf 05:46:07 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:46:07 ---> Running in 31c6af689ce4 05:46:08 Removing intermediate container 31c6af689ce4 05:46:08 ---> bf624a7e948f 05:46:08 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:46:08 ---> Running in 8761ca49539e 05:46:10 Removing intermediate container 8761ca49539e 05:46:10 ---> cc634f4dfa25 05:46:10 Step 13/23 : RUN apk add --update --no-cache zeromq 05:46:10 ---> Running in ee71f5eb2315 05:46:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:46:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:46:12 (1/5) Installing libgcc (9.3.0-r2) 05:46:12 (2/5) Installing libsodium (1.0.18-r0) 05:46:13 (3/5) Installing libstdc++ (9.3.0-r2) 05:46:13 (4/5) Installing libzmq (4.3.3-r0) 05:46:13 (5/5) Installing zeromq (4.3.3-r0) 05:46:13 Executing busybox-1.31.1-r20.trigger 05:46:13 OK: 8 MiB in 19 packages 05:46:14 Removing intermediate container ee71f5eb2315 05:46:14 ---> db669fc4e5ec 05:46:14 Step 14/23 : WORKDIR / 05:46:14 ---> Running in 2110b03df748 05:46:15 Removing intermediate container 2110b03df748 05:46:15 ---> df12504d4ae8 05:46:15 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:46:16 ---> 0e48da42f243 05:46:16 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:46:17 ---> 1c63f5cc898c 05:46:17 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:46:17 ---> 522438f902a0 05:46:17 Step 18/23 : EXPOSE 59999 05:46:18 ---> Running in 30db9ccbcfa7 05:46:18 Removing intermediate container 30db9ccbcfa7 05:46:18 ---> 23d55fcf6700 05:46:18 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:46:18 ---> Running in 75b03df88540 05:46:19 Removing intermediate container 75b03df88540 05:46:19 ---> 1f4536d99d4d 05:46:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:46:19 ---> Running in 3615cd1871b3 05:46:19 Removing intermediate container 3615cd1871b3 05:46:19 ---> 94946bc8e9fe 05:46:19 Step 21/23 : LABEL arch=arm64 05:46:19 ---> Running in 0a3a031d8812 05:46:20 Removing intermediate container 0a3a031d8812 05:46:20 ---> 395700361992 05:46:20 Step 22/23 : LABEL git_sha=c9c344e94e1131edb24af4e6dce04edca984b298 05:46:20 ---> Running in a647f629cde9 05:46:21 Removing intermediate container a647f629cde9 05:46:21 ---> bab0f4c8b823 05:46:21 Step 23/23 : LABEL version=0.0.0 05:46:21 ---> Running in 80e32ca27844 05:46:21 Removing intermediate container 80e32ca27844 05:46:21 ---> 6aad73ce3b1b 05:46:21 [Warning] One or more build-args [MAKE ARCH] were not consumed 05:46:21 Successfully built 6aad73ce3b1b 05:46:21 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 05:46:22 ---> job-cost.sh 05:46:22 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UEDn 05:47:03 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:48:24 lf-activate-venv(): INFO: Adding /tmp/venv-UEDn/bin to PATH 05:48:24 INFO: No Stack... 05:48:24 INFO: Retrieving Pricing Info for: v2-standard-4 05:48:25 INFO: Archiving Costs [Pipeline] sh 05:48:25 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:48:25 + cut -d, -f6 [Pipeline] lock 05:48:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] 05:48:25 Resource [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] did not exist. Created. 05:48:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:48:26 /w/workspace/device-sdk-go/1@tmp/durable-fb53c1b5/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-fb53c1b5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:48:26 + echo total: 0.18000000715255737 [Pipeline] stash 05:48:26 Warning: overwriting stash ‘stack-cost’ 05:48:26 Stashed 1 file(s) [Pipeline] } 05:48:26 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-972-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:48:29 provisioning config files... 05:48:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/config1099703987258499693tmp [Pipeline] { [Pipeline] sh 05:48:30 + set +x 05:48:30 + bash -s -- 05:48:30 + curl -s https://codecov.io/bash 05:48:30 05:48:30 _____ _ 05:48:30 / ____| | | 05:48:30 | | ___ __| | ___ ___ _____ __ 05:48:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:48:30 | |___| (_) | (_| | __/ (_| (_) \ V / 05:48:30 \_____\___/ \__,_|\___|\___\___/ \_/ 05:48:30 Bash-1.0.3 05:48:30 05:48:30 05:48:30 ==> git version 2.24.4 found 05:48:30 ==> 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 05:48:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:48:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:48:30 ==> Jenkins CI detected. 05:48:30 project root: . 05:48:30 --> token set from env 05:48:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:48:30 ==> Running gcov in . (disable via -X gcov) 05:48:30 ==> Python coveragepy not found 05:48:30 ==> Searching for coverage reports in: 05:48:30 + . 05:48:30 -> Found 1 reports 05:48:30 ==> Detecting git/mercurial file structure 05:48:30 ==> Reading reports 05:48:30 + ./coverage.out bytes=126072 05:48:30 ==> Appending adjustments 05:48:30 https://docs.codecov.io/docs/fixing-reports 05:48:30 + Found adjustments 05:48:30 ==> Gzipping contents 05:48:30 20K /tmp/codecov.sW3jID.gz 05:48:30 ==> Uploading reports 05:48:30 url: https://codecov.io 05:48:30 query: branch=PR-972&commit=c9c344e94e1131edb24af4e6dce04edca984b298&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-972%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=972&job=&cmd_args= 05:48:30 -> Pinging Codecov 05:48:30 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-972&commit=c9c344e94e1131edb24af4e6dce04edca984b298&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-972%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=972&job=&cmd_args= 05:48:31 -> Uploading to 05:48:31 https://storage.googleapis.com/codecov/v4/raw/2021-06-16/7E55EF52A471D76F132DFD9A03CDDE97/c9c344e94e1131edb24af4e6dce04edca984b298/a37fe6fb-7eb9-458e-91f2-0948cf00b13d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210616%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210616T054831Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f4150e8d9d4d2e689c808a73bfb03634bbebceb01514c39e7aa441c0ba6f113e 05:48:31 % Total % Received % Xferd Average Speed Time Time Time Current 05:48:31 Dload Upload Total Spent Left Speed 05:48:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16412 0 0 100 16412 0 46445 --:--:-- --:--:-- --:--:-- 46492 05:48:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c9c344e94e1131edb24af4e6dce04edca984b298 [Pipeline] } 05:48:31 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 05:48:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:48:35 ---> package-listing.sh 05:48:35 ++ facter osfamily 05:48:35 ++ tr '[:upper:]' '[:lower:]' 05:48:35 + OS_FAMILY=redhat 05:48:35 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-972 05:48:35 + START_PACKAGES=/tmp/packages_start.txt 05:48:35 + END_PACKAGES=/tmp/packages_end.txt 05:48:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:48:35 + PACKAGES=/tmp/packages_start.txt 05:48:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-972 ']' 05:48:35 + PACKAGES=/tmp/packages_end.txt 05:48:35 + case "${OS_FAMILY}" in 05:48:35 + rpm -qa 05:48:35 + sort 05:48:35 + '[' -f /tmp/packages_start.txt ']' 05:48:35 + '[' -f /tmp/packages_end.txt ']' 05:48:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:48:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-972 ']' 05:48:35 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-972/archives/ 05:48:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-972/archives/ [Pipeline] echo 05:48:36 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-972/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:48:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:48:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:48:36 05:48:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:48:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:48:37 alpine: Pulling from edgex-lftools-log-publisher 05:48:37 df20fa9351a1: Pulling fs layer 05:48:37 36b3adc4ff6f: Pulling fs layer 05:48:37 8ad3a11d3b57: Pulling fs layer 05:48:37 46f8f816bc3b: Pulling fs layer 05:48:37 93b61091891f: Pulling fs layer 05:48:37 93b9cdb0e59b: Pulling fs layer 05:48:37 5e14af77c1be: Pulling fs layer 05:48:37 01666e4c0597: Pulling fs layer 05:48:37 aa168da1d23b: Pulling fs layer 05:48:37 93b9cdb0e59b: Waiting 05:48:37 5e14af77c1be: Waiting 05:48:37 01666e4c0597: Waiting 05:48:37 aa168da1d23b: Waiting 05:48:37 93b61091891f: Waiting 05:48:37 46f8f816bc3b: Waiting 05:48:37 36b3adc4ff6f: Verifying Checksum 05:48:37 36b3adc4ff6f: Download complete 05:48:37 46f8f816bc3b: Verifying Checksum 05:48:37 46f8f816bc3b: Download complete 05:48:37 df20fa9351a1: Verifying Checksum 05:48:37 df20fa9351a1: Download complete 05:48:37 93b9cdb0e59b: Verifying Checksum 05:48:37 93b9cdb0e59b: Download complete 05:48:37 93b61091891f: Verifying Checksum 05:48:37 93b61091891f: Download complete 05:48:37 5e14af77c1be: Verifying Checksum 05:48:37 5e14af77c1be: Download complete 05:48:37 01666e4c0597: Verifying Checksum 05:48:37 01666e4c0597: Download complete 05:48:37 df20fa9351a1: Pull complete 05:48:37 8ad3a11d3b57: Verifying Checksum 05:48:37 8ad3a11d3b57: Download complete 05:48:37 36b3adc4ff6f: Pull complete 05:48:38 8ad3a11d3b57: Pull complete 05:48:38 46f8f816bc3b: Pull complete 05:48:38 93b61091891f: Pull complete 05:48:38 93b9cdb0e59b: Pull complete 05:48:38 5e14af77c1be: Pull complete 05:48:38 01666e4c0597: Pull complete 05:48:40 aa168da1d23b: Verifying Checksum 05:48:40 aa168da1d23b: Download complete 05:48:45 aa168da1d23b: Pull complete 05:48:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:48:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:48:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:48:45 prd-centos7-docker-4c-2g-1640 does not seem to be running inside a container 05:48: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-972/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-972 -v /w/workspace/dgexfoundry_device-sdk-go_PR-972:/w/workspace/dgexfoundry_device-sdk-go_PR-972:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 05:48:48 $ docker top 0c62c9f9df6f84fae056b4bddc3814762389fab5b9d3f9f7bfbcaf7bc1024b36 -eo pid,comm [Pipeline] { [Pipeline] sh 05:48:49 + touch /tmp/pre-build-complete [Pipeline] sh 05:48:49 + mkdir -p /var/log/sa [Pipeline] sh 05:48:49 + ls /var/log/sa-host 05:48:49 + sadf -c /var/log/sa-host/sa05 05:48:49 file_magic: OK 05:48:49 HZ: Using current value: 100 05:48:49 file_header: OK 05:48: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 05:48:49 Statistics: 05:48:49 Hnuu...uuuununununu...Hnuu...uuuununununu... 05:48:49 File successfully converted to sysstat format version 12.2.1 05:48:49 + sadf -c /var/log/sa-host/sa16 05:48:49 file_magic: OK 05:48:49 HZ: Using current value: 100 05:48:49 file_header: OK 05:48: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 05:48:49 Statistics: 05:48:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:48:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:48:52 provisioning config files... 05:48:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-972@tmp/config7536799514437263424tmp [Pipeline] { [Pipeline] echo 05:48:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:48:52 ---> create-netrc.sh [Pipeline] } 05:48:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:48:53 ---> python-tools-install.sh [Pipeline] echo 05:48:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:48:53 ---> sudo-logs.sh 05:48:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:48:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:48:54 ---> job-cost.sh 05:48:54 lf-activate-venv: SKIPPING 05:48:54 DEBUG: total: 0.18000000715255737 05:48:54 INFO: Retrieving Stack Cost... 05:48:55 INFO: Retrieving Pricing Info for: v3-standard-2 05:48:55 INFO: Archiving Costs [Pipeline] echo 05:48:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:48:56 ---> logs-deploy.sh 05:48:56 lf-activate-venv: SKIPPING 05:48:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-972/1 05:48:56 INFO: archiving workspace using pattern(s): 05:48:57 Archives upload complete. 05:48:57 INFO: archiving logs to Nexus