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 ee73e7ec4c5a75450af71e580ef521e59aef9a3d 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-ssh6681587355455609496.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-ssh464634848030070808.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-ssh8501784610838412573.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-ssh14322761736039662397.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-ssh701888618832994917.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-117189 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 ee73e7ec4c5a75450af71e580ef521e59aef9a3d Merge succeeded, producing ee73e7ec4c5a75450af71e580ef521e59aef9a3d Checking out Revision ee73e7ec4c5a75450af71e580ef521e59aef9a3d (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 ee73e7ec4c5a75450af71e580ef521e59aef9a3d # 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 ee73e7ec4c5a75450af71e580ef521e59aef9a3d # timeout=10 Commit message: "update versions, address feedback" > git rev-list --no-walk e245ba1a7bb4665bce4f103bf9d77925b6c6aa39 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T16:40:10.583Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T16:40:10.624Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T16:40:10.638Z] ========================================================= [2022-10-26T16:40:10.638Z] EdgeX Global Pipelines Version Info [2022-10-26T16:40:10.638Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:40:11.336Z] ------------------- [2022-10-26T16:40:11.336Z] stable info: [2022-10-26T16:40:11.336Z] ------------------- [2022-10-26T16:40:11.336Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T16:40:11.336Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T16:40:11.336Z] Message: update stable to v1.0.243 [2022-10-26T16:40:11.905Z] ------------------- [2022-10-26T16:40:11.905Z] experimental info: [2022-10-26T16:40:11.905Z] ------------------- [2022-10-26T16:40:11.905Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T16:40:11.905Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T16:40:11.905Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T16:40:12.052Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-26T16:40:12.066Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-26T16:40:12.076Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T16:40:12.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T16:40:12.097Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T16:40:12.108Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T16:40:12.123Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T16:40:12.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T16:40:12.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T16:40:12.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T16:40:12.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T16:40:12.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-26T16:40:12.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T16:40:12.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T16:40:12.223Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T16:40:12.235Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T16:40:12.246Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T16:40:12.259Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T16:40:12.270Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T16:40:12.284Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T16:40:12.298Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T16:40:12.311Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T16:40:12.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T16:40:12.337Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T16:40:12.354Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T16:40:12.375Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T16:40:12.392Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T16:40:12.413Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-317 [Pipeline] echo [2022-10-26T16:40:12.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-317 [Pipeline] echo [2022-10-26T16:40:12.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-317 [Pipeline] echo [2022-10-26T16:40:12.458Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee73e7ec4c5a75450af71e580ef521e59aef9a3d [Pipeline] echo [2022-10-26T16:40:12.478Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee73e7e [Pipeline] echo [2022-10-26T16:40:12.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T16:40:12.533Z] provisioning config files... [2022-10-26T16:40:12.545Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config12623801232191070491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:40:12.840Z] ---> docker-login.sh [2022-10-26T16:40:12.840Z] nexus3.edgexfoundry.org:10001 [2022-10-26T16:40:13.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:40:13.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:40:13.409Z] Configure a credential helper to remove this warning. See [2022-10-26T16:40:13.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:40:13.409Z] [2022-10-26T16:40:13.409Z] Login Succeeded [2022-10-26T16:40:13.409Z] nexus3.edgexfoundry.org:10002 [2022-10-26T16:40:13.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:40:13.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:40:13.668Z] Configure a credential helper to remove this warning. See [2022-10-26T16:40:13.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:40:13.668Z] [2022-10-26T16:40:13.668Z] Login Succeeded [2022-10-26T16:40:13.668Z] nexus3.edgexfoundry.org:10003 [2022-10-26T16:40:13.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:40:13.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:40:13.668Z] Configure a credential helper to remove this warning. See [2022-10-26T16:40:13.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:40:13.668Z] [2022-10-26T16:40:13.668Z] Login Succeeded [2022-10-26T16:40:13.668Z] nexus3.edgexfoundry.org:10004 [2022-10-26T16:40:13.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:40:13.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:40:13.930Z] Configure a credential helper to remove this warning. See [2022-10-26T16:40:13.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:40:13.930Z] [2022-10-26T16:40:13.930Z] Login Succeeded [2022-10-26T16:40:13.930Z] docker.io [2022-10-26T16:40:13.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:40:14.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:40:14.189Z] Configure a credential helper to remove this warning. See [2022-10-26T16:40:14.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:40:14.189Z] [2022-10-26T16:40:14.189Z] Login Succeeded [2022-10-26T16:40:14.189Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T16:40:14.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T16:40:14.559Z] + git rev-list -1 --merges ee73e7ec4c5a75450af71e580ef521e59aef9a3d~1..ee73e7ec4c5a75450af71e580ef521e59aef9a3d [Pipeline] echo [2022-10-26T16:40:14.586Z] -----------> git rev-list -1 --merges ee73e7ec4c5a75450af71e580ef521e59aef9a3d~1..ee73e7ec4c5a75450af71e580ef521e59aef9a3d ee73e7ec4c5a75450af71e580ef521e59aef9a3d [false] [Pipeline] sh [2022-10-26T16:40:14.871Z] + git log --format=format:%s -1 ee73e7ec4c5a75450af71e580ef521e59aef9a3d [Pipeline] echo [2022-10-26T16:40:14.885Z] ========================================================= [2022-10-26T16:40:14.886Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T16:40:14.886Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T16:40:15.228Z] + git log --format=format:%s -1 ee73e7ec4c5a75450af71e580ef521e59aef9a3d [Pipeline] echo [2022-10-26T16:40:15.247Z] [semverPrep] GIT_COMMIT: ee73e7ec4c5a75450af71e580ef521e59aef9a3d, Commit Message: update versions, address feedback [Pipeline] echo [2022-10-26T16:40:15.253Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T16:40:15.605Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T16:40:15.605Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T16:40:15.605Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T16:40:15.605Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T16:40:15.605Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T16:40:15.605Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T16:40:15.605Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:40:16.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T16:40:16.016Z] [2022-10-26T16:40:16.016Z] 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-26T16:40:16.333Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T16:40:16.333Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T16:40:16.333Z] b85a868b505f: Pulling fs layer [2022-10-26T16:40:16.333Z] e2be974225ed: Pulling fs layer [2022-10-26T16:40:16.334Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T16:40:16.334Z] 988bab9f4d93: Pulling fs layer [2022-10-26T16:40:16.334Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T16:40:16.334Z] 988bab9f4d93: Waiting [2022-10-26T16:40:16.334Z] eaf3925da568: Pulling fs layer [2022-10-26T16:40:16.334Z] bab4dde63d76: Pulling fs layer [2022-10-26T16:40:16.334Z] bde34c3a00c8: Pulling fs layer [2022-10-26T16:40:16.334Z] 1469e6f7b9e6: Waiting [2022-10-26T16:40:16.334Z] eaf3925da568: Waiting [2022-10-26T16:40:16.334Z] bab4dde63d76: Waiting [2022-10-26T16:40:16.334Z] b352a97aabf1: Pulling fs layer [2022-10-26T16:40:16.334Z] bde34c3a00c8: Waiting [2022-10-26T16:40:16.334Z] 4872d77fe225: Pulling fs layer [2022-10-26T16:40:16.334Z] b352a97aabf1: Waiting [2022-10-26T16:40:16.334Z] 5851b861e8e6: Pulling fs layer [2022-10-26T16:40:16.334Z] 4872d77fe225: Waiting [2022-10-26T16:40:16.334Z] 5851b861e8e6: Waiting [2022-10-26T16:40:16.334Z] e2be974225ed: Verifying Checksum [2022-10-26T16:40:16.334Z] e2be974225ed: Download complete [2022-10-26T16:40:16.334Z] 988bab9f4d93: Download complete [2022-10-26T16:40:16.592Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T16:40:16.592Z] 1469e6f7b9e6: Download complete [2022-10-26T16:40:16.592Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T16:40:16.592Z] 339a4e72a1f5: Download complete [2022-10-26T16:40:16.592Z] eaf3925da568: Verifying Checksum [2022-10-26T16:40:16.592Z] eaf3925da568: Download complete [2022-10-26T16:40:16.592Z] bde34c3a00c8: Verifying Checksum [2022-10-26T16:40:16.592Z] bde34c3a00c8: Download complete [2022-10-26T16:40:16.592Z] b352a97aabf1: Verifying Checksum [2022-10-26T16:40:16.592Z] 4872d77fe225: Download complete [2022-10-26T16:40:16.592Z] 5851b861e8e6: Verifying Checksum [2022-10-26T16:40:16.592Z] 5851b861e8e6: Download complete [2022-10-26T16:40:16.592Z] b85a868b505f: Download complete [2022-10-26T16:40:16.851Z] bab4dde63d76: Verifying Checksum [2022-10-26T16:40:17.788Z] b85a868b505f: Pull complete [2022-10-26T16:40:18.045Z] e2be974225ed: Pull complete [2022-10-26T16:40:18.612Z] 339a4e72a1f5: Pull complete [2022-10-26T16:40:18.612Z] 988bab9f4d93: Pull complete [2022-10-26T16:40:18.868Z] 1469e6f7b9e6: Pull complete [2022-10-26T16:40:19.128Z] eaf3925da568: Pull complete [2022-10-26T16:40:21.050Z] bab4dde63d76: Pull complete [2022-10-26T16:40:21.050Z] bde34c3a00c8: Pull complete [2022-10-26T16:40:21.050Z] b352a97aabf1: Pull complete [2022-10-26T16:40:21.050Z] 4872d77fe225: Pull complete [2022-10-26T16:40:21.050Z] 5851b861e8e6: Pull complete [2022-10-26T16:40:21.314Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T16:40:21.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T16:40:21.314Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:40:21.413Z] prd-ubuntu20.04-docker-8c-8g-117189 does not seem to be running inside a container [2022-10-26T16:40:21.440Z] $ 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-26T16:40:25.891Z] $ docker top 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 -eo pid,comm [2022-10-26T16:40:25.997Z] 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-26T16:40:25.997Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T16:40:26.031Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T16:40:26.031Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T16:40:26.175Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T16:40:26.175Z] $ docker exec 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 ssh-agent [2022-10-26T16:40:26.294Z] SSH_AUTH_SOCK=/tmp/ssh-aepnjxjLhyuy/agent.14 [2022-10-26T16:40:26.294Z] SSH_AGENT_PID=21 [2022-10-26T16:40:26.300Z] Running ssh-add (command line suppressed) [2022-10-26T16:40:26.417Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_8338978070000475508.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_8338978070000475508.key) [2022-10-26T16:40:26.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T16:40:26.721Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T16:40:26.734Z] $ docker exec --env ******** --env ******** 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 ssh-agent -k [2022-10-26T16:40:26.827Z] unset SSH_AUTH_SOCK; [2022-10-26T16:40:26.827Z] unset SSH_AGENT_PID; [2022-10-26T16:40:26.827Z] echo Agent pid 21 killed; [2022-10-26T16:40:26.839Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T16:40:26.861Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T16:40:26.861Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T16:40:27.008Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T16:40:27.008Z] $ docker exec 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 ssh-agent [2022-10-26T16:40:27.107Z] SSH_AUTH_SOCK=/tmp/ssh-3u8apyAbkryR/agent.54 [2022-10-26T16:40:27.107Z] SSH_AGENT_PID=60 [2022-10-26T16:40:27.112Z] Running ssh-add (command line suppressed) [2022-10-26T16:40:27.223Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_7810200370641635918.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_7810200370641635918.key) [2022-10-26T16:40:27.238Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T16:40:27.541Z] + git semver init [2022-10-26T16:40:27.801Z] 2022-10-26 16:40:27,740 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T16:40:27.801Z] 2022-10-26 16:40:27,741 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-317/.semver [2022-10-26T16:40:27.801Z] 2022-10-26 16:40:27,743 [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-26T16:40:27.801Z] 2022-10-26 16:40:27,744 [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-26T16:40:29.700Z] 2022-10-26 16:40:29,489 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-317/.git/info/exclude [2022-10-26T16:40:29.700Z] 2022-10-26 16:40:29,490 [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-26T16:40:29.700Z] 2022-10-26 16:40:29,490 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 [2022-10-26T16:40:29.700Z] 2022-10-26 16:40:29,494 [execute] INFO git cat-file --batch-check [2022-10-26T16:40:29.700Z] 2022-10-26 16:40:29,495 [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-26T16:40:29.700Z] 2022-10-26 16:40:29,502 [execute] INFO git cat-file --batch [2022-10-26T16:40:29.700Z] 2022-10-26 16:40:29,502 [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-26T16:40:29.700Z] 2022-10-26 16:40:29,508 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 [2022-10-26T16:40:29.700Z] 0.0.0 [Pipeline] } [2022-10-26T16:40:29.708Z] $ docker exec --env ******** --env ******** 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 ssh-agent -k [2022-10-26T16:40:29.813Z] unset SSH_AUTH_SOCK; [2022-10-26T16:40:29.814Z] unset SSH_AGENT_PID; [2022-10-26T16:40:29.814Z] echo Agent pid 60 killed; [2022-10-26T16:40:29.824Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T16:40:30.120Z] + git semver [Pipeline] } [2022-10-26T16:40:30.388Z] $ docker stop --time=1 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 [2022-10-26T16:40:33.203Z] $ docker rm -f 2bb3b7f06faad168f7abcd080dd5544399069e18fd5807a75e3eea4f125a0567 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T16:40:33.659Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T16:40:33.906Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T16:40:33.908Z] [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-26T16:40:34.022Z] provisioning config files... [2022-10-26T16:40:34.031Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config2275394459187587245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:40:34.328Z] ---> docker-login.sh [2022-10-26T16:40:34.328Z] nexus3.edgexfoundry.org:10001 [2022-10-26T16:40:34.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:40:34.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:40:34.328Z] Configure a credential helper to remove this warning. See [2022-10-26T16:40:34.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:40:34.328Z] [2022-10-26T16:40:34.328Z] Login Succeeded [2022-10-26T16:40:34.328Z] nexus3.edgexfoundry.org:10002 [2022-10-26T16:40:34.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:40:34.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:40:34.328Z] Configure a credential helper to remove this warning. See [2022-10-26T16:40:34.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:40:34.328Z] [2022-10-26T16:40:34.328Z] Login Succeeded [2022-10-26T16:40:34.328Z] nexus3.edgexfoundry.org:10003 [2022-10-26T16:40:34.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:40:34.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:40:34.586Z] Configure a credential helper to remove this warning. See [2022-10-26T16:40:34.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:40:34.586Z] [2022-10-26T16:40:34.586Z] Login Succeeded [2022-10-26T16:40:34.586Z] nexus3.edgexfoundry.org:10004 [2022-10-26T16:40:34.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:40:34.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:40:34.586Z] Configure a credential helper to remove this warning. See [2022-10-26T16:40:34.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:40:34.586Z] [2022-10-26T16:40:34.586Z] Login Succeeded [2022-10-26T16:40:34.586Z] docker.io [2022-10-26T16:40:34.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T16:40:35.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T16:40:35.106Z] Configure a credential helper to remove this warning. See [2022-10-26T16:40:35.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T16:40:35.106Z] [2022-10-26T16:40:35.106Z] Login Succeeded [2022-10-26T16:40:35.106Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T16:40:35.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T16:40:35.176Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T16:40:35.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T16:40:35.194Z] ========================================================= [2022-10-26T16:40:35.194Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T16:40:35.194Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:40:35.506Z] + 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-26T16:40:35.506Z] Sending build context to Docker daemon 23.29MB [2022-10-26T16:40:35.506Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T16:40:35.506Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T16:40:35.769Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T16:40:35.769Z] 213ec9aee27d: Pulling fs layer [2022-10-26T16:40:35.769Z] 4583459ba037: Pulling fs layer [2022-10-26T16:40:35.769Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T16:40:35.769Z] 53926ce57604: Pulling fs layer [2022-10-26T16:40:35.769Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T16:40:35.769Z] 30f14e443154: Pulling fs layer [2022-10-26T16:40:35.769Z] 801331c1e519: Pulling fs layer [2022-10-26T16:40:35.769Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T16:40:35.769Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T16:40:35.769Z] 53926ce57604: Waiting [2022-10-26T16:40:35.769Z] 21b2b0c7a3f4: Waiting [2022-10-26T16:40:35.769Z] 30f14e443154: Waiting [2022-10-26T16:40:35.769Z] 7d9ed39f4882: Waiting [2022-10-26T16:40:35.769Z] 801331c1e519: Waiting [2022-10-26T16:40:35.769Z] 99cc6dd402b0: Waiting [2022-10-26T16:40:35.769Z] 93c1e223e6f2: Download complete [2022-10-26T16:40:35.769Z] 4583459ba037: Verifying Checksum [2022-10-26T16:40:35.769Z] 4583459ba037: Download complete [2022-10-26T16:40:35.769Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T16:40:35.769Z] 21b2b0c7a3f4: Download complete [2022-10-26T16:40:35.769Z] 30f14e443154: Verifying Checksum [2022-10-26T16:40:35.769Z] 30f14e443154: Download complete [2022-10-26T16:40:35.769Z] 213ec9aee27d: Download complete [2022-10-26T16:40:35.769Z] 801331c1e519: Verifying Checksum [2022-10-26T16:40:35.769Z] 801331c1e519: Download complete [2022-10-26T16:40:36.034Z] 213ec9aee27d: Pull complete [2022-10-26T16:40:36.034Z] 4583459ba037: Pull complete [2022-10-26T16:40:36.308Z] 93c1e223e6f2: Pull complete [2022-10-26T16:40:36.568Z] 7d9ed39f4882: Download complete [2022-10-26T16:40:36.568Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T16:40:36.568Z] 99cc6dd402b0: Download complete [2022-10-26T16:40:36.568Z] 53926ce57604: Verifying Checksum [2022-10-26T16:40:36.568Z] 53926ce57604: Download complete [2022-10-26T16:40:40.760Z] 53926ce57604: Pull complete [2022-10-26T16:40:40.760Z] 21b2b0c7a3f4: Pull complete [2022-10-26T16:40:40.760Z] 30f14e443154: Pull complete [2022-10-26T16:40:40.760Z] 801331c1e519: Pull complete [2022-10-26T16:40:43.318Z] 99cc6dd402b0: Pull complete [2022-10-26T16:40:43.577Z] 7d9ed39f4882: Pull complete [2022-10-26T16:40:43.835Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T16:40:43.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T16:40:43.835Z] ---> 1dedd983c030 [2022-10-26T16:40:43.835Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T16:40:48.992Z] Still waiting to schedule task [2022-10-26T16:40:48.993Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117193’ [2022-10-26T16:40:50.404Z] ---> Running in 70831df6fa70 [2022-10-26T16:40:50.404Z] Removing intermediate container 70831df6fa70 [2022-10-26T16:40:50.404Z] ---> e47079046a0e [2022-10-26T16:40:50.404Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T16:40:50.404Z] ---> Running in 3134ceec2b82 [2022-10-26T16:40:50.404Z] Removing intermediate container 3134ceec2b82 [2022-10-26T16:40:50.404Z] ---> 4d419d55074d [2022-10-26T16:40:50.404Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T16:40:50.404Z] ---> Running in 2c0136873ed0 [2022-10-26T16:40:50.404Z] Removing intermediate container 2c0136873ed0 [2022-10-26T16:40:50.404Z] ---> 98ed7aa77dc6 [2022-10-26T16:40:50.404Z] Step 6/12 : WORKDIR /device-virtual-go [2022-10-26T16:40:50.404Z] ---> Running in 17868f677140 [2022-10-26T16:40:50.404Z] Removing intermediate container 17868f677140 [2022-10-26T16:40:50.404Z] ---> 0fd16eb988e3 [2022-10-26T16:40:50.404Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T16:40:50.404Z] ---> Running in aa6d84b9af1d [2022-10-26T16:40:50.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T16:40:50.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T16:40:51.237Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T16:40:51.237Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T16:40:51.237Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T16:40:51.237Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T16:40:51.237Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T16:40:51.237Z] OK: 216 MiB in 55 packages [2022-10-26T16:40:52.614Z] Removing intermediate container aa6d84b9af1d [2022-10-26T16:40:52.614Z] ---> bb0e4173a2e5 [2022-10-26T16:40:52.614Z] Step 8/12 : COPY go.mod vendor* ./ [2022-10-26T16:40:52.875Z] ---> 495f956336cf [2022-10-26T16:40:52.875Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T16:40:53.449Z] ---> Running in bbeb478dc1eb [2022-10-26T16:41:40.300Z] Removing intermediate container bbeb478dc1eb [2022-10-26T16:41:40.300Z] ---> 8b8431a8c28d [2022-10-26T16:41:40.300Z] Step 10/12 : COPY . . [2022-10-26T16:41:40.300Z] ---> 5a9296834767 [2022-10-26T16:41:40.300Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T16:41:40.300Z] ---> Running in 2c6e67b2a9f0 [2022-10-26T16:41:40.300Z] Removing intermediate container 2c6e67b2a9f0 [2022-10-26T16:41:40.300Z] ---> bfb58688209b [2022-10-26T16:41:40.300Z] Step 12/12 : RUN $MAKE [2022-10-26T16:41:40.300Z] ---> Running in d030edfaf80e [2022-10-26T16:41:40.300Z] noop [2022-10-26T16:41:40.300Z] Removing intermediate container d030edfaf80e [2022-10-26T16:41:40.300Z] ---> 1c65a1f24280 [2022-10-26T16:41:40.300Z] Successfully built 1c65a1f24280 [2022-10-26T16:41:40.300Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:41:40.611Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T16:41:40.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:41:40.685Z] prd-ubuntu20.04-docker-8c-8g-117189 does not seem to be running inside a container [2022-10-26T16:41:40.716Z] $ 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-26T16:41:41.250Z] $ docker top 4f666c04aa73ed3c3a0cb1da08c2b0891d66b4106804592a23f787edfc3c5b21 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T16:41:41.633Z] + go version [2022-10-26T16:41:41.633Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T16:41:41.643Z] $ docker stop --time=1 4f666c04aa73ed3c3a0cb1da08c2b0891d66b4106804592a23f787edfc3c5b21 [2022-10-26T16:41:44.009Z] $ docker rm -f 4f666c04aa73ed3c3a0cb1da08c2b0891d66b4106804592a23f787edfc3c5b21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:41:44.502Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T16:41:44.502Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:41:44.566Z] prd-ubuntu20.04-docker-8c-8g-117189 does not seem to be running inside a container [2022-10-26T16:41:44.589Z] $ 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-26T16:41:46.375Z] $ docker top cbfc522f85f342da582bd2d8e3a1ecb93f51ff0c9b3d5ddd10c908276c2e306f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T16:41:46.720Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] fileExists [Pipeline] sh [2022-10-26T16:41:47.016Z] + make test [2022-10-26T16:41:47.016Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T16:41:47.584Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-26T16:41:57.544Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-26T16:41:57.544Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-10-26T16:42:04.098Z] 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-26T16:42:04.098Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T16:42:07.376Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T16:42:07.376Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T16:42:07.376Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T16:42:07.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T16:42:07.396Z] $ docker stop --time=1 cbfc522f85f342da582bd2d8e3a1ecb93f51ff0c9b3d5ddd10c908276c2e306f [2022-10-26T16:42:11.438Z] $ docker rm -f cbfc522f85f342da582bd2d8e3a1ecb93f51ff0c9b3d5ddd10c908276c2e306f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T16:42:11.871Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T16:42:11.911Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T16:42:12.426Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T16:42:12.708Z] + ls -al . [2022-10-26T16:42:12.708Z] total 204 [2022-10-26T16:42:12.708Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 16:41 . [2022-10-26T16:42:12.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:40 .. [2022-10-26T16:42:12.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 16:41 .git [2022-10-26T16:42:12.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:40 .github [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 16:40 .gitignore [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 16:40 .golangci.yml [2022-10-26T16:42:12.708Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:40 .semver [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 16:40 Attribution.txt [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 16:40 CHANGELOG.md [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 26 16:40 Dockerfile [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 16:40 GOVERNANCE.md [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 16:40 Jenkinsfile [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 16:40 LICENSE [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 16:40 Makefile [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 16:40 OWNERS.md [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 16:40 README.md [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 16:40 VERSION [2022-10-26T16:42:12.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 16:40 bin [2022-10-26T16:42:12.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:40 cmd [2022-10-26T16:42:12.708Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 16:41 coverage.out [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 16:40 go.mod [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 16:40 go.sum [2022-10-26T16:42:12.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 16:40 internal [2022-10-26T16:42:12.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 16:40 snap [2022-10-26T16:42:12.708Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 16:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:42:13.254Z] + 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=ee73e7ec4c5a75450af71e580ef521e59aef9a3d --label arch=amd64 --label version=0.0.0 . [2022-10-26T16:42:13.254Z] Sending build context to Docker daemon 23.33MB [2022-10-26T16:42:13.254Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T16:42:13.254Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T16:42:13.254Z] ---> 1c65a1f24280 [2022-10-26T16:42:13.254Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T16:42:13.820Z] ---> Running in 55116e9c52b7 [2022-10-26T16:42:13.820Z] Removing intermediate container 55116e9c52b7 [2022-10-26T16:42:13.820Z] ---> 3e8555ff9655 [2022-10-26T16:42:13.820Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T16:42:13.820Z] ---> Running in 581e8ddc7360 [2022-10-26T16:42:13.820Z] Removing intermediate container 581e8ddc7360 [2022-10-26T16:42:13.820Z] ---> eb06b2695012 [2022-10-26T16:42:13.820Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T16:42:13.820Z] ---> Running in a02a1a858c04 [2022-10-26T16:42:14.080Z] Removing intermediate container a02a1a858c04 [2022-10-26T16:42:14.080Z] ---> 2cee9e1e5b70 [2022-10-26T16:42:14.080Z] Step 6/26 : WORKDIR /device-virtual-go [2022-10-26T16:42:14.080Z] ---> Running in efe2c9fc12f8 [2022-10-26T16:42:14.080Z] Removing intermediate container efe2c9fc12f8 [2022-10-26T16:42:14.080Z] ---> 730deb8c3a27 [2022-10-26T16:42:14.080Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T16:42:14.080Z] ---> Running in 1287339cdd38 [2022-10-26T16:42:14.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T16:42:14.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T16:42:14.597Z] OK: 216 MiB in 55 packages [2022-10-26T16:42:14.855Z] Removing intermediate container 1287339cdd38 [2022-10-26T16:42:14.855Z] ---> 01fa1520d725 [2022-10-26T16:42:14.855Z] Step 8/26 : COPY go.mod vendor* ./ [2022-10-26T16:42:15.113Z] ---> cdefe93928fd [2022-10-26T16:42:15.113Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T16:42:15.113Z] ---> Running in ac42490c052c [2022-10-26T16:42:15.679Z] Removing intermediate container ac42490c052c [2022-10-26T16:42:15.679Z] ---> b72a49aff06f [2022-10-26T16:42:15.679Z] Step 10/26 : COPY . . [2022-10-26T16:42:16.654Z] ---> c53c7730ef88 [2022-10-26T16:42:16.654Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T16:42:16.913Z] ---> Running in 838dc6cde7a9 [2022-10-26T16:42:16.913Z] Removing intermediate container 838dc6cde7a9 [2022-10-26T16:42:16.913Z] ---> 2a57d9a1d879 [2022-10-26T16:42:16.913Z] Step 12/26 : RUN $MAKE [2022-10-26T16:42:16.913Z] ---> Running in f1eab9a9a03a [2022-10-26T16:42:17.170Z] 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-26T16:42:43.720Z] Removing intermediate container f1eab9a9a03a [2022-10-26T16:42:43.720Z] ---> 2f83d89b1e9c [2022-10-26T16:42:43.720Z] Step 13/26 : FROM alpine:3.16 [2022-10-26T16:42:43.720Z] 3.16: Pulling from library/alpine [2022-10-26T16:42:43.720Z] 213ec9aee27d: Already exists [2022-10-26T16:42:43.721Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T16:42:43.721Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T16:42:43.721Z] ---> 9c6f07244728 [2022-10-26T16:42:43.721Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-26T16:42:43.721Z] ---> Running in a85afd1ba9d9 [2022-10-26T16:42:43.721Z] Removing intermediate container a85afd1ba9d9 [2022-10-26T16:42:43.721Z] ---> ca70f991f061 [2022-10-26T16:42:43.721Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T16:42:43.721Z] ---> Running in 3397fbc40fa1 [2022-10-26T16:42:43.721Z] Removing intermediate container 3397fbc40fa1 [2022-10-26T16:42:43.721Z] ---> 0dab7cef48a2 [2022-10-26T16:42:43.721Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T16:42:43.721Z] ---> Running in 0c4eb32de17b [2022-10-26T16:42:43.721Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T16:42:43.721Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T16:42:43.721Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T16:42:43.721Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T16:42:43.721Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T16:42:43.980Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T16:42:44.549Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T16:42:44.808Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T16:42:45.068Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T16:42:45.068Z] OK: 8 MiB in 20 packages [2022-10-26T16:42:45.635Z] Removing intermediate container 0c4eb32de17b [2022-10-26T16:42:45.635Z] ---> f4357aee47f6 [2022-10-26T16:42:45.635Z] Step 17/26 : WORKDIR / [2022-10-26T16:42:45.635Z] ---> Running in 953561aac9cd [2022-10-26T16:42:45.635Z] Removing intermediate container 953561aac9cd [2022-10-26T16:42:45.635Z] ---> 49a63db18b97 [2022-10-26T16:42:45.635Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-26T16:42:45.893Z] ---> 2b35f7b9ba1e [2022-10-26T16:42:45.893Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-26T16:42:45.893Z] ---> 20c602f6cda7 [2022-10-26T16:42:45.893Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-10-26T16:42:47.270Z] ---> c3895b1d8013 [2022-10-26T16:42:47.270Z] Step 21/26 : EXPOSE 59900 [2022-10-26T16:42:47.270Z] ---> Running in 6a8995b7e840 [2022-10-26T16:42:47.528Z] Removing intermediate container 6a8995b7e840 [2022-10-26T16:42:47.528Z] ---> 636148ea1bc3 [2022-10-26T16:42:47.528Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-10-26T16:42:47.528Z] ---> Running in 552293f5605d [2022-10-26T16:42:47.528Z] Removing intermediate container 552293f5605d [2022-10-26T16:42:47.528Z] ---> 3fa9de6fd981 [2022-10-26T16:42:47.528Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T16:42:47.528Z] ---> Running in b72ed634335e [2022-10-26T16:42:47.528Z] Removing intermediate container b72ed634335e [2022-10-26T16:42:47.528Z] ---> 1ebe64ad60ff [2022-10-26T16:42:47.528Z] Step 24/26 : LABEL arch=amd64 [2022-10-26T16:42:47.528Z] ---> Running in d9fca42618bd [2022-10-26T16:42:47.787Z] Removing intermediate container d9fca42618bd [2022-10-26T16:42:47.787Z] ---> 45fa1d7eafda [2022-10-26T16:42:47.787Z] Step 25/26 : LABEL git_sha=ee73e7ec4c5a75450af71e580ef521e59aef9a3d [2022-10-26T16:42:47.787Z] ---> Running in ceadfaa95913 [2022-10-26T16:42:47.787Z] Removing intermediate container ceadfaa95913 [2022-10-26T16:42:47.787Z] ---> 4bc1bce8ca89 [2022-10-26T16:42:47.787Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T16:42:47.787Z] ---> Running in 4a763e19a7bb [2022-10-26T16:42:48.046Z] Removing intermediate container 4a763e19a7bb [2022-10-26T16:42:48.046Z] ---> e0aff4896f5a [2022-10-26T16:42:48.046Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T16:42:48.046Z] Successfully built e0aff4896f5a [2022-10-26T16:42:48.046Z] 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-26T16:42:48.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T16:42:48.517Z] [2022-10-26T16:42:48.517Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T16:42:48.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T16:42:48.825Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T16:42:48.825Z] 5eb5b503b376: Pulling fs layer [2022-10-26T16:42:48.825Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T16:42:48.825Z] ec43610c2a17: Pulling fs layer [2022-10-26T16:42:48.825Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T16:42:48.825Z] 33b1e0a273af: Pulling fs layer [2022-10-26T16:42:48.825Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T16:42:48.825Z] 2f39f015ded8: Pulling fs layer [2022-10-26T16:42:48.825Z] 3a2ae6a8a46f: Waiting [2022-10-26T16:42:48.825Z] 33b1e0a273af: Waiting [2022-10-26T16:42:48.825Z] 5d3b04190fa2: Waiting [2022-10-26T16:42:48.825Z] 2f39f015ded8: Waiting [2022-10-26T16:42:48.825Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T16:42:48.825Z] 5c69ac0246d0: Download complete [2022-10-26T16:42:48.825Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T16:42:48.825Z] 33b1e0a273af: Verifying Checksum [2022-10-26T16:42:48.825Z] 33b1e0a273af: Download complete [2022-10-26T16:42:49.084Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T16:42:49.084Z] 5d3b04190fa2: Download complete [2022-10-26T16:42:49.084Z] ec43610c2a17: Verifying Checksum [2022-10-26T16:42:49.084Z] ec43610c2a17: Download complete [2022-10-26T16:42:49.084Z] 5eb5b503b376: Verifying Checksum [2022-10-26T16:42:49.084Z] 5eb5b503b376: Download complete [2022-10-26T16:42:49.649Z] 2f39f015ded8: Verifying Checksum [2022-10-26T16:42:49.649Z] 2f39f015ded8: Download complete [2022-10-26T16:42:50.214Z] 5eb5b503b376: Pull complete [2022-10-26T16:42:50.472Z] 5c69ac0246d0: Pull complete [2022-10-26T16:42:51.407Z] ec43610c2a17: Pull complete [2022-10-26T16:42:51.974Z] 3a2ae6a8a46f: Pull complete [2022-10-26T16:42:52.540Z] 33b1e0a273af: Pull complete [2022-10-26T16:42:52.540Z] 5d3b04190fa2: Pull complete [2022-10-26T16:42:57.924Z] 2f39f015ded8: Pull complete [2022-10-26T16:42:57.924Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T16:42:57.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T16:42:57.924Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T16:42:58.007Z] prd-ubuntu20.04-docker-8c-8g-117189 does not seem to be running inside a container [2022-10-26T16:42:58.034Z] $ 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-26T16:43:07.390Z] $ docker top 6ba4c753e0421aae59dd69bee4fdd6c5f855ef1b80b2555f5d2bcd22c9d3f6e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T16:43:07.861Z] ---> job-cost.sh [2022-10-26T16:43:07.861Z] lf-activate-venv: SKIPPING [2022-10-26T16:43:07.861Z] INFO: No Stack... [2022-10-26T16:43:08.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T16:43:08.687Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T16:43:08.974Z] + cat /w/workspace/foundry_device-virtual-go_PR-317/archives/cost.csv [2022-10-26T16:43:08.974Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T16:43:08.985Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] [2022-10-26T16:43:08.991Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] did not exist. Created. [2022-10-26T16:43:08.991Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T16:43:09.292Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T16:43:09.323Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T16:43:09.330Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T16:43:09.345Z] $ docker stop --time=1 6ba4c753e0421aae59dd69bee4fdd6c5f855ef1b80b2555f5d2bcd22c9d3f6e2 [2022-10-26T16:43:10.839Z] $ docker rm -f 6ba4c753e0421aae59dd69bee4fdd6c5f855ef1b80b2555f5d2bcd22c9d3f6e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T17:50:44.819Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117205 in /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] { [Pipeline] ws [2022-10-26T17:50:44.834Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2022-10-26T17:50:44.864Z] The recommended git tool is: git [2022-10-26T17:50:49.746Z] using credential edgex-jenkins-ssh [2022-10-26T17:50:49.764Z] Cloning the remote Git repository [2022-10-26T17:50:49.811Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T17:50:49.888Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2022-10-26T17:50:50.043Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T17:50:50.044Z] > git --version # timeout=10 [2022-10-26T17:50:50.065Z] > git --version # 'git version 2.25.1' [2022-10-26T17:50:50.067Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T17:50:50.115Z] Verifying host key using known hosts file [2022-10-26T17:50:50.342Z] 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-26T17:50:50.354Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T17:50:52.438Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-26T17:50:52.460Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T17:50:53.296Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-26T17:50:53.342Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T17:50:53.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T17:50:53.350Z] Verifying host key using known hosts file [2022-10-26T17:50:53.358Z] 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-26T17:50:53.371Z] > 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-26T17:50:54.018Z] Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit ee73e7ec4c5a75450af71e580ef521e59aef9a3d [2022-10-26T17:50:54.248Z] Merge succeeded, producing ee73e7ec4c5a75450af71e580ef521e59aef9a3d [2022-10-26T17:50:54.248Z] Checking out Revision ee73e7ec4c5a75450af71e580ef521e59aef9a3d (PR-317) [2022-10-26T17:50:54.032Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T17:50:54.049Z] > git checkout -f ee73e7ec4c5a75450af71e580ef521e59aef9a3d # timeout=10 [2022-10-26T17:50:54.134Z] > git remote # timeout=10 [2022-10-26T17:50:54.157Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T17:50:54.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T17:50:54.184Z] Verifying host key using known hosts file [2022-10-26T17:50:54.189Z] 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-26T17:50:54.198Z] > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 [2022-10-26T17:50:54.225Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T17:50:54.253Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T17:50:54.271Z] > git checkout -f ee73e7ec4c5a75450af71e580ef521e59aef9a3d # timeout=10 [2022-10-26T17:50:57.790Z] Commit message: "update versions, address feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T17:50:58.611Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T17:50:58.611Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T17:50:58.611Z] Dload Upload Total Spent Left Speed [2022-10-26T17:50:58.611Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98453 0 --:--:-- --:--:-- --:--:-- 98453 [Pipeline] sh [2022-10-26T17:50:59.353Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T17:50:59.696Z] + + sudo tee /etc/docker/daemon.new [2022-10-26T17:50:59.696Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T17:50:59.696Z] { [2022-10-26T17:50:59.696Z] "registry-mirrors": [ [2022-10-26T17:50:59.696Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T17:50:59.696Z] ], [2022-10-26T17:50:59.696Z] "bip": "10.250.0.254/24", [2022-10-26T17:50:59.696Z] "hosts": [ [2022-10-26T17:50:59.696Z] "tcp://0.0.0.0:5555", [2022-10-26T17:50:59.696Z] "unix:///var/run/docker.sock" [2022-10-26T17:50:59.696Z] ], [2022-10-26T17:50:59.696Z] "mtu": 1458, [2022-10-26T17:50:59.696Z] "selinux-enabled": true, [2022-10-26T17:50:59.696Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T17:50:59.696Z] } [Pipeline] sh [2022-10-26T17:51:00.036Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T17:51:00.387Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T17:51:18.687Z] provisioning config files... [2022-10-26T17:51:18.716Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3806488731566695409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:51:19.066Z] ---> docker-login.sh [2022-10-26T17:51:19.066Z] nexus3.edgexfoundry.org:10001 [2022-10-26T17:51:19.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:51:19.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:51:19.926Z] Configure a credential helper to remove this warning. See [2022-10-26T17:51:19.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:51:19.926Z] [2022-10-26T17:51:19.926Z] Login Succeeded [2022-10-26T17:51:19.926Z] nexus3.edgexfoundry.org:10002 [2022-10-26T17:51:20.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:51:20.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:51:20.468Z] Configure a credential helper to remove this warning. See [2022-10-26T17:51:20.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:51:20.468Z] [2022-10-26T17:51:20.468Z] Login Succeeded [2022-10-26T17:51:20.468Z] nexus3.edgexfoundry.org:10003 [2022-10-26T17:51:20.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:51:20.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:51:20.738Z] Configure a credential helper to remove this warning. See [2022-10-26T17:51:20.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:51:20.738Z] [2022-10-26T17:51:20.738Z] Login Succeeded [2022-10-26T17:51:20.738Z] nexus3.edgexfoundry.org:10004 [2022-10-26T17:51:21.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:51:21.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:51:21.016Z] Configure a credential helper to remove this warning. See [2022-10-26T17:51:21.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:51:21.016Z] [2022-10-26T17:51:21.016Z] Login Succeeded [2022-10-26T17:51:21.016Z] docker.io [2022-10-26T17:51:21.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T17:51:21.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T17:51:21.872Z] Configure a credential helper to remove this warning. See [2022-10-26T17:51:21.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T17:51:21.872Z] [2022-10-26T17:51:21.872Z] Login Succeeded [2022-10-26T17:51:21.872Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T17:51:21.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T17:51:22.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T17:51:22.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T17:51:22.064Z] ========================================================= [2022-10-26T17:51:22.064Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T17:51:22.064Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:51:22.403Z] + 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-26T17:51:22.671Z] Sending build context to Docker daemon 11.83MB [2022-10-26T17:51:22.671Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T17:51:22.671Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T17:51:22.942Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T17:51:22.942Z] 9b18e9b68314: Pulling fs layer [2022-10-26T17:51:22.942Z] d32db5db7311: Pulling fs layer [2022-10-26T17:51:22.942Z] d0c4b47475fc: Pulling fs layer [2022-10-26T17:51:22.942Z] 5831b945b038: Pulling fs layer [2022-10-26T17:51:22.942Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T17:51:22.942Z] e10730c5d714: Pulling fs layer [2022-10-26T17:51:22.942Z] 5dd5c2283517: Pulling fs layer [2022-10-26T17:51:22.942Z] d5ac0230b979: Pulling fs layer [2022-10-26T17:51:22.942Z] e10730c5d714: Waiting [2022-10-26T17:51:22.942Z] 5dd5c2283517: Waiting [2022-10-26T17:51:22.942Z] d5ac0230b979: Waiting [2022-10-26T17:51:22.942Z] 5831b945b038: Waiting [2022-10-26T17:51:22.942Z] 86bbec2aaacd: Waiting [2022-10-26T17:51:22.942Z] d0c4b47475fc: Verifying Checksum [2022-10-26T17:51:22.942Z] d0c4b47475fc: Download complete [2022-10-26T17:51:22.942Z] d32db5db7311: Download complete [2022-10-26T17:51:22.942Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T17:51:22.942Z] 86bbec2aaacd: Download complete [2022-10-26T17:51:22.942Z] 9b18e9b68314: Verifying Checksum [2022-10-26T17:51:22.942Z] 9b18e9b68314: Download complete [2022-10-26T17:51:22.942Z] e10730c5d714: Verifying Checksum [2022-10-26T17:51:22.942Z] e10730c5d714: Download complete [2022-10-26T17:51:23.950Z] 9b18e9b68314: Pull complete [2022-10-26T17:51:23.950Z] d5ac0230b979: Verifying Checksum [2022-10-26T17:51:23.950Z] d5ac0230b979: Download complete [2022-10-26T17:51:24.550Z] d32db5db7311: Pull complete [2022-10-26T17:51:24.822Z] d0c4b47475fc: Pull complete [2022-10-26T17:51:25.411Z] 5dd5c2283517: Verifying Checksum [2022-10-26T17:51:25.411Z] 5dd5c2283517: Download complete [2022-10-26T17:51:26.012Z] 5831b945b038: Verifying Checksum [2022-10-26T17:51:26.012Z] 5831b945b038: Download complete [2022-10-26T17:51:38.349Z] 5831b945b038: Pull complete [2022-10-26T17:51:38.349Z] 86bbec2aaacd: Pull complete [2022-10-26T17:51:38.349Z] e10730c5d714: Pull complete [2022-10-26T17:51:45.013Z] 5dd5c2283517: Pull complete [2022-10-26T17:51:45.978Z] d5ac0230b979: Pull complete [2022-10-26T17:51:45.978Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T17:51:45.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T17:51:46.247Z] ---> 59b3b1a385d4 [2022-10-26T17:51:46.247Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T17:51:48.214Z] ---> Running in 2a3c91ae8d63 [2022-10-26T17:51:48.214Z] Removing intermediate container 2a3c91ae8d63 [2022-10-26T17:51:48.214Z] ---> 0fc0850bb49d [2022-10-26T17:51:48.214Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T17:51:48.484Z] ---> Running in aa5805b8cc6c [2022-10-26T17:51:48.753Z] Removing intermediate container aa5805b8cc6c [2022-10-26T17:51:48.753Z] ---> d265ce3810de [2022-10-26T17:51:48.753Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T17:51:48.753Z] ---> Running in 05866cf2cf0b [2022-10-26T17:51:49.023Z] Removing intermediate container 05866cf2cf0b [2022-10-26T17:51:49.023Z] ---> 7286111d8b9d [2022-10-26T17:51:49.023Z] Step 6/12 : WORKDIR /device-virtual-go [2022-10-26T17:51:49.023Z] ---> Running in 22f733b1f58e [2022-10-26T17:51:49.616Z] Removing intermediate container 22f733b1f58e [2022-10-26T17:51:49.616Z] ---> f53ba36a86ef [2022-10-26T17:51:49.616Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T17:51:49.616Z] ---> Running in a35a5890dce5 [2022-10-26T17:51:50.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T17:51:50.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T17:51:51.813Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T17:51:51.813Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T17:51:51.813Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T17:51:51.813Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T17:51:51.813Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T17:51:51.813Z] OK: 226 MiB in 55 packages [2022-10-26T17:51:52.776Z] Removing intermediate container a35a5890dce5 [2022-10-26T17:51:52.776Z] ---> 7b23a2b3b155 [2022-10-26T17:51:52.776Z] Step 8/12 : COPY go.mod vendor* ./ [2022-10-26T17:51:53.360Z] ---> a952013ada52 [2022-10-26T17:51:53.360Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T17:51:53.360Z] ---> Running in 8d19651b909d [2022-10-26T17:52:49.788Z] Removing intermediate container 8d19651b909d [2022-10-26T17:52:49.788Z] ---> e0cd69c438f1 [2022-10-26T17:52:49.788Z] Step 10/12 : COPY . . [2022-10-26T17:52:49.788Z] ---> ce8d5dd862df [2022-10-26T17:52:49.788Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T17:52:49.788Z] ---> Running in 92cf10a691d2 [2022-10-26T17:52:49.788Z] Removing intermediate container 92cf10a691d2 [2022-10-26T17:52:49.788Z] ---> e86da1a95247 [2022-10-26T17:52:49.788Z] Step 12/12 : RUN $MAKE [2022-10-26T17:52:49.788Z] ---> Running in 7d603c888e6a [2022-10-26T17:52:50.058Z] noop [2022-10-26T17:52:50.646Z] Removing intermediate container 7d603c888e6a [2022-10-26T17:52:50.646Z] ---> 105ea267479a [2022-10-26T17:52:50.646Z] Successfully built 105ea267479a [2022-10-26T17:52:50.646Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:52:51.267Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T17:52:51.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T17:52:51.447Z] prd-ubuntu20.04-docker-arm64-4c-16g-117205 does not seem to be running inside a container [2022-10-26T17:52:51.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T17:52:52.713Z] $ docker top c849a7124da6145f8635db5fde9f70d50cd90dd39b0398d8aa89aa7c8bfcb1b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T17:52:53.541Z] + go version [2022-10-26T17:52:53.541Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T17:52:53.558Z] $ docker stop --time=1 c849a7124da6145f8635db5fde9f70d50cd90dd39b0398d8aa89aa7c8bfcb1b7 [2022-10-26T17:52:55.153Z] $ docker rm -f c849a7124da6145f8635db5fde9f70d50cd90dd39b0398d8aa89aa7c8bfcb1b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:52:55.690Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T17:52:55.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T17:52:55.862Z] prd-ubuntu20.04-docker-arm64-4c-16g-117205 does not seem to be running inside a container [2022-10-26T17:52:55.925Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T17:52:57.075Z] $ docker top dda8d4934af7dff820af3e48c7fbfa6842bfc15b706fdaf07be0d940402db45e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T17:52:57.579Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-26T17:52:57.904Z] + make test [2022-10-26T17:52:57.904Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T17:52:59.847Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-26T17:54:36.530Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-26T17:54:36.530Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.149s coverage: 65.7% of statements [2022-10-26T17:54:36.530Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T17:54:36.530Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T17:54:48.852Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T17:54:48.852Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T17:54:48.852Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T17:54:48.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T17:54:48.885Z] $ docker stop --time=1 dda8d4934af7dff820af3e48c7fbfa6842bfc15b706fdaf07be0d940402db45e [2022-10-26T17:54:50.657Z] $ docker rm -f dda8d4934af7dff820af3e48c7fbfa6842bfc15b706fdaf07be0d940402db45e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T17:54:51.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T17:54:51.626Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T17:54:52.103Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T17:54:52.516Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T17:54:52.839Z] + ls -al . [2022-10-26T17:54:52.839Z] total 200 [2022-10-26T17:54:52.839Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 17:52 . [2022-10-26T17:54:52.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 17:50 .. [2022-10-26T17:54:52.839Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 17:50 .git [2022-10-26T17:54:52.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:50 .github [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 17:50 .gitignore [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 17:50 .golangci.yml [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 17:50 Attribution.txt [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 17:50 CHANGELOG.md [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 26 17:50 Dockerfile [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 17:50 GOVERNANCE.md [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 17:50 Jenkinsfile [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 17:50 LICENSE [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 17:50 Makefile [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 17:50 OWNERS.md [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 17:50 README.md [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 16:40 VERSION [2022-10-26T17:54:52.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 17:50 bin [2022-10-26T17:54:52.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:50 cmd [2022-10-26T17:54:52.839Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 17:54 coverage.out [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 17:50 go.mod [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 17:50 go.sum [2022-10-26T17:54:52.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 17:50 internal [2022-10-26T17:54:52.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 17:50 snap [2022-10-26T17:54:52.839Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 17:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:54:53.185Z] + 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=ee73e7ec4c5a75450af71e580ef521e59aef9a3d --label arch=arm64 --label version=0.0.0 . [2022-10-26T17:54:53.453Z] Sending build context to Docker daemon 11.87MB [2022-10-26T17:54:53.720Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T17:54:53.720Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T17:54:53.720Z] ---> 105ea267479a [2022-10-26T17:54:53.720Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T17:54:53.720Z] ---> Running in 6335368d7b4d [2022-10-26T17:54:53.988Z] Removing intermediate container 6335368d7b4d [2022-10-26T17:54:53.988Z] ---> 14fc80bddcd7 [2022-10-26T17:54:53.988Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T17:54:54.258Z] ---> Running in b6b9cf8b6be1 [2022-10-26T17:54:54.526Z] Removing intermediate container b6b9cf8b6be1 [2022-10-26T17:54:54.526Z] ---> b43529a9a1c9 [2022-10-26T17:54:54.526Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T17:54:54.526Z] ---> Running in 9bf844908000 [2022-10-26T17:54:55.112Z] Removing intermediate container 9bf844908000 [2022-10-26T17:54:55.112Z] ---> 44842a9770c8 [2022-10-26T17:54:55.112Z] Step 6/26 : WORKDIR /device-virtual-go [2022-10-26T17:54:55.112Z] ---> Running in 18ff835f6630 [2022-10-26T17:54:55.382Z] Removing intermediate container 18ff835f6630 [2022-10-26T17:54:55.382Z] ---> f13d2b7eddb5 [2022-10-26T17:54:55.382Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T17:54:55.382Z] ---> Running in 152f0202435a [2022-10-26T17:54:56.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T17:54:56.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T17:54:58.033Z] OK: 226 MiB in 55 packages [2022-10-26T17:54:58.618Z] Removing intermediate container 152f0202435a [2022-10-26T17:54:58.618Z] ---> 5f1217999cbc [2022-10-26T17:54:58.618Z] Step 8/26 : COPY go.mod vendor* ./ [2022-10-26T17:54:59.212Z] ---> 2d82ce951d5a [2022-10-26T17:54:59.212Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T17:54:59.481Z] ---> Running in 57845cebe8e8 [2022-10-26T17:55:02.069Z] Removing intermediate container 57845cebe8e8 [2022-10-26T17:55:02.069Z] ---> d7addaf0f485 [2022-10-26T17:55:02.069Z] Step 10/26 : COPY . . [2022-10-26T17:55:04.689Z] ---> 56d28a2dd9e5 [2022-10-26T17:55:04.689Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T17:55:04.689Z] ---> Running in 493ac2a25739 [2022-10-26T17:55:04.689Z] Removing intermediate container 493ac2a25739 [2022-10-26T17:55:04.689Z] ---> 1f3c85102afb [2022-10-26T17:55:04.689Z] Step 12/26 : RUN $MAKE [2022-10-26T17:55:04.689Z] ---> Running in 5a61840e6feb [2022-10-26T17:55:05.654Z] 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-26T17:57:57.460Z] Removing intermediate container 5a61840e6feb [2022-10-26T17:57:57.460Z] ---> 881f6732ef2f [2022-10-26T17:57:57.460Z] Step 13/26 : FROM alpine:3.16 [2022-10-26T17:57:57.460Z] 3.16: Pulling from library/alpine [2022-10-26T17:57:57.460Z] 9b18e9b68314: Already exists [2022-10-26T17:57:57.460Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T17:57:57.460Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T17:57:57.460Z] ---> a6215f271958 [2022-10-26T17:57:57.460Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-26T17:57:57.460Z] ---> Running in 2b7641295c05 [2022-10-26T17:57:57.460Z] Removing intermediate container 2b7641295c05 [2022-10-26T17:57:57.460Z] ---> 67b706784bcc [2022-10-26T17:57:57.460Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T17:57:57.460Z] ---> Running in ce8983eae446 [2022-10-26T17:57:57.460Z] Removing intermediate container ce8983eae446 [2022-10-26T17:57:57.460Z] ---> ac126d2190d9 [2022-10-26T17:57:57.460Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T17:57:57.460Z] ---> Running in a723605d331e [2022-10-26T17:57:57.460Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T17:57:57.460Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T17:57:57.460Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T17:57:57.460Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T17:57:57.460Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T17:57:57.460Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T17:57:57.460Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T17:57:57.460Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T17:57:57.460Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T17:57:57.460Z] OK: 8 MiB in 20 packages [2022-10-26T17:57:57.460Z] Removing intermediate container a723605d331e [2022-10-26T17:57:57.460Z] ---> d7d72cec2a23 [2022-10-26T17:57:57.460Z] Step 17/26 : WORKDIR / [2022-10-26T17:57:57.460Z] ---> Running in 6dbefc2e425c [2022-10-26T17:57:57.460Z] Removing intermediate container 6dbefc2e425c [2022-10-26T17:57:57.460Z] ---> 86407fab97b8 [2022-10-26T17:57:57.460Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-26T17:57:57.460Z] ---> c44f1ba8374b [2022-10-26T17:57:57.460Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-26T17:57:57.460Z] ---> aea65b3d6c8e [2022-10-26T17:57:57.460Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-10-26T17:57:57.460Z] ---> 5044c37d2d9f [2022-10-26T17:57:57.460Z] Step 21/26 : EXPOSE 59900 [2022-10-26T17:57:57.460Z] ---> Running in 5a286250e03f [2022-10-26T17:57:57.460Z] Removing intermediate container 5a286250e03f [2022-10-26T17:57:57.460Z] ---> 6661c49d4cbd [2022-10-26T17:57:57.460Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-10-26T17:57:57.460Z] ---> Running in c02df28d8deb [2022-10-26T17:57:57.460Z] Removing intermediate container c02df28d8deb [2022-10-26T17:57:57.460Z] ---> cf83122c8d7b [2022-10-26T17:57:57.460Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T17:57:57.460Z] ---> Running in ef91de20d0bf [2022-10-26T17:57:57.460Z] Removing intermediate container ef91de20d0bf [2022-10-26T17:57:57.460Z] ---> 6dfa6e4e9654 [2022-10-26T17:57:57.460Z] Step 24/26 : LABEL arch=arm64 [2022-10-26T17:57:57.460Z] ---> Running in a40a18c3c3a8 [2022-10-26T17:57:57.729Z] Removing intermediate container a40a18c3c3a8 [2022-10-26T17:57:57.729Z] ---> 929c3f336b6f [2022-10-26T17:57:57.729Z] Step 25/26 : LABEL git_sha=ee73e7ec4c5a75450af71e580ef521e59aef9a3d [2022-10-26T17:57:57.996Z] ---> Running in db5480c23221 [2022-10-26T17:57:58.264Z] Removing intermediate container db5480c23221 [2022-10-26T17:57:58.264Z] ---> 41aad2e93e64 [2022-10-26T17:57:58.264Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T17:57:58.264Z] ---> Running in fc627142c124 [2022-10-26T17:57:58.531Z] Removing intermediate container fc627142c124 [2022-10-26T17:57:58.531Z] ---> 3d74206d5879 [2022-10-26T17:57:58.531Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T17:57:58.531Z] Successfully built 3d74206d5879 [2022-10-26T17:57:58.531Z] 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-26T17:57:58.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T17:57:58.971Z] [2022-10-26T17:57:58.971Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:57:59.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T17:57:59.299Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T17:57:59.299Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T17:57:59.299Z] 04944245beec: Pulling fs layer [2022-10-26T17:57:59.299Z] 699f458cf7ca: Pulling fs layer [2022-10-26T17:57:59.299Z] 765212b225bb: Pulling fs layer [2022-10-26T17:57:59.299Z] f23df028b6ca: Pulling fs layer [2022-10-26T17:57:59.299Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T17:57:59.299Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T17:57:59.299Z] 765212b225bb: Waiting [2022-10-26T17:57:59.299Z] f23df028b6ca: Waiting [2022-10-26T17:57:59.299Z] d65c8cfc05b1: Waiting [2022-10-26T17:57:59.299Z] 2437ff75d9bd: Waiting [2022-10-26T17:57:59.567Z] 04944245beec: Verifying Checksum [2022-10-26T17:57:59.567Z] 04944245beec: Download complete [2022-10-26T17:57:59.567Z] 765212b225bb: Verifying Checksum [2022-10-26T17:57:59.567Z] 765212b225bb: Download complete [2022-10-26T17:57:59.567Z] f23df028b6ca: Download complete [2022-10-26T17:57:59.567Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T17:57:59.567Z] d65c8cfc05b1: Download complete [2022-10-26T17:57:59.838Z] 699f458cf7ca: Verifying Checksum [2022-10-26T17:57:59.838Z] 699f458cf7ca: Download complete [2022-10-26T17:58:00.802Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T17:58:00.802Z] 8998bd30e6a1: Download complete [2022-10-26T17:58:02.212Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T17:58:02.212Z] 2437ff75d9bd: Download complete [2022-10-26T17:58:04.802Z] 8998bd30e6a1: Pull complete [2022-10-26T17:58:05.070Z] 04944245beec: Pull complete [2022-10-26T17:58:06.481Z] 699f458cf7ca: Pull complete [2022-10-26T17:58:06.481Z] 765212b225bb: Pull complete [2022-10-26T17:58:07.443Z] f23df028b6ca: Pull complete [2022-10-26T17:58:07.443Z] d65c8cfc05b1: Pull complete [2022-10-26T17:58:22.480Z] 2437ff75d9bd: Pull complete [2022-10-26T17:58:22.480Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T17:58:22.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T17:58:22.480Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T17:58:22.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-117205 does not seem to be running inside a container [2022-10-26T17:58:22.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T17:58:25.500Z] $ docker top d7f6dabc246f43be8e4ed80d59c02bdd583c341f88b45d846605dffba0f42176 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:58:26.355Z] ---> job-cost.sh [2022-10-26T17:58:26.355Z] lf-activate-venv: SKIPPING [2022-10-26T17:58:26.355Z] INFO: No Stack... [2022-10-26T17:58:26.625Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T17:58:27.594Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T17:58:27.934Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2022-10-26T17:58:28.203Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T17:58:28.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] [2022-10-26T17:58:28.276Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] did not exist. Created. [2022-10-26T17:58:28.276Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T17:58:28.936Z] /w/workspace/device-virtual-go/2@tmp/durable-708a119a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T17:58:29.586Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T17:58:29.608Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T17:58:29.652Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T17:58:29.658Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T17:58:29.672Z] $ docker stop --time=1 d7f6dabc246f43be8e4ed80d59c02bdd583c341f88b45d846605dffba0f42176 [2022-10-26T17:58:31.180Z] $ docker rm -f d7f6dabc246f43be8e4ed80d59c02bdd583c341f88b45d846605dffba0f42176 [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-26T17:58:31.553Z] provisioning config files... [2022-10-26T17:58:31.559Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config17596637288848977166tmp [Pipeline] { [Pipeline] sh [2022-10-26T17:58:31.860Z] + set +x [2022-10-26T17:58:31.860Z] + curl -s https://codecov.io/bash [2022-10-26T17:58:31.860Z] + bash -s -- [2022-10-26T17:58:31.860Z] [2022-10-26T17:58:31.860Z] _____ _ [2022-10-26T17:58:31.860Z] / ____| | | [2022-10-26T17:58:31.860Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T17:58:31.860Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T17:58:31.860Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T17:58:31.860Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T17:58:31.860Z] Bash-1.0.6 [2022-10-26T17:58:31.860Z] [2022-10-26T17:58:31.860Z] [2022-10-26T17:58:31.860Z] ==> git version 2.25.1 found [2022-10-26T17:58:31.860Z] ==> 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-26T17:58:31.860Z] Release-Date: 2020-01-08 [2022-10-26T17:58:31.860Z] 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-26T17:58:31.860Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T17:58:31.860Z] ==> Jenkins CI detected. [2022-10-26T17:58:31.860Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-317 [2022-10-26T17:58:31.860Z] project root: . [2022-10-26T17:58:31.860Z] --> token set from env [2022-10-26T17:58:31.860Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T17:58:31.860Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T17:58:31.860Z] ==> Python coveragepy not found [2022-10-26T17:58:31.860Z] ==> Searching for coverage reports in: [2022-10-26T17:58:31.860Z] + . [2022-10-26T17:58:31.860Z] -> Found 1 reports [2022-10-26T17:58:31.860Z] ==> Detecting git/mercurial file structure [2022-10-26T17:58:31.860Z] ==> Reading reports [2022-10-26T17:58:32.120Z] + ./coverage.out bytes=44128 [2022-10-26T17:58:32.120Z] ==> Appending adjustments [2022-10-26T17:58:32.120Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T17:58:32.120Z] + Found adjustments [2022-10-26T17:58:32.120Z] ==> Gzipping contents [2022-10-26T17:58:32.120Z] 8.0K /tmp/codecov.V9XUml.gz [2022-10-26T17:58:32.120Z] ==> Uploading reports [2022-10-26T17:58:32.120Z] url: https://codecov.io [2022-10-26T17:58:32.120Z] query: branch=PR-317&commit=ee73e7ec4c5a75450af71e580ef521e59aef9a3d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= [2022-10-26T17:58:32.120Z] -> Pinging Codecov [2022-10-26T17:58:32.120Z] 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=ee73e7ec4c5a75450af71e580ef521e59aef9a3d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= [2022-10-26T17:58:32.380Z] -> Uploading to [2022-10-26T17:58:32.380Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/5E52B4B073DB2E39498172D8E973AA87/ee73e7ec4c5a75450af71e580ef521e59aef9a3d/bd370972-f97d-48c5-aa35-aeab204a9dfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T175832Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e858b6618915d1e7f8b68968be3af99affeb22c00552bf6f23a4a0648359529 [2022-10-26T17:58:32.380Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T17:58:32.380Z] Dload Upload Total Spent Left Speed [2022-10-26T17:58:32.639Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5500 0 0 100 5500 0 22633 --:--:-- --:--:-- --:--:-- 22633 [2022-10-26T17:58:32.639Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ee73e7ec4c5a75450af71e580ef521e59aef9a3d [Pipeline] } [2022-10-26T17:58:32.646Z] 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-26T17:58:33.301Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-317/archives ] [2022-10-26T17:58:33.301Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T17:58:33.301Z] total 16 [2022-10-26T17:58:33.301Z] drwxr-xr-x 3 root root 4096 Oct 26 16:43 . [2022-10-26T17:58:33.301Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 16:43 .. [2022-10-26T17:58:33.301Z] drwxr-xr-x 2 root root 4096 Oct 26 16:43 cost [2022-10-26T17:58:33.301Z] -rw-r--r-- 1 root root 89 Oct 26 16:43 cost.csv [2022-10-26T17:58:33.301Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T17:58:33.301Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T17:58:33.301Z] total 16 [2022-10-26T17:58:33.301Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 16:43 . [2022-10-26T17:58:33.301Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 16:43 .. [2022-10-26T17:58:33.301Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 16:43 cost [2022-10-26T17:58:33.301Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 26 16:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:58:33.589Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:58:34.453Z] ---> package-listing.sh [2022-10-26T17:58:34.453Z] ++ facter osfamily [2022-10-26T17:58:34.453Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T17:58:34.713Z] + OS_FAMILY=debian [2022-10-26T17:58:34.713Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-317 [2022-10-26T17:58:34.713Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T17:58:34.713Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T17:58:34.713Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T17:58:34.713Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T17:58:34.713Z] + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' [2022-10-26T17:58:34.713Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T17:58:34.713Z] + case "${OS_FAMILY}" in [2022-10-26T17:58:34.713Z] + dpkg -l [2022-10-26T17:58:34.713Z] + grep '^ii' [2022-10-26T17:58:34.713Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T17:58:34.713Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T17:58:34.713Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T17:58:34.713Z] + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' [2022-10-26T17:58:34.713Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-317/archives/ [2022-10-26T17:58:34.713Z] + 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-26T17:58:34.722Z] 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-26T17:58:35.008Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T17:58:35.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T17:58:35.566Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T17:58:35.636Z] prd-ubuntu20.04-docker-8c-8g-117189 does not seem to be running inside a container [2022-10-26T17:58:35.672Z] $ 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-26T17:58:35.899Z] $ docker top 07cf0586dedfb8609e8bf7e3443d4d486e387b81d73197ae7ecb4d130e00d10b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T17:58:36.239Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T17:58:36.523Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T17:58:36.807Z] + ls /var/log/sa-host [2022-10-26T17:58:36.807Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T17:58:36.874Z] provisioning config files... [2022-10-26T17:58:36.882Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config3833667631336274467tmp [Pipeline] { [Pipeline] echo [2022-10-26T17:58:36.896Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:58:37.177Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T17:58:37.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:58:37.509Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T17:58:37.517Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:58:37.798Z] ---> sudo-logs.sh [2022-10-26T17:58:37.798Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T17:58:37.826Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:58:38.106Z] ---> job-cost.sh [2022-10-26T17:58:38.106Z] lf-activate-venv: SKIPPING [2022-10-26T17:58:38.106Z] DEBUG: total: 0.2199999988079071 [2022-10-26T17:58:38.106Z] INFO: Retrieving Stack Cost... [2022-10-26T17:58:38.365Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T17:58:38.933Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T17:58:38.944Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T17:58:39.230Z] ---> logs-deploy.sh [2022-10-26T17:58:39.231Z] lf-activate-venv: SKIPPING [2022-10-26T17:58:39.231Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-317/2 [2022-10-26T17:58:39.231Z] INFO: archiving workspace using pattern(s): [2022-10-26T17:58:40.168Z] Archives upload complete. [2022-10-26T17:58:40.426Z] INFO: archiving logs to Nexus