Pull request #224 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 dee740d0c6712039b542b0a282df6e8aa80d14bf+12c6854996096b74e90d43960f739a4a5ae0269d (307bab62119051e8c945fc833552572632c3fb6e) Running in Durability level: MAX_SURVIVABILITY 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-ssh4822875416687958175.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh5624265047772910574.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 6a41506d72e8e131afc862d141935157bee59f41 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-224/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-224/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh990376483391070625.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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-ssh3977149785237116503.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-224/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-224/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh353769216229673466.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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-blackbox-4c-2g-591’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1825’ is offline ‘prd-centos7-docker-4c-2g-23’ is offline ‘prd-centos7-docker-4c-2g-30’ is offline ‘prd-centos7-docker-4c-2g-34’ is offline ‘prd-centos7-docker-4c-2g-35’ is offline ‘prd-ubuntu18.04-docker-8c-8g-31’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-26’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-37 in /w/workspace/foundry_device-virtual-go_PR-224 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-224 # 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-224@tmp/jenkins-gitclient-ssh4892634258868239700.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 > 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-224@tmp/jenkins-gitclient-ssh2493831680860425130.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 12c6854996096b74e90d43960f739a4a5ae0269d into PR head commit dee740d0c6712039b542b0a282df6e8aa80d14bf Merge succeeded, producing dee740d0c6712039b542b0a282df6e8aa80d14bf Checking out Revision dee740d0c6712039b542b0a282df6e8aa80d14bf (PR-224) > git config core.sparsecheckout # timeout=10 > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # 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-224@tmp/jenkins-gitclient-ssh3588579157758075762.key > git merge 12c6854996096b74e90d43960f739a4a5ae0269d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # timeout=10 Commit message: "feat: Enable using MessageBus as the default" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-17T18:19:12.588Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-17T18:19:12.817Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-17T18:19:12.961Z] ========================================================= [2021-06-17T18:19:12.961Z] EdgeX Global Pipelines Version Info [2021-06-17T18:19:12.961Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:19:14.481Z] ------------------- [2021-06-17T18:19:14.481Z] stable info: [2021-06-17T18:19:14.481Z] ------------------- [2021-06-17T18:19:14.481Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-17T18:19:14.481Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T18:19:14.481Z] Message: update stable to v1.0.195 [2021-06-17T18:19:15.062Z] ------------------- [2021-06-17T18:19:15.062Z] experimental info: [2021-06-17T18:19:15.062Z] ------------------- [2021-06-17T18:19:15.062Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-17T18:19:15.062Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T18:19:15.062Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-17T18:19:15.325Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-06-17T18:19:15.382Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-06-17T18:19:15.441Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-17T18:19:15.501Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-17T18:19:15.564Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-17T18:19:15.622Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-17T18:19:15.684Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-17T18:19:15.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-17T18:19:15.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-17T18:19:15.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-17T18:19:15.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-17T18:19:15.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-06-17T18:19:16.048Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-17T18:19:16.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-17T18:19:16.167Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T18:19:16.228Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T18:19:16.318Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T18:19:16.390Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T18:19:16.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-17T18:19:16.517Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-17T18:19:16.584Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-17T18:19:16.638Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-17T18:19:16.700Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-17T18:19:16.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-17T18:19:16.832Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-17T18:19:16.900Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-17T18:19:16.992Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-224 [Pipeline] echo [2021-06-17T18:19:17.060Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-224 [Pipeline] echo [2021-06-17T18:19:17.131Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-224 [Pipeline] echo [2021-06-17T18:19:17.197Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dee740d0c6712039b542b0a282df6e8aa80d14bf [Pipeline] echo [2021-06-17T18:19:17.260Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dee740d [Pipeline] echo [2021-06-17T18:19:17.321Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:19:17.534Z] provisioning config files... [2021-06-17T18:19:17.567Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-224@tmp/config8623125170040160014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:19:17.959Z] ---> docker-login.sh [2021-06-17T18:19:17.959Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:19:18.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:19:18.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:19:18.225Z] Configure a credential helper to remove this warning. See [2021-06-17T18:19:18.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:19:18.225Z] [2021-06-17T18:19:18.225Z] Login Succeeded [2021-06-17T18:19:18.225Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:19:18.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:19:18.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:19:18.487Z] Configure a credential helper to remove this warning. See [2021-06-17T18:19:18.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:19:18.487Z] [2021-06-17T18:19:18.487Z] Login Succeeded [2021-06-17T18:19:18.487Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:19:18.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:19:18.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:19:18.750Z] Configure a credential helper to remove this warning. See [2021-06-17T18:19:18.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:19:18.750Z] [2021-06-17T18:19:18.750Z] Login Succeeded [2021-06-17T18:19:18.750Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:19:18.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:19:18.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:19:18.750Z] Configure a credential helper to remove this warning. See [2021-06-17T18:19:18.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:19:18.750Z] [2021-06-17T18:19:18.750Z] Login Succeeded [2021-06-17T18:19:18.750Z] docker.io [2021-06-17T18:19:18.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:19:19.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:19:19.013Z] Configure a credential helper to remove this warning. See [2021-06-17T18:19:19.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:19:19.013Z] [2021-06-17T18:19:19.013Z] Login Succeeded [2021-06-17T18:19:19.013Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:19:19.042Z] 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 [2021-06-17T18:19:19.921Z] + git log --format=format:%s -1 dee740d0c6712039b542b0a282df6e8aa80d14bf [Pipeline] echo [2021-06-17T18:19:19.992Z] GIT_COMMIT: dee740d0c6712039b542b0a282df6e8aa80d14bf, Commit Message: feat: Enable using MessageBus as the default [Pipeline] echo [2021-06-17T18:19:20.041Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:19:20.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:19:20.754Z] [2021-06-17T18:19:20.754Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:19:21.123Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:19:21.123Z] latest: Pulling from edgex-devops/git-semver [2021-06-17T18:19:21.123Z] 31603596830f: Pulling fs layer [2021-06-17T18:19:21.123Z] 54011a49482f: Pulling fs layer [2021-06-17T18:19:21.123Z] a6820b24f6d8: Pulling fs layer [2021-06-17T18:19:21.123Z] f581987b2513: Pulling fs layer [2021-06-17T18:19:21.123Z] f581987b2513: Waiting [2021-06-17T18:19:21.123Z] 54011a49482f: Verifying Checksum [2021-06-17T18:19:21.123Z] 54011a49482f: Download complete [2021-06-17T18:19:21.123Z] 31603596830f: Verifying Checksum [2021-06-17T18:19:21.123Z] 31603596830f: Download complete [2021-06-17T18:19:21.396Z] a6820b24f6d8: Verifying Checksum [2021-06-17T18:19:21.396Z] a6820b24f6d8: Download complete [2021-06-17T18:19:21.396Z] f581987b2513: Verifying Checksum [2021-06-17T18:19:21.396Z] f581987b2513: Download complete [2021-06-17T18:19:21.396Z] 31603596830f: Pull complete [2021-06-17T18:19:21.396Z] 54011a49482f: Pull complete [2021-06-17T18:19:21.979Z] a6820b24f6d8: Pull complete [2021-06-17T18:19:22.245Z] f581987b2513: Pull complete [2021-06-17T18:19:22.245Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-17T18:19:22.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T18:19:22.245Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-17T18:19:22.347Z] prd-centos7-docker-4c-2g-37 does not seem to be running inside a container [2021-06-17T18:19:22.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-224 -v /w/workspace/foundry_device-virtual-go_PR-224:/w/workspace/foundry_device-virtual-go_PR-224:rw,z -v /w/workspace/foundry_device-virtual-go_PR-224@tmp:/w/workspace/foundry_device-virtual-go_PR-224@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-17T18:19:23.537Z] $ docker top 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T18:19:23.781Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:19:23.781Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:19:23.895Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:19:23.897Z] $ docker exec 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 ssh-agent [2021-06-17T18:19:24.007Z] SSH_AUTH_SOCK=/tmp/ssh-t8Fc8Qsgfu70/agent.13 [2021-06-17T18:19:24.007Z] SSH_AGENT_PID=19 [2021-06-17T18:19:24.015Z] Running ssh-add (command line suppressed) [2021-06-17T18:19:24.110Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-224@tmp/private_key_1422648714638101424.key (/w/workspace/foundry_device-virtual-go_PR-224@tmp/private_key_1422648714638101424.key) [2021-06-17T18:19:24.126Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:19:24.487Z] + git tag --points-at HEAD [Pipeline] } [2021-06-17T18:19:24.509Z] $ docker exec --env ******** --env ******** 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 ssh-agent -k [2021-06-17T18:19:24.606Z] unset SSH_AUTH_SOCK; [2021-06-17T18:19:24.606Z] unset SSH_AGENT_PID; [2021-06-17T18:19:24.606Z] echo Agent pid 19 killed; [2021-06-17T18:19:24.622Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-17T18:19:24.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T18:19:24.732Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T18:19:24.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T18:19:24.848Z] $ docker exec 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 ssh-agent [2021-06-17T18:19:24.955Z] SSH_AUTH_SOCK=/tmp/ssh-692chDDvUZA5/agent.54 [2021-06-17T18:19:24.955Z] SSH_AGENT_PID=61 [2021-06-17T18:19:24.961Z] Running ssh-add (command line suppressed) [2021-06-17T18:19:25.055Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-224@tmp/private_key_1446133925148305333.key (/w/workspace/foundry_device-virtual-go_PR-224@tmp/private_key_1446133925148305333.key) [2021-06-17T18:19:25.072Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T18:19:25.433Z] + git semver init [2021-06-17T18:19:25.433Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T18:19:25.433Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-224/.git [2021-06-17T18:19:25.433Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-224 [2021-06-17T18:19:25.433Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T18:19:25.433Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T18:19:25.433Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T18:19:25.433Z] # $SEMVER_BRANCH = PR-224 [2021-06-17T18:19:25.433Z] # $SEMVER_TEMP = /tmp/semver-385210780 [2021-06-17T18:19:25.433Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-06-17T18:19:26.386Z] # '/tmp/semver-385210780' -> '/w/workspace/foundry_device-virtual-go_PR-224/.semver' [2021-06-17T18:19:26.386Z] # -> Force: false [2021-06-17T18:19:26.386Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-224/.semver [Pipeline] } [2021-06-17T18:19:26.408Z] $ docker exec --env ******** --env ******** 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 ssh-agent -k [2021-06-17T18:19:26.497Z] unset SSH_AUTH_SOCK; [2021-06-17T18:19:26.497Z] unset SSH_AGENT_PID; [2021-06-17T18:19:26.497Z] echo Agent pid 61 killed; [2021-06-17T18:19:26.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T18:19:26.989Z] + git semver [Pipeline] } [2021-06-17T18:19:27.023Z] $ docker stop --time=1 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 [2021-06-17T18:19:28.318Z] $ docker rm -f 56595102fc0bc04457c6553341e909c1b7f98833dea02639039354abe9c6af78 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:19:28.788Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-17T18:19:29.146Z] Stashed 1 file(s) [Pipeline] echo [2021-06-17T18:19:29.181Z] [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 [2021-06-17T18:19:44.916Z] Still waiting to schedule task [2021-06-17T18:19:44.916Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-17T18:19:44.946Z] Still waiting to schedule task [2021-06-17T18:19:44.947Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-17T18:21:48.858Z] Running on prd-centos7-docker-4c-2g-42 in /w/workspace/foundry_device-virtual-go_PR-224 [Pipeline] { [Pipeline] ws [2021-06-17T18:21:48.927Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-06-17T18:21:49.093Z] The recommended git tool is: git [2021-06-17T18:21:51.432Z] using credential edgex-jenkins-ssh [2021-06-17T18:21:51.448Z] Cloning the remote Git repository [2021-06-17T18:21:51.262Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-17T18:21:51.337Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-06-17T18:21:51.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-17T18:21:51.370Z] > git --version # timeout=10 [2021-06-17T18:21:51.383Z] > git --version # 'git version 2.24.4' [2021-06-17T18:21:51.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:21:51.413Z] [INFO] Currently running in a labeled security context [2021-06-17T18:21:51.413Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T18:21:51.413Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh715320575958762078.key [2021-06-17T18:21:51.439Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:21:53.004Z] Merging remotes/origin/master commit 12c6854996096b74e90d43960f739a4a5ae0269d into PR head commit dee740d0c6712039b542b0a282df6e8aa80d14bf [2021-06-17T18:21:53.104Z] Merge succeeded, producing dee740d0c6712039b542b0a282df6e8aa80d14bf [2021-06-17T18:21:53.105Z] Checking out Revision dee740d0c6712039b542b0a282df6e8aa80d14bf (PR-224) [2021-06-17T18:21:52.371Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-17T18:21:52.387Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:21:52.399Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-17T18:21:52.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-17T18:21:52.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:21:52.416Z] [INFO] Currently running in a labeled security context [2021-06-17T18:21:52.416Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T18:21:52.416Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh5131771455970905044.key [2021-06-17T18:21:52.422Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-17T18:21:52.931Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:21:52.941Z] > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # timeout=10 [2021-06-17T18:21:52.977Z] > git remote # timeout=10 [2021-06-17T18:21:52.983Z] > git config --get remote.origin.url # timeout=10 [2021-06-17T18:21:52.996Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:21:52.998Z] [INFO] Currently running in a labeled security context [2021-06-17T18:21:52.998Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T18:21:52.998Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh6429514084223876541.key [2021-06-17T18:21:53.005Z] > git merge 12c6854996096b74e90d43960f739a4a5ae0269d # timeout=10 [2021-06-17T18:21:53.018Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-17T18:21:53.033Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:21:53.038Z] > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # timeout=10 [2021-06-17T18:21:56.682Z] Commit message: "feat: Enable using MessageBus as the default" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:21:57.949Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:21:58.300Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:21:58.630Z] + true [2021-06-17T18:21:58.630Z] + sudo service docker restart [2021-06-17T18:21:58.630Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:22:16.897Z] provisioning config files... [2021-06-17T18:22:16.917Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config4446725766076828756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:22:17.315Z] ---> docker-login.sh [2021-06-17T18:22:17.315Z] nexus3.edgexfoundry.org:10001 [2021-06-17T18:22:17.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:22:17.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:22:17.581Z] Configure a credential helper to remove this warning. See [2021-06-17T18:22:17.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:22:17.581Z] [2021-06-17T18:22:17.581Z] Login Succeeded [2021-06-17T18:22:17.581Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:22:17.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:22:17.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:22:17.581Z] Configure a credential helper to remove this warning. See [2021-06-17T18:22:17.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:22:17.581Z] [2021-06-17T18:22:17.581Z] Login Succeeded [2021-06-17T18:22:17.581Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:22:17.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:22:17.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:22:17.843Z] Configure a credential helper to remove this warning. See [2021-06-17T18:22:17.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:22:17.843Z] [2021-06-17T18:22:17.843Z] Login Succeeded [2021-06-17T18:22:17.843Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:22:17.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:22:17.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:22:17.843Z] Configure a credential helper to remove this warning. See [2021-06-17T18:22:17.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:22:17.843Z] [2021-06-17T18:22:17.844Z] Login Succeeded [2021-06-17T18:22:17.844Z] docker.io [2021-06-17T18:22:18.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:22:18.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:22:18.368Z] Configure a credential helper to remove this warning. See [2021-06-17T18:22:18.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:22:18.368Z] [2021-06-17T18:22:18.368Z] Login Succeeded [2021-06-17T18:22:18.368Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:22:18.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-17T18:22:18.690Z] ========================================================= [2021-06-17T18:22:18.690Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-17T18:22:18.690Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:22:19.045Z] + 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 . [2021-06-17T18:22:19.046Z] Sending build context to Docker daemon 8.62MB [2021-06-17T18:22:19.046Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:22:19.046Z] Step 2/8 : FROM ${BASE} [2021-06-17T18:22:19.318Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-17T18:22:19.318Z] 540db60ca938: Pulling fs layer [2021-06-17T18:22:19.318Z] adcc1eea9eea: Pulling fs layer [2021-06-17T18:22:19.318Z] 4c4ab2625f07: Pulling fs layer [2021-06-17T18:22:19.318Z] 0510c868ecb4: Pulling fs layer [2021-06-17T18:22:19.318Z] afea3b2eda06: Pulling fs layer [2021-06-17T18:22:19.318Z] 7809a108b3ef: Pulling fs layer [2021-06-17T18:22:19.318Z] f706445af74f: Pulling fs layer [2021-06-17T18:22:19.318Z] 0510c868ecb4: Waiting [2021-06-17T18:22:19.318Z] afea3b2eda06: Waiting [2021-06-17T18:22:19.318Z] f706445af74f: Waiting [2021-06-17T18:22:19.318Z] 7809a108b3ef: Waiting [2021-06-17T18:22:19.318Z] 4c4ab2625f07: Verifying Checksum [2021-06-17T18:22:19.318Z] 4c4ab2625f07: Download complete [2021-06-17T18:22:19.318Z] adcc1eea9eea: Verifying Checksum [2021-06-17T18:22:19.318Z] adcc1eea9eea: Download complete [2021-06-17T18:22:19.318Z] afea3b2eda06: Verifying Checksum [2021-06-17T18:22:19.318Z] afea3b2eda06: Download complete [2021-06-17T18:22:19.318Z] 540db60ca938: Verifying Checksum [2021-06-17T18:22:19.318Z] 540db60ca938: Download complete [2021-06-17T18:22:19.318Z] 7809a108b3ef: Verifying Checksum [2021-06-17T18:22:19.318Z] 7809a108b3ef: Download complete [2021-06-17T18:22:19.582Z] 540db60ca938: Pull complete [2021-06-17T18:22:19.582Z] adcc1eea9eea: Pull complete [2021-06-17T18:22:19.845Z] 4c4ab2625f07: Pull complete [2021-06-17T18:22:20.423Z] f706445af74f: Verifying Checksum [2021-06-17T18:22:20.423Z] f706445af74f: Download complete [2021-06-17T18:22:21.000Z] 0510c868ecb4: Verifying Checksum [2021-06-17T18:22:21.000Z] 0510c868ecb4: Download complete [2021-06-17T18:22:25.273Z] 0510c868ecb4: Pull complete [2021-06-17T18:22:25.273Z] afea3b2eda06: Pull complete [2021-06-17T18:22:25.273Z] 7809a108b3ef: Pull complete [2021-06-17T18:22:26.224Z] f706445af74f: Pull complete [2021-06-17T18:22:26.224Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-17T18:22:26.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-17T18:22:26.224Z] ---> b068be0155e3 [2021-06-17T18:22:26.224Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-17T18:22:30.474Z] ---> Running in 6d2e4ce20d85 [2021-06-17T18:22:30.474Z] Removing intermediate container 6d2e4ce20d85 [2021-06-17T18:22:30.474Z] ---> 068b4a19ccc2 [2021-06-17T18:22:30.474Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:22:30.474Z] ---> Running in c7f14998ce1b [2021-06-17T18:22:30.740Z] Removing intermediate container c7f14998ce1b [2021-06-17T18:22:30.740Z] ---> 6b86c0c57015 [2021-06-17T18:22:30.740Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-17T18:22:30.740Z] ---> Running in ef00b1833a2d [2021-06-17T18:22:31.004Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:22:31.954Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T18:22:32.589Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-17T18:22:32.589Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-17T18:22:32.861Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-17T18:22:32.861Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-17T18:22:32.861Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T18:22:33.143Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-17T18:22:33.143Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-17T18:22:33.414Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-17T18:22:33.684Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-17T18:22:33.684Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-17T18:22:33.684Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-17T18:22:33.947Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-17T18:22:33.947Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-17T18:22:34.211Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T18:22:34.211Z] OK: 156 MiB in 53 packages [2021-06-17T18:22:34.476Z] Removing intermediate container ef00b1833a2d [2021-06-17T18:22:34.476Z] ---> 7691d27ec99b [2021-06-17T18:22:34.476Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-17T18:22:34.476Z] ---> Running in 3c75b66c10e7 [2021-06-17T18:22:34.742Z] Removing intermediate container 3c75b66c10e7 [2021-06-17T18:22:34.742Z] ---> 498317d02bae [2021-06-17T18:22:34.742Z] Step 7/8 : COPY . . [2021-06-17T18:22:35.016Z] ---> ba406066ad81 [2021-06-17T18:22:35.017Z] Step 8/8 : RUN go mod download [2021-06-17T18:22:35.017Z] ---> Running in 1a0d4437d553 [2021-06-17T18:22:47.313Z] Removing intermediate container 1a0d4437d553 [2021-06-17T18:22:47.313Z] ---> 016f1fdfb9ed [2021-06-17T18:22:47.313Z] Successfully built 016f1fdfb9ed [2021-06-17T18:22:47.313Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:22:47.680Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T18:22:47.681Z] . [Pipeline] withDockerContainer [2021-06-17T18:22:47.795Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2021-06-17T18:22:47.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-x86_64 cat [2021-06-17T18:22:48.227Z] $ docker top b1018c9ee783a2b171f56c4c4fe8af8ce09468da67908de49279725dc847b294 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:22:48.676Z] + go version [2021-06-17T18:22:48.676Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-17T18:22:48.707Z] $ docker stop --time=1 b1018c9ee783a2b171f56c4c4fe8af8ce09468da67908de49279725dc847b294 [2021-06-17T18:22:49.149Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-43 in /w/workspace/foundry_device-virtual-go_PR-224 [2021-06-17T18:22:49.912Z] $ docker rm -f b1018c9ee783a2b171f56c4c4fe8af8ce09468da67908de49279725dc847b294 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] ws [2021-06-17T18:22:50.160Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:22:51.212Z] The recommended git tool is: git [2021-06-17T18:22:51.320Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T18:22:51.320Z] . [Pipeline] withDockerContainer [2021-06-17T18:22:51.439Z] prd-centos7-docker-4c-2g-42 does not seem to be running inside a container [2021-06-17T18:22:51.486Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-x86_64 cat [2021-06-17T18:22:51.912Z] $ docker top 28189bbe98d92d6febf19ad2de20512bdf96b52c1c64b788c0805fd6a37491ff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:22:52.381Z] + go mod tidy [Pipeline] sh [2021-06-17T18:22:52.979Z] + make test [2021-06-17T18:22:52.980Z] go mod tidy [2021-06-17T18:22:53.258Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-17T18:22:53.527Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-17T18:22:56.124Z] using credential edgex-jenkins-ssh [2021-06-17T18:22:56.159Z] Cloning the remote Git repository [2021-06-17T18:22:56.244Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-06-17T18:22:56.452Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-06-17T18:22:56.529Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-17T18:22:56.530Z] > git --version # timeout=10 [2021-06-17T18:22:56.545Z] > git --version # 'git version 2.17.1' [2021-06-17T18:22:56.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:22:56.615Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:22:58.367Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-17T18:22:58.387Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T18:22:58.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-06-17T18:22:58.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-06-17T18:22:58.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:22:58.462Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-17T18:22:59.017Z] Merging remotes/origin/master commit 12c6854996096b74e90d43960f739a4a5ae0269d into PR head commit dee740d0c6712039b542b0a282df6e8aa80d14bf [2021-06-17T18:22:59.216Z] Merge succeeded, producing dee740d0c6712039b542b0a282df6e8aa80d14bf [2021-06-17T18:22:59.217Z] Checking out Revision dee740d0c6712039b542b0a282df6e8aa80d14bf (PR-224) [2021-06-17T18:22:59.034Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:22:59.052Z] > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # timeout=10 [2021-06-17T18:22:59.124Z] > git remote # timeout=10 [2021-06-17T18:22:59.146Z] > git config --get remote.origin.url # timeout=10 [2021-06-17T18:22:59.159Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T18:22:59.169Z] > git merge 12c6854996096b74e90d43960f739a4a5ae0269d # timeout=10 [2021-06-17T18:22:59.192Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-17T18:22:59.225Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T18:22:59.244Z] > git checkout -f dee740d0c6712039b542b0a282df6e8aa80d14bf # timeout=10 [2021-06-17T18:23:03.422Z] Commit message: "feat: Enable using MessageBus as the default" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:23:05.034Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:23:05.564Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T18:23:05.928Z] + sudo+ service docker restarttrue [2021-06-17T18:23:05.928Z] [2021-06-17T18:23:15.609Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-17T18:23:15.609Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.266s coverage: 63.8% of statements [2021-06-17T18:23:15.609Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T18:23:23.828Z] gofmt -l . [2021-06-17T18:23:23.828Z] [ "`gofmt -l .`" = "" ] [2021-06-17T18:23:23.828Z] ./bin/test-attribution-txt.sh [2021-06-17T18:23:23.828Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-17T18:23:23.858Z] $ docker stop --time=1 28189bbe98d92d6febf19ad2de20512bdf96b52c1c64b788c0805fd6a37491ff [2021-06-17T18:23:25.322Z] $ docker rm -f 28189bbe98d92d6febf19ad2de20512bdf96b52c1c64b788c0805fd6a37491ff [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:23:25.640Z] provisioning config files... [2021-06-17T18:23:25.671Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config2575791857476278533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:23:25.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T18:23:26.104Z] Stashed 1 file(s) [2021-06-17T18:23:26.105Z] ---> docker-login.sh [2021-06-17T18:23:26.105Z] nexus3.edgexfoundry.org:10001 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-06-17T18:23:27.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2021-06-17T18:23:27.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:23:27.424Z] Configure a credential helper to remove this warning. See [2021-06-17T18:23:27.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:23:27.424Z] [2021-06-17T18:23:27.424Z] Login Succeeded [2021-06-17T18:23:27.424Z] nexus3.edgexfoundry.org:10002 [2021-06-17T18:23:27.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T18:23:27.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:23:27.841Z] + ls -al . [2021-06-17T18:23:27.841Z] total 132 [2021-06-17T18:23:27.841Z] drwxrwxr-x. 7 jenkins jenkins 4096 Jun 17 18:23 . [2021-06-17T18:23:27.841Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 18:21 .. [2021-06-17T18:23:27.841Z] -rw-rw-r--. 1 jenkins jenkins 8153 Jun 17 18:21 Attribution.txt [2021-06-17T18:23:27.841Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 18:21 bin [2021-06-17T18:23:27.841Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 18:21 cmd [2021-06-17T18:23:27.841Z] -rw-r--r--. 1 jenkins jenkins 47257 Jun 17 18:23 coverage.out [2021-06-17T18:23:27.841Z] -rw-rw-r--. 1 jenkins jenkins 1921 Jun 17 18:21 Dockerfile [2021-06-17T18:23:27.841Z] -rw-rw-r--. 1 jenkins jenkins 998 Jun 17 18:21 Dockerfile.build [2021-06-17T18:23:27.841Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 18:21 .git [2021-06-17T18:23:27.841Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 17 18:21 .github [2021-06-17T18:23:27.841Z] -rw-rw-r--. 1 jenkins jenkins 277 Jun 17 18:21 .gitignore [2021-06-17T18:23:27.841Z] -rw-r--r--. 1 jenkins jenkins 810 Jun 17 18:23 go.mod [2021-06-17T18:23:27.841Z] -rw-r--r--. 1 jenkins jenkins 23031 Jun 17 18:22 go.sum [2021-06-17T18:23:27.841Z] drwxrwxr-x. 3 jenkins jenkins 20 Jun 17 18:21 internal [2021-06-17T18:23:27.841Z] -rw-rw-r--. 1 jenkins jenkins 660 Jun 17 18:21 Jenkinsfile [2021-06-17T18:23:27.841Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 18:21 LICENSE [2021-06-17T18:23:27.841Z] -rw-rw-r--. 1 jenkins jenkins 905 Jun 17 18:21 Makefile [2021-06-17T18:23:27.841Z] -rw-rw-r--. 1 jenkins jenkins 2745 Jun 17 18:21 README.md [2021-06-17T18:23:27.841Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 18:19 VERSION [2021-06-17T18:23:27.841Z] -rw-rw-r--. 1 jenkins jenkins 235 Jun 17 18:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:23:27.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:23:27.980Z] Configure a credential helper to remove this warning. See [2021-06-17T18:23:27.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:23:27.980Z] [2021-06-17T18:23:27.980Z] Login Succeeded [2021-06-17T18:23:27.980Z] nexus3.edgexfoundry.org:10003 [2021-06-17T18:23:28.195Z] + 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=dee740d0c6712039b542b0a282df6e8aa80d14bf --label arch=amd64 --label version=0.0.0 . [2021-06-17T18:23:28.195Z] Sending build context to Docker daemon 8.691MB [2021-06-17T18:23:28.195Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:23:28.195Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-17T18:23:28.195Z] ---> 016f1fdfb9ed [2021-06-17T18:23:28.195Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:23:28.195Z] ---> Running in 29cfbebb0821 [2021-06-17T18:23:28.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:23:28.466Z] Removing intermediate container 29cfbebb0821 [2021-06-17T18:23:28.466Z] ---> aa720fe36258 [2021-06-17T18:23:28.466Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:23:28.466Z] ---> Running in 654129704b9d [2021-06-17T18:23:28.466Z] Removing intermediate container 654129704b9d [2021-06-17T18:23:28.466Z] ---> ddfc2c27ef74 [2021-06-17T18:23:28.466Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-17T18:23:28.466Z] ---> Running in 0564abdc0145 [2021-06-17T18:23:28.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:23:28.531Z] Configure a credential helper to remove this warning. See [2021-06-17T18:23:28.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:23:28.531Z] [2021-06-17T18:23:28.531Z] Login Succeeded [2021-06-17T18:23:28.531Z] nexus3.edgexfoundry.org:10004 [2021-06-17T18:23:28.730Z] Removing intermediate container 0564abdc0145 [2021-06-17T18:23:28.731Z] ---> 593de8cbc618 [2021-06-17T18:23:28.731Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:23:28.731Z] ---> Running in d3b39f7386dc [2021-06-17T18:23:28.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:23:29.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:23:29.080Z] Configure a credential helper to remove this warning. See [2021-06-17T18:23:29.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:23:29.080Z] [2021-06-17T18:23:29.080Z] Login Succeeded [2021-06-17T18:23:29.080Z] docker.io [2021-06-17T18:23:29.304Z] Removing intermediate container d3b39f7386dc [2021-06-17T18:23:29.304Z] ---> c5429d2ac1ff [2021-06-17T18:23:29.304Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:23:29.304Z] ---> Running in 307190307e9b [2021-06-17T18:23:29.304Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:23:29.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T18:23:29.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T18:23:29.970Z] Configure a credential helper to remove this warning. See [2021-06-17T18:23:29.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T18:23:29.970Z] [2021-06-17T18:23:29.970Z] Login Succeeded [2021-06-17T18:23:29.970Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T18:23:30.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-06-17T18:23:30.255Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [Pipeline] echo [2021-06-17T18:23:30.470Z] ========================================================= [2021-06-17T18:23:30.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-17T18:23:30.471Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:23:30.830Z] OK: 156 MiB in 53 packages [2021-06-17T18:23:30.831Z] Removing intermediate container 307190307e9b [2021-06-17T18:23:30.831Z] ---> 484349fc1519 [2021-06-17T18:23:30.831Z] Step 8/26 : COPY . . [2021-06-17T18:23:30.870Z] + 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 . [2021-06-17T18:23:31.415Z] ---> 6dd2ada4bb20 [2021-06-17T18:23:31.415Z] Step 9/26 : RUN go mod tidy [2021-06-17T18:23:31.415Z] ---> Running in ba2892fe823e [2021-06-17T18:23:31.486Z] Sending build context to Docker daemon 8.618MB [2021-06-17T18:23:31.486Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:23:31.486Z] Step 2/8 : FROM ${BASE} [2021-06-17T18:23:31.766Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-17T18:23:31.766Z] 595b0fe564bb: Pulling fs layer [2021-06-17T18:23:31.766Z] 3088b5b3c5c0: Pulling fs layer [2021-06-17T18:23:31.766Z] 5b7225fbf94c: Pulling fs layer [2021-06-17T18:23:31.766Z] ba82ee9f976e: Pulling fs layer [2021-06-17T18:23:31.766Z] 506bd15cee9f: Pulling fs layer [2021-06-17T18:23:31.766Z] 75a0a4a0db45: Pulling fs layer [2021-06-17T18:23:31.766Z] 618dc40b7e24: Pulling fs layer [2021-06-17T18:23:31.766Z] 75a0a4a0db45: Waiting [2021-06-17T18:23:31.766Z] ba82ee9f976e: Waiting [2021-06-17T18:23:31.766Z] 506bd15cee9f: Waiting [2021-06-17T18:23:31.766Z] 5b7225fbf94c: Verifying Checksum [2021-06-17T18:23:31.766Z] 5b7225fbf94c: Download complete [2021-06-17T18:23:31.766Z] 3088b5b3c5c0: Verifying Checksum [2021-06-17T18:23:31.766Z] 3088b5b3c5c0: Download complete [2021-06-17T18:23:31.766Z] 506bd15cee9f: Verifying Checksum [2021-06-17T18:23:31.766Z] 506bd15cee9f: Download complete [2021-06-17T18:23:31.766Z] 75a0a4a0db45: Download complete [2021-06-17T18:23:31.766Z] 595b0fe564bb: Download complete [2021-06-17T18:23:32.007Z] Removing intermediate container ba2892fe823e [2021-06-17T18:23:32.007Z] ---> 7958e2532221 [2021-06-17T18:23:32.007Z] Step 10/26 : RUN go mod download [2021-06-17T18:23:32.007Z] ---> Running in fc546051101b [2021-06-17T18:23:32.587Z] Removing intermediate container fc546051101b [2021-06-17T18:23:32.587Z] ---> fee6cab7215c [2021-06-17T18:23:32.587Z] Step 11/26 : ARG MAKE='make build' [2021-06-17T18:23:32.587Z] ---> Running in 4caffeb6ee73 [2021-06-17T18:23:32.587Z] Removing intermediate container 4caffeb6ee73 [2021-06-17T18:23:32.587Z] ---> d636a15c7643 [2021-06-17T18:23:32.587Z] Step 12/26 : RUN $MAKE [2021-06-17T18:23:32.587Z] ---> Running in 724e56765b70 [2021-06-17T18:23:32.765Z] 595b0fe564bb: Pull complete [2021-06-17T18:23:32.855Z] go mod tidy [2021-06-17T18:23:33.047Z] 3088b5b3c5c0: Pull complete [2021-06-17T18:23:33.121Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-06-17T18:23:33.651Z] 5b7225fbf94c: Pull complete [2021-06-17T18:23:33.925Z] 618dc40b7e24: Verifying Checksum [2021-06-17T18:23:33.925Z] 618dc40b7e24: Download complete [2021-06-17T18:23:36.570Z] ba82ee9f976e: Verifying Checksum [2021-06-17T18:23:36.570Z] ba82ee9f976e: Download complete [2021-06-17T18:23:46.789Z] ba82ee9f976e: Pull complete [2021-06-17T18:23:46.789Z] 506bd15cee9f: Pull complete [2021-06-17T18:23:46.789Z] 75a0a4a0db45: Pull complete [2021-06-17T18:23:48.167Z] Removing intermediate container 724e56765b70 [2021-06-17T18:23:48.168Z] ---> e32f08f621a4 [2021-06-17T18:23:48.168Z] Step 13/26 : FROM alpine:3.12 [2021-06-17T18:23:48.761Z] 3.12: Pulling from library/alpine [2021-06-17T18:23:48.761Z] 339de151aab4: Pulling fs layer [2021-06-17T18:23:49.030Z] 339de151aab4: Verifying Checksum [2021-06-17T18:23:49.031Z] 339de151aab4: Download complete [2021-06-17T18:23:49.293Z] 339de151aab4: Pull complete [2021-06-17T18:23:49.293Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T18:23:49.293Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T18:23:49.293Z] ---> 13621d1b12d4 [2021-06-17T18:23:49.293Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-17T18:23:49.293Z] ---> Running in 7afc9282bc36 [2021-06-17T18:23:49.293Z] Removing intermediate container 7afc9282bc36 [2021-06-17T18:23:49.293Z] ---> e763098548d4 [2021-06-17T18:23:49.293Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:23:49.293Z] ---> Running in 1b67c990cf5a [2021-06-17T18:23:49.868Z] Removing intermediate container 1b67c990cf5a [2021-06-17T18:23:49.868Z] ---> 24c68b82cf8e [2021-06-17T18:23:49.868Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T18:23:49.868Z] ---> Running in 3335fc189998 [2021-06-17T18:23:50.135Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-17T18:23:51.163Z] 618dc40b7e24: Pull complete [2021-06-17T18:23:51.163Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-17T18:23:51.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-17T18:23:51.163Z] ---> a36622ca3599 [2021-06-17T18:23:51.163Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-06-17T18:23:51.525Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-17T18:23:53.239Z] ---> Running in b4add0730915 [2021-06-17T18:23:53.513Z] Removing intermediate container b4add0730915 [2021-06-17T18:23:53.513Z] ---> f58ae44decd4 [2021-06-17T18:23:53.513Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:23:53.792Z] ---> Running in 7690f0fd4175 [2021-06-17T18:23:54.838Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T18:23:54.838Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T18:23:54.838Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T18:23:55.100Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T18:23:56.428Z] Removing intermediate container 7690f0fd4175 [2021-06-17T18:23:56.428Z] ---> 5c047fda1ccb [2021-06-17T18:23:56.428Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-06-17T18:23:56.428Z] ---> Running in e3f1388f4059 [2021-06-17T18:23:56.486Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T18:23:56.750Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T18:23:56.750Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T18:23:56.750Z] OK: 8 MiB in 20 packages [2021-06-17T18:23:57.013Z] Removing intermediate container 3335fc189998 [2021-06-17T18:23:57.013Z] ---> 62a2f2de0fd4 [2021-06-17T18:23:57.013Z] Step 17/26 : WORKDIR / [2021-06-17T18:23:57.013Z] ---> Running in 9008054737ea [2021-06-17T18:23:57.275Z] Removing intermediate container 9008054737ea [2021-06-17T18:23:57.275Z] ---> ef82f4429235 [2021-06-17T18:23:57.275Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-17T18:23:57.275Z] ---> b414b51a07a0 [2021-06-17T18:23:57.275Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-17T18:23:57.547Z] ---> f743d280be0f [2021-06-17T18:23:57.547Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-17T18:23:57.810Z] ---> 958cdad1483c [2021-06-17T18:23:57.810Z] Step 21/26 : EXPOSE 59900 [2021-06-17T18:23:57.810Z] ---> Running in a90710bf3208 [2021-06-17T18:23:57.880Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:23:58.072Z] Removing intermediate container a90710bf3208 [2021-06-17T18:23:58.072Z] ---> fdb2de39d83d [2021-06-17T18:23:58.072Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-17T18:23:58.072Z] ---> Running in ba875edc8ee3 [2021-06-17T18:23:58.072Z] Removing intermediate container ba875edc8ee3 [2021-06-17T18:23:58.072Z] ---> 051fda7efa51 [2021-06-17T18:23:58.072Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-17T18:23:58.072Z] ---> Running in 7701fecfa0e9 [2021-06-17T18:23:58.072Z] Removing intermediate container 7701fecfa0e9 [2021-06-17T18:23:58.072Z] ---> 86cecd8addd5 [2021-06-17T18:23:58.072Z] Step 24/26 : LABEL arch=amd64 [2021-06-17T18:23:58.072Z] ---> Running in 1b6bc3c6b5f1 [2021-06-17T18:23:58.337Z] Removing intermediate container 1b6bc3c6b5f1 [2021-06-17T18:23:58.337Z] ---> 83bee2086803 [2021-06-17T18:23:58.337Z] Step 25/26 : LABEL git_sha=dee740d0c6712039b542b0a282df6e8aa80d14bf [2021-06-17T18:23:58.337Z] ---> Running in f522bd913f94 [2021-06-17T18:23:58.337Z] Removing intermediate container f522bd913f94 [2021-06-17T18:23:58.337Z] ---> 83ba236f1642 [2021-06-17T18:23:58.337Z] Step 26/26 : LABEL version=0.0.0 [2021-06-17T18:23:58.337Z] ---> Running in 2f577612fa8f [2021-06-17T18:23:58.337Z] Removing intermediate container 2f577612fa8f [2021-06-17T18:23:58.337Z] ---> b867716569e9 [2021-06-17T18:23:58.337Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T18:23:58.337Z] Successfully built b867716569e9 [2021-06-17T18:23:58.337Z] 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 [2021-06-17T18:23:58.868Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:23:59.415Z] ---> job-cost.sh [2021-06-17T18:23:59.415Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-S4Qe [2021-06-17T18:23:59.461Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-06-17T18:23:59.731Z] (2/13) Installing libsodium (1.0.18-r0) [2021-06-17T18:23:59.731Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-06-17T18:23:59.731Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-06-17T18:24:00.007Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T18:24:00.007Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-06-17T18:24:00.280Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-06-17T18:24:00.550Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-06-17T18:24:00.550Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-06-17T18:24:00.550Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-06-17T18:24:00.824Z] (11/13) Installing openssh (8.4_p1-r3) [2021-06-17T18:24:00.824Z] (12/13) Installing libzmq (4.3.3-r1) [2021-06-17T18:24:01.096Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-06-17T18:24:01.096Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T18:24:01.096Z] OK: 145 MiB in 53 packages [2021-06-17T18:24:02.559Z] Removing intermediate container e3f1388f4059 [2021-06-17T18:24:02.559Z] ---> faf96b99726a [2021-06-17T18:24:02.559Z] Step 6/8 : WORKDIR /device-virtual-go [2021-06-17T18:24:02.842Z] ---> Running in 865ab21218a1 [2021-06-17T18:24:03.444Z] Removing intermediate container 865ab21218a1 [2021-06-17T18:24:03.444Z] ---> 32f493ff07be [2021-06-17T18:24:03.444Z] Step 7/8 : COPY . . [2021-06-17T18:24:04.453Z] ---> e8858989771e [2021-06-17T18:24:04.453Z] Step 8/8 : RUN go mod download [2021-06-17T18:24:04.730Z] ---> Running in f957693d9a6d [2021-06-17T18:24:09.469Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T18:24:21.732Z] lf-activate-venv(): INFO: Adding /tmp/venv-S4Qe/bin to PATH [2021-06-17T18:24:21.732Z] INFO: No Stack... [2021-06-17T18:24:21.732Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T18:24:22.314Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T18:24:22.651Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2021-06-17T18:24:22.652Z] + cut -d, -f6 [Pipeline] lock [2021-06-17T18:24:22.710Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] [2021-06-17T18:24:22.715Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] did not exist. Created. [2021-06-17T18:24:22.715Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T18:24:23.219Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-17T18:24:23.328Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T18:24:23.349Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-17T18:24:31.561Z] Removing intermediate container f957693d9a6d [2021-06-17T18:24:31.561Z] ---> f0b459371067 [2021-06-17T18:24:31.561Z] Successfully built f0b459371067 [2021-06-17T18:24:31.561Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:24:31.949Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T18:24:31.949Z] . [Pipeline] withDockerContainer [2021-06-17T18:24:32.350Z] prd-ubuntu18.04-docker-arm64-4c-16g-43 does not seem to be running inside a container [2021-06-17T18:24:32.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-arm64 cat [2021-06-17T18:24:34.069Z] $ docker top e12a38cf6e4c83a1f3f2d4cb450e2db8d81077712c692da7c9f33f0e05ec963a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:24:35.171Z] + go version [2021-06-17T18:24:35.171Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-17T18:24:35.212Z] $ docker stop --time=1 e12a38cf6e4c83a1f3f2d4cb450e2db8d81077712c692da7c9f33f0e05ec963a [2021-06-17T18:24:37.098Z] $ docker rm -f e12a38cf6e4c83a1f3f2d4cb450e2db8d81077712c692da7c9f33f0e05ec963a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:24:38.251Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T18:24:38.251Z] . [Pipeline] withDockerContainer [2021-06-17T18:24:38.578Z] prd-ubuntu18.04-docker-arm64-4c-16g-43 does not seem to be running inside a container [2021-06-17T18:24:38.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** ci-base-image-arm64 cat [2021-06-17T18:24:40.422Z] $ docker top 1734add7727bcc0d8d11b7fe7d87d63f41b56d4e168b2f595af3e1cd242ce4d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:24:41.493Z] + go mod tidy [Pipeline] sh [2021-06-17T18:24:42.783Z] + make test [2021-06-17T18:24:42.783Z] go mod tidy [2021-06-17T18:24:43.390Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-06-17T18:24:44.839Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-06-17T18:25:52.947Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-06-17T18:25:52.947Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.878s coverage: 63.8% of statements [2021-06-17T18:25:52.947Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T18:26:19.782Z] gofmt -l . [2021-06-17T18:26:19.782Z] [ "`gofmt -l .`" = "" ] [2021-06-17T18:26:19.782Z] ./bin/test-attribution-txt.sh [2021-06-17T18:26:19.782Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-17T18:26:19.816Z] $ docker stop --time=1 1734add7727bcc0d8d11b7fe7d87d63f41b56d4e168b2f595af3e1cd242ce4d7 [2021-06-17T18:26:21.767Z] $ docker rm -f 1734add7727bcc0d8d11b7fe7d87d63f41b56d4e168b2f595af3e1cd242ce4d7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T18:26:22.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T18:26:22.772Z] Warning: overwriting stash ‘coverage-report’ [2021-06-17T18:26:23.333Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T18:26:24.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T18:26:24.440Z] + ls -al . [2021-06-17T18:26:24.440Z] total 156 [2021-06-17T18:26:24.440Z] drwxrwxr-x 7 jenkins jenkins 4096 Jun 17 18:26 . [2021-06-17T18:26:24.440Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 18:22 .. [2021-06-17T18:26:24.440Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 18:23 .git [2021-06-17T18:26:24.440Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:22 .github [2021-06-17T18:26:24.440Z] -rw-rw-r-- 1 jenkins jenkins 277 Jun 17 18:22 .gitignore [2021-06-17T18:26:24.440Z] -rw-rw-r-- 1 jenkins jenkins 8153 Jun 17 18:22 Attribution.txt [2021-06-17T18:26:24.440Z] -rw-rw-r-- 1 jenkins jenkins 1921 Jun 17 18:22 Dockerfile [2021-06-17T18:26:24.440Z] -rw-rw-r-- 1 jenkins jenkins 998 Jun 17 18:22 Dockerfile.build [2021-06-17T18:26:24.440Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 18:22 Jenkinsfile [2021-06-17T18:26:24.440Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 18:22 LICENSE [2021-06-17T18:26:24.440Z] -rw-rw-r-- 1 jenkins jenkins 905 Jun 17 18:22 Makefile [2021-06-17T18:26:24.440Z] -rw-rw-r-- 1 jenkins jenkins 2745 Jun 17 18:22 README.md [2021-06-17T18:26:24.440Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 18:19 VERSION [2021-06-17T18:26:24.440Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 18:22 bin [2021-06-17T18:26:24.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:22 cmd [2021-06-17T18:26:24.440Z] -rw-r--r-- 1 jenkins jenkins 47257 Jun 17 18:25 coverage.out [2021-06-17T18:26:24.440Z] -rw-r--r-- 1 jenkins jenkins 810 Jun 17 18:26 go.mod [2021-06-17T18:26:24.440Z] -rw-r--r-- 1 jenkins jenkins 23031 Jun 17 18:24 go.sum [2021-06-17T18:26:24.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 18:22 internal [2021-06-17T18:26:24.440Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 18:22 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:26:24.814Z] + 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=dee740d0c6712039b542b0a282df6e8aa80d14bf --label arch=arm64 --label version=0.0.0 . [2021-06-17T18:26:25.412Z] Sending build context to Docker daemon 8.69MB [2021-06-17T18:26:25.412Z] Step 1/26 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T18:26:25.412Z] Step 2/26 : FROM ${BASE} AS builder [2021-06-17T18:26:25.412Z] ---> f0b459371067 [2021-06-17T18:26:25.412Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T18:26:25.412Z] ---> Running in 6a1c1707e325 [2021-06-17T18:26:26.009Z] Removing intermediate container 6a1c1707e325 [2021-06-17T18:26:26.010Z] ---> 6a839f5ac5e4 [2021-06-17T18:26:26.010Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T18:26:26.010Z] ---> Running in 12ec377da7a3 [2021-06-17T18:26:26.606Z] Removing intermediate container 12ec377da7a3 [2021-06-17T18:26:26.606Z] ---> b2ff97756b91 [2021-06-17T18:26:26.606Z] Step 5/26 : WORKDIR /device-virtual-go [2021-06-17T18:26:26.606Z] ---> Running in 8d5872d60c0d [2021-06-17T18:26:27.203Z] Removing intermediate container 8d5872d60c0d [2021-06-17T18:26:27.203Z] ---> 335d9702d251 [2021-06-17T18:26:27.203Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:26:27.474Z] ---> Running in e84127e30d15 [2021-06-17T18:26:29.455Z] Removing intermediate container e84127e30d15 [2021-06-17T18:26:29.455Z] ---> 3a7ce5220e1e [2021-06-17T18:26:29.455Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T18:26:29.455Z] ---> Running in 89b383246e41 [2021-06-17T18:26:30.887Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:26:31.865Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T18:26:32.865Z] OK: 145 MiB in 53 packages [2021-06-17T18:26:33.866Z] Removing intermediate container 89b383246e41 [2021-06-17T18:26:33.866Z] ---> 8ddfeaf350ea [2021-06-17T18:26:33.866Z] Step 8/26 : COPY . . [2021-06-17T18:26:35.294Z] ---> 2ebaf0714eb3 [2021-06-17T18:26:35.294Z] Step 9/26 : RUN go mod tidy [2021-06-17T18:26:35.294Z] ---> Running in e696c46175d6 [2021-06-17T18:26:37.911Z] Removing intermediate container e696c46175d6 [2021-06-17T18:26:37.911Z] ---> 58222aaf9a25 [2021-06-17T18:26:37.911Z] Step 10/26 : RUN go mod download [2021-06-17T18:26:38.182Z] ---> Running in 40eb72254bc5 [2021-06-17T18:26:40.811Z] Removing intermediate container 40eb72254bc5 [2021-06-17T18:26:40.811Z] ---> af3569d8d1fc [2021-06-17T18:26:40.811Z] Step 11/26 : ARG MAKE='make build' [2021-06-17T18:26:40.811Z] ---> Running in d6e10047e565 [2021-06-17T18:26:41.084Z] Removing intermediate container d6e10047e565 [2021-06-17T18:26:41.084Z] ---> c79ab0c9c9ad [2021-06-17T18:26:41.084Z] Step 12/26 : RUN $MAKE [2021-06-17T18:26:41.373Z] ---> Running in 96434e0ceea2 [2021-06-17T18:26:42.422Z] go mod tidy [2021-06-17T18:26:43.466Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2021-06-17T18:27:40.089Z] Removing intermediate container 96434e0ceea2 [2021-06-17T18:27:40.089Z] ---> 8c8d76124ef7 [2021-06-17T18:27:40.089Z] Step 13/26 : FROM alpine:3.12 [2021-06-17T18:27:40.089Z] 3.12: Pulling from library/alpine [2021-06-17T18:27:40.089Z] d2f70382dc9a: Pulling fs layer [2021-06-17T18:27:40.089Z] d2f70382dc9a: Verifying Checksum [2021-06-17T18:27:40.089Z] d2f70382dc9a: Download complete [2021-06-17T18:27:40.089Z] d2f70382dc9a: Pull complete [2021-06-17T18:27:40.089Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T18:27:40.089Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T18:27:40.089Z] ---> c4fd0aeabfcf [2021-06-17T18:27:40.089Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-06-17T18:27:40.089Z] ---> Running in 75ef05022ad4 [2021-06-17T18:27:40.089Z] Removing intermediate container 75ef05022ad4 [2021-06-17T18:27:40.089Z] ---> 272c2ce0a47a [2021-06-17T18:27:40.089Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T18:27:40.089Z] ---> Running in 6535d1e57948 [2021-06-17T18:27:41.534Z] Removing intermediate container 6535d1e57948 [2021-06-17T18:27:41.534Z] ---> 695ea06121ec [2021-06-17T18:27:41.534Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T18:27:41.534Z] ---> Running in e2a2cadf23cd [2021-06-17T18:27:42.977Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-17T18:27:43.594Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-17T18:27:44.203Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T18:27:44.476Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T18:27:44.476Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T18:27:44.476Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T18:27:45.076Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T18:27:45.076Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T18:27:45.076Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T18:27:45.076Z] OK: 8 MiB in 20 packages [2021-06-17T18:27:46.521Z] Removing intermediate container e2a2cadf23cd [2021-06-17T18:27:46.521Z] ---> bd325f427121 [2021-06-17T18:27:46.521Z] Step 17/26 : WORKDIR / [2021-06-17T18:27:46.795Z] ---> Running in c8db09d838d8 [2021-06-17T18:27:47.395Z] Removing intermediate container c8db09d838d8 [2021-06-17T18:27:47.395Z] ---> 3a09baec58b6 [2021-06-17T18:27:47.395Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-06-17T18:27:48.376Z] ---> e2f3534d2b5c [2021-06-17T18:27:48.376Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2021-06-17T18:27:48.973Z] ---> 65668459f5b7 [2021-06-17T18:27:48.973Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2021-06-17T18:27:50.402Z] ---> 2ceeb1cb3813 [2021-06-17T18:27:50.402Z] Step 21/26 : EXPOSE 59900 [2021-06-17T18:27:50.675Z] ---> Running in aa659b334f81 [2021-06-17T18:27:51.276Z] Removing intermediate container aa659b334f81 [2021-06-17T18:27:51.276Z] ---> e93c048803ac [2021-06-17T18:27:51.276Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2021-06-17T18:27:51.276Z] ---> Running in 23676f9dc83c [2021-06-17T18:27:51.872Z] Removing intermediate container 23676f9dc83c [2021-06-17T18:27:51.872Z] ---> a46d864d3f1d [2021-06-17T18:27:51.872Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-17T18:27:51.872Z] ---> Running in fcf35e07968b [2021-06-17T18:27:52.467Z] Removing intermediate container fcf35e07968b [2021-06-17T18:27:52.467Z] ---> 7558a9e0d757 [2021-06-17T18:27:52.467Z] Step 24/26 : LABEL arch=arm64 [2021-06-17T18:27:52.467Z] ---> Running in 1811ddf32edf [2021-06-17T18:27:53.067Z] Removing intermediate container 1811ddf32edf [2021-06-17T18:27:53.067Z] ---> 8768255ea549 [2021-06-17T18:27:53.067Z] Step 25/26 : LABEL git_sha=dee740d0c6712039b542b0a282df6e8aa80d14bf [2021-06-17T18:27:53.347Z] ---> Running in 23d226b8c330 [2021-06-17T18:27:53.941Z] Removing intermediate container 23d226b8c330 [2021-06-17T18:27:53.941Z] ---> 695eae8ebc4e [2021-06-17T18:27:53.941Z] Step 26/26 : LABEL version=0.0.0 [2021-06-17T18:27:53.941Z] ---> Running in 63e6246cfe87 [2021-06-17T18:27:54.541Z] Removing intermediate container 63e6246cfe87 [2021-06-17T18:27:54.541Z] ---> 5283f9ef78ab [2021-06-17T18:27:54.541Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T18:27:54.541Z] Successfully built 5283f9ef78ab [2021-06-17T18:27:54.541Z] 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 [2021-06-17T18:27:55.384Z] ---> job-cost.sh [2021-06-17T18:27:55.384Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-E20x [2021-06-17T18:28:51.903Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T18:30:28.666Z] lf-activate-venv(): INFO: Adding /tmp/venv-E20x/bin to PATH [2021-06-17T18:30:28.666Z] INFO: No Stack... [2021-06-17T18:30:28.667Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-17T18:30:28.667Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T18:30:29.051Z] + cut -d, -f6 [2021-06-17T18:30:29.051Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [Pipeline] lock [2021-06-17T18:30:29.142Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] [2021-06-17T18:30:29.148Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] did not exist. Created. [2021-06-17T18:30:29.148Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-224-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T18:30:29.614Z] /w/workspace/device-virtual-go/2@tmp/durable-8e99a9e3/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-8e99a9e3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-17T18:30:29.998Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-17T18:30:30.038Z] Warning: overwriting stash ‘stack-cost’ [2021-06-17T18:30:30.196Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T18:30:30.217Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-224-2-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 [2021-06-17T18:30:31.335Z] provisioning config files... [2021-06-17T18:30:31.348Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-224@tmp/config5026792213940691832tmp [Pipeline] { [Pipeline] sh [2021-06-17T18:30:31.712Z] + set +x [2021-06-17T18:30:31.713Z] + bash -s -- [2021-06-17T18:30:31.713Z] + curl -s https://codecov.io/bash [2021-06-17T18:30:31.713Z] [2021-06-17T18:30:31.713Z] _____ _ [2021-06-17T18:30:31.713Z] / ____| | | [2021-06-17T18:30:31.713Z] | | ___ __| | ___ ___ _____ __ [2021-06-17T18:30:31.713Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-17T18:30:31.713Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-17T18:30:31.713Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-17T18:30:31.713Z] Bash-1.0.3 [2021-06-17T18:30:31.713Z] [2021-06-17T18:30:31.713Z] [2021-06-17T18:30:31.713Z] ==> git version 2.24.4 found [2021-06-17T18:30:31.713Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-17T18:30:31.713Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-17T18:30:31.713Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-17T18:30:31.713Z] ==> Jenkins CI detected. [2021-06-17T18:30:31.713Z] project root: . [2021-06-17T18:30:31.713Z] --> token set from env [2021-06-17T18:30:31.713Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-17T18:30:31.713Z] ==> Running gcov in . (disable via -X gcov) [2021-06-17T18:30:31.713Z] ==> Python coveragepy not found [2021-06-17T18:30:31.713Z] ==> Searching for coverage reports in: [2021-06-17T18:30:31.713Z] + . [2021-06-17T18:30:31.713Z] -> Found 1 reports [2021-06-17T18:30:31.713Z] ==> Detecting git/mercurial file structure [2021-06-17T18:30:31.713Z] ==> Reading reports [2021-06-17T18:30:31.713Z] + ./coverage.out bytes=47257 [2021-06-17T18:30:31.713Z] ==> Appending adjustments [2021-06-17T18:30:31.713Z] https://docs.codecov.io/docs/fixing-reports [2021-06-17T18:30:31.980Z] + Found adjustments [2021-06-17T18:30:31.980Z] ==> Gzipping contents [2021-06-17T18:30:31.980Z] 8.0K /tmp/codecov.lDeZt3.gz [2021-06-17T18:30:31.980Z] ==> Uploading reports [2021-06-17T18:30:31.980Z] url: https://codecov.io [2021-06-17T18:30:31.980Z] query: branch=PR-224&commit=dee740d0c6712039b542b0a282df6e8aa80d14bf&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-224%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=224&job=&cmd_args= [2021-06-17T18:30:31.980Z] -> Pinging Codecov [2021-06-17T18:30:31.980Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-224&commit=dee740d0c6712039b542b0a282df6e8aa80d14bf&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-224%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=224&job=&cmd_args= [2021-06-17T18:30:32.551Z] -> Uploading to [2021-06-17T18:30:32.551Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-17/5E52B4B073DB2E39498172D8E973AA87/dee740d0c6712039b542b0a282df6e8aa80d14bf/c89ee182-7a58-4e6e-af4f-3b5961fb89a1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210617T183032Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e279b9e278fc4f05c844cda7c2cc6ddb08c1aacb064fb2f971dee9706b60389 [2021-06-17T18:30:32.551Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-17T18:30:32.551Z] Dload Upload Total Spent Left Speed [2021-06-17T18:30:32.812Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5781 0 0 100 5781 0 18210 --:--:-- --:--:-- --:--:-- 18179 [2021-06-17T18:30:32.812Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/dee740d0c6712039b542b0a282df6e8aa80d14bf [Pipeline] } [2021-06-17T18:30:32.837Z] 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 [2021-06-17T18:30:35.651Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:30:36.257Z] ---> package-listing.sh [2021-06-17T18:30:36.257Z] ++ facter osfamily [2021-06-17T18:30:36.257Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-17T18:30:36.525Z] + OS_FAMILY=redhat [2021-06-17T18:30:36.525Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-224 [2021-06-17T18:30:36.525Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-17T18:30:36.525Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-17T18:30:36.525Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-17T18:30:36.525Z] + PACKAGES=/tmp/packages_start.txt [2021-06-17T18:30:36.525Z] + '[' /w/workspace/foundry_device-virtual-go_PR-224 ']' [2021-06-17T18:30:36.525Z] + PACKAGES=/tmp/packages_end.txt [2021-06-17T18:30:36.525Z] + case "${OS_FAMILY}" in [2021-06-17T18:30:36.525Z] + rpm -qa [2021-06-17T18:30:36.525Z] + sort [2021-06-17T18:30:37.103Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-17T18:30:37.103Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-17T18:30:37.103Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-17T18:30:37.103Z] + '[' /w/workspace/foundry_device-virtual-go_PR-224 ']' [2021-06-17T18:30:37.103Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-224/archives/ [2021-06-17T18:30:37.103Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-224/archives/ [Pipeline] echo [2021-06-17T18:30:37.135Z] 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-224/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-17T18:30:37.440Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:30:38.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:30:38.045Z] [2021-06-17T18:30:38.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-17T18:30:38.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:30:38.409Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-17T18:30:38.409Z] df20fa9351a1: Pulling fs layer [2021-06-17T18:30:38.409Z] 36b3adc4ff6f: Pulling fs layer [2021-06-17T18:30:38.409Z] 8ad3a11d3b57: Pulling fs layer [2021-06-17T18:30:38.409Z] 46f8f816bc3b: Pulling fs layer [2021-06-17T18:30:38.409Z] 93b61091891f: Pulling fs layer [2021-06-17T18:30:38.409Z] 93b9cdb0e59b: Pulling fs layer [2021-06-17T18:30:38.409Z] 5e14af77c1be: Pulling fs layer [2021-06-17T18:30:38.409Z] 01666e4c0597: Pulling fs layer [2021-06-17T18:30:38.409Z] aa168da1d23b: Pulling fs layer [2021-06-17T18:30:38.409Z] 93b9cdb0e59b: Waiting [2021-06-17T18:30:38.409Z] 5e14af77c1be: Waiting [2021-06-17T18:30:38.409Z] 01666e4c0597: Waiting [2021-06-17T18:30:38.409Z] aa168da1d23b: Waiting [2021-06-17T18:30:38.409Z] 46f8f816bc3b: Waiting [2021-06-17T18:30:38.409Z] 93b61091891f: Waiting [2021-06-17T18:30:38.409Z] 36b3adc4ff6f: Verifying Checksum [2021-06-17T18:30:38.409Z] 36b3adc4ff6f: Download complete [2021-06-17T18:30:38.409Z] 46f8f816bc3b: Verifying Checksum [2021-06-17T18:30:38.409Z] 46f8f816bc3b: Download complete [2021-06-17T18:30:38.409Z] df20fa9351a1: Verifying Checksum [2021-06-17T18:30:38.409Z] df20fa9351a1: Download complete [2021-06-17T18:30:38.409Z] 93b9cdb0e59b: Verifying Checksum [2021-06-17T18:30:38.409Z] 93b9cdb0e59b: Download complete [2021-06-17T18:30:38.409Z] 5e14af77c1be: Verifying Checksum [2021-06-17T18:30:38.409Z] 5e14af77c1be: Download complete [2021-06-17T18:30:38.674Z] 93b61091891f: Verifying Checksum [2021-06-17T18:30:38.674Z] 01666e4c0597: Verifying Checksum [2021-06-17T18:30:38.674Z] 01666e4c0597: Download complete [2021-06-17T18:30:38.674Z] 93b61091891f: Download complete [2021-06-17T18:30:38.674Z] df20fa9351a1: Pull complete [2021-06-17T18:30:38.674Z] 8ad3a11d3b57: Verifying Checksum [2021-06-17T18:30:38.674Z] 8ad3a11d3b57: Download complete [2021-06-17T18:30:38.940Z] 36b3adc4ff6f: Pull complete [2021-06-17T18:30:39.519Z] 8ad3a11d3b57: Pull complete [2021-06-17T18:30:39.519Z] 46f8f816bc3b: Pull complete [2021-06-17T18:30:39.780Z] 93b61091891f: Pull complete [2021-06-17T18:30:39.780Z] 93b9cdb0e59b: Pull complete [2021-06-17T18:30:39.780Z] 5e14af77c1be: Pull complete [2021-06-17T18:30:40.042Z] 01666e4c0597: Pull complete [2021-06-17T18:30:40.306Z] aa168da1d23b: Verifying Checksum [2021-06-17T18:30:40.306Z] aa168da1d23b: Download complete [2021-06-17T18:30:44.542Z] aa168da1d23b: Pull complete [2021-06-17T18:30:44.542Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-17T18:30:44.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T18:30:44.542Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-17T18:30:44.647Z] prd-centos7-docker-4c-2g-37 does not seem to be running inside a container [2021-06-17T18:30:44.688Z] $ 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-224/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-224 -v /w/workspace/foundry_device-virtual-go_PR-224:/w/workspace/foundry_device-virtual-go_PR-224:rw,z -v /w/workspace/foundry_device-virtual-go_PR-224@tmp:/w/workspace/foundry_device-virtual-go_PR-224@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:10003/edgex-lftools-log-publisher:alpine cat [2021-06-17T18:30:47.161Z] $ docker top 62065b5e08ce94ee2bc52cc027336f4270aede0c627acb84dadf188dba3ebc2c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T18:30:47.600Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-17T18:30:47.926Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-17T18:30:48.245Z] + ls /var/log/sa-host [2021-06-17T18:30:48.245Z] + sadf -c /var/log/sa-host/sa05 [2021-06-17T18:30:48.245Z] file_magic: OK [2021-06-17T18:30:48.245Z] HZ: Using current value: 100 [2021-06-17T18:30:48.245Z] file_header: OK [2021-06-17T18:30:48.245Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-17T18:30:48.245Z] Statistics: [2021-06-17T18:30:48.245Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-17T18:30:48.245Z] File successfully converted to sysstat format version 12.2.1 [2021-06-17T18:30:48.245Z] + sadf -c /var/log/sa-host/sa17 [2021-06-17T18:30:48.245Z] file_magic: OK [2021-06-17T18:30:48.245Z] HZ: Using current value: 100 [2021-06-17T18:30:48.245Z] file_header: OK [2021-06-17T18:30:48.245Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-17T18:30:48.245Z] Statistics: [2021-06-17T18:30:48.245Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-17T18:30:48.245Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T18:30:48.521Z] provisioning config files... [2021-06-17T18:30:48.608Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-224@tmp/config900232540327348555tmp [Pipeline] { [Pipeline] echo [2021-06-17T18:30:48.681Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:30:49.014Z] ---> create-netrc.sh [Pipeline] } [2021-06-17T18:30:49.038Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:30:49.498Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-17T18:30:49.532Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:30:49.866Z] ---> sudo-logs.sh [2021-06-17T18:30:49.866Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-17T18:30:49.968Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:30:50.299Z] ---> job-cost.sh [2021-06-17T18:30:50.299Z] lf-activate-venv: SKIPPING [2021-06-17T18:30:50.299Z] DEBUG: total: 0.18000000715255737 [2021-06-17T18:30:50.299Z] INFO: Retrieving Stack Cost... [2021-06-17T18:30:51.250Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T18:30:51.517Z] INFO: Archiving Costs [Pipeline] echo [2021-06-17T18:30:51.549Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T18:30:51.891Z] ---> logs-deploy.sh [2021-06-17T18:30:51.891Z] lf-activate-venv: SKIPPING [2021-06-17T18:30:51.891Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-224/2 [2021-06-17T18:30:51.891Z] INFO: archiving workspace using pattern(s): [2021-06-17T18:30:52.839Z] Archives upload complete. [2021-06-17T18:30:52.840Z] INFO: archiving logs to Nexus