Pull request #933 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3+9b89d7644d3409c1e42d925e84b99a1b27025fab (11e87e00b87ccc4f962d0c7e5e9294a1122fb57a) 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-ssh4180212218270458013.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-ssh537173662223219452.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 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-933/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-933/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3628418608424157352.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-933/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3488938353873601231.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 > 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-ssh1051287429280652767.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 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-933/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-933/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5703797335786528528.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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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 ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-15002 in /w/workspace/dgexfoundry_device-sdk-go_PR-933 [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-933 # 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-933@tmp/jenkins-gitclient-ssh5840882935204389111.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-933@tmp/jenkins-gitclient-ssh2669567445117491287.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/933/head:refs/remotes/origin/PR-933 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 Merge succeeded, producing a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 Checking out Revision a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 (PR-933) > git config core.sparsecheckout # timeout=10 > git checkout -f a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 # 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-933@tmp/jenkins-gitclient-ssh8241691858432363525.key > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-19T05:42:34.171Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-19T05:42:34.372Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-19T05:42:34.492Z] ========================================================= [2021-05-19T05:42:34.492Z] EdgeX Global Pipelines Version Info [2021-05-19T05:42:34.492Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:42:35.979Z] ------------------- [2021-05-19T05:42:35.979Z] stable info: [2021-05-19T05:42:35.979Z] ------------------- [2021-05-19T05:42:35.979Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-19T05:42:35.979Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T05:42:35.979Z] Message: update stable to v1.0.192 [2021-05-19T05:42:36.567Z] ------------------- [2021-05-19T05:42:36.567Z] experimental info: [2021-05-19T05:42:36.567Z] ------------------- [2021-05-19T05:42:36.567Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-19T05:42:36.567Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T05:42:36.567Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-19T05:42:36.825Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-19T05:42:36.883Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-19T05:42:36.943Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-19T05:42:37.002Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-19T05:42:37.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-19T05:42:37.116Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-19T05:42:37.175Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-19T05:42:37.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-19T05:42:37.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-19T05:42:37.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-19T05:42:37.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-19T05:42:37.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-19T05:42:37.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-19T05:42:37.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-19T05:42:37.664Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-19T05:42:37.724Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T05:42:37.783Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T05:42:37.841Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-19T05:42:37.905Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-19T05:42:37.967Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-19T05:42:38.023Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-19T05:42:38.076Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-19T05:42:38.129Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-19T05:42:38.187Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-19T05:42:38.245Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-19T05:42:38.303Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-19T05:42:38.359Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-933 [Pipeline] echo [2021-05-19T05:42:38.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-933 [Pipeline] echo [2021-05-19T05:42:38.483Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-933 [Pipeline] echo [2021-05-19T05:42:38.545Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 [Pipeline] echo [2021-05-19T05:42:38.609Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a85632a [Pipeline] echo [2021-05-19T05:42:38.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T05:42:38.839Z] provisioning config files... [2021-05-19T05:42:38.855Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-933@tmp/config5902185182868802889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:42:39.219Z] ---> docker-login.sh [2021-05-19T05:42:39.219Z] nexus3.edgexfoundry.org:10001 [2021-05-19T05:42:39.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:42:39.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:42:39.485Z] Configure a credential helper to remove this warning. See [2021-05-19T05:42:39.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:42:39.485Z] [2021-05-19T05:42:39.485Z] Login Succeeded [2021-05-19T05:42:39.485Z] nexus3.edgexfoundry.org:10002 [2021-05-19T05:42:39.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:42:39.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:42:39.485Z] Configure a credential helper to remove this warning. See [2021-05-19T05:42:39.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:42:39.485Z] [2021-05-19T05:42:39.485Z] Login Succeeded [2021-05-19T05:42:39.485Z] nexus3.edgexfoundry.org:10003 [2021-05-19T05:42:39.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:42:39.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:42:39.749Z] Configure a credential helper to remove this warning. See [2021-05-19T05:42:39.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:42:39.749Z] [2021-05-19T05:42:39.749Z] Login Succeeded [2021-05-19T05:42:39.749Z] nexus3.edgexfoundry.org:10004 [2021-05-19T05:42:39.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:42:39.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:42:39.749Z] Configure a credential helper to remove this warning. See [2021-05-19T05:42:39.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:42:39.749Z] [2021-05-19T05:42:39.749Z] Login Succeeded [2021-05-19T05:42:39.749Z] docker.io [2021-05-19T05:42:40.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:42:40.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:42:40.277Z] Configure a credential helper to remove this warning. See [2021-05-19T05:42:40.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:42:40.277Z] [2021-05-19T05:42:40.277Z] Login Succeeded [2021-05-19T05:42:40.277Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T05:42:40.301Z] 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 [2021-05-19T05:42:41.225Z] + git log --format=format:%s -1 a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 [Pipeline] echo [2021-05-19T05:42:41.284Z] GIT_COMMIT: a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-19T05:42:41.325Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:42:42.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T05:42:42.396Z] [2021-05-19T05:42:42.396Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:42:42.753Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T05:42:42.754Z] latest: Pulling from edgex-devops/git-semver [2021-05-19T05:42:42.754Z] 31603596830f: Pulling fs layer [2021-05-19T05:42:42.754Z] 54011a49482f: Pulling fs layer [2021-05-19T05:42:42.754Z] a6820b24f6d8: Pulling fs layer [2021-05-19T05:42:42.754Z] f581987b2513: Pulling fs layer [2021-05-19T05:42:42.754Z] f581987b2513: Waiting [2021-05-19T05:42:42.754Z] 54011a49482f: Verifying Checksum [2021-05-19T05:42:42.754Z] 54011a49482f: Download complete [2021-05-19T05:42:43.016Z] 31603596830f: Verifying Checksum [2021-05-19T05:42:43.016Z] 31603596830f: Download complete [2021-05-19T05:42:43.016Z] f581987b2513: Verifying Checksum [2021-05-19T05:42:43.016Z] f581987b2513: Download complete [2021-05-19T05:42:43.016Z] a6820b24f6d8: Verifying Checksum [2021-05-19T05:42:43.016Z] a6820b24f6d8: Download complete [2021-05-19T05:42:43.016Z] 31603596830f: Pull complete [2021-05-19T05:42:43.280Z] 54011a49482f: Pull complete [2021-05-19T05:42:43.856Z] a6820b24f6d8: Pull complete [2021-05-19T05:42:44.119Z] f581987b2513: Pull complete [2021-05-19T05:42:44.119Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-19T05:42:44.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-19T05:42:44.119Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-19T05:42:44.221Z] prd-centos7-docker-4c-2g-15002 does not seem to be running inside a container [2021-05-19T05:42:44.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-933 -v /w/workspace/dgexfoundry_device-sdk-go_PR-933:/w/workspace/dgexfoundry_device-sdk-go_PR-933:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-933@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-933@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-19T05:42:45.249Z] $ docker top e34985ed6a9d4b518e65eaa84d0d262f67ab265f3fe919251b32a7d0d4559297 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-19T05:42:45.458Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T05:42:45.458Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T05:42:45.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T05:42:45.568Z] $ docker exec e34985ed6a9d4b518e65eaa84d0d262f67ab265f3fe919251b32a7d0d4559297 ssh-agent [2021-05-19T05:42:45.672Z] SSH_AUTH_SOCK=/tmp/ssh-Ekr05hu6cYOC/agent.14 [2021-05-19T05:42:45.672Z] SSH_AGENT_PID=20 [2021-05-19T05:42:45.680Z] Running ssh-add (command line suppressed) [2021-05-19T05:42:45.777Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-933@tmp/private_key_5946993586657340371.key (/w/workspace/dgexfoundry_device-sdk-go_PR-933@tmp/private_key_5946993586657340371.key) [2021-05-19T05:42:45.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T05:42:46.151Z] + git tag --points-at HEAD [Pipeline] } [2021-05-19T05:42:46.175Z] $ docker exec --env ******** --env ******** e34985ed6a9d4b518e65eaa84d0d262f67ab265f3fe919251b32a7d0d4559297 ssh-agent -k [2021-05-19T05:42:46.272Z] unset SSH_AUTH_SOCK; [2021-05-19T05:42:46.272Z] unset SSH_AGENT_PID; [2021-05-19T05:42:46.273Z] echo Agent pid 20 killed; [2021-05-19T05:42:46.285Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-19T05:42:46.379Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-19T05:42:46.379Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-19T05:42:46.495Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-19T05:42:46.498Z] $ docker exec e34985ed6a9d4b518e65eaa84d0d262f67ab265f3fe919251b32a7d0d4559297 ssh-agent [2021-05-19T05:42:46.618Z] SSH_AUTH_SOCK=/tmp/ssh-IS4DxFgLxp3I/agent.54 [2021-05-19T05:42:46.618Z] SSH_AGENT_PID=60 [2021-05-19T05:42:46.623Z] Running ssh-add (command line suppressed) [2021-05-19T05:42:46.723Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-933@tmp/private_key_1713429794269538215.key (/w/workspace/dgexfoundry_device-sdk-go_PR-933@tmp/private_key_1713429794269538215.key) [2021-05-19T05:42:46.741Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-19T05:42:47.088Z] + git semver init [2021-05-19T05:42:47.088Z] # -> Open(): unable to determine branch for HEAD [2021-05-19T05:42:47.088Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-933/.git [2021-05-19T05:42:47.088Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-933 [2021-05-19T05:42:47.088Z] # $SEMVER_REMOTE_NAME = origin [2021-05-19T05:42:47.088Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-19T05:42:47.088Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-19T05:42:47.088Z] # $SEMVER_BRANCH = PR-933 [2021-05-19T05:42:47.088Z] # $SEMVER_TEMP = /tmp/semver-790988475 [2021-05-19T05:42:47.088Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-19T05:42:48.039Z] # '/tmp/semver-790988475' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-933/.semver' [2021-05-19T05:42:48.039Z] # -> Force: false [2021-05-19T05:42:48.039Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-933/.semver [Pipeline] } [2021-05-19T05:42:48.064Z] $ docker exec --env ******** --env ******** e34985ed6a9d4b518e65eaa84d0d262f67ab265f3fe919251b32a7d0d4559297 ssh-agent -k [2021-05-19T05:42:48.175Z] unset SSH_AUTH_SOCK; [2021-05-19T05:42:48.176Z] unset SSH_AGENT_PID; [2021-05-19T05:42:48.176Z] echo Agent pid 60 killed; [2021-05-19T05:42:48.185Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-19T05:42:48.624Z] + git semver [Pipeline] } [2021-05-19T05:42:48.655Z] $ docker stop --time=1 e34985ed6a9d4b518e65eaa84d0d262f67ab265f3fe919251b32a7d0d4559297 [2021-05-19T05:42:49.929Z] $ docker rm -f e34985ed6a9d4b518e65eaa84d0d262f67ab265f3fe919251b32a7d0d4559297 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T05:42:50.366Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-19T05:42:50.730Z] Stashed 1 file(s) [Pipeline] echo [2021-05-19T05:42:50.758Z] [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 [2021-05-19T05:43:06.366Z] Still waiting to schedule task [2021-05-19T05:43:06.366Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-19T05:43:06.406Z] Still waiting to schedule task [2021-05-19T05:43:06.407Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-19T05:45:04.727Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15003 in /w/workspace/dgexfoundry_device-sdk-go_PR-933 [Pipeline] { [Pipeline] ws [2021-05-19T05:45:04.784Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-19T05:45:05.049Z] Selected Git installation does not exist. Using Default [2021-05-19T05:45:05.050Z] The recommended git tool is: NONE [2021-05-19T05:45:08.204Z] Running on prd-centos7-docker-4c-2g-15004 in /w/workspace/dgexfoundry_device-sdk-go_PR-933 [Pipeline] { [Pipeline] ws [2021-05-19T05:45:08.265Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-19T05:45:08.417Z] Selected Git installation does not exist. Using Default [2021-05-19T05:45:08.417Z] The recommended git tool is: NONE [2021-05-19T05:45:10.534Z] using credential edgex-jenkins-ssh [2021-05-19T05:45:10.555Z] Cloning the remote Git repository [2021-05-19T05:45:10.624Z] using credential edgex-jenkins-ssh [2021-05-19T05:45:10.637Z] Cloning the remote Git repository [2021-05-19T05:45:10.731Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:45:10.606Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:45:10.721Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-19T05:45:10.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:45:10.894Z] > git --version # timeout=10 [2021-05-19T05:45:10.931Z] > git --version # 'git version 2.17.1' [2021-05-19T05:45:10.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:45:11.021Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T05:45:10.797Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-19T05:45:10.830Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:45:10.831Z] > git --version # timeout=10 [2021-05-19T05:45:10.844Z] > git --version # 'git version 2.24.4' [2021-05-19T05:45:10.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:45:10.871Z] [INFO] Currently running in a labeled security context [2021-05-19T05:45:10.871Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T05:45:10.871Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4411686728312346088.key [2021-05-19T05:45:10.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T05:45:11.608Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T05:45:11.614Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T05:45:11.635Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T05:45:11.655Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:45:11.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:45:11.656Z] [INFO] Currently running in a labeled security context [2021-05-19T05:45:11.656Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T05:45:11.656Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7178590824277657680.key [2021-05-19T05:45:11.665Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/933/head:refs/remotes/origin/PR-933 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-19T05:45:12.068Z] Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 [2021-05-19T05:45:12.213Z] Merge succeeded, producing a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 [2021-05-19T05:45:12.214Z] Checking out Revision a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 (PR-933) [2021-05-19T05:45:12.426Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T05:45:12.443Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-19T05:45:12.085Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T05:45:12.099Z] > git checkout -f a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 # timeout=10 [2021-05-19T05:45:12.143Z] > git remote # timeout=10 [2021-05-19T05:45:12.159Z] > git config --get remote.origin.url # timeout=10 [2021-05-19T05:45:12.177Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:45:12.178Z] [INFO] Currently running in a labeled security context [2021-05-19T05:45:12.188Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-19T05:45:12.188Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3077551608245745383.key [2021-05-19T05:45:12.195Z] > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 [2021-05-19T05:45:12.205Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-19T05:45:12.218Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T05:45:12.229Z] > git checkout -f a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 # timeout=10 [2021-05-19T05:45:13.093Z] Merging remotes/origin/master commit 9b89d7644d3409c1e42d925e84b99a1b27025fab into PR head commit a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 [2021-05-19T05:45:13.307Z] Merge succeeded, producing a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 [2021-05-19T05:45:13.308Z] Checking out Revision a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 (PR-933) [2021-05-19T05:45:12.481Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-19T05:45:12.522Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-19T05:45:12.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:45:12.537Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/933/head:refs/remotes/origin/PR-933 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-19T05:45:13.111Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T05:45:13.124Z] > git checkout -f a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 # timeout=10 [2021-05-19T05:45:13.219Z] > git remote # timeout=10 [2021-05-19T05:45:13.236Z] > git config --get remote.origin.url # timeout=10 [2021-05-19T05:45:13.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-19T05:45:13.267Z] > git merge 9b89d7644d3409c1e42d925e84b99a1b27025fab # timeout=10 [2021-05-19T05:45:13.291Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-19T05:45:13.312Z] > git config core.sparsecheckout # timeout=10 [2021-05-19T05:45:13.325Z] > git checkout -f a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 # timeout=10 [2021-05-19T05:45:15.928Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-19T05:45:15.960Z] > git --version # timeout=10 [2021-05-19T05:45:16.029Z] > git --version # 'git version 2.24.4' [2021-05-19T05:45:16.036Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T05:45:17.346Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-19T05:45:17.582Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-19T05:45:17.633Z] > git --version # timeout=10 [2021-05-19T05:45:17.649Z] > git --version # 'git version 2.17.1' [2021-05-19T05:45:17.660Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-19T05:45:17.695Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T05:45:18.013Z] + sudo service docker restart [2021-05-19T05:45:18.013Z] + true [2021-05-19T05:45:18.013Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T05:45:19.246Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-19T05:45:19.660Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-19T05:45:20.023Z] + sudo service docker restart [2021-05-19T05:45:20.023Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T05:45:36.273Z] provisioning config files... [2021-05-19T05:45:36.291Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9001075097280389320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:45:36.689Z] ---> docker-login.sh [2021-05-19T05:45:36.689Z] nexus3.edgexfoundry.org:10001 [2021-05-19T05:45:36.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:45:37.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:45:37.223Z] Configure a credential helper to remove this warning. See [2021-05-19T05:45:37.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:45:37.223Z] [2021-05-19T05:45:37.223Z] Login Succeeded [2021-05-19T05:45:37.223Z] nexus3.edgexfoundry.org:10002 [2021-05-19T05:45:37.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:45:37.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:45:37.223Z] Configure a credential helper to remove this warning. See [2021-05-19T05:45:37.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:45:37.223Z] [2021-05-19T05:45:37.223Z] Login Succeeded [2021-05-19T05:45:37.223Z] nexus3.edgexfoundry.org:10003 [2021-05-19T05:45:37.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:45:37.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:45:37.488Z] Configure a credential helper to remove this warning. See [2021-05-19T05:45:37.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:45:37.488Z] [2021-05-19T05:45:37.488Z] Login Succeeded [2021-05-19T05:45:37.488Z] nexus3.edgexfoundry.org:10004 [2021-05-19T05:45:37.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:45:37.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:45:37.757Z] Configure a credential helper to remove this warning. See [2021-05-19T05:45:37.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:45:37.757Z] [2021-05-19T05:45:37.757Z] Login Succeeded [2021-05-19T05:45:37.757Z] docker.io [2021-05-19T05:45:37.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:45:38.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:45:38.021Z] Configure a credential helper to remove this warning. See [2021-05-19T05:45:38.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:45:38.021Z] [2021-05-19T05:45:38.021Z] Login Succeeded [2021-05-19T05:45:38.021Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T05:45:38.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T05:45:38.365Z] ========================================================= [2021-05-19T05:45:38.365Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-19T05:45:38.365Z] ========================================================= [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T05:45:38.463Z] provisioning config files... [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:45:38.493Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7615342113876500996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:45:38.788Z] + 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 . [2021-05-19T05:45:38.789Z] Sending build context to Docker daemon 2.584MB [2021-05-19T05:45:38.789Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T05:45:38.789Z] Step 2/8 : FROM ${BASE} [2021-05-19T05:45:38.984Z] ---> docker-login.sh [2021-05-19T05:45:38.984Z] nexus3.edgexfoundry.org:10001 [2021-05-19T05:45:39.053Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-19T05:45:39.053Z] 540db60ca938: Pulling fs layer [2021-05-19T05:45:39.053Z] adcc1eea9eea: Pulling fs layer [2021-05-19T05:45:39.053Z] 4c4ab2625f07: Pulling fs layer [2021-05-19T05:45:39.053Z] 0510c868ecb4: Pulling fs layer [2021-05-19T05:45:39.053Z] afea3b2eda06: Pulling fs layer [2021-05-19T05:45:39.053Z] 7809a108b3ef: Pulling fs layer [2021-05-19T05:45:39.053Z] f706445af74f: Pulling fs layer [2021-05-19T05:45:39.053Z] 0510c868ecb4: Waiting [2021-05-19T05:45:39.053Z] afea3b2eda06: Waiting [2021-05-19T05:45:39.053Z] 7809a108b3ef: Waiting [2021-05-19T05:45:39.053Z] f706445af74f: Waiting [2021-05-19T05:45:39.053Z] 4c4ab2625f07: Download complete [2021-05-19T05:45:39.053Z] adcc1eea9eea: Verifying Checksum [2021-05-19T05:45:39.053Z] adcc1eea9eea: Download complete [2021-05-19T05:45:39.053Z] afea3b2eda06: Verifying Checksum [2021-05-19T05:45:39.053Z] afea3b2eda06: Download complete [2021-05-19T05:45:39.053Z] 540db60ca938: Verifying Checksum [2021-05-19T05:45:39.053Z] 540db60ca938: Download complete [2021-05-19T05:45:39.053Z] 7809a108b3ef: Verifying Checksum [2021-05-19T05:45:39.053Z] 7809a108b3ef: Download complete [2021-05-19T05:45:39.314Z] 540db60ca938: Pull complete [2021-05-19T05:45:39.576Z] adcc1eea9eea: Pull complete [2021-05-19T05:45:39.576Z] 4c4ab2625f07: Pull complete [2021-05-19T05:45:39.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:45:40.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:45:40.254Z] Configure a credential helper to remove this warning. See [2021-05-19T05:45:40.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:45:40.254Z] [2021-05-19T05:45:40.254Z] Login Succeeded [2021-05-19T05:45:40.254Z] nexus3.edgexfoundry.org:10002 [2021-05-19T05:45:40.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:45:40.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:45:40.809Z] Configure a credential helper to remove this warning. See [2021-05-19T05:45:40.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:45:40.809Z] [2021-05-19T05:45:40.809Z] Login Succeeded [2021-05-19T05:45:40.809Z] nexus3.edgexfoundry.org:10003 [2021-05-19T05:45:40.966Z] f706445af74f: Verifying Checksum [2021-05-19T05:45:40.966Z] f706445af74f: Download complete [2021-05-19T05:45:41.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:45:41.233Z] 0510c868ecb4: Verifying Checksum [2021-05-19T05:45:41.233Z] 0510c868ecb4: Download complete [2021-05-19T05:45:41.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:45:41.367Z] Configure a credential helper to remove this warning. See [2021-05-19T05:45:41.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:45:41.367Z] [2021-05-19T05:45:41.367Z] Login Succeeded [2021-05-19T05:45:41.367Z] nexus3.edgexfoundry.org:10004 [2021-05-19T05:45:41.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:45:41.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:45:41.919Z] Configure a credential helper to remove this warning. See [2021-05-19T05:45:41.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:45:41.919Z] [2021-05-19T05:45:41.919Z] Login Succeeded [2021-05-19T05:45:41.919Z] docker.io [2021-05-19T05:45:42.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-19T05:45:42.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-19T05:45:42.795Z] Configure a credential helper to remove this warning. See [2021-05-19T05:45:42.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-19T05:45:42.795Z] [2021-05-19T05:45:42.795Z] Login Succeeded [2021-05-19T05:45:42.795Z] ---> docker-login.sh ends [Pipeline] } [2021-05-19T05:45:42.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-19T05:45:43.482Z] ========================================================= [2021-05-19T05:45:43.482Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-19T05:45:43.482Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:45:43.893Z] + 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 . [2021-05-19T05:45:44.497Z] Sending build context to Docker daemon 2.583MB [2021-05-19T05:45:44.497Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T05:45:44.497Z] Step 2/8 : FROM ${BASE} [2021-05-19T05:45:44.775Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-19T05:45:44.775Z] 595b0fe564bb: Pulling fs layer [2021-05-19T05:45:44.775Z] 7186ed65a4f7: Pulling fs layer [2021-05-19T05:45:44.775Z] 316046926c0a: Pulling fs layer [2021-05-19T05:45:44.775Z] 4ebd0625c992: Pulling fs layer [2021-05-19T05:45:44.775Z] 207e8628e3a3: Pulling fs layer [2021-05-19T05:45:44.775Z] c791037a9be2: Pulling fs layer [2021-05-19T05:45:44.775Z] ffd874e62e21: Pulling fs layer [2021-05-19T05:45:44.775Z] 4ebd0625c992: Waiting [2021-05-19T05:45:44.775Z] ffd874e62e21: Waiting [2021-05-19T05:45:44.775Z] c791037a9be2: Waiting [2021-05-19T05:45:44.775Z] 207e8628e3a3: Waiting [2021-05-19T05:45:44.775Z] 316046926c0a: Verifying Checksum [2021-05-19T05:45:44.775Z] 316046926c0a: Download complete [2021-05-19T05:45:44.775Z] 7186ed65a4f7: Verifying Checksum [2021-05-19T05:45:44.775Z] 7186ed65a4f7: Download complete [2021-05-19T05:45:44.775Z] 207e8628e3a3: Verifying Checksum [2021-05-19T05:45:44.775Z] 207e8628e3a3: Download complete [2021-05-19T05:45:44.775Z] c791037a9be2: Download complete [2021-05-19T05:45:44.775Z] 595b0fe564bb: Verifying Checksum [2021-05-19T05:45:45.482Z] 0510c868ecb4: Pull complete [2021-05-19T05:45:45.482Z] afea3b2eda06: Pull complete [2021-05-19T05:45:45.482Z] 7809a108b3ef: Pull complete [2021-05-19T05:45:45.764Z] 595b0fe564bb: Pull complete [2021-05-19T05:45:46.365Z] 7186ed65a4f7: Pull complete [2021-05-19T05:45:46.642Z] ffd874e62e21: Download complete [2021-05-19T05:45:46.642Z] 316046926c0a: Pull complete [2021-05-19T05:45:46.895Z] f706445af74f: Pull complete [2021-05-19T05:45:46.895Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-19T05:45:46.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-19T05:45:46.895Z] ---> b068be0155e3 [2021-05-19T05:45:46.895Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:45:48.098Z] 4ebd0625c992: Verifying Checksum [2021-05-19T05:45:48.098Z] 4ebd0625c992: Download complete [2021-05-19T05:45:55.072Z] ---> Running in d18bd03c9148 [2021-05-19T05:45:55.072Z] Removing intermediate container d18bd03c9148 [2021-05-19T05:45:55.072Z] ---> 9c72bf8368be [2021-05-19T05:45:55.072Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:45:55.072Z] ---> Running in 9553e181eb1a [2021-05-19T05:45:55.072Z] Removing intermediate container 9553e181eb1a [2021-05-19T05:45:55.072Z] ---> 6140b83f1ceb [2021-05-19T05:45:55.072Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-19T05:45:55.334Z] ---> Running in f9a8615c277e [2021-05-19T05:45:55.908Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T05:45:56.857Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T05:45:57.141Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-19T05:45:57.141Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-19T05:45:57.404Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-19T05:45:57.404Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-19T05:45:57.404Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-19T05:45:57.668Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-19T05:45:57.668Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T05:45:57.668Z] OK: 150 MiB in 46 packages [2021-05-19T05:45:57.933Z] Removing intermediate container f9a8615c277e [2021-05-19T05:45:57.933Z] ---> 750e6925a232 [2021-05-19T05:45:57.933Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-19T05:45:58.198Z] ---> Running in 9ab8b12b6887 [2021-05-19T05:45:58.198Z] Removing intermediate container 9ab8b12b6887 [2021-05-19T05:45:58.198Z] ---> cdb5e2104c7d [2021-05-19T05:45:58.198Z] Step 7/8 : COPY . . [2021-05-19T05:45:58.294Z] 4ebd0625c992: Pull complete [2021-05-19T05:45:58.571Z] 207e8628e3a3: Pull complete [2021-05-19T05:45:58.774Z] ---> 10ace65f4584 [2021-05-19T05:45:58.775Z] Step 8/8 : RUN go mod download [2021-05-19T05:45:58.775Z] ---> Running in df8f61d01331 [2021-05-19T05:45:58.847Z] c791037a9be2: Pull complete [2021-05-19T05:46:03.178Z] ffd874e62e21: Pull complete [2021-05-19T05:46:03.178Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-19T05:46:03.178Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-19T05:46:03.178Z] ---> cfc18b08335c [2021-05-19T05:46:03.178Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:46:05.144Z] ---> Running in 1318e0f2c808 [2021-05-19T05:46:05.418Z] Removing intermediate container 1318e0f2c808 [2021-05-19T05:46:05.418Z] ---> ee543ccfe877 [2021-05-19T05:46:05.418Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:46:05.692Z] ---> Running in f2dfa12a53db [2021-05-19T05:46:08.314Z] Removing intermediate container f2dfa12a53db [2021-05-19T05:46:08.314Z] ---> 304102a9d21c [2021-05-19T05:46:08.314Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-19T05:46:08.314Z] ---> Running in 6343078ff56a [2021-05-19T05:46:08.925Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T05:46:09.915Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T05:46:10.909Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-19T05:46:10.910Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-19T05:46:11.187Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-19T05:46:11.187Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-19T05:46:11.187Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-19T05:46:11.463Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-19T05:46:11.463Z] Executing busybox-1.32.1-r6.trigger [2021-05-19T05:46:11.463Z] OK: 139 MiB in 46 packages [2021-05-19T05:46:12.909Z] Removing intermediate container 6343078ff56a [2021-05-19T05:46:12.909Z] ---> 0ab396dd315a [2021-05-19T05:46:12.909Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-19T05:46:12.909Z] ---> Running in 63c1342a31f6 [2021-05-19T05:46:13.507Z] Removing intermediate container 63c1342a31f6 [2021-05-19T05:46:13.507Z] ---> 3ee6bdfa106e [2021-05-19T05:46:13.507Z] Step 7/8 : COPY . . [2021-05-19T05:46:14.966Z] ---> ef07ec396fd1 [2021-05-19T05:46:14.967Z] Step 8/8 : RUN go mod download [2021-05-19T05:46:14.967Z] ---> Running in dcb427f087c0 [2021-05-19T05:46:20.795Z] Removing intermediate container df8f61d01331 [2021-05-19T05:46:20.795Z] ---> 2aa6f33b27a0 [2021-05-19T05:46:20.795Z] Successfully built 2aa6f33b27a0 [2021-05-19T05:46:20.795Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:46:21.146Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T05:46:21.146Z] . [Pipeline] withDockerContainer [2021-05-19T05:46:21.255Z] prd-centos7-docker-4c-2g-15004 does not seem to be running inside a container [2021-05-19T05:46:21.299Z] $ 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 [2021-05-19T05:46:21.769Z] $ docker top 6260d95a9d9eaf54328718196ce2f20cf8a8271a73ca1aae19e2efc7f191408c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T05:46:22.203Z] + go version [2021-05-19T05:46:22.203Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-19T05:46:22.234Z] $ docker stop --time=1 6260d95a9d9eaf54328718196ce2f20cf8a8271a73ca1aae19e2efc7f191408c [2021-05-19T05:46:23.462Z] $ docker rm -f 6260d95a9d9eaf54328718196ce2f20cf8a8271a73ca1aae19e2efc7f191408c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:46:24.258Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-19T05:46:24.258Z] . [Pipeline] withDockerContainer [2021-05-19T05:46:24.360Z] prd-centos7-docker-4c-2g-15004 does not seem to be running inside a container [2021-05-19T05:46:24.412Z] $ 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 [2021-05-19T05:46:24.997Z] $ docker top aa2c821b3323ffae49b19740c78210d94d572f4a91f460266502911e46a47901 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T05:46:25.441Z] + go mod tidy [Pipeline] sh [2021-05-19T05:46:26.037Z] + make test [2021-05-19T05:46:26.037Z] go mod tidy [2021-05-19T05:46:26.037Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-19T05:46:31.444Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-19T05:46:41.795Z] Removing intermediate container dcb427f087c0 [2021-05-19T05:46:41.796Z] ---> 685ea444540d [2021-05-19T05:46:41.796Z] Successfully built 685ea444540d [2021-05-19T05:46:41.796Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:46:42.236Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T05:46:42.236Z] . [Pipeline] withDockerContainer [2021-05-19T05:46:42.527Z] prd-ubuntu18.04-docker-arm64-4c-16g-15003 does not seem to be running inside a container [2021-05-19T05:46:42.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-19T05:46:44.285Z] $ docker top 9e9319219395e1bca58952db35d6ba5a8dfb8fa691e3c1af7ab5f19d77adf8f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T05:46:45.333Z] + go version [2021-05-19T05:46:45.333Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-19T05:46:45.369Z] $ docker stop --time=1 9e9319219395e1bca58952db35d6ba5a8dfb8fa691e3c1af7ab5f19d77adf8f5 [2021-05-19T05:46:47.244Z] $ docker rm -f 9e9319219395e1bca58952db35d6ba5a8dfb8fa691e3c1af7ab5f19d77adf8f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:46:48.394Z] + docker inspect -f . ci-base-image-arm64 [2021-05-19T05:46:48.394Z] . [Pipeline] withDockerContainer [2021-05-19T05:46:48.682Z] prd-ubuntu18.04-docker-arm64-4c-16g-15003 does not seem to be running inside a container [2021-05-19T05:46:48.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-19T05:46:50.403Z] $ docker top 5be92668221c9f62bb1aad94096fb6c4e7a1c4e300f7599134b0645f6d67de97 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T05:46:51.450Z] + go mod tidy [Pipeline] sh [2021-05-19T05:46:52.732Z] + make test [2021-05-19T05:46:52.732Z] go mod tidy [2021-05-19T05:46:53.340Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-19T05:47:03.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-19T05:47:03.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-19T05:47:03.681Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-19T05:47:04.643Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 25.4% of statements [2021-05-19T05:47:04.643Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-19T05:47:08.850Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 28.1% of statements [2021-05-19T05:47:14.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.046s coverage: 78.9% of statements [2021-05-19T05:47:15.558Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-19T05:47:15.584Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.049s coverage: 10.7% of statements [2021-05-19T05:47:15.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-19T05:47:15.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-19T05:47:15.584Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-19T05:47:17.506Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 30.2% of statements [2021-05-19T05:47:17.506Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-19T05:47:18.939Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 83.3% of statements [2021-05-19T05:47:18.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-19T05:47:18.939Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-19T05:47:18.939Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements [2021-05-19T05:47:20.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.832s coverage: 89.2% of statements [2021-05-19T05:47:20.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-19T05:47:22.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.0% of statements [2021-05-19T05:47:22.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-19T05:47:24.853Z] GO111MODULE=on go vet ./... [2021-05-19T05:47:51.538Z] gofmt -l . [2021-05-19T05:47:51.538Z] [ "`gofmt -l .`" = "" ] [2021-05-19T05:47:51.538Z] ./bin/test-attribution-txt.sh [2021-05-19T05:47:51.538Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-19T05:47:51.574Z] $ docker stop --time=1 aa2c821b3323ffae49b19740c78210d94d572f4a91f460266502911e46a47901 [2021-05-19T05:47:55.471Z] $ docker rm -f aa2c821b3323ffae49b19740c78210d94d572f4a91f460266502911e46a47901 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T05:47:56.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T05:47:56.328Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-19T05:47:59.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-19T05:47:59.681Z] + ls -al . [2021-05-19T05:47:59.681Z] total 212 [2021-05-19T05:47:59.681Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 19 05:47 . [2021-05-19T05:47:59.681Z] drwxrwxr-x. 4 jenkins jenkins 28 May 19 05:45 .. [2021-05-19T05:47:59.681Z] drwxrwxr-x. 2 jenkins jenkins 64 May 19 05:45 bin [2021-05-19T05:47:59.681Z] -rw-r--r--. 1 jenkins jenkins 126187 May 19 05:47 coverage.out [2021-05-19T05:47:59.681Z] -rw-rw-r--. 1 jenkins jenkins 987 May 19 05:45 Dockerfile.build [2021-05-19T05:47:59.681Z] -rw-rw-r--. 1 jenkins jenkins 140 May 19 05:45 .dockerignore [2021-05-19T05:47:59.681Z] drwxrwxr-x. 5 jenkins jenkins 62 May 19 05:45 example [2021-05-19T05:47:59.681Z] drwxrwxr-x. 8 jenkins jenkins 179 May 19 05:45 .git [2021-05-19T05:47:59.681Z] drwxrwxr-x. 2 jenkins jenkins 103 May 19 05:45 .github [2021-05-19T05:47:59.681Z] -rw-rw-r--. 1 jenkins jenkins 138 May 19 05:45 .gitignore [2021-05-19T05:47:59.681Z] -rw-r--r--. 1 jenkins jenkins 575 May 19 05:47 go.mod [2021-05-19T05:47:59.681Z] -rw-r--r--. 1 jenkins jenkins 20803 May 19 05:46 go.sum [2021-05-19T05:47:59.681Z] drwxrwxr-x. 15 jenkins jenkins 224 May 19 05:45 internal [2021-05-19T05:47:59.681Z] -rw-rw-r--. 1 jenkins jenkins 894 May 19 05:45 Jenkinsfile [2021-05-19T05:47:59.681Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 19 05:45 LICENSE [2021-05-19T05:47:59.681Z] -rw-rw-r--. 1 jenkins jenkins 1026 May 19 05:45 Makefile [2021-05-19T05:47:59.681Z] drwxrwxr-x. 4 jenkins jenkins 26 May 19 05:45 openapi [2021-05-19T05:47:59.681Z] drwxrwxr-x. 5 jenkins jenkins 50 May 19 05:45 pkg [2021-05-19T05:47:59.681Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 19 05:45 README.md [2021-05-19T05:47:59.681Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 19 05:45 RELEASE-NOTES.txt [2021-05-19T05:47:59.681Z] drwxrwxr-x. 4 jenkins jenkins 54 May 19 05:45 snap [2021-05-19T05:47:59.681Z] -rw-rw-r--. 1 jenkins jenkins 5 May 19 05:42 VERSION [2021-05-19T05:47:59.681Z] -rw-rw-r--. 1 jenkins jenkins 222 May 19 05:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:48:00.025Z] + 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=a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 --label arch=amd64 --label version=0.0.0 . [2021-05-19T05:48:00.025Z] Sending build context to Docker daemon 2.711MB [2021-05-19T05:48:00.025Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T05:48:00.025Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-19T05:48:00.025Z] ---> 2aa6f33b27a0 [2021-05-19T05:48:00.025Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-19T05:48:00.289Z] ---> Running in 6f04d5535487 [2021-05-19T05:48:00.289Z] Removing intermediate container 6f04d5535487 [2021-05-19T05:48:00.289Z] ---> 4627845f4ae4 [2021-05-19T05:48:00.289Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:48:00.564Z] ---> Running in 1ae1dcb67e85 [2021-05-19T05:48:00.564Z] Removing intermediate container 1ae1dcb67e85 [2021-05-19T05:48:00.564Z] ---> e90b5c039288 [2021-05-19T05:48:00.564Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:48:00.564Z] ---> Running in b6610bf87348 [2021-05-19T05:48:01.141Z] Removing intermediate container b6610bf87348 [2021-05-19T05:48:01.141Z] ---> 020749be0ac1 [2021-05-19T05:48:01.141Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T05:48:01.141Z] ---> Running in c0ff72623f57 [2021-05-19T05:48:01.403Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-19T05:48:02.345Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-19T05:48:02.609Z] OK: 150 MiB in 46 packages [2021-05-19T05:48:02.874Z] Removing intermediate container c0ff72623f57 [2021-05-19T05:48:02.874Z] ---> 5fa04fa8160d [2021-05-19T05:48:02.874Z] Step 7/23 : COPY . . [2021-05-19T05:48:03.449Z] ---> 1de8002a3c17 [2021-05-19T05:48:03.449Z] Step 8/23 : RUN go mod download [2021-05-19T05:48:03.449Z] ---> Running in d5bd2f56e4b1 [2021-05-19T05:48:04.021Z] Removing intermediate container d5bd2f56e4b1 [2021-05-19T05:48:04.021Z] ---> 62917377dfe5 [2021-05-19T05:48:04.021Z] Step 9/23 : RUN make build [2021-05-19T05:48:04.021Z] ---> Running in 85c73b24ab4c [2021-05-19T05:48:04.286Z] go mod tidy [2021-05-19T05:48:04.556Z] 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 [2021-05-19T05:48:16.854Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-19T05:48:16.854Z] Removing intermediate container 85c73b24ab4c [2021-05-19T05:48:16.854Z] ---> 8ba8f3a8a6f0 [2021-05-19T05:48:16.854Z] Step 10/23 : FROM alpine:3.12 [2021-05-19T05:48:16.854Z] 3.12: Pulling from library/alpine [2021-05-19T05:48:17.120Z] 339de151aab4: Pulling fs layer [2021-05-19T05:48:17.120Z] 339de151aab4: Download complete [2021-05-19T05:48:17.381Z] 339de151aab4: Pull complete [2021-05-19T05:48:17.381Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T05:48:17.381Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T05:48:17.381Z] ---> 13621d1b12d4 [2021-05-19T05:48:17.381Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:48:17.381Z] ---> Running in d89c8c3e0ec8 [2021-05-19T05:48:17.643Z] Removing intermediate container d89c8c3e0ec8 [2021-05-19T05:48:17.643Z] ---> 1761e09a37ac [2021-05-19T05:48:17.643Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:48:17.643Z] ---> Running in f04584d14460 [2021-05-19T05:48:18.216Z] Removing intermediate container f04584d14460 [2021-05-19T05:48:18.216Z] ---> ae7d46a67aaa [2021-05-19T05:48:18.216Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-19T05:48:18.216Z] ---> Running in be2b27fc415c [2021-05-19T05:48:18.477Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-19T05:48:19.049Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-19T05:48:19.621Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-19T05:48:19.621Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-19T05:48:19.621Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-19T05:48:21.018Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-19T05:48:21.018Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-19T05:48:21.018Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T05:48:21.018Z] OK: 8 MiB in 19 packages [2021-05-19T05:48:21.287Z] Removing intermediate container be2b27fc415c [2021-05-19T05:48:21.287Z] ---> 9e2d5ee99863 [2021-05-19T05:48:21.287Z] Step 14/23 : WORKDIR / [2021-05-19T05:48:21.287Z] ---> Running in f8d156785f6c [2021-05-19T05:48:21.287Z] Removing intermediate container f8d156785f6c [2021-05-19T05:48:21.287Z] ---> 1facde261bfc [2021-05-19T05:48:21.287Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-19T05:48:21.549Z] ---> 56b16b9f2837 [2021-05-19T05:48:21.549Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-19T05:48:22.123Z] ---> baf8bd743876 [2021-05-19T05:48:22.123Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-19T05:48:22.387Z] ---> 6396bc4fdc26 [2021-05-19T05:48:22.387Z] Step 18/23 : EXPOSE 49990 [2021-05-19T05:48:22.387Z] ---> Running in 200d6e08e316 [2021-05-19T05:48:22.647Z] Removing intermediate container 200d6e08e316 [2021-05-19T05:48:22.647Z] ---> ace957381117 [2021-05-19T05:48:22.647Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-19T05:48:22.647Z] ---> Running in a0d22f92f968 [2021-05-19T05:48:22.647Z] Removing intermediate container a0d22f92f968 [2021-05-19T05:48:22.647Z] ---> 155fc403952e [2021-05-19T05:48:22.647Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-19T05:48:22.647Z] ---> Running in 554849cbe852 [2021-05-19T05:48:22.647Z] Removing intermediate container 554849cbe852 [2021-05-19T05:48:22.647Z] ---> 58c89e3331ab [2021-05-19T05:48:22.647Z] Step 21/23 : LABEL arch=amd64 [2021-05-19T05:48:22.908Z] ---> Running in e2fdafe7f429 [2021-05-19T05:48:22.908Z] Removing intermediate container e2fdafe7f429 [2021-05-19T05:48:22.908Z] ---> 4e76e2b230e8 [2021-05-19T05:48:22.908Z] Step 22/23 : LABEL git_sha=a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 [2021-05-19T05:48:22.908Z] ---> Running in 94c623b4dec4 [2021-05-19T05:48:22.908Z] Removing intermediate container 94c623b4dec4 [2021-05-19T05:48:22.908Z] ---> 22fc09617cde [2021-05-19T05:48:22.908Z] Step 23/23 : LABEL version=0.0.0 [2021-05-19T05:48:23.169Z] ---> Running in 8c243b2ef70e [2021-05-19T05:48:23.169Z] Removing intermediate container 8c243b2ef70e [2021-05-19T05:48:23.169Z] ---> ba488dfc57ac [2021-05-19T05:48:23.169Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-19T05:48:23.169Z] Successfully built ba488dfc57ac [2021-05-19T05:48:23.169Z] 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) [2021-05-19T05:48:23.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-19T05:48:23.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-19T05:48:23.624Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:48:24.388Z] ---> job-cost.sh [2021-05-19T05:48:24.388Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rV2I [2021-05-19T05:48:31.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.413s coverage: 25.4% of statements [2021-05-19T05:48:31.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-19T05:48:31.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.199s coverage: 28.1% of statements [2021-05-19T05:48:31.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.302s coverage: 78.9% of statements [2021-05-19T05:48:31.965Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.227s coverage: 10.7% of statements [2021-05-19T05:48:31.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-19T05:48:31.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-19T05:48:31.965Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-19T05:48:34.410Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T05:48:34.611Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.334s coverage: 30.2% of statements [2021-05-19T05:48:34.611Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-19T05:48:35.592Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.216s coverage: 83.3% of statements [2021-05-19T05:48:35.592Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-19T05:48:35.592Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-19T05:48:35.592Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.338s coverage: 58.0% of statements [2021-05-19T05:48:38.258Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.042s coverage: 89.2% of statements [2021-05-19T05:48:38.258Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-19T05:48:38.531Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.182s coverage: 5.0% of statements [2021-05-19T05:48:38.531Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-19T05:48:39.131Z] GO111MODULE=on go vet ./... [2021-05-19T05:48:52.571Z] lf-activate-venv(): INFO: Adding /tmp/venv-rV2I/bin to PATH [2021-05-19T05:48:52.571Z] INFO: No Stack... [2021-05-19T05:48:52.571Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T05:48:52.571Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T05:48:52.900Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-19T05:48:52.900Z] + cut -d, -f6 [Pipeline] lock [2021-05-19T05:48:52.975Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-933-1-stack-cost] [2021-05-19T05:48:52.982Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-933-1-stack-cost] did not exist. Created. [2021-05-19T05:48:52.982Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-933-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T05:48:53.411Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-19T05:48:53.506Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T05:48:53.531Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-933-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-19T05:49:47.253Z] gofmt -l . [2021-05-19T05:49:47.253Z] [ "`gofmt -l .`" = "" ] [2021-05-19T05:49:47.253Z] ./bin/test-attribution-txt.sh [2021-05-19T05:49:47.253Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-19T05:49:47.287Z] $ docker stop --time=1 5be92668221c9f62bb1aad94096fb6c4e7a1c4e300f7599134b0645f6d67de97 [2021-05-19T05:49:49.246Z] $ docker rm -f 5be92668221c9f62bb1aad94096fb6c4e7a1c4e300f7599134b0645f6d67de97 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-19T05:49:50.360Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-19T05:49:50.432Z] Warning: overwriting stash ‘coverage-report’ [2021-05-19T05:49:51.060Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-19T05:49:51.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-19T05:49:52.177Z] + ls -al . [2021-05-19T05:49:52.177Z] total 248 [2021-05-19T05:49:52.177Z] drwxrwxr-x 10 jenkins jenkins 4096 May 19 05:49 . [2021-05-19T05:49:52.177Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 05:45 .. [2021-05-19T05:49:52.177Z] -rw-rw-r-- 1 jenkins jenkins 140 May 19 05:45 .dockerignore [2021-05-19T05:49:52.177Z] drwxrwxr-x 8 jenkins jenkins 4096 May 19 05:45 .git [2021-05-19T05:49:52.177Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 05:45 .github [2021-05-19T05:49:52.177Z] -rw-rw-r-- 1 jenkins jenkins 138 May 19 05:45 .gitignore [2021-05-19T05:49:52.177Z] -rw-rw-r-- 1 jenkins jenkins 987 May 19 05:45 Dockerfile.build [2021-05-19T05:49:52.177Z] -rw-rw-r-- 1 jenkins jenkins 894 May 19 05:45 Jenkinsfile [2021-05-19T05:49:52.177Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 19 05:45 LICENSE [2021-05-19T05:49:52.177Z] -rw-rw-r-- 1 jenkins jenkins 1026 May 19 05:45 Makefile [2021-05-19T05:49:52.177Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 19 05:45 README.md [2021-05-19T05:49:52.177Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 19 05:45 RELEASE-NOTES.txt [2021-05-19T05:49:52.177Z] -rw-rw-r-- 1 jenkins jenkins 5 May 19 05:42 VERSION [2021-05-19T05:49:52.177Z] drwxrwxr-x 2 jenkins jenkins 4096 May 19 05:45 bin [2021-05-19T05:49:52.177Z] -rw-r--r-- 1 jenkins jenkins 126186 May 19 05:48 coverage.out [2021-05-19T05:49:52.177Z] drwxrwxr-x 5 jenkins jenkins 4096 May 19 05:45 example [2021-05-19T05:49:52.177Z] -rw-r--r-- 1 jenkins jenkins 575 May 19 05:49 go.mod [2021-05-19T05:49:52.177Z] -rw-r--r-- 1 jenkins jenkins 20803 May 19 05:46 go.sum [2021-05-19T05:49:52.177Z] drwxrwxr-x 15 jenkins jenkins 4096 May 19 05:45 internal [2021-05-19T05:49:52.177Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 05:45 openapi [2021-05-19T05:49:52.177Z] drwxrwxr-x 5 jenkins jenkins 4096 May 19 05:45 pkg [2021-05-19T05:49:52.177Z] drwxrwxr-x 4 jenkins jenkins 4096 May 19 05:45 snap [2021-05-19T05:49:52.177Z] -rw-rw-r-- 1 jenkins jenkins 222 May 19 05:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:49:52.552Z] + 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=a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 --label arch=arm64 --label version=0.0.0 . [2021-05-19T05:49:53.152Z] Sending build context to Docker daemon 2.71MB [2021-05-19T05:49:53.152Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-19T05:49:53.152Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-19T05:49:53.152Z] ---> 685ea444540d [2021-05-19T05:49:53.152Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-19T05:49:53.426Z] ---> Running in f446c97d256e [2021-05-19T05:49:54.018Z] Removing intermediate container f446c97d256e [2021-05-19T05:49:54.019Z] ---> 07ca0009e535 [2021-05-19T05:49:54.019Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:49:54.019Z] ---> Running in 8b99008edf32 [2021-05-19T05:49:54.614Z] Removing intermediate container 8b99008edf32 [2021-05-19T05:49:54.614Z] ---> 961f66970fb7 [2021-05-19T05:49:54.614Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:49:54.614Z] ---> Running in e65abcff8111 [2021-05-19T05:49:57.230Z] Removing intermediate container e65abcff8111 [2021-05-19T05:49:57.230Z] ---> 4360d93b0d9a [2021-05-19T05:49:57.230Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-19T05:49:57.230Z] ---> Running in a03f629a5350 [2021-05-19T05:49:58.206Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-19T05:49:59.185Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-19T05:50:00.159Z] OK: 139 MiB in 46 packages [2021-05-19T05:50:01.132Z] Removing intermediate container a03f629a5350 [2021-05-19T05:50:01.132Z] ---> b70397a1b9d5 [2021-05-19T05:50:01.132Z] Step 7/23 : COPY . . [2021-05-19T05:50:02.634Z] ---> 744f14c320f2 [2021-05-19T05:50:02.634Z] Step 8/23 : RUN go mod download [2021-05-19T05:50:02.634Z] ---> Running in 83d725e38791 [2021-05-19T05:50:04.610Z] Removing intermediate container 83d725e38791 [2021-05-19T05:50:04.610Z] ---> 6f7328c5b034 [2021-05-19T05:50:04.610Z] Step 9/23 : RUN make build [2021-05-19T05:50:04.885Z] ---> Running in 9bd3f75d8c81 [2021-05-19T05:50:05.869Z] go mod tidy [2021-05-19T05:50:06.472Z] 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 [2021-05-19T05:50:45.519Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-19T05:50:45.519Z] Removing intermediate container 9bd3f75d8c81 [2021-05-19T05:50:45.519Z] ---> dd5999154068 [2021-05-19T05:50:45.519Z] Step 10/23 : FROM alpine:3.12 [2021-05-19T05:50:45.519Z] 3.12: Pulling from library/alpine [2021-05-19T05:50:45.519Z] d2f70382dc9a: Pulling fs layer [2021-05-19T05:50:45.519Z] d2f70382dc9a: Verifying Checksum [2021-05-19T05:50:45.519Z] d2f70382dc9a: Download complete [2021-05-19T05:50:45.519Z] d2f70382dc9a: Pull complete [2021-05-19T05:50:45.519Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-19T05:50:45.519Z] Status: Downloaded newer image for alpine:3.12 [2021-05-19T05:50:45.519Z] ---> 9852663dfa18 [2021-05-19T05:50:45.519Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-19T05:50:45.519Z] ---> Running in f4949cf9052c [2021-05-19T05:50:45.519Z] Removing intermediate container f4949cf9052c [2021-05-19T05:50:45.519Z] ---> f40e29a7c2b2 [2021-05-19T05:50:45.519Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-19T05:50:45.519Z] ---> Running in 764e57cb1bc2 [2021-05-19T05:50:47.493Z] Removing intermediate container 764e57cb1bc2 [2021-05-19T05:50:47.493Z] ---> 665245d8f9bf [2021-05-19T05:50:47.493Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-19T05:50:47.493Z] ---> Running in 722d1639de7c [2021-05-19T05:50:48.473Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-19T05:50:49.447Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-19T05:50:50.042Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-19T05:50:50.042Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-19T05:50:50.042Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-19T05:50:50.315Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-19T05:50:50.315Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-19T05:50:50.585Z] Executing busybox-1.31.1-r20.trigger [2021-05-19T05:50:50.585Z] OK: 8 MiB in 19 packages [2021-05-19T05:50:52.032Z] Removing intermediate container 722d1639de7c [2021-05-19T05:50:52.032Z] ---> cc0ec0db898c [2021-05-19T05:50:52.032Z] Step 14/23 : WORKDIR / [2021-05-19T05:50:52.032Z] ---> Running in e526ef7a1866 [2021-05-19T05:50:52.630Z] Removing intermediate container e526ef7a1866 [2021-05-19T05:50:52.630Z] ---> 613ec0ae9741 [2021-05-19T05:50:52.630Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-19T05:50:53.232Z] ---> d680f0957cb8 [2021-05-19T05:50:53.232Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-19T05:50:54.676Z] ---> 0fd238478ddf [2021-05-19T05:50:54.676Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-19T05:50:55.271Z] ---> f37f492f031c [2021-05-19T05:50:55.271Z] Step 18/23 : EXPOSE 49990 [2021-05-19T05:50:55.547Z] ---> Running in 4a0e90c71369 [2021-05-19T05:50:56.137Z] Removing intermediate container 4a0e90c71369 [2021-05-19T05:50:56.137Z] ---> 67c7e9fd1b6c [2021-05-19T05:50:56.137Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-19T05:50:56.137Z] ---> Running in 923f9701c750 [2021-05-19T05:50:56.752Z] Removing intermediate container 923f9701c750 [2021-05-19T05:50:56.752Z] ---> aaeaa4069b6d [2021-05-19T05:50:56.752Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-19T05:50:56.752Z] ---> Running in ece951e7a312 [2021-05-19T05:50:57.353Z] Removing intermediate container ece951e7a312 [2021-05-19T05:50:57.353Z] ---> 5a3507f6200d [2021-05-19T05:50:57.353Z] Step 21/23 : LABEL arch=arm64 [2021-05-19T05:50:57.353Z] ---> Running in 7293d7a14b4e [2021-05-19T05:50:57.953Z] Removing intermediate container 7293d7a14b4e [2021-05-19T05:50:57.953Z] ---> 362e229bd8eb [2021-05-19T05:50:57.953Z] Step 22/23 : LABEL git_sha=a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 [2021-05-19T05:50:57.953Z] ---> Running in f5f9147a8681 [2021-05-19T05:50:58.554Z] Removing intermediate container f5f9147a8681 [2021-05-19T05:50:58.554Z] ---> ef7b23246a49 [2021-05-19T05:50:58.554Z] Step 23/23 : LABEL version=0.0.0 [2021-05-19T05:50:58.554Z] ---> Running in 649d9c1b21b5 [2021-05-19T05:50:59.178Z] Removing intermediate container 649d9c1b21b5 [2021-05-19T05:50:59.178Z] ---> a86b142b6086 [2021-05-19T05:50:59.178Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-19T05:50:59.178Z] Successfully built a86b142b6086 [2021-05-19T05:50:59.178Z] 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 [2021-05-19T05:51:00.024Z] ---> job-cost.sh [2021-05-19T05:51:00.024Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-owyW [2021-05-19T05:51:47.042Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-19T05:53:38.885Z] lf-activate-venv(): INFO: Adding /tmp/venv-owyW/bin to PATH [2021-05-19T05:53:38.885Z] INFO: No Stack... [2021-05-19T05:53:38.885Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-19T05:53:38.885Z] INFO: Archiving Costs [Pipeline] sh [2021-05-19T05:53:39.272Z] + cut -d, -f6 [2021-05-19T05:53:39.272Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-05-19T05:53:39.381Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-933-1-stack-cost] [2021-05-19T05:53:39.388Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-933-1-stack-cost] did not exist. Created. [2021-05-19T05:53:39.388Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-933-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-19T05:53:39.842Z] /w/workspace/device-sdk-go/1@tmp/durable-64735f1e/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-64735f1e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-19T05:53:40.224Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-19T05:53:40.262Z] Warning: overwriting stash ‘stack-cost’ [2021-05-19T05:53:40.434Z] Stashed 1 file(s) [Pipeline] } [2021-05-19T05:53:40.458Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-933-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 [2021-05-19T05:53:41.649Z] provisioning config files... [2021-05-19T05:53:41.686Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-933@tmp/config4281024446089838222tmp [Pipeline] { [Pipeline] sh [2021-05-19T05:53:42.082Z] + set +x [2021-05-19T05:53:42.082Z] + curl -s https://codecov.io/bash [2021-05-19T05:53:42.082Z] + bash -s -- [2021-05-19T05:53:42.082Z] [2021-05-19T05:53:42.082Z] _____ _ [2021-05-19T05:53:42.082Z] / ____| | | [2021-05-19T05:53:42.082Z] | | ___ __| | ___ ___ _____ __ [2021-05-19T05:53:42.082Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-19T05:53:42.082Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-19T05:53:42.082Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-19T05:53:42.082Z] Bash-1.0.2 [2021-05-19T05:53:42.082Z] [2021-05-19T05:53:42.082Z] [2021-05-19T05:53:42.082Z] ==> git version 2.24.4 found [2021-05-19T05:53:42.082Z] ==> 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 [2021-05-19T05:53:42.082Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-19T05:53:42.082Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-19T05:53:42.082Z] ==> Jenkins CI detected. [2021-05-19T05:53:42.082Z] project root: . [2021-05-19T05:53:42.082Z] --> token set from env [2021-05-19T05:53:42.082Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-19T05:53:42.082Z] ==> Running gcov in . (disable via -X gcov) [2021-05-19T05:53:42.082Z] ==> Python coveragepy not found [2021-05-19T05:53:42.082Z] ==> Searching for coverage reports in: [2021-05-19T05:53:42.082Z] + . [2021-05-19T05:53:42.348Z] -> Found 1 reports [2021-05-19T05:53:42.348Z] ==> Detecting git/mercurial file structure [2021-05-19T05:53:42.348Z] ==> Reading reports [2021-05-19T05:53:42.348Z] + ./coverage.out bytes=126186 [2021-05-19T05:53:42.348Z] ==> Appending adjustments [2021-05-19T05:53:42.348Z] https://docs.codecov.io/docs/fixing-reports [2021-05-19T05:53:42.610Z] + Found adjustments [2021-05-19T05:53:42.610Z] ==> Gzipping contents [2021-05-19T05:53:42.610Z] 20K /tmp/codecov.EEl2rj.gz [2021-05-19T05:53:42.610Z] ==> Uploading reports [2021-05-19T05:53:42.610Z] url: https://codecov.io [2021-05-19T05:53:42.610Z] query: branch=PR-933&commit=a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-933%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=933&job=&cmd_args= [2021-05-19T05:53:42.610Z] -> Pinging Codecov [2021-05-19T05:53:42.610Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-933&commit=a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-933%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=933&job=&cmd_args= [2021-05-19T05:53:42.875Z] -> Uploading to [2021-05-19T05:53:42.875Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-19/7E55EF52A471D76F132DFD9A03CDDE97/a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3/c4001147-7a28-4a88-8cda-8cd3c6e5ff36.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210519%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210519T055342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d329333185b4e3962f3b59140050edf297bf61dc832148fc5a84aad5685f402f [2021-05-19T05:53:42.875Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-19T05:53:42.875Z] Dload Upload Total Spent Left Speed [2021-05-19T05:53:43.447Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16507 0 0 100 16507 0 47231 --:--:-- --:--:-- --:--:-- 47297 [2021-05-19T05:53:43.447Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a85632ada9856bf2ff32e6dfbfa33cef8bcbf3d3 [Pipeline] } [2021-05-19T05:53:43.490Z] 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 [2021-05-19T05:53:46.215Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:53:46.839Z] ---> package-listing.sh [2021-05-19T05:53:46.839Z] ++ facter osfamily [2021-05-19T05:53:46.839Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-19T05:53:47.109Z] + OS_FAMILY=redhat [2021-05-19T05:53:47.109Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-933 [2021-05-19T05:53:47.109Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-19T05:53:47.109Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-19T05:53:47.109Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-19T05:53:47.109Z] + PACKAGES=/tmp/packages_start.txt [2021-05-19T05:53:47.109Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-933 ']' [2021-05-19T05:53:47.109Z] + PACKAGES=/tmp/packages_end.txt [2021-05-19T05:53:47.109Z] + case "${OS_FAMILY}" in [2021-05-19T05:53:47.109Z] + rpm -qa [2021-05-19T05:53:47.109Z] + sort [2021-05-19T05:53:47.684Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-19T05:53:47.684Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-19T05:53:47.684Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-19T05:53:47.684Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-933 ']' [2021-05-19T05:53:47.684Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-933/archives/ [2021-05-19T05:53:47.684Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-933/archives/ [Pipeline] echo [2021-05-19T05:53:47.722Z] 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-933/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-19T05:53:48.032Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:53:48.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T05:53:48.632Z] [2021-05-19T05:53:48.632Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-19T05:53:48.995Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T05:53:48.995Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-19T05:53:48.995Z] df20fa9351a1: Pulling fs layer [2021-05-19T05:53:48.995Z] 36b3adc4ff6f: Pulling fs layer [2021-05-19T05:53:48.995Z] 8ad3a11d3b57: Pulling fs layer [2021-05-19T05:53:48.995Z] 46f8f816bc3b: Pulling fs layer [2021-05-19T05:53:48.995Z] 93b61091891f: Pulling fs layer [2021-05-19T05:53:48.995Z] 93b9cdb0e59b: Pulling fs layer [2021-05-19T05:53:48.995Z] 5e14af77c1be: Pulling fs layer [2021-05-19T05:53:48.995Z] 01666e4c0597: Pulling fs layer [2021-05-19T05:53:48.995Z] aa168da1d23b: Pulling fs layer [2021-05-19T05:53:48.995Z] 93b9cdb0e59b: Waiting [2021-05-19T05:53:48.995Z] 5e14af77c1be: Waiting [2021-05-19T05:53:48.995Z] 01666e4c0597: Waiting [2021-05-19T05:53:48.995Z] aa168da1d23b: Waiting [2021-05-19T05:53:48.995Z] 46f8f816bc3b: Waiting [2021-05-19T05:53:48.995Z] 93b61091891f: Waiting [2021-05-19T05:53:48.995Z] 36b3adc4ff6f: Verifying Checksum [2021-05-19T05:53:48.995Z] 36b3adc4ff6f: Download complete [2021-05-19T05:53:48.995Z] 46f8f816bc3b: Verifying Checksum [2021-05-19T05:53:48.995Z] 46f8f816bc3b: Download complete [2021-05-19T05:53:48.995Z] df20fa9351a1: Verifying Checksum [2021-05-19T05:53:48.995Z] df20fa9351a1: Download complete [2021-05-19T05:53:49.262Z] 93b9cdb0e59b: Verifying Checksum [2021-05-19T05:53:49.262Z] 93b9cdb0e59b: Download complete [2021-05-19T05:53:49.262Z] 5e14af77c1be: Verifying Checksum [2021-05-19T05:53:49.262Z] 5e14af77c1be: Download complete [2021-05-19T05:53:49.262Z] 93b61091891f: Verifying Checksum [2021-05-19T05:53:49.262Z] 93b61091891f: Download complete [2021-05-19T05:53:49.262Z] 01666e4c0597: Verifying Checksum [2021-05-19T05:53:49.262Z] 01666e4c0597: Download complete [2021-05-19T05:53:49.262Z] 8ad3a11d3b57: Verifying Checksum [2021-05-19T05:53:49.262Z] 8ad3a11d3b57: Download complete [2021-05-19T05:53:49.262Z] df20fa9351a1: Pull complete [2021-05-19T05:53:49.527Z] 36b3adc4ff6f: Pull complete [2021-05-19T05:53:50.100Z] 8ad3a11d3b57: Pull complete [2021-05-19T05:53:50.360Z] 46f8f816bc3b: Pull complete [2021-05-19T05:53:50.620Z] 93b61091891f: Pull complete [2021-05-19T05:53:50.620Z] 93b9cdb0e59b: Pull complete [2021-05-19T05:53:50.886Z] 5e14af77c1be: Pull complete [2021-05-19T05:53:50.886Z] aa168da1d23b: Verifying Checksum [2021-05-19T05:53:50.886Z] aa168da1d23b: Download complete [2021-05-19T05:53:50.886Z] 01666e4c0597: Pull complete [2021-05-19T05:53:55.139Z] aa168da1d23b: Pull complete [2021-05-19T05:53:55.139Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-19T05:53:55.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-19T05:53:55.139Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-19T05:53:55.249Z] prd-centos7-docker-4c-2g-15002 does not seem to be running inside a container [2021-05-19T05:53:55.286Z] $ 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-933/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-933 -v /w/workspace/dgexfoundry_device-sdk-go_PR-933:/w/workspace/dgexfoundry_device-sdk-go_PR-933:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-933@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-933@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-19T05:53:57.470Z] $ docker top 477874050e344e4e30e11113db04730d56cb2c388ec60958d290640db55b0306 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-19T05:53:57.921Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-19T05:53:58.242Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-19T05:53:58.564Z] + ls /var/log/sa-host [2021-05-19T05:53:58.564Z] + sadf -c /var/log/sa-host/sa05 [2021-05-19T05:53:58.564Z] file_magic: OK [2021-05-19T05:53:58.564Z] HZ: Using current value: 100 [2021-05-19T05:53:58.564Z] file_header: OK [2021-05-19T05:53:58.564Z] 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 [2021-05-19T05:53:58.564Z] Statistics: [2021-05-19T05:53:58.564Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-19T05:53:58.564Z] File successfully converted to sysstat format version 12.2.1 [2021-05-19T05:53:58.564Z] + sadf -c /var/log/sa-host/sa19 [2021-05-19T05:53:58.564Z] file_magic: OK [2021-05-19T05:53:58.564Z] HZ: Using current value: 100 [2021-05-19T05:53:58.564Z] file_header: OK [2021-05-19T05:53:58.564Z] 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 [2021-05-19T05:53:58.564Z] Statistics: [2021-05-19T05:53:58.564Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-19T05:53:58.564Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-19T05:53:59.247Z] provisioning config files... [2021-05-19T05:53:59.259Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-933@tmp/config6859925240903242048tmp [Pipeline] { [Pipeline] echo [2021-05-19T05:53:59.328Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:53:59.691Z] ---> create-netrc.sh [Pipeline] } [2021-05-19T05:53:59.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-19T05:53:59.814Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:54:00.155Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-19T05:54:00.185Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:54:00.542Z] ---> sudo-logs.sh [2021-05-19T05:54:00.542Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-19T05:54:00.624Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:54:00.966Z] ---> job-cost.sh [2021-05-19T05:54:00.966Z] lf-activate-venv: SKIPPING [2021-05-19T05:54:00.966Z] DEBUG: total: 0.18000000715255737 [2021-05-19T05:54:00.966Z] INFO: Retrieving Stack Cost... [2021-05-19T05:54:02.363Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-19T05:54:02.940Z] INFO: Archiving Costs [Pipeline] echo [2021-05-19T05:54:02.979Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-19T05:54:03.323Z] ---> logs-deploy.sh [2021-05-19T05:54:03.323Z] lf-activate-venv: SKIPPING [2021-05-19T05:54:03.323Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-933/1 [2021-05-19T05:54:03.323Z] INFO: archiving workspace using pattern(s): [2021-05-19T05:54:04.279Z] Archives upload complete. [2021-05-19T05:54:04.279Z] INFO: archiving logs to Nexus