Pull request #204 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 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5+3b22e0480bd67233e1fe9d34879779676ed28d7e (9456d1c7655b908acce6c761b6fc844abd1c49c5) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5218293306426829676.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7527138921934380374.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-204/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-204/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1337912718664469561.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3695698366278796782.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-204/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-204/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3401196274947388474.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-356 in /w/workspace/foundry_device-virtual-go_PR-204 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-204 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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-204@tmp/jenkins-gitclient-ssh6197741411256115083.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-204@tmp/jenkins-gitclient-ssh7921306167578574628.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 Merge succeeded, producing 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 Checking out Revision 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 (PR-204) > git config core.sparsecheckout # timeout=10 > git checkout -f 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 # 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-204@tmp/jenkins-gitclient-ssh3575979616652387159.key > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 # timeout=10 Commit message: "fix: Set UseMessageBus back to false" > git rev-list --no-walk 8b6e00b368922ca9621b357ada8dcf15eea9482f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-17T15:12:18.883Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-17T15:12:18.976Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-17T15:12:19.003Z] ========================================================= [2021-05-17T15:12:19.003Z] EdgeX Global Pipelines Version Info [2021-05-17T15:12:19.003Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:12:20.482Z] ------------------- [2021-05-17T15:12:20.482Z] stable info: [2021-05-17T15:12:20.482Z] ------------------- [2021-05-17T15:12:20.482Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-17T15:12:20.482Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T15:12:20.482Z] Message: update stable to v1.0.192 [2021-05-17T15:12:21.437Z] ------------------- [2021-05-17T15:12:21.437Z] experimental info: [2021-05-17T15:12:21.437Z] ------------------- [2021-05-17T15:12:21.437Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-17T15:12:21.437Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T15:12:21.437Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-17T15:12:21.585Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-05-17T15:12:21.610Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-05-17T15:12:21.632Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-17T15:12:21.655Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-17T15:12:21.678Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-17T15:12:21.701Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-17T15:12:21.724Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-17T15:12:21.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-17T15:12:21.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-17T15:12:21.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-17T15:12:21.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-17T15:12:21.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-05-17T15:12:21.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-17T15:12:21.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-17T15:12:21.908Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-17T15:12:21.931Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-17T15:12:21.954Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-17T15:12:22.018Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-17T15:12:22.042Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-17T15:12:22.067Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-17T15:12:22.090Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-17T15:12:22.113Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-17T15:12:22.151Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-17T15:12:22.176Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-17T15:12:22.207Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-17T15:12:22.231Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-17T15:12:22.255Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo [2021-05-17T15:12:22.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo [2021-05-17T15:12:22.301Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo [2021-05-17T15:12:22.324Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 [Pipeline] echo [2021-05-17T15:12:22.348Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6faa9be [Pipeline] echo [2021-05-17T15:12:22.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T15:12:22.451Z] provisioning config files... [2021-05-17T15:12:22.470Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config7261395454880185009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:12:22.802Z] ---> docker-login.sh [2021-05-17T15:12:22.802Z] nexus3.edgexfoundry.org:10001 [2021-05-17T15:12:23.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:12:23.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:12:23.329Z] Configure a credential helper to remove this warning. See [2021-05-17T15:12:23.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:12:23.329Z] [2021-05-17T15:12:23.329Z] Login Succeeded [2021-05-17T15:12:23.329Z] nexus3.edgexfoundry.org:10002 [2021-05-17T15:12:23.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:12:23.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:12:23.329Z] Configure a credential helper to remove this warning. See [2021-05-17T15:12:23.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:12:23.329Z] [2021-05-17T15:12:23.329Z] Login Succeeded [2021-05-17T15:12:23.329Z] nexus3.edgexfoundry.org:10003 [2021-05-17T15:12:23.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:12:23.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:12:23.594Z] Configure a credential helper to remove this warning. See [2021-05-17T15:12:23.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:12:23.594Z] [2021-05-17T15:12:23.594Z] Login Succeeded [2021-05-17T15:12:23.594Z] nexus3.edgexfoundry.org:10004 [2021-05-17T15:12:23.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:12:23.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:12:23.856Z] Configure a credential helper to remove this warning. See [2021-05-17T15:12:23.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:12:23.856Z] [2021-05-17T15:12:23.856Z] Login Succeeded [2021-05-17T15:12:23.856Z] docker.io [2021-05-17T15:12:23.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:12:24.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:12:24.119Z] Configure a credential helper to remove this warning. See [2021-05-17T15:12:24.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:12:24.119Z] [2021-05-17T15:12:24.119Z] Login Succeeded [2021-05-17T15:12:24.119Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T15:12:24.129Z] 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-05-17T15:12:24.678Z] + git log --format=format:%s -1 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 [Pipeline] echo [2021-05-17T15:12:24.726Z] GIT_COMMIT: 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5, Commit Message: fix: Set UseMessageBus back to false [Pipeline] echo [2021-05-17T15:12:24.739Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:12:25.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:12:25.380Z] [2021-05-17T15:12:25.380Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:12:25.696Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:12:25.697Z] latest: Pulling from edgex-devops/git-semver [2021-05-17T15:12:25.697Z] 31603596830f: Pulling fs layer [2021-05-17T15:12:25.697Z] 54011a49482f: Pulling fs layer [2021-05-17T15:12:25.697Z] a6820b24f6d8: Pulling fs layer [2021-05-17T15:12:25.697Z] f581987b2513: Pulling fs layer [2021-05-17T15:12:25.697Z] f581987b2513: Waiting [2021-05-17T15:12:25.697Z] 54011a49482f: Verifying Checksum [2021-05-17T15:12:25.697Z] 54011a49482f: Download complete [2021-05-17T15:12:25.964Z] 31603596830f: Verifying Checksum [2021-05-17T15:12:25.964Z] 31603596830f: Download complete [2021-05-17T15:12:25.964Z] a6820b24f6d8: Verifying Checksum [2021-05-17T15:12:25.964Z] a6820b24f6d8: Download complete [2021-05-17T15:12:25.964Z] f581987b2513: Verifying Checksum [2021-05-17T15:12:25.964Z] f581987b2513: Download complete [2021-05-17T15:12:26.228Z] 31603596830f: Pull complete [2021-05-17T15:12:26.228Z] 54011a49482f: Pull complete [2021-05-17T15:12:27.180Z] a6820b24f6d8: Pull complete [2021-05-17T15:12:27.445Z] f581987b2513: Pull complete [2021-05-17T15:12:27.445Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-17T15:12:27.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T15:12:27.445Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-17T15:12:27.538Z] prd-centos7-docker-4c-2g-356 does not seem to be running inside a container [2021-05-17T15:12:27.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-204 -v /w/workspace/foundry_device-virtual-go_PR-204:/w/workspace/foundry_device-virtual-go_PR-204:rw,z -v /w/workspace/foundry_device-virtual-go_PR-204@tmp:/w/workspace/foundry_device-virtual-go_PR-204@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-17T15:12:29.375Z] $ docker top edf4b67db92a47a3c11d096d2b5407aba801a64608420be15ed7c7e1b772594e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-17T15:12:29.540Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T15:12:29.540Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T15:12:29.765Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T15:12:29.771Z] $ docker exec edf4b67db92a47a3c11d096d2b5407aba801a64608420be15ed7c7e1b772594e ssh-agent [2021-05-17T15:12:29.927Z] SSH_AUTH_SOCK=/tmp/ssh-NOo7U7EOEeAo/agent.11 [2021-05-17T15:12:29.927Z] SSH_AGENT_PID=16 [2021-05-17T15:12:29.936Z] Running ssh-add (command line suppressed) [2021-05-17T15:12:30.056Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_4180190931233640815.key (/w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_4180190931233640815.key) [2021-05-17T15:12:30.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T15:12:30.414Z] + git tag --points-at HEAD [Pipeline] } [2021-05-17T15:12:30.436Z] $ docker exec --env ******** --env ******** edf4b67db92a47a3c11d096d2b5407aba801a64608420be15ed7c7e1b772594e ssh-agent -k [2021-05-17T15:12:30.559Z] unset SSH_AUTH_SOCK; [2021-05-17T15:12:30.559Z] unset SSH_AGENT_PID; [2021-05-17T15:12:30.559Z] echo Agent pid 16 killed; [2021-05-17T15:12:30.606Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-17T15:12:30.645Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T15:12:30.645Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T15:12:30.812Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T15:12:30.819Z] $ docker exec edf4b67db92a47a3c11d096d2b5407aba801a64608420be15ed7c7e1b772594e ssh-agent [2021-05-17T15:12:30.980Z] SSH_AUTH_SOCK=/tmp/ssh-yVjVytK8CzB9/agent.45 [2021-05-17T15:12:30.980Z] SSH_AGENT_PID=51 [2021-05-17T15:12:30.987Z] Running ssh-add (command line suppressed) [2021-05-17T15:12:31.105Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_1775914472462837108.key (/w/workspace/foundry_device-virtual-go_PR-204@tmp/private_key_1775914472462837108.key) [2021-05-17T15:12:31.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T15:12:31.459Z] + git semver init [2021-05-17T15:12:31.459Z] # -> Open(): unable to determine branch for HEAD [2021-05-17T15:12:31.459Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-204/.git [2021-05-17T15:12:31.459Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-204 [2021-05-17T15:12:31.459Z] # $SEMVER_REMOTE_NAME = origin [2021-05-17T15:12:31.459Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-17T15:12:31.459Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-17T15:12:31.459Z] # $SEMVER_BRANCH = PR-204 [2021-05-17T15:12:31.459Z] # $SEMVER_TEMP = /tmp/semver-699384535 [2021-05-17T15:12:31.459Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-05-17T15:12:32.860Z] # '/tmp/semver-699384535' -> '/w/workspace/foundry_device-virtual-go_PR-204/.semver' [2021-05-17T15:12:32.860Z] # -> Force: false [2021-05-17T15:12:32.860Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-204/.semver [Pipeline] } [2021-05-17T15:12:32.875Z] $ docker exec --env ******** --env ******** edf4b67db92a47a3c11d096d2b5407aba801a64608420be15ed7c7e1b772594e ssh-agent -k [2021-05-17T15:12:32.995Z] unset SSH_AUTH_SOCK; [2021-05-17T15:12:32.996Z] unset SSH_AGENT_PID; [2021-05-17T15:12:32.996Z] echo Agent pid 51 killed; [2021-05-17T15:12:33.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-17T15:12:33.372Z] + git semver [Pipeline] } [2021-05-17T15:12:33.392Z] $ docker stop --time=1 edf4b67db92a47a3c11d096d2b5407aba801a64608420be15ed7c7e1b772594e [2021-05-17T15:12:34.890Z] $ docker rm -f edf4b67db92a47a3c11d096d2b5407aba801a64608420be15ed7c7e1b772594e [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T15:12:35.291Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-17T15:12:35.646Z] Stashed 1 file(s) [Pipeline] echo [2021-05-17T15:12:35.650Z] [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-05-17T15:12:50.898Z] Still waiting to schedule task [2021-05-17T15:12:50.898Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-17T15:12:50.901Z] Still waiting to schedule task [2021-05-17T15:12:50.901Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-17T15:14:40.604Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-357 in /w/workspace/foundry_device-virtual-go_PR-204 [Pipeline] { [Pipeline] ws [2021-05-17T15:14:40.624Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2021-05-17T15:14:40.839Z] Selected Git installation does not exist. Using Default [2021-05-17T15:14:40.839Z] The recommended git tool is: NONE [2021-05-17T15:14:46.245Z] using credential edgex-jenkins-ssh [2021-05-17T15:14:46.280Z] Cloning the remote Git repository [2021-05-17T15:14:46.363Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T15:14:46.571Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2021-05-17T15:14:46.662Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T15:14:46.663Z] > git --version # timeout=10 [2021-05-17T15:14:46.685Z] > git --version # 'git version 2.17.1' [2021-05-17T15:14:46.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T15:14:46.807Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T15:14:49.228Z] Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 [2021-05-17T15:14:49.431Z] Merge succeeded, producing 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 [2021-05-17T15:14:49.432Z] Checking out Revision 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 (PR-204) [2021-05-17T15:14:48.462Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-17T15:14:48.478Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T15:14:48.509Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-17T15:14:48.544Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T15:14:48.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T15:14:48.557Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-17T15:14:49.249Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T15:14:49.263Z] > git checkout -f 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 # timeout=10 [2021-05-17T15:14:49.336Z] > git remote # timeout=10 [2021-05-17T15:14:49.354Z] > git config --get remote.origin.url # timeout=10 [2021-05-17T15:14:49.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T15:14:49.383Z] > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 [2021-05-17T15:14:49.414Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-17T15:14:49.436Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T15:14:49.455Z] > git checkout -f 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 # timeout=10 [2021-05-17T15:14:53.785Z] Commit message: "fix: Set UseMessageBus back to false" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T15:14:55.321Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-17T15:14:55.736Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T15:14:56.085Z] + sudo service docker restart [2021-05-17T15:14:56.085Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T15:14:58.757Z] provisioning config files... [2021-05-17T15:14:58.783Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config5966829472859084579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:14:59.162Z] ---> docker-login.sh [2021-05-17T15:14:59.162Z] nexus3.edgexfoundry.org:10001 [2021-05-17T15:14:59.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:15:00.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:15:00.361Z] Configure a credential helper to remove this warning. See [2021-05-17T15:15:00.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:15:00.361Z] [2021-05-17T15:15:00.361Z] Login Succeeded [2021-05-17T15:15:00.361Z] nexus3.edgexfoundry.org:10002 [2021-05-17T15:15:00.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:15:00.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:15:00.914Z] Configure a credential helper to remove this warning. See [2021-05-17T15:15:00.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:15:00.914Z] [2021-05-17T15:15:00.914Z] Login Succeeded [2021-05-17T15:15:00.914Z] nexus3.edgexfoundry.org:10003 [2021-05-17T15:15:01.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:15:01.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:15:01.466Z] Configure a credential helper to remove this warning. See [2021-05-17T15:15:01.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:15:01.466Z] [2021-05-17T15:15:01.466Z] Login Succeeded [2021-05-17T15:15:01.466Z] nexus3.edgexfoundry.org:10004 [2021-05-17T15:15:01.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:15:02.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:15:02.022Z] Configure a credential helper to remove this warning. See [2021-05-17T15:15:02.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:15:02.022Z] [2021-05-17T15:15:02.022Z] Login Succeeded [2021-05-17T15:15:02.022Z] docker.io [2021-05-17T15:15:02.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:15:02.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:15:02.570Z] Configure a credential helper to remove this warning. See [2021-05-17T15:15:02.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:15:02.570Z] [2021-05-17T15:15:02.570Z] Login Succeeded [2021-05-17T15:15:02.570Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T15:15:02.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-17T15:15:02.902Z] ========================================================= [2021-05-17T15:15:02.902Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-17T15:15:02.902Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:15:03.255Z] + 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-05-17T15:15:03.863Z] Sending build context to Docker daemon 8.596MB [2021-05-17T15:15:03.863Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T15:15:03.863Z] Step 2/8 : FROM ${BASE} [2021-05-17T15:15:03.863Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-17T15:15:03.863Z] 595b0fe564bb: Pulling fs layer [2021-05-17T15:15:03.863Z] 7186ed65a4f7: Pulling fs layer [2021-05-17T15:15:03.863Z] 316046926c0a: Pulling fs layer [2021-05-17T15:15:03.863Z] 4ebd0625c992: Pulling fs layer [2021-05-17T15:15:03.863Z] 207e8628e3a3: Pulling fs layer [2021-05-17T15:15:03.863Z] c791037a9be2: Pulling fs layer [2021-05-17T15:15:03.863Z] ffd874e62e21: Pulling fs layer [2021-05-17T15:15:03.863Z] 4ebd0625c992: Waiting [2021-05-17T15:15:03.863Z] 207e8628e3a3: Waiting [2021-05-17T15:15:03.863Z] c791037a9be2: Waiting [2021-05-17T15:15:03.863Z] ffd874e62e21: Waiting [2021-05-17T15:15:03.863Z] 316046926c0a: Verifying Checksum [2021-05-17T15:15:03.863Z] 316046926c0a: Download complete [2021-05-17T15:15:03.863Z] 7186ed65a4f7: Verifying Checksum [2021-05-17T15:15:03.863Z] 7186ed65a4f7: Download complete [2021-05-17T15:15:03.863Z] 207e8628e3a3: Verifying Checksum [2021-05-17T15:15:03.863Z] 207e8628e3a3: Download complete [2021-05-17T15:15:03.863Z] c791037a9be2: Verifying Checksum [2021-05-17T15:15:03.863Z] c791037a9be2: Download complete [2021-05-17T15:15:03.863Z] 595b0fe564bb: Verifying Checksum [2021-05-17T15:15:03.863Z] 595b0fe564bb: Download complete [2021-05-17T15:15:04.849Z] 595b0fe564bb: Pull complete [2021-05-17T15:15:05.129Z] 7186ed65a4f7: Pull complete [2021-05-17T15:15:05.408Z] 316046926c0a: Pull complete [2021-05-17T15:15:06.390Z] ffd874e62e21: Verifying Checksum [2021-05-17T15:15:06.390Z] ffd874e62e21: Download complete [2021-05-17T15:15:07.370Z] 4ebd0625c992: Verifying Checksum [2021-05-17T15:15:07.370Z] 4ebd0625c992: Download complete [2021-05-17T15:15:19.798Z] 4ebd0625c992: Pull complete [2021-05-17T15:15:19.798Z] 207e8628e3a3: Pull complete [2021-05-17T15:15:19.798Z] c791037a9be2: Pull complete [2021-05-17T15:15:22.427Z] ffd874e62e21: Pull complete [2021-05-17T15:15:22.427Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-17T15:15:22.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-17T15:15:22.427Z] ---> cfc18b08335c [2021-05-17T15:15:22.427Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-17T15:15:25.043Z] ---> Running in 9ebd09e9d6d4 [2021-05-17T15:15:25.318Z] Removing intermediate container 9ebd09e9d6d4 [2021-05-17T15:15:25.318Z] ---> 10d53b090bc0 [2021-05-17T15:15:25.318Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:15:25.593Z] ---> Running in 3bc21c700089 [2021-05-17T15:15:27.589Z] Removing intermediate container 3bc21c700089 [2021-05-17T15:15:27.589Z] ---> 1791c74e8895 [2021-05-17T15:15:27.589Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-17T15:15:27.869Z] ---> Running in 5a4f20b17ec6 [2021-05-17T15:15:28.861Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-17T15:15:29.561Z] Running on prd-centos7-docker-4c-2g-358 in /w/workspace/foundry_device-virtual-go_PR-204 [Pipeline] { [Pipeline] ws [2021-05-17T15:15:29.581Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2021-05-17T15:15:29.695Z] Selected Git installation does not exist. Using Default [2021-05-17T15:15:29.695Z] The recommended git tool is: NONE [2021-05-17T15:15:29.882Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-17T15:15:30.876Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-17T15:15:30.876Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-17T15:15:30.876Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-17T15:15:30.876Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-17T15:15:31.149Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-17T15:15:31.149Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-17T15:15:31.420Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-17T15:15:31.691Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-17T15:15:31.691Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-17T15:15:31.962Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-17T15:15:31.962Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-17T15:15:31.962Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-17T15:15:32.234Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-17T15:15:32.234Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T15:15:32.234Z] OK: 145 MiB in 53 packages [2021-05-17T15:15:32.380Z] using credential edgex-jenkins-ssh [2021-05-17T15:15:32.394Z] Cloning the remote Git repository [2021-05-17T15:15:32.089Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T15:15:32.161Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2021-05-17T15:15:32.223Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T15:15:32.223Z] > git --version # timeout=10 [2021-05-17T15:15:32.230Z] > git --version # 'git version 2.24.3' [2021-05-17T15:15:32.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T15:15:32.259Z] [INFO] Currently running in a labeled security context [2021-05-17T15:15:32.260Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T15:15:32.260Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh4168510440189599501.key [2021-05-17T15:15:32.285Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T15:15:33.687Z] Removing intermediate container 5a4f20b17ec6 [2021-05-17T15:15:33.687Z] ---> 00bcaaa1517b [2021-05-17T15:15:33.687Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-17T15:15:33.961Z] ---> Running in cf1898bb20e8 [2021-05-17T15:15:33.375Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-17T15:15:33.381Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T15:15:33.392Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-05-17T15:15:33.410Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-05-17T15:15:33.410Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T15:15:33.411Z] [INFO] Currently running in a labeled security context [2021-05-17T15:15:33.411Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T15:15:33.411Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh1709635813201816783.key [2021-05-17T15:15:33.421Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-17T15:15:34.107Z] Merging remotes/origin/master commit 3b22e0480bd67233e1fe9d34879779676ed28d7e into PR head commit 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 [2021-05-17T15:15:34.199Z] Merge succeeded, producing 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 [2021-05-17T15:15:34.200Z] Checking out Revision 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 (PR-204) [2021-05-17T15:15:34.557Z] Removing intermediate container cf1898bb20e8 [2021-05-17T15:15:34.557Z] ---> 5ccd127b0eab [2021-05-17T15:15:34.557Z] Step 7/8 : COPY . . [2021-05-17T15:15:33.931Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T15:15:33.940Z] > git checkout -f 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 # timeout=10 [2021-05-17T15:15:33.976Z] > git remote # timeout=10 [2021-05-17T15:15:33.982Z] > git config --get remote.origin.url # timeout=10 [2021-05-17T15:15:33.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T15:15:33.991Z] [INFO] Currently running in a labeled security context [2021-05-17T15:15:33.991Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T15:15:33.992Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/3@tmp/jenkins-gitclient-ssh2113207665401933312.key [2021-05-17T15:15:34.001Z] > git merge 3b22e0480bd67233e1fe9d34879779676ed28d7e # timeout=10 [2021-05-17T15:15:34.012Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-17T15:15:34.024Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T15:15:34.030Z] > git checkout -f 6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 # timeout=10 [2021-05-17T15:15:35.991Z] ---> fc64401d5c69 [2021-05-17T15:15:35.991Z] Step 8/8 : RUN go mod download [2021-05-17T15:15:35.991Z] ---> Running in d7537cde45e2 [2021-05-17T15:15:37.749Z] Commit message: "fix: Set UseMessageBus back to false" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T15:15:38.731Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-17T15:15:39.065Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T15:15:39.372Z] + sudo service docker restart [2021-05-17T15:15:39.372Z] + true [2021-05-17T15:15:39.372Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T15:15:40.797Z] provisioning config files... [2021-05-17T15:15:40.812Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config201474565499273015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:15:41.163Z] ---> docker-login.sh [2021-05-17T15:15:41.163Z] nexus3.edgexfoundry.org:10001 [2021-05-17T15:15:41.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:15:41.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:15:41.435Z] Configure a credential helper to remove this warning. See [2021-05-17T15:15:41.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:15:41.435Z] [2021-05-17T15:15:41.435Z] Login Succeeded [2021-05-17T15:15:41.435Z] nexus3.edgexfoundry.org:10002 [2021-05-17T15:15:41.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:15:41.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:15:41.699Z] Configure a credential helper to remove this warning. See [2021-05-17T15:15:41.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:15:41.699Z] [2021-05-17T15:15:41.699Z] Login Succeeded [2021-05-17T15:15:41.699Z] nexus3.edgexfoundry.org:10003 [2021-05-17T15:15:41.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:15:41.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:15:41.962Z] Configure a credential helper to remove this warning. See [2021-05-17T15:15:41.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:15:41.962Z] [2021-05-17T15:15:41.962Z] Login Succeeded [2021-05-17T15:15:41.962Z] nexus3.edgexfoundry.org:10004 [2021-05-17T15:15:41.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:15:41.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:15:41.962Z] Configure a credential helper to remove this warning. See [2021-05-17T15:15:41.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:15:41.962Z] [2021-05-17T15:15:41.962Z] Login Succeeded [2021-05-17T15:15:41.962Z] docker.io [2021-05-17T15:15:42.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T15:15:42.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T15:15:42.496Z] Configure a credential helper to remove this warning. See [2021-05-17T15:15:42.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T15:15:42.496Z] [2021-05-17T15:15:42.496Z] Login Succeeded [2021-05-17T15:15:42.496Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T15:15:42.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-17T15:15:42.692Z] ========================================================= [2021-05-17T15:15:42.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-17T15:15:42.692Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:15:43.015Z] + 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-05-17T15:15:43.015Z] Sending build context to Docker daemon 8.597MB [2021-05-17T15:15:43.282Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T15:15:43.282Z] Step 2/8 : FROM ${BASE} [2021-05-17T15:15:43.282Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-17T15:15:43.282Z] 540db60ca938: Pulling fs layer [2021-05-17T15:15:43.282Z] adcc1eea9eea: Pulling fs layer [2021-05-17T15:15:43.282Z] 4c4ab2625f07: Pulling fs layer [2021-05-17T15:15:43.282Z] 0510c868ecb4: Pulling fs layer [2021-05-17T15:15:43.282Z] afea3b2eda06: Pulling fs layer [2021-05-17T15:15:43.282Z] 7809a108b3ef: Pulling fs layer [2021-05-17T15:15:43.282Z] f706445af74f: Pulling fs layer [2021-05-17T15:15:43.282Z] afea3b2eda06: Waiting [2021-05-17T15:15:43.282Z] 7809a108b3ef: Waiting [2021-05-17T15:15:43.282Z] f706445af74f: Waiting [2021-05-17T15:15:43.282Z] 0510c868ecb4: Waiting [2021-05-17T15:15:43.283Z] 4c4ab2625f07: Verifying Checksum [2021-05-17T15:15:43.283Z] 4c4ab2625f07: Download complete [2021-05-17T15:15:43.283Z] adcc1eea9eea: Verifying Checksum [2021-05-17T15:15:43.283Z] adcc1eea9eea: Download complete [2021-05-17T15:15:43.283Z] afea3b2eda06: Verifying Checksum [2021-05-17T15:15:43.283Z] afea3b2eda06: Download complete [2021-05-17T15:15:43.283Z] 540db60ca938: Verifying Checksum [2021-05-17T15:15:43.283Z] 540db60ca938: Download complete [2021-05-17T15:15:43.283Z] 7809a108b3ef: Verifying Checksum [2021-05-17T15:15:43.283Z] 7809a108b3ef: Download complete [2021-05-17T15:15:43.550Z] 540db60ca938: Pull complete [2021-05-17T15:15:43.817Z] adcc1eea9eea: Pull complete [2021-05-17T15:15:43.818Z] 4c4ab2625f07: Pull complete [2021-05-17T15:15:45.245Z] f706445af74f: Download complete [2021-05-17T15:15:46.645Z] 0510c868ecb4: Verifying Checksum [2021-05-17T15:15:46.645Z] 0510c868ecb4: Download complete [2021-05-17T15:15:52.029Z] 0510c868ecb4: Pull complete [2021-05-17T15:15:52.029Z] afea3b2eda06: Pull complete [2021-05-17T15:15:52.029Z] 7809a108b3ef: Pull complete [2021-05-17T15:15:58.664Z] f706445af74f: Pull complete [2021-05-17T15:15:58.665Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-17T15:15:58.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-17T15:15:58.665Z] ---> b068be0155e3 [2021-05-17T15:15:58.665Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-17T15:16:00.061Z] ---> Running in 303d3cadf416 [2021-05-17T15:16:00.061Z] Removing intermediate container 303d3cadf416 [2021-05-17T15:16:00.061Z] ---> 999364be8edb [2021-05-17T15:16:00.061Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:16:00.324Z] ---> Running in 9b49de742b44 [2021-05-17T15:16:01.290Z] Removing intermediate container 9b49de742b44 [2021-05-17T15:16:01.290Z] ---> 9adb2098905c [2021-05-17T15:16:01.290Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev libsodium-dev zeromq-dev [2021-05-17T15:16:01.290Z] ---> Running in 951f0179d7e4 [2021-05-17T15:16:01.872Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-17T15:16:02.449Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-17T15:16:03.027Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-17T15:16:03.291Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-17T15:16:03.291Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-17T15:16:03.291Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-17T15:16:03.555Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-17T15:16:03.555Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-17T15:16:03.555Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-17T15:16:03.818Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-17T15:16:04.083Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-17T15:16:04.083Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-17T15:16:04.083Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-17T15:16:04.345Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-17T15:16:04.345Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-17T15:16:04.610Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T15:16:04.610Z] OK: 156 MiB in 53 packages [2021-05-17T15:16:05.185Z] Removing intermediate container 951f0179d7e4 [2021-05-17T15:16:05.185Z] ---> ef90d132a9e3 [2021-05-17T15:16:05.185Z] Step 6/8 : WORKDIR /device-virtual-go [2021-05-17T15:16:05.448Z] ---> Running in 2ac73fe37c76 [2021-05-17T15:16:05.448Z] Removing intermediate container 2ac73fe37c76 [2021-05-17T15:16:05.448Z] ---> f83a1ea1a7d0 [2021-05-17T15:16:05.448Z] Step 7/8 : COPY . . [2021-05-17T15:16:06.405Z] ---> 6d6060dcea4b [2021-05-17T15:16:06.406Z] Step 8/8 : RUN go mod download [2021-05-17T15:16:06.406Z] ---> Running in c169fdafd637 [2021-05-17T15:16:08.425Z] Removing intermediate container d7537cde45e2 [2021-05-17T15:16:08.425Z] ---> c464423b4e74 [2021-05-17T15:16:08.425Z] Successfully built c464423b4e74 [2021-05-17T15:16:08.425Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:16:08.768Z] + docker inspect -f . ci-base-image-arm64 [2021-05-17T15:16:08.768Z] . [Pipeline] withDockerContainer [2021-05-17T15:16:09.040Z] prd-ubuntu18.04-docker-arm64-4c-16g-357 does not seem to be running inside a container [2021-05-17T15:16:09.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-17T15:16:10.594Z] $ docker top f1ac3a4e8c59f934fe02592f05844d114164324b9c2283548ebec6ab957df3eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T15:16:11.545Z] + go version [2021-05-17T15:16:11.545Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-17T15:16:11.566Z] $ docker stop --time=1 f1ac3a4e8c59f934fe02592f05844d114164324b9c2283548ebec6ab957df3eb [2021-05-17T15:16:13.466Z] $ docker rm -f f1ac3a4e8c59f934fe02592f05844d114164324b9c2283548ebec6ab957df3eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:16:14.235Z] + docker inspect -f . ci-base-image-arm64 [2021-05-17T15:16:14.235Z] . [Pipeline] withDockerContainer [2021-05-17T15:16:14.501Z] prd-ubuntu18.04-docker-arm64-4c-16g-357 does not seem to be running inside a container [2021-05-17T15:16:14.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-17T15:16:15.975Z] $ docker top 9e98bc85162bf54de24bdac3c6b55d30bc4bd326bdb2d31ebb0645a358511ffd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T15:16:16.938Z] + go mod tidy [Pipeline] sh [2021-05-17T15:16:18.277Z] + make test [2021-05-17T15:16:18.277Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-17T15:16:19.725Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-17T15:16:33.107Z] Removing intermediate container c169fdafd637 [2021-05-17T15:16:33.107Z] ---> c774d068e3b2 [2021-05-17T15:16:33.107Z] Successfully built c774d068e3b2 [2021-05-17T15:16:33.107Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:16:33.433Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-17T15:16:33.433Z] . [Pipeline] withDockerContainer [2021-05-17T15:16:33.558Z] prd-centos7-docker-4c-2g-358 does not seem to be running inside a container [2021-05-17T15:16:33.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-17T15:16:34.335Z] $ docker top d28e49a1d72aa953595098113f652e38f5b15f3d89bd57a6d884a8bb89aec2ff -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T15:16:34.818Z] + go version [2021-05-17T15:16:34.818Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-17T15:16:34.834Z] $ docker stop --time=1 d28e49a1d72aa953595098113f652e38f5b15f3d89bd57a6d884a8bb89aec2ff [2021-05-17T15:16:36.165Z] $ docker rm -f d28e49a1d72aa953595098113f652e38f5b15f3d89bd57a6d884a8bb89aec2ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:16:36.790Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-17T15:16:36.790Z] . [Pipeline] withDockerContainer [2021-05-17T15:16:36.911Z] prd-centos7-docker-4c-2g-358 does not seem to be running inside a container [2021-05-17T15:16:36.983Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-17T15:16:37.553Z] $ docker top aca896a7eee91341ea979eea52f49a30c2e8a31d2de5ba96cb3aeeecc9d2bc4f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T15:16:37.973Z] + go mod tidy [Pipeline] sh [2021-05-17T15:16:38.879Z] + make test [2021-05-17T15:16:38.879Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-05-17T15:16:39.843Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-05-17T15:17:02.008Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-17T15:17:02.587Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.507s coverage: 63.8% of statements [2021-05-17T15:17:02.852Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-17T15:17:12.934Z] gofmt -l . [2021-05-17T15:17:12.934Z] [ "`gofmt -l .`" = "" ] [2021-05-17T15:17:12.934Z] ./bin/test-attribution-txt.sh [2021-05-17T15:17:12.934Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-17T15:17:12.954Z] $ docker stop --time=1 aca896a7eee91341ea979eea52f49a30c2e8a31d2de5ba96cb3aeeecc9d2bc4f [2021-05-17T15:17:15.045Z] $ docker rm -f aca896a7eee91341ea979eea52f49a30c2e8a31d2de5ba96cb3aeeecc9d2bc4f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T15:17:15.698Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-17T15:17:16.318Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-17T15:17:19.214Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-17T15:17:19.516Z] + ls -al . [2021-05-17T15:17:19.516Z] total 132 [2021-05-17T15:17:19.516Z] drwxrwxr-x. 7 jenkins jenkins 4096 May 17 15:17 . [2021-05-17T15:17:19.516Z] drwxrwxr-x. 4 jenkins jenkins 28 May 17 15:15 .. [2021-05-17T15:17:19.516Z] -rw-rw-r--. 1 jenkins jenkins 8153 May 17 15:15 Attribution.txt [2021-05-17T15:17:19.516Z] drwxrwxr-x. 2 jenkins jenkins 64 May 17 15:15 bin [2021-05-17T15:17:19.516Z] drwxrwxr-x. 3 jenkins jenkins 32 May 17 15:15 cmd [2021-05-17T15:17:19.516Z] -rw-r--r--. 1 jenkins jenkins 47247 May 17 15:17 coverage.out [2021-05-17T15:17:19.516Z] -rw-rw-r--. 1 jenkins jenkins 1905 May 17 15:15 Dockerfile [2021-05-17T15:17:19.516Z] -rw-rw-r--. 1 jenkins jenkins 998 May 17 15:15 Dockerfile.build [2021-05-17T15:17:19.516Z] drwxrwxr-x. 8 jenkins jenkins 179 May 17 15:15 .git [2021-05-17T15:17:19.516Z] drwxrwxr-x. 2 jenkins jenkins 103 May 17 15:15 .github [2021-05-17T15:17:19.516Z] -rw-rw-r--. 1 jenkins jenkins 277 May 17 15:15 .gitignore [2021-05-17T15:17:19.516Z] -rw-r--r--. 1 jenkins jenkins 809 May 17 15:17 go.mod [2021-05-17T15:17:19.516Z] -rw-r--r--. 1 jenkins jenkins 23036 May 17 15:16 go.sum [2021-05-17T15:17:19.516Z] drwxrwxr-x. 3 jenkins jenkins 20 May 17 15:15 internal [2021-05-17T15:17:19.516Z] -rw-rw-r--. 1 jenkins jenkins 660 May 17 15:15 Jenkinsfile [2021-05-17T15:17:19.516Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 17 15:15 LICENSE [2021-05-17T15:17:19.516Z] -rw-rw-r--. 1 jenkins jenkins 914 May 17 15:15 Makefile [2021-05-17T15:17:19.516Z] -rw-rw-r--. 1 jenkins jenkins 2745 May 17 15:15 README.md [2021-05-17T15:17:19.516Z] -rw-rw-r--. 1 jenkins jenkins 5 May 17 15:12 VERSION [2021-05-17T15:17:19.516Z] -rw-rw-r--. 1 jenkins jenkins 235 May 17 15:15 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:17:19.829Z] + 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=6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 --label arch=amd64 --label version=0.0.0 . [2021-05-17T15:17:20.095Z] Sending build context to Docker daemon 8.669MB [2021-05-17T15:17:20.095Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T15:17:20.095Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-17T15:17:20.095Z] ---> c774d068e3b2 [2021-05-17T15:17:20.095Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-17T15:17:20.362Z] ---> Running in 3a02fb8e009e [2021-05-17T15:17:20.362Z] Removing intermediate container 3a02fb8e009e [2021-05-17T15:17:20.362Z] ---> a9f9370a37d2 [2021-05-17T15:17:20.362Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-17T15:17:20.633Z] ---> Running in 58b0b7c6ce8c [2021-05-17T15:17:20.633Z] Removing intermediate container 58b0b7c6ce8c [2021-05-17T15:17:20.633Z] ---> 321631633db6 [2021-05-17T15:17:20.633Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-17T15:17:20.900Z] ---> Running in 20b98d7adfec [2021-05-17T15:17:20.900Z] Removing intermediate container 20b98d7adfec [2021-05-17T15:17:20.900Z] ---> 6143f795dd7b [2021-05-17T15:17:20.900Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:17:20.900Z] ---> Running in 9e307aeab6fb [2021-05-17T15:17:21.862Z] Removing intermediate container 9e307aeab6fb [2021-05-17T15:17:21.862Z] ---> bf8c45b0183f [2021-05-17T15:17:21.862Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-17T15:17:21.862Z] ---> Running in db9dec9eb15e [2021-05-17T15:17:22.439Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-17T15:17:23.391Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-17T15:17:23.656Z] OK: 156 MiB in 53 packages [2021-05-17T15:17:24.241Z] Removing intermediate container db9dec9eb15e [2021-05-17T15:17:24.241Z] ---> fc75c526ac1f [2021-05-17T15:17:24.241Z] Step 8/25 : COPY . . [2021-05-17T15:17:24.820Z] ---> 780fa88f85da [2021-05-17T15:17:24.820Z] Step 9/25 : RUN go mod download [2021-05-17T15:17:24.820Z] ---> Running in 1dd7d33ef33f [2021-05-17T15:17:25.778Z] Removing intermediate container 1dd7d33ef33f [2021-05-17T15:17:25.778Z] ---> 8d19c670c6ca [2021-05-17T15:17:25.778Z] Step 10/25 : ARG MAKE='make build' [2021-05-17T15:17:25.778Z] ---> Running in c5832af14e0e [2021-05-17T15:17:25.778Z] Removing intermediate container c5832af14e0e [2021-05-17T15:17:25.778Z] ---> 74eff9486044 [2021-05-17T15:17:25.779Z] Step 11/25 : RUN $MAKE [2021-05-17T15:17:26.044Z] ---> Running in 3df44decaa0f [2021-05-17T15:17:26.315Z] go mod tidy [2021-05-17T15:17:26.589Z] 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-05-17T15:17:27.796Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-05-17T15:17:27.796Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.691s coverage: 63.8% of statements [2021-05-17T15:17:27.796Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-17T15:17:44.860Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-17T15:17:49.092Z] Removing intermediate container 3df44decaa0f [2021-05-17T15:17:49.092Z] ---> 7205cc0f2c31 [2021-05-17T15:17:49.092Z] Step 12/25 : FROM alpine:3.12 [2021-05-17T15:17:49.092Z] 3.12: Pulling from library/alpine [2021-05-17T15:17:49.092Z] 339de151aab4: Pulling fs layer [2021-05-17T15:17:49.092Z] 339de151aab4: Verifying Checksum [2021-05-17T15:17:49.092Z] 339de151aab4: Download complete [2021-05-17T15:17:49.356Z] 339de151aab4: Pull complete [2021-05-17T15:17:49.356Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-17T15:17:49.356Z] Status: Downloaded newer image for alpine:3.12 [2021-05-17T15:17:49.356Z] ---> 13621d1b12d4 [2021-05-17T15:17:49.356Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-17T15:17:49.620Z] ---> Running in d5fb80c4660d [2021-05-17T15:17:49.620Z] Removing intermediate container d5fb80c4660d [2021-05-17T15:17:49.620Z] ---> 295afd14018e [2021-05-17T15:17:49.620Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:17:49.886Z] ---> Running in d75e63de7e82 [2021-05-17T15:17:50.034Z] gofmt -l . [2021-05-17T15:17:50.034Z] [ "`gofmt -l .`" = "" ] [2021-05-17T15:17:50.034Z] ./bin/test-attribution-txt.sh [2021-05-17T15:17:50.836Z] Removing intermediate container d75e63de7e82 [2021-05-17T15:17:50.836Z] ---> c19d2c3405f8 [2021-05-17T15:17:50.836Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-17T15:17:50.836Z] ---> Running in 8f54c58f8130 [2021-05-17T15:17:51.413Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-17T15:17:51.477Z] ./bin/test-go-mod-tidy.sh [2021-05-17T15:17:51.991Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] } [2021-05-17T15:17:52.095Z] $ docker stop --time=1 9e98bc85162bf54de24bdac3c6b55d30bc4bd326bdb2d31ebb0645a358511ffd [2021-05-17T15:17:52.566Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-17T15:17:52.566Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-17T15:17:52.566Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-17T15:17:52.566Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-17T15:17:53.514Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-17T15:17:53.782Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-17T15:17:53.782Z] Executing busybox-1.31.1-r20.trigger [2021-05-17T15:17:53.782Z] OK: 8 MiB in 20 packages [2021-05-17T15:17:54.161Z] $ docker rm -f 9e98bc85162bf54de24bdac3c6b55d30bc4bd326bdb2d31ebb0645a358511ffd [2021-05-17T15:17:54.361Z] Removing intermediate container 8f54c58f8130 [2021-05-17T15:17:54.361Z] ---> 3b3fb347614a [2021-05-17T15:17:54.361Z] Step 16/25 : WORKDIR / [2021-05-17T15:17:54.361Z] ---> Running in 186139618af3 [2021-05-17T15:17:54.361Z] Removing intermediate container 186139618af3 [2021-05-17T15:17:54.361Z] ---> 0302eb1cb0fa [2021-05-17T15:17:54.361Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-17T15:17:54.625Z] ---> 74c77e7ccc71 [2021-05-17T15:17:54.625Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T15:17:54.889Z] ---> 8a2ed1ef85fe [2021-05-17T15:17:54.889Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-17T15:17:55.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-17T15:17:55.106Z] Warning: overwriting stash ‘coverage-report’ [2021-05-17T15:17:55.619Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-17T15:17:55.843Z] ---> 14e994a79975 [2021-05-17T15:17:55.843Z] Step 20/25 : EXPOSE 49990 [2021-05-17T15:17:55.843Z] ---> Running in b5ac10e81276 [2021-05-17T15:17:55.843Z] Removing intermediate container b5ac10e81276 [2021-05-17T15:17:55.843Z] ---> fae004f05861 [2021-05-17T15:17:55.843Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-17T15:17:55.843Z] ---> Running in 590a40d87a7a [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T15:17:56.107Z] Removing intermediate container 590a40d87a7a [2021-05-17T15:17:56.107Z] ---> df72736e73ca [2021-05-17T15:17:56.107Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-17T15:17:56.107Z] ---> Running in c7a88fa9dca4 [2021-05-17T15:17:56.211Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-17T15:17:56.370Z] Removing intermediate container c7a88fa9dca4 [2021-05-17T15:17:56.370Z] ---> 31ed156c24e0 [2021-05-17T15:17:56.370Z] Step 23/25 : LABEL arch=amd64 [2021-05-17T15:17:56.370Z] ---> Running in 6784462b7a54 [2021-05-17T15:17:56.543Z] + ls -al . [2021-05-17T15:17:56.543Z] total 156 [2021-05-17T15:17:56.543Z] drwxrwxr-x 7 jenkins jenkins 4096 May 17 15:17 . [2021-05-17T15:17:56.543Z] drwxrwxr-x 4 jenkins jenkins 4096 May 17 15:14 .. [2021-05-17T15:17:56.543Z] drwxrwxr-x 8 jenkins jenkins 4096 May 17 15:14 .git [2021-05-17T15:17:56.543Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 15:14 .github [2021-05-17T15:17:56.543Z] -rw-rw-r-- 1 jenkins jenkins 277 May 17 15:14 .gitignore [2021-05-17T15:17:56.543Z] -rw-rw-r-- 1 jenkins jenkins 8153 May 17 15:14 Attribution.txt [2021-05-17T15:17:56.543Z] -rw-rw-r-- 1 jenkins jenkins 1905 May 17 15:14 Dockerfile [2021-05-17T15:17:56.543Z] -rw-rw-r-- 1 jenkins jenkins 998 May 17 15:14 Dockerfile.build [2021-05-17T15:17:56.543Z] -rw-rw-r-- 1 jenkins jenkins 660 May 17 15:14 Jenkinsfile [2021-05-17T15:17:56.543Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 17 15:14 LICENSE [2021-05-17T15:17:56.543Z] -rw-rw-r-- 1 jenkins jenkins 914 May 17 15:14 Makefile [2021-05-17T15:17:56.543Z] -rw-rw-r-- 1 jenkins jenkins 2745 May 17 15:14 README.md [2021-05-17T15:17:56.543Z] -rw-rw-r-- 1 jenkins jenkins 5 May 17 15:12 VERSION [2021-05-17T15:17:56.543Z] drwxrwxr-x 2 jenkins jenkins 4096 May 17 15:14 bin [2021-05-17T15:17:56.543Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 15:14 cmd [2021-05-17T15:17:56.543Z] -rw-r--r-- 1 jenkins jenkins 47247 May 17 15:17 coverage.out [2021-05-17T15:17:56.543Z] -rw-r--r-- 1 jenkins jenkins 809 May 17 15:17 go.mod [2021-05-17T15:17:56.543Z] -rw-r--r-- 1 jenkins jenkins 23036 May 17 15:16 go.sum [2021-05-17T15:17:56.543Z] drwxrwxr-x 3 jenkins jenkins 4096 May 17 15:14 internal [2021-05-17T15:17:56.543Z] -rw-rw-r-- 1 jenkins jenkins 235 May 17 15:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:17:56.636Z] Removing intermediate container 6784462b7a54 [2021-05-17T15:17:56.636Z] ---> 11480d2e83d0 [2021-05-17T15:17:56.636Z] Step 24/25 : LABEL git_sha=6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 [2021-05-17T15:17:56.636Z] ---> Running in c4b2c54250e1 [2021-05-17T15:17:56.636Z] Removing intermediate container c4b2c54250e1 [2021-05-17T15:17:56.636Z] ---> d7f6205f6611 [2021-05-17T15:17:56.636Z] Step 25/25 : LABEL version=0.0.0 [2021-05-17T15:17:56.908Z] ---> Running in 4d29e6ae7401 [2021-05-17T15:17:56.909Z] Removing intermediate container 4d29e6ae7401 [2021-05-17T15:17:56.909Z] ---> 309498cb2fbd [2021-05-17T15:17:56.909Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-17T15:17:56.909Z] Successfully built 309498cb2fbd [2021-05-17T15:17:56.909Z] Successfully tagged device-virtual:latest [2021-05-17T15:17:56.910Z] + 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=6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 --label arch=arm64 --label version=0.0.0 . [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2021-05-17T15:17:57.192Z] Sending build context to Docker daemon 8.668MB [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:17:57.466Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T15:17:57.467Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-17T15:17:57.467Z] ---> c464423b4e74 [2021-05-17T15:17:57.467Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-17T15:17:57.645Z] ---> job-cost.sh [2021-05-17T15:17:57.646Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KUKp [2021-05-17T15:17:57.740Z] ---> Running in a72271f3f505 [2021-05-17T15:17:58.012Z] Removing intermediate container a72271f3f505 [2021-05-17T15:17:58.012Z] ---> 4bef4c4c1d7c [2021-05-17T15:17:58.012Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-17T15:17:58.293Z] ---> Running in e54684fd69ec [2021-05-17T15:17:58.565Z] Removing intermediate container e54684fd69ec [2021-05-17T15:17:58.565Z] ---> 8ffa8dbbbdfb [2021-05-17T15:17:58.565Z] Step 5/25 : WORKDIR /device-virtual-go [2021-05-17T15:17:58.839Z] ---> Running in d1f590d04793 [2021-05-17T15:17:59.434Z] Removing intermediate container d1f590d04793 [2021-05-17T15:17:59.435Z] ---> 41fb4dff4f5d [2021-05-17T15:17:59.435Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:17:59.435Z] ---> Running in b81f734360b2 [2021-05-17T15:18:01.412Z] Removing intermediate container b81f734360b2 [2021-05-17T15:18:01.412Z] ---> 4ac40e5d334e [2021-05-17T15:18:01.412Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-17T15:18:01.686Z] ---> Running in fc5d3ae909b0 [2021-05-17T15:18:02.673Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-17T15:18:03.653Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-17T15:18:04.630Z] OK: 145 MiB in 53 packages [2021-05-17T15:18:05.611Z] Removing intermediate container fc5d3ae909b0 [2021-05-17T15:18:05.611Z] ---> f07e97ef826d [2021-05-17T15:18:05.611Z] Step 8/25 : COPY . . [2021-05-17T15:18:07.048Z] ---> 78f94f31c835 [2021-05-17T15:18:07.048Z] Step 9/25 : RUN go mod download [2021-05-17T15:18:07.048Z] ---> Running in 09ed8129eca4 [2021-05-17T15:18:09.668Z] Removing intermediate container 09ed8129eca4 [2021-05-17T15:18:09.668Z] ---> 29b723177484 [2021-05-17T15:18:09.668Z] Step 10/25 : ARG MAKE='make build' [2021-05-17T15:18:09.668Z] ---> Running in e3bfbf718fb0 [2021-05-17T15:18:09.947Z] Removing intermediate container e3bfbf718fb0 [2021-05-17T15:18:09.947Z] ---> 4e3ebb16b217 [2021-05-17T15:18:09.947Z] Step 11/25 : RUN $MAKE [2021-05-17T15:18:09.947Z] ---> Running in 1b318fb48e40 [2021-05-17T15:18:10.928Z] go mod tidy [2021-05-17T15:18:11.538Z] 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-05-17T15:18:12.588Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-17T15:18:39.265Z] lf-activate-venv(): INFO: Adding /tmp/venv-KUKp/bin to PATH [2021-05-17T15:18:39.265Z] INFO: No Stack... [2021-05-17T15:18:39.265Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-17T15:18:40.213Z] INFO: Archiving Costs [Pipeline] sh [2021-05-17T15:18:40.527Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [2021-05-17T15:18:40.527Z] + cut -d, -f6 [Pipeline] lock [2021-05-17T15:18:40.578Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-204-3-stack-cost] [2021-05-17T15:18:40.616Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-204-3-stack-cost] did not exist. Created. [2021-05-17T15:18:40.616Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-204-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-17T15:18:40.960Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-17T15:18:41.087Z] Stashed 1 file(s) [Pipeline] } [2021-05-17T15:18:41.096Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-204-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-17T15:18:58.569Z] CGO_ENABLED=1 GO111MODULE=on go build ./... [2021-05-17T15:19:08.719Z] Removing intermediate container 1b318fb48e40 [2021-05-17T15:19:08.719Z] ---> d6d8335b08ef [2021-05-17T15:19:08.719Z] Step 12/25 : FROM alpine:3.12 [2021-05-17T15:19:08.719Z] 3.12: Pulling from library/alpine [2021-05-17T15:19:08.719Z] d2f70382dc9a: Pulling fs layer [2021-05-17T15:19:08.990Z] d2f70382dc9a: Verifying Checksum [2021-05-17T15:19:08.990Z] d2f70382dc9a: Download complete [2021-05-17T15:19:09.584Z] d2f70382dc9a: Pull complete [2021-05-17T15:19:09.584Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-17T15:19:09.584Z] Status: Downloaded newer image for alpine:3.12 [2021-05-17T15:19:09.584Z] ---> 9852663dfa18 [2021-05-17T15:19:09.584Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2021-05-17T15:19:09.860Z] ---> Running in 2988410093a8 [2021-05-17T15:19:10.134Z] Removing intermediate container 2988410093a8 [2021-05-17T15:19:10.134Z] ---> c9396f93f706 [2021-05-17T15:19:10.134Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T15:19:10.413Z] ---> Running in f3f15ad2f88e [2021-05-17T15:19:12.391Z] Removing intermediate container f3f15ad2f88e [2021-05-17T15:19:12.391Z] ---> 81e07f84b5da [2021-05-17T15:19:12.391Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-17T15:19:12.391Z] ---> Running in 0d41ab75eafc [2021-05-17T15:19:13.372Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-17T15:19:13.968Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-17T15:19:14.945Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-17T15:19:14.945Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-17T15:19:14.945Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-17T15:19:14.945Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-17T15:19:15.216Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-17T15:19:15.485Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-17T15:19:15.485Z] Executing busybox-1.31.1-r20.trigger [2021-05-17T15:19:15.485Z] OK: 8 MiB in 20 packages [2021-05-17T15:19:16.928Z] Removing intermediate container 0d41ab75eafc [2021-05-17T15:19:16.928Z] ---> 19c5ed9622de [2021-05-17T15:19:16.928Z] Step 16/25 : WORKDIR / [2021-05-17T15:19:16.928Z] ---> Running in 3ecf078dd3ef [2021-05-17T15:19:17.204Z] Removing intermediate container 3ecf078dd3ef [2021-05-17T15:19:17.204Z] ---> c3aa0c068f4d [2021-05-17T15:19:17.204Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2021-05-17T15:19:18.182Z] ---> d2eda177b6c2 [2021-05-17T15:19:18.182Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2021-05-17T15:19:18.779Z] ---> deca7057c79d [2021-05-17T15:19:18.779Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2021-05-17T15:19:20.216Z] ---> 785674bfad04 [2021-05-17T15:19:20.216Z] Step 20/25 : EXPOSE 49990 [2021-05-17T15:19:20.216Z] ---> Running in 7948128df16a [2021-05-17T15:19:20.488Z] Removing intermediate container 7948128df16a [2021-05-17T15:19:20.488Z] ---> 784ba53dbc7d [2021-05-17T15:19:20.488Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2021-05-17T15:19:20.761Z] ---> Running in 4a767cb3f0fe [2021-05-17T15:19:21.037Z] Removing intermediate container 4a767cb3f0fe [2021-05-17T15:19:21.037Z] ---> 0391c88f5252 [2021-05-17T15:19:21.037Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-17T15:19:21.309Z] ---> Running in 0f6f19a225dc [2021-05-17T15:19:21.581Z] Removing intermediate container 0f6f19a225dc [2021-05-17T15:19:21.581Z] ---> a5b2fea08dfc [2021-05-17T15:19:21.581Z] Step 23/25 : LABEL arch=arm64 [2021-05-17T15:19:21.581Z] ---> Running in e5b0f06cabe1 [2021-05-17T15:19:22.179Z] Removing intermediate container e5b0f06cabe1 [2021-05-17T15:19:22.179Z] ---> 864916e56a5a [2021-05-17T15:19:22.179Z] Step 24/25 : LABEL git_sha=6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 [2021-05-17T15:19:22.179Z] ---> Running in 787f35c79e95 [2021-05-17T15:19:22.780Z] Removing intermediate container 787f35c79e95 [2021-05-17T15:19:22.780Z] ---> 3634ef1e8874 [2021-05-17T15:19:22.780Z] Step 25/25 : LABEL version=0.0.0 [2021-05-17T15:19:22.780Z] ---> Running in 28894b257703 [2021-05-17T15:19:23.390Z] Removing intermediate container 28894b257703 [2021-05-17T15:19:23.390Z] ---> 63410f0518df [2021-05-17T15:19:23.390Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-17T15:19:23.390Z] Successfully built 63410f0518df [2021-05-17T15:19:23.390Z] 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-05-17T15:19:23.991Z] ---> job-cost.sh [2021-05-17T15:19:23.992Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LzhD [2021-05-17T15:20:02.973Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-17T15:21:24.729Z] lf-activate-venv(): INFO: Adding /tmp/venv-LzhD/bin to PATH [2021-05-17T15:21:24.729Z] INFO: No Stack... [2021-05-17T15:21:24.729Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-17T15:21:24.729Z] INFO: Archiving Costs [Pipeline] sh [2021-05-17T15:21:25.073Z] + + cutcat -d, /w/workspace/device-virtual-go/3/archives/cost.csv -f6 [2021-05-17T15:21:25.073Z] [Pipeline] lock [2021-05-17T15:21:25.141Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-204-3-stack-cost] [2021-05-17T15:21:25.149Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-204-3-stack-cost] did not exist. Created. [2021-05-17T15:21:25.149Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-204-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-17T15:21:25.519Z] /w/workspace/device-virtual-go/3@tmp/durable-7628cdf6/script.sh: 1: /w/workspace/device-virtual-go/3@tmp/durable-7628cdf6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-17T15:21:25.864Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-17T15:21:25.909Z] Warning: overwriting stash ‘stack-cost’ [2021-05-17T15:21:26.070Z] Stashed 1 file(s) [Pipeline] } [2021-05-17T15:21:26.083Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-204-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-17T15:21:26.712Z] provisioning config files... [2021-05-17T15:21:26.726Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config6209952650598069044tmp [Pipeline] { [Pipeline] sh [2021-05-17T15:21:27.079Z] + set +x [2021-05-17T15:21:27.079Z] + curl -s https://codecov.io/bash [2021-05-17T15:21:27.079Z] + bash -s -- [2021-05-17T15:21:27.350Z] [2021-05-17T15:21:27.350Z] _____ _ [2021-05-17T15:21:27.350Z] / ____| | | [2021-05-17T15:21:27.350Z] | | ___ __| | ___ ___ _____ __ [2021-05-17T15:21:27.350Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-17T15:21:27.350Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-17T15:21:27.350Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-17T15:21:27.350Z] Bash-1.0.2 [2021-05-17T15:21:27.350Z] [2021-05-17T15:21:27.350Z] [2021-05-17T15:21:27.350Z] ==> git version 2.24.3 found [2021-05-17T15:21:27.350Z] ==> 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-05-17T15:21:27.350Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-17T15:21:27.350Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-17T15:21:27.350Z] ==> Jenkins CI detected. [2021-05-17T15:21:27.350Z] project root: . [2021-05-17T15:21:27.350Z] --> token set from env [2021-05-17T15:21:27.350Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-17T15:21:27.350Z] ==> Running gcov in . (disable via -X gcov) [2021-05-17T15:21:27.350Z] ==> Python coveragepy not found [2021-05-17T15:21:27.350Z] ==> Searching for coverage reports in: [2021-05-17T15:21:27.350Z] + . [2021-05-17T15:21:27.350Z] -> Found 1 reports [2021-05-17T15:21:27.350Z] ==> Detecting git/mercurial file structure [2021-05-17T15:21:27.638Z] ==> Reading reports [2021-05-17T15:21:27.638Z] + ./coverage.out bytes=47247 [2021-05-17T15:21:27.638Z] ==> Appending adjustments [2021-05-17T15:21:27.638Z] https://docs.codecov.io/docs/fixing-reports [2021-05-17T15:21:27.638Z] + Found adjustments [2021-05-17T15:21:27.638Z] ==> Gzipping contents [2021-05-17T15:21:27.638Z] 8.0K /tmp/codecov.uEjdEX.gz [2021-05-17T15:21:27.638Z] ==> Uploading reports [2021-05-17T15:21:27.638Z] url: https://codecov.io [2021-05-17T15:21:27.638Z] query: branch=PR-204&commit=6faa9be618107b7b8f1c4d93c4a897f87a6d92b5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-204%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2021-05-17T15:21:27.638Z] -> Pinging Codecov [2021-05-17T15:21:27.638Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-204&commit=6faa9be618107b7b8f1c4d93c4a897f87a6d92b5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-204%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=204&job=&cmd_args= [2021-05-17T15:21:28.224Z] -> Uploading to [2021-05-17T15:21:28.224Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-17/5E52B4B073DB2E39498172D8E973AA87/6faa9be618107b7b8f1c4d93c4a897f87a6d92b5/784c58fd-9a31-446e-82ec-d0cad2104eb3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210517T152128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b18cbeb30764dbe989f5ce29f1fd58bee7c4b5ec9855904a16f82edb1387e0a0 [2021-05-17T15:21:28.224Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-17T15:21:28.224Z] Dload Upload Total Spent Left Speed [2021-05-17T15:21:28.816Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5765 0 0 100 5765 0 12636 --:--:-- --:--:-- --:--:-- 12642 100 5765 0 0 100 5765 0 12632 --:--:-- --:--:-- --:--:-- 12614 [2021-05-17T15:21:28.816Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/6faa9be618107b7b8f1c4d93c4a897f87a6d92b5 [Pipeline] } [2021-05-17T15:21:28.839Z] 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-05-17T15:21:30.277Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:21:30.860Z] ---> package-listing.sh [2021-05-17T15:21:30.860Z] ++ facter osfamily [2021-05-17T15:21:30.860Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-17T15:21:30.860Z] + OS_FAMILY=redhat [2021-05-17T15:21:30.860Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-204 [2021-05-17T15:21:30.860Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-17T15:21:30.860Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-17T15:21:30.860Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-17T15:21:30.860Z] + PACKAGES=/tmp/packages_start.txt [2021-05-17T15:21:30.860Z] + '[' /w/workspace/foundry_device-virtual-go_PR-204 ']' [2021-05-17T15:21:30.860Z] + PACKAGES=/tmp/packages_end.txt [2021-05-17T15:21:30.860Z] + case "${OS_FAMILY}" in [2021-05-17T15:21:30.860Z] + rpm -qa [2021-05-17T15:21:30.860Z] + sort [2021-05-17T15:21:36.271Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-17T15:21:36.271Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-17T15:21:36.271Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-17T15:21:36.271Z] + '[' /w/workspace/foundry_device-virtual-go_PR-204 ']' [2021-05-17T15:21:36.271Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-204/archives/ [2021-05-17T15:21:36.271Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-204/archives/ [Pipeline] echo [2021-05-17T15:21:36.286Z] 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-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-17T15:21:36.584Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:21:36.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T15:21:36.923Z] [2021-05-17T15:21:36.923Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-17T15:21:37.255Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T15:21:37.255Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-17T15:21:37.255Z] df20fa9351a1: Pulling fs layer [2021-05-17T15:21:37.255Z] 36b3adc4ff6f: Pulling fs layer [2021-05-17T15:21:37.255Z] 8ad3a11d3b57: Pulling fs layer [2021-05-17T15:21:37.255Z] 46f8f816bc3b: Pulling fs layer [2021-05-17T15:21:37.255Z] 93b61091891f: Pulling fs layer [2021-05-17T15:21:37.255Z] 93b9cdb0e59b: Pulling fs layer [2021-05-17T15:21:37.255Z] 5e14af77c1be: Pulling fs layer [2021-05-17T15:21:37.255Z] 01666e4c0597: Pulling fs layer [2021-05-17T15:21:37.255Z] aa168da1d23b: Pulling fs layer [2021-05-17T15:21:37.255Z] 93b61091891f: Waiting [2021-05-17T15:21:37.255Z] 93b9cdb0e59b: Waiting [2021-05-17T15:21:37.255Z] 5e14af77c1be: Waiting [2021-05-17T15:21:37.255Z] 01666e4c0597: Waiting [2021-05-17T15:21:37.255Z] aa168da1d23b: Waiting [2021-05-17T15:21:37.255Z] 46f8f816bc3b: Waiting [2021-05-17T15:21:37.255Z] 36b3adc4ff6f: Verifying Checksum [2021-05-17T15:21:37.255Z] 36b3adc4ff6f: Download complete [2021-05-17T15:21:37.255Z] 46f8f816bc3b: Verifying Checksum [2021-05-17T15:21:37.255Z] 46f8f816bc3b: Download complete [2021-05-17T15:21:37.255Z] df20fa9351a1: Verifying Checksum [2021-05-17T15:21:37.527Z] 93b9cdb0e59b: Verifying Checksum [2021-05-17T15:21:37.527Z] 93b9cdb0e59b: Download complete [2021-05-17T15:21:37.527Z] 93b61091891f: Verifying Checksum [2021-05-17T15:21:37.527Z] 93b61091891f: Download complete [2021-05-17T15:21:37.527Z] 5e14af77c1be: Verifying Checksum [2021-05-17T15:21:37.527Z] 5e14af77c1be: Download complete [2021-05-17T15:21:37.527Z] 01666e4c0597: Verifying Checksum [2021-05-17T15:21:37.527Z] 01666e4c0597: Download complete [2021-05-17T15:21:37.527Z] 8ad3a11d3b57: Verifying Checksum [2021-05-17T15:21:37.527Z] 8ad3a11d3b57: Download complete [2021-05-17T15:21:37.797Z] df20fa9351a1: Pull complete [2021-05-17T15:21:38.070Z] 36b3adc4ff6f: Pull complete [2021-05-17T15:21:39.503Z] 8ad3a11d3b57: Pull complete [2021-05-17T15:21:39.503Z] 46f8f816bc3b: Pull complete [2021-05-17T15:21:39.769Z] aa168da1d23b: Verifying Checksum [2021-05-17T15:21:39.769Z] aa168da1d23b: Download complete [2021-05-17T15:21:40.034Z] 93b61091891f: Pull complete [2021-05-17T15:21:40.034Z] 93b9cdb0e59b: Pull complete [2021-05-17T15:21:40.297Z] 5e14af77c1be: Pull complete [2021-05-17T15:21:40.297Z] 01666e4c0597: Pull complete [2021-05-17T15:21:48.524Z] aa168da1d23b: Pull complete [2021-05-17T15:21:48.524Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-17T15:21:48.524Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T15:21:48.524Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-17T15:21:48.759Z] prd-centos7-docker-4c-2g-356 does not seem to be running inside a container [2021-05-17T15:21:48.818Z] $ 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-204/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-204 -v /w/workspace/foundry_device-virtual-go_PR-204:/w/workspace/foundry_device-virtual-go_PR-204:rw,z -v /w/workspace/foundry_device-virtual-go_PR-204@tmp:/w/workspace/foundry_device-virtual-go_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-17T15:21:51.991Z] $ docker top 688c6cd06510467b1e7107e7a666a209a13040d7bf38ad8400ce87f31c2c4d02 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T15:21:52.416Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-17T15:21:52.725Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-17T15:21:53.036Z] + ls /var/log/sa-host [2021-05-17T15:21:53.036Z] + sadf -c /var/log/sa-host/sa17 [2021-05-17T15:21:53.036Z] file_magic: OK [2021-05-17T15:21:53.036Z] HZ: Using current value: 100 [2021-05-17T15:21:53.036Z] file_header: OK [2021-05-17T15:21:53.036Z] 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-05-17T15:21:53.036Z] Statistics: [2021-05-17T15:21:53.036Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-17T15:21:53.036Z] File successfully converted to sysstat format version 12.2.1 [2021-05-17T15:21:53.036Z] + sadf -c /var/log/sa-host/sa23 [2021-05-17T15:21:53.036Z] file_magic: OK [2021-05-17T15:21:53.036Z] HZ: Using current value: 100 [2021-05-17T15:21:53.036Z] file_header: OK [2021-05-17T15:21:53.036Z] 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-05-17T15:21:53.036Z] Statistics: [2021-05-17T15:21:53.036Z] Hnuu...uuuununununu... [2021-05-17T15:21:53.036Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T15:21:53.229Z] provisioning config files... [2021-05-17T15:21:53.250Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-204@tmp/config4587034469986926258tmp [Pipeline] { [Pipeline] echo [2021-05-17T15:21:53.279Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:21:53.583Z] ---> create-netrc.sh [Pipeline] } [2021-05-17T15:21:53.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-17T15:21:53.621Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:21:53.929Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-17T15:21:53.941Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:21:54.245Z] ---> sudo-logs.sh [2021-05-17T15:21:54.245Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-17T15:21:54.281Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:21:54.585Z] ---> job-cost.sh [2021-05-17T15:21:54.585Z] lf-activate-venv: SKIPPING [2021-05-17T15:21:54.585Z] DEBUG: total: 0.20999999344348907 [2021-05-17T15:21:54.585Z] INFO: Retrieving Stack Cost... [2021-05-17T15:21:55.989Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-17T15:21:56.567Z] INFO: Archiving Costs [Pipeline] echo [2021-05-17T15:21:56.584Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T15:21:56.893Z] ---> logs-deploy.sh [2021-05-17T15:21:56.893Z] lf-activate-venv: SKIPPING [2021-05-17T15:21:56.893Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-204/3 [2021-05-17T15:21:56.893Z] INFO: archiving workspace using pattern(s): [2021-05-17T15:21:58.826Z] Archives upload complete. [2021-05-17T15:21:58.826Z] INFO: archiving logs to Nexus