Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [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-virtual-go-settings PROJECT: device-virtual-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-25010’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-25007’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-25014 in /w/workspace/foundry_device-virtual-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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 Commit message: "Merge pull request #161 from FelixTing/issue-157" > git rev-list --no-walk bdf1cd5a2d4a5f1f1834e794e258934dca5f302b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-02-04T17:04:33.835Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-02-04T17:04:34.108Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-02-04T17:04:34.254Z] ========================================================= [2021-02-04T17:04:34.254Z] EdgeX Global Pipelines Version Info [2021-02-04T17:04:34.254Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:04:35.859Z] ------------------- [2021-02-04T17:04:35.859Z] stable info: [2021-02-04T17:04:35.859Z] ------------------- [2021-02-04T17:04:35.859Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T17:04:35.859Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T17:04:35.859Z] Message: update stable to v1.0.179 [2021-02-04T17:04:36.806Z] ------------------- [2021-02-04T17:04:36.806Z] experimental info: [2021-02-04T17:04:36.806Z] ------------------- [2021-02-04T17:04:36.806Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-02-04T17:04:36.806Z] Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 [2021-02-04T17:04:36.806Z] Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-02-04T17:04:37.080Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-02-04T17:04:37.174Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-02-04T17:04:37.272Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-02-04T17:04:37.362Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-02-04T17:04:37.489Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-02-04T17:04:37.595Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2021-02-04T17:04:37.687Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-02-04T17:04:37.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2021-02-04T17:04:37.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-02-04T17:04:38.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-02-04T17:04:38.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-02-04T17:04:38.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo [2021-02-04T17:04:38.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-02-04T17:04:38.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-02-04T17:04:38.524Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T17:04:38.615Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-02-04T17:04:38.713Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T17:04:38.809Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-02-04T17:04:38.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-02-04T17:04:39.019Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-02-04T17:04:39.175Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-02-04T17:04:39.297Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-02-04T17:04:39.401Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-02-04T17:04:39.496Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-02-04T17:04:39.604Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-02-04T17:04:39.724Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2021-02-04T17:04:39.832Z] [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo [2021-02-04T17:04:39.948Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2021-02-04T17:04:40.055Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2021-02-04T17:04:40.161Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2021-02-04T17:04:40.296Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [Pipeline] echo [2021-02-04T17:04:40.411Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f15e3a [Pipeline] echo [2021-02-04T17:04:40.532Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T17:04:40.726Z] provisioning config files... [2021-02-04T17:04:40.772Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config805933989797817256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:04:41.165Z] ---> docker-login.sh [2021-02-04T17:04:41.165Z] nexus3.edgexfoundry.org:10001 [2021-02-04T17:04:41.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:04:41.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:04:41.437Z] Configure a credential helper to remove this warning. See [2021-02-04T17:04:41.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:04:41.437Z] [2021-02-04T17:04:41.437Z] Login Succeeded [2021-02-04T17:04:41.437Z] nexus3.edgexfoundry.org:10002 [2021-02-04T17:04:41.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:04:41.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:04:41.702Z] Configure a credential helper to remove this warning. See [2021-02-04T17:04:41.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:04:41.702Z] [2021-02-04T17:04:41.702Z] Login Succeeded [2021-02-04T17:04:41.702Z] nexus3.edgexfoundry.org:10003 [2021-02-04T17:04:41.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:04:41.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:04:41.965Z] Configure a credential helper to remove this warning. See [2021-02-04T17:04:41.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:04:41.965Z] [2021-02-04T17:04:41.965Z] Login Succeeded [2021-02-04T17:04:41.965Z] nexus3.edgexfoundry.org:10004 [2021-02-04T17:04:41.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:04:41.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:04:41.965Z] Configure a credential helper to remove this warning. See [2021-02-04T17:04:41.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:04:41.965Z] [2021-02-04T17:04:41.965Z] Login Succeeded [2021-02-04T17:04:41.965Z] docker.io [2021-02-04T17:04:42.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:04:42.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:04:42.492Z] Configure a credential helper to remove this warning. See [2021-02-04T17:04:42.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:04:42.492Z] [2021-02-04T17:04:42.492Z] Login Succeeded [2021-02-04T17:04:42.492Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T17:04:42.501Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T17:04:43.698Z] + git log --format=format:%s -1 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [Pipeline] echo [2021-02-04T17:04:43.772Z] GIT_COMMIT: 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436, Commit Message: Merge pull request #161 from FelixTing/issue-157 [Pipeline] echo [2021-02-04T17:04:43.825Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:04:44.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:04:44.443Z] [2021-02-04T17:04:44.443Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:04:44.814Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:04:44.814Z] latest: Pulling from edgex-devops/git-semver [2021-02-04T17:04:44.814Z] 31603596830f: Pulling fs layer [2021-02-04T17:04:44.814Z] 2a8b12db71e7: Pulling fs layer [2021-02-04T17:04:44.814Z] 6ca5941a6612: Pulling fs layer [2021-02-04T17:04:44.814Z] ecc8261a40a4: Pulling fs layer [2021-02-04T17:04:44.814Z] ecc8261a40a4: Waiting [2021-02-04T17:04:44.814Z] 2a8b12db71e7: Verifying Checksum [2021-02-04T17:04:44.814Z] 2a8b12db71e7: Download complete [2021-02-04T17:04:44.814Z] 31603596830f: Verifying Checksum [2021-02-04T17:04:44.814Z] 31603596830f: Download complete [2021-02-04T17:04:45.082Z] ecc8261a40a4: Verifying Checksum [2021-02-04T17:04:45.082Z] ecc8261a40a4: Download complete [2021-02-04T17:04:45.082Z] 6ca5941a6612: Verifying Checksum [2021-02-04T17:04:45.082Z] 6ca5941a6612: Download complete [2021-02-04T17:04:45.344Z] 31603596830f: Pull complete [2021-02-04T17:04:45.344Z] 2a8b12db71e7: Pull complete [2021-02-04T17:04:46.298Z] 6ca5941a6612: Pull complete [2021-02-04T17:04:46.560Z] ecc8261a40a4: Pull complete [2021-02-04T17:04:46.560Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2021-02-04T17:04:46.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:04:46.560Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-02-04T17:04:46.668Z] prd-centos7-docker-4c-2g-25014 does not seem to be running inside a container [2021-02-04T17:04:46.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T17:04:48.645Z] $ docker top 4dc50150899cc0f4501ee5289394f352817c391bdd359b354d12b82b59d534a8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T17:04:48.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T17:04:48.965Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T17:04:49.175Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T17:04:49.180Z] $ docker exec 4dc50150899cc0f4501ee5289394f352817c391bdd359b354d12b82b59d534a8 ssh-agent [2021-02-04T17:04:49.339Z] SSH_AUTH_SOCK=/tmp/ssh-6LuCAVR3W1al/agent.11 [2021-02-04T17:04:49.339Z] SSH_AGENT_PID=16 [2021-02-04T17:04:49.349Z] Running ssh-add (command line suppressed) [2021-02-04T17:04:49.463Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_1689656007060358818.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_1689656007060358818.key) [2021-02-04T17:04:49.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T17:04:50.044Z] + git tag --points-at HEAD [Pipeline] } [2021-02-04T17:04:50.080Z] $ docker exec --env ******** --env ******** 4dc50150899cc0f4501ee5289394f352817c391bdd359b354d12b82b59d534a8 ssh-agent -k [2021-02-04T17:04:50.188Z] unset SSH_AUTH_SOCK; [2021-02-04T17:04:50.188Z] unset SSH_AGENT_PID; [2021-02-04T17:04:50.188Z] echo Agent pid 16 killed; [2021-02-04T17:04:50.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-02-04T17:04:50.443Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T17:04:50.443Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T17:04:50.626Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T17:04:50.630Z] $ docker exec 4dc50150899cc0f4501ee5289394f352817c391bdd359b354d12b82b59d534a8 ssh-agent [2021-02-04T17:04:50.792Z] SSH_AUTH_SOCK=/tmp/ssh-rekiUP3eIU3C/agent.46 [2021-02-04T17:04:50.792Z] SSH_AGENT_PID=52 [2021-02-04T17:04:50.800Z] Running ssh-add (command line suppressed) [2021-02-04T17:04:50.922Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_752431889799902866.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_752431889799902866.key) [2021-02-04T17:04:50.977Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T17:04:51.329Z] + git semver init [2021-02-04T17:04:51.329Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T17:04:51.329Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-02-04T17:04:51.329Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-02-04T17:04:51.329Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T17:04:51.330Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T17:04:51.330Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T17:04:51.330Z] # $SEMVER_BRANCH = master [2021-02-04T17:04:51.330Z] # $SEMVER_TEMP = /tmp/semver-348360710 [2021-02-04T17:04:51.330Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-02-04T17:04:51.904Z] # '/tmp/semver-348360710' -> '/w/workspace/foundry_device-virtual-go_master/.semver' [2021-02-04T17:04:51.904Z] # -> Force: false [2021-02-04T17:04:51.904Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-02-04T17:04:51.917Z] $ docker exec --env ******** --env ******** 4dc50150899cc0f4501ee5289394f352817c391bdd359b354d12b82b59d534a8 ssh-agent -k [2021-02-04T17:04:52.033Z] unset SSH_AUTH_SOCK; [2021-02-04T17:04:52.033Z] unset SSH_AGENT_PID; [2021-02-04T17:04:52.033Z] echo Agent pid 52 killed; [2021-02-04T17:04:52.086Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T17:04:52.898Z] + git semver [Pipeline] } [2021-02-04T17:04:52.938Z] $ docker stop --time=1 4dc50150899cc0f4501ee5289394f352817c391bdd359b354d12b82b59d534a8 [2021-02-04T17:04:54.366Z] $ docker rm -f 4dc50150899cc0f4501ee5289394f352817c391bdd359b354d12b82b59d534a8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T17:04:54.925Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-02-04T17:04:55.387Z] Stashed 1 file(s) [Pipeline] echo [2021-02-04T17:04:55.392Z] [edgeXSemver]: initialized semver on version 1.3.2-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-02-04T17:05:11.022Z] Still waiting to schedule task [2021-02-04T17:05:11.022Z] ‘prd-centos7-blackbox-4c-2g-24093’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-25009’ is offline; ‘prd-centos7-docker-4c-2g-25018’ is offline [2021-02-04T17:05:11.025Z] Still waiting to schedule task [2021-02-04T17:05:11.025Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-25007’ [2021-02-04T17:06:46.962Z] Running on prd-centos7-docker-4c-2g-25021 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-02-04T17:06:47.015Z] Running in /w/workspace/device-virtual-go/40 [Pipeline] { [Pipeline] checkout [2021-02-04T17:06:54.521Z] using credential edgex-jenkins-ssh [2021-02-04T17:06:54.598Z] Cloning the remote Git repository [2021-02-04T17:06:54.820Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-02-04T17:06:55.023Z] > git init /w/workspace/device-virtual-go/40 # timeout=10 [2021-02-04T17:06:55.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-02-04T17:06:55.393Z] > git --version # timeout=10 [2021-02-04T17:06:55.499Z] > git --version # 'git version 2.24.3' [2021-02-04T17:06:55.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T17:06:55.684Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T17:06:57.099Z] Checking out Revision 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 (master) [2021-02-04T17:06:56.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-02-04T17:06:56.617Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T17:06:56.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-02-04T17:06:56.702Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-02-04T17:06:56.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T17:06:56.708Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T17:06:57.113Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T17:06:57.164Z] > git checkout -f 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 [2021-02-04T17:07:01.826Z] Commit message: "Merge pull request #161 from FelixTing/issue-157" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T17:07:03.869Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-02-04T17:07:04.412Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T17:07:04.799Z] + sudo service docker restart [2021-02-04T17:07:04.799Z] + true [2021-02-04T17:07:04.799Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T17:07:07.070Z] provisioning config files... [2021-02-04T17:07:07.145Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/40@tmp/config5985667367795079191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:07:07.835Z] ---> docker-login.sh [2021-02-04T17:07:07.835Z] nexus3.edgexfoundry.org:10001 [2021-02-04T17:07:09.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:09.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:09.871Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:09.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:09.871Z] [2021-02-04T17:07:09.871Z] Login Succeeded [2021-02-04T17:07:09.871Z] nexus3.edgexfoundry.org:10002 [2021-02-04T17:07:10.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:10.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:10.441Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:10.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:10.441Z] [2021-02-04T17:07:10.441Z] Login Succeeded [2021-02-04T17:07:10.441Z] nexus3.edgexfoundry.org:10003 [2021-02-04T17:07:10.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:11.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:11.031Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:11.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:11.031Z] [2021-02-04T17:07:11.031Z] Login Succeeded [2021-02-04T17:07:11.031Z] nexus3.edgexfoundry.org:10004 [2021-02-04T17:07:11.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:11.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:11.743Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:11.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:11.743Z] [2021-02-04T17:07:11.743Z] Login Succeeded [2021-02-04T17:07:11.743Z] docker.io [2021-02-04T17:07:12.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:07:12.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:07:12.717Z] Configure a credential helper to remove this warning. See [2021-02-04T17:07:12.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:07:12.717Z] [2021-02-04T17:07:12.717Z] Login Succeeded [2021-02-04T17:07:12.717Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T17:07:12.735Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T17:07:13.343Z] ========================================================= [2021-02-04T17:07:13.343Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2021-02-04T17:07:13.343Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:07:13.945Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2021-02-04T17:07:14.259Z] Sending build context to Docker daemon 469.5kB [2021-02-04T17:07:14.259Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T17:07:14.259Z] Step 2/8 : FROM ${BASE} [2021-02-04T17:07:14.561Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2021-02-04T17:07:14.561Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T17:07:14.561Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T17:07:14.561Z] de9db76c5a1d: Pulling fs layer [2021-02-04T17:07:14.561Z] bca2f99d35d6: Pulling fs layer [2021-02-04T17:07:14.561Z] 93359f2a8cfa: Pulling fs layer [2021-02-04T17:07:14.561Z] 7c6f9722023f: Pulling fs layer [2021-02-04T17:07:14.561Z] a35cf1a2eb13: Pulling fs layer [2021-02-04T17:07:14.561Z] bca2f99d35d6: Waiting [2021-02-04T17:07:14.561Z] 93359f2a8cfa: Waiting [2021-02-04T17:07:14.561Z] 7c6f9722023f: Waiting [2021-02-04T17:07:14.561Z] a35cf1a2eb13: Waiting [2021-02-04T17:07:14.561Z] de9db76c5a1d: Download complete [2021-02-04T17:07:14.561Z] 0ef7d3d256c8: Verifying Checksum [2021-02-04T17:07:14.561Z] 0ef7d3d256c8: Download complete [2021-02-04T17:07:14.561Z] 93359f2a8cfa: Verifying Checksum [2021-02-04T17:07:14.561Z] 93359f2a8cfa: Download complete [2021-02-04T17:07:14.561Z] 7c6f9722023f: Download complete [2021-02-04T17:07:14.909Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T17:07:14.909Z] 188c0c94c7c5: Download complete [2021-02-04T17:07:16.140Z] 188c0c94c7c5: Pull complete [2021-02-04T17:07:16.598Z] 0ef7d3d256c8: Pull complete [2021-02-04T17:07:17.257Z] de9db76c5a1d: Pull complete [2021-02-04T17:07:21.210Z] a35cf1a2eb13: Verifying Checksum [2021-02-04T17:07:21.210Z] a35cf1a2eb13: Download complete [2021-02-04T17:07:23.311Z] bca2f99d35d6: Verifying Checksum [2021-02-04T17:07:23.311Z] bca2f99d35d6: Download complete [2021-02-04T17:07:38.832Z] bca2f99d35d6: Pull complete [2021-02-04T17:07:38.832Z] 93359f2a8cfa: Pull complete [2021-02-04T17:07:39.123Z] 7c6f9722023f: Pull complete [2021-02-04T17:07:49.991Z] a35cf1a2eb13: Pull complete [2021-02-04T17:07:49.991Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2021-02-04T17:07:49.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2021-02-04T17:07:49.991Z] ---> a62c8e92a672 [2021-02-04T17:07:49.991Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-02-04T17:07:49.991Z] ---> Running in b6e8737b1fa4 [2021-02-04T17:07:49.991Z] Removing intermediate container b6e8737b1fa4 [2021-02-04T17:07:49.991Z] ---> e4c76246e016 [2021-02-04T17:07:49.991Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T17:07:49.991Z] ---> Running in f31f73dac581 [2021-02-04T17:07:51.553Z] Removing intermediate container f31f73dac581 [2021-02-04T17:07:51.553Z] ---> 5d4239228bb4 [2021-02-04T17:07:51.553Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-02-04T17:07:51.553Z] ---> Running in 383a7accffff [2021-02-04T17:07:52.651Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T17:07:53.661Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T17:07:55.166Z] (1/14) Installing libmagic (5.38-r0) [2021-02-04T17:07:55.449Z] (2/14) Installing file (5.38-r0) [2021-02-04T17:07:55.449Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-02-04T17:07:55.753Z] (4/14) Installing g++ (9.3.0-r2) [2021-02-04T17:08:01.310Z] (5/14) Installing fortify-headers (1.1-r0) [2021-02-04T17:08:01.310Z] (6/14) Installing patch (2.7.6-r6) [2021-02-04T17:08:01.728Z] (7/14) Installing build-base (0.5-r2) [2021-02-04T17:08:01.728Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-02-04T17:08:01.728Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-02-04T17:08:02.088Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-02-04T17:08:03.112Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-02-04T17:08:03.112Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-02-04T17:08:03.112Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-02-04T17:08:03.112Z] (14/14) Installing openssh (8.3_p1-r1) [2021-02-04T17:08:03.400Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T17:08:03.400Z] OK: 237 MiB in 53 packages [2021-02-04T17:08:08.788Z] Removing intermediate container 383a7accffff [2021-02-04T17:08:08.788Z] ---> c88b456b9810 [2021-02-04T17:08:08.788Z] Step 6/8 : WORKDIR /device-virtual-go [2021-02-04T17:08:08.788Z] ---> Running in 72c6519d82b8 [2021-02-04T17:08:08.788Z] Removing intermediate container 72c6519d82b8 [2021-02-04T17:08:08.788Z] ---> ca4d0b4681a9 [2021-02-04T17:08:08.788Z] Step 7/8 : COPY . . [2021-02-04T17:08:10.467Z] ---> 62510433645d [2021-02-04T17:08:10.467Z] Step 8/8 : RUN go mod download [2021-02-04T17:08:10.467Z] ---> Running in 25f10915140e [2021-02-04T17:08:50.846Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-25026 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws [2021-02-04T17:08:50.898Z] Running in /w/workspace/device-virtual-go/40 [Pipeline] { [Pipeline] checkout [2021-02-04T17:08:57.198Z] using credential edgex-jenkins-ssh [2021-02-04T17:08:57.258Z] Cloning the remote Git repository [2021-02-04T17:08:57.327Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-02-04T17:08:57.462Z] > git init /w/workspace/device-virtual-go/40 # timeout=10 [2021-02-04T17:08:57.548Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-02-04T17:08:57.549Z] > git --version # timeout=10 [2021-02-04T17:08:57.574Z] > git --version # 'git version 2.17.1' [2021-02-04T17:08:57.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T17:08:57.673Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T17:08:58.499Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-02-04T17:08:58.528Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-02-04T17:08:58.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-02-04T17:08:58.601Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-02-04T17:08:58.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-02-04T17:08:58.615Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-02-04T17:08:59.060Z] Removing intermediate container 25f10915140e [2021-02-04T17:08:59.060Z] ---> 467a8bd3dd19 [2021-02-04T17:08:59.060Z] Successfully built 467a8bd3dd19 [2021-02-04T17:08:59.060Z] Successfully tagged ci-base-image-x86_64:latest [2021-02-04T17:08:59.084Z] Checking out Revision 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 (master) [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:08:59.764Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T17:09:00.061Z] . [Pipeline] withDockerContainer [2021-02-04T17:08:59.118Z] > git config core.sparsecheckout # timeout=10 [2021-02-04T17:08:59.140Z] > git checkout -f 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 # timeout=10 [2021-02-04T17:09:00.534Z] prd-centos7-docker-4c-2g-25021 does not seem to be running inside a container [2021-02-04T17:09:00.770Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/40 -v /w/workspace/device-virtual-go/40:/w/workspace/device-virtual-go/40:rw,z -v /w/workspace/device-virtual-go/40@tmp:/w/workspace/device-virtual-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T17:09:02.740Z] $ docker top 708ad45e8ffd7df7bc59b25cfcabed4d606c54b5fc2d333f1cb07f664be2abf2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T17:09:03.913Z] + go version [2021-02-04T17:09:03.913Z] go version go1.15.5 linux/amd64 [Pipeline] } [2021-02-04T17:09:03.990Z] $ docker stop --time=1 708ad45e8ffd7df7bc59b25cfcabed4d606c54b5fc2d333f1cb07f664be2abf2 [2021-02-04T17:09:03.999Z] Commit message: "Merge pull request #161 from FelixTing/issue-157" [2021-02-04T17:09:06.332Z] $ docker rm -f 708ad45e8ffd7df7bc59b25cfcabed4d606c54b5fc2d333f1cb07f664be2abf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T17:09:07.689Z] + docker inspect -f . ci-base-image-x86_64 [2021-02-04T17:09:07.689Z] . [Pipeline] withDockerContainer [2021-02-04T17:09:09.491Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-02-04T17:09:09.691Z] prd-centos7-docker-4c-2g-25021 does not seem to be running inside a container [2021-02-04T17:09:10.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/40 -v /w/workspace/device-virtual-go/40:/w/workspace/device-virtual-go/40:rw,z -v /w/workspace/device-virtual-go/40@tmp:/w/workspace/device-virtual-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-02-04T17:09:13.132Z] $ docker top 961d277dee8b62f7eb8483058379c3da626b92686b65d75bc21cfcc9f48c1e06 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-02-04T17:09:13.774Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-02-04T17:09:14.127Z] + true [2021-02-04T17:09:14.127Z] + sudo service docker restart [2021-02-04T17:09:14.661Z] + make test [2021-02-04T17:09:14.661Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T17:09:16.953Z] provisioning config files... [2021-02-04T17:09:17.004Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/40@tmp/config3707921756016030586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:09:17.421Z] ---> docker-login.sh [2021-02-04T17:09:17.421Z] nexus3.edgexfoundry.org:10001 [2021-02-04T17:09:18.296Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-02-04T17:09:18.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:09:18.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:09:18.685Z] Configure a credential helper to remove this warning. See [2021-02-04T17:09:18.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:09:18.685Z] [2021-02-04T17:09:18.685Z] Login Succeeded [2021-02-04T17:09:18.685Z] nexus3.edgexfoundry.org:10002 [2021-02-04T17:09:18.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:09:19.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:09:19.249Z] Configure a credential helper to remove this warning. See [2021-02-04T17:09:19.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:09:19.249Z] [2021-02-04T17:09:19.249Z] Login Succeeded [2021-02-04T17:09:19.249Z] nexus3.edgexfoundry.org:10003 [2021-02-04T17:09:19.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:09:19.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:09:19.813Z] Configure a credential helper to remove this warning. See [2021-02-04T17:09:19.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:09:19.813Z] [2021-02-04T17:09:19.813Z] Login Succeeded [2021-02-04T17:09:19.813Z] nexus3.edgexfoundry.org:10004 [2021-02-04T17:09:20.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:09:20.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:09:20.394Z] Configure a credential helper to remove this warning. See [2021-02-04T17:09:20.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:09:20.394Z] [2021-02-04T17:09:20.394Z] Login Succeeded [2021-02-04T17:09:20.394Z] docker.io [2021-02-04T17:09:20.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:09:21.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:09:21.276Z] Configure a credential helper to remove this warning. See [2021-02-04T17:09:21.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:09:21.276Z] [2021-02-04T17:09:21.276Z] Login Succeeded [2021-02-04T17:09:21.276Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T17:09:21.300Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-02-04T17:09:21.987Z] ========================================================= [2021-02-04T17:09:21.987Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2021-02-04T17:09:21.987Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:09:22.398Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2021-02-04T17:09:22.675Z] Sending build context to Docker daemon 468.5kB [2021-02-04T17:09:22.675Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T17:09:22.675Z] Step 2/8 : FROM ${BASE} [2021-02-04T17:09:23.684Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-02-04T17:09:23.684Z] 5f621e34cdf4: Pulling fs layer [2021-02-04T17:09:23.684Z] a4357932f1b6: Pulling fs layer [2021-02-04T17:09:23.684Z] 18c013af1878: Pulling fs layer [2021-02-04T17:09:23.684Z] 00ac8860ef70: Pulling fs layer [2021-02-04T17:09:23.684Z] 63d7cb157983: Pulling fs layer [2021-02-04T17:09:23.684Z] b116817d02f9: Pulling fs layer [2021-02-04T17:09:23.684Z] 745a02a5169b: Pulling fs layer [2021-02-04T17:09:23.684Z] 00ac8860ef70: Waiting [2021-02-04T17:09:23.684Z] 63d7cb157983: Waiting [2021-02-04T17:09:23.684Z] b116817d02f9: Waiting [2021-02-04T17:09:23.684Z] 745a02a5169b: Waiting [2021-02-04T17:09:23.684Z] 18c013af1878: Verifying Checksum [2021-02-04T17:09:23.684Z] 18c013af1878: Download complete [2021-02-04T17:09:23.684Z] a4357932f1b6: Download complete [2021-02-04T17:09:23.684Z] 63d7cb157983: Verifying Checksum [2021-02-04T17:09:23.684Z] 63d7cb157983: Download complete [2021-02-04T17:09:24.284Z] b116817d02f9: Download complete [2021-02-04T17:09:24.575Z] 5f621e34cdf4: Verifying Checksum [2021-02-04T17:09:24.575Z] 5f621e34cdf4: Download complete [2021-02-04T17:09:25.179Z] 5f621e34cdf4: Pull complete [2021-02-04T17:09:25.790Z] a4357932f1b6: Pull complete [2021-02-04T17:09:26.415Z] 18c013af1878: Pull complete [2021-02-04T17:09:27.886Z] 745a02a5169b: Verifying Checksum [2021-02-04T17:09:27.886Z] 745a02a5169b: Download complete [2021-02-04T17:09:28.878Z] 00ac8860ef70: Verifying Checksum [2021-02-04T17:09:28.878Z] 00ac8860ef70: Download complete [2021-02-04T17:09:39.064Z] 00ac8860ef70: Pull complete [2021-02-04T17:09:39.064Z] 63d7cb157983: Pull complete [2021-02-04T17:09:39.338Z] b116817d02f9: Pull complete [2021-02-04T17:09:43.679Z] 745a02a5169b: Pull complete [2021-02-04T17:09:43.679Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2021-02-04T17:09:43.679Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2021-02-04T17:09:43.679Z] ---> b7e6874047d6 [2021-02-04T17:09:43.679Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2021-02-04T17:09:46.308Z] ---> Running in 7da1266ad8e8 [2021-02-04T17:09:46.584Z] Removing intermediate container 7da1266ad8e8 [2021-02-04T17:09:46.584Z] ---> 7c005b549020 [2021-02-04T17:09:46.584Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T17:09:46.859Z] ---> Running in cf96a1746b88 [2021-02-04T17:09:49.495Z] Removing intermediate container cf96a1746b88 [2021-02-04T17:09:49.495Z] ---> bf7c7b2b78a2 [2021-02-04T17:09:49.495Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2021-02-04T17:09:49.495Z] ---> Running in 8245229b269c [2021-02-04T17:09:50.937Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T17:09:51.532Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T17:09:52.511Z] (1/14) Installing libmagic (5.38-r0) [2021-02-04T17:09:52.511Z] (2/14) Installing file (5.38-r0) [2021-02-04T17:09:52.786Z] (3/14) Installing libc-dev (0.7.2-r3) [2021-02-04T17:09:52.786Z] (4/14) Installing g++ (9.3.0-r2) [2021-02-04T17:09:57.090Z] (5/14) Installing fortify-headers (1.1-r0) [2021-02-04T17:09:57.090Z] (6/14) Installing patch (2.7.6-r6) [2021-02-04T17:09:57.090Z] (7/14) Installing build-base (0.5-r2) [2021-02-04T17:09:57.090Z] (8/14) Installing openssh-keygen (8.3_p1-r1) [2021-02-04T17:09:57.090Z] (9/14) Installing libedit (20191231.3.1-r0) [2021-02-04T17:09:57.090Z] (10/14) Installing openssh-client (8.3_p1-r1) [2021-02-04T17:09:57.090Z] (11/14) Installing openssh-sftp-server (8.3_p1-r1) [2021-02-04T17:09:57.362Z] (12/14) Installing openssh-server-common (8.3_p1-r1) [2021-02-04T17:09:57.362Z] (13/14) Installing openssh-server (8.3_p1-r1) [2021-02-04T17:09:57.362Z] (14/14) Installing openssh (8.3_p1-r1) [2021-02-04T17:09:57.637Z] Executing busybox-1.31.1-r19.trigger [2021-02-04T17:09:57.637Z] OK: 221 MiB in 53 packages [2021-02-04T17:09:58.388Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-02-04T17:09:58.716Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.935s coverage: 64.4% of statements [2021-02-04T17:09:59.383Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2021-02-04T17:10:01.961Z] Removing intermediate container 8245229b269c [2021-02-04T17:10:01.961Z] ---> d3cb629948e5 [2021-02-04T17:10:01.961Z] Step 6/8 : WORKDIR /device-virtual-go [2021-02-04T17:10:01.961Z] ---> Running in c5b0da8e70f5 [2021-02-04T17:10:02.236Z] Removing intermediate container c5b0da8e70f5 [2021-02-04T17:10:02.236Z] ---> 3abceb2500b3 [2021-02-04T17:10:02.236Z] Step 7/8 : COPY . . [2021-02-04T17:10:03.224Z] ---> 0bf4abfa38b1 [2021-02-04T17:10:03.224Z] Step 8/8 : RUN go mod download [2021-02-04T17:10:03.224Z] ---> Running in 2be7b09d662e [2021-02-04T17:10:08.213Z] gofmt -l . [2021-02-04T17:10:08.214Z] [ "`gofmt -l .`" = "" ] [2021-02-04T17:10:08.214Z] ./bin/test-attribution-txt.sh [2021-02-04T17:10:10.303Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-04T17:10:10.623Z] $ docker stop --time=1 961d277dee8b62f7eb8483058379c3da626b92686b65d75bc21cfcc9f48c1e06 [2021-02-04T17:10:13.202Z] $ docker rm -f 961d277dee8b62f7eb8483058379c3da626b92686b65d75bc21cfcc9f48c1e06 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T17:10:14.345Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-04T17:10:15.140Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-02-04T17:10:16.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-04T17:10:16.842Z] + ls -al . [2021-02-04T17:10:16.842Z] total 124 [2021-02-04T17:10:16.842Z] drwxrwxr-x. 7 jenkins jenkins 4096 Feb 4 17:10 . [2021-02-04T17:10:16.842Z] drwxrwxr-x. 4 jenkins jenkins 30 Feb 4 17:06 .. [2021-02-04T17:10:16.842Z] -rw-rw-r--. 1 jenkins jenkins 6713 Feb 4 17:06 Attribution.txt [2021-02-04T17:10:16.842Z] drwxrwxr-x. 2 jenkins jenkins 64 Feb 4 17:06 bin [2021-02-04T17:10:16.842Z] drwxrwxr-x. 3 jenkins jenkins 32 Feb 4 17:06 cmd [2021-02-04T17:10:16.842Z] -rw-r--r--. 1 jenkins jenkins 47242 Feb 4 17:09 coverage.out [2021-02-04T17:10:16.842Z] -rw-rw-r--. 1 jenkins jenkins 1851 Feb 4 17:06 Dockerfile [2021-02-04T17:10:16.842Z] -rw-rw-r--. 1 jenkins jenkins 961 Feb 4 17:06 Dockerfile.build [2021-02-04T17:10:16.842Z] drwxrwxr-x. 8 jenkins jenkins 162 Feb 4 17:07 .git [2021-02-04T17:10:16.842Z] drwxrwxr-x. 2 jenkins jenkins 103 Feb 4 17:06 .github [2021-02-04T17:10:16.842Z] -rw-rw-r--. 1 jenkins jenkins 258 Feb 4 17:06 .gitignore [2021-02-04T17:10:16.842Z] -rw-r--r--. 1 jenkins jenkins 856 Feb 4 17:10 go.mod [2021-02-04T17:10:16.842Z] -rw-r--r--. 1 jenkins jenkins 16346 Feb 4 17:10 go.sum [2021-02-04T17:10:16.842Z] drwxrwxr-x. 3 jenkins jenkins 20 Feb 4 17:06 internal [2021-02-04T17:10:16.842Z] -rw-rw-r--. 1 jenkins jenkins 660 Feb 4 17:06 Jenkinsfile [2021-02-04T17:10:16.842Z] -rw-rw-r--. 1 jenkins jenkins 11340 Feb 4 17:06 LICENSE [2021-02-04T17:10:16.842Z] -rw-rw-r--. 1 jenkins jenkins 873 Feb 4 17:06 Makefile [2021-02-04T17:10:16.842Z] -rw-rw-r--. 1 jenkins jenkins 918 Feb 4 17:06 README.md [2021-02-04T17:10:16.842Z] -rw-rw-r--. 1 jenkins jenkins 11 Feb 4 17:04 VERSION [2021-02-04T17:10:16.842Z] -rw-rw-r--. 1 jenkins jenkins 235 Feb 4 17:06 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:17.213Z] + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 --label arch=amd64 --label version=1.3.2-dev.1 . [2021-02-04T17:10:17.510Z] Sending build context to Docker daemon 534.5kB [2021-02-04T17:10:17.510Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T17:10:17.510Z] Step 2/22 : FROM ${BASE} AS builder [2021-02-04T17:10:17.510Z] ---> 467a8bd3dd19 [2021-02-04T17:10:17.510Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-02-04T17:10:17.800Z] ---> Running in 3db3db571da9 [2021-02-04T17:10:18.432Z] Removing intermediate container 3db3db571da9 [2021-02-04T17:10:18.432Z] ---> b321b21cb49e [2021-02-04T17:10:18.432Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T17:10:18.432Z] ---> Running in 4eee0b25fc47 [2021-02-04T17:10:19.409Z] Removing intermediate container 4eee0b25fc47 [2021-02-04T17:10:19.409Z] ---> aedd178b1544 [2021-02-04T17:10:19.409Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-02-04T17:10:19.409Z] ---> Running in aa1ab6094608 [2021-02-04T17:10:19.675Z] Removing intermediate container aa1ab6094608 [2021-02-04T17:10:19.675Z] ---> 335f4681668e [2021-02-04T17:10:19.675Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T17:10:19.948Z] ---> Running in 8ddf88267523 [2021-02-04T17:10:21.495Z] Removing intermediate container 8ddf88267523 [2021-02-04T17:10:21.495Z] ---> c05a4c3789d0 [2021-02-04T17:10:21.495Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T17:10:21.495Z] ---> Running in 5a5b8c250f70 [2021-02-04T17:10:23.377Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-02-04T17:10:23.981Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-02-04T17:10:25.027Z] OK: 237 MiB in 53 packages [2021-02-04T17:10:25.657Z] Removing intermediate container 5a5b8c250f70 [2021-02-04T17:10:25.657Z] ---> d8d46e67d649 [2021-02-04T17:10:25.657Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-02-04T17:10:25.657Z] ---> Running in b15cac618254 [2021-02-04T17:10:25.940Z] Removing intermediate container b15cac618254 [2021-02-04T17:10:25.941Z] ---> 72c17ce5195b [2021-02-04T17:10:25.941Z] Step 9/22 : COPY . . [2021-02-04T17:10:26.925Z] ---> 84bd0eeb8bd1 [2021-02-04T17:10:26.925Z] Step 10/22 : ARG MAKE='make build' [2021-02-04T17:10:27.350Z] ---> Running in c30977191bca [2021-02-04T17:10:27.629Z] Removing intermediate container c30977191bca [2021-02-04T17:10:27.629Z] ---> fd5bd8272712 [2021-02-04T17:10:27.629Z] Step 11/22 : RUN $MAKE [2021-02-04T17:10:27.629Z] ---> Running in e33c7697c756 [2021-02-04T17:10:29.250Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.1" -o cmd/device-virtual ./cmd [2021-02-04T17:10:30.089Z] Removing intermediate container 2be7b09d662e [2021-02-04T17:10:30.089Z] ---> 3b8766058933 [2021-02-04T17:10:30.089Z] Successfully built 3b8766058933 [2021-02-04T17:10:30.089Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:30.432Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T17:10:30.432Z] . [Pipeline] withDockerContainer [2021-02-04T17:10:30.723Z] prd-ubuntu18.04-docker-arm64-4c-16g-25026 does not seem to be running inside a container [2021-02-04T17:10:30.818Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/40 -v /w/workspace/device-virtual-go/40:/w/workspace/device-virtual-go/40:rw,z -v /w/workspace/device-virtual-go/40@tmp:/w/workspace/device-virtual-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-04T17:10:32.526Z] $ docker top 58d651f10abf0684a3755acdbb8171228dcbd97623939069d0295be63e699d19 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T17:10:33.573Z] + go version [2021-02-04T17:10:33.573Z] go version go1.15.5 linux/arm64 [Pipeline] } [2021-02-04T17:10:33.606Z] $ docker stop --time=1 58d651f10abf0684a3755acdbb8171228dcbd97623939069d0295be63e699d19 [2021-02-04T17:10:35.745Z] $ docker rm -f 58d651f10abf0684a3755acdbb8171228dcbd97623939069d0295be63e699d19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:10:36.746Z] + docker inspect -f . ci-base-image-arm64 [2021-02-04T17:10:36.746Z] . [Pipeline] withDockerContainer [2021-02-04T17:10:37.012Z] prd-ubuntu18.04-docker-arm64-4c-16g-25026 does not seem to be running inside a container [2021-02-04T17:10:37.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/40 -v /w/workspace/device-virtual-go/40:/w/workspace/device-virtual-go/40:rw,z -v /w/workspace/device-virtual-go/40@tmp:/w/workspace/device-virtual-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-02-04T17:10:38.704Z] $ docker top 7c8921383b5f691d28d4df7b2c6f082836b3c7ef71347d52958199311417d392 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T17:10:39.822Z] + make test [2021-02-04T17:10:39.822Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-02-04T17:10:41.270Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-02-04T17:10:56.989Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-02-04T17:11:02.506Z] Removing intermediate container e33c7697c756 [2021-02-04T17:11:02.506Z] ---> 3c8a89281e10 [2021-02-04T17:11:02.506Z] Step 12/22 : FROM alpine:3.12 [2021-02-04T17:11:02.506Z] 3.12: Pulling from library/alpine [2021-02-04T17:11:02.811Z] 801bfaa63ef2: Pulling fs layer [2021-02-04T17:11:03.092Z] 801bfaa63ef2: Verifying Checksum [2021-02-04T17:11:03.092Z] 801bfaa63ef2: Download complete [2021-02-04T17:11:04.169Z] 801bfaa63ef2: Pull complete [2021-02-04T17:11:04.169Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-02-04T17:11:04.169Z] Status: Downloaded newer image for alpine:3.12 [2021-02-04T17:11:04.169Z] ---> 389fef711851 [2021-02-04T17:11:04.169Z] Step 13/22 : ENV APP_PORT=49990 [2021-02-04T17:11:04.169Z] ---> Running in 729683dc0b75 [2021-02-04T17:11:04.818Z] Removing intermediate container 729683dc0b75 [2021-02-04T17:11:04.818Z] ---> e76d8959c999 [2021-02-04T17:11:04.818Z] Step 14/22 : EXPOSE $APP_PORT [2021-02-04T17:11:04.818Z] ---> Running in 1d725672c778 [2021-02-04T17:11:05.942Z] Removing intermediate container 1d725672c778 [2021-02-04T17:11:05.942Z] ---> cf12debf7d48 [2021-02-04T17:11:05.942Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-02-04T17:11:07.887Z] ---> f13882faead4 [2021-02-04T17:11:07.887Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-02-04T17:11:08.527Z] ---> 2babb2131b20 [2021-02-04T17:11:08.527Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-02-04T17:11:09.166Z] ---> 5c27a1ed0626 [2021-02-04T17:11:09.166Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-02-04T17:11:09.471Z] ---> Running in 74120be8ebdf [2021-02-04T17:11:09.842Z] Removing intermediate container 74120be8ebdf [2021-02-04T17:11:09.842Z] ---> 1d8da7546ee8 [2021-02-04T17:11:09.842Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-04T17:11:10.128Z] ---> Running in f8a7450a1909 [2021-02-04T17:11:10.754Z] Removing intermediate container f8a7450a1909 [2021-02-04T17:11:10.754Z] ---> 9128119420bd [2021-02-04T17:11:10.754Z] Step 20/22 : LABEL arch=amd64 [2021-02-04T17:11:11.041Z] ---> Running in 5332f5737dcf [2021-02-04T17:11:11.741Z] Removing intermediate container 5332f5737dcf [2021-02-04T17:11:11.741Z] ---> e95d1c7e6822 [2021-02-04T17:11:11.741Z] Step 21/22 : LABEL git_sha=2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [2021-02-04T17:11:12.022Z] ---> Running in a650853353b1 [2021-02-04T17:11:12.626Z] Removing intermediate container a650853353b1 [2021-02-04T17:11:12.626Z] ---> b7c7fe478914 [2021-02-04T17:11:12.626Z] Step 22/22 : LABEL version=1.3.2-dev.1 [2021-02-04T17:11:13.213Z] ---> Running in cad572364292 [2021-02-04T17:11:13.509Z] Removing intermediate container cad572364292 [2021-02-04T17:11:13.509Z] ---> bde6ca145b64 [2021-02-04T17:11:13.509Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-04T17:11:13.509Z] Successfully built bde6ca145b64 [2021-02-04T17:11:13.509Z] Successfully tagged docker-device-virtual-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T17:11:13.845Z] provisioning config files... [2021-02-04T17:11:13.887Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/40@tmp/config4482829465078584061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:11:14.339Z] ---> docker-login.sh [2021-02-04T17:11:14.339Z] nexus3.edgexfoundry.org:10001 [2021-02-04T17:11:14.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:11:14.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:11:14.917Z] Configure a credential helper to remove this warning. See [2021-02-04T17:11:14.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:11:14.917Z] [2021-02-04T17:11:14.917Z] Login Succeeded [2021-02-04T17:11:14.917Z] nexus3.edgexfoundry.org:10002 [2021-02-04T17:11:15.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:11:15.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:11:15.481Z] Configure a credential helper to remove this warning. See [2021-02-04T17:11:15.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:11:15.481Z] [2021-02-04T17:11:15.481Z] Login Succeeded [2021-02-04T17:11:15.481Z] nexus3.edgexfoundry.org:10003 [2021-02-04T17:11:15.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:11:16.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:11:16.078Z] Configure a credential helper to remove this warning. See [2021-02-04T17:11:16.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:11:16.078Z] [2021-02-04T17:11:16.078Z] Login Succeeded [2021-02-04T17:11:16.078Z] nexus3.edgexfoundry.org:10004 [2021-02-04T17:11:16.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:11:16.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:11:16.431Z] Configure a credential helper to remove this warning. See [2021-02-04T17:11:16.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:11:16.431Z] [2021-02-04T17:11:16.431Z] Login Succeeded [2021-02-04T17:11:16.431Z] docker.io [2021-02-04T17:11:16.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:11:17.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:11:17.438Z] Configure a credential helper to remove this warning. See [2021-02-04T17:11:17.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:11:17.438Z] [2021-02-04T17:11:17.438Z] Login Succeeded [2021-02-04T17:11:17.438Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T17:11:17.481Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T17:11:17.717Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go with the following tags: [2021-02-04T17:11:17.717Z] 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [2021-02-04T17:11:17.717Z] latest [2021-02-04T17:11:17.717Z] 1.3.2-dev.1 [2021-02-04T17:11:17.717Z] 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436-1.3.2-dev.1 [2021-02-04T17:11:17.717Z] master [2021-02-04T17:11:17.717Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:18.450Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:19.145Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [2021-02-04T17:11:19.145Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-02-04T17:11:19.145Z] 533b90e0ff79: Preparing [2021-02-04T17:11:19.145Z] 1fdc2d35ae1f: Preparing [2021-02-04T17:11:19.145Z] f4c4f9c6a8a0: Preparing [2021-02-04T17:11:19.145Z] 777b2c648970: Preparing [2021-02-04T17:11:19.442Z] 777b2c648970: Layer already exists [2021-02-04T17:11:19.442Z] 1fdc2d35ae1f: Pushed [2021-02-04T17:11:19.442Z] 533b90e0ff79: Pushed [2021-02-04T17:11:22.305Z] f4c4f9c6a8a0: Pushed [2021-02-04T17:11:22.574Z] 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436: digest: sha256:5c3d50466a00096356086803763600b047b1b52cf7d0e114110cd1ac27a5d1f6 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:22.945Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:23.601Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-02-04T17:11:23.601Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-02-04T17:11:23.601Z] 533b90e0ff79: Preparing [2021-02-04T17:11:23.601Z] 1fdc2d35ae1f: Preparing [2021-02-04T17:11:23.601Z] f4c4f9c6a8a0: Preparing [2021-02-04T17:11:23.601Z] 777b2c648970: Preparing [2021-02-04T17:11:23.601Z] 533b90e0ff79: Layer already exists [2021-02-04T17:11:23.601Z] 1fdc2d35ae1f: Layer already exists [2021-02-04T17:11:23.601Z] f4c4f9c6a8a0: Layer already exists [2021-02-04T17:11:23.601Z] 777b2c648970: Layer already exists [2021-02-04T17:11:23.602Z] latest: digest: sha256:5c3d50466a00096356086803763600b047b1b52cf7d0e114110cd1ac27a5d1f6 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:24.068Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:24.866Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.1 [2021-02-04T17:11:25.146Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-02-04T17:11:25.146Z] 533b90e0ff79: Preparing [2021-02-04T17:11:25.146Z] 1fdc2d35ae1f: Preparing [2021-02-04T17:11:25.146Z] f4c4f9c6a8a0: Preparing [2021-02-04T17:11:25.146Z] 777b2c648970: Preparing [2021-02-04T17:11:25.146Z] f4c4f9c6a8a0: Layer already exists [2021-02-04T17:11:25.146Z] 1fdc2d35ae1f: Layer already exists [2021-02-04T17:11:25.146Z] 777b2c648970: Layer already exists [2021-02-04T17:11:25.146Z] 533b90e0ff79: Layer already exists [2021-02-04T17:11:25.146Z] 1.3.2-dev.1: digest: sha256:5c3d50466a00096356086803763600b047b1b52cf7d0e114110cd1ac27a5d1f6 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:25.574Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436-1.3.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:26.220Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436-1.3.2-dev.1 [2021-02-04T17:11:26.220Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-02-04T17:11:26.220Z] 533b90e0ff79: Preparing [2021-02-04T17:11:26.220Z] 1fdc2d35ae1f: Preparing [2021-02-04T17:11:26.220Z] f4c4f9c6a8a0: Preparing [2021-02-04T17:11:26.220Z] 777b2c648970: Preparing [2021-02-04T17:11:26.220Z] 777b2c648970: Layer already exists [2021-02-04T17:11:26.220Z] 533b90e0ff79: Layer already exists [2021-02-04T17:11:26.220Z] f4c4f9c6a8a0: Layer already exists [2021-02-04T17:11:26.220Z] 1fdc2d35ae1f: Layer already exists [2021-02-04T17:11:26.492Z] 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436-1.3.2-dev.1: digest: sha256:5c3d50466a00096356086803763600b047b1b52cf7d0e114110cd1ac27a5d1f6 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:26.946Z] + docker tag docker-device-virtual-go nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:27.443Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [2021-02-04T17:11:27.739Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go] [2021-02-04T17:11:27.739Z] 533b90e0ff79: Preparing [2021-02-04T17:11:27.739Z] 1fdc2d35ae1f: Preparing [2021-02-04T17:11:27.739Z] f4c4f9c6a8a0: Preparing [2021-02-04T17:11:27.739Z] 777b2c648970: Preparing [2021-02-04T17:11:27.739Z] 777b2c648970: Layer already exists [2021-02-04T17:11:27.739Z] 533b90e0ff79: Layer already exists [2021-02-04T17:11:27.739Z] f4c4f9c6a8a0: Layer already exists [2021-02-04T17:11:27.739Z] 1fdc2d35ae1f: Layer already exists [2021-02-04T17:11:27.739Z] master: digest: sha256:5c3d50466a00096356086803763600b047b1b52cf7d0e114110cd1ac27a5d1f6 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T17:11:27.934Z] ===================================================== [Pipeline] echo [2021-02-04T17:11:27.981Z] taggedImages: [2021-02-04T17:11:27.981Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [2021-02-04T17:11:27.981Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:latest [2021-02-04T17:11:27.981Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:1.3.2-dev.1 [2021-02-04T17:11:27.981Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436-1.3.2-dev.1 [2021-02-04T17:11:27.981Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2021-02-04T17:11:28.320Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-02-04T17:11:28.320Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.498s coverage: 64.4% of statements [2021-02-04T17:11:28.320Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-02-04T17:11:35.067Z] gofmt -l . [2021-02-04T17:11:35.067Z] [ "`gofmt -l .`" = "" ] [2021-02-04T17:11:35.067Z] ./bin/test-attribution-txt.sh [2021-02-04T17:11:36.051Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-02-04T17:11:36.357Z] $ docker stop --time=1 7c8921383b5f691d28d4df7b2c6f082836b3c7ef71347d52958199311417d392 [2021-02-04T17:11:38.563Z] $ docker rm -f 7c8921383b5f691d28d4df7b2c6f082836b3c7ef71347d52958199311417d392 [Pipeline] // withDockerContainer [Pipeline] sh [2021-02-04T17:11:39.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-02-04T17:11:39.626Z] Warning: overwriting stash ‘coverage-report’ [2021-02-04T17:11:40.383Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-02-04T17:11:41.141Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-02-04T17:11:41.542Z] + ls -al . [2021-02-04T17:11:41.542Z] total 148 [2021-02-04T17:11:41.542Z] drwxrwxr-x 7 jenkins jenkins 4096 Feb 4 17:11 . [2021-02-04T17:11:41.542Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 4 17:08 .. [2021-02-04T17:11:41.542Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 4 17:09 .git [2021-02-04T17:11:41.542Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 17:08 .github [2021-02-04T17:11:41.542Z] -rw-rw-r-- 1 jenkins jenkins 258 Feb 4 17:08 .gitignore [2021-02-04T17:11:41.542Z] -rw-rw-r-- 1 jenkins jenkins 6713 Feb 4 17:08 Attribution.txt [2021-02-04T17:11:41.542Z] -rw-rw-r-- 1 jenkins jenkins 1851 Feb 4 17:08 Dockerfile [2021-02-04T17:11:41.542Z] -rw-rw-r-- 1 jenkins jenkins 961 Feb 4 17:08 Dockerfile.build [2021-02-04T17:11:41.542Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 4 17:08 Jenkinsfile [2021-02-04T17:11:41.542Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 4 17:08 LICENSE [2021-02-04T17:11:41.542Z] -rw-rw-r-- 1 jenkins jenkins 873 Feb 4 17:08 Makefile [2021-02-04T17:11:41.542Z] -rw-rw-r-- 1 jenkins jenkins 918 Feb 4 17:08 README.md [2021-02-04T17:11:41.542Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 4 17:04 VERSION [2021-02-04T17:11:41.542Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 4 17:08 bin [2021-02-04T17:11:41.542Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 17:08 cmd [2021-02-04T17:11:41.542Z] -rw-r--r-- 1 jenkins jenkins 47242 Feb 4 17:11 coverage.out [2021-02-04T17:11:41.542Z] -rw-r--r-- 1 jenkins jenkins 856 Feb 4 17:11 go.mod [2021-02-04T17:11:41.542Z] -rw-r--r-- 1 jenkins jenkins 16346 Feb 4 17:11 go.sum [2021-02-04T17:11:41.542Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 4 17:08 internal [2021-02-04T17:11:41.542Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 4 17:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:11:41.928Z] + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 --label arch=arm64 --label version=1.3.2-dev.1 . [2021-02-04T17:11:42.203Z] Sending build context to Docker daemon 533.5kB [2021-02-04T17:11:42.203Z] Step 1/22 : ARG BASE=golang:1.15-alpine3.12 [2021-02-04T17:11:42.203Z] Step 2/22 : FROM ${BASE} AS builder [2021-02-04T17:11:42.203Z] ---> 3b8766058933 [2021-02-04T17:11:42.203Z] Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" [2021-02-04T17:11:42.503Z] ---> Running in 3765ba5397f9 [2021-02-04T17:11:43.122Z] Removing intermediate container 3765ba5397f9 [2021-02-04T17:11:43.122Z] ---> a182a8b370c3 [2021-02-04T17:11:43.122Z] Step 4/22 : ARG ALPINE_PKG_EXTRA="" [2021-02-04T17:11:43.122Z] ---> Running in d07f4fa2f261 [2021-02-04T17:11:43.724Z] Removing intermediate container d07f4fa2f261 [2021-02-04T17:11:43.724Z] ---> 2db45b7601dd [2021-02-04T17:11:43.724Z] Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' [2021-02-04T17:11:43.724Z] ---> Running in 8b6c3f52384e [2021-02-04T17:11:44.318Z] Removing intermediate container 8b6c3f52384e [2021-02-04T17:11:44.318Z] ---> 83545569e217 [2021-02-04T17:11:44.318Z] Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-02-04T17:11:44.318Z] ---> Running in 4bc1c67056e9 [2021-02-04T17:11:46.307Z] Removing intermediate container 4bc1c67056e9 [2021-02-04T17:11:46.307Z] ---> 1a30c4b93be9 [2021-02-04T17:11:46.307Z] Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-02-04T17:11:46.307Z] ---> Running in d4adc5ef15a1 [2021-02-04T17:11:47.285Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-02-04T17:11:48.707Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-02-04T17:11:50.669Z] OK: 221 MiB in 53 packages [2021-02-04T17:11:51.270Z] Removing intermediate container d4adc5ef15a1 [2021-02-04T17:11:51.270Z] ---> f8e8dbff3b5d [2021-02-04T17:11:51.270Z] Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go [2021-02-04T17:11:51.540Z] ---> Running in 7977233d2c10 [2021-02-04T17:11:52.134Z] Removing intermediate container 7977233d2c10 [2021-02-04T17:11:52.134Z] ---> 99503bfa6cc8 [2021-02-04T17:11:52.134Z] Step 9/22 : COPY . . [2021-02-04T17:11:52.753Z] ---> 6c80f5abb21c [2021-02-04T17:11:52.753Z] Step 10/22 : ARG MAKE='make build' [2021-02-04T17:11:53.023Z] ---> Running in 397818bfe419 [2021-02-04T17:11:53.294Z] Removing intermediate container 397818bfe419 [2021-02-04T17:11:53.294Z] ---> c44fc745970e [2021-02-04T17:11:53.294Z] Step 11/22 : RUN $MAKE [2021-02-04T17:11:53.564Z] ---> Running in a12fcb04434b [2021-02-04T17:11:54.542Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.1" -o cmd/device-virtual ./cmd [2021-02-04T17:12:26.950Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2021-02-04T17:12:33.644Z] Removing intermediate container a12fcb04434b [2021-02-04T17:12:33.644Z] ---> ad219596db7f [2021-02-04T17:12:33.644Z] Step 12/22 : FROM alpine:3.12 [2021-02-04T17:12:33.919Z] 3.12: Pulling from library/alpine [2021-02-04T17:12:34.199Z] 159e5727ea61: Pulling fs layer [2021-02-04T17:12:34.474Z] 159e5727ea61: Verifying Checksum [2021-02-04T17:12:34.474Z] 159e5727ea61: Download complete [2021-02-04T17:12:35.070Z] 159e5727ea61: Pull complete [2021-02-04T17:12:35.070Z] Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 [2021-02-04T17:12:35.070Z] Status: Downloaded newer image for alpine:3.12 [2021-02-04T17:12:35.070Z] ---> afeebe901d6b [2021-02-04T17:12:35.070Z] Step 13/22 : ENV APP_PORT=49990 [2021-02-04T17:12:35.070Z] ---> Running in 312e85a96bec [2021-02-04T17:12:35.667Z] Removing intermediate container 312e85a96bec [2021-02-04T17:12:35.667Z] ---> 4fd426c1b37a [2021-02-04T17:12:35.667Z] Step 14/22 : EXPOSE $APP_PORT [2021-02-04T17:12:35.667Z] ---> Running in 4f8a263aa536 [2021-02-04T17:12:36.266Z] Removing intermediate container 4f8a263aa536 [2021-02-04T17:12:36.266Z] ---> 719593016bfe [2021-02-04T17:12:36.266Z] Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / [2021-02-04T17:12:37.707Z] ---> 9c93dafa66ab [2021-02-04T17:12:37.707Z] Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / [2021-02-04T17:12:38.303Z] ---> 881a07ff16dc [2021-02-04T17:12:38.303Z] Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / [2021-02-04T17:12:38.898Z] ---> 06491a360f8f [2021-02-04T17:12:38.898Z] Step 18/22 : ENTRYPOINT ["/device-virtual"] [2021-02-04T17:12:38.898Z] ---> Running in 33f5a01879f2 [2021-02-04T17:12:39.495Z] Removing intermediate container 33f5a01879f2 [2021-02-04T17:12:39.495Z] ---> 586ad855cdbe [2021-02-04T17:12:39.495Z] Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-02-04T17:12:39.495Z] ---> Running in a831c4602183 [2021-02-04T17:12:40.091Z] Removing intermediate container a831c4602183 [2021-02-04T17:12:40.091Z] ---> 738aa45b6180 [2021-02-04T17:12:40.091Z] Step 20/22 : LABEL arch=arm64 [2021-02-04T17:12:40.091Z] ---> Running in ccaf0a179707 [2021-02-04T17:12:40.687Z] Removing intermediate container ccaf0a179707 [2021-02-04T17:12:40.687Z] ---> e582abf444ec [2021-02-04T17:12:40.687Z] Step 21/22 : LABEL git_sha=2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [2021-02-04T17:12:40.687Z] ---> Running in 5a68264cab93 [2021-02-04T17:12:41.285Z] Removing intermediate container 5a68264cab93 [2021-02-04T17:12:41.285Z] ---> 9c22ae850a9f [2021-02-04T17:12:41.285Z] Step 22/22 : LABEL version=1.3.2-dev.1 [2021-02-04T17:12:41.285Z] ---> Running in 71d293db156f [2021-02-04T17:12:41.880Z] Removing intermediate container 71d293db156f [2021-02-04T17:12:41.880Z] ---> bd318afda3d3 [2021-02-04T17:12:41.880Z] [Warning] One or more build-args [ARCH] were not consumed [2021-02-04T17:12:41.880Z] Successfully built bd318afda3d3 [2021-02-04T17:12:41.880Z] Successfully tagged docker-device-virtual-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-02-04T17:12:42.346Z] provisioning config files... [2021-02-04T17:12:42.405Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/40@tmp/config4173908941806605070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:12:42.807Z] ---> docker-login.sh [2021-02-04T17:12:42.807Z] nexus3.edgexfoundry.org:10001 [2021-02-04T17:12:43.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:12:43.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:12:43.350Z] Configure a credential helper to remove this warning. See [2021-02-04T17:12:43.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:12:43.350Z] [2021-02-04T17:12:43.350Z] Login Succeeded [2021-02-04T17:12:43.622Z] nexus3.edgexfoundry.org:10002 [2021-02-04T17:12:43.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:12:43.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:12:43.897Z] Configure a credential helper to remove this warning. See [2021-02-04T17:12:43.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:12:43.897Z] [2021-02-04T17:12:43.897Z] Login Succeeded [2021-02-04T17:12:43.897Z] nexus3.edgexfoundry.org:10003 [2021-02-04T17:12:44.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:12:44.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:12:44.492Z] Configure a credential helper to remove this warning. See [2021-02-04T17:12:44.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:12:44.492Z] [2021-02-04T17:12:44.492Z] Login Succeeded [2021-02-04T17:12:44.492Z] nexus3.edgexfoundry.org:10004 [2021-02-04T17:12:45.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:12:45.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:12:45.087Z] Configure a credential helper to remove this warning. See [2021-02-04T17:12:45.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:12:45.087Z] [2021-02-04T17:12:45.087Z] Login Succeeded [2021-02-04T17:12:45.087Z] docker.io [2021-02-04T17:12:45.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-02-04T17:12:45.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-02-04T17:12:45.682Z] Configure a credential helper to remove this warning. See [2021-02-04T17:12:45.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-02-04T17:12:45.682Z] [2021-02-04T17:12:45.952Z] Login Succeeded [2021-02-04T17:12:45.952Z] ---> docker-login.sh ends [Pipeline] } [2021-02-04T17:12:45.969Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T17:12:46.170Z] [edgeXDocker.push] Tagging docker image docker-device-virtual-go-arm64 with the following tags: [2021-02-04T17:12:46.170Z] 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [2021-02-04T17:12:46.170Z] latest [2021-02-04T17:12:46.170Z] 1.3.2-dev.1 [2021-02-04T17:12:46.170Z] 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436-1.3.2-dev.1 [2021-02-04T17:12:46.170Z] master [2021-02-04T17:12:46.170Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:46.675Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:47.012Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [2021-02-04T17:12:47.012Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-02-04T17:12:47.012Z] ae7f70e28337: Preparing [2021-02-04T17:12:47.012Z] 6a5f7ce0e8e6: Preparing [2021-02-04T17:12:47.012Z] 04f7b364b10c: Preparing [2021-02-04T17:12:47.012Z] 379067d0cb53: Preparing [2021-02-04T17:12:47.295Z] 379067d0cb53: Layer already exists [2021-02-04T17:12:47.295Z] 6a5f7ce0e8e6: Pushed [2021-02-04T17:12:47.295Z] ae7f70e28337: Pushed [2021-02-04T17:12:50.688Z] 04f7b364b10c: Pushed [2021-02-04T17:12:50.688Z] 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436: digest: sha256:d21fd4c0c11836297c595dfdc5eedfd003abafd7c834c334b6c13d23223129b3 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:51.033Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:51.368Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-02-04T17:12:51.368Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-02-04T17:12:51.368Z] ae7f70e28337: Preparing [2021-02-04T17:12:51.368Z] 6a5f7ce0e8e6: Preparing [2021-02-04T17:12:51.368Z] 04f7b364b10c: Preparing [2021-02-04T17:12:51.368Z] 379067d0cb53: Preparing [2021-02-04T17:12:51.368Z] ae7f70e28337: Layer already exists [2021-02-04T17:12:51.368Z] 6a5f7ce0e8e6: Layer already exists [2021-02-04T17:12:51.368Z] 04f7b364b10c: Layer already exists [2021-02-04T17:12:51.368Z] 379067d0cb53: Layer already exists [2021-02-04T17:12:51.640Z] latest: digest: sha256:d21fd4c0c11836297c595dfdc5eedfd003abafd7c834c334b6c13d23223129b3 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:51.980Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:52.316Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.1 [2021-02-04T17:12:52.316Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-02-04T17:12:52.316Z] ae7f70e28337: Preparing [2021-02-04T17:12:52.316Z] 6a5f7ce0e8e6: Preparing [2021-02-04T17:12:52.316Z] 04f7b364b10c: Preparing [2021-02-04T17:12:52.316Z] 379067d0cb53: Preparing [2021-02-04T17:12:52.316Z] ae7f70e28337: Layer already exists [2021-02-04T17:12:52.316Z] 04f7b364b10c: Layer already exists [2021-02-04T17:12:52.316Z] 379067d0cb53: Layer already exists [2021-02-04T17:12:52.316Z] 6a5f7ce0e8e6: Layer already exists [2021-02-04T17:12:52.586Z] 1.3.2-dev.1: digest: sha256:d21fd4c0c11836297c595dfdc5eedfd003abafd7c834c334b6c13d23223129b3 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:52.925Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436-1.3.2-dev.1 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:53.262Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436-1.3.2-dev.1 [2021-02-04T17:12:53.262Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-02-04T17:12:53.262Z] ae7f70e28337: Preparing [2021-02-04T17:12:53.262Z] 6a5f7ce0e8e6: Preparing [2021-02-04T17:12:53.262Z] 04f7b364b10c: Preparing [2021-02-04T17:12:53.262Z] 379067d0cb53: Preparing [2021-02-04T17:12:53.262Z] 04f7b364b10c: Layer already exists [2021-02-04T17:12:53.262Z] 6a5f7ce0e8e6: Layer already exists [2021-02-04T17:12:53.262Z] ae7f70e28337: Layer already exists [2021-02-04T17:12:53.262Z] 379067d0cb53: Layer already exists [2021-02-04T17:12:53.533Z] 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436-1.3.2-dev.1: digest: sha256:d21fd4c0c11836297c595dfdc5eedfd003abafd7c834c334b6c13d23223129b3 size: 1155 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:53.892Z] + docker tag docker-device-virtual-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:54.273Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [2021-02-04T17:12:54.273Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64] [2021-02-04T17:12:54.273Z] ae7f70e28337: Preparing [2021-02-04T17:12:54.273Z] 6a5f7ce0e8e6: Preparing [2021-02-04T17:12:54.273Z] 04f7b364b10c: Preparing [2021-02-04T17:12:54.273Z] 379067d0cb53: Preparing [2021-02-04T17:12:54.273Z] 6a5f7ce0e8e6: Layer already exists [2021-02-04T17:12:54.273Z] 379067d0cb53: Layer already exists [2021-02-04T17:12:54.273Z] 04f7b364b10c: Layer already exists [2021-02-04T17:12:54.273Z] ae7f70e28337: Layer already exists [2021-02-04T17:12:54.543Z] master: digest: sha256:d21fd4c0c11836297c595dfdc5eedfd003abafd7c834c334b6c13d23223129b3 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-02-04T17:12:54.743Z] ===================================================== [Pipeline] echo [2021-02-04T17:12:54.792Z] taggedImages: [2021-02-04T17:12:54.792Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [2021-02-04T17:12:54.792Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:latest [2021-02-04T17:12:54.792Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:1.3.2-dev.1 [2021-02-04T17:12:54.792Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:2f15e3af98f8bac5a7e4be780f30d2ee83e8c436-1.3.2-dev.1 [2021-02-04T17:12:54.792Z] - nexus3.edgexfoundry.org:10004/docker-device-virtual-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-02-04T17:12:56.201Z] provisioning config files... [2021-02-04T17:12:56.214Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config620687024912868991tmp [Pipeline] { [Pipeline] sh [2021-02-04T17:12:56.601Z] + set +x [2021-02-04T17:12:56.601Z] + curl -s https://codecov.io/bash [2021-02-04T17:12:56.601Z] + bash -s -- [2021-02-04T17:12:56.865Z] [2021-02-04T17:12:56.865Z] _____ _ [2021-02-04T17:12:56.865Z] / ____| | | [2021-02-04T17:12:56.865Z] | | ___ __| | ___ ___ _____ __ [2021-02-04T17:12:56.865Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-02-04T17:12:56.865Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-02-04T17:12:56.865Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-02-04T17:12:56.865Z] Bash-20210129-7c25fce [2021-02-04T17:12:56.865Z] [2021-02-04T17:12:56.865Z] [2021-02-04T17:12:56.865Z] ==> git version 2.24.3 found [2021-02-04T17:12:56.865Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-02-04T17:12:56.865Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-02-04T17:12:56.865Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-02-04T17:12:56.865Z] ==> Jenkins CI detected. [2021-02-04T17:12:56.865Z] project root: . [2021-02-04T17:12:56.865Z] --> token set from env [2021-02-04T17:12:56.865Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-02-04T17:12:56.865Z] ==> Running gcov in . (disable via -X gcov) [2021-02-04T17:12:56.865Z] ==> Python coveragepy not found [2021-02-04T17:12:56.865Z] ==> Searching for coverage reports in: [2021-02-04T17:12:56.865Z] + . [2021-02-04T17:12:56.865Z] -> Found 1 reports [2021-02-04T17:12:56.865Z] ==> Detecting git/mercurial file structure [2021-02-04T17:12:56.865Z] ==> Reading reports [2021-02-04T17:12:56.865Z] + ./coverage.out bytes=47242 [2021-02-04T17:12:56.865Z] ==> Appending adjustments [2021-02-04T17:12:56.865Z] https://docs.codecov.io/docs/fixing-reports [2021-02-04T17:12:57.129Z] + Found adjustments [2021-02-04T17:12:57.129Z] ==> Gzipping contents [2021-02-04T17:12:57.129Z] 8.0K /tmp/codecov.DDdjFp.gz [2021-02-04T17:12:57.129Z] ==> Uploading reports [2021-02-04T17:12:57.129Z] url: https://codecov.io [2021-02-04T17:12:57.129Z] query: branch=master&commit=2f15e3af98f8bac5a7e4be780f30d2ee83e8c436&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-04T17:12:57.129Z] -> Pinging Codecov [2021-02-04T17:12:57.129Z] https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=master&commit=2f15e3af98f8bac5a7e4be780f30d2ee83e8c436&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-02-04T17:12:57.393Z] -> Uploading to [2021-02-04T17:12:57.393Z] https://storage.googleapis.com/codecov/v4/raw/2021-02-04/5E52B4B073DB2E39498172D8E973AA87/2f15e3af98f8bac5a7e4be780f30d2ee83e8c436/46fb4c45-3eca-489a-8028-8342a485f57a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210204T171257Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ccedf325680522da9480467d24141f53c6a9b40d572bfb2e48f6a1492150f273 [2021-02-04T17:12:57.393Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-02-04T17:12:57.393Z] Dload Upload Total Spent Left Speed [2021-02-04T17:12:57.921Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5800 0 0 100 5800 0 13224 --:--:-- --:--:-- --:--:-- 13211 [2021-02-04T17:12:57.921Z] -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [Pipeline] } [2021-02-04T17:12:57.931Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-02-04T17:12:58.895Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-02-04T17:12:58.952Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:59.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T17:12:59.294Z] [2021-02-04T17:12:59.294Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:12:59.644Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T17:12:59.644Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-02-04T17:12:59.644Z] 188c0c94c7c5: Pulling fs layer [2021-02-04T17:12:59.644Z] 0ef7d3d256c8: Pulling fs layer [2021-02-04T17:12:59.644Z] de9db76c5a1d: Pulling fs layer [2021-02-04T17:12:59.644Z] 0eba1c9be4d2: Pulling fs layer [2021-02-04T17:12:59.644Z] 0d57e429df01: Pulling fs layer [2021-02-04T17:12:59.644Z] 4e4be7b47b0d: Pulling fs layer [2021-02-04T17:12:59.644Z] e1f770b5df2f: Pulling fs layer [2021-02-04T17:12:59.644Z] 85a0685a4137: Pulling fs layer [2021-02-04T17:12:59.644Z] 0d57e429df01: Waiting [2021-02-04T17:12:59.644Z] 4e4be7b47b0d: Waiting [2021-02-04T17:12:59.644Z] e1f770b5df2f: Waiting [2021-02-04T17:12:59.644Z] 85a0685a4137: Waiting [2021-02-04T17:12:59.644Z] 0eba1c9be4d2: Waiting [2021-02-04T17:12:59.644Z] de9db76c5a1d: Download complete [2021-02-04T17:12:59.644Z] 0ef7d3d256c8: Verifying Checksum [2021-02-04T17:12:59.644Z] 0ef7d3d256c8: Download complete [2021-02-04T17:12:59.644Z] 0d57e429df01: Verifying Checksum [2021-02-04T17:12:59.644Z] 0d57e429df01: Download complete [2021-02-04T17:12:59.644Z] 4e4be7b47b0d: Verifying Checksum [2021-02-04T17:12:59.644Z] 4e4be7b47b0d: Download complete [2021-02-04T17:12:59.644Z] 188c0c94c7c5: Verifying Checksum [2021-02-04T17:13:00.243Z] 188c0c94c7c5: Pull complete [2021-02-04T17:13:00.243Z] 0ef7d3d256c8: Pull complete [2021-02-04T17:13:00.508Z] de9db76c5a1d: Pull complete [2021-02-04T17:13:01.084Z] e1f770b5df2f: Verifying Checksum [2021-02-04T17:13:01.084Z] e1f770b5df2f: Download complete [2021-02-04T17:13:03.672Z] 85a0685a4137: Verifying Checksum [2021-02-04T17:13:03.672Z] 85a0685a4137: Download complete [2021-02-04T17:13:03.672Z] 0eba1c9be4d2: Verifying Checksum [2021-02-04T17:13:03.672Z] 0eba1c9be4d2: Download complete [2021-02-04T17:13:08.994Z] 0eba1c9be4d2: Pull complete [2021-02-04T17:13:09.283Z] 0d57e429df01: Pull complete [2021-02-04T17:13:09.284Z] 4e4be7b47b0d: Pull complete [2021-02-04T17:13:11.256Z] e1f770b5df2f: Pull complete [2021-02-04T17:13:19.471Z] 85a0685a4137: Pull complete [2021-02-04T17:13:19.471Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-02-04T17:13:19.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-02-04T17:13:19.471Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-02-04T17:13:19.690Z] prd-centos7-docker-4c-2g-25014 does not seem to be running inside a container [2021-02-04T17:13:19.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-02-04T17:13:20.803Z] $ docker top 4b25be4cd2774ef33d452dddb16ec45419e193022d3e129ffe022b09456a1d6e -eo pid,comm [Pipeline] { [Pipeline] echo [2021-02-04T17:13:22.185Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-02-04T17:13:22.486Z] + set -o pipefail [2021-02-04T17:13:22.486Z] + snyk monitor '--org=edgex-jenkins' [2021-02-04T17:13:34.765Z] [2021-02-04T17:13:34.765Z] Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... [2021-02-04T17:13:34.765Z] [2021-02-04T17:13:34.765Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/5c4ffc39-f337-47cc-b7a8-9dd6f38e654d [2021-02-04T17:13:34.765Z] [2021-02-04T17:13:34.765Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-02-04T17:13:34.765Z] [2021-02-04T17:13:34.765Z] [Pipeline] } [2021-02-04T17:13:34.781Z] $ docker stop --time=1 4b25be4cd2774ef33d452dddb16ec45419e193022d3e129ffe022b09456a1d6e [2021-02-04T17:13:37.479Z] $ docker rm -f 4b25be4cd2774ef33d452dddb16ec45419e193022d3e129ffe022b09456a1d6e [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-02-04T17:13:39.205Z] + git log --format=format:%s -1 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:13:39.520Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:13:39.520Z] . [Pipeline] withDockerContainer [2021-02-04T17:13:39.626Z] prd-centos7-docker-4c-2g-25014 does not seem to be running inside a container [2021-02-04T17:13:39.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T17:13:40.472Z] $ docker top 584bccff21df7cb44dcaee3a3bfe01f1ec06849c2f4ba2bf7be39fd705801ed0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T17:13:40.800Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T17:13:40.800Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T17:13:41.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T17:13:41.019Z] $ docker exec 584bccff21df7cb44dcaee3a3bfe01f1ec06849c2f4ba2bf7be39fd705801ed0 ssh-agent [2021-02-04T17:13:41.186Z] SSH_AUTH_SOCK=/tmp/ssh-cWN6QPYUz2wM/agent.12 [2021-02-04T17:13:41.186Z] SSH_AGENT_PID=17 [2021-02-04T17:13:41.193Z] Running ssh-add (command line suppressed) [2021-02-04T17:13:41.323Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_5611626738963048569.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_5611626738963048569.key) [2021-02-04T17:13:41.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T17:13:41.715Z] + git semver tag [2021-02-04T17:13:41.715Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T17:13:41.715Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-02-04T17:13:41.715Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-02-04T17:13:41.715Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T17:13:41.715Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T17:13:41.715Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T17:13:41.715Z] # $SEMVER_BRANCH = master [2021-02-04T17:13:41.715Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-02-04T17:13:41.715Z] # 2f15e3af98f8bac5a7e4be780f30d2ee83e8c436 HEAD [2021-02-04T17:13:41.715Z] # -> Force: false [2021-02-04T17:13:41.715Z] # fc0b9fbd6be64056fecc73bd79c56e448c28a487 refs/tags/v1.3.2-dev.1 [Pipeline] } [2021-02-04T17:13:41.728Z] $ docker exec --env ******** --env ******** 584bccff21df7cb44dcaee3a3bfe01f1ec06849c2f4ba2bf7be39fd705801ed0 ssh-agent -k [2021-02-04T17:13:41.846Z] unset SSH_AUTH_SOCK; [2021-02-04T17:13:41.847Z] unset SSH_AGENT_PID; [2021-02-04T17:13:41.847Z] echo Agent pid 17 killed; [2021-02-04T17:13:41.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T17:13:42.427Z] + git semver [Pipeline] } [2021-02-04T17:13:42.444Z] $ docker stop --time=1 584bccff21df7cb44dcaee3a3bfe01f1ec06849c2f4ba2bf7be39fd705801ed0 [2021-02-04T17:13:43.807Z] $ docker rm -f 584bccff21df7cb44dcaee3a3bfe01f1ec06849c2f4ba2bf7be39fd705801ed0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:13:44.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T17:13:44.451Z] [2021-02-04T17:13:44.451Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:13:44.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T17:13:44.795Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-02-04T17:13:44.795Z] ab5ef0e58194: Pulling fs layer [2021-02-04T17:13:44.795Z] 9712f1f96733: Pulling fs layer [2021-02-04T17:13:44.795Z] 63f879dbbcfc: Pulling fs layer [2021-02-04T17:13:44.795Z] 0d9ebad4ef96: Pulling fs layer [2021-02-04T17:13:44.795Z] e9a5061849ea: Pulling fs layer [2021-02-04T17:13:44.795Z] d747dcd14b5f: Pulling fs layer [2021-02-04T17:13:44.795Z] 2de7ff778b66: Pulling fs layer [2021-02-04T17:13:44.795Z] e9a5061849ea: Waiting [2021-02-04T17:13:44.795Z] d747dcd14b5f: Waiting [2021-02-04T17:13:44.795Z] 2de7ff778b66: Waiting [2021-02-04T17:13:44.795Z] 0d9ebad4ef96: Waiting [2021-02-04T17:13:44.795Z] 9712f1f96733: Verifying Checksum [2021-02-04T17:13:44.795Z] 9712f1f96733: Download complete [2021-02-04T17:13:46.726Z] 63f879dbbcfc: Verifying Checksum [2021-02-04T17:13:46.726Z] 63f879dbbcfc: Download complete [2021-02-04T17:13:46.726Z] e9a5061849ea: Verifying Checksum [2021-02-04T17:13:46.726Z] e9a5061849ea: Download complete [2021-02-04T17:13:46.726Z] d747dcd14b5f: Verifying Checksum [2021-02-04T17:13:46.726Z] d747dcd14b5f: Download complete [2021-02-04T17:13:46.990Z] 0d9ebad4ef96: Verifying Checksum [2021-02-04T17:13:46.990Z] 0d9ebad4ef96: Download complete [2021-02-04T17:13:47.258Z] ab5ef0e58194: Download complete [2021-02-04T17:13:47.522Z] 2de7ff778b66: Verifying Checksum [2021-02-04T17:13:47.522Z] 2de7ff778b66: Download complete [2021-02-04T17:13:51.774Z] ab5ef0e58194: Pull complete [2021-02-04T17:13:51.774Z] 9712f1f96733: Pull complete [2021-02-04T17:13:54.356Z] 63f879dbbcfc: Pull complete [2021-02-04T17:14:01.073Z] 0d9ebad4ef96: Pull complete [2021-02-04T17:14:02.470Z] e9a5061849ea: Pull complete [2021-02-04T17:14:02.737Z] d747dcd14b5f: Pull complete [2021-02-04T17:14:05.323Z] 2de7ff778b66: Pull complete [2021-02-04T17:14:05.323Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-02-04T17:14:05.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-02-04T17:14:05.585Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-02-04T17:14:05.796Z] prd-centos7-docker-4c-2g-25014 does not seem to be running inside a container [2021-02-04T17:14:05.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-02-04T17:14:10.214Z] $ docker top a044d967d0e8ba7922e0ac55cf1dd50070f2cc36b4c91066be81507dcdc9e59d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-02-04T17:14:10.423Z] provisioning config files... [2021-02-04T17:14:10.442Z] copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config5022866329611742550tmp [2021-02-04T17:14:10.459Z] copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config2003649669542065341tmp [2021-02-04T17:14:10.476Z] copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3322832832538925903tmp [Pipeline] { [Pipeline] echo [2021-02-04T17:14:10.553Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:14:10.862Z] ---> sigul-configuration.sh [2021-02-04T17:14:10.862Z] gpg: directory `/root/.gnupg' created [2021-02-04T17:14:10.862Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-02-04T17:14:10.862Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-02-04T17:14:10.862Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-02-04T17:14:10.862Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-02-04T17:14:10.862Z] gpg: CAST5 encrypted data [2021-02-04T17:14:11.124Z] gpg: encrypted with 1 passphrase [2021-02-04T17:14:11.124Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-02-04T17:14:11.426Z] + mkdir /home/jenkins [2021-02-04T17:14:11.426Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-02-04T17:14:11.727Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-02-04T17:14:11.738Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:14:12.037Z] ---> sigul-install.sh [2021-02-04T17:14:18.642Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-02-04T17:14:18.945Z] + git tag --list [2021-02-04T17:14:18.946Z] v1.0.0 [2021-02-04T17:14:18.946Z] v1.1.0 [2021-02-04T17:14:18.946Z] v1.1.1 [2021-02-04T17:14:18.946Z] v1.2.1 [2021-02-04T17:14:18.946Z] v1.2.2 [2021-02-04T17:14:18.946Z] v1.2.3 [2021-02-04T17:14:18.946Z] v1.3.0 [2021-02-04T17:14:18.946Z] v1.3.1 [2021-02-04T17:14:18.946Z] v1.3.1-dev.1 [2021-02-04T17:14:18.946Z] v1.3.1-dev.2 [2021-02-04T17:14:18.946Z] v1.3.1-dev.3 [2021-02-04T17:14:18.946Z] v1.3.1-dev.4 [2021-02-04T17:14:18.946Z] v1.3.1-dev.5 [2021-02-04T17:14:18.946Z] v1.3.2-dev.1 [Pipeline] sh [2021-02-04T17:14:19.253Z] + lftools sign git-tag v1.3.2-dev.1 [2021-02-04T17:14:20.642Z] Signing Git tag with Sigul... [2021-02-04T17:14:20.642Z] Signing v1.3.2-dev.1 [Pipeline] echo [2021-02-04T17:14:21.603Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:14:21.901Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-02-04T17:14:21.911Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-02-04T17:14:22.007Z] $ docker stop --time=1 a044d967d0e8ba7922e0ac55cf1dd50070f2cc36b4c91066be81507dcdc9e59d [2021-02-04T17:14:24.114Z] $ docker rm -f a044d967d0e8ba7922e0ac55cf1dd50070f2cc36b4c91066be81507dcdc9e59d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:14:25.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:14:25.238Z] . [Pipeline] withDockerContainer [2021-02-04T17:14:25.357Z] prd-centos7-docker-4c-2g-25014 does not seem to be running inside a container [2021-02-04T17:14:25.409Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T17:14:26.228Z] $ docker top 50cc56b3914a001ecada5e5217461aeb759ad80c09851e35c98daa1cc20da822 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T17:14:26.581Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T17:14:26.581Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T17:14:26.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T17:14:26.828Z] $ docker exec 50cc56b3914a001ecada5e5217461aeb759ad80c09851e35c98daa1cc20da822 ssh-agent [2021-02-04T17:14:27.004Z] SSH_AUTH_SOCK=/tmp/ssh-JCGgtlDDWS1K/agent.12 [2021-02-04T17:14:27.004Z] SSH_AGENT_PID=17 [2021-02-04T17:14:27.013Z] Running ssh-add (command line suppressed) [2021-02-04T17:14:27.141Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7109433696211733426.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7109433696211733426.key) [2021-02-04T17:14:27.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T17:14:27.538Z] + git semver bump pre [2021-02-04T17:14:27.538Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T17:14:27.538Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-02-04T17:14:27.538Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-02-04T17:14:27.538Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T17:14:27.538Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T17:14:27.538Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T17:14:27.538Z] # $SEMVER_BRANCH = master [2021-02-04T17:14:27.538Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [2021-02-04T17:14:27.538Z] 1.3.2-dev.2 [Pipeline] } [2021-02-04T17:14:27.552Z] $ docker exec --env ******** --env ******** 50cc56b3914a001ecada5e5217461aeb759ad80c09851e35c98daa1cc20da822 ssh-agent -k [2021-02-04T17:14:27.677Z] unset SSH_AUTH_SOCK; [2021-02-04T17:14:27.678Z] unset SSH_AGENT_PID; [2021-02-04T17:14:27.678Z] echo Agent pid 17 killed; [2021-02-04T17:14:27.725Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T17:14:28.209Z] + git semver [Pipeline] } [2021-02-04T17:14:28.228Z] $ docker stop --time=1 50cc56b3914a001ecada5e5217461aeb759ad80c09851e35c98daa1cc20da822 [2021-02-04T17:14:29.590Z] $ docker rm -f 50cc56b3914a001ecada5e5217461aeb759ad80c09851e35c98daa1cc20da822 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:14:30.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-02-04T17:14:30.107Z] . [Pipeline] withDockerContainer [2021-02-04T17:14:30.220Z] prd-centos7-docker-4c-2g-25014 does not seem to be running inside a container [2021-02-04T17:14:30.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-02-04T17:14:30.911Z] $ docker top 2584a200a57c13b7c26fea9533e1773c7a7bc203ff9b44348a45c61e4842e69a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-02-04T17:14:31.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-02-04T17:14:31.250Z] [ssh-agent] Looking for ssh-agent implementation... [2021-02-04T17:14:31.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-02-04T17:14:31.438Z] $ docker exec 2584a200a57c13b7c26fea9533e1773c7a7bc203ff9b44348a45c61e4842e69a ssh-agent [2021-02-04T17:14:31.611Z] SSH_AUTH_SOCK=/tmp/ssh-WAIFbIBaZNgT/agent.12 [2021-02-04T17:14:31.611Z] SSH_AGENT_PID=17 [2021-02-04T17:14:31.618Z] Running ssh-add (command line suppressed) [2021-02-04T17:14:31.747Z] Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_206237116155760565.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_206237116155760565.key) [2021-02-04T17:14:31.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-02-04T17:14:32.144Z] + git semver push [2021-02-04T17:14:32.145Z] # -> Open(): unable to determine branch for HEAD [2021-02-04T17:14:32.145Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git [2021-02-04T17:14:32.145Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master [2021-02-04T17:14:32.145Z] # $SEMVER_REMOTE_NAME = origin [2021-02-04T17:14:32.145Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-02-04T17:14:32.145Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-02-04T17:14:32.145Z] # $SEMVER_BRANCH = master [2021-02-04T17:14:32.145Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } [2021-02-04T17:14:38.767Z] $ docker exec --env ******** --env ******** 2584a200a57c13b7c26fea9533e1773c7a7bc203ff9b44348a45c61e4842e69a ssh-agent -k [2021-02-04T17:14:38.903Z] unset SSH_AUTH_SOCK; [2021-02-04T17:14:38.904Z] unset SSH_AGENT_PID; [2021-02-04T17:14:38.904Z] echo Agent pid 17 killed; [2021-02-04T17:14:38.979Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-02-04T17:14:39.514Z] + git semver [Pipeline] } [2021-02-04T17:14:39.535Z] $ docker stop --time=1 2584a200a57c13b7c26fea9533e1773c7a7bc203ff9b44348a45c61e4842e69a [2021-02-04T17:14:40.916Z] $ docker rm -f 2584a200a57c13b7c26fea9533e1773c7a7bc203ff9b44348a45c61e4842e69a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:14:42.754Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:14:43.324Z] ---> package-listing.sh [2021-02-04T17:14:43.324Z] ++ facter osfamily [2021-02-04T17:14:43.324Z] ++ tr '[:upper:]' '[:lower:]' [2021-02-04T17:14:43.324Z] + OS_FAMILY=redhat [2021-02-04T17:14:43.324Z] + workspace=/w/workspace/foundry_device-virtual-go_master [2021-02-04T17:14:43.324Z] + START_PACKAGES=/tmp/packages_start.txt [2021-02-04T17:14:43.324Z] + END_PACKAGES=/tmp/packages_end.txt [2021-02-04T17:14:43.324Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-02-04T17:14:43.324Z] + PACKAGES=/tmp/packages_start.txt [2021-02-04T17:14:43.324Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-02-04T17:14:43.324Z] + PACKAGES=/tmp/packages_end.txt [2021-02-04T17:14:43.324Z] + case "${OS_FAMILY}" in [2021-02-04T17:14:43.324Z] + rpm -qa [2021-02-04T17:14:43.324Z] + sort [2021-02-04T17:14:48.646Z] + '[' -f /tmp/packages_start.txt ']' [2021-02-04T17:14:48.646Z] + '[' -f /tmp/packages_end.txt ']' [2021-02-04T17:14:48.646Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-02-04T17:14:48.646Z] + '[' /w/workspace/foundry_device-virtual-go_master ']' [2021-02-04T17:14:48.646Z] + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ [2021-02-04T17:14:48.646Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo [2021-02-04T17:14:48.661Z] 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/foundry_device-virtual-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-02-04T17:14:48.958Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:14:49.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T17:14:49.265Z] [2021-02-04T17:14:49.265Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-02-04T17:14:49.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T17:14:49.612Z] alpine: Pulling from edgex-lftools-log-publisher [2021-02-04T17:14:49.612Z] df20fa9351a1: Pulling fs layer [2021-02-04T17:14:49.612Z] 36b3adc4ff6f: Pulling fs layer [2021-02-04T17:14:49.612Z] 8ad3a11d3b57: Pulling fs layer [2021-02-04T17:14:49.612Z] 46f8f816bc3b: Pulling fs layer [2021-02-04T17:14:49.612Z] 93b61091891f: Pulling fs layer [2021-02-04T17:14:49.612Z] 93b9cdb0e59b: Pulling fs layer [2021-02-04T17:14:49.612Z] 5e14af77c1be: Pulling fs layer [2021-02-04T17:14:49.612Z] 01666e4c0597: Pulling fs layer [2021-02-04T17:14:49.612Z] aa168da1d23b: Pulling fs layer [2021-02-04T17:14:49.612Z] 93b61091891f: Waiting [2021-02-04T17:14:49.612Z] 93b9cdb0e59b: Waiting [2021-02-04T17:14:49.612Z] 5e14af77c1be: Waiting [2021-02-04T17:14:49.612Z] 01666e4c0597: Waiting [2021-02-04T17:14:49.612Z] aa168da1d23b: Waiting [2021-02-04T17:14:49.612Z] 46f8f816bc3b: Waiting [2021-02-04T17:14:49.612Z] 36b3adc4ff6f: Verifying Checksum [2021-02-04T17:14:49.612Z] 36b3adc4ff6f: Download complete [2021-02-04T17:14:49.612Z] 46f8f816bc3b: Verifying Checksum [2021-02-04T17:14:49.612Z] 46f8f816bc3b: Download complete [2021-02-04T17:14:49.612Z] df20fa9351a1: Verifying Checksum [2021-02-04T17:14:49.612Z] df20fa9351a1: Download complete [2021-02-04T17:14:49.874Z] 93b9cdb0e59b: Verifying Checksum [2021-02-04T17:14:49.875Z] 93b9cdb0e59b: Download complete [2021-02-04T17:14:49.875Z] 93b61091891f: Download complete [2021-02-04T17:14:49.875Z] 01666e4c0597: Verifying Checksum [2021-02-04T17:14:49.875Z] 01666e4c0597: Download complete [2021-02-04T17:14:49.875Z] 8ad3a11d3b57: Verifying Checksum [2021-02-04T17:14:49.875Z] 8ad3a11d3b57: Download complete [2021-02-04T17:14:50.453Z] df20fa9351a1: Pull complete [2021-02-04T17:14:50.716Z] 5e14af77c1be: Verifying Checksum [2021-02-04T17:14:50.716Z] 5e14af77c1be: Download complete [2021-02-04T17:14:50.716Z] 36b3adc4ff6f: Pull complete [2021-02-04T17:14:52.110Z] aa168da1d23b: Verifying Checksum [2021-02-04T17:14:52.110Z] aa168da1d23b: Download complete [2021-02-04T17:14:52.110Z] 8ad3a11d3b57: Pull complete [2021-02-04T17:14:52.110Z] 46f8f816bc3b: Pull complete [2021-02-04T17:14:52.685Z] 93b61091891f: Pull complete [2021-02-04T17:14:52.685Z] 93b9cdb0e59b: Pull complete [2021-02-04T17:14:52.947Z] 5e14af77c1be: Pull complete [2021-02-04T17:14:52.947Z] 01666e4c0597: Pull complete [2021-02-04T17:15:01.136Z] aa168da1d23b: Pull complete [2021-02-04T17:15:01.136Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-02-04T17:15:01.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-02-04T17:15:01.136Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-02-04T17:15:01.269Z] prd-centos7-docker-4c-2g-25014 does not seem to be running inside a container [2021-02-04T17:15:01.323Z] $ 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/foundry_device-virtual-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/foundry_device-virtual-go_master -v /w/workspace/foundry_device-virtual-go_master:/w/workspace/foundry_device-virtual-go_master:rw,z -v /w/workspace/foundry_device-virtual-go_master@tmp:/w/workspace/foundry_device-virtual-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-02-04T17:15:04.502Z] $ docker top 4771f810bcb7b9f28c1375e0550b5b7d2cafa3d55bc5acfd73f7fa2165f899df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-02-04T17:15:05.146Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-02-04T17:15:05.454Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-02-04T17:15:05.758Z] + ls /var/log/sa-host [2021-02-04T17:15:05.758Z] + sadf -c /var/log/sa-host/sa04 [2021-02-04T17:15:05.758Z] file_magic: OK [2021-02-04T17:15:05.758Z] HZ: Using current value: 100 [2021-02-04T17:15:05.758Z] file_header: OK [2021-02-04T17:15:05.758Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-04T17:15:05.758Z] Statistics: [2021-02-04T17:15:05.758Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-02-04T17:15:05.758Z] File successfully converted to sysstat format version 12.2.1 [2021-02-04T17:15:05.758Z] + sadf -c /var/log/sa-host/sa23 [2021-02-04T17:15:05.758Z] file_magic: OK [2021-02-04T17:15:05.758Z] HZ: Using current value: 100 [2021-02-04T17:15:05.758Z] file_header: OK [2021-02-04T17:15:05.758Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-02-04T17:15:05.758Z] Statistics: [2021-02-04T17:15:05.758Z] Hnuu...uuuununununu... [2021-02-04T17:15:05.758Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-02-04T17:15:06.034Z] provisioning config files... [2021-02-04T17:15:06.063Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config798302718543495394tmp [Pipeline] { [Pipeline] echo [2021-02-04T17:15:06.200Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:15:06.501Z] ---> create-netrc.sh [Pipeline] } [2021-02-04T17:15:06.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-02-04T17:15:06.618Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:15:06.915Z] ---> python-tools-install.sh [Pipeline] echo [2021-02-04T17:15:06.926Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:15:07.225Z] ---> sudo-logs.sh [2021-02-04T17:15:07.225Z] Archiving 'sudo' log.. [Pipeline] echo [2021-02-04T17:15:07.237Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:15:07.537Z] ---> job-cost.sh [2021-02-04T17:15:07.537Z] lf-activate-venv: SKIPPING [2021-02-04T17:15:07.537Z] INFO: No Stack... [2021-02-04T17:15:09.461Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-02-04T17:15:09.725Z] INFO: Archiving Costs [Pipeline] echo [2021-02-04T17:15:09.741Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-02-04T17:15:10.043Z] ---> logs-deploy.sh [2021-02-04T17:15:10.043Z] lf-activate-venv: SKIPPING [2021-02-04T17:15:10.043Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/40 [2021-02-04T17:15:10.043Z] INFO: archiving workspace using pattern(s): [2021-02-04T17:15:11.436Z] Archives upload complete. [2021-02-04T17:15:11.700Z] INFO: archiving logs to Nexus