Pull request #278 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca rather than 01bd024ef05392c038f5d4fcf8d486a489a118ad Obtained Jenkinsfile from 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13211027451964775417.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2808553533121231775.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6923928383132727247.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12833135001621163604.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-278/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2133073393273531933.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21409 in /w/workspace/foundry_device-virtual-go_PR-278 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-278 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca into PR head commit 01bd024ef05392c038f5d4fcf8d486a489a118ad Merge succeeded, producing 01bd024ef05392c038f5d4fcf8d486a489a118ad Checking out Revision 01bd024ef05392c038f5d4fcf8d486a489a118ad (PR-278) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 01bd024ef05392c038f5d4fcf8d486a489a118ad # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 01bd024ef05392c038f5d4fcf8d486a489a118ad # timeout=10 Commit message: "feat(security): Roll out delayed start configuration.toml scaffolding" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-19T21:57:38.164Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-19T21:57:38.225Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk e8259c7b579e86cb3b93c137143892732b1f4dd6 # timeout=10 [Pipeline] echo [2022-04-19T21:57:38.245Z] ========================================================= [2022-04-19T21:57:38.245Z] EdgeX Global Pipelines Version Info [2022-04-19T21:57:38.246Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:57:38.985Z] ------------------- [2022-04-19T21:57:38.985Z] stable info: [2022-04-19T21:57:38.985Z] ------------------- [2022-04-19T21:57:38.985Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-19T21:57:38.985Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-19T21:57:38.985Z] Message: update stable to v1.0.221 [2022-04-19T21:57:39.556Z] ------------------- [2022-04-19T21:57:39.556Z] experimental info: [2022-04-19T21:57:39.556Z] ------------------- [2022-04-19T21:57:39.556Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-19T21:57:39.556Z] Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d [2022-04-19T21:57:39.556Z] Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-19T21:57:39.688Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-19T21:57:39.702Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-19T21:57:39.716Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-19T21:57:39.735Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-19T21:57:39.756Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-19T21:57:39.772Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-19T21:57:39.788Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-19T21:57:39.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-19T21:57:39.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-19T21:57:39.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-19T21:57:39.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-19T21:57:39.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-19T21:57:39.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-19T21:57:39.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-19T21:57:39.893Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-19T21:57:39.906Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-19T21:57:39.921Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-19T21:57:39.931Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-19T21:57:39.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-19T21:57:39.959Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-19T21:57:39.971Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-19T21:57:39.985Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-19T21:57:39.997Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-19T21:57:40.011Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-19T21:57:40.023Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-19T21:57:40.043Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-19T21:57:40.059Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-278 [Pipeline] echo [2022-04-19T21:57:40.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-278 [Pipeline] echo [2022-04-19T21:57:40.087Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-278 [Pipeline] echo [2022-04-19T21:57:40.100Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 01bd024ef05392c038f5d4fcf8d486a489a118ad [Pipeline] echo [2022-04-19T21:57:40.113Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 01bd024 [Pipeline] echo [2022-04-19T21:57:40.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T21:57:40.171Z] provisioning config files... [2022-04-19T21:57:40.184Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config6185523140445103215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:57:40.491Z] ---> docker-login.sh [2022-04-19T21:57:40.491Z] nexus3.edgexfoundry.org:10001 [2022-04-19T21:57:40.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:57:40.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:57:40.753Z] Configure a credential helper to remove this warning. See [2022-04-19T21:57:40.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:57:40.753Z] [2022-04-19T21:57:40.753Z] Login Succeeded [2022-04-19T21:57:40.753Z] nexus3.edgexfoundry.org:10002 [2022-04-19T21:57:41.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:57:41.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:57:41.014Z] Configure a credential helper to remove this warning. See [2022-04-19T21:57:41.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:57:41.014Z] [2022-04-19T21:57:41.014Z] Login Succeeded [2022-04-19T21:57:41.014Z] nexus3.edgexfoundry.org:10003 [2022-04-19T21:57:41.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:57:41.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:57:41.014Z] Configure a credential helper to remove this warning. See [2022-04-19T21:57:41.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:57:41.014Z] [2022-04-19T21:57:41.014Z] Login Succeeded [2022-04-19T21:57:41.014Z] nexus3.edgexfoundry.org:10004 [2022-04-19T21:57:41.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:57:41.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:57:41.276Z] Configure a credential helper to remove this warning. See [2022-04-19T21:57:41.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:57:41.276Z] [2022-04-19T21:57:41.276Z] Login Succeeded [2022-04-19T21:57:41.276Z] docker.io [2022-04-19T21:57:41.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:57:41.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:57:41.849Z] Configure a credential helper to remove this warning. See [2022-04-19T21:57:41.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:57:41.849Z] [2022-04-19T21:57:41.849Z] Login Succeeded [2022-04-19T21:57:41.849Z] ---> docker-login.sh ends [Pipeline] } [2022-04-19T21:57:41.858Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-19T21:57:42.235Z] + git rev-list -1 --merges 01bd024ef05392c038f5d4fcf8d486a489a118ad~1..01bd024ef05392c038f5d4fcf8d486a489a118ad [Pipeline] echo [2022-04-19T21:57:42.273Z] -----------> git rev-list -1 --merges 01bd024ef05392c038f5d4fcf8d486a489a118ad~1..01bd024ef05392c038f5d4fcf8d486a489a118ad 01bd024ef05392c038f5d4fcf8d486a489a118ad [false] [Pipeline] sh [2022-04-19T21:57:42.564Z] + git log --format=format:%s -1 01bd024ef05392c038f5d4fcf8d486a489a118ad [Pipeline] echo [2022-04-19T21:57:42.581Z] ========================================================= [2022-04-19T21:57:42.581Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-19T21:57:42.581Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-19T21:57:42.919Z] + git log --format=format:%s -1 01bd024ef05392c038f5d4fcf8d486a489a118ad [Pipeline] echo [2022-04-19T21:57:42.933Z] [semverPrep] GIT_COMMIT: 01bd024ef05392c038f5d4fcf8d486a489a118ad, Commit Message: feat(security): Roll out delayed start configuration.toml scaffolding [Pipeline] echo [2022-04-19T21:57:42.943Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-19T21:57:43.320Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-19T21:57:43.320Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-19T21:57:43.320Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-19T21:57:43.320Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-19T21:57:43.320Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-19T21:57:43.320Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-19T21:57:43.320Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:57:43.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T21:57:43.668Z] [2022-04-19T21:57:43.668Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:57:43.978Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T21:57:43.978Z] latest: Pulling from edgex-devops/git-semver [2022-04-19T21:57:43.978Z] a0d0a0d46f8b: Pulling fs layer [2022-04-19T21:57:43.978Z] 3e5f54012d9b: Pulling fs layer [2022-04-19T21:57:43.978Z] 4c7163046ea9: Pulling fs layer [2022-04-19T21:57:43.978Z] 0c2d73faf560: Pulling fs layer [2022-04-19T21:57:43.978Z] 0c2d73faf560: Waiting [2022-04-19T21:57:43.978Z] 3e5f54012d9b: Verifying Checksum [2022-04-19T21:57:43.978Z] 3e5f54012d9b: Download complete [2022-04-19T21:57:43.978Z] a0d0a0d46f8b: Download complete [2022-04-19T21:57:43.978Z] 0c2d73faf560: Verifying Checksum [2022-04-19T21:57:43.978Z] 0c2d73faf560: Download complete [2022-04-19T21:57:43.978Z] 4c7163046ea9: Verifying Checksum [2022-04-19T21:57:43.978Z] 4c7163046ea9: Download complete [2022-04-19T21:57:44.239Z] a0d0a0d46f8b: Pull complete [2022-04-19T21:57:44.239Z] 3e5f54012d9b: Pull complete [2022-04-19T21:57:44.499Z] 4c7163046ea9: Pull complete [2022-04-19T21:57:44.759Z] 0c2d73faf560: Pull complete [2022-04-19T21:57:44.759Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-19T21:57:44.759Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-19T21:57:44.759Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-19T21:57:44.953Z] prd-ubuntu20.04-docker-8c-8g-21409 does not seem to be running inside a container [2022-04-19T21:57:44.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-19T21:57:45.681Z] $ docker top 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-19T21:57:45.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-19T21:57:45.784Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-19T21:57:45.936Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-19T21:57:45.947Z] $ docker exec 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 ssh-agent [2022-04-19T21:57:46.075Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHEliep/agent.14 [2022-04-19T21:57:46.075Z] SSH_AGENT_PID=20 [2022-04-19T21:57:46.084Z] Running ssh-add (command line suppressed) [2022-04-19T21:57:46.237Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_6389979472719279145.key (/w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_6389979472719279145.key) [2022-04-19T21:57:46.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-19T21:57:46.540Z] + git tag --points-at HEAD [Pipeline] } [2022-04-19T21:57:46.561Z] $ docker exec --env ******** --env ******** 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 ssh-agent -k [2022-04-19T21:57:46.681Z] unset SSH_AUTH_SOCK; [2022-04-19T21:57:46.682Z] unset SSH_AGENT_PID; [2022-04-19T21:57:46.682Z] echo Agent pid 20 killed; [2022-04-19T21:57:46.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-19T21:57:46.725Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-19T21:57:46.725Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-19T21:57:46.848Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-19T21:57:46.858Z] $ docker exec 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 ssh-agent [2022-04-19T21:57:46.997Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdcJdbF/agent.52 [2022-04-19T21:57:46.997Z] SSH_AGENT_PID=59 [2022-04-19T21:57:47.001Z] Running ssh-add (command line suppressed) [2022-04-19T21:57:47.135Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_4737686898283972220.key (/w/workspace/foundry_device-virtual-go_PR-278@tmp/private_key_4737686898283972220.key) [2022-04-19T21:57:47.144Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-19T21:57:47.434Z] + git semver init [2022-04-19T21:57:47.434Z] # -> Open(): unable to determine branch for HEAD [2022-04-19T21:57:47.434Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-278/.git [2022-04-19T21:57:47.434Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-278 [2022-04-19T21:57:47.434Z] # $SEMVER_REMOTE_NAME = origin [2022-04-19T21:57:47.434Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-19T21:57:47.434Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-19T21:57:47.434Z] # $SEMVER_BRANCH = PR-278 [2022-04-19T21:57:47.434Z] # $SEMVER_TEMP = /tmp/semver-205186815 [2022-04-19T21:57:47.434Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-19T21:57:48.821Z] # '/tmp/semver-205186815' -> '/w/workspace/foundry_device-virtual-go_PR-278/.semver' [2022-04-19T21:57:48.821Z] # -> Force: false [2022-04-19T21:57:48.821Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-278/.semver [Pipeline] } [2022-04-19T21:57:48.839Z] $ docker exec --env ******** --env ******** 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 ssh-agent -k [2022-04-19T21:57:48.943Z] unset SSH_AUTH_SOCK; [2022-04-19T21:57:48.943Z] unset SSH_AGENT_PID; [2022-04-19T21:57:48.943Z] echo Agent pid 59 killed; [2022-04-19T21:57:48.950Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-19T21:57:49.253Z] + git semver [Pipeline] } [2022-04-19T21:57:49.274Z] $ docker stop --time=1 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 [2022-04-19T21:57:50.663Z] $ docker rm -f 7279abfe27d5bd1a6862b02a82075d00bdb29d95fe70b30f42b2791e2ff876c6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-19T21:57:51.018Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-19T21:57:51.256Z] Stashed 1 file(s) [Pipeline] echo [2022-04-19T21:57:51.260Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T21:57:51.431Z] provisioning config files... [2022-04-19T21:57:51.440Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config8890293109948776604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:57:51.740Z] ---> docker-login.sh [2022-04-19T21:57:51.741Z] nexus3.edgexfoundry.org:10001 [2022-04-19T21:57:51.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:57:51.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:57:51.741Z] Configure a credential helper to remove this warning. See [2022-04-19T21:57:51.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:57:51.741Z] [2022-04-19T21:57:51.741Z] Login Succeeded [2022-04-19T21:57:51.741Z] nexus3.edgexfoundry.org:10002 [2022-04-19T21:57:51.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:57:52.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:57:52.003Z] Configure a credential helper to remove this warning. See [2022-04-19T21:57:52.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:57:52.003Z] [2022-04-19T21:57:52.003Z] Login Succeeded [2022-04-19T21:57:52.003Z] nexus3.edgexfoundry.org:10003 [2022-04-19T21:57:52.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:57:52.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:57:52.003Z] Configure a credential helper to remove this warning. See [2022-04-19T21:57:52.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:57:52.003Z] [2022-04-19T21:57:52.003Z] Login Succeeded [2022-04-19T21:57:52.003Z] nexus3.edgexfoundry.org:10004 [2022-04-19T21:57:52.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:57:52.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:57:52.264Z] Configure a credential helper to remove this warning. See [2022-04-19T21:57:52.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:57:52.265Z] [2022-04-19T21:57:52.265Z] Login Succeeded [2022-04-19T21:57:52.265Z] docker.io [2022-04-19T21:57:52.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T21:57:52.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T21:57:52.526Z] Configure a credential helper to remove this warning. See [2022-04-19T21:57:52.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T21:57:52.526Z] [2022-04-19T21:57:52.526Z] Login Succeeded [2022-04-19T21:57:52.526Z] ---> docker-login.sh ends [Pipeline] } [2022-04-19T21:57:52.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-19T21:57:52.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-19T21:57:52.618Z] ========================================================= [2022-04-19T21:57:52.618Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-19T21:57:52.618Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:57:52.940Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-19T21:57:52.940Z] Sending build context to Docker daemon 22.94MB [2022-04-19T21:57:52.940Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T21:57:52.940Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-19T21:57:53.201Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-19T21:57:53.201Z] 59bf1c3509f3: Pulling fs layer [2022-04-19T21:57:53.201Z] 666ba61612fd: Pulling fs layer [2022-04-19T21:57:53.201Z] 8ed8ca486205: Pulling fs layer [2022-04-19T21:57:53.201Z] 4fe6c5a15a65: Pulling fs layer [2022-04-19T21:57:53.201Z] 22a0e8bec74d: Pulling fs layer [2022-04-19T21:57:53.201Z] 4fe6c5a15a65: Waiting [2022-04-19T21:57:53.201Z] 22a0e8bec74d: Waiting [2022-04-19T21:57:53.201Z] 640e595b4fbd: Pulling fs layer [2022-04-19T21:57:53.201Z] 763cafe07f6e: Pulling fs layer [2022-04-19T21:57:53.201Z] 0c0b528cf693: Pulling fs layer [2022-04-19T21:57:53.201Z] 10935f4eaf8b: Pulling fs layer [2022-04-19T21:57:53.201Z] 763cafe07f6e: Waiting [2022-04-19T21:57:53.201Z] 0c0b528cf693: Waiting [2022-04-19T21:57:53.201Z] 10935f4eaf8b: Waiting [2022-04-19T21:57:53.201Z] 8ed8ca486205: Download complete [2022-04-19T21:57:53.201Z] 666ba61612fd: Verifying Checksum [2022-04-19T21:57:53.201Z] 666ba61612fd: Download complete [2022-04-19T21:57:53.201Z] 22a0e8bec74d: Verifying Checksum [2022-04-19T21:57:53.201Z] 22a0e8bec74d: Download complete [2022-04-19T21:57:53.201Z] 640e595b4fbd: Verifying Checksum [2022-04-19T21:57:53.201Z] 640e595b4fbd: Download complete [2022-04-19T21:57:53.201Z] 59bf1c3509f3: Verifying Checksum [2022-04-19T21:57:53.201Z] 59bf1c3509f3: Download complete [2022-04-19T21:57:53.201Z] 763cafe07f6e: Verifying Checksum [2022-04-19T21:57:53.201Z] 763cafe07f6e: Download complete [2022-04-19T21:57:53.201Z] 0c0b528cf693: Verifying Checksum [2022-04-19T21:57:53.201Z] 0c0b528cf693: Download complete [2022-04-19T21:57:53.201Z] 59bf1c3509f3: Pull complete [2022-04-19T21:57:53.461Z] 666ba61612fd: Pull complete [2022-04-19T21:57:53.461Z] 8ed8ca486205: Pull complete [2022-04-19T21:57:53.721Z] 10935f4eaf8b: Verifying Checksum [2022-04-19T21:57:53.721Z] 10935f4eaf8b: Download complete [2022-04-19T21:57:53.981Z] 4fe6c5a15a65: Verifying Checksum [2022-04-19T21:57:53.981Z] 4fe6c5a15a65: Download complete [2022-04-19T21:57:58.175Z] 4fe6c5a15a65: Pull complete [2022-04-19T21:57:58.175Z] 22a0e8bec74d: Pull complete [2022-04-19T21:57:58.175Z] 640e595b4fbd: Pull complete [2022-04-19T21:57:58.175Z] 763cafe07f6e: Pull complete [2022-04-19T21:57:58.175Z] 0c0b528cf693: Pull complete [2022-04-19T21:58:00.083Z] 10935f4eaf8b: Pull complete [2022-04-19T21:58:00.083Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-19T21:58:00.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-19T21:58:00.083Z] ---> 99d49a6021b9 [2022-04-19T21:58:00.083Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-19T21:58:02.003Z] ---> Running in c09e25e4da9b [2022-04-19T21:58:02.003Z] Removing intermediate container c09e25e4da9b [2022-04-19T21:58:02.003Z] ---> c43498d17bba [2022-04-19T21:58:02.003Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T21:58:02.003Z] ---> Running in ef545e826c9d [2022-04-19T21:58:02.003Z] Removing intermediate container ef545e826c9d [2022-04-19T21:58:02.003Z] ---> 573a44ee1f27 [2022-04-19T21:58:02.003Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-19T21:58:02.003Z] ---> Running in c313c4b1247e [2022-04-19T21:58:02.003Z] Removing intermediate container c313c4b1247e [2022-04-19T21:58:02.003Z] ---> a2e500f31e23 [2022-04-19T21:58:02.003Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T21:58:02.003Z] ---> Running in 24d6e6dd92b3 [2022-04-19T21:58:02.575Z] Removing intermediate container 24d6e6dd92b3 [2022-04-19T21:58:02.575Z] ---> d2731fe21bcd [2022-04-19T21:58:02.575Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T21:58:02.575Z] ---> Running in c2d63047badc [2022-04-19T21:58:02.836Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-19T21:58:03.778Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-19T21:58:04.038Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-19T21:58:04.038Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-19T21:58:04.299Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-19T21:58:04.299Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-19T21:58:04.560Z] Executing busybox-1.34.1-r3.trigger [2022-04-19T21:58:04.560Z] OK: 224 MiB in 56 packages [2022-04-19T21:58:04.823Z] Removing intermediate container c2d63047badc [2022-04-19T21:58:04.823Z] ---> 8dfc79a203ab [2022-04-19T21:58:04.823Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-19T21:58:05.084Z] ---> d918394b15ff [2022-04-19T21:58:05.084Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T21:58:05.084Z] ---> Running in 71ec0b4905c6 [2022-04-19T21:58:06.383Z] Still waiting to schedule task [2022-04-19T21:58:06.384Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-19T21:58:20.007Z] Removing intermediate container 71ec0b4905c6 [2022-04-19T21:58:20.007Z] ---> 5826f832ec9f [2022-04-19T21:58:20.007Z] Step 10/12 : COPY . . [2022-04-19T21:58:20.007Z] ---> 422a68acdcd7 [2022-04-19T21:58:20.007Z] Step 11/12 : ARG MAKE='make build' [2022-04-19T21:58:20.007Z] ---> Running in e1cf02da79a9 [2022-04-19T21:58:20.007Z] Removing intermediate container e1cf02da79a9 [2022-04-19T21:58:20.007Z] ---> 5a0cc9fb565f [2022-04-19T21:58:20.007Z] Step 12/12 : RUN $MAKE [2022-04-19T21:58:20.007Z] ---> Running in ce8f0e956a67 [2022-04-19T21:58:20.007Z] noop [2022-04-19T21:58:20.007Z] Removing intermediate container ce8f0e956a67 [2022-04-19T21:58:20.007Z] ---> ae01df03b567 [2022-04-19T21:58:20.007Z] Successfully built ae01df03b567 [2022-04-19T21:58:20.007Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:58:20.308Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-19T21:58:20.308Z] . [Pipeline] withDockerContainer [2022-04-19T21:58:20.376Z] prd-ubuntu20.04-docker-8c-8g-21409 does not seem to be running inside a container [2022-04-19T21:58:20.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-19T21:58:20.795Z] $ docker top 8032f2a4ac2b925a723f0a32fff7264fb835968a03f71a34b6ccfc3d710e72de -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-19T21:58:21.152Z] + go version [2022-04-19T21:58:21.152Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-19T21:58:21.181Z] $ docker stop --time=1 8032f2a4ac2b925a723f0a32fff7264fb835968a03f71a34b6ccfc3d710e72de [2022-04-19T21:58:22.490Z] $ docker rm -f 8032f2a4ac2b925a723f0a32fff7264fb835968a03f71a34b6ccfc3d710e72de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:58:22.907Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-19T21:58:22.907Z] . [Pipeline] withDockerContainer [2022-04-19T21:58:22.983Z] prd-ubuntu20.04-docker-8c-8g-21409 does not seem to be running inside a container [2022-04-19T21:58:23.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-19T21:58:23.450Z] $ docker top fea5830b2346d75716684dcffa0afc2fa1282f8a90ee03bcd8aea02963b7b82f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-19T21:58:23.827Z] + make test [2022-04-19T21:58:23.827Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-19T21:58:24.088Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-19T21:58:32.217Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-19T21:58:32.788Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.045s coverage: 65.7% of statements [2022-04-19T21:58:39.364Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-19T21:58:42.658Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-19T21:58:42.658Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-19T21:58:42.658Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-19T21:58:43.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-19T21:58:43.270Z] $ docker stop --time=1 fea5830b2346d75716684dcffa0afc2fa1282f8a90ee03bcd8aea02963b7b82f [2022-04-19T21:58:45.016Z] $ docker rm -f fea5830b2346d75716684dcffa0afc2fa1282f8a90ee03bcd8aea02963b7b82f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-19T21:58:45.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-19T21:58:45.509Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-19T21:58:46.098Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-19T21:58:46.387Z] + ls -al . [2022-04-19T21:58:46.387Z] total 204 [2022-04-19T21:58:46.387Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:58 . [2022-04-19T21:58:46.387Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:57 .. [2022-04-19T21:58:46.387Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:57 .git [2022-04-19T21:58:46.387Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:57 .github [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 19 21:57 .gitignore [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 21:57 .golangci.yml [2022-04-19T21:58:46.387Z] drwx------ 3 jenkins jenkins 4096 Apr 19 21:57 .semver [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 19 21:57 Attribution.txt [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 19 21:57 CHANGELOG.md [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 19 21:57 Dockerfile [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 21:57 GOVERNANCE.md [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 21:57 Jenkinsfile [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 21:57 LICENSE [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 19 21:57 Makefile [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 19 21:57 OWNERS.md [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 19 21:57 README.md [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 21:57 VERSION [2022-04-19T21:58:46.387Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:57 bin [2022-04-19T21:58:46.387Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:57 cmd [2022-04-19T21:58:46.387Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 19 21:58 coverage.out [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 3093 Apr 19 21:57 go.mod [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 53999 Apr 19 21:57 go.sum [2022-04-19T21:58:46.387Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:57 internal [2022-04-19T21:58:46.387Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 21:57 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:58:46.703Z] + 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=01bd024ef05392c038f5d4fcf8d486a489a118ad --label arch=amd64 --label version=0.0.0 . [2022-04-19T21:58:46.703Z] Sending build context to Docker daemon 22.98MB [2022-04-19T21:58:46.703Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T21:58:46.703Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-19T21:58:46.703Z] ---> ae01df03b567 [2022-04-19T21:58:46.703Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-19T21:58:46.963Z] ---> Running in 10cde2208ff8 [2022-04-19T21:58:46.963Z] Removing intermediate container 10cde2208ff8 [2022-04-19T21:58:46.963Z] ---> 319b8bd5aede [2022-04-19T21:58:46.963Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T21:58:46.963Z] ---> Running in 3807fb8eb355 [2022-04-19T21:58:47.223Z] Removing intermediate container 3807fb8eb355 [2022-04-19T21:58:47.223Z] ---> 9d4c9e9b0c0d [2022-04-19T21:58:47.223Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-19T21:58:47.223Z] ---> Running in 63705d463bd8 [2022-04-19T21:58:47.223Z] Removing intermediate container 63705d463bd8 [2022-04-19T21:58:47.223Z] ---> 0ed95d160ef3 [2022-04-19T21:58:47.223Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T21:58:47.223Z] ---> Running in aa25bd91a68c [2022-04-19T21:58:47.799Z] Removing intermediate container aa25bd91a68c [2022-04-19T21:58:47.799Z] ---> e6640ba31ffc [2022-04-19T21:58:47.799Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T21:58:48.060Z] ---> Running in 123f9c56ddae [2022-04-19T21:58:48.320Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-19T21:58:48.961Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-19T21:58:49.548Z] OK: 224 MiB in 56 packages [2022-04-19T21:58:49.832Z] Removing intermediate container 123f9c56ddae [2022-04-19T21:58:49.832Z] ---> 4dd243611e35 [2022-04-19T21:58:49.832Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-19T21:58:49.832Z] ---> 1138f2f02c93 [2022-04-19T21:58:49.832Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T21:58:49.832Z] ---> Running in c2924d15920f [2022-04-19T21:58:50.774Z] Removing intermediate container c2924d15920f [2022-04-19T21:58:50.774Z] ---> 666c511ae13e [2022-04-19T21:58:50.774Z] Step 10/26 : COPY . . [2022-04-19T21:58:51.034Z] ---> 10c2fcb8a8b6 [2022-04-19T21:58:51.034Z] Step 11/26 : ARG MAKE='make build' [2022-04-19T21:58:51.034Z] ---> Running in aba92c1ea34b [2022-04-19T21:58:51.295Z] Removing intermediate container aba92c1ea34b [2022-04-19T21:58:51.295Z] ---> e68abb4e80af [2022-04-19T21:58:51.295Z] Step 12/26 : RUN $MAKE [2022-04-19T21:58:51.295Z] ---> Running in ef0f78d3072d [2022-04-19T21:58:51.554Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-04-19T21:59:13.518Z] Removing intermediate container ef0f78d3072d [2022-04-19T21:59:13.518Z] ---> 29566de1b4b9 [2022-04-19T21:59:13.518Z] Step 13/26 : FROM alpine:3.14 [2022-04-19T21:59:13.518Z] 3.14: Pulling from library/alpine [2022-04-19T21:59:13.518Z] 8663204ce13b: Pulling fs layer [2022-04-19T21:59:13.518Z] 8663204ce13b: Verifying Checksum [2022-04-19T21:59:13.518Z] 8663204ce13b: Download complete [2022-04-19T21:59:13.518Z] 8663204ce13b: Pull complete [2022-04-19T21:59:13.518Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-19T21:59:13.518Z] Status: Downloaded newer image for alpine:3.14 [2022-04-19T21:59:13.518Z] ---> e04c818066af [2022-04-19T21:59:13.518Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-19T21:59:13.518Z] ---> Running in 1a757531873c [2022-04-19T21:59:13.518Z] Removing intermediate container 1a757531873c [2022-04-19T21:59:13.518Z] ---> b8ba38b349be [2022-04-19T21:59:13.518Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T21:59:13.518Z] ---> Running in b8f12a279902 [2022-04-19T21:59:13.518Z] Removing intermediate container b8f12a279902 [2022-04-19T21:59:13.518Z] ---> ae95c83e8923 [2022-04-19T21:59:13.518Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-19T21:59:13.518Z] ---> Running in 9cec5cb99973 [2022-04-19T21:59:13.518Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-19T21:59:13.518Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-19T21:59:13.518Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-19T21:59:13.518Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-19T21:59:13.518Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-19T21:59:13.778Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-19T21:59:13.778Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-19T21:59:14.037Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-19T21:59:14.037Z] Executing busybox-1.33.1-r7.trigger [2022-04-19T21:59:14.037Z] OK: 8 MiB in 20 packages [2022-04-19T21:59:14.301Z] Removing intermediate container 9cec5cb99973 [2022-04-19T21:59:14.301Z] ---> 40705a3c7af8 [2022-04-19T21:59:14.301Z] Step 17/26 : WORKDIR / [2022-04-19T21:59:14.301Z] ---> Running in a73566517840 [2022-04-19T21:59:14.563Z] Removing intermediate container a73566517840 [2022-04-19T21:59:14.563Z] ---> 3e6420cd759a [2022-04-19T21:59:14.563Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-19T21:59:14.563Z] ---> 6b04a9806d3a [2022-04-19T21:59:14.563Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-19T21:59:14.825Z] ---> 217110e4e76c [2022-04-19T21:59:14.825Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-19T21:59:15.396Z] ---> 1f5d4c86b6f7 [2022-04-19T21:59:15.396Z] Step 21/26 : EXPOSE 59900 [2022-04-19T21:59:15.396Z] ---> Running in cd2c40feadd9 [2022-04-19T21:59:15.662Z] Removing intermediate container cd2c40feadd9 [2022-04-19T21:59:15.662Z] ---> e9ba0997677b [2022-04-19T21:59:15.662Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-19T21:59:15.662Z] ---> Running in c97883a2ceb0 [2022-04-19T21:59:15.662Z] Removing intermediate container c97883a2ceb0 [2022-04-19T21:59:15.662Z] ---> b43b21e23078 [2022-04-19T21:59:15.662Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-19T21:59:15.662Z] ---> Running in ae2d0b4045e9 [2022-04-19T21:59:15.662Z] Removing intermediate container ae2d0b4045e9 [2022-04-19T21:59:15.662Z] ---> 1ef37efe408d [2022-04-19T21:59:15.662Z] Step 24/26 : LABEL arch=amd64 [2022-04-19T21:59:15.926Z] ---> Running in a72e7e48bc44 [2022-04-19T21:59:15.926Z] Removing intermediate container a72e7e48bc44 [2022-04-19T21:59:15.926Z] ---> d7dc51ed5118 [2022-04-19T21:59:15.926Z] Step 25/26 : LABEL git_sha=01bd024ef05392c038f5d4fcf8d486a489a118ad [2022-04-19T21:59:15.926Z] ---> Running in 9b431471f080 [2022-04-19T21:59:15.926Z] Removing intermediate container 9b431471f080 [2022-04-19T21:59:15.926Z] ---> 7e3ac096bc45 [2022-04-19T21:59:15.926Z] Step 26/26 : LABEL version=0.0.0 [2022-04-19T21:59:16.187Z] ---> Running in ef82953bbcc7 [2022-04-19T21:59:16.187Z] Removing intermediate container ef82953bbcc7 [2022-04-19T21:59:16.187Z] ---> 1310bcbfb45d [2022-04-19T21:59:16.187Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-19T21:59:16.187Z] Successfully built 1310bcbfb45d [2022-04-19T21:59:16.187Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:59:16.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T21:59:16.594Z] [2022-04-19T21:59:16.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T21:59:16.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T21:59:16.902Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-19T21:59:16.902Z] 5eb5b503b376: Pulling fs layer [2022-04-19T21:59:16.902Z] 5c69ac0246d0: Pulling fs layer [2022-04-19T21:59:16.902Z] ec43610c2a17: Pulling fs layer [2022-04-19T21:59:16.902Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-19T21:59:16.902Z] 33b1e0a273af: Pulling fs layer [2022-04-19T21:59:16.902Z] 5d3b04190fa2: Pulling fs layer [2022-04-19T21:59:16.902Z] 2f39f015ded8: Pulling fs layer [2022-04-19T21:59:16.902Z] 3a2ae6a8a46f: Waiting [2022-04-19T21:59:16.902Z] 33b1e0a273af: Waiting [2022-04-19T21:59:16.902Z] 5d3b04190fa2: Waiting [2022-04-19T21:59:16.902Z] 5c69ac0246d0: Verifying Checksum [2022-04-19T21:59:16.902Z] 5c69ac0246d0: Download complete [2022-04-19T21:59:16.902Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-19T21:59:16.902Z] 3a2ae6a8a46f: Download complete [2022-04-19T21:59:16.902Z] 33b1e0a273af: Verifying Checksum [2022-04-19T21:59:16.902Z] 33b1e0a273af: Download complete [2022-04-19T21:59:16.902Z] ec43610c2a17: Verifying Checksum [2022-04-19T21:59:16.902Z] ec43610c2a17: Download complete [2022-04-19T21:59:16.902Z] 5d3b04190fa2: Verifying Checksum [2022-04-19T21:59:16.902Z] 5d3b04190fa2: Download complete [2022-04-19T21:59:17.161Z] 5eb5b503b376: Download complete [2022-04-19T21:59:17.730Z] 2f39f015ded8: Download complete [2022-04-19T21:59:18.299Z] 5eb5b503b376: Pull complete [2022-04-19T21:59:18.299Z] 5c69ac0246d0: Pull complete [2022-04-19T21:59:18.868Z] ec43610c2a17: Pull complete [2022-04-19T21:59:18.868Z] 3a2ae6a8a46f: Pull complete [2022-04-19T21:59:19.128Z] 33b1e0a273af: Pull complete [2022-04-19T21:59:19.128Z] 5d3b04190fa2: Pull complete [2022-04-19T21:59:23.321Z] 2f39f015ded8: Pull complete [2022-04-19T21:59:23.321Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-19T21:59:23.321Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T21:59:23.321Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-19T21:59:23.388Z] prd-ubuntu20.04-docker-8c-8g-21409 does not seem to be running inside a container [2022-04-19T21:59:23.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-19T21:59:25.148Z] $ docker top df12772ffdd4937004c8fe2f6eb25409ea5d8b3dbcaefdae5f42ac3b0654fbb0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T21:59:25.536Z] ---> job-cost.sh [2022-04-19T21:59:25.536Z] lf-activate-venv: SKIPPING [2022-04-19T21:59:25.536Z] INFO: No Stack... [2022-04-19T21:59:26.106Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-19T21:59:26.366Z] INFO: Archiving Costs [Pipeline] sh [2022-04-19T21:59:26.667Z] + cut -d, -f6 [2022-04-19T21:59:26.668Z] + cat /w/workspace/foundry_device-virtual-go_PR-278/archives/cost.csv [Pipeline] lock [2022-04-19T21:59:26.686Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] [2022-04-19T21:59:26.692Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] did not exist. Created. [2022-04-19T21:59:26.693Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-19T21:59:27.000Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-19T21:59:27.027Z] Stashed 1 file(s) [Pipeline] } [2022-04-19T21:59:27.034Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-19T21:59:27.061Z] $ docker stop --time=1 df12772ffdd4937004c8fe2f6eb25409ea5d8b3dbcaefdae5f42ac3b0654fbb0 [2022-04-19T21:59:28.224Z] $ docker rm -f df12772ffdd4937004c8fe2f6eb25409ea5d8b3dbcaefdae5f42ac3b0654fbb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-19T21:59:40.982Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21410 in /w/workspace/foundry_device-virtual-go_PR-278 [Pipeline] { [Pipeline] ws [2022-04-19T21:59:40.996Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2022-04-19T21:59:41.393Z] The recommended git tool is: git [2022-04-19T21:59:48.429Z] using credential edgex-jenkins-ssh [2022-04-19T21:59:48.448Z] Cloning the remote Git repository [2022-04-19T21:59:48.525Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-19T21:59:48.626Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2022-04-19T21:59:48.738Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-19T21:59:48.743Z] > git --version # timeout=10 [2022-04-19T21:59:48.781Z] > git --version # 'git version 2.25.1' [2022-04-19T21:59:48.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-19T21:59:48.941Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-19T21:59:51.916Z] Merging remotes/origin/main commit 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca into PR head commit 01bd024ef05392c038f5d4fcf8d486a489a118ad [2022-04-19T21:59:51.222Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-19T21:59:51.258Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-19T21:59:51.292Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-19T21:59:51.342Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-19T21:59:51.342Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-19T21:59:51.359Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/278/head:refs/remotes/origin/PR-278 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-19T21:59:52.142Z] Merge succeeded, producing 01bd024ef05392c038f5d4fcf8d486a489a118ad [2022-04-19T21:59:52.142Z] Checking out Revision 01bd024ef05392c038f5d4fcf8d486a489a118ad (PR-278) [2022-04-19T21:59:51.939Z] > git config core.sparsecheckout # timeout=10 [2022-04-19T21:59:51.953Z] > git checkout -f 01bd024ef05392c038f5d4fcf8d486a489a118ad # timeout=10 [2022-04-19T21:59:52.044Z] > git remote # timeout=10 [2022-04-19T21:59:52.069Z] > git config --get remote.origin.url # timeout=10 [2022-04-19T21:59:52.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-19T21:59:52.099Z] > git merge 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 [2022-04-19T21:59:52.127Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-19T21:59:52.153Z] > git config core.sparsecheckout # timeout=10 [2022-04-19T21:59:52.167Z] > git checkout -f 01bd024ef05392c038f5d4fcf8d486a489a118ad # timeout=10 [2022-04-19T21:59:56.286Z] Commit message: "feat(security): Roll out delayed start configuration.toml scaffolding" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-19T21:59:57.156Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-19T21:59:57.156Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-19T21:59:57.156Z] Dload Upload Total Spent Left Speed [2022-04-19T21:59:57.156Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48938 0 --:--:-- --:--:-- --:--:-- 48736 [Pipeline] sh [2022-04-19T21:59:57.698Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-19T21:59:58.036Z] + sudo tee /etc/docker/daemon.new [2022-04-19T21:59:58.036Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-19T21:59:58.036Z] { [2022-04-19T21:59:58.036Z] "registry-mirrors": [ [2022-04-19T21:59:58.036Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-19T21:59:58.036Z] ], [2022-04-19T21:59:58.036Z] "bip": "10.250.0.254/24", [2022-04-19T21:59:58.036Z] "hosts": [ [2022-04-19T21:59:58.036Z] "tcp://0.0.0.0:5555", [2022-04-19T21:59:58.036Z] "unix:///var/run/docker.sock" [2022-04-19T21:59:58.036Z] ], [2022-04-19T21:59:58.036Z] "mtu": 1458, [2022-04-19T21:59:58.036Z] "selinux-enabled": true, [2022-04-19T21:59:58.036Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-19T21:59:58.036Z] } [Pipeline] sh [2022-04-19T21:59:58.377Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-19T21:59:58.729Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T22:00:17.138Z] provisioning config files... [2022-04-19T22:00:17.164Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config5342309583569361564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T22:00:17.531Z] ---> docker-login.sh [2022-04-19T22:00:17.531Z] nexus3.edgexfoundry.org:10001 [2022-04-19T22:00:18.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T22:00:18.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T22:00:18.399Z] Configure a credential helper to remove this warning. See [2022-04-19T22:00:18.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T22:00:18.399Z] [2022-04-19T22:00:18.399Z] Login Succeeded [2022-04-19T22:00:18.399Z] nexus3.edgexfoundry.org:10002 [2022-04-19T22:00:18.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T22:00:18.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T22:00:18.947Z] Configure a credential helper to remove this warning. See [2022-04-19T22:00:18.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T22:00:18.947Z] [2022-04-19T22:00:18.947Z] Login Succeeded [2022-04-19T22:00:18.947Z] nexus3.edgexfoundry.org:10003 [2022-04-19T22:00:19.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T22:00:19.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T22:00:19.220Z] Configure a credential helper to remove this warning. See [2022-04-19T22:00:19.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T22:00:19.220Z] [2022-04-19T22:00:19.220Z] Login Succeeded [2022-04-19T22:00:19.220Z] nexus3.edgexfoundry.org:10004 [2022-04-19T22:00:19.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T22:00:19.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T22:00:19.770Z] Configure a credential helper to remove this warning. See [2022-04-19T22:00:19.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T22:00:19.770Z] [2022-04-19T22:00:19.770Z] Login Succeeded [2022-04-19T22:00:19.770Z] docker.io [2022-04-19T22:00:20.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-19T22:00:20.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-19T22:00:20.640Z] Configure a credential helper to remove this warning. See [2022-04-19T22:00:20.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-19T22:00:20.640Z] [2022-04-19T22:00:20.640Z] Login Succeeded [2022-04-19T22:00:20.640Z] ---> docker-login.sh ends [Pipeline] } [2022-04-19T22:00:20.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-19T22:00:21.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-19T22:00:21.195Z] ========================================================= [2022-04-19T22:00:21.195Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-19T22:00:21.195Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-19T22:00:21.540Z] + 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-04-19T22:00:21.822Z] Sending build context to Docker daemon 11.61MB [2022-04-19T22:00:22.098Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T22:00:22.098Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-19T22:00:22.098Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-19T22:00:22.098Z] 9b3977197b4f: Pulling fs layer [2022-04-19T22:00:22.098Z] 1a89e8eeedd5: Pulling fs layer [2022-04-19T22:00:22.098Z] 94645a83ff95: Pulling fs layer [2022-04-19T22:00:22.098Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-19T22:00:22.098Z] 0c92f367c5e7: Pulling fs layer [2022-04-19T22:00:22.098Z] f7c0051592d6: Pulling fs layer [2022-04-19T22:00:22.098Z] a227ed2f7395: Pulling fs layer [2022-04-19T22:00:22.098Z] 7b1c46037f91: Pulling fs layer [2022-04-19T22:00:22.098Z] 3f3a8bcf1eab: Waiting [2022-04-19T22:00:22.098Z] 0c92f367c5e7: Waiting [2022-04-19T22:00:22.098Z] f7c0051592d6: Waiting [2022-04-19T22:00:22.098Z] a227ed2f7395: Waiting [2022-04-19T22:00:22.098Z] 7b1c46037f91: Waiting [2022-04-19T22:00:22.098Z] 94645a83ff95: Verifying Checksum [2022-04-19T22:00:22.098Z] 94645a83ff95: Download complete [2022-04-19T22:00:22.098Z] 1a89e8eeedd5: Verifying Checksum [2022-04-19T22:00:22.098Z] 1a89e8eeedd5: Download complete [2022-04-19T22:00:22.098Z] 0c92f367c5e7: Download complete [2022-04-19T22:00:22.377Z] f7c0051592d6: Verifying Checksum [2022-04-19T22:00:22.377Z] f7c0051592d6: Download complete [2022-04-19T22:00:22.377Z] 9b3977197b4f: Download complete [2022-04-19T22:00:22.377Z] a227ed2f7395: Verifying Checksum [2022-04-19T22:00:22.377Z] a227ed2f7395: Download complete [2022-04-19T22:00:22.983Z] 9b3977197b4f: Pull complete [2022-04-19T22:00:23.591Z] 1a89e8eeedd5: Pull complete [2022-04-19T22:00:23.867Z] 94645a83ff95: Pull complete [2022-04-19T22:00:24.143Z] 7b1c46037f91: Verifying Checksum [2022-04-19T22:00:24.143Z] 7b1c46037f91: Download complete [2022-04-19T22:00:24.743Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-19T22:00:24.743Z] 3f3a8bcf1eab: Download complete [2022-04-19T22:00:37.155Z] 3f3a8bcf1eab: Pull complete [2022-04-19T22:00:37.155Z] 0c92f367c5e7: Pull complete [2022-04-19T22:00:37.155Z] f7c0051592d6: Pull complete [2022-04-19T22:00:37.433Z] a227ed2f7395: Pull complete [2022-04-19T22:00:44.169Z] 7b1c46037f91: Pull complete [2022-04-19T22:00:44.169Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-19T22:00:44.169Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-19T22:00:44.169Z] ---> f79e39bc4007 [2022-04-19T22:00:44.169Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-19T22:00:44.455Z] ---> Running in 2feb1176a350 [2022-04-19T22:00:44.728Z] Removing intermediate container 2feb1176a350 [2022-04-19T22:00:44.728Z] ---> 075211d6c7e0 [2022-04-19T22:00:44.728Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T22:00:45.004Z] ---> Running in 47540981b061 [2022-04-19T22:00:45.279Z] Removing intermediate container 47540981b061 [2022-04-19T22:00:45.279Z] ---> af6c982a85ff [2022-04-19T22:00:45.279Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-19T22:00:45.279Z] ---> Running in 925e27a9a8c5 [2022-04-19T22:00:45.556Z] Removing intermediate container 925e27a9a8c5 [2022-04-19T22:00:45.557Z] ---> ccbf849ac02c [2022-04-19T22:00:45.557Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T22:00:45.830Z] ---> Running in 3db0ee62effd [2022-04-19T22:00:47.270Z] Removing intermediate container 3db0ee62effd [2022-04-19T22:00:47.270Z] ---> 0d221ccfcdaa [2022-04-19T22:00:47.270Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T22:00:47.545Z] ---> Running in e5fe6d8f1589 [2022-04-19T22:00:48.526Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-19T22:00:49.503Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-19T22:00:50.098Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-19T22:00:50.098Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-19T22:00:50.370Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-19T22:00:50.371Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-19T22:00:50.647Z] Executing busybox-1.34.1-r3.trigger [2022-04-19T22:00:50.647Z] OK: 224 MiB in 56 packages [2022-04-19T22:00:51.630Z] Removing intermediate container e5fe6d8f1589 [2022-04-19T22:00:51.630Z] ---> 50836ddcbd3d [2022-04-19T22:00:51.630Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-19T22:00:51.911Z] ---> 9e499a9e527c [2022-04-19T22:00:51.911Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T22:00:52.187Z] ---> Running in cee90f1b8e9c [2022-04-19T22:01:39.217Z] Removing intermediate container cee90f1b8e9c [2022-04-19T22:01:39.217Z] ---> 8f883ade2137 [2022-04-19T22:01:39.217Z] Step 10/12 : COPY . . [2022-04-19T22:01:39.217Z] ---> 2aca73e5bc96 [2022-04-19T22:01:39.217Z] Step 11/12 : ARG MAKE='make build' [2022-04-19T22:01:39.217Z] ---> Running in de3bc9d7a9cb [2022-04-19T22:01:39.217Z] Removing intermediate container de3bc9d7a9cb [2022-04-19T22:01:39.217Z] ---> 8a972b06f6ac [2022-04-19T22:01:39.217Z] Step 12/12 : RUN $MAKE [2022-04-19T22:01:39.217Z] ---> Running in db02e08e8c43 [2022-04-19T22:01:39.217Z] noop [2022-04-19T22:01:39.818Z] Removing intermediate container db02e08e8c43 [2022-04-19T22:01:39.818Z] ---> 3f14c84f7832 [2022-04-19T22:01:39.818Z] Successfully built 3f14c84f7832 [2022-04-19T22:01:39.818Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-19T22:01:40.169Z] + docker inspect -f . ci-base-image-arm64 [2022-04-19T22:01:40.169Z] . [Pipeline] withDockerContainer [2022-04-19T22:01:40.404Z] prd-ubuntu20.04-docker-arm64-4c-16g-21410 does not seem to be running inside a container [2022-04-19T22:01:40.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-19T22:01:41.794Z] $ docker top e7ebf64a842d473b80e92d79f66f9d424a14d9072a6ffdb1a6a3a3218942a894 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-19T22:01:42.675Z] + go version [2022-04-19T22:01:42.676Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-19T22:01:42.713Z] $ docker stop --time=1 e7ebf64a842d473b80e92d79f66f9d424a14d9072a6ffdb1a6a3a3218942a894 [2022-04-19T22:01:44.339Z] $ docker rm -f e7ebf64a842d473b80e92d79f66f9d424a14d9072a6ffdb1a6a3a3218942a894 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-19T22:01:44.929Z] + docker inspect -f . ci-base-image-arm64 [2022-04-19T22:01:44.929Z] . [Pipeline] withDockerContainer [2022-04-19T22:01:45.163Z] prd-ubuntu20.04-docker-arm64-4c-16g-21410 does not seem to be running inside a container [2022-04-19T22:01:45.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-19T22:01:46.522Z] $ docker top 3ecb8e577681988b547d61d075b41f8f35c494dfdb650951d5d09010c25413f4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-19T22:01:47.452Z] + make test [2022-04-19T22:01:47.452Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-19T22:01:48.890Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-19T22:03:10.772Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-19T22:03:10.772Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements [2022-04-19T22:03:10.772Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-19T22:03:10.772Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-19T22:03:29.116Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-19T22:03:29.116Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-19T22:03:29.116Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-19T22:03:31.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-19T22:03:31.815Z] $ docker stop --time=1 3ecb8e577681988b547d61d075b41f8f35c494dfdb650951d5d09010c25413f4 [2022-04-19T22:03:33.621Z] $ docker rm -f 3ecb8e577681988b547d61d075b41f8f35c494dfdb650951d5d09010c25413f4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-19T22:03:34.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-19T22:03:34.581Z] Warning: overwriting stash ‘coverage-report’ [2022-04-19T22:03:35.045Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-19T22:03:35.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-19T22:03:35.775Z] + ls -al . [2022-04-19T22:03:35.775Z] total 200 [2022-04-19T22:03:35.775Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 19 22:03 . [2022-04-19T22:03:35.775Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 21:59 .. [2022-04-19T22:03:35.775Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 21:59 .git [2022-04-19T22:03:35.775Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:59 .github [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 19 21:59 .gitignore [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 21:59 .golangci.yml [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 19 21:59 Attribution.txt [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 19 21:59 CHANGELOG.md [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 19 21:59 Dockerfile [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 21:59 GOVERNANCE.md [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 19 21:59 Jenkinsfile [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 21:59 LICENSE [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 19 21:59 Makefile [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 19 21:59 OWNERS.md [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 19 21:59 README.md [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 21:57 VERSION [2022-04-19T22:03:35.775Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 21:59 bin [2022-04-19T22:03:35.775Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:59 cmd [2022-04-19T22:03:35.775Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 19 22:03 coverage.out [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 3093 Apr 19 21:59 go.mod [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 53999 Apr 19 21:59 go.sum [2022-04-19T22:03:35.775Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 21:59 internal [2022-04-19T22:03:35.775Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 19 21:59 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-19T22:03:36.128Z] + 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=01bd024ef05392c038f5d4fcf8d486a489a118ad --label arch=arm64 --label version=0.0.0 . [2022-04-19T22:03:36.727Z] Sending build context to Docker daemon 11.66MB [2022-04-19T22:03:36.727Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-19T22:03:36.727Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-19T22:03:36.727Z] ---> 3f14c84f7832 [2022-04-19T22:03:36.727Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-19T22:03:36.727Z] ---> Running in ed60b20c107c [2022-04-19T22:03:37.001Z] Removing intermediate container ed60b20c107c [2022-04-19T22:03:37.001Z] ---> d653984455da [2022-04-19T22:03:37.001Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-19T22:03:37.001Z] ---> Running in ce706b104312 [2022-04-19T22:03:37.275Z] Removing intermediate container ce706b104312 [2022-04-19T22:03:37.275Z] ---> 41df869637d5 [2022-04-19T22:03:37.275Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-19T22:03:37.548Z] ---> Running in 6f257de33ded [2022-04-19T22:03:37.822Z] Removing intermediate container 6f257de33ded [2022-04-19T22:03:37.822Z] ---> 59c02cf26faf [2022-04-19T22:03:37.822Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T22:03:37.822Z] ---> Running in d49fd2a5b4d4 [2022-04-19T22:03:39.804Z] Removing intermediate container d49fd2a5b4d4 [2022-04-19T22:03:39.804Z] ---> 384cc9b667a8 [2022-04-19T22:03:39.804Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-19T22:03:39.804Z] ---> Running in fc5dfef5710b [2022-04-19T22:03:40.402Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-19T22:03:41.383Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-19T22:03:42.361Z] OK: 224 MiB in 56 packages [2022-04-19T22:03:42.965Z] Removing intermediate container fc5dfef5710b [2022-04-19T22:03:42.965Z] ---> d91e3a8596f5 [2022-04-19T22:03:42.965Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-19T22:03:43.568Z] ---> 504824bae940 [2022-04-19T22:03:43.568Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-19T22:03:43.568Z] ---> Running in fadf35e333a1 [2022-04-19T22:03:45.545Z] Removing intermediate container fadf35e333a1 [2022-04-19T22:03:45.545Z] ---> 7f239f5a0f80 [2022-04-19T22:03:45.545Z] Step 10/26 : COPY . . [2022-04-19T22:03:46.980Z] ---> a22c283ccb71 [2022-04-19T22:03:46.980Z] Step 11/26 : ARG MAKE='make build' [2022-04-19T22:03:46.980Z] ---> Running in 4c30623f8ac4 [2022-04-19T22:03:46.980Z] Removing intermediate container 4c30623f8ac4 [2022-04-19T22:03:46.980Z] ---> 8dafef8b377f [2022-04-19T22:03:46.980Z] Step 12/26 : RUN $MAKE [2022-04-19T22:03:47.259Z] ---> Running in 7d532bd2f1de [2022-04-19T22:03:48.242Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-04-19T22:05:55.159Z] Removing intermediate container 7d532bd2f1de [2022-04-19T22:05:55.159Z] ---> 167a1dba1a43 [2022-04-19T22:05:55.159Z] Step 13/26 : FROM alpine:3.14 [2022-04-19T22:05:55.159Z] 3.14: Pulling from library/alpine [2022-04-19T22:05:55.159Z] 455c02918c45: Pulling fs layer [2022-04-19T22:05:55.159Z] 455c02918c45: Verifying Checksum [2022-04-19T22:05:55.159Z] 455c02918c45: Download complete [2022-04-19T22:05:55.159Z] 455c02918c45: Pull complete [2022-04-19T22:05:55.159Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-19T22:05:55.159Z] Status: Downloaded newer image for alpine:3.14 [2022-04-19T22:05:55.159Z] ---> ac73e934f311 [2022-04-19T22:05:55.159Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-19T22:05:55.159Z] ---> Running in 578156af528a [2022-04-19T22:05:55.159Z] Removing intermediate container 578156af528a [2022-04-19T22:05:55.159Z] ---> a39198e64641 [2022-04-19T22:05:55.159Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-19T22:05:55.159Z] ---> Running in 37916cb82edf [2022-04-19T22:05:55.159Z] Removing intermediate container 37916cb82edf [2022-04-19T22:05:55.159Z] ---> cc8c4c767570 [2022-04-19T22:05:55.159Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-19T22:05:55.159Z] ---> Running in cc8a12c77f18 [2022-04-19T22:05:55.159Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-19T22:05:55.159Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-19T22:05:55.159Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-19T22:05:55.159Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-19T22:05:55.159Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-19T22:05:55.159Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-19T22:05:55.159Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-19T22:05:55.159Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-19T22:05:55.159Z] Executing busybox-1.33.1-r7.trigger [2022-04-19T22:05:55.159Z] OK: 8 MiB in 20 packages [2022-04-19T22:05:55.159Z] Removing intermediate container cc8a12c77f18 [2022-04-19T22:05:55.159Z] ---> 01dd6bf76dc5 [2022-04-19T22:05:55.159Z] Step 17/26 : WORKDIR / [2022-04-19T22:05:55.159Z] ---> Running in 56392cb6d7e5 [2022-04-19T22:05:55.159Z] Removing intermediate container 56392cb6d7e5 [2022-04-19T22:05:55.159Z] ---> 87645cb086ea [2022-04-19T22:05:55.159Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-19T22:05:55.159Z] ---> b85a2762cbc9 [2022-04-19T22:05:55.159Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-19T22:05:55.159Z] ---> 1450b10a67b4 [2022-04-19T22:05:55.159Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-19T22:05:55.159Z] ---> 015e20880579 [2022-04-19T22:05:55.159Z] Step 21/26 : EXPOSE 59900 [2022-04-19T22:05:55.159Z] ---> Running in 9f5b5586110f [2022-04-19T22:05:55.159Z] Removing intermediate container 9f5b5586110f [2022-04-19T22:05:55.159Z] ---> c4bc6e8451b5 [2022-04-19T22:05:55.159Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-19T22:05:55.159Z] ---> Running in 682df591648d [2022-04-19T22:05:55.159Z] Removing intermediate container 682df591648d [2022-04-19T22:05:55.159Z] ---> b6e0d93a33aa [2022-04-19T22:05:55.159Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-19T22:05:55.159Z] ---> Running in cc19f3c67a07 [2022-04-19T22:05:55.159Z] Removing intermediate container cc19f3c67a07 [2022-04-19T22:05:55.159Z] ---> ebbc7772aed7 [2022-04-19T22:05:55.159Z] Step 24/26 : LABEL arch=arm64 [2022-04-19T22:05:55.159Z] ---> Running in a36989a740ab [2022-04-19T22:05:55.159Z] Removing intermediate container a36989a740ab [2022-04-19T22:05:55.159Z] ---> 2004434e9cb7 [2022-04-19T22:05:55.159Z] Step 25/26 : LABEL git_sha=01bd024ef05392c038f5d4fcf8d486a489a118ad [2022-04-19T22:05:55.159Z] ---> Running in ec3df849ad02 [2022-04-19T22:05:55.159Z] Removing intermediate container ec3df849ad02 [2022-04-19T22:05:55.159Z] ---> 004ea48b8dcb [2022-04-19T22:05:55.159Z] Step 26/26 : LABEL version=0.0.0 [2022-04-19T22:05:55.159Z] ---> Running in 5b4bb0eeef90 [2022-04-19T22:05:55.159Z] Removing intermediate container 5b4bb0eeef90 [2022-04-19T22:05:55.159Z] ---> 52e17050b5d4 [2022-04-19T22:05:55.159Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-19T22:05:55.159Z] Successfully built 52e17050b5d4 [2022-04-19T22:05:55.159Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-19T22:05:55.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-19T22:05:55.596Z] [2022-04-19T22:05:55.596Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-19T22:05:55.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-19T22:05:56.231Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-19T22:05:56.231Z] 8998bd30e6a1: Pulling fs layer [2022-04-19T22:05:56.231Z] 04944245beec: Pulling fs layer [2022-04-19T22:05:56.231Z] 699f458cf7ca: Pulling fs layer [2022-04-19T22:05:56.231Z] 765212b225bb: Pulling fs layer [2022-04-19T22:05:56.231Z] f23df028b6ca: Pulling fs layer [2022-04-19T22:05:56.231Z] d65c8cfc05b1: Pulling fs layer [2022-04-19T22:05:56.231Z] 2437ff75d9bd: Pulling fs layer [2022-04-19T22:05:56.231Z] f23df028b6ca: Waiting [2022-04-19T22:05:56.231Z] d65c8cfc05b1: Waiting [2022-04-19T22:05:56.231Z] 2437ff75d9bd: Waiting [2022-04-19T22:05:56.231Z] 765212b225bb: Waiting [2022-04-19T22:05:56.231Z] 04944245beec: Verifying Checksum [2022-04-19T22:05:56.231Z] 04944245beec: Download complete [2022-04-19T22:05:56.231Z] 765212b225bb: Verifying Checksum [2022-04-19T22:05:56.231Z] 765212b225bb: Download complete [2022-04-19T22:05:56.231Z] f23df028b6ca: Verifying Checksum [2022-04-19T22:05:56.231Z] f23df028b6ca: Download complete [2022-04-19T22:05:56.231Z] d65c8cfc05b1: Download complete [2022-04-19T22:05:56.524Z] 699f458cf7ca: Verifying Checksum [2022-04-19T22:05:56.524Z] 699f458cf7ca: Download complete [2022-04-19T22:05:56.799Z] 8998bd30e6a1: Verifying Checksum [2022-04-19T22:05:56.799Z] 8998bd30e6a1: Download complete [2022-04-19T22:05:59.443Z] 2437ff75d9bd: Verifying Checksum [2022-04-19T22:05:59.443Z] 2437ff75d9bd: Download complete [2022-04-19T22:06:01.431Z] 8998bd30e6a1: Pull complete [2022-04-19T22:06:01.711Z] 04944245beec: Pull complete [2022-04-19T22:06:03.161Z] 699f458cf7ca: Pull complete [2022-04-19T22:06:03.161Z] 765212b225bb: Pull complete [2022-04-19T22:06:04.149Z] f23df028b6ca: Pull complete [2022-04-19T22:06:04.149Z] d65c8cfc05b1: Pull complete [2022-04-19T22:06:19.252Z] 2437ff75d9bd: Pull complete [2022-04-19T22:06:19.252Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-19T22:06:19.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-19T22:06:19.252Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-19T22:06:19.484Z] prd-ubuntu20.04-docker-arm64-4c-16g-21410 does not seem to be running inside a container [2022-04-19T22:06:19.599Z] $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-19T22:06:22.116Z] $ docker top 54a9cb6c55209e0387f1265841f7741e3a43de6abedf3417a929ddaf41b632eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-19T22:06:23.008Z] ---> job-cost.sh [2022-04-19T22:06:23.008Z] lf-activate-venv: SKIPPING [2022-04-19T22:06:23.008Z] INFO: No Stack... [2022-04-19T22:06:23.281Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-19T22:06:24.263Z] INFO: Archiving Costs [Pipeline] sh [2022-04-19T22:06:24.939Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [2022-04-19T22:06:24.940Z] + cut -d, -f6 [Pipeline] lock [2022-04-19T22:06:25.005Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] [2022-04-19T22:06:25.011Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] did not exist. Created. [2022-04-19T22:06:25.011Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-19T22:06:25.698Z] /w/workspace/device-virtual-go/3@tmp/durable-baacd9b9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-19T22:06:26.383Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-19T22:06:26.414Z] Warning: overwriting stash ‘stack-cost’ [2022-04-19T22:06:26.453Z] Stashed 1 file(s) [Pipeline] } [2022-04-19T22:06:26.463Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-278-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-19T22:06:26.503Z] $ docker stop --time=1 54a9cb6c55209e0387f1265841f7741e3a43de6abedf3417a929ddaf41b632eb [2022-04-19T22:06:28.000Z] $ docker rm -f 54a9cb6c55209e0387f1265841f7741e3a43de6abedf3417a929ddaf41b632eb [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-04-19T22:06:28.463Z] provisioning config files... [2022-04-19T22:06:28.472Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config8678876997934869958tmp [Pipeline] { [Pipeline] sh [2022-04-19T22:06:28.772Z] + set +x [2022-04-19T22:06:28.772Z] + curl -s https://codecov.io/bash [2022-04-19T22:06:28.772Z] + bash -s -- [2022-04-19T22:06:28.772Z] [2022-04-19T22:06:28.772Z] _____ _ [2022-04-19T22:06:28.772Z] / ____| | | [2022-04-19T22:06:28.772Z] | | ___ __| | ___ ___ _____ __ [2022-04-19T22:06:28.772Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-19T22:06:28.772Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-19T22:06:28.772Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-19T22:06:28.772Z] Bash-1.0.6 [2022-04-19T22:06:28.772Z] [2022-04-19T22:06:28.772Z] [2022-04-19T22:06:28.772Z] ==> git version 2.25.1 found [2022-04-19T22:06:28.772Z] ==> 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-04-19T22:06:28.772Z] Release-Date: 2020-01-08 [2022-04-19T22:06:28.772Z] 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-04-19T22:06:28.772Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-19T22:06:28.772Z] ==> Jenkins CI detected. [2022-04-19T22:06:28.772Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-278 [2022-04-19T22:06:28.772Z] project root: . [2022-04-19T22:06:28.772Z] --> token set from env [2022-04-19T22:06:28.772Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-19T22:06:28.772Z] ==> Running gcov in . (disable via -X gcov) [2022-04-19T22:06:28.772Z] ==> Python coveragepy not found [2022-04-19T22:06:28.772Z] ==> Searching for coverage reports in: [2022-04-19T22:06:28.772Z] + . [2022-04-19T22:06:28.772Z] -> Found 1 reports [2022-04-19T22:06:28.772Z] ==> Detecting git/mercurial file structure [2022-04-19T22:06:28.772Z] ==> Reading reports [2022-04-19T22:06:28.772Z] + ./coverage.out bytes=44128 [2022-04-19T22:06:28.772Z] ==> Appending adjustments [2022-04-19T22:06:28.772Z] https://docs.codecov.io/docs/fixing-reports [2022-04-19T22:06:29.032Z] + Found adjustments [2022-04-19T22:06:29.032Z] ==> Gzipping contents [2022-04-19T22:06:29.032Z] 8.0K /tmp/codecov.fmYtVt.gz [2022-04-19T22:06:29.032Z] ==> Uploading reports [2022-04-19T22:06:29.032Z] url: https://codecov.io [2022-04-19T22:06:29.032Z] query: branch=PR-278&commit=01bd024ef05392c038f5d4fcf8d486a489a118ad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-278%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=278&job=&cmd_args= [2022-04-19T22:06:29.032Z] -> Pinging Codecov [2022-04-19T22:06:29.032Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-278&commit=01bd024ef05392c038f5d4fcf8d486a489a118ad&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-278%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=278&job=&cmd_args= [2022-04-19T22:06:29.292Z] -> Uploading to [2022-04-19T22:06:29.292Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-19/5E52B4B073DB2E39498172D8E973AA87/01bd024ef05392c038f5d4fcf8d486a489a118ad/7376abeb-0306-45d3-b303-9347e145d855.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220419T220629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57b9ebab00446bf2fe2d2c86b6a65081841967a3fe3bfe5967980d30fa3cfd77 [2022-04-19T22:06:29.292Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-19T22:06:29.292Z] Dload Upload Total Spent Left Speed [2022-04-19T22:06:29.554Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5272 0 0 100 5272 0 23747 --:--:-- --:--:-- --:--:-- 23641 100 5272 0 0 100 5272 0 22244 --:--:-- --:--:-- --:--:-- 22151 [2022-04-19T22:06:29.554Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/01bd024ef05392c038f5d4fcf8d486a489a118ad [Pipeline] } [2022-04-19T22:06:29.564Z] 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-04-19T22:06:30.284Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-278/archives ] [2022-04-19T22:06:30.284Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-278/archives [2022-04-19T22:06:30.284Z] total 16 [2022-04-19T22:06:30.284Z] drwxr-xr-x 3 root root 4096 Apr 19 21:59 . [2022-04-19T22:06:30.284Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:59 .. [2022-04-19T22:06:30.284Z] drwxr-xr-x 2 root root 4096 Apr 19 21:59 cost [2022-04-19T22:06:30.284Z] -rw-r--r-- 1 root root 88 Apr 19 21:59 cost.csv [2022-04-19T22:06:30.284Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-278/archives [2022-04-19T22:06:30.284Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-278/archives [2022-04-19T22:06:30.284Z] total 16 [2022-04-19T22:06:30.284Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 21:59 . [2022-04-19T22:06:30.284Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 21:59 .. [2022-04-19T22:06:30.284Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 21:59 cost [2022-04-19T22:06:30.284Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 19 21:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-19T22:06:30.581Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T22:06:31.457Z] ---> package-listing.sh [2022-04-19T22:06:31.457Z] ++ facter osfamily [2022-04-19T22:06:31.457Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-19T22:06:31.719Z] + OS_FAMILY=debian [2022-04-19T22:06:31.719Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-278 [2022-04-19T22:06:31.719Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-19T22:06:31.719Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-19T22:06:31.719Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-19T22:06:31.719Z] + PACKAGES=/tmp/packages_start.txt [2022-04-19T22:06:31.719Z] + '[' /w/workspace/foundry_device-virtual-go_PR-278 ']' [2022-04-19T22:06:31.719Z] + PACKAGES=/tmp/packages_end.txt [2022-04-19T22:06:31.719Z] + case "${OS_FAMILY}" in [2022-04-19T22:06:31.719Z] + dpkg -l [2022-04-19T22:06:31.719Z] + grep '^ii' [2022-04-19T22:06:31.719Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-19T22:06:31.719Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-19T22:06:31.719Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-19T22:06:31.719Z] + '[' /w/workspace/foundry_device-virtual-go_PR-278 ']' [2022-04-19T22:06:31.719Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-278/archives/ [2022-04-19T22:06:31.719Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-278/archives/ [Pipeline] echo [2022-04-19T22:06:31.731Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-278/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-19T22:06:32.008Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-19T22:06:32.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-19T22:06:32.568Z] . [Pipeline] withDockerContainer [2022-04-19T22:06:32.635Z] prd-ubuntu20.04-docker-8c-8g-21409 does not seem to be running inside a container [2022-04-19T22:06:32.675Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-278/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-278 -v /w/workspace/foundry_device-virtual-go_PR-278:/w/workspace/foundry_device-virtual-go_PR-278:rw,z -v /w/workspace/foundry_device-virtual-go_PR-278@tmp:/w/workspace/foundry_device-virtual-go_PR-278@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-19T22:06:32.899Z] $ docker top 40512e40ce9c4100d23208b545a514c4a65646232e0554896814c2ef800ba416 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-19T22:06:33.312Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-19T22:06:33.605Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-19T22:06:33.895Z] + ls /var/log/sa-host [2022-04-19T22:06:33.895Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-19T22:06:34.115Z] provisioning config files... [2022-04-19T22:06:34.125Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-278@tmp/config3902209852975872218tmp [Pipeline] { [Pipeline] echo [2022-04-19T22:06:34.138Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T22:06:34.423Z] ---> create-netrc.sh [Pipeline] } [2022-04-19T22:06:34.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-19T22:06:34.768Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-19T22:06:34.779Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T22:06:35.069Z] ---> sudo-logs.sh [2022-04-19T22:06:35.069Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-19T22:06:35.094Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T22:06:35.382Z] ---> job-cost.sh [2022-04-19T22:06:35.382Z] lf-activate-venv: SKIPPING [2022-04-19T22:06:35.382Z] DEBUG: total: 0.2199999988079071 [2022-04-19T22:06:35.382Z] INFO: Retrieving Stack Cost... [2022-04-19T22:06:35.954Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-19T22:06:36.216Z] INFO: Archiving Costs [Pipeline] echo [2022-04-19T22:06:36.233Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-19T22:06:36.520Z] ---> logs-deploy.sh [2022-04-19T22:06:36.520Z] lf-activate-venv: SKIPPING [2022-04-19T22:06:36.520Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-278/3 [2022-04-19T22:06:36.520Z] INFO: archiving workspace using pattern(s): [2022-04-19T22:06:37.463Z] Archives upload complete. [2022-04-19T22:06:37.463Z] INFO: archiving logs to Nexus