Pull request #317 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 ejlee3 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 213c59a90fa2a9f25f91c2628b566ab82c721a2b rather than d9aa0f2e4f0f638f73d89afc540500486731f321 Obtained Jenkinsfile from 213c59a90fa2a9f25f91c2628b566ab82c721a2b 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-ssh7027987536326552872.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh1257071891219985088.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9285613555613133787.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16330542925798302834.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3565832766334721352.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117239 in /w/workspace/foundry_device-virtual-go_PR-317 [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-317 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit d9aa0f2e4f0f638f73d89afc540500486731f321 Merge succeeded, producing d9aa0f2e4f0f638f73d89afc540500486731f321 Checking out Revision d9aa0f2e4f0f638f73d89afc540500486731f321 (PR-317) > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d9aa0f2e4f0f638f73d89afc540500486731f321 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d9aa0f2e4f0f638f73d89afc540500486731f321 # timeout=10 Commit message: "fix comments, order" > git rev-list --no-walk ee73e7ec4c5a75450af71e580ef521e59aef9a3d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T19:00:01.226Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T19:00:01.272Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T19:00:01.285Z] ========================================================= [2022-10-26T19:00:01.285Z] EdgeX Global Pipelines Version Info [2022-10-26T19:00:01.285Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:00:02.002Z] ------------------- [2022-10-26T19:00:02.002Z] stable info: [2022-10-26T19:00:02.002Z] ------------------- [2022-10-26T19:00:02.002Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T19:00:02.002Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:00:02.002Z] Message: update stable to v1.0.243 [2022-10-26T19:00:02.943Z] ------------------- [2022-10-26T19:00:02.943Z] experimental info: [2022-10-26T19:00:02.943Z] ------------------- [2022-10-26T19:00:02.943Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T19:00:02.943Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:00:02.943Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T19:00:03.105Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-26T19:00:03.116Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-26T19:00:03.125Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T19:00:03.133Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T19:00:03.142Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T19:00:03.151Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T19:00:03.166Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T19:00:03.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T19:00:03.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T19:00:03.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T19:00:03.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T19:00:03.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-26T19:00:03.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T19:00:03.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T19:00:03.248Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:00:03.256Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:00:03.264Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:00:03.273Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:00:03.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T19:00:03.289Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T19:00:03.297Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T19:00:03.306Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T19:00:03.314Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T19:00:03.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T19:00:03.331Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T19:00:03.338Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T19:00:03.346Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T19:00:03.354Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-317 [Pipeline] echo [2022-10-26T19:00:03.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-317 [Pipeline] echo [2022-10-26T19:00:03.371Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-317 [Pipeline] echo [2022-10-26T19:00:03.379Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d9aa0f2e4f0f638f73d89afc540500486731f321 [Pipeline] echo [2022-10-26T19:00:03.387Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d9aa0f2 [Pipeline] echo [2022-10-26T19:00:03.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:00:03.438Z] provisioning config files... [2022-10-26T19:00:03.450Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config11504624852916610188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:00:03.754Z] ---> docker-login.sh [2022-10-26T19:00:03.754Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:00:04.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:00:04.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:00:04.014Z] Configure a credential helper to remove this warning. See [2022-10-26T19:00:04.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:00:04.014Z] [2022-10-26T19:00:04.014Z] Login Succeeded [2022-10-26T19:00:04.014Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:00:04.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:00:04.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:00:04.014Z] Configure a credential helper to remove this warning. See [2022-10-26T19:00:04.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:00:04.014Z] [2022-10-26T19:00:04.014Z] Login Succeeded [2022-10-26T19:00:04.014Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:00:04.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:00:04.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:00:04.272Z] Configure a credential helper to remove this warning. See [2022-10-26T19:00:04.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:00:04.272Z] [2022-10-26T19:00:04.272Z] Login Succeeded [2022-10-26T19:00:04.272Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:00:04.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:00:04.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:00:04.272Z] Configure a credential helper to remove this warning. See [2022-10-26T19:00:04.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:00:04.272Z] [2022-10-26T19:00:04.272Z] Login Succeeded [2022-10-26T19:00:04.272Z] docker.io [2022-10-26T19:00:04.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:00:04.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:00:04.792Z] Configure a credential helper to remove this warning. See [2022-10-26T19:00:04.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:00:04.792Z] [2022-10-26T19:00:04.792Z] Login Succeeded [2022-10-26T19:00:04.792Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:00:04.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T19:00:05.165Z] + git rev-list -1 --merges d9aa0f2e4f0f638f73d89afc540500486731f321~1..d9aa0f2e4f0f638f73d89afc540500486731f321 [Pipeline] echo [2022-10-26T19:00:05.196Z] -----------> git rev-list -1 --merges d9aa0f2e4f0f638f73d89afc540500486731f321~1..d9aa0f2e4f0f638f73d89afc540500486731f321 d9aa0f2e4f0f638f73d89afc540500486731f321 [false] [Pipeline] sh [2022-10-26T19:00:05.481Z] + git log --format=format:%s -1 d9aa0f2e4f0f638f73d89afc540500486731f321 [Pipeline] echo [2022-10-26T19:00:05.494Z] ========================================================= [2022-10-26T19:00:05.494Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T19:00:05.494Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:00:05.808Z] + git log --format=format:%s -1 d9aa0f2e4f0f638f73d89afc540500486731f321 [Pipeline] echo [2022-10-26T19:00:05.819Z] [semverPrep] GIT_COMMIT: d9aa0f2e4f0f638f73d89afc540500486731f321, Commit Message: fix comments, order [Pipeline] echo [2022-10-26T19:00:05.829Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T19:00:06.241Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T19:00:06.241Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T19:00:06.241Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T19:00:06.241Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T19:00:06.241Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T19:00:06.241Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T19:00:06.241Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:00:06.666Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:00:06.666Z] [2022-10-26T19:00:06.666Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:00:06.974Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:00:06.974Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T19:00:06.974Z] b85a868b505f: Pulling fs layer [2022-10-26T19:00:06.974Z] e2be974225ed: Pulling fs layer [2022-10-26T19:00:06.974Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T19:00:06.974Z] 988bab9f4d93: Pulling fs layer [2022-10-26T19:00:06.974Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T19:00:06.974Z] eaf3925da568: Pulling fs layer [2022-10-26T19:00:06.974Z] bab4dde63d76: Pulling fs layer [2022-10-26T19:00:06.974Z] bde34c3a00c8: Pulling fs layer [2022-10-26T19:00:06.974Z] b352a97aabf1: Pulling fs layer [2022-10-26T19:00:06.974Z] 4872d77fe225: Pulling fs layer [2022-10-26T19:00:06.974Z] 5851b861e8e6: Pulling fs layer [2022-10-26T19:00:06.974Z] bab4dde63d76: Waiting [2022-10-26T19:00:06.974Z] bde34c3a00c8: Waiting [2022-10-26T19:00:06.974Z] b352a97aabf1: Waiting [2022-10-26T19:00:06.974Z] 4872d77fe225: Waiting [2022-10-26T19:00:06.974Z] 5851b861e8e6: Waiting [2022-10-26T19:00:06.974Z] 988bab9f4d93: Waiting [2022-10-26T19:00:06.974Z] eaf3925da568: Waiting [2022-10-26T19:00:06.974Z] 1469e6f7b9e6: Waiting [2022-10-26T19:00:06.974Z] e2be974225ed: Verifying Checksum [2022-10-26T19:00:06.974Z] e2be974225ed: Download complete [2022-10-26T19:00:06.974Z] 988bab9f4d93: Verifying Checksum [2022-10-26T19:00:06.974Z] 988bab9f4d93: Download complete [2022-10-26T19:00:07.235Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T19:00:07.235Z] 339a4e72a1f5: Download complete [2022-10-26T19:00:07.235Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T19:00:07.235Z] 1469e6f7b9e6: Download complete [2022-10-26T19:00:07.235Z] eaf3925da568: Verifying Checksum [2022-10-26T19:00:07.235Z] eaf3925da568: Download complete [2022-10-26T19:00:07.235Z] bde34c3a00c8: Download complete [2022-10-26T19:00:07.235Z] b352a97aabf1: Download complete [2022-10-26T19:00:07.235Z] 4872d77fe225: Verifying Checksum [2022-10-26T19:00:07.235Z] 4872d77fe225: Download complete [2022-10-26T19:00:07.235Z] 5851b861e8e6: Download complete [2022-10-26T19:00:07.235Z] b85a868b505f: Verifying Checksum [2022-10-26T19:00:07.235Z] b85a868b505f: Download complete [2022-10-26T19:00:07.495Z] bab4dde63d76: Verifying Checksum [2022-10-26T19:00:07.496Z] bab4dde63d76: Download complete [2022-10-26T19:00:08.432Z] b85a868b505f: Pull complete [2022-10-26T19:00:08.691Z] e2be974225ed: Pull complete [2022-10-26T19:00:09.256Z] 339a4e72a1f5: Pull complete [2022-10-26T19:00:09.256Z] 988bab9f4d93: Pull complete [2022-10-26T19:00:09.515Z] 1469e6f7b9e6: Pull complete [2022-10-26T19:00:09.515Z] eaf3925da568: Pull complete [2022-10-26T19:00:11.427Z] bab4dde63d76: Pull complete [2022-10-26T19:00:11.427Z] bde34c3a00c8: Pull complete [2022-10-26T19:00:11.687Z] b352a97aabf1: Pull complete [2022-10-26T19:00:11.687Z] 4872d77fe225: Pull complete [2022-10-26T19:00:11.687Z] 5851b861e8e6: Pull complete [2022-10-26T19:00:11.687Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T19:00:11.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:00:11.953Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:00:12.029Z] prd-ubuntu20.04-docker-8c-8g-117239 does not seem to be running inside a container [2022-10-26T19:00:12.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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-devops/py-git-semver:0.1.4 cat [2022-10-26T19:00:13.436Z] $ docker top 6aec6a697b013b4bea2914f0e3949bfa19ce53c3d5547283b412ad3ddbd83d57 -eo pid,comm [2022-10-26T19:00:13.498Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-26T19:00:13.498Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T19:00:13.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:00:13.546Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:00:13.659Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:00:13.659Z] $ docker exec 6aec6a697b013b4bea2914f0e3949bfa19ce53c3d5547283b412ad3ddbd83d57 ssh-agent [2022-10-26T19:00:13.787Z] SSH_AUTH_SOCK=/tmp/ssh-WyxrVliGMOBa/agent.32 [2022-10-26T19:00:13.787Z] SSH_AGENT_PID=38 [2022-10-26T19:00:13.793Z] Running ssh-add (command line suppressed) [2022-10-26T19:00:13.909Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_5701801151439823283.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_5701801151439823283.key) [2022-10-26T19:00:13.927Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:00:14.214Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T19:00:14.223Z] $ docker exec --env ******** --env ******** 6aec6a697b013b4bea2914f0e3949bfa19ce53c3d5547283b412ad3ddbd83d57 ssh-agent -k [2022-10-26T19:00:14.321Z] unset SSH_AUTH_SOCK; [2022-10-26T19:00:14.321Z] unset SSH_AGENT_PID; [2022-10-26T19:00:14.321Z] echo Agent pid 38 killed; [2022-10-26T19:00:14.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T19:00:14.358Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:00:14.358Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:00:14.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:00:14.491Z] $ docker exec 6aec6a697b013b4bea2914f0e3949bfa19ce53c3d5547283b412ad3ddbd83d57 ssh-agent [2022-10-26T19:00:14.649Z] SSH_AUTH_SOCK=/tmp/ssh-EzD4waD44WVD/agent.71 [2022-10-26T19:00:14.649Z] SSH_AGENT_PID=77 [2022-10-26T19:00:14.656Z] Running ssh-add (command line suppressed) [2022-10-26T19:00:14.757Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_8586550879834192111.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_8586550879834192111.key) [2022-10-26T19:00:14.781Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:00:15.066Z] + git semver init [2022-10-26T19:00:15.325Z] 2022-10-26 19:00:15,242 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T19:00:15.325Z] 2022-10-26 19:00:15,243 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-317/.semver [2022-10-26T19:00:15.325Z] 2022-10-26 19:00:15,243 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-317/.semver [2022-10-26T19:00:15.325Z] 2022-10-26 19:00:15,243 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-317/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-317, universal_newlines=False, shell=None, istream=None) [2022-10-26T19:00:16.706Z] 2022-10-26 19:00:16,364 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-317/.git/info/exclude [2022-10-26T19:00:16.706Z] 2022-10-26 19:00:16,364 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 with force:False [2022-10-26T19:00:16.706Z] 2022-10-26 19:00:16,365 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 [2022-10-26T19:00:16.706Z] 2022-10-26 19:00:16,370 [execute] INFO git cat-file --batch-check [2022-10-26T19:00:16.706Z] 2022-10-26 19:00:16,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:00:16.706Z] 2022-10-26 19:00:16,376 [execute] INFO git cat-file --batch [2022-10-26T19:00:16.706Z] 2022-10-26 19:00:16,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:00:16.706Z] 2022-10-26 19:00:16,383 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 [2022-10-26T19:00:16.706Z] 0.0.0 [Pipeline] } [2022-10-26T19:00:16.714Z] $ docker exec --env ******** --env ******** 6aec6a697b013b4bea2914f0e3949bfa19ce53c3d5547283b412ad3ddbd83d57 ssh-agent -k [2022-10-26T19:00:16.820Z] unset SSH_AUTH_SOCK; [2022-10-26T19:00:16.821Z] unset SSH_AGENT_PID; [2022-10-26T19:00:16.821Z] echo Agent pid 77 killed; [2022-10-26T19:00:16.834Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T19:00:17.132Z] + git semver [Pipeline] } [2022-10-26T19:00:17.403Z] $ docker stop --time=1 6aec6a697b013b4bea2914f0e3949bfa19ce53c3d5547283b412ad3ddbd83d57 [2022-10-26T19:00:18.743Z] $ docker rm -f 6aec6a697b013b4bea2914f0e3949bfa19ce53c3d5547283b412ad3ddbd83d57 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:00:19.077Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T19:00:19.242Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T19:00:19.245Z] [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-10-26T19:00:19.390Z] provisioning config files... [2022-10-26T19:00:19.398Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config4783321837038622623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:00:19.691Z] ---> docker-login.sh [2022-10-26T19:00:19.691Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:00:19.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:00:19.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:00:19.691Z] Configure a credential helper to remove this warning. See [2022-10-26T19:00:19.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:00:19.691Z] [2022-10-26T19:00:19.691Z] Login Succeeded [2022-10-26T19:00:19.691Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:00:19.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:00:19.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:00:19.691Z] Configure a credential helper to remove this warning. See [2022-10-26T19:00:19.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:00:19.691Z] [2022-10-26T19:00:19.691Z] Login Succeeded [2022-10-26T19:00:19.691Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:00:19.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:00:19.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:00:19.949Z] Configure a credential helper to remove this warning. See [2022-10-26T19:00:19.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:00:19.949Z] [2022-10-26T19:00:19.949Z] Login Succeeded [2022-10-26T19:00:19.949Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:00:19.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:00:19.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:00:19.949Z] Configure a credential helper to remove this warning. See [2022-10-26T19:00:19.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:00:19.949Z] [2022-10-26T19:00:19.949Z] Login Succeeded [2022-10-26T19:00:19.949Z] docker.io [2022-10-26T19:00:20.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:00:20.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:00:20.467Z] Configure a credential helper to remove this warning. See [2022-10-26T19:00:20.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:00:20.467Z] [2022-10-26T19:00:20.467Z] Login Succeeded [2022-10-26T19:00:20.467Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:00:20.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:00:20.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:00:20.538Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:00:20.544Z] ========================================================= [2022-10-26T19:00:20.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T19:00:20.544Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:00:20.851Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T19:00:20.851Z] Sending build context to Docker daemon 23.3MB [2022-10-26T19:00:20.851Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:00:20.851Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T19:00:20.851Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T19:00:20.851Z] 213ec9aee27d: Pulling fs layer [2022-10-26T19:00:20.851Z] 4583459ba037: Pulling fs layer [2022-10-26T19:00:20.851Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T19:00:20.851Z] 53926ce57604: Pulling fs layer [2022-10-26T19:00:20.851Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T19:00:20.851Z] 30f14e443154: Pulling fs layer [2022-10-26T19:00:20.851Z] 801331c1e519: Pulling fs layer [2022-10-26T19:00:20.851Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T19:00:20.851Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T19:00:20.851Z] 21b2b0c7a3f4: Waiting [2022-10-26T19:00:20.851Z] 30f14e443154: Waiting [2022-10-26T19:00:20.851Z] 801331c1e519: Waiting [2022-10-26T19:00:20.851Z] 99cc6dd402b0: Waiting [2022-10-26T19:00:20.851Z] 7d9ed39f4882: Waiting [2022-10-26T19:00:20.851Z] 53926ce57604: Waiting [2022-10-26T19:00:21.116Z] 93c1e223e6f2: Download complete [2022-10-26T19:00:21.116Z] 4583459ba037: Download complete [2022-10-26T19:00:21.116Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T19:00:21.116Z] 21b2b0c7a3f4: Download complete [2022-10-26T19:00:21.116Z] 30f14e443154: Verifying Checksum [2022-10-26T19:00:21.116Z] 30f14e443154: Download complete [2022-10-26T19:00:21.116Z] 213ec9aee27d: Verifying Checksum [2022-10-26T19:00:21.116Z] 213ec9aee27d: Download complete [2022-10-26T19:00:21.116Z] 801331c1e519: Verifying Checksum [2022-10-26T19:00:21.116Z] 801331c1e519: Download complete [2022-10-26T19:00:21.116Z] 213ec9aee27d: Pull complete [2022-10-26T19:00:21.389Z] 4583459ba037: Pull complete [2022-10-26T19:00:21.389Z] 93c1e223e6f2: Pull complete [2022-10-26T19:00:21.665Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T19:00:21.665Z] 7d9ed39f4882: Download complete [2022-10-26T19:00:21.928Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T19:00:21.928Z] 99cc6dd402b0: Download complete [2022-10-26T19:00:22.187Z] 53926ce57604: Download complete [2022-10-26T19:00:26.373Z] 53926ce57604: Pull complete [2022-10-26T19:00:26.373Z] 21b2b0c7a3f4: Pull complete [2022-10-26T19:00:26.373Z] 30f14e443154: Pull complete [2022-10-26T19:00:26.373Z] 801331c1e519: Pull complete [2022-10-26T19:00:28.273Z] 99cc6dd402b0: Pull complete [2022-10-26T19:00:29.209Z] 7d9ed39f4882: Pull complete [2022-10-26T19:00:29.210Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T19:00:29.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T19:00:29.210Z] ---> 1dedd983c030 [2022-10-26T19:00:29.210Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:00:31.124Z] ---> Running in 34af7299aeeb [2022-10-26T19:00:31.124Z] Removing intermediate container 34af7299aeeb [2022-10-26T19:00:31.124Z] ---> 68a921a63660 [2022-10-26T19:00:31.124Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:00:31.124Z] ---> Running in ccb9caec2d98 [2022-10-26T19:00:31.124Z] Removing intermediate container ccb9caec2d98 [2022-10-26T19:00:31.124Z] ---> 8c66a893ddc1 [2022-10-26T19:00:31.124Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:00:31.124Z] ---> Running in 91354ffd2767 [2022-10-26T19:00:31.124Z] Removing intermediate container 91354ffd2767 [2022-10-26T19:00:31.124Z] ---> eb399e767587 [2022-10-26T19:00:31.124Z] Step 6/12 : WORKDIR /device-virtual-go [2022-10-26T19:00:31.384Z] ---> Running in 471590441ff8 [2022-10-26T19:00:31.384Z] Removing intermediate container 471590441ff8 [2022-10-26T19:00:31.384Z] ---> 5db2ecbd88a9 [2022-10-26T19:00:31.384Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:00:31.384Z] ---> Running in 4d23e5cb816b [2022-10-26T19:00:31.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:00:31.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:00:31.902Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:00:31.902Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T19:00:31.902Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:00:31.902Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:00:31.902Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:00:32.162Z] OK: 216 MiB in 55 packages [2022-10-26T19:00:32.731Z] Removing intermediate container 4d23e5cb816b [2022-10-26T19:00:32.731Z] ---> 0c92a6be65ff [2022-10-26T19:00:32.731Z] Step 8/12 : COPY go.mod vendor* ./ [2022-10-26T19:00:32.991Z] ---> 0412cc619746 [2022-10-26T19:00:32.991Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:00:33.250Z] ---> Running in 9d6af035cb77 [2022-10-26T19:00:34.351Z] Still waiting to schedule task [2022-10-26T19:00:34.351Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-26T19:00:51.357Z] Removing intermediate container 9d6af035cb77 [2022-10-26T19:00:51.357Z] ---> d393f1058b3c [2022-10-26T19:00:51.357Z] Step 10/12 : COPY . . [2022-10-26T19:00:51.357Z] ---> 4bd10ad6f724 [2022-10-26T19:00:51.357Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:00:51.357Z] ---> Running in f06f1291c91e [2022-10-26T19:00:51.357Z] Removing intermediate container f06f1291c91e [2022-10-26T19:00:51.357Z] ---> 85695a83a21a [2022-10-26T19:00:51.357Z] Step 12/12 : RUN $MAKE [2022-10-26T19:00:51.357Z] ---> Running in 4dbca095dfcc [2022-10-26T19:00:51.357Z] noop [2022-10-26T19:00:51.617Z] Removing intermediate container 4dbca095dfcc [2022-10-26T19:00:51.617Z] ---> 0b517ab8ef90 [2022-10-26T19:00:51.617Z] Successfully built 0b517ab8ef90 [2022-10-26T19:00:51.617Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:00:51.919Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:00:51.919Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:00:51.987Z] prd-ubuntu20.04-docker-8c-8g-117239 does not seem to be running inside a container [2022-10-26T19:00:52.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:00:52.421Z] $ docker top ba7ee048f045ae0ef8e7fe2f6ff81e522f9a03efba9c7d42f876ca494c833fc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:00:52.768Z] + go version [2022-10-26T19:00:52.768Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T19:00:52.782Z] $ docker stop --time=1 ba7ee048f045ae0ef8e7fe2f6ff81e522f9a03efba9c7d42f876ca494c833fc9 [2022-10-26T19:00:54.077Z] $ docker rm -f ba7ee048f045ae0ef8e7fe2f6ff81e522f9a03efba9c7d42f876ca494c833fc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:00:54.466Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:00:54.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:00:54.532Z] prd-ubuntu20.04-docker-8c-8g-117239 does not seem to be running inside a container [2022-10-26T19:00:54.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:00:54.928Z] $ docker top 326ed01dff3be7e2c155a3aa2725fc1d51f47fab5022f3caecbbf27c112c6889 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:00:55.259Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:00:55.557Z] + make test [2022-10-26T19:00:55.557Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T19:00:55.816Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-26T19:01:05.773Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-26T19:01:05.773Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2022-10-26T19:01:11.036Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-26T19:01:11.036Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:01:14.317Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:01:14.317Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:01:14.317Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:01:14.329Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:01:14.348Z] $ docker stop --time=1 326ed01dff3be7e2c155a3aa2725fc1d51f47fab5022f3caecbbf27c112c6889 [2022-10-26T19:01:16.081Z] $ docker rm -f 326ed01dff3be7e2c155a3aa2725fc1d51f47fab5022f3caecbbf27c112c6889 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:01:16.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:01:16.559Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T19:01:16.986Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:01:17.271Z] + ls -al . [2022-10-26T19:01:17.271Z] total 204 [2022-10-26T19:01:17.271Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 19:00 . [2022-10-26T19:01:17.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 18:59 .. [2022-10-26T19:01:17.271Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:01 .git [2022-10-26T19:01:17.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 18:59 .github [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 18:59 .gitignore [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 18:59 .golangci.yml [2022-10-26T19:01:17.271Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:00 .semver [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 18:59 Attribution.txt [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 18:59 CHANGELOG.md [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 26 18:59 Dockerfile [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 18:59 GOVERNANCE.md [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 18:59 Jenkinsfile [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 18:59 LICENSE [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 18:59 Makefile [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 18:59 OWNERS.md [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 18:59 README.md [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:00 VERSION [2022-10-26T19:01:17.271Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 18:59 bin [2022-10-26T19:01:17.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 18:59 cmd [2022-10-26T19:01:17.271Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 19:01 coverage.out [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 18:59 go.mod [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 18:59 go.sum [2022-10-26T19:01:17.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 18:59 internal [2022-10-26T19:01:17.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 18:59 snap [2022-10-26T19:01:17.271Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 18:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:01:17.570Z] + 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=d9aa0f2e4f0f638f73d89afc540500486731f321 --label arch=amd64 --label version=0.0.0 . [2022-10-26T19:01:17.570Z] Sending build context to Docker daemon 23.34MB [2022-10-26T19:01:17.570Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:01:17.570Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T19:01:17.570Z] ---> 0b517ab8ef90 [2022-10-26T19:01:17.570Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:01:17.831Z] ---> Running in 30e18c4033aa [2022-10-26T19:01:17.831Z] Removing intermediate container 30e18c4033aa [2022-10-26T19:01:17.831Z] ---> 24fd8f36b1e5 [2022-10-26T19:01:17.831Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:01:17.831Z] ---> Running in ecc73ca716c9 [2022-10-26T19:01:18.090Z] Removing intermediate container ecc73ca716c9 [2022-10-26T19:01:18.090Z] ---> 193ebc8030ce [2022-10-26T19:01:18.090Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:01:18.090Z] ---> Running in 499f4d9a9c8f [2022-10-26T19:01:18.090Z] Removing intermediate container 499f4d9a9c8f [2022-10-26T19:01:18.090Z] ---> b6cb66ca9394 [2022-10-26T19:01:18.090Z] Step 6/26 : WORKDIR /device-virtual-go [2022-10-26T19:01:18.090Z] ---> Running in 3522153ec2ff [2022-10-26T19:01:18.348Z] Removing intermediate container 3522153ec2ff [2022-10-26T19:01:18.348Z] ---> 6438f359c336 [2022-10-26T19:01:18.348Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:01:18.348Z] ---> Running in 816ef0ae4553 [2022-10-26T19:01:18.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:01:18.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:01:18.865Z] OK: 216 MiB in 55 packages [2022-10-26T19:01:19.125Z] Removing intermediate container 816ef0ae4553 [2022-10-26T19:01:19.125Z] ---> 4ce0a35a5a86 [2022-10-26T19:01:19.125Z] Step 8/26 : COPY go.mod vendor* ./ [2022-10-26T19:01:19.383Z] ---> d963e012614b [2022-10-26T19:01:19.383Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:01:19.383Z] ---> Running in 72b86acb4b71 [2022-10-26T19:01:19.954Z] Removing intermediate container 72b86acb4b71 [2022-10-26T19:01:19.954Z] ---> 64d363d77a32 [2022-10-26T19:01:19.954Z] Step 10/26 : COPY . . [2022-10-26T19:01:20.523Z] ---> 4720e08a6016 [2022-10-26T19:01:20.523Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:01:20.523Z] ---> Running in 81b0c9614d46 [2022-10-26T19:01:20.783Z] Removing intermediate container 81b0c9614d46 [2022-10-26T19:01:20.783Z] ---> 61364fc2b2e6 [2022-10-26T19:01:20.783Z] Step 12/26 : RUN $MAKE [2022-10-26T19:01:20.783Z] ---> Running in fa206e33578c [2022-10-26T19:01:21.042Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-26T19:01:42.962Z] Removing intermediate container fa206e33578c [2022-10-26T19:01:42.962Z] ---> 16ba1a6508d4 [2022-10-26T19:01:42.962Z] Step 13/26 : FROM alpine:3.16 [2022-10-26T19:01:42.962Z] 3.16: Pulling from library/alpine [2022-10-26T19:01:42.962Z] 213ec9aee27d: Already exists [2022-10-26T19:01:42.962Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:01:42.962Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:01:42.962Z] ---> 9c6f07244728 [2022-10-26T19:01:42.962Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-26T19:01:42.962Z] ---> Running in 99b7f6e77288 [2022-10-26T19:01:42.962Z] Removing intermediate container 99b7f6e77288 [2022-10-26T19:01:42.962Z] ---> 29e375ac0a2f [2022-10-26T19:01:42.962Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T19:01:42.962Z] ---> Running in 0bd4bf8925d9 [2022-10-26T19:01:42.962Z] Removing intermediate container 0bd4bf8925d9 [2022-10-26T19:01:42.962Z] ---> 831c3c4b91cb [2022-10-26T19:01:42.962Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:01:42.962Z] ---> Running in d86cf509b5d0 [2022-10-26T19:01:42.962Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:01:44.864Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:01:45.123Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:01:45.692Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:01:45.951Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:01:46.211Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:01:46.777Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:01:47.036Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:01:47.295Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:01:47.295Z] OK: 8 MiB in 20 packages [2022-10-26T19:01:47.864Z] Removing intermediate container d86cf509b5d0 [2022-10-26T19:01:47.864Z] ---> 1a08040b3def [2022-10-26T19:01:47.864Z] Step 17/26 : WORKDIR / [2022-10-26T19:01:47.864Z] ---> Running in 18f7b508c471 [2022-10-26T19:01:47.864Z] Removing intermediate container 18f7b508c471 [2022-10-26T19:01:47.864Z] ---> 79b4b44808ca [2022-10-26T19:01:47.864Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-26T19:01:48.122Z] ---> 396049827fec [2022-10-26T19:01:48.122Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-26T19:01:48.380Z] ---> 82db6519c2db [2022-10-26T19:01:48.380Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-10-26T19:01:48.948Z] ---> 56f631b20c3b [2022-10-26T19:01:48.948Z] Step 21/26 : EXPOSE 59900 [2022-10-26T19:01:48.948Z] ---> Running in f369759ea75b [2022-10-26T19:01:48.948Z] Removing intermediate container f369759ea75b [2022-10-26T19:01:48.948Z] ---> 59c889036594 [2022-10-26T19:01:48.948Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-10-26T19:01:48.948Z] ---> Running in 8bc6e729d14e [2022-10-26T19:01:48.948Z] Removing intermediate container 8bc6e729d14e [2022-10-26T19:01:48.948Z] ---> 24e7676e0b08 [2022-10-26T19:01:48.948Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T19:01:49.206Z] ---> Running in 53a581cf8e53 [2022-10-26T19:01:49.206Z] Removing intermediate container 53a581cf8e53 [2022-10-26T19:01:49.206Z] ---> 7b891fc9201a [2022-10-26T19:01:49.206Z] Step 24/26 : LABEL arch=amd64 [2022-10-26T19:01:49.206Z] ---> Running in ca38926ca849 [2022-10-26T19:01:49.206Z] Removing intermediate container ca38926ca849 [2022-10-26T19:01:49.206Z] ---> 0caf09598ddf [2022-10-26T19:01:49.206Z] Step 25/26 : LABEL git_sha=d9aa0f2e4f0f638f73d89afc540500486731f321 [2022-10-26T19:01:49.466Z] ---> Running in d99299dbcf4a [2022-10-26T19:01:49.466Z] Removing intermediate container d99299dbcf4a [2022-10-26T19:01:49.466Z] ---> 08ff6c4956ed [2022-10-26T19:01:49.466Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T19:01:49.466Z] ---> Running in 4e2b3aedea02 [2022-10-26T19:01:49.466Z] Removing intermediate container 4e2b3aedea02 [2022-10-26T19:01:49.466Z] ---> 42e2b54ecc89 [2022-10-26T19:01:49.466Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:01:49.466Z] Successfully built 42e2b54ecc89 [2022-10-26T19:01:49.725Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:01:50.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:01:50.170Z] [2022-10-26T19:01:50.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:01:50.472Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:01:50.472Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T19:01:50.472Z] 5eb5b503b376: Pulling fs layer [2022-10-26T19:01:50.472Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T19:01:50.472Z] ec43610c2a17: Pulling fs layer [2022-10-26T19:01:50.472Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T19:01:50.472Z] 33b1e0a273af: Pulling fs layer [2022-10-26T19:01:50.472Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T19:01:50.472Z] 2f39f015ded8: Pulling fs layer [2022-10-26T19:01:50.472Z] 3a2ae6a8a46f: Waiting [2022-10-26T19:01:50.472Z] 5d3b04190fa2: Waiting [2022-10-26T19:01:50.472Z] 33b1e0a273af: Waiting [2022-10-26T19:01:50.472Z] 5c69ac0246d0: Download complete [2022-10-26T19:01:50.472Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T19:01:50.472Z] 3a2ae6a8a46f: Download complete [2022-10-26T19:01:50.747Z] 33b1e0a273af: Verifying Checksum [2022-10-26T19:01:50.747Z] 33b1e0a273af: Download complete [2022-10-26T19:01:50.747Z] 5d3b04190fa2: Download complete [2022-10-26T19:01:50.747Z] ec43610c2a17: Verifying Checksum [2022-10-26T19:01:50.747Z] ec43610c2a17: Download complete [2022-10-26T19:01:51.010Z] 5eb5b503b376: Download complete [2022-10-26T19:01:51.574Z] 2f39f015ded8: Download complete [2022-10-26T19:01:52.142Z] 5eb5b503b376: Pull complete [2022-10-26T19:01:52.142Z] 5c69ac0246d0: Pull complete [2022-10-26T19:01:52.401Z] ec43610c2a17: Pull complete [2022-10-26T19:01:52.659Z] 3a2ae6a8a46f: Pull complete [2022-10-26T19:01:52.916Z] 33b1e0a273af: Pull complete [2022-10-26T19:01:52.916Z] 5d3b04190fa2: Pull complete [2022-10-26T19:01:57.102Z] 2f39f015ded8: Pull complete [2022-10-26T19:01:57.102Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T19:01:57.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:01:57.102Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:01:57.172Z] prd-ubuntu20.04-docker-8c-8g-117239 does not seem to be running inside a container [2022-10-26T19:01:57.207Z] $ 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-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:01:58.998Z] $ docker top 15707159efb9d9d1001400feb388ef872b0a117e1d2469216cff7d0b28a95ecc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:01:59.367Z] ---> job-cost.sh [2022-10-26T19:01:59.367Z] lf-activate-venv: SKIPPING [2022-10-26T19:01:59.367Z] INFO: No Stack... [2022-10-26T19:01:59.933Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:02:00.191Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:02:00.479Z] + cat /w/workspace/foundry_device-virtual-go_PR-317/archives/cost.csv [2022-10-26T19:02:00.479Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:02:00.492Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-3-stack-cost] [2022-10-26T19:02:00.497Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-3-stack-cost] did not exist. Created. [2022-10-26T19:02:00.497Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:02:00.796Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T19:02:00.817Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:02:00.825Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:02:00.846Z] $ docker stop --time=1 15707159efb9d9d1001400feb388ef872b0a117e1d2469216cff7d0b28a95ecc [2022-10-26T19:02:02.021Z] $ docker rm -f 15707159efb9d9d1001400feb388ef872b0a117e1d2469216cff7d0b28a95ecc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T19:30:46.531Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117254 in /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] { [Pipeline] ws [2022-10-26T19:30:46.542Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2022-10-26T19:30:46.581Z] The recommended git tool is: git [2022-10-26T19:30:51.688Z] using credential edgex-jenkins-ssh [2022-10-26T19:30:51.702Z] Cloning the remote Git repository [2022-10-26T19:30:51.746Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T19:30:51.817Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2022-10-26T19:30:51.969Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T19:30:51.970Z] > git --version # timeout=10 [2022-10-26T19:30:51.991Z] > git --version # 'git version 2.25.1' [2022-10-26T19:30:51.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:30:52.047Z] Verifying host key using known hosts file [2022-10-26T19:30:52.242Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T19:30:52.257Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:30:54.375Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-26T19:30:54.406Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:30:55.323Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-26T19:30:56.045Z] Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit d9aa0f2e4f0f638f73d89afc540500486731f321 [2022-10-26T19:30:56.335Z] Merge succeeded, producing d9aa0f2e4f0f638f73d89afc540500486731f321 [2022-10-26T19:30:56.335Z] Checking out Revision d9aa0f2e4f0f638f73d89afc540500486731f321 (PR-317) [2022-10-26T19:30:55.375Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T19:30:55.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:30:55.381Z] Verifying host key using known hosts file [2022-10-26T19:30:55.391Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T19:30:55.405Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T19:30:56.067Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:30:56.095Z] > git checkout -f d9aa0f2e4f0f638f73d89afc540500486731f321 # timeout=10 [2022-10-26T19:30:56.220Z] > git remote # timeout=10 [2022-10-26T19:30:56.243Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T19:30:56.272Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:30:56.278Z] Verifying host key using known hosts file [2022-10-26T19:30:56.282Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T19:30:56.290Z] > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 [2022-10-26T19:30:56.320Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T19:30:56.345Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:30:56.362Z] > git checkout -f d9aa0f2e4f0f638f73d89afc540500486731f321 # timeout=10 [2022-10-26T19:30:59.852Z] Commit message: "fix comments, order" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:31:00.690Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T19:31:00.690Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:31:00.690Z] Dload Upload Total Spent Left Speed [2022-10-26T19:31:00.690Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2022-10-26T19:31:01.356Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T19:31:01.681Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T19:31:01.681Z] + sudo tee /etc/docker/daemon.new [2022-10-26T19:31:01.681Z] { [2022-10-26T19:31:01.681Z] "registry-mirrors": [ [2022-10-26T19:31:01.681Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T19:31:01.681Z] ], [2022-10-26T19:31:01.681Z] "bip": "10.250.0.254/24", [2022-10-26T19:31:01.681Z] "hosts": [ [2022-10-26T19:31:01.681Z] "tcp://0.0.0.0:5555", [2022-10-26T19:31:01.681Z] "unix:///var/run/docker.sock" [2022-10-26T19:31:01.681Z] ], [2022-10-26T19:31:01.681Z] "mtu": 1458, [2022-10-26T19:31:01.681Z] "selinux-enabled": true, [2022-10-26T19:31:01.681Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T19:31:01.681Z] } [Pipeline] sh [2022-10-26T19:31:02.004Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T19:31:02.328Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:31:20.578Z] provisioning config files... [2022-10-26T19:31:20.608Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config8260328330367165731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:31:20.970Z] ---> docker-login.sh [2022-10-26T19:31:20.970Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:31:21.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:31:21.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:31:21.570Z] Configure a credential helper to remove this warning. See [2022-10-26T19:31:21.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:31:21.570Z] [2022-10-26T19:31:21.570Z] Login Succeeded [2022-10-26T19:31:21.570Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:31:21.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:31:22.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:31:22.112Z] Configure a credential helper to remove this warning. See [2022-10-26T19:31:22.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:31:22.112Z] [2022-10-26T19:31:22.112Z] Login Succeeded [2022-10-26T19:31:22.112Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:31:22.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:31:22.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:31:22.382Z] Configure a credential helper to remove this warning. See [2022-10-26T19:31:22.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:31:22.382Z] [2022-10-26T19:31:22.382Z] Login Succeeded [2022-10-26T19:31:22.382Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:31:22.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:31:22.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:31:22.930Z] Configure a credential helper to remove this warning. See [2022-10-26T19:31:22.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:31:22.930Z] [2022-10-26T19:31:22.930Z] Login Succeeded [2022-10-26T19:31:22.930Z] docker.io [2022-10-26T19:31:23.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:31:23.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:31:23.475Z] Configure a credential helper to remove this warning. See [2022-10-26T19:31:23.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:31:23.475Z] [2022-10-26T19:31:23.475Z] Login Succeeded [2022-10-26T19:31:23.475Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:31:23.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:31:23.694Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:31:23.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:31:23.715Z] ========================================================= [2022-10-26T19:31:23.715Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T19:31:23.715Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:31:24.069Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T19:31:24.343Z] Sending build context to Docker daemon 11.83MB [2022-10-26T19:31:24.618Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:31:24.618Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T19:31:24.618Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T19:31:24.618Z] 9b18e9b68314: Pulling fs layer [2022-10-26T19:31:24.618Z] d32db5db7311: Pulling fs layer [2022-10-26T19:31:24.618Z] d0c4b47475fc: Pulling fs layer [2022-10-26T19:31:24.618Z] 5831b945b038: Pulling fs layer [2022-10-26T19:31:24.618Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T19:31:24.618Z] e10730c5d714: Pulling fs layer [2022-10-26T19:31:24.618Z] 5dd5c2283517: Pulling fs layer [2022-10-26T19:31:24.618Z] d5ac0230b979: Pulling fs layer [2022-10-26T19:31:24.618Z] 5831b945b038: Waiting [2022-10-26T19:31:24.618Z] 86bbec2aaacd: Waiting [2022-10-26T19:31:24.618Z] e10730c5d714: Waiting [2022-10-26T19:31:24.618Z] 5dd5c2283517: Waiting [2022-10-26T19:31:24.618Z] d5ac0230b979: Waiting [2022-10-26T19:31:24.618Z] d0c4b47475fc: Verifying Checksum [2022-10-26T19:31:24.618Z] d0c4b47475fc: Download complete [2022-10-26T19:31:24.618Z] d32db5db7311: Download complete [2022-10-26T19:31:24.894Z] 86bbec2aaacd: Download complete [2022-10-26T19:31:24.894Z] e10730c5d714: Verifying Checksum [2022-10-26T19:31:24.894Z] e10730c5d714: Download complete [2022-10-26T19:31:24.894Z] 9b18e9b68314: Verifying Checksum [2022-10-26T19:31:24.894Z] 9b18e9b68314: Download complete [2022-10-26T19:31:25.894Z] 9b18e9b68314: Pull complete [2022-10-26T19:31:26.167Z] d5ac0230b979: Verifying Checksum [2022-10-26T19:31:26.167Z] d5ac0230b979: Download complete [2022-10-26T19:31:26.442Z] d32db5db7311: Pull complete [2022-10-26T19:31:26.716Z] d0c4b47475fc: Pull complete [2022-10-26T19:31:27.306Z] 5dd5c2283517: Verifying Checksum [2022-10-26T19:31:27.306Z] 5dd5c2283517: Download complete [2022-10-26T19:31:27.920Z] 5831b945b038: Verifying Checksum [2022-10-26T19:31:40.266Z] 5831b945b038: Pull complete [2022-10-26T19:31:40.266Z] 86bbec2aaacd: Pull complete [2022-10-26T19:31:40.266Z] e10730c5d714: Pull complete [2022-10-26T19:31:46.949Z] 5dd5c2283517: Pull complete [2022-10-26T19:31:48.909Z] d5ac0230b979: Pull complete [2022-10-26T19:31:48.909Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T19:31:48.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T19:31:48.909Z] ---> 59b3b1a385d4 [2022-10-26T19:31:48.909Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:31:51.516Z] ---> Running in e2b645223fa9 [2022-10-26T19:31:51.783Z] Removing intermediate container e2b645223fa9 [2022-10-26T19:31:51.783Z] ---> 09f036cb639d [2022-10-26T19:31:51.783Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:31:51.783Z] ---> Running in fafba50b1f42 [2022-10-26T19:31:52.052Z] Removing intermediate container fafba50b1f42 [2022-10-26T19:31:52.052Z] ---> 88259a763358 [2022-10-26T19:31:52.052Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:31:52.320Z] ---> Running in bfe2ed27cc9b [2022-10-26T19:31:52.589Z] Removing intermediate container bfe2ed27cc9b [2022-10-26T19:31:52.589Z] ---> 9d7c44878a1a [2022-10-26T19:31:52.589Z] Step 6/12 : WORKDIR /device-virtual-go [2022-10-26T19:31:52.589Z] ---> Running in e9153c9980c7 [2022-10-26T19:31:53.176Z] Removing intermediate container e9153c9980c7 [2022-10-26T19:31:53.176Z] ---> 36d84a161344 [2022-10-26T19:31:53.176Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:31:53.176Z] ---> Running in 003ce5fa5bcd [2022-10-26T19:31:54.141Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:31:54.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:31:55.375Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:31:55.375Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T19:31:55.375Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:31:55.651Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:31:55.651Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:31:55.651Z] OK: 226 MiB in 55 packages [2022-10-26T19:31:56.618Z] Removing intermediate container 003ce5fa5bcd [2022-10-26T19:31:56.618Z] ---> d5239a8b02a2 [2022-10-26T19:31:56.618Z] Step 8/12 : COPY go.mod vendor* ./ [2022-10-26T19:31:57.207Z] ---> c44d08edf402 [2022-10-26T19:31:57.207Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:31:57.207Z] ---> Running in f932966bf6c3 [2022-10-26T19:32:53.644Z] Removing intermediate container f932966bf6c3 [2022-10-26T19:32:53.645Z] ---> 4dfe0dce1d93 [2022-10-26T19:32:53.645Z] Step 10/12 : COPY . . [2022-10-26T19:32:53.645Z] ---> 2637db83b331 [2022-10-26T19:32:53.645Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:32:53.645Z] ---> Running in fbce7208be62 [2022-10-26T19:32:53.645Z] Removing intermediate container fbce7208be62 [2022-10-26T19:32:53.645Z] ---> e00f8f1b2887 [2022-10-26T19:32:53.645Z] Step 12/12 : RUN $MAKE [2022-10-26T19:32:53.645Z] ---> Running in 33e968b27e89 [2022-10-26T19:32:53.645Z] noop [2022-10-26T19:32:53.645Z] Removing intermediate container 33e968b27e89 [2022-10-26T19:32:53.645Z] ---> 2aa234a4c2fa [2022-10-26T19:32:53.645Z] Successfully built 2aa234a4c2fa [2022-10-26T19:32:53.645Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:32:54.011Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:32:54.011Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:32:54.211Z] prd-ubuntu20.04-docker-arm64-4c-16g-117254 does not seem to be running inside a container [2022-10-26T19:32:54.283Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:32:55.525Z] $ docker top 16854122736a2cf664bc059b62f4aab70224a3bbfdf3ae8e8de3331eb5737fa1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:32:56.368Z] + go version [2022-10-26T19:32:56.368Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T19:32:56.391Z] $ docker stop --time=1 16854122736a2cf664bc059b62f4aab70224a3bbfdf3ae8e8de3331eb5737fa1 [2022-10-26T19:32:58.066Z] $ docker rm -f 16854122736a2cf664bc059b62f4aab70224a3bbfdf3ae8e8de3331eb5737fa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:32:58.603Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:32:58.603Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:32:58.775Z] prd-ubuntu20.04-docker-arm64-4c-16g-117254 does not seem to be running inside a container [2022-10-26T19:32:58.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:33:00.129Z] $ docker top 5f7dadea360c5464dca1772b0cbbd8ebaa1a2281e0aff6f93eea343d3ff5139d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:33:00.973Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:33:01.620Z] + make test [2022-10-26T19:33:01.620Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T19:33:03.568Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-26T19:34:40.264Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-26T19:34:40.264Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.149s coverage: 65.7% of statements [2022-10-26T19:34:40.264Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T19:34:40.264Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:34:58.500Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:34:58.500Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:34:58.500Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:34:58.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:34:58.530Z] $ docker stop --time=1 5f7dadea360c5464dca1772b0cbbd8ebaa1a2281e0aff6f93eea343d3ff5139d [2022-10-26T19:35:00.471Z] $ docker rm -f 5f7dadea360c5464dca1772b0cbbd8ebaa1a2281e0aff6f93eea343d3ff5139d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:35:01.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:35:01.544Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T19:35:02.100Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:35:02.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:35:02.820Z] + ls -al . [2022-10-26T19:35:02.820Z] total 200 [2022-10-26T19:35:02.820Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:33 . [2022-10-26T19:35:02.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:30 .. [2022-10-26T19:35:02.820Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:30 .git [2022-10-26T19:35:02.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:30 .github [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 19:30 .gitignore [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:30 .golangci.yml [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 19:30 Attribution.txt [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 19:30 CHANGELOG.md [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 26 19:30 Dockerfile [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:30 GOVERNANCE.md [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 19:30 Jenkinsfile [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:30 LICENSE [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 19:30 Makefile [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 19:30 OWNERS.md [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 19:30 README.md [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:00 VERSION [2022-10-26T19:35:02.820Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:30 bin [2022-10-26T19:35:02.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:30 cmd [2022-10-26T19:35:02.820Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 19:34 coverage.out [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 19:30 go.mod [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 19:30 go.sum [2022-10-26T19:35:02.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:30 internal [2022-10-26T19:35:02.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:30 snap [2022-10-26T19:35:02.820Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 19:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:35:03.172Z] + 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=d9aa0f2e4f0f638f73d89afc540500486731f321 --label arch=arm64 --label version=0.0.0 . [2022-10-26T19:35:03.768Z] Sending build context to Docker daemon 11.87MB [2022-10-26T19:35:03.768Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:35:03.768Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T19:35:03.768Z] ---> 2aa234a4c2fa [2022-10-26T19:35:03.768Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:35:03.768Z] ---> Running in 9720ab6983c2 [2022-10-26T19:35:04.354Z] Removing intermediate container 9720ab6983c2 [2022-10-26T19:35:04.354Z] ---> 2489b320f82a [2022-10-26T19:35:04.354Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:35:04.354Z] ---> Running in 37ac3ef15896 [2022-10-26T19:35:05.763Z] Removing intermediate container 37ac3ef15896 [2022-10-26T19:35:05.763Z] ---> 9fb1a0c67e2b [2022-10-26T19:35:05.763Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:35:06.031Z] ---> Running in aa1b741ea399 [2022-10-26T19:35:06.302Z] Removing intermediate container aa1b741ea399 [2022-10-26T19:35:06.302Z] ---> 00d960b6349b [2022-10-26T19:35:06.302Z] Step 6/26 : WORKDIR /device-virtual-go [2022-10-26T19:35:06.302Z] ---> Running in a0fe7ec39f98 [2022-10-26T19:35:06.888Z] Removing intermediate container a0fe7ec39f98 [2022-10-26T19:35:06.888Z] ---> 79390053da9c [2022-10-26T19:35:06.888Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:35:06.888Z] ---> Running in b96d6ba839b7 [2022-10-26T19:35:07.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:35:08.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:35:09.092Z] OK: 226 MiB in 55 packages [2022-10-26T19:35:10.054Z] Removing intermediate container b96d6ba839b7 [2022-10-26T19:35:10.054Z] ---> 61a220418b6f [2022-10-26T19:35:10.054Z] Step 8/26 : COPY go.mod vendor* ./ [2022-10-26T19:35:10.773Z] ---> 30f9f7285c27 [2022-10-26T19:35:10.773Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:35:10.773Z] ---> Running in 0a60856b8af6 [2022-10-26T19:35:13.613Z] Removing intermediate container 0a60856b8af6 [2022-10-26T19:35:13.613Z] ---> 7211a4f81329 [2022-10-26T19:35:13.613Z] Step 10/26 : COPY . . [2022-10-26T19:35:15.083Z] ---> 8f90d23a4709 [2022-10-26T19:35:15.083Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:35:15.083Z] ---> Running in 89351257eb8e [2022-10-26T19:35:15.358Z] Removing intermediate container 89351257eb8e [2022-10-26T19:35:15.358Z] ---> f04750aabaf9 [2022-10-26T19:35:15.358Z] Step 12/26 : RUN $MAKE [2022-10-26T19:35:15.358Z] ---> Running in a1edd405ec03 [2022-10-26T19:35:16.785Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-26T19:38:10.099Z] Removing intermediate container a1edd405ec03 [2022-10-26T19:38:10.099Z] ---> a94c4718f4bc [2022-10-26T19:38:10.099Z] Step 13/26 : FROM alpine:3.16 [2022-10-26T19:38:10.099Z] 3.16: Pulling from library/alpine [2022-10-26T19:38:10.099Z] 9b18e9b68314: Already exists [2022-10-26T19:38:10.099Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:38:10.099Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:38:10.099Z] ---> a6215f271958 [2022-10-26T19:38:10.099Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-26T19:38:10.099Z] ---> Running in 306e1cf57008 [2022-10-26T19:38:10.380Z] Removing intermediate container 306e1cf57008 [2022-10-26T19:38:10.380Z] ---> dffb70573991 [2022-10-26T19:38:10.380Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T19:38:10.648Z] ---> Running in 866975e8030f [2022-10-26T19:38:12.604Z] Removing intermediate container 866975e8030f [2022-10-26T19:38:12.604Z] ---> 3d9a90c17168 [2022-10-26T19:38:12.604Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:38:12.604Z] ---> Running in 352ba40e331e [2022-10-26T19:38:13.577Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:38:14.173Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:38:16.175Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:38:16.175Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:38:16.807Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:38:17.104Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:38:17.717Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:38:18.329Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:38:18.603Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:38:18.603Z] OK: 8 MiB in 20 packages [2022-10-26T19:38:19.579Z] Removing intermediate container 352ba40e331e [2022-10-26T19:38:19.579Z] ---> a9b65c3fcb7d [2022-10-26T19:38:19.579Z] Step 17/26 : WORKDIR / [2022-10-26T19:38:19.848Z] ---> Running in 63321f7513a0 [2022-10-26T19:38:20.121Z] Removing intermediate container 63321f7513a0 [2022-10-26T19:38:20.121Z] ---> 0ac57472fb81 [2022-10-26T19:38:20.121Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-26T19:38:20.710Z] ---> 455be535c8ff [2022-10-26T19:38:20.710Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-26T19:38:21.315Z] ---> f68157434f7a [2022-10-26T19:38:21.315Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-10-26T19:38:23.276Z] ---> 35518a3a1e4d [2022-10-26T19:38:23.276Z] Step 21/26 : EXPOSE 59900 [2022-10-26T19:38:23.276Z] ---> Running in 04f94db53790 [2022-10-26T19:38:23.549Z] Removing intermediate container 04f94db53790 [2022-10-26T19:38:23.549Z] ---> 572ffa56bbeb [2022-10-26T19:38:23.549Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-10-26T19:38:23.549Z] ---> Running in 5191c4bb82bd [2022-10-26T19:38:24.141Z] Removing intermediate container 5191c4bb82bd [2022-10-26T19:38:24.141Z] ---> 4fb2c78cf1e6 [2022-10-26T19:38:24.141Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T19:38:24.141Z] ---> Running in 29e9dea15691 [2022-10-26T19:38:24.411Z] Removing intermediate container 29e9dea15691 [2022-10-26T19:38:24.411Z] ---> a156440c56d6 [2022-10-26T19:38:24.411Z] Step 24/26 : LABEL arch=arm64 [2022-10-26T19:38:24.686Z] ---> Running in 1a42c518dac4 [2022-10-26T19:38:24.959Z] Removing intermediate container 1a42c518dac4 [2022-10-26T19:38:24.959Z] ---> 787419660ca3 [2022-10-26T19:38:24.959Z] Step 25/26 : LABEL git_sha=d9aa0f2e4f0f638f73d89afc540500486731f321 [2022-10-26T19:38:24.960Z] ---> Running in 98825918a23c [2022-10-26T19:38:25.553Z] Removing intermediate container 98825918a23c [2022-10-26T19:38:25.553Z] ---> e4dbb77575cb [2022-10-26T19:38:25.553Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T19:38:25.828Z] ---> Running in 8fa1ff0e955f [2022-10-26T19:38:26.103Z] Removing intermediate container 8fa1ff0e955f [2022-10-26T19:38:26.103Z] ---> 99edc7872977 [2022-10-26T19:38:26.103Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:38:26.103Z] Successfully built 99edc7872977 [2022-10-26T19:38:26.103Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:38:26.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:38:26.580Z] [2022-10-26T19:38:26.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:38:26.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:38:27.222Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T19:38:27.222Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T19:38:27.222Z] 04944245beec: Pulling fs layer [2022-10-26T19:38:27.222Z] 699f458cf7ca: Pulling fs layer [2022-10-26T19:38:27.222Z] 765212b225bb: Pulling fs layer [2022-10-26T19:38:27.222Z] f23df028b6ca: Pulling fs layer [2022-10-26T19:38:27.222Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T19:38:27.222Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T19:38:27.222Z] 765212b225bb: Waiting [2022-10-26T19:38:27.222Z] 2437ff75d9bd: Waiting [2022-10-26T19:38:27.222Z] d65c8cfc05b1: Waiting [2022-10-26T19:38:27.222Z] f23df028b6ca: Waiting [2022-10-26T19:38:27.222Z] 04944245beec: Verifying Checksum [2022-10-26T19:38:27.222Z] 04944245beec: Download complete [2022-10-26T19:38:27.222Z] 765212b225bb: Verifying Checksum [2022-10-26T19:38:27.222Z] 765212b225bb: Download complete [2022-10-26T19:38:27.495Z] f23df028b6ca: Verifying Checksum [2022-10-26T19:38:27.495Z] f23df028b6ca: Download complete [2022-10-26T19:38:27.771Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T19:38:27.771Z] d65c8cfc05b1: Download complete [2022-10-26T19:38:27.771Z] 699f458cf7ca: Download complete [2022-10-26T19:38:28.372Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T19:38:28.372Z] 8998bd30e6a1: Download complete [2022-10-26T19:38:30.336Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T19:38:30.336Z] 2437ff75d9bd: Download complete [2022-10-26T19:38:32.291Z] 8998bd30e6a1: Pull complete [2022-10-26T19:38:32.884Z] 04944245beec: Pull complete [2022-10-26T19:38:34.339Z] 699f458cf7ca: Pull complete [2022-10-26T19:38:34.339Z] 765212b225bb: Pull complete [2022-10-26T19:38:35.305Z] f23df028b6ca: Pull complete [2022-10-26T19:38:35.305Z] d65c8cfc05b1: Pull complete [2022-10-26T19:38:50.315Z] 2437ff75d9bd: Pull complete [2022-10-26T19:38:50.315Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T19:38:50.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:38:50.315Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:38:50.544Z] prd-ubuntu20.04-docker-arm64-4c-16g-117254 does not seem to be running inside a container [2022-10-26T19:38:50.675Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T19:38:54.951Z] $ docker top c8404be7d27c81d6af7ce2fdaf8f47523dcc7e535c064479c4ff4dba2cd8cb3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:38:55.856Z] ---> job-cost.sh [2022-10-26T19:38:55.856Z] lf-activate-venv: SKIPPING [2022-10-26T19:38:55.856Z] INFO: No Stack... [2022-10-26T19:38:56.125Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T19:38:57.102Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:38:57.769Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [2022-10-26T19:38:57.769Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:38:57.844Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-3-stack-cost] [2022-10-26T19:38:57.850Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-3-stack-cost] did not exist. Created. [2022-10-26T19:38:57.850Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:38:58.529Z] /w/workspace/device-virtual-go/3@tmp/durable-43d9dc9d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T19:38:59.204Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T19:38:59.225Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T19:38:59.278Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:38:59.284Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:38:59.303Z] $ docker stop --time=1 c8404be7d27c81d6af7ce2fdaf8f47523dcc7e535c064479c4ff4dba2cd8cb3e [2022-10-26T19:39:00.974Z] $ docker rm -f c8404be7d27c81d6af7ce2fdaf8f47523dcc7e535c064479c4ff4dba2cd8cb3e [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-10-26T19:39:01.362Z] provisioning config files... [2022-10-26T19:39:01.369Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config4072596919849911707tmp [Pipeline] { [Pipeline] sh [2022-10-26T19:39:01.665Z] + set +x [2022-10-26T19:39:01.665Z] + + curl -s https://codecov.io/bash [2022-10-26T19:39:01.665Z] bash -s -- [2022-10-26T19:39:01.665Z] [2022-10-26T19:39:01.665Z] _____ _ [2022-10-26T19:39:01.665Z] / ____| | | [2022-10-26T19:39:01.665Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T19:39:01.665Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T19:39:01.665Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T19:39:01.665Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T19:39:01.665Z] Bash-1.0.6 [2022-10-26T19:39:01.665Z] [2022-10-26T19:39:01.665Z] [2022-10-26T19:39:01.665Z] ==> git version 2.25.1 found [2022-10-26T19:39:01.665Z] ==> 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-10-26T19:39:01.665Z] Release-Date: 2020-01-08 [2022-10-26T19:39:01.665Z] 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-10-26T19:39:01.665Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T19:39:01.665Z] ==> Jenkins CI detected. [2022-10-26T19:39:01.665Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-317 [2022-10-26T19:39:01.665Z] project root: . [2022-10-26T19:39:01.665Z] --> token set from env [2022-10-26T19:39:01.665Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T19:39:01.665Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T19:39:01.665Z] ==> Python coveragepy not found [2022-10-26T19:39:01.665Z] ==> Searching for coverage reports in: [2022-10-26T19:39:01.665Z] + . [2022-10-26T19:39:01.665Z] -> Found 1 reports [2022-10-26T19:39:01.665Z] ==> Detecting git/mercurial file structure [2022-10-26T19:39:01.665Z] ==> Reading reports [2022-10-26T19:39:01.665Z] + ./coverage.out bytes=44128 [2022-10-26T19:39:01.665Z] ==> Appending adjustments [2022-10-26T19:39:01.665Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T19:39:01.923Z] + Found adjustments [2022-10-26T19:39:01.923Z] ==> Gzipping contents [2022-10-26T19:39:01.923Z] 8.0K /tmp/codecov.qTorhl.gz [2022-10-26T19:39:01.923Z] ==> Uploading reports [2022-10-26T19:39:01.923Z] url: https://codecov.io [2022-10-26T19:39:01.923Z] query: branch=PR-317&commit=d9aa0f2e4f0f638f73d89afc540500486731f321&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= [2022-10-26T19:39:01.923Z] -> Pinging Codecov [2022-10-26T19:39:01.923Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-317&commit=d9aa0f2e4f0f638f73d89afc540500486731f321&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= [2022-10-26T19:39:02.183Z] -> Uploading to [2022-10-26T19:39:02.183Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/5E52B4B073DB2E39498172D8E973AA87/d9aa0f2e4f0f638f73d89afc540500486731f321/5ffb66cb-40b0-4eed-8f9f-883d121235c1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T193902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dde1866497eb13006821f1061d58a12486066fe5544ec5d20a171448200d82bb [2022-10-26T19:39:02.183Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:39:02.183Z] Dload Upload Total Spent Left Speed [2022-10-26T19:39:02.443Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5482 0 0 100 5482 0 24149 --:--:-- --:--:-- --:--:-- 24149 [2022-10-26T19:39:02.443Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d9aa0f2e4f0f638f73d89afc540500486731f321 [Pipeline] } [2022-10-26T19:39:02.451Z] 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-10-26T19:39:03.121Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-317/archives ] [2022-10-26T19:39:03.121Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T19:39:03.121Z] total 16 [2022-10-26T19:39:03.121Z] drwxr-xr-x 3 root root 4096 Oct 26 19:02 . [2022-10-26T19:39:03.121Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:02 .. [2022-10-26T19:39:03.121Z] drwxr-xr-x 2 root root 4096 Oct 26 19:02 cost [2022-10-26T19:39:03.121Z] -rw-r--r-- 1 root root 89 Oct 26 19:02 cost.csv [2022-10-26T19:39:03.121Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T19:39:03.121Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T19:39:03.121Z] total 16 [2022-10-26T19:39:03.121Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:02 . [2022-10-26T19:39:03.121Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:02 .. [2022-10-26T19:39:03.121Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 19:02 cost [2022-10-26T19:39:03.121Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 26 19:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:39:03.409Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:39:04.260Z] ---> package-listing.sh [2022-10-26T19:39:04.260Z] ++ facter osfamily [2022-10-26T19:39:04.260Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T19:39:04.517Z] + OS_FAMILY=debian [2022-10-26T19:39:04.517Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-317 [2022-10-26T19:39:04.517Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T19:39:04.517Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T19:39:04.517Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T19:39:04.517Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T19:39:04.517Z] + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' [2022-10-26T19:39:04.517Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T19:39:04.517Z] + case "${OS_FAMILY}" in [2022-10-26T19:39:04.517Z] + dpkg -l [2022-10-26T19:39:04.517Z] + grep '^ii' [2022-10-26T19:39:04.517Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T19:39:04.517Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T19:39:04.517Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T19:39:04.517Z] + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' [2022-10-26T19:39:04.517Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-317/archives/ [2022-10-26T19:39:04.517Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-317/archives/ [Pipeline] echo [2022-10-26T19:39:04.526Z] 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-317/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T19:39:04.802Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:39:05.366Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:39:05.366Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:39:05.434Z] prd-ubuntu20.04-docker-8c-8g-117239 does not seem to be running inside a container [2022-10-26T19:39:05.473Z] $ 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-317/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-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:39:05.708Z] $ docker top 447b74347b23e2296742fa64cb90aa0b7450df4e05b55833075e40f9fbd85cc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:39:06.038Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T19:39:06.325Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T19:39:06.613Z] + ls /var/log/sa-host [2022-10-26T19:39:06.613Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:39:06.680Z] provisioning config files... [2022-10-26T19:39:06.686Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config11492050569620488320tmp [Pipeline] { [Pipeline] echo [2022-10-26T19:39:06.700Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:39:06.983Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T19:39:06.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:39:07.311Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T19:39:07.319Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:39:07.599Z] ---> sudo-logs.sh [2022-10-26T19:39:07.600Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T19:39:07.626Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:39:07.908Z] ---> job-cost.sh [2022-10-26T19:39:07.908Z] lf-activate-venv: SKIPPING [2022-10-26T19:39:07.908Z] DEBUG: total: 0.2199999988079071 [2022-10-26T19:39:07.908Z] INFO: Retrieving Stack Cost... [2022-10-26T19:39:08.475Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:39:08.734Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T19:39:08.745Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:39:09.027Z] ---> logs-deploy.sh [2022-10-26T19:39:09.027Z] lf-activate-venv: SKIPPING [2022-10-26T19:39:09.027Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-317/3 [2022-10-26T19:39:09.027Z] INFO: archiving workspace using pattern(s): [2022-10-26T19:39:09.964Z] Archives upload complete. [2022-10-26T19:39:09.964Z] INFO: archiving logs to Nexus