Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d510da1b257a72a1ecadf2ee4e04e7d54b2df89d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-23534 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 Commit message: "Merge pull request #756 from edgexfoundry/dependabot/go_modules/github.com/google/uuid-1.2.0" > git rev-list --no-walk 76d059c2e27a3d5d488ff0022063f09e99d334bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-01-28T00:10:21.552Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-01-28T00:10:21.843Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-01-28T00:10:21.940Z] ========================================================= [2021-01-28T00:10:21.940Z] EdgeX Global Pipelines Version Info [2021-01-28T00:10:21.940Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:10:23.587Z] ------------------- [2021-01-28T00:10:23.587Z] stable info: [2021-01-28T00:10:23.587Z] ------------------- [2021-01-28T00:10:23.587Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:10:23.587Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:10:23.587Z] Message: update stable to v1.0.179 [2021-01-28T00:10:24.534Z] ------------------- [2021-01-28T00:10:24.534Z] experimental info: [2021-01-28T00:10:24.534Z] ------------------- [2021-01-28T00:10:24.534Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-01-28T00:10:24.534Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-01-28T00:10:24.534Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-01-28T00:10:24.795Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-01-28T00:10:24.906Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-01-28T00:10:25.012Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-01-28T00:10:25.101Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-01-28T00:10:25.194Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-01-28T00:10:25.287Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-01-28T00:10:25.383Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-01-28T00:10:25.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-01-28T00:10:25.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-01-28T00:10:25.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-01-28T00:10:25.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-01-28T00:10:25.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-01-28T00:10:25.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-01-28T00:10:26.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-01-28T00:10:26.178Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-01-28T00:10:26.278Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:10:26.372Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:10:26.580Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-01-28T00:10:26.697Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-01-28T00:10:26.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-01-28T00:10:26.914Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-01-28T00:10:27.002Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-01-28T00:10:27.094Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-01-28T00:10:27.188Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-01-28T00:10:27.280Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-01-28T00:10:27.370Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-01-28T00:10:27.465Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-01-28T00:10:27.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-01-28T00:10:27.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-01-28T00:10:27.738Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-01-28T00:10:27.863Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d510da1b257a72a1ecadf2ee4e04e7d54b2df89d [Pipeline] echo [2021-01-28T00:10:27.952Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d510da1 [Pipeline] echo [2021-01-28T00:10:28.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:10:28.226Z] provisioning config files... [2021-01-28T00:10:28.250Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5411190866242724219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:10:28.612Z] ---> docker-login.sh [2021-01-28T00:10:28.612Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:10:28.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:10:29.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:10:29.138Z] Configure a credential helper to remove this warning. See [2021-01-28T00:10:29.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:10:29.138Z] [2021-01-28T00:10:29.138Z] Login Succeeded [2021-01-28T00:10:29.138Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:10:29.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:10:29.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:10:29.138Z] Configure a credential helper to remove this warning. See [2021-01-28T00:10:29.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:10:29.138Z] [2021-01-28T00:10:29.138Z] Login Succeeded [2021-01-28T00:10:29.138Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:10:29.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:10:29.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:10:29.401Z] Configure a credential helper to remove this warning. See [2021-01-28T00:10:29.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:10:29.401Z] [2021-01-28T00:10:29.401Z] Login Succeeded [2021-01-28T00:10:29.401Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:10:29.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:10:29.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:10:29.662Z] Configure a credential helper to remove this warning. See [2021-01-28T00:10:29.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:10:29.662Z] [2021-01-28T00:10:29.662Z] Login Succeeded [2021-01-28T00:10:29.662Z] docker.io [2021-01-28T00:10:29.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:10:29.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:10:29.926Z] Configure a credential helper to remove this warning. See [2021-01-28T00:10:29.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:10:29.926Z] [2021-01-28T00:10:29.926Z] Login Succeeded [2021-01-28T00:10:29.926Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:10:29.936Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:10:30.979Z] + git log --format=format:%s -1 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d [Pipeline] echo [2021-01-28T00:10:31.047Z] GIT_COMMIT: d510da1b257a72a1ecadf2ee4e04e7d54b2df89d, Commit Message: Merge pull request #756 from edgexfoundry/dependabot/go_modules/github.com/google/uuid-1.2.0 [Pipeline] echo [2021-01-28T00:10:31.101Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:10:33.241Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:10:33.241Z] [2021-01-28T00:10:33.241Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:10:33.654Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:10:33.654Z] latest: Pulling from edgex-devops/git-semver [2021-01-28T00:10:33.654Z] 31603596830f: Pulling fs layer [2021-01-28T00:10:33.654Z] 2a8b12db71e7: Pulling fs layer [2021-01-28T00:10:33.654Z] 6ca5941a6612: Pulling fs layer [2021-01-28T00:10:33.654Z] ecc8261a40a4: Pulling fs layer [2021-01-28T00:10:33.654Z] ecc8261a40a4: Waiting [2021-01-28T00:10:33.654Z] 2a8b12db71e7: Verifying Checksum [2021-01-28T00:10:33.654Z] 2a8b12db71e7: Download complete [2021-01-28T00:10:33.917Z] 31603596830f: Download complete [2021-01-28T00:10:33.917Z] ecc8261a40a4: Verifying Checksum [2021-01-28T00:10:33.917Z] ecc8261a40a4: Download complete [2021-01-28T00:10:33.917Z] 6ca5941a6612: Verifying Checksum [2021-01-28T00:10:33.917Z] 6ca5941a6612: Download complete [2021-01-28T00:10:34.183Z] 31603596830f: Pull complete [2021-01-28T00:10:34.446Z] 2a8b12db71e7: Pull complete [2021-01-28T00:10:35.030Z] 6ca5941a6612: Pull complete [2021-01-28T00:10:35.293Z] ecc8261a40a4: Pull complete [2021-01-28T00:10:35.555Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-01-28T00:10:35.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:10:35.555Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-01-28T00:10:35.690Z] prd-centos7-docker-4c-2g-23534 does not seem to be running inside a container [2021-01-28T00:10:35.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T00:10:38.362Z] $ docker top de928dd821cb020a7310c18d25cf2dac4fad3e6e4cf3db58bc47c04c4ad6ba32 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T00:10:38.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:10:38.821Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:10:39.079Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:10:39.082Z] $ docker exec de928dd821cb020a7310c18d25cf2dac4fad3e6e4cf3db58bc47c04c4ad6ba32 ssh-agent [2021-01-28T00:10:39.286Z] SSH_AUTH_SOCK=/tmp/ssh-5wZ694yVY5m9/agent.12 [2021-01-28T00:10:39.286Z] SSH_AGENT_PID=17 [2021-01-28T00:10:39.303Z] Running ssh-add (command line suppressed) [2021-01-28T00:10:39.426Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_500320803643448560.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_500320803643448560.key) [2021-01-28T00:10:39.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:10:39.826Z] + git tag --points-at HEAD [Pipeline] } [2021-01-28T00:10:39.848Z] $ docker exec --env ******** --env ******** de928dd821cb020a7310c18d25cf2dac4fad3e6e4cf3db58bc47c04c4ad6ba32 ssh-agent -k [2021-01-28T00:10:39.959Z] unset SSH_AUTH_SOCK; [2021-01-28T00:10:39.959Z] unset SSH_AGENT_PID; [2021-01-28T00:10:39.959Z] echo Agent pid 17 killed; [2021-01-28T00:10:40.009Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-01-28T00:10:40.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:10:40.148Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:10:40.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:10:40.320Z] $ docker exec de928dd821cb020a7310c18d25cf2dac4fad3e6e4cf3db58bc47c04c4ad6ba32 ssh-agent [2021-01-28T00:10:40.481Z] SSH_AUTH_SOCK=/tmp/ssh-4AfjFvzXoFgl/agent.45 [2021-01-28T00:10:40.481Z] SSH_AGENT_PID=50 [2021-01-28T00:10:40.488Z] Running ssh-add (command line suppressed) [2021-01-28T00:10:40.609Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9215199559945279297.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_9215199559945279297.key) [2021-01-28T00:10:40.666Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:10:41.005Z] + git semver init [2021-01-28T00:10:41.005Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T00:10:41.005Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-28T00:10:41.005Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-28T00:10:41.005Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T00:10:41.005Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T00:10:41.005Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T00:10:41.005Z] # $SEMVER_BRANCH = master [2021-01-28T00:10:41.005Z] # $SEMVER_TEMP = /tmp/semver-896046118 [2021-01-28T00:10:41.005Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-01-28T00:10:41.582Z] # '/tmp/semver-896046118' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-01-28T00:10:41.582Z] # -> Force: false [2021-01-28T00:10:41.582Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-28T00:10:41.595Z] $ docker exec --env ******** --env ******** de928dd821cb020a7310c18d25cf2dac4fad3e6e4cf3db58bc47c04c4ad6ba32 ssh-agent -k [2021-01-28T00:10:41.704Z] unset SSH_AUTH_SOCK; [2021-01-28T00:10:41.704Z] unset SSH_AGENT_PID; [2021-01-28T00:10:41.704Z] echo Agent pid 50 killed; [2021-01-28T00:10:41.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T00:10:42.321Z] + git semver [Pipeline] } [2021-01-28T00:10:42.341Z] $ docker stop --time=1 de928dd821cb020a7310c18d25cf2dac4fad3e6e4cf3db58bc47c04c4ad6ba32 [2021-01-28T00:10:43.822Z] $ docker rm -f de928dd821cb020a7310c18d25cf2dac4fad3e6e4cf3db58bc47c04c4ad6ba32 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:10:44.313Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-01-28T00:10:44.789Z] Stashed 1 file(s) [Pipeline] echo [2021-01-28T00:10:44.792Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.8 [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-01-28T00:11:00.296Z] Still waiting to schedule task [2021-01-28T00:11:00.296Z] ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-23531’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-23526’ is offline; ‘prd-centos7-docker-4c-2g-23528’ is offline; ‘prd-centos7-docker-4c-2g-23536’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23426’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-23529’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-01-28T00:11:00.298Z] Still waiting to schedule task [2021-01-28T00:11:00.298Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-01-28T00:11:58.529Z] Running on prd-centos7-docker-4c-2g-23539 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-28T00:11:58.603Z] Running in /w/workspace/device-sdk-go/113 [Pipeline] { [Pipeline] checkout [2021-01-28T00:12:01.011Z] using credential edgex-jenkins-ssh [2021-01-28T00:12:01.069Z] Cloning the remote Git repository [2021-01-28T00:12:01.102Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:12:01.174Z] > git init /w/workspace/device-sdk-go/113 # timeout=10 [2021-01-28T00:12:01.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:12:01.238Z] > git --version # timeout=10 [2021-01-28T00:12:01.247Z] > git --version # 'git version 2.24.3' [2021-01-28T00:12:01.248Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:12:01.287Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:12:02.702Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:12:02.714Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:12:02.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:12:02.779Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:12:02.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:12:02.784Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:12:05.538Z] Checking out Revision d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (master) [2021-01-28T00:12:05.548Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:12:05.552Z] > git checkout -f d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:12:09.221Z] Commit message: "Merge pull request #756 from edgexfoundry/dependabot/go_modules/github.com/google/uuid-1.2.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:12:10.211Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:12:10.538Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:12:10.851Z] + true [2021-01-28T00:12:10.851Z] + sudo service docker restart [2021-01-28T00:12:10.851Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:12:12.311Z] provisioning config files... [2021-01-28T00:12:12.344Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/113@tmp/config3633845616576818442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:12:12.721Z] ---> docker-login.sh [2021-01-28T00:12:12.721Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:12:12.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:13.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:13.259Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:13.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:13.259Z] [2021-01-28T00:12:13.259Z] Login Succeeded [2021-01-28T00:12:13.259Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:12:13.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:13.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:13.259Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:13.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:13.259Z] [2021-01-28T00:12:13.259Z] Login Succeeded [2021-01-28T00:12:13.259Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:12:13.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:13.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:13.530Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:13.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:13.530Z] [2021-01-28T00:12:13.530Z] Login Succeeded [2021-01-28T00:12:13.530Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:12:13.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:13.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:13.795Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:13.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:13.795Z] [2021-01-28T00:12:13.795Z] Login Succeeded [2021-01-28T00:12:13.795Z] docker.io [2021-01-28T00:12:13.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:12:14.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:12:14.057Z] Configure a credential helper to remove this warning. See [2021-01-28T00:12:14.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:12:14.057Z] [2021-01-28T00:12:14.057Z] Login Succeeded [2021-01-28T00:12:14.057Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:12:14.069Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T00:12:14.462Z] ========================================================= [2021-01-28T00:12:14.462Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-01-28T00:12:14.462Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:12:14.850Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-01-28T00:12:14.850Z] Sending build context to Docker daemon 2.562MB [2021-01-28T00:12:15.112Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:12:15.112Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:12:15.112Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-01-28T00:12:15.112Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T00:12:15.112Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T00:12:15.112Z] de9db76c5a1d: Pulling fs layer [2021-01-28T00:12:15.112Z] bca2f99d35d6: Pulling fs layer [2021-01-28T00:12:15.112Z] 93359f2a8cfa: Pulling fs layer [2021-01-28T00:12:15.112Z] 7c6f9722023f: Pulling fs layer [2021-01-28T00:12:15.112Z] a35cf1a2eb13: Pulling fs layer [2021-01-28T00:12:15.112Z] 93359f2a8cfa: Waiting [2021-01-28T00:12:15.112Z] 7c6f9722023f: Waiting [2021-01-28T00:12:15.112Z] a35cf1a2eb13: Waiting [2021-01-28T00:12:15.112Z] bca2f99d35d6: Waiting [2021-01-28T00:12:15.112Z] de9db76c5a1d: Download complete [2021-01-28T00:12:15.112Z] 0ef7d3d256c8: Download complete [2021-01-28T00:12:15.112Z] 93359f2a8cfa: Verifying Checksum [2021-01-28T00:12:15.112Z] 93359f2a8cfa: Download complete [2021-01-28T00:12:15.112Z] 7c6f9722023f: Verifying Checksum [2021-01-28T00:12:15.112Z] 7c6f9722023f: Download complete [2021-01-28T00:12:15.699Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T00:12:15.699Z] 188c0c94c7c5: Download complete [2021-01-28T00:12:15.972Z] 188c0c94c7c5: Pull complete [2021-01-28T00:12:16.236Z] 0ef7d3d256c8: Pull complete [2021-01-28T00:12:16.236Z] de9db76c5a1d: Pull complete [2021-01-28T00:12:17.646Z] a35cf1a2eb13: Verifying Checksum [2021-01-28T00:12:17.646Z] a35cf1a2eb13: Download complete [2021-01-28T00:12:18.612Z] bca2f99d35d6: Verifying Checksum [2021-01-28T00:12:18.612Z] bca2f99d35d6: Download complete [2021-01-28T00:12:23.968Z] bca2f99d35d6: Pull complete [2021-01-28T00:12:23.968Z] 93359f2a8cfa: Pull complete [2021-01-28T00:12:24.236Z] 7c6f9722023f: Pull complete [2021-01-28T00:12:32.420Z] a35cf1a2eb13: Pull complete [2021-01-28T00:12:32.420Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-01-28T00:12:32.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-01-28T00:12:32.420Z] ---> a62c8e92a672 [2021-01-28T00:12:32.420Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:12:32.420Z] ---> Running in 21f8ccc95103 [2021-01-28T00:12:32.420Z] Removing intermediate container 21f8ccc95103 [2021-01-28T00:12:32.420Z] ---> 4bb44fb6526c [2021-01-28T00:12:32.420Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:12:32.420Z] ---> Running in 6f7e25ce4f94 [2021-01-28T00:12:32.687Z] Removing intermediate container 6f7e25ce4f94 [2021-01-28T00:12:32.687Z] ---> f955ca79419c [2021-01-28T00:12:32.687Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:12:32.951Z] ---> Running in 6fc3ef2f4969 [2021-01-28T00:12:34.348Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:12:34.612Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:12:35.190Z] OK: 166 MiB in 39 packages [2021-01-28T00:12:35.814Z] Removing intermediate container 6fc3ef2f4969 [2021-01-28T00:12:35.814Z] ---> 38432613c93e [2021-01-28T00:12:35.814Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:12:35.814Z] ---> Running in acda17faa0f5 [2021-01-28T00:12:36.084Z] Removing intermediate container acda17faa0f5 [2021-01-28T00:12:36.084Z] ---> 901dbde8e008 [2021-01-28T00:12:36.084Z] Step 7/8 : COPY . . [2021-01-28T00:12:37.506Z] ---> e2b86def3893 [2021-01-28T00:12:37.506Z] Step 8/8 : RUN go mod download [2021-01-28T00:12:37.506Z] ---> Running in 8f444ab078b4 [2021-01-28T00:12:55.770Z] Removing intermediate container 8f444ab078b4 [2021-01-28T00:12:55.770Z] ---> 9b48ddd0943c [2021-01-28T00:12:55.770Z] Successfully built 9b48ddd0943c [2021-01-28T00:12:55.770Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:12:56.150Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:12:56.150Z] . [Pipeline] withDockerContainer [2021-01-28T00:12:56.407Z] prd-centos7-docker-4c-2g-23539 does not seem to be running inside a container [2021-01-28T00:12:56.466Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/113 -v /w/workspace/device-sdk-go/113:/w/workspace/device-sdk-go/113:rw,z -v /w/workspace/device-sdk-go/113@tmp:/w/workspace/device-sdk-go/113@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 ******** ci-base-image-x86_64 cat [2021-01-28T00:12:57.313Z] $ docker top 88b6c122a850563fe7e230e3d5150a66b8a1eaae09d643302d710dccba8aedec -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:12:57.804Z] + go version [2021-01-28T00:12:57.804Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-01-28T00:12:57.819Z] $ docker stop --time=1 88b6c122a850563fe7e230e3d5150a66b8a1eaae09d643302d710dccba8aedec [2021-01-28T00:12:59.168Z] $ docker rm -f 88b6c122a850563fe7e230e3d5150a66b8a1eaae09d643302d710dccba8aedec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:12:59.963Z] + docker inspect -f . ci-base-image-x86_64 [2021-01-28T00:12:59.963Z] . [Pipeline] withDockerContainer [2021-01-28T00:13:00.068Z] prd-centos7-docker-4c-2g-23539 does not seem to be running inside a container [2021-01-28T00:13:00.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/113 -v /w/workspace/device-sdk-go/113:/w/workspace/device-sdk-go/113:rw,z -v /w/workspace/device-sdk-go/113@tmp:/w/workspace/device-sdk-go/113@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 ******** ci-base-image-x86_64 cat [2021-01-28T00:13:00.761Z] $ docker top 0e8b2d579224f629f509fb1e0c4860e6b633d1bbf97218f1dbf0c81f3b28b7e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:13:01.261Z] + make test [2021-01-28T00:13:01.261Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:13:09.547Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:13:28.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:13:28.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:13:28.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:13:28.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.079s coverage: 19.4% of statements [2021-01-28T00:13:28.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.526s coverage: 97.1% of statements [2021-01-28T00:13:40.366Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-23542 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-01-28T00:13:40.424Z] Running in /w/workspace/device-sdk-go/113 [Pipeline] { [Pipeline] checkout [2021-01-28T00:13:46.143Z] using credential edgex-jenkins-ssh [2021-01-28T00:13:46.220Z] Cloning the remote Git repository [2021-01-28T00:13:46.281Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:13:46.393Z] > git init /w/workspace/device-sdk-go/113 # timeout=10 [2021-01-28T00:13:46.467Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:13:46.468Z] > git --version # timeout=10 [2021-01-28T00:13:46.484Z] > git --version # 'git version 2.17.1' [2021-01-28T00:13:46.486Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:13:46.560Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:13:47.722Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:13:47.744Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-01-28T00:13:47.768Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-01-28T00:13:47.806Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-01-28T00:13:47.807Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-01-28T00:13:47.824Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-01-28T00:13:48.318Z] Checking out Revision d510da1b257a72a1ecadf2ee4e04e7d54b2df89d (master) [2021-01-28T00:13:48.341Z] > git config core.sparsecheckout # timeout=10 [2021-01-28T00:13:48.354Z] > git checkout -f d510da1b257a72a1ecadf2ee4e04e7d54b2df89d # timeout=10 [2021-01-28T00:13:52.924Z] Commit message: "Merge pull request #756 from edgexfoundry/dependabot/go_modules/github.com/google/uuid-1.2.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:13:54.406Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:13:54.823Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-01-28T00:13:55.175Z] + true [2021-01-28T00:13:55.175Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-01-28T00:13:57.879Z] provisioning config files... [2021-01-28T00:13:57.929Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/113@tmp/config1675127712205976603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:13:58.354Z] ---> docker-login.sh [2021-01-28T00:13:58.354Z] nexus3.edgexfoundry.org:10001 [2021-01-28T00:13:59.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:13:59.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:13:59.632Z] Configure a credential helper to remove this warning. See [2021-01-28T00:13:59.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:13:59.632Z] [2021-01-28T00:13:59.632Z] Login Succeeded [2021-01-28T00:13:59.632Z] nexus3.edgexfoundry.org:10002 [2021-01-28T00:13:59.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:00.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:00.181Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:00.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:00.181Z] [2021-01-28T00:14:00.181Z] Login Succeeded [2021-01-28T00:14:00.181Z] nexus3.edgexfoundry.org:10003 [2021-01-28T00:14:00.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:00.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:00.453Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:00.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:00.453Z] [2021-01-28T00:14:00.453Z] Login Succeeded [2021-01-28T00:14:00.453Z] nexus3.edgexfoundry.org:10004 [2021-01-28T00:14:01.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:01.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:01.047Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:01.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:01.047Z] [2021-01-28T00:14:01.047Z] Login Succeeded [2021-01-28T00:14:01.047Z] docker.io [2021-01-28T00:14:01.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 9.4% of statements [2021-01-28T00:14:01.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 21.7% of statements [2021-01-28T00:14:01.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T00:14:01.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.329s coverage: 43.2% of statements [2021-01-28T00:14:01.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T00:14:01.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.319s coverage: 68.9% of statements [2021-01-28T00:14:01.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T00:14:01.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T00:14:01.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T00:14:01.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T00:14:01.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 53.8% of statements [2021-01-28T00:14:01.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T00:14:01.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T00:14:01.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.083s coverage: 26.8% of statements [2021-01-28T00:14:01.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.504s coverage: 83.5% of statements [2021-01-28T00:14:01.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.2% of statements [2021-01-28T00:14:01.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T00:14:01.311Z] GO111MODULE=on go vet ./... [2021-01-28T00:14:01.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-01-28T00:14:01.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-01-28T00:14:01.594Z] Configure a credential helper to remove this warning. See [2021-01-28T00:14:01.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-01-28T00:14:01.594Z] [2021-01-28T00:14:01.594Z] Login Succeeded [2021-01-28T00:14:01.594Z] ---> docker-login.sh ends [Pipeline] } [2021-01-28T00:14:01.610Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-01-28T00:14:02.029Z] ========================================================= [2021-01-28T00:14:02.029Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-01-28T00:14:02.029Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:14:02.409Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-01-28T00:14:02.687Z] Sending build context to Docker daemon 2.561MB [2021-01-28T00:14:02.687Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:14:02.687Z] Step 2/8 : FROM ${BASE} [2021-01-28T00:14:02.959Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-01-28T00:14:02.959Z] 5f621e34cdf4: Pulling fs layer [2021-01-28T00:14:02.959Z] a4357932f1b6: Pulling fs layer [2021-01-28T00:14:02.959Z] 18c013af1878: Pulling fs layer [2021-01-28T00:14:02.959Z] 00ac8860ef70: Pulling fs layer [2021-01-28T00:14:02.959Z] 63d7cb157983: Pulling fs layer [2021-01-28T00:14:02.959Z] b116817d02f9: Pulling fs layer [2021-01-28T00:14:02.959Z] 745a02a5169b: Pulling fs layer [2021-01-28T00:14:02.959Z] 00ac8860ef70: Waiting [2021-01-28T00:14:02.959Z] 63d7cb157983: Waiting [2021-01-28T00:14:02.959Z] b116817d02f9: Waiting [2021-01-28T00:14:02.959Z] 745a02a5169b: Waiting [2021-01-28T00:14:02.959Z] 18c013af1878: Download complete [2021-01-28T00:14:02.959Z] a4357932f1b6: Verifying Checksum [2021-01-28T00:14:02.959Z] a4357932f1b6: Download complete [2021-01-28T00:14:02.959Z] 63d7cb157983: Verifying Checksum [2021-01-28T00:14:02.959Z] 63d7cb157983: Download complete [2021-01-28T00:14:02.959Z] b116817d02f9: Verifying Checksum [2021-01-28T00:14:02.959Z] b116817d02f9: Download complete [2021-01-28T00:14:03.238Z] 5f621e34cdf4: Verifying Checksum [2021-01-28T00:14:03.238Z] 5f621e34cdf4: Download complete [2021-01-28T00:14:03.840Z] 5f621e34cdf4: Pull complete [2021-01-28T00:14:04.441Z] a4357932f1b6: Pull complete [2021-01-28T00:14:04.714Z] 18c013af1878: Pull complete [2021-01-28T00:14:05.693Z] 745a02a5169b: Download complete [2021-01-28T00:14:06.685Z] 00ac8860ef70: Verifying Checksum [2021-01-28T00:14:06.685Z] 00ac8860ef70: Download complete [2021-01-28T00:14:09.606Z] gofmt -l . [2021-01-28T00:14:09.606Z] [ "`gofmt -l .`" = "" ] [2021-01-28T00:14:09.606Z] ./bin/test-attribution-txt.sh [2021-01-28T00:14:10.183Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T00:14:10.465Z] $ docker stop --time=1 0e8b2d579224f629f509fb1e0c4860e6b633d1bbf97218f1dbf0c81f3b28b7e9 [2021-01-28T00:14:12.517Z] $ docker rm -f 0e8b2d579224f629f509fb1e0c4860e6b633d1bbf97218f1dbf0c81f3b28b7e9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:14:13.230Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T00:14:13.612Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-01-28T00:14:15.296Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T00:14:15.605Z] + ls -al . [2021-01-28T00:14:15.605Z] total 216 [2021-01-28T00:14:15.605Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 28 00:14 . [2021-01-28T00:14:15.605Z] drwxrwxr-x. 4 jenkins jenkins 32 Jan 28 00:12 .. [2021-01-28T00:14:15.605Z] drwxrwxr-x. 2 jenkins jenkins 64 Jan 28 00:12 bin [2021-01-28T00:14:15.605Z] -rw-r--r--. 1 jenkins jenkins 136842 Jan 28 00:13 coverage.out [2021-01-28T00:14:15.605Z] -rw-rw-r--. 1 jenkins jenkins 949 Jan 28 00:12 Dockerfile.build [2021-01-28T00:14:15.605Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 28 00:12 .dockerignore [2021-01-28T00:14:15.605Z] drwxrwxr-x. 4 jenkins jenkins 48 Jan 28 00:12 example [2021-01-28T00:14:15.605Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 28 00:12 .git [2021-01-28T00:14:15.605Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 28 00:12 .github [2021-01-28T00:14:15.605Z] -rw-rw-r--. 1 jenkins jenkins 138 Jan 28 00:12 .gitignore [2021-01-28T00:14:15.605Z] -rw-r--r--. 1 jenkins jenkins 514 Jan 28 00:14 go.mod [2021-01-28T00:14:15.605Z] -rw-r--r--. 1 jenkins jenkins 14101 Jan 28 00:14 go.sum [2021-01-28T00:14:15.605Z] drwxrwxr-x. 15 jenkins jenkins 211 Jan 28 00:12 internal [2021-01-28T00:14:15.605Z] -rw-rw-r--. 1 jenkins jenkins 901 Jan 28 00:12 Jenkinsfile [2021-01-28T00:14:15.605Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 28 00:12 LICENSE [2021-01-28T00:14:15.605Z] -rw-rw-r--. 1 jenkins jenkins 1016 Jan 28 00:12 Makefile [2021-01-28T00:14:15.605Z] drwxrwxr-x. 4 jenkins jenkins 26 Jan 28 00:12 openapi [2021-01-28T00:14:15.605Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 28 00:12 pkg [2021-01-28T00:14:15.605Z] -rw-rw-r--. 1 jenkins jenkins 5897 Jan 28 00:12 README.md [2021-01-28T00:14:15.605Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jan 28 00:12 RELEASE-NOTES.txt [2021-01-28T00:14:15.605Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 28 00:12 snap [2021-01-28T00:14:15.605Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 28 00:10 VERSION [2021-01-28T00:14:15.605Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 28 00:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:14:15.919Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=d510da1b257a72a1ecadf2ee4e04e7d54b2df89d --label arch=amd64 --label version=2.0.0-dev.8 . [2021-01-28T00:14:16.184Z] Sending build context to Docker daemon 2.699MB [2021-01-28T00:14:16.184Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:14:16.184Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T00:14:16.184Z] ---> 9b48ddd0943c [2021-01-28T00:14:16.184Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T00:14:16.760Z] ---> Running in f9c883ff0878 [2021-01-28T00:14:16.760Z] Removing intermediate container f9c883ff0878 [2021-01-28T00:14:16.760Z] ---> 42adea03c23a [2021-01-28T00:14:16.760Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T00:14:16.889Z] 00ac8860ef70: Pull complete [2021-01-28T00:14:17.022Z] ---> Running in 08a6ec5d1196 [2021-01-28T00:14:17.022Z] Removing intermediate container 08a6ec5d1196 [2021-01-28T00:14:17.022Z] ---> e986cbdaf889 [2021-01-28T00:14:17.022Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:14:17.022Z] ---> Running in 82863549ba4d [2021-01-28T00:14:17.163Z] 63d7cb157983: Pull complete [2021-01-28T00:14:17.285Z] Removing intermediate container 82863549ba4d [2021-01-28T00:14:17.286Z] ---> 36e08ea2feec [2021-01-28T00:14:17.286Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:14:17.286Z] ---> Running in 76662776b239 [2021-01-28T00:14:17.438Z] b116817d02f9: Pull complete [2021-01-28T00:14:18.695Z] Removing intermediate container 76662776b239 [2021-01-28T00:14:18.695Z] ---> 6f315646ff36 [2021-01-28T00:14:18.695Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T00:14:18.695Z] ---> Running in e27e798eb4e6 [2021-01-28T00:14:18.960Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-01-28T00:14:19.907Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-01-28T00:14:20.485Z] OK: 166 MiB in 39 packages [2021-01-28T00:14:20.748Z] Removing intermediate container e27e798eb4e6 [2021-01-28T00:14:20.748Z] ---> 683294a8a067 [2021-01-28T00:14:20.748Z] Step 8/24 : COPY . . [2021-01-28T00:14:20.821Z] 745a02a5169b: Pull complete [2021-01-28T00:14:20.821Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-01-28T00:14:20.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-01-28T00:14:20.821Z] ---> b7e6874047d6 [2021-01-28T00:14:20.821Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:14:21.705Z] ---> 9e6479ca9521 [2021-01-28T00:14:21.705Z] Step 9/24 : RUN ${MAKE} [2021-01-28T00:14:21.705Z] ---> Running in ed448038f649 [2021-01-28T00:14:22.286Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.8" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-28T00:14:24.232Z] ---> Running in 9c048dff40c3 [2021-01-28T00:14:24.510Z] Removing intermediate container 9c048dff40c3 [2021-01-28T00:14:24.510Z] ---> 54ec306ca767 [2021-01-28T00:14:24.510Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:14:24.788Z] ---> Running in 89a0fc43aad9 [2021-01-28T00:14:27.426Z] Removing intermediate container 89a0fc43aad9 [2021-01-28T00:14:27.426Z] ---> 7ecb50c68ccf [2021-01-28T00:14:27.426Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-01-28T00:14:27.426Z] ---> Running in c2cd07fed55c [2021-01-28T00:14:28.869Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T00:14:29.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T00:14:30.088Z] OK: 142 MiB in 39 packages [2021-01-28T00:14:31.544Z] Removing intermediate container c2cd07fed55c [2021-01-28T00:14:31.544Z] ---> a73d016ce54b [2021-01-28T00:14:31.544Z] Step 6/8 : WORKDIR /device-sdk-go [2021-01-28T00:14:31.544Z] ---> Running in 272f3c987c41 [2021-01-28T00:14:32.155Z] Removing intermediate container 272f3c987c41 [2021-01-28T00:14:32.155Z] ---> c8b4de5b5086 [2021-01-28T00:14:32.155Z] Step 7/8 : COPY . . [2021-01-28T00:14:32.384Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T00:14:33.354Z] Removing intermediate container ed448038f649 [2021-01-28T00:14:33.354Z] ---> 6b06322c707b [2021-01-28T00:14:33.354Z] Step 10/24 : FROM scratch [2021-01-28T00:14:33.354Z] ---> [2021-01-28T00:14:33.354Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:14:33.354Z] ---> Running in 4fefc10dbdfe [2021-01-28T00:14:33.608Z] ---> e977b864fec2 [2021-01-28T00:14:33.609Z] Step 8/8 : RUN go mod download [2021-01-28T00:14:33.609Z] ---> Running in bce19a21c1bf [2021-01-28T00:14:33.617Z] Removing intermediate container 4fefc10dbdfe [2021-01-28T00:14:33.617Z] ---> 33aa39d00c21 [2021-01-28T00:14:33.617Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T00:14:33.617Z] ---> Running in 4b3874d7e6b7 [2021-01-28T00:14:33.617Z] Removing intermediate container 4b3874d7e6b7 [2021-01-28T00:14:33.617Z] ---> 12efa7e653fe [2021-01-28T00:14:33.617Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T00:14:33.878Z] ---> Running in f8cebc5cd0b3 [2021-01-28T00:14:33.878Z] Removing intermediate container f8cebc5cd0b3 [2021-01-28T00:14:33.878Z] ---> f40b5c7eac70 [2021-01-28T00:14:33.878Z] Step 14/24 : WORKDIR / [2021-01-28T00:14:33.878Z] ---> Running in 4c32e56d9506 [2021-01-28T00:14:34.140Z] Removing intermediate container 4c32e56d9506 [2021-01-28T00:14:34.140Z] ---> e49b23a08f15 [2021-01-28T00:14:34.140Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T00:14:34.716Z] ---> f7283b557db4 [2021-01-28T00:14:34.716Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T00:14:34.716Z] ---> 20dc1903fdab [2021-01-28T00:14:34.716Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T00:14:34.978Z] ---> 7420b0e85315 [2021-01-28T00:14:34.978Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T00:14:35.242Z] ---> b70ca18dd59e [2021-01-28T00:14:35.242Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T00:14:35.504Z] ---> ffa7e080c49e [2021-01-28T00:14:35.504Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T00:14:35.504Z] ---> Running in 34db42ecb22c [2021-01-28T00:14:35.770Z] Removing intermediate container 34db42ecb22c [2021-01-28T00:14:35.770Z] ---> c22875816712 [2021-01-28T00:14:35.770Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T00:14:35.770Z] ---> Running in 957d612a8167 [2021-01-28T00:14:35.770Z] Removing intermediate container 957d612a8167 [2021-01-28T00:14:35.770Z] ---> 1bb805adddcf [2021-01-28T00:14:35.770Z] Step 22/24 : LABEL arch=amd64 [2021-01-28T00:14:36.036Z] ---> Running in 23e4753cb3e7 [2021-01-28T00:14:36.036Z] Removing intermediate container 23e4753cb3e7 [2021-01-28T00:14:36.036Z] ---> 1fbcfccf8fcc [2021-01-28T00:14:36.036Z] Step 23/24 : LABEL git_sha=d510da1b257a72a1ecadf2ee4e04e7d54b2df89d [2021-01-28T00:14:36.300Z] ---> Running in e0508a7c690f [2021-01-28T00:14:36.300Z] Removing intermediate container e0508a7c690f [2021-01-28T00:14:36.300Z] ---> 119f7da64cfe [2021-01-28T00:14:36.300Z] Step 24/24 : LABEL version=2.0.0-dev.8 [2021-01-28T00:14:36.563Z] ---> Running in e292788f161a [2021-01-28T00:14:36.563Z] Removing intermediate container e292788f161a [2021-01-28T00:14:36.563Z] ---> 62b827b216f3 [2021-01-28T00:14:36.563Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T00:14:36.563Z] Successfully built 62b827b216f3 [2021-01-28T00:14:36.563Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-01-28T00:14:55.783Z] Removing intermediate container bce19a21c1bf [2021-01-28T00:14:55.783Z] ---> 2d39d5780b16 [2021-01-28T00:14:55.783Z] Successfully built 2d39d5780b16 [2021-01-28T00:14:55.783Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:14:56.121Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:14:56.121Z] . [Pipeline] withDockerContainer [2021-01-28T00:14:56.370Z] prd-ubuntu18.04-docker-arm64-4c-16g-23542 does not seem to be running inside a container [2021-01-28T00:14:56.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/113 -v /w/workspace/device-sdk-go/113:/w/workspace/device-sdk-go/113:rw,z -v /w/workspace/device-sdk-go/113@tmp:/w/workspace/device-sdk-go/113@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 ******** ci-base-image-arm64 cat [2021-01-28T00:14:58.053Z] $ docker top f827cf94c9b87bcc39f76bf7babb9e35bb1c936e8028919ca38e94ff61f86a2c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:14:59.117Z] + go version [2021-01-28T00:14:59.117Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-01-28T00:14:59.144Z] $ docker stop --time=1 f827cf94c9b87bcc39f76bf7babb9e35bb1c936e8028919ca38e94ff61f86a2c [2021-01-28T00:15:01.065Z] $ docker rm -f f827cf94c9b87bcc39f76bf7babb9e35bb1c936e8028919ca38e94ff61f86a2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:15:02.185Z] + docker inspect -f . ci-base-image-arm64 [2021-01-28T00:15:02.185Z] . [Pipeline] withDockerContainer [2021-01-28T00:15:02.453Z] prd-ubuntu18.04-docker-arm64-4c-16g-23542 does not seem to be running inside a container [2021-01-28T00:15:02.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/113 -v /w/workspace/device-sdk-go/113:/w/workspace/device-sdk-go/113:rw,z -v /w/workspace/device-sdk-go/113@tmp:/w/workspace/device-sdk-go/113@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 ******** ci-base-image-arm64 cat [2021-01-28T00:15:04.058Z] $ docker top fce89540fc4cc0ae34a40e5f44037c2c71173bb050fa4e3fb95f8bb06e070b92 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:15:05.098Z] + make test [2021-01-28T00:15:05.098Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-01-28T00:15:31.967Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-01-28T00:16:19.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-01-28T00:16:19.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-01-28T00:16:19.023Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-01-28T00:16:19.023Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.162s coverage: 19.4% of statements [2021-01-28T00:16:19.023Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.404s coverage: 97.1% of statements [2021-01-28T00:16:51.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.148s coverage: 9.4% of statements [2021-01-28T00:16:51.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.161s coverage: 21.7% of statements [2021-01-28T00:16:51.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-01-28T00:16:51.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.605s coverage: 43.2% of statements [2021-01-28T00:16:51.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-01-28T00:16:51.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.848s coverage: 68.9% of statements [2021-01-28T00:16:51.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] [2021-01-28T00:16:51.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-01-28T00:16:51.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-01-28T00:16:51.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-01-28T00:16:51.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.209s coverage: 53.8% of statements [2021-01-28T00:16:51.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-01-28T00:16:51.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] [2021-01-28T00:16:51.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.181s coverage: 26.8% of statements [2021-01-28T00:16:51.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.989s coverage: 83.5% of statements [2021-01-28T00:16:51.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.153s coverage: 4.2% of statements [2021-01-28T00:16:51.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-01-28T00:16:51.387Z] GO111MODULE=on go vet ./... [2021-01-28T00:17:30.828Z] gofmt -l . [2021-01-28T00:17:30.828Z] [ "`gofmt -l .`" = "" ] [2021-01-28T00:17:30.828Z] ./bin/test-attribution-txt.sh [2021-01-28T00:17:30.828Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-01-28T00:17:30.851Z] $ docker stop --time=1 fce89540fc4cc0ae34a40e5f44037c2c71173bb050fa4e3fb95f8bb06e070b92 [2021-01-28T00:17:33.289Z] $ docker rm -f fce89540fc4cc0ae34a40e5f44037c2c71173bb050fa4e3fb95f8bb06e070b92 [Pipeline] // withDockerContainer [Pipeline] sh [2021-01-28T00:17:34.438Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-01-28T00:17:34.459Z] Warning: overwriting stash ‘coverage-report’ [2021-01-28T00:17:35.333Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-01-28T00:17:36.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-01-28T00:17:36.378Z] + ls -al . [2021-01-28T00:17:36.378Z] total 252 [2021-01-28T00:17:36.378Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 28 00:17 . [2021-01-28T00:17:36.378Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:13 .. [2021-01-28T00:17:36.378Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 28 00:13 .dockerignore [2021-01-28T00:17:36.378Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 28 00:13 .git [2021-01-28T00:17:36.378Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:13 .github [2021-01-28T00:17:36.378Z] -rw-rw-r-- 1 jenkins jenkins 138 Jan 28 00:13 .gitignore [2021-01-28T00:17:36.378Z] -rw-rw-r-- 1 jenkins jenkins 949 Jan 28 00:13 Dockerfile.build [2021-01-28T00:17:36.378Z] -rw-rw-r-- 1 jenkins jenkins 901 Jan 28 00:13 Jenkinsfile [2021-01-28T00:17:36.378Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 28 00:13 LICENSE [2021-01-28T00:17:36.378Z] -rw-rw-r-- 1 jenkins jenkins 1016 Jan 28 00:13 Makefile [2021-01-28T00:17:36.378Z] -rw-rw-r-- 1 jenkins jenkins 5897 Jan 28 00:13 README.md [2021-01-28T00:17:36.378Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jan 28 00:13 RELEASE-NOTES.txt [2021-01-28T00:17:36.378Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 28 00:10 VERSION [2021-01-28T00:17:36.378Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 28 00:13 bin [2021-01-28T00:17:36.378Z] -rw-r--r-- 1 jenkins jenkins 136842 Jan 28 00:16 coverage.out [2021-01-28T00:17:36.378Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:13 example [2021-01-28T00:17:36.378Z] -rw-r--r-- 1 jenkins jenkins 514 Jan 28 00:17 go.mod [2021-01-28T00:17:36.378Z] -rw-r--r-- 1 jenkins jenkins 14101 Jan 28 00:17 go.sum [2021-01-28T00:17:36.378Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 28 00:13 internal [2021-01-28T00:17:36.378Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:13 openapi [2021-01-28T00:17:36.378Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 28 00:13 pkg [2021-01-28T00:17:36.378Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 28 00:13 snap [2021-01-28T00:17:36.378Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 28 00:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:17:36.718Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d510da1b257a72a1ecadf2ee4e04e7d54b2df89d --label arch=arm64 --label version=2.0.0-dev.8 . [2021-01-28T00:17:37.312Z] Sending build context to Docker daemon 2.698MB [2021-01-28T00:17:37.312Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-01-28T00:17:37.312Z] Step 2/24 : FROM ${BASE} AS builder [2021-01-28T00:17:37.312Z] ---> 2d39d5780b16 [2021-01-28T00:17:37.312Z] Step 3/24 : ARG MAKE='make build' [2021-01-28T00:17:37.585Z] ---> Running in 5071c3ee6f9c [2021-01-28T00:17:37.858Z] Removing intermediate container 5071c3ee6f9c [2021-01-28T00:17:37.858Z] ---> b9abd10a5eac [2021-01-28T00:17:37.858Z] Step 4/24 : WORKDIR /device-sdk-go [2021-01-28T00:17:38.130Z] ---> Running in 3252eb0bf503 [2021-01-28T00:17:38.727Z] Removing intermediate container 3252eb0bf503 [2021-01-28T00:17:38.727Z] ---> 5f4b2235b873 [2021-01-28T00:17:38.727Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:17:38.727Z] ---> Running in a48201205237 [2021-01-28T00:17:39.325Z] Removing intermediate container a48201205237 [2021-01-28T00:17:39.325Z] ---> 1fd446442295 [2021-01-28T00:17:39.325Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-01-28T00:17:39.325Z] ---> Running in 2149d8704389 [2021-01-28T00:17:41.311Z] Removing intermediate container 2149d8704389 [2021-01-28T00:17:41.311Z] ---> 0c0917c713cb [2021-01-28T00:17:41.311Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-01-28T00:17:41.589Z] ---> Running in 5c9afcb6b11e [2021-01-28T00:17:42.575Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-01-28T00:17:43.555Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-01-28T00:17:44.147Z] OK: 142 MiB in 39 packages [2021-01-28T00:17:46.212Z] Removing intermediate container 5c9afcb6b11e [2021-01-28T00:17:46.212Z] ---> 0803743d0c60 [2021-01-28T00:17:46.212Z] Step 8/24 : COPY . . [2021-01-28T00:17:46.501Z] ---> 97ba4c76550c [2021-01-28T00:17:46.501Z] Step 9/24 : RUN ${MAKE} [2021-01-28T00:17:46.788Z] ---> Running in c84667c0b51b [2021-01-28T00:17:47.769Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.8" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-01-28T00:18:14.610Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-01-28T00:18:17.220Z] Removing intermediate container c84667c0b51b [2021-01-28T00:18:17.220Z] ---> d22a4b41aeaf [2021-01-28T00:18:17.220Z] Step 10/24 : FROM scratch [2021-01-28T00:18:17.220Z] ---> [2021-01-28T00:18:17.220Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-01-28T00:18:17.220Z] ---> Running in 8778757aa23d [2021-01-28T00:18:17.493Z] Removing intermediate container 8778757aa23d [2021-01-28T00:18:17.493Z] ---> 0e4f48cb78f1 [2021-01-28T00:18:17.493Z] Step 12/24 : ENV APP_PORT=49990 [2021-01-28T00:18:17.493Z] ---> Running in cc374b55ccb5 [2021-01-28T00:18:18.092Z] Removing intermediate container cc374b55ccb5 [2021-01-28T00:18:18.092Z] ---> 63cc1770c301 [2021-01-28T00:18:18.092Z] Step 13/24 : EXPOSE $APP_PORT [2021-01-28T00:18:18.092Z] ---> Running in 4643149e3e87 [2021-01-28T00:18:18.688Z] Removing intermediate container 4643149e3e87 [2021-01-28T00:18:18.688Z] ---> d7b3dd051588 [2021-01-28T00:18:18.688Z] Step 14/24 : WORKDIR / [2021-01-28T00:18:18.688Z] ---> Running in 5ba20ce06d1d [2021-01-28T00:18:19.285Z] Removing intermediate container 5ba20ce06d1d [2021-01-28T00:18:19.285Z] ---> 9cbfa8dc6bdf [2021-01-28T00:18:19.285Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-01-28T00:18:20.303Z] ---> 7e74a23c924a [2021-01-28T00:18:20.303Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-01-28T00:18:21.290Z] ---> 7b102405b8db [2021-01-28T00:18:21.290Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-01-28T00:18:21.889Z] ---> 64823babf4ad [2021-01-28T00:18:21.889Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-01-28T00:18:22.877Z] ---> 91cef0b93ab8 [2021-01-28T00:18:22.877Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-01-28T00:18:23.476Z] ---> 8bc7ffd4aea5 [2021-01-28T00:18:23.476Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-01-28T00:18:23.755Z] ---> Running in 53873e5ba5be [2021-01-28T00:18:24.351Z] Removing intermediate container 53873e5ba5be [2021-01-28T00:18:24.351Z] ---> 45f406517779 [2021-01-28T00:18:24.351Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-01-28T00:18:24.351Z] ---> Running in fc9a4c3be2c4 [2021-01-28T00:18:24.950Z] Removing intermediate container fc9a4c3be2c4 [2021-01-28T00:18:24.950Z] ---> 780abe45d7d4 [2021-01-28T00:18:24.950Z] Step 22/24 : LABEL arch=arm64 [2021-01-28T00:18:24.950Z] ---> Running in 035783e42c10 [2021-01-28T00:18:25.550Z] Removing intermediate container 035783e42c10 [2021-01-28T00:18:25.550Z] ---> 13ddb70bb9c2 [2021-01-28T00:18:25.550Z] Step 23/24 : LABEL git_sha=d510da1b257a72a1ecadf2ee4e04e7d54b2df89d [2021-01-28T00:18:25.550Z] ---> Running in 81e1100c41ec [2021-01-28T00:18:26.164Z] Removing intermediate container 81e1100c41ec [2021-01-28T00:18:26.164Z] ---> a22f944b2438 [2021-01-28T00:18:26.164Z] Step 24/24 : LABEL version=2.0.0-dev.8 [2021-01-28T00:18:26.164Z] ---> Running in a7cb072f7fde [2021-01-28T00:18:26.762Z] Removing intermediate container a7cb072f7fde [2021-01-28T00:18:26.762Z] ---> 5c75fa361dbd [2021-01-28T00:18:26.762Z] [Warning] One or more build-args [ARCH] were not consumed [2021-01-28T00:18:26.762Z] Successfully built 5c75fa361dbd [2021-01-28T00:18:26.762Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-01-28T00:18:28.118Z] provisioning config files... [2021-01-28T00:18:28.127Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4220882479222737578tmp [Pipeline] { [Pipeline] sh [2021-01-28T00:18:28.520Z] + set +x [2021-01-28T00:18:28.521Z] + curl -s https://codecov.io/bash [2021-01-28T00:18:28.521Z] + bash -s -- [2021-01-28T00:18:28.784Z] [2021-01-28T00:18:28.784Z] _____ _ [2021-01-28T00:18:28.784Z] / ____| | | [2021-01-28T00:18:28.784Z] | | ___ __| | ___ ___ _____ __ [2021-01-28T00:18:28.784Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-01-28T00:18:28.784Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-01-28T00:18:28.784Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-01-28T00:18:28.784Z] Bash-20210115-cec3c92 [2021-01-28T00:18:28.784Z] [2021-01-28T00:18:28.784Z] [2021-01-28T00:18:28.784Z] ==> git version 2.24.3 found [2021-01-28T00:18:28.784Z] ==> 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-01-28T00:18:28.784Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-01-28T00:18:28.784Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-01-28T00:18:28.784Z] ==> Jenkins CI detected. [2021-01-28T00:18:28.784Z] project root: . [2021-01-28T00:18:28.784Z] --> token set from env [2021-01-28T00:18:28.784Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-01-28T00:18:28.784Z] ==> Running gcov in . (disable via -X gcov) [2021-01-28T00:18:28.784Z] ==> Python coveragepy not found [2021-01-28T00:18:28.784Z] ==> Searching for coverage reports in: [2021-01-28T00:18:28.784Z] + . [2021-01-28T00:18:28.784Z] -> Found 1 reports [2021-01-28T00:18:28.784Z] ==> Detecting git/mercurial file structure [2021-01-28T00:18:28.784Z] ==> Reading reports [2021-01-28T00:18:28.784Z] + ./coverage.out bytes=136842 [2021-01-28T00:18:28.784Z] ==> Appending adjustments [2021-01-28T00:18:28.784Z] https://docs.codecov.io/docs/fixing-reports [2021-01-28T00:18:29.367Z] + Found adjustments [2021-01-28T00:18:29.367Z] ==> Gzipping contents [2021-01-28T00:18:29.367Z] 24K /tmp/codecov.HgCqkY.gz [2021-01-28T00:18:29.367Z] ==> Uploading reports [2021-01-28T00:18:29.367Z] url: https://codecov.io [2021-01-28T00:18:29.367Z] query: branch=master&commit=d510da1b257a72a1ecadf2ee4e04e7d54b2df89d&build=113&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F113%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-28T00:18:29.367Z] -> Pinging Codecov [2021-01-28T00:18:29.367Z] https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=master&commit=d510da1b257a72a1ecadf2ee4e04e7d54b2df89d&build=113&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F113%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-01-28T00:18:29.942Z] -> Uploading to [2021-01-28T00:18:29.942Z] https://storage.googleapis.com/codecov/v4/raw/2021-01-28/7E55EF52A471D76F132DFD9A03CDDE97/d510da1b257a72a1ecadf2ee4e04e7d54b2df89d/df93cdd3-2d2f-43e7-9dab-38a706b76dfb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210128T001829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ca7213190fb87f4ca5c01d0c6490dbc42d044b423e8ece4c63c75792f5a09f5 [2021-01-28T00:18:29.942Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T00:18:29.942Z] Dload Upload Total Spent Left Speed [2021-01-28T00:18:30.205Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21557 0 0 100 21557 0 48578 --:--:-- --:--:-- --:--:-- 48551 [2021-01-28T00:18:30.205Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d510da1b257a72a1ecadf2ee4e04e7d54b2df89d [Pipeline] } [2021-01-28T00:18:30.215Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-01-28T00:18:31.164Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-01-28T00:18:31.232Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:18:31.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-28T00:18:31.574Z] [2021-01-28T00:18:31.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:18:31.934Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-28T00:18:31.934Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-01-28T00:18:31.934Z] 188c0c94c7c5: Pulling fs layer [2021-01-28T00:18:31.934Z] 0ef7d3d256c8: Pulling fs layer [2021-01-28T00:18:31.934Z] de9db76c5a1d: Pulling fs layer [2021-01-28T00:18:31.934Z] 0eba1c9be4d2: Pulling fs layer [2021-01-28T00:18:31.934Z] 0d57e429df01: Pulling fs layer [2021-01-28T00:18:31.934Z] 4e4be7b47b0d: Pulling fs layer [2021-01-28T00:18:31.934Z] e1f770b5df2f: Pulling fs layer [2021-01-28T00:18:31.934Z] 85a0685a4137: Pulling fs layer [2021-01-28T00:18:31.934Z] 0eba1c9be4d2: Waiting [2021-01-28T00:18:31.934Z] 0d57e429df01: Waiting [2021-01-28T00:18:31.934Z] 4e4be7b47b0d: Waiting [2021-01-28T00:18:31.934Z] e1f770b5df2f: Waiting [2021-01-28T00:18:31.934Z] 85a0685a4137: Waiting [2021-01-28T00:18:31.934Z] de9db76c5a1d: Verifying Checksum [2021-01-28T00:18:31.934Z] de9db76c5a1d: Download complete [2021-01-28T00:18:31.934Z] 0ef7d3d256c8: Download complete [2021-01-28T00:18:31.934Z] 0d57e429df01: Verifying Checksum [2021-01-28T00:18:31.934Z] 0d57e429df01: Download complete [2021-01-28T00:18:31.934Z] 188c0c94c7c5: Verifying Checksum [2021-01-28T00:18:31.934Z] 188c0c94c7c5: Download complete [2021-01-28T00:18:31.934Z] 4e4be7b47b0d: Verifying Checksum [2021-01-28T00:18:31.934Z] 4e4be7b47b0d: Download complete [2021-01-28T00:18:32.510Z] 188c0c94c7c5: Pull complete [2021-01-28T00:18:32.510Z] 0ef7d3d256c8: Pull complete [2021-01-28T00:18:32.776Z] de9db76c5a1d: Pull complete [2021-01-28T00:18:33.725Z] e1f770b5df2f: Verifying Checksum [2021-01-28T00:18:33.725Z] e1f770b5df2f: Download complete [2021-01-28T00:18:35.128Z] 0eba1c9be4d2: Verifying Checksum [2021-01-28T00:18:35.128Z] 0eba1c9be4d2: Download complete [2021-01-28T00:18:35.713Z] 85a0685a4137: Download complete [2021-01-28T00:18:41.032Z] 0eba1c9be4d2: Pull complete [2021-01-28T00:18:41.032Z] 0d57e429df01: Pull complete [2021-01-28T00:18:41.295Z] 4e4be7b47b0d: Pull complete [2021-01-28T00:18:43.862Z] e1f770b5df2f: Pull complete [2021-01-28T00:18:50.516Z] 85a0685a4137: Pull complete [2021-01-28T00:18:50.516Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-01-28T00:18:50.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-01-28T00:18:50.516Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-01-28T00:18:50.749Z] prd-centos7-docker-4c-2g-23534 does not seem to be running inside a container [2021-01-28T00:18:50.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-01-28T00:18:51.896Z] $ docker top 759b4157ede34f1700b5c5ffc0077fa295f1dd637cf278ac85794db42300d45c -eo pid,comm [Pipeline] { [Pipeline] echo [2021-01-28T00:18:52.143Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-01-28T00:18:52.438Z] + set -o pipefail [2021-01-28T00:18:52.438Z] + snyk monitor '--org=edgex-jenkins' [2021-01-28T00:19:00.606Z] [2021-01-28T00:19:00.606Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-01-28T00:19:00.606Z] [2021-01-28T00:19:00.606Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/2e436443-4ffd-4c3e-86fa-235032d9ff76 [2021-01-28T00:19:00.606Z] [2021-01-28T00:19:00.606Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-01-28T00:19:00.606Z] [2021-01-28T00:19:00.606Z] [Pipeline] } [2021-01-28T00:19:00.627Z] $ docker stop --time=1 759b4157ede34f1700b5c5ffc0077fa295f1dd637cf278ac85794db42300d45c [2021-01-28T00:19:03.185Z] $ docker rm -f 759b4157ede34f1700b5c5ffc0077fa295f1dd637cf278ac85794db42300d45c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-01-28T00:19:04.462Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T00:19:04.515Z] provisioning config files... [2021-01-28T00:19:04.526Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6171423440831215633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:19:04.896Z] --> edgex-publish-swagger.sh [2021-01-28T00:19:04.896Z] === Publish openapi/v1 API === [2021-01-28T00:19:04.896Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-01-28T00:19:04.896Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-01-28T00:19:04.896Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T00:19:04.896Z] Dload Upload Total Spent Left Speed [2021-01-28T00:19:05.843Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 23450 --:--:-- --:--:-- --:--:-- 23467 [2021-01-28T00:19:05.843Z] [2021-01-28T00:19:05.843Z] [2021-01-28T00:19:05.843Z] === Publish openapi/v2 API === [2021-01-28T00:19:05.843Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-01-28T00:19:05.843Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-01-28T00:19:05.843Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-01-28T00:19:05.843Z] Dload Upload Total Spent Left Speed [2021-01-28T00:19:06.420Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44473 0 0 100 44473 0 60797 --:--:-- --:--:-- --:--:-- 60755 [2021-01-28T00:19:06.420Z] [2021-01-28T00:19:06.420Z] [Pipeline] } [2021-01-28T00:19:06.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-01-28T00:19:07.282Z] + git log --format=format:%s -1 d510da1b257a72a1ecadf2ee4e04e7d54b2df89d [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:19:07.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:19:07.592Z] . [Pipeline] withDockerContainer [2021-01-28T00:19:07.692Z] prd-centos7-docker-4c-2g-23534 does not seem to be running inside a container [2021-01-28T00:19:07.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T00:19:08.527Z] $ docker top eeef29efd48c2dfb20f40e0411272e27ca986ee8ff1a584bc47902b4dddc4c83 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T00:19:08.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:19:08.925Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:19:09.180Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:19:09.185Z] $ docker exec eeef29efd48c2dfb20f40e0411272e27ca986ee8ff1a584bc47902b4dddc4c83 ssh-agent [2021-01-28T00:19:09.506Z] SSH_AUTH_SOCK=/tmp/ssh-hOWhu7QSgWcj/agent.11 [2021-01-28T00:19:09.506Z] SSH_AGENT_PID=16 [2021-01-28T00:19:09.536Z] Running ssh-add (command line suppressed) [2021-01-28T00:19:09.693Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4398902969554698412.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4398902969554698412.key) [2021-01-28T00:19:09.757Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:19:10.096Z] + git semver tag [2021-01-28T00:19:10.096Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T00:19:10.096Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-28T00:19:10.096Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-28T00:19:10.096Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T00:19:10.096Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T00:19:10.096Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T00:19:10.096Z] # $SEMVER_BRANCH = master [2021-01-28T00:19:10.096Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-28T00:19:10.096Z] # d510da1b257a72a1ecadf2ee4e04e7d54b2df89d HEAD [2021-01-28T00:19:10.358Z] # -> Force: false [2021-01-28T00:19:10.358Z] # 224913957968b61bbe6c5f17de71ebe38ccbd223 refs/tags/v2.0.0-dev.8 [Pipeline] } [2021-01-28T00:19:10.374Z] $ docker exec --env ******** --env ******** eeef29efd48c2dfb20f40e0411272e27ca986ee8ff1a584bc47902b4dddc4c83 ssh-agent -k [2021-01-28T00:19:10.528Z] unset SSH_AUTH_SOCK; [2021-01-28T00:19:10.528Z] unset SSH_AGENT_PID; [2021-01-28T00:19:10.528Z] echo Agent pid 16 killed; [2021-01-28T00:19:10.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T00:19:11.132Z] + git semver [Pipeline] } [2021-01-28T00:19:11.199Z] $ docker stop --time=1 eeef29efd48c2dfb20f40e0411272e27ca986ee8ff1a584bc47902b4dddc4c83 [2021-01-28T00:19:12.614Z] $ docker rm -f eeef29efd48c2dfb20f40e0411272e27ca986ee8ff1a584bc47902b4dddc4c83 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:19:13.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-28T00:19:13.310Z] [2021-01-28T00:19:13.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:19:13.683Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-28T00:19:13.683Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-01-28T00:19:13.683Z] ab5ef0e58194: Pulling fs layer [2021-01-28T00:19:13.683Z] 9712f1f96733: Pulling fs layer [2021-01-28T00:19:13.683Z] 63f879dbbcfc: Pulling fs layer [2021-01-28T00:19:13.683Z] 0d9ebad4ef96: Pulling fs layer [2021-01-28T00:19:13.683Z] e9a5061849ea: Pulling fs layer [2021-01-28T00:19:13.683Z] d747dcd14b5f: Pulling fs layer [2021-01-28T00:19:13.683Z] 2de7ff778b66: Pulling fs layer [2021-01-28T00:19:13.683Z] d747dcd14b5f: Waiting [2021-01-28T00:19:13.683Z] e9a5061849ea: Waiting [2021-01-28T00:19:13.683Z] 0d9ebad4ef96: Waiting [2021-01-28T00:19:13.683Z] 2de7ff778b66: Waiting [2021-01-28T00:19:13.683Z] 9712f1f96733: Verifying Checksum [2021-01-28T00:19:13.683Z] 9712f1f96733: Download complete [2021-01-28T00:19:16.260Z] 63f879dbbcfc: Verifying Checksum [2021-01-28T00:19:16.260Z] 63f879dbbcfc: Download complete [2021-01-28T00:19:16.260Z] e9a5061849ea: Download complete [2021-01-28T00:19:16.260Z] d747dcd14b5f: Download complete [2021-01-28T00:19:16.526Z] 2de7ff778b66: Verifying Checksum [2021-01-28T00:19:16.526Z] 2de7ff778b66: Download complete [2021-01-28T00:19:16.799Z] 0d9ebad4ef96: Verifying Checksum [2021-01-28T00:19:16.799Z] 0d9ebad4ef96: Download complete [2021-01-28T00:19:17.068Z] ab5ef0e58194: Verifying Checksum [2021-01-28T00:19:17.068Z] ab5ef0e58194: Download complete [2021-01-28T00:19:21.297Z] ab5ef0e58194: Pull complete [2021-01-28T00:19:21.297Z] 9712f1f96733: Pull complete [2021-01-28T00:19:23.864Z] 63f879dbbcfc: Pull complete [2021-01-28T00:19:30.525Z] 0d9ebad4ef96: Pull complete [2021-01-28T00:19:33.845Z] e9a5061849ea: Pull complete [2021-01-28T00:19:33.845Z] d747dcd14b5f: Pull complete [2021-01-28T00:19:35.243Z] 2de7ff778b66: Pull complete [2021-01-28T00:19:35.243Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-01-28T00:19:35.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-01-28T00:19:35.243Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-01-28T00:19:35.475Z] prd-centos7-docker-4c-2g-23534 does not seem to be running inside a container [2021-01-28T00:19:35.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-01-28T00:19:40.384Z] $ docker top f7d84313c6cccbeba2216f1b16188e1f8cfba5f6d068d9a1fd2344be521d38ff -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-01-28T00:19:40.733Z] provisioning config files... [2021-01-28T00:19:40.763Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8727704950759803856tmp [2021-01-28T00:19:40.796Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5815215712089950065tmp [2021-01-28T00:19:40.825Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8823362800976101627tmp [Pipeline] { [Pipeline] echo [2021-01-28T00:19:40.888Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:19:41.191Z] ---> sigul-configuration.sh [2021-01-28T00:19:41.191Z] gpg: directory `/root/.gnupg' created [2021-01-28T00:19:41.191Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-01-28T00:19:41.191Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-01-28T00:19:41.191Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-01-28T00:19:41.191Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-01-28T00:19:41.191Z] gpg: CAST5 encrypted data [2021-01-28T00:19:41.456Z] gpg: encrypted with 1 passphrase [2021-01-28T00:19:41.456Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-01-28T00:19:41.773Z] + mkdir /home/jenkins [2021-01-28T00:19:41.773Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-01-28T00:19:42.095Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-01-28T00:19:42.112Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:19:42.425Z] ---> sigul-install.sh [2021-01-28T00:19:49.141Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-01-28T00:19:49.449Z] + git tag --list [2021-01-28T00:19:49.449Z] 0.7.1 [2021-01-28T00:19:49.449Z] delhi-tag [2021-01-28T00:19:49.449Z] v1.0.0 [2021-01-28T00:19:49.449Z] v1.1.0 [2021-01-28T00:19:49.449Z] v1.1.1 [2021-01-28T00:19:49.449Z] v1.1.2 [2021-01-28T00:19:49.449Z] v1.2.0 [2021-01-28T00:19:49.449Z] v1.2.1 [2021-01-28T00:19:49.449Z] v1.2.2 [2021-01-28T00:19:49.449Z] v1.2.3 [2021-01-28T00:19:49.449Z] v1.3.0 [2021-01-28T00:19:49.449Z] v1.4.0 [2021-01-28T00:19:49.449Z] v2.0.0-dev.1 [2021-01-28T00:19:49.449Z] v2.0.0-dev.2 [2021-01-28T00:19:49.449Z] v2.0.0-dev.3 [2021-01-28T00:19:49.449Z] v2.0.0-dev.4 [2021-01-28T00:19:49.449Z] v2.0.0-dev.5 [2021-01-28T00:19:49.449Z] v2.0.0-dev.6 [2021-01-28T00:19:49.449Z] v2.0.0-dev.7 [2021-01-28T00:19:49.449Z] v2.0.0-dev.8 [Pipeline] sh [2021-01-28T00:19:49.754Z] + lftools sign git-tag v2.0.0-dev.8 [2021-01-28T00:19:51.150Z] Signing Git tag with Sigul... [2021-01-28T00:19:51.150Z] Signing v2.0.0-dev.8 [Pipeline] echo [2021-01-28T00:19:52.108Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:19:52.411Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-01-28T00:19:52.422Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-01-28T00:19:52.515Z] $ docker stop --time=1 f7d84313c6cccbeba2216f1b16188e1f8cfba5f6d068d9a1fd2344be521d38ff [2021-01-28T00:19:54.558Z] $ docker rm -f f7d84313c6cccbeba2216f1b16188e1f8cfba5f6d068d9a1fd2344be521d38ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:19:55.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:19:55.501Z] . [Pipeline] withDockerContainer [2021-01-28T00:19:55.608Z] prd-centos7-docker-4c-2g-23534 does not seem to be running inside a container [2021-01-28T00:19:55.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T00:19:56.338Z] $ docker top bf801baa7e846978519d3c3179e2de882f9fbe8ebbbf6b24ee31a94047002314 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T00:19:56.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:19:56.654Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:19:56.869Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:19:56.874Z] $ docker exec bf801baa7e846978519d3c3179e2de882f9fbe8ebbbf6b24ee31a94047002314 ssh-agent [2021-01-28T00:19:57.050Z] SSH_AUTH_SOCK=/tmp/ssh-xdeB1VNoZp6A/agent.12 [2021-01-28T00:19:57.050Z] SSH_AGENT_PID=17 [2021-01-28T00:19:57.058Z] Running ssh-add (command line suppressed) [2021-01-28T00:19:57.194Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8044045870608264899.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8044045870608264899.key) [2021-01-28T00:19:57.258Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:19:57.599Z] + git semver bump pre [2021-01-28T00:19:57.599Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T00:19:57.599Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-28T00:19:57.599Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-28T00:19:57.599Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T00:19:57.599Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T00:19:57.599Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T00:19:57.599Z] # $SEMVER_BRANCH = master [2021-01-28T00:19:57.599Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-01-28T00:19:57.599Z] 2.0.0-dev.9 [Pipeline] } [2021-01-28T00:19:57.614Z] $ docker exec --env ******** --env ******** bf801baa7e846978519d3c3179e2de882f9fbe8ebbbf6b24ee31a94047002314 ssh-agent -k [2021-01-28T00:19:57.744Z] unset SSH_AUTH_SOCK; [2021-01-28T00:19:57.744Z] unset SSH_AGENT_PID; [2021-01-28T00:19:57.744Z] echo Agent pid 17 killed; [2021-01-28T00:19:57.804Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T00:19:58.284Z] + git semver [Pipeline] } [2021-01-28T00:19:58.305Z] $ docker stop --time=1 bf801baa7e846978519d3c3179e2de882f9fbe8ebbbf6b24ee31a94047002314 [2021-01-28T00:19:59.702Z] $ docker rm -f bf801baa7e846978519d3c3179e2de882f9fbe8ebbbf6b24ee31a94047002314 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:20:00.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-01-28T00:20:00.227Z] . [Pipeline] withDockerContainer [2021-01-28T00:20:00.331Z] prd-centos7-docker-4c-2g-23534 does not seem to be running inside a container [2021-01-28T00:20:00.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-01-28T00:20:01.172Z] $ docker top 199bf3b82a8eb287580f640569edf1c6493bf36821b910ee79c2ddaea6413a89 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-01-28T00:20:01.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-01-28T00:20:01.520Z] [ssh-agent] Looking for ssh-agent implementation... [2021-01-28T00:20:01.807Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-01-28T00:20:01.813Z] $ docker exec 199bf3b82a8eb287580f640569edf1c6493bf36821b910ee79c2ddaea6413a89 ssh-agent [2021-01-28T00:20:02.073Z] SSH_AUTH_SOCK=/tmp/ssh-bfWs9G42G2ql/agent.11 [2021-01-28T00:20:02.073Z] SSH_AGENT_PID=16 [2021-01-28T00:20:02.083Z] Running ssh-add (command line suppressed) [2021-01-28T00:20:02.223Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7029684831720676725.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7029684831720676725.key) [2021-01-28T00:20:02.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-01-28T00:20:02.642Z] + git semver push [2021-01-28T00:20:02.642Z] # -> Open(): unable to determine branch for HEAD [2021-01-28T00:20:02.642Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-01-28T00:20:02.642Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-01-28T00:20:02.642Z] # $SEMVER_REMOTE_NAME = origin [2021-01-28T00:20:02.642Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-01-28T00:20:02.642Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-01-28T00:20:02.642Z] # $SEMVER_BRANCH = master [2021-01-28T00:20:02.642Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-01-28T00:20:12.705Z] $ docker exec --env ******** --env ******** 199bf3b82a8eb287580f640569edf1c6493bf36821b910ee79c2ddaea6413a89 ssh-agent -k [2021-01-28T00:20:12.933Z] unset SSH_AUTH_SOCK; [2021-01-28T00:20:12.935Z] unset SSH_AGENT_PID; [2021-01-28T00:20:12.935Z] echo Agent pid 16 killed; [2021-01-28T00:20:13.024Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-01-28T00:20:13.503Z] + git semver [Pipeline] } [2021-01-28T00:20:13.526Z] $ docker stop --time=1 199bf3b82a8eb287580f640569edf1c6493bf36821b910ee79c2ddaea6413a89 [2021-01-28T00:20:14.876Z] $ docker rm -f 199bf3b82a8eb287580f640569edf1c6493bf36821b910ee79c2ddaea6413a89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-01-28T00:20:16.185Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:20:16.757Z] ---> package-listing.sh [2021-01-28T00:20:16.757Z] ++ facter osfamily [2021-01-28T00:20:16.757Z] ++ tr '[:upper:]' '[:lower:]' [2021-01-28T00:20:16.757Z] + OS_FAMILY=redhat [2021-01-28T00:20:16.757Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-01-28T00:20:16.757Z] + START_PACKAGES=/tmp/packages_start.txt [2021-01-28T00:20:16.757Z] + END_PACKAGES=/tmp/packages_end.txt [2021-01-28T00:20:16.757Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-01-28T00:20:16.757Z] + PACKAGES=/tmp/packages_start.txt [2021-01-28T00:20:16.757Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-28T00:20:16.757Z] + PACKAGES=/tmp/packages_end.txt [2021-01-28T00:20:16.757Z] + case "${OS_FAMILY}" in [2021-01-28T00:20:16.757Z] + rpm -qa [2021-01-28T00:20:16.757Z] + sort [2021-01-28T00:20:22.087Z] + '[' -f /tmp/packages_start.txt ']' [2021-01-28T00:20:22.087Z] + '[' -f /tmp/packages_end.txt ']' [2021-01-28T00:20:22.087Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-01-28T00:20:22.087Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-01-28T00:20:22.087Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-01-28T00:20:22.087Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2021-01-28T00:20:22.103Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-01-28T00:20:22.399Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:20:22.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T00:20:22.704Z] [2021-01-28T00:20:22.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-01-28T00:20:23.055Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T00:20:23.055Z] alpine: Pulling from edgex-lftools-log-publisher [2021-01-28T00:20:23.055Z] df20fa9351a1: Pulling fs layer [2021-01-28T00:20:23.055Z] 36b3adc4ff6f: Pulling fs layer [2021-01-28T00:20:23.055Z] 8ad3a11d3b57: Pulling fs layer [2021-01-28T00:20:23.055Z] 46f8f816bc3b: Pulling fs layer [2021-01-28T00:20:23.055Z] 93b61091891f: Pulling fs layer [2021-01-28T00:20:23.055Z] 93b9cdb0e59b: Pulling fs layer [2021-01-28T00:20:23.055Z] 5e14af77c1be: Pulling fs layer [2021-01-28T00:20:23.055Z] 01666e4c0597: Pulling fs layer [2021-01-28T00:20:23.055Z] aa168da1d23b: Pulling fs layer [2021-01-28T00:20:23.055Z] 46f8f816bc3b: Waiting [2021-01-28T00:20:23.055Z] 93b61091891f: Waiting [2021-01-28T00:20:23.055Z] 93b9cdb0e59b: Waiting [2021-01-28T00:20:23.055Z] 5e14af77c1be: Waiting [2021-01-28T00:20:23.055Z] 01666e4c0597: Waiting [2021-01-28T00:20:23.055Z] aa168da1d23b: Waiting [2021-01-28T00:20:23.055Z] 36b3adc4ff6f: Verifying Checksum [2021-01-28T00:20:23.055Z] 36b3adc4ff6f: Download complete [2021-01-28T00:20:23.055Z] 46f8f816bc3b: Verifying Checksum [2021-01-28T00:20:23.055Z] 46f8f816bc3b: Download complete [2021-01-28T00:20:23.055Z] df20fa9351a1: Verifying Checksum [2021-01-28T00:20:23.055Z] 93b9cdb0e59b: Download complete [2021-01-28T00:20:23.317Z] 5e14af77c1be: Verifying Checksum [2021-01-28T00:20:23.317Z] 5e14af77c1be: Download complete [2021-01-28T00:20:23.317Z] 93b61091891f: Download complete [2021-01-28T00:20:23.317Z] 01666e4c0597: Verifying Checksum [2021-01-28T00:20:23.317Z] 01666e4c0597: Download complete [2021-01-28T00:20:23.583Z] df20fa9351a1: Pull complete [2021-01-28T00:20:23.844Z] 36b3adc4ff6f: Pull complete [2021-01-28T00:20:23.844Z] 8ad3a11d3b57: Download complete [2021-01-28T00:20:25.779Z] aa168da1d23b: Verifying Checksum [2021-01-28T00:20:25.779Z] aa168da1d23b: Download complete [2021-01-28T00:20:25.779Z] 8ad3a11d3b57: Pull complete [2021-01-28T00:20:25.779Z] 46f8f816bc3b: Pull complete [2021-01-28T00:20:26.358Z] 93b61091891f: Pull complete [2021-01-28T00:20:26.358Z] 93b9cdb0e59b: Pull complete [2021-01-28T00:20:26.621Z] 5e14af77c1be: Pull complete [2021-01-28T00:20:26.621Z] 01666e4c0597: Pull complete [2021-01-28T00:20:34.795Z] aa168da1d23b: Pull complete [2021-01-28T00:20:34.795Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-01-28T00:20:34.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-01-28T00:20:34.795Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-01-28T00:20:35.023Z] prd-centos7-docker-4c-2g-23534 does not seem to be running inside a container [2021-01-28T00:20:35.074Z] $ 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_master/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_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-01-28T00:20:37.772Z] $ docker top 04f077a3557a64e72c94af29916c2e35dadd79a55b76363db9803c3e6738b7ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-01-28T00:20:38.248Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-01-28T00:20:38.551Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-01-28T00:20:38.850Z] + ls /var/log/sa-host [2021-01-28T00:20:38.850Z] + sadf -c /var/log/sa-host/sa23 [2021-01-28T00:20:38.850Z] file_magic: OK [2021-01-28T00:20:38.850Z] HZ: Using current value: 100 [2021-01-28T00:20:38.850Z] file_header: OK [2021-01-28T00:20:38.851Z] 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-01-28T00:20:38.851Z] Statistics: [2021-01-28T00:20:38.851Z] Hnuu...uuuununununu... [2021-01-28T00:20:38.851Z] File successfully converted to sysstat format version 12.2.1 [2021-01-28T00:20:38.851Z] + sadf -c /var/log/sa-host/sa28 [2021-01-28T00:20:38.851Z] file_magic: OK [2021-01-28T00:20:38.851Z] HZ: Using current value: 100 [2021-01-28T00:20:38.851Z] file_header: OK [2021-01-28T00:20:38.851Z] 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-01-28T00:20:38.851Z] Statistics: [2021-01-28T00:20:38.851Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-01-28T00:20:38.851Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-01-28T00:20:39.061Z] provisioning config files... [2021-01-28T00:20:39.076Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7746135784149763009tmp [Pipeline] { [Pipeline] echo [2021-01-28T00:20:39.155Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:20:39.457Z] ---> create-netrc.sh [Pipeline] } [2021-01-28T00:20:39.472Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-01-28T00:20:40.132Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:20:40.430Z] ---> python-tools-install.sh [Pipeline] echo [2021-01-28T00:20:40.442Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:20:40.742Z] ---> sudo-logs.sh [2021-01-28T00:20:40.742Z] Archiving 'sudo' log.. [Pipeline] echo [2021-01-28T00:20:40.753Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:20:41.050Z] ---> job-cost.sh [2021-01-28T00:20:41.051Z] lf-activate-venv: SKIPPING [2021-01-28T00:20:41.051Z] INFO: No Stack... [2021-01-28T00:20:42.002Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-01-28T00:20:42.587Z] INFO: Archiving Costs [Pipeline] echo [2021-01-28T00:20:42.606Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-01-28T00:20:42.921Z] ---> logs-deploy.sh [2021-01-28T00:20:42.921Z] lf-activate-venv: SKIPPING [2021-01-28T00:20:42.921Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/113 [2021-01-28T00:20:42.921Z] INFO: archiving workspace using pattern(s): [2021-01-28T00:20:44.863Z] Archives upload complete. [2021-01-28T00:20:44.863Z] INFO: archiving logs to Nexus