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 b442787d94312e06e4a88d8e9302be5c07189cfc 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-ssh8343230141327145413.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-ssh8169378131138900841.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-ssh9784583853939283540.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-ssh7596510750647397267.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-ssh17762137964256095943.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 Running on prd-ubuntu20.04-docker-8c-8g-117292 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 > 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 Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit b442787d94312e06e4a88d8e9302be5c07189cfc Merge succeeded, producing b442787d94312e06e4a88d8e9302be5c07189cfc Checking out Revision b442787d94312e06e4a88d8e9302be5c07189cfc (PR-317) > git config core.sparsecheckout # timeout=10 > git checkout -f b442787d94312e06e4a88d8e9302be5c07189cfc # 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 b442787d94312e06e4a88d8e9302be5c07189cfc # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T20:12:40.778Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T20:12:40.832Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T20:12:40.849Z] ========================================================= [2022-10-26T20:12:40.849Z] EdgeX Global Pipelines Version Info [2022-10-26T20:12:40.849Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:12:41.585Z] ------------------- [2022-10-26T20:12:41.585Z] stable info: [2022-10-26T20:12:41.585Z] ------------------- [2022-10-26T20:12:41.585Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T20:12:41.585Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:12:41.585Z] Message: update stable to v1.0.243 > git rev-list --no-walk d9aa0f2e4f0f638f73d89afc540500486731f321 # timeout=10 [2022-10-26T20:12:42.155Z] ------------------- [2022-10-26T20:12:42.155Z] experimental info: [2022-10-26T20:12:42.155Z] ------------------- [2022-10-26T20:12:42.155Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T20:12:42.155Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:12:42.156Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T20:12:42.306Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-26T20:12:42.317Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-26T20:12:42.328Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T20:12:42.339Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T20:12:42.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T20:12:42.360Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T20:12:42.368Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T20:12:42.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T20:12:42.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T20:12:42.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T20:12:42.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T20:12:42.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-26T20:12:42.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T20:12:42.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T20:12:42.435Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:12:42.443Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:12:42.451Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:12:42.460Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:12:42.472Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T20:12:42.481Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T20:12:42.491Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T20:12:42.499Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T20:12:42.507Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T20:12:42.516Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T20:12:42.524Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T20:12:42.532Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T20:12:42.541Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T20:12:42.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-317 [Pipeline] echo [2022-10-26T20:12:42.573Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-317 [Pipeline] echo [2022-10-26T20:12:42.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-317 [Pipeline] echo [2022-10-26T20:12:42.595Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b442787d94312e06e4a88d8e9302be5c07189cfc [Pipeline] echo [2022-10-26T20:12:42.606Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b442787 [Pipeline] echo [2022-10-26T20:12:42.617Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:12:42.652Z] provisioning config files... [2022-10-26T20:12:42.666Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config12155674884839929284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:12:42.968Z] ---> docker-login.sh [2022-10-26T20:12:42.968Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:12:42.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:12:43.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:12:43.229Z] Configure a credential helper to remove this warning. See [2022-10-26T20:12:43.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:12:43.229Z] [2022-10-26T20:12:43.229Z] Login Succeeded [2022-10-26T20:12:43.229Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:12:43.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:12:43.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:12:43.229Z] Configure a credential helper to remove this warning. See [2022-10-26T20:12:43.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:12:43.229Z] [2022-10-26T20:12:43.229Z] Login Succeeded [2022-10-26T20:12:43.229Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:12:43.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:12:43.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:12:43.487Z] Configure a credential helper to remove this warning. See [2022-10-26T20:12:43.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:12:43.487Z] [2022-10-26T20:12:43.487Z] Login Succeeded [2022-10-26T20:12:43.487Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:12:43.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:12:43.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:12:43.487Z] Configure a credential helper to remove this warning. See [2022-10-26T20:12:43.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:12:43.487Z] [2022-10-26T20:12:43.487Z] Login Succeeded [2022-10-26T20:12:43.487Z] docker.io [2022-10-26T20:12:43.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:12:44.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:12:44.004Z] Configure a credential helper to remove this warning. See [2022-10-26T20:12:44.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:12:44.004Z] [2022-10-26T20:12:44.004Z] Login Succeeded [2022-10-26T20:12:44.004Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:12:44.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T20:12:44.357Z] + git rev-list -1 --merges b442787d94312e06e4a88d8e9302be5c07189cfc~1..b442787d94312e06e4a88d8e9302be5c07189cfc [Pipeline] echo [2022-10-26T20:12:44.386Z] -----------> git rev-list -1 --merges b442787d94312e06e4a88d8e9302be5c07189cfc~1..b442787d94312e06e4a88d8e9302be5c07189cfc b442787d94312e06e4a88d8e9302be5c07189cfc [false] [Pipeline] sh [2022-10-26T20:12:44.673Z] + git log --format=format:%s -1 b442787d94312e06e4a88d8e9302be5c07189cfc [Pipeline] echo [2022-10-26T20:12:44.686Z] ========================================================= [2022-10-26T20:12:44.686Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T20:12:44.686Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:12:45.003Z] + git log --format=format:%s -1 b442787d94312e06e4a88d8e9302be5c07189cfc [Pipeline] echo [2022-10-26T20:12:45.012Z] [semverPrep] GIT_COMMIT: b442787d94312e06e4a88d8e9302be5c07189cfc, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo [2022-10-26T20:12:45.022Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T20:12:45.430Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:12:45.431Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T20:12:45.431Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T20:12:45.431Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T20:12:45.431Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T20:12:45.431Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T20:12:45.431Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:12:45.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:12:45.768Z] [2022-10-26T20:12:45.768Z] 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-26T20:12:46.068Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:12:46.068Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T20:12:46.068Z] b85a868b505f: Pulling fs layer [2022-10-26T20:12:46.068Z] e2be974225ed: Pulling fs layer [2022-10-26T20:12:46.068Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T20:12:46.068Z] 988bab9f4d93: Pulling fs layer [2022-10-26T20:12:46.068Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T20:12:46.068Z] eaf3925da568: Pulling fs layer [2022-10-26T20:12:46.068Z] bab4dde63d76: Pulling fs layer [2022-10-26T20:12:46.068Z] bde34c3a00c8: Pulling fs layer [2022-10-26T20:12:46.068Z] b352a97aabf1: Pulling fs layer [2022-10-26T20:12:46.068Z] 4872d77fe225: Pulling fs layer [2022-10-26T20:12:46.068Z] 5851b861e8e6: Pulling fs layer [2022-10-26T20:12:46.068Z] 988bab9f4d93: Waiting [2022-10-26T20:12:46.068Z] bde34c3a00c8: Waiting [2022-10-26T20:12:46.068Z] eaf3925da568: Waiting [2022-10-26T20:12:46.068Z] b352a97aabf1: Waiting [2022-10-26T20:12:46.068Z] bab4dde63d76: Waiting [2022-10-26T20:12:46.068Z] 4872d77fe225: Waiting [2022-10-26T20:12:46.068Z] 5851b861e8e6: Waiting [2022-10-26T20:12:46.068Z] 1469e6f7b9e6: Waiting [2022-10-26T20:12:46.068Z] e2be974225ed: Verifying Checksum [2022-10-26T20:12:46.068Z] e2be974225ed: Download complete [2022-10-26T20:12:46.328Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T20:12:46.328Z] 1469e6f7b9e6: Download complete [2022-10-26T20:12:46.328Z] eaf3925da568: Download complete [2022-10-26T20:12:46.328Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T20:12:46.328Z] 339a4e72a1f5: Download complete [2022-10-26T20:12:46.328Z] bde34c3a00c8: Download complete [2022-10-26T20:12:46.328Z] b352a97aabf1: Download complete [2022-10-26T20:12:46.609Z] 4872d77fe225: Download complete [2022-10-26T20:12:46.609Z] 5851b861e8e6: Verifying Checksum [2022-10-26T20:12:46.609Z] 5851b861e8e6: Download complete [2022-10-26T20:12:46.609Z] b85a868b505f: Verifying Checksum [2022-10-26T20:12:46.609Z] b85a868b505f: Download complete [2022-10-26T20:12:47.177Z] bab4dde63d76: Verifying Checksum [2022-10-26T20:12:47.177Z] bab4dde63d76: Download complete [2022-10-26T20:12:47.744Z] b85a868b505f: Pull complete [2022-10-26T20:12:48.004Z] e2be974225ed: Pull complete [2022-10-26T20:12:48.572Z] 339a4e72a1f5: Pull complete [2022-10-26T20:12:48.573Z] 988bab9f4d93: Pull complete [2022-10-26T20:12:49.141Z] 1469e6f7b9e6: Pull complete [2022-10-26T20:12:49.141Z] eaf3925da568: Pull complete [2022-10-26T20:12:51.062Z] bab4dde63d76: Pull complete [2022-10-26T20:12:51.062Z] bde34c3a00c8: Pull complete [2022-10-26T20:12:51.062Z] b352a97aabf1: Pull complete [2022-10-26T20:12:51.325Z] 4872d77fe225: Pull complete [2022-10-26T20:12:51.325Z] 5851b861e8e6: Pull complete [2022-10-26T20:12:51.325Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T20:12:51.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:12:51.325Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:12:51.413Z] prd-ubuntu20.04-docker-8c-8g-117292 does not seem to be running inside a container [2022-10-26T20:12:51.442Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T20:12:52.957Z] $ docker top b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b -eo pid,comm [2022-10-26T20:12:53.023Z] 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-26T20:12:53.023Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:12:53.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:12:53.050Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:12:53.168Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:12:53.171Z] $ docker exec b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b ssh-agent [2022-10-26T20:12:53.282Z] SSH_AUTH_SOCK=/tmp/ssh-tq8sHemwf5P3/agent.33 [2022-10-26T20:12:53.282Z] SSH_AGENT_PID=39 [2022-10-26T20:12:53.289Z] Running ssh-add (command line suppressed) [2022-10-26T20:12:53.393Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_1148669711261555526.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_1148669711261555526.key) [2022-10-26T20:12:53.407Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:12:53.693Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T20:12:53.705Z] $ docker exec --env ******** --env ******** b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b ssh-agent -k [2022-10-26T20:12:53.815Z] unset SSH_AUTH_SOCK; [2022-10-26T20:12:53.818Z] unset SSH_AGENT_PID; [2022-10-26T20:12:53.818Z] echo Agent pid 39 killed; [2022-10-26T20:12:53.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T20:12:53.858Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:12:53.858Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:12:53.981Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:12:53.983Z] $ docker exec b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b ssh-agent [2022-10-26T20:12:54.109Z] SSH_AUTH_SOCK=/tmp/ssh-3W3xihej3AQM/agent.71 [2022-10-26T20:12:54.109Z] SSH_AGENT_PID=77 [2022-10-26T20:12:54.113Z] Running ssh-add (command line suppressed) [2022-10-26T20:12:54.220Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_18317255215096171096.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_18317255215096171096.key) [2022-10-26T20:12:54.234Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:12:54.519Z] + git semver init [2022-10-26T20:12:54.778Z] 2022-10-26 20:12:54,758 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T20:12:54.778Z] 2022-10-26 20:12:54,759 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-317/.semver [2022-10-26T20:12:54.778Z] 2022-10-26 20:12:54,760 [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-26T20:12:54.778Z] 2022-10-26 20:12:54,760 [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-26T20:12:56.155Z] 2022-10-26 20:12:55,924 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-317/.git/info/exclude [2022-10-26T20:12:56.155Z] 2022-10-26 20:12:55,924 [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-26T20:12:56.155Z] 2022-10-26 20:12:55,925 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 [2022-10-26T20:12:56.155Z] 2022-10-26 20:12:55,929 [execute] INFO git cat-file --batch-check [2022-10-26T20:12:56.155Z] 2022-10-26 20:12:55,930 [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-26T20:12:56.155Z] 2022-10-26 20:12:55,936 [execute] INFO git cat-file --batch [2022-10-26T20:12:56.155Z] 2022-10-26 20:12:55,937 [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-26T20:12:56.155Z] 2022-10-26 20:12:55,942 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 [2022-10-26T20:12:56.155Z] 0.0.0 [Pipeline] } [2022-10-26T20:12:56.164Z] $ docker exec --env ******** --env ******** b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b ssh-agent -k [2022-10-26T20:12:56.272Z] unset SSH_AUTH_SOCK; [2022-10-26T20:12:56.272Z] unset SSH_AGENT_PID; [2022-10-26T20:12:56.272Z] echo Agent pid 77 killed; [2022-10-26T20:12:56.282Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:12:56.585Z] + git semver [Pipeline] } [2022-10-26T20:12:56.857Z] $ docker stop --time=1 b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b [2022-10-26T20:12:58.352Z] $ docker rm -f b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:12:58.723Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T20:12:58.915Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T20:12:58.918Z] [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-26T20:12:59.052Z] provisioning config files... [2022-10-26T20:12:59.064Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config14179663666485634252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:12:59.360Z] ---> docker-login.sh [2022-10-26T20:12:59.360Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:12:59.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:12:59.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:12:59.360Z] Configure a credential helper to remove this warning. See [2022-10-26T20:12:59.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:12:59.360Z] [2022-10-26T20:12:59.360Z] Login Succeeded [2022-10-26T20:12:59.360Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:12:59.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:12:59.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:12:59.360Z] Configure a credential helper to remove this warning. See [2022-10-26T20:12:59.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:12:59.360Z] [2022-10-26T20:12:59.360Z] Login Succeeded [2022-10-26T20:12:59.360Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:12:59.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:12:59.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:12:59.620Z] Configure a credential helper to remove this warning. See [2022-10-26T20:12:59.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:12:59.620Z] [2022-10-26T20:12:59.620Z] Login Succeeded [2022-10-26T20:12:59.620Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:12:59.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:12:59.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:12:59.620Z] Configure a credential helper to remove this warning. See [2022-10-26T20:12:59.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:12:59.620Z] [2022-10-26T20:12:59.620Z] Login Succeeded [2022-10-26T20:12:59.620Z] docker.io [2022-10-26T20:12:59.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:13:00.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:13:00.138Z] Configure a credential helper to remove this warning. See [2022-10-26T20:13:00.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:13:00.138Z] [2022-10-26T20:13:00.138Z] Login Succeeded [2022-10-26T20:13:00.138Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:13:00.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:13:00.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:13:00.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:13:00.234Z] ========================================================= [2022-10-26T20:13:00.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T20:13:00.234Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:13:00.548Z] + 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-26T20:13:00.549Z] Sending build context to Docker daemon 23.27MB [2022-10-26T20:13:00.549Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:13:00.549Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T20:13:00.808Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T20:13:00.808Z] 213ec9aee27d: Pulling fs layer [2022-10-26T20:13:00.808Z] 4583459ba037: Pulling fs layer [2022-10-26T20:13:00.808Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T20:13:00.808Z] 53926ce57604: Pulling fs layer [2022-10-26T20:13:00.808Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T20:13:00.808Z] 30f14e443154: Pulling fs layer [2022-10-26T20:13:00.808Z] 801331c1e519: Pulling fs layer [2022-10-26T20:13:00.808Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T20:13:00.808Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T20:13:00.808Z] 801331c1e519: Waiting [2022-10-26T20:13:00.808Z] 99cc6dd402b0: Waiting [2022-10-26T20:13:00.808Z] 7d9ed39f4882: Waiting [2022-10-26T20:13:00.808Z] 21b2b0c7a3f4: Waiting [2022-10-26T20:13:00.808Z] 30f14e443154: Waiting [2022-10-26T20:13:00.808Z] 93c1e223e6f2: Download complete [2022-10-26T20:13:00.808Z] 4583459ba037: Verifying Checksum [2022-10-26T20:13:00.808Z] 4583459ba037: Download complete [2022-10-26T20:13:00.808Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T20:13:00.808Z] 21b2b0c7a3f4: Download complete [2022-10-26T20:13:00.808Z] 213ec9aee27d: Verifying Checksum [2022-10-26T20:13:00.808Z] 213ec9aee27d: Download complete [2022-10-26T20:13:00.808Z] 801331c1e519: Download complete [2022-10-26T20:13:01.076Z] 213ec9aee27d: Pull complete [2022-10-26T20:13:01.076Z] 4583459ba037: Pull complete [2022-10-26T20:13:01.357Z] 93c1e223e6f2: Pull complete [2022-10-26T20:13:01.624Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T20:13:01.624Z] 7d9ed39f4882: Download complete [2022-10-26T20:13:01.624Z] 53926ce57604: Download complete [2022-10-26T20:13:01.624Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T20:13:01.624Z] 99cc6dd402b0: Download complete [2022-10-26T20:13:05.816Z] 53926ce57604: Pull complete [2022-10-26T20:13:05.816Z] 21b2b0c7a3f4: Pull complete [2022-10-26T20:13:05.816Z] 30f14e443154: Pull complete [2022-10-26T20:13:05.816Z] 801331c1e519: Pull complete [2022-10-26T20:13:08.349Z] 99cc6dd402b0: Pull complete [2022-10-26T20:13:08.931Z] 7d9ed39f4882: Pull complete [2022-10-26T20:13:08.931Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T20:13:08.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T20:13:08.931Z] ---> 1dedd983c030 [2022-10-26T20:13:08.931Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:13:10.847Z] ---> Running in 3806eff737ed [2022-10-26T20:13:10.847Z] Removing intermediate container 3806eff737ed [2022-10-26T20:13:10.847Z] ---> d94d32b1ba74 [2022-10-26T20:13:10.847Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:13:10.847Z] ---> Running in bb0fba9d5f43 [2022-10-26T20:13:10.847Z] Removing intermediate container bb0fba9d5f43 [2022-10-26T20:13:10.847Z] ---> 418309b25f19 [2022-10-26T20:13:10.847Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:13:10.847Z] ---> Running in 2a0dbf3129a4 [2022-10-26T20:13:11.107Z] Removing intermediate container 2a0dbf3129a4 [2022-10-26T20:13:11.107Z] ---> 4ffacdbf93bf [2022-10-26T20:13:11.107Z] Step 6/12 : WORKDIR /device-virtual-go [2022-10-26T20:13:11.107Z] ---> Running in f7d67c695c52 [2022-10-26T20:13:11.107Z] Removing intermediate container f7d67c695c52 [2022-10-26T20:13:11.107Z] ---> be03704addaa [2022-10-26T20:13:11.107Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:13:11.107Z] ---> Running in 9704e89c605b [2022-10-26T20:13:11.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:13:11.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:13:11.626Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:13:11.884Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T20:13:11.884Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:13:11.884Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:13:11.884Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:13:11.884Z] OK: 216 MiB in 55 packages [2022-10-26T20:13:12.452Z] Removing intermediate container 9704e89c605b [2022-10-26T20:13:12.452Z] ---> 05cbbe3f35c0 [2022-10-26T20:13:12.452Z] Step 8/12 : COPY go.mod vendor* ./ [2022-10-26T20:13:12.452Z] ---> 304ca250e0f5 [2022-10-26T20:13:12.452Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:13:12.452Z] ---> Running in c8a0d37b928a [2022-10-26T20:13:14.007Z] Still waiting to schedule task [2022-10-26T20:13:14.007Z] ‘prd-ubuntu20.04-docker-8c-8g-117271’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T20:13:14.007Z] ‘prd-ubuntu20.04-docker-8c-8g-117291’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T20:13:14.007Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117281’ is offline [2022-10-26T20:13:14.007Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117284’ is offline [2022-10-26T20:13:14.007Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117294’ is offline [2022-10-26T20:13:14.007Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117295’ is offline [2022-10-26T20:13:30.540Z] Removing intermediate container c8a0d37b928a [2022-10-26T20:13:30.540Z] ---> a051fc027cff [2022-10-26T20:13:30.540Z] Step 10/12 : COPY . . [2022-10-26T20:13:30.540Z] ---> 7278d7698577 [2022-10-26T20:13:30.540Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:13:30.540Z] ---> Running in 21963d6158aa [2022-10-26T20:13:30.540Z] Removing intermediate container 21963d6158aa [2022-10-26T20:13:30.540Z] ---> 0a3d8b55c262 [2022-10-26T20:13:30.540Z] Step 12/12 : RUN $MAKE [2022-10-26T20:13:30.540Z] ---> Running in 353cb7202557 [2022-10-26T20:13:30.540Z] noop [2022-10-26T20:13:30.800Z] Removing intermediate container 353cb7202557 [2022-10-26T20:13:30.800Z] ---> 71b97d75bda4 [2022-10-26T20:13:30.800Z] Successfully built 71b97d75bda4 [2022-10-26T20:13:30.800Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:13:31.118Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:13:31.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:13:31.192Z] prd-ubuntu20.04-docker-8c-8g-117292 does not seem to be running inside a container [2022-10-26T20:13:31.223Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-26T20:13:31.614Z] $ docker top 7620190a6d94e0459aa6c636b7769b1cb850a93b50b79bb3c87436a0c95f5d5f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:13:31.965Z] + go version [2022-10-26T20:13:31.965Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T20:13:31.975Z] $ docker stop --time=1 7620190a6d94e0459aa6c636b7769b1cb850a93b50b79bb3c87436a0c95f5d5f [2022-10-26T20:13:33.289Z] $ docker rm -f 7620190a6d94e0459aa6c636b7769b1cb850a93b50b79bb3c87436a0c95f5d5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:13:33.697Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:13:33.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:13:33.771Z] prd-ubuntu20.04-docker-8c-8g-117292 does not seem to be running inside a container [2022-10-26T20:13:33.802Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-26T20:13:34.203Z] $ docker top 9ae05c5be4781d9bd9a0754ec34faf80e8c565f55a2e745fb271210ec6183cc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:13:34.547Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:13:34.836Z] + make test [2022-10-26T20:13:34.836Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:13:35.094Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-26T20:13:45.059Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-26T20:13:45.316Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements [2022-10-26T20:13:51.883Z] 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-26T20:13:52.140Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:13:55.420Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:13:55.420Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:13:55.420Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:13:55.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:13:55.446Z] $ docker stop --time=1 9ae05c5be4781d9bd9a0754ec34faf80e8c565f55a2e745fb271210ec6183cc7 [2022-10-26T20:13:57.375Z] $ docker rm -f 9ae05c5be4781d9bd9a0754ec34faf80e8c565f55a2e745fb271210ec6183cc7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:13:57.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:13:57.861Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T20:13:58.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:13:58.545Z] + ls -al . [2022-10-26T20:13:58.545Z] total 204 [2022-10-26T20:13:58.545Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:13 . [2022-10-26T20:13:58.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:12 .. [2022-10-26T20:13:58.545Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:13 .git [2022-10-26T20:13:58.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:12 .github [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 20:12 .gitignore [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:12 .golangci.yml [2022-10-26T20:13:58.545Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:12 .semver [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 20:12 Attribution.txt [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 20:12 CHANGELOG.md [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 26 20:12 Dockerfile [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:12 GOVERNANCE.md [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 20:12 Jenkinsfile [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:12 LICENSE [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 20:12 Makefile [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 20:12 OWNERS.md [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 20:12 README.md [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:12 VERSION [2022-10-26T20:13:58.545Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:12 bin [2022-10-26T20:13:58.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:12 cmd [2022-10-26T20:13:58.545Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 20:13 coverage.out [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 20:12 go.mod [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 20:12 go.sum [2022-10-26T20:13:58.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:12 internal [2022-10-26T20:13:58.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:12 snap [2022-10-26T20:13:58.545Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 20:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:13:58.842Z] + 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=b442787d94312e06e4a88d8e9302be5c07189cfc --label arch=amd64 --label version=0.0.0 . [2022-10-26T20:13:58.842Z] Sending build context to Docker daemon 23.31MB [2022-10-26T20:13:58.842Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:13:58.842Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T20:13:58.842Z] ---> 71b97d75bda4 [2022-10-26T20:13:58.842Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:13:59.099Z] ---> Running in 51a24902f512 [2022-10-26T20:13:59.099Z] Removing intermediate container 51a24902f512 [2022-10-26T20:13:59.099Z] ---> 222538be880e [2022-10-26T20:13:59.099Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:13:59.356Z] ---> Running in 18e574fdcb40 [2022-10-26T20:13:59.356Z] Removing intermediate container 18e574fdcb40 [2022-10-26T20:13:59.356Z] ---> 4d7c20ccb16b [2022-10-26T20:13:59.356Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:13:59.356Z] ---> Running in c41b77709318 [2022-10-26T20:13:59.356Z] Removing intermediate container c41b77709318 [2022-10-26T20:13:59.356Z] ---> 4f7a5f46c6eb [2022-10-26T20:13:59.356Z] Step 6/26 : WORKDIR /device-virtual-go [2022-10-26T20:13:59.613Z] ---> Running in 428ddcff3295 [2022-10-26T20:13:59.613Z] Removing intermediate container 428ddcff3295 [2022-10-26T20:13:59.613Z] ---> 73214041b82b [2022-10-26T20:13:59.613Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:13:59.613Z] ---> Running in acdd1c908874 [2022-10-26T20:13:59.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:13:59.873Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:14:00.132Z] OK: 216 MiB in 55 packages [2022-10-26T20:14:00.701Z] Removing intermediate container acdd1c908874 [2022-10-26T20:14:00.701Z] ---> a3d0ab5182cf [2022-10-26T20:14:00.701Z] Step 8/26 : COPY go.mod vendor* ./ [2022-10-26T20:14:00.701Z] ---> 8b404becf40e [2022-10-26T20:14:00.701Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:14:00.701Z] ---> Running in cf2ae3627c38 [2022-10-26T20:14:01.644Z] Removing intermediate container cf2ae3627c38 [2022-10-26T20:14:01.644Z] ---> 198feb9945e9 [2022-10-26T20:14:01.644Z] Step 10/26 : COPY . . [2022-10-26T20:14:01.904Z] ---> 84e08c04d118 [2022-10-26T20:14:01.904Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:14:01.904Z] ---> Running in 3a46c0b007af [2022-10-26T20:14:02.164Z] Removing intermediate container 3a46c0b007af [2022-10-26T20:14:02.164Z] ---> 472a23fe2cdf [2022-10-26T20:14:02.164Z] Step 12/26 : RUN $MAKE [2022-10-26T20:14:02.164Z] ---> Running in 7ef1e6d48aae [2022-10-26T20:14:02.422Z] 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-26T20:14:24.426Z] Removing intermediate container 7ef1e6d48aae [2022-10-26T20:14:24.426Z] ---> cb4cb3744ee5 [2022-10-26T20:14:24.426Z] Step 13/26 : FROM alpine:3.16 [2022-10-26T20:14:24.426Z] 3.16: Pulling from library/alpine [2022-10-26T20:14:24.426Z] 213ec9aee27d: Already exists [2022-10-26T20:14:24.426Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:14:24.426Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:14:24.426Z] ---> 9c6f07244728 [2022-10-26T20:14:24.426Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-26T20:14:24.426Z] ---> Running in 475e01109b13 [2022-10-26T20:14:24.426Z] Removing intermediate container 475e01109b13 [2022-10-26T20:14:24.426Z] ---> f86f446f91a8 [2022-10-26T20:14:24.426Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T20:14:24.426Z] ---> Running in 40f6742f51d3 [2022-10-26T20:14:24.426Z] Removing intermediate container 40f6742f51d3 [2022-10-26T20:14:24.426Z] ---> 38d76f1440ed [2022-10-26T20:14:24.426Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:14:24.426Z] ---> Running in 39e9646fdbff [2022-10-26T20:14:24.427Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:14:24.427Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:14:24.427Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:14:24.685Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:14:24.944Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:14:25.511Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:14:25.769Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:14:26.335Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:14:26.593Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:14:26.593Z] OK: 8 MiB in 20 packages [2022-10-26T20:14:26.850Z] Removing intermediate container 39e9646fdbff [2022-10-26T20:14:26.850Z] ---> 74b9ba8b9f63 [2022-10-26T20:14:26.850Z] Step 17/26 : WORKDIR / [2022-10-26T20:14:27.108Z] ---> Running in 03f16d65a893 [2022-10-26T20:14:27.108Z] Removing intermediate container 03f16d65a893 [2022-10-26T20:14:27.108Z] ---> dac6383219e0 [2022-10-26T20:14:27.108Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-26T20:14:27.108Z] ---> 41c6f67b23ec [2022-10-26T20:14:27.108Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-26T20:14:27.366Z] ---> cbe2ec6b141e [2022-10-26T20:14:27.366Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-10-26T20:14:27.931Z] ---> f56195539b89 [2022-10-26T20:14:27.931Z] Step 21/26 : EXPOSE 59900 [2022-10-26T20:14:27.931Z] ---> Running in 18ae8f7374bc [2022-10-26T20:14:28.189Z] Removing intermediate container 18ae8f7374bc [2022-10-26T20:14:28.189Z] ---> 217fbda8568f [2022-10-26T20:14:28.189Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-10-26T20:14:28.189Z] ---> Running in 1f59c02ba79a [2022-10-26T20:14:28.189Z] Removing intermediate container 1f59c02ba79a [2022-10-26T20:14:28.189Z] ---> f21b8ebd3694 [2022-10-26T20:14:28.189Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:14:28.189Z] ---> Running in 4fa371ac2bd4 [2022-10-26T20:14:28.447Z] Removing intermediate container 4fa371ac2bd4 [2022-10-26T20:14:28.447Z] ---> 608be0864e1a [2022-10-26T20:14:28.447Z] Step 24/26 : LABEL arch=amd64 [2022-10-26T20:14:28.447Z] ---> Running in 459e120b6f33 [2022-10-26T20:14:28.447Z] Removing intermediate container 459e120b6f33 [2022-10-26T20:14:28.447Z] ---> 67f68705f7ae [2022-10-26T20:14:28.447Z] Step 25/26 : LABEL git_sha=b442787d94312e06e4a88d8e9302be5c07189cfc [2022-10-26T20:14:28.447Z] ---> Running in add09e0c834b [2022-10-26T20:14:28.704Z] Removing intermediate container add09e0c834b [2022-10-26T20:14:28.704Z] ---> a834df9cc78d [2022-10-26T20:14:28.704Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T20:14:28.704Z] ---> Running in 857d70df2351 [2022-10-26T20:14:28.704Z] Removing intermediate container 857d70df2351 [2022-10-26T20:14:28.704Z] ---> 47996dd0cd78 [2022-10-26T20:14:28.704Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:14:28.704Z] Successfully built 47996dd0cd78 [2022-10-26T20:14:28.704Z] 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-26T20:14:29.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:14:29.120Z] [2022-10-26T20:14:29.120Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:14:29.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:14:29.411Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T20:14:29.411Z] 5eb5b503b376: Pulling fs layer [2022-10-26T20:14:29.411Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T20:14:29.411Z] ec43610c2a17: Pulling fs layer [2022-10-26T20:14:29.411Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T20:14:29.411Z] 33b1e0a273af: Pulling fs layer [2022-10-26T20:14:29.411Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T20:14:29.411Z] 2f39f015ded8: Pulling fs layer [2022-10-26T20:14:29.411Z] 33b1e0a273af: Waiting [2022-10-26T20:14:29.411Z] 3a2ae6a8a46f: Waiting [2022-10-26T20:14:29.411Z] 5d3b04190fa2: Waiting [2022-10-26T20:14:29.411Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T20:14:29.411Z] 5c69ac0246d0: Download complete [2022-10-26T20:14:29.411Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T20:14:29.411Z] 33b1e0a273af: Verifying Checksum [2022-10-26T20:14:29.411Z] 33b1e0a273af: Download complete [2022-10-26T20:14:29.670Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T20:14:29.670Z] 5d3b04190fa2: Download complete [2022-10-26T20:14:29.670Z] ec43610c2a17: Verifying Checksum [2022-10-26T20:14:29.670Z] ec43610c2a17: Download complete [2022-10-26T20:14:29.670Z] 5eb5b503b376: Verifying Checksum [2022-10-26T20:14:29.670Z] 5eb5b503b376: Download complete [2022-10-26T20:14:30.235Z] 2f39f015ded8: Download complete [2022-10-26T20:14:30.801Z] 5eb5b503b376: Pull complete [2022-10-26T20:14:31.059Z] 5c69ac0246d0: Pull complete [2022-10-26T20:14:31.316Z] ec43610c2a17: Pull complete [2022-10-26T20:14:31.573Z] 3a2ae6a8a46f: Pull complete [2022-10-26T20:14:31.573Z] 33b1e0a273af: Pull complete [2022-10-26T20:14:31.830Z] 5d3b04190fa2: Pull complete [2022-10-26T20:14:36.011Z] 2f39f015ded8: Pull complete [2022-10-26T20:14:36.011Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T20:14:36.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:14:36.011Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:14:36.084Z] prd-ubuntu20.04-docker-8c-8g-117292 does not seem to be running inside a container [2022-10-26T20:14:36.107Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:14:37.668Z] $ docker top c5ac3edd2becba129df49ecd4c8f50d476a8c4526057086be344c95c9a9f95bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:14:38.039Z] ---> job-cost.sh [2022-10-26T20:14:38.039Z] lf-activate-venv: SKIPPING [2022-10-26T20:14:38.039Z] INFO: No Stack... [2022-10-26T20:14:38.298Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:14:38.557Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:14:39.095Z] + cat /w/workspace/foundry_device-virtual-go_PR-317/archives/cost.csv [2022-10-26T20:14:39.095Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:14:39.107Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] [2022-10-26T20:14:39.113Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] did not exist. Created. [2022-10-26T20:14:39.113Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:14:39.414Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T20:14:39.444Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:14:39.450Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:14:39.467Z] $ docker stop --time=1 c5ac3edd2becba129df49ecd4c8f50d476a8c4526057086be344c95c9a9f95bc [2022-10-26T20:14:40.627Z] $ docker rm -f c5ac3edd2becba129df49ecd4c8f50d476a8c4526057086be344c95c9a9f95bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T20:15:02.701Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117297 in /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] { [Pipeline] ws [2022-10-26T20:15:02.716Z] Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout [2022-10-26T20:15:02.747Z] The recommended git tool is: git [2022-10-26T20:15:08.850Z] using credential edgex-jenkins-ssh [2022-10-26T20:15:08.869Z] Cloning the remote Git repository [2022-10-26T20:15:08.929Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T20:15:09.024Z] > git init /w/workspace/device-virtual-go/4 # timeout=10 [2022-10-26T20:15:09.205Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T20:15:09.207Z] > git --version # timeout=10 [2022-10-26T20:15:09.240Z] > git --version # 'git version 2.25.1' [2022-10-26T20:15:09.243Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:15:09.300Z] Verifying host key using known hosts file [2022-10-26T20:15:09.569Z] 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-26T20:15:09.585Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:15:11.843Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-26T20:15:11.871Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:15:12.925Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-26T20:15:12.981Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T20:15:12.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:15:13.668Z] Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit b442787d94312e06e4a88d8e9302be5c07189cfc [2022-10-26T20:15:13.968Z] Merge succeeded, producing b442787d94312e06e4a88d8e9302be5c07189cfc [2022-10-26T20:15:13.969Z] Checking out Revision b442787d94312e06e4a88d8e9302be5c07189cfc (PR-317) [2022-10-26T20:15:12.990Z] Verifying host key using known hosts file [2022-10-26T20:15:12.998Z] 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-26T20:15:13.012Z] > 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-26T20:15:13.691Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:15:13.718Z] > git checkout -f b442787d94312e06e4a88d8e9302be5c07189cfc # timeout=10 [2022-10-26T20:15:13.829Z] > git remote # timeout=10 [2022-10-26T20:15:13.857Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T20:15:13.884Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:15:13.900Z] Verifying host key using known hosts file [2022-10-26T20:15:13.905Z] 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-26T20:15:13.916Z] > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 [2022-10-26T20:15:13.945Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T20:15:13.977Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:15:13.994Z] > git checkout -f b442787d94312e06e4a88d8e9302be5c07189cfc # timeout=10 [2022-10-26T20:15:17.617Z] Commit message: "build: Latest go-mods, config and Dockerfile fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:15:18.565Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T20:15:18.565Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:15:18.565Z] Dload Upload Total Spent Left Speed [2022-10-26T20:15:18.565Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2022-10-26T20:15:19.366Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T20:15:19.707Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T20:15:19.707Z] + sudo tee /etc/docker/daemon.new [2022-10-26T20:15:19.707Z] { [2022-10-26T20:15:19.707Z] "registry-mirrors": [ [2022-10-26T20:15:19.707Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T20:15:19.707Z] ], [2022-10-26T20:15:19.707Z] "bip": "10.250.0.254/24", [2022-10-26T20:15:19.707Z] "hosts": [ [2022-10-26T20:15:19.707Z] "tcp://0.0.0.0:5555", [2022-10-26T20:15:19.707Z] "unix:///var/run/docker.sock" [2022-10-26T20:15:19.707Z] ], [2022-10-26T20:15:19.707Z] "mtu": 1458, [2022-10-26T20:15:19.707Z] "selinux-enabled": true, [2022-10-26T20:15:19.707Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T20:15:19.707Z] } [Pipeline] sh [2022-10-26T20:15:20.044Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T20:15:20.391Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:15:38.722Z] provisioning config files... [2022-10-26T20:15:38.759Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config16668899674213975136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:15:39.136Z] ---> docker-login.sh [2022-10-26T20:15:39.136Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:15:39.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:15:39.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:15:39.729Z] Configure a credential helper to remove this warning. See [2022-10-26T20:15:39.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:15:39.729Z] [2022-10-26T20:15:39.729Z] Login Succeeded [2022-10-26T20:15:40.002Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:15:40.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:15:40.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:15:40.276Z] Configure a credential helper to remove this warning. See [2022-10-26T20:15:40.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:15:40.276Z] [2022-10-26T20:15:40.276Z] Login Succeeded [2022-10-26T20:15:40.276Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:15:40.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:15:40.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:15:40.548Z] Configure a credential helper to remove this warning. See [2022-10-26T20:15:40.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:15:40.548Z] [2022-10-26T20:15:40.548Z] Login Succeeded [2022-10-26T20:15:40.548Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:15:40.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:15:41.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:15:41.102Z] Configure a credential helper to remove this warning. See [2022-10-26T20:15:41.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:15:41.102Z] [2022-10-26T20:15:41.102Z] Login Succeeded [2022-10-26T20:15:41.102Z] docker.io [2022-10-26T20:15:41.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:15:41.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:15:41.644Z] Configure a credential helper to remove this warning. See [2022-10-26T20:15:41.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:15:41.644Z] [2022-10-26T20:15:41.644Z] Login Succeeded [2022-10-26T20:15:41.644Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:15:41.661Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:15:41.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:15:41.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:15:41.877Z] ========================================================= [2022-10-26T20:15:41.877Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T20:15:41.877Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:15:42.251Z] + 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-26T20:15:42.523Z] Sending build context to Docker daemon 11.8MB [2022-10-26T20:15:42.797Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:15:42.797Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T20:15:42.797Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T20:15:42.797Z] 9b18e9b68314: Pulling fs layer [2022-10-26T20:15:42.797Z] d32db5db7311: Pulling fs layer [2022-10-26T20:15:42.797Z] d0c4b47475fc: Pulling fs layer [2022-10-26T20:15:42.797Z] 5831b945b038: Pulling fs layer [2022-10-26T20:15:42.797Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T20:15:42.797Z] e10730c5d714: Pulling fs layer [2022-10-26T20:15:42.797Z] 5dd5c2283517: Pulling fs layer [2022-10-26T20:15:42.797Z] d5ac0230b979: Pulling fs layer [2022-10-26T20:15:42.797Z] e10730c5d714: Waiting [2022-10-26T20:15:42.797Z] 5dd5c2283517: Waiting [2022-10-26T20:15:42.797Z] d5ac0230b979: Waiting [2022-10-26T20:15:42.797Z] 86bbec2aaacd: Waiting [2022-10-26T20:15:42.797Z] d0c4b47475fc: Verifying Checksum [2022-10-26T20:15:42.797Z] d0c4b47475fc: Download complete [2022-10-26T20:15:42.797Z] d32db5db7311: Verifying Checksum [2022-10-26T20:15:42.797Z] d32db5db7311: Download complete [2022-10-26T20:15:42.797Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T20:15:42.797Z] 86bbec2aaacd: Download complete [2022-10-26T20:15:43.073Z] e10730c5d714: Verifying Checksum [2022-10-26T20:15:43.074Z] e10730c5d714: Download complete [2022-10-26T20:15:43.074Z] 9b18e9b68314: Verifying Checksum [2022-10-26T20:15:43.074Z] 9b18e9b68314: Download complete [2022-10-26T20:15:44.072Z] 9b18e9b68314: Pull complete [2022-10-26T20:15:44.072Z] d5ac0230b979: Verifying Checksum [2022-10-26T20:15:44.072Z] d5ac0230b979: Download complete [2022-10-26T20:15:44.670Z] d32db5db7311: Pull complete [2022-10-26T20:15:44.947Z] d0c4b47475fc: Pull complete [2022-10-26T20:15:45.541Z] 5dd5c2283517: Verifying Checksum [2022-10-26T20:15:45.541Z] 5dd5c2283517: Download complete [2022-10-26T20:15:46.146Z] 5831b945b038: Verifying Checksum [2022-10-26T20:15:46.146Z] 5831b945b038: Download complete [2022-10-26T20:16:01.210Z] 5831b945b038: Pull complete [2022-10-26T20:16:01.210Z] 86bbec2aaacd: Pull complete [2022-10-26T20:16:01.210Z] e10730c5d714: Pull complete [2022-10-26T20:16:06.600Z] 5dd5c2283517: Pull complete [2022-10-26T20:16:08.043Z] d5ac0230b979: Pull complete [2022-10-26T20:16:08.043Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T20:16:08.043Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T20:16:08.044Z] ---> 59b3b1a385d4 [2022-10-26T20:16:08.044Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:16:10.019Z] ---> Running in dd700dd31bc5 [2022-10-26T20:16:10.611Z] Removing intermediate container dd700dd31bc5 [2022-10-26T20:16:10.611Z] ---> fe422092159a [2022-10-26T20:16:10.611Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:16:10.611Z] ---> Running in 01252213ddcd [2022-10-26T20:16:10.883Z] Removing intermediate container 01252213ddcd [2022-10-26T20:16:10.883Z] ---> d4afc1740b27 [2022-10-26T20:16:10.883Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:16:10.883Z] ---> Running in e3c6d6f00d11 [2022-10-26T20:16:11.477Z] Removing intermediate container e3c6d6f00d11 [2022-10-26T20:16:11.477Z] ---> 4457a226c085 [2022-10-26T20:16:11.477Z] Step 6/12 : WORKDIR /device-virtual-go [2022-10-26T20:16:11.477Z] ---> Running in 1ea830551d39 [2022-10-26T20:16:11.756Z] Removing intermediate container 1ea830551d39 [2022-10-26T20:16:11.756Z] ---> 0b731aba75eb [2022-10-26T20:16:11.756Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:16:12.030Z] ---> Running in 84712bc36727 [2022-10-26T20:16:13.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:16:13.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:16:14.722Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:16:14.722Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T20:16:14.722Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:16:14.994Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:16:14.994Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:16:14.994Z] OK: 226 MiB in 55 packages [2022-10-26T20:16:15.983Z] Removing intermediate container 84712bc36727 [2022-10-26T20:16:15.983Z] ---> 26280a22a687 [2022-10-26T20:16:15.983Z] Step 8/12 : COPY go.mod vendor* ./ [2022-10-26T20:16:16.585Z] ---> 474772fd4d72 [2022-10-26T20:16:16.585Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:16:16.863Z] ---> Running in 5a728a7f96ee [2022-10-26T20:17:13.328Z] Removing intermediate container 5a728a7f96ee [2022-10-26T20:17:13.328Z] ---> 9fc448a81f59 [2022-10-26T20:17:13.328Z] Step 10/12 : COPY . . [2022-10-26T20:17:14.770Z] ---> cc8a083d2ffc [2022-10-26T20:17:14.770Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:17:14.770Z] ---> Running in b8c7b24b95ea [2022-10-26T20:17:15.042Z] Removing intermediate container b8c7b24b95ea [2022-10-26T20:17:15.042Z] ---> cfb84c743b8d [2022-10-26T20:17:15.042Z] Step 12/12 : RUN $MAKE [2022-10-26T20:17:15.314Z] ---> Running in f43e7926713a [2022-10-26T20:17:16.288Z] noop [2022-10-26T20:17:17.263Z] Removing intermediate container f43e7926713a [2022-10-26T20:17:17.263Z] ---> 17dc7a850329 [2022-10-26T20:17:17.263Z] Successfully built 17dc7a850329 [2022-10-26T20:17:17.263Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:17:17.641Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:17:17.641Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:17:17.863Z] prd-ubuntu20.04-docker-arm64-4c-16g-117297 does not seem to be running inside a container [2022-10-26T20:17:17.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-26T20:17:19.330Z] $ docker top 0bb2bc387da50e8f5e970827eff45b13205e6d011ebd837414b6664e3260d08b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:17:20.232Z] + go version [2022-10-26T20:17:20.232Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T20:17:20.256Z] $ docker stop --time=1 0bb2bc387da50e8f5e970827eff45b13205e6d011ebd837414b6664e3260d08b [2022-10-26T20:17:21.938Z] $ docker rm -f 0bb2bc387da50e8f5e970827eff45b13205e6d011ebd837414b6664e3260d08b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:17:22.506Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:17:22.506Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:17:23.055Z] prd-ubuntu20.04-docker-arm64-4c-16g-117297 does not seem to be running inside a container [2022-10-26T20:17:23.131Z] $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-26T20:17:24.488Z] $ docker top 15e98cea6cd3998aeef7095a43141f9787fbb919e7f866d0d6df1adb8bc5c521 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:17:25.357Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/4 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:17:26.013Z] + make test [2022-10-26T20:17:26.014Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:17:27.972Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-26T20:19:19.707Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-26T20:19:19.707Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.178s coverage: 65.7% of statements [2022-10-26T20:19:19.707Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T20:19:19.707Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:19:53.574Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:19:53.574Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:19:53.574Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:19:53.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:19:53.612Z] $ docker stop --time=1 15e98cea6cd3998aeef7095a43141f9787fbb919e7f866d0d6df1adb8bc5c521 [2022-10-26T20:19:55.860Z] $ docker rm -f 15e98cea6cd3998aeef7095a43141f9787fbb919e7f866d0d6df1adb8bc5c521 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:19:57.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:19:57.131Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T20:19:57.762Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:19:58.140Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:19:58.466Z] + ls -al . [2022-10-26T20:19:58.466Z] total 200 [2022-10-26T20:19:58.466Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:17 . [2022-10-26T20:19:58.466Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:15 .. [2022-10-26T20:19:58.466Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:15 .git [2022-10-26T20:19:58.466Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:15 .github [2022-10-26T20:19:58.466Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 20:15 .gitignore [2022-10-26T20:19:58.466Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:15 .golangci.yml [2022-10-26T20:19:58.466Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 20:15 Attribution.txt [2022-10-26T20:19:58.466Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 20:15 CHANGELOG.md [2022-10-26T20:19:58.466Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 26 20:15 Dockerfile [2022-10-26T20:19:58.466Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:15 GOVERNANCE.md [2022-10-26T20:19:58.466Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 20:15 Jenkinsfile [2022-10-26T20:19:58.466Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:15 LICENSE [2022-10-26T20:19:58.466Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 20:15 Makefile [2022-10-26T20:19:58.467Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 20:15 OWNERS.md [2022-10-26T20:19:58.467Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 20:15 README.md [2022-10-26T20:19:58.467Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:12 VERSION [2022-10-26T20:19:58.467Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:15 bin [2022-10-26T20:19:58.467Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:15 cmd [2022-10-26T20:19:58.467Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 20:19 coverage.out [2022-10-26T20:19:58.467Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 20:15 go.mod [2022-10-26T20:19:58.467Z] -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 20:15 go.sum [2022-10-26T20:19:58.467Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:15 internal [2022-10-26T20:19:58.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:15 snap [2022-10-26T20:19:58.467Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 20:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:19:58.815Z] + 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=b442787d94312e06e4a88d8e9302be5c07189cfc --label arch=arm64 --label version=0.0.0 . [2022-10-26T20:19:59.411Z] Sending build context to Docker daemon 11.84MB [2022-10-26T20:19:59.411Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:19:59.411Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T20:19:59.411Z] ---> 17dc7a850329 [2022-10-26T20:19:59.411Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:19:59.684Z] ---> Running in f5780d4b4147 [2022-10-26T20:20:00.273Z] Removing intermediate container f5780d4b4147 [2022-10-26T20:20:00.273Z] ---> fb705bac0aae [2022-10-26T20:20:00.273Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:20:00.273Z] ---> Running in e04d6ff7aae8 [2022-10-26T20:20:00.543Z] Removing intermediate container e04d6ff7aae8 [2022-10-26T20:20:00.815Z] ---> 531731d77b60 [2022-10-26T20:20:00.815Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:20:00.815Z] ---> Running in c802cf4cdefd [2022-10-26T20:20:01.090Z] Removing intermediate container c802cf4cdefd [2022-10-26T20:20:01.090Z] ---> cf41dd94a266 [2022-10-26T20:20:01.090Z] Step 6/26 : WORKDIR /device-virtual-go [2022-10-26T20:20:01.359Z] ---> Running in a1002d5beae4 [2022-10-26T20:20:01.629Z] Removing intermediate container a1002d5beae4 [2022-10-26T20:20:01.630Z] ---> 20d4bacec5da [2022-10-26T20:20:01.630Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:20:01.898Z] ---> Running in 36c167771202 [2022-10-26T20:20:03.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:20:03.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:20:04.563Z] OK: 226 MiB in 55 packages [2022-10-26T20:20:06.038Z] Removing intermediate container 36c167771202 [2022-10-26T20:20:06.038Z] ---> da22d58907fd [2022-10-26T20:20:06.038Z] Step 8/26 : COPY go.mod vendor* ./ [2022-10-26T20:20:06.309Z] ---> 395b4e316957 [2022-10-26T20:20:06.309Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:20:06.578Z] ---> Running in 3d0308785ded [2022-10-26T20:20:10.871Z] Removing intermediate container 3d0308785ded [2022-10-26T20:20:10.871Z] ---> e6bb7a8799ca [2022-10-26T20:20:10.871Z] Step 10/26 : COPY . . [2022-10-26T20:20:12.289Z] ---> 22a3739baa48 [2022-10-26T20:20:12.289Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:20:12.289Z] ---> Running in 779051e02d60 [2022-10-26T20:20:13.267Z] Removing intermediate container 779051e02d60 [2022-10-26T20:20:13.267Z] ---> f175ab794bbd [2022-10-26T20:20:13.267Z] Step 12/26 : RUN $MAKE [2022-10-26T20:20:13.538Z] ---> Running in 01f2a6e6b2ac [2022-10-26T20:20:15.508Z] 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-26T20:23:07.307Z] Removing intermediate container 01f2a6e6b2ac [2022-10-26T20:23:07.307Z] ---> 417abe6e317b [2022-10-26T20:23:07.307Z] Step 13/26 : FROM alpine:3.16 [2022-10-26T20:23:07.307Z] 3.16: Pulling from library/alpine [2022-10-26T20:23:07.307Z] 9b18e9b68314: Already exists [2022-10-26T20:23:07.307Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:23:07.307Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:23:07.307Z] ---> a6215f271958 [2022-10-26T20:23:07.307Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-26T20:23:07.307Z] ---> Running in 0b9cc755a576 [2022-10-26T20:23:07.307Z] Removing intermediate container 0b9cc755a576 [2022-10-26T20:23:07.307Z] ---> 15490beb1cbd [2022-10-26T20:23:07.307Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T20:23:07.307Z] ---> Running in 010f6980eea6 [2022-10-26T20:23:07.307Z] Removing intermediate container 010f6980eea6 [2022-10-26T20:23:07.307Z] ---> 09412ba31f94 [2022-10-26T20:23:07.307Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:23:07.307Z] ---> Running in 284ce2f3b9f3 [2022-10-26T20:23:07.307Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:23:07.307Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:23:07.307Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:23:07.307Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:23:07.307Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:23:07.307Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:23:07.307Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:23:07.307Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:23:07.307Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:23:07.307Z] OK: 8 MiB in 20 packages [2022-10-26T20:23:07.307Z] Removing intermediate container 284ce2f3b9f3 [2022-10-26T20:23:07.307Z] ---> c4496805fd7e [2022-10-26T20:23:07.307Z] Step 17/26 : WORKDIR / [2022-10-26T20:23:07.307Z] ---> Running in aea566a96c41 [2022-10-26T20:23:07.307Z] Removing intermediate container aea566a96c41 [2022-10-26T20:23:07.307Z] ---> 888cdf57f64e [2022-10-26T20:23:07.307Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-26T20:23:07.307Z] ---> a5ed943f5e5d [2022-10-26T20:23:07.308Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-26T20:23:07.308Z] ---> 5d67607b07e7 [2022-10-26T20:23:07.308Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-10-26T20:23:08.715Z] ---> 7699ea40c91f [2022-10-26T20:23:08.715Z] Step 21/26 : EXPOSE 59900 [2022-10-26T20:23:08.715Z] ---> Running in a9ac31875841 [2022-10-26T20:23:08.983Z] Removing intermediate container a9ac31875841 [2022-10-26T20:23:08.983Z] ---> a50344861238 [2022-10-26T20:23:08.983Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-10-26T20:23:08.983Z] ---> Running in ede859242012 [2022-10-26T20:23:09.250Z] Removing intermediate container ede859242012 [2022-10-26T20:23:09.250Z] ---> 8e02bf72044c [2022-10-26T20:23:09.250Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:23:09.250Z] ---> Running in e3360500c7aa [2022-10-26T20:23:09.841Z] Removing intermediate container e3360500c7aa [2022-10-26T20:23:09.841Z] ---> 07ef4e114933 [2022-10-26T20:23:09.841Z] Step 24/26 : LABEL arch=arm64 [2022-10-26T20:23:09.841Z] ---> Running in 5259a255362c [2022-10-26T20:23:10.109Z] Removing intermediate container 5259a255362c [2022-10-26T20:23:10.109Z] ---> 36e4c9ab9535 [2022-10-26T20:23:10.109Z] Step 25/26 : LABEL git_sha=b442787d94312e06e4a88d8e9302be5c07189cfc [2022-10-26T20:23:10.109Z] ---> Running in 443bccf25fbe [2022-10-26T20:23:10.382Z] Removing intermediate container 443bccf25fbe [2022-10-26T20:23:10.382Z] ---> 9375a12f335e [2022-10-26T20:23:10.382Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T20:23:10.651Z] ---> Running in 0ae6f6fc519d [2022-10-26T20:23:10.918Z] Removing intermediate container 0ae6f6fc519d [2022-10-26T20:23:10.918Z] ---> 27040671182e [2022-10-26T20:23:10.918Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:23:10.918Z] Successfully built 27040671182e [2022-10-26T20:23:10.918Z] 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-26T20:23:11.331Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:23:11.331Z] [2022-10-26T20:23:11.331Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:23:11.660Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:23:11.660Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T20:23:11.660Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T20:23:11.660Z] 04944245beec: Pulling fs layer [2022-10-26T20:23:11.660Z] 699f458cf7ca: Pulling fs layer [2022-10-26T20:23:11.660Z] 765212b225bb: Pulling fs layer [2022-10-26T20:23:11.660Z] f23df028b6ca: Pulling fs layer [2022-10-26T20:23:11.660Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T20:23:11.660Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T20:23:11.660Z] f23df028b6ca: Waiting [2022-10-26T20:23:11.661Z] d65c8cfc05b1: Waiting [2022-10-26T20:23:11.661Z] 2437ff75d9bd: Waiting [2022-10-26T20:23:11.661Z] 765212b225bb: Waiting [2022-10-26T20:23:11.928Z] 04944245beec: Verifying Checksum [2022-10-26T20:23:11.928Z] 04944245beec: Download complete [2022-10-26T20:23:11.928Z] 765212b225bb: Verifying Checksum [2022-10-26T20:23:11.928Z] 765212b225bb: Download complete [2022-10-26T20:23:11.928Z] f23df028b6ca: Verifying Checksum [2022-10-26T20:23:11.928Z] f23df028b6ca: Download complete [2022-10-26T20:23:12.197Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T20:23:12.197Z] d65c8cfc05b1: Download complete [2022-10-26T20:23:12.197Z] 699f458cf7ca: Verifying Checksum [2022-10-26T20:23:12.197Z] 699f458cf7ca: Download complete [2022-10-26T20:23:12.467Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T20:23:12.467Z] 8998bd30e6a1: Download complete [2022-10-26T20:23:15.048Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T20:23:15.048Z] 2437ff75d9bd: Download complete [2022-10-26T20:23:16.474Z] 8998bd30e6a1: Pull complete [2022-10-26T20:23:17.061Z] 04944245beec: Pull complete [2022-10-26T20:23:18.465Z] 699f458cf7ca: Pull complete [2022-10-26T20:23:18.465Z] 765212b225bb: Pull complete [2022-10-26T20:23:19.050Z] f23df028b6ca: Pull complete [2022-10-26T20:23:19.318Z] d65c8cfc05b1: Pull complete [2022-10-26T20:23:34.323Z] 2437ff75d9bd: Pull complete [2022-10-26T20:23:34.323Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T20:23:34.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:23:34.323Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:23:34.523Z] prd-ubuntu20.04-docker-arm64-4c-16g-117297 does not seem to be running inside a container [2022-10-26T20:23:34.594Z] $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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-26T20:23:37.397Z] $ docker top 61214ed74a168d16640e752b2299e02a843aba12e3cd1a5a59216e2d6cfcb695 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:38.262Z] ---> job-cost.sh [2022-10-26T20:23:38.262Z] lf-activate-venv: SKIPPING [2022-10-26T20:23:38.262Z] INFO: No Stack... [2022-10-26T20:23:38.848Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T20:23:39.433Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:23:40.073Z] + cat /w/workspace/device-virtual-go/4/archives/cost.csv [2022-10-26T20:23:40.073Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:23:40.113Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] [2022-10-26T20:23:40.119Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] did not exist. Created. [2022-10-26T20:23:40.120Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:23:40.778Z] /w/workspace/device-virtual-go/4@tmp/durable-54e549f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T20:23:41.436Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T20:23:41.461Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T20:23:41.506Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:23:41.518Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:23:41.541Z] $ docker stop --time=1 61214ed74a168d16640e752b2299e02a843aba12e3cd1a5a59216e2d6cfcb695 [2022-10-26T20:23:43.080Z] $ docker rm -f 61214ed74a168d16640e752b2299e02a843aba12e3cd1a5a59216e2d6cfcb695 [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-26T20:23:43.450Z] provisioning config files... [2022-10-26T20:23:43.457Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config9493481170922777180tmp [Pipeline] { [Pipeline] sh [2022-10-26T20:23:43.751Z] + set +x [2022-10-26T20:23:43.752Z] + bash -s -- [2022-10-26T20:23:43.752Z] + curl -s https://codecov.io/bash [2022-10-26T20:23:43.752Z] [2022-10-26T20:23:43.752Z] _____ _ [2022-10-26T20:23:43.752Z] / ____| | | [2022-10-26T20:23:43.752Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T20:23:43.752Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T20:23:43.752Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T20:23:43.752Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T20:23:43.752Z] Bash-1.0.6 [2022-10-26T20:23:43.752Z] [2022-10-26T20:23:43.752Z] [2022-10-26T20:23:43.752Z] ==> git version 2.25.1 found [2022-10-26T20:23:43.752Z] ==> 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-26T20:23:43.752Z] Release-Date: 2020-01-08 [2022-10-26T20:23:43.752Z] 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-26T20:23:43.752Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T20:23:43.752Z] ==> Jenkins CI detected. [2022-10-26T20:23:43.752Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-317 [2022-10-26T20:23:43.752Z] project root: . [2022-10-26T20:23:43.752Z] --> token set from env [2022-10-26T20:23:43.752Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T20:23:43.752Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T20:23:43.752Z] ==> Python coveragepy not found [2022-10-26T20:23:43.752Z] ==> Searching for coverage reports in: [2022-10-26T20:23:43.752Z] + . [2022-10-26T20:23:43.752Z] -> Found 1 reports [2022-10-26T20:23:43.752Z] ==> Detecting git/mercurial file structure [2022-10-26T20:23:43.752Z] ==> Reading reports [2022-10-26T20:23:43.752Z] + ./coverage.out bytes=44128 [2022-10-26T20:23:43.752Z] ==> Appending adjustments [2022-10-26T20:23:43.752Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T20:23:44.011Z] + Found adjustments [2022-10-26T20:23:44.011Z] ==> Gzipping contents [2022-10-26T20:23:44.011Z] 8.0K /tmp/codecov.BRRYbA.gz [2022-10-26T20:23:44.011Z] ==> Uploading reports [2022-10-26T20:23:44.011Z] url: https://codecov.io [2022-10-26T20:23:44.011Z] query: branch=PR-317&commit=b442787d94312e06e4a88d8e9302be5c07189cfc&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= [2022-10-26T20:23:44.011Z] -> Pinging Codecov [2022-10-26T20:23:44.011Z] 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=b442787d94312e06e4a88d8e9302be5c07189cfc&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= [2022-10-26T20:23:44.270Z] -> Uploading to [2022-10-26T20:23:44.270Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/5E52B4B073DB2E39498172D8E973AA87/b442787d94312e06e4a88d8e9302be5c07189cfc/c7a47b16-9f65-436f-9e09-830799ae4893.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T202344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=51be15deb514f5f059d594b16988768d8f4940a4735bf4c3fb197c55f7c5cb43 [2022-10-26T20:23:44.270Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:23:44.270Z] Dload Upload Total Spent Left Speed [2022-10-26T20:23:44.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5521 0 0 100 5521 0 22172 --:--:-- --:--:-- --:--:-- 22172 [2022-10-26T20:23:44.529Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b442787d94312e06e4a88d8e9302be5c07189cfc [Pipeline] } [2022-10-26T20:23:44.537Z] 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-26T20:23:45.202Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-317/archives ] [2022-10-26T20:23:45.202Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T20:23:45.202Z] total 16 [2022-10-26T20:23:45.202Z] drwxr-xr-x 3 root root 4096 Oct 26 20:14 . [2022-10-26T20:23:45.202Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:14 .. [2022-10-26T20:23:45.202Z] drwxr-xr-x 2 root root 4096 Oct 26 20:14 cost [2022-10-26T20:23:45.202Z] -rw-r--r-- 1 root root 89 Oct 26 20:14 cost.csv [2022-10-26T20:23:45.202Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T20:23:45.202Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T20:23:45.202Z] total 16 [2022-10-26T20:23:45.202Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:14 . [2022-10-26T20:23:45.202Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:14 .. [2022-10-26T20:23:45.202Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:14 cost [2022-10-26T20:23:45.202Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 26 20:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:45.486Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:46.346Z] ---> package-listing.sh [2022-10-26T20:23:46.346Z] ++ facter osfamily [2022-10-26T20:23:46.346Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T20:23:46.605Z] + OS_FAMILY=debian [2022-10-26T20:23:46.605Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-317 [2022-10-26T20:23:46.605Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T20:23:46.605Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T20:23:46.605Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T20:23:46.605Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T20:23:46.605Z] + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' [2022-10-26T20:23:46.605Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T20:23:46.605Z] + case "${OS_FAMILY}" in [2022-10-26T20:23:46.605Z] + dpkg -l [2022-10-26T20:23:46.605Z] + grep '^ii' [2022-10-26T20:23:46.605Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T20:23:46.605Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T20:23:46.605Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T20:23:46.605Z] + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' [2022-10-26T20:23:46.605Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-317/archives/ [2022-10-26T20:23:46.605Z] + 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-26T20:23:46.616Z] 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-26T20:23:46.893Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:23:47.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:23:47.448Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:23:47.511Z] prd-ubuntu20.04-docker-8c-8g-117292 does not seem to be running inside a container [2022-10-26T20:23:47.544Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:23:47.814Z] $ docker top 2675382e71605a3e90d1d9d8a652f2efd5f2e566486f0b69dbe7faab270e5d7b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:23:48.161Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T20:23:48.447Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T20:23:48.739Z] + ls /var/log/sa-host [2022-10-26T20:23:48.739Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:23:48.814Z] provisioning config files... [2022-10-26T20:23:48.823Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config11789392962422435930tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:23:48.838Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:49.122Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T20:23:49.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:49.458Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T20:23:49.468Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:49.753Z] ---> sudo-logs.sh [2022-10-26T20:23:49.753Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T20:23:49.778Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:50.060Z] ---> job-cost.sh [2022-10-26T20:23:50.060Z] lf-activate-venv: SKIPPING [2022-10-26T20:23:50.060Z] DEBUG: total: 0.2199999988079071 [2022-10-26T20:23:50.060Z] INFO: Retrieving Stack Cost... [2022-10-26T20:23:50.630Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:23:50.889Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T20:23:50.899Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:51.183Z] ---> logs-deploy.sh [2022-10-26T20:23:51.183Z] lf-activate-venv: SKIPPING [2022-10-26T20:23:51.183Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-317/4 [2022-10-26T20:23:51.183Z] INFO: archiving workspace using pattern(s): [2022-10-26T20:23:52.120Z] Archives upload complete. [2022-10-26T20:23:52.120Z] INFO: archiving logs to Nexus [2022-10-26T20:23:52.690Z] ---> uname -a: [2022-10-26T20:23:52.690Z] Linux prd-ubuntu20-04-docker-8c-8g-117292 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-26T20:23:52.690Z] [2022-10-26T20:23:52.690Z] [2022-10-26T20:23:52.690Z] ---> lscpu: [2022-10-26T20:23:52.690Z] Architecture: x86_64 [2022-10-26T20:23:52.690Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-26T20:23:52.690Z] Byte Order: Little Endian [2022-10-26T20:23:52.690Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-26T20:23:52.690Z] CPU(s): 8 [2022-10-26T20:23:52.690Z] On-line CPU(s) list: 0-7 [2022-10-26T20:23:52.690Z] Thread(s) per core: 1 [2022-10-26T20:23:52.690Z] Core(s) per socket: 1 [2022-10-26T20:23:52.690Z] Socket(s): 8 [2022-10-26T20:23:52.690Z] NUMA node(s): 1 [2022-10-26T20:23:52.690Z] Vendor ID: AuthenticAMD [2022-10-26T20:23:52.690Z] CPU family: 23 [2022-10-26T20:23:52.690Z] Model: 49 [2022-10-26T20:23:52.690Z] Model name: AMD EPYC-Rome Processor [2022-10-26T20:23:52.690Z] Stepping: 0 [2022-10-26T20:23:52.690Z] CPU MHz: 2799.998 [2022-10-26T20:23:52.690Z] BogoMIPS: 5599.99 [2022-10-26T20:23:52.690Z] Virtualization: AMD-V [2022-10-26T20:23:52.690Z] Hypervisor vendor: KVM [2022-10-26T20:23:52.690Z] Virtualization type: full [2022-10-26T20:23:52.690Z] L1d cache: 256 KiB [2022-10-26T20:23:52.690Z] L1i cache: 256 KiB [2022-10-26T20:23:52.690Z] L2 cache: 4 MiB [2022-10-26T20:23:52.690Z] L3 cache: 128 MiB [2022-10-26T20:23:52.690Z] NUMA node0 CPU(s): 0-7 [2022-10-26T20:23:52.690Z] Vulnerability Itlb multihit: Not affected [2022-10-26T20:23:52.690Z] Vulnerability L1tf: Not affected [2022-10-26T20:23:52.690Z] Vulnerability Mds: Not affected [2022-10-26T20:23:52.690Z] Vulnerability Meltdown: Not affected [2022-10-26T20:23:52.690Z] Vulnerability Mmio stale data: Not affected [2022-10-26T20:23:52.690Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-26T20:23:52.690Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-26T20:23:52.690Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-26T20:23:52.690Z] Vulnerability Srbds: Not affected [2022-10-26T20:23:52.690Z] Vulnerability Tsx async abort: Not affected [2022-10-26T20:23:52.690Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-26T20:23:52.690Z] [2022-10-26T20:23:52.690Z] [2022-10-26T20:23:52.690Z] ---> nproc: [2022-10-26T20:23:52.690Z] 8 [2022-10-26T20:23:52.690Z] [2022-10-26T20:23:52.690Z] [2022-10-26T20:23:52.690Z] ---> df -h: [2022-10-26T20:23:52.690Z] Filesystem Size Used Avail Use% Mounted on [2022-10-26T20:23:52.690Z] overlay 155G 12G 144G 8% / [2022-10-26T20:23:52.690Z] tmpfs 64M 0 64M 0% /dev [2022-10-26T20:23:52.690Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-26T20:23:52.690Z] shm 64M 0 64M 0% /dev/shm [2022-10-26T20:23:52.690Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-26T20:23:52.690Z] [2022-10-26T20:23:52.690Z]