Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3d8962a40545ef0adb8ef75e097226374dd52980 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Running on prd-centos7-docker-4c-2g-13528 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 3d8962a40545ef0adb8ef75e097226374dd52980 (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 3d8962a40545ef0adb8ef75e097226374dd52980 # timeout=10 Commit message: "Merge pull request #584 from edgexfoundry/dependabot/go_modules/github.com/gorilla/mux-1.8.0" > git rev-list --no-walk cf9e8dc7bd919f9915f3ed3b96261970003b233d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-26T07:42:42.218Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-26T07:42:42.445Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-26T07:42:42.540Z] ========================================================= [2020-11-26T07:42:42.540Z] EdgeX Global Pipelines Version Info [2020-11-26T07:42:42.540Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:42:44.523Z] ------------------- [2020-11-26T07:42:44.523Z] stable info: [2020-11-26T07:42:44.523Z] ------------------- [2020-11-26T07:42:44.523Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-26T07:42:44.523Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-26T07:42:44.523Z] Message: update stable to v1.0.167 [2020-11-26T07:42:45.101Z] ------------------- [2020-11-26T07:42:45.101Z] experimental info: [2020-11-26T07:42:45.101Z] ------------------- [2020-11-26T07:42:45.101Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-26T07:42:45.101Z] Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a [2020-11-26T07:42:45.101Z] Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-26T07:42:45.483Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2020-11-26T07:42:45.585Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2020-11-26T07:42:45.704Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-26T07:42:45.804Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-26T07:42:45.918Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-26T07:42:46.040Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-26T07:42:46.162Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-26T07:42:46.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-26T07:42:46.417Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2020-11-26T07:42:46.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-26T07:42:46.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-26T07:42:46.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2020-11-26T07:42:46.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-26T07:42:46.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-26T07:42:46.977Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-26T07:42:47.068Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T07:42:47.166Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T07:42:47.258Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-26T07:42:47.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-26T07:42:47.489Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2020-11-26T07:42:47.592Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2020-11-26T07:42:47.695Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2020-11-26T07:42:47.779Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-26T07:42:47.866Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-26T07:42:47.961Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-26T07:42:48.122Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-26T07:42:48.209Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-11-26T07:42:48.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-11-26T07:42:48.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-11-26T07:42:48.533Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3d8962a40545ef0adb8ef75e097226374dd52980 [Pipeline] echo [2020-11-26T07:42:48.677Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3d8962a [Pipeline] echo [2020-11-26T07:42:48.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T07:42:48.992Z] provisioning config files... [2020-11-26T07:42:49.035Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config8484435055012715840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:42:49.443Z] ---> docker-login.sh [2020-11-26T07:42:49.443Z] nexus3.edgexfoundry.org:10001 [2020-11-26T07:42:49.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:42:49.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:42:49.707Z] Configure a credential helper to remove this warning. See [2020-11-26T07:42:49.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:42:49.707Z] [2020-11-26T07:42:49.707Z] Login Succeeded [2020-11-26T07:42:49.707Z] nexus3.edgexfoundry.org:10002 [2020-11-26T07:42:49.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:42:49.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:42:49.971Z] Configure a credential helper to remove this warning. See [2020-11-26T07:42:49.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:42:49.971Z] [2020-11-26T07:42:49.971Z] Login Succeeded [2020-11-26T07:42:49.971Z] nexus3.edgexfoundry.org:10003 [2020-11-26T07:42:50.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:42:50.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:42:50.233Z] Configure a credential helper to remove this warning. See [2020-11-26T07:42:50.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:42:50.233Z] [2020-11-26T07:42:50.233Z] Login Succeeded [2020-11-26T07:42:50.233Z] nexus3.edgexfoundry.org:10004 [2020-11-26T07:42:50.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:42:50.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:42:50.496Z] Configure a credential helper to remove this warning. See [2020-11-26T07:42:50.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:42:50.496Z] [2020-11-26T07:42:50.496Z] Login Succeeded [2020-11-26T07:42:50.496Z] docker.io [2020-11-26T07:42:50.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:42:50.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:42:50.763Z] Configure a credential helper to remove this warning. See [2020-11-26T07:42:50.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:42:50.763Z] [2020-11-26T07:42:50.763Z] Login Succeeded [2020-11-26T07:42:50.763Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T07:42:50.778Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T07:42:51.638Z] + git log --format=format:%s -1 3d8962a40545ef0adb8ef75e097226374dd52980 [Pipeline] echo [2020-11-26T07:42:51.709Z] GIT_COMMIT: 3d8962a40545ef0adb8ef75e097226374dd52980, Commit Message: Merge pull request #584 from edgexfoundry/dependabot/go_modules/github.com/gorilla/mux-1.8.0 [Pipeline] echo [2020-11-26T07:42:51.777Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:42:52.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:42:52.954Z] [2020-11-26T07:42:52.954Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:42:53.308Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:42:53.308Z] latest: Pulling from edgex-devops/git-semver [2020-11-26T07:42:53.308Z] 31603596830f: Pulling fs layer [2020-11-26T07:42:53.308Z] 2a8b12db71e7: Pulling fs layer [2020-11-26T07:42:53.308Z] 6ca5941a6612: Pulling fs layer [2020-11-26T07:42:53.308Z] ecc8261a40a4: Pulling fs layer [2020-11-26T07:42:53.308Z] ecc8261a40a4: Waiting [2020-11-26T07:42:53.308Z] 2a8b12db71e7: Verifying Checksum [2020-11-26T07:42:53.308Z] 2a8b12db71e7: Download complete [2020-11-26T07:42:53.308Z] 31603596830f: Download complete [2020-11-26T07:42:53.576Z] ecc8261a40a4: Verifying Checksum [2020-11-26T07:42:53.576Z] ecc8261a40a4: Download complete [2020-11-26T07:42:53.576Z] 6ca5941a6612: Verifying Checksum [2020-11-26T07:42:53.576Z] 6ca5941a6612: Download complete [2020-11-26T07:42:53.839Z] 31603596830f: Pull complete [2020-11-26T07:42:54.103Z] 2a8b12db71e7: Pull complete [2020-11-26T07:42:54.677Z] 6ca5941a6612: Pull complete [2020-11-26T07:42:55.262Z] ecc8261a40a4: Pull complete [2020-11-26T07:42:55.262Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-26T07:42:55.262Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:42:55.262Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-26T07:42:55.392Z] prd-centos7-docker-4c-2g-13528 does not seem to be running inside a container [2020-11-26T07:42:55.458Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T07:42:57.680Z] $ docker top bafc7f2978733a3094665b0006d59bce09a68c6a7e2fdfbcfc4f4cc38ab55402 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T07:42:58.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T07:42:58.018Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T07:42:58.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T07:42:58.284Z] $ docker exec bafc7f2978733a3094665b0006d59bce09a68c6a7e2fdfbcfc4f4cc38ab55402 ssh-agent [2020-11-26T07:42:58.494Z] SSH_AUTH_SOCK=/tmp/ssh-v9ASl8jsE9IS/agent.12 [2020-11-26T07:42:58.494Z] SSH_AGENT_PID=18 [2020-11-26T07:42:58.507Z] Running ssh-add (command line suppressed) [2020-11-26T07:42:58.645Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7342817281760203337.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7342817281760203337.key) [2020-11-26T07:42:58.707Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T07:42:59.082Z] + git tag --points-at HEAD [Pipeline] } [2020-11-26T07:42:59.109Z] $ docker exec --env ******** --env ******** bafc7f2978733a3094665b0006d59bce09a68c6a7e2fdfbcfc4f4cc38ab55402 ssh-agent -k [2020-11-26T07:42:59.238Z] unset SSH_AUTH_SOCK; [2020-11-26T07:42:59.238Z] unset SSH_AGENT_PID; [2020-11-26T07:42:59.238Z] echo Agent pid 18 killed; [2020-11-26T07:42:59.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-26T07:42:59.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T07:42:59.443Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T07:42:59.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T07:42:59.634Z] $ docker exec bafc7f2978733a3094665b0006d59bce09a68c6a7e2fdfbcfc4f4cc38ab55402 ssh-agent [2020-11-26T07:42:59.806Z] SSH_AUTH_SOCK=/tmp/ssh-RAJJJabn7tFZ/agent.49 [2020-11-26T07:42:59.806Z] SSH_AGENT_PID=55 [2020-11-26T07:42:59.814Z] Running ssh-add (command line suppressed) [2020-11-26T07:42:59.941Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5614732556292409715.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5614732556292409715.key) [2020-11-26T07:42:59.995Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T07:43:00.337Z] + git semver init [2020-11-26T07:43:00.337Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T07:43:00.337Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T07:43:00.337Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T07:43:00.337Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T07:43:00.337Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T07:43:00.337Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T07:43:00.337Z] # $SEMVER_BRANCH = master [2020-11-26T07:43:00.337Z] # $SEMVER_TEMP = /tmp/semver-630623922 [2020-11-26T07:43:00.337Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2020-11-26T07:43:00.924Z] # '/tmp/semver-630623922' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' [2020-11-26T07:43:00.924Z] # -> Force: false [2020-11-26T07:43:00.924Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-11-26T07:43:00.941Z] $ docker exec --env ******** --env ******** bafc7f2978733a3094665b0006d59bce09a68c6a7e2fdfbcfc4f4cc38ab55402 ssh-agent -k [2020-11-26T07:43:01.057Z] unset SSH_AUTH_SOCK; [2020-11-26T07:43:01.058Z] unset SSH_AGENT_PID; [2020-11-26T07:43:01.058Z] echo Agent pid 55 killed; [2020-11-26T07:43:01.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T07:43:01.648Z] + git semver [Pipeline] } [2020-11-26T07:43:01.670Z] $ docker stop --time=1 bafc7f2978733a3094665b0006d59bce09a68c6a7e2fdfbcfc4f4cc38ab55402 [2020-11-26T07:43:03.141Z] $ docker rm -f bafc7f2978733a3094665b0006d59bce09a68c6a7e2fdfbcfc4f4cc38ab55402 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T07:43:03.620Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-26T07:43:04.060Z] Stashed 1 file(s) [Pipeline] echo [2020-11-26T07:43:04.062Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.3 [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 [2020-11-26T07:43:19.651Z] Still waiting to schedule task [2020-11-26T07:43:19.651Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-11-26T07:43:19.656Z] Still waiting to schedule task [2020-11-26T07:43:19.656Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2020-11-26T07:45:28.886Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13530 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-11-26T07:45:28.995Z] Running in /w/workspace/device-sdk-go/90 [Pipeline] { [Pipeline] checkout [2020-11-26T07:45:33.854Z] using credential edgex-jenkins-ssh [2020-11-26T07:45:33.918Z] Cloning the remote Git repository [2020-11-26T07:45:33.978Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:45:34.093Z] > git init /w/workspace/device-sdk-go/90 # timeout=10 [2020-11-26T07:45:34.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:45:34.176Z] > git --version # timeout=10 [2020-11-26T07:45:34.202Z] > git --version # 'git version 2.17.1' [2020-11-26T07:45:34.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T07:45:34.267Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T07:45:35.965Z] Checking out Revision 3d8962a40545ef0adb8ef75e097226374dd52980 (master) [2020-11-26T07:45:35.381Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T07:45:35.404Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T07:45:35.441Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T07:45:35.479Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:45:35.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T07:45:35.505Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-26T07:45:35.978Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T07:45:36.005Z] > git checkout -f 3d8962a40545ef0adb8ef75e097226374dd52980 # timeout=10 [2020-11-26T07:45:40.415Z] Commit message: "Merge pull request #584 from edgexfoundry/dependabot/go_modules/github.com/gorilla/mux-1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T07:45:42.099Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-26T07:45:42.535Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-26T07:45:42.889Z] + sudo service docker restart [2020-11-26T07:45:42.889Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T07:45:45.609Z] provisioning config files... [2020-11-26T07:45:45.693Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/90@tmp/config3413165248781334435tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:45:46.147Z] ---> docker-login.sh [2020-11-26T07:45:46.147Z] nexus3.edgexfoundry.org:10001 [2020-11-26T07:45:47.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:45:47.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:45:47.405Z] Configure a credential helper to remove this warning. See [2020-11-26T07:45:47.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:45:47.405Z] [2020-11-26T07:45:47.405Z] Login Succeeded [2020-11-26T07:45:47.405Z] nexus3.edgexfoundry.org:10002 [2020-11-26T07:45:47.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:45:47.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:45:47.960Z] Configure a credential helper to remove this warning. See [2020-11-26T07:45:47.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:45:47.960Z] [2020-11-26T07:45:47.960Z] Login Succeeded [2020-11-26T07:45:47.960Z] nexus3.edgexfoundry.org:10003 [2020-11-26T07:45:48.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:45:48.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:45:48.517Z] Configure a credential helper to remove this warning. See [2020-11-26T07:45:48.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:45:48.517Z] [2020-11-26T07:45:48.517Z] Login Succeeded [2020-11-26T07:45:48.517Z] nexus3.edgexfoundry.org:10004 [2020-11-26T07:45:48.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:45:48.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:45:48.790Z] Configure a credential helper to remove this warning. See [2020-11-26T07:45:48.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:45:48.790Z] [2020-11-26T07:45:48.790Z] Login Succeeded [2020-11-26T07:45:49.066Z] docker.io [2020-11-26T07:45:49.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:45:49.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:45:49.614Z] Configure a credential helper to remove this warning. See [2020-11-26T07:45:49.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:45:49.614Z] [2020-11-26T07:45:49.614Z] Login Succeeded [2020-11-26T07:45:49.614Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T07:45:49.633Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-26T07:45:50.288Z] ========================================================= [2020-11-26T07:45:50.288Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-26T07:45:50.288Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:45:50.682Z] + 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 . [2020-11-26T07:45:51.291Z] Sending build context to Docker daemon 2.344MB [2020-11-26T07:45:51.291Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-26T07:45:51.291Z] Step 2/8 : FROM ${BASE} [2020-11-26T07:45:51.291Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-26T07:45:51.291Z] b538f80385f9: Pulling fs layer [2020-11-26T07:45:51.291Z] 74f711af9a0d: Pulling fs layer [2020-11-26T07:45:51.291Z] 99f96fe45779: Pulling fs layer [2020-11-26T07:45:51.291Z] 8529a6b9a6be: Pulling fs layer [2020-11-26T07:45:51.291Z] 45590311c82a: Pulling fs layer [2020-11-26T07:45:51.291Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-26T07:45:51.291Z] 209524e5b208: Pulling fs layer [2020-11-26T07:45:51.291Z] 45590311c82a: Waiting [2020-11-26T07:45:51.291Z] 69ca0ff8b7b3: Waiting [2020-11-26T07:45:51.291Z] 8529a6b9a6be: Waiting [2020-11-26T07:45:51.291Z] 209524e5b208: Waiting [2020-11-26T07:45:51.291Z] 99f96fe45779: Verifying Checksum [2020-11-26T07:45:51.291Z] 99f96fe45779: Download complete [2020-11-26T07:45:51.291Z] 74f711af9a0d: Download complete [2020-11-26T07:45:51.291Z] 45590311c82a: Verifying Checksum [2020-11-26T07:45:51.291Z] 45590311c82a: Download complete [2020-11-26T07:45:51.565Z] 69ca0ff8b7b3: Download complete [2020-11-26T07:45:51.840Z] b538f80385f9: Verifying Checksum [2020-11-26T07:45:51.840Z] b538f80385f9: Download complete [2020-11-26T07:45:52.444Z] b538f80385f9: Pull complete [2020-11-26T07:45:53.048Z] 74f711af9a0d: Pull complete [2020-11-26T07:45:53.325Z] 99f96fe45779: Pull complete [2020-11-26T07:45:53.929Z] 209524e5b208: Verifying Checksum [2020-11-26T07:45:53.930Z] 209524e5b208: Download complete [2020-11-26T07:45:55.368Z] 8529a6b9a6be: Verifying Checksum [2020-11-26T07:45:55.368Z] 8529a6b9a6be: Download complete [2020-11-26T07:46:05.557Z] 8529a6b9a6be: Pull complete [2020-11-26T07:46:05.557Z] 45590311c82a: Pull complete [2020-11-26T07:46:05.829Z] 69ca0ff8b7b3: Pull complete [2020-11-26T07:46:10.154Z] 209524e5b208: Pull complete [2020-11-26T07:46:10.154Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-26T07:46:10.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-26T07:46:10.154Z] ---> 5bddaf1c2fca [2020-11-26T07:46:10.154Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:46:12.799Z] ---> Running in 2c9295de1554 [2020-11-26T07:46:12.799Z] Removing intermediate container 2c9295de1554 [2020-11-26T07:46:12.799Z] ---> 29ab32994eac [2020-11-26T07:46:12.799Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T07:46:13.072Z] ---> Running in bf713fbc576c [2020-11-26T07:46:15.696Z] Removing intermediate container bf713fbc576c [2020-11-26T07:46:15.696Z] ---> 2513be1232f1 [2020-11-26T07:46:15.696Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-26T07:46:15.696Z] ---> Running in 8b7919dec4ae [2020-11-26T07:46:16.677Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-26T07:46:17.275Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-26T07:46:17.870Z] OK: 142 MiB in 39 packages [2020-11-26T07:46:19.325Z] Removing intermediate container 8b7919dec4ae [2020-11-26T07:46:19.325Z] ---> 71c0f18e3d67 [2020-11-26T07:46:19.325Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-26T07:46:19.325Z] ---> Running in bc3cbc2baec3 [2020-11-26T07:46:19.921Z] Removing intermediate container bc3cbc2baec3 [2020-11-26T07:46:19.921Z] ---> 9ccf3be6c813 [2020-11-26T07:46:19.921Z] Step 7/8 : COPY . . [2020-11-26T07:46:20.906Z] ---> 6177a66aee8e [2020-11-26T07:46:20.906Z] Step 8/8 : RUN go mod download [2020-11-26T07:46:21.180Z] ---> Running in e5c8405a4389 [2020-11-26T07:48:38.532Z] Running on prd-centos7-docker-4c-2g-13534 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws [2020-11-26T07:48:38.593Z] Running in /w/workspace/device-sdk-go/90 [Pipeline] { [Pipeline] checkout [2020-11-26T07:48:41.357Z] using credential edgex-jenkins-ssh [2020-11-26T07:48:41.427Z] Cloning the remote Git repository [2020-11-26T07:48:41.097Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:48:41.194Z] > git init /w/workspace/device-sdk-go/90 # timeout=10 [2020-11-26T07:48:41.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:48:41.266Z] > git --version # timeout=10 [2020-11-26T07:48:41.279Z] > git --version # 'git version 2.24.3' [2020-11-26T07:48:41.280Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T07:48:41.325Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T07:48:42.914Z] Checking out Revision 3d8962a40545ef0adb8ef75e097226374dd52980 (master) [2020-11-26T07:48:42.140Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T07:48:42.147Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-26T07:48:42.163Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2020-11-26T07:48:42.182Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2020-11-26T07:48:42.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-26T07:48:42.189Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-11-26T07:48:42.684Z] > git config core.sparsecheckout # timeout=10 [2020-11-26T07:48:42.692Z] > git checkout -f 3d8962a40545ef0adb8ef75e097226374dd52980 # timeout=10 [2020-11-26T07:48:46.470Z] Commit message: "Merge pull request #584 from edgexfoundry/dependabot/go_modules/github.com/gorilla/mux-1.8.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T07:48:47.760Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-26T07:48:48.095Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-26T07:48:48.397Z] + sudo service docker restart [2020-11-26T07:48:48.398Z] + true [2020-11-26T07:48:48.398Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-26T07:48:49.852Z] provisioning config files... [2020-11-26T07:48:49.884Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/90@tmp/config493124400442289243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:48:50.265Z] ---> docker-login.sh [2020-11-26T07:48:50.265Z] nexus3.edgexfoundry.org:10001 [2020-11-26T07:48:50.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:48:50.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:48:50.526Z] Configure a credential helper to remove this warning. See [2020-11-26T07:48:50.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:48:50.526Z] [2020-11-26T07:48:50.526Z] Login Succeeded [2020-11-26T07:48:50.526Z] nexus3.edgexfoundry.org:10002 [2020-11-26T07:48:50.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:48:50.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:48:50.791Z] Configure a credential helper to remove this warning. See [2020-11-26T07:48:50.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:48:50.791Z] [2020-11-26T07:48:50.791Z] Login Succeeded [2020-11-26T07:48:50.791Z] nexus3.edgexfoundry.org:10003 [2020-11-26T07:48:51.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:48:51.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:48:51.056Z] Configure a credential helper to remove this warning. See [2020-11-26T07:48:51.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:48:51.056Z] [2020-11-26T07:48:51.056Z] Login Succeeded [2020-11-26T07:48:51.056Z] nexus3.edgexfoundry.org:10004 [2020-11-26T07:48:51.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:48:51.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:48:51.332Z] Configure a credential helper to remove this warning. See [2020-11-26T07:48:51.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:48:51.332Z] [2020-11-26T07:48:51.332Z] Login Succeeded [2020-11-26T07:48:51.332Z] docker.io [2020-11-26T07:48:51.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-26T07:48:51.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-26T07:48:51.595Z] Configure a credential helper to remove this warning. See [2020-11-26T07:48:51.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-26T07:48:51.595Z] [2020-11-26T07:48:51.595Z] Login Succeeded [2020-11-26T07:48:51.595Z] ---> docker-login.sh ends [Pipeline] } [2020-11-26T07:48:51.607Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-26T07:48:51.918Z] ========================================================= [2020-11-26T07:48:51.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-26T07:48:51.918Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:48:52.260Z] + 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 . [2020-11-26T07:48:52.260Z] Sending build context to Docker daemon 2.348MB [2020-11-26T07:48:52.260Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-26T07:48:52.260Z] Step 2/8 : FROM ${BASE} [2020-11-26T07:48:52.539Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-26T07:48:52.539Z] df20fa9351a1: Pulling fs layer [2020-11-26T07:48:52.539Z] ed8968b2872e: Pulling fs layer [2020-11-26T07:48:52.539Z] a92cc7c5fd73: Pulling fs layer [2020-11-26T07:48:52.539Z] e871e8e8d7a9: Pulling fs layer [2020-11-26T07:48:52.539Z] e73272ec9a57: Pulling fs layer [2020-11-26T07:48:52.539Z] 1e910a182e73: Pulling fs layer [2020-11-26T07:48:52.539Z] 4e634b169226: Pulling fs layer [2020-11-26T07:48:52.539Z] e73272ec9a57: Waiting [2020-11-26T07:48:52.539Z] 1e910a182e73: Waiting [2020-11-26T07:48:52.539Z] 4e634b169226: Waiting [2020-11-26T07:48:52.539Z] e871e8e8d7a9: Waiting [2020-11-26T07:48:52.539Z] a92cc7c5fd73: Verifying Checksum [2020-11-26T07:48:52.539Z] a92cc7c5fd73: Download complete [2020-11-26T07:48:52.539Z] ed8968b2872e: Download complete [2020-11-26T07:48:52.539Z] e73272ec9a57: Verifying Checksum [2020-11-26T07:48:52.539Z] e73272ec9a57: Download complete [2020-11-26T07:48:52.539Z] 1e910a182e73: Verifying Checksum [2020-11-26T07:48:52.539Z] 1e910a182e73: Download complete [2020-11-26T07:48:52.539Z] df20fa9351a1: Verifying Checksum [2020-11-26T07:48:52.539Z] df20fa9351a1: Download complete [2020-11-26T07:48:52.804Z] df20fa9351a1: Pull complete [2020-11-26T07:48:53.068Z] ed8968b2872e: Pull complete [2020-11-26T07:48:53.333Z] a92cc7c5fd73: Pull complete [2020-11-26T07:48:54.325Z] 4e634b169226: Verifying Checksum [2020-11-26T07:48:54.325Z] 4e634b169226: Download complete [2020-11-26T07:48:54.927Z] e871e8e8d7a9: Verifying Checksum [2020-11-26T07:48:54.927Z] e871e8e8d7a9: Download complete [2020-11-26T07:49:00.270Z] e871e8e8d7a9: Pull complete [2020-11-26T07:49:00.270Z] e73272ec9a57: Pull complete [2020-11-26T07:49:00.270Z] 1e910a182e73: Pull complete [2020-11-26T07:49:04.552Z] 4e634b169226: Pull complete [2020-11-26T07:49:04.552Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-26T07:49:04.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-26T07:49:04.552Z] ---> f7629b54cfaa [2020-11-26T07:49:04.552Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:49:04.552Z] ---> Running in 9e33b9e6163a [2020-11-26T07:49:04.822Z] Removing intermediate container 9e33b9e6163a [2020-11-26T07:49:04.822Z] ---> 81a0e60f1d8d [2020-11-26T07:49:04.822Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T07:49:04.822Z] ---> Running in 91f81267940b [2020-11-26T07:49:05.773Z] Removing intermediate container 91f81267940b [2020-11-26T07:49:05.773Z] ---> 1a27b2342f25 [2020-11-26T07:49:05.773Z] Step 5/8 : RUN apk add --no-cache make git [2020-11-26T07:49:05.773Z] ---> Running in 3171659338f7 [2020-11-26T07:49:06.726Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-26T07:49:07.301Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-26T07:49:07.876Z] OK: 166 MiB in 39 packages [2020-11-26T07:49:08.139Z] Removing intermediate container 3171659338f7 [2020-11-26T07:49:08.140Z] ---> e1844623ebeb [2020-11-26T07:49:08.140Z] Step 6/8 : WORKDIR /device-sdk-go [2020-11-26T07:49:08.140Z] ---> Running in c55792e4c3db [2020-11-26T07:49:08.403Z] Removing intermediate container c55792e4c3db [2020-11-26T07:49:08.403Z] ---> 4a36ef22e6b3 [2020-11-26T07:49:08.403Z] Step 7/8 : COPY . . [2020-11-26T07:49:09.802Z] ---> 735f921bba17 [2020-11-26T07:49:09.802Z] Step 8/8 : RUN go mod download [2020-11-26T07:49:09.802Z] ---> Running in 7023fd1a6f6d [2020-11-26T07:49:58.144Z] Removing intermediate container e5c8405a4389 [2020-11-26T07:49:58.144Z] ---> 54562b5515a6 [2020-11-26T07:49:58.144Z] Successfully built 54562b5515a6 [2020-11-26T07:49:58.144Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:49:58.489Z] + docker inspect -f . ci-base-image-arm64 [2020-11-26T07:49:58.489Z] . [Pipeline] withDockerContainer [2020-11-26T07:49:58.759Z] prd-ubuntu18.04-docker-arm64-4c-16g-13530 does not seem to be running inside a container [2020-11-26T07:49:58.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/90 -v /w/workspace/device-sdk-go/90:/w/workspace/device-sdk-go/90:rw,z -v /w/workspace/device-sdk-go/90@tmp:/w/workspace/device-sdk-go/90@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-arm64 cat [2020-11-26T07:50:00.296Z] $ docker top 462c30f5b0e333d6b8f62345c8961d7f4931ad9615e928e1122b3d896c961937 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T07:50:01.381Z] + go version [2020-11-26T07:50:01.381Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-26T07:50:01.405Z] $ docker stop --time=1 462c30f5b0e333d6b8f62345c8961d7f4931ad9615e928e1122b3d896c961937 [2020-11-26T07:50:03.308Z] $ docker rm -f 462c30f5b0e333d6b8f62345c8961d7f4931ad9615e928e1122b3d896c961937 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:50:04.452Z] + docker inspect -f . ci-base-image-arm64 [2020-11-26T07:50:04.452Z] . [Pipeline] withDockerContainer [2020-11-26T07:50:04.723Z] prd-ubuntu18.04-docker-arm64-4c-16g-13530 does not seem to be running inside a container [2020-11-26T07:50:04.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/90 -v /w/workspace/device-sdk-go/90:/w/workspace/device-sdk-go/90:rw,z -v /w/workspace/device-sdk-go/90@tmp:/w/workspace/device-sdk-go/90@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-arm64 cat [2020-11-26T07:50:06.266Z] $ docker top dd67c35b00900d05aa4df5fa79f2531666da40d337e9db49c2ec136fe40043d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T07:50:07.273Z] + make test [2020-11-26T07:50:07.273Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-26T07:50:29.466Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-26T07:51:08.506Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-26T07:51:08.506Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-26T07:51:08.506Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-26T07:51:08.506Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.160s coverage: 20.6% of statements [2020-11-26T07:51:11.144Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.232s coverage: 97.1% of statements [2020-11-26T07:51:43.501Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.138s coverage: 9.4% of statements [2020-11-26T07:51:43.501Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.109s coverage: 21.9% of statements [2020-11-26T07:51:43.501Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-26T07:51:43.501Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.628s coverage: 42.5% of statements [2020-11-26T07:51:43.501Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-26T07:51:43.501Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.785s coverage: 68.9% of statements [2020-11-26T07:51:43.501Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-26T07:51:43.501Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-26T07:51:43.501Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-26T07:51:43.501Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-26T07:51:43.501Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.158s coverage: 52.6% of statements [2020-11-26T07:51:43.501Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-26T07:51:43.501Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-26T07:51:43.501Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-26T07:51:43.501Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.849s coverage: 68.9% of statements [2020-11-26T07:51:43.501Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.129s coverage: 4.7% of statements [2020-11-26T07:51:43.501Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-26T07:51:43.501Z] GO111MODULE=on go vet ./... [2020-11-26T07:52:16.214Z] gofmt -l . [2020-11-26T07:52:16.214Z] [ "`gofmt -l .`" = "" ] [2020-11-26T07:52:16.214Z] ./bin/test-attribution-txt.sh [2020-11-26T07:52:16.214Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-26T07:52:16.234Z] $ docker stop --time=1 dd67c35b00900d05aa4df5fa79f2531666da40d337e9db49c2ec136fe40043d5 [2020-11-26T07:52:18.426Z] $ docker rm -f dd67c35b00900d05aa4df5fa79f2531666da40d337e9db49c2ec136fe40043d5 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T07:52:19.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-26T07:52:20.386Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-26T07:52:21.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-26T07:52:22.063Z] + ls -al . [2020-11-26T07:52:22.064Z] total 244 [2020-11-26T07:52:22.064Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 26 07:52 . [2020-11-26T07:52:22.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:45 .. [2020-11-26T07:52:22.064Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 26 07:45 .dockerignore [2020-11-26T07:52:22.064Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 26 07:45 .git [2020-11-26T07:52:22.064Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:45 .github [2020-11-26T07:52:22.064Z] -rw-rw-r-- 1 jenkins jenkins 138 Nov 26 07:45 .gitignore [2020-11-26T07:52:22.064Z] -rw-rw-r-- 1 jenkins jenkins 936 Nov 26 07:45 Dockerfile.build [2020-11-26T07:52:22.064Z] -rw-rw-r-- 1 jenkins jenkins 901 Nov 26 07:45 Jenkinsfile [2020-11-26T07:52:22.064Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 26 07:45 LICENSE [2020-11-26T07:52:22.064Z] -rw-rw-r-- 1 jenkins jenkins 1013 Nov 26 07:45 Makefile [2020-11-26T07:52:22.064Z] -rw-rw-r-- 1 jenkins jenkins 5897 Nov 26 07:45 README.md [2020-11-26T07:52:22.064Z] -rw-rw-r-- 1 jenkins jenkins 4291 Nov 26 07:45 RELEASE-NOTES.txt [2020-11-26T07:52:22.064Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 26 07:43 VERSION [2020-11-26T07:52:22.064Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 26 07:45 bin [2020-11-26T07:52:22.064Z] -rw-r--r-- 1 jenkins jenkins 127610 Nov 26 07:51 coverage.out [2020-11-26T07:52:22.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:45 example [2020-11-26T07:52:22.064Z] -rw-r--r-- 1 jenkins jenkins 518 Nov 26 07:52 go.mod [2020-11-26T07:52:22.064Z] -rw-r--r-- 1 jenkins jenkins 13631 Nov 26 07:52 go.sum [2020-11-26T07:52:22.064Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 26 07:45 internal [2020-11-26T07:52:22.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:45 openapi [2020-11-26T07:52:22.064Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 26 07:45 pkg [2020-11-26T07:52:22.064Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 26 07:45 snap [2020-11-26T07:52:22.064Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 26 07:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:52:22.427Z] + 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=3d8962a40545ef0adb8ef75e097226374dd52980 --label arch=arm64 --label version=1.3.1-dev.3 . [2020-11-26T07:52:22.703Z] Sending build context to Docker daemon 2.473MB [2020-11-26T07:52:22.703Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-26T07:52:22.703Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-26T07:52:22.703Z] ---> 54562b5515a6 [2020-11-26T07:52:22.703Z] Step 3/24 : ARG MAKE='make build' [2020-11-26T07:52:22.976Z] ---> Running in 5143e48e9bcd [2020-11-26T07:52:23.569Z] Removing intermediate container 5143e48e9bcd [2020-11-26T07:52:23.570Z] ---> 11f9b1e266a9 [2020-11-26T07:52:23.570Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-26T07:52:23.570Z] ---> Running in d751bd925b1c [2020-11-26T07:52:24.171Z] Removing intermediate container d751bd925b1c [2020-11-26T07:52:24.171Z] ---> cb62fea85608 [2020-11-26T07:52:24.171Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:52:24.171Z] ---> Running in 7d8b57ccd074 [2020-11-26T07:52:24.771Z] Removing intermediate container 7d8b57ccd074 [2020-11-26T07:52:24.771Z] ---> 22304f4ab78b [2020-11-26T07:52:24.771Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T07:52:24.771Z] ---> Running in 891edc4f212e [2020-11-26T07:52:27.387Z] Removing intermediate container 891edc4f212e [2020-11-26T07:52:27.387Z] ---> b1fb34adcb0b [2020-11-26T07:52:27.387Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-26T07:52:27.387Z] ---> Running in 5265ac34a80d [2020-11-26T07:52:28.368Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-26T07:52:28.958Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-26T07:52:29.557Z] OK: 142 MiB in 39 packages [2020-11-26T07:52:30.558Z] Removing intermediate container 5265ac34a80d [2020-11-26T07:52:30.558Z] ---> 9398eb7c538a [2020-11-26T07:52:30.558Z] Step 8/24 : COPY . . [2020-11-26T07:52:31.994Z] ---> 14d7176c04d6 [2020-11-26T07:52:31.994Z] Step 9/24 : RUN ${MAKE} [2020-11-26T07:52:32.271Z] ---> Running in cd2475648938 [2020-11-26T07:52:33.251Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-26T07:53:01.107Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-26T07:53:01.107Z] Removing intermediate container cd2475648938 [2020-11-26T07:53:01.107Z] ---> fe93f44436dd [2020-11-26T07:53:01.107Z] Step 10/24 : FROM scratch [2020-11-26T07:53:01.107Z] ---> [2020-11-26T07:53:01.107Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:53:01.107Z] ---> Running in 3c85909fe83c [2020-11-26T07:53:01.378Z] Removing intermediate container 3c85909fe83c [2020-11-26T07:53:01.378Z] ---> 1592a7fa1d20 [2020-11-26T07:53:01.378Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-26T07:53:01.378Z] ---> Running in e6f11506b757 [2020-11-26T07:53:01.970Z] Removing intermediate container e6f11506b757 [2020-11-26T07:53:01.970Z] ---> 9a45161b3c75 [2020-11-26T07:53:01.970Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-26T07:53:01.970Z] ---> Running in d69693803a98 [2020-11-26T07:53:02.244Z] Removing intermediate container d69693803a98 [2020-11-26T07:53:02.244Z] ---> c6936bf505cd [2020-11-26T07:53:02.244Z] Step 14/24 : WORKDIR / [2020-11-26T07:53:02.515Z] ---> Running in 1193b1da9e1b [2020-11-26T07:53:02.797Z] Removing intermediate container 1193b1da9e1b [2020-11-26T07:53:02.797Z] ---> d6ec488e5fc4 [2020-11-26T07:53:02.797Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-26T07:53:03.776Z] ---> 43fc27283c78 [2020-11-26T07:53:03.776Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-26T07:53:04.373Z] ---> 54ec9c14dd5e [2020-11-26T07:53:04.373Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-26T07:53:05.354Z] ---> 082405fee229 [2020-11-26T07:53:05.354Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-26T07:53:05.954Z] ---> f64fac5ab498 [2020-11-26T07:53:05.954Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-26T07:53:06.551Z] ---> effb35a318fe [2020-11-26T07:53:06.551Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-26T07:53:06.829Z] ---> Running in 90c8e1769a8f [2020-11-26T07:53:07.102Z] Removing intermediate container 90c8e1769a8f [2020-11-26T07:53:07.102Z] ---> 1461a2da12f4 [2020-11-26T07:53:07.102Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-26T07:53:07.378Z] ---> Running in 28426eef6629 [2020-11-26T07:53:07.660Z] Removing intermediate container 28426eef6629 [2020-11-26T07:53:07.660Z] ---> 2d3576d9b0fc [2020-11-26T07:53:07.660Z] Step 22/24 : LABEL arch=arm64 [2020-11-26T07:53:07.934Z] ---> Running in 96857908ccbb [2020-11-26T07:53:08.530Z] Removing intermediate container 96857908ccbb [2020-11-26T07:53:08.530Z] ---> a3b4ae92ca7b [2020-11-26T07:53:08.530Z] Step 23/24 : LABEL git_sha=3d8962a40545ef0adb8ef75e097226374dd52980 [2020-11-26T07:53:08.530Z] ---> Running in fa263d89e81b [2020-11-26T07:53:09.129Z] Removing intermediate container fa263d89e81b [2020-11-26T07:53:09.129Z] ---> b61c8a2e9df8 [2020-11-26T07:53:09.129Z] Step 24/24 : LABEL version=1.3.1-dev.3 [2020-11-26T07:53:09.129Z] ---> Running in f8682da3ff31 [2020-11-26T07:53:09.402Z] Removing intermediate container f8682da3ff31 [2020-11-26T07:53:09.402Z] ---> f745be4e02d9 [2020-11-26T07:53:09.402Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-26T07:53:09.673Z] Successfully built f745be4e02d9 [2020-11-26T07:53:09.673Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-26T07:54:31.847Z] Removing intermediate container 7023fd1a6f6d [2020-11-26T07:54:31.848Z] ---> 5220cd7d107f [2020-11-26T07:54:31.848Z] Successfully built 5220cd7d107f [2020-11-26T07:54:31.848Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:54:32.168Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-26T07:54:32.168Z] . [Pipeline] withDockerContainer [2020-11-26T07:54:32.373Z] prd-centos7-docker-4c-2g-13534 does not seem to be running inside a container [2020-11-26T07:54:32.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/90 -v /w/workspace/device-sdk-go/90:/w/workspace/device-sdk-go/90:rw,z -v /w/workspace/device-sdk-go/90@tmp:/w/workspace/device-sdk-go/90@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-x86_64 cat [2020-11-26T07:54:33.462Z] $ docker top 1302acfdecbf6481102fa164115bf6c835b4bb0291f95a48d202ecb50fcd39e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T07:54:33.970Z] + go version [2020-11-26T07:54:33.970Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-26T07:54:33.986Z] $ docker stop --time=1 1302acfdecbf6481102fa164115bf6c835b4bb0291f95a48d202ecb50fcd39e4 [2020-11-26T07:54:35.370Z] $ docker rm -f 1302acfdecbf6481102fa164115bf6c835b4bb0291f95a48d202ecb50fcd39e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:54:36.266Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-26T07:54:36.266Z] . [Pipeline] withDockerContainer [2020-11-26T07:54:36.361Z] prd-centos7-docker-4c-2g-13534 does not seem to be running inside a container [2020-11-26T07:54:36.412Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/90 -v /w/workspace/device-sdk-go/90:/w/workspace/device-sdk-go/90:rw,z -v /w/workspace/device-sdk-go/90@tmp:/w/workspace/device-sdk-go/90@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-x86_64 cat [2020-11-26T07:54:37.066Z] $ docker top 5820f50dc4d4a0b632ba187db3bbb8a14a9a8ee1bcc565a25f3309ff6d1b8dd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T07:54:37.552Z] + make test [2020-11-26T07:54:37.552Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2020-11-26T07:54:45.750Z] ? github.com/edgexfoundry/device-sdk-go [no test files] [2020-11-26T07:55:00.783Z] ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] [2020-11-26T07:55:00.783Z] ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] [2020-11-26T07:55:00.783Z] ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] [2020-11-26T07:55:00.783Z] ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.059s coverage: 20.6% of statements [2020-11-26T07:55:02.215Z] ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.499s coverage: 97.1% of statements [2020-11-26T07:55:34.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.055s coverage: 9.4% of statements [2020-11-26T07:55:34.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/common 0.052s coverage: 21.9% of statements [2020-11-26T07:55:34.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] [2020-11-26T07:55:34.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.932s coverage: 42.5% of statements [2020-11-26T07:55:34.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] [2020-11-26T07:55:34.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.309s coverage: 68.9% of statements [2020-11-26T07:55:34.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] [2020-11-26T07:55:34.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] [2020-11-26T07:55:34.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] [2020-11-26T07:55:34.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] [2020-11-26T07:55:34.406Z] ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.067s coverage: 52.6% of statements [2020-11-26T07:55:34.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] [2020-11-26T07:55:34.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] [2020-11-26T07:55:34.406Z] ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] [2020-11-26T07:55:34.406Z] ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.400s coverage: 68.9% of statements [2020-11-26T07:55:34.406Z] ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.7% of statements [2020-11-26T07:55:34.406Z] ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] [2020-11-26T07:55:34.406Z] GO111MODULE=on go vet ./... [2020-11-26T07:55:42.694Z] gofmt -l . [2020-11-26T07:55:42.694Z] [ "`gofmt -l .`" = "" ] [2020-11-26T07:55:42.694Z] ./bin/test-attribution-txt.sh [2020-11-26T07:55:42.958Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-26T07:55:43.241Z] $ docker stop --time=1 5820f50dc4d4a0b632ba187db3bbb8a14a9a8ee1bcc565a25f3309ff6d1b8dd0 [2020-11-26T07:55:45.178Z] $ docker rm -f 5820f50dc4d4a0b632ba187db3bbb8a14a9a8ee1bcc565a25f3309ff6d1b8dd0 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-26T07:55:45.889Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-26T07:55:45.965Z] Warning: overwriting stash ‘coverage-report’ [2020-11-26T07:55:46.325Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-11-26T07:55:46.994Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-26T07:55:47.302Z] + ls -al . [2020-11-26T07:55:47.303Z] total 208 [2020-11-26T07:55:47.303Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 26 07:55 . [2020-11-26T07:55:47.303Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 26 07:48 .. [2020-11-26T07:55:47.303Z] drwxrwxr-x. 2 jenkins jenkins 64 Nov 26 07:48 bin [2020-11-26T07:55:47.303Z] -rw-r--r--. 1 jenkins jenkins 127610 Nov 26 07:55 coverage.out [2020-11-26T07:55:47.303Z] -rw-rw-r--. 1 jenkins jenkins 936 Nov 26 07:48 Dockerfile.build [2020-11-26T07:55:47.303Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 26 07:48 .dockerignore [2020-11-26T07:55:47.303Z] drwxrwxr-x. 4 jenkins jenkins 48 Nov 26 07:48 example [2020-11-26T07:55:47.303Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 26 07:48 .git [2020-11-26T07:55:47.303Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 26 07:48 .github [2020-11-26T07:55:47.303Z] -rw-rw-r--. 1 jenkins jenkins 138 Nov 26 07:48 .gitignore [2020-11-26T07:55:47.303Z] -rw-r--r--. 1 jenkins jenkins 518 Nov 26 07:55 go.mod [2020-11-26T07:55:47.303Z] -rw-r--r--. 1 jenkins jenkins 13631 Nov 26 07:55 go.sum [2020-11-26T07:55:47.303Z] drwxrwxr-x. 15 jenkins jenkins 211 Nov 26 07:48 internal [2020-11-26T07:55:47.303Z] -rw-rw-r--. 1 jenkins jenkins 901 Nov 26 07:48 Jenkinsfile [2020-11-26T07:55:47.303Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 26 07:48 LICENSE [2020-11-26T07:55:47.303Z] -rw-rw-r--. 1 jenkins jenkins 1013 Nov 26 07:48 Makefile [2020-11-26T07:55:47.303Z] drwxrwxr-x. 4 jenkins jenkins 26 Nov 26 07:48 openapi [2020-11-26T07:55:47.303Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 26 07:48 pkg [2020-11-26T07:55:47.303Z] -rw-rw-r--. 1 jenkins jenkins 5897 Nov 26 07:48 README.md [2020-11-26T07:55:47.303Z] -rw-rw-r--. 1 jenkins jenkins 4291 Nov 26 07:48 RELEASE-NOTES.txt [2020-11-26T07:55:47.303Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 26 07:48 snap [2020-11-26T07:55:47.303Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 26 07:43 VERSION [2020-11-26T07:55:47.303Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 26 07:48 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:55:47.614Z] + 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=3d8962a40545ef0adb8ef75e097226374dd52980 --label arch=amd64 --label version=1.3.1-dev.3 . [2020-11-26T07:55:47.877Z] Sending build context to Docker daemon 2.476MB [2020-11-26T07:55:47.877Z] Step 1/24 : ARG BASE=golang:1.15-alpine [2020-11-26T07:55:47.877Z] Step 2/24 : FROM ${BASE} AS builder [2020-11-26T07:55:47.877Z] ---> 5220cd7d107f [2020-11-26T07:55:47.877Z] Step 3/24 : ARG MAKE='make build' [2020-11-26T07:55:48.454Z] ---> Running in b403fe0ac694 [2020-11-26T07:55:48.454Z] Removing intermediate container b403fe0ac694 [2020-11-26T07:55:48.454Z] ---> d518a9cdce9c [2020-11-26T07:55:48.454Z] Step 4/24 : WORKDIR /device-sdk-go [2020-11-26T07:55:48.718Z] ---> Running in 54abc7125ed2 [2020-11-26T07:55:48.718Z] Removing intermediate container 54abc7125ed2 [2020-11-26T07:55:48.718Z] ---> f869f0334388 [2020-11-26T07:55:48.718Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:55:48.718Z] ---> Running in 0c558afe03bc [2020-11-26T07:55:48.982Z] Removing intermediate container 0c558afe03bc [2020-11-26T07:55:48.982Z] ---> 8f3994dde5f0 [2020-11-26T07:55:48.982Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-26T07:55:48.982Z] ---> Running in 760f56f69394 [2020-11-26T07:55:49.939Z] Removing intermediate container 760f56f69394 [2020-11-26T07:55:49.939Z] ---> ebe1da099631 [2020-11-26T07:55:49.939Z] Step 7/24 : RUN apk add --update --no-cache make git [2020-11-26T07:55:50.211Z] ---> Running in 906680ef2784 [2020-11-26T07:55:50.787Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-26T07:55:51.362Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-26T07:55:51.939Z] OK: 166 MiB in 39 packages [2020-11-26T07:55:52.205Z] Removing intermediate container 906680ef2784 [2020-11-26T07:55:52.205Z] ---> db110e636fd2 [2020-11-26T07:55:52.205Z] Step 8/24 : COPY . . [2020-11-26T07:55:53.153Z] ---> 723fde5295a9 [2020-11-26T07:55:53.154Z] Step 9/24 : RUN ${MAKE} [2020-11-26T07:55:53.421Z] ---> Running in 9663ecac73a4 [2020-11-26T07:55:54.004Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.3" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2020-11-26T07:56:04.202Z] CGO_ENABLED=0 GO111MODULE=on go install -tags=safe [2020-11-26T07:56:04.779Z] Removing intermediate container 9663ecac73a4 [2020-11-26T07:56:04.779Z] ---> 6354a3a66816 [2020-11-26T07:56:04.779Z] Step 10/24 : FROM scratch [2020-11-26T07:56:04.779Z] ---> [2020-11-26T07:56:04.779Z] Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2020-11-26T07:56:05.042Z] ---> Running in 1bf4571ce09b [2020-11-26T07:56:05.042Z] Removing intermediate container 1bf4571ce09b [2020-11-26T07:56:05.042Z] ---> 46ccf7acbc53 [2020-11-26T07:56:05.042Z] Step 12/24 : ENV APP_PORT=49990 [2020-11-26T07:56:05.042Z] ---> Running in 69f8a47dde90 [2020-11-26T07:56:05.305Z] Removing intermediate container 69f8a47dde90 [2020-11-26T07:56:05.305Z] ---> 981060acd6cc [2020-11-26T07:56:05.305Z] Step 13/24 : EXPOSE $APP_PORT [2020-11-26T07:56:05.305Z] ---> Running in 122ab7123891 [2020-11-26T07:56:05.569Z] Removing intermediate container 122ab7123891 [2020-11-26T07:56:05.569Z] ---> 1a3dac04a17f [2020-11-26T07:56:05.569Z] Step 14/24 : WORKDIR / [2020-11-26T07:56:05.569Z] ---> Running in 523433f44156 [2020-11-26T07:56:05.838Z] Removing intermediate container 523433f44156 [2020-11-26T07:56:05.838Z] ---> 46c88aca4ee0 [2020-11-26T07:56:05.838Z] Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple [2020-11-26T07:56:06.416Z] ---> 999843ba3ae9 [2020-11-26T07:56:06.416Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml [2020-11-26T07:56:06.416Z] ---> 5438809702e1 [2020-11-26T07:56:06.416Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml [2020-11-26T07:56:06.690Z] ---> d2f74c6d0ef1 [2020-11-26T07:56:06.690Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [2020-11-26T07:56:06.954Z] ---> a4ade857db00 [2020-11-26T07:56:06.954Z] Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg [2020-11-26T07:56:07.214Z] ---> c08a7d94a119 [2020-11-26T07:56:07.214Z] Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] [2020-11-26T07:56:07.214Z] ---> Running in 429b68bfb1fa [2020-11-26T07:56:07.477Z] Removing intermediate container 429b68bfb1fa [2020-11-26T07:56:07.477Z] ---> ab62a266e006 [2020-11-26T07:56:07.477Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-26T07:56:07.477Z] ---> Running in 87f51fe5be66 [2020-11-26T07:56:07.742Z] Removing intermediate container 87f51fe5be66 [2020-11-26T07:56:07.742Z] ---> f9932368e7d4 [2020-11-26T07:56:07.742Z] Step 22/24 : LABEL arch=amd64 [2020-11-26T07:56:07.742Z] ---> Running in 14c13427c059 [2020-11-26T07:56:07.742Z] Removing intermediate container 14c13427c059 [2020-11-26T07:56:07.742Z] ---> 58cfff4b4e62 [2020-11-26T07:56:07.742Z] Step 23/24 : LABEL git_sha=3d8962a40545ef0adb8ef75e097226374dd52980 [2020-11-26T07:56:08.007Z] ---> Running in d0ca079d1b88 [2020-11-26T07:56:08.007Z] Removing intermediate container d0ca079d1b88 [2020-11-26T07:56:08.007Z] ---> 8fa479acd42b [2020-11-26T07:56:08.007Z] Step 24/24 : LABEL version=1.3.1-dev.3 [2020-11-26T07:56:08.283Z] ---> Running in 14c0a742f46e [2020-11-26T07:56:08.283Z] Removing intermediate container 14c0a742f46e [2020-11-26T07:56:08.283Z] ---> 525a3e9b42ed [2020-11-26T07:56:08.283Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-26T07:56:08.283Z] Successfully built 525a3e9b42ed [2020-11-26T07:56:08.283Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-11-26T07:56:10.103Z] provisioning config files... [2020-11-26T07:56:10.113Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5145640758421422850tmp [Pipeline] { [Pipeline] sh [2020-11-26T07:56:10.598Z] + set +x [2020-11-26T07:56:10.599Z] + curl -s https://codecov.io/bash [2020-11-26T07:56:10.599Z] + bash -s -- [2020-11-26T07:56:10.861Z] [2020-11-26T07:56:10.861Z] _____ _ [2020-11-26T07:56:10.861Z] / ____| | | [2020-11-26T07:56:10.861Z] | | ___ __| | ___ ___ _____ __ [2020-11-26T07:56:10.861Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-26T07:56:10.861Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-26T07:56:10.861Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-26T07:56:10.861Z] Bash-20201124-79cbc08 [2020-11-26T07:56:10.861Z] [2020-11-26T07:56:10.861Z] [2020-11-26T07:56:10.861Z] ==> Jenkins CI detected. [2020-11-26T07:56:10.861Z] project root: . [2020-11-26T07:56:10.861Z] --> token set from env [2020-11-26T07:56:10.861Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-26T07:56:10.861Z] ==> Running gcov in . (disable via -X gcov) [2020-11-26T07:56:10.861Z] ==> Python coveragepy not found [2020-11-26T07:56:10.861Z] ==> Searching for coverage reports in: [2020-11-26T07:56:10.861Z] + . [2020-11-26T07:56:10.861Z] -> Found 1 reports [2020-11-26T07:56:10.861Z] ==> Detecting git/mercurial file structure [2020-11-26T07:56:10.861Z] ==> Reading reports [2020-11-26T07:56:10.861Z] + ./coverage.out bytes=127610 [2020-11-26T07:56:10.861Z] ==> Appending adjustments [2020-11-26T07:56:10.861Z] https://docs.codecov.io/docs/fixing-reports [2020-11-26T07:56:11.436Z] + Found adjustments [2020-11-26T07:56:11.436Z] ==> Gzipping contents [2020-11-26T07:56:11.436Z] 24K /tmp/codecov.e8e5Tb.gz [2020-11-26T07:56:11.436Z] ==> Uploading reports [2020-11-26T07:56:11.436Z] url: https://codecov.io [2020-11-26T07:56:11.436Z] query: branch=master&commit=3d8962a40545ef0adb8ef75e097226374dd52980&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-26T07:56:11.436Z] -> Pinging Codecov [2020-11-26T07:56:11.436Z] https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=master&commit=3d8962a40545ef0adb8ef75e097226374dd52980&build=90&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F90%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-11-26T07:56:12.011Z] -> Uploading to [2020-11-26T07:56:12.011Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-26/7E55EF52A471D76F132DFD9A03CDDE97/3d8962a40545ef0adb8ef75e097226374dd52980/ea3a8d4d-4385-40f4-a106-844bb9769669.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201126T075611Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83445576aa8c905dd26e28e284a145c05d5d53ef8a8c9087e01a925b1a1a20fd [2020-11-26T07:56:12.011Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-26T07:56:12.011Z] Dload Upload Total Spent Left Speed [2020-11-26T07:56:12.589Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20870 0 0 100 20870 0 36723 --:--:-- --:--:-- --:--:-- 36742 [2020-11-26T07:56:12.589Z] -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3d8962a40545ef0adb8ef75e097226374dd52980 [Pipeline] } [2020-11-26T07:56:12.600Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-11-26T07:56:13.532Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-11-26T07:56:13.590Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:56:13.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T07:56:13.934Z] [2020-11-26T07:56:13.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:56:14.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T07:56:14.293Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-11-26T07:56:14.293Z] 188c0c94c7c5: Pulling fs layer [2020-11-26T07:56:14.293Z] 0ef7d3d256c8: Pulling fs layer [2020-11-26T07:56:14.293Z] de9db76c5a1d: Pulling fs layer [2020-11-26T07:56:14.293Z] 0eba1c9be4d2: Pulling fs layer [2020-11-26T07:56:14.293Z] 0d57e429df01: Pulling fs layer [2020-11-26T07:56:14.293Z] 4e4be7b47b0d: Pulling fs layer [2020-11-26T07:56:14.293Z] e1f770b5df2f: Pulling fs layer [2020-11-26T07:56:14.293Z] 85a0685a4137: Pulling fs layer [2020-11-26T07:56:14.293Z] 0d57e429df01: Waiting [2020-11-26T07:56:14.293Z] 4e4be7b47b0d: Waiting [2020-11-26T07:56:14.293Z] e1f770b5df2f: Waiting [2020-11-26T07:56:14.293Z] 85a0685a4137: Waiting [2020-11-26T07:56:14.293Z] 0eba1c9be4d2: Waiting [2020-11-26T07:56:14.293Z] de9db76c5a1d: Verifying Checksum [2020-11-26T07:56:14.293Z] de9db76c5a1d: Download complete [2020-11-26T07:56:14.293Z] 0ef7d3d256c8: Verifying Checksum [2020-11-26T07:56:14.293Z] 0ef7d3d256c8: Download complete [2020-11-26T07:56:14.293Z] 0d57e429df01: Verifying Checksum [2020-11-26T07:56:14.293Z] 0d57e429df01: Download complete [2020-11-26T07:56:14.293Z] 4e4be7b47b0d: Verifying Checksum [2020-11-26T07:56:14.293Z] 4e4be7b47b0d: Download complete [2020-11-26T07:56:14.559Z] 188c0c94c7c5: Verifying Checksum [2020-11-26T07:56:14.559Z] 188c0c94c7c5: Download complete [2020-11-26T07:56:14.826Z] 188c0c94c7c5: Pull complete [2020-11-26T07:56:15.090Z] 0ef7d3d256c8: Pull complete [2020-11-26T07:56:15.090Z] de9db76c5a1d: Pull complete [2020-11-26T07:56:16.488Z] e1f770b5df2f: Verifying Checksum [2020-11-26T07:56:16.488Z] e1f770b5df2f: Download complete [2020-11-26T07:56:19.058Z] 85a0685a4137: Download complete [2020-11-26T07:56:19.058Z] 0eba1c9be4d2: Verifying Checksum [2020-11-26T07:56:19.058Z] 0eba1c9be4d2: Download complete [2020-11-26T07:56:25.705Z] 0eba1c9be4d2: Pull complete [2020-11-26T07:56:25.705Z] 0d57e429df01: Pull complete [2020-11-26T07:56:25.705Z] 4e4be7b47b0d: Pull complete [2020-11-26T07:56:29.024Z] e1f770b5df2f: Pull complete [2020-11-26T07:56:35.653Z] 85a0685a4137: Pull complete [2020-11-26T07:56:35.653Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-11-26T07:56:35.653Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-11-26T07:56:35.653Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-11-26T07:56:35.881Z] prd-centos7-docker-4c-2g-13528 does not seem to be running inside a container [2020-11-26T07:56:35.934Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-11-26T07:56:37.067Z] $ docker top 8ab09d88d4154562e3cc01577b203fd04eb3b86c31704568970a9516221e7a53 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-11-26T07:56:37.361Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-11-26T07:56:37.658Z] + set -o pipefail [2020-11-26T07:56:37.658Z] + snyk monitor '--org=edgex-jenkins' [2020-11-26T07:56:44.268Z] [2020-11-26T07:56:44.268Z] Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... [2020-11-26T07:56:44.268Z] [2020-11-26T07:56:44.268Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/17bbb13e-02bd-4972-84f2-5ecf07652c23 [2020-11-26T07:56:44.268Z] [2020-11-26T07:56:44.268Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-11-26T07:56:44.268Z] [2020-11-26T07:56:44.268Z] [2020-11-26T07:56:44.268Z] You have reached your monthly limit of 300 private tests for your edgex-jenkins org. [2020-11-26T07:56:44.268Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-11-26T07:56:44.285Z] $ docker stop --time=1 8ab09d88d4154562e3cc01577b203fd04eb3b86c31704568970a9516221e7a53 [2020-11-26T07:56:46.781Z] $ docker rm -f 8ab09d88d4154562e3cc01577b203fd04eb3b86c31704568970a9516221e7a53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2020-11-26T07:56:48.087Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-26T07:56:48.142Z] provisioning config files... [2020-11-26T07:56:48.153Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5521654875153598201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:56:48.550Z] --> edgex-publish-swagger.sh [2020-11-26T07:56:48.550Z] === Publish openapi/v1 API === [2020-11-26T07:56:48.550Z] [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger [2020-11-26T07:56:48.550Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-11-26T07:56:48.550Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-26T07:56:48.550Z] Dload Upload Total Spent Left Speed [2020-11-26T07:56:49.388Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20188 0 0 100 20188 0 26930 --:--:-- --:--:-- --:--:-- 26917 [2020-11-26T07:56:49.388Z] [2020-11-26T07:56:49.388Z] [2020-11-26T07:56:49.388Z] === Publish openapi/v2 API === [2020-11-26T07:56:49.388Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2020-11-26T07:56:49.388Z] [publishToSwagger] Publishing API Name [device-sdk] [2020-11-26T07:56:49.388Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-26T07:56:49.388Z] Dload Upload Total Spent Left Speed [2020-11-26T07:56:50.335Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 58030 --:--:-- --:--:-- --:--:-- 58037 100 49274 0 0 100 49274 0 58016 --:--:-- --:--:-- --:--:-- 57969 [2020-11-26T07:56:50.335Z] [2020-11-26T07:56:50.335Z] [Pipeline] } [2020-11-26T07:56:50.345Z] 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 [2020-11-26T07:56:51.296Z] + git log --format=format:%s -1 3d8962a40545ef0adb8ef75e097226374dd52980 [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:56:51.612Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:56:51.612Z] . [Pipeline] withDockerContainer [2020-11-26T07:56:51.716Z] prd-centos7-docker-4c-2g-13528 does not seem to be running inside a container [2020-11-26T07:56:51.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T07:56:52.717Z] $ docker top c2fb5d28be68ccac474c36e1442edf1816beb95192888be65a9019006b7b8d19 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T07:56:53.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T07:56:53.083Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T07:56:53.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T07:56:53.339Z] $ docker exec c2fb5d28be68ccac474c36e1442edf1816beb95192888be65a9019006b7b8d19 ssh-agent [2020-11-26T07:56:53.511Z] SSH_AUTH_SOCK=/tmp/ssh-10w7uXXAgi4O/agent.11 [2020-11-26T07:56:53.511Z] SSH_AGENT_PID=17 [2020-11-26T07:56:53.520Z] Running ssh-add (command line suppressed) [2020-11-26T07:56:53.658Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2651908487013909124.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_2651908487013909124.key) [2020-11-26T07:56:53.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T07:56:54.057Z] + git semver tag [2020-11-26T07:56:54.057Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T07:56:54.057Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T07:56:54.057Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T07:56:54.057Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T07:56:54.057Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T07:56:54.057Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T07:56:54.057Z] # $SEMVER_BRANCH = master [2020-11-26T07:56:54.057Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-11-26T07:56:54.057Z] # 3d8962a40545ef0adb8ef75e097226374dd52980 HEAD [2020-11-26T07:56:54.321Z] # -> Force: false [2020-11-26T07:56:54.321Z] # cdbc05a525b08c55257fcd088daf310bf7e88a84 refs/tags/v1.3.1-dev.3 [Pipeline] } [2020-11-26T07:56:54.336Z] $ docker exec --env ******** --env ******** c2fb5d28be68ccac474c36e1442edf1816beb95192888be65a9019006b7b8d19 ssh-agent -k [2020-11-26T07:56:54.491Z] unset SSH_AUTH_SOCK; [2020-11-26T07:56:54.491Z] unset SSH_AGENT_PID; [2020-11-26T07:56:54.491Z] echo Agent pid 17 killed; [2020-11-26T07:56:54.546Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T07:56:55.027Z] + git semver [Pipeline] } [2020-11-26T07:56:55.047Z] $ docker stop --time=1 c2fb5d28be68ccac474c36e1442edf1816beb95192888be65a9019006b7b8d19 [2020-11-26T07:56:56.396Z] $ docker rm -f c2fb5d28be68ccac474c36e1442edf1816beb95192888be65a9019006b7b8d19 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:56:57.007Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-26T07:56:57.007Z] [2020-11-26T07:56:57.007Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:56:57.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-26T07:56:57.360Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-11-26T07:56:57.360Z] ab5ef0e58194: Pulling fs layer [2020-11-26T07:56:57.360Z] 9712f1f96733: Pulling fs layer [2020-11-26T07:56:57.360Z] 63f879dbbcfc: Pulling fs layer [2020-11-26T07:56:57.360Z] 0d9ebad4ef96: Pulling fs layer [2020-11-26T07:56:57.360Z] e9a5061849ea: Pulling fs layer [2020-11-26T07:56:57.360Z] d747dcd14b5f: Pulling fs layer [2020-11-26T07:56:57.360Z] 2de7ff778b66: Pulling fs layer [2020-11-26T07:56:57.360Z] 0d9ebad4ef96: Waiting [2020-11-26T07:56:57.360Z] e9a5061849ea: Waiting [2020-11-26T07:56:57.360Z] 2de7ff778b66: Waiting [2020-11-26T07:56:57.360Z] d747dcd14b5f: Waiting [2020-11-26T07:56:57.360Z] 9712f1f96733: Verifying Checksum [2020-11-26T07:56:57.360Z] 9712f1f96733: Download complete [2020-11-26T07:56:59.284Z] 63f879dbbcfc: Verifying Checksum [2020-11-26T07:56:59.284Z] 63f879dbbcfc: Download complete [2020-11-26T07:56:59.548Z] e9a5061849ea: Verifying Checksum [2020-11-26T07:56:59.548Z] e9a5061849ea: Download complete [2020-11-26T07:56:59.548Z] d747dcd14b5f: Verifying Checksum [2020-11-26T07:56:59.548Z] d747dcd14b5f: Download complete [2020-11-26T07:56:59.811Z] 2de7ff778b66: Verifying Checksum [2020-11-26T07:56:59.811Z] 2de7ff778b66: Download complete [2020-11-26T07:57:00.073Z] 0d9ebad4ef96: Verifying Checksum [2020-11-26T07:57:00.073Z] 0d9ebad4ef96: Download complete [2020-11-26T07:57:00.336Z] ab5ef0e58194: Verifying Checksum [2020-11-26T07:57:00.336Z] ab5ef0e58194: Download complete [2020-11-26T07:57:04.583Z] ab5ef0e58194: Pull complete [2020-11-26T07:57:04.853Z] 9712f1f96733: Pull complete [2020-11-26T07:57:08.204Z] 63f879dbbcfc: Pull complete [2020-11-26T07:57:14.845Z] 0d9ebad4ef96: Pull complete [2020-11-26T07:57:15.421Z] e9a5061849ea: Pull complete [2020-11-26T07:57:15.689Z] d747dcd14b5f: Pull complete [2020-11-26T07:57:18.257Z] 2de7ff778b66: Pull complete [2020-11-26T07:57:18.257Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-11-26T07:57:18.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-11-26T07:57:18.257Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-11-26T07:57:18.483Z] prd-centos7-docker-4c-2g-13528 does not seem to be running inside a container [2020-11-26T07:57:18.544Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-11-26T07:57:22.534Z] $ docker top 280bd77f2d5c814295e3d9bc69c7f5a04cfcdbb2c03863ef4c7fc7e184a3c2db -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-11-26T07:57:22.835Z] provisioning config files... [2020-11-26T07:57:22.850Z] copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config5896722095193065306tmp [2020-11-26T07:57:22.876Z] copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7723687064216848563tmp [2020-11-26T07:57:22.894Z] copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3888963157846843809tmp [Pipeline] { [Pipeline] echo [2020-11-26T07:57:22.958Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:57:23.266Z] ---> sigul-configuration.sh [2020-11-26T07:57:23.266Z] gpg: directory `/root/.gnupg' created [2020-11-26T07:57:23.266Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-11-26T07:57:23.266Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-11-26T07:57:23.266Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-11-26T07:57:23.266Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-11-26T07:57:23.266Z] gpg: CAST5 encrypted data [2020-11-26T07:57:23.529Z] gpg: encrypted with 1 passphrase [2020-11-26T07:57:23.529Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-11-26T07:57:23.862Z] + mkdir /home/jenkins [2020-11-26T07:57:23.862Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-11-26T07:57:24.164Z] + 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 [2020-11-26T07:57:24.176Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:57:24.476Z] ---> sigul-install.sh [2020-11-26T07:57:29.785Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-11-26T07:57:30.088Z] + git tag --list [2020-11-26T07:57:30.088Z] 0.7.1 [2020-11-26T07:57:30.088Z] delhi-tag [2020-11-26T07:57:30.088Z] v1.0.0 [2020-11-26T07:57:30.088Z] v1.1.0 [2020-11-26T07:57:30.088Z] v1.1.1 [2020-11-26T07:57:30.088Z] v1.1.2 [2020-11-26T07:57:30.088Z] v1.2.0 [2020-11-26T07:57:30.088Z] v1.2.1 [2020-11-26T07:57:30.088Z] v1.2.2 [2020-11-26T07:57:30.088Z] v1.2.3 [2020-11-26T07:57:30.088Z] v1.2.4-dev.1 [2020-11-26T07:57:30.088Z] v1.2.4-dev.10 [2020-11-26T07:57:30.088Z] v1.2.4-dev.11 [2020-11-26T07:57:30.088Z] v1.2.4-dev.12 [2020-11-26T07:57:30.088Z] v1.2.4-dev.13 [2020-11-26T07:57:30.088Z] v1.2.4-dev.14 [2020-11-26T07:57:30.088Z] v1.2.4-dev.15 [2020-11-26T07:57:30.088Z] v1.2.4-dev.16 [2020-11-26T07:57:30.088Z] v1.2.4-dev.17 [2020-11-26T07:57:30.088Z] v1.2.4-dev.18 [2020-11-26T07:57:30.088Z] v1.2.4-dev.19 [2020-11-26T07:57:30.088Z] v1.2.4-dev.2 [2020-11-26T07:57:30.088Z] v1.2.4-dev.20 [2020-11-26T07:57:30.088Z] v1.2.4-dev.21 [2020-11-26T07:57:30.088Z] v1.2.4-dev.22 [2020-11-26T07:57:30.088Z] v1.2.4-dev.23 [2020-11-26T07:57:30.088Z] v1.2.4-dev.24 [2020-11-26T07:57:30.088Z] v1.2.4-dev.25 [2020-11-26T07:57:30.088Z] v1.2.4-dev.26 [2020-11-26T07:57:30.088Z] v1.2.4-dev.27 [2020-11-26T07:57:30.088Z] v1.2.4-dev.28 [2020-11-26T07:57:30.088Z] v1.2.4-dev.29 [2020-11-26T07:57:30.088Z] v1.2.4-dev.3 [2020-11-26T07:57:30.088Z] v1.2.4-dev.30 [2020-11-26T07:57:30.088Z] v1.2.4-dev.31 [2020-11-26T07:57:30.088Z] v1.2.4-dev.32 [2020-11-26T07:57:30.088Z] v1.2.4-dev.33 [2020-11-26T07:57:30.088Z] v1.2.4-dev.34 [2020-11-26T07:57:30.088Z] v1.2.4-dev.35 [2020-11-26T07:57:30.088Z] v1.2.4-dev.4 [2020-11-26T07:57:30.088Z] v1.2.4-dev.5 [2020-11-26T07:57:30.088Z] v1.2.4-dev.6 [2020-11-26T07:57:30.088Z] v1.2.4-dev.7 [2020-11-26T07:57:30.088Z] v1.2.4-dev.8 [2020-11-26T07:57:30.088Z] v1.2.4-dev.9 [2020-11-26T07:57:30.088Z] v1.3.0 [2020-11-26T07:57:30.088Z] v1.3.1-dev.1 [2020-11-26T07:57:30.088Z] v1.3.1-dev.2 [2020-11-26T07:57:30.088Z] v1.3.1-dev.3 [Pipeline] sh [2020-11-26T07:57:30.388Z] + lftools sign git-tag v1.3.1-dev.3 [2020-11-26T07:57:31.780Z] Signing Git tag with Sigul... [2020-11-26T07:57:31.780Z] Signing v1.3.1-dev.3 [Pipeline] echo [2020-11-26T07:57:33.180Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:57:33.477Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-11-26T07:57:33.488Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-11-26T07:57:33.654Z] $ docker stop --time=1 280bd77f2d5c814295e3d9bc69c7f5a04cfcdbb2c03863ef4c7fc7e184a3c2db [2020-11-26T07:57:35.656Z] $ docker rm -f 280bd77f2d5c814295e3d9bc69c7f5a04cfcdbb2c03863ef4c7fc7e184a3c2db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:57:36.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:57:36.867Z] . [Pipeline] withDockerContainer [2020-11-26T07:57:36.972Z] prd-centos7-docker-4c-2g-13528 does not seem to be running inside a container [2020-11-26T07:57:37.030Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T07:57:37.780Z] $ docker top 805f533b80ebe2b2ee7351feef7842127ed2701f1661d33a1a5b9630820215a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T07:57:38.184Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T07:57:38.184Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T07:57:38.404Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T07:57:38.409Z] $ docker exec 805f533b80ebe2b2ee7351feef7842127ed2701f1661d33a1a5b9630820215a5 ssh-agent [2020-11-26T07:57:38.634Z] SSH_AUTH_SOCK=/tmp/ssh-myIbjqfkCPJL/agent.12 [2020-11-26T07:57:38.634Z] SSH_AGENT_PID=17 [2020-11-26T07:57:38.643Z] Running ssh-add (command line suppressed) [2020-11-26T07:57:38.800Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7106195211691558126.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_7106195211691558126.key) [2020-11-26T07:57:38.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T07:57:39.208Z] + git semver bump pre [2020-11-26T07:57:39.208Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T07:57:39.208Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T07:57:39.208Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T07:57:39.208Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T07:57:39.208Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T07:57:39.208Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T07:57:39.208Z] # $SEMVER_BRANCH = master [2020-11-26T07:57:39.208Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [2020-11-26T07:57:39.208Z] 1.3.1-dev.4 [Pipeline] } [2020-11-26T07:57:39.224Z] $ docker exec --env ******** --env ******** 805f533b80ebe2b2ee7351feef7842127ed2701f1661d33a1a5b9630820215a5 ssh-agent -k [2020-11-26T07:57:39.355Z] unset SSH_AUTH_SOCK; [2020-11-26T07:57:39.355Z] unset SSH_AGENT_PID; [2020-11-26T07:57:39.355Z] echo Agent pid 17 killed; [2020-11-26T07:57:39.412Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T07:57:39.910Z] + git semver [Pipeline] } [2020-11-26T07:57:39.931Z] $ docker stop --time=1 805f533b80ebe2b2ee7351feef7842127ed2701f1661d33a1a5b9630820215a5 [2020-11-26T07:57:41.308Z] $ docker rm -f 805f533b80ebe2b2ee7351feef7842127ed2701f1661d33a1a5b9630820215a5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:57:41.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-26T07:57:41.860Z] . [Pipeline] withDockerContainer [2020-11-26T07:57:41.966Z] prd-centos7-docker-4c-2g-13528 does not seem to be running inside a container [2020-11-26T07:57:42.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_master -v /w/workspace/dgexfoundry_device-sdk-go_master:/w/workspace/dgexfoundry_device-sdk-go_master:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_master@tmp:/w/workspace/dgexfoundry_device-sdk-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-26T07:57:42.688Z] $ docker top 6579640731b0803799ecd87b39e3d684e3e6dedc1c555a47596c30903f84802f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-26T07:57:42.976Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-26T07:57:42.976Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-26T07:57:43.164Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-26T07:57:43.170Z] $ docker exec 6579640731b0803799ecd87b39e3d684e3e6dedc1c555a47596c30903f84802f ssh-agent [2020-11-26T07:57:43.346Z] SSH_AUTH_SOCK=/tmp/ssh-vrSO1elUrCLZ/agent.12 [2020-11-26T07:57:43.346Z] SSH_AGENT_PID=17 [2020-11-26T07:57:43.354Z] Running ssh-add (command line suppressed) [2020-11-26T07:57:43.487Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5975826195897746770.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5975826195897746770.key) [2020-11-26T07:57:43.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-26T07:57:43.877Z] + git semver push [2020-11-26T07:57:43.877Z] # -> Open(): unable to determine branch for HEAD [2020-11-26T07:57:43.877Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git [2020-11-26T07:57:43.877Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T07:57:43.877Z] # $SEMVER_REMOTE_NAME = origin [2020-11-26T07:57:43.877Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-26T07:57:43.877Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-26T07:57:43.877Z] # $SEMVER_BRANCH = master [2020-11-26T07:57:43.877Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } [2020-11-26T07:57:50.494Z] $ docker exec --env ******** --env ******** 6579640731b0803799ecd87b39e3d684e3e6dedc1c555a47596c30903f84802f ssh-agent -k [2020-11-26T07:57:50.617Z] unset SSH_AUTH_SOCK; [2020-11-26T07:57:50.618Z] unset SSH_AGENT_PID; [2020-11-26T07:57:50.618Z] echo Agent pid 17 killed; [2020-11-26T07:57:50.665Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-26T07:57:51.206Z] + git semver [Pipeline] } [2020-11-26T07:57:51.227Z] $ docker stop --time=1 6579640731b0803799ecd87b39e3d684e3e6dedc1c555a47596c30903f84802f [2020-11-26T07:57:52.586Z] $ docker rm -f 6579640731b0803799ecd87b39e3d684e3e6dedc1c555a47596c30903f84802f [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 [2020-11-26T07:57:56.485Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:57:57.057Z] ---> package-listing.sh [2020-11-26T07:57:57.057Z] ++ facter osfamily [2020-11-26T07:57:57.057Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-26T07:57:57.057Z] + OS_FAMILY=redhat [2020-11-26T07:57:57.057Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_master [2020-11-26T07:57:57.057Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-26T07:57:57.057Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-26T07:57:57.057Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-26T07:57:57.057Z] + PACKAGES=/tmp/packages_start.txt [2020-11-26T07:57:57.057Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-11-26T07:57:57.057Z] + PACKAGES=/tmp/packages_end.txt [2020-11-26T07:57:57.057Z] + case "${OS_FAMILY}" in [2020-11-26T07:57:57.057Z] + rpm -qa [2020-11-26T07:57:57.057Z] + sort [2020-11-26T07:58:02.383Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-26T07:58:02.383Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-26T07:58:02.383Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-26T07:58:02.383Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' [2020-11-26T07:58:02.383Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [2020-11-26T07:58:02.383Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo [2020-11-26T07:58:02.397Z] 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 [2020-11-26T07:58:02.718Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:58:03.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T07:58:03.029Z] [2020-11-26T07:58:03.029Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-26T07:58:03.387Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T07:58:03.387Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-26T07:58:03.387Z] df20fa9351a1: Pulling fs layer [2020-11-26T07:58:03.387Z] 36b3adc4ff6f: Pulling fs layer [2020-11-26T07:58:03.387Z] 8ad3a11d3b57: Pulling fs layer [2020-11-26T07:58:03.387Z] 46f8f816bc3b: Pulling fs layer [2020-11-26T07:58:03.387Z] 93b61091891f: Pulling fs layer [2020-11-26T07:58:03.387Z] 93b9cdb0e59b: Pulling fs layer [2020-11-26T07:58:03.387Z] 5e14af77c1be: Pulling fs layer [2020-11-26T07:58:03.387Z] 01666e4c0597: Pulling fs layer [2020-11-26T07:58:03.387Z] aa168da1d23b: Pulling fs layer [2020-11-26T07:58:03.387Z] 93b9cdb0e59b: Waiting [2020-11-26T07:58:03.387Z] 5e14af77c1be: Waiting [2020-11-26T07:58:03.387Z] 01666e4c0597: Waiting [2020-11-26T07:58:03.387Z] aa168da1d23b: Waiting [2020-11-26T07:58:03.387Z] 46f8f816bc3b: Waiting [2020-11-26T07:58:03.387Z] 93b61091891f: Waiting [2020-11-26T07:58:03.387Z] 36b3adc4ff6f: Verifying Checksum [2020-11-26T07:58:03.387Z] 36b3adc4ff6f: Download complete [2020-11-26T07:58:03.387Z] 46f8f816bc3b: Verifying Checksum [2020-11-26T07:58:03.387Z] 46f8f816bc3b: Download complete [2020-11-26T07:58:03.655Z] df20fa9351a1: Verifying Checksum [2020-11-26T07:58:03.655Z] df20fa9351a1: Download complete [2020-11-26T07:58:03.655Z] 93b9cdb0e59b: Verifying Checksum [2020-11-26T07:58:03.655Z] 93b9cdb0e59b: Download complete [2020-11-26T07:58:03.655Z] 93b61091891f: Verifying Checksum [2020-11-26T07:58:03.655Z] 93b61091891f: Download complete [2020-11-26T07:58:03.655Z] 01666e4c0597: Verifying Checksum [2020-11-26T07:58:03.655Z] 01666e4c0597: Download complete [2020-11-26T07:58:03.655Z] 5e14af77c1be: Verifying Checksum [2020-11-26T07:58:03.655Z] 5e14af77c1be: Download complete [2020-11-26T07:58:03.655Z] 8ad3a11d3b57: Download complete [2020-11-26T07:58:03.918Z] df20fa9351a1: Pull complete [2020-11-26T07:58:04.182Z] 36b3adc4ff6f: Pull complete [2020-11-26T07:58:06.130Z] 8ad3a11d3b57: Pull complete [2020-11-26T07:58:06.130Z] aa168da1d23b: Verifying Checksum [2020-11-26T07:58:06.130Z] aa168da1d23b: Download complete [2020-11-26T07:58:06.130Z] 46f8f816bc3b: Pull complete [2020-11-26T07:58:06.393Z] 93b61091891f: Pull complete [2020-11-26T07:58:06.655Z] 93b9cdb0e59b: Pull complete [2020-11-26T07:58:06.655Z] 5e14af77c1be: Pull complete [2020-11-26T07:58:06.925Z] 01666e4c0597: Pull complete [2020-11-26T07:58:15.120Z] aa168da1d23b: Pull complete [2020-11-26T07:58:15.120Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-26T07:58:15.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-26T07:58:15.120Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-26T07:58:15.343Z] prd-centos7-docker-4c-2g-13528 does not seem to be running inside a container [2020-11-26T07:58:15.401Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-26T07:58:18.404Z] $ docker top 14426606a10551d8f4d4a65488fd7e01b6bf02e9ce7b3d53cc9de88939f97dba -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-26T07:58:18.965Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-26T07:58:19.268Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-26T07:58:19.571Z] + ls /var/log/sa-host [2020-11-26T07:58:19.571Z] + sadf -c /var/log/sa-host/sa23 [2020-11-26T07:58:19.571Z] file_magic: OK [2020-11-26T07:58:19.571Z] HZ: Using current value: 100 [2020-11-26T07:58:19.571Z] file_header: OK [2020-11-26T07:58:19.572Z] 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 [2020-11-26T07:58:19.572Z] Statistics: [2020-11-26T07:58:19.572Z] Hnuu...uuuununununu... [2020-11-26T07:58:19.572Z] File successfully converted to sysstat format version 12.2.1 [2020-11-26T07:58:19.572Z] + sadf -c /var/log/sa-host/sa26 [2020-11-26T07:58:19.572Z] file_magic: OK [2020-11-26T07:58:19.572Z] HZ: Using current value: 100 [2020-11-26T07:58:19.572Z] file_header: OK [2020-11-26T07:58:19.572Z] 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 [2020-11-26T07:58:19.572Z] Statistics: [2020-11-26T07:58:19.572Z] 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...Hnuu...uuuununununu... [2020-11-26T07:58:19.572Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-26T07:58:20.792Z] provisioning config files... [2020-11-26T07:58:20.815Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config696175088849936871tmp [Pipeline] { [Pipeline] echo [2020-11-26T07:58:20.884Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:58:21.227Z] ---> create-netrc.sh [Pipeline] } [2020-11-26T07:58:21.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-26T07:58:21.412Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:58:21.755Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-26T07:58:21.767Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:58:22.067Z] ---> sudo-logs.sh [2020-11-26T07:58:22.067Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-26T07:58:22.078Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:58:22.378Z] ---> job-cost.sh [2020-11-26T07:58:22.378Z] lf-activate-venv: SKIPPING [2020-11-26T07:58:22.378Z] INFO: No Stack... [2020-11-26T07:58:23.769Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-26T07:58:24.033Z] INFO: Archiving Costs [Pipeline] echo [2020-11-26T07:58:24.065Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-26T07:58:24.366Z] ---> logs-deploy.sh [2020-11-26T07:58:24.366Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/90 [2020-11-26T07:58:24.366Z] INFO: archiving workspace using pattern(s): [2020-11-26T07:58:26.290Z] Archives upload complete. [2020-11-26T07:58:26.290Z] INFO: archiving logs to Nexus