Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 859d05bb29d195830a2bef80ceacb337f49ed4c7 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName: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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-27410 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 Checking out Revision 859d05bb29d195830a2bef80ceacb337f49ed4c7 (master) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 Commit message: "Merge pull request #792 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13" > git rev-list --no-walk 9c99b3ad7d2e4ca826a6fb04090188d28e886681 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-23T23:25:34.096Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-23T23:25:34.374Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-23T23:25:34.477Z] ========================================================= [2021-02-23T23:25:34.477Z] EdgeX Global Pipelines Version Info [2021-02-23T23:25:34.477Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:25:37.225Z] ------------------- [2021-02-23T23:25:37.226Z] stable info: [2021-02-23T23:25:37.226Z] ------------------- [2021-02-23T23:25:37.226Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-23T23:25:37.226Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-23T23:25:37.226Z] Message: update stable to v1.0.181 [2021-02-23T23:25:39.502Z] ------------------- [2021-02-23T23:25:39.502Z] experimental info: [2021-02-23T23:25:39.502Z] ------------------- [2021-02-23T23:25:39.502Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-02-23T23:25:39.502Z] Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [2021-02-23T23:25:39.502Z] Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-23T23:25:39.971Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-02-23T23:25:40.064Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-02-23T23:25:40.167Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-23T23:25:40.268Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-23T23:25:40.359Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-23T23:25:40.504Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-23T23:25:40.606Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-23T23:25:40.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-23T23:25:40.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-02-23T23:25:40.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-23T23:25:41.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-23T23:25:41.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-02-23T23:25:41.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-23T23:25:41.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-23T23:25:41.474Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-23T23:25:41.557Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T23:25:41.665Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T23:25:41.756Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-23T23:25:41.845Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-23T23:25:41.938Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-23T23:25:42.032Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-02-23T23:25:42.119Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-02-23T23:25:42.207Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-23T23:25:42.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-23T23:25:42.401Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-23T23:25:42.571Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-23T23:25:42.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-23T23:25:42.744Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-23T23:25:42.827Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 859d05bb29d195830a2bef80ceacb337f49ed4c7 [Pipeline] echo [2021-02-23T23:25:42.929Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 859d05b [Pipeline] echo [2021-02-23T23:25:43.016Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T23:25:43.185Z] provisioning config files... [2021-02-23T23:25:43.237Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5381252647158953445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:25:43.828Z] ---> docker-login.sh [2021-02-23T23:25:43.828Z] nexus3.edgexfoundry.org:10001 [2021-02-23T23:25:46.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:25:46.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:25:46.203Z] Configure a credential helper to remove this warning. See [2021-02-23T23:25:46.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:25:46.203Z] [2021-02-23T23:25:46.203Z] Login Succeeded [2021-02-23T23:25:46.203Z] nexus3.edgexfoundry.org:10002 [2021-02-23T23:25:46.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:25:46.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:25:46.982Z] Configure a credential helper to remove this warning. See [2021-02-23T23:25:46.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:25:46.982Z] [2021-02-23T23:25:46.982Z] Login Succeeded [2021-02-23T23:25:46.982Z] nexus3.edgexfoundry.org:10003 [2021-02-23T23:25:48.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:25:48.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:25:48.072Z] Configure a credential helper to remove this warning. See [2021-02-23T23:25:48.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:25:48.072Z] [2021-02-23T23:25:48.072Z] Login Succeeded [2021-02-23T23:25:48.072Z] nexus3.edgexfoundry.org:10004 [2021-02-23T23:25:49.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:25:49.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:25:49.177Z] Configure a credential helper to remove this warning. See [2021-02-23T23:25:49.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:25:49.177Z] [2021-02-23T23:25:49.177Z] Login Succeeded [2021-02-23T23:25:49.177Z] docker.io [2021-02-23T23:25:49.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:25:49.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:25:49.743Z] Configure a credential helper to remove this warning. See [2021-02-23T23:25:49.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:25:49.743Z] [2021-02-23T23:25:49.743Z] Login Succeeded [2021-02-23T23:25:49.743Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T23:25:49.773Z] 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-02-23T23:25:50.710Z] + git log --format=format:%s -1 859d05bb29d195830a2bef80ceacb337f49ed4c7 [Pipeline] echo [2021-02-23T23:25:51.189Z] GIT_COMMIT: 859d05bb29d195830a2bef80ceacb337f49ed4c7, Commit Message: Merge pull request #792 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13 [Pipeline] echo [2021-02-23T23:25:51.255Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:25:52.348Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:25:52.348Z] [2021-02-23T23:25:52.348Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:25:53.092Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:25:53.478Z] latest: Pulling from edgex-devops/git-semver [2021-02-23T23:25:53.478Z] 31603596830f: Pulling fs layer [2021-02-23T23:25:53.478Z] 2a8b12db71e7: Pulling fs layer [2021-02-23T23:25:53.478Z] 6ca5941a6612: Pulling fs layer [2021-02-23T23:25:53.478Z] ecc8261a40a4: Pulling fs layer [2021-02-23T23:25:53.478Z] ecc8261a40a4: Waiting [2021-02-23T23:25:53.478Z] 2a8b12db71e7: Verifying Checksum [2021-02-23T23:25:53.478Z] 2a8b12db71e7: Download complete [2021-02-23T23:25:54.797Z] 31603596830f: Verifying Checksum [2021-02-23T23:25:54.797Z] 31603596830f: Download complete [2021-02-23T23:25:56.225Z] 31603596830f: Pull complete [2021-02-23T23:25:56.225Z] 2a8b12db71e7: Pull complete [2021-02-23T23:25:56.820Z] ecc8261a40a4: Verifying Checksum [2021-02-23T23:25:56.820Z] ecc8261a40a4: Download complete [2021-02-23T23:25:57.383Z] 6ca5941a6612: Verifying Checksum [2021-02-23T23:25:57.383Z] 6ca5941a6612: Download complete [2021-02-23T23:26:01.620Z] 6ca5941a6612: Pull complete [2021-02-23T23:26:02.426Z] ecc8261a40a4: Pull complete [2021-02-23T23:26:02.426Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-23T23:26:02.426Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:26:02.426Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-23T23:26:03.089Z] prd-centos7-docker-4c-2g-27410 does not seem to be running inside a container [2021-02-23T23:26:03.437Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T23:26:07.421Z] $ docker top de675802d3e45459416719ee834abaabad6a37f63051da8a7820cd709be7ae30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T23:26:07.871Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T23:26:07.871Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T23:26:08.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T23:26:08.889Z] $ docker exec de675802d3e45459416719ee834abaabad6a37f63051da8a7820cd709be7ae30 ssh-agent [2021-02-23T23:26:09.885Z] SSH_AUTH_SOCK=/tmp/ssh-kgz4cooNpvV8/agent.12 [2021-02-23T23:26:09.885Z] SSH_AGENT_PID=17 [2021-02-23T23:26:09.989Z] Running ssh-add (command line suppressed) [2021-02-23T23:26:10.635Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_775175176598674215.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_775175176598674215.key) [2021-02-23T23:26:11.061Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T23:26:13.417Z] + git tag --points-at HEAD [Pipeline] } [2021-02-23T23:26:13.547Z] $ docker exec --env ******** --env ******** de675802d3e45459416719ee834abaabad6a37f63051da8a7820cd709be7ae30 ssh-agent -k [2021-02-23T23:26:14.159Z] unset SSH_AUTH_SOCK; [2021-02-23T23:26:14.161Z] unset SSH_AGENT_PID; [2021-02-23T23:26:14.161Z] echo Agent pid 17 killed; [2021-02-23T23:26:14.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-23T23:26:14.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T23:26:14.878Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T23:26:15.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T23:26:15.879Z] $ docker exec de675802d3e45459416719ee834abaabad6a37f63051da8a7820cd709be7ae30 ssh-agent [2021-02-23T23:26:16.850Z] SSH_AUTH_SOCK=/tmp/ssh-Gznw7n0UWPnh/agent.45 [2021-02-23T23:26:16.850Z] SSH_AGENT_PID=50 [2021-02-23T23:26:16.863Z] Running ssh-add (command line suppressed) [2021-02-23T23:26:17.426Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1164343906684332671.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_1164343906684332671.key) [2021-02-23T23:26:17.760Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T23:26:19.274Z] + git semver init [2021-02-23T23:26:19.274Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T23:26:19.274Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-23T23:26:19.274Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-23T23:26:19.274Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T23:26:19.274Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T23:26:19.274Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T23:26:19.274Z] # $SEMVER_BRANCH = master [2021-02-23T23:26:19.274Z] # $SEMVER_TEMP = /tmp/semver-788966529 [2021-02-23T23:26:19.274Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-02-23T23:26:22.132Z] # '/tmp/semver-788966529' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2021-02-23T23:26:22.132Z] # -> Force: false [2021-02-23T23:26:22.132Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-02-23T23:26:22.184Z] $ docker exec --env ******** --env ******** de675802d3e45459416719ee834abaabad6a37f63051da8a7820cd709be7ae30 ssh-agent -k [2021-02-23T23:26:22.811Z] unset SSH_AUTH_SOCK; [2021-02-23T23:26:22.813Z] unset SSH_AGENT_PID; [2021-02-23T23:26:22.813Z] echo Agent pid 50 killed; [2021-02-23T23:26:23.252Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T23:26:24.231Z] + git semver [Pipeline] } [2021-02-23T23:26:24.520Z] $ docker stop --time=1 de675802d3e45459416719ee834abaabad6a37f63051da8a7820cd709be7ae30 [2021-02-23T23:26:28.032Z] $ docker rm -f de675802d3e45459416719ee834abaabad6a37f63051da8a7820cd709be7ae30 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T23:26:28.746Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-23T23:26:30.630Z] Stashed 1 file(s) [Pipeline] echo [2021-02-23T23:26:30.633Z] [edgeXSemver]: initialized semver on version 2.0.0-dev.16 [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-02-23T23:26:46.210Z] Still waiting to schedule task [2021-02-23T23:26:46.210Z] ‘prd-centos7-blackbox-4c-2g-27021’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-27399’ is offline; ‘prd-centos7-docker-4c-2g-27412’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27409’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-02-23T23:26:46.212Z] Still waiting to schedule task [2021-02-23T23:26:46.212Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-02-23T23:28:38.397Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27413 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-23T23:28:38.459Z] Running in /w/workspace/device-sdk-go/121 [Pipeline] { [Pipeline] checkout [2021-02-23T23:28:43.682Z] using credential edgex-jenkins-ssh [2021-02-23T23:28:43.742Z] Cloning the remote Git repository [2021-02-23T23:28:43.816Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:28:43.936Z] > git init /w/workspace/device-sdk-go/121 # timeout=10 [2021-02-23T23:28:44.013Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:28:44.014Z] > git --version # timeout=10 [2021-02-23T23:28:44.030Z] > git --version # 'git version 2.17.1' [2021-02-23T23:28:44.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:28:44.124Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:28:45.727Z] Checking out Revision 859d05bb29d195830a2bef80ceacb337f49ed4c7 (master) [2021-02-23T23:28:45.165Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T23:28:45.181Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:28:45.211Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T23:28:45.252Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:28:45.253Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:28:45.265Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T23:28:45.748Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T23:28:45.767Z] > git checkout -f 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 [2021-02-23T23:28:50.233Z] Commit message: "Merge pull request #792 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T23:28:51.693Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:28:52.089Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:28:52.435Z] + sudo service docker restart+ [2021-02-23T23:28:52.436Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T23:28:55.135Z] provisioning config files... [2021-02-23T23:28:55.175Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/121@tmp/config2741541613997237476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:28:55.587Z] ---> docker-login.sh [2021-02-23T23:28:55.587Z] nexus3.edgexfoundry.org:10001 [2021-02-23T23:28:56.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:28:56.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:28:56.855Z] Configure a credential helper to remove this warning. See [2021-02-23T23:28:56.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:28:56.855Z] [2021-02-23T23:28:56.855Z] Login Succeeded [2021-02-23T23:28:56.855Z] nexus3.edgexfoundry.org:10002 [2021-02-23T23:28:57.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:28:57.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:28:57.484Z] Configure a credential helper to remove this warning. See [2021-02-23T23:28:57.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:28:57.484Z] [2021-02-23T23:28:57.484Z] Login Succeeded [2021-02-23T23:28:57.484Z] nexus3.edgexfoundry.org:10003 [2021-02-23T23:28:57.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:28:57.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:28:57.767Z] Configure a credential helper to remove this warning. See [2021-02-23T23:28:57.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:28:57.767Z] [2021-02-23T23:28:57.767Z] Login Succeeded [2021-02-23T23:28:58.045Z] nexus3.edgexfoundry.org:10004 [2021-02-23T23:28:58.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:28:58.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:28:58.326Z] Configure a credential helper to remove this warning. See [2021-02-23T23:28:58.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:28:58.326Z] [2021-02-23T23:28:58.326Z] Login Succeeded [2021-02-23T23:28:58.601Z] docker.io [2021-02-23T23:28:58.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:28:59.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:28:59.147Z] Configure a credential helper to remove this warning. See [2021-02-23T23:28:59.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:28:59.147Z] [2021-02-23T23:28:59.147Z] Login Succeeded [2021-02-23T23:28:59.147Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T23:28:59.165Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T23:28:59.664Z] ========================================================= [2021-02-23T23:28:59.664Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-23T23:28:59.664Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:29:00.040Z] + 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-02-23T23:29:00.658Z] Sending build context to Docker daemon 2.396MB [2021-02-23T23:29:00.658Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:29:00.658Z] Step 2/8 : FROM ${BASE} [2021-02-23T23:29:00.658Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-23T23:29:00.658Z] 5f621e34cdf4: Pulling fs layer [2021-02-23T23:29:00.658Z] a4357932f1b6: Pulling fs layer [2021-02-23T23:29:00.658Z] 18c013af1878: Pulling fs layer [2021-02-23T23:29:00.658Z] 00ac8860ef70: Pulling fs layer [2021-02-23T23:29:00.658Z] 63d7cb157983: Pulling fs layer [2021-02-23T23:29:00.658Z] b116817d02f9: Pulling fs layer [2021-02-23T23:29:00.658Z] 745a02a5169b: Pulling fs layer [2021-02-23T23:29:00.658Z] 63d7cb157983: Waiting [2021-02-23T23:29:00.658Z] 00ac8860ef70: Waiting [2021-02-23T23:29:00.658Z] b116817d02f9: Waiting [2021-02-23T23:29:00.658Z] 745a02a5169b: Waiting [2021-02-23T23:29:00.658Z] 18c013af1878: Download complete [2021-02-23T23:29:00.658Z] a4357932f1b6: Verifying Checksum [2021-02-23T23:29:00.658Z] a4357932f1b6: Download complete [2021-02-23T23:29:00.658Z] 63d7cb157983: Verifying Checksum [2021-02-23T23:29:00.658Z] 63d7cb157983: Download complete [2021-02-23T23:29:00.658Z] b116817d02f9: Verifying Checksum [2021-02-23T23:29:00.658Z] b116817d02f9: Download complete [2021-02-23T23:29:00.658Z] 5f621e34cdf4: Verifying Checksum [2021-02-23T23:29:00.658Z] 5f621e34cdf4: Download complete [2021-02-23T23:29:01.646Z] 5f621e34cdf4: Pull complete [2021-02-23T23:29:02.258Z] a4357932f1b6: Pull complete [2021-02-23T23:29:02.534Z] 18c013af1878: Pull complete [2021-02-23T23:29:03.133Z] 745a02a5169b: Verifying Checksum [2021-02-23T23:29:03.133Z] 745a02a5169b: Download complete [2021-02-23T23:29:04.577Z] 00ac8860ef70: Verifying Checksum [2021-02-23T23:29:04.577Z] 00ac8860ef70: Download complete [2021-02-23T23:29:14.736Z] 00ac8860ef70: Pull complete [2021-02-23T23:29:14.736Z] 63d7cb157983: Pull complete [2021-02-23T23:29:15.012Z] b116817d02f9: Pull complete [2021-02-23T23:29:18.417Z] 745a02a5169b: Pull complete [2021-02-23T23:29:18.417Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-23T23:29:18.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-23T23:29:18.417Z] ---> b7e6874047d6 [2021-02-23T23:29:18.417Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:29:21.048Z] ---> Running in 171f6f27754e [2021-02-23T23:29:21.651Z] Removing intermediate container 171f6f27754e [2021-02-23T23:29:21.651Z] ---> 8a6c9b4abec3 [2021-02-23T23:29:21.651Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:29:21.651Z] ---> Running in bcaef09460b9 [2021-02-23T23:29:24.295Z] Removing intermediate container bcaef09460b9 [2021-02-23T23:29:24.295Z] ---> 371ea849adb6 [2021-02-23T23:29:24.295Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T23:29:24.295Z] ---> Running in c59f54fad78b [2021-02-23T23:29:25.293Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T23:29:25.891Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T23:29:26.862Z] OK: 142 MiB in 39 packages [2021-02-23T23:29:27.850Z] Removing intermediate container c59f54fad78b [2021-02-23T23:29:27.850Z] ---> 5ed374e2bab9 [2021-02-23T23:29:27.850Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T23:29:27.850Z] ---> Running in dcafc2a445fc [2021-02-23T23:29:28.455Z] Removing intermediate container dcafc2a445fc [2021-02-23T23:29:28.455Z] ---> 6f4a141fe2bf [2021-02-23T23:29:28.455Z] Step 7/8 : COPY . . [2021-02-23T23:29:29.916Z] ---> 0b3abc62a2c1 [2021-02-23T23:29:29.916Z] Step 8/8 : RUN go mod download [2021-02-23T23:29:29.916Z] ---> Running in 1e822d6510e8 [2021-02-23T23:29:56.725Z] Removing intermediate container 1e822d6510e8 [2021-02-23T23:29:56.725Z] ---> 14d8c1c1da50 [2021-02-23T23:29:56.725Z] Successfully built 14d8c1c1da50 [2021-02-23T23:29:56.725Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:29:57.091Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T23:29:57.091Z] . [Pipeline] withDockerContainer [2021-02-23T23:29:57.364Z] prd-ubuntu18.04-docker-arm64-4c-16g-27413 does not seem to be running inside a container [2021-02-23T23:29:57.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/121 -v /w/workspace/device-sdk-go/121:/w/workspace/device-sdk-go/121:rw,z -v /w/workspace/device-sdk-go/121@tmp:/w/workspace/device-sdk-go/121@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 ******** ci-base-image-arm64 cat [2021-02-23T23:29:59.086Z] $ docker top 3ad5d5269b69e755458ae8ae5da4a6f05d57d1ef733f49a38968746e631f3195 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T23:30:00.115Z] + go version [2021-02-23T23:30:00.115Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-23T23:30:00.142Z] $ docker stop --time=1 3ad5d5269b69e755458ae8ae5da4a6f05d57d1ef733f49a38968746e631f3195 [2021-02-23T23:30:02.255Z] $ docker rm -f 3ad5d5269b69e755458ae8ae5da4a6f05d57d1ef733f49a38968746e631f3195 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:30:03.304Z] + docker inspect -f . ci-base-image-arm64 [2021-02-23T23:30:03.304Z] . [Pipeline] withDockerContainer [2021-02-23T23:30:03.574Z] prd-ubuntu18.04-docker-arm64-4c-16g-27413 does not seem to be running inside a container [2021-02-23T23:30:03.660Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/121 -v /w/workspace/device-sdk-go/121:/w/workspace/device-sdk-go/121:rw,z -v /w/workspace/device-sdk-go/121@tmp:/w/workspace/device-sdk-go/121@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 ******** ci-base-image-arm64 cat [2021-02-23T23:30:05.200Z] $ docker top a289e104d3e55f7192014d58a4c0b35be926a82ced521179dd7d99b7e3705483 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T23:30:06.220Z] + make test [2021-02-23T23:30:06.220Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T23:30:28.428Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T23:31:02.848Z] Running on prd-centos7-docker-4c-2g-27414 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2021-02-23T23:31:02.955Z] Running in /w/workspace/device-sdk-go/121 [Pipeline] { [Pipeline] checkout [2021-02-23T23:31:15.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T23:31:15.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T23:31:15.493Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T23:31:15.493Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.144s coverage: 25.5% of statements [2021-02-23T23:31:20.692Z] using credential edgex-jenkins-ssh [2021-02-23T23:31:20.904Z] Cloning the remote Git repository [2021-02-23T23:31:21.021Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:31:21.501Z] > git init /w/workspace/device-sdk-go/121 # timeout=10 [2021-02-23T23:31:21.955Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:31:21.955Z] > git --version # timeout=10 [2021-02-23T23:31:21.965Z] > git --version # 'git version 2.24.3' [2021-02-23T23:31:21.966Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:31:22.010Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:31:24.199Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T23:31:24.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-23T23:31:24.245Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-02-23T23:31:24.576Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-02-23T23:31:24.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-23T23:31:24.864Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-23T23:31:26.681Z] Checking out Revision 859d05bb29d195830a2bef80ceacb337f49ed4c7 (master) [2021-02-23T23:31:26.694Z] > git config core.sparsecheckout # timeout=10 [2021-02-23T23:31:26.720Z] > git checkout -f 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 [2021-02-23T23:31:36.763Z] Commit message: "Merge pull request #792 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.0.0-dev.13" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T23:31:39.990Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:31:40.625Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-23T23:31:41.788Z] + true [2021-02-23T23:31:41.788Z] + sudo service docker restart [2021-02-23T23:31:42.083Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-23T23:31:45.405Z] provisioning config files... [2021-02-23T23:31:45.490Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/121@tmp/config4021690088742688036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:31:46.389Z] ---> docker-login.sh [2021-02-23T23:31:46.389Z] nexus3.edgexfoundry.org:10001 [2021-02-23T23:31:47.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.195s coverage: 10.1% of statements [2021-02-23T23:31:47.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.110s coverage: 12.5% of statements [2021-02-23T23:31:47.892Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T23:31:47.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.168s coverage: 84.8% of statements [2021-02-23T23:31:47.892Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T23:31:47.892Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T23:31:47.892Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T23:31:47.892Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T23:31:47.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.202s coverage: 49.2% of statements [2021-02-23T23:31:47.892Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T23:31:47.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.159s coverage: 81.3% of statements [2021-02-23T23:31:47.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.178s coverage: 24.8% of statements [2021-02-23T23:31:47.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.802s coverage: 83.5% of statements [2021-02-23T23:31:47.892Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.130s coverage: 5.3% of statements [2021-02-23T23:31:47.892Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T23:31:47.892Z] GO111MODULE=on go vet ./... [2021-02-23T23:31:48.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:31:48.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:31:48.496Z] Configure a credential helper to remove this warning. See [2021-02-23T23:31:48.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:31:48.496Z] [2021-02-23T23:31:48.496Z] Login Succeeded [2021-02-23T23:31:48.496Z] nexus3.edgexfoundry.org:10002 [2021-02-23T23:31:49.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:31:49.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:31:49.860Z] Configure a credential helper to remove this warning. See [2021-02-23T23:31:49.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:31:49.860Z] [2021-02-23T23:31:49.860Z] Login Succeeded [2021-02-23T23:31:50.167Z] nexus3.edgexfoundry.org:10003 [2021-02-23T23:31:51.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:31:51.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:31:51.866Z] Configure a credential helper to remove this warning. See [2021-02-23T23:31:51.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:31:51.866Z] [2021-02-23T23:31:51.866Z] Login Succeeded [2021-02-23T23:31:52.172Z] nexus3.edgexfoundry.org:10004 [2021-02-23T23:31:52.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:31:52.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:31:52.766Z] Configure a credential helper to remove this warning. See [2021-02-23T23:31:52.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:31:52.766Z] [2021-02-23T23:31:52.766Z] Login Succeeded [2021-02-23T23:31:52.766Z] docker.io [2021-02-23T23:31:53.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-23T23:31:53.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-23T23:31:53.904Z] Configure a credential helper to remove this warning. See [2021-02-23T23:31:53.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-23T23:31:53.904Z] [2021-02-23T23:31:53.904Z] Login Succeeded [2021-02-23T23:31:53.904Z] ---> docker-login.sh ends [Pipeline] } [2021-02-23T23:31:54.252Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-23T23:31:55.553Z] ========================================================= [2021-02-23T23:31:55.553Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-23T23:31:55.553Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:31:56.031Z] + 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-02-23T23:31:56.975Z] Sending build context to Docker daemon 2.395MB [2021-02-23T23:31:57.534Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:31:57.534Z] Step 2/8 : FROM ${BASE} [2021-02-23T23:31:58.413Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-23T23:31:58.413Z] 188c0c94c7c5: Pulling fs layer [2021-02-23T23:31:58.413Z] 0ef7d3d256c8: Pulling fs layer [2021-02-23T23:31:58.413Z] de9db76c5a1d: Pulling fs layer [2021-02-23T23:31:58.413Z] bca2f99d35d6: Pulling fs layer [2021-02-23T23:31:58.413Z] 93359f2a8cfa: Pulling fs layer [2021-02-23T23:31:58.413Z] 7c6f9722023f: Pulling fs layer [2021-02-23T23:31:58.413Z] a35cf1a2eb13: Pulling fs layer [2021-02-23T23:31:58.413Z] bca2f99d35d6: Waiting [2021-02-23T23:31:58.413Z] 93359f2a8cfa: Waiting [2021-02-23T23:31:58.413Z] 7c6f9722023f: Waiting [2021-02-23T23:31:58.413Z] a35cf1a2eb13: Waiting [2021-02-23T23:31:58.813Z] de9db76c5a1d: Verifying Checksum [2021-02-23T23:31:58.813Z] de9db76c5a1d: Download complete [2021-02-23T23:31:58.813Z] 0ef7d3d256c8: Verifying Checksum [2021-02-23T23:31:58.813Z] 0ef7d3d256c8: Download complete [2021-02-23T23:31:58.813Z] 93359f2a8cfa: Verifying Checksum [2021-02-23T23:31:58.813Z] 93359f2a8cfa: Download complete [2021-02-23T23:31:59.331Z] 7c6f9722023f: Verifying Checksum [2021-02-23T23:31:59.331Z] 7c6f9722023f: Download complete [2021-02-23T23:32:00.059Z] 188c0c94c7c5: Verifying Checksum [2021-02-23T23:32:00.059Z] 188c0c94c7c5: Download complete [2021-02-23T23:32:01.152Z] 188c0c94c7c5: Pull complete [2021-02-23T23:32:02.765Z] 0ef7d3d256c8: Pull complete [2021-02-23T23:32:03.118Z] de9db76c5a1d: Pull complete [2021-02-23T23:32:09.760Z] a35cf1a2eb13: Verifying Checksum [2021-02-23T23:32:09.760Z] a35cf1a2eb13: Download complete [2021-02-23T23:32:15.498Z] bca2f99d35d6: Verifying Checksum [2021-02-23T23:32:15.498Z] bca2f99d35d6: Download complete [2021-02-23T23:32:20.322Z] gofmt -l . [2021-02-23T23:32:20.322Z] [ "`gofmt -l .`" = "" ] [2021-02-23T23:32:20.322Z] ./bin/test-attribution-txt.sh [2021-02-23T23:32:21.302Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-23T23:32:21.942Z] $ docker stop --time=1 a289e104d3e55f7192014d58a4c0b35be926a82ced521179dd7d99b7e3705483 [2021-02-23T23:32:24.331Z] $ docker rm -f a289e104d3e55f7192014d58a4c0b35be926a82ced521179dd7d99b7e3705483 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T23:32:25.429Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T23:32:26.495Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-23T23:32:29.501Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T23:32:29.873Z] + ls -al . [2021-02-23T23:32:29.873Z] total 220 [2021-02-23T23:32:29.873Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 23 23:32 . [2021-02-23T23:32:29.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:28 .. [2021-02-23T23:32:29.873Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 23 23:28 .dockerignore [2021-02-23T23:32:29.873Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 23 23:28 .git [2021-02-23T23:32:29.873Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 23:28 .github [2021-02-23T23:32:29.873Z] -rw-rw-r-- 1 jenkins jenkins 138 Feb 23 23:28 .gitignore [2021-02-23T23:32:29.873Z] -rw-rw-r-- 1 jenkins jenkins 949 Feb 23 23:28 Dockerfile.build [2021-02-23T23:32:29.873Z] -rw-rw-r-- 1 jenkins jenkins 901 Feb 23 23:28 Jenkinsfile [2021-02-23T23:32:29.873Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 23 23:28 LICENSE [2021-02-23T23:32:29.873Z] -rw-rw-r-- 1 jenkins jenkins 1016 Feb 23 23:28 Makefile [2021-02-23T23:32:29.873Z] -rw-rw-r-- 1 jenkins jenkins 5897 Feb 23 23:28 README.md [2021-02-23T23:32:29.873Z] -rw-rw-r-- 1 jenkins jenkins 6616 Feb 23 23:28 RELEASE-NOTES.txt [2021-02-23T23:32:29.873Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 23 23:26 VERSION [2021-02-23T23:32:29.873Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 23 23:28 bin [2021-02-23T23:32:29.873Z] -rw-r--r-- 1 jenkins jenkins 101757 Feb 23 23:31 coverage.out [2021-02-23T23:32:29.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:28 example [2021-02-23T23:32:29.873Z] -rw-r--r-- 1 jenkins jenkins 516 Feb 23 23:32 go.mod [2021-02-23T23:32:29.873Z] -rw-r--r-- 1 jenkins jenkins 17254 Feb 23 23:32 go.sum [2021-02-23T23:32:29.873Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 23 23:28 internal [2021-02-23T23:32:29.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:28 openapi [2021-02-23T23:32:29.873Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 23 23:28 pkg [2021-02-23T23:32:29.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 23 23:28 snap [2021-02-23T23:32:29.873Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 23 23:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:32:30.242Z] + 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=859d05bb29d195830a2bef80ceacb337f49ed4c7 --label arch=arm64 --label version=2.0.0-dev.16 . [2021-02-23T23:32:30.868Z] Sending build context to Docker daemon 2.498MB [2021-02-23T23:32:30.868Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:32:30.868Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T23:32:30.868Z] ---> 14d8c1c1da50 [2021-02-23T23:32:30.868Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T23:32:30.922Z] bca2f99d35d6: Pull complete [2021-02-23T23:32:30.922Z] 93359f2a8cfa: Pull complete [2021-02-23T23:32:30.922Z] 7c6f9722023f: Pull complete [2021-02-23T23:32:31.156Z] ---> Running in 0e8bdc41d273 [2021-02-23T23:32:31.434Z] Removing intermediate container 0e8bdc41d273 [2021-02-23T23:32:31.434Z] ---> 5ce0aac52923 [2021-02-23T23:32:31.434Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T23:32:31.709Z] ---> Running in b7ee5b281f39 [2021-02-23T23:32:32.308Z] Removing intermediate container b7ee5b281f39 [2021-02-23T23:32:32.308Z] ---> ec7a2412dd15 [2021-02-23T23:32:32.308Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:32:32.308Z] ---> Running in e454f126f8a1 [2021-02-23T23:32:32.592Z] Removing intermediate container e454f126f8a1 [2021-02-23T23:32:32.592Z] ---> c7ca1b72a37d [2021-02-23T23:32:32.592Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:32:32.873Z] ---> Running in 3e54d5e40c34 [2021-02-23T23:32:34.856Z] Removing intermediate container 3e54d5e40c34 [2021-02-23T23:32:34.856Z] ---> 52156b5abca4 [2021-02-23T23:32:34.856Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T23:32:35.134Z] ---> Running in 07ea0cceb228 [2021-02-23T23:32:36.572Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-23T23:32:37.167Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-23T23:32:37.763Z] OK: 142 MiB in 39 packages [2021-02-23T23:32:39.196Z] Removing intermediate container 07ea0cceb228 [2021-02-23T23:32:39.196Z] ---> 94d90321b796 [2021-02-23T23:32:39.196Z] Step 8/24 : COPY . . [2021-02-23T23:32:40.648Z] ---> cb36e65a8d08 [2021-02-23T23:32:40.648Z] Step 9/24 : RUN ${MAKE} [2021-02-23T23:32:40.648Z] ---> Running in 031b4df30652 [2021-02-23T23:32:41.636Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.16" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-23T23:32:44.845Z] a35cf1a2eb13: Pull complete [2021-02-23T23:32:44.845Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-23T23:32:44.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-23T23:32:44.845Z] ---> a62c8e92a672 [2021-02-23T23:32:44.845Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:32:44.845Z] ---> Running in 2328fd2d0ed3 [2021-02-23T23:32:46.262Z] Removing intermediate container 2328fd2d0ed3 [2021-02-23T23:32:46.262Z] ---> cbcbb0c1d6b4 [2021-02-23T23:32:46.262Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:32:46.849Z] ---> Running in d4998e186f84 [2021-02-23T23:32:49.621Z] Removing intermediate container d4998e186f84 [2021-02-23T23:32:49.622Z] ---> 79ed56c33d2a [2021-02-23T23:32:49.622Z] Step 5/8 : RUN apk add --update --no-cache make git [2021-02-23T23:32:49.952Z] ---> Running in 7f438410416b [2021-02-23T23:32:53.296Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T23:32:53.597Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T23:32:54.287Z] OK: 166 MiB in 39 packages [2021-02-23T23:32:55.338Z] Removing intermediate container 7f438410416b [2021-02-23T23:32:55.338Z] ---> d890a190dc53 [2021-02-23T23:32:55.338Z] Step 6/8 : WORKDIR /device-sdk-go [2021-02-23T23:32:55.717Z] ---> Running in 107c26720932 [2021-02-23T23:32:56.277Z] Removing intermediate container 107c26720932 [2021-02-23T23:32:56.277Z] ---> 67fa5180903c [2021-02-23T23:32:56.277Z] Step 7/8 : COPY . . [2021-02-23T23:32:59.378Z] ---> 83788024fcf1 [2021-02-23T23:32:59.378Z] Step 8/8 : RUN go mod download [2021-02-23T23:32:59.378Z] ---> Running in c0ea4455b77e [2021-02-23T23:33:08.453Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T23:33:11.848Z] Removing intermediate container 031b4df30652 [2021-02-23T23:33:11.848Z] ---> 9225124c1ad6 [2021-02-23T23:33:11.848Z] Step 10/24 : FROM scratch [2021-02-23T23:33:11.848Z] ---> [2021-02-23T23:33:11.848Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:33:11.848Z] ---> Running in daa4945aeb0c [2021-02-23T23:33:12.124Z] Removing intermediate container daa4945aeb0c [2021-02-23T23:33:12.124Z] ---> 5ecb30637160 [2021-02-23T23:33:12.124Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T23:33:12.397Z] ---> Running in c9652ac39d78 [2021-02-23T23:33:12.993Z] Removing intermediate container c9652ac39d78 [2021-02-23T23:33:12.993Z] ---> 64e4d35b1df4 [2021-02-23T23:33:12.993Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T23:33:12.993Z] ---> Running in 77e509f575c6 [2021-02-23T23:33:13.586Z] Removing intermediate container 77e509f575c6 [2021-02-23T23:33:13.586Z] ---> ddfca3f7ae48 [2021-02-23T23:33:13.586Z] Step 14/24 : WORKDIR / [2021-02-23T23:33:13.586Z] ---> Running in d33279086da0 [2021-02-23T23:33:14.558Z] Removing intermediate container d33279086da0 [2021-02-23T23:33:14.558Z] ---> af9be8d2bb57 [2021-02-23T23:33:14.558Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T23:33:15.534Z] ---> 4a00be4a51e5 [2021-02-23T23:33:15.534Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T23:33:16.509Z] ---> a14f16f4abe9 [2021-02-23T23:33:16.509Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T23:33:17.102Z] ---> 97572aafd59f [2021-02-23T23:33:17.102Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T23:33:17.699Z] ---> e1c5e9711500 [2021-02-23T23:33:17.699Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T23:33:18.684Z] ---> 8eaf8ed0e6dc [2021-02-23T23:33:18.684Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T23:33:18.684Z] ---> Running in 5e549f683dbd [2021-02-23T23:33:19.277Z] Removing intermediate container 5e549f683dbd [2021-02-23T23:33:19.277Z] ---> 6e8ce46d0033 [2021-02-23T23:33:19.277Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T23:33:19.549Z] ---> Running in 1b3763070b22 [2021-02-23T23:33:20.141Z] Removing intermediate container 1b3763070b22 [2021-02-23T23:33:20.141Z] ---> 243fdf6c4407 [2021-02-23T23:33:20.141Z] Step 22/24 : LABEL arch=arm64 [2021-02-23T23:33:20.414Z] ---> Running in edea26f1fa9e [2021-02-23T23:33:20.687Z] Removing intermediate container edea26f1fa9e [2021-02-23T23:33:20.687Z] ---> 777df8814199 [2021-02-23T23:33:20.687Z] Step 23/24 : LABEL git_sha=859d05bb29d195830a2bef80ceacb337f49ed4c7 [2021-02-23T23:33:20.959Z] ---> Running in 341be8386bdb [2021-02-23T23:33:21.553Z] Removing intermediate container 341be8386bdb [2021-02-23T23:33:21.553Z] ---> 9197311f4c17 [2021-02-23T23:33:21.553Z] Step 24/24 : LABEL version=2.0.0-dev.16 [2021-02-23T23:33:21.553Z] ---> Running in a6da6653ff26 [2021-02-23T23:33:22.148Z] Removing intermediate container a6da6653ff26 [2021-02-23T23:33:22.148Z] ---> fa1ff47a1fbd [2021-02-23T23:33:22.148Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T23:33:22.148Z] Successfully built fa1ff47a1fbd [2021-02-23T23:33:22.148Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:33:23.182Z] ---> job-cost.sh [2021-02-23T23:33:23.182Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-VgGc [2021-02-23T23:33:49.199Z] Removing intermediate container c0ea4455b77e [2021-02-23T23:33:49.199Z] ---> f4efaa9e524a [2021-02-23T23:33:49.199Z] Successfully built f4efaa9e524a [2021-02-23T23:33:49.199Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:33:49.995Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T23:33:51.682Z] . [Pipeline] withDockerContainer [2021-02-23T23:33:52.190Z] prd-centos7-docker-4c-2g-27414 does not seem to be running inside a container [2021-02-23T23:33:52.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/121 -v /w/workspace/device-sdk-go/121:/w/workspace/device-sdk-go/121:rw,z -v /w/workspace/device-sdk-go/121@tmp:/w/workspace/device-sdk-go/121@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 ******** ci-base-image-x86_64 cat [2021-02-23T23:33:56.477Z] $ docker top dbe0adf6d7fabb2748f7f5638ee829b27316e3d50f22d6a9e7c85b2614eb3f0b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T23:33:58.121Z] + go version [2021-02-23T23:33:58.121Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-23T23:33:58.169Z] $ docker stop --time=1 dbe0adf6d7fabb2748f7f5638ee829b27316e3d50f22d6a9e7c85b2614eb3f0b [2021-02-23T23:34:00.259Z] $ docker rm -f dbe0adf6d7fabb2748f7f5638ee829b27316e3d50f22d6a9e7c85b2614eb3f0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:34:02.745Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-23T23:34:02.746Z] . [Pipeline] withDockerContainer [2021-02-23T23:34:04.173Z] prd-centos7-docker-4c-2g-27414 does not seem to be running inside a container [2021-02-23T23:34:04.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/121 -v /w/workspace/device-sdk-go/121:/w/workspace/device-sdk-go/121:rw,z -v /w/workspace/device-sdk-go/121@tmp:/w/workspace/device-sdk-go/121@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 ******** ci-base-image-x86_64 cat [2021-02-23T23:34:07.279Z] $ docker top 4e2d0636fd0bf85611762989e18406fd1fda69ea112ce8a5afa83e0ead93e671 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T23:34:08.102Z] + make test [2021-02-23T23:34:08.102Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-02-23T23:34:10.109Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-23T23:34:25.601Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-02-23T23:34:54.174Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-02-23T23:34:54.174Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-02-23T23:34:54.174Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-02-23T23:34:57.251Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 25.5% of statements [2021-02-23T23:35:24.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.130s coverage: 10.1% of statements [2021-02-23T23:35:24.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.121s coverage: 12.5% of statements [2021-02-23T23:35:24.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-02-23T23:35:24.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.147s coverage: 84.8% of statements [2021-02-23T23:35:24.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] [2021-02-23T23:35:24.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] [2021-02-23T23:35:24.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-02-23T23:35:24.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-02-23T23:35:24.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.084s coverage: 49.2% of statements [2021-02-23T23:35:24.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] [2021-02-23T23:35:24.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.075s coverage: 81.3% of statements [2021-02-23T23:35:24.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.124s coverage: 24.8% of statements [2021-02-23T23:35:24.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.111s coverage: 83.5% of statements [2021-02-23T23:35:24.430Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.079s coverage: 5.3% of statements [2021-02-23T23:35:24.430Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-02-23T23:35:24.430Z] GO111MODULE=on go vet ./... [2021-02-23T23:35:52.127Z] gofmt -l . [2021-02-23T23:35:52.127Z] [ "`gofmt -l .`" = "" ] [2021-02-23T23:35:52.128Z] ./bin/test-attribution-txt.sh [2021-02-23T23:35:53.828Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-23T23:35:55.855Z] $ docker stop --time=1 4e2d0636fd0bf85611762989e18406fd1fda69ea112ce8a5afa83e0ead93e671 [2021-02-23T23:35:59.778Z] $ docker rm -f 4e2d0636fd0bf85611762989e18406fd1fda69ea112ce8a5afa83e0ead93e671 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-23T23:36:01.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-23T23:36:01.559Z] Warning: overwriting stash ‘coverage-report’ [2021-02-23T23:36:05.890Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-23T23:36:06.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-23T23:36:07.489Z] + ls -al . [2021-02-23T23:36:07.489Z] total 184 [2021-02-23T23:36:07.489Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 23 23:35 . [2021-02-23T23:36:07.489Z] drwxrwxr-x. 4 jenkins jenkins 32 Feb 23 23:31 .. [2021-02-23T23:36:07.489Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 23 23:31 bin [2021-02-23T23:36:07.489Z] -rw-r--r--. 1 jenkins jenkins 101758 Feb 23 23:35 coverage.out [2021-02-23T23:36:07.489Z] -rw-rw-r--. 1 jenkins jenkins 949 Feb 23 23:31 Dockerfile.build [2021-02-23T23:36:07.489Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 23 23:31 .dockerignore [2021-02-23T23:36:07.489Z] drwxrwxr-x. 4 jenkins jenkins 48 Feb 23 23:31 example [2021-02-23T23:36:07.490Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 23 23:31 .git [2021-02-23T23:36:07.490Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 23 23:31 .github [2021-02-23T23:36:07.490Z] -rw-rw-r--. 1 jenkins jenkins 138 Feb 23 23:31 .gitignore [2021-02-23T23:36:07.490Z] -rw-r--r--. 1 jenkins jenkins 516 Feb 23 23:35 go.mod [2021-02-23T23:36:07.490Z] -rw-r--r--. 1 jenkins jenkins 17254 Feb 23 23:35 go.sum [2021-02-23T23:36:07.490Z] drwxrwxr-x. 13 jenkins jenkins 183 Feb 23 23:31 internal [2021-02-23T23:36:07.490Z] -rw-rw-r--. 1 jenkins jenkins 901 Feb 23 23:31 Jenkinsfile [2021-02-23T23:36:07.490Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 23 23:31 LICENSE [2021-02-23T23:36:07.490Z] -rw-rw-r--. 1 jenkins jenkins 1016 Feb 23 23:31 Makefile [2021-02-23T23:36:07.490Z] drwxrwxr-x. 4 jenkins jenkins 26 Feb 23 23:31 openapi [2021-02-23T23:36:07.490Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 23 23:31 pkg [2021-02-23T23:36:07.490Z] -rw-rw-r--. 1 jenkins jenkins 5897 Feb 23 23:31 README.md [2021-02-23T23:36:07.490Z] -rw-rw-r--. 1 jenkins jenkins 6616 Feb 23 23:31 RELEASE-NOTES.txt [2021-02-23T23:36:07.490Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 23 23:31 snap [2021-02-23T23:36:07.490Z] -rw-rw-r--. 1 jenkins jenkins 12 Feb 23 23:26 VERSION [2021-02-23T23:36:07.490Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 23 23:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:36:07.977Z] + 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=859d05bb29d195830a2bef80ceacb337f49ed4c7 --label arch=amd64 --label version=2.0.0-dev.16 . [2021-02-23T23:36:09.495Z] Sending build context to Docker daemon 2.498MB [2021-02-23T23:36:09.495Z] Step 1/24 : ARG BASE=golang:1.15-alpine3.12 [2021-02-23T23:36:09.495Z] Step 2/24 : FROM ${BASE} AS builder [2021-02-23T23:36:09.495Z] ---> f4efaa9e524a [2021-02-23T23:36:09.495Z] Step 3/24 : ARG MAKE='make build' [2021-02-23T23:36:09.793Z] ---> Running in e48adc5ac86c [2021-02-23T23:36:10.069Z] Removing intermediate container e48adc5ac86c [2021-02-23T23:36:10.069Z] ---> d368cdf9bce0 [2021-02-23T23:36:10.069Z] Step 4/24 : WORKDIR /device-sdk-go [2021-02-23T23:36:10.373Z] ---> Running in a305e4a761a5 [2021-02-23T23:36:10.839Z] Removing intermediate container a305e4a761a5 [2021-02-23T23:36:10.839Z] ---> ac62901ed60a [2021-02-23T23:36:10.839Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:36:10.839Z] ---> Running in 0355f7d2cce2 [2021-02-23T23:36:11.496Z] Removing intermediate container 0355f7d2cce2 [2021-02-23T23:36:11.496Z] ---> 52a3f367c083 [2021-02-23T23:36:11.496Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-23T23:36:11.849Z] ---> Running in 001f0910b05c [2021-02-23T23:36:17.325Z] Removing intermediate container 001f0910b05c [2021-02-23T23:36:17.325Z] ---> a1221aee09d6 [2021-02-23T23:36:17.325Z] Step 7/24 : RUN apk add --update --no-cache make git [2021-02-23T23:36:17.325Z] ---> Running in 077b94e5bf9b [2021-02-23T23:36:17.679Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-23T23:36:18.528Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-23T23:36:19.822Z] OK: 166 MiB in 39 packages [2021-02-23T23:36:21.567Z] Removing intermediate container 077b94e5bf9b [2021-02-23T23:36:21.567Z] ---> e3a7ab5962e6 [2021-02-23T23:36:21.567Z] Step 8/24 : COPY . . [2021-02-23T23:36:24.603Z] ---> 569f1d21f45b [2021-02-23T23:36:24.603Z] Step 9/24 : RUN ${MAKE} [2021-02-23T23:36:24.603Z] ---> Running in 059da80c5d51 [2021-02-23T23:36:27.425Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.0-dev.16" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-02-23T23:36:46.942Z] lf-activate-venv(): INFO: Adding /tmp/venv-VgGc/bin to PATH [2021-02-23T23:36:46.942Z] INFO: No Stack... [2021-02-23T23:36:46.943Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-02-23T23:36:46.943Z] INFO: Archiving Costs [Pipeline] sh [2021-02-23T23:36:47.281Z] + cat /w/workspace/device-sdk-go/121/archives/cost.csv [2021-02-23T23:36:47.281Z] + cut -d, -f6 [Pipeline] lock [2021-02-23T23:36:47.406Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-121-stack-cost] [2021-02-23T23:36:47.415Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-121-stack-cost] did not exist. Created. [2021-02-23T23:36:47.415Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-23T23:36:47.901Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-02-23T23:36:48.091Z] Stashed 1 file(s) [Pipeline] } [2021-02-23T23:36:48.109Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-121-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-23T23:37:08.192Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2021-02-23T23:37:10.166Z] Removing intermediate container 059da80c5d51 [2021-02-23T23:37:10.166Z] ---> 50240abc9b71 [2021-02-23T23:37:10.166Z] Step 10/24 : FROM scratch [2021-02-23T23:37:10.166Z] ---> [2021-02-23T23:37:10.166Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-02-23T23:37:10.497Z] ---> Running in b6ee314d55b3 [2021-02-23T23:37:10.913Z] Removing intermediate container b6ee314d55b3 [2021-02-23T23:37:10.913Z] ---> 2bcd2794091c [2021-02-23T23:37:10.913Z] Step 12/24 : ENV APP_PORT=49990 [2021-02-23T23:37:11.334Z] ---> Running in 916d071b9be9 [2021-02-23T23:37:12.192Z] Removing intermediate container 916d071b9be9 [2021-02-23T23:37:12.192Z] ---> acdcb1716e60 [2021-02-23T23:37:12.192Z] Step 13/24 : EXPOSE $APP_PORT [2021-02-23T23:37:12.192Z] ---> Running in d4a48ede1067 [2021-02-23T23:37:13.278Z] Removing intermediate container d4a48ede1067 [2021-02-23T23:37:13.278Z] ---> 40316337d46e [2021-02-23T23:37:13.278Z] Step 14/24 : WORKDIR / [2021-02-23T23:37:13.641Z] ---> Running in 08d7aa898075 [2021-02-23T23:37:14.016Z] Removing intermediate container 08d7aa898075 [2021-02-23T23:37:14.016Z] ---> 472f50f28e87 [2021-02-23T23:37:14.016Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2021-02-23T23:37:15.482Z] ---> 11356293115e [2021-02-23T23:37:15.482Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2021-02-23T23:37:17.319Z] ---> 55b65afbf7d4 [2021-02-23T23:37:17.319Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2021-02-23T23:37:18.059Z] ---> d1f778e89495 [2021-02-23T23:37:18.059Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2021-02-23T23:37:18.726Z] ---> 6671a93af53c [2021-02-23T23:37:18.727Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2021-02-23T23:37:20.224Z] ---> 837c32962f80 [2021-02-23T23:37:20.225Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2021-02-23T23:37:20.225Z] ---> Running in 216389cc813e [2021-02-23T23:37:22.519Z] Removing intermediate container 216389cc813e [2021-02-23T23:37:22.519Z] ---> a602a162c976 [2021-02-23T23:37:22.519Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-23T23:37:22.519Z] ---> Running in 5a8bd4d8916c [2021-02-23T23:37:23.533Z] Removing intermediate container 5a8bd4d8916c [2021-02-23T23:37:23.533Z] ---> dd47d9873551 [2021-02-23T23:37:23.533Z] Step 22/24 : LABEL arch=amd64 [2021-02-23T23:37:23.533Z] ---> Running in 864d9229dde2 [2021-02-23T23:37:23.533Z] Removing intermediate container 864d9229dde2 [2021-02-23T23:37:23.533Z] ---> c8d990f41fcf [2021-02-23T23:37:23.533Z] Step 23/24 : LABEL git_sha=859d05bb29d195830a2bef80ceacb337f49ed4c7 [2021-02-23T23:37:23.853Z] ---> Running in c044bdb72e99 [2021-02-23T23:37:24.123Z] Removing intermediate container c044bdb72e99 [2021-02-23T23:37:24.123Z] ---> acd420d04ac9 [2021-02-23T23:37:24.123Z] Step 24/24 : LABEL version=2.0.0-dev.16 [2021-02-23T23:37:24.123Z] ---> Running in 94888b661dc5 [2021-02-23T23:37:24.760Z] Removing intermediate container 94888b661dc5 [2021-02-23T23:37:24.760Z] ---> dd93a5ba51b3 [2021-02-23T23:37:24.760Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-23T23:37:24.760Z] Successfully built dd93a5ba51b3 [2021-02-23T23:37:24.760Z] 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 Post stage [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:37:26.045Z] ---> job-cost.sh [2021-02-23T23:37:26.045Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-wTvn [2021-02-23T23:37:59.668Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-02-23T23:38:58.822Z] lf-activate-venv(): INFO: Adding /tmp/venv-wTvn/bin to PATH [2021-02-23T23:38:58.822Z] INFO: No Stack... [2021-02-23T23:38:58.822Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-23T23:38:58.822Z] INFO: Archiving Costs [Pipeline] sh [2021-02-23T23:38:59.637Z] + cat /w/workspace/device-sdk-go/121/archives/cost.csv [2021-02-23T23:38:59.637Z] + cut -d, -f6 [Pipeline] lock [2021-02-23T23:38:59.972Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-master-121-stack-cost] [2021-02-23T23:38:59.981Z] Resource [jenkins-edgexfoundry-device-sdk-go-master-121-stack-cost] did not exist. Created. [2021-02-23T23:38:59.981Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-master-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-23T23:39:01.222Z] /w/workspace/device-sdk-go/121@tmp/durable-d90dcff4/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-02-23T23:39:01.839Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-02-23T23:39:02.081Z] Warning: overwriting stash ‘stack-cost’ [2021-02-23T23:39:02.898Z] Stashed 1 file(s) [Pipeline] } [2021-02-23T23:39:02.911Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-master-121-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-23T23:39:04.607Z] provisioning config files... [2021-02-23T23:39:04.675Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7592830194263349720tmp [Pipeline] { [Pipeline] sh [2021-02-23T23:39:05.197Z] + set +x [2021-02-23T23:39:05.197Z] + bash -s -- [2021-02-23T23:39:05.197Z] + curl -s https://codecov.io/bash [2021-02-23T23:39:05.580Z] [2021-02-23T23:39:05.580Z] _____ _ [2021-02-23T23:39:05.580Z] / ____| | | [2021-02-23T23:39:05.580Z] | | ___ __| | ___ ___ _____ __ [2021-02-23T23:39:05.580Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-23T23:39:05.580Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-23T23:39:05.580Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-23T23:39:05.580Z] Bash-20210129-7c25fce [2021-02-23T23:39:05.580Z] [2021-02-23T23:39:05.580Z] [2021-02-23T23:39:05.901Z] ==> git version 2.24.3 found [2021-02-23T23:39:05.901Z] ==> 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-02-23T23:39:05.901Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-23T23:39:05.901Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-23T23:39:05.901Z] ==> Jenkins CI detected. [2021-02-23T23:39:05.901Z] project root: . [2021-02-23T23:39:05.901Z] --> token set from env [2021-02-23T23:39:05.901Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-23T23:39:06.280Z] ==> Running gcov in . (disable via -X gcov) [2021-02-23T23:39:06.280Z] ==> Python coveragepy not found [2021-02-23T23:39:06.280Z] ==> Searching for coverage reports in: [2021-02-23T23:39:06.280Z] + . [2021-02-23T23:39:06.280Z] -> Found 1 reports [2021-02-23T23:39:06.280Z] ==> Detecting git/mercurial file structure [2021-02-23T23:39:06.280Z] ==> Reading reports [2021-02-23T23:39:06.280Z] + ./coverage.out bytes=101758 [2021-02-23T23:39:06.280Z] ==> Appending adjustments [2021-02-23T23:39:06.280Z] https://docs.codecov.io/docs/fixing-reports [2021-02-23T23:39:07.836Z] + Found adjustments [2021-02-23T23:39:07.836Z] ==> Gzipping contents [2021-02-23T23:39:08.116Z] 20K /tmp/codecov.6Dtv8u.gz [2021-02-23T23:39:08.116Z] ==> Uploading reports [2021-02-23T23:39:08.116Z] url: https://codecov.io [2021-02-23T23:39:08.116Z] query: branch=master&commit=859d05bb29d195830a2bef80ceacb337f49ed4c7&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-23T23:39:08.116Z] -> Pinging Codecov [2021-02-23T23:39:08.116Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=859d05bb29d195830a2bef80ceacb337f49ed4c7&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-23T23:39:08.776Z] -> Uploading to [2021-02-23T23:39:08.776Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-23/7E55EF52A471D76F132DFD9A03CDDE97/859d05bb29d195830a2bef80ceacb337f49ed4c7/c896007b-ae3e-4661-96f9-09f44a97c3cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210223%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210223T233908Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab623d119af29195dec4ad462d01fabd4a0f1a72938e597c1f57de6e3b412ca9 [2021-02-23T23:39:08.776Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-23T23:39:08.776Z] Dload Upload Total Spent Left Speed [2021-02-23T23:39:09.328Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16509 0 0 100 16509 0 27629 --:--:-- --:--:-- --:--:-- 27607 [2021-02-23T23:39:09.328Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/859d05bb29d195830a2bef80ceacb337f49ed4c7 [Pipeline] } [2021-02-23T23:39:09.359Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-23T23:39:10.456Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-23T23:39:10.539Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:39:11.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-23T23:39:11.182Z] [2021-02-23T23:39:11.182Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:39:12.177Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-23T23:39:12.660Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-23T23:39:12.660Z] 188c0c94c7c5: Pulling fs layer [2021-02-23T23:39:12.660Z] 0ef7d3d256c8: Pulling fs layer [2021-02-23T23:39:12.660Z] de9db76c5a1d: Pulling fs layer [2021-02-23T23:39:12.660Z] 0eba1c9be4d2: Pulling fs layer [2021-02-23T23:39:12.660Z] 0d57e429df01: Pulling fs layer [2021-02-23T23:39:12.660Z] 4e4be7b47b0d: Pulling fs layer [2021-02-23T23:39:12.660Z] e1f770b5df2f: Pulling fs layer [2021-02-23T23:39:12.660Z] 85a0685a4137: Pulling fs layer [2021-02-23T23:39:12.660Z] 0eba1c9be4d2: Waiting [2021-02-23T23:39:12.660Z] 0d57e429df01: Waiting [2021-02-23T23:39:12.660Z] 4e4be7b47b0d: Waiting [2021-02-23T23:39:12.660Z] e1f770b5df2f: Waiting [2021-02-23T23:39:12.660Z] 85a0685a4137: Waiting [2021-02-23T23:39:13.110Z] de9db76c5a1d: Verifying Checksum [2021-02-23T23:39:13.110Z] de9db76c5a1d: Download complete [2021-02-23T23:39:13.942Z] 0ef7d3d256c8: Verifying Checksum [2021-02-23T23:39:13.942Z] 0ef7d3d256c8: Download complete [2021-02-23T23:39:13.942Z] 0d57e429df01: Verifying Checksum [2021-02-23T23:39:13.942Z] 0d57e429df01: Download complete [2021-02-23T23:39:13.942Z] 4e4be7b47b0d: Download complete [2021-02-23T23:39:13.942Z] 188c0c94c7c5: Verifying Checksum [2021-02-23T23:39:13.942Z] 188c0c94c7c5: Download complete [2021-02-23T23:39:15.967Z] 188c0c94c7c5: Pull complete [2021-02-23T23:39:16.478Z] 0ef7d3d256c8: Pull complete [2021-02-23T23:39:16.785Z] de9db76c5a1d: Pull complete [2021-02-23T23:39:18.590Z] e1f770b5df2f: Verifying Checksum [2021-02-23T23:39:18.590Z] e1f770b5df2f: Download complete [2021-02-23T23:39:26.304Z] 0eba1c9be4d2: Verifying Checksum [2021-02-23T23:39:26.304Z] 0eba1c9be4d2: Download complete [2021-02-23T23:39:34.303Z] 85a0685a4137: Verifying Checksum [2021-02-23T23:39:34.303Z] 85a0685a4137: Download complete [2021-02-23T23:39:50.214Z] 0eba1c9be4d2: Pull complete [2021-02-23T23:39:50.214Z] 0d57e429df01: Pull complete [2021-02-23T23:39:50.214Z] 4e4be7b47b0d: Pull complete [2021-02-23T23:39:53.828Z] e1f770b5df2f: Pull complete [2021-02-23T23:40:12.931Z] 85a0685a4137: Pull complete [2021-02-23T23:40:12.931Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-23T23:40:12.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-23T23:40:12.932Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-23T23:40:13.692Z] prd-centos7-docker-4c-2g-27410 does not seem to be running inside a container [2021-02-23T23:40:14.009Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-02-23T23:40:16.314Z] $ docker top 5a694a62a298d467a8595baadfa399da68fad7e6dc24d24b3f1f10d4adc11ee5 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-23T23:40:16.743Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-23T23:40:17.658Z] + set -o pipefail [2021-02-23T23:40:17.658Z] + snyk monitor '--org=edgex-jenkins' [2021-02-23T23:40:37.380Z] [2021-02-23T23:40:37.380Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go/v2)... [2021-02-23T23:40:37.380Z] [2021-02-23T23:40:37.380Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/ce21a975-83d9-4139-b131-a9da408fba15 [2021-02-23T23:40:37.380Z] [2021-02-23T23:40:37.380Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-23T23:40:37.380Z] [2021-02-23T23:40:37.380Z] [2021-02-23T23:40:37.380Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2021-02-23T23:40:37.380Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-02-23T23:40:37.408Z] $ docker stop --time=1 5a694a62a298d467a8595baadfa399da68fad7e6dc24d24b3f1f10d4adc11ee5 [2021-02-23T23:40:41.842Z] $ docker rm -f 5a694a62a298d467a8595baadfa399da68fad7e6dc24d24b3f1f10d4adc11ee5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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-02-23T23:40:43.906Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-23T23:40:43.969Z] provisioning config files... [2021-02-23T23:40:43.986Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config399895689714152996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:40:44.505Z] --> edgex-publish-swagger.sh [2021-02-23T23:40:44.505Z] === Publish openapi/v1 API === [2021-02-23T23:40:44.505Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2021-02-23T23:40:44.505Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v1/device-sdk.yaml] [2021-02-23T23:40:44.505Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-23T23:40:44.505Z] Dload Upload Total Spent Left Speed [2021-02-23T23:40:45.421Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 19947 0 0 100 19947 0 24977 --:--:-- --:--:-- --:--:-- 24996 100 19947 0 0 100 19947 0 24968 --:--:-- --:--:-- --:--:-- 24996 [2021-02-23T23:40:45.421Z] [2021-02-23T23:40:45.421Z] [2021-02-23T23:40:45.421Z] === Publish openapi/v2 API === [2021-02-23T23:40:45.421Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-02-23T23:40:45.421Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_master/openapi/v2/device-sdk.yaml] [2021-02-23T23:40:45.796Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-23T23:40:45.796Z] Dload Upload Total Spent Left Speed [2021-02-23T23:40:46.689Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52256 0 0 100 52256 0 57135 --:--:-- --:--:-- --:--:-- 57110 [2021-02-23T23:40:46.689Z] [2021-02-23T23:40:46.689Z] [Pipeline] } [2021-02-23T23:40:46.713Z] 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-02-23T23:40:47.877Z] + git log --format=format:%s -1 859d05bb29d195830a2bef80ceacb337f49ed4c7 [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:40:48.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:40:48.726Z] . [Pipeline] withDockerContainer [2021-02-23T23:40:50.893Z] prd-centos7-docker-4c-2g-27410 does not seem to be running inside a container [2021-02-23T23:40:51.794Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T23:40:56.490Z] $ docker top d0d6a2297e08d3200a15def8e59b1e9e5ad787e9d6005484265de9dc64eea086 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T23:40:57.323Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T23:40:57.323Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T23:40:58.330Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T23:40:58.334Z] $ docker exec d0d6a2297e08d3200a15def8e59b1e9e5ad787e9d6005484265de9dc64eea086 ssh-agent [2021-02-23T23:41:00.219Z] SSH_AUTH_SOCK=/tmp/ssh-yswT69dsIolM/agent.11 [2021-02-23T23:41:00.219Z] SSH_AGENT_PID=16 [2021-02-23T23:41:00.230Z] Running ssh-add (command line suppressed) [2021-02-23T23:41:00.917Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_579434959639268071.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_579434959639268071.key) [2021-02-23T23:41:01.600Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T23:41:02.605Z] + git semver tag [2021-02-23T23:41:02.605Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T23:41:02.605Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-23T23:41:02.605Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-23T23:41:02.605Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T23:41:02.605Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T23:41:02.605Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T23:41:02.605Z] # $SEMVER_BRANCH = master [2021-02-23T23:41:02.605Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-02-23T23:41:02.605Z] # 859d05bb29d195830a2bef80ceacb337f49ed4c7 HEAD [2021-02-23T23:41:02.885Z] # -> Force: false [2021-02-23T23:41:02.885Z] # 337df76dee161bf678d33c8f670dcbf62836709b refs/tags/v2.0.0-dev.16 [Pipeline] } [2021-02-23T23:41:02.904Z] $ docker exec --env ******** --env ******** d0d6a2297e08d3200a15def8e59b1e9e5ad787e9d6005484265de9dc64eea086 ssh-agent -k [2021-02-23T23:41:03.451Z] unset SSH_AUTH_SOCK; [2021-02-23T23:41:03.452Z] unset SSH_AGENT_PID; [2021-02-23T23:41:03.452Z] echo Agent pid 16 killed; [2021-02-23T23:41:03.654Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T23:41:04.514Z] + git semver [Pipeline] } [2021-02-23T23:41:04.665Z] $ docker stop --time=1 d0d6a2297e08d3200a15def8e59b1e9e5ad787e9d6005484265de9dc64eea086 [2021-02-23T23:41:07.649Z] $ docker rm -f d0d6a2297e08d3200a15def8e59b1e9e5ad787e9d6005484265de9dc64eea086 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:41:09.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-23T23:41:09.511Z] [2021-02-23T23:41:09.511Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:41:10.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-23T23:41:10.789Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-23T23:41:10.789Z] ab5ef0e58194: Pulling fs layer [2021-02-23T23:41:10.789Z] 9712f1f96733: Pulling fs layer [2021-02-23T23:41:10.789Z] 63f879dbbcfc: Pulling fs layer [2021-02-23T23:41:10.789Z] 0d9ebad4ef96: Pulling fs layer [2021-02-23T23:41:10.789Z] e9a5061849ea: Pulling fs layer [2021-02-23T23:41:10.789Z] d747dcd14b5f: Pulling fs layer [2021-02-23T23:41:10.789Z] 2de7ff778b66: Pulling fs layer [2021-02-23T23:41:10.789Z] 0d9ebad4ef96: Waiting [2021-02-23T23:41:10.789Z] e9a5061849ea: Waiting [2021-02-23T23:41:10.789Z] d747dcd14b5f: Waiting [2021-02-23T23:41:10.789Z] 2de7ff778b66: Waiting [2021-02-23T23:41:10.789Z] 9712f1f96733: Verifying Checksum [2021-02-23T23:41:10.789Z] 9712f1f96733: Download complete [2021-02-23T23:41:24.509Z] 63f879dbbcfc: Verifying Checksum [2021-02-23T23:41:24.509Z] 63f879dbbcfc: Download complete [2021-02-23T23:41:24.509Z] e9a5061849ea: Verifying Checksum [2021-02-23T23:41:24.509Z] e9a5061849ea: Download complete [2021-02-23T23:41:24.509Z] d747dcd14b5f: Verifying Checksum [2021-02-23T23:41:24.509Z] d747dcd14b5f: Download complete [2021-02-23T23:41:26.725Z] 2de7ff778b66: Verifying Checksum [2021-02-23T23:41:26.725Z] 2de7ff778b66: Download complete [2021-02-23T23:41:28.292Z] 0d9ebad4ef96: Verifying Checksum [2021-02-23T23:41:28.292Z] 0d9ebad4ef96: Download complete [2021-02-23T23:41:28.292Z] ab5ef0e58194: Verifying Checksum [2021-02-23T23:41:28.292Z] ab5ef0e58194: Download complete [2021-02-23T23:41:44.196Z] ab5ef0e58194: Pull complete [2021-02-23T23:41:45.887Z] 9712f1f96733: Pull complete [2021-02-23T23:41:51.533Z] 63f879dbbcfc: Pull complete [2021-02-23T23:42:10.463Z] 0d9ebad4ef96: Pull complete [2021-02-23T23:42:13.020Z] e9a5061849ea: Pull complete [2021-02-23T23:42:14.057Z] d747dcd14b5f: Pull complete [2021-02-23T23:42:23.228Z] 2de7ff778b66: Pull complete [2021-02-23T23:42:23.228Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-23T23:42:23.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-23T23:42:23.228Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-23T23:42:24.456Z] prd-centos7-docker-4c-2g-27410 does not seem to be running inside a container [2021-02-23T23:42:24.929Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-02-23T23:42:30.978Z] $ docker top 4a1519e3b79e1dcfab39fe609a18fa9bc893f2858c0642e60fd4e1cb5f700c75 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-23T23:42:31.816Z] provisioning config files... [2021-02-23T23:42:31.871Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config4882775463719160664tmp [2021-02-23T23:42:32.157Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6207809965958863022tmp [2021-02-23T23:42:32.253Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6146367154973082469tmp [Pipeline] { [Pipeline] echo [2021-02-23T23:42:32.331Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:42:34.007Z] ---> sigul-configuration.sh [2021-02-23T23:42:34.289Z] gpg: directory `/root/.gnupg' created [2021-02-23T23:42:34.289Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-23T23:42:34.289Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-23T23:42:34.289Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-23T23:42:34.289Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-23T23:42:34.289Z] gpg: CAST5 encrypted data [2021-02-23T23:42:34.561Z] gpg: encrypted with 1 passphrase [2021-02-23T23:42:34.561Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-23T23:42:35.635Z] + mkdir /home/jenkins [2021-02-23T23:42:35.635Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-23T23:42:36.393Z] + 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-02-23T23:42:36.420Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:42:37.406Z] ---> sigul-install.sh [2021-02-23T23:42:54.280Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-23T23:42:55.101Z] + git tag --list [2021-02-23T23:42:55.101Z] 0.7.1 [2021-02-23T23:42:55.101Z] delhi-tag [2021-02-23T23:42:55.101Z] v1.0.0 [2021-02-23T23:42:55.101Z] v1.1.0 [2021-02-23T23:42:55.101Z] v1.1.1 [2021-02-23T23:42:55.101Z] v1.1.2 [2021-02-23T23:42:55.101Z] v1.2.0 [2021-02-23T23:42:55.101Z] v1.2.1 [2021-02-23T23:42:55.101Z] v1.2.2 [2021-02-23T23:42:55.101Z] v1.2.3 [2021-02-23T23:42:55.101Z] v1.3.0 [2021-02-23T23:42:55.101Z] v1.4.0 [2021-02-23T23:42:55.101Z] v2.0.0-dev.1 [2021-02-23T23:42:55.101Z] v2.0.0-dev.10 [2021-02-23T23:42:55.101Z] v2.0.0-dev.11 [2021-02-23T23:42:55.101Z] v2.0.0-dev.12 [2021-02-23T23:42:55.101Z] v2.0.0-dev.13 [2021-02-23T23:42:55.101Z] v2.0.0-dev.14 [2021-02-23T23:42:55.101Z] v2.0.0-dev.15 [2021-02-23T23:42:55.101Z] v2.0.0-dev.16 [2021-02-23T23:42:55.101Z] v2.0.0-dev.2 [2021-02-23T23:42:55.101Z] v2.0.0-dev.3 [2021-02-23T23:42:55.101Z] v2.0.0-dev.4 [2021-02-23T23:42:55.101Z] v2.0.0-dev.5 [2021-02-23T23:42:55.101Z] v2.0.0-dev.6 [2021-02-23T23:42:55.101Z] v2.0.0-dev.7 [2021-02-23T23:42:55.101Z] v2.0.0-dev.8 [2021-02-23T23:42:55.101Z] v2.0.0-dev.9 [Pipeline] sh [2021-02-23T23:42:56.392Z] + lftools sign git-tag v2.0.0-dev.16 [2021-02-23T23:42:58.457Z] Signing Git tag with Sigul... [2021-02-23T23:42:58.457Z] Signing v2.0.0-dev.16 [Pipeline] echo [2021-02-23T23:43:02.252Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:43:04.199Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-23T23:43:04.214Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-23T23:43:04.308Z] $ docker stop --time=1 4a1519e3b79e1dcfab39fe609a18fa9bc893f2858c0642e60fd4e1cb5f700c75 [2021-02-23T23:43:06.649Z] $ docker rm -f 4a1519e3b79e1dcfab39fe609a18fa9bc893f2858c0642e60fd4e1cb5f700c75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:43:07.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:43:07.798Z] . [Pipeline] withDockerContainer [2021-02-23T23:43:08.486Z] prd-centos7-docker-4c-2g-27410 does not seem to be running inside a container [2021-02-23T23:43:08.802Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T23:43:11.101Z] $ docker top 04d42b42ca8f9c1c773fc9b451570f2034645829f8c5b6d07e085c01a5a1c6d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T23:43:11.463Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T23:43:11.463Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T23:43:12.577Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T23:43:12.586Z] $ docker exec 04d42b42ca8f9c1c773fc9b451570f2034645829f8c5b6d07e085c01a5a1c6d7 ssh-agent [2021-02-23T23:43:14.278Z] SSH_AUTH_SOCK=/tmp/ssh-44gg6ZUQIAvO/agent.11 [2021-02-23T23:43:14.278Z] SSH_AGENT_PID=16 [2021-02-23T23:43:14.298Z] Running ssh-add (command line suppressed) [2021-02-23T23:43:15.182Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2737199144862182951.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2737199144862182951.key) [2021-02-23T23:43:15.256Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T23:43:16.958Z] + git semver bump pre [2021-02-23T23:43:16.958Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T23:43:16.958Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-23T23:43:16.958Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-23T23:43:16.958Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T23:43:16.958Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T23:43:16.958Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T23:43:16.958Z] # $SEMVER_BRANCH = master [2021-02-23T23:43:16.958Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2021-02-23T23:43:16.958Z] 2.0.0-dev.17 [Pipeline] } [2021-02-23T23:43:16.984Z] $ docker exec --env ******** --env ******** 04d42b42ca8f9c1c773fc9b451570f2034645829f8c5b6d07e085c01a5a1c6d7 ssh-agent -k [2021-02-23T23:43:17.891Z] unset SSH_AUTH_SOCK; [2021-02-23T23:43:17.891Z] unset SSH_AGENT_PID; [2021-02-23T23:43:17.891Z] echo Agent pid 16 killed; [2021-02-23T23:43:18.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T23:43:19.821Z] + git semver [Pipeline] } [2021-02-23T23:43:19.840Z] $ docker stop --time=1 04d42b42ca8f9c1c773fc9b451570f2034645829f8c5b6d07e085c01a5a1c6d7 [2021-02-23T23:43:21.482Z] $ docker rm -f 04d42b42ca8f9c1c773fc9b451570f2034645829f8c5b6d07e085c01a5a1c6d7 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:43:22.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-23T23:43:22.976Z] . [Pipeline] withDockerContainer [2021-02-23T23:43:24.692Z] prd-centos7-docker-4c-2g-27410 does not seem to be running inside a container [2021-02-23T23:43:25.009Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-23T23:43:27.410Z] $ docker top 2f693766c3621b45544a76628217ddf656566d1c60fced6e25e3febf2de8a833 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-23T23:43:28.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-23T23:43:28.280Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-23T23:43:30.301Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-23T23:43:30.303Z] $ docker exec 2f693766c3621b45544a76628217ddf656566d1c60fced6e25e3febf2de8a833 ssh-agent [2021-02-23T23:43:32.457Z] SSH_AUTH_SOCK=/tmp/ssh-xRERYB1RpbAd/agent.11 [2021-02-23T23:43:32.457Z] SSH_AGENT_PID=17 [2021-02-23T23:43:32.570Z] Running ssh-add (command line suppressed) [2021-02-23T23:43:33.565Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8774802397606794215.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8774802397606794215.key) [2021-02-23T23:43:34.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-23T23:43:34.753Z] + git semver push [2021-02-23T23:43:34.754Z] # -> Open(): unable to determine branch for HEAD [2021-02-23T23:43:34.754Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2021-02-23T23:43:34.754Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2021-02-23T23:43:34.754Z] # $SEMVER_REMOTE_NAME = origin [2021-02-23T23:43:34.754Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-23T23:43:34.754Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-23T23:43:34.754Z] # $SEMVER_BRANCH = master [2021-02-23T23:43:34.754Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2021-02-23T23:43:45.433Z] $ docker exec --env ******** --env ******** 2f693766c3621b45544a76628217ddf656566d1c60fced6e25e3febf2de8a833 ssh-agent -k [2021-02-23T23:43:46.905Z] unset SSH_AUTH_SOCK; [2021-02-23T23:43:46.905Z] unset SSH_AGENT_PID; [2021-02-23T23:43:46.905Z] echo Agent pid 17 killed; [2021-02-23T23:43:47.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-23T23:43:49.508Z] + git semver [Pipeline] } [2021-02-23T23:43:49.561Z] $ docker stop --time=1 2f693766c3621b45544a76628217ddf656566d1c60fced6e25e3febf2de8a833 [2021-02-23T23:43:52.373Z] $ docker rm -f 2f693766c3621b45544a76628217ddf656566d1c60fced6e25e3febf2de8a833 [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-02-23T23:43:54.576Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:43:56.026Z] ---> package-listing.sh [2021-02-23T23:43:56.026Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-23T23:43:56.026Z] ++ facter osfamily [2021-02-23T23:43:56.326Z] + OS_FAMILY=redhat [2021-02-23T23:43:56.326Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2021-02-23T23:43:56.326Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-23T23:43:56.326Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-23T23:43:56.326Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-23T23:43:56.326Z] + PACKAGES=/tmp/packages_start.txt [2021-02-23T23:43:56.326Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-02-23T23:43:56.326Z] + PACKAGES=/tmp/packages_end.txt [2021-02-23T23:43:56.326Z] + case "${OS_FAMILY}" in [2021-02-23T23:43:56.326Z] + rpm -qa [2021-02-23T23:43:56.326Z] + sort [2021-02-23T23:44:09.358Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-23T23:44:09.358Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-23T23:44:09.358Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-23T23:44:09.358Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2021-02-23T23:44:09.358Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2021-02-23T23:44:09.358Z] + 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-02-23T23:44:09.377Z] 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-02-23T23:44:09.786Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:44:11.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T23:44:11.374Z] [2021-02-23T23:44:11.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-23T23:44:12.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T23:44:12.309Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-23T23:44:12.309Z] df20fa9351a1: Pulling fs layer [2021-02-23T23:44:12.309Z] 36b3adc4ff6f: Pulling fs layer [2021-02-23T23:44:12.309Z] 8ad3a11d3b57: Pulling fs layer [2021-02-23T23:44:12.309Z] 46f8f816bc3b: Pulling fs layer [2021-02-23T23:44:12.309Z] 93b61091891f: Pulling fs layer [2021-02-23T23:44:12.309Z] 93b9cdb0e59b: Pulling fs layer [2021-02-23T23:44:12.309Z] 5e14af77c1be: Pulling fs layer [2021-02-23T23:44:12.309Z] 01666e4c0597: Pulling fs layer [2021-02-23T23:44:12.309Z] aa168da1d23b: Pulling fs layer [2021-02-23T23:44:12.309Z] 93b9cdb0e59b: Waiting [2021-02-23T23:44:12.309Z] 5e14af77c1be: Waiting [2021-02-23T23:44:12.309Z] 01666e4c0597: Waiting [2021-02-23T23:44:12.309Z] 46f8f816bc3b: Waiting [2021-02-23T23:44:12.309Z] aa168da1d23b: Waiting [2021-02-23T23:44:12.309Z] 93b61091891f: Waiting [2021-02-23T23:44:12.652Z] 36b3adc4ff6f: Verifying Checksum [2021-02-23T23:44:12.652Z] 36b3adc4ff6f: Download complete [2021-02-23T23:44:12.652Z] 46f8f816bc3b: Verifying Checksum [2021-02-23T23:44:12.652Z] 46f8f816bc3b: Download complete [2021-02-23T23:44:12.652Z] df20fa9351a1: Verifying Checksum [2021-02-23T23:44:12.652Z] df20fa9351a1: Download complete [2021-02-23T23:44:12.652Z] 93b9cdb0e59b: Verifying Checksum [2021-02-23T23:44:12.652Z] 93b9cdb0e59b: Download complete [2021-02-23T23:44:13.139Z] 5e14af77c1be: Verifying Checksum [2021-02-23T23:44:13.139Z] 5e14af77c1be: Download complete [2021-02-23T23:44:13.139Z] 01666e4c0597: Verifying Checksum [2021-02-23T23:44:13.139Z] 01666e4c0597: Download complete [2021-02-23T23:44:13.413Z] 93b61091891f: Verifying Checksum [2021-02-23T23:44:13.413Z] 93b61091891f: Download complete [2021-02-23T23:44:14.077Z] df20fa9351a1: Pull complete [2021-02-23T23:44:14.353Z] 8ad3a11d3b57: Verifying Checksum [2021-02-23T23:44:14.353Z] 8ad3a11d3b57: Download complete [2021-02-23T23:44:15.225Z] 36b3adc4ff6f: Pull complete [2021-02-23T23:44:19.429Z] 8ad3a11d3b57: Pull complete [2021-02-23T23:44:19.733Z] 46f8f816bc3b: Pull complete [2021-02-23T23:44:22.300Z] 93b61091891f: Pull complete [2021-02-23T23:44:22.666Z] 93b9cdb0e59b: Pull complete [2021-02-23T23:44:23.630Z] 5e14af77c1be: Pull complete [2021-02-23T23:44:24.469Z] 01666e4c0597: Pull complete [2021-02-23T23:44:25.485Z] aa168da1d23b: Verifying Checksum [2021-02-23T23:44:25.485Z] aa168da1d23b: Download complete [2021-02-23T23:44:41.690Z] aa168da1d23b: Pull complete [2021-02-23T23:44:41.690Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-23T23:44:41.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-23T23:44:41.690Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-23T23:44:42.897Z] prd-centos7-docker-4c-2g-27410 does not seem to be running inside a container [2021-02-23T23:44:43.110Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-23T23:44:46.700Z] $ docker top 95845d9d88edd6f391add554d6a401dc5e12d89c7f7b838ede64af8a2f7ac305 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-23T23:44:48.384Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-23T23:44:49.175Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-23T23:44:51.568Z] + ls /var/log/sa-host [2021-02-23T23:44:51.568Z] + sadf -c /var/log/sa-host/sa23 [2021-02-23T23:44:51.568Z] file_magic: OK [2021-02-23T23:44:51.568Z] HZ: Using current value: 100 [2021-02-23T23:44:51.568Z] file_header: OK [2021-02-23T23:44:51.568Z] 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-02-23T23:44:51.568Z] Statistics: [2021-02-23T23:44:51.568Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-23T23:44:51.568Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-23T23:44:51.770Z] provisioning config files... [2021-02-23T23:44:51.810Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config9222073529768596305tmp [Pipeline] { [Pipeline] echo [2021-02-23T23:44:51.905Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:44:53.667Z] ---> create-netrc.sh [Pipeline] } [2021-02-23T23:44:53.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-23T23:44:53.779Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:44:55.684Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-23T23:44:55.767Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:44:56.659Z] ---> sudo-logs.sh [2021-02-23T23:44:56.659Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-02-23T23:44:56.795Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:44:58.033Z] ---> job-cost.sh [2021-02-23T23:44:58.311Z] lf-activate-venv: SKIPPING [2021-02-23T23:44:58.311Z] DEBUG: total: 0.029999999329447746 [2021-02-23T23:44:58.311Z] INFO: Retrieving Stack Cost... [2021-02-23T23:44:59.365Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-23T23:45:00.408Z] INFO: Archiving Costs [Pipeline] echo [2021-02-23T23:45:00.426Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-23T23:45:02.323Z] ---> logs-deploy.sh [2021-02-23T23:45:02.323Z] lf-activate-venv: SKIPPING [2021-02-23T23:45:02.323Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/121 [2021-02-23T23:45:02.323Z] INFO: archiving workspace using pattern(s): [2021-02-23T23:45:05.299Z] Archives upload complete. [2021-02-23T23:45:05.594Z] INFO: archiving logs to Nexus