Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3357756497324679949.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7357946274736276010.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh682849467348309959.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3004670241766456551.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/main/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh995399778935638772.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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_BUILD_IMAGE_TARGET: builder 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-2165 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/exfoundry_device-virtual-go_main@tmp/jenkins-gitclient-ssh134334282525077240.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 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 (main) > 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 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 Commit message: "Merge pull request #244 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.21" > git rev-list --no-walk b800f9be7a3e68765c1f64d7308fbe20b9d5be4e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:54:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:54:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:54:52 ========================================================= 11:54:52 EdgeX Global Pipelines Version Info 11:54:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:54:53 ------------------- 11:54:53 stable info: 11:54:53 ------------------- 11:54:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:54:53 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 11:54:53 Message: update stable to v1.0.210 11:54:54 ------------------- 11:54:54 experimental info: 11:54:54 ------------------- 11:54:54 Commited By: **** collab-it+edgex@linuxfoundation.org 11:54:54 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 11:54:54 Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34dd162 [Pipeline] echo 11:54:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:54:54 provisioning config files... 11:54:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2547413541057326313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:54:55 ---> docker-login.sh 11:54:55 nexus3.edgexfoundry.org:10001 11:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:55 Configure a credential helper to remove this warning. See 11:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:55 11:54:55 Login Succeeded 11:54:55 nexus3.edgexfoundry.org:10002 11:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:55 Configure a credential helper to remove this warning. See 11:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:55 11:54:55 Login Succeeded 11:54:55 nexus3.edgexfoundry.org:10003 11:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:55 Configure a credential helper to remove this warning. See 11:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:55 11:54:55 Login Succeeded 11:54:55 nexus3.edgexfoundry.org:10004 11:54:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:55 Configure a credential helper to remove this warning. See 11:54:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:55 11:54:55 Login Succeeded 11:54:55 docker.io 11:54:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:56 Configure a credential helper to remove this warning. See 11:54:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:56 11:54:56 Login Succeeded 11:54:56 ---> docker-login.sh ends [Pipeline] } 11:54:56 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 11:54:56 + git log --format=format:%s -1 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] echo 11:54:56 GIT_COMMIT: 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584, Commit Message: Merge pull request #244 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.21 [Pipeline] echo 11:54:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:54:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:54:57 11:54:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:54:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:54:57 latest: Pulling from edgex-devops/git-semver 11:54:57 a0d0a0d46f8b: Pulling fs layer 11:54:57 3e5f54012d9b: Pulling fs layer 11:54:57 4c7163046ea9: Pulling fs layer 11:54:57 0c2d73faf560: Pulling fs layer 11:54:57 0c2d73faf560: Waiting 11:54:57 3e5f54012d9b: Verifying Checksum 11:54:57 3e5f54012d9b: Download complete 11:54:57 a0d0a0d46f8b: Verifying Checksum 11:54:57 a0d0a0d46f8b: Download complete 11:54:58 4c7163046ea9: Verifying Checksum 11:54:58 4c7163046ea9: Download complete 11:54:58 0c2d73faf560: Verifying Checksum 11:54:58 0c2d73faf560: Download complete 11:54:58 a0d0a0d46f8b: Pull complete 11:54:58 3e5f54012d9b: Pull complete 11:54:58 4c7163046ea9: Pull complete 11:54:58 0c2d73faf560: Pull complete 11:54:58 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:54:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:54:58 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:54:58 prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container 11:54:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 11:54:59 $ docker top d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:54:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:54:59 [ssh-agent] Looking for ssh-agent implementation... 11:54:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:54:59 $ docker exec d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 ssh-agent 11:54:59 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGHiLnO/agent.15 11:54:59 SSH_AGENT_PID=21 11:54:59 Running ssh-add (command line suppressed) 11:54:59 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8551252869491418451.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8551252869491418451.key) 11:54:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:55:00 + git tag --points-at HEAD [Pipeline] } 11:55:00 $ docker exec --env ******** --env ******** d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 ssh-agent -k 11:55:00 unset SSH_AUTH_SOCK; 11:55:00 unset SSH_AGENT_PID; 11:55:00 echo Agent pid 21 killed; 11:55:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:55:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:55:00 [ssh-agent] Looking for ssh-agent implementation... 11:55:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:55:00 $ docker exec d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 ssh-agent 11:55:00 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCmMLiM/agent.53 11:55:00 SSH_AGENT_PID=59 11:55:00 Running ssh-add (command line suppressed) 11:55:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5357689600347435383.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5357689600347435383.key) 11:55:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:55:01 + git semver init 11:55:01 # -> Open(): unable to determine branch for HEAD 11:55:01 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 11:55:01 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 11:55:01 # $SEMVER_REMOTE_NAME = origin 11:55:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:55:01 # $SEMVER_USER_NAME = edgex-jenkins 11:55:01 # $SEMVER_BRANCH = main 11:55:01 # $SEMVER_TEMP = /tmp/semver-194324087 11:55:01 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 11:55:02 # '/tmp/semver-194324087' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 11:55:02 # -> Force: false 11:55:02 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 11:55:02 $ docker exec --env ******** --env ******** d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 ssh-agent -k 11:55:02 unset SSH_AUTH_SOCK; 11:55:02 unset SSH_AGENT_PID; 11:55:02 echo Agent pid 59 killed; 11:55:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:55:03 + git semver [Pipeline] } 11:55:03 $ docker stop --time=1 d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 11:55:05 $ docker rm -f d51697365f14cd62d8a4a155df86f1c0f8baf4063536e1fac79cc9d378c241d3 [Pipeline] // withDockerContainer [Pipeline] sh 11:55:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:55:05 Stashed 1 file(s) [Pipeline] echo 11:55:05 [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [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 11:55:20 Still waiting to schedule task 11:55:20 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2165’ 11:55:20 Still waiting to schedule task 11:55:20 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:57:25 Running on prd-centos7-docker-4c-2g-2167 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 11:57:25 Running in /w/workspace/device-virtual-go/10 [Pipeline] { [Pipeline] checkout 11:57:25 The recommended git tool is: git 11:57:28 using credential edgex-jenkins-ssh 11:57:28 Cloning the remote Git repository 11:57:27 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:57:27 > git init /w/workspace/device-virtual-go/10 # timeout=10 11:57:27 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:57:27 > git --version # timeout=10 11:57:27 > git --version # 'git version 2.24.4' 11:57:27 using GIT_SSH to set credentials SSH Credentials for GitHub 11:57:27 [INFO] Currently running in a labeled security context 11:57:27 [INFO] Currently SELinux is 'enforcing' on the host 11:57:27 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/10@tmp/jenkins-gitclient-ssh8656050333724568348.key 11:57:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:57:29 Avoid second fetch 11:57:29 Checking out Revision 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 (main) 11:57:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:57:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:57:28 > git config core.sparsecheckout # timeout=10 11:57:28 > git checkout -f 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 11:57:33 Commit message: "Merge pull request #244 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.21" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:57:33 provisioning config files... 11:57:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/10@tmp/config7012065652324193649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:57:34 ---> docker-login.sh 11:57:34 nexus3.edgexfoundry.org:10001 11:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:57:34 Configure a credential helper to remove this warning. See 11:57:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:57:34 11:57:34 Login Succeeded 11:57:34 nexus3.edgexfoundry.org:10002 11:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:57:34 Configure a credential helper to remove this warning. See 11:57:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:57:34 11:57:34 Login Succeeded 11:57:34 nexus3.edgexfoundry.org:10003 11:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:57:34 Configure a credential helper to remove this warning. See 11:57:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:57:34 11:57:34 Login Succeeded 11:57:34 nexus3.edgexfoundry.org:10004 11:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:57:34 Configure a credential helper to remove this warning. See 11:57:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:57:34 11:57:34 Login Succeeded 11:57:34 docker.io 11:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:57:35 Configure a credential helper to remove this warning. See 11:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:57:35 11:57:35 Login Succeeded 11:57:35 ---> docker-login.sh ends [Pipeline] } 11:57:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:57:35 ========================================================= 11:57:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 11:57:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:57:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 11:57:35 Sending build context to Docker daemon 8.623MB 11:57:35 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 11:57:35 Step 2/11 : FROM ${BASE} AS builder 11:57:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 11:57:35 a0d0a0d46f8b: Pulling fs layer 11:57:35 31adcdaf11c8: Pulling fs layer 11:57:35 b8b176561691: Pulling fs layer 11:57:35 4527c011a84f: Pulling fs layer 11:57:35 5d74067f8e1e: Pulling fs layer 11:57:35 e0aca202a116: Pulling fs layer 11:57:35 3a43be97a3b4: Pulling fs layer 11:57:35 34cad66bf833: Pulling fs layer 11:57:35 b4e3c513aaa6: Pulling fs layer 11:57:35 e0aca202a116: Waiting 11:57:35 3a43be97a3b4: Waiting 11:57:35 34cad66bf833: Waiting 11:57:35 b4e3c513aaa6: Waiting 11:57:35 4527c011a84f: Waiting 11:57:35 5d74067f8e1e: Waiting 11:57:35 b8b176561691: Verifying Checksum 11:57:35 b8b176561691: Download complete 11:57:35 31adcdaf11c8: Verifying Checksum 11:57:35 31adcdaf11c8: Download complete 11:57:35 5d74067f8e1e: Verifying Checksum 11:57:35 5d74067f8e1e: Download complete 11:57:35 e0aca202a116: Verifying Checksum 11:57:35 e0aca202a116: Download complete 11:57:35 3a43be97a3b4: Verifying Checksum 11:57:35 3a43be97a3b4: Download complete 11:57:35 a0d0a0d46f8b: Verifying Checksum 11:57:35 a0d0a0d46f8b: Download complete 11:57:35 34cad66bf833: Verifying Checksum 11:57:35 34cad66bf833: Download complete 11:57:36 a0d0a0d46f8b: Pull complete 11:57:36 31adcdaf11c8: Pull complete 11:57:36 b8b176561691: Pull complete 11:57:36 4527c011a84f: Verifying Checksum 11:57:36 4527c011a84f: Download complete 11:57:36 b4e3c513aaa6: Verifying Checksum 11:57:36 b4e3c513aaa6: Download complete 11:57:39 4527c011a84f: Pull complete 11:57:39 5d74067f8e1e: Pull complete 11:57:39 e0aca202a116: Pull complete 11:57:40 3a43be97a3b4: Pull complete 11:57:40 34cad66bf833: Pull complete 11:57:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2166 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 11:57:42 Running in /w/workspace/device-virtual-go/10 [Pipeline] { [Pipeline] checkout 11:57:42 The recommended git tool is: git 11:57:42 b4e3c513aaa6: Pull complete 11:57:42 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 11:57:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:57:42 ---> 9f6097aaca64 11:57:42 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:57:46 ---> Running in 37ae77363b98 11:57:46 Removing intermediate container 37ae77363b98 11:57:46 ---> f1bf9904d52c 11:57:46 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 11:57:46 ---> Running in 5825e701d30d 11:57:46 Removing intermediate container 5825e701d30d 11:57:46 ---> 0cc233b94caf 11:57:46 Step 5/11 : WORKDIR /device-virtual-go 11:57:46 ---> Running in f8f8ecb69fda 11:57:46 Removing intermediate container f8f8ecb69fda 11:57:46 ---> 11da93e63f01 11:57:46 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:57:46 ---> Running in 643f7ac389da 11:57:46 Removing intermediate container 643f7ac389da 11:57:46 ---> 899a8f00fa9f 11:57:46 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:57:46 ---> Running in c11ec9b85ed0 11:57:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:57:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:57:48 (1/4) Installing openssh-keygen (8.6_p1-r3) 11:57:48 (2/4) Installing libedit (20210216.3.1-r0) 11:57:48 (3/4) Installing openssh-client-common (8.6_p1-r3) 11:57:48 (4/4) Installing openssh-client-default (8.6_p1-r3) 11:57:48 Executing busybox-1.33.1-r3.trigger 11:57:48 OK: 224 MiB in 56 packages 11:57:48 Removing intermediate container c11ec9b85ed0 11:57:48 ---> efa365489ae1 11:57:48 Step 8/11 : COPY . . 11:57:48 using credential edgex-jenkins-ssh 11:57:48 Cloning the remote Git repository 11:57:49 ---> 86d8b10c34ff 11:57:49 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:57:49 ---> Running in 54e57325b10e 11:57:49 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:57:49 > git init /w/workspace/device-virtual-go/10 # timeout=10 11:57:49 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:57:49 > git --version # timeout=10 11:57:49 > git --version # 'git version 2.17.1' 11:57:49 using GIT_SSH to set credentials SSH Credentials for GitHub 11:57:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:57:51 Avoid second fetch 11:57:51 Checking out Revision 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 (main) 11:57:51 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:57:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:57:51 > git config core.sparsecheckout # timeout=10 11:57:51 > git checkout -f 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 11:57:55 Commit message: "Merge pull request #244 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.21" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:57:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:57:56 % Total % Received % Xferd Average Speed Time Time Time Current 11:57:56 Dload Upload Total Spent Left Speed 11:57:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 93841 0 --:--:-- --:--:-- --:--:-- 93841 [Pipeline] sh 11:57:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:57:57 + sudo tee /etc/docker/daemon.new 11:57:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:57:57 { 11:57:57 "registry-mirrors": [ 11:57:57 "https://nexus3.edgexfoundry.org:10001" 11:57:57 ], 11:57:57 "bip": "10.250.0.254/24", 11:57:57 "hosts": [ 11:57:57 "tcp://0.0.0.0:5555", 11:57:57 "unix:///var/run/docker.sock" 11:57:57 ], 11:57:57 "mtu": 1458, 11:57:57 "selinux-enabled": true, 11:57:57 "seccomp-profile": "/etc/docker/seccomp.json" 11:57:57 } [Pipeline] sh 11:57:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:57:58 + sudo service docker restart 11:58:15 Removing intermediate container 54e57325b10e 11:58:15 ---> dfcb181a1ee3 11:58:15 Step 10/11 : ARG MAKE='make build' 11:58:15 ---> Running in 0164a4d923d4 11:58:16 Removing intermediate container 0164a4d923d4 11:58:16 ---> 4b9341af2ea9 11:58:16 Step 11/11 : RUN $MAKE 11:58:16 ---> Running in 35a98daf941e 11:58:16 noop [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:58:16 provisioning config files... 11:58:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/10@tmp/config6845762905746232245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:58:16 Removing intermediate container 35a98daf941e 11:58:16 ---> dd36c5106862 11:58:16 Successfully built dd36c5106862 11:58:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:58:16 ---> docker-login.sh 11:58:16 nexus3.edgexfoundry.org:10001 11:58:17 + docker inspect -f . ci-base-image-x86_64 11:58:17 . [Pipeline] withDockerContainer 11:58:17 prd-centos7-docker-4c-2g-2167 does not seem to be running inside a container 11:58:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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 ******** -e ******** ci-base-image-x86_64 cat 11:58:17 $ docker top 046975be45982b8b06e8b9592d945931a56b0e8f50489377ac1441c4faed0495 -eo pid,comm [Pipeline] { [Pipeline] sh 11:58:17 + go version 11:58:17 go version go1.16.8 linux/amd64 [Pipeline] } 11:58:17 $ docker stop --time=1 046975be45982b8b06e8b9592d945931a56b0e8f50489377ac1441c4faed0495 11:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:18 Configure a credential helper to remove this warning. See 11:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:18 11:58:18 Login Succeeded 11:58:18 nexus3.edgexfoundry.org:10002 11:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:19 $ docker rm -f 046975be45982b8b06e8b9592d945931a56b0e8f50489377ac1441c4faed0495 11:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:19 Configure a credential helper to remove this warning. See 11:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:19 11:58:19 Login Succeeded 11:58:19 nexus3.edgexfoundry.org:10003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:58:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:19 + docker inspect -f . ci-base-image-x86_64 11:58:19 . [Pipeline] withDockerContainer 11:58:19 prd-centos7-docker-4c-2g-2167 does not seem to be running inside a container 11:58:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:19 Configure a credential helper to remove this warning. See 11:58:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:19 11:58:19 Login Succeeded 11:58:19 nexus3.edgexfoundry.org:10004 11:58:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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 ******** -e ******** ci-base-image-x86_64 cat 11:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:20 $ docker top f20b2a7d713db4e3f8a14dd67d8b71c7b779babfbd1411fa8cb2bca6a62993f5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:20 Configure a credential helper to remove this warning. See 11:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:20 11:58:20 Login Succeeded 11:58:20 docker.io 11:58:20 + go mod tidy 11:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 11:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:20 Configure a credential helper to remove this warning. See 11:58:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:20 11:58:20 Login Succeeded 11:58:20 ---> docker-login.sh ends [Pipeline] } 11:58:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 11:58:21 + make test 11:58:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] echo 11:58:21 ========================================================= 11:58:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:58:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:58:21 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 11:58:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:58:21 Sending build context to Docker daemon 8.622MB 11:58:21 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 11:58:21 Step 2/11 : FROM ${BASE} AS builder 11:58:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:58:22 552d1f2373af: Pulling fs layer 11:58:22 ea3f2d53f512: Pulling fs layer 11:58:22 9e70ebbbe112: Pulling fs layer 11:58:22 7a9cfe048b4a: Pulling fs layer 11:58:22 72dc09318566: Pulling fs layer 11:58:22 f4f7b4309257: Pulling fs layer 11:58:22 0ac9a79272e3: Pulling fs layer 11:58:22 b78e95d17946: Pulling fs layer 11:58:22 f4f7b4309257: Waiting 11:58:22 0ac9a79272e3: Waiting 11:58:22 b78e95d17946: Waiting 11:58:22 7a9cfe048b4a: Waiting 11:58:22 72dc09318566: Waiting 11:58:22 9e70ebbbe112: Verifying Checksum 11:58:22 9e70ebbbe112: Download complete 11:58:22 ea3f2d53f512: Verifying Checksum 11:58:22 ea3f2d53f512: Download complete 11:58:22 72dc09318566: Verifying Checksum 11:58:22 72dc09318566: Download complete 11:58:22 f4f7b4309257: Verifying Checksum 11:58:22 f4f7b4309257: Download complete 11:58:22 552d1f2373af: Verifying Checksum 11:58:22 552d1f2373af: Download complete 11:58:22 0ac9a79272e3: Verifying Checksum 11:58:22 0ac9a79272e3: Download complete 11:58:22 552d1f2373af: Pull complete 11:58:23 ea3f2d53f512: Pull complete 11:58:24 9e70ebbbe112: Pull complete 11:58:24 b78e95d17946: Verifying Checksum 11:58:24 b78e95d17946: Download complete 11:58:24 7a9cfe048b4a: Verifying Checksum 11:58:24 7a9cfe048b4a: Download complete 11:58:35 7a9cfe048b4a: Pull complete 11:58:35 72dc09318566: Pull complete 11:58:35 f4f7b4309257: Pull complete 11:58:35 0ac9a79272e3: Pull complete 11:58:41 b78e95d17946: Pull complete 11:58:41 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 11:58:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:58:41 ---> 8b459fc5aaf0 11:58:41 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:58:43 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:58:43 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.303s coverage: 64.6% of statements 11:58:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:58:46 ---> Running in 41abd0ec8e61 11:58:46 Removing intermediate container 41abd0ec8e61 11:58:46 ---> 367963c08846 11:58:46 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 11:58:46 ---> Running in d8b3431a29d9 11:58:46 Removing intermediate container d8b3431a29d9 11:58:46 ---> e9e18da9d5e2 11:58:46 Step 5/11 : WORKDIR /device-virtual-go 11:58:47 ---> Running in 87108700a29c 11:58:47 Removing intermediate container 87108700a29c 11:58:47 ---> 5a4e6c2dda89 11:58:47 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:58:47 ---> Running in 398bd79f3b49 11:58:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:58:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:58:50 Removing intermediate container 398bd79f3b49 11:58:50 ---> d969dea4ea78 11:58:50 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:58:50 ./bin/test-attribution-txt.sh 11:58:50 ---> Running in 3ccc9069d080 [Pipeline] } 11:58:51 $ docker stop --time=1 f20b2a7d713db4e3f8a14dd67d8b71c7b779babfbd1411fa8cb2bca6a62993f5 11:58:51 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:58:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:58:52 $ docker rm -f f20b2a7d713db4e3f8a14dd67d8b71c7b779babfbd1411fa8cb2bca6a62993f5 [Pipeline] // withDockerContainer [Pipeline] sh 11:58:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:58:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } 11:58:54 (1/4) Installing openssh-keygen (8.6_p1-r3) 11:58:54 (2/4) Installing libedit (20210216.3.1-r0) 11:58:54 (3/4) Installing openssh-client-common (8.6_p1-r3) 11:58:54 (4/4) Installing openssh-client-default (8.6_p1-r3) 11:58:54 Executing busybox-1.33.1-r3.trigger 11:58:54 OK: 223 MiB in 56 packages [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 11:58:55 Removing intermediate container 3ccc9069d080 11:58:55 ---> 717de46b57f4 11:58:55 Step 8/11 : COPY . . [Pipeline] sh 11:58:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:58:56 ---> 24f0e2e6a5cc 11:58:56 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:58:56 + ls -al . 11:58:56 total 172 11:58:56 drwxrwxr-x. 7 jenkins jenkins 4096 Oct 18 11:58 . 11:58:56 drwxrwxr-x. 4 jenkins jenkins 30 Oct 18 11:57 .. 11:58:56 -rw-rw-r--. 1 jenkins jenkins 8147 Oct 18 11:57 Attribution.txt 11:58:56 drwxrwxr-x. 2 jenkins jenkins 37 Oct 18 11:57 bin 11:58:56 -rw-rw-r--. 1 jenkins jenkins 6349 Oct 18 11:57 CHANGELOG.md 11:58:56 drwxrwxr-x. 3 jenkins jenkins 32 Oct 18 11:57 cmd 11:58:56 -rw-r--r--. 1 jenkins jenkins 46339 Oct 18 11:58 coverage.out 11:58:56 -rw-rw-r--. 1 jenkins jenkins 1951 Oct 18 11:57 Dockerfile 11:58:56 drwxrwxr-x. 8 jenkins jenkins 162 Oct 18 11:57 .git 11:58:56 drwxrwxr-x. 2 jenkins jenkins 103 Oct 18 11:57 .github 11:58:56 -rw-rw-r--. 1 jenkins jenkins 270 Oct 18 11:57 .gitignore 11:58:56 -rw-rw-r--. 1 jenkins jenkins 763 Oct 18 11:57 go.mod 11:58:56 -rw-r--r--. 1 jenkins jenkins 52158 Oct 18 11:58 go.sum 11:58:56 -rw-rw-r--. 1 jenkins jenkins 677 Oct 18 11:57 GOVERNANCE.md 11:58:56 drwxrwxr-x. 3 jenkins jenkins 20 Oct 18 11:57 internal 11:58:56 -rw-rw-r--. 1 jenkins jenkins 660 Oct 18 11:57 Jenkinsfile 11:58:56 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 18 11:57 LICENSE 11:58:56 -rw-rw-r--. 1 jenkins jenkins 999 Oct 18 11:57 Makefile 11:58:56 -rw-rw-r--. 1 jenkins jenkins 623 Oct 18 11:57 OWNERS.md 11:58:56 -rw-rw-r--. 1 jenkins jenkins 2913 Oct 18 11:57 README.md 11:58:56 -rw-rw-r--. 1 jenkins jenkins 11 Oct 18 11:55 VERSION 11:58:56 -rw-rw-r--. 1 jenkins jenkins 235 Oct 18 11:57 version.go [Pipeline] isUnix [Pipeline] sh 11:58:56 ---> Running in 4d0b2e62fd8c 11:58:56 + 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=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 --label arch=amd64 --label version=2.0.1-dev.9 . 11:58:56 Sending build context to Docker daemon 8.723MB 11:58:56 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 11:58:56 Step 2/25 : FROM ${BASE} AS builder 11:58:56 ---> dd36c5106862 11:58:56 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:58:56 ---> Running in cd774a27c754 11:58:57 Removing intermediate container cd774a27c754 11:58:57 ---> 09e28b0eb2e5 11:58:57 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:58:57 ---> Running in 2fda4eefffa6 11:58:57 Removing intermediate container 2fda4eefffa6 11:58:57 ---> d4df5db41424 11:58:57 Step 5/25 : WORKDIR /device-virtual-go 11:58:57 ---> Running in 8968f0ae66b1 11:58:57 Removing intermediate container 8968f0ae66b1 11:58:57 ---> 3a6dfe263c4c 11:58:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:58:57 ---> Running in e8167581d0e0 11:58:57 Removing intermediate container e8167581d0e0 11:58:57 ---> 8f3dea2a2e17 11:58:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:58:57 ---> Running in b1f1f05e2329 11:58:57 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:58:58 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:58:59 OK: 224 MiB in 56 packages 11:58:59 Removing intermediate container b1f1f05e2329 11:58:59 ---> 5bb1df7ca53d 11:58:59 Step 8/25 : COPY . . 11:58:59 ---> 313b90453d2b 11:58:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:58:59 ---> Running in 9f5221d3e56a 11:59:00 Removing intermediate container 9f5221d3e56a 11:59:00 ---> b2ae408d0e50 11:59:00 Step 10/25 : ARG MAKE='make build' 11:59:00 ---> Running in e336cdf37c4c 11:59:00 Removing intermediate container e336cdf37c4c 11:59:00 ---> d361bd9b560d 11:59:00 Step 11/25 : RUN $MAKE 11:59:00 ---> Running in a62a7d18d5b2 11:59:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.0.1-dev.9" -o cmd/device-virtual ./cmd 11:59:19 Removing intermediate container a62a7d18d5b2 11:59:19 ---> 3c6e0fc61bcd 11:59:19 Step 12/25 : FROM alpine:3.14 11:59:19 3.14: Pulling from library/alpine 11:59:19 a0d0a0d46f8b: Already exists 11:59:19 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 11:59:19 Status: Downloaded newer image for alpine:3.14 11:59:19 ---> 14119a10abf4 11:59:19 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:59:19 ---> Running in 27a4c222b576 11:59:19 Removing intermediate container 27a4c222b576 11:59:19 ---> 36c1e02b73e1 11:59:19 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:59:19 ---> Running in 4b58b76a7c27 11:59:19 Removing intermediate container 4b58b76a7c27 11:59:19 ---> 54af80d2858c 11:59:19 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 11:59:19 ---> Running in 056791a79e41 11:59:19 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:59:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:59:19 (1/6) Installing dumb-init (1.2.5-r1) 11:59:19 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:59:19 (3/6) Installing libsodium (1.0.18-r0) 11:59:19 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:59:20 (5/6) Installing libzmq (4.3.4-r0) 11:59:20 (6/6) Installing zeromq (4.3.4-r0) 11:59:20 Executing busybox-1.33.1-r3.trigger 11:59:20 OK: 8 MiB in 20 packages 11:59:20 Removing intermediate container 056791a79e41 11:59:20 ---> 247afc5600b6 11:59:20 Step 16/25 : WORKDIR / 11:59:20 ---> Running in dde641869c20 11:59:20 Removing intermediate container dde641869c20 11:59:20 ---> d182da2937ef 11:59:20 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:59:20 ---> 981938d56909 11:59:20 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:59:20 ---> 2a7898a453b2 11:59:20 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:59:21 ---> 30720635e17d 11:59:21 Step 20/25 : EXPOSE 59900 11:59:21 ---> Running in d8162e9698f3 11:59:21 Removing intermediate container d8162e9698f3 11:59:21 ---> 6596345eea30 11:59:21 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:59:21 ---> Running in caa28b08f69b 11:59:21 Removing intermediate container caa28b08f69b 11:59:21 ---> 187966fe06b6 11:59:21 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:59:21 ---> Running in 324d82ea0c04 11:59:21 Removing intermediate container 324d82ea0c04 11:59:21 ---> 64aa395490c2 11:59:21 Step 23/25 : LABEL arch=amd64 11:59:21 ---> Running in c3f0aedce4b2 11:59:21 Removing intermediate container c3f0aedce4b2 11:59:21 ---> 42d4d8b14514 11:59:21 Step 24/25 : LABEL git_sha=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 11:59:21 ---> Running in 97a6a0132a82 11:59:21 Removing intermediate container 97a6a0132a82 11:59:21 ---> 729c50435ef2 11:59:21 Step 25/25 : LABEL version=2.0.1-dev.9 11:59:21 ---> Running in 2779110c643a 11:59:21 Removing intermediate container 2779110c643a 11:59:21 ---> 88f2b67b7342 11:59:21 [Warning] One or more build-args [ARCH] were not consumed 11:59:21 Successfully built 88f2b67b7342 11:59:21 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:59:22 provisioning config files... 11:59:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/10@tmp/config5918640196351183790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:59:22 ---> docker-login.sh 11:59:22 nexus3.edgexfoundry.org:10001 11:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:22 Configure a credential helper to remove this warning. See 11:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:22 11:59:22 Login Succeeded 11:59:22 nexus3.edgexfoundry.org:10002 11:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:22 Configure a credential helper to remove this warning. See 11:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:22 11:59:22 Login Succeeded 11:59:22 nexus3.edgexfoundry.org:10003 11:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:22 Configure a credential helper to remove this warning. See 11:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:22 11:59:22 Login Succeeded 11:59:22 nexus3.edgexfoundry.org:10004 11:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:22 Configure a credential helper to remove this warning. See 11:59:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:22 11:59:22 Login Succeeded 11:59:22 docker.io 11:59:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:23 Configure a credential helper to remove this warning. See 11:59:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:23 11:59:23 Login Succeeded 11:59:23 ---> docker-login.sh ends [Pipeline] } 11:59:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:59:23 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 11:59:23 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 11:59:23 latest 11:59:23 2.0.1-dev.9 11:59:23 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 11:59:23 main 11:59:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:59:23 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] isUnix [Pipeline] sh 11:59:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 11:59:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:59:24 89d629bfb9ee: Preparing 11:59:24 7bc11dcf3d0b: Preparing 11:59:24 cc6c13994864: Preparing 11:59:24 d6d5b39ce9d8: Preparing 11:59:24 d98fc022165d: Preparing 11:59:24 e2eb06d8af82: Preparing 11:59:24 e2eb06d8af82: Waiting 11:59:24 d98fc022165d: Pushed 11:59:24 cc6c13994864: Pushed 11:59:24 e2eb06d8af82: Layer already exists 11:59:24 7bc11dcf3d0b: Pushed 11:59:24 d6d5b39ce9d8: Pushed 11:59:25 89d629bfb9ee: Pushed 11:59:25 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584: digest: sha256:7ec056260203aa68ca86c08a3e768b73e340e44834c8ff1e5f197d51f2edc9bc size: 1573 [Pipeline] isUnix [Pipeline] sh 11:59:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 11:59:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 11:59:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:59:26 89d629bfb9ee: Preparing 11:59:26 7bc11dcf3d0b: Preparing 11:59:26 cc6c13994864: Preparing 11:59:26 d6d5b39ce9d8: Preparing 11:59:26 d98fc022165d: Preparing 11:59:26 e2eb06d8af82: Preparing 11:59:26 e2eb06d8af82: Waiting 11:59:26 d98fc022165d: Layer already exists 11:59:26 89d629bfb9ee: Layer already exists 11:59:26 7bc11dcf3d0b: Layer already exists 11:59:26 d6d5b39ce9d8: Layer already exists 11:59:26 cc6c13994864: Layer already exists 11:59:26 e2eb06d8af82: Layer already exists 11:59:26 latest: digest: sha256:7ec056260203aa68ca86c08a3e768b73e340e44834c8ff1e5f197d51f2edc9bc size: 1573 [Pipeline] isUnix [Pipeline] sh 11:59:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 11:59:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.9 11:59:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:59:27 89d629bfb9ee: Preparing 11:59:27 7bc11dcf3d0b: Preparing 11:59:27 cc6c13994864: Preparing 11:59:27 d6d5b39ce9d8: Preparing 11:59:27 d98fc022165d: Preparing 11:59:27 e2eb06d8af82: Preparing 11:59:27 e2eb06d8af82: Waiting 11:59:27 d98fc022165d: Layer already exists 11:59:27 7bc11dcf3d0b: Layer already exists 11:59:27 d6d5b39ce9d8: Layer already exists 11:59:27 cc6c13994864: Layer already exists 11:59:27 89d629bfb9ee: Layer already exists 11:59:27 e2eb06d8af82: Layer already exists 11:59:27 2.0.1-dev.9: digest: sha256:7ec056260203aa68ca86c08a3e768b73e340e44834c8ff1e5f197d51f2edc9bc size: 1573 [Pipeline] isUnix [Pipeline] sh 11:59:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 11:59:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 11:59:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:59:27 89d629bfb9ee: Preparing 11:59:27 7bc11dcf3d0b: Preparing 11:59:27 cc6c13994864: Preparing 11:59:27 d6d5b39ce9d8: Preparing 11:59:27 d98fc022165d: Preparing 11:59:27 e2eb06d8af82: Preparing 11:59:27 e2eb06d8af82: Waiting 11:59:27 89d629bfb9ee: Layer already exists 11:59:27 7bc11dcf3d0b: Layer already exists 11:59:27 d98fc022165d: Layer already exists 11:59:27 cc6c13994864: Layer already exists 11:59:27 d6d5b39ce9d8: Layer already exists 11:59:27 e2eb06d8af82: Layer already exists 11:59:27 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9: digest: sha256:7ec056260203aa68ca86c08a3e768b73e340e44834c8ff1e5f197d51f2edc9bc size: 1573 [Pipeline] isUnix [Pipeline] sh 11:59:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 11:59:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 11:59:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:59:28 89d629bfb9ee: Preparing 11:59:28 7bc11dcf3d0b: Preparing 11:59:28 cc6c13994864: Preparing 11:59:28 d6d5b39ce9d8: Preparing 11:59:28 d98fc022165d: Preparing 11:59:28 e2eb06d8af82: Preparing 11:59:28 e2eb06d8af82: Waiting 11:59:28 d98fc022165d: Layer already exists 11:59:28 cc6c13994864: Layer already exists 11:59:28 7bc11dcf3d0b: Layer already exists 11:59:28 89d629bfb9ee: Layer already exists 11:59:28 d6d5b39ce9d8: Layer already exists 11:59:28 e2eb06d8af82: Layer already exists 11:59:28 main: digest: sha256:7ec056260203aa68ca86c08a3e768b73e340e44834c8ff1e5f197d51f2edc9bc size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:59:28 ===================================================== [Pipeline] echo 11:59:28 taggedImages: 11:59:28 - nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 11:59:28 - nexus3.edgexfoundry.org:10004/device-virtual:latest 11:59:28 - nexus3.edgexfoundry.org:10004/device-virtual:2.0.1-dev.9 11:59:28 - nexus3.edgexfoundry.org:10004/device-virtual:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 11:59:28 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:59:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:59:28 11:59:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:59:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:59:29 latest: Pulling from edgex-lftools-log-publisher 11:59:29 b4d181a07f80: Pulling fs layer 11:59:29 a1111a8f2ec3: Pulling fs layer 11:59:29 ed53099fbce6: Pulling fs layer 11:59:29 dc539afda2c1: Pulling fs layer 11:59:29 77bc0d833cb6: Pulling fs layer 11:59:29 9065ff56babe: Pulling fs layer 11:59:29 d287ab97295c: Pulling fs layer 11:59:29 77bc0d833cb6: Waiting 11:59:29 9065ff56babe: Waiting 11:59:29 d287ab97295c: Waiting 11:59:29 dc539afda2c1: Waiting 11:59:29 a1111a8f2ec3: Verifying Checksum 11:59:29 a1111a8f2ec3: Download complete 11:59:29 dc539afda2c1: Verifying Checksum 11:59:29 dc539afda2c1: Download complete 11:59:29 ed53099fbce6: Verifying Checksum 11:59:29 ed53099fbce6: Download complete 11:59:29 77bc0d833cb6: Verifying Checksum 11:59:29 77bc0d833cb6: Download complete 11:59:29 9065ff56babe: Verifying Checksum 11:59:29 9065ff56babe: Download complete 11:59:29 b4d181a07f80: Verifying Checksum 11:59:29 b4d181a07f80: Download complete 11:59:29 d287ab97295c: Verifying Checksum 11:59:29 d287ab97295c: Download complete 11:59:30 b4d181a07f80: Pull complete 11:59:30 a1111a8f2ec3: Pull complete 11:59:31 ed53099fbce6: Pull complete 11:59:31 dc539afda2c1: Pull complete 11:59:31 77bc0d833cb6: Pull complete 11:59:31 9065ff56babe: Pull complete 11:59:37 d287ab97295c: Pull complete 11:59:37 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:59:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:59:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:59:37 prd-centos7-docker-4c-2g-2167 does not seem to be running inside a container 11:59:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:59:40 $ docker top f49103f6134cf137dcb4b60ca891b847e1fb18682b7e880c1e03478877111a2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:59:40 ---> job-cost.sh 11:59:40 lf-activate-venv: SKIPPING 11:59:40 INFO: No Stack... 11:59:41 INFO: Retrieving Pricing Info for: v3-standard-2 11:59:41 INFO: Archiving Costs [Pipeline] sh 11:59:41 + cat /w/workspace/device-virtual-go/10/archives/cost.csv 11:59:41 + cut -d, -f6 [Pipeline] lock 11:59:41 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] 11:59:41 Resource [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] did not exist. Created. 11:59:41 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:59:42 + echo total: 0.05999999865889549 [Pipeline] stash 11:59:42 Stashed 1 file(s) [Pipeline] } 11:59:42 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } 11:59:42 $ docker stop --time=1 f49103f6134cf137dcb4b60ca891b847e1fb18682b7e880c1e03478877111a2e 11:59:43 $ docker rm -f f49103f6134cf137dcb4b60ca891b847e1fb18682b7e880c1e03478877111a2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:00:18 Removing intermediate container 4d0b2e62fd8c 12:00:18 ---> 7ee0dacaf875 12:00:18 Step 10/11 : ARG MAKE='make build' 12:00:18 ---> Running in ede2171bbbaa 12:00:18 Removing intermediate container ede2171bbbaa 12:00:18 ---> cc70353cc1fb 12:00:18 Step 11/11 : RUN $MAKE 12:00:18 ---> Running in 24ed1e5b870f 12:00:18 noop 12:00:18 Removing intermediate container 24ed1e5b870f 12:00:18 ---> 6f6dd91d6872 12:00:18 Successfully built 6f6dd91d6872 12:00:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:00:19 + docker inspect -f . ci-base-image-arm64 12:00:19 . [Pipeline] withDockerContainer 12:00:19 prd-ubuntu18.04-docker-arm64-4c-16g-2166 does not seem to be running inside a container 12:00:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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 ******** -e ******** ci-base-image-arm64 cat 12:00:21 $ docker top 74ec18c608d2678efa7e4c55436a6d4f6e6a6723ba8e2642304c06854929bb93 -eo pid,comm [Pipeline] { [Pipeline] sh 12:00:22 + go version 12:00:22 go version go1.16.8 linux/arm64 [Pipeline] } 12:00:22 $ docker stop --time=1 74ec18c608d2678efa7e4c55436a6d4f6e6a6723ba8e2642304c06854929bb93 12:00:23 $ docker rm -f 74ec18c608d2678efa7e4c55436a6d4f6e6a6723ba8e2642304c06854929bb93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:00:26 + docker inspect -f . ci-base-image-arm64 12:00:26 . [Pipeline] withDockerContainer 12:00:26 prd-ubuntu18.04-docker-arm64-4c-16g-2166 does not seem to be running inside a container 12:00:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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 ******** -e ******** ci-base-image-arm64 cat 12:00:28 $ docker top b30265f9a171b813449a23ca0eccb7e850e6b09a2cbf45f4acf2bb2e820a7117 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:00:28 + go mod tidy [Pipeline] sh 12:00:30 + make test 12:00:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:00:32 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:01:40 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:01:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.715s coverage: 64.6% of statements 12:01:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:02:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:02:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:02:07 ./bin/test-attribution-txt.sh [Pipeline] } 12:02:07 $ docker stop --time=1 b30265f9a171b813449a23ca0eccb7e850e6b09a2cbf45f4acf2bb2e820a7117 12:02:09 $ docker rm -f b30265f9a171b813449a23ca0eccb7e850e6b09a2cbf45f4acf2bb2e820a7117 [Pipeline] // withDockerContainer [Pipeline] sh 12:02:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:02:10 Warning: overwriting stash ‘coverage-report’ 12:02:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:02:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:02:11 + ls -al . 12:02:11 total 196 12:02:11 drwxrwxr-x 7 jenkins jenkins 4096 Oct 18 12:02 . 12:02:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 11:57 .. 12:02:11 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 11:57 .git 12:02:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 11:57 .github 12:02:11 -rw-rw-r-- 1 jenkins jenkins 270 Oct 18 11:57 .gitignore 12:02:11 -rw-rw-r-- 1 jenkins jenkins 8147 Oct 18 11:57 Attribution.txt 12:02:11 -rw-rw-r-- 1 jenkins jenkins 6349 Oct 18 11:57 CHANGELOG.md 12:02:11 -rw-rw-r-- 1 jenkins jenkins 1951 Oct 18 11:57 Dockerfile 12:02:11 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 11:57 GOVERNANCE.md 12:02:11 -rw-rw-r-- 1 jenkins jenkins 660 Oct 18 11:57 Jenkinsfile 12:02:11 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 11:57 LICENSE 12:02:11 -rw-rw-r-- 1 jenkins jenkins 999 Oct 18 11:57 Makefile 12:02:11 -rw-rw-r-- 1 jenkins jenkins 623 Oct 18 11:57 OWNERS.md 12:02:11 -rw-rw-r-- 1 jenkins jenkins 2913 Oct 18 11:57 README.md 12:02:11 -rw-rw-r-- 1 jenkins jenkins 11 Oct 18 11:55 VERSION 12:02:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 11:57 bin 12:02:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:57 cmd 12:02:11 -rw-r--r-- 1 jenkins jenkins 46339 Oct 18 12:01 coverage.out 12:02:11 -rw-rw-r-- 1 jenkins jenkins 763 Oct 18 11:57 go.mod 12:02:11 -rw-r--r-- 1 jenkins jenkins 52158 Oct 18 12:00 go.sum 12:02:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:57 internal 12:02:11 -rw-rw-r-- 1 jenkins jenkins 235 Oct 18 11:57 version.go [Pipeline] isUnix [Pipeline] sh 12:02:12 + 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=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 --label arch=arm64 --label version=2.0.1-dev.9 . 12:02:12 Sending build context to Docker daemon 8.722MB 12:02:12 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 12:02:12 Step 2/25 : FROM ${BASE} AS builder 12:02:12 ---> 6f6dd91d6872 12:02:12 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:02:12 ---> Running in 13e7a22dce24 12:02:13 Removing intermediate container 13e7a22dce24 12:02:13 ---> 63dc493d5437 12:02:13 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:02:13 ---> Running in 767741aa8217 12:02:13 Removing intermediate container 767741aa8217 12:02:13 ---> 06e3842d1400 12:02:13 Step 5/25 : WORKDIR /device-virtual-go 12:02:13 ---> Running in ee633757bf00 12:02:14 Removing intermediate container ee633757bf00 12:02:14 ---> ccba49554e7a 12:02:14 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:02:14 ---> Running in 39c606a56749 12:02:16 Removing intermediate container 39c606a56749 12:02:16 ---> 48fb6c1a407a 12:02:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:02:16 ---> Running in 15e037d57307 12:02:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:02:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:02:19 OK: 223 MiB in 56 packages 12:02:20 Removing intermediate container 15e037d57307 12:02:20 ---> ef99feb2bb44 12:02:20 Step 8/25 : COPY . . 12:02:22 ---> a412568fa3ee 12:02:22 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:02:22 ---> Running in 730be7fc160d 12:02:24 Removing intermediate container 730be7fc160d 12:02:24 ---> 6459759995f6 12:02:24 Step 10/25 : ARG MAKE='make build' 12:02:24 ---> Running in 2f421810b7f5 12:02:25 Removing intermediate container 2f421810b7f5 12:02:25 ---> 2a4bcf73fad5 12:02:25 Step 11/25 : RUN $MAKE 12:02:25 ---> Running in 13383241a7d7 12:02:27 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.0.1-dev.9" -o cmd/device-virtual ./cmd 12:03:23 Removing intermediate container 13383241a7d7 12:03:23 ---> 9bdc129fcb91 12:03:23 Step 12/25 : FROM alpine:3.14 12:03:23 3.14: Pulling from library/alpine 12:03:23 552d1f2373af: Already exists 12:03:23 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 12:03:23 Status: Downloaded newer image for alpine:3.14 12:03:23 ---> bb3de5531c18 12:03:23 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:03:23 ---> Running in f0642026688c 12:03:23 Removing intermediate container f0642026688c 12:03:23 ---> 276c712e364e 12:03:23 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:03:23 ---> Running in 356ec9c898b2 12:03:23 Removing intermediate container 356ec9c898b2 12:03:23 ---> d2f4bdd9f35c 12:03:23 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 12:03:23 ---> Running in edbf6fa61fe9 12:03:23 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:03:23 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:03:24 (1/6) Installing dumb-init (1.2.5-r1) 12:03:24 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:03:24 (3/6) Installing libsodium (1.0.18-r0) 12:03:24 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:03:25 (5/6) Installing libzmq (4.3.4-r0) 12:03:25 (6/6) Installing zeromq (4.3.4-r0) 12:03:25 Executing busybox-1.33.1-r3.trigger 12:03:25 OK: 8 MiB in 20 packages 12:03:26 Removing intermediate container edbf6fa61fe9 12:03:26 ---> 86c12e213b78 12:03:26 Step 16/25 : WORKDIR / 12:03:26 ---> Running in 9802622fc396 12:03:27 Removing intermediate container 9802622fc396 12:03:27 ---> afbe3f998def 12:03:27 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:03:27 ---> b282bd2c21cd 12:03:27 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:03:28 ---> 7dc172dba4ab 12:03:28 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:03:30 ---> 4d4591277ae8 12:03:30 Step 20/25 : EXPOSE 59900 12:03:30 ---> Running in 4e2578a8f69d 12:03:30 Removing intermediate container 4e2578a8f69d 12:03:30 ---> 54a94fdab9c9 12:03:30 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:03:30 ---> Running in 3b05a7a0c25b 12:03:31 Removing intermediate container 3b05a7a0c25b 12:03:31 ---> 74951e5309af 12:03:31 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:03:31 ---> Running in b2f482cf19d5 12:03:31 Removing intermediate container b2f482cf19d5 12:03:31 ---> 3a4cc3425e9d 12:03:31 Step 23/25 : LABEL arch=arm64 12:03:32 ---> Running in aaa648ac18f9 12:03:32 Removing intermediate container aaa648ac18f9 12:03:32 ---> 59fa9655e8ea 12:03:32 Step 24/25 : LABEL git_sha=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 12:03:32 ---> Running in bfdd8fda8132 12:03:33 Removing intermediate container bfdd8fda8132 12:03:33 ---> 8623dce0d09f 12:03:33 Step 25/25 : LABEL version=2.0.1-dev.9 12:03:33 ---> Running in e7b17a709742 12:03:33 Removing intermediate container e7b17a709742 12:03:33 ---> 8ca0782bd0c4 12:03:33 [Warning] One or more build-args [ARCH] were not consumed 12:03:33 Successfully built 8ca0782bd0c4 12:03:33 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 12:03:33 provisioning config files... 12:03:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/10@tmp/config8931156105780566450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:03:34 ---> docker-login.sh 12:03:34 nexus3.edgexfoundry.org:10001 12:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:34 Configure a credential helper to remove this warning. See 12:03:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:34 12:03:34 Login Succeeded 12:03:34 nexus3.edgexfoundry.org:10002 12:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:35 Configure a credential helper to remove this warning. See 12:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:35 12:03:35 Login Succeeded 12:03:35 nexus3.edgexfoundry.org:10003 12:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:36 Configure a credential helper to remove this warning. See 12:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:36 12:03:36 Login Succeeded 12:03:36 nexus3.edgexfoundry.org:10004 12:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:36 Configure a credential helper to remove this warning. See 12:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:36 12:03:36 Login Succeeded 12:03:36 docker.io 12:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:03:37 Configure a credential helper to remove this warning. See 12:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:03:37 12:03:37 Login Succeeded 12:03:37 ---> docker-login.sh ends [Pipeline] } 12:03:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:03:37 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 12:03:37 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 12:03:37 latest 12:03:37 2.0.1-dev.9 12:03:37 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 12:03:37 main 12:03:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:03:37 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] isUnix [Pipeline] sh 12:03:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 12:03:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:03:38 43c2a3063ac6: Preparing 12:03:38 cc65bff62938: Preparing 12:03:38 183ff6dba463: Preparing 12:03:38 3aa1e429f7b5: Preparing 12:03:38 53faab1aef1f: Preparing 12:03:38 ee420dfed78a: Preparing 12:03:38 ee420dfed78a: Waiting 12:03:38 cc65bff62938: Pushed 12:03:38 183ff6dba463: Pushed 12:03:38 53faab1aef1f: Pushed 12:03:38 ee420dfed78a: Layer already exists 12:03:39 3aa1e429f7b5: Pushed 12:03:41 43c2a3063ac6: Pushed 12:03:41 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584: digest: sha256:168d07abdc571fa397d9d8c51da66caec3eda060562d2be5b3e7ffa1c831e918 size: 1572 [Pipeline] isUnix [Pipeline] sh 12:03:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:03:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:03:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:03:42 43c2a3063ac6: Preparing 12:03:42 cc65bff62938: Preparing 12:03:42 183ff6dba463: Preparing 12:03:42 3aa1e429f7b5: Preparing 12:03:42 53faab1aef1f: Preparing 12:03:42 ee420dfed78a: Preparing 12:03:42 ee420dfed78a: Waiting 12:03:43 53faab1aef1f: Layer already exists 12:03:43 cc65bff62938: Layer already exists 12:03:43 183ff6dba463: Layer already exists 12:03:43 3aa1e429f7b5: Layer already exists 12:03:43 43c2a3063ac6: Layer already exists 12:03:43 ee420dfed78a: Layer already exists 12:03:43 latest: digest: sha256:168d07abdc571fa397d9d8c51da66caec3eda060562d2be5b3e7ffa1c831e918 size: 1572 [Pipeline] isUnix [Pipeline] sh 12:03:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 12:03:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.9 12:03:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:03:43 43c2a3063ac6: Preparing 12:03:43 cc65bff62938: Preparing 12:03:43 183ff6dba463: Preparing 12:03:43 3aa1e429f7b5: Preparing 12:03:43 53faab1aef1f: Preparing 12:03:43 ee420dfed78a: Preparing 12:03:43 ee420dfed78a: Waiting 12:03:43 43c2a3063ac6: Layer already exists 12:03:43 183ff6dba463: Layer already exists 12:03:43 3aa1e429f7b5: Layer already exists 12:03:43 cc65bff62938: Layer already exists 12:03:43 53faab1aef1f: Layer already exists 12:03:43 ee420dfed78a: Layer already exists 12:03:43 2.0.1-dev.9: digest: sha256:168d07abdc571fa397d9d8c51da66caec3eda060562d2be5b3e7ffa1c831e918 size: 1572 [Pipeline] isUnix [Pipeline] sh 12:03:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 12:03:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 12:03:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:03:44 43c2a3063ac6: Preparing 12:03:44 cc65bff62938: Preparing 12:03:44 183ff6dba463: Preparing 12:03:44 3aa1e429f7b5: Preparing 12:03:44 53faab1aef1f: Preparing 12:03:44 ee420dfed78a: Preparing 12:03:44 ee420dfed78a: Waiting 12:03:44 183ff6dba463: Layer already exists 12:03:44 3aa1e429f7b5: Layer already exists 12:03:44 53faab1aef1f: Layer already exists 12:03:44 43c2a3063ac6: Layer already exists 12:03:44 cc65bff62938: Layer already exists 12:03:44 ee420dfed78a: Layer already exists 12:03:44 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9: digest: sha256:168d07abdc571fa397d9d8c51da66caec3eda060562d2be5b3e7ffa1c831e918 size: 1572 [Pipeline] isUnix [Pipeline] sh 12:03:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 12:03:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 12:03:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:03:45 43c2a3063ac6: Preparing 12:03:45 cc65bff62938: Preparing 12:03:45 183ff6dba463: Preparing 12:03:45 3aa1e429f7b5: Preparing 12:03:45 53faab1aef1f: Preparing 12:03:45 ee420dfed78a: Preparing 12:03:45 ee420dfed78a: Waiting 12:03:45 183ff6dba463: Layer already exists 12:03:45 43c2a3063ac6: Layer already exists 12:03:45 53faab1aef1f: Layer already exists 12:03:45 cc65bff62938: Layer already exists 12:03:45 3aa1e429f7b5: Layer already exists 12:03:45 ee420dfed78a: Layer already exists 12:03:45 main: digest: sha256:168d07abdc571fa397d9d8c51da66caec3eda060562d2be5b3e7ffa1c831e918 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:03:45 ===================================================== [Pipeline] echo 12:03:46 taggedImages: 12:03:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 12:03:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:03:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.0.1-dev.9 12:03:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:34dd1625fecf0baa0dbdc776d1b6f66a55cc7584-2.0.1-dev.9 12:03:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:03:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:03:46 12:03:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:03:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:03:47 arm64: Pulling from edgex-lftools-log-publisher 12:03:47 448f6bf000e3: Pulling fs layer 12:03:47 f757da607395: Pulling fs layer 12:03:47 05883995daec: Pulling fs layer 12:03:47 8603b9c90790: Pulling fs layer 12:03:47 1560dd03e051: Pulling fs layer 12:03:47 27f5ce0e4adf: Pulling fs layer 12:03:47 c2d8d7efcc4b: Pulling fs layer 12:03:47 1560dd03e051: Waiting 12:03:47 27f5ce0e4adf: Waiting 12:03:47 c2d8d7efcc4b: Waiting 12:03:47 8603b9c90790: Waiting 12:03:47 f757da607395: Verifying Checksum 12:03:47 f757da607395: Download complete 12:03:47 8603b9c90790: Download complete 12:03:47 1560dd03e051: Verifying Checksum 12:03:47 1560dd03e051: Download complete 12:03:47 05883995daec: Verifying Checksum 12:03:47 05883995daec: Download complete 12:03:47 27f5ce0e4adf: Download complete 12:03:47 448f6bf000e3: Verifying Checksum 12:03:47 448f6bf000e3: Download complete 12:03:50 c2d8d7efcc4b: Verifying Checksum 12:03:50 c2d8d7efcc4b: Download complete 12:03:51 448f6bf000e3: Pull complete 12:03:52 f757da607395: Pull complete 12:03:53 05883995daec: Pull complete 12:03:54 8603b9c90790: Pull complete 12:03:55 1560dd03e051: Pull complete 12:03:55 27f5ce0e4adf: Pull complete 12:04:10 c2d8d7efcc4b: Pull complete 12:04:10 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 12:04:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:04:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:04:11 prd-ubuntu18.04-docker-arm64-4c-16g-2166 does not seem to be running inside a container 12:04:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/10 -v /w/workspace/device-virtual-go/10:/w/workspace/device-virtual-go/10:rw,z -v /w/workspace/device-virtual-go/10@tmp:/w/workspace/device-virtual-go/10@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:04:16 $ docker top c3942d54ac63aa167d581694840c83198f9e5192ceaa143bda093a2617a7df00 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:17 ---> job-cost.sh 12:04:17 lf-activate-venv: SKIPPING 12:04:17 INFO: No Stack... 12:04:21 INFO: Retrieving Pricing Info for: v3-standard-4 12:04:21 INFO: Archiving Costs [Pipeline] sh 12:04:22 + cat /w/workspace/device-virtual-go/10/archives/cost.csv 12:04:22 + cut -d, -f6 [Pipeline] lock 12:04:22 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] 12:04:22 Resource [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] did not exist. Created. 12:04:22 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:04:23 /w/workspace/device-virtual-go/10@tmp/durable-864bc2b0/script.sh: 1: /w/workspace/device-virtual-go/10@tmp/durable-864bc2b0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 12:04:23 + echo total: 0.10999999940395355 [Pipeline] stash 12:04:23 Warning: overwriting stash ‘stack-cost’ 12:04:23 Stashed 1 file(s) [Pipeline] } 12:04:23 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } 12:04:23 $ docker stop --time=1 c3942d54ac63aa167d581694840c83198f9e5192ceaa143bda093a2617a7df00 12:04:25 $ docker rm -f c3942d54ac63aa167d581694840c83198f9e5192ceaa143bda093a2617a7df00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 12:04:26 provisioning config files... 12:04:26 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8507118354341999097tmp [Pipeline] { [Pipeline] sh 12:04:26 + set +x 12:04:26 + curl -s https://codecov.io/bash 12:04:26 + bash -s -- 12:04:26 12:04:26 _____ _ 12:04:26 / ____| | | 12:04:26 | | ___ __| | ___ ___ _____ __ 12:04:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:04:26 | |___| (_) | (_| | __/ (_| (_) \ V / 12:04:26 \_____\___/ \__,_|\___|\___\___/ \_/ 12:04:26 Bash-1.0.6 12:04:26 12:04:26 12:04:26 ==> git version 2.24.4 found 12:04:26 ==> 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 12:04:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 12:04:26 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 12:04:26 ==> Jenkins CI detected. 12:04:26 current dir:  /w/workspace/exfoundry_device-virtual-go_main 12:04:26 project root: . 12:04:26 --> token set from env 12:04:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:04:26 ==> Running gcov in . (disable via -X gcov) 12:04:26 ==> Python coveragepy not found 12:04:26 ==> Searching for coverage reports in: 12:04:26 + . 12:04:26 -> Found 1 reports 12:04:26 ==> Detecting git/mercurial file structure 12:04:26 ==> Reading reports 12:04:26 + ./coverage.out bytes=46339 12:04:26 ==> Appending adjustments 12:04:26 https://docs.codecov.io/docs/fixing-reports 12:04:26 + Found adjustments 12:04:26 ==> Gzipping contents 12:04:26 8.0K /tmp/codecov.evWjkC.gz 12:04:26 ==> Uploading reports 12:04:26 url: https://codecov.io 12:04:26 query: branch=main&commit=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:04:26 -> Pinging Codecov 12:04:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=34dd1625fecf0baa0dbdc776d1b6f66a55cc7584&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:04:26 -> Uploading to 12:04:26 https://storage.googleapis.com/codecov/v4/raw/2021-10-18/5E52B4B073DB2E39498172D8E973AA87/34dd1625fecf0baa0dbdc776d1b6f66a55cc7584/1bc8fe05-cd26-402c-922b-6adb9c4ebabc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211018T120426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5352dca007a5a75473ae6b839938c3fe127db09c1a7506ee3ae10a502d19589c 12:04:26 % Total % Received % Xferd Average Speed Time Time Time Current 12:04:26 Dload Upload Total Spent Left Speed 12:04:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5509 0 0 100 5509 0 17137 --:--:-- --:--:-- --:--:-- 17161 12:04:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] } 12:04:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:04:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:04:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:04:28 12:04:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 12:04:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:04:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 12:04:28 188c0c94c7c5: Pulling fs layer 12:04:28 0ef7d3d256c8: Pulling fs layer 12:04:28 de9db76c5a1d: Pulling fs layer 12:04:28 0eba1c9be4d2: Pulling fs layer 12:04:28 0d57e429df01: Pulling fs layer 12:04:28 4e4be7b47b0d: Pulling fs layer 12:04:28 e1f770b5df2f: Pulling fs layer 12:04:28 85a0685a4137: Pulling fs layer 12:04:28 0d57e429df01: Waiting 12:04:28 4e4be7b47b0d: Waiting 12:04:28 e1f770b5df2f: Waiting 12:04:28 85a0685a4137: Waiting 12:04:28 0eba1c9be4d2: Waiting 12:04:28 de9db76c5a1d: Verifying Checksum 12:04:28 de9db76c5a1d: Download complete 12:04:28 0ef7d3d256c8: Verifying Checksum 12:04:28 0ef7d3d256c8: Download complete 12:04:28 0d57e429df01: Verifying Checksum 12:04:28 0d57e429df01: Download complete 12:04:28 4e4be7b47b0d: Verifying Checksum 12:04:28 4e4be7b47b0d: Download complete 12:04:28 188c0c94c7c5: Verifying Checksum 12:04:28 188c0c94c7c5: Download complete 12:04:28 188c0c94c7c5: Pull complete 12:04:29 e1f770b5df2f: Verifying Checksum 12:04:29 e1f770b5df2f: Download complete 12:04:29 0ef7d3d256c8: Pull complete 12:04:29 de9db76c5a1d: Pull complete 12:04:29 0eba1c9be4d2: Verifying Checksum 12:04:29 0eba1c9be4d2: Download complete 12:04:29 85a0685a4137: Verifying Checksum 12:04:29 85a0685a4137: Download complete 12:04:32 0eba1c9be4d2: Pull complete 12:04:33 0d57e429df01: Pull complete 12:04:33 4e4be7b47b0d: Pull complete 12:04:33 e1f770b5df2f: Pull complete 12:04:40 85a0685a4137: Pull complete 12:04:40 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 12:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:04:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 12:04:40 prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container 12:04:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 12:04:40 $ docker top c013bb992436719c4502c445db65b9c5ada142de5d4e069af9dffa4a07989e7b -eo pid,comm [Pipeline] { [Pipeline] echo 12:04:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 12:04:41 + set -o pipefail 12:04:41 + snyk monitor '--org=edgex-jenkins' 12:04:46 12:04:46 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 12:04:46 12:04:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/9cae8669-14f2-4c02-89ce-786796097ca4 12:04:46 12:04:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:04:46 12:04:46 [Pipeline] } 12:04:46 $ docker stop --time=1 c013bb992436719c4502c445db65b9c5ada142de5d4e069af9dffa4a07989e7b 12:04:48 $ docker rm -f c013bb992436719c4502c445db65b9c5ada142de5d4e069af9dffa4a07989e7b [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 12:04:50 + git log --format=format:%s -1 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 [Pipeline] isUnix [Pipeline] sh 12:04:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:04:50 . [Pipeline] withDockerContainer 12:04:50 prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container 12:04:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:04:51 $ docker top 5d8b59236e674bbddfa5e5e9b083264c05b51983319381536c6eec323675958e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:04:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:04:51 [ssh-agent] Looking for ssh-agent implementation... 12:04:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:04:51 $ docker exec 5d8b59236e674bbddfa5e5e9b083264c05b51983319381536c6eec323675958e ssh-agent 12:04:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHfNbCI/agent.13 12:04:51 SSH_AGENT_PID=20 12:04:51 Running ssh-add (command line suppressed) 12:04:51 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5760712679296346193.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5760712679296346193.key) 12:04:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:04:51 + git semver tag 12:04:51 # -> Open(): unable to determine branch for HEAD 12:04:51 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 12:04:51 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 12:04:51 # $SEMVER_REMOTE_NAME = origin 12:04:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:04:51 # $SEMVER_USER_NAME = edgex-jenkins 12:04:51 # $SEMVER_BRANCH = main 12:04:51 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 12:04:51 # 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 HEAD 12:04:51 # -> Force: false 12:04:51 # d6fa3e13b7fb89eeae03fb601928f6a7570e9942 refs/tags/v2.0.1-dev.9 [Pipeline] } 12:04:51 $ docker exec --env ******** --env ******** 5d8b59236e674bbddfa5e5e9b083264c05b51983319381536c6eec323675958e ssh-agent -k 12:04:51 unset SSH_AUTH_SOCK; 12:04:51 unset SSH_AGENT_PID; 12:04:51 echo Agent pid 20 killed; 12:04:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:04:52 + git semver [Pipeline] } 12:04:52 $ docker stop --time=1 5d8b59236e674bbddfa5e5e9b083264c05b51983319381536c6eec323675958e 12:04:53 $ docker rm -f 5d8b59236e674bbddfa5e5e9b083264c05b51983319381536c6eec323675958e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 12:04:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:04:53 12:04:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 12:04:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:04:54 0.23.1-centos7: Pulling from edgex-lftools 12:04:54 ab5ef0e58194: Pulling fs layer 12:04:54 9712f1f96733: Pulling fs layer 12:04:54 63f879dbbcfc: Pulling fs layer 12:04:54 0d9ebad4ef96: Pulling fs layer 12:04:54 e9a5061849ea: Pulling fs layer 12:04:54 d747dcd14b5f: Pulling fs layer 12:04:54 2de7ff778b66: Pulling fs layer 12:04:54 0d9ebad4ef96: Waiting 12:04:54 e9a5061849ea: Waiting 12:04:54 d747dcd14b5f: Waiting 12:04:54 2de7ff778b66: Waiting 12:04:54 9712f1f96733: Verifying Checksum 12:04:54 9712f1f96733: Download complete 12:04:54 63f879dbbcfc: Verifying Checksum 12:04:54 63f879dbbcfc: Download complete 12:04:54 0d9ebad4ef96: Verifying Checksum 12:04:54 0d9ebad4ef96: Download complete 12:04:54 d747dcd14b5f: Verifying Checksum 12:04:54 d747dcd14b5f: Download complete 12:04:54 e9a5061849ea: Verifying Checksum 12:04:54 e9a5061849ea: Download complete 12:04:54 ab5ef0e58194: Verifying Checksum 12:04:54 ab5ef0e58194: Download complete 12:04:54 2de7ff778b66: Verifying Checksum 12:04:54 2de7ff778b66: Download complete 12:04:58 ab5ef0e58194: Pull complete 12:04:58 9712f1f96733: Pull complete 12:04:58 63f879dbbcfc: Pull complete 12:05:02 0d9ebad4ef96: Pull complete 12:05:02 e9a5061849ea: Pull complete 12:05:02 d747dcd14b5f: Pull complete 12:05:04 2de7ff778b66: Pull complete 12:05:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:05:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:05:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 12:05:04 prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container 12:05:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:05:07 $ docker top 5d2b55267860740a0463311d018183705722e4ae3c25a50f90f6d7d2085c673f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:05:07 provisioning config files... 12:05:07 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4670529270937020075tmp 12:05:07 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5529085001353595230tmp 12:05:07 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5883380383716642175tmp [Pipeline] { [Pipeline] echo 12:05:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:05:08 ---> sigul-configuration.sh 12:05:08 gpg: directory `/root/.gnupg' created 12:05:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:05:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:05:08 gpg: keyring `/root/.gnupg/secring.gpg' created 12:05:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:05:08 gpg: CAST5 encrypted data 12:05:08 gpg: encrypted with 1 passphrase 12:05:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:05:08 + mkdir /home/jenkins 12:05:08 + mkdir /home/jenkins/sigul [Pipeline] sh 12:05:08 + 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 12:05:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:05:09 ---> sigul-install.sh 12:05:09 Sigul already installed; skipping installation. [Pipeline] sh 12:05:09 + git tag --list 12:05:09 v1.0.0 12:05:09 v1.1.0 12:05:09 v1.1.1 12:05:09 v1.2.1 12:05:09 v1.2.2 12:05:09 v1.2.3 12:05:09 v1.3.0 12:05:09 v1.3.1 12:05:09 v2.0.0 12:05:09 v2.0.1-dev.1 12:05:09 v2.0.1-dev.2 12:05:09 v2.0.1-dev.3 12:05:09 v2.0.1-dev.4 12:05:09 v2.0.1-dev.5 12:05:09 v2.0.1-dev.6 12:05:09 v2.0.1-dev.7 12:05:09 v2.0.1-dev.8 12:05:09 v2.0.1-dev.9 [Pipeline] sh 12:05:09 + lftools sign git-tag v2.0.1-dev.9 12:05:10 Signing Git tag with Sigul... 12:05:10 Signing v2.0.1-dev.9 [Pipeline] echo 12:05:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:05:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:05:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:05:11 $ docker stop --time=1 5d2b55267860740a0463311d018183705722e4ae3c25a50f90f6d7d2085c673f 12:05:12 $ docker rm -f 5d2b55267860740a0463311d018183705722e4ae3c25a50f90f6d7d2085c673f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 12:05:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:13 . [Pipeline] withDockerContainer 12:05:13 prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container 12:05:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:05:13 $ docker top b9007ad8b3d150b1509033491de943571e40c0c2a6bc6d90403c0bb0e53e2e1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:05:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:13 [ssh-agent] Looking for ssh-agent implementation... 12:05:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:14 $ docker exec b9007ad8b3d150b1509033491de943571e40c0c2a6bc6d90403c0bb0e53e2e1a ssh-agent 12:05:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbMpLBD/agent.13 12:05:14 SSH_AGENT_PID=19 12:05:14 Running ssh-add (command line suppressed) 12:05:14 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3243340898141298786.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3243340898141298786.key) 12:05:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:14 + git semver bump pre 12:05:14 # -> Open(): unable to determine branch for HEAD 12:05:14 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 12:05:14 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 12:05:14 # $SEMVER_REMOTE_NAME = origin 12:05:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:05:14 # $SEMVER_USER_NAME = edgex-jenkins 12:05:14 # $SEMVER_BRANCH = main 12:05:14 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 12:05:14 2.0.1-dev.10 [Pipeline] } 12:05:14 $ docker exec --env ******** --env ******** b9007ad8b3d150b1509033491de943571e40c0c2a6bc6d90403c0bb0e53e2e1a ssh-agent -k 12:05:14 unset SSH_AUTH_SOCK; 12:05:14 unset SSH_AGENT_PID; 12:05:14 echo Agent pid 19 killed; 12:05:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:05:15 + git semver [Pipeline] } 12:05:15 $ docker stop --time=1 b9007ad8b3d150b1509033491de943571e40c0c2a6bc6d90403c0bb0e53e2e1a 12:05:16 $ docker rm -f b9007ad8b3d150b1509033491de943571e40c0c2a6bc6d90403c0bb0e53e2e1a [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 12:05:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:16 . [Pipeline] withDockerContainer 12:05:16 prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container 12:05:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:05:17 $ docker top af14eeb170b55824a754f19b6c18c50b0de4d31eaed08893e371752724bb4876 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:05:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:17 [ssh-agent] Looking for ssh-agent implementation... 12:05:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:17 $ docker exec af14eeb170b55824a754f19b6c18c50b0de4d31eaed08893e371752724bb4876 ssh-agent 12:05:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXacMIgo/agent.14 12:05:17 SSH_AGENT_PID=21 12:05:17 Running ssh-add (command line suppressed) 12:05:17 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3360046487439828599.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3360046487439828599.key) 12:05:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:17 + git semver push 12:05:17 # -> Open(): unable to determine branch for HEAD 12:05:17 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 12:05:17 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 12:05:17 # $SEMVER_REMOTE_NAME = origin 12:05:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:05:17 # $SEMVER_USER_NAME = edgex-jenkins 12:05:17 # $SEMVER_BRANCH = main 12:05:17 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 12:05:19 $ docker exec --env ******** --env ******** af14eeb170b55824a754f19b6c18c50b0de4d31eaed08893e371752724bb4876 ssh-agent -k 12:05:19 unset SSH_AUTH_SOCK; 12:05:19 unset SSH_AGENT_PID; 12:05:19 echo Agent pid 21 killed; 12:05:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:05:20 + git semver [Pipeline] } 12:05:20 $ docker stop --time=1 af14eeb170b55824a754f19b6c18c50b0de4d31eaed08893e371752724bb4876 12:05:21 $ docker rm -f af14eeb170b55824a754f19b6c18c50b0de4d31eaed08893e371752724bb4876 [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] sh 12:05:22 + '[' -d /w/workspace/exfoundry_device-virtual-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 12:05:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:05:22 ---> package-listing.sh 12:05:22 ++ tr '[:upper:]' '[:lower:]' 12:05:22 ++ facter osfamily 12:05:23 + OS_FAMILY=redhat 12:05:23 + workspace=/w/workspace/exfoundry_device-virtual-go_main 12:05:23 + START_PACKAGES=/tmp/packages_start.txt 12:05:23 + END_PACKAGES=/tmp/packages_end.txt 12:05:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:05:23 + PACKAGES=/tmp/packages_start.txt 12:05:23 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:05:23 + PACKAGES=/tmp/packages_end.txt 12:05:23 + case "${OS_FAMILY}" in 12:05:23 + sort 12:05:23 + rpm -qa 12:05:23 + '[' -f /tmp/packages_start.txt ']' 12:05:23 + '[' -f /tmp/packages_end.txt ']' 12:05:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:05:23 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:05:23 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 12:05:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 12:05:23 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:05:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:05:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:24 12:05:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:05:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:24 latest: Pulling from edgex-lftools-log-publisher 12:05:24 b4d181a07f80: Pulling fs layer 12:05:24 a1111a8f2ec3: Pulling fs layer 12:05:24 ed53099fbce6: Pulling fs layer 12:05:24 dc539afda2c1: Pulling fs layer 12:05:24 77bc0d833cb6: Pulling fs layer 12:05:24 9065ff56babe: Pulling fs layer 12:05:24 d287ab97295c: Pulling fs layer 12:05:24 dc539afda2c1: Waiting 12:05:24 77bc0d833cb6: Waiting 12:05:24 9065ff56babe: Waiting 12:05:24 d287ab97295c: Waiting 12:05:24 a1111a8f2ec3: Verifying Checksum 12:05:24 a1111a8f2ec3: Download complete 12:05:24 dc539afda2c1: Verifying Checksum 12:05:24 dc539afda2c1: Download complete 12:05:25 ed53099fbce6: Verifying Checksum 12:05:25 ed53099fbce6: Download complete 12:05:25 77bc0d833cb6: Verifying Checksum 12:05:25 77bc0d833cb6: Download complete 12:05:25 9065ff56babe: Verifying Checksum 12:05:25 9065ff56babe: Download complete 12:05:25 b4d181a07f80: Verifying Checksum 12:05:25 b4d181a07f80: Download complete 12:05:25 d287ab97295c: Verifying Checksum 12:05:25 d287ab97295c: Download complete 12:05:26 b4d181a07f80: Pull complete 12:05:26 a1111a8f2ec3: Pull complete 12:05:27 ed53099fbce6: Pull complete 12:05:27 dc539afda2c1: Pull complete 12:05:28 77bc0d833cb6: Pull complete 12:05:28 9065ff56babe: Pull complete 12:05:34 d287ab97295c: Pull complete 12:05:34 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 12:05:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:05:34 prd-centos7-docker-4c-2g-2165 does not seem to be running inside a container 12:05:34 $ 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:05:37 $ docker top 8700c8e310605af315f3dd7d1e833d71c325f5067d71da1a22f18055770052ac -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:37 + touch /tmp/pre-build-complete [Pipeline] sh 12:05:38 + mkdir -p /var/log/sysstat [Pipeline] sh 12:05:38 + ls /var/log/sa-host 12:05:38 + sadf -c /var/log/sa-host/sa18 12:05:38 file_magic: OK 12:05:38 HZ: Using current value: 100 12:05:38 file_header: OK 12:05:38 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 12:05:38 Statistics: 12:05:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:05:38 File successfully converted to sysstat format version 12.0.3 12:05:38 + sadf -c /var/log/sa-host/sa30 12:05:38 file_magic: OK 12:05:38 HZ: Using current value: 100 12:05:38 file_header: OK 12:05:38 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 12:05:38 Statistics: 12:05:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:05:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:39 provisioning config files... 12:05:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1731881239118084971tmp [Pipeline] { [Pipeline] echo 12:05:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:05:39 ---> create-netrc.sh [Pipeline] } 12:05:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:05:40 ---> python-tools-install.sh [Pipeline] echo 12:05:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:05:40 ---> sudo-logs.sh 12:05:40 Archiving 'sudo' log.. 12:05:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-2165.novalocal: Name or service not known 12:05:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-2165.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 12:05:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:05:40 ---> job-cost.sh 12:05:40 lf-activate-venv: SKIPPING 12:05:40 DEBUG: total: 0.10999999940395355 12:05:40 INFO: Retrieving Stack Cost... 12:05:43 INFO: Retrieving Pricing Info for: v3-standard-2 12:05:43 INFO: Archiving Costs [Pipeline] echo 12:05:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:05:43 ---> logs-deploy.sh 12:05:43 lf-activate-venv: SKIPPING 12:05:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/10 12:05:43 INFO: archiving workspace using pattern(s): 12:05:44 Archives upload complete. 12:05:44 INFO: archiving logs to Nexus