Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3ae2a7ec829829b2476572f70ead45b274a92301 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-ssh2815496831876507198.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh11850255072914319295.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh2976967444796671932.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh1062322147922266850.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-ssh924825734302956084.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 USE_ALPINE: true 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 on ‘prd-centos7-docker-4c-2g-26’ Running on prd-centos7-docker-4c-2g-31 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-ssh2340456637216423063.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 3ae2a7ec829829b2476572f70ead45b274a92301 (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 3ae2a7ec829829b2476572f70ead45b274a92301 # timeout=10 Commit message: "Merge pull request #254 from lenny-intel/no-win-zmq" > git rev-list --no-walk e07b8ad63a947e5d1e1838e08c0dbf46ddcbbac0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:26:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:26:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:26:03 ========================================================= 04:26:03 EdgeX Global Pipelines Version Info 04:26:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:26:04 ------------------- 04:26:04 stable info: 04:26:04 ------------------- 04:26:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:26:04 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:26:04 Message: update stable to v1.0.217 04:26:04 ------------------- 04:26:04 experimental info: 04:26:04 ------------------- 04:26:04 Commited By: **** collab-it+edgex@linuxfoundation.org 04:26:04 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:26:04 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3ae2a7ec829829b2476572f70ead45b274a92301 [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3ae2a7e [Pipeline] echo 04:26:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:05 provisioning config files... 04:26:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8935013556009790527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:05 ---> docker-login.sh 04:26:05 nexus3.edgexfoundry.org:10001 04:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:06 Configure a credential helper to remove this warning. See 04:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:06 04:26:06 Login Succeeded 04:26:06 nexus3.edgexfoundry.org:10002 04:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:06 Configure a credential helper to remove this warning. See 04:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:06 04:26:06 Login Succeeded 04:26:06 nexus3.edgexfoundry.org:10003 04:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:06 Configure a credential helper to remove this warning. See 04:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:06 04:26:06 Login Succeeded 04:26:06 nexus3.edgexfoundry.org:10004 04:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:06 Configure a credential helper to remove this warning. See 04:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:06 04:26:06 Login Succeeded 04:26:06 docker.io 04:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:06 Configure a credential helper to remove this warning. See 04:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:06 04:26:06 Login Succeeded 04:26:06 ---> docker-login.sh ends [Pipeline] } 04:26:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:26:07 + git rev-list -1 --merges 3ae2a7ec829829b2476572f70ead45b274a92301~1..3ae2a7ec829829b2476572f70ead45b274a92301 [Pipeline] echo 04:26:07 -----------> git rev-list -1 --merges 3ae2a7ec829829b2476572f70ead45b274a92301~1..3ae2a7ec829829b2476572f70ead45b274a92301 3ae2a7ec829829b2476572f70ead45b274a92301 04:26:07 3ae2a7ec829829b2476572f70ead45b274a92301 [false] [Pipeline] sh 04:26:07 + git log --format=format:%s -1 3ae2a7ec829829b2476572f70ead45b274a92301 [Pipeline] echo 04:26:07 ========================================================= 04:26:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:26:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:08 + git log --format=format:%s -1 3ae2a7ec829829b2476572f70ead45b274a92301 [Pipeline] echo 04:26:08 [semverPrep] GIT_COMMIT: 3ae2a7ec829829b2476572f70ead45b274a92301, Commit Message: Merge pull request #254 from lenny-intel/no-win-zmq [Pipeline] echo 04:26:08 [semverPrep] This is not a build commit. [Pipeline] sh 04:26:08 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:26:08 + grep -v github /etc/ssh/ssh_known_hosts 04:26:08 + '[' -e /tmp/ssh_known_hosts ']' 04:26:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:26:08 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 04:26:08 + sudo tee -a /etc/ssh/ssh_known_hosts 04:26:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:26:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:26:08 04:26:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:26:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:26:09 latest: Pulling from edgex-devops/git-semver 04:26:09 a0d0a0d46f8b: Pulling fs layer 04:26:09 3e5f54012d9b: Pulling fs layer 04:26:09 4c7163046ea9: Pulling fs layer 04:26:09 0c2d73faf560: Pulling fs layer 04:26:09 0c2d73faf560: Waiting 04:26:09 3e5f54012d9b: Verifying Checksum 04:26:09 3e5f54012d9b: Download complete 04:26:09 a0d0a0d46f8b: Verifying Checksum 04:26:09 a0d0a0d46f8b: Download complete 04:26:09 4c7163046ea9: Verifying Checksum 04:26:09 4c7163046ea9: Download complete 04:26:09 0c2d73faf560: Verifying Checksum 04:26:09 0c2d73faf560: Download complete 04:26:09 a0d0a0d46f8b: Pull complete 04:26:09 3e5f54012d9b: Pull complete 04:26:09 4c7163046ea9: Pull complete 04:26:09 0c2d73faf560: Pull complete 04:26:09 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:26:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:26:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:26:10 prd-centos7-docker-4c-2g-31 does not seem to be running inside a container 04:26:10 $ 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 04:26:10 $ docker top 65e923ec1fc1f881e0211653661ed903e39f6df7853b377ae9ef72b1b610978c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:26:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:26:10 [ssh-agent] Looking for ssh-agent implementation... 04:26:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:26:11 $ docker exec 65e923ec1fc1f881e0211653661ed903e39f6df7853b377ae9ef72b1b610978c ssh-agent 04:26:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlGHlFj/agent.14 04:26:11 SSH_AGENT_PID=20 04:26:11 Running ssh-add (command line suppressed) 04:26:11 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5589886559295660951.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5589886559295660951.key) 04:26:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:26:11 + git tag --points-at HEAD [Pipeline] } 04:26:11 $ docker exec --env ******** --env ******** 65e923ec1fc1f881e0211653661ed903e39f6df7853b377ae9ef72b1b610978c ssh-agent -k 04:26:11 unset SSH_AUTH_SOCK; 04:26:11 unset SSH_AGENT_PID; 04:26:11 echo Agent pid 20 killed; 04:26:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:26:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:26:11 [ssh-agent] Looking for ssh-agent implementation... 04:26:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:26:11 $ docker exec 65e923ec1fc1f881e0211653661ed903e39f6df7853b377ae9ef72b1b610978c ssh-agent 04:26:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNOgCmN/agent.55 04:26:11 SSH_AGENT_PID=62 04:26:11 Running ssh-add (command line suppressed) 04:26:12 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7868000761836041469.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7868000761836041469.key) 04:26:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:26:12 + git semver init 04:26:12 # -> Open(): unable to determine branch for HEAD 04:26:12 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 04:26:12 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 04:26:12 # $SEMVER_REMOTE_NAME = origin 04:26:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:26:12 # $SEMVER_USER_NAME = edgex-jenkins 04:26:12 # $SEMVER_BRANCH = main 04:26:12 # $SEMVER_TEMP = /tmp/semver-040656827 04:26:12 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 04:26:24 # '/tmp/semver-040656827' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' 04:26:24 # -> Force: false 04:26:24 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 04:26:24 $ docker exec --env ******** --env ******** 65e923ec1fc1f881e0211653661ed903e39f6df7853b377ae9ef72b1b610978c ssh-agent -k 04:26:24 unset SSH_AUTH_SOCK; 04:26:24 unset SSH_AGENT_PID; 04:26:24 echo Agent pid 62 killed; 04:26:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:26:25 + git semver [Pipeline] } 04:26:25 $ docker stop --time=1 65e923ec1fc1f881e0211653661ed903e39f6df7853b377ae9ef72b1b610978c 04:26:26 $ docker rm -f 65e923ec1fc1f881e0211653661ed903e39f6df7853b377ae9ef72b1b610978c [Pipeline] // withDockerContainer [Pipeline] sh 04:26:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:26:27 Stashed 1 file(s) [Pipeline] echo 04:26:27 [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 04:26:42 Still waiting to schedule task 04:26:42 ‘prd-centos7-docker-4c-2g-33’ is offline 04:26:42 Still waiting to schedule task 04:26:42 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-27’ 04:27:14 Running on prd-centos7-docker-4c-2g-34 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 04:27:14 Running in /w/workspace/device-virtual-go/17 [Pipeline] { [Pipeline] checkout 04:27:14 The recommended git tool is: git 04:27:16 using credential edgex-jenkins-ssh 04:27:16 Cloning the remote Git repository 04:27:15 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:27:15 > git init /w/workspace/device-virtual-go/17 # timeout=10 04:27:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:27:15 > git --version # timeout=10 04:27:15 > git --version # 'git version 2.24.4' 04:27:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:27:15 [INFO] Currently running in a labeled security context 04:27:15 [INFO] Currently SELinux is 'enforcing' on the host 04:27:15 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/17@tmp/jenkins-gitclient-ssh1021279489178283039.key 04:27:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:27:27 Avoid second fetch 04:27:27 Checking out Revision 3ae2a7ec829829b2476572f70ead45b274a92301 (main) 04:27:27 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:27:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:27:27 > git config core.sparsecheckout # timeout=10 04:27:27 > git checkout -f 3ae2a7ec829829b2476572f70ead45b274a92301 # timeout=10 04:27:30 Commit message: "Merge pull request #254 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:31 provisioning config files... 04:27:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/17@tmp/config6775668352541292092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:31 ---> docker-login.sh 04:27:31 nexus3.edgexfoundry.org:10001 04:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:31 Configure a credential helper to remove this warning. See 04:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:31 04:27:31 Login Succeeded 04:27:31 nexus3.edgexfoundry.org:10002 04:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:31 Configure a credential helper to remove this warning. See 04:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:31 04:27:31 Login Succeeded 04:27:31 nexus3.edgexfoundry.org:10003 04:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:31 Configure a credential helper to remove this warning. See 04:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:31 04:27:31 Login Succeeded 04:27:31 nexus3.edgexfoundry.org:10004 04:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:32 Configure a credential helper to remove this warning. See 04:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:32 04:27:32 Login Succeeded 04:27:32 docker.io 04:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:32 Configure a credential helper to remove this warning. See 04:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:32 04:27:32 Login Succeeded 04:27:32 ---> docker-login.sh ends [Pipeline] } 04:27:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:27:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:27:32 ========================================================= 04:27:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:27:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:27:32 + 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 . 04:27:32 Sending build context to Docker daemon 11.53MB 04:27:32 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 04:27:32 Step 2/11 : FROM ${BASE} AS builder 04:27:32 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:27:32 a0d0a0d46f8b: Pulling fs layer 04:27:32 31adcdaf11c8: Pulling fs layer 04:27:32 b8b176561691: Pulling fs layer 04:27:32 4527c011a84f: Pulling fs layer 04:27:32 5d74067f8e1e: Pulling fs layer 04:27:32 e0aca202a116: Pulling fs layer 04:27:32 3a43be97a3b4: Pulling fs layer 04:27:32 34cad66bf833: Pulling fs layer 04:27:32 b4e3c513aaa6: Pulling fs layer 04:27:32 4527c011a84f: Waiting 04:27:32 5d74067f8e1e: Waiting 04:27:32 e0aca202a116: Waiting 04:27:32 3a43be97a3b4: Waiting 04:27:32 34cad66bf833: Waiting 04:27:32 b4e3c513aaa6: Waiting 04:27:32 b8b176561691: Verifying Checksum 04:27:32 b8b176561691: Download complete 04:27:32 31adcdaf11c8: Verifying Checksum 04:27:32 31adcdaf11c8: Download complete 04:27:32 5d74067f8e1e: Verifying Checksum 04:27:32 5d74067f8e1e: Download complete 04:27:33 e0aca202a116: Verifying Checksum 04:27:33 e0aca202a116: Download complete 04:27:33 3a43be97a3b4: Verifying Checksum 04:27:33 3a43be97a3b4: Download complete 04:27:33 a0d0a0d46f8b: Verifying Checksum 04:27:33 a0d0a0d46f8b: Download complete 04:27:33 34cad66bf833: Verifying Checksum 04:27:33 34cad66bf833: Download complete 04:27:33 a0d0a0d46f8b: Pull complete 04:27:33 4527c011a84f: Verifying Checksum 04:27:33 4527c011a84f: Download complete 04:27:33 b4e3c513aaa6: Verifying Checksum 04:27:33 b4e3c513aaa6: Download complete 04:27:33 31adcdaf11c8: Pull complete 04:27:33 b8b176561691: Pull complete 04:27:37 4527c011a84f: Pull complete 04:27:37 5d74067f8e1e: Pull complete 04:27:37 e0aca202a116: Pull complete 04:27:37 3a43be97a3b4: Pull complete 04:27:37 34cad66bf833: Pull complete 04:27:39 b4e3c513aaa6: Pull complete 04:27:39 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:27:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:27:39 ---> 9f6097aaca64 04:27:39 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:27:41 ---> Running in 27f865c46924 04:27:41 Removing intermediate container 27f865c46924 04:27:41 ---> 08567df8bcc3 04:27:41 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 04:27:41 ---> Running in 0c637d78d522 04:27:41 Removing intermediate container 0c637d78d522 04:27:41 ---> 44161a73a96f 04:27:41 Step 5/11 : WORKDIR /device-virtual-go 04:27:41 ---> Running in 2d0cd44d789e 04:27:41 Removing intermediate container 2d0cd44d789e 04:27:41 ---> 2551119cb1af 04:27:41 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:27:41 ---> Running in cfd9dd57e53e 04:27:42 Removing intermediate container cfd9dd57e53e 04:27:42 ---> ec1bdd8157f7 04:27:42 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:27:42 ---> Running in 990ba04de6c2 04:27:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:27:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:27:43 (1/4) Installing openssh-keygen (8.6_p1-r3) 04:27:43 (2/4) Installing libedit (20210216.3.1-r0) 04:27:44 (3/4) Installing openssh-client-common (8.6_p1-r3) 04:27:44 (4/4) Installing openssh-client-default (8.6_p1-r3) 04:27:44 Executing busybox-1.33.1-r3.trigger 04:27:44 OK: 224 MiB in 56 packages 04:27:44 Removing intermediate container 990ba04de6c2 04:27:44 ---> 92dd2ac10a0f 04:27:44 Step 8/11 : COPY . . 04:27:44 ---> 4952253bd490 04:27:44 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:44 ---> Running in 84af30663547 04:28:17 Removing intermediate container 84af30663547 04:28:17 ---> 2d6c7a18fae7 04:28:17 Step 10/11 : ARG MAKE='make build' 04:28:17 ---> Running in 09e3b5fee180 04:28:17 Removing intermediate container 09e3b5fee180 04:28:17 ---> fc972f7e5d37 04:28:17 Step 11/11 : RUN $MAKE 04:28:17 ---> Running in a377f365fefc 04:28:17 noop 04:28:17 Removing intermediate container a377f365fefc 04:28:17 ---> 464bb4ce7675 04:28:17 Successfully built 464bb4ce7675 04:28:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:28:17 + docker inspect -f . ci-base-image-x86_64 04:28:17 . [Pipeline] withDockerContainer 04:28:17 prd-centos7-docker-4c-2g-34 does not seem to be running inside a container 04:28:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/17 -v /w/workspace/device-virtual-go/17:/w/workspace/device-virtual-go/17:rw,z -v /w/workspace/device-virtual-go/17@tmp:/w/workspace/device-virtual-go/17@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 04:28:17 $ docker top ae8a0f5189f0f259343776bf55e162e3b283fc2d7316f776d61c3fc4f456a812 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:18 + go version 04:28:18 go version go1.16.8 linux/amd64 [Pipeline] } 04:28:18 $ docker stop --time=1 ae8a0f5189f0f259343776bf55e162e3b283fc2d7316f776d61c3fc4f456a812 04:28:19 $ docker rm -f ae8a0f5189f0f259343776bf55e162e3b283fc2d7316f776d61c3fc4f456a812 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:28:19 + docker inspect -f . ci-base-image-x86_64 04:28:19 . [Pipeline] withDockerContainer 04:28:19 prd-centos7-docker-4c-2g-34 does not seem to be running inside a container 04:28:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/17 -v /w/workspace/device-virtual-go/17:/w/workspace/device-virtual-go/17:rw,z -v /w/workspace/device-virtual-go/17@tmp:/w/workspace/device-virtual-go/17@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 04:28:20 $ docker top e9351f0c838ea1c0e1678753cd23254655ce9a0005d66ff8449ffe38280ef797 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:28:20 + make test 04:28:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:28:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:28:39 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:28:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.262s coverage: 64.6% of statements 04:28:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:28:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:28:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:28:47 ./bin/test-attribution-txt.sh [Pipeline] echo 04:28:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:28:47 $ docker stop --time=1 e9351f0c838ea1c0e1678753cd23254655ce9a0005d66ff8449ffe38280ef797 04:28:49 $ docker rm -f e9351f0c838ea1c0e1678753cd23254655ce9a0005d66ff8449ffe38280ef797 [Pipeline] // withDockerContainer [Pipeline] sh 04:28:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:28:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:28:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:28:51 + ls -al . 04:28:51 total 176 04:28:51 drwxrwxr-x. 7 jenkins jenkins 4096 Dec 1 04:28 . 04:28:51 drwxrwxr-x. 4 jenkins jenkins 30 Dec 1 04:27 .. 04:28:51 -rw-rw-r--. 1 jenkins jenkins 8449 Dec 1 04:27 Attribution.txt 04:28:51 drwxrwxr-x. 2 jenkins jenkins 37 Dec 1 04:27 bin 04:28:51 -rw-rw-r--. 1 jenkins jenkins 6349 Dec 1 04:27 CHANGELOG.md 04:28:51 drwxrwxr-x. 3 jenkins jenkins 32 Dec 1 04:27 cmd 04:28:51 -rw-r--r--. 1 jenkins jenkins 46339 Dec 1 04:28 coverage.out 04:28:51 -rw-rw-r--. 1 jenkins jenkins 1951 Dec 1 04:27 Dockerfile 04:28:51 drwxrwxr-x. 8 jenkins jenkins 162 Dec 1 04:27 .git 04:28:51 drwxrwxr-x. 2 jenkins jenkins 103 Dec 1 04:27 .github 04:28:51 -rw-rw-r--. 1 jenkins jenkins 270 Dec 1 04:27 .gitignore 04:28:51 -rw-rw-r--. 1 jenkins jenkins 350 Dec 1 04:27 go.mod 04:28:51 -rw-rw-r--. 1 jenkins jenkins 52323 Dec 1 04:27 go.sum 04:28:51 -rw-rw-r--. 1 jenkins jenkins 677 Dec 1 04:27 GOVERNANCE.md 04:28:51 drwxrwxr-x. 3 jenkins jenkins 20 Dec 1 04:27 internal 04:28:51 -rw-rw-r--. 1 jenkins jenkins 660 Dec 1 04:27 Jenkinsfile 04:28:51 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 1 04:27 LICENSE 04:28:51 -rw-rw-r--. 1 jenkins jenkins 999 Dec 1 04:27 Makefile 04:28:51 -rw-rw-r--. 1 jenkins jenkins 623 Dec 1 04:27 OWNERS.md 04:28:51 -rw-rw-r--. 1 jenkins jenkins 2914 Dec 1 04:27 README.md 04:28:51 -rw-rw-r--. 1 jenkins jenkins 11 Dec 1 04:26 VERSION 04:28:51 -rw-rw-r--. 1 jenkins jenkins 235 Dec 1 04:27 version.go [Pipeline] isUnix [Pipeline] sh 04:28:51 + 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=3ae2a7ec829829b2476572f70ead45b274a92301 --label arch=amd64 --label version=2.2.0-dev.1 . 04:28:51 Sending build context to Docker daemon 11.58MB 04:28:51 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 04:28:51 Step 2/25 : FROM ${BASE} AS builder 04:28:51 ---> 464bb4ce7675 04:28:51 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:28:51 ---> Running in 024949e2ea54 04:28:51 Removing intermediate container 024949e2ea54 04:28:51 ---> 3032ae9ef39c 04:28:51 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 04:28:51 ---> Running in adbbf05bea8e 04:28:51 Removing intermediate container adbbf05bea8e 04:28:51 ---> 22007887ead6 04:28:51 Step 5/25 : WORKDIR /device-virtual-go 04:28:51 ---> Running in b7e017e872b8 04:28:51 Removing intermediate container b7e017e872b8 04:28:51 ---> 55adaf244d7f 04:28:51 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:28:51 ---> Running in 32f08556e154 04:28:52 Removing intermediate container 32f08556e154 04:28:52 ---> d3a190fee9ee 04:28:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:28:52 ---> Running in 367ed6b28162 04:28:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:28:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:28:53 OK: 224 MiB in 56 packages 04:28:53 Removing intermediate container 367ed6b28162 04:28:53 ---> 8fc6d1e89f25 04:28:53 Step 8/25 : COPY . . 04:28:54 ---> af0ebdb801fe 04:28:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:54 ---> Running in 286b883d2ba2 04:28:54 Removing intermediate container 286b883d2ba2 04:28:54 ---> dae1790edcce 04:28:54 Step 10/25 : ARG MAKE='make build' 04:28:54 ---> Running in 4b50c239c7f1 04:28:55 Removing intermediate container 4b50c239c7f1 04:28:55 ---> 732dd53704cd 04:28:55 Step 11/25 : RUN $MAKE 04:28:55 ---> Running in efcf63c81d55 04:28:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.1" -o cmd/device-virtual ./cmd 04:29:10 Removing intermediate container efcf63c81d55 04:29:10 ---> 5b8579a63584 04:29:10 Step 12/25 : FROM alpine:3.14 04:29:10 3.14: Pulling from library/alpine 04:29:11 97518928ae5f: Pulling fs layer 04:29:11 97518928ae5f: Verifying Checksum 04:29:11 97518928ae5f: Download complete 04:29:11 97518928ae5f: Pull complete 04:29:11 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:29:11 Status: Downloaded newer image for alpine:3.14 04:29:11 ---> 0a97eee8041e 04:29:11 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:29:11 ---> Running in f17ec7d99ab1 04:29:11 Removing intermediate container f17ec7d99ab1 04:29:11 ---> 0b0fd73ce342 04:29:11 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:29:11 ---> Running in d03557ffd369 04:29:11 Removing intermediate container d03557ffd369 04:29:11 ---> d1d7220d7de8 04:29:11 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 04:29:11 ---> Running in ad73b1ae2ff3 04:29:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:29:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:29:13 (1/6) Installing dumb-init (1.2.5-r1) 04:29:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:29:13 (3/6) Installing libsodium (1.0.18-r0) 04:29:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:29:13 (5/6) Installing libzmq (4.3.4-r0) 04:29:13 (6/6) Installing zeromq (4.3.4-r0) 04:29:13 Executing busybox-1.33.1-r6.trigger 04:29:13 OK: 8 MiB in 20 packages 04:29:14 Removing intermediate container ad73b1ae2ff3 04:29:14 ---> 9315b1c7b5a1 04:29:14 Step 16/25 : WORKDIR / 04:29:14 ---> Running in 5547ded77ac5 04:29:14 Removing intermediate container 5547ded77ac5 04:29:14 ---> 81c448d0f63d 04:29:14 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:29:14 ---> a52b55361c2d 04:29:14 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 04:29:14 ---> 25e6beaee718 04:29:14 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 04:29:14 ---> 047ce8a97a4f 04:29:14 Step 20/25 : EXPOSE 59900 04:29:14 ---> Running in 9dcb16fd98a7 04:29:14 Removing intermediate container 9dcb16fd98a7 04:29:14 ---> 5503dedbc603 04:29:14 Step 21/25 : ENTRYPOINT ["/device-virtual"] 04:29:14 ---> Running in 0ff246e6087b 04:29:14 Removing intermediate container 0ff246e6087b 04:29:14 ---> b8251c2ea93b 04:29:14 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:29:15 ---> Running in dc48eadd0879 04:29:15 Removing intermediate container dc48eadd0879 04:29:15 ---> 2371d0315885 04:29:15 Step 23/25 : LABEL arch=amd64 04:29:15 ---> Running in 212d0bc11f88 04:29:15 Removing intermediate container 212d0bc11f88 04:29:15 ---> 51b3e588e064 04:29:15 Step 24/25 : LABEL git_sha=3ae2a7ec829829b2476572f70ead45b274a92301 04:29:15 ---> Running in 78d777598ec8 04:29:15 Removing intermediate container 78d777598ec8 04:29:15 ---> 06eec850ff1c 04:29:15 Step 25/25 : LABEL version=2.2.0-dev.1 04:29:15 ---> Running in c4d35cd05b79 04:29:15 Removing intermediate container c4d35cd05b79 04:29:15 ---> 4e2799c28e76 04:29:15 [Warning] One or more build-args [ARCH] were not consumed 04:29:15 Successfully built 4e2799c28e76 04:29:15 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:15 provisioning config files... 04:29:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/17@tmp/config3011987031997014654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:16 ---> docker-login.sh 04:29:16 nexus3.edgexfoundry.org:10001 04:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:16 Configure a credential helper to remove this warning. See 04:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:16 04:29:16 Login Succeeded 04:29:16 nexus3.edgexfoundry.org:10002 04:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:16 Configure a credential helper to remove this warning. See 04:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:16 04:29:16 Login Succeeded 04:29:16 nexus3.edgexfoundry.org:10003 04:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:16 Configure a credential helper to remove this warning. See 04:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:16 04:29:16 Login Succeeded 04:29:16 nexus3.edgexfoundry.org:10004 04:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:16 Configure a credential helper to remove this warning. See 04:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:16 04:29:16 Login Succeeded 04:29:16 docker.io 04:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:16 Configure a credential helper to remove this warning. See 04:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:16 04:29:16 Login Succeeded 04:29:16 ---> docker-login.sh ends [Pipeline] } 04:29:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:29:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:29:16 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 04:29:16 3ae2a7ec829829b2476572f70ead45b274a92301 04:29:16 latest 04:29:16 2.2.0-dev.1 04:29:16 3ae2a7ec829829b2476572f70ead45b274a92301-2.2.0-dev.1 04:29:16 main 04:29:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:29:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3ae2a7ec829829b2476572f70ead45b274a92301 [Pipeline] isUnix [Pipeline] sh 04:29:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3ae2a7ec829829b2476572f70ead45b274a92301 04:29:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:29:17 79e6fbd02692: Preparing 04:29:17 cb5d0fb7377f: Preparing 04:29:17 55deaf3edfcf: Preparing 04:29:17 3be6fc3690f8: Preparing 04:29:17 47a3e6dd7107: Preparing 04:29:17 1a058d5342cc: Preparing 04:29:17 1a058d5342cc: Waiting 04:29:17 55deaf3edfcf: Pushed 04:29:17 47a3e6dd7107: Pushed 04:29:17 1a058d5342cc: Layer already exists 04:29:17 cb5d0fb7377f: Pushed 04:29:17 3be6fc3690f8: Pushed 04:29:19 79e6fbd02692: Pushed 04:29:19 3ae2a7ec829829b2476572f70ead45b274a92301: digest: sha256:6589d9903e1ce84c9632d5d945d946f6e7bb014938edd7786d44b09a76120405 size: 1573 [Pipeline] isUnix [Pipeline] sh 04:29:19 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh 04:29:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 04:29:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:29:20 79e6fbd02692: Preparing 04:29:20 cb5d0fb7377f: Preparing 04:29:20 55deaf3edfcf: Preparing 04:29:20 3be6fc3690f8: Preparing 04:29:20 47a3e6dd7107: Preparing 04:29:20 1a058d5342cc: Preparing 04:29:20 1a058d5342cc: Waiting 04:29:20 79e6fbd02692: Layer already exists 04:29:20 47a3e6dd7107: Layer already exists 04:29:20 55deaf3edfcf: Layer already exists 04:29:20 3be6fc3690f8: Layer already exists 04:29:20 cb5d0fb7377f: Layer already exists 04:29:20 1a058d5342cc: Layer already exists 04:29:20 latest: digest: sha256:6589d9903e1ce84c9632d5d945d946f6e7bb014938edd7786d44b09a76120405 size: 1573 [Pipeline] isUnix [Pipeline] sh 04:29:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 04:29:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.1 04:29:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:29:20 79e6fbd02692: Preparing 04:29:20 cb5d0fb7377f: Preparing 04:29:20 55deaf3edfcf: Preparing 04:29:20 3be6fc3690f8: Preparing 04:29:20 47a3e6dd7107: Preparing 04:29:20 1a058d5342cc: Preparing 04:29:20 1a058d5342cc: Waiting 04:29:20 55deaf3edfcf: Layer already exists 04:29:20 79e6fbd02692: Layer already exists 04:29:20 47a3e6dd7107: Layer already exists 04:29:20 cb5d0fb7377f: Layer already exists 04:29:20 3be6fc3690f8: Layer already exists 04:29:20 1a058d5342cc: Layer already exists 04:29:20 2.2.0-dev.1: digest: sha256:6589d9903e1ce84c9632d5d945d946f6e7bb014938edd7786d44b09a76120405 size: 1573 [Pipeline] isUnix [Pipeline] sh 04:29:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3ae2a7ec829829b2476572f70ead45b274a92301-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 04:29:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3ae2a7ec829829b2476572f70ead45b274a92301-2.2.0-dev.1 04:29:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:29:21 79e6fbd02692: Preparing 04:29:21 cb5d0fb7377f: Preparing 04:29:21 55deaf3edfcf: Preparing 04:29:21 3be6fc3690f8: Preparing 04:29:21 47a3e6dd7107: Preparing 04:29:21 1a058d5342cc: Preparing 04:29:21 1a058d5342cc: Waiting 04:29:21 47a3e6dd7107: Layer already exists 04:29:21 cb5d0fb7377f: Layer already exists 04:29:21 3be6fc3690f8: Layer already exists 04:29:21 55deaf3edfcf: Layer already exists 04:29:21 79e6fbd02692: Layer already exists 04:29:21 1a058d5342cc: Layer already exists 04:29:21 3ae2a7ec829829b2476572f70ead45b274a92301-2.2.0-dev.1: digest: sha256:6589d9903e1ce84c9632d5d945d946f6e7bb014938edd7786d44b09a76120405 size: 1573 [Pipeline] isUnix [Pipeline] sh 04:29:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh 04:29:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 04:29:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:29:22 79e6fbd02692: Preparing 04:29:22 cb5d0fb7377f: Preparing 04:29:22 55deaf3edfcf: Preparing 04:29:22 3be6fc3690f8: Preparing 04:29:22 47a3e6dd7107: Preparing 04:29:22 1a058d5342cc: Preparing 04:29:22 1a058d5342cc: Waiting 04:29:22 cb5d0fb7377f: Layer already exists 04:29:22 55deaf3edfcf: Layer already exists 04:29:22 47a3e6dd7107: Layer already exists 04:29:22 79e6fbd02692: Layer already exists 04:29:22 3be6fc3690f8: Layer already exists 04:29:22 1a058d5342cc: Layer already exists 04:29:22 main: digest: sha256:6589d9903e1ce84c9632d5d945d946f6e7bb014938edd7786d44b09a76120405 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:29:22 ===================================================== [Pipeline] echo 04:29:22 taggedImages: 04:29:22 - nexus3.edgexfoundry.org:10004/device-virtual:3ae2a7ec829829b2476572f70ead45b274a92301 04:29:22 - nexus3.edgexfoundry.org:10004/device-virtual:latest 04:29:22 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.1 04:29:22 - nexus3.edgexfoundry.org:10004/device-virtual:3ae2a7ec829829b2476572f70ead45b274a92301-2.2.0-dev.1 04:29:22 - 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 04:29:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:22 04:29:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:29:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:22 latest: Pulling from edgex-lftools-log-publisher 04:29:22 b4d181a07f80: Pulling fs layer 04:29:22 a1111a8f2ec3: Pulling fs layer 04:29:22 ed53099fbce6: Pulling fs layer 04:29:22 dc539afda2c1: Pulling fs layer 04:29:22 77bc0d833cb6: Pulling fs layer 04:29:22 9065ff56babe: Pulling fs layer 04:29:22 d287ab97295c: Pulling fs layer 04:29:22 dc539afda2c1: Waiting 04:29:22 77bc0d833cb6: Waiting 04:29:22 9065ff56babe: Waiting 04:29:22 d287ab97295c: Waiting 04:29:22 a1111a8f2ec3: Verifying Checksum 04:29:22 a1111a8f2ec3: Download complete 04:29:22 dc539afda2c1: Verifying Checksum 04:29:22 dc539afda2c1: Download complete 04:29:22 ed53099fbce6: Verifying Checksum 04:29:22 ed53099fbce6: Download complete 04:29:22 9065ff56babe: Verifying Checksum 04:29:22 9065ff56babe: Download complete 04:29:22 77bc0d833cb6: Verifying Checksum 04:29:22 77bc0d833cb6: Download complete 04:29:23 b4d181a07f80: Verifying Checksum 04:29:23 b4d181a07f80: Download complete 04:29:23 d287ab97295c: Verifying Checksum 04:29:23 d287ab97295c: Download complete 04:29:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-37 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 04:29:24 Running in /w/workspace/device-virtual-go/17 [Pipeline] { [Pipeline] checkout 04:29:24 The recommended git tool is: git 04:29:24 b4d181a07f80: Pull complete 04:29:24 a1111a8f2ec3: Pull complete 04:29:25 ed53099fbce6: Pull complete 04:29:25 dc539afda2c1: Pull complete 04:29:25 77bc0d833cb6: Pull complete 04:29:25 9065ff56babe: Pull complete 04:29:29 using credential edgex-jenkins-ssh 04:29:29 Cloning the remote Git repository 04:29:29 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:29:29 > git init /w/workspace/device-virtual-go/17 # timeout=10 04:29:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:29:29 > git --version # timeout=10 04:29:29 > git --version # 'git version 2.17.1' 04:29:29 using GIT_SSH to set credentials SSH Credentials for GitHub 04:29:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:29:30 d287ab97295c: Pull complete 04:29:30 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:29:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:29:30 prd-centos7-docker-4c-2g-34 does not seem to be running inside a container 04:29:31 $ 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/17 -v /w/workspace/device-virtual-go/17:/w/workspace/device-virtual-go/17:rw,z -v /w/workspace/device-virtual-go/17@tmp:/w/workspace/device-virtual-go/17@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 04:29:33 $ docker top 395e0aa9e99a9c0d272b8c9c484bfca80307360beff7b991b96f724d3f7028f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:33 ---> job-cost.sh 04:29:33 lf-activate-venv: SKIPPING 04:29:33 INFO: No Stack... 04:29:34 INFO: Retrieving Pricing Info for: v3-standard-2 04:29:34 INFO: Archiving Costs [Pipeline] sh 04:29:34 + cat /w/workspace/device-virtual-go/17/archives/cost.csv 04:29:34 + cut -d, -f6 [Pipeline] lock 04:29:34 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-17-stack-cost] 04:29:34 Resource [jenkins-edgexfoundry-device-virtual-go-main-17-stack-cost] did not exist. Created. 04:29:34 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:34 + echo total: 0.05999999865889549 [Pipeline] stash 04:29:35 Stashed 1 file(s) [Pipeline] } 04:29:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-17-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:35 $ docker stop --time=1 395e0aa9e99a9c0d272b8c9c484bfca80307360beff7b991b96f724d3f7028f1 04:29:36 $ docker rm -f 395e0aa9e99a9c0d272b8c9c484bfca80307360beff7b991b96f724d3f7028f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:29:36 Avoid second fetch 04:29:36 Checking out Revision 3ae2a7ec829829b2476572f70ead45b274a92301 (main) 04:29:36 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:29:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:29:36 > git config core.sparsecheckout # timeout=10 04:29:36 > git checkout -f 3ae2a7ec829829b2476572f70ead45b274a92301 # timeout=10 04:29:40 Commit message: "Merge pull request #254 from lenny-intel/no-win-zmq" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:29:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:29:41 % Total % Received % Xferd Average Speed Time Time Time Current 04:29:41 Dload Upload Total Spent Left Speed 04:29:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 04:29:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:29:42 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 04:29:42 /etc/docker/daemon.json 04:29:42 { 04:29:42 "registry-mirrors": [ 04:29:42 "https://nexus3.edgexfoundry.org:10001" 04:29:42 ], 04:29:42 "bip": "10.250.0.254/24", 04:29:42 "hosts": [ 04:29:42 "tcp://0.0.0.0:5555", 04:29:42 "unix:///var/run/docker.sock" 04:29:42 ], 04:29:42 "mtu": 1458, 04:29:42 "selinux-enabled": true, 04:29:42 "seccomp-profile": "/etc/docker/seccomp.json" 04:29:42 } [Pipeline] sh 04:29:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:29:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:01 provisioning config files... 04:30:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/17@tmp/config1927505825140200012tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:02 ---> docker-login.sh 04:30:02 nexus3.edgexfoundry.org:10001 04:30:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:03 Configure a credential helper to remove this warning. See 04:30:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:03 04:30:03 Login Succeeded 04:30:03 nexus3.edgexfoundry.org:10002 04:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:03 Configure a credential helper to remove this warning. See 04:30:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:03 04:30:03 Login Succeeded 04:30:03 nexus3.edgexfoundry.org:10003 04:30:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:03 Configure a credential helper to remove this warning. See 04:30:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:03 04:30:03 Login Succeeded 04:30:03 nexus3.edgexfoundry.org:10004 04:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:04 Configure a credential helper to remove this warning. See 04:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:04 04:30:04 Login Succeeded 04:30:04 docker.io 04:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:04 Configure a credential helper to remove this warning. See 04:30:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:04 04:30:04 Login Succeeded 04:30:04 ---> docker-login.sh ends [Pipeline] } 04:30:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:30:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:30:05 ========================================================= 04:30:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:30:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:30:06 + 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 . 04:30:06 Sending build context to Docker daemon 11.53MB 04:30:06 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 04:30:06 Step 2/11 : FROM ${BASE} AS builder 04:30:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:30:06 552d1f2373af: Pulling fs layer 04:30:06 ea3f2d53f512: Pulling fs layer 04:30:06 9e70ebbbe112: Pulling fs layer 04:30:06 7a9cfe048b4a: Pulling fs layer 04:30:06 72dc09318566: Pulling fs layer 04:30:06 f4f7b4309257: Pulling fs layer 04:30:06 7a9cfe048b4a: Waiting 04:30:06 0ac9a79272e3: Pulling fs layer 04:30:06 b78e95d17946: Pulling fs layer 04:30:06 72dc09318566: Waiting 04:30:06 f4f7b4309257: Waiting 04:30:06 0ac9a79272e3: Waiting 04:30:06 b78e95d17946: Waiting 04:30:06 9e70ebbbe112: Verifying Checksum 04:30:06 ea3f2d53f512: Verifying Checksum 04:30:06 ea3f2d53f512: Download complete 04:30:06 72dc09318566: Verifying Checksum 04:30:06 72dc09318566: Download complete 04:30:06 f4f7b4309257: Verifying Checksum 04:30:06 f4f7b4309257: Download complete 04:30:06 552d1f2373af: Verifying Checksum 04:30:06 552d1f2373af: Download complete 04:30:06 0ac9a79272e3: Verifying Checksum 04:30:06 0ac9a79272e3: Download complete 04:30:07 552d1f2373af: Pull complete 04:30:08 ea3f2d53f512: Pull complete 04:30:08 9e70ebbbe112: Pull complete 04:30:08 b78e95d17946: Verifying Checksum 04:30:08 b78e95d17946: Download complete 04:30:09 7a9cfe048b4a: Verifying Checksum 04:30:09 7a9cfe048b4a: Download complete 04:30:19 7a9cfe048b4a: Pull complete 04:30:19 72dc09318566: Pull complete 04:30:19 f4f7b4309257: Pull complete 04:30:19 0ac9a79272e3: Pull complete 04:30:25 b78e95d17946: Pull complete 04:30:25 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:30:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:30:25 ---> 8b459fc5aaf0 04:30:25 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:30:27 ---> Running in 281f3ab9fca9 04:30:27 Removing intermediate container 281f3ab9fca9 04:30:27 ---> 5d8a81df9c5e 04:30:27 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 04:30:27 ---> Running in bafdf49845b5 04:30:27 Removing intermediate container bafdf49845b5 04:30:27 ---> c056b1f07599 04:30:27 Step 5/11 : WORKDIR /device-virtual-go 04:30:27 ---> Running in e9ed16b464e8 04:30:28 Removing intermediate container e9ed16b464e8 04:30:28 ---> ad0628260040 04:30:28 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:30:28 ---> Running in edad4e1cc9b4 04:30:30 Removing intermediate container edad4e1cc9b4 04:30:30 ---> b70124190ce0 04:30:30 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:30:30 ---> Running in 7eef671d8241 04:30:31 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:30:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:30:33 (1/4) Installing openssh-keygen (8.6_p1-r3) 04:30:33 (2/4) Installing libedit (20210216.3.1-r0) 04:30:33 (3/4) Installing openssh-client-common (8.6_p1-r3) 04:30:33 (4/4) Installing openssh-client-default (8.6_p1-r3) 04:30:34 Executing busybox-1.33.1-r3.trigger 04:30:34 OK: 223 MiB in 56 packages 04:30:35 Removing intermediate container 7eef671d8241 04:30:35 ---> edaec96a34fa 04:30:35 Step 8/11 : COPY . . 04:30:36 ---> bd83be54d191 04:30:36 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:30:36 ---> Running in 5d53883b7942 04:31:58 Removing intermediate container 5d53883b7942 04:31:58 ---> d5a9748b6380 04:31:58 Step 10/11 : ARG MAKE='make build' 04:31:58 ---> Running in 48968cb01932 04:31:58 Removing intermediate container 48968cb01932 04:31:58 ---> f1934dc8e01a 04:31:58 Step 11/11 : RUN $MAKE 04:31:58 ---> Running in 63fb3d7a1e2e 04:31:58 noop 04:31:58 Removing intermediate container 63fb3d7a1e2e 04:31:58 ---> 88f5851ca1b5 04:31:58 Successfully built 88f5851ca1b5 04:31:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:31:58 + docker inspect -f . ci-base-image-arm64 04:31:58 . [Pipeline] withDockerContainer 04:31:58 prd-ubuntu18.04-docker-arm64-4c-16g-37 does not seem to be running inside a container 04:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/17 -v /w/workspace/device-virtual-go/17:/w/workspace/device-virtual-go/17:rw,z -v /w/workspace/device-virtual-go/17@tmp:/w/workspace/device-virtual-go/17@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 04:32:00 $ docker top 278ce447312b4f3025bdaf702a1313869043d33c0f3c34cacb19614aa321fc06 -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:01 + go version 04:32:01 go version go1.16.8 linux/arm64 [Pipeline] } 04:32:01 $ docker stop --time=1 278ce447312b4f3025bdaf702a1313869043d33c0f3c34cacb19614aa321fc06 04:32:02 $ docker rm -f 278ce447312b4f3025bdaf702a1313869043d33c0f3c34cacb19614aa321fc06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:32:03 + docker inspect -f . ci-base-image-arm64 04:32:03 . [Pipeline] withDockerContainer 04:32:03 prd-ubuntu18.04-docker-arm64-4c-16g-37 does not seem to be running inside a container 04:32:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/17 -v /w/workspace/device-virtual-go/17:/w/workspace/device-virtual-go/17:rw,z -v /w/workspace/device-virtual-go/17@tmp:/w/workspace/device-virtual-go/17@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 04:32:05 $ docker top 98b22d23832772c88557422cbbe28d239f95dd7db626699a53449e9f76f4a121 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:32:06 + make test 04:32:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:32:07 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:33:29 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:33:29 ok github.com/edgexfoundry/device-virtual-go/internal/driver 2.005s coverage: 64.6% of statements 04:33:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:33:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:33:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:33:51 ./bin/test-attribution-txt.sh [Pipeline] echo 04:33:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:33:51 $ docker stop --time=1 98b22d23832772c88557422cbbe28d239f95dd7db626699a53449e9f76f4a121 04:33:53 $ docker rm -f 98b22d23832772c88557422cbbe28d239f95dd7db626699a53449e9f76f4a121 [Pipeline] // withDockerContainer [Pipeline] sh 04:33:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:33:54 Warning: overwriting stash ‘coverage-report’ 04:33:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:33:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:33:55 + ls -al . 04:33:55 total 200 04:33:55 drwxrwxr-x 7 jenkins jenkins 4096 Dec 1 04:33 . 04:33:55 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 04:29 .. 04:33:55 drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 04:29 .git 04:33:55 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 04:29 .github 04:33:55 -rw-rw-r-- 1 jenkins jenkins 270 Dec 1 04:29 .gitignore 04:33:55 -rw-rw-r-- 1 jenkins jenkins 8449 Dec 1 04:29 Attribution.txt 04:33:55 -rw-rw-r-- 1 jenkins jenkins 6349 Dec 1 04:29 CHANGELOG.md 04:33:55 -rw-rw-r-- 1 jenkins jenkins 1951 Dec 1 04:29 Dockerfile 04:33:55 -rw-rw-r-- 1 jenkins jenkins 677 Dec 1 04:29 GOVERNANCE.md 04:33:55 -rw-rw-r-- 1 jenkins jenkins 660 Dec 1 04:29 Jenkinsfile 04:33:55 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 1 04:29 LICENSE 04:33:55 -rw-rw-r-- 1 jenkins jenkins 999 Dec 1 04:29 Makefile 04:33:55 -rw-rw-r-- 1 jenkins jenkins 623 Dec 1 04:29 OWNERS.md 04:33:55 -rw-rw-r-- 1 jenkins jenkins 2914 Dec 1 04:29 README.md 04:33:55 -rw-rw-r-- 1 jenkins jenkins 11 Dec 1 04:26 VERSION 04:33:55 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 04:29 bin 04:33:55 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 04:29 cmd 04:33:55 -rw-r--r-- 1 jenkins jenkins 46339 Dec 1 04:33 coverage.out 04:33:55 -rw-rw-r-- 1 jenkins jenkins 350 Dec 1 04:29 go.mod 04:33:55 -rw-rw-r-- 1 jenkins jenkins 52323 Dec 1 04:29 go.sum 04:33:55 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 04:29 internal 04:33:55 -rw-rw-r-- 1 jenkins jenkins 235 Dec 1 04:29 version.go [Pipeline] isUnix [Pipeline] sh 04:33:55 + 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=3ae2a7ec829829b2476572f70ead45b274a92301 --label arch=arm64 --label version=2.2.0-dev.1 . 04:33:56 Sending build context to Docker daemon 11.58MB 04:33:56 Step 1/25 : ARG BASE=golang:1.16-alpine3.14 04:33:56 Step 2/25 : FROM ${BASE} AS builder 04:33:56 ---> 88f5851ca1b5 04:33:56 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:33:56 ---> Running in e23d3ed209c4 04:33:56 Removing intermediate container e23d3ed209c4 04:33:56 ---> 866618b7bfba 04:33:56 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 04:33:57 ---> Running in 9abb7acfb009 04:33:57 Removing intermediate container 9abb7acfb009 04:33:57 ---> d518b9a2553d 04:33:57 Step 5/25 : WORKDIR /device-virtual-go 04:33:57 ---> Running in 7b71b0e9b468 04:33:57 Removing intermediate container 7b71b0e9b468 04:33:57 ---> 09560de085a0 04:33:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:33:57 ---> Running in 8237b97f61a0 04:33:59 Removing intermediate container 8237b97f61a0 04:33:59 ---> c6437c4bc094 04:33:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:33:59 ---> Running in 4f88e2149eeb 04:34:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:34:01 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:34:02 OK: 223 MiB in 56 packages 04:34:03 Removing intermediate container 4f88e2149eeb 04:34:03 ---> e4eab2c10f11 04:34:03 Step 8/25 : COPY . . 04:34:03 ---> ed021d189a72 04:34:03 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:34:03 ---> Running in 962866001bb1 04:34:05 Removing intermediate container 962866001bb1 04:34:05 ---> 5ca66a63b7ad 04:34:05 Step 10/25 : ARG MAKE='make build' 04:34:06 ---> Running in 4a05d7519eff 04:34:06 Removing intermediate container 4a05d7519eff 04:34:06 ---> aadc81fb7e3a 04:34:06 Step 11/25 : RUN $MAKE 04:34:06 ---> Running in a7fc1dc682b8 04:34:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.1" -o cmd/device-virtual ./cmd 04:35:04 Removing intermediate container a7fc1dc682b8 04:35:04 ---> f927c3b38235 04:35:04 Step 12/25 : FROM alpine:3.14 04:35:04 3.14: Pulling from library/alpine 04:35:04 be307f383ecc: Pulling fs layer 04:35:04 be307f383ecc: Verifying Checksum 04:35:04 be307f383ecc: Download complete 04:35:04 be307f383ecc: Pull complete 04:35:04 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:35:04 Status: Downloaded newer image for alpine:3.14 04:35:04 ---> 5b8b7b635229 04:35:04 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:35:04 ---> Running in c02e906376ed 04:35:04 Removing intermediate container c02e906376ed 04:35:04 ---> 0678e94335d5 04:35:04 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:35:04 ---> Running in 9850b16515db 04:35:04 Removing intermediate container 9850b16515db 04:35:04 ---> b6807dafa929 04:35:04 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 04:35:04 ---> Running in 0137d42681e4 04:35:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:35:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:35:06 (1/6) Installing dumb-init (1.2.5-r1) 04:35:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:35:06 (3/6) Installing libsodium (1.0.18-r0) 04:35:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:35:06 (5/6) Installing libzmq (4.3.4-r0) 04:35:07 (6/6) Installing zeromq (4.3.4-r0) 04:35:07 Executing busybox-1.33.1-r6.trigger 04:35:07 OK: 8 MiB in 20 packages 04:35:08 Removing intermediate container 0137d42681e4 04:35:08 ---> cfadfd8c5961 04:35:08 Step 16/25 : WORKDIR / 04:35:08 ---> Running in 0a00cf72beaf 04:35:08 Removing intermediate container 0a00cf72beaf 04:35:08 ---> 304da6defa5a 04:35:08 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:35:09 ---> a961265ecc18 04:35:09 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 04:35:09 ---> 4e4f48e19f94 04:35:09 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 04:35:10 ---> d4b1591d3e50 04:35:10 Step 20/25 : EXPOSE 59900 04:35:10 ---> Running in 113ee316dba2 04:35:11 Removing intermediate container 113ee316dba2 04:35:11 ---> 8c075d72445d 04:35:11 Step 21/25 : ENTRYPOINT ["/device-virtual"] 04:35:11 ---> Running in fad084d793e8 04:35:11 Removing intermediate container fad084d793e8 04:35:11 ---> 892c91a6b1c0 04:35:11 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:35:11 ---> Running in 6a468677c0d9 04:35:11 Removing intermediate container 6a468677c0d9 04:35:11 ---> ff0c9e38772b 04:35:11 Step 23/25 : LABEL arch=arm64 04:35:11 ---> Running in c6aaaaff2ea2 04:35:12 Removing intermediate container c6aaaaff2ea2 04:35:12 ---> 1e03c7b376e9 04:35:12 Step 24/25 : LABEL git_sha=3ae2a7ec829829b2476572f70ead45b274a92301 04:35:12 ---> Running in 675a71ff8866 04:35:12 Removing intermediate container 675a71ff8866 04:35:12 ---> 430486c26822 04:35:12 Step 25/25 : LABEL version=2.2.0-dev.1 04:35:12 ---> Running in 52d9944f7534 04:35:13 Removing intermediate container 52d9944f7534 04:35:13 ---> e4562b59c101 04:35:13 [Warning] One or more build-args [ARCH] were not consumed 04:35:13 Successfully built e4562b59c101 04:35:13 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 04:35:13 provisioning config files... 04:35:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/17@tmp/config7451660171351670095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:35:13 ---> docker-login.sh 04:35:13 nexus3.edgexfoundry.org:10001 04:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:13 Configure a credential helper to remove this warning. See 04:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:13 04:35:13 Login Succeeded 04:35:13 nexus3.edgexfoundry.org:10002 04:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:14 Configure a credential helper to remove this warning. See 04:35:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:14 04:35:14 Login Succeeded 04:35:14 nexus3.edgexfoundry.org:10003 04:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:15 Configure a credential helper to remove this warning. See 04:35:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:15 04:35:15 Login Succeeded 04:35:15 nexus3.edgexfoundry.org:10004 04:35:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:15 Configure a credential helper to remove this warning. See 04:35:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:15 04:35:15 Login Succeeded 04:35:15 docker.io 04:35:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:16 Configure a credential helper to remove this warning. See 04:35:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:16 04:35:16 Login Succeeded 04:35:16 ---> docker-login.sh ends [Pipeline] } 04:35:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:35:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:35:16 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 04:35:16 3ae2a7ec829829b2476572f70ead45b274a92301 04:35:16 latest 04:35:16 2.2.0-dev.1 04:35:16 3ae2a7ec829829b2476572f70ead45b274a92301-2.2.0-dev.1 04:35:16 main 04:35:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:35:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3ae2a7ec829829b2476572f70ead45b274a92301 [Pipeline] isUnix [Pipeline] sh 04:35:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3ae2a7ec829829b2476572f70ead45b274a92301 04:35:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:35:16 b4fce6c542fa: Preparing 04:35:16 e970249f5da4: Preparing 04:35:16 0813905bffdd: Preparing 04:35:16 ff83c6e5f635: Preparing 04:35:16 ae0100253dbf: Preparing 04:35:16 62170e181a92: Preparing 04:35:16 62170e181a92: Waiting 04:35:17 0813905bffdd: Pushed 04:35:17 e970249f5da4: Pushed 04:35:17 ae0100253dbf: Pushed 04:35:17 62170e181a92: Layer already exists 04:35:17 ff83c6e5f635: Pushed 04:35:21 b4fce6c542fa: Pushed 04:35:21 3ae2a7ec829829b2476572f70ead45b274a92301: digest: sha256:ce296644a80044265f4630ed4478d76665e26aae886f6172cba5faf14a35f985 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:35:21 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:35:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:35:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:35:21 b4fce6c542fa: Preparing 04:35:21 e970249f5da4: Preparing 04:35:21 0813905bffdd: Preparing 04:35:21 ff83c6e5f635: Preparing 04:35:21 ae0100253dbf: Preparing 04:35:21 62170e181a92: Preparing 04:35:21 62170e181a92: Waiting 04:35:21 b4fce6c542fa: Layer already exists 04:35:21 0813905bffdd: Layer already exists 04:35:21 ae0100253dbf: Layer already exists 04:35:21 ff83c6e5f635: Layer already exists 04:35:21 e970249f5da4: Layer already exists 04:35:21 62170e181a92: Layer already exists 04:35:22 latest: digest: sha256:ce296644a80044265f4630ed4478d76665e26aae886f6172cba5faf14a35f985 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:35:22 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 04:35:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.1 04:35:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:35:22 b4fce6c542fa: Preparing 04:35:22 e970249f5da4: Preparing 04:35:22 0813905bffdd: Preparing 04:35:22 ff83c6e5f635: Preparing 04:35:22 ae0100253dbf: Preparing 04:35:22 62170e181a92: Preparing 04:35:22 62170e181a92: Waiting 04:35:22 e970249f5da4: Layer already exists 04:35:22 ff83c6e5f635: Layer already exists 04:35:22 b4fce6c542fa: Layer already exists 04:35:22 0813905bffdd: Layer already exists 04:35:22 ae0100253dbf: Layer already exists 04:35:22 62170e181a92: Layer already exists 04:35:23 2.2.0-dev.1: digest: sha256:ce296644a80044265f4630ed4478d76665e26aae886f6172cba5faf14a35f985 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:35:23 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3ae2a7ec829829b2476572f70ead45b274a92301-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 04:35:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3ae2a7ec829829b2476572f70ead45b274a92301-2.2.0-dev.1 04:35:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:35:23 b4fce6c542fa: Preparing 04:35:23 e970249f5da4: Preparing 04:35:23 0813905bffdd: Preparing 04:35:23 ff83c6e5f635: Preparing 04:35:23 ae0100253dbf: Preparing 04:35:23 62170e181a92: Preparing 04:35:23 62170e181a92: Waiting 04:35:23 0813905bffdd: Layer already exists 04:35:23 e970249f5da4: Layer already exists 04:35:23 ae0100253dbf: Layer already exists 04:35:23 ff83c6e5f635: Layer already exists 04:35:23 b4fce6c542fa: Layer already exists 04:35:23 62170e181a92: Layer already exists 04:35:24 3ae2a7ec829829b2476572f70ead45b274a92301-2.2.0-dev.1: digest: sha256:ce296644a80044265f4630ed4478d76665e26aae886f6172cba5faf14a35f985 size: 1572 [Pipeline] isUnix [Pipeline] sh 04:35:24 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh 04:35:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 04:35:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:35:24 b4fce6c542fa: Preparing 04:35:24 e970249f5da4: Preparing 04:35:24 0813905bffdd: Preparing 04:35:24 ff83c6e5f635: Preparing 04:35:24 ae0100253dbf: Preparing 04:35:24 62170e181a92: Preparing 04:35:24 62170e181a92: Waiting 04:35:24 0813905bffdd: Layer already exists 04:35:24 ff83c6e5f635: Layer already exists 04:35:24 b4fce6c542fa: Layer already exists 04:35:24 ae0100253dbf: Layer already exists 04:35:24 e970249f5da4: Layer already exists 04:35:24 62170e181a92: Layer already exists 04:35:25 main: digest: sha256:ce296644a80044265f4630ed4478d76665e26aae886f6172cba5faf14a35f985 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:35:25 ===================================================== [Pipeline] echo 04:35:25 taggedImages: 04:35:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3ae2a7ec829829b2476572f70ead45b274a92301 04:35:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:35:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.1 04:35:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3ae2a7ec829829b2476572f70ead45b274a92301-2.2.0-dev.1 04:35:25 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:35:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:35:25 04:35:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:35:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:35:25 arm64: Pulling from edgex-lftools-log-publisher 04:35:25 448f6bf000e3: Pulling fs layer 04:35:25 f757da607395: Pulling fs layer 04:35:25 05883995daec: Pulling fs layer 04:35:25 8603b9c90790: Pulling fs layer 04:35:25 1560dd03e051: Pulling fs layer 04:35:25 27f5ce0e4adf: Pulling fs layer 04:35:25 c2d8d7efcc4b: Pulling fs layer 04:35:25 1560dd03e051: Waiting 04:35:25 27f5ce0e4adf: Waiting 04:35:25 c2d8d7efcc4b: Waiting 04:35:25 8603b9c90790: Waiting 04:35:26 f757da607395: Verifying Checksum 04:35:26 f757da607395: Download complete 04:35:26 8603b9c90790: Download complete 04:35:26 1560dd03e051: Verifying Checksum 04:35:26 1560dd03e051: Download complete 04:35:26 05883995daec: Verifying Checksum 04:35:26 05883995daec: Download complete 04:35:26 27f5ce0e4adf: Verifying Checksum 04:35:26 27f5ce0e4adf: Download complete 04:35:26 448f6bf000e3: Verifying Checksum 04:35:26 448f6bf000e3: Download complete 04:35:29 c2d8d7efcc4b: Verifying Checksum 04:35:29 c2d8d7efcc4b: Download complete 04:35:30 448f6bf000e3: Pull complete 04:35:30 f757da607395: Pull complete 04:35:31 05883995daec: Pull complete 04:35:31 8603b9c90790: Pull complete 04:35:32 1560dd03e051: Pull complete 04:35:32 27f5ce0e4adf: Pull complete 04:35:47 c2d8d7efcc4b: Pull complete 04:35:47 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:35:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:35:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:35:48 prd-ubuntu18.04-docker-arm64-4c-16g-37 does not seem to be running inside a container 04:35:48 $ 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/17 -v /w/workspace/device-virtual-go/17:/w/workspace/device-virtual-go/17:rw,z -v /w/workspace/device-virtual-go/17@tmp:/w/workspace/device-virtual-go/17@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 04:35:50 $ docker top cdfe387e89bd5312558f224e2b1c0afe452c5598d0c0c9817117e780237a9cde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:35:51 ---> job-cost.sh 04:35:51 lf-activate-venv: SKIPPING 04:35:51 INFO: No Stack... 04:35:51 INFO: Retrieving Pricing Info for: v3-standard-4 04:35:52 INFO: Archiving Costs [Pipeline] sh 04:35:52 + + cut -d, -f6 04:35:52 cat /w/workspace/device-virtual-go/17/archives/cost.csv [Pipeline] lock 04:35:52 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-17-stack-cost] 04:35:52 Resource [jenkins-edgexfoundry-device-virtual-go-main-17-stack-cost] did not exist. Created. 04:35:52 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:35:53 /w/workspace/device-virtual-go/17@tmp/durable-1559d7c0/script.sh: 1: /w/workspace/device-virtual-go/17@tmp/durable-1559d7c0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:35:53 + echo total: 0.10999999940395355 [Pipeline] stash 04:35:53 Warning: overwriting stash ‘stack-cost’ 04:35:53 Stashed 1 file(s) [Pipeline] } 04:35:53 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-17-stack-cost] [Pipeline] // lock [Pipeline] } 04:35:53 $ docker stop --time=1 cdfe387e89bd5312558f224e2b1c0afe452c5598d0c0c9817117e780237a9cde 04:35:55 $ docker rm -f cdfe387e89bd5312558f224e2b1c0afe452c5598d0c0c9817117e780237a9cde [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 04:35:55 provisioning config files... 04:35:55 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7541585831476650581tmp [Pipeline] { [Pipeline] sh 04:35:56 + set +x 04:35:56 + curl -s https://codecov.io/bash 04:35:56 + bash -s -- 04:35:56 04:35:56 _____ _ 04:35:56 / ____| | | 04:35:56 | | ___ __| | ___ ___ _____ __ 04:35:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:35:56 | |___| (_) | (_| | __/ (_| (_) \ V / 04:35:56 \_____\___/ \__,_|\___|\___\___/ \_/ 04:35:56 Bash-1.0.6 04:35:56 04:35:56 04:35:56 ==> git version 2.24.4 found 04:35:56 ==> 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 04:35:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:35:56 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:35:56 ==> Jenkins CI detected. 04:35:56 current dir:  /w/workspace/exfoundry_device-virtual-go_main 04:35:56 project root: . 04:35:56 --> token set from env 04:35:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:35:56 ==> Running gcov in . (disable via -X gcov) 04:35:56 ==> Python coveragepy not found 04:35:56 ==> Searching for coverage reports in: 04:35:56 + . 04:35:56 -> Found 1 reports 04:35:56 ==> Detecting git/mercurial file structure 04:35:56 ==> Reading reports 04:35:56 + ./coverage.out bytes=46339 04:35:56 ==> Appending adjustments 04:35:56 https://docs.codecov.io/docs/fixing-reports 04:35:56 + Found adjustments 04:35:56 ==> Gzipping contents 04:35:56 8.0K /tmp/codecov.eTSxk8.gz 04:35:56 ==> Uploading reports 04:35:56 url: https://codecov.io 04:35:56 query: branch=main&commit=3ae2a7ec829829b2476572f70ead45b274a92301&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:35:56 -> Pinging Codecov 04:35:56 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=3ae2a7ec829829b2476572f70ead45b274a92301&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:35:56 -> Uploading to 04:35:56 https://storage.googleapis.com/codecov/v4/raw/2021-12-01/5E52B4B073DB2E39498172D8E973AA87/3ae2a7ec829829b2476572f70ead45b274a92301/fda903c0-42b8-4700-bf61-976aff39b9e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211201T043556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=319be187fa3282e686b5c499743cee36dc852a7143cbd58813026c9771410320 04:35:56 % Total % Received % Xferd Average Speed Time Time Time Current 04:35:56 Dload Upload Total Spent Left Speed 04:35:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5515 0 0 100 5515 0 19783 --:--:-- --:--:-- --:--:-- 19838 04:35:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/3ae2a7ec829829b2476572f70ead45b274a92301 [Pipeline] } 04:35:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:35:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:35:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:35:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:35:57 04:35:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:35:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:35:57 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:35:57 188c0c94c7c5: Pulling fs layer 04:35:57 0ef7d3d256c8: Pulling fs layer 04:35:57 de9db76c5a1d: Pulling fs layer 04:35:57 0eba1c9be4d2: Pulling fs layer 04:35:57 0d57e429df01: Pulling fs layer 04:35:57 4e4be7b47b0d: Pulling fs layer 04:35:57 e1f770b5df2f: Pulling fs layer 04:35:57 85a0685a4137: Pulling fs layer 04:35:57 0eba1c9be4d2: Waiting 04:35:57 0d57e429df01: Waiting 04:35:57 4e4be7b47b0d: Waiting 04:35:57 e1f770b5df2f: Waiting 04:35:57 85a0685a4137: Waiting 04:35:57 de9db76c5a1d: Verifying Checksum 04:35:57 de9db76c5a1d: Download complete 04:35:57 0ef7d3d256c8: Verifying Checksum 04:35:57 0ef7d3d256c8: Download complete 04:35:57 0d57e429df01: Verifying Checksum 04:35:57 0d57e429df01: Download complete 04:35:57 4e4be7b47b0d: Verifying Checksum 04:35:57 4e4be7b47b0d: Download complete 04:35:57 188c0c94c7c5: Verifying Checksum 04:35:57 188c0c94c7c5: Download complete 04:35:58 e1f770b5df2f: Verifying Checksum 04:35:58 e1f770b5df2f: Download complete 04:35:58 188c0c94c7c5: Pull complete 04:35:58 0eba1c9be4d2: Verifying Checksum 04:35:58 0eba1c9be4d2: Download complete 04:35:58 0ef7d3d256c8: Pull complete 04:35:58 85a0685a4137: Verifying Checksum 04:35:58 85a0685a4137: Download complete 04:35:58 de9db76c5a1d: Pull complete 04:36:02 0eba1c9be4d2: Pull complete 04:36:02 0d57e429df01: Pull complete 04:36:02 4e4be7b47b0d: Pull complete 04:36:02 e1f770b5df2f: Pull complete 04:36:06 85a0685a4137: Pull complete 04:36:06 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:36:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:36:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:36:06 prd-centos7-docker-4c-2g-31 does not seem to be running inside a container 04:36:06 $ 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 04:36:08 $ docker top fa223f38b2b4789e2e226ce026eecc7023e31c11438f2832bc5dba84947bb37c -eo pid,comm [Pipeline] { [Pipeline] echo 04:36:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:36:09 + set -o pipefail 04:36:09 + snyk monitor '--org=edgex-jenkins' 04:36:15 04:36:15 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 04:36:15 04:36:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/dd736278-929c-4752-b9a9-aa1a41cdf381 04:36:15 04:36:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:36:15 04:36:15 [Pipeline] } 04:36:15 $ docker stop --time=1 fa223f38b2b4789e2e226ce026eecc7023e31c11438f2832bc5dba84947bb37c 04:36:17 $ docker rm -f fa223f38b2b4789e2e226ce026eecc7023e31c11438f2832bc5dba84947bb37c [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 04:36:18 + git log --format=format:%s -1 3ae2a7ec829829b2476572f70ead45b274a92301 [Pipeline] sh 04:36:18 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:36:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:36:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:36:18 . [Pipeline] withDockerContainer 04:36:19 prd-centos7-docker-4c-2g-31 does not seem to be running inside a container 04:36:19 $ 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 04:36:19 $ docker top 20bdb3b8ccb29f27bf2e66e4681872e72985369f88f02424fcd49a2819484536 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:36:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:19 [ssh-agent] Looking for ssh-agent implementation... 04:36:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:19 $ docker exec 20bdb3b8ccb29f27bf2e66e4681872e72985369f88f02424fcd49a2819484536 ssh-agent 04:36:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJmIfjG/agent.15 04:36:19 SSH_AGENT_PID=21 04:36:19 Running ssh-add (command line suppressed) 04:36:19 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4926579551032766414.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4926579551032766414.key) 04:36:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:20 + git semver tag 04:36:20 # -> Open(): unable to determine branch for HEAD 04:36:20 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 04:36:20 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 04:36:20 # $SEMVER_REMOTE_NAME = origin 04:36:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:36:20 # $SEMVER_USER_NAME = edgex-jenkins 04:36:20 # $SEMVER_BRANCH = main 04:36:20 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 04:36:20 # 3ae2a7ec829829b2476572f70ead45b274a92301 HEAD 04:36:20 # -> Force: false 04:36:20 # 34a6b924beaec8e05a770df96d93181dc3c7ff71 refs/tags/v2.2.0-dev.1 [Pipeline] } 04:36:20 $ docker exec --env ******** --env ******** 20bdb3b8ccb29f27bf2e66e4681872e72985369f88f02424fcd49a2819484536 ssh-agent -k 04:36:20 unset SSH_AUTH_SOCK; 04:36:20 unset SSH_AGENT_PID; 04:36:20 echo Agent pid 21 killed; 04:36:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:36:20 + git semver [Pipeline] } 04:36:20 $ docker stop --time=1 20bdb3b8ccb29f27bf2e66e4681872e72985369f88f02424fcd49a2819484536 04:36:21 $ docker rm -f 20bdb3b8ccb29f27bf2e66e4681872e72985369f88f02424fcd49a2819484536 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:36:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:36:22 04:36:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:36:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:36:22 0.23.1-centos7: Pulling from edgex-lftools 04:36:22 ab5ef0e58194: Pulling fs layer 04:36:22 9712f1f96733: Pulling fs layer 04:36:22 63f879dbbcfc: Pulling fs layer 04:36:22 0d9ebad4ef96: Pulling fs layer 04:36:22 e9a5061849ea: Pulling fs layer 04:36:22 d747dcd14b5f: Pulling fs layer 04:36:22 2de7ff778b66: Pulling fs layer 04:36:22 e9a5061849ea: Waiting 04:36:22 d747dcd14b5f: Waiting 04:36:22 2de7ff778b66: Waiting 04:36:22 0d9ebad4ef96: Waiting 04:36:22 9712f1f96733: Verifying Checksum 04:36:22 9712f1f96733: Download complete 04:36:22 63f879dbbcfc: Verifying Checksum 04:36:22 63f879dbbcfc: Download complete 04:36:23 ab5ef0e58194: Verifying Checksum 04:36:23 ab5ef0e58194: Download complete 04:36:23 e9a5061849ea: Verifying Checksum 04:36:23 e9a5061849ea: Download complete 04:36:23 d747dcd14b5f: Verifying Checksum 04:36:23 d747dcd14b5f: Download complete 04:36:23 0d9ebad4ef96: Verifying Checksum 04:36:23 0d9ebad4ef96: Download complete 04:36:23 2de7ff778b66: Verifying Checksum 04:36:23 2de7ff778b66: Download complete 04:36:25 ab5ef0e58194: Pull complete 04:36:25 9712f1f96733: Pull complete 04:36:27 63f879dbbcfc: Pull complete 04:36:31 0d9ebad4ef96: Pull complete 04:36:31 e9a5061849ea: Pull complete 04:36:31 d747dcd14b5f: Pull complete 04:36:32 2de7ff778b66: Pull complete 04:36:32 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:36:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:36:32 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:36:32 prd-centos7-docker-4c-2g-31 does not seem to be running inside a container 04:36:33 $ 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 04:36:36 $ docker top a5a5900813779aef037debbd0e6c4dc8ae92359261fd19868bd520e7b8467fca -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:36:36 provisioning config files... 04:36:36 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1169684821363351247tmp 04:36:36 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5885209555816958220tmp 04:36:36 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2005517052201917700tmp [Pipeline] { [Pipeline] echo 04:36:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:36:36 ---> sigul-configuration.sh 04:36:36 gpg: directory `/root/.gnupg' created 04:36:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:36:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:36:36 gpg: keyring `/root/.gnupg/secring.gpg' created 04:36:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:36:36 gpg: CAST5 encrypted data 04:36:36 gpg: encrypted with 1 passphrase 04:36:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:36:36 + mkdir /home/jenkins 04:36:36 + mkdir /home/jenkins/sigul [Pipeline] sh 04:36:37 + 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 04:36:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:36:37 ---> sigul-install.sh 04:36:37 Sigul already installed; skipping installation. [Pipeline] sh 04:36:37 + git tag --list 04:36:37 v1.0.0 04:36:37 v1.1.0 04:36:37 v1.1.1 04:36:37 v1.2.1 04:36:37 v1.2.2 04:36:37 v1.2.3 04:36:37 v1.3.0 04:36:37 v1.3.1 04:36:37 v2.0.0 04:36:37 v2.0.1-dev.1 04:36:37 v2.0.1-dev.10 04:36:37 v2.0.1-dev.11 04:36:37 v2.0.1-dev.12 04:36:37 v2.0.1-dev.13 04:36:37 v2.0.1-dev.14 04:36:37 v2.0.1-dev.15 04:36:37 v2.0.1-dev.2 04:36:37 v2.0.1-dev.3 04:36:37 v2.0.1-dev.4 04:36:37 v2.0.1-dev.5 04:36:37 v2.0.1-dev.6 04:36:37 v2.0.1-dev.7 04:36:37 v2.0.1-dev.8 04:36:37 v2.0.1-dev.9 04:36:37 v2.1.0 04:36:37 v2.2.0-dev.1 [Pipeline] sh 04:36:37 + lftools sign git-tag v2.2.0-dev.1 04:36:38 Signing Git tag with Sigul... 04:36:38 Signing v2.2.0-dev.1 [Pipeline] echo 04:36:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:36:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:36:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:36:39 $ docker stop --time=1 a5a5900813779aef037debbd0e6c4dc8ae92359261fd19868bd520e7b8467fca 04:36:41 $ docker rm -f a5a5900813779aef037debbd0e6c4dc8ae92359261fd19868bd520e7b8467fca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:36:41 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:36:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:36:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:36:41 . [Pipeline] withDockerContainer 04:36:42 prd-centos7-docker-4c-2g-31 does not seem to be running inside a container 04:36:42 $ 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 04:36:42 $ docker top a6009fc425349d993622f757b3f5c3e9e015610f4cf8cba9c85c538e3f97854e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:36:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:42 [ssh-agent] Looking for ssh-agent implementation... 04:36:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:42 $ docker exec a6009fc425349d993622f757b3f5c3e9e015610f4cf8cba9c85c538e3f97854e ssh-agent 04:36:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfiPaNf/agent.13 04:36:42 SSH_AGENT_PID=19 04:36:42 Running ssh-add (command line suppressed) 04:36:42 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7392700899375920856.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7392700899375920856.key) 04:36:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:43 + git semver bump pre 04:36:43 # -> Open(): unable to determine branch for HEAD 04:36:43 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 04:36:43 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 04:36:43 # $SEMVER_REMOTE_NAME = origin 04:36:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:36:43 # $SEMVER_USER_NAME = edgex-jenkins 04:36:43 # $SEMVER_BRANCH = main 04:36:43 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver 04:36:43 2.2.0-dev.2 [Pipeline] } 04:36:43 $ docker exec --env ******** --env ******** a6009fc425349d993622f757b3f5c3e9e015610f4cf8cba9c85c538e3f97854e ssh-agent -k 04:36:43 unset SSH_AUTH_SOCK; 04:36:43 unset SSH_AGENT_PID; 04:36:43 echo Agent pid 19 killed; 04:36:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:36:43 + git semver [Pipeline] } 04:36:43 $ docker stop --time=1 a6009fc425349d993622f757b3f5c3e9e015610f4cf8cba9c85c538e3f97854e 04:36:44 $ docker rm -f a6009fc425349d993622f757b3f5c3e9e015610f4cf8cba9c85c538e3f97854e [Pipeline] // withDockerContainer [Pipeline] sh 04:36:45 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:36:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:36:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:36:45 . [Pipeline] withDockerContainer 04:36:45 prd-centos7-docker-4c-2g-31 does not seem to be running inside a container 04:36:45 $ 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 04:36:46 $ docker top 7dfc4ee45fe7e482027cb1d999d5f42dc30c02486230e1c1b66a3630f33e89c7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:36:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:36:46 [ssh-agent] Looking for ssh-agent implementation... 04:36:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:36:46 $ docker exec 7dfc4ee45fe7e482027cb1d999d5f42dc30c02486230e1c1b66a3630f33e89c7 ssh-agent 04:36:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXedbEaE/agent.14 04:36:46 SSH_AGENT_PID=20 04:36:46 Running ssh-add (command line suppressed) 04:36:46 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2160376079201632953.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2160376079201632953.key) 04:36:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:36:46 + git semver push 04:36:46 # -> Open(): unable to determine branch for HEAD 04:36:46 # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git 04:36:46 # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main 04:36:46 # $SEMVER_REMOTE_NAME = origin 04:36:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:36:46 # $SEMVER_USER_NAME = edgex-jenkins 04:36:46 # $SEMVER_BRANCH = main 04:36:46 # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } 04:36:48 $ docker exec --env ******** --env ******** 7dfc4ee45fe7e482027cb1d999d5f42dc30c02486230e1c1b66a3630f33e89c7 ssh-agent -k 04:36:48 unset SSH_AUTH_SOCK; 04:36:48 unset SSH_AGENT_PID; 04:36:48 echo Agent pid 20 killed; 04:36:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:36:48 + git semver [Pipeline] } 04:36:48 $ docker stop --time=1 7dfc4ee45fe7e482027cb1d999d5f42dc30c02486230e1c1b66a3630f33e89c7 04:36:49 $ docker rm -f 7dfc4ee45fe7e482027cb1d999d5f42dc30c02486230e1c1b66a3630f33e89c7 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:36:50 + '[' -d /w/workspace/exfoundry_device-virtual-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:36:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:36:51 ---> package-listing.sh 04:36:51 ++ tr '[:upper:]' '[:lower:]' 04:36:51 ++ facter osfamily 04:36:51 + OS_FAMILY=redhat 04:36:51 + workspace=/w/workspace/exfoundry_device-virtual-go_main 04:36:51 + START_PACKAGES=/tmp/packages_start.txt 04:36:51 + END_PACKAGES=/tmp/packages_end.txt 04:36:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:36:51 + PACKAGES=/tmp/packages_start.txt 04:36:51 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:36:51 + PACKAGES=/tmp/packages_end.txt 04:36:51 + case "${OS_FAMILY}" in 04:36:51 + rpm -qa 04:36:51 + sort 04:36:52 + '[' -f /tmp/packages_start.txt ']' 04:36:52 + '[' -f /tmp/packages_end.txt ']' 04:36:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:36:52 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:36:52 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 04:36:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 04:36:52 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 04:36:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:36:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:36:53 04:36:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:36:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:36:53 latest: Pulling from edgex-lftools-log-publisher 04:36:53 b4d181a07f80: Pulling fs layer 04:36:53 a1111a8f2ec3: Pulling fs layer 04:36:53 ed53099fbce6: Pulling fs layer 04:36:53 dc539afda2c1: Pulling fs layer 04:36:53 77bc0d833cb6: Pulling fs layer 04:36:53 9065ff56babe: Pulling fs layer 04:36:53 d287ab97295c: Pulling fs layer 04:36:53 dc539afda2c1: Waiting 04:36:53 77bc0d833cb6: Waiting 04:36:53 9065ff56babe: Waiting 04:36:53 d287ab97295c: Waiting 04:36:53 a1111a8f2ec3: Verifying Checksum 04:36:53 a1111a8f2ec3: Download complete 04:36:53 dc539afda2c1: Verifying Checksum 04:36:53 dc539afda2c1: Download complete 04:36:53 ed53099fbce6: Verifying Checksum 04:36:53 ed53099fbce6: Download complete 04:36:53 9065ff56babe: Verifying Checksum 04:36:53 9065ff56babe: Download complete 04:36:53 77bc0d833cb6: Verifying Checksum 04:36:53 77bc0d833cb6: Download complete 04:36:53 b4d181a07f80: Verifying Checksum 04:36:53 b4d181a07f80: Download complete 04:36:54 d287ab97295c: Verifying Checksum 04:36:54 d287ab97295c: Download complete 04:36:55 b4d181a07f80: Pull complete 04:36:55 a1111a8f2ec3: Pull complete 04:36:56 ed53099fbce6: Pull complete 04:36:56 dc539afda2c1: Pull complete 04:36:56 77bc0d833cb6: Pull complete 04:36:56 9065ff56babe: Pull complete 04:37:01 d287ab97295c: Pull complete 04:37:01 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:37:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:37:01 prd-centos7-docker-4c-2g-31 does not seem to be running inside a container 04:37:02 $ 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 04:37:04 $ docker top 5280e8455ede98103c2325947089a0cd0d7f47e86e6c05741a836d49654a22b1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:37:04 + touch /tmp/pre-build-complete [Pipeline] sh 04:37:05 + mkdir -p /var/log/sysstat [Pipeline] sh 04:37:05 + ls /var/log/sa-host 04:37:05 + sadf -c /var/log/sa-host/sa01 04:37:05 file_magic: OK 04:37:05 HZ: Using current value: 100 04:37:05 file_header: OK 04:37:05 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 04:37:05 Statistics: 04:37:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:37:05 File successfully converted to sysstat format version 12.0.3 04:37:05 + sadf -c /var/log/sa-host/sa17 04:37:05 file_magic: OK 04:37:05 HZ: Using current value: 100 04:37:05 file_header: OK 04:37:05 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 04:37:05 Statistics: 04:37:05 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:37:05 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:37:05 provisioning config files... 04:37:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config236006292792363908tmp [Pipeline] { [Pipeline] echo 04:37:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:37:05 ---> create-netrc.sh [Pipeline] } 04:37:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:37:06 ---> python-tools-install.sh [Pipeline] echo 04:37:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:37:06 ---> sudo-logs.sh 04:37:06 Archiving 'sudo' log.. 04:37:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-31.novalocal: Name or service not known 04:37:06 sudo: unable to resolve host prd-centos7-docker-4c-2g-31.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:37:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:37:06 ---> job-cost.sh 04:37:06 lf-activate-venv: SKIPPING 04:37:06 DEBUG: total: 0.10999999940395355 04:37:06 INFO: Retrieving Stack Cost... 04:37:07 INFO: Retrieving Pricing Info for: v3-standard-2 04:37:07 INFO: Archiving Costs [Pipeline] echo 04:37:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:37:07 ---> logs-deploy.sh 04:37:07 lf-activate-venv: SKIPPING 04:37:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/17 04:37:07 INFO: archiving workspace using pattern(s): 04:37:08 Archives upload complete. 04:37:08 INFO: archiving logs to Nexus