Pull request #278 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca rather than e8259c7b579e86cb3b93c137143892732b1f4dd6 Obtained Jenkinsfile from 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15051313548322351804.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13603425635727140151.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-278/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5538843622522375949.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17034430777888435946.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-278/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3622868175414761937.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21395’ Running on prd-ubuntu20.04-docker-8c-8g-21407 in /w/workspace/foundry_device-virtual-go_PR-278 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-278 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca into PR head commit e8259c7b579e86cb3b93c137143892732b1f4dd6 Merge succeeded, producing e8259c7b579e86cb3b93c137143892732b1f4dd6 Checking out Revision e8259c7b579e86cb3b93c137143892732b1f4dd6 (PR-278) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8259c7b579e86cb3b93c137143892732b1f4dd6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e8259c7b579e86cb3b93c137143892732b1f4dd6 # timeout=10 Commit message: "feat(security): Roll out delayed start configuration.toml scaffolding" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-19T21:54:52.947Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-19T21:54:53.011Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-19T21:54:53.030Z] ========================================================= [2022-04-19T21:54:53.030Z] EdgeX Global Pipelines Version Info [2022-04-19T21:54:53.030Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ceaade6570595a6266fae564bb75a9269c6364c8 # timeout=10 [2022-04-19T21:54:53.842Z] ------------------- [2022-04-19T21:54:53.843Z] stable info: [2022-04-19T21:54:53.843Z] ------------------- [2022-04-19T21:54:53.843Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-19T21:54:53.843Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-19T21:54:53.843Z] Message: update stable to v1.0.221 [2022-04-19T21:54:54.414Z] ------------------- [2022-04-19T21:54:54.414Z] experimental info: [2022-04-19T21:54:54.414Z] ------------------- [2022-04-19T21:54:54.414Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-19T21:54:54.414Z] Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d [2022-04-19T21:54:54.414Z] Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-19T21:54:54.593Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-19T21:54:54.602Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-19T21:54:54.610Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-19T21:54:54.619Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-19T21:54:54.629Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-19T21:54:54.648Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-19T21:54:54.665Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-19T21:54:54.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-19T21:54:54.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-19T21:54:54.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-19T21:54:54.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-19T21:54:54.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-19T21:54:54.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-19T21:54:54.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-19T21:54:54.748Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-19T21:54:54.757Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-19T21:54:54.776Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-19T21:54:54.794Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-19T21:54:54.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-19T21:54:54.825Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-19T21:54:54.839Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-19T21:54:54.855Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-19T21:54:54.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-19T21:54:54.878Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-19T21:54:54.896Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-19T21:54:54.908Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-19T21:54:54.923Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-278 [Pipeline] echo [2022-04-19T21:54:54.936Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-278 [Pipeline] echo [2022-04-19T21:54:54.948Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-278 [Pipeline] echo [2022-04-19T21:54:54.964Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e8259c7b579e86cb3b93c137143892732b1f4dd6 [Pipeline] echo [2022-04-19T21:54:54.987Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e8259c7 [Pipeline] echo [2022-04-19T21:54:55.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T21:54:55.045Z] provisioning config files... [2022-04-19T21:54:55.062Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config6694452441216627220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:54:55.372Z] ---> docker-login.sh [2022-04-19T21:54:55.372Z] nexus3.edgexfoundry.org:10001 [2022-04-19T21:54:55.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:54:55.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:54:55.896Z] Configure a credential helper to remove this warning. See [2022-04-19T21:54:55.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:54:55.896Z] [2022-04-19T21:54:55.896Z] Login Succeeded [2022-04-19T21:54:55.896Z] nexus3.edgexfoundry.org:10002 [2022-04-19T21:54:55.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:54:55.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:54:55.896Z] Configure a credential helper to remove this warning. See [2022-04-19T21:54:55.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:54:55.896Z] [2022-04-19T21:54:55.896Z] Login Succeeded [2022-04-19T21:54:55.896Z] nexus3.edgexfoundry.org:10003 [2022-04-19T21:54:56.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:54:56.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:54:56.157Z] Configure a credential helper to remove this warning. See [2022-04-19T21:54:56.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:54:56.157Z] [2022-04-19T21:54:56.157Z] Login Succeeded [2022-04-19T21:54:56.157Z] nexus3.edgexfoundry.org:10004 [2022-04-19T21:54:56.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:54:56.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:54:56.157Z] Configure a credential helper to remove this warning. See [2022-04-19T21:54:56.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:54:56.158Z] [2022-04-19T21:54:56.158Z] Login Succeeded [2022-04-19T21:54:56.158Z] docker.io [2022-04-19T21:54:56.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:54:56.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:54:56.683Z] Configure a credential helper to remove this warning. See [2022-04-19T21:54:56.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:54:56.683Z] [2022-04-19T21:54:56.683Z] Login Succeeded [2022-04-19T21:54:56.683Z] ---> docker-login.sh ends [Pipeline] } [2022-04-19T21:54:56.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-19T21:54:57.077Z] + git rev-list -1 --merges e8259c7b579e86cb3b93c137143892732b1f4dd6~1..e8259c7b579e86cb3b93c137143892732b1f4dd6 [Pipeline] echo [2022-04-19T21:54:57.173Z] -----------> git rev-list -1 --merges e8259c7b579e86cb3b93c137143892732b1f4dd6~1..e8259c7b579e86cb3b93c137143892732b1f4dd6 e8259c7b579e86cb3b93c137143892732b1f4dd6 [false] [Pipeline] sh [2022-04-19T21:54:57.465Z] + git log --format=format:%s -1 e8259c7b579e86cb3b93c137143892732b1f4dd6 [Pipeline] echo [2022-04-19T21:54:57.482Z] ========================================================= [2022-04-19T21:54:57.482Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-19T21:54:57.482Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-19T21:54:57.819Z] + git log --format=format:%s -1 e8259c7b579e86cb3b93c137143892732b1f4dd6 [Pipeline] echo [2022-04-19T21:54:57.831Z] [semverPrep] GIT_COMMIT: e8259c7b579e86cb3b93c137143892732b1f4dd6, Commit Message: feat(security): Roll out delayed start configuration.toml scaffolding [Pipeline] echo [2022-04-19T21:54:57.840Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-19T21:54:58.227Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-19T21:54:58.227Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-19T21:54:58.227Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-19T21:54:58.227Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-19T21:54:58.227Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-19T21:54:58.227Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-19T21:54:58.227Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:54:58.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T21:54:58.585Z] [2022-04-19T21:54:58.585Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:54:58.894Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T21:54:58.894Z] latest: Pulling from edgex-devops/git-semver [2022-04-19T21:54:58.894Z] a0d0a0d46f8b: Pulling fs layer [2022-04-19T21:54:58.894Z] 3e5f54012d9b: Pulling fs layer [2022-04-19T21:54:58.894Z] 4c7163046ea9: Pulling fs layer [2022-04-19T21:54:58.894Z] 0c2d73faf560: Pulling fs layer [2022-04-19T21:54:58.894Z] 0c2d73faf560: Waiting [2022-04-19T21:54:58.894Z] 3e5f54012d9b: Verifying Checksum [2022-04-19T21:54:58.894Z] 3e5f54012d9b: Download complete [2022-04-19T21:54:58.894Z] a0d0a0d46f8b: Verifying Checksum [2022-04-19T21:54:58.894Z] a0d0a0d46f8b: Download complete [2022-04-19T21:54:58.894Z] 0c2d73faf560: Verifying Checksum [2022-04-19T21:54:58.894Z] 0c2d73faf560: Download complete [2022-04-19T21:54:59.155Z] 4c7163046ea9: Verifying Checksum [2022-04-19T21:54:59.155Z] 4c7163046ea9: Download complete [2022-04-19T21:54:59.155Z] a0d0a0d46f8b: Pull complete [2022-04-19T21:54:59.155Z] 3e5f54012d9b: Pull complete [2022-04-19T21:54:59.727Z] 4c7163046ea9: Pull complete [2022-04-19T21:54:59.727Z] 0c2d73faf560: Pull complete [2022-04-19T21:54:59.727Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-19T21:54:59.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T21:54:59.727Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-19T21:54:59.806Z] prd-ubuntu20.04-docker-8c-8g-21407 does not seem to be running inside a container [2022-04-19T21:54:59.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@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 [2022-04-19T21:55:00.645Z] $ docker top a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-19T21:55:00.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-19T21:55:00.750Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-19T21:55:00.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-19T21:55:00.899Z] $ docker exec a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 ssh-agent [2022-04-19T21:55:01.024Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcOlMIB/agent.13 [2022-04-19T21:55:01.024Z] SSH_AGENT_PID=19 [2022-04-19T21:55:01.034Z] Running ssh-add (command line suppressed) [2022-04-19T21:55:01.161Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_3665769360278439280.key (/w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_3665769360278439280.key) [2022-04-19T21:55:01.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-19T21:55:01.468Z] + git tag --points-at HEAD [Pipeline] } [2022-04-19T21:55:01.488Z] $ docker exec --env ******** --env ******** a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 ssh-agent -k [2022-04-19T21:55:01.613Z] unset SSH_AUTH_SOCK; [2022-04-19T21:55:01.614Z] unset SSH_AGENT_PID; [2022-04-19T21:55:01.614Z] echo Agent pid 19 killed; [2022-04-19T21:55:01.621Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-19T21:55:01.650Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-19T21:55:01.650Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-19T21:55:01.788Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-19T21:55:01.797Z] $ docker exec a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 ssh-agent [2022-04-19T21:55:01.926Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGjnEkI/agent.53 [2022-04-19T21:55:01.926Z] SSH_AGENT_PID=59 [2022-04-19T21:55:01.933Z] Running ssh-add (command line suppressed) [2022-04-19T21:55:02.055Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_6581825523241857873.key (/w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_6581825523241857873.key) [2022-04-19T21:55:02.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-19T21:55:02.356Z] + git semver init [2022-04-19T21:55:02.356Z] # -> Open(): unable to determine branch for HEAD [2022-04-19T21:55:02.356Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-278/.git [2022-04-19T21:55:02.356Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-278 [2022-04-19T21:55:02.356Z] # $SEMVER_REMOTE_NAME = origin [2022-04-19T21:55:02.356Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-19T21:55:02.356Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-19T21:55:02.356Z] # $SEMVER_BRANCH = PR-278 [2022-04-19T21:55:02.356Z] # $SEMVER_TEMP = /tmp/semver-766254947 [2022-04-19T21:55:02.356Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-19T21:55:04.273Z] # '/tmp/semver-766254947' -> '/w/workspace/foundry_device-virtual-go_PR-278/.semver' [2022-04-19T21:55:04.273Z] # -> Force: false [2022-04-19T21:55:04.273Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-278/.semver [Pipeline] } [2022-04-19T21:55:04.290Z] $ docker exec --env ******** --env ******** a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 ssh-agent -k [2022-04-19T21:55:04.394Z] unset SSH_AUTH_SOCK; [2022-04-19T21:55:04.395Z] unset SSH_AGENT_PID; [2022-04-19T21:55:04.395Z] echo Agent pid 59 killed; [2022-04-19T21:55:04.401Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-19T21:55:04.716Z] + git semver [Pipeline] } [2022-04-19T21:55:04.738Z] $ docker stop --time=1 a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 [2022-04-19T21:55:06.201Z] $ docker rm -f a086c2bb4d0737e8c4606ec1fc8896ed695b020177f5e96ebd668e779f038d54 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-19T21:55:06.574Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-19T21:55:06.854Z] Stashed 1 file(s) [Pipeline] echo [2022-04-19T21:55:06.858Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T21:55:06.999Z] provisioning config files... [2022-04-19T21:55:07.010Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config7007940522227956203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:55:07.316Z] ---> docker-login.sh [2022-04-19T21:55:07.316Z] nexus3.edgexfoundry.org:10001 [2022-04-19T21:55:07.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:55:07.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:55:07.316Z] Configure a credential helper to remove this warning. See [2022-04-19T21:55:07.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:55:07.316Z] [2022-04-19T21:55:07.316Z] Login Succeeded [2022-04-19T21:55:07.316Z] nexus3.edgexfoundry.org:10002 [2022-04-19T21:55:07.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:55:07.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:55:07.578Z] Configure a credential helper to remove this warning. See [2022-04-19T21:55:07.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:55:07.578Z] [2022-04-19T21:55:07.578Z] Login Succeeded [2022-04-19T21:55:07.578Z] nexus3.edgexfoundry.org:10003 [2022-04-19T21:55:07.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:55:07.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:55:07.578Z] Configure a credential helper to remove this warning. See [2022-04-19T21:55:07.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:55:07.578Z] [2022-04-19T21:55:07.578Z] Login Succeeded [2022-04-19T21:55:07.578Z] nexus3.edgexfoundry.org:10004 [2022-04-19T21:55:07.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:55:07.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:55:07.840Z] Configure a credential helper to remove this warning. See [2022-04-19T21:55:07.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:55:07.840Z] [2022-04-19T21:55:07.840Z] Login Succeeded [2022-04-19T21:55:07.840Z] docker.io [2022-04-19T21:55:07.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:55:08.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:55:08.101Z] Configure a credential helper to remove this warning. See [2022-04-19T21:55:08.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:55:08.101Z] [2022-04-19T21:55:08.101Z] Login Succeeded [2022-04-19T21:55:08.101Z] ---> docker-login.sh ends [Pipeline] } [2022-04-19T21:55:08.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-19T21:55:08.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-19T21:55:08.190Z] ========================================================= [2022-04-19T21:55:08.190Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-19T21:55:08.190Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:55:08.519Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-19T21:55:08.519Z] Sending build context to Docker daemon 22.94MB [2022-04-19T21:55:08.519Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T21:55:08.519Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-19T21:55:08.782Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-19T21:55:08.782Z] 59bf1c3509f3: Pulling fs layer [2022-04-19T21:55:08.782Z] 666ba61612fd: Pulling fs layer [2022-04-19T21:55:08.782Z] 8ed8ca486205: Pulling fs layer [2022-04-19T21:55:08.782Z] 4fe6c5a15a65: Pulling fs layer [2022-04-19T21:55:08.782Z] 22a0e8bec74d: Pulling fs layer [2022-04-19T21:55:08.782Z] 640e595b4fbd: Pulling fs layer [2022-04-19T21:55:08.782Z] 763cafe07f6e: Pulling fs layer [2022-04-19T21:55:08.782Z] 0c0b528cf693: Pulling fs layer [2022-04-19T21:55:08.782Z] 10935f4eaf8b: Pulling fs layer [2022-04-19T21:55:08.782Z] 22a0e8bec74d: Waiting [2022-04-19T21:55:08.782Z] 10935f4eaf8b: Waiting [2022-04-19T21:55:08.782Z] 640e595b4fbd: Waiting [2022-04-19T21:55:08.782Z] 763cafe07f6e: Waiting [2022-04-19T21:55:08.782Z] 0c0b528cf693: Waiting [2022-04-19T21:55:08.782Z] 4fe6c5a15a65: Waiting [2022-04-19T21:55:08.782Z] 8ed8ca486205: Verifying Checksum [2022-04-19T21:55:08.782Z] 8ed8ca486205: Download complete [2022-04-19T21:55:08.782Z] 22a0e8bec74d: Download complete [2022-04-19T21:55:08.782Z] 640e595b4fbd: Verifying Checksum [2022-04-19T21:55:08.782Z] 640e595b4fbd: Download complete [2022-04-19T21:55:08.782Z] 763cafe07f6e: Verifying Checksum [2022-04-19T21:55:08.782Z] 763cafe07f6e: Download complete [2022-04-19T21:55:08.782Z] 59bf1c3509f3: Verifying Checksum [2022-04-19T21:55:08.782Z] 0c0b528cf693: Verifying Checksum [2022-04-19T21:55:08.782Z] 0c0b528cf693: Download complete [2022-04-19T21:55:09.043Z] 59bf1c3509f3: Pull complete [2022-04-19T21:55:09.043Z] 666ba61612fd: Pull complete [2022-04-19T21:55:09.308Z] 8ed8ca486205: Pull complete [2022-04-19T21:55:09.568Z] 10935f4eaf8b: Verifying Checksum [2022-04-19T21:55:09.568Z] 10935f4eaf8b: Download complete [2022-04-19T21:55:09.568Z] 4fe6c5a15a65: Verifying Checksum [2022-04-19T21:55:09.568Z] 4fe6c5a15a65: Download complete [2022-04-19T21:55:14.863Z] 4fe6c5a15a65: Pull complete [2022-04-19T21:55:14.863Z] 22a0e8bec74d: Pull complete [2022-04-19T21:55:14.863Z] 640e595b4fbd: Pull complete [2022-04-19T21:55:14.863Z] 763cafe07f6e: Pull complete [2022-04-19T21:55:14.863Z] 0c0b528cf693: Pull complete [2022-04-19T21:55:16.777Z] 10935f4eaf8b: Pull complete [2022-04-19T21:55:16.777Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-19T21:55:16.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-19T21:55:16.777Z] ---> 99d49a6021b9 [2022-04-19T21:55:16.777Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-19T21:55:18.719Z] ---> Running in de6b7f0ebf41 [2022-04-19T21:55:18.719Z] Removing intermediate container de6b7f0ebf41 [2022-04-19T21:55:18.719Z] ---> 48fb71cd9a1d [2022-04-19T21:55:18.719Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T21:55:18.982Z] ---> Running in 20160b8762ee [2022-04-19T21:55:18.982Z] Removing intermediate container 20160b8762ee [2022-04-19T21:55:18.982Z] ---> 86f7f412a56f [2022-04-19T21:55:18.982Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-19T21:55:18.982Z] ---> Running in 03e08acb8985 [2022-04-19T21:55:19.242Z] Removing intermediate container 03e08acb8985 [2022-04-19T21:55:19.242Z] ---> b7934a7fdff9 [2022-04-19T21:55:19.242Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T21:55:19.242Z] ---> Running in cb0cc593f220 [2022-04-19T21:55:19.814Z] Removing intermediate container cb0cc593f220 [2022-04-19T21:55:19.814Z] ---> 028e7ac5eefe [2022-04-19T21:55:19.814Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T21:55:19.814Z] ---> Running in da5387b9241c [2022-04-19T21:55:20.075Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-19T21:55:21.021Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-19T21:55:21.281Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-19T21:55:21.542Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-19T21:55:21.542Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-19T21:55:21.542Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-19T21:55:21.803Z] Executing busybox-1.34.1-r3.trigger [2022-04-19T21:55:21.803Z] OK: 224 MiB in 56 packages [2022-04-19T21:55:21.969Z] Still waiting to schedule task [2022-04-19T21:55:21.970Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-21406’ is offline [2022-04-19T21:55:22.376Z] Removing intermediate container da5387b9241c [2022-04-19T21:55:22.376Z] ---> 0bf43067411a [2022-04-19T21:55:22.376Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-19T21:55:22.376Z] ---> 3b7b2ddad33a [2022-04-19T21:55:22.376Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T21:55:22.376Z] ---> Running in e0ebe4d3bf1e [2022-04-19T21:55:37.296Z] Removing intermediate container e0ebe4d3bf1e [2022-04-19T21:55:37.296Z] ---> 8768aacbcfc3 [2022-04-19T21:55:37.296Z] Step 10/12 : COPY . . [2022-04-19T21:55:37.868Z] ---> d4d1f031d606 [2022-04-19T21:55:37.868Z] Step 11/12 : ARG MAKE='make build' [2022-04-19T21:55:38.128Z] ---> Running in 88f17609b762 [2022-04-19T21:55:38.128Z] Removing intermediate container 88f17609b762 [2022-04-19T21:55:38.128Z] ---> 4f4a67c0b37e [2022-04-19T21:55:38.128Z] Step 12/12 : RUN $MAKE [2022-04-19T21:55:38.128Z] ---> Running in 58914109530c [2022-04-19T21:55:38.388Z] noop [2022-04-19T21:55:38.959Z] Removing intermediate container 58914109530c [2022-04-19T21:55:38.959Z] ---> c7f0cd002c16 [2022-04-19T21:55:38.959Z] Successfully built c7f0cd002c16 [2022-04-19T21:55:38.959Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:55:39.258Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-19T21:55:39.258Z] . [Pipeline] withDockerContainer [2022-04-19T21:55:39.342Z] prd-ubuntu20.04-docker-8c-8g-21407 does not seem to be running inside a container [2022-04-19T21:55:39.383Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-19T21:55:39.898Z] $ docker top 450f4bcba7188d9928bfa35a913ee3b5f5114df2e16a69b70bfe52e5cb220268 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-19T21:55:40.244Z] + go version [2022-04-19T21:55:40.244Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-19T21:55:40.261Z] $ docker stop --time=1 450f4bcba7188d9928bfa35a913ee3b5f5114df2e16a69b70bfe52e5cb220268 [2022-04-19T21:55:41.580Z] $ docker rm -f 450f4bcba7188d9928bfa35a913ee3b5f5114df2e16a69b70bfe52e5cb220268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:55:41.983Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-19T21:55:41.983Z] . [Pipeline] withDockerContainer [2022-04-19T21:55:42.052Z] prd-ubuntu20.04-docker-8c-8g-21407 does not seem to be running inside a container [2022-04-19T21:55:42.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-19T21:55:42.525Z] $ docker top 19e309cf58bcc58590a7f4bd6d1e30d44f1b82cb9c2057d2d828383f8a3af1be -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-19T21:55:42.897Z] + make test [2022-04-19T21:55:42.897Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-19T21:55:43.466Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-19T21:55:53.606Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-19T21:55:53.606Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements [2022-04-19T21:56:01.738Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-19T21:56:05.039Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-19T21:56:05.039Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-19T21:56:05.039Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-19T21:56:05.622Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-19T21:56:05.642Z] $ docker stop --time=1 19e309cf58bcc58590a7f4bd6d1e30d44f1b82cb9c2057d2d828383f8a3af1be [2022-04-19T21:56:07.601Z] $ docker rm -f 19e309cf58bcc58590a7f4bd6d1e30d44f1b82cb9c2057d2d828383f8a3af1be [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-19T21:56:08.076Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-19T21:56:08.123Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-19T21:56:08.706Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-19T21:56:09.002Z] + ls -al . [2022-04-19T21:56:09.002Z] total 204 [2022-04-19T21:56:09.002Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:56 . [2022-04-19T21:56:09.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:54 .. [2022-04-19T21:56:09.002Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:54 .git [2022-04-19T21:56:09.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:54 .github [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 19 21:54 .gitignore [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 21:54 .golangci.yml [2022-04-19T21:56:09.002Z] drwx------ 3 jenkins jenkins 4096 Apr 19 21:55 .semver [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 19 21:54 Attribution.txt [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 19 21:54 CHANGELOG.md [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 19 21:54 Dockerfile [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 21:54 GOVERNANCE.md [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 21:54 Jenkinsfile [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 21:54 LICENSE [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 19 21:54 Makefile [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 19 21:54 OWNERS.md [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 19 21:54 README.md [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 21:55 VERSION [2022-04-19T21:56:09.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:54 bin [2022-04-19T21:56:09.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:54 cmd [2022-04-19T21:56:09.002Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 19 21:55 coverage.out [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 3093 Apr 19 21:54 go.mod [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 53999 Apr 19 21:54 go.sum [2022-04-19T21:56:09.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:54 internal [2022-04-19T21:56:09.002Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 21:54 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:56:09.298Z] + 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=e8259c7b579e86cb3b93c137143892732b1f4dd6 --label arch=amd64 --label version=0.0.0 . [2022-04-19T21:56:09.298Z] Sending build context to Docker daemon 22.98MB [2022-04-19T21:56:09.298Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T21:56:09.298Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-19T21:56:09.298Z] ---> c7f0cd002c16 [2022-04-19T21:56:09.298Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-19T21:56:09.559Z] ---> Running in 648aa9653a91 [2022-04-19T21:56:09.559Z] Removing intermediate container 648aa9653a91 [2022-04-19T21:56:09.559Z] ---> 72f96797292a [2022-04-19T21:56:09.559Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T21:56:09.820Z] ---> Running in d8dbf0a0f5dc [2022-04-19T21:56:09.820Z] Removing intermediate container d8dbf0a0f5dc [2022-04-19T21:56:09.820Z] ---> 8b95f9ad1346 [2022-04-19T21:56:09.820Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-19T21:56:09.820Z] ---> Running in 1079ba323544 [2022-04-19T21:56:09.820Z] Removing intermediate container 1079ba323544 [2022-04-19T21:56:09.820Z] ---> cb768527f3b9 [2022-04-19T21:56:09.820Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T21:56:10.078Z] ---> Running in a1ef8db12ae2 [2022-04-19T21:56:10.652Z] Removing intermediate container a1ef8db12ae2 [2022-04-19T21:56:10.652Z] ---> b37df7c9ade5 [2022-04-19T21:56:10.652Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T21:56:10.652Z] ---> Running in 25102c33c28d [2022-04-19T21:56:10.917Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-19T21:56:11.879Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-19T21:56:12.140Z] OK: 224 MiB in 56 packages [2022-04-19T21:56:12.402Z] Removing intermediate container 25102c33c28d [2022-04-19T21:56:12.402Z] ---> 29ceef9cf5bc [2022-04-19T21:56:12.402Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-19T21:56:12.663Z] ---> 077d1296ba69 [2022-04-19T21:56:12.663Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T21:56:12.663Z] ---> Running in 086eba9e9ce5 [2022-04-19T21:56:13.607Z] Removing intermediate container 086eba9e9ce5 [2022-04-19T21:56:13.607Z] ---> 279a88d0e17e [2022-04-19T21:56:13.607Z] Step 10/26 : COPY . . [2022-04-19T21:56:13.868Z] ---> c64c609d8db2 [2022-04-19T21:56:13.868Z] Step 11/26 : ARG MAKE='make build' [2022-04-19T21:56:14.129Z] ---> Running in 32a4553ab240 [2022-04-19T21:56:14.129Z] Removing intermediate container 32a4553ab240 [2022-04-19T21:56:14.129Z] ---> 29307e95ab4a [2022-04-19T21:56:14.129Z] Step 12/26 : RUN $MAKE [2022-04-19T21:56:14.129Z] ---> Running in 4e61977b610e [2022-04-19T21:56:14.699Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-04-19T21:56:36.661Z] Removing intermediate container 4e61977b610e [2022-04-19T21:56:36.661Z] ---> 3685061d5ffb [2022-04-19T21:56:36.661Z] Step 13/26 : FROM alpine:3.14 [2022-04-19T21:56:37.230Z] 3.14: Pulling from library/alpine [2022-04-19T21:56:37.491Z] 8663204ce13b: Pulling fs layer [2022-04-19T21:56:37.753Z] 8663204ce13b: Verifying Checksum [2022-04-19T21:56:37.753Z] 8663204ce13b: Download complete [2022-04-19T21:56:37.753Z] 8663204ce13b: Pull complete [2022-04-19T21:56:37.753Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-19T21:56:37.753Z] Status: Downloaded newer image for alpine:3.14 [2022-04-19T21:56:37.753Z] ---> e04c818066af [2022-04-19T21:56:37.753Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-19T21:56:38.014Z] ---> Running in 4baebaaa5887 [2022-04-19T21:56:38.014Z] Removing intermediate container 4baebaaa5887 [2022-04-19T21:56:38.014Z] ---> 121a6f5cca03 [2022-04-19T21:56:38.014Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T21:56:38.014Z] ---> Running in d3e2bfd18a0e [2022-04-19T21:56:38.955Z] Removing intermediate container d3e2bfd18a0e [2022-04-19T21:56:38.955Z] ---> db87fe20da89 [2022-04-19T21:56:38.955Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-19T21:56:38.955Z] ---> Running in 4eb024a63640 [2022-04-19T21:56:39.216Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-19T21:56:40.160Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-19T21:56:40.420Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-19T21:56:40.420Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-19T21:56:40.420Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-19T21:56:40.681Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-19T21:56:40.682Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-19T21:56:40.682Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-19T21:56:40.942Z] Executing busybox-1.33.1-r7.trigger [2022-04-19T21:56:40.942Z] OK: 8 MiB in 20 packages [2022-04-19T21:56:41.515Z] Removing intermediate container 4eb024a63640 [2022-04-19T21:56:41.515Z] ---> ee674be4f62f [2022-04-19T21:56:41.515Z] Step 17/26 : WORKDIR / [2022-04-19T21:56:41.515Z] ---> Running in cd06485c839d [2022-04-19T21:56:41.515Z] Removing intermediate container cd06485c839d [2022-04-19T21:56:41.515Z] ---> 7db34e3d9687 [2022-04-19T21:56:41.515Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-19T21:56:41.778Z] ---> a610210cf7b6 [2022-04-19T21:56:41.778Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-19T21:56:41.778Z] ---> 3a0d42ed6307 [2022-04-19T21:56:41.778Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-19T21:56:42.350Z] ---> aabcf73c654c [2022-04-19T21:56:42.350Z] Step 21/26 : EXPOSE 59900 [2022-04-19T21:56:42.611Z] ---> Running in 261d41110beb [2022-04-19T21:56:42.611Z] Removing intermediate container 261d41110beb [2022-04-19T21:56:42.611Z] ---> 107a5b2b2d08 [2022-04-19T21:56:42.611Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-19T21:56:42.611Z] ---> Running in 2de0e59e5f15 [2022-04-19T21:56:42.611Z] Removing intermediate container 2de0e59e5f15 [2022-04-19T21:56:42.611Z] ---> f90c59e1d14f [2022-04-19T21:56:42.611Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-19T21:56:42.873Z] ---> Running in 049aa4864dfc [2022-04-19T21:56:42.873Z] Removing intermediate container 049aa4864dfc [2022-04-19T21:56:42.873Z] ---> 592c63f5afa4 [2022-04-19T21:56:42.873Z] Step 24/26 : LABEL arch=amd64 [2022-04-19T21:56:42.873Z] ---> Running in 8def222c5ea2 [2022-04-19T21:56:43.135Z] Removing intermediate container 8def222c5ea2 [2022-04-19T21:56:43.135Z] ---> 403fa345ecb7 [2022-04-19T21:56:43.135Z] Step 25/26 : LABEL git_sha=e8259c7b579e86cb3b93c137143892732b1f4dd6 [2022-04-19T21:56:43.135Z] ---> Running in 2834b27c6a26 [2022-04-19T21:56:43.135Z] Removing intermediate container 2834b27c6a26 [2022-04-19T21:56:43.135Z] ---> fcb68cf9223a [2022-04-19T21:56:43.135Z] Step 26/26 : LABEL version=0.0.0 [2022-04-19T21:56:43.135Z] ---> Running in 317886e67bc1 [2022-04-19T21:56:43.398Z] Removing intermediate container 317886e67bc1 [2022-04-19T21:56:43.398Z] ---> 589d73915e24 [2022-04-19T21:56:43.398Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-19T21:56:43.398Z] Successfully built 589d73915e24 [2022-04-19T21:56:43.398Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:56:43.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T21:56:43.818Z] [2022-04-19T21:56:43.818Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:56:44.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T21:56:44.134Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-19T21:56:44.134Z] 5eb5b503b376: Pulling fs layer [2022-04-19T21:56:44.134Z] 5c69ac0246d0: Pulling fs layer [2022-04-19T21:56:44.134Z] ec43610c2a17: Pulling fs layer [2022-04-19T21:56:44.134Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-19T21:56:44.134Z] 33b1e0a273af: Pulling fs layer [2022-04-19T21:56:44.134Z] 5d3b04190fa2: Pulling fs layer [2022-04-19T21:56:44.134Z] 2f39f015ded8: Pulling fs layer [2022-04-19T21:56:44.134Z] 33b1e0a273af: Waiting [2022-04-19T21:56:44.134Z] 5d3b04190fa2: Waiting [2022-04-19T21:56:44.134Z] 2f39f015ded8: Waiting [2022-04-19T21:56:44.134Z] 3a2ae6a8a46f: Waiting [2022-04-19T21:56:44.134Z] 5c69ac0246d0: Verifying Checksum [2022-04-19T21:56:44.134Z] 5c69ac0246d0: Download complete [2022-04-19T21:56:44.134Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-19T21:56:44.134Z] 3a2ae6a8a46f: Download complete [2022-04-19T21:56:44.134Z] 33b1e0a273af: Verifying Checksum [2022-04-19T21:56:44.134Z] 33b1e0a273af: Download complete [2022-04-19T21:56:44.134Z] ec43610c2a17: Verifying Checksum [2022-04-19T21:56:44.134Z] ec43610c2a17: Download complete [2022-04-19T21:56:44.134Z] 5d3b04190fa2: Verifying Checksum [2022-04-19T21:56:44.134Z] 5d3b04190fa2: Download complete [2022-04-19T21:56:44.395Z] 5eb5b503b376: Verifying Checksum [2022-04-19T21:56:44.395Z] 5eb5b503b376: Download complete [2022-04-19T21:56:44.983Z] 2f39f015ded8: Download complete [2022-04-19T21:56:45.979Z] 5eb5b503b376: Pull complete [2022-04-19T21:56:45.979Z] 5c69ac0246d0: Pull complete [2022-04-19T21:56:46.549Z] ec43610c2a17: Pull complete [2022-04-19T21:56:46.549Z] 3a2ae6a8a46f: Pull complete [2022-04-19T21:56:46.809Z] 33b1e0a273af: Pull complete [2022-04-19T21:56:46.809Z] 5d3b04190fa2: Pull complete [2022-04-19T21:56:52.089Z] 2f39f015ded8: Pull complete [2022-04-19T21:56:52.089Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-19T21:56:52.089Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T21:56:52.089Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-19T21:56:52.167Z] prd-ubuntu20.04-docker-8c-8g-21407 does not seem to be running inside a container [2022-04-19T21:56:52.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-19T21:56:54.512Z] $ docker top 3af860bf00cce3dbacc503cd0b4b662b213f37736af36d18f1800c4bb343caf1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:56:54.910Z] ---> job-cost.sh [2022-04-19T21:56:54.910Z] lf-activate-venv: SKIPPING [2022-04-19T21:56:54.910Z] INFO: No Stack... [2022-04-19T21:56:55.171Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-19T21:56:55.743Z] INFO: Archiving Costs [Pipeline] sh [2022-04-19T21:56:56.033Z] + cat /w/workspace/foundry_device-virtual-go_PR-278/archives/cost.csv [2022-04-19T21:56:56.033Z] + cut -d, -f6 [Pipeline] lock [2022-04-19T21:56:56.050Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-278-2-stack-cost] [2022-04-19T21:56:56.057Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-278-2-stack-cost] did not exist. Created. [2022-04-19T21:56:56.057Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-278-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-19T21:56:56.365Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-19T21:56:56.389Z] Stashed 1 file(s) [Pipeline] } [2022-04-19T21:56:56.395Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-278-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-19T21:56:56.416Z] $ docker stop --time=1 3af860bf00cce3dbacc503cd0b4b662b213f37736af36d18f1800c4bb343caf1 [2022-04-19T21:56:57.659Z] $ docker rm -f 3af860bf00cce3dbacc503cd0b4b662b213f37736af36d18f1800c4bb343caf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-19T21:56:59.976Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21408 in /w/workspace/foundry_device-virtual-go_PR-278 [Pipeline] { [Pipeline] ws [2022-04-19T21:56:59.990Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2022-04-19T21:57:00.210Z] The recommended git tool is: git [2022-04-19T21:57:07.301Z] using credential edgex-jenkins-ssh [2022-04-19T21:57:07.324Z] Cloning the remote Git repository [2022-04-19T21:57:07.398Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-19T21:57:07.488Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2022-04-19T21:57:07.666Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-19T21:57:07.667Z] > git --version # timeout=10 [2022-04-19T21:57:07.710Z] > git --version # 'git version 2.25.1' [2022-04-19T21:57:07.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-19T21:57:07.845Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-19T21:57:10.004Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-19T21:57:10.054Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-19T21:57:10.087Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-19T21:57:10.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-19T21:57:10.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-19T21:57:10.138Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-19T21:57:10.734Z] Merging remotes/origin/main commit 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca into PR head commit e8259c7b579e86cb3b93c137143892732b1f4dd6 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-19T21:57:10.920Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-19T21:57:11.571Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-278/archives ] [2022-04-19T21:57:11.571Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-278/archives [2022-04-19T21:57:11.571Z] total 16 [2022-04-19T21:57:11.571Z] drwxr-xr-x 3 root root 4096 Apr 19 21:56 . [2022-04-19T21:57:11.571Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:56 .. [2022-04-19T21:57:11.571Z] drwxr-xr-x 2 root root 4096 Apr 19 21:56 cost [2022-04-19T21:57:11.571Z] -rw-r--r-- 1 root root 88 Apr 19 21:56 cost.csv [2022-04-19T21:57:11.571Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-278/archives [2022-04-19T21:57:11.571Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-278/archives [2022-04-19T21:57:11.571Z] total 16 [2022-04-19T21:57:11.571Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 21:56 . [2022-04-19T21:57:11.571Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:56 .. [2022-04-19T21:57:11.571Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 21:56 cost [2022-04-19T21:57:11.571Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 19 21:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:57:11.867Z] ---> sysstat.sh [2022-04-19T21:57:10.756Z] > git config core.sparsecheckout # timeout=10 [2022-04-19T21:57:10.792Z] > git checkout -f e8259c7b579e86cb3b93c137143892732b1f4dd6 # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:57:12.729Z] ---> package-listing.sh [2022-04-19T21:57:12.729Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-19T21:57:12.729Z] ++ facter osfamily [2022-04-19T21:57:12.990Z] + OS_FAMILY=debian [2022-04-19T21:57:12.990Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-278 [2022-04-19T21:57:12.990Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-19T21:57:12.990Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-19T21:57:12.990Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-19T21:57:12.990Z] + PACKAGES=/tmp/packages_start.txt [2022-04-19T21:57:12.990Z] + '[' /w/workspace/foundry_device-virtual-go_PR-278 ']' [2022-04-19T21:57:12.990Z] + PACKAGES=/tmp/packages_end.txt [2022-04-19T21:57:12.990Z] + case "${OS_FAMILY}" in [2022-04-19T21:57:12.990Z] + dpkg -l [2022-04-19T21:57:12.990Z] + grep '^ii' [2022-04-19T21:57:12.990Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-19T21:57:12.990Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-19T21:57:12.990Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-19T21:57:12.990Z] + '[' /w/workspace/foundry_device-virtual-go_PR-278 ']' [2022-04-19T21:57:12.990Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-278/archives/ [2022-04-19T21:57:12.990Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-278/archives/ [Pipeline] echo [2022-04-19T21:57:13.003Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-278/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-19T21:57:13.280Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:57:13.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T21:57:13.838Z] . [Pipeline] withDockerContainer [2022-04-19T21:57:13.907Z] prd-ubuntu20.04-docker-8c-8g-21407 does not seem to be running inside a container [2022-04-19T21:57:13.947Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-278/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-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@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:latest cat [2022-04-19T21:57:14.294Z] $ docker top a8a4ee4439b76b2e43e2f91ff48519174aa4493acab2662b7226c8e7d1a267ef -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-19T21:57:14.652Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-19T21:57:14.945Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-19T21:57:15.240Z] + ls /var/log/sa-host [2022-04-19T21:57:15.240Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T21:57:15.328Z] provisioning config files... [2022-04-19T21:57:15.337Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config8060979210157662660tmp [Pipeline] { [Pipeline] echo [2022-04-19T21:57:15.349Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:57:15.636Z] ---> create-netrc.sh [Pipeline] } [2022-04-19T21:57:15.644Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:57:15.967Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-19T21:57:15.977Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:57:16.264Z] ---> sudo-logs.sh [2022-04-19T21:57:16.264Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-19T21:57:16.293Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:57:16.576Z] ---> job-cost.sh [2022-04-19T21:57:16.576Z] lf-activate-venv: SKIPPING [2022-04-19T21:57:16.576Z] DEBUG: total: 0.2199999988079071 [2022-04-19T21:57:16.576Z] INFO: Retrieving Stack Cost... [2022-04-19T21:57:17.146Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-19T21:57:17.406Z] INFO: Archiving Costs [Pipeline] echo [2022-04-19T21:57:17.418Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:57:17.703Z] ---> logs-deploy.sh [2022-04-19T21:57:17.703Z] lf-activate-venv: SKIPPING [2022-04-19T21:57:17.703Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-278/2 [2022-04-19T21:57:17.703Z] INFO: archiving workspace using pattern(s): [2022-04-19T21:57:18.644Z] Archives upload complete. [2022-04-19T21:57:18.908Z] INFO: archiving logs to Nexus