Pull request #211 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from a4c3f51546c20a5705a7b45fef79ed875510e330+bdaefdf9c94f4a84606ef90cd62bf5e6f755bed5 (f2d62763aa74247de789ed95dc1d9b47c6cff569) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3381974902426806107.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8145411167586076660.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-211/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-211/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8130987690681656303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3244406699007436897.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-211/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-211/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6087929553889639131.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-15166’ is offline ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-15173 in /w/workspace/foundry_device-virtual-go_PR-211 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-211 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-211@tmp/jenkins-gitclient-ssh6121363872157804829.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit bdaefdf9c94f4a84606ef90cd62bf5e6f755bed5 into PR head commit a4c3f51546c20a5705a7b45fef79ed875510e330 Merge succeeded, producing a4c3f51546c20a5705a7b45fef79ed875510e330 Checking out Revision a4c3f51546c20a5705a7b45fef79ed875510e330 (PR-211) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-211@tmp/jenkins-gitclient-ssh3969831757838687560.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/211/head:refs/remotes/origin/PR-211 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a4c3f51546c20a5705a7b45fef79ed875510e330 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-211@tmp/jenkins-gitclient-ssh4242956730895039717.key > git merge bdaefdf9c94f4a84606ef90cd62bf5e6f755bed5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a4c3f51546c20a5705a7b45fef79ed875510e330 # timeout=10 Commit message: "refactor: Update to assign and uses new Port Assignments" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:54:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:54:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:54:32 ========================================================= 23:54:32 EdgeX Global Pipelines Version Info 23:54:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d10c2313432d38b172390f378fd329a6cdee8804 # timeout=10 23:54:34 ------------------- 23:54:34 stable info: 23:54:34 ------------------- 23:54:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:54:34 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 23:54:34 Message: update stable to v1.0.192 23:54:34 ------------------- 23:54:34 experimental info: 23:54:34 ------------------- 23:54:34 Commited By: **** collab-it+edgex@linuxfoundation.org 23:54:34 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 23:54:34 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-211 [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-211 [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-211 [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a4c3f51546c20a5705a7b45fef79ed875510e330 [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a4c3f51 [Pipeline] echo 23:54:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:35 provisioning config files... 23:54:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-211@tmp/config2170697050125572616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:36 ---> docker-login.sh 23:54:36 nexus3.edgexfoundry.org:10001 23:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:36 Configure a credential helper to remove this warning. See 23:54:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:36 23:54:36 Login Succeeded 23:54:36 nexus3.edgexfoundry.org:10002 23:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:36 Configure a credential helper to remove this warning. See 23:54:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:36 23:54:36 Login Succeeded 23:54:36 nexus3.edgexfoundry.org:10003 23:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:37 Configure a credential helper to remove this warning. See 23:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:37 23:54:37 Login Succeeded 23:54:37 nexus3.edgexfoundry.org:10004 23:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:37 Configure a credential helper to remove this warning. See 23:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:37 23:54:37 Login Succeeded 23:54:37 docker.io 23:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:37 Configure a credential helper to remove this warning. See 23:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:37 23:54:37 Login Succeeded 23:54:37 ---> docker-login.sh ends [Pipeline] } 23:54:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:54:37 + git log --format=format:%s -1 a4c3f51546c20a5705a7b45fef79ed875510e330 [Pipeline] echo 23:54:37 GIT_COMMIT: a4c3f51546c20a5705a7b45fef79ed875510e330, Commit Message: refactor: Update to assign and uses new Port Assignments [Pipeline] echo 23:54:37 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:54:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:54:38 23:54:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:54:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:54:38 latest: Pulling from edgex-devops/git-semver 23:54:38 31603596830f: Pulling fs layer 23:54:38 54011a49482f: Pulling fs layer 23:54:38 a6820b24f6d8: Pulling fs layer 23:54:38 f581987b2513: Pulling fs layer 23:54:38 f581987b2513: Waiting 23:54:38 54011a49482f: Verifying Checksum 23:54:38 54011a49482f: Download complete 23:54:39 31603596830f: Verifying Checksum 23:54:39 31603596830f: Download complete 23:54:39 f581987b2513: Verifying Checksum 23:54:39 f581987b2513: Download complete 23:54:39 a6820b24f6d8: Verifying Checksum 23:54:39 a6820b24f6d8: Download complete 23:54:39 31603596830f: Pull complete 23:54:39 54011a49482f: Pull complete 23:54:39 a6820b24f6d8: Pull complete 23:54:40 f581987b2513: Pull complete 23:54:40 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 23:54:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:54:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:54:40 prd-centos7-docker-4c-2g-15173 does not seem to be running inside a container 23:54:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-211 -v /w/workspace/foundry_device-virtual-go_PR-211:/w/workspace/foundry_device-virtual-go_PR-211:rw,z -v /w/workspace/foundry_device-virtual-go_PR-211@tmp:/w/workspace/foundry_device-virtual-go_PR-211@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:54:43 $ docker top 4244a063b6fa4563b492db39d22dd3fbc455a24d88378f452b54bb884900e181 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:54:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:54:43 [ssh-agent] Looking for ssh-agent implementation... 23:54:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:54:43 $ docker exec 4244a063b6fa4563b492db39d22dd3fbc455a24d88378f452b54bb884900e181 ssh-agent 23:54:43 SSH_AUTH_SOCK=/tmp/ssh-SelJNhAR0DJi/agent.14 23:54:43 SSH_AGENT_PID=20 23:54:43 Running ssh-add (command line suppressed) 23:54:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-211@tmp/private_key_7713869145146176938.key (/w/workspace/foundry_device-virtual-go_PR-211@tmp/private_key_7713869145146176938.key) 23:54:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:44 + git tag --points-at HEAD [Pipeline] } 23:54:44 $ docker exec --env ******** --env ******** 4244a063b6fa4563b492db39d22dd3fbc455a24d88378f452b54bb884900e181 ssh-agent -k 23:54:44 unset SSH_AUTH_SOCK; 23:54:44 unset SSH_AGENT_PID; 23:54:44 echo Agent pid 20 killed; 23:54:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:54:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:54:44 [ssh-agent] Looking for ssh-agent implementation... 23:54:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:54:44 $ docker exec 4244a063b6fa4563b492db39d22dd3fbc455a24d88378f452b54bb884900e181 ssh-agent 23:54:44 SSH_AUTH_SOCK=/tmp/ssh-Ep4SQSWwG63j/agent.53 23:54:44 SSH_AGENT_PID=60 23:54:44 Running ssh-add (command line suppressed) 23:54:44 Identity added: /w/workspace/foundry_device-virtual-go_PR-211@tmp/private_key_4719553455025204672.key (/w/workspace/foundry_device-virtual-go_PR-211@tmp/private_key_4719553455025204672.key) 23:54:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:54:45 + git semver init 23:54:45 # -> Open(): unable to determine branch for HEAD 23:54:45 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-211/.git 23:54:45 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-211 23:54:45 # $SEMVER_REMOTE_NAME = origin 23:54:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:54:45 # $SEMVER_USER_NAME = edgex-jenkins 23:54:45 # $SEMVER_BRANCH = PR-211 23:54:45 # $SEMVER_TEMP = /tmp/semver-657935657 23:54:45 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 23:54:46 # '/tmp/semver-657935657' -> '/w/workspace/foundry_device-virtual-go_PR-211/.semver' 23:54:46 # -> Force: false 23:54:46 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-211/.semver [Pipeline] } 23:54:46 $ docker exec --env ******** --env ******** 4244a063b6fa4563b492db39d22dd3fbc455a24d88378f452b54bb884900e181 ssh-agent -k 23:54:46 unset SSH_AUTH_SOCK; 23:54:46 unset SSH_AGENT_PID; 23:54:46 echo Agent pid 60 killed; 23:54:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:54:46 + git semver [Pipeline] } 23:54:46 $ docker stop --time=1 4244a063b6fa4563b492db39d22dd3fbc455a24d88378f452b54bb884900e181 23:54:48 $ docker rm -f 4244a063b6fa4563b492db39d22dd3fbc455a24d88378f452b54bb884900e181 [Pipeline] // withDockerContainer [Pipeline] sh 23:54:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:54:49 Stashed 1 file(s) [Pipeline] echo 23:54:49 [edgeXSemver]: initialized semver on version 0.0.0 [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 23:55:04 Still waiting to schedule task 23:55:04 ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ 23:55:04 ‘prd-centos7-docker-4c-2g-15174’ is offline 23:55:04 ‘prd-centos7-docker-4c-2g-15176’ is offline 23:55:04 ‘prd-centos7-docker-4c-2g-309’ is offline 23:55:04 ‘prd-ubuntu18.04-docker-arm64-4c-16g-15161’ doesn’t have label ‘centos7-docker-4c-2g’ 23:55:04 Still waiting to schedule task 23:55:04 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:55:34 Running on prd-centos7-docker-4c-2g-15176 in /w/workspace/foundry_device-virtual-go_PR-211 [Pipeline] { [Pipeline] ws 23:55:34 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 23:55:34 Selected Git installation does not exist. Using Default 23:55:34 The recommended git tool is: NONE 23:55:37 using credential edgex-jenkins-ssh 23:55:37 Cloning the remote Git repository 23:55:37 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:55:37 > git init /w/workspace/device-virtual-go/3 # timeout=10 23:55:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:55:37 > git --version # timeout=10 23:55:37 > git --version # 'git version 2.24.4' 23:55:37 using GIT_SSH to set credentials SSH Credentials for GitHub 23:55:37 [INFO] Currently running in a labeled security context 23:55:37 [INFO] Currently SELinux is 'enforcing' on the host 23:55:37 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh3443413916587080086.key 23:55:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:55:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:55:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:55:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:55:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:55:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:55:39 [INFO] Currently running in a labeled security context 23:55:39 [INFO] Currently SELinux is 'enforcing' on the host 23:55:39 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh86072896628232163.key 23:55:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/211/head:refs/remotes/origin/PR-211 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:55:39 Merging remotes/origin/master commit bdaefdf9c94f4a84606ef90cd62bf5e6f755bed5 into PR head commit a4c3f51546c20a5705a7b45fef79ed875510e330 23:55:39 Merge succeeded, producing a4c3f51546c20a5705a7b45fef79ed875510e330 23:55:39 Checking out Revision a4c3f51546c20a5705a7b45fef79ed875510e330 (PR-211) 23:55:39 > git config core.sparsecheckout # timeout=10 23:55:39 > git checkout -f a4c3f51546c20a5705a7b45fef79ed875510e330 # timeout=10 23:55:39 > git remote # timeout=10 23:55:39 > git config --get remote.origin.url # timeout=10 23:55:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:55:39 [INFO] Currently running in a labeled security context 23:55:39 [INFO] Currently SELinux is 'enforcing' on the host 23:55:39 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh1705990871156478966.key 23:55:39 > git merge bdaefdf9c94f4a84606ef90cd62bf5e6f755bed5 # timeout=10 23:55:39 > git rev-parse HEAD^{commit} # timeout=10 23:55:39 > git config core.sparsecheckout # timeout=10 23:55:39 > git checkout -f a4c3f51546c20a5705a7b45fef79ed875510e330 # timeout=10 23:55:43 Commit message: "refactor: Update to assign and uses new Port Assignments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:55:44 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:55:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:55:45 + sudo service docker restart 23:55:45 + true 23:55:45 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:56:04 provisioning config files... 23:56:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config3187664032665492951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:05 ---> docker-login.sh 23:56:05 nexus3.edgexfoundry.org:10001 23:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:05 Configure a credential helper to remove this warning. See 23:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:05 23:56:05 Login Succeeded 23:56:05 nexus3.edgexfoundry.org:10002 23:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:05 Configure a credential helper to remove this warning. See 23:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:05 23:56:05 Login Succeeded 23:56:05 nexus3.edgexfoundry.org:10003 23:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:05 Configure a credential helper to remove this warning. See 23:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:05 23:56:05 Login Succeeded 23:56:05 nexus3.edgexfoundry.org:10004 23:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:05 Configure a credential helper to remove this warning. See 23:56:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:05 23:56:05 Login Succeeded 23:56:05 docker.io 23:56:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:06 Configure a credential helper to remove this warning. See 23:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:06 23:56:06 Login Succeeded 23:56:06 ---> docker-login.sh ends [Pipeline] } 23:56:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:56:06 ========================================================= 23:56:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:56:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:56:06 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 23:56:06 Sending build context to Docker daemon 8.591MB 23:56:06 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 23:56:06 Step 2/8 : FROM ${BASE} 23:56:06 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:56:06 540db60ca938: Pulling fs layer 23:56:06 adcc1eea9eea: Pulling fs layer 23:56:06 4c4ab2625f07: Pulling fs layer 23:56:06 0510c868ecb4: Pulling fs layer 23:56:06 afea3b2eda06: Pulling fs layer 23:56:06 7809a108b3ef: Pulling fs layer 23:56:06 f706445af74f: Pulling fs layer 23:56:06 0510c868ecb4: Waiting 23:56:06 afea3b2eda06: Waiting 23:56:06 7809a108b3ef: Waiting 23:56:06 f706445af74f: Waiting 23:56:07 4c4ab2625f07: Verifying Checksum 23:56:07 4c4ab2625f07: Download complete 23:56:07 adcc1eea9eea: Verifying Checksum 23:56:07 adcc1eea9eea: Download complete 23:56:07 afea3b2eda06: Download complete 23:56:07 7809a108b3ef: Verifying Checksum 23:56:07 7809a108b3ef: Download complete 23:56:07 540db60ca938: Verifying Checksum 23:56:07 540db60ca938: Download complete 23:56:07 540db60ca938: Pull complete 23:56:07 adcc1eea9eea: Pull complete 23:56:07 4c4ab2625f07: Pull complete 23:56:08 f706445af74f: Verifying Checksum 23:56:08 f706445af74f: Download complete 23:56:09 0510c868ecb4: Verifying Checksum 23:56:09 0510c868ecb4: Download complete 23:56:12 0510c868ecb4: Pull complete 23:56:12 afea3b2eda06: Pull complete 23:56:12 7809a108b3ef: Pull complete 23:56:13 f706445af74f: Pull complete 23:56:13 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 23:56:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:56:13 ---> b068be0155e3 23:56:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 23:56:20 ---> Running in f2b6f548e35f 23:56:20 Removing intermediate container f2b6f548e35f 23:56:20 ---> fffa2f0bcc7c 23:56:20 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:56:20 ---> Running in 9a9cb7454b57 23:56:21 Removing intermediate container 9a9cb7454b57 23:56:21 ---> 784fa0dd3a9e 23:56:21 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 23:56:21 ---> Running in 6d5d6fb1ffb1 23:56:21 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:56:21 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:56:22 (1/13) Installing libc-dev (0.7.2-r3) 23:56:22 (2/13) Installing libsodium (1.0.18-r0) 23:56:22 (3/13) Installing pkgconf (1.7.3-r0) 23:56:22 (4/13) Installing libsodium-dev (1.0.18-r0) 23:56:22 (5/13) Installing openssh-keygen (8.4_p1-r3) 23:56:22 (6/13) Installing libedit (20191231.3.1-r1) 23:56:22 (7/13) Installing openssh-client (8.4_p1-r3) 23:56:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15175 in /w/workspace/foundry_device-virtual-go_PR-211 [Pipeline] { [Pipeline] ws 23:56:23 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 23:56:23 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 23:56:23 (9/13) Installing openssh-server-common (8.4_p1-r3) 23:56:23 Selected Git installation does not exist. Using Default 23:56:23 The recommended git tool is: NONE 23:56:23 (10/13) Installing openssh-server (8.4_p1-r3) 23:56:23 (11/13) Installing openssh (8.4_p1-r3) 23:56:23 (12/13) Installing libzmq (4.3.3-r1) 23:56:23 (13/13) Installing zeromq-dev (4.3.3-r1) 23:56:23 Executing busybox-1.32.1-r6.trigger 23:56:23 OK: 156 MiB in 53 packages 23:56:23 Removing intermediate container 6d5d6fb1ffb1 23:56:23 ---> c8d3fe8cd087 23:56:23 Step 6/8 : WORKDIR /device-virtual-go 23:56:24 ---> Running in 1ca41f4f9923 23:56:24 Removing intermediate container 1ca41f4f9923 23:56:24 ---> 50a4b5664904 23:56:24 Step 7/8 : COPY . . 23:56:25 ---> a9c1903ab108 23:56:25 Step 8/8 : RUN go mod download 23:56:25 ---> Running in afcfef5c9f03 23:56:29 using credential edgex-jenkins-ssh 23:56:29 Cloning the remote Git repository 23:56:29 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:56:29 > git init /w/workspace/device-virtual-go/3 # timeout=10 23:56:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:56:29 > git --version # timeout=10 23:56:29 > git --version # 'git version 2.17.1' 23:56:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:56:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:32 Merging remotes/origin/master commit bdaefdf9c94f4a84606ef90cd62bf5e6f755bed5 into PR head commit a4c3f51546c20a5705a7b45fef79ed875510e330 23:56:32 Merge succeeded, producing a4c3f51546c20a5705a7b45fef79ed875510e330 23:56:32 Checking out Revision a4c3f51546c20a5705a7b45fef79ed875510e330 (PR-211) 23:56:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:56:31 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:56:31 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/211/head:refs/remotes/origin/PR-211 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:56:32 > git config core.sparsecheckout # timeout=10 23:56:32 > git checkout -f a4c3f51546c20a5705a7b45fef79ed875510e330 # timeout=10 23:56:32 > git remote # timeout=10 23:56:32 > git config --get remote.origin.url # timeout=10 23:56:32 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:32 > git merge bdaefdf9c94f4a84606ef90cd62bf5e6f755bed5 # timeout=10 23:56:32 > git rev-parse HEAD^{commit} # timeout=10 23:56:32 > git config core.sparsecheckout # timeout=10 23:56:32 > git checkout -f a4c3f51546c20a5705a7b45fef79ed875510e330 # timeout=10 23:56:37 Commit message: "refactor: Update to assign and uses new Port Assignments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:56:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:56:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:56:39 + sudo+ service dockertrue 23:56:39 restart 23:56:40 Removing intermediate container afcfef5c9f03 23:56:40 ---> ebe7a966bf5c 23:56:40 Successfully built ebe7a966bf5c 23:56:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:56:40 + docker inspect -f . ci-base-image-x86_64 23:56:40 . [Pipeline] withDockerContainer 23:56:40 prd-centos7-docker-4c-2g-15176 does not seem to be running inside a container 23:56:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:56:40 $ docker top 4db63edf63dbc59cf32c895a1ce8e71a0f3840e7ebf718c3f72309f897d21324 -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:41 + go version 23:56:41 go version go1.16.3 linux/amd64 [Pipeline] } 23:56:41 $ docker stop --time=1 4db63edf63dbc59cf32c895a1ce8e71a0f3840e7ebf718c3f72309f897d21324 23:56:42 $ docker rm -f 4db63edf63dbc59cf32c895a1ce8e71a0f3840e7ebf718c3f72309f897d21324 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:56:43 + docker inspect -f . ci-base-image-x86_64 23:56:43 . [Pipeline] withDockerContainer 23:56:43 prd-centos7-docker-4c-2g-15176 does not seem to be running inside a container 23:56:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:56:43 $ docker top 580344094a72c9f7101b4260e39c21fb2b8b065ffa0e1efc01128e37ec2fc942 -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:43 + go mod tidy [Pipeline] sh 23:56:44 + make test 23:56:44 go mod tidy 23:56:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:56:45 ? github.com/edgexfoundry/device-virtual-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:56:57 provisioning config files... 23:56:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config5855418807769039664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:58 ---> docker-login.sh 23:56:58 nexus3.edgexfoundry.org:10001 23:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:59 Configure a credential helper to remove this warning. See 23:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:59 23:56:59 Login Succeeded 23:56:59 nexus3.edgexfoundry.org:10002 23:57:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:00 Configure a credential helper to remove this warning. See 23:57:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:00 23:57:00 Login Succeeded 23:57:00 nexus3.edgexfoundry.org:10003 23:57:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:00 Configure a credential helper to remove this warning. See 23:57:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:00 23:57:00 Login Succeeded 23:57:00 nexus3.edgexfoundry.org:10004 23:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:01 Configure a credential helper to remove this warning. See 23:57:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:01 23:57:01 Login Succeeded 23:57:01 docker.io 23:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:57:02 Configure a credential helper to remove this warning. See 23:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:57:02 23:57:02 Login Succeeded 23:57:02 ---> docker-login.sh ends [Pipeline] } 23:57:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:57:02 ========================================================= 23:57:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:57:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:57:02 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 23:57:03 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:57:03 Sending build context to Docker daemon 8.59MB 23:57:03 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 23:57:03 Step 2/8 : FROM ${BASE} 23:57:03 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:57:03 595b0fe564bb: Pulling fs layer 23:57:03 7186ed65a4f7: Pulling fs layer 23:57:03 316046926c0a: Pulling fs layer 23:57:03 4ebd0625c992: Pulling fs layer 23:57:03 207e8628e3a3: Pulling fs layer 23:57:03 c791037a9be2: Pulling fs layer 23:57:03 ffd874e62e21: Pulling fs layer 23:57:03 207e8628e3a3: Waiting 23:57:03 c791037a9be2: Waiting 23:57:03 ffd874e62e21: Waiting 23:57:03 4ebd0625c992: Waiting 23:57:03 316046926c0a: Verifying Checksum 23:57:03 316046926c0a: Download complete 23:57:03 7186ed65a4f7: Verifying Checksum 23:57:03 7186ed65a4f7: Download complete 23:57:03 207e8628e3a3: Verifying Checksum 23:57:03 207e8628e3a3: Download complete 23:57:03 c791037a9be2: Download complete 23:57:03 595b0fe564bb: Verifying Checksum 23:57:03 595b0fe564bb: Download complete 23:57:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.255s coverage: 63.8% of statements 23:57:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:57:04 595b0fe564bb: Pull complete 23:57:05 7186ed65a4f7: Pull complete 23:57:05 316046926c0a: Pull complete 23:57:05 ffd874e62e21: Verifying Checksum 23:57:05 ffd874e62e21: Download complete 23:57:07 4ebd0625c992: Verifying Checksum 23:57:07 4ebd0625c992: Download complete 23:57:12 gofmt -l . 23:57:12 [ "`gofmt -l .`" = "" ] 23:57:12 ./bin/test-attribution-txt.sh 23:57:12 ./bin/test-go-mod-tidy.sh [Pipeline] } 23:57:12 $ docker stop --time=1 580344094a72c9f7101b4260e39c21fb2b8b065ffa0e1efc01128e37ec2fc942 23:57:13 $ docker rm -f 580344094a72c9f7101b4260e39c21fb2b8b065ffa0e1efc01128e37ec2fc942 [Pipeline] // withDockerContainer [Pipeline] sh 23:57:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:57:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:57:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:57:15 + ls -al . 23:57:15 total 132 23:57:15 drwxrwxr-x. 7 jenkins jenkins 4096 May 19 23:57 . 23:57:15 drwxrwxr-x. 4 jenkins jenkins 28 May 19 23:55 .. 23:57:15 -rw-rw-r--. 1 jenkins jenkins 8153 May 19 23:55 Attribution.txt 23:57:15 drwxrwxr-x. 2 jenkins jenkins 64 May 19 23:55 bin 23:57:15 drwxrwxr-x. 3 jenkins jenkins 32 May 19 23:55 cmd 23:57:15 -rw-r--r--. 1 jenkins jenkins 47247 May 19 23:57 coverage.out 23:57:15 -rw-rw-r--. 1 jenkins jenkins 1921 May 19 23:55 Dockerfile 23:57:15 -rw-rw-r--. 1 jenkins jenkins 998 May 19 23:55 Dockerfile.build 23:57:15 drwxrwxr-x. 8 jenkins jenkins 179 May 19 23:55 .git 23:57:15 drwxrwxr-x. 2 jenkins jenkins 103 May 19 23:55 .github 23:57:15 -rw-rw-r--. 1 jenkins jenkins 277 May 19 23:55 .gitignore 23:57:15 -rw-r--r--. 1 jenkins jenkins 809 May 19 23:57 go.mod 23:57:15 -rw-r--r--. 1 jenkins jenkins 23431 May 19 23:56 go.sum 23:57:15 drwxrwxr-x. 3 jenkins jenkins 20 May 19 23:55 internal 23:57:15 -rw-rw-r--. 1 jenkins jenkins 660 May 19 23:55 Jenkinsfile 23:57:15 -rw-rw-r--. 1 jenkins jenkins 11340 May 19 23:55 LICENSE 23:57:15 -rw-rw-r--. 1 jenkins jenkins 905 May 19 23:55 Makefile 23:57:15 -rw-rw-r--. 1 jenkins jenkins 2745 May 19 23:55 README.md 23:57:15 -rw-rw-r--. 1 jenkins jenkins 5 May 19 23:54 VERSION 23:57:15 -rw-rw-r--. 1 jenkins jenkins 235 May 19 23:55 version.go [Pipeline] isUnix [Pipeline] sh 23:57:16 + 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=a4c3f51546c20a5705a7b45fef79ed875510e330 --label arch=amd64 --label version=0.0.0 . 23:57:16 Sending build context to Docker daemon 8.663MB 23:57:16 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 23:57:16 Step 2/26 : FROM ${BASE} AS builder 23:57:16 ---> ebe7a966bf5c 23:57:16 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:57:16 ---> Running in 88c488bb6e53 23:57:16 Removing intermediate container 88c488bb6e53 23:57:16 ---> 06582aff5efc 23:57:16 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:57:16 ---> Running in 8dfa7c9984cc 23:57:16 Removing intermediate container 8dfa7c9984cc 23:57:16 ---> 6617abd6dcfa 23:57:16 Step 5/26 : WORKDIR /device-virtual-go 23:57:16 ---> Running in 3d4887aa76e1 23:57:16 Removing intermediate container 3d4887aa76e1 23:57:16 ---> 3e2403bafb9b 23:57:16 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:57:16 ---> Running in 23ff1096d7d2 23:57:17 Removing intermediate container 23ff1096d7d2 23:57:17 ---> ea48b438a112 23:57:17 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:17 ---> Running in 52fd1525ba6b 23:57:17 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 23:57:17 4ebd0625c992: Pull complete 23:57:17 207e8628e3a3: Pull complete 23:57:17 c791037a9be2: Pull complete 23:57:18 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 23:57:18 OK: 156 MiB in 53 packages 23:57:18 Removing intermediate container 52fd1525ba6b 23:57:18 ---> 4d947e3036bd 23:57:18 Step 8/26 : COPY . . 23:57:19 ---> 50202a05ed94 23:57:19 Step 9/26 : RUN go mod tidy 23:57:19 ---> Running in 18ce6e66c1da 23:57:19 Removing intermediate container 18ce6e66c1da 23:57:19 ---> a861b19c35cb 23:57:19 Step 10/26 : RUN go mod download 23:57:19 ---> Running in 8ad1802db56c 23:57:20 Removing intermediate container 8ad1802db56c 23:57:20 ---> 53f49b365d9f 23:57:20 Step 11/26 : ARG MAKE='make build' 23:57:20 ---> Running in 1c844c78aa9f 23:57:20 Removing intermediate container 1c844c78aa9f 23:57:20 ---> db64ead29a07 23:57:20 Step 12/26 : RUN $MAKE 23:57:20 ---> Running in a4a30006b8f9 23:57:20 go mod tidy 23:57:20 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 23:57:22 ffd874e62e21: Pull complete 23:57:22 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 23:57:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:57:22 ---> cfc18b08335c 23:57:22 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 23:57:24 ---> Running in b631329f865a 23:57:24 Removing intermediate container b631329f865a 23:57:24 ---> ae7ef84bd53c 23:57:24 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:57:24 ---> Running in 072aa08fb85c 23:57:27 Removing intermediate container 072aa08fb85c 23:57:27 ---> 3a2516682d7f 23:57:27 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev 23:57:27 ---> Running in 4a8c632be8ce 23:57:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 23:57:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 23:57:31 (1/13) Installing libc-dev (0.7.2-r3) 23:57:31 (2/13) Installing libsodium (1.0.18-r0) 23:57:31 (3/13) Installing pkgconf (1.7.3-r0) 23:57:31 (4/13) Installing libsodium-dev (1.0.18-r0) 23:57:31 (5/13) Installing openssh-keygen (8.4_p1-r3) 23:57:32 (6/13) Installing libedit (20191231.3.1-r1) 23:57:32 (7/13) Installing openssh-client (8.4_p1-r3) 23:57:32 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 23:57:33 (9/13) Installing openssh-server-common (8.4_p1-r3) 23:57:33 (10/13) Installing openssh-server (8.4_p1-r3) 23:57:33 (11/13) Installing openssh (8.4_p1-r3) 23:57:33 (12/13) Installing libzmq (4.3.3-r1) 23:57:34 (13/13) Installing zeromq-dev (4.3.3-r1) 23:57:34 Executing busybox-1.32.1-r6.trigger 23:57:34 OK: 145 MiB in 53 packages 23:57:35 Removing intermediate container 4a8c632be8ce 23:57:35 ---> c7a8c8faf197 23:57:35 Step 6/8 : WORKDIR /device-virtual-go 23:57:35 ---> Running in 22d3bcf4c084 23:57:36 Removing intermediate container 22d3bcf4c084 23:57:36 ---> 8b7cb58b236c 23:57:36 Step 7/8 : COPY . . 23:57:37 ---> 81bcfa9083bb 23:57:37 Step 8/8 : RUN go mod download 23:57:37 ---> Running in dc14ea07bf5e 23:57:39 Removing intermediate container a4a30006b8f9 23:57:39 ---> 374ffdfa8e3f 23:57:39 Step 13/26 : FROM alpine:3.12 23:57:39 3.12: Pulling from library/alpine 23:57:39 339de151aab4: Pulling fs layer 23:57:39 339de151aab4: Verifying Checksum 23:57:39 339de151aab4: Download complete 23:57:39 339de151aab4: Pull complete 23:57:39 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 23:57:39 Status: Downloaded newer image for alpine:3.12 23:57:39 ---> 13621d1b12d4 23:57:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:57:39 ---> Running in cc4ad3555a5a 23:57:39 Removing intermediate container cc4ad3555a5a 23:57:39 ---> 98d64b9e8833 23:57:39 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:57:39 ---> Running in 7c3bed36889e 23:57:39 Removing intermediate container 7c3bed36889e 23:57:39 ---> bfe0d7d9ac5b 23:57:39 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 23:57:39 ---> Running in 2a0b497fa7b4 23:57:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:57:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:57:39 (1/6) Installing dumb-init (1.2.2-r1) 23:57:39 (2/6) Installing libgcc (9.3.0-r2) 23:57:39 (3/6) Installing libsodium (1.0.18-r0) 23:57:39 (4/6) Installing libstdc++ (9.3.0-r2) 23:57:40 (5/6) Installing libzmq (4.3.3-r0) 23:57:40 (6/6) Installing zeromq (4.3.3-r0) 23:57:40 Executing busybox-1.31.1-r20.trigger 23:57:40 OK: 8 MiB in 20 packages 23:57:40 Removing intermediate container 2a0b497fa7b4 23:57:40 ---> a49675afcdee 23:57:40 Step 17/26 : WORKDIR / 23:57:40 ---> Running in 604d13eb0401 23:57:41 Removing intermediate container 604d13eb0401 23:57:41 ---> c1579c43f138 23:57:41 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:57:41 ---> d250ccf7605f 23:57:41 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 23:57:41 ---> e8bd60c912a3 23:57:41 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 23:57:41 ---> 9dd782067b76 23:57:41 Step 21/26 : EXPOSE 59900 23:57:41 ---> Running in e7135529d884 23:57:41 Removing intermediate container e7135529d884 23:57:41 ---> c2bc82b9d9c6 23:57:41 Step 22/26 : ENTRYPOINT ["/device-virtual"] 23:57:41 ---> Running in 3e28bf5bb047 23:57:41 Removing intermediate container 3e28bf5bb047 23:57:41 ---> 303863e3d918 23:57:41 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:57:41 ---> Running in b9032e8169db 23:57:42 Removing intermediate container b9032e8169db 23:57:42 ---> 4f6a38e33413 23:57:42 Step 24/26 : LABEL arch=amd64 23:57:42 ---> Running in 97f7e0b80d20 23:57:42 Removing intermediate container 97f7e0b80d20 23:57:42 ---> 8829d7b496c9 23:57:42 Step 25/26 : LABEL git_sha=a4c3f51546c20a5705a7b45fef79ed875510e330 23:57:42 ---> Running in a859fbc57436 23:57:42 Removing intermediate container a859fbc57436 23:57:42 ---> db7120b3e220 23:57:42 Step 26/26 : LABEL version=0.0.0 23:57:42 ---> Running in f160d12f5108 23:57:42 Removing intermediate container f160d12f5108 23:57:42 ---> 33f660e32277 23:57:42 [Warning] One or more build-args [ARCH] were not consumed 23:57:42 Successfully built 33f660e32277 23:57:42 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 23:57:43 ---> job-cost.sh 23:57:43 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rL7K 23:57:53 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 23:58:05 lf-activate-venv(): INFO: Adding /tmp/venv-rL7K/bin to PATH 23:58:05 INFO: No Stack... 23:58:05 INFO: Retrieving Pricing Info for: v3-standard-2 23:58:06 INFO: Archiving Costs [Pipeline] sh 23:58:06 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 23:58:06 + cut -d, -f6 [Pipeline] lock 23:58:06 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-211-3-stack-cost] 23:58:06 Resource [jenkins-edgexfoundry-device-virtual-go-PR-211-3-stack-cost] did not exist. Created. 23:58:06 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-211-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:58:06 + echo total: 0.05999999865889549 [Pipeline] stash 23:58:07 Stashed 1 file(s) [Pipeline] } 23:58:07 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-211-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:58:10 Removing intermediate container dc14ea07bf5e 23:58:10 ---> 1136de8b8bae 23:58:10 Successfully built 1136de8b8bae 23:58:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:58:10 + docker inspect -f . ci-base-image-arm64 23:58:10 . [Pipeline] withDockerContainer 23:58:10 prd-ubuntu18.04-docker-arm64-4c-16g-15175 does not seem to be running inside a container 23:58:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:58:12 $ docker top bc42648fc09c83a69c5e746dda2462f828ab9af02078b39aab46bc7ee201cea0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:13 + go version 23:58:13 go version go1.16.3 linux/arm64 [Pipeline] } 23:58:13 $ docker stop --time=1 bc42648fc09c83a69c5e746dda2462f828ab9af02078b39aab46bc7ee201cea0 23:58:15 $ docker rm -f bc42648fc09c83a69c5e746dda2462f828ab9af02078b39aab46bc7ee201cea0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:58:16 + docker inspect -f . ci-base-image-arm64 23:58:16 . [Pipeline] withDockerContainer 23:58:16 prd-ubuntu18.04-docker-arm64-4c-16g-15175 does not seem to be running inside a container 23:58:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:58:18 $ docker top 4346773eddc54288a21f3285de8c7e958f39b031821c173f5d338f40fde9dd24 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:19 + go mod tidy [Pipeline] sh 23:58:20 + make test 23:58:20 go mod tidy 23:58:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:58:23 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:59:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:59:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.926s coverage: 63.8% of statements 23:59:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:00:04 gofmt -l . 00:00:04 [ "`gofmt -l .`" = "" ] 00:00:04 ./bin/test-attribution-txt.sh 00:00:07 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:00:07 $ docker stop --time=1 4346773eddc54288a21f3285de8c7e958f39b031821c173f5d338f40fde9dd24 00:00:09 $ docker rm -f 4346773eddc54288a21f3285de8c7e958f39b031821c173f5d338f40fde9dd24 [Pipeline] // withDockerContainer [Pipeline] sh 00:00:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:00:10 Warning: overwriting stash ‘coverage-report’ 00:00:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:00:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:00:12 + ls -al . 00:00:12 total 156 00:00:12 drwxrwxr-x 7 jenkins jenkins 4096 May 20 00:00 . 00:00:12 drwxrwxr-x 4 jenkins jenkins 4096 May 19 23:56 .. 00:00:12 drwxrwxr-x 8 jenkins jenkins 4096 May 19 23:56 .git 00:00:12 drwxrwxr-x 2 jenkins jenkins 4096 May 19 23:56 .github 00:00:12 -rw-rw-r-- 1 jenkins jenkins 277 May 19 23:56 .gitignore 00:00:12 -rw-rw-r-- 1 jenkins jenkins 8153 May 19 23:56 Attribution.txt 00:00:12 -rw-rw-r-- 1 jenkins jenkins 1921 May 19 23:56 Dockerfile 00:00:12 -rw-rw-r-- 1 jenkins jenkins 998 May 19 23:56 Dockerfile.build 00:00:12 -rw-rw-r-- 1 jenkins jenkins 660 May 19 23:56 Jenkinsfile 00:00:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 19 23:56 LICENSE 00:00:12 -rw-rw-r-- 1 jenkins jenkins 905 May 19 23:56 Makefile 00:00:12 -rw-rw-r-- 1 jenkins jenkins 2745 May 19 23:56 README.md 00:00:12 -rw-rw-r-- 1 jenkins jenkins 5 May 19 23:54 VERSION 00:00:12 drwxrwxr-x 2 jenkins jenkins 4096 May 19 23:56 bin 00:00:12 drwxrwxr-x 3 jenkins jenkins 4096 May 19 23:56 cmd 00:00:12 -rw-r--r-- 1 jenkins jenkins 47247 May 19 23:59 coverage.out 00:00:12 -rw-r--r-- 1 jenkins jenkins 809 May 20 00:00 go.mod 00:00:12 -rw-r--r-- 1 jenkins jenkins 23431 May 19 23:58 go.sum 00:00:12 drwxrwxr-x 3 jenkins jenkins 4096 May 19 23:56 internal 00:00:12 -rw-rw-r-- 1 jenkins jenkins 235 May 19 23:56 version.go [Pipeline] isUnix [Pipeline] sh 00:00:12 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a4c3f51546c20a5705a7b45fef79ed875510e330 --label arch=arm64 --label version=0.0.0 . 00:00:13 Sending build context to Docker daemon 8.662MB 00:00:13 Step 1/26 : ARG BASE=golang:1.16-alpine3.12 00:00:13 Step 2/26 : FROM ${BASE} AS builder 00:00:13 ---> 1136de8b8bae 00:00:13 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:00:13 ---> Running in fcaf0306a29e 00:00:13 Removing intermediate container fcaf0306a29e 00:00:13 ---> 34a441756956 00:00:13 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 00:00:14 ---> Running in 4cb33dd5c5a8 00:00:14 Removing intermediate container 4cb33dd5c5a8 00:00:14 ---> 2f5be2bd2ce5 00:00:14 Step 5/26 : WORKDIR /device-virtual-go 00:00:14 ---> Running in 2a057da815c2 00:00:15 Removing intermediate container 2a057da815c2 00:00:15 ---> de3b36d63a3f 00:00:15 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:00:15 ---> Running in 42f7898e8923 00:00:18 Removing intermediate container 42f7898e8923 00:00:18 ---> 68e6d1650c42 00:00:18 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:00:18 ---> Running in d6d02d9bfc7c 00:00:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 00:00:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 00:00:21 OK: 145 MiB in 53 packages 00:00:23 Removing intermediate container d6d02d9bfc7c 00:00:23 ---> 5bce8dfe6458 00:00:23 Step 8/26 : COPY . . 00:00:24 ---> c1e50eb8b982 00:00:24 Step 9/26 : RUN go mod tidy 00:00:24 ---> Running in 493d693bf458 00:00:28 Removing intermediate container 493d693bf458 00:00:28 ---> fea415ef1213 00:00:28 Step 10/26 : RUN go mod download 00:00:28 ---> Running in c72fcc1806bb 00:00:30 Removing intermediate container c72fcc1806bb 00:00:30 ---> 796264c9a3ac 00:00:30 Step 11/26 : ARG MAKE='make build' 00:00:30 ---> Running in 755390480f02 00:00:31 Removing intermediate container 755390480f02 00:00:31 ---> a3e8fd23050a 00:00:31 Step 12/26 : RUN $MAKE 00:00:31 ---> Running in 72cf6770fe35 00:00:32 go mod tidy 00:00:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 00:01:29 Removing intermediate container 72cf6770fe35 00:01:29 ---> 2c7074837c52 00:01:29 Step 13/26 : FROM alpine:3.12 00:01:29 3.12: Pulling from library/alpine 00:01:29 d2f70382dc9a: Pulling fs layer 00:01:29 d2f70382dc9a: Verifying Checksum 00:01:29 d2f70382dc9a: Download complete 00:01:30 d2f70382dc9a: Pull complete 00:01:30 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 00:01:30 Status: Downloaded newer image for alpine:3.12 00:01:30 ---> 9852663dfa18 00:01:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 00:01:30 ---> Running in 7ceced9029e2 00:01:31 Removing intermediate container 7ceced9029e2 00:01:31 ---> a713e45d576a 00:01:31 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:01:31 ---> Running in 0d1a3146e2c4 00:01:34 Removing intermediate container 0d1a3146e2c4 00:01:34 ---> e7df44a39ae3 00:01:34 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 00:01:34 ---> Running in 6898f66d3003 00:01:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:01:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:01:39 (1/6) Installing dumb-init (1.2.2-r1) 00:01:39 (2/6) Installing libgcc (9.3.0-r2) 00:01:40 (3/6) Installing libsodium (1.0.18-r0) 00:01:40 (4/6) Installing libstdc++ (9.3.0-r2) 00:01:40 (5/6) Installing libzmq (4.3.3-r0) 00:01:41 (6/6) Installing zeromq (4.3.3-r0) 00:01:41 Executing busybox-1.31.1-r20.trigger 00:01:41 OK: 8 MiB in 20 packages 00:01:42 Removing intermediate container 6898f66d3003 00:01:42 ---> 46e36880961e 00:01:42 Step 17/26 : WORKDIR / 00:01:42 ---> Running in f71eee275d9a 00:01:43 Removing intermediate container f71eee275d9a 00:01:43 ---> f04b7841e888 00:01:43 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 00:01:43 ---> 8b9df0990681 00:01:43 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 00:01:44 ---> 586c53e5420f 00:01:44 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 00:01:46 ---> c18d4ed62edf 00:01:46 Step 21/26 : EXPOSE 59900 00:01:46 ---> Running in 548a08376358 00:01:47 Removing intermediate container 548a08376358 00:01:47 ---> 010fd084cf12 00:01:47 Step 22/26 : ENTRYPOINT ["/device-virtual"] 00:01:47 ---> Running in d52eb481ae01 00:01:47 Removing intermediate container d52eb481ae01 00:01:47 ---> 513e32134b46 00:01:47 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:01:47 ---> Running in 0b40225df6ba 00:01:48 Removing intermediate container 0b40225df6ba 00:01:48 ---> 1b9e61235be4 00:01:48 Step 24/26 : LABEL arch=arm64 00:01:48 ---> Running in 50340733a358 00:01:48 Removing intermediate container 50340733a358 00:01:48 ---> 3efa6c540920 00:01:48 Step 25/26 : LABEL git_sha=a4c3f51546c20a5705a7b45fef79ed875510e330 00:01:48 ---> Running in 1c0fb8254362 00:01:49 Removing intermediate container 1c0fb8254362 00:01:49 ---> 9cbb7be9eb14 00:01:49 Step 26/26 : LABEL version=0.0.0 00:01:49 ---> Running in a84447a270fa 00:01:50 Removing intermediate container a84447a270fa 00:01:50 ---> 6acb1c33c92f 00:01:50 [Warning] One or more build-args [ARCH] were not consumed 00:01:50 Successfully built 6acb1c33c92f 00:01:50 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 00:01:51 ---> job-cost.sh 00:01:51 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-NNln 00:02:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:04:29 lf-activate-venv(): INFO: Adding /tmp/venv-NNln/bin to PATH 00:04:29 INFO: No Stack... 00:04:29 INFO: Retrieving Pricing Info for: v2-standard-4 00:04:29 INFO: Archiving Costs [Pipeline] sh 00:04:30 + cut -d, -f6 00:04:30 + cat /w/workspace/device-virtual-go/3/archives/cost.csv [Pipeline] lock 00:04:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-211-3-stack-cost] 00:04:30 Resource [jenkins-edgexfoundry-device-virtual-go-PR-211-3-stack-cost] did not exist. Created. 00:04:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-211-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:04:30 /w/workspace/device-virtual-go/3@tmp/durable-7be8fc1b/script.sh: 1: /w/workspace/device-virtual-go/3@tmp/durable-7be8fc1b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:04:31 + echo total: 0.18000000715255737 [Pipeline] stash 00:04:31 Warning: overwriting stash ‘stack-cost’ 00:04:31 Stashed 1 file(s) [Pipeline] } 00:04:31 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-211-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:04:31 provisioning config files... 00:04:31 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-211@tmp/config6672921406970441334tmp [Pipeline] { [Pipeline] sh 00:04:32 + set +x 00:04:32 + curl -s https://codecov.io/bash 00:04:32 + bash -s -- 00:04:32 00:04:32 _____ _ 00:04:32 / ____| | | 00:04:32 | | ___ __| | ___ ___ _____ __ 00:04:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:04:32 | |___| (_) | (_| | __/ (_| (_) \ V / 00:04:32 \_____\___/ \__,_|\___|\___\___/ \_/ 00:04:32 Bash-1.0.2 00:04:32 00:04:32 00:04:32 ==> git version 2.24.4 found 00:04:32 ==> 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 00:04:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:04:32 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:04:32 ==> Jenkins CI detected. 00:04:32 project root: . 00:04:32 --> token set from env 00:04:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:04:32 ==> Running gcov in . (disable via -X gcov) 00:04:32 ==> Python coveragepy not found 00:04:32 ==> Searching for coverage reports in: 00:04:32 + . 00:04:32 -> Found 1 reports 00:04:32 ==> Detecting git/mercurial file structure 00:04:32 ==> Reading reports 00:04:32 + ./coverage.out bytes=47247 00:04:32 ==> Appending adjustments 00:04:32 https://docs.codecov.io/docs/fixing-reports 00:04:32 + Found adjustments 00:04:32 ==> Gzipping contents 00:04:32 8.0K /tmp/codecov.2681ii.gz 00:04:32 ==> Uploading reports 00:04:32 url: https://codecov.io 00:04:32 query: branch=PR-211&commit=a4c3f51546c20a5705a7b45fef79ed875510e330&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-211%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=211&job=&cmd_args= 00:04:32 -> Pinging Codecov 00:04:32 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-211&commit=a4c3f51546c20a5705a7b45fef79ed875510e330&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-211%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=211&job=&cmd_args= 00:04:32 -> Uploading to 00:04:32 https://storage.googleapis.com/codecov/v4/raw/2021-05-20/5E52B4B073DB2E39498172D8E973AA87/a4c3f51546c20a5705a7b45fef79ed875510e330/f5246b20-303c-4bfd-b6b5-1900e81614da.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T000432Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94db2bdec7689b5fb772c127fd50e0757e4778f550e602da21eb9a6f81e34e60 00:04:32 % Total % Received % Xferd Average Speed Time Time Time Current 00:04:32 Dload Upload Total Spent Left Speed 00:04:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5796 0 0 100 5796 0 15148 --:--:-- --:--:-- --:--:-- 15172 00:04:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/a4c3f51546c20a5705a7b45fef79ed875510e330 [Pipeline] } 00:04:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:04:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:04:35 ---> package-listing.sh 00:04:35 ++ facter osfamily 00:04:35 ++ tr '[:upper:]' '[:lower:]' 00:04:35 + OS_FAMILY=redhat 00:04:35 + workspace=/w/workspace/foundry_device-virtual-go_PR-211 00:04:35 + START_PACKAGES=/tmp/packages_start.txt 00:04:35 + END_PACKAGES=/tmp/packages_end.txt 00:04:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:04:35 + PACKAGES=/tmp/packages_start.txt 00:04:35 + '[' /w/workspace/foundry_device-virtual-go_PR-211 ']' 00:04:35 + PACKAGES=/tmp/packages_end.txt 00:04:35 + case "${OS_FAMILY}" in 00:04:35 + rpm -qa 00:04:35 + sort 00:04:36 + '[' -f /tmp/packages_start.txt ']' 00:04:36 + '[' -f /tmp/packages_end.txt ']' 00:04:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:04:36 + '[' /w/workspace/foundry_device-virtual-go_PR-211 ']' 00:04:36 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-211/archives/ 00:04:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-211/archives/ [Pipeline] echo 00:04:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-211/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:04:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:04:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:04:37 00:04:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:04:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:04:37 alpine: Pulling from edgex-lftools-log-publisher 00:04:37 df20fa9351a1: Pulling fs layer 00:04:37 36b3adc4ff6f: Pulling fs layer 00:04:37 8ad3a11d3b57: Pulling fs layer 00:04:37 46f8f816bc3b: Pulling fs layer 00:04:37 93b61091891f: Pulling fs layer 00:04:37 93b9cdb0e59b: Pulling fs layer 00:04:37 5e14af77c1be: Pulling fs layer 00:04:37 01666e4c0597: Pulling fs layer 00:04:37 aa168da1d23b: Pulling fs layer 00:04:37 46f8f816bc3b: Waiting 00:04:37 93b61091891f: Waiting 00:04:37 5e14af77c1be: Waiting 00:04:37 01666e4c0597: Waiting 00:04:37 93b9cdb0e59b: Waiting 00:04:37 aa168da1d23b: Waiting 00:04:37 36b3adc4ff6f: Verifying Checksum 00:04:37 36b3adc4ff6f: Download complete 00:04:37 46f8f816bc3b: Verifying Checksum 00:04:37 46f8f816bc3b: Download complete 00:04:37 df20fa9351a1: Verifying Checksum 00:04:37 df20fa9351a1: Download complete 00:04:37 93b9cdb0e59b: Verifying Checksum 00:04:37 93b9cdb0e59b: Download complete 00:04:37 5e14af77c1be: Verifying Checksum 00:04:37 5e14af77c1be: Download complete 00:04:37 93b61091891f: Verifying Checksum 00:04:37 93b61091891f: Download complete 00:04:37 01666e4c0597: Verifying Checksum 00:04:37 01666e4c0597: Download complete 00:04:37 df20fa9351a1: Pull complete 00:04:37 8ad3a11d3b57: Verifying Checksum 00:04:37 8ad3a11d3b57: Download complete 00:04:38 36b3adc4ff6f: Pull complete 00:04:38 8ad3a11d3b57: Pull complete 00:04:38 46f8f816bc3b: Pull complete 00:04:38 93b61091891f: Pull complete 00:04:38 93b9cdb0e59b: Pull complete 00:04:39 5e14af77c1be: Pull complete 00:04:39 01666e4c0597: Pull complete 00:04:39 aa168da1d23b: Verifying Checksum 00:04:39 aa168da1d23b: Download complete 00:04:43 aa168da1d23b: Pull complete 00:04:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:04:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:04:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:04:43 prd-centos7-docker-4c-2g-15173 does not seem to be running inside a container 00:04:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-211/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-211 -v /w/workspace/foundry_device-virtual-go_PR-211:/w/workspace/foundry_device-virtual-go_PR-211:rw,z -v /w/workspace/foundry_device-virtual-go_PR-211@tmp:/w/workspace/foundry_device-virtual-go_PR-211@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:04:46 $ docker top 77a140e73cfb6b24cc5725fedc4bef1b94fe50e19905d77d7df927711a22ee4d -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:46 + touch /tmp/pre-build-complete [Pipeline] sh 00:04:47 + mkdir -p /var/log/sa [Pipeline] sh 00:04:47 + ls /var/log/sa-host 00:04:47 + sadf -c /var/log/sa-host/sa05 00:04:47 file_magic: OK 00:04:47 HZ: Using current value: 100 00:04:47 file_header: OK 00:04:47 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 00:04:47 Statistics: 00:04:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:04:47 File successfully converted to sysstat format version 12.2.1 00:04:47 + sadf -c /var/log/sa-host/sa19 00:04:47 file_magic: OK 00:04:47 HZ: Using current value: 100 00:04:47 file_header: OK 00:04:47 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 00:04:47 Statistics: 00:04:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:04:47 File successfully converted to sysstat format version 12.2.1 00:04:47 + sadf -c /var/log/sa-host/sa20 00:04:47 file_magic: OK 00:04:47 HZ: Using current value: 100 00:04:47 file_header: OK 00:04:47 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 00:04:47 Statistics: 00:04:47 Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:04:47 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:04:48 provisioning config files... 00:04:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-211@tmp/config7188988000450827344tmp [Pipeline] { [Pipeline] echo 00:04:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:04:48 ---> create-netrc.sh [Pipeline] } 00:04:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:04:48 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:04:48 ---> python-tools-install.sh [Pipeline] echo 00:04:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:04:49 ---> sudo-logs.sh 00:04:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:04:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:04:49 ---> job-cost.sh 00:04:49 lf-activate-venv: SKIPPING 00:04:49 DEBUG: total: 0.18000000715255737 00:04:49 INFO: Retrieving Stack Cost... 00:04:50 INFO: Retrieving Pricing Info for: v3-standard-2 00:04:51 INFO: Archiving Costs [Pipeline] echo 00:04:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:04:51 ---> logs-deploy.sh 00:04:51 lf-activate-venv: SKIPPING 00:04:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-211/3 00:04:51 INFO: archiving workspace using pattern(s): 00:04:52 Archives upload complete. 00:04:52 INFO: archiving logs to Nexus 00:04:52 ---> uname -a: 00:04:52 Linux prd-centos7-docker-4c-2g-15173.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 00:04:52 00:04:52 00:04:52 ---> lscpu: 00:04:52 Architecture: x86_64 00:04:52 CPU op-mode(s): 32-bit, 64-bit 00:04:52 Byte Order: Little Endian 00:04:52 Address sizes: 40 bits physical, 48 bits virtual 00:04:52 CPU(s): 2 00:04:52 On-line CPU(s) list: 0,1 00:04:52 Thread(s) per core: 1 00:04:52 Core(s) per socket: 1 00:04:52 Socket(s): 2 00:04:52 NUMA node(s): 1 00:04:52 Vendor ID: AuthenticAMD 00:04:52 CPU family: 23 00:04:52 Model: 49 00:04:52 Model name: AMD EPYC-Rome Processor 00:04:52 Stepping: 0 00:04:52 CPU MHz: 2799.998 00:04:52 BogoMIPS: 5599.99 00:04:52 Virtualization: AMD-V 00:04:52 Hypervisor vendor: KVM 00:04:52 Virtualization type: full 00:04:52 L1d cache: 64 KiB 00:04:52 L1i cache: 64 KiB 00:04:52 L2 cache: 1 MiB 00:04:52 L3 cache: 32 MiB 00:04:52 NUMA node0 CPU(s): 0,1 00:04:52 Vulnerability Itlb multihit: Not affected 00:04:52 Vulnerability L1tf: Not affected 00:04:52 Vulnerability Mds: Not affected 00:04:52 Vulnerability Meltdown: Not affected 00:04:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:04:52 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:04:52 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:04:52 Vulnerability Srbds: Not affected 00:04:52 Vulnerability Tsx async abort: Not affected 00:04:52 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 00:04:52 00:04:52 00:04:52 ---> nproc: 00:04:52 2 00:04:52 00:04:52 00:04:52 ---> df -h: 00:04:52 Filesystem Size Used Available Use% Mounted on 00:04:52 overlay 40.0G 7.6G 32.4G 19% / 00:04:52 tmpfs 64.0M 0 64.0M 0% /dev 00:04:52 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 00:04:52 shm 64.0M 0 64.0M 0% /dev/shm 00:04:52 /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os 00:04:52 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf 00:04:52 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname 00:04:52 /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts 00:04:52 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/foundry_device-virtual-go_PR-211 00:04:52 /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/foundry_device-virtual-go_PR-211@tmp 00:04:52 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host 00:04:52 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure 00:04:52 /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log 00:04:52 /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json 00:04:52 00:04:52 00:04:52 ---> free -m: 00:04:52 total used free shared buff/cache available 00:04:52 Mem: 7821 939 4775 0 2106 6704 00:04:52 Swap: 1023 0 1023 00:04:52 00:04:52 00:04:52 ---> ip addr: 00:04:52 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:04:52 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:04:52 inet 127.0.0.1/8 scope host lo 00:04:52 valid_lft forever preferred_lft forever 00:04:52 inet6 ::1/128 scope host 00:04:52 valid_lft forever preferred_lft forever 00:04:52 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:04:52 link/ether fa:16:3e:f4:b9:03 brd ff:ff:ff:ff:ff:ff 00:04:52 inet 10.30.122.38/23 brd 10.30.123.255 scope global dynamic eth0 00:04:52 valid_lft 85748sec preferred_lft 85748sec 00:04:52 inet6 fe80::f816:3eff:fef4:b903/64 scope link 00:04:52 valid_lft forever preferred_lft forever 00:04:52 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:04:52 link/ether 02:42:b9:74:a0:cc brd ff:ff:ff:ff:ff:ff 00:04:52 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:04:52 valid_lft forever preferred_lft forever 00:04:52 inet6 fe80::42:b9ff:fe74:a0cc/64 scope link 00:04:52 valid_lft forever preferred_lft forever 00:04:52 00:04:52 00:04:52 ---> sar -b -r -n DEV: 00:04:52 Linux 3.10.0-1160.21.1.el7.x86_64 (prd-centos7-docker-4c-2g-15173.vexxhost.local) 05/20/21 _x86_64_ (2 CPU) 00:04:52 00:04:52 00:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:04:52 00:01:01 0.38 0.02 0.37 0.00 0.13 5.28 0.00 00:04:52 00:02:01 0.43 0.10 0.33 0.00 1.73 5.56 0.00 00:04:52 00:03:01 0.28 0.00 0.28 0.00 0.00 2.92 0.00 00:04:52 00:04:02 0.22 0.00 0.22 0.00 0.00 2.93 0.00 00:04:52 Average: 0.33 0.03 0.30 0.00 0.47 4.17 0.00 00:04:52 00:04:52 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:04:52 00:01:01 5448480 0 808664 10.10 2620 1749176 1208184 13.34 577828 1583848 8 00:04:52 00:02:01 5440056 0 816960 10.20 2620 1749304 1205852 13.31 586352 1583908 12 00:04:52 00:03:01 5440528 0 816480 10.19 2620 1749312 1205660 13.31 585872 1583908 20 00:04:52 00:04:02 5440748 0 816260 10.19 2620 1749312 1205660 13.31 587172 1582628 8 00:04:52 Average: 5442453 0 814591 10.17 2620 1749276 1206339 13.32 584306 1583573 12 00:04:52 00:04:52 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:04:52 00:01:01 eth0 1.28 0.42 0.36 0.21 0.00 0.00 0.00 0.00 00:04:52 00:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:52 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:52 00:02:01 eth0 0.63 0.32 0.28 0.20 0.00 0.00 0.00 0.00 00:04:52 00:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:52 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:52 00:03:01 eth0 0.13 0.07 0.01 0.01 0.00 0.00 0.00 0.00 00:04:52 00:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:52 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:52 00:04:02 eth0 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 00:04:52 00:04:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:52 00:04:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:52 Average: eth0 0.52 0.20 0.16 0.10 0.00 0.00 0.00 0.00 00:04:52 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:52 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:52 00:04:52 00:04:52 ---> sar -P ALL: 00:04:52 Linux 3.10.0-1160.21.1.el7.x86_64 (prd-centos7-docker-4c-2g-15173.vexxhost.local) 05/20/21 _x86_64_ (2 CPU) 00:04:52 00:04:52 00:00:01 CPU %user %nice %system %iowait %steal %idle 00:04:52 00:01:01 all 0.21 0.00 0.03 0.00 0.02 99.75 00:04:52 00:01:01 0 0.30 0.00 0.03 0.00 0.02 99.65 00:04:52 00:01:01 1 0.12 0.00 0.02 0.00 0.02 99.85 00:04:52 00:02:01 all 0.13 0.00 0.05 0.01 0.03 99.78 00:04:52 00:02:01 0 0.20 0.00 0.05 0.00 0.02 99.73 00:04:52 00:02:01 1 0.07 0.00 0.05 0.02 0.03 99.83 00:04:52 00:03:01 all 0.05 0.00 0.03 0.00 0.02 99.91 00:04:52 00:03:01 0 0.07 0.00 0.03 0.00 0.02 99.88 00:04:52 00:03:01 1 0.03 0.00 0.02 0.00 0.02 99.93 00:04:52 00:04:02 all 0.04 0.00 0.03 0.00 0.02 99.92 00:04:52 00:04:02 0 0.03 0.00 0.03 0.00 0.02 99.92 00:04:52 00:04:02 1 0.05 0.00 0.02 0.00 0.02 99.92 00:04:52 Average: all 0.11 0.00 0.03 0.00 0.02 99.84 00:04:52 Average: 0 0.15 0.00 0.04 0.00 0.02 99.80 00:04:52 Average: 1 0.07 0.00 0.03 0.00 0.02 99.88 00:04:52 00:04:52 00:04:52