Pull request #291 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 weichou1229 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a rather than 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 Obtained Jenkinsfile from dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 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-ssh13290420626746667323.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh1489775461149271404.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-291/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-291/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17646526272938757578.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh8873173301926702005.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-291/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-291/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2300876357737609140.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2563 in /w/workspace/foundry_device-virtual-go_PR-291 [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-291 # 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 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a into PR head commit 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 Merge succeeded, producing 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 Checking out Revision 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 (PR-291) > 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/291/head:refs/remotes/origin/PR-291 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 # 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 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 # timeout=10 Commit message: "build: Upgrade sdk and paho.mqtt lib" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T11:06:07.396Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T11:06:07.454Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T11:06:07.473Z] ========================================================= [2022-06-17T11:06:07.473Z] EdgeX Global Pipelines Version Info [2022-06-17T11:06:07.473Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:06:08.245Z] ------------------- [2022-06-17T11:06:08.245Z] stable info: [2022-06-17T11:06:08.245Z] ------------------- [2022-06-17T11:06:08.245Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T11:06:08.245Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T11:06:08.245Z] Message: update stable to v1.0.234 [2022-06-17T11:06:08.820Z] ------------------- [2022-06-17T11:06:08.820Z] experimental info: [2022-06-17T11:06:08.820Z] ------------------- [2022-06-17T11:06:08.820Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T11:06:08.820Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T11:06:08.820Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T11:06:09.024Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-17T11:06:09.040Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-17T11:06:09.058Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T11:06:09.073Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T11:06:09.084Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T11:06:09.096Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T11:06:09.111Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T11:06:09.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T11:06:09.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T11:06:09.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T11:06:09.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T11:06:09.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-17T11:06:09.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T11:06:09.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T11:06:09.238Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T11:06:09.254Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T11:06:09.266Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T11:06:09.278Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T11:06:09.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T11:06:09.304Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T11:06:09.317Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T11:06:09.331Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T11:06:09.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T11:06:09.367Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T11:06:09.385Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T11:06:09.395Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T11:06:09.409Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T11:06:09.420Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-291 [Pipeline] echo [2022-06-17T11:06:09.433Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-291 [Pipeline] echo [2022-06-17T11:06:09.449Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-291 [Pipeline] echo [2022-06-17T11:06:09.460Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 [Pipeline] echo [2022-06-17T11:06:09.471Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d09cfd [Pipeline] echo [2022-06-17T11:06:09.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T11:06:09.534Z] provisioning config files... [2022-06-17T11:06:09.550Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-291@tmp/config530749670476578457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:06:09.886Z] ---> docker-login.sh [2022-06-17T11:06:09.886Z] nexus3.edgexfoundry.org:10001 [2022-06-17T11:06:10.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:06:10.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:06:10.146Z] Configure a credential helper to remove this warning. See [2022-06-17T11:06:10.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:06:10.146Z] [2022-06-17T11:06:10.146Z] Login Succeeded [2022-06-17T11:06:10.146Z] nexus3.edgexfoundry.org:10002 [2022-06-17T11:06:10.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:06:10.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:06:10.407Z] Configure a credential helper to remove this warning. See [2022-06-17T11:06:10.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:06:10.407Z] [2022-06-17T11:06:10.407Z] Login Succeeded [2022-06-17T11:06:10.407Z] nexus3.edgexfoundry.org:10003 [2022-06-17T11:06:10.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:06:10.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:06:10.668Z] Configure a credential helper to remove this warning. See [2022-06-17T11:06:10.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:06:10.668Z] [2022-06-17T11:06:10.668Z] Login Succeeded [2022-06-17T11:06:10.668Z] nexus3.edgexfoundry.org:10004 [2022-06-17T11:06:10.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:06:10.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:06:10.668Z] Configure a credential helper to remove this warning. See [2022-06-17T11:06:10.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:06:10.668Z] [2022-06-17T11:06:10.668Z] Login Succeeded [2022-06-17T11:06:10.668Z] docker.io [2022-06-17T11:06:10.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:06:11.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:06:11.189Z] Configure a credential helper to remove this warning. See [2022-06-17T11:06:11.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:06:11.189Z] [2022-06-17T11:06:11.189Z] Login Succeeded [2022-06-17T11:06:11.189Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T11:06:11.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T11:06:11.604Z] + git rev-list -1 --merges 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21~1..1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 [Pipeline] echo [2022-06-17T11:06:11.648Z] -----------> git rev-list -1 --merges 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21~1..1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 [false] [Pipeline] sh [2022-06-17T11:06:11.945Z] + git log --format=format:%s -1 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 [Pipeline] echo [2022-06-17T11:06:11.964Z] ========================================================= [2022-06-17T11:06:11.964Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T11:06:11.964Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T11:06:12.312Z] + git log --format=format:%s -1 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 [Pipeline] echo [2022-06-17T11:06:12.326Z] [semverPrep] GIT_COMMIT: 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21, Commit Message: build: Upgrade sdk and paho.mqtt lib [Pipeline] echo [2022-06-17T11:06:12.334Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T11:06:12.791Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T11:06:12.791Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T11:06:12.791Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T11:06:12.791Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T11:06:12.791Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T11:06:12.791Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T11:06:12.791Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:06:13.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T11:06:13.261Z] [2022-06-17T11:06:13.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:06:13.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T11:06:13.567Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T11:06:13.567Z] 42c077c10790: Pulling fs layer [2022-06-17T11:06:13.567Z] f63e77b7563a: Pulling fs layer [2022-06-17T11:06:13.567Z] bd5fdadae976: Pulling fs layer [2022-06-17T11:06:13.567Z] 205491f53016: Pulling fs layer [2022-06-17T11:06:13.567Z] df18705c85c3: Pulling fs layer [2022-06-17T11:06:13.567Z] bdb3f477010e: Pulling fs layer [2022-06-17T11:06:13.567Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T11:06:13.567Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T11:06:13.567Z] bdb8f0575790: Pulling fs layer [2022-06-17T11:06:13.567Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T11:06:13.567Z] 2343380bae48: Pulling fs layer [2022-06-17T11:06:13.567Z] 2c6e9b1d212d: Waiting [2022-06-17T11:06:13.567Z] 2343380bae48: Waiting [2022-06-17T11:06:13.567Z] c8a8fc8e1c8f: Waiting [2022-06-17T11:06:13.567Z] bdb8f0575790: Waiting [2022-06-17T11:06:13.567Z] 386e3cb2ff24: Waiting [2022-06-17T11:06:13.567Z] 205491f53016: Waiting [2022-06-17T11:06:13.567Z] bdb3f477010e: Waiting [2022-06-17T11:06:13.567Z] f63e77b7563a: Download complete [2022-06-17T11:06:13.567Z] 205491f53016: Verifying Checksum [2022-06-17T11:06:13.567Z] 205491f53016: Download complete [2022-06-17T11:06:13.567Z] df18705c85c3: Verifying Checksum [2022-06-17T11:06:13.567Z] df18705c85c3: Download complete [2022-06-17T11:06:13.827Z] bd5fdadae976: Verifying Checksum [2022-06-17T11:06:13.827Z] bd5fdadae976: Download complete [2022-06-17T11:06:13.827Z] bdb3f477010e: Verifying Checksum [2022-06-17T11:06:13.827Z] bdb3f477010e: Download complete [2022-06-17T11:06:13.827Z] 2c6e9b1d212d: Download complete [2022-06-17T11:06:13.827Z] bdb8f0575790: Verifying Checksum [2022-06-17T11:06:13.827Z] bdb8f0575790: Download complete [2022-06-17T11:06:13.827Z] 386e3cb2ff24: Verifying Checksum [2022-06-17T11:06:13.827Z] 386e3cb2ff24: Download complete [2022-06-17T11:06:13.827Z] 2343380bae48: Download complete [2022-06-17T11:06:13.827Z] 42c077c10790: Verifying Checksum [2022-06-17T11:06:13.827Z] 42c077c10790: Download complete [2022-06-17T11:06:14.088Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-17T11:06:14.088Z] c8a8fc8e1c8f: Download complete [2022-06-17T11:06:15.026Z] 42c077c10790: Pull complete [2022-06-17T11:06:15.285Z] f63e77b7563a: Pull complete [2022-06-17T11:06:15.856Z] bd5fdadae976: Pull complete [2022-06-17T11:06:15.856Z] 205491f53016: Pull complete [2022-06-17T11:06:16.119Z] df18705c85c3: Pull complete [2022-06-17T11:06:16.119Z] bdb3f477010e: Pull complete [2022-06-17T11:06:18.666Z] c8a8fc8e1c8f: Pull complete [2022-06-17T11:06:18.666Z] 2c6e9b1d212d: Pull complete [2022-06-17T11:06:18.666Z] bdb8f0575790: Pull complete [2022-06-17T11:06:18.666Z] 386e3cb2ff24: Pull complete [2022-06-17T11:06:18.666Z] 2343380bae48: Pull complete [2022-06-17T11:06:18.666Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T11:06:18.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T11:06:18.666Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:06:18.775Z] prd-ubuntu20.04-docker-8c-8g-2563 does not seem to be running inside a container [2022-06-17T11:06:18.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-291 -v /w/workspace/foundry_device-virtual-go_PR-291:/w/workspace/foundry_device-virtual-go_PR-291:rw,z -v /w/workspace/foundry_device-virtual-go_PR-291@tmp:/w/workspace/foundry_device-virtual-go_PR-291@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:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-17T11:06:20.177Z] $ docker top 213f19327ffe32dd8f647095a5be403fc29ecdbeed91c4188876edd42bb59ce9 -eo pid,comm [2022-06-17T11:06:20.241Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-17T11:06:20.241Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T11:06:20.277Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T11:06:20.277Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T11:06:20.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T11:06:20.409Z] $ docker exec 213f19327ffe32dd8f647095a5be403fc29ecdbeed91c4188876edd42bb59ce9 ssh-agent [2022-06-17T11:06:20.532Z] SSH_AUTH_SOCK=/tmp/ssh-qjUde7OgvYTT/agent.34 [2022-06-17T11:06:20.532Z] SSH_AGENT_PID=41 [2022-06-17T11:06:20.539Z] Running ssh-add (command line suppressed) [2022-06-17T11:06:20.653Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-291@tmp/private_key_3883842396625536884.key (/w/workspace/foundry_device-virtual-go_PR-291@tmp/private_key_3883842396625536884.key) [2022-06-17T11:06:20.665Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T11:06:20.957Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T11:06:20.977Z] $ docker exec --env ******** --env ******** 213f19327ffe32dd8f647095a5be403fc29ecdbeed91c4188876edd42bb59ce9 ssh-agent -k [2022-06-17T11:06:21.088Z] unset SSH_AUTH_SOCK; [2022-06-17T11:06:21.088Z] unset SSH_AGENT_PID; [2022-06-17T11:06:21.088Z] echo Agent pid 41 killed; [2022-06-17T11:06:21.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T11:06:21.114Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T11:06:21.114Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T11:06:21.237Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T11:06:21.246Z] $ docker exec 213f19327ffe32dd8f647095a5be403fc29ecdbeed91c4188876edd42bb59ce9 ssh-agent [2022-06-17T11:06:21.368Z] SSH_AUTH_SOCK=/tmp/ssh-cUvGLMsSW0H7/agent.74 [2022-06-17T11:06:21.368Z] SSH_AGENT_PID=80 [2022-06-17T11:06:21.373Z] Running ssh-add (command line suppressed) [2022-06-17T11:06:21.491Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-291@tmp/private_key_8384596682046534056.key (/w/workspace/foundry_device-virtual-go_PR-291@tmp/private_key_8384596682046534056.key) [2022-06-17T11:06:21.502Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T11:06:21.792Z] + git semver init [2022-06-17T11:06:22.054Z] 2022-06-17 11:06:22,002 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T11:06:22.054Z] 2022-06-17 11:06:22,002 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-291/.semver [2022-06-17T11:06:22.054Z] 2022-06-17 11:06:22,003 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-291/.semver [2022-06-17T11:06:22.054Z] 2022-06-17 11:06:22,003 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-291/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-291, universal_newlines=False, shell=None, istream=None) [2022-06-17T11:06:22.998Z] 2022-06-17 11:06:22,960 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-291/.git/info/exclude [2022-06-17T11:06:22.998Z] 2022-06-17 11:06:22,961 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-291/.semver/PR-291 with force:False [2022-06-17T11:06:22.998Z] 2022-06-17 11:06:22,961 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-291/.semver/PR-291 [2022-06-17T11:06:22.998Z] 2022-06-17 11:06:22,966 [execute] INFO git cat-file --batch-check [2022-06-17T11:06:22.998Z] 2022-06-17 11:06:22,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-291/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T11:06:22.998Z] 2022-06-17 11:06:22,974 [execute] INFO git cat-file --batch [2022-06-17T11:06:22.998Z] 2022-06-17 11:06:22,975 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-291/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T11:06:22.998Z] 2022-06-17 11:06:22,981 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-291/.semver/PR-291 [2022-06-17T11:06:22.998Z] 0.0.0 [Pipeline] } [2022-06-17T11:06:23.017Z] $ docker exec --env ******** --env ******** 213f19327ffe32dd8f647095a5be403fc29ecdbeed91c4188876edd42bb59ce9 ssh-agent -k [2022-06-17T11:06:23.153Z] unset SSH_AUTH_SOCK; [2022-06-17T11:06:23.153Z] unset SSH_AGENT_PID; [2022-06-17T11:06:23.154Z] echo Agent pid 80 killed; [2022-06-17T11:06:23.159Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T11:06:23.472Z] + git semver [Pipeline] } [2022-06-17T11:06:23.755Z] $ docker stop --time=1 213f19327ffe32dd8f647095a5be403fc29ecdbeed91c4188876edd42bb59ce9 [2022-06-17T11:06:25.086Z] $ docker rm -f 213f19327ffe32dd8f647095a5be403fc29ecdbeed91c4188876edd42bb59ce9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T11:06:25.449Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T11:06:25.705Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T11:06:25.707Z] [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-06-17T11:06:25.810Z] provisioning config files... [2022-06-17T11:06:25.820Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-291@tmp/config3391943657604255328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:06:26.121Z] ---> docker-login.sh [2022-06-17T11:06:26.121Z] nexus3.edgexfoundry.org:10001 [2022-06-17T11:06:26.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:06:26.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:06:26.121Z] Configure a credential helper to remove this warning. See [2022-06-17T11:06:26.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:06:26.121Z] [2022-06-17T11:06:26.121Z] Login Succeeded [2022-06-17T11:06:26.121Z] nexus3.edgexfoundry.org:10002 [2022-06-17T11:06:26.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:06:26.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:06:26.381Z] Configure a credential helper to remove this warning. See [2022-06-17T11:06:26.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:06:26.381Z] [2022-06-17T11:06:26.381Z] Login Succeeded [2022-06-17T11:06:26.381Z] nexus3.edgexfoundry.org:10003 [2022-06-17T11:06:26.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:06:26.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:06:26.381Z] Configure a credential helper to remove this warning. See [2022-06-17T11:06:26.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:06:26.381Z] [2022-06-17T11:06:26.381Z] Login Succeeded [2022-06-17T11:06:26.381Z] nexus3.edgexfoundry.org:10004 [2022-06-17T11:06:26.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:06:26.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:06:26.642Z] Configure a credential helper to remove this warning. See [2022-06-17T11:06:26.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:06:26.642Z] [2022-06-17T11:06:26.642Z] Login Succeeded [2022-06-17T11:06:26.642Z] docker.io [2022-06-17T11:06:26.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:06:26.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:06:26.903Z] Configure a credential helper to remove this warning. See [2022-06-17T11:06:26.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:06:26.903Z] [2022-06-17T11:06:26.903Z] Login Succeeded [2022-06-17T11:06:26.903Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T11:06:26.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T11:06:26.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:06:26.987Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:06:26.995Z] ========================================================= [2022-06-17T11:06:26.995Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T11:06:26.995Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:06:27.317Z] + 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-06-17T11:06:27.317Z] Sending build context to Docker daemon 23.02MB [2022-06-17T11:06:27.317Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T11:06:27.317Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T11:06:27.317Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T11:06:27.578Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T11:06:27.578Z] 666ba61612fd: Pulling fs layer [2022-06-17T11:06:27.578Z] 8ed8ca486205: Pulling fs layer [2022-06-17T11:06:27.578Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T11:06:27.578Z] c516ae0d96e1: Pulling fs layer [2022-06-17T11:06:27.578Z] 684cea983483: Pulling fs layer [2022-06-17T11:06:27.578Z] dd3240ac7de5: Pulling fs layer [2022-06-17T11:06:27.578Z] b1e948a4e11c: Pulling fs layer [2022-06-17T11:06:27.578Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T11:06:27.578Z] 646ad004c059: Pulling fs layer [2022-06-17T11:06:27.578Z] cc1cd167ecdc: Waiting [2022-06-17T11:06:27.578Z] c516ae0d96e1: Waiting [2022-06-17T11:06:27.578Z] 684cea983483: Waiting [2022-06-17T11:06:27.578Z] dd3240ac7de5: Waiting [2022-06-17T11:06:27.578Z] a8fd76ee1af6: Waiting [2022-06-17T11:06:27.578Z] 646ad004c059: Waiting [2022-06-17T11:06:27.578Z] b1e948a4e11c: Waiting [2022-06-17T11:06:27.578Z] 8ed8ca486205: Verifying Checksum [2022-06-17T11:06:27.578Z] 666ba61612fd: Verifying Checksum [2022-06-17T11:06:27.578Z] 666ba61612fd: Download complete [2022-06-17T11:06:27.578Z] c516ae0d96e1: Download complete [2022-06-17T11:06:27.578Z] 684cea983483: Download complete [2022-06-17T11:06:27.578Z] 59bf1c3509f3: Verifying Checksum [2022-06-17T11:06:27.578Z] 59bf1c3509f3: Download complete [2022-06-17T11:06:27.578Z] dd3240ac7de5: Verifying Checksum [2022-06-17T11:06:27.578Z] dd3240ac7de5: Download complete [2022-06-17T11:06:27.578Z] b1e948a4e11c: Verifying Checksum [2022-06-17T11:06:27.578Z] b1e948a4e11c: Download complete [2022-06-17T11:06:27.578Z] 59bf1c3509f3: Pull complete [2022-06-17T11:06:27.839Z] 666ba61612fd: Pull complete [2022-06-17T11:06:27.839Z] 8ed8ca486205: Pull complete [2022-06-17T11:06:28.100Z] 646ad004c059: Verifying Checksum [2022-06-17T11:06:28.100Z] 646ad004c059: Download complete [2022-06-17T11:06:28.100Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T11:06:28.100Z] a8fd76ee1af6: Download complete [2022-06-17T11:06:28.100Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T11:06:28.100Z] cc1cd167ecdc: Download complete [2022-06-17T11:06:32.307Z] cc1cd167ecdc: Pull complete [2022-06-17T11:06:32.307Z] c516ae0d96e1: Pull complete [2022-06-17T11:06:32.307Z] 684cea983483: Pull complete [2022-06-17T11:06:32.307Z] dd3240ac7de5: Pull complete [2022-06-17T11:06:32.307Z] b1e948a4e11c: Pull complete [2022-06-17T11:06:34.851Z] a8fd76ee1af6: Pull complete [2022-06-17T11:06:35.423Z] 646ad004c059: Pull complete [2022-06-17T11:06:35.423Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T11:06:35.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T11:06:35.424Z] ---> 8f69c11f6b0c [2022-06-17T11:06:35.424Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T11:06:37.338Z] ---> Running in 443eb65ae127 [2022-06-17T11:06:37.338Z] Removing intermediate container 443eb65ae127 [2022-06-17T11:06:37.339Z] ---> 0d86528d74f5 [2022-06-17T11:06:37.339Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T11:06:37.339Z] ---> Running in 836d82e77b1a [2022-06-17T11:06:37.339Z] Removing intermediate container 836d82e77b1a [2022-06-17T11:06:37.339Z] ---> 0389a734cb99 [2022-06-17T11:06:37.339Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-17T11:06:37.339Z] ---> Running in 7b6600fc7d7f [2022-06-17T11:06:37.339Z] Removing intermediate container 7b6600fc7d7f [2022-06-17T11:06:37.339Z] ---> ec01754dedd5 [2022-06-17T11:06:37.339Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:06:37.599Z] ---> Running in 9afeff7c58a3 [2022-06-17T11:06:38.171Z] Removing intermediate container 9afeff7c58a3 [2022-06-17T11:06:38.171Z] ---> 41f102ba929a [2022-06-17T11:06:38.171Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T11:06:38.171Z] ---> Running in d4d58ea3a186 [2022-06-17T11:06:38.433Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T11:06:39.377Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T11:06:39.639Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T11:06:39.639Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T11:06:39.902Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T11:06:39.902Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T11:06:40.164Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T11:06:40.164Z] OK: 224 MiB in 56 packages [2022-06-17T11:06:40.425Z] Removing intermediate container d4d58ea3a186 [2022-06-17T11:06:40.425Z] ---> 8106279bbdeb [2022-06-17T11:06:40.425Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-17T11:06:40.685Z] ---> 6cb9435cc72a [2022-06-17T11:06:40.685Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T11:06:40.685Z] ---> Running in 5ae81ea76ec1 [2022-06-17T11:06:40.780Z] Still waiting to schedule task [2022-06-17T11:06:40.780Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2560’ is offline [2022-06-17T11:06:55.601Z] Removing intermediate container 5ae81ea76ec1 [2022-06-17T11:06:55.601Z] ---> b90abcf87dc0 [2022-06-17T11:06:55.601Z] Step 10/12 : COPY . . [2022-06-17T11:06:56.170Z] ---> e638699c5b88 [2022-06-17T11:06:56.170Z] Step 11/12 : ARG MAKE='make build' [2022-06-17T11:06:56.170Z] ---> Running in 2cf3ccfa2e6a [2022-06-17T11:06:56.170Z] Removing intermediate container 2cf3ccfa2e6a [2022-06-17T11:06:56.170Z] ---> 2dbe74000e17 [2022-06-17T11:06:56.170Z] Step 12/12 : RUN $MAKE [2022-06-17T11:06:56.170Z] ---> Running in 0470d7a957bd [2022-06-17T11:06:56.743Z] noop [2022-06-17T11:06:57.002Z] Removing intermediate container 0470d7a957bd [2022-06-17T11:06:57.002Z] ---> c48a8f3220c2 [2022-06-17T11:06:57.002Z] Successfully built c48a8f3220c2 [2022-06-17T11:06:57.002Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:06:57.320Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T11:06:57.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:06:57.411Z] prd-ubuntu20.04-docker-8c-8g-2563 does not seem to be running inside a container [2022-06-17T11:06:57.455Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-291 -v /w/workspace/foundry_device-virtual-go_PR-291:/w/workspace/foundry_device-virtual-go_PR-291:rw,z -v /w/workspace/foundry_device-virtual-go_PR-291@tmp:/w/workspace/foundry_device-virtual-go_PR-291@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-06-17T11:06:57.882Z] $ docker top faa8fe297643dec3ee0134de3b966871152fd8c4c5780db6fd9d356b3b78d70a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T11:06:58.246Z] + go version [2022-06-17T11:06:58.246Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T11:06:58.265Z] $ docker stop --time=1 faa8fe297643dec3ee0134de3b966871152fd8c4c5780db6fd9d356b3b78d70a [2022-06-17T11:06:59.597Z] $ docker rm -f faa8fe297643dec3ee0134de3b966871152fd8c4c5780db6fd9d356b3b78d70a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:07:00.003Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T11:07:00.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:07:00.097Z] prd-ubuntu20.04-docker-8c-8g-2563 does not seem to be running inside a container [2022-06-17T11:07:00.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-291 -v /w/workspace/foundry_device-virtual-go_PR-291:/w/workspace/foundry_device-virtual-go_PR-291:rw,z -v /w/workspace/foundry_device-virtual-go_PR-291@tmp:/w/workspace/foundry_device-virtual-go_PR-291@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-06-17T11:07:00.624Z] $ docker top 5872131bba9e00ef7652f56283f0a73f7c62289dbcc6606ff0a8c44afaa733a5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T11:07:01.033Z] + make test [2022-06-17T11:07:01.033Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T11:07:01.294Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-17T11:07:11.287Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-17T11:07:11.287Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements [2022-06-17T11:07:19.429Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T11:07:23.631Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T11:07:23.631Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T11:07:23.631Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T11:07:24.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T11:07:24.231Z] $ docker stop --time=1 5872131bba9e00ef7652f56283f0a73f7c62289dbcc6606ff0a8c44afaa733a5 [2022-06-17T11:07:26.127Z] $ docker rm -f 5872131bba9e00ef7652f56283f0a73f7c62289dbcc6606ff0a8c44afaa733a5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T11:07:26.568Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T11:07:26.632Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T11:07:27.274Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T11:07:27.567Z] + ls -al . [2022-06-17T11:07:27.567Z] total 192 [2022-06-17T11:07:27.567Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 11:07 . [2022-06-17T11:07:27.567Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 11:06 .. [2022-06-17T11:07:27.567Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 11:06 .git [2022-06-17T11:07:27.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:06 .github [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 17 11:06 .gitignore [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 11:06 .golangci.yml [2022-06-17T11:07:27.567Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 11:06 .semver [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 17 11:06 Attribution.txt [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 17 11:06 CHANGELOG.md [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 17 11:06 Dockerfile [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 11:06 GOVERNANCE.md [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 11:06 Jenkinsfile [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 11:06 LICENSE [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 17 11:06 Makefile [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 17 11:06 OWNERS.md [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 17 11:06 README.md [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 11:06 VERSION [2022-06-17T11:07:27.567Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 11:06 bin [2022-06-17T11:07:27.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:06 cmd [2022-06-17T11:07:27.567Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 17 11:07 coverage.out [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 17 11:06 go.mod [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 17 11:06 go.sum [2022-06-17T11:07:27.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:06 internal [2022-06-17T11:07:27.567Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:06 snap [2022-06-17T11:07:27.567Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:07:27.878Z] + 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=1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 --label arch=amd64 --label version=0.0.0 . [2022-06-17T11:07:27.878Z] Sending build context to Docker daemon 23.06MB [2022-06-17T11:07:27.878Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T11:07:27.878Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T11:07:27.878Z] ---> c48a8f3220c2 [2022-06-17T11:07:27.878Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T11:07:28.142Z] ---> Running in 0151f3f76806 [2022-06-17T11:07:28.142Z] Removing intermediate container 0151f3f76806 [2022-06-17T11:07:28.142Z] ---> 477a745f408b [2022-06-17T11:07:28.142Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T11:07:28.142Z] ---> Running in d8d00793ce07 [2022-06-17T11:07:28.403Z] Removing intermediate container d8d00793ce07 [2022-06-17T11:07:28.403Z] ---> 9838cf1c7e0a [2022-06-17T11:07:28.403Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-17T11:07:28.403Z] ---> Running in 779d3f478285 [2022-06-17T11:07:28.403Z] Removing intermediate container 779d3f478285 [2022-06-17T11:07:28.403Z] ---> d8415647bc8a [2022-06-17T11:07:28.403Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:07:28.403Z] ---> Running in 4fe5a5424487 [2022-06-17T11:07:28.973Z] Removing intermediate container 4fe5a5424487 [2022-06-17T11:07:28.973Z] ---> b4cb5d97bbef [2022-06-17T11:07:28.973Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T11:07:28.973Z] ---> Running in 7790cca10b6b [2022-06-17T11:07:29.546Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T11:07:30.118Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T11:07:30.690Z] OK: 224 MiB in 56 packages [2022-06-17T11:07:30.953Z] Removing intermediate container 7790cca10b6b [2022-06-17T11:07:30.953Z] ---> 39ebdc240414 [2022-06-17T11:07:30.953Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-17T11:07:30.953Z] ---> e50616094723 [2022-06-17T11:07:30.953Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T11:07:31.212Z] ---> Running in 2d61e41c0cf8 [2022-06-17T11:07:31.789Z] Removing intermediate container 2d61e41c0cf8 [2022-06-17T11:07:31.789Z] ---> f96c5ecfe5a3 [2022-06-17T11:07:31.789Z] Step 10/26 : COPY . . [2022-06-17T11:07:32.366Z] ---> 308d609643bb [2022-06-17T11:07:32.366Z] Step 11/26 : ARG MAKE='make build' [2022-06-17T11:07:32.366Z] ---> Running in 7f61ff99e643 [2022-06-17T11:07:32.366Z] Removing intermediate container 7f61ff99e643 [2022-06-17T11:07:32.366Z] ---> a6cadd34ebfa [2022-06-17T11:07:32.366Z] Step 12/26 : RUN $MAKE [2022-06-17T11:07:32.627Z] ---> Running in 4b975a96b5fc [2022-06-17T11:07:32.887Z] 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-06-17T11:07:54.846Z] Removing intermediate container 4b975a96b5fc [2022-06-17T11:07:54.846Z] ---> 353f7ba77c72 [2022-06-17T11:07:54.846Z] Step 13/26 : FROM alpine:3.14 [2022-06-17T11:07:54.846Z] 3.14: Pulling from library/alpine [2022-06-17T11:07:54.846Z] 8663204ce13b: Pulling fs layer [2022-06-17T11:07:54.846Z] 8663204ce13b: Verifying Checksum [2022-06-17T11:07:54.846Z] 8663204ce13b: Download complete [2022-06-17T11:07:54.846Z] 8663204ce13b: Pull complete [2022-06-17T11:07:54.846Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T11:07:54.846Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T11:07:54.846Z] ---> e04c818066af [2022-06-17T11:07:54.846Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-17T11:07:54.846Z] ---> Running in 215152920fe3 [2022-06-17T11:07:54.846Z] Removing intermediate container 215152920fe3 [2022-06-17T11:07:54.846Z] ---> 1bd345f98c16 [2022-06-17T11:07:54.846Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:07:54.846Z] ---> Running in 825df3f8d90a [2022-06-17T11:07:55.425Z] Removing intermediate container 825df3f8d90a [2022-06-17T11:07:55.425Z] ---> 2dd8817e42bc [2022-06-17T11:07:55.425Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T11:07:55.425Z] ---> Running in 98107e5447d1 [2022-06-17T11:07:55.687Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-17T11:07:56.631Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-17T11:07:56.891Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T11:07:56.891Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T11:07:57.152Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T11:07:57.152Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T11:07:57.152Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T11:07:57.413Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T11:07:57.413Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T11:07:57.413Z] OK: 8 MiB in 20 packages [2022-06-17T11:07:57.985Z] Removing intermediate container 98107e5447d1 [2022-06-17T11:07:57.985Z] ---> 03387e6be197 [2022-06-17T11:07:57.985Z] Step 17/26 : WORKDIR / [2022-06-17T11:07:57.985Z] ---> Running in ff922024a8f1 [2022-06-17T11:07:57.985Z] Removing intermediate container ff922024a8f1 [2022-06-17T11:07:57.985Z] ---> 151b4112f321 [2022-06-17T11:07:57.985Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-17T11:07:58.245Z] ---> 09f369f7ed9e [2022-06-17T11:07:58.245Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-17T11:07:58.245Z] ---> c59cab24a906 [2022-06-17T11:07:58.245Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-17T11:07:58.815Z] ---> 01cc50b81d1e [2022-06-17T11:07:58.815Z] Step 21/26 : EXPOSE 59900 [2022-06-17T11:07:59.074Z] ---> Running in 5ed8c9cdadc1 [2022-06-17T11:07:59.074Z] Removing intermediate container 5ed8c9cdadc1 [2022-06-17T11:07:59.074Z] ---> db25bb76646b [2022-06-17T11:07:59.074Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-17T11:07:59.074Z] ---> Running in 298b11e5a804 [2022-06-17T11:07:59.074Z] Removing intermediate container 298b11e5a804 [2022-06-17T11:07:59.074Z] ---> 533f43dafd32 [2022-06-17T11:07:59.074Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T11:07:59.074Z] ---> Running in d00b9b9edeb5 [2022-06-17T11:07:59.333Z] Removing intermediate container d00b9b9edeb5 [2022-06-17T11:07:59.333Z] ---> 8a2ff89c2f90 [2022-06-17T11:07:59.333Z] Step 24/26 : LABEL arch=amd64 [2022-06-17T11:07:59.333Z] ---> Running in 98f03cc45405 [2022-06-17T11:07:59.333Z] Removing intermediate container 98f03cc45405 [2022-06-17T11:07:59.333Z] ---> f4d8032d37d4 [2022-06-17T11:07:59.333Z] Step 25/26 : LABEL git_sha=1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 [2022-06-17T11:07:59.333Z] ---> Running in a3232d67547a [2022-06-17T11:07:59.593Z] Removing intermediate container a3232d67547a [2022-06-17T11:07:59.593Z] ---> 9b0dfb803b54 [2022-06-17T11:07:59.593Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T11:07:59.593Z] ---> Running in 73ec83f681c7 [2022-06-17T11:07:59.593Z] Removing intermediate container 73ec83f681c7 [2022-06-17T11:07:59.593Z] ---> 73fa34504510 [2022-06-17T11:07:59.593Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T11:07:59.593Z] Successfully built 73fa34504510 [2022-06-17T11:07:59.593Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:08:00.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:08:00.034Z] [2022-06-17T11:08:00.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:08:00.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:08:00.347Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T11:08:00.347Z] 5eb5b503b376: Pulling fs layer [2022-06-17T11:08:00.347Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T11:08:00.347Z] ec43610c2a17: Pulling fs layer [2022-06-17T11:08:00.347Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T11:08:00.347Z] 33b1e0a273af: Pulling fs layer [2022-06-17T11:08:00.347Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T11:08:00.347Z] 2f39f015ded8: Pulling fs layer [2022-06-17T11:08:00.347Z] 33b1e0a273af: Waiting [2022-06-17T11:08:00.347Z] 5d3b04190fa2: Waiting [2022-06-17T11:08:00.347Z] 2f39f015ded8: Waiting [2022-06-17T11:08:00.347Z] 3a2ae6a8a46f: Waiting [2022-06-17T11:08:00.347Z] 5c69ac0246d0: Download complete [2022-06-17T11:08:00.347Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-17T11:08:00.347Z] 3a2ae6a8a46f: Download complete [2022-06-17T11:08:00.347Z] 33b1e0a273af: Verifying Checksum [2022-06-17T11:08:00.347Z] 33b1e0a273af: Download complete [2022-06-17T11:08:00.610Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T11:08:00.610Z] 5d3b04190fa2: Download complete [2022-06-17T11:08:00.610Z] ec43610c2a17: Verifying Checksum [2022-06-17T11:08:00.610Z] ec43610c2a17: Download complete [2022-06-17T11:08:00.610Z] 5eb5b503b376: Verifying Checksum [2022-06-17T11:08:00.610Z] 5eb5b503b376: Download complete [2022-06-17T11:08:01.182Z] 2f39f015ded8: Download complete [2022-06-17T11:08:02.124Z] 5eb5b503b376: Pull complete [2022-06-17T11:08:02.124Z] 5c69ac0246d0: Pull complete [2022-06-17T11:08:02.693Z] ec43610c2a17: Pull complete [2022-06-17T11:08:02.693Z] 3a2ae6a8a46f: Pull complete [2022-06-17T11:08:02.971Z] 33b1e0a273af: Pull complete [2022-06-17T11:08:02.971Z] 5d3b04190fa2: Pull complete [2022-06-17T11:08:08.250Z] 2f39f015ded8: Pull complete [2022-06-17T11:08:08.250Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T11:08:08.250Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:08:08.250Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:08:08.350Z] prd-ubuntu20.04-docker-8c-8g-2563 does not seem to be running inside a container [2022-06-17T11:08:08.388Z] $ 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-291 -v /w/workspace/foundry_device-virtual-go_PR-291:/w/workspace/foundry_device-virtual-go_PR-291:rw,z -v /w/workspace/foundry_device-virtual-go_PR-291@tmp:/w/workspace/foundry_device-virtual-go_PR-291@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-06-17T11:08:10.150Z] $ docker top 7851eeaf6e0ea2b94eba1d70ec6745e7d8f99560a3b89045bfce8c6aaf7359f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:08:10.595Z] ---> job-cost.sh [2022-06-17T11:08:10.596Z] lf-activate-venv: SKIPPING [2022-06-17T11:08:10.596Z] INFO: No Stack... [2022-06-17T11:08:10.898Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T11:08:11.485Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T11:08:11.775Z] + cat /w/workspace/foundry_device-virtual-go_PR-291/archives/cost.csv [2022-06-17T11:08:11.775Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T11:08:11.789Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-291-2-stack-cost] [2022-06-17T11:08:11.796Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-291-2-stack-cost] did not exist. Created. [2022-06-17T11:08:11.796Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-291-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T11:08:12.104Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T11:08:12.136Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T11:08:12.142Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-291-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T11:08:12.166Z] $ docker stop --time=1 7851eeaf6e0ea2b94eba1d70ec6745e7d8f99560a3b89045bfce8c6aaf7359f4 [2022-06-17T11:08:13.341Z] $ docker rm -f 7851eeaf6e0ea2b94eba1d70ec6745e7d8f99560a3b89045bfce8c6aaf7359f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T11:08:17.271Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2564 in /w/workspace/foundry_device-virtual-go_PR-291 [Pipeline] { [Pipeline] ws [2022-06-17T11:08:17.283Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2022-06-17T11:08:17.330Z] The recommended git tool is: git [2022-06-17T11:08:24.391Z] using credential edgex-jenkins-ssh [2022-06-17T11:08:24.407Z] Cloning the remote Git repository [2022-06-17T11:08:24.482Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T11:08:24.563Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2022-06-17T11:08:24.653Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T11:08:24.654Z] > git --version # timeout=10 [2022-06-17T11:08:24.685Z] > git --version # 'git version 2.25.1' [2022-06-17T11:08:24.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T11:08:24.841Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T11:08:26.972Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-17T11:08:26.993Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T11:08:27.050Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-17T11:08:27.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T11:08:27.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T11:08:27.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/291/head:refs/remotes/origin/PR-291 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-17T11:08:27.798Z] Merging remotes/origin/main commit dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a into PR head commit 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 [2022-06-17T11:08:28.056Z] Merge succeeded, producing 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 [2022-06-17T11:08:28.057Z] Checking out Revision 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 (PR-291) [2022-06-17T11:08:27.825Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T11:08:27.847Z] > git checkout -f 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 # timeout=10 [2022-06-17T11:08:27.951Z] > git remote # timeout=10 [2022-06-17T11:08:27.975Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T11:08:27.987Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T11:08:27.997Z] > git merge dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 [2022-06-17T11:08:28.040Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T11:08:28.071Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T11:08:28.084Z] > git checkout -f 1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 # timeout=10 [2022-06-17T11:08:32.426Z] Commit message: "build: Upgrade sdk and paho.mqtt lib" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T11:08:33.330Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T11:08:33.330Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T11:08:33.330Z] Dload Upload Total Spent Left Speed [2022-06-17T11:08:33.330Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 54457 0 --:--:-- --:--:-- --:--:-- 54700 [Pipeline] sh [2022-06-17T11:08:33.972Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T11:08:34.317Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2022-06-17T11:08:34.317Z] tee /etc/docker/daemon.new [2022-06-17T11:08:34.317Z] { [2022-06-17T11:08:34.317Z] "registry-mirrors": [ [2022-06-17T11:08:34.317Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T11:08:34.317Z] ], [2022-06-17T11:08:34.317Z] "bip": "10.250.0.254/24", [2022-06-17T11:08:34.317Z] "hosts": [ [2022-06-17T11:08:34.317Z] "tcp://0.0.0.0:5555", [2022-06-17T11:08:34.317Z] "unix:///var/run/docker.sock" [2022-06-17T11:08:34.317Z] ], [2022-06-17T11:08:34.317Z] "mtu": 1458, [2022-06-17T11:08:34.317Z] "selinux-enabled": true, [2022-06-17T11:08:34.317Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T11:08:34.317Z] } [Pipeline] sh [2022-06-17T11:08:34.665Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T11:08:35.079Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T11:08:53.449Z] provisioning config files... [2022-06-17T11:08:53.472Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config159771512890813892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:08:53.823Z] ---> docker-login.sh [2022-06-17T11:08:53.823Z] nexus3.edgexfoundry.org:10001 [2022-06-17T11:08:54.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:08:54.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:08:54.693Z] Configure a credential helper to remove this warning. See [2022-06-17T11:08:54.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:08:54.693Z] [2022-06-17T11:08:54.693Z] Login Succeeded [2022-06-17T11:08:54.693Z] nexus3.edgexfoundry.org:10002 [2022-06-17T11:08:54.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:08:54.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:08:54.968Z] Configure a credential helper to remove this warning. See [2022-06-17T11:08:54.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:08:54.968Z] [2022-06-17T11:08:54.968Z] Login Succeeded [2022-06-17T11:08:54.968Z] nexus3.edgexfoundry.org:10003 [2022-06-17T11:08:55.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:08:55.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:08:55.564Z] Configure a credential helper to remove this warning. See [2022-06-17T11:08:55.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:08:55.564Z] [2022-06-17T11:08:55.564Z] Login Succeeded [2022-06-17T11:08:55.564Z] nexus3.edgexfoundry.org:10004 [2022-06-17T11:08:55.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:08:56.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:08:56.115Z] Configure a credential helper to remove this warning. See [2022-06-17T11:08:56.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:08:56.115Z] [2022-06-17T11:08:56.115Z] Login Succeeded [2022-06-17T11:08:56.115Z] docker.io [2022-06-17T11:08:56.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:08:56.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:08:56.661Z] Configure a credential helper to remove this warning. See [2022-06-17T11:08:56.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:08:56.661Z] [2022-06-17T11:08:56.661Z] Login Succeeded [2022-06-17T11:08:56.661Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T11:08:56.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T11:08:57.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:08:57.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:08:57.188Z] ========================================================= [2022-06-17T11:08:57.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T11:08:57.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:08:57.545Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-17T11:08:57.819Z] Sending build context to Docker daemon 11.65MB [2022-06-17T11:08:58.092Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T11:08:58.092Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T11:08:58.092Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T11:08:58.092Z] 9b3977197b4f: Pulling fs layer [2022-06-17T11:08:58.092Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T11:08:58.092Z] 94645a83ff95: Pulling fs layer [2022-06-17T11:08:58.092Z] e6fb740bc735: Pulling fs layer [2022-06-17T11:08:58.092Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T11:08:58.092Z] 355e64cbe906: Pulling fs layer [2022-06-17T11:08:58.092Z] 63ab81a10011: Pulling fs layer [2022-06-17T11:08:58.092Z] 555d1d1c4555: Pulling fs layer [2022-06-17T11:08:58.092Z] 7d9057610161: Pulling fs layer [2022-06-17T11:08:58.092Z] e6fb740bc735: Waiting [2022-06-17T11:08:58.092Z] 3a77bd46dcc9: Waiting [2022-06-17T11:08:58.092Z] 355e64cbe906: Waiting [2022-06-17T11:08:58.092Z] 63ab81a10011: Waiting [2022-06-17T11:08:58.092Z] 555d1d1c4555: Waiting [2022-06-17T11:08:58.092Z] 7d9057610161: Waiting [2022-06-17T11:08:58.092Z] 94645a83ff95: Verifying Checksum [2022-06-17T11:08:58.092Z] 94645a83ff95: Download complete [2022-06-17T11:08:58.092Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T11:08:58.092Z] 1a89e8eeedd5: Download complete [2022-06-17T11:08:58.092Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T11:08:58.092Z] 3a77bd46dcc9: Download complete [2022-06-17T11:08:58.092Z] 355e64cbe906: Verifying Checksum [2022-06-17T11:08:58.373Z] 355e64cbe906: Download complete [2022-06-17T11:08:58.373Z] 9b3977197b4f: Download complete [2022-06-17T11:08:58.373Z] 63ab81a10011: Verifying Checksum [2022-06-17T11:08:58.373Z] 63ab81a10011: Download complete [2022-06-17T11:08:58.977Z] 9b3977197b4f: Pull complete [2022-06-17T11:08:59.254Z] 7d9057610161: Verifying Checksum [2022-06-17T11:08:59.254Z] 7d9057610161: Download complete [2022-06-17T11:08:59.533Z] 1a89e8eeedd5: Pull complete [2022-06-17T11:09:00.135Z] 94645a83ff95: Pull complete [2022-06-17T11:09:00.409Z] 555d1d1c4555: Verifying Checksum [2022-06-17T11:09:00.409Z] 555d1d1c4555: Download complete [2022-06-17T11:09:01.005Z] e6fb740bc735: Download complete [2022-06-17T11:09:13.421Z] e6fb740bc735: Pull complete [2022-06-17T11:09:13.421Z] 3a77bd46dcc9: Pull complete [2022-06-17T11:09:13.421Z] 355e64cbe906: Pull complete [2022-06-17T11:09:13.421Z] 63ab81a10011: Pull complete [2022-06-17T11:09:20.145Z] 555d1d1c4555: Pull complete [2022-06-17T11:09:21.591Z] 7d9057610161: Pull complete [2022-06-17T11:09:21.591Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T11:09:21.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T11:09:21.591Z] ---> 819e984ddca1 [2022-06-17T11:09:21.591Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T11:09:23.031Z] ---> Running in a0423cb7ffb9 [2022-06-17T11:09:23.309Z] Removing intermediate container a0423cb7ffb9 [2022-06-17T11:09:23.309Z] ---> d667cf96130f [2022-06-17T11:09:23.309Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T11:09:23.585Z] ---> Running in d33a4856be1c [2022-06-17T11:09:23.859Z] Removing intermediate container d33a4856be1c [2022-06-17T11:09:23.859Z] ---> 9b4a3623bd86 [2022-06-17T11:09:23.859Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-17T11:09:23.859Z] ---> Running in 9e8ced30ac45 [2022-06-17T11:09:24.132Z] Removing intermediate container 9e8ced30ac45 [2022-06-17T11:09:24.132Z] ---> f3ed4af3aa75 [2022-06-17T11:09:24.132Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:09:24.132Z] ---> Running in 397c4e5737f4 [2022-06-17T11:09:26.112Z] Removing intermediate container 397c4e5737f4 [2022-06-17T11:09:26.112Z] ---> 65080429970d [2022-06-17T11:09:26.112Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T11:09:26.112Z] ---> Running in 5e24e135733d [2022-06-17T11:09:27.098Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T11:09:27.693Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T11:09:28.671Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T11:09:28.671Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T11:09:28.671Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T11:09:28.947Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T11:09:28.948Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T11:09:28.948Z] OK: 224 MiB in 56 packages [2022-06-17T11:09:29.935Z] Removing intermediate container 5e24e135733d [2022-06-17T11:09:29.935Z] ---> ebcf52cdb022 [2022-06-17T11:09:29.935Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-17T11:09:30.534Z] ---> 8bb2f37bfc62 [2022-06-17T11:09:30.534Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T11:09:30.534Z] ---> Running in 7bf334d0ec03 [2022-06-17T11:10:17.549Z] Removing intermediate container 7bf334d0ec03 [2022-06-17T11:10:17.549Z] ---> edde03145a1f [2022-06-17T11:10:17.549Z] Step 10/12 : COPY . . [2022-06-17T11:10:17.549Z] ---> 9968ef4ce00f [2022-06-17T11:10:17.549Z] Step 11/12 : ARG MAKE='make build' [2022-06-17T11:10:17.549Z] ---> Running in cb35c3c247d6 [2022-06-17T11:10:17.549Z] Removing intermediate container cb35c3c247d6 [2022-06-17T11:10:17.549Z] ---> 07c0e1dd66c4 [2022-06-17T11:10:17.549Z] Step 12/12 : RUN $MAKE [2022-06-17T11:10:17.549Z] ---> Running in 16dc7ce0d610 [2022-06-17T11:10:17.549Z] noop [2022-06-17T11:10:17.549Z] Removing intermediate container 16dc7ce0d610 [2022-06-17T11:10:17.549Z] ---> 82dc3ab4e87c [2022-06-17T11:10:17.549Z] Successfully built 82dc3ab4e87c [2022-06-17T11:10:17.549Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:10:17.919Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T11:10:17.919Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:10:18.168Z] prd-ubuntu20.04-docker-arm64-4c-16g-2564 does not seem to be running inside a container [2022-06-17T11:10:18.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T11:10:19.509Z] $ docker top 3c04f86e0c5c8d83fbc9f794627cb329e9fc990428d028d6d401f7037046a6d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T11:10:20.394Z] + go version [2022-06-17T11:10:20.394Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T11:10:20.420Z] $ docker stop --time=1 3c04f86e0c5c8d83fbc9f794627cb329e9fc990428d028d6d401f7037046a6d4 [2022-06-17T11:10:22.063Z] $ docker rm -f 3c04f86e0c5c8d83fbc9f794627cb329e9fc990428d028d6d401f7037046a6d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:10:22.666Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T11:10:22.666Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:10:22.912Z] prd-ubuntu20.04-docker-arm64-4c-16g-2564 does not seem to be running inside a container [2022-06-17T11:10:22.994Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T11:10:24.248Z] $ docker top c9efd0e8970da07d8fa11f45c52806b55ba9ca59f4a69f9a4039af95d793523b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T11:10:25.152Z] + make test [2022-06-17T11:10:25.153Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T11:10:27.138Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-17T11:11:48.987Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-17T11:11:48.987Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.134s coverage: 65.7% of statements [2022-06-17T11:11:48.987Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T11:11:48.987Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T11:12:11.207Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T11:12:11.207Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T11:12:11.207Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T11:12:13.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T11:12:13.218Z] $ docker stop --time=1 c9efd0e8970da07d8fa11f45c52806b55ba9ca59f4a69f9a4039af95d793523b [2022-06-17T11:12:15.018Z] $ docker rm -f c9efd0e8970da07d8fa11f45c52806b55ba9ca59f4a69f9a4039af95d793523b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T11:12:15.942Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T11:12:15.969Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T11:12:16.434Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T11:12:16.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T11:12:17.164Z] + ls -al . [2022-06-17T11:12:17.164Z] total 188 [2022-06-17T11:12:17.164Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 11:12 . [2022-06-17T11:12:17.164Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 11:08 .. [2022-06-17T11:12:17.164Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 11:08 .git [2022-06-17T11:12:17.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:08 .github [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 17 11:08 .gitignore [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 11:08 .golangci.yml [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 17 11:08 Attribution.txt [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 17 11:08 CHANGELOG.md [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 17 11:08 Dockerfile [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 11:08 GOVERNANCE.md [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 11:08 Jenkinsfile [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 11:08 LICENSE [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 17 11:08 Makefile [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 17 11:08 OWNERS.md [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 17 11:08 README.md [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 11:06 VERSION [2022-06-17T11:12:17.164Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 11:08 bin [2022-06-17T11:12:17.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:08 cmd [2022-06-17T11:12:17.164Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 17 11:11 coverage.out [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 17 11:08 go.mod [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 17 11:08 go.sum [2022-06-17T11:12:17.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:08 internal [2022-06-17T11:12:17.164Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:08 snap [2022-06-17T11:12:17.164Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 11:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:12:17.521Z] + 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=1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 --label arch=arm64 --label version=0.0.0 . [2022-06-17T11:12:18.125Z] Sending build context to Docker daemon 11.69MB [2022-06-17T11:12:18.125Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T11:12:18.125Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T11:12:18.125Z] ---> 82dc3ab4e87c [2022-06-17T11:12:18.125Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T11:12:18.125Z] ---> Running in b1cf6eb531c1 [2022-06-17T11:12:18.397Z] Removing intermediate container b1cf6eb531c1 [2022-06-17T11:12:18.397Z] ---> 6c61735fb990 [2022-06-17T11:12:18.397Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T11:12:18.397Z] ---> Running in 386ce2a7a34d [2022-06-17T11:12:19.001Z] Removing intermediate container 386ce2a7a34d [2022-06-17T11:12:19.001Z] ---> 5571d50b0848 [2022-06-17T11:12:19.001Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-17T11:12:19.001Z] ---> Running in 80dcf11b9826 [2022-06-17T11:12:19.272Z] Removing intermediate container 80dcf11b9826 [2022-06-17T11:12:19.272Z] ---> 62073d6dc5f7 [2022-06-17T11:12:19.272Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:12:19.272Z] ---> Running in ed2440ce6d4f [2022-06-17T11:12:21.242Z] Removing intermediate container ed2440ce6d4f [2022-06-17T11:12:21.242Z] ---> 8a2f59721eb2 [2022-06-17T11:12:21.242Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T11:12:21.242Z] ---> Running in 2fdabbb779d3 [2022-06-17T11:12:22.216Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T11:12:22.807Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T11:12:23.779Z] OK: 224 MiB in 56 packages [2022-06-17T11:12:24.762Z] Removing intermediate container 2fdabbb779d3 [2022-06-17T11:12:24.763Z] ---> ebbd1511b362 [2022-06-17T11:12:24.763Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-17T11:12:25.042Z] ---> f47ec28e501d [2022-06-17T11:12:25.042Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T11:12:25.042Z] ---> Running in 074c44ddf91a [2022-06-17T11:12:27.037Z] Removing intermediate container 074c44ddf91a [2022-06-17T11:12:27.037Z] ---> c5c88312e131 [2022-06-17T11:12:27.037Z] Step 10/26 : COPY . . [2022-06-17T11:12:28.473Z] ---> 51f0106b8f21 [2022-06-17T11:12:28.473Z] Step 11/26 : ARG MAKE='make build' [2022-06-17T11:12:28.473Z] ---> Running in 015477a46e23 [2022-06-17T11:12:28.758Z] Removing intermediate container 015477a46e23 [2022-06-17T11:12:28.758Z] ---> bb3e2d6eb601 [2022-06-17T11:12:28.758Z] Step 12/26 : RUN $MAKE [2022-06-17T11:12:28.758Z] ---> Running in cb2e17918dc1 [2022-06-17T11:12:29.737Z] 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-06-17T11:14:36.610Z] Removing intermediate container cb2e17918dc1 [2022-06-17T11:14:36.610Z] ---> 0c24e47a306b [2022-06-17T11:14:36.610Z] Step 13/26 : FROM alpine:3.14 [2022-06-17T11:14:36.610Z] 3.14: Pulling from library/alpine [2022-06-17T11:14:36.610Z] 455c02918c45: Pulling fs layer [2022-06-17T11:14:36.610Z] 455c02918c45: Verifying Checksum [2022-06-17T11:14:36.610Z] 455c02918c45: Download complete [2022-06-17T11:14:36.610Z] 455c02918c45: Pull complete [2022-06-17T11:14:36.610Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T11:14:36.610Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T11:14:36.610Z] ---> ac73e934f311 [2022-06-17T11:14:36.610Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-17T11:14:36.610Z] ---> Running in 0c275a9712be [2022-06-17T11:14:36.610Z] Removing intermediate container 0c275a9712be [2022-06-17T11:14:36.610Z] ---> 7342ac7b3490 [2022-06-17T11:14:36.610Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:14:36.610Z] ---> Running in b355737a360f [2022-06-17T11:14:36.610Z] Removing intermediate container b355737a360f [2022-06-17T11:14:36.610Z] ---> daececc5f7ac [2022-06-17T11:14:36.610Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T11:14:36.610Z] ---> Running in f8ac0d60c3bd [2022-06-17T11:14:36.610Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-17T11:14:36.610Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-17T11:14:36.610Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T11:14:36.610Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T11:14:36.610Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T11:14:36.610Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T11:14:36.610Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T11:14:36.610Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T11:14:36.610Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T11:14:36.610Z] OK: 8 MiB in 20 packages [2022-06-17T11:14:36.610Z] Removing intermediate container f8ac0d60c3bd [2022-06-17T11:14:36.610Z] ---> 94666b91694f [2022-06-17T11:14:36.610Z] Step 17/26 : WORKDIR / [2022-06-17T11:14:36.610Z] ---> Running in d43cd233f36f [2022-06-17T11:14:36.610Z] Removing intermediate container d43cd233f36f [2022-06-17T11:14:36.610Z] ---> 1f496f872c31 [2022-06-17T11:14:36.610Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-17T11:14:36.610Z] ---> 480a69a7f3af [2022-06-17T11:14:36.610Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-17T11:14:36.610Z] ---> 4f727b3bec2d [2022-06-17T11:14:36.610Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-17T11:14:36.610Z] ---> 15aa2017c87e [2022-06-17T11:14:36.610Z] Step 21/26 : EXPOSE 59900 [2022-06-17T11:14:36.610Z] ---> Running in b98bc2d726e2 [2022-06-17T11:14:36.610Z] Removing intermediate container b98bc2d726e2 [2022-06-17T11:14:36.610Z] ---> 273a1273848c [2022-06-17T11:14:36.610Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-17T11:14:36.610Z] ---> Running in 9230fa303711 [2022-06-17T11:14:36.610Z] Removing intermediate container 9230fa303711 [2022-06-17T11:14:36.610Z] ---> 36a5a0994309 [2022-06-17T11:14:36.610Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T11:14:36.610Z] ---> Running in 5ed82936679f [2022-06-17T11:14:36.610Z] Removing intermediate container 5ed82936679f [2022-06-17T11:14:36.610Z] ---> d90cc20258b2 [2022-06-17T11:14:36.610Z] Step 24/26 : LABEL arch=arm64 [2022-06-17T11:14:36.610Z] ---> Running in 1d620562a849 [2022-06-17T11:14:36.610Z] Removing intermediate container 1d620562a849 [2022-06-17T11:14:36.610Z] ---> 1488ceff217b [2022-06-17T11:14:36.610Z] Step 25/26 : LABEL git_sha=1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 [2022-06-17T11:14:36.610Z] ---> Running in 28f3d9b009fa [2022-06-17T11:14:36.885Z] Removing intermediate container 28f3d9b009fa [2022-06-17T11:14:36.885Z] ---> 222a265a84f9 [2022-06-17T11:14:36.885Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T11:14:36.885Z] ---> Running in 23e218e20cb6 [2022-06-17T11:14:37.160Z] Removing intermediate container 23e218e20cb6 [2022-06-17T11:14:37.160Z] ---> 6a3748d59153 [2022-06-17T11:14:37.160Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T11:14:37.160Z] Successfully built 6a3748d59153 [2022-06-17T11:14:37.433Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:14:37.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T11:14:37.880Z] [2022-06-17T11:14:37.880Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:14:38.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T11:14:38.505Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T11:14:38.505Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T11:14:38.505Z] 04944245beec: Pulling fs layer [2022-06-17T11:14:38.505Z] 699f458cf7ca: Pulling fs layer [2022-06-17T11:14:38.505Z] 765212b225bb: Pulling fs layer [2022-06-17T11:14:38.505Z] f23df028b6ca: Pulling fs layer [2022-06-17T11:14:38.505Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T11:14:38.505Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T11:14:38.505Z] 765212b225bb: Waiting [2022-06-17T11:14:38.505Z] d65c8cfc05b1: Waiting [2022-06-17T11:14:38.505Z] f23df028b6ca: Waiting [2022-06-17T11:14:38.505Z] 2437ff75d9bd: Waiting [2022-06-17T11:14:38.505Z] 04944245beec: Verifying Checksum [2022-06-17T11:14:38.505Z] 04944245beec: Download complete [2022-06-17T11:14:38.505Z] 765212b225bb: Verifying Checksum [2022-06-17T11:14:38.505Z] 765212b225bb: Download complete [2022-06-17T11:14:38.505Z] f23df028b6ca: Verifying Checksum [2022-06-17T11:14:38.505Z] f23df028b6ca: Download complete [2022-06-17T11:14:38.505Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T11:14:38.505Z] d65c8cfc05b1: Download complete [2022-06-17T11:14:38.782Z] 699f458cf7ca: Download complete [2022-06-17T11:14:39.059Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T11:14:39.059Z] 8998bd30e6a1: Download complete [2022-06-17T11:14:41.700Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T11:14:41.700Z] 2437ff75d9bd: Download complete [2022-06-17T11:14:43.684Z] 8998bd30e6a1: Pull complete [2022-06-17T11:14:43.684Z] 04944245beec: Pull complete [2022-06-17T11:14:45.124Z] 699f458cf7ca: Pull complete [2022-06-17T11:14:45.401Z] 765212b225bb: Pull complete [2022-06-17T11:14:46.384Z] f23df028b6ca: Pull complete [2022-06-17T11:14:46.658Z] d65c8cfc05b1: Pull complete [2022-06-17T11:15:01.756Z] 2437ff75d9bd: Pull complete [2022-06-17T11:15:01.757Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T11:15:01.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T11:15:01.757Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:15:02.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-2564 does not seem to be running inside a container [2022-06-17T11:15:02.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-17T11:15:04.668Z] $ docker top 1d153be2e79b7c42b6f18f328c1198398dad7950710972c932bd796896d99328 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:15:05.556Z] ---> job-cost.sh [2022-06-17T11:15:05.556Z] lf-activate-venv: SKIPPING [2022-06-17T11:15:05.556Z] INFO: No Stack... [2022-06-17T11:15:05.828Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T11:15:06.806Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T11:15:07.481Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2022-06-17T11:15:07.481Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T11:15:07.543Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-291-2-stack-cost] [2022-06-17T11:15:07.557Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-291-2-stack-cost] did not exist. Created. [2022-06-17T11:15:07.557Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-291-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T11:15:08.239Z] /w/workspace/device-virtual-go/2@tmp/durable-670e0090/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T11:15:08.917Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T11:15:08.942Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T11:15:08.999Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T11:15:09.006Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-291-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T11:15:09.026Z] $ docker stop --time=1 1d153be2e79b7c42b6f18f328c1198398dad7950710972c932bd796896d99328 [2022-06-17T11:15:10.497Z] $ docker rm -f 1d153be2e79b7c42b6f18f328c1198398dad7950710972c932bd796896d99328 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-17T11:15:10.911Z] provisioning config files... [2022-06-17T11:15:10.920Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-291@tmp/config66999250214491442tmp [Pipeline] { [Pipeline] sh [2022-06-17T11:15:11.211Z] + set +x [2022-06-17T11:15:11.211Z] + curl -s https://codecov.io/bash [2022-06-17T11:15:11.211Z] + bash -s -- [2022-06-17T11:15:11.211Z] [2022-06-17T11:15:11.211Z] _____ _ [2022-06-17T11:15:11.211Z] / ____| | | [2022-06-17T11:15:11.211Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T11:15:11.211Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T11:15:11.211Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T11:15:11.211Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T11:15:11.211Z] Bash-1.0.6 [2022-06-17T11:15:11.211Z] [2022-06-17T11:15:11.211Z] [2022-06-17T11:15:11.211Z] ==> git version 2.25.1 found [2022-06-17T11:15:11.211Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-17T11:15:11.211Z] Release-Date: 2020-01-08 [2022-06-17T11:15:11.211Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-17T11:15:11.211Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T11:15:11.211Z] ==> Jenkins CI detected. [2022-06-17T11:15:11.211Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-291 [2022-06-17T11:15:11.211Z] project root: . [2022-06-17T11:15:11.211Z] --> token set from env [2022-06-17T11:15:11.211Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T11:15:11.211Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T11:15:11.211Z] ==> Python coveragepy not found [2022-06-17T11:15:11.211Z] ==> Searching for coverage reports in: [2022-06-17T11:15:11.211Z] + . [2022-06-17T11:15:11.211Z] -> Found 1 reports [2022-06-17T11:15:11.211Z] ==> Detecting git/mercurial file structure [2022-06-17T11:15:11.211Z] ==> Reading reports [2022-06-17T11:15:11.470Z] + ./coverage.out bytes=44128 [2022-06-17T11:15:11.470Z] ==> Appending adjustments [2022-06-17T11:15:11.470Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T11:15:11.470Z] + Found adjustments [2022-06-17T11:15:11.470Z] ==> Gzipping contents [2022-06-17T11:15:11.470Z] 8.0K /tmp/codecov.nA2PaK.gz [2022-06-17T11:15:11.470Z] ==> Uploading reports [2022-06-17T11:15:11.470Z] url: https://codecov.io [2022-06-17T11:15:11.470Z] query: branch=PR-291&commit=1d09cfdf87ad0c5185717991beb5bd4eeea2eb21&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-291%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=291&job=&cmd_args= [2022-06-17T11:15:11.470Z] -> Pinging Codecov [2022-06-17T11:15:11.470Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-291&commit=1d09cfdf87ad0c5185717991beb5bd4eeea2eb21&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-291%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=291&job=&cmd_args= [2022-06-17T11:15:11.730Z] -> Uploading to [2022-06-17T11:15:11.730Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/5E52B4B073DB2E39498172D8E973AA87/1d09cfdf87ad0c5185717991beb5bd4eeea2eb21/cf5ca2d2-959b-4a1b-9194-3987049698c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T111511Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc5bae496ffd08dc475241b93c293ee5cf8775a9f7d0ca805f9fa28bafceb0c2 [2022-06-17T11:15:11.730Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T11:15:11.730Z] Dload Upload Total Spent Left Speed [2022-06-17T11:15:11.993Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5491 0 0 100 5491 0 21282 --:--:-- --:--:-- --:--:-- 21282 [2022-06-17T11:15:11.993Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/1d09cfdf87ad0c5185717991beb5bd4eeea2eb21 [Pipeline] } [2022-06-17T11:15:12.000Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-17T11:15:12.665Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-291/archives ] [2022-06-17T11:15:12.666Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-291/archives [2022-06-17T11:15:12.666Z] total 16 [2022-06-17T11:15:12.666Z] drwxr-xr-x 3 root root 4096 Jun 17 11:08 . [2022-06-17T11:15:12.666Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 11:08 .. [2022-06-17T11:15:12.666Z] drwxr-xr-x 2 root root 4096 Jun 17 11:08 cost [2022-06-17T11:15:12.666Z] -rw-r--r-- 1 root root 88 Jun 17 11:08 cost.csv [2022-06-17T11:15:12.666Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-291/archives [2022-06-17T11:15:12.666Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-291/archives [2022-06-17T11:15:12.666Z] total 16 [2022-06-17T11:15:12.666Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 11:08 . [2022-06-17T11:15:12.666Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 11:08 .. [2022-06-17T11:15:12.666Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 11:08 cost [2022-06-17T11:15:12.666Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 17 11:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:15:12.961Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:15:13.822Z] ---> package-listing.sh [2022-06-17T11:15:13.823Z] ++ facter osfamily [2022-06-17T11:15:13.823Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T11:15:14.083Z] + OS_FAMILY=debian [2022-06-17T11:15:14.083Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-291 [2022-06-17T11:15:14.083Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T11:15:14.083Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T11:15:14.083Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T11:15:14.083Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T11:15:14.083Z] + '[' /w/workspace/foundry_device-virtual-go_PR-291 ']' [2022-06-17T11:15:14.083Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T11:15:14.083Z] + case "${OS_FAMILY}" in [2022-06-17T11:15:14.083Z] + dpkg -l [2022-06-17T11:15:14.083Z] + grep '^ii' [2022-06-17T11:15:14.083Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T11:15:14.083Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T11:15:14.083Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T11:15:14.083Z] + '[' /w/workspace/foundry_device-virtual-go_PR-291 ']' [2022-06-17T11:15:14.083Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-291/archives/ [2022-06-17T11:15:14.083Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-291/archives/ [Pipeline] echo [2022-06-17T11:15:14.094Z] 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-291/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T11:15:14.373Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:15:14.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:15:14.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:15:15.005Z] prd-ubuntu20.04-docker-8c-8g-2563 does not seem to be running inside a container [2022-06-17T11:15:15.043Z] $ 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-291/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-291 -v /w/workspace/foundry_device-virtual-go_PR-291:/w/workspace/foundry_device-virtual-go_PR-291:rw,z -v /w/workspace/foundry_device-virtual-go_PR-291@tmp:/w/workspace/foundry_device-virtual-go_PR-291@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-06-17T11:15:15.257Z] $ docker top a04a46498d88aba7ac961675d2bdbe2d324b3bfd0bafc2931f44454357444455 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T11:15:15.601Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T11:15:15.890Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T11:15:16.180Z] + ls /var/log/sa-host [2022-06-17T11:15:16.180Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T11:15:16.309Z] provisioning config files... [2022-06-17T11:15:16.322Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-291@tmp/config5010867479529383230tmp [Pipeline] { [Pipeline] echo [2022-06-17T11:15:16.337Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:15:16.621Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T11:15:16.629Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:15:16.960Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T11:15:16.970Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:15:17.257Z] ---> sudo-logs.sh [2022-06-17T11:15:17.257Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T11:15:17.289Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:15:17.575Z] ---> job-cost.sh [2022-06-17T11:15:17.575Z] lf-activate-venv: SKIPPING [2022-06-17T11:15:17.575Z] DEBUG: total: 0.2199999988079071 [2022-06-17T11:15:17.575Z] INFO: Retrieving Stack Cost... [2022-06-17T11:15:17.835Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T11:15:18.405Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T11:15:18.419Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:15:18.705Z] ---> logs-deploy.sh [2022-06-17T11:15:18.705Z] lf-activate-venv: SKIPPING [2022-06-17T11:15:18.705Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-291/2 [2022-06-17T11:15:18.705Z] INFO: archiving workspace using pattern(s): [2022-06-17T11:15:19.647Z] Archives upload complete. [2022-06-17T11:15:19.647Z] INFO: archiving logs to Nexus