Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8d9cac7b544984367de20437773925dcf3f7e06d 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8339860663256851553.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2422667315796215244.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6704739563763918825.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6705417225227840575.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/master/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1328882520562194148.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-339 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-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.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_master@tmp/jenkins-gitclient-ssh4087872300122329121.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8d9cac7b544984367de20437773925dcf3f7e06d (master) > 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 core.sparsecheckout # timeout=10 > git checkout -f 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 Commit message: "Merge pull request #214 from hahattan/config-update" > git rev-list --no-walk eb590ed696e9e9466b4ef6c3e58a00375ee0ca86 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:45:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:45:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:45:27 ========================================================= 02:45:27 EdgeX Global Pipelines Version Info 02:45:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:45:28 ------------------- 02:45:28 stable info: 02:45:28 ------------------- 02:45:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:45:28 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 02:45:28 Message: update stable to v1.0.192 02:45:29 ------------------- 02:45:29 experimental info: 02:45:29 ------------------- 02:45:29 Commited By: **** collab-it+edgex@linuxfoundation.org 02:45:29 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 02:45:29 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:45:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d9cac7 [Pipeline] echo 02:45:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:30 provisioning config files... 02:45:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7675769229752515095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:30 ---> docker-login.sh 02:45:30 nexus3.edgexfoundry.org:10001 02:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:31 Configure a credential helper to remove this warning. See 02:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:31 02:45:31 Login Succeeded 02:45:31 nexus3.edgexfoundry.org:10002 02:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:31 Configure a credential helper to remove this warning. See 02:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:31 02:45:31 Login Succeeded 02:45:31 nexus3.edgexfoundry.org:10003 02:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:32 Configure a credential helper to remove this warning. See 02:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:32 02:45:32 Login Succeeded 02:45:32 nexus3.edgexfoundry.org:10004 02:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:32 Configure a credential helper to remove this warning. See 02:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:32 02:45:32 Login Succeeded 02:45:32 docker.io 02:45:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:45:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:45:32 Configure a credential helper to remove this warning. See 02:45:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:45:32 02:45:32 Login Succeeded 02:45:32 ---> docker-login.sh ends [Pipeline] } 02:45:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:33 + git log --format=format:%s -1 8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] echo 02:45:33 GIT_COMMIT: 8d9cac7b544984367de20437773925dcf3f7e06d, Commit Message: Merge pull request #214 from hahattan/config-update [Pipeline] echo 02:45:33 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:45:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:34 02:45:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:45:34 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:34 latest: Pulling from edgex-devops/git-semver 02:45:34 31603596830f: Pulling fs layer 02:45:34 54011a49482f: Pulling fs layer 02:45:34 a6820b24f6d8: Pulling fs layer 02:45:34 f581987b2513: Pulling fs layer 02:45:34 f581987b2513: Waiting 02:45:34 54011a49482f: Verifying Checksum 02:45:34 54011a49482f: Download complete 02:45:34 31603596830f: Verifying Checksum 02:45:34 31603596830f: Download complete 02:45:34 f581987b2513: Verifying Checksum 02:45:34 f581987b2513: Download complete 02:45:34 a6820b24f6d8: Verifying Checksum 02:45:34 a6820b24f6d8: Download complete 02:45:34 31603596830f: Pull complete 02:45:34 54011a49482f: Pull complete 02:45:35 a6820b24f6d8: Pull complete 02:45:35 f581987b2513: Pull complete 02:45:35 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 02:45:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:45:35 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:45:35 prd-centos7-docker-4c-2g-339 does not seem to be running inside a container 02:45:35 $ 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 02:45:37 $ docker top a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:37 [ssh-agent] Looking for ssh-agent implementation... 02:45:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:37 $ docker exec a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce ssh-agent 02:45:37 SSH_AUTH_SOCK=/tmp/ssh-c96hXW8aWJFU/agent.13 02:45:37 SSH_AGENT_PID=20 02:45:37 Running ssh-add (command line suppressed) 02:45:37 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_658146310765410944.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_658146310765410944.key) 02:45:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:38 + git tag --points-at HEAD [Pipeline] } 02:45:38 $ docker exec --env ******** --env ******** a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce ssh-agent -k 02:45:38 unset SSH_AUTH_SOCK; 02:45:38 unset SSH_AGENT_PID; 02:45:38 echo Agent pid 20 killed; 02:45:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:45:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:38 [ssh-agent] Looking for ssh-agent implementation... 02:45:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:38 $ docker exec a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce ssh-agent 02:45:38 SSH_AUTH_SOCK=/tmp/ssh-o54rnxA8Yknn/agent.54 02:45:38 SSH_AGENT_PID=61 02:45:38 Running ssh-add (command line suppressed) 02:45:38 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8916676909507891317.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8916676909507891317.key) 02:45:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:38 + git semver init 02:45:38 # -> Open(): unable to determine branch for HEAD 02:45:38 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 02:45:38 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 02:45:38 # $SEMVER_REMOTE_NAME = origin 02:45:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:45:38 # $SEMVER_USER_NAME = edgex-jenkins 02:45:38 # $SEMVER_BRANCH = master 02:45:38 # $SEMVER_TEMP = /tmp/semver-485701111 02:45:38 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 02:45:39 # '/tmp/semver-485701111' -> '/w/workspace/foundry_device-virtual-go_master/.semver' 02:45:39 # -> Force: false 02:45:39 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 02:45:39 $ docker exec --env ******** --env ******** a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce ssh-agent -k 02:45:39 unset SSH_AUTH_SOCK; 02:45:39 unset SSH_AGENT_PID; 02:45:39 echo Agent pid 61 killed; 02:45:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:40 + git semver [Pipeline] } 02:45:40 $ docker stop --time=1 a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce 02:45:41 $ docker rm -f a674e9a3f7b486c58d5dd04f3cd77cc16cc5eecb7890e62eb58adaf2b51aa2ce [Pipeline] // withDockerContainer [Pipeline] sh 02:45:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:45:42 Stashed 1 file(s) [Pipeline] echo 02:45:42 [edgeXSemver]: initialized semver on version 1.3.2-dev.19 [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 02:45:57 Still waiting to schedule task 02:45:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:45:57 Still waiting to schedule task 02:45:57 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:47:41 Running on prd-centos7-docker-4c-2g-342 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 02:47:41 Running in /w/workspace/device-virtual-go/59 [Pipeline] { [Pipeline] checkout 02:47:42 Selected Git installation does not exist. Using Default 02:47:42 The recommended git tool is: NONE 02:47:44 using credential edgex-jenkins-ssh 02:47:44 Cloning the remote Git repository 02:47:44 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:47:44 > git init /w/workspace/device-virtual-go/59 # timeout=10 02:47:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:47:44 > git --version # timeout=10 02:47:44 > git --version # 'git version 2.24.4' 02:47:44 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:44 [INFO] Currently running in a labeled security context 02:47:44 [INFO] Currently SELinux is 'enforcing' on the host 02:47:44 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/59@tmp/jenkins-gitclient-ssh7583825508973330484.key 02:47:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:45 Avoid second fetch 02:47:45 Checking out Revision 8d9cac7b544984367de20437773925dcf3f7e06d (master) 02:47:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:47:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:45 > git config core.sparsecheckout # timeout=10 02:47:45 > git checkout -f 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 02:47:49 Commit message: "Merge pull request #214 from hahattan/config-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:50 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:47:50 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:47:51 + sudo service docker restart 02:47:51 + true 02:47:51 Redirecting to /bin/systemctl restart docker.service 02:48:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-341 in /w/workspace/foundry_device-virtual-go_master [Pipeline] { [Pipeline] ws 02:48:05 Running in /w/workspace/device-virtual-go/59 [Pipeline] { [Pipeline] checkout 02:48:05 Selected Git installation does not exist. Using Default 02:48:05 The recommended git tool is: NONE [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:08 provisioning config files... 02:48:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/59@tmp/config6351124098043900226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:08 ---> docker-login.sh 02:48:08 nexus3.edgexfoundry.org:10001 02:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:08 Configure a credential helper to remove this warning. See 02:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:08 02:48:08 Login Succeeded 02:48:08 nexus3.edgexfoundry.org:10002 02:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:08 Configure a credential helper to remove this warning. See 02:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:08 02:48:08 Login Succeeded 02:48:08 nexus3.edgexfoundry.org:10003 02:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:08 Configure a credential helper to remove this warning. See 02:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:08 02:48:08 Login Succeeded 02:48:08 nexus3.edgexfoundry.org:10004 02:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:09 Configure a credential helper to remove this warning. See 02:48:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:09 02:48:09 Login Succeeded 02:48:09 docker.io 02:48:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:09 Configure a credential helper to remove this warning. See 02:48:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:09 02:48:09 Login Succeeded 02:48:09 ---> docker-login.sh ends [Pipeline] } 02:48:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:48:09 ========================================================= 02:48:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 02:48:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:48:09 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 02:48:09 Sending build context to Docker daemon 8.585MB 02:48:09 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 02:48:09 Step 2/8 : FROM ${BASE} 02:48:10 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 02:48:10 540db60ca938: Pulling fs layer 02:48:10 adcc1eea9eea: Pulling fs layer 02:48:10 4c4ab2625f07: Pulling fs layer 02:48:10 0510c868ecb4: Pulling fs layer 02:48:10 afea3b2eda06: Pulling fs layer 02:48:10 7809a108b3ef: Pulling fs layer 02:48:10 f706445af74f: Pulling fs layer 02:48:10 afea3b2eda06: Waiting 02:48:10 7809a108b3ef: Waiting 02:48:10 f706445af74f: Waiting 02:48:10 0510c868ecb4: Waiting 02:48:10 4c4ab2625f07: Download complete 02:48:10 adcc1eea9eea: Verifying Checksum 02:48:10 adcc1eea9eea: Download complete 02:48:10 afea3b2eda06: Verifying Checksum 02:48:10 afea3b2eda06: Download complete 02:48:10 540db60ca938: Verifying Checksum 02:48:10 540db60ca938: Download complete 02:48:10 7809a108b3ef: Verifying Checksum 02:48:10 7809a108b3ef: Download complete 02:48:10 540db60ca938: Pull complete 02:48:10 adcc1eea9eea: Pull complete 02:48:10 4c4ab2625f07: Pull complete 02:48:12 f706445af74f: Verifying Checksum 02:48:12 f706445af74f: Download complete 02:48:12 0510c868ecb4: Verifying Checksum 02:48:12 0510c868ecb4: Download complete 02:48:12 using credential edgex-jenkins-ssh 02:48:12 Cloning the remote Git repository 02:48:12 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 02:48:12 > git init /w/workspace/device-virtual-go/59 # timeout=10 02:48:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 02:48:12 > git --version # timeout=10 02:48:12 > git --version # 'git version 2.17.1' 02:48:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:48:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:48:14 Avoid second fetch 02:48:14 Checking out Revision 8d9cac7b544984367de20437773925dcf3f7e06d (master) 02:48:14 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 02:48:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:48:14 > git config core.sparsecheckout # timeout=10 02:48:14 > git checkout -f 8d9cac7b544984367de20437773925dcf3f7e06d # timeout=10 02:48:16 0510c868ecb4: Pull complete 02:48:16 afea3b2eda06: Pull complete 02:48:16 7809a108b3ef: Pull complete 02:48:17 f706445af74f: Pull complete 02:48:17 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 02:48:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 02:48:17 ---> b068be0155e3 02:48:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 02:48:18 Commit message: "Merge pull request #214 from hahattan/config-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:20 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:48:20 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:48:20 + sudo service docker restart 02:48:20 + true 02:48:21 ---> Running in 77b055cfe49c 02:48:21 Removing intermediate container 77b055cfe49c 02:48:21 ---> 624b07e162c4 02:48:21 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:21 ---> Running in 7066969d9ba0 02:48:22 Removing intermediate container 7066969d9ba0 02:48:22 ---> bcebc9cf8098 02:48:22 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 02:48:22 ---> Running in 7e3ea8405b76 02:48:23 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 02:48:24 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02:48:24 (1/13) Installing libc-dev (0.7.2-r3) 02:48:24 (2/13) Installing libsodium (1.0.18-r0) 02:48:24 (3/13) Installing pkgconf (1.7.3-r0) 02:48:24 (4/13) Installing libsodium-dev (1.0.18-r0) 02:48:24 (5/13) Installing openssh-keygen (8.4_p1-r3) 02:48:24 (6/13) Installing libedit (20191231.3.1-r1) 02:48:24 (7/13) Installing openssh-client (8.4_p1-r3) 02:48:25 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 02:48:25 (9/13) Installing openssh-server-common (8.4_p1-r3) 02:48:25 (10/13) Installing openssh-server (8.4_p1-r3) 02:48:25 (11/13) Installing openssh (8.4_p1-r3) 02:48:25 (12/13) Installing libzmq (4.3.3-r1) 02:48:25 (13/13) Installing zeromq-dev (4.3.3-r1) 02:48:25 Executing busybox-1.32.1-r6.trigger 02:48:25 OK: 156 MiB in 53 packages 02:48:26 Removing intermediate container 7e3ea8405b76 02:48:26 ---> e3554f92549f 02:48:26 Step 6/8 : WORKDIR /device-virtual-go 02:48:26 ---> Running in bc5649635c39 02:48:26 Removing intermediate container bc5649635c39 02:48:26 ---> ce9db03b4e65 02:48:26 Step 7/8 : COPY . . 02:48:26 ---> 7a4e5925ed6d 02:48:26 Step 8/8 : RUN go mod download 02:48:26 ---> Running in c7e90258d38b [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:39 provisioning config files... 02:48:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/59@tmp/config2704889116989112677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:39 ---> docker-login.sh 02:48:39 nexus3.edgexfoundry.org:10001 02:48:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:40 Configure a credential helper to remove this warning. See 02:48:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:40 02:48:40 Login Succeeded 02:48:40 nexus3.edgexfoundry.org:10002 02:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:41 Configure a credential helper to remove this warning. See 02:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:41 02:48:41 Login Succeeded 02:48:41 nexus3.edgexfoundry.org:10003 02:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:41 Removing intermediate container c7e90258d38b 02:48:41 ---> 51f56494f278 02:48:41 Successfully built 51f56494f278 02:48:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:41 Configure a credential helper to remove this warning. See 02:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:41 02:48:41 Login Succeeded 02:48:41 nexus3.edgexfoundry.org:10004 02:48:42 + docker inspect -f . ci-base-image-x86_64 02:48:42 . [Pipeline] withDockerContainer 02:48:42 prd-centos7-docker-4c-2g-342 does not seem to be running inside a container 02:48:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/59 -v /w/workspace/device-virtual-go/59:/w/workspace/device-virtual-go/59:rw,z -v /w/workspace/device-virtual-go/59@tmp:/w/workspace/device-virtual-go/59@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 02:48:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:42 Configure a credential helper to remove this warning. See 02:48:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:42 02:48:42 Login Succeeded 02:48:42 docker.io 02:48:42 $ docker top de7e6f35583a8f0257ff42aa5107968daba22aeef498adbcf5326b58af8937c1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:43 + go version 02:48:43 go version go1.16.3 linux/amd64 [Pipeline] } 02:48:43 $ docker stop --time=1 de7e6f35583a8f0257ff42aa5107968daba22aeef498adbcf5326b58af8937c1 02:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:43 Configure a credential helper to remove this warning. See 02:48:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:43 02:48:43 Login Succeeded 02:48:43 ---> docker-login.sh ends 02:48:44 $ docker rm -f de7e6f35583a8f0257ff42aa5107968daba22aeef498adbcf5326b58af8937c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 02:48:44 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 02:48:44 ========================================================= 02:48:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 02:48:44 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:48:44 + docker inspect -f . ci-base-image-x86_64 02:48:44 . [Pipeline] withDockerContainer 02:48:44 prd-centos7-docker-4c-2g-342 does not seem to be running inside a container 02:48:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/59 -v /w/workspace/device-virtual-go/59:/w/workspace/device-virtual-go/59:rw,z -v /w/workspace/device-virtual-go/59@tmp:/w/workspace/device-virtual-go/59@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 02:48:44 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 02:48:45 Sending build context to Docker daemon 8.584MB 02:48:45 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 02:48:45 Step 2/8 : FROM ${BASE} 02:48:45 $ docker top 7c916466af98d509e597b43d60badff80e9f72dd5a8b3f3e010f4bee18c1f5f3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:45 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:48:45 595b0fe564bb: Pulling fs layer 02:48:45 7186ed65a4f7: Pulling fs layer 02:48:45 316046926c0a: Pulling fs layer 02:48:45 4ebd0625c992: Pulling fs layer 02:48:45 207e8628e3a3: Pulling fs layer 02:48:45 c791037a9be2: Pulling fs layer 02:48:45 ffd874e62e21: Pulling fs layer 02:48:45 4ebd0625c992: Waiting 02:48:45 207e8628e3a3: Waiting 02:48:45 c791037a9be2: Waiting 02:48:45 ffd874e62e21: Waiting 02:48:45 316046926c0a: Verifying Checksum 02:48:45 316046926c0a: Download complete 02:48:45 7186ed65a4f7: Verifying Checksum 02:48:45 7186ed65a4f7: Download complete 02:48:45 207e8628e3a3: Verifying Checksum 02:48:45 207e8628e3a3: Download complete 02:48:45 + go mod tidy 02:48:45 c791037a9be2: Verifying Checksum 02:48:45 c791037a9be2: Download complete 02:48:45 595b0fe564bb: Verifying Checksum 02:48:45 595b0fe564bb: Download complete [Pipeline] sh 02:48:46 + make test 02:48:46 go mod tidy 02:48:46 595b0fe564bb: Pull complete 02:48:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:48:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:48:47 7186ed65a4f7: Pull complete 02:48:47 316046926c0a: Pull complete 02:48:48 ffd874e62e21: Verifying Checksum 02:48:48 ffd874e62e21: Download complete 02:48:49 4ebd0625c992: Verifying Checksum 02:48:49 4ebd0625c992: Download complete 02:48:59 4ebd0625c992: Pull complete 02:48:59 207e8628e3a3: Pull complete 02:48:59 c791037a9be2: Pull complete 02:49:04 ffd874e62e21: Pull complete 02:49:04 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 02:49:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:49:04 ---> cfc18b08335c 02:49:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 02:49:06 ---> Running in 34695e1304af 02:49:06 Removing intermediate container 34695e1304af 02:49:06 ---> b5bc2adb87de 02:49:06 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:06 ---> Running in d63dfcb76985 02:49:08 Removing intermediate container d63dfcb76985 02:49:08 ---> 9ed45213ef13 02:49:08 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 02:49:08 ---> Running in 81e6cad3b1c1 02:49:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:49:09 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.300s coverage: 63.8% of statements 02:49:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:49:09 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:49:10 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:49:11 (1/13) Installing libc-dev (0.7.2-r3) 02:49:11 (2/13) Installing libsodium (1.0.18-r0) 02:49:11 (3/13) Installing pkgconf (1.7.3-r0) 02:49:12 (4/13) Installing libsodium-dev (1.0.18-r0) 02:49:12 (5/13) Installing openssh-keygen (8.4_p1-r3) 02:49:12 (6/13) Installing libedit (20191231.3.1-r1) 02:49:12 (7/13) Installing openssh-client (8.4_p1-r3) 02:49:12 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 02:49:12 (9/13) Installing openssh-server-common (8.4_p1-r3) 02:49:12 (10/13) Installing openssh-server (8.4_p1-r3) 02:49:12 (11/13) Installing openssh (8.4_p1-r3) 02:49:13 (12/13) Installing libzmq (4.3.3-r1) 02:49:13 (13/13) Installing zeromq-dev (4.3.3-r1) 02:49:13 Executing busybox-1.32.1-r6.trigger 02:49:13 OK: 145 MiB in 53 packages 02:49:14 Removing intermediate container 81e6cad3b1c1 02:49:14 ---> 4184cccd5818 02:49:14 Step 6/8 : WORKDIR /device-virtual-go 02:49:14 ---> Running in 73d26bd6dffa 02:49:15 Removing intermediate container 73d26bd6dffa 02:49:15 ---> 3221081d0bbe 02:49:15 Step 7/8 : COPY . . 02:49:15 gofmt -l . 02:49:15 [ "`gofmt -l .`" = "" ] 02:49:15 ./bin/test-attribution-txt.sh 02:49:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:16 $ docker stop --time=1 7c916466af98d509e597b43d60badff80e9f72dd5a8b3f3e010f4bee18c1f5f3 02:49:16 ---> a0f40c50b160 02:49:16 Step 8/8 : RUN go mod download 02:49:16 ---> Running in 2c6a12a85594 02:49:18 $ docker rm -f 7c916466af98d509e597b43d60badff80e9f72dd5a8b3f3e010f4bee18c1f5f3 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:49:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:21 + ls -al . 02:49:21 total 132 02:49:21 drwxrwxr-x. 7 jenkins jenkins 4096 May 26 02:49 . 02:49:21 drwxrwxr-x. 4 jenkins jenkins 30 May 26 02:47 .. 02:49:21 -rw-rw-r--. 1 jenkins jenkins 8153 May 26 02:47 Attribution.txt 02:49:21 drwxrwxr-x. 2 jenkins jenkins 64 May 26 02:47 bin 02:49:21 drwxrwxr-x. 3 jenkins jenkins 32 May 26 02:47 cmd 02:49:21 -rw-r--r--. 1 jenkins jenkins 47247 May 26 02:49 coverage.out 02:49:21 -rw-rw-r--. 1 jenkins jenkins 1921 May 26 02:47 Dockerfile 02:49:21 -rw-rw-r--. 1 jenkins jenkins 998 May 26 02:47 Dockerfile.build 02:49:21 drwxrwxr-x. 8 jenkins jenkins 162 May 26 02:47 .git 02:49:21 drwxrwxr-x. 2 jenkins jenkins 103 May 26 02:47 .github 02:49:21 -rw-rw-r--. 1 jenkins jenkins 277 May 26 02:47 .gitignore 02:49:21 -rw-r--r--. 1 jenkins jenkins 809 May 26 02:49 go.mod 02:49:21 -rw-r--r--. 1 jenkins jenkins 23431 May 26 02:48 go.sum 02:49:21 drwxrwxr-x. 3 jenkins jenkins 20 May 26 02:47 internal 02:49:21 -rw-rw-r--. 1 jenkins jenkins 660 May 26 02:47 Jenkinsfile 02:49:21 -rw-rw-r--. 1 jenkins jenkins 11340 May 26 02:47 LICENSE 02:49:21 -rw-rw-r--. 1 jenkins jenkins 905 May 26 02:47 Makefile 02:49:21 -rw-rw-r--. 1 jenkins jenkins 2745 May 26 02:47 README.md 02:49:21 -rw-rw-r--. 1 jenkins jenkins 12 May 26 02:45 VERSION 02:49:21 -rw-rw-r--. 1 jenkins jenkins 235 May 26 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:49:21 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=8d9cac7b544984367de20437773925dcf3f7e06d --label arch=amd64 --label version=1.3.2-dev.19 . 02:49:21 Sending build context to Docker daemon 8.657MB 02:49:21 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 02:49:21 Step 2/26 : FROM ${BASE} AS builder 02:49:21 ---> 51f56494f278 02:49:21 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:49:22 ---> Running in e13c9544445c 02:49:22 Removing intermediate container e13c9544445c 02:49:22 ---> 512534290d88 02:49:22 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:49:22 ---> Running in 4c6fbf1aa93d 02:49:22 Removing intermediate container 4c6fbf1aa93d 02:49:22 ---> d290379e0424 02:49:22 Step 5/26 : WORKDIR /device-virtual-go 02:49:22 ---> Running in 15d03e1b99ff 02:49:22 Removing intermediate container 15d03e1b99ff 02:49:22 ---> cfb6fc907ffc 02:49:22 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:22 ---> Running in b9f8fdcd0a9a 02:49:23 Removing intermediate container b9f8fdcd0a9a 02:49:23 ---> d6c88488558f 02:49:23 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:23 ---> Running in 6c619c1c8eb4 02:49:23 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 02:49:23 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 02:49:24 OK: 156 MiB in 53 packages 02:49:24 Removing intermediate container 6c619c1c8eb4 02:49:24 ---> 6b1b58e3a0a3 02:49:24 Step 8/26 : COPY . . 02:49:25 ---> 40040cf23bb0 02:49:25 Step 9/26 : RUN go mod tidy 02:49:25 ---> Running in 33cfc66e28c8 02:49:25 Removing intermediate container 33cfc66e28c8 02:49:25 ---> a6c85e88b48c 02:49:25 Step 10/26 : RUN go mod download 02:49:25 ---> Running in e0378e373de6 02:49:26 Removing intermediate container e0378e373de6 02:49:26 ---> b19ccb2bc2b3 02:49:26 Step 11/26 : ARG MAKE='make build' 02:49:26 ---> Running in 486baa231db8 02:49:26 Removing intermediate container 486baa231db8 02:49:26 ---> c171852b95f0 02:49:26 Step 12/26 : RUN $MAKE 02:49:26 ---> Running in d5edd9676cb8 02:49:27 go mod tidy 02:49:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.19" -o cmd/device-virtual ./cmd 02:49:43 Removing intermediate container 2c6a12a85594 02:49:43 ---> b7ef25e44844 02:49:43 Successfully built b7ef25e44844 02:49:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:49:44 + docker inspect -f . ci-base-image-arm64 02:49:44 . [Pipeline] withDockerContainer 02:49:44 prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container 02:49:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/59 -v /w/workspace/device-virtual-go/59:/w/workspace/device-virtual-go/59:rw,z -v /w/workspace/device-virtual-go/59@tmp:/w/workspace/device-virtual-go/59@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 02:49:45 Removing intermediate container d5edd9676cb8 02:49:45 ---> f8cf051ad496 02:49:45 Step 13/26 : FROM alpine:3.12 02:49:45 3.12: Pulling from library/alpine 02:49:45 339de151aab4: Pulling fs layer 02:49:45 339de151aab4: Verifying Checksum 02:49:45 339de151aab4: Download complete 02:49:45 339de151aab4: Pull complete 02:49:45 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 02:49:45 Status: Downloaded newer image for alpine:3.12 02:49:45 ---> 13621d1b12d4 02:49:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:49:46 $ docker top d6d02ca1ec99cf38ab01fab931019ae8cb6bc43d809ce1c22b8398f1b9c42d9b -eo pid,comm 02:49:46 ---> Running in bfad91997c73 02:49:46 Removing intermediate container bfad91997c73 02:49:46 ---> 2b4fc36f67db 02:49:46 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:46 ---> Running in 79a66caea053 [Pipeline] { [Pipeline] sh 02:49:46 Removing intermediate container 79a66caea053 02:49:46 ---> a535e0c8644c 02:49:46 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:49:46 ---> Running in e145ad0ee436 02:49:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:49:46 + go version 02:49:46 go version go1.16.3 linux/arm64 [Pipeline] } 02:49:47 $ docker stop --time=1 d6d02ca1ec99cf38ab01fab931019ae8cb6bc43d809ce1c22b8398f1b9c42d9b 02:49:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:49:48 (1/6) Installing dumb-init (1.2.2-r1) 02:49:48 (2/6) Installing libgcc (9.3.0-r2) 02:49:48 (3/6) Installing libsodium (1.0.18-r0) 02:49:48 (4/6) Installing libstdc++ (9.3.0-r2) 02:49:48 $ docker rm -f d6d02ca1ec99cf38ab01fab931019ae8cb6bc43d809ce1c22b8398f1b9c42d9b 02:49:49 (5/6) Installing libzmq (4.3.3-r0) 02:49:49 (6/6) Installing zeromq (4.3.3-r0) 02:49:49 Executing busybox-1.31.1-r20.trigger 02:49:49 OK: 8 MiB in 20 packages [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:49:49 + docker inspect -f . ci-base-image-arm64 02:49:49 . [Pipeline] withDockerContainer 02:49:49 Removing intermediate container e145ad0ee436 02:49:49 ---> c43d2dfe2cfe 02:49:49 Step 17/26 : WORKDIR / 02:49:49 ---> Running in 18b29ccde1c2 02:49:49 Removing intermediate container 18b29ccde1c2 02:49:49 ---> 77ef2747a4d9 02:49:49 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:49:49 prd-ubuntu18.04-docker-arm64-4c-16g-341 does not seem to be running inside a container 02:49:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/59 -v /w/workspace/device-virtual-go/59:/w/workspace/device-virtual-go/59:rw,z -v /w/workspace/device-virtual-go/59@tmp:/w/workspace/device-virtual-go/59@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 02:49:49 ---> 1281167c7a8f 02:49:49 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:49:49 ---> 454209b4f9c4 02:49:49 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:49:50 ---> 35d047324ac7 02:49:50 Step 21/26 : EXPOSE 59900 02:49:50 ---> Running in bd9ffeb1f733 02:49:50 Removing intermediate container bd9ffeb1f733 02:49:50 ---> d14e580e2766 02:49:50 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:49:50 ---> Running in 9834203fae47 02:49:50 Removing intermediate container 9834203fae47 02:49:50 ---> 67260248fbd7 02:49:50 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:49:50 ---> Running in ce05da16f562 02:49:51 Removing intermediate container ce05da16f562 02:49:51 ---> 5c3382662de0 02:49:51 Step 24/26 : LABEL arch=amd64 02:49:51 ---> Running in f1dbb49acee5 02:49:51 Removing intermediate container f1dbb49acee5 02:49:51 ---> 97c245c7489b 02:49:51 Step 25/26 : LABEL git_sha=8d9cac7b544984367de20437773925dcf3f7e06d 02:49:51 ---> Running in e72dfcd2ba39 02:49:51 Removing intermediate container e72dfcd2ba39 02:49:51 ---> 7bf4a751bc1a 02:49:51 Step 26/26 : LABEL version=1.3.2-dev.19 02:49:51 ---> Running in 884f2e68f1fc 02:49:51 Removing intermediate container 884f2e68f1fc 02:49:51 ---> 06d44b78c8ca 02:49:51 [Warning] One or more build-args [ARCH] were not consumed 02:49:51 Successfully built 06d44b78c8ca 02:49:51 Successfully tagged device-virtual:latest 02:49:51 $ docker top fc4b2af14a3f30a72d7d1553e8a03a4b48ef88bcb08e0a2669abb4829fc6dd49 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:51 provisioning config files... 02:49:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/59@tmp/config7837490655234142335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:52 ---> docker-login.sh 02:49:52 nexus3.edgexfoundry.org:10001 02:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:52 Configure a credential helper to remove this warning. See 02:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:52 02:49:52 Login Succeeded 02:49:52 nexus3.edgexfoundry.org:10002 02:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:52 + go mod tidy 02:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:52 Configure a credential helper to remove this warning. See 02:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:52 02:49:52 Login Succeeded 02:49:52 nexus3.edgexfoundry.org:10003 02:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:52 Configure a credential helper to remove this warning. See 02:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:52 02:49:52 Login Succeeded 02:49:52 nexus3.edgexfoundry.org:10004 02:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:52 Configure a credential helper to remove this warning. See 02:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:52 02:49:52 Login Succeeded 02:49:52 docker.io 02:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 02:49:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:53 Configure a credential helper to remove this warning. See 02:49:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:53 02:49:53 Login Succeeded 02:49:53 ---> docker-login.sh ends [Pipeline] } 02:49:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:49:53 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 02:49:53 8d9cac7b544984367de20437773925dcf3f7e06d 02:49:53 latest 02:49:53 1.3.2-dev.19 02:49:53 8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 02:49:53 master 02:49:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:49:53 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] isUnix [Pipeline] sh 02:49:53 + make test 02:49:53 go mod tidy 02:49:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d 02:49:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:49:53 cffd17613119: Preparing 02:49:53 c50226be4684: Preparing 02:49:53 2920c0f52f58: Preparing 02:49:53 72ee43f984ca: Preparing 02:49:53 7c5cafee32b9: Preparing 02:49:53 32f366d666a5: Preparing 02:49:53 32f366d666a5: Waiting 02:49:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:49:54 c50226be4684: Pushed 02:49:54 32f366d666a5: Layer already exists 02:49:54 7c5cafee32b9: Pushed 02:49:54 72ee43f984ca: Pushed 02:49:54 2920c0f52f58: Pushed 02:49:55 ? github.com/edgexfoundry/device-virtual-go [no test files] 02:49:56 cffd17613119: Pushed 02:49:56 8d9cac7b544984367de20437773925dcf3f7e06d: digest: sha256:ca8d18a6ed66ce75aa83ac03c6b174f0f09508cf4f6d8de0d844584815b8451c size: 1572 [Pipeline] isUnix [Pipeline] sh 02:49:56 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 02:49:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 02:49:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:49:57 cffd17613119: Preparing 02:49:57 c50226be4684: Preparing 02:49:57 2920c0f52f58: Preparing 02:49:57 72ee43f984ca: Preparing 02:49:57 7c5cafee32b9: Preparing 02:49:57 32f366d666a5: Preparing 02:49:57 32f366d666a5: Waiting 02:49:57 cffd17613119: Layer already exists 02:49:57 72ee43f984ca: Layer already exists 02:49:57 7c5cafee32b9: Layer already exists 02:49:57 2920c0f52f58: Layer already exists 02:49:57 c50226be4684: Layer already exists 02:49:57 32f366d666a5: Layer already exists 02:49:57 latest: digest: sha256:ca8d18a6ed66ce75aa83ac03c6b174f0f09508cf4f6d8de0d844584815b8451c size: 1572 [Pipeline] isUnix [Pipeline] sh 02:49:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 02:49:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.19 02:49:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:49:57 cffd17613119: Preparing 02:49:57 c50226be4684: Preparing 02:49:57 2920c0f52f58: Preparing 02:49:57 72ee43f984ca: Preparing 02:49:57 7c5cafee32b9: Preparing 02:49:57 32f366d666a5: Preparing 02:49:57 32f366d666a5: Waiting 02:49:57 cffd17613119: Layer already exists 02:49:57 72ee43f984ca: Layer already exists 02:49:57 c50226be4684: Layer already exists 02:49:57 2920c0f52f58: Layer already exists 02:49:57 7c5cafee32b9: Layer already exists 02:49:57 32f366d666a5: Layer already exists 02:49:57 1.3.2-dev.19: digest: sha256:ca8d18a6ed66ce75aa83ac03c6b174f0f09508cf4f6d8de0d844584815b8451c size: 1572 [Pipeline] isUnix [Pipeline] sh 02:49:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 02:49:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 02:49:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:49:58 cffd17613119: Preparing 02:49:58 c50226be4684: Preparing 02:49:58 2920c0f52f58: Preparing 02:49:58 72ee43f984ca: Preparing 02:49:58 7c5cafee32b9: Preparing 02:49:58 32f366d666a5: Preparing 02:49:58 32f366d666a5: Waiting 02:49:58 c50226be4684: Layer already exists 02:49:58 7c5cafee32b9: Layer already exists 02:49:58 2920c0f52f58: Layer already exists 02:49:58 cffd17613119: Layer already exists 02:49:58 72ee43f984ca: Layer already exists 02:49:58 32f366d666a5: Layer already exists 02:49:58 8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19: digest: sha256:ca8d18a6ed66ce75aa83ac03c6b174f0f09508cf4f6d8de0d844584815b8451c size: 1572 [Pipeline] isUnix [Pipeline] sh 02:49:58 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] isUnix [Pipeline] sh 02:49:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:master 02:49:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 02:49:58 cffd17613119: Preparing 02:49:58 c50226be4684: Preparing 02:49:58 2920c0f52f58: Preparing 02:49:58 72ee43f984ca: Preparing 02:49:58 7c5cafee32b9: Preparing 02:49:58 32f366d666a5: Preparing 02:49:58 32f366d666a5: Waiting 02:49:58 c50226be4684: Layer already exists 02:49:58 72ee43f984ca: Layer already exists 02:49:58 2920c0f52f58: Layer already exists 02:49:58 7c5cafee32b9: Layer already exists 02:49:58 cffd17613119: Layer already exists 02:49:58 32f366d666a5: Layer already exists 02:49:58 master: digest: sha256:ca8d18a6ed66ce75aa83ac03c6b174f0f09508cf4f6d8de0d844584815b8451c size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:49:59 ===================================================== [Pipeline] echo 02:49:59 taggedImages: 02:49:59 - nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d 02:49:59 - nexus3.edgexfoundry.org:10004/device-virtual:latest 02:49:59 - nexus3.edgexfoundry.org:10004/device-virtual:1.3.2-dev.19 02:49:59 - nexus3.edgexfoundry.org:10004/device-virtual:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 02:49:59 - nexus3.edgexfoundry.org:10004/device-virtual:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 02:49:59 ---> job-cost.sh 02:49:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-f07X 02:50:09 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:50:22 lf-activate-venv(): INFO: Adding /tmp/venv-f07X/bin to PATH 02:50:22 INFO: No Stack... 02:50:22 INFO: Retrieving Pricing Info for: v3-standard-2 02:50:23 INFO: Archiving Costs [Pipeline] sh 02:50:23 + cat /w/workspace/device-virtual-go/59/archives/cost.csv 02:50:23 + cut -d, -f6 [Pipeline] lock 02:50:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] 02:50:23 Resource [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] did not exist. Created. 02:50:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:50:24 + echo total: 0.05999999865889549 [Pipeline] stash 02:50:24 Stashed 1 file(s) [Pipeline] } 02:50:24 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:51:03 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 02:51:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.748s coverage: 63.8% of statements 02:51:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:51:30 gofmt -l . 02:51:30 [ "`gofmt -l .`" = "" ] 02:51:30 ./bin/test-attribution-txt.sh 02:51:30 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:51:30 $ docker stop --time=1 fc4b2af14a3f30a72d7d1553e8a03a4b48ef88bcb08e0a2669abb4829fc6dd49 02:51:32 $ docker rm -f fc4b2af14a3f30a72d7d1553e8a03a4b48ef88bcb08e0a2669abb4829fc6dd49 [Pipeline] // withDockerContainer [Pipeline] sh 02:51:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:33 Warning: overwriting stash ‘coverage-report’ 02:51:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:51:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:34 + ls -al . 02:51:34 total 156 02:51:34 drwxrwxr-x 7 jenkins jenkins 4096 May 26 02:51 . 02:51:34 drwxrwxr-x 4 jenkins jenkins 4096 May 26 02:48 .. 02:51:34 drwxrwxr-x 8 jenkins jenkins 4096 May 26 02:48 .git 02:51:34 drwxrwxr-x 2 jenkins jenkins 4096 May 26 02:48 .github 02:51:34 -rw-rw-r-- 1 jenkins jenkins 277 May 26 02:48 .gitignore 02:51:34 -rw-rw-r-- 1 jenkins jenkins 8153 May 26 02:48 Attribution.txt 02:51:34 -rw-rw-r-- 1 jenkins jenkins 1921 May 26 02:48 Dockerfile 02:51:34 -rw-rw-r-- 1 jenkins jenkins 998 May 26 02:48 Dockerfile.build 02:51:34 -rw-rw-r-- 1 jenkins jenkins 660 May 26 02:48 Jenkinsfile 02:51:34 -rw-rw-r-- 1 jenkins jenkins 11340 May 26 02:48 LICENSE 02:51:34 -rw-rw-r-- 1 jenkins jenkins 905 May 26 02:48 Makefile 02:51:34 -rw-rw-r-- 1 jenkins jenkins 2745 May 26 02:48 README.md 02:51:34 -rw-rw-r-- 1 jenkins jenkins 12 May 26 02:45 VERSION 02:51:34 drwxrwxr-x 2 jenkins jenkins 4096 May 26 02:48 bin 02:51:34 drwxrwxr-x 3 jenkins jenkins 4096 May 26 02:48 cmd 02:51:34 -rw-r--r-- 1 jenkins jenkins 47247 May 26 02:50 coverage.out 02:51:34 -rw-r--r-- 1 jenkins jenkins 809 May 26 02:51 go.mod 02:51:34 -rw-r--r-- 1 jenkins jenkins 23431 May 26 02:49 go.sum 02:51:34 drwxrwxr-x 3 jenkins jenkins 4096 May 26 02:48 internal 02:51:34 -rw-rw-r-- 1 jenkins jenkins 235 May 26 02:48 version.go [Pipeline] isUnix [Pipeline] sh 02:51:35 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8d9cac7b544984367de20437773925dcf3f7e06d --label arch=arm64 --label version=1.3.2-dev.19 . 02:51:35 Sending build context to Docker daemon 8.656MB 02:51:35 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 02:51:35 Step 2/26 : FROM ${BASE} AS builder 02:51:35 ---> b7ef25e44844 02:51:35 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:51:35 ---> Running in 94fa45e117c4 02:51:36 Removing intermediate container 94fa45e117c4 02:51:36 ---> 38de4380073d 02:51:36 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 02:51:36 ---> Running in a0d06268deb1 02:51:37 Removing intermediate container a0d06268deb1 02:51:37 ---> 68f5290a4df1 02:51:37 Step 5/26 : WORKDIR /device-virtual-go 02:51:37 ---> Running in 804cf122f4d1 02:51:37 Removing intermediate container 804cf122f4d1 02:51:37 ---> 109d7877f6bd 02:51:37 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:37 ---> Running in 67210ab3db23 02:51:39 Removing intermediate container 67210ab3db23 02:51:39 ---> ef743f84339a 02:51:39 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:51:39 ---> Running in 72606420aa6b 02:51:40 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:51:41 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:51:42 OK: 145 MiB in 53 packages 02:51:43 Removing intermediate container 72606420aa6b 02:51:43 ---> 1e57123f4b86 02:51:43 Step 8/26 : COPY . . 02:51:45 ---> c0e4ff040208 02:51:45 Step 9/26 : RUN go mod tidy 02:51:45 ---> Running in 86c0e40e1be1 02:51:48 Removing intermediate container 86c0e40e1be1 02:51:48 ---> 5da6043c5e21 02:51:48 Step 10/26 : RUN go mod download 02:51:48 ---> Running in cb38880548bc 02:51:50 Removing intermediate container cb38880548bc 02:51:50 ---> 8251b2ae4f54 02:51:50 Step 11/26 : ARG MAKE='make build' 02:51:50 ---> Running in b574edda33c8 02:51:51 Removing intermediate container b574edda33c8 02:51:51 ---> 250d7ab08cb5 02:51:51 Step 12/26 : RUN $MAKE 02:51:51 ---> Running in f593b9ad944d 02:51:52 go mod tidy 02:51:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=1.3.2-dev.19" -o cmd/device-virtual ./cmd 02:52:49 Removing intermediate container f593b9ad944d 02:52:49 ---> b074678af9b2 02:52:49 Step 13/26 : FROM alpine:3.12 02:52:49 3.12: Pulling from library/alpine 02:52:49 d2f70382dc9a: Pulling fs layer 02:52:49 d2f70382dc9a: Verifying Checksum 02:52:49 d2f70382dc9a: Download complete 02:52:49 d2f70382dc9a: Pull complete 02:52:49 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 02:52:49 Status: Downloaded newer image for alpine:3.12 02:52:49 ---> 9852663dfa18 02:52:49 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:52:49 ---> Running in f154a7f4424d 02:52:49 Removing intermediate container f154a7f4424d 02:52:49 ---> 39848bad1fb7 02:52:49 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:52:49 ---> Running in 3fbbca4e2a7a 02:52:49 Removing intermediate container 3fbbca4e2a7a 02:52:49 ---> 39c384dae3e7 02:52:49 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 02:52:49 ---> Running in 22111ec1fbd5 02:52:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:52:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:52:49 (1/6) Installing dumb-init (1.2.2-r1) 02:52:49 (2/6) Installing libgcc (9.3.0-r2) 02:52:49 (3/6) Installing libsodium (1.0.18-r0) 02:52:49 (4/6) Installing libstdc++ (9.3.0-r2) 02:52:49 (5/6) Installing libzmq (4.3.3-r0) 02:52:49 (6/6) Installing zeromq (4.3.3-r0) 02:52:49 Executing busybox-1.31.1-r20.trigger 02:52:49 OK: 8 MiB in 20 packages 02:52:50 Removing intermediate container 22111ec1fbd5 02:52:50 ---> 6dcc418e692d 02:52:50 Step 17/26 : WORKDIR / 02:52:50 ---> Running in 4c68987c36f1 02:52:51 Removing intermediate container 4c68987c36f1 02:52:51 ---> b7b4c95830a0 02:52:51 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:52:51 ---> 37c9f3309c71 02:52:51 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 02:52:52 ---> ba1fa00c2b8e 02:52:52 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 02:52:54 ---> 433372cc0dec 02:52:54 Step 21/26 : EXPOSE 59900 02:52:54 ---> Running in 223a8b7cea0f 02:52:54 Removing intermediate container 223a8b7cea0f 02:52:54 ---> 88b562bc3f9d 02:52:54 Step 22/26 : ENTRYPOINT ["/device-virtual"] 02:52:55 ---> Running in 3a6ad40a0dbb 02:52:55 Removing intermediate container 3a6ad40a0dbb 02:52:55 ---> 009f62c7b411 02:52:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:52:55 ---> Running in 291bf0fc6c5a 02:52:56 Removing intermediate container 291bf0fc6c5a 02:52:56 ---> 9d6c76235a71 02:52:56 Step 24/26 : LABEL arch=arm64 02:52:56 ---> Running in f92443181761 02:52:56 Removing intermediate container f92443181761 02:52:56 ---> 8e9a6bbed575 02:52:56 Step 25/26 : LABEL git_sha=8d9cac7b544984367de20437773925dcf3f7e06d 02:52:56 ---> Running in 069a00673d9e 02:52:57 Removing intermediate container 069a00673d9e 02:52:57 ---> 12213b71b80f 02:52:57 Step 26/26 : LABEL version=1.3.2-dev.19 02:52:57 ---> Running in 973e18d8ad42 02:52:57 Removing intermediate container 973e18d8ad42 02:52:57 ---> 138c82ce10dc 02:52:57 [Warning] One or more build-args [ARCH] were not consumed 02:52:57 Successfully built 138c82ce10dc 02:52:57 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:58 provisioning config files... 02:52:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/59@tmp/config7950674800459001151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:58 ---> docker-login.sh 02:52:58 nexus3.edgexfoundry.org:10001 02:52:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:59 Configure a credential helper to remove this warning. See 02:52:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:59 02:52:59 Login Succeeded 02:52:59 nexus3.edgexfoundry.org:10002 02:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:52:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:52:59 Configure a credential helper to remove this warning. See 02:52:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:52:59 02:52:59 Login Succeeded 02:52:59 nexus3.edgexfoundry.org:10003 02:52:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 nexus3.edgexfoundry.org:10004 02:53:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:00 Configure a credential helper to remove this warning. See 02:53:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:00 02:53:00 Login Succeeded 02:53:00 docker.io 02:53:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:53:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:53:01 Configure a credential helper to remove this warning. See 02:53:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:53:01 02:53:01 Login Succeeded 02:53:01 ---> docker-login.sh ends [Pipeline] } 02:53:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:53:01 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 02:53:01 8d9cac7b544984367de20437773925dcf3f7e06d 02:53:01 latest 02:53:01 1.3.2-dev.19 02:53:01 8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 02:53:01 master 02:53:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:53:01 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] isUnix [Pipeline] sh 02:53:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d 02:53:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:53:02 13db9dc90b0a: Preparing 02:53:02 2fe61dc762e2: Preparing 02:53:02 860bc218c0d0: Preparing 02:53:02 2ca50fdce503: Preparing 02:53:02 8f8446af04d9: Preparing 02:53:02 3fbe34a1663b: Preparing 02:53:02 3fbe34a1663b: Waiting 02:53:02 8f8446af04d9: Pushed 02:53:02 860bc218c0d0: Pushed 02:53:02 2fe61dc762e2: Pushed 02:53:02 3fbe34a1663b: Layer already exists 02:53:04 2ca50fdce503: Pushed 02:53:07 13db9dc90b0a: Pushed 02:53:07 8d9cac7b544984367de20437773925dcf3f7e06d: digest: sha256:8227c1789b4c129bcdcbea1c0b79ae719db436fa9b2f20d289df70a1bc0057b2 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:53:08 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:53:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:53:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:53:08 13db9dc90b0a: Preparing 02:53:08 2fe61dc762e2: Preparing 02:53:08 860bc218c0d0: Preparing 02:53:08 2ca50fdce503: Preparing 02:53:08 8f8446af04d9: Preparing 02:53:08 3fbe34a1663b: Preparing 02:53:08 3fbe34a1663b: Waiting 02:53:08 860bc218c0d0: Layer already exists 02:53:08 2fe61dc762e2: Layer already exists 02:53:08 13db9dc90b0a: Layer already exists 02:53:08 8f8446af04d9: Layer already exists 02:53:08 2ca50fdce503: Layer already exists 02:53:08 3fbe34a1663b: Layer already exists 02:53:08 latest: digest: sha256:8227c1789b4c129bcdcbea1c0b79ae719db436fa9b2f20d289df70a1bc0057b2 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:53:09 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 02:53:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.19 02:53:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:53:09 13db9dc90b0a: Preparing 02:53:09 2fe61dc762e2: Preparing 02:53:09 860bc218c0d0: Preparing 02:53:09 2ca50fdce503: Preparing 02:53:09 8f8446af04d9: Preparing 02:53:09 3fbe34a1663b: Preparing 02:53:09 860bc218c0d0: Layer already exists 02:53:09 2fe61dc762e2: Layer already exists 02:53:09 8f8446af04d9: Layer already exists 02:53:09 2ca50fdce503: Layer already exists 02:53:09 13db9dc90b0a: Layer already exists 02:53:09 3fbe34a1663b: Layer already exists 02:53:09 1.3.2-dev.19: digest: sha256:8227c1789b4c129bcdcbea1c0b79ae719db436fa9b2f20d289df70a1bc0057b2 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:53:09 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 [Pipeline] isUnix [Pipeline] sh 02:53:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 02:53:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:53:10 13db9dc90b0a: Preparing 02:53:10 2fe61dc762e2: Preparing 02:53:10 860bc218c0d0: Preparing 02:53:10 2ca50fdce503: Preparing 02:53:10 8f8446af04d9: Preparing 02:53:10 3fbe34a1663b: Preparing 02:53:10 3fbe34a1663b: Waiting 02:53:10 860bc218c0d0: Layer already exists 02:53:10 2ca50fdce503: Layer already exists 02:53:10 8f8446af04d9: Layer already exists 02:53:10 2fe61dc762e2: Layer already exists 02:53:10 13db9dc90b0a: Layer already exists 02:53:10 3fbe34a1663b: Layer already exists 02:53:10 8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19: digest: sha256:8227c1789b4c129bcdcbea1c0b79ae719db436fa9b2f20d289df70a1bc0057b2 size: 1572 [Pipeline] isUnix [Pipeline] sh 02:53:10 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] isUnix [Pipeline] sh 02:53:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:master 02:53:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:53:11 13db9dc90b0a: Preparing 02:53:11 2fe61dc762e2: Preparing 02:53:11 860bc218c0d0: Preparing 02:53:11 2ca50fdce503: Preparing 02:53:11 8f8446af04d9: Preparing 02:53:11 3fbe34a1663b: Preparing 02:53:11 3fbe34a1663b: Waiting 02:53:11 8f8446af04d9: Layer already exists 02:53:11 2ca50fdce503: Layer already exists 02:53:11 2fe61dc762e2: Layer already exists 02:53:11 13db9dc90b0a: Layer already exists 02:53:11 860bc218c0d0: Layer already exists 02:53:11 3fbe34a1663b: Layer already exists 02:53:11 master: digest: sha256:8227c1789b4c129bcdcbea1c0b79ae719db436fa9b2f20d289df70a1bc0057b2 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:53:11 ===================================================== [Pipeline] echo 02:53:11 taggedImages: 02:53:11 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d 02:53:11 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:53:11 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1.3.2-dev.19 02:53:11 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:8d9cac7b544984367de20437773925dcf3f7e06d-1.3.2-dev.19 02:53:11 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 02:53:12 ---> job-cost.sh 02:53:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-2QWf 02:53:50 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:55:12 lf-activate-venv(): INFO: Adding /tmp/venv-2QWf/bin to PATH 02:55:12 INFO: No Stack... 02:55:14 INFO: Retrieving Pricing Info for: v2-standard-4 02:55:14 INFO: Archiving Costs [Pipeline] sh 02:55:15 + cut -d, -f6 02:55:15 + cat /w/workspace/device-virtual-go/59/archives/cost.csv [Pipeline] lock 02:55:15 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] 02:55:15 Resource [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] did not exist. Created. 02:55:15 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:55:15 /w/workspace/device-virtual-go/59@tmp/durable-8f1e7dd8/script.sh: 1: /w/workspace/device-virtual-go/59@tmp/durable-8f1e7dd8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:55:15 + echo total: 0.18000000715255737 [Pipeline] stash 02:55:15 Warning: overwriting stash ‘stack-cost’ 02:55:15 Stashed 1 file(s) [Pipeline] } 02:55:16 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-master-59-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:55:16 provisioning config files... 02:55:16 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config8960226354401544618tmp [Pipeline] { [Pipeline] sh 02:55:16 + set +x 02:55:16 + bash -s -- 02:55:16 + curl -s https://codecov.io/bash 02:55:16 02:55:16 _____ _ 02:55:16 / ____| | | 02:55:16 | | ___ __| | ___ ___ _____ __ 02:55:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:55:16 | |___| (_) | (_| | __/ (_| (_) \ V / 02:55:16 \_____\___/ \__,_|\___|\___\___/ \_/ 02:55:16 Bash-1.0.3 02:55:16 02:55:16 02:55:16 ==> git version 2.24.4 found 02:55:16 ==> 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 02:55:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:55:16 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:55:16 ==> Jenkins CI detected. 02:55:16 project root: . 02:55:16 --> token set from env 02:55:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:55:16 ==> Running gcov in . (disable via -X gcov) 02:55:16 ==> Python coveragepy not found 02:55:16 ==> Searching for coverage reports in: 02:55:16 + . 02:55:16 -> Found 1 reports 02:55:16 ==> Detecting git/mercurial file structure 02:55:17 ==> Reading reports 02:55:17 + ./coverage.out bytes=47247 02:55:17 ==> Appending adjustments 02:55:17 https://docs.codecov.io/docs/fixing-reports 02:55:17 + Found adjustments 02:55:17 ==> Gzipping contents 02:55:17 8.0K /tmp/codecov.777HkM.gz 02:55:17 ==> Uploading reports 02:55:17 url: https://codecov.io 02:55:17 query: branch=master&commit=8d9cac7b544984367de20437773925dcf3f7e06d&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:55:17 -> Pinging Codecov 02:55:17 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=master&commit=8d9cac7b544984367de20437773925dcf3f7e06d&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmaster%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:55:17 -> Uploading to 02:55:17 https://storage.googleapis.com/codecov/v4/raw/2021-05-26/5E52B4B073DB2E39498172D8E973AA87/8d9cac7b544984367de20437773925dcf3f7e06d/f24d096e-5095-4058-a2f4-ab1b5dea7282.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210526T025517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0407f02e9c7a8b8f712897413fa6cf4fa3aab8e898aa98e7e5630ff064a60f6 02:55:17 % Total % Received % Xferd Average Speed Time Time Time Current 02:55:17 Dload Upload Total Spent Left Speed 02:55:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5751 0 0 100 5751 0 17466 --:--:-- --:--:-- --:--:-- 17427 02:55:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] } 02:55:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:55:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:55:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:55:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:55:18 02:55:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:55:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:55:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:55:19 188c0c94c7c5: Pulling fs layer 02:55:19 0ef7d3d256c8: Pulling fs layer 02:55:19 de9db76c5a1d: Pulling fs layer 02:55:19 0eba1c9be4d2: Pulling fs layer 02:55:19 0d57e429df01: Pulling fs layer 02:55:19 4e4be7b47b0d: Pulling fs layer 02:55:19 e1f770b5df2f: Pulling fs layer 02:55:19 85a0685a4137: Pulling fs layer 02:55:19 0d57e429df01: Waiting 02:55:19 4e4be7b47b0d: Waiting 02:55:19 e1f770b5df2f: Waiting 02:55:19 85a0685a4137: Waiting 02:55:19 0eba1c9be4d2: Waiting 02:55:19 de9db76c5a1d: Verifying Checksum 02:55:19 de9db76c5a1d: Download complete 02:55:19 0ef7d3d256c8: Verifying Checksum 02:55:19 0ef7d3d256c8: Download complete 02:55:19 0d57e429df01: Verifying Checksum 02:55:19 0d57e429df01: Download complete 02:55:19 4e4be7b47b0d: Verifying Checksum 02:55:19 4e4be7b47b0d: Download complete 02:55:19 188c0c94c7c5: Verifying Checksum 02:55:19 188c0c94c7c5: Download complete 02:55:19 188c0c94c7c5: Pull complete 02:55:19 0ef7d3d256c8: Pull complete 02:55:19 de9db76c5a1d: Pull complete 02:55:21 e1f770b5df2f: Verifying Checksum 02:55:21 e1f770b5df2f: Download complete 02:55:23 0eba1c9be4d2: Verifying Checksum 02:55:23 0eba1c9be4d2: Download complete 02:55:23 85a0685a4137: Verifying Checksum 02:55:23 85a0685a4137: Download complete 02:55:26 0eba1c9be4d2: Pull complete 02:55:26 0d57e429df01: Pull complete 02:55:26 4e4be7b47b0d: Pull complete 02:55:26 e1f770b5df2f: Pull complete 02:55:30 85a0685a4137: Pull complete 02:55:30 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:55:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:55:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:55:30 prd-centos7-docker-4c-2g-339 does not seem to be running inside a container 02:55:30 $ 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 02:55:32 $ docker top 71738b73ff52997edd858302e3d267db045d57a5979a45c090b3cbc562a749bd -eo pid,comm [Pipeline] { [Pipeline] echo 02:55:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:55:33 + set -o pipefail 02:55:33 + snyk monitor '--org=edgex-jenkins' 02:55:38 02:55:38 Monitoring /w/workspace/foundry_device-virtual-go_master (github.com/edgexfoundry/device-virtual-go)... 02:55:38 02:55:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/b4d80036-96f8-4970-8664-866bde51747c 02:55:38 02:55:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:55:38 02:55:38 [Pipeline] } 02:55:38 $ docker stop --time=1 71738b73ff52997edd858302e3d267db045d57a5979a45c090b3cbc562a749bd 02:55:40 $ docker rm -f 71738b73ff52997edd858302e3d267db045d57a5979a45c090b3cbc562a749bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) 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 02:55:41 + git log --format=format:%s -1 8d9cac7b544984367de20437773925dcf3f7e06d [Pipeline] isUnix [Pipeline] sh 02:55:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:55:41 . [Pipeline] withDockerContainer 02:55:41 prd-centos7-docker-4c-2g-339 does not seem to be running inside a container 02:55:41 $ 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 02:55:42 $ docker top 1364b45b75bb381bf9ca6ba0cd13d0b1d078b1e509fa5bfef33db15342040461 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:55:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:55:42 [ssh-agent] Looking for ssh-agent implementation... 02:55:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:55:42 $ docker exec 1364b45b75bb381bf9ca6ba0cd13d0b1d078b1e509fa5bfef33db15342040461 ssh-agent 02:55:42 SSH_AUTH_SOCK=/tmp/ssh-u7Hw9Xt6L9th/agent.14 02:55:42 SSH_AGENT_PID=20 02:55:42 Running ssh-add (command line suppressed) 02:55:42 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_8994180147460436444.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_8994180147460436444.key) 02:55:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:55:42 + git semver tag 02:55:42 # -> Open(): unable to determine branch for HEAD 02:55:42 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 02:55:42 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 02:55:42 # $SEMVER_REMOTE_NAME = origin 02:55:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:55:42 # $SEMVER_USER_NAME = edgex-jenkins 02:55:42 # $SEMVER_BRANCH = master 02:55:42 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 02:55:42 # 8d9cac7b544984367de20437773925dcf3f7e06d HEAD 02:55:42 # -> Force: false 02:55:42 # 52ce9d3bd8d048d028ccc984fdd11a4886890bdf refs/tags/v1.3.2-dev.19 [Pipeline] } 02:55:42 $ docker exec --env ******** --env ******** 1364b45b75bb381bf9ca6ba0cd13d0b1d078b1e509fa5bfef33db15342040461 ssh-agent -k 02:55:42 unset SSH_AUTH_SOCK; 02:55:42 unset SSH_AGENT_PID; 02:55:42 echo Agent pid 20 killed; 02:55:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:55:43 + git semver [Pipeline] } 02:55:43 $ docker stop --time=1 1364b45b75bb381bf9ca6ba0cd13d0b1d078b1e509fa5bfef33db15342040461 02:55:44 $ docker rm -f 1364b45b75bb381bf9ca6ba0cd13d0b1d078b1e509fa5bfef33db15342040461 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:55:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:55:44 02:55:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:55:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:55:45 0.23.1-centos7: Pulling from edgex-lftools 02:55:45 ab5ef0e58194: Pulling fs layer 02:55:45 9712f1f96733: Pulling fs layer 02:55:45 63f879dbbcfc: Pulling fs layer 02:55:45 0d9ebad4ef96: Pulling fs layer 02:55:45 e9a5061849ea: Pulling fs layer 02:55:45 d747dcd14b5f: Pulling fs layer 02:55:45 2de7ff778b66: Pulling fs layer 02:55:45 0d9ebad4ef96: Waiting 02:55:45 e9a5061849ea: Waiting 02:55:45 d747dcd14b5f: Waiting 02:55:45 2de7ff778b66: Waiting 02:55:45 9712f1f96733: Download complete 02:55:46 63f879dbbcfc: Verifying Checksum 02:55:46 63f879dbbcfc: Download complete 02:55:46 e9a5061849ea: Verifying Checksum 02:55:46 e9a5061849ea: Download complete 02:55:46 d747dcd14b5f: Verifying Checksum 02:55:46 d747dcd14b5f: Download complete 02:55:47 2de7ff778b66: Verifying Checksum 02:55:47 2de7ff778b66: Download complete 02:55:47 0d9ebad4ef96: Verifying Checksum 02:55:47 0d9ebad4ef96: Download complete 02:55:47 ab5ef0e58194: Verifying Checksum 02:55:47 ab5ef0e58194: Download complete 02:55:49 ab5ef0e58194: Pull complete 02:55:49 9712f1f96733: Pull complete 02:55:50 63f879dbbcfc: Pull complete 02:55:54 0d9ebad4ef96: Pull complete 02:55:54 e9a5061849ea: Pull complete 02:55:54 d747dcd14b5f: Pull complete 02:55:55 2de7ff778b66: Pull complete 02:55:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:55:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:55:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:55:55 prd-centos7-docker-4c-2g-339 does not seem to be running inside a container 02:55:55 $ 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 02:56:00 $ docker top ef66cc0944b9ce84252c6efb2cd90b411e029ef723798dbe5c93650cb1c64ffe -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:56:00 provisioning config files... 02:56:00 copy managed file [sigul-config] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config4904271028285731257tmp 02:56:00 copy managed file [sigul-password] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3459894088482453939tmp 02:56:00 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config7190366219518830087tmp [Pipeline] { [Pipeline] echo 02:56:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:56:00 ---> sigul-configuration.sh 02:56:00 gpg: directory `/root/.gnupg' created 02:56:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:56:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:56:00 gpg: keyring `/root/.gnupg/secring.gpg' created 02:56:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:56:00 gpg: CAST5 encrypted data 02:56:00 gpg: encrypted with 1 passphrase 02:56:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:56:01 + mkdir /home/jenkins 02:56:01 + mkdir /home/jenkins/sigul [Pipeline] sh 02:56:01 + 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 02:56:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:56:01 ---> sigul-install.sh 02:56:08 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 02:56:08 + git tag --list 02:56:08 v1.0.0 02:56:08 v1.1.0 02:56:08 v1.1.1 02:56:08 v1.2.1 02:56:08 v1.2.2 02:56:08 v1.2.3 02:56:08 v1.3.0 02:56:08 v1.3.1 02:56:08 v1.3.1-dev.1 02:56:08 v1.3.1-dev.2 02:56:08 v1.3.1-dev.3 02:56:08 v1.3.1-dev.4 02:56:08 v1.3.1-dev.5 02:56:08 v1.3.2-dev.1 02:56:08 v1.3.2-dev.10 02:56:08 v1.3.2-dev.11 02:56:08 v1.3.2-dev.12 02:56:08 v1.3.2-dev.13 02:56:08 v1.3.2-dev.14 02:56:08 v1.3.2-dev.15 02:56:08 v1.3.2-dev.16 02:56:08 v1.3.2-dev.17 02:56:08 v1.3.2-dev.18 02:56:08 v1.3.2-dev.19 02:56:08 v1.3.2-dev.2 02:56:08 v1.3.2-dev.3 02:56:08 v1.3.2-dev.4 02:56:08 v1.3.2-dev.5 02:56:08 v1.3.2-dev.6 02:56:08 v1.3.2-dev.7 02:56:08 v1.3.2-dev.8 02:56:08 v1.3.2-dev.9 [Pipeline] sh 02:56:09 + lftools sign git-tag v1.3.2-dev.19 02:56:09 Signing Git tag with Sigul... 02:56:09 Signing v1.3.2-dev.19 [Pipeline] echo 02:56:10 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:56:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:56:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:56:10 $ docker stop --time=1 ef66cc0944b9ce84252c6efb2cd90b411e029ef723798dbe5c93650cb1c64ffe 02:56:12 $ docker rm -f ef66cc0944b9ce84252c6efb2cd90b411e029ef723798dbe5c93650cb1c64ffe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 02:56:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:56:12 . [Pipeline] withDockerContainer 02:56:12 prd-centos7-docker-4c-2g-339 does not seem to be running inside a container 02:56:13 $ 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 02:56:13 $ docker top 7309adc1459ff02fc712d19e0ea79a45d27c0d9b95e7607ab97dcc8b69923b2f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:56:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:56:13 [ssh-agent] Looking for ssh-agent implementation... 02:56:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:56:13 $ docker exec 7309adc1459ff02fc712d19e0ea79a45d27c0d9b95e7607ab97dcc8b69923b2f ssh-agent 02:56:13 SSH_AUTH_SOCK=/tmp/ssh-0JlUndhhozjO/agent.14 02:56:13 SSH_AGENT_PID=20 02:56:13 Running ssh-add (command line suppressed) 02:56:13 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_6708099888343074879.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_6708099888343074879.key) 02:56:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:56:14 + git semver bump pre 02:56:14 # -> Open(): unable to determine branch for HEAD 02:56:14 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 02:56:14 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 02:56:14 # $SEMVER_REMOTE_NAME = origin 02:56:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:56:14 # $SEMVER_USER_NAME = edgex-jenkins 02:56:14 # $SEMVER_BRANCH = master 02:56:14 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver 02:56:14 1.3.2-dev.20 [Pipeline] } 02:56:14 $ docker exec --env ******** --env ******** 7309adc1459ff02fc712d19e0ea79a45d27c0d9b95e7607ab97dcc8b69923b2f ssh-agent -k 02:56:14 unset SSH_AUTH_SOCK; 02:56:14 unset SSH_AGENT_PID; 02:56:14 echo Agent pid 20 killed; 02:56:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:56:14 + git semver [Pipeline] } 02:56:14 $ docker stop --time=1 7309adc1459ff02fc712d19e0ea79a45d27c0d9b95e7607ab97dcc8b69923b2f 02:56:15 $ docker rm -f 7309adc1459ff02fc712d19e0ea79a45d27c0d9b95e7607ab97dcc8b69923b2f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:56:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:56:16 . [Pipeline] withDockerContainer 02:56:16 prd-centos7-docker-4c-2g-339 does not seem to be running inside a container 02:56:16 $ 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 02:56:16 $ docker top c5de8e76c7b2d10cdb3677d74346ddf9825c5305184a0e6c98bdd5199222f095 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:56:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:56:16 [ssh-agent] Looking for ssh-agent implementation... 02:56:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:56:17 $ docker exec c5de8e76c7b2d10cdb3677d74346ddf9825c5305184a0e6c98bdd5199222f095 ssh-agent 02:56:17 SSH_AUTH_SOCK=/tmp/ssh-c6ipw3kKOgQx/agent.13 02:56:17 SSH_AGENT_PID=20 02:56:17 Running ssh-add (command line suppressed) 02:56:17 Identity added: /w/workspace/foundry_device-virtual-go_master@tmp/private_key_7138869709608527862.key (/w/workspace/foundry_device-virtual-go_master@tmp/private_key_7138869709608527862.key) 02:56:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:56:17 + git semver push 02:56:17 # -> Open(): unable to determine branch for HEAD 02:56:17 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_master/.git 02:56:17 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_master 02:56:17 # $SEMVER_REMOTE_NAME = origin 02:56:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:56:17 # $SEMVER_USER_NAME = edgex-jenkins 02:56:17 # $SEMVER_BRANCH = master 02:56:17 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_master/.semver [Pipeline] } 02:56:21 $ docker exec --env ******** --env ******** c5de8e76c7b2d10cdb3677d74346ddf9825c5305184a0e6c98bdd5199222f095 ssh-agent -k 02:56:21 unset SSH_AUTH_SOCK; 02:56:21 unset SSH_AGENT_PID; 02:56:21 echo Agent pid 20 killed; 02:56:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:56:22 + git semver [Pipeline] } 02:56:22 $ docker stop --time=1 c5de8e76c7b2d10cdb3677d74346ddf9825c5305184a0e6c98bdd5199222f095 02:56:23 $ docker rm -f c5de8e76c7b2d10cdb3677d74346ddf9825c5305184a0e6c98bdd5199222f095 [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 02:56:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:56:25 ---> package-listing.sh 02:56:25 ++ facter osfamily 02:56:25 ++ tr '[:upper:]' '[:lower:]' 02:56:25 + OS_FAMILY=redhat 02:56:25 + workspace=/w/workspace/foundry_device-virtual-go_master 02:56:25 + START_PACKAGES=/tmp/packages_start.txt 02:56:25 + END_PACKAGES=/tmp/packages_end.txt 02:56:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:56:25 + PACKAGES=/tmp/packages_start.txt 02:56:25 + '[' /w/workspace/foundry_device-virtual-go_master ']' 02:56:25 + PACKAGES=/tmp/packages_end.txt 02:56:25 + case "${OS_FAMILY}" in 02:56:25 + sort 02:56:25 + rpm -qa 02:56:26 + '[' -f /tmp/packages_start.txt ']' 02:56:26 + '[' -f /tmp/packages_end.txt ']' 02:56:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:56:26 + '[' /w/workspace/foundry_device-virtual-go_master ']' 02:56:26 + mkdir -p /w/workspace/foundry_device-virtual-go_master/archives/ 02:56:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_master/archives/ [Pipeline] echo 02:56:26 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 02:56:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:56:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:56:26 02:56:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:56:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:56:27 alpine: Pulling from edgex-lftools-log-publisher 02:56:27 df20fa9351a1: Pulling fs layer 02:56:27 36b3adc4ff6f: Pulling fs layer 02:56:27 8ad3a11d3b57: Pulling fs layer 02:56:27 46f8f816bc3b: Pulling fs layer 02:56:27 93b61091891f: Pulling fs layer 02:56:27 93b9cdb0e59b: Pulling fs layer 02:56:27 5e14af77c1be: Pulling fs layer 02:56:27 01666e4c0597: Pulling fs layer 02:56:27 aa168da1d23b: Pulling fs layer 02:56:27 46f8f816bc3b: Waiting 02:56:27 93b9cdb0e59b: Waiting 02:56:27 5e14af77c1be: Waiting 02:56:27 01666e4c0597: Waiting 02:56:27 aa168da1d23b: Waiting 02:56:27 93b61091891f: Waiting 02:56:27 36b3adc4ff6f: Verifying Checksum 02:56:27 36b3adc4ff6f: Download complete 02:56:27 46f8f816bc3b: Verifying Checksum 02:56:27 46f8f816bc3b: Download complete 02:56:27 df20fa9351a1: Verifying Checksum 02:56:27 df20fa9351a1: Download complete 02:56:27 93b9cdb0e59b: Verifying Checksum 02:56:27 93b9cdb0e59b: Download complete 02:56:27 5e14af77c1be: Verifying Checksum 02:56:27 5e14af77c1be: Download complete 02:56:27 93b61091891f: Verifying Checksum 02:56:27 93b61091891f: Download complete 02:56:27 01666e4c0597: Verifying Checksum 02:56:27 01666e4c0597: Download complete 02:56:27 df20fa9351a1: Pull complete 02:56:27 8ad3a11d3b57: Verifying Checksum 02:56:27 8ad3a11d3b57: Download complete 02:56:27 36b3adc4ff6f: Pull complete 02:56:28 8ad3a11d3b57: Pull complete 02:56:28 46f8f816bc3b: Pull complete 02:56:28 93b61091891f: Pull complete 02:56:28 93b9cdb0e59b: Pull complete 02:56:28 5e14af77c1be: Pull complete 02:56:28 01666e4c0597: Pull complete 02:56:29 aa168da1d23b: Verifying Checksum 02:56:29 aa168da1d23b: Download complete 02:56:33 aa168da1d23b: Pull complete 02:56:33 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:56:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:56:33 prd-centos7-docker-4c-2g-339 does not seem to be running inside a container 02:56:33 $ 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 02:56:35 $ docker top b823eba52fbcdcc8f05d109035d38765fab517fdf54b4e6b22a3cfadfa21503c -eo pid,comm [Pipeline] { [Pipeline] sh 02:56:36 + touch /tmp/pre-build-complete [Pipeline] sh 02:56:36 + mkdir -p /var/log/sa [Pipeline] sh 02:56:36 + ls /var/log/sa-host 02:56:36 + sadf -c /var/log/sa-host/sa05 02:56:36 file_magic: OK 02:56:36 HZ: Using current value: 100 02:56:36 file_header: OK 02:56:36 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 02:56:36 Statistics: 02:56:36 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:56:36 File successfully converted to sysstat format version 12.2.1 02:56:36 + sadf -c /var/log/sa-host/sa26 02:56:36 file_magic: OK 02:56:36 HZ: Using current value: 100 02:56:36 file_header: OK 02:56:36 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 02:56:36 Statistics: 02:56:36 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:56:36 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:56:37 provisioning config files... 02:56:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_master@tmp/config3221755849235276158tmp [Pipeline] { [Pipeline] echo 02:56:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:56:37 ---> create-netrc.sh [Pipeline] } 02:56:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:56:37 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:56:38 ---> python-tools-install.sh [Pipeline] echo 02:56:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:56:38 ---> sudo-logs.sh 02:56:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:56:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:56:38 ---> job-cost.sh 02:56:38 lf-activate-venv: SKIPPING 02:56:38 DEBUG: total: 0.18000000715255737 02:56:38 INFO: Retrieving Stack Cost... 02:56:39 INFO: Retrieving Pricing Info for: v3-standard-2 02:56:40 INFO: Archiving Costs [Pipeline] echo 02:56:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:56:40 ---> logs-deploy.sh 02:56:40 lf-activate-venv: SKIPPING 02:56:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/master/59 02:56:40 INFO: archiving workspace using pattern(s): 02:56:41 Archives upload complete. 02:56:41 INFO: archiving logs to Nexus 02:56:42 ---> uname -a: 02:56:42 Linux prd-centos7-docker-4c-2g-339.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 02:56:42 02:56:42 02:56:42 ---> lscpu: 02:56:42 Architecture: x86_64 02:56:42 CPU op-mode(s): 32-bit, 64-bit 02:56:42 Byte Order: Little Endian 02:56:42 Address sizes: 40 bits physical, 48 bits virtual 02:56:42 CPU(s): 2 02:56:42 On-line CPU(s) list: 0,1 02:56:42 Thread(s) per core: 1 02:56:42 Core(s) per socket: 1 02:56:42 Socket(s): 2 02:56:42 NUMA node(s): 1 02:56:42 Vendor ID: AuthenticAMD 02:56:42 CPU family: 23 02:56:42 Model: 49 02:56:42 Model name: AMD EPYC-Rome Processor 02:56:42 Stepping: 0 02:56:42 CPU MHz: 2799.998 02:56:42 BogoMIPS: 5599.99 02:56:42 Virtualization: AMD-V 02:56:42 Hypervisor vendor: KVM 02:56:42 Virtualization type: full 02:56:42 L1d cache: 64 KiB 02:56:42 L1i cache: 64 KiB 02:56:42 L2 cache: 1 MiB 02:56:42 L3 cache: 32 MiB 02:56:42 NUMA node0 CPU(s): 0,1 02:56:42 Vulnerability Itlb multihit: Not affected 02:56:42 Vulnerability L1tf: Not affected 02:56:42 Vulnerability Mds: Not affected 02:56:42 Vulnerability Meltdown: Not affected 02:56:42 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:56:42 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 02:56:42 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 02:56:42 Vulnerability Srbds: Not affected 02:56:42 Vulnerability Tsx async abort: Not affected 02:56:42 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 02:56:42 02:56:42 02:56:42 ---> nproc: 02:56:42 2 02:56:42 02:56:42 02:56:42 ---> df -h: 02:56:42 Filesystem Size Used Available Use% Mounted on 02:56:42 overlay 40.0G 8.9G 31.1G 22% / 02:56:42 tmpfs 64.0M 0 64.0M 0% /dev 02:56:42 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 02:56:42 shm 64.0M 0 64.0M 0% /dev/shm 02:56:42 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 02:56:42 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 02:56:42 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 02:56:42 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 02:56:42 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 02:56:42 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master 02:56:42 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/foundry_device-virtual-go_master@tmp 02:56:42 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 02:56:42 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 02:56:42 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 02:56:42 02:56:42 02:56:42 ---> free -m: 02:56:42 total used free shared buff/cache available 02:56:42 Mem: 7821 1169 3252 0 3400 6571 02:56:42 Swap: 1023 0 1023 02:56:42 02:56:42 02:56:42 ---> ip addr: 02:56:42 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 02:56:42 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 02:56:42 inet 127.0.0.1/8 scope host lo 02:56:42 valid_lft forever preferred_lft forever 02:56:42 inet6 ::1/128 scope host 02:56:42 valid_lft forever preferred_lft forever 02:56:42 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 02:56:42 link/ether fa:16:3e:c8:41:c3 brd ff:ff:ff:ff:ff:ff 02:56:42 inet 10.30.122.77/23 brd 10.30.123.255 scope global dynamic eth0 02:56:42 valid_lft 85693sec preferred_lft 85693sec 02:56:42 inet6 fe80::f816:3eff:fec8:41c3/64 scope link 02:56:42 valid_lft forever preferred_lft forever 02:56:42 3: docker0: mtu 1500 qdisc noqueue state DOWN 02:56:42 link/ether 02:42:83:bd:a6:67 brd ff:ff:ff:ff:ff:ff 02:56:42 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 02:56:42 valid_lft forever preferred_lft forever 02:56:42 inet6 fe80::42:83ff:febd:a667/64 scope link 02:56:42 valid_lft forever preferred_lft forever 02:56:42 02:56:42 02:56:42 ---> sar -b -r -n DEV: 02:56:42 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/26/21 _x86_64_ (2 CPU) 02:56:42 02:56:42 02:44:45 LINUX RESTART (2 CPU) 02:56:42 02:56:42 02:45:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:56:42 02:46:01 217.97 85.50 132.47 0.00 10280.65 41556.06 0.00 02:56:42 02:47:01 1.65 0.00 1.65 0.00 0.00 34.58 0.00 02:56:42 02:48:01 0.40 0.00 0.40 0.00 0.00 5.96 0.00 02:56:42 02:49:01 0.17 0.00 0.17 0.00 0.00 2.50 0.00 02:56:42 02:50:01 0.33 0.00 0.33 0.00 0.00 5.71 0.00 02:56:42 02:51:01 0.22 0.00 0.22 0.00 0.00 3.28 0.00 02:56:42 02:52:01 0.23 0.00 0.23 0.00 0.00 3.50 0.00 02:56:42 02:53:01 0.28 0.00 0.28 0.00 0.00 3.00 0.00 02:56:42 02:54:01 0.18 0.00 0.18 0.00 0.00 2.15 0.00 02:56:42 02:55:01 0.23 0.00 0.23 0.00 0.00 3.20 0.00 02:56:42 02:56:01 198.07 0.03 198.04 0.00 3.73 54055.33 0.00 02:56:42 Average: 38.18 7.78 30.40 0.00 935.30 8702.68 0.00 02:56:42 02:56:42 02:45:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:56:42 02:46:01 5443172 0 810936 10.13 2620 1752204 1271340 14.04 583324 1583600 128 02:56:42 02:47:01 5453236 0 800864 10.00 2620 1752212 1207636 13.33 574332 1583564 20 02:56:42 02:48:01 5449464 0 804636 10.05 2620 1752212 1207984 13.34 579952 1581748 8 02:56:42 02:49:01 5440520 0 813576 10.16 2620 1752216 1276976 14.10 587976 1581748 8 02:56:42 02:50:01 5439864 0 814224 10.17 2620 1752224 1279184 14.12 584176 1585900 20 02:56:42 02:51:01 5445840 0 808248 10.09 2620 1752224 1246912 13.77 578900 1585900 20 02:56:42 02:52:01 5445488 0 808588 10.10 2620 1752236 1236632 13.65 579200 1585904 12 02:56:42 02:53:01 5437520 0 816552 10.20 2620 1752240 1218188 13.45 587792 1585900 12 02:56:42 02:54:01 5436720 0 817348 10.21 2620 1752244 1218352 13.45 588492 1585900 20 02:56:42 02:55:01 5440000 0 814064 10.16 2620 1752248 1202836 13.28 586628 1584844 20 02:56:42 02:56:01 3822292 0 1109432 13.85 2620 3074588 1908612 21.07 833744 2739172 204 02:56:42 Average: 5295829 0 838043 10.46 2620 1872441 1297696 14.33 605865 1689471 43 02:56:42 02:56:42 02:45:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:56:42 02:46:01 eth0 679.10 517.50 1339.93 95.92 0.00 0.00 0.00 0.00 02:56:42 02:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:46:01 docker0 53.93 37.15 4.71 138.37 0.00 0.00 0.00 0.00 02:56:42 02:47:01 eth0 1.03 0.08 0.09 0.02 0.00 0.00 0.00 0.00 02:56:42 02:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:48:01 eth0 2.60 0.85 0.95 0.53 0.00 0.00 0.00 0.00 02:56:42 02:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:49:01 eth0 4.23 3.36 0.90 14.96 0.00 0.00 0.00 0.00 02:56:42 02:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:50:01 eth0 3.86 1.57 0.77 8.72 0.00 0.00 0.00 0.00 02:56:42 02:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:51:01 eth0 2.58 0.65 0.82 0.52 0.00 0.00 0.00 0.00 02:56:42 02:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:52:01 eth0 2.25 0.60 0.65 0.42 0.00 0.00 0.00 0.00 02:56:42 02:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:53:01 eth0 1.00 0.30 0.32 0.23 0.00 0.00 0.00 0.00 02:56:42 02:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:54:01 eth0 1.00 0.60 0.54 0.40 0.00 0.00 0.00 0.00 02:56:42 02:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:55:01 eth0 0.13 0.02 0.01 0.00 0.00 0.00 0.00 0.00 02:56:42 02:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:56:01 veth4a6b15a 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:56:01 eth0 847.44 781.56 7699.89 113.02 0.00 0.00 0.00 0.00 02:56:42 02:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 02:56:01 docker0 70.46 73.55 5.95 404.05 0.00 0.00 0.00 0.00 02:56:42 Average: veth4a6b15a 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 Average: eth0 140.55 118.89 822.81 21.35 0.00 0.00 0.00 0.00 02:56:42 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:56:42 Average: docker0 11.31 10.07 0.97 49.34 0.00 0.00 0.00 0.00 02:56:42 02:56:42 02:56:42 ---> sar -P ALL: 02:56:42 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/26/21 _x86_64_ (2 CPU) 02:56:42 02:56:42 02:44:45 LINUX RESTART (2 CPU) 02:56:42 02:56:42 02:45:01 CPU %user %nice %system %iowait %steal %idle 02:56:42 02:46:01 all 20.54 0.00 7.30 10.86 0.06 61.24 02:56:42 02:46:01 0 19.19 0.00 7.59 9.50 0.07 63.66 02:56:42 02:46:01 1 21.90 0.00 7.00 12.23 0.05 58.82 02:56:42 02:47:01 all 0.18 0.00 0.04 0.00 0.03 99.76 02:56:42 02:47:01 0 0.07 0.00 0.05 0.00 0.03 99.85 02:56:42 02:47:01 1 0.28 0.00 0.03 0.00 0.02 99.67 02:56:42 02:48:01 all 0.21 0.00 0.13 0.00 0.03 99.63 02:56:42 02:48:01 0 0.07 0.00 0.05 0.00 0.03 99.85 02:56:42 02:48:01 1 0.35 0.00 0.20 0.00 0.03 99.42 02:56:42 02:49:01 all 0.20 0.00 0.05 0.00 0.02 99.73 02:56:42 02:49:01 0 0.13 0.00 0.07 0.00 0.02 99.78 02:56:42 02:49:01 1 0.27 0.00 0.03 0.00 0.02 99.68 02:56:42 02:50:01 all 0.07 0.00 0.05 0.00 0.02 99.87 02:56:42 02:50:01 0 0.08 0.00 0.07 0.00 0.03 99.82 02:56:42 02:50:01 1 0.05 0.00 0.03 0.00 0.00 99.92 02:56:42 02:51:01 all 0.20 0.00 0.03 0.00 0.02 99.76 02:56:42 02:51:01 0 0.30 0.00 0.03 0.00 0.02 99.65 02:56:42 02:51:01 1 0.10 0.00 0.02 0.00 0.02 99.87 02:56:42 02:52:01 all 0.17 0.00 0.03 0.00 0.02 99.79 02:56:42 02:52:01 0 0.28 0.00 0.02 0.00 0.03 99.67 02:56:42 02:52:01 1 0.05 0.00 0.03 0.00 0.00 99.92 02:56:42 02:53:01 all 0.21 0.00 0.03 0.00 0.02 99.74 02:56:42 02:53:01 0 0.40 0.00 0.02 0.00 0.02 99.57 02:56:42 02:53:01 1 0.02 0.00 0.05 0.00 0.02 99.92 02:56:42 02:54:01 all 0.17 0.00 0.03 0.00 0.03 99.77 02:56:42 02:54:01 0 0.28 0.00 0.03 0.00 0.02 99.67 02:56:42 02:54:01 1 0.05 0.00 0.03 0.00 0.05 99.87 02:56:42 02:55:01 all 0.13 0.00 0.02 0.00 0.02 99.83 02:56:42 02:55:01 0 0.23 0.00 0.02 0.00 0.02 99.73 02:56:42 02:55:01 1 0.03 0.00 0.02 0.00 0.02 99.93 02:56:42 02:56:01 all 20.18 0.00 8.63 3.36 0.07 67.76 02:56:42 02:56:01 0 20.30 0.00 8.89 2.92 0.07 67.82 02:56:42 02:56:01 1 20.06 0.00 8.37 3.80 0.07 67.70 02:56:42 02:56:42 Average: CPU %user %nice %system %iowait %steal %idle 02:56:42 Average: all 3.70 0.00 1.43 1.25 0.03 93.59 02:56:42 Average: 0 3.62 0.00 1.47 1.09 0.03 93.78 02:56:42 Average: 1 3.78 0.00 1.39 1.41 0.03 93.40 02:56:42 02:56:42 02:56:42