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 1baba3f0330e43e27ddf533a45f96232cf710628 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-ssh6446205784886039828.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-ssh10794490848993871467.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-ssh12827217421675423725.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-ssh15379845428040944609.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-ssh9650452600145951736.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-117314 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 1baba3f0330e43e27ddf533a45f96232cf710628 Merge succeeded, producing 1baba3f0330e43e27ddf533a45f96232cf710628 Checking out Revision 1baba3f0330e43e27ddf533a45f96232cf710628 (PR-317) > git config core.sparsecheckout # timeout=10 > git checkout -f 1baba3f0330e43e27ddf533a45f96232cf710628 # 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 1baba3f0330e43e27ddf533a45f96232cf710628 # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git rev-list --no-walk b442787d94312e06e4a88d8e9302be5c07189cfc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T20:36:21.143Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T20:36:21.213Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T20:36:21.230Z] ========================================================= [2022-10-26T20:36:21.230Z] EdgeX Global Pipelines Version Info [2022-10-26T20:36:21.230Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:36:21.947Z] ------------------- [2022-10-26T20:36:21.947Z] stable info: [2022-10-26T20:36:21.947Z] ------------------- [2022-10-26T20:36:21.947Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T20:36:21.947Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:36:21.947Z] Message: update stable to v1.0.243 [2022-10-26T20:36:22.515Z] ------------------- [2022-10-26T20:36:22.515Z] experimental info: [2022-10-26T20:36:22.515Z] ------------------- [2022-10-26T20:36:22.515Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T20:36:22.515Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:36:22.515Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T20:36:22.669Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-26T20:36:22.679Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-26T20:36:22.695Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T20:36:22.706Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T20:36:22.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T20:36:22.728Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T20:36:22.739Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T20:36:22.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T20:36:22.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T20:36:22.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T20:36:22.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T20:36:22.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-26T20:36:22.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T20:36:22.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T20:36:22.835Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:36:22.847Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:36:22.857Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:36:22.867Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:36:22.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T20:36:22.897Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T20:36:22.909Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T20:36:22.920Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T20:36:22.933Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T20:36:22.944Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T20:36:22.953Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T20:36:22.965Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T20:36:22.979Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T20:36:22.990Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-317 [Pipeline] echo [2022-10-26T20:36:23.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-317 [Pipeline] echo [2022-10-26T20:36:23.020Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-317 [Pipeline] echo [2022-10-26T20:36:23.037Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1baba3f0330e43e27ddf533a45f96232cf710628 [Pipeline] echo [2022-10-26T20:36:23.046Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1baba3f [Pipeline] echo [2022-10-26T20:36:23.059Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:36:23.105Z] provisioning config files... [2022-10-26T20:36:23.116Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config2235955069915693125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:36:23.421Z] ---> docker-login.sh [2022-10-26T20:36:23.421Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:36:23.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:36:23.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:36:23.680Z] Configure a credential helper to remove this warning. See [2022-10-26T20:36:23.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:36:23.680Z] [2022-10-26T20:36:23.680Z] Login Succeeded [2022-10-26T20:36:23.680Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:36:23.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:36:23.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:36:23.940Z] Configure a credential helper to remove this warning. See [2022-10-26T20:36:23.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:36:23.940Z] [2022-10-26T20:36:23.940Z] Login Succeeded [2022-10-26T20:36:23.940Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:36:23.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:36:23.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:36:23.940Z] Configure a credential helper to remove this warning. See [2022-10-26T20:36:23.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:36:23.940Z] [2022-10-26T20:36:23.940Z] Login Succeeded [2022-10-26T20:36:23.940Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:36:23.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:36:24.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:36:24.199Z] Configure a credential helper to remove this warning. See [2022-10-26T20:36:24.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:36:24.199Z] [2022-10-26T20:36:24.199Z] Login Succeeded [2022-10-26T20:36:24.199Z] docker.io [2022-10-26T20:36:24.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:36:24.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:36:24.459Z] Configure a credential helper to remove this warning. See [2022-10-26T20:36:24.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:36:24.459Z] [2022-10-26T20:36:24.459Z] Login Succeeded [2022-10-26T20:36:24.459Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:36:24.465Z] 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:36:24.827Z] + git rev-list -1 --merges 1baba3f0330e43e27ddf533a45f96232cf710628~1..1baba3f0330e43e27ddf533a45f96232cf710628 [Pipeline] echo [2022-10-26T20:36:24.855Z] -----------> git rev-list -1 --merges 1baba3f0330e43e27ddf533a45f96232cf710628~1..1baba3f0330e43e27ddf533a45f96232cf710628 1baba3f0330e43e27ddf533a45f96232cf710628 [false] [Pipeline] sh [2022-10-26T20:36:25.147Z] + git log --format=format:%s -1 1baba3f0330e43e27ddf533a45f96232cf710628 [Pipeline] echo [2022-10-26T20:36:25.164Z] ========================================================= [2022-10-26T20:36:25.164Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T20:36:25.164Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:36:25.495Z] + git log --format=format:%s -1 1baba3f0330e43e27ddf533a45f96232cf710628 [Pipeline] echo [2022-10-26T20:36:25.508Z] [semverPrep] GIT_COMMIT: 1baba3f0330e43e27ddf533a45f96232cf710628, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo [2022-10-26T20:36:25.519Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T20:36:25.872Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:36:25.872Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T20:36:25.872Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T20:36:25.872Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T20:36:25.872Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T20:36:25.872Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T20:36:25.872Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:36:26.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:36:26.228Z] [2022-10-26T20:36:26.228Z] 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:36:26.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:36:26.532Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T20:36:26.532Z] b85a868b505f: Pulling fs layer [2022-10-26T20:36:26.532Z] e2be974225ed: Pulling fs layer [2022-10-26T20:36:26.532Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T20:36:26.532Z] 988bab9f4d93: Pulling fs layer [2022-10-26T20:36:26.532Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T20:36:26.532Z] eaf3925da568: Pulling fs layer [2022-10-26T20:36:26.532Z] bab4dde63d76: Pulling fs layer [2022-10-26T20:36:26.532Z] bde34c3a00c8: Pulling fs layer [2022-10-26T20:36:26.532Z] b352a97aabf1: Pulling fs layer [2022-10-26T20:36:26.532Z] 4872d77fe225: Pulling fs layer [2022-10-26T20:36:26.532Z] 5851b861e8e6: Pulling fs layer [2022-10-26T20:36:26.532Z] 988bab9f4d93: Waiting [2022-10-26T20:36:26.532Z] 1469e6f7b9e6: Waiting [2022-10-26T20:36:26.532Z] eaf3925da568: Waiting [2022-10-26T20:36:26.532Z] bab4dde63d76: Waiting [2022-10-26T20:36:26.532Z] bde34c3a00c8: Waiting [2022-10-26T20:36:26.532Z] b352a97aabf1: Waiting [2022-10-26T20:36:26.532Z] 4872d77fe225: Waiting [2022-10-26T20:36:26.532Z] 5851b861e8e6: Waiting [2022-10-26T20:36:26.532Z] e2be974225ed: Verifying Checksum [2022-10-26T20:36:26.532Z] e2be974225ed: Download complete [2022-10-26T20:36:26.532Z] 988bab9f4d93: Verifying Checksum [2022-10-26T20:36:26.532Z] 988bab9f4d93: Download complete [2022-10-26T20:36:26.792Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T20:36:26.792Z] 339a4e72a1f5: Download complete [2022-10-26T20:36:26.792Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T20:36:26.792Z] 1469e6f7b9e6: Download complete [2022-10-26T20:36:26.792Z] bde34c3a00c8: Verifying Checksum [2022-10-26T20:36:26.792Z] bde34c3a00c8: Download complete [2022-10-26T20:36:26.792Z] b352a97aabf1: Download complete [2022-10-26T20:36:26.792Z] 4872d77fe225: Verifying Checksum [2022-10-26T20:36:26.792Z] 4872d77fe225: Download complete [2022-10-26T20:36:26.792Z] 5851b861e8e6: Download complete [2022-10-26T20:36:26.792Z] b85a868b505f: Verifying Checksum [2022-10-26T20:36:26.792Z] b85a868b505f: Download complete [2022-10-26T20:36:27.050Z] bab4dde63d76: Verifying Checksum [2022-10-26T20:36:27.050Z] bab4dde63d76: Download complete [2022-10-26T20:36:27.999Z] b85a868b505f: Pull complete [2022-10-26T20:36:28.257Z] e2be974225ed: Pull complete [2022-10-26T20:36:28.515Z] 339a4e72a1f5: Pull complete [2022-10-26T20:36:28.515Z] 988bab9f4d93: Pull complete [2022-10-26T20:36:28.776Z] 1469e6f7b9e6: Pull complete [2022-10-26T20:36:29.034Z] eaf3925da568: Pull complete [2022-10-26T20:36:30.412Z] bab4dde63d76: Pull complete [2022-10-26T20:36:30.671Z] bde34c3a00c8: Pull complete [2022-10-26T20:36:30.671Z] b352a97aabf1: Pull complete [2022-10-26T20:36:30.930Z] 4872d77fe225: Pull complete [2022-10-26T20:36:30.930Z] 5851b861e8e6: Pull complete [2022-10-26T20:36:30.930Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T20:36:30.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:36:30.930Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:36:31.005Z] prd-ubuntu20.04-docker-8c-8g-117314 does not seem to be running inside a container [2022-10-26T20:36:31.031Z] $ 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:36:33.890Z] $ docker top b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 -eo pid,comm [2022-10-26T20:36:33.958Z] 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:36:33.958Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:36:33.991Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:36:33.991Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:36:34.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:36:34.103Z] $ docker exec b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 ssh-agent [2022-10-26T20:36:34.223Z] SSH_AUTH_SOCK=/tmp/ssh-qpZ41wj1fRXq/agent.33 [2022-10-26T20:36:34.223Z] SSH_AGENT_PID=39 [2022-10-26T20:36:34.228Z] Running ssh-add (command line suppressed) [2022-10-26T20:36:34.333Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_15413355823274726813.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_15413355823274726813.key) [2022-10-26T20:36:34.346Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:36:34.630Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T20:36:34.640Z] $ docker exec --env ******** --env ******** b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 ssh-agent -k [2022-10-26T20:36:34.737Z] unset SSH_AUTH_SOCK; [2022-10-26T20:36:34.737Z] unset SSH_AGENT_PID; [2022-10-26T20:36:34.737Z] echo Agent pid 39 killed; [2022-10-26T20:36:34.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T20:36:34.768Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:36:34.768Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:36:34.883Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:36:34.883Z] $ docker exec b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 ssh-agent [2022-10-26T20:36:34.992Z] SSH_AUTH_SOCK=/tmp/ssh-qPkS48WpSNwV/agent.71 [2022-10-26T20:36:34.992Z] SSH_AGENT_PID=77 [2022-10-26T20:36:34.998Z] Running ssh-add (command line suppressed) [2022-10-26T20:36:35.093Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_5926480516313307460.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_5926480516313307460.key) [2022-10-26T20:36:35.107Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:36:35.390Z] + git semver init [2022-10-26T20:36:35.649Z] 2022-10-26 20:36:35,554 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T20:36:35.649Z] 2022-10-26 20:36:35,554 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-317/.semver [2022-10-26T20:36:35.649Z] 2022-10-26 20:36:35,555 [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:36:35.649Z] 2022-10-26 20:36:35,555 [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:36:37.027Z] 2022-10-26 20:36:36,714 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-317/.git/info/exclude [2022-10-26T20:36:37.027Z] 2022-10-26 20:36:36,715 [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:36:37.027Z] 2022-10-26 20:36:36,715 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 [2022-10-26T20:36:37.027Z] 2022-10-26 20:36:36,719 [execute] INFO git cat-file --batch-check [2022-10-26T20:36:37.027Z] 2022-10-26 20:36:36,720 [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:36:37.027Z] 2022-10-26 20:36:36,726 [execute] INFO git cat-file --batch [2022-10-26T20:36:37.027Z] 2022-10-26 20:36:36,726 [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:36:37.027Z] 2022-10-26 20:36:36,731 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 [2022-10-26T20:36:37.027Z] 0.0.0 [Pipeline] } [2022-10-26T20:36:37.035Z] $ docker exec --env ******** --env ******** b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 ssh-agent -k [2022-10-26T20:36:37.129Z] unset SSH_AUTH_SOCK; [2022-10-26T20:36:37.129Z] unset SSH_AGENT_PID; [2022-10-26T20:36:37.129Z] echo Agent pid 77 killed; [2022-10-26T20:36:37.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:36:37.439Z] + git semver [Pipeline] } [2022-10-26T20:36:37.710Z] $ docker stop --time=1 b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 [2022-10-26T20:36:39.013Z] $ docker rm -f b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:36:39.353Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T20:36:39.515Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T20:36:39.518Z] [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:36:39.652Z] provisioning config files... [2022-10-26T20:36:39.661Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config8241868402726326937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:36:39.953Z] ---> docker-login.sh [2022-10-26T20:36:39.953Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:36:39.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:36:39.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:36:39.953Z] Configure a credential helper to remove this warning. See [2022-10-26T20:36:39.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:36:39.953Z] [2022-10-26T20:36:39.953Z] Login Succeeded [2022-10-26T20:36:39.953Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:36:39.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:36:39.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:36:39.953Z] Configure a credential helper to remove this warning. See [2022-10-26T20:36:39.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:36:39.953Z] [2022-10-26T20:36:39.953Z] Login Succeeded [2022-10-26T20:36:39.953Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:36:40.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:36:40.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:36:40.213Z] Configure a credential helper to remove this warning. See [2022-10-26T20:36:40.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:36:40.213Z] [2022-10-26T20:36:40.213Z] Login Succeeded [2022-10-26T20:36:40.213Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:36:40.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:36:40.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:36:40.213Z] Configure a credential helper to remove this warning. See [2022-10-26T20:36:40.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:36:40.213Z] [2022-10-26T20:36:40.213Z] Login Succeeded [2022-10-26T20:36:40.213Z] docker.io [2022-10-26T20:36:40.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:36:40.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:36:40.779Z] Configure a credential helper to remove this warning. See [2022-10-26T20:36:40.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:36:40.779Z] [2022-10-26T20:36:40.779Z] Login Succeeded [2022-10-26T20:36:40.779Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:36:40.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:36:40.840Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:36:40.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:36:40.858Z] ========================================================= [2022-10-26T20:36:40.858Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T20:36:40.858Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:36:41.175Z] + 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:36:41.175Z] Sending build context to Docker daemon 23.27MB [2022-10-26T20:36:41.175Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:36:41.175Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T20:36:41.436Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T20:36:41.436Z] 213ec9aee27d: Pulling fs layer [2022-10-26T20:36:41.436Z] 4583459ba037: Pulling fs layer [2022-10-26T20:36:41.436Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T20:36:41.436Z] 53926ce57604: Pulling fs layer [2022-10-26T20:36:41.436Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T20:36:41.436Z] 30f14e443154: Pulling fs layer [2022-10-26T20:36:41.436Z] 801331c1e519: Pulling fs layer [2022-10-26T20:36:41.436Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T20:36:41.436Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T20:36:41.436Z] 21b2b0c7a3f4: Waiting [2022-10-26T20:36:41.436Z] 53926ce57604: Waiting [2022-10-26T20:36:41.436Z] 30f14e443154: Waiting [2022-10-26T20:36:41.436Z] 801331c1e519: Waiting [2022-10-26T20:36:41.436Z] 99cc6dd402b0: Waiting [2022-10-26T20:36:41.436Z] 7d9ed39f4882: Waiting [2022-10-26T20:36:41.436Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T20:36:41.436Z] 93c1e223e6f2: Download complete [2022-10-26T20:36:41.436Z] 4583459ba037: Verifying Checksum [2022-10-26T20:36:41.436Z] 4583459ba037: Download complete [2022-10-26T20:36:41.436Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T20:36:41.436Z] 30f14e443154: Verifying Checksum [2022-10-26T20:36:41.436Z] 30f14e443154: Download complete [2022-10-26T20:36:41.436Z] 213ec9aee27d: Verifying Checksum [2022-10-26T20:36:41.436Z] 213ec9aee27d: Download complete [2022-10-26T20:36:41.436Z] 801331c1e519: Download complete [2022-10-26T20:36:41.436Z] 213ec9aee27d: Pull complete [2022-10-26T20:36:41.695Z] 4583459ba037: Pull complete [2022-10-26T20:36:41.695Z] 93c1e223e6f2: Pull complete [2022-10-26T20:36:41.955Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T20:36:41.955Z] 7d9ed39f4882: Download complete [2022-10-26T20:36:41.955Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T20:36:41.955Z] 99cc6dd402b0: Download complete [2022-10-26T20:36:42.214Z] 53926ce57604: Verifying Checksum [2022-10-26T20:36:42.214Z] 53926ce57604: Download complete [2022-10-26T20:36:45.496Z] 53926ce57604: Pull complete [2022-10-26T20:36:45.755Z] 21b2b0c7a3f4: Pull complete [2022-10-26T20:36:45.755Z] 30f14e443154: Pull complete [2022-10-26T20:36:45.755Z] 801331c1e519: Pull complete [2022-10-26T20:36:47.653Z] 99cc6dd402b0: Pull complete [2022-10-26T20:36:48.588Z] 7d9ed39f4882: Pull complete [2022-10-26T20:36:48.588Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T20:36:48.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T20:36:48.588Z] ---> 1dedd983c030 [2022-10-26T20:36:48.588Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:36:53.857Z] ---> Running in abdae093c1da [2022-10-26T20:36:53.857Z] Removing intermediate container abdae093c1da [2022-10-26T20:36:53.857Z] ---> 14f24b09fdbc [2022-10-26T20:36:53.857Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:36:53.857Z] ---> Running in 06d88238b63f [2022-10-26T20:36:53.857Z] Removing intermediate container 06d88238b63f [2022-10-26T20:36:53.857Z] ---> 2846aeb5714a [2022-10-26T20:36:53.857Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:36:53.857Z] ---> Running in 14f967677d23 [2022-10-26T20:36:53.857Z] Removing intermediate container 14f967677d23 [2022-10-26T20:36:53.857Z] ---> 6ddd41171889 [2022-10-26T20:36:53.857Z] Step 6/12 : WORKDIR /device-virtual-go [2022-10-26T20:36:53.857Z] ---> Running in 9813fbdaac5a [2022-10-26T20:36:53.857Z] Removing intermediate container 9813fbdaac5a [2022-10-26T20:36:53.857Z] ---> 452940b0c7f4 [2022-10-26T20:36:53.857Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:36:53.857Z] ---> Running in b5ac490712b1 [2022-10-26T20:36:54.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:36:54.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:36:54.426Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:36:54.426Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T20:36:54.611Z] Still waiting to schedule task [2022-10-26T20:36:54.611Z] ‘prd-ubuntu20.04-docker-8c-8g-117291’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T20:36:54.611Z] ‘prd-ubuntu20.04-docker-8c-8g-117310’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T20:36:54.611Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117298’ is offline [2022-10-26T20:36:54.611Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117316’ is offline [2022-10-26T20:36:54.611Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117317’ is offline [2022-10-26T20:36:54.684Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:36:54.685Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:36:54.685Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:36:54.685Z] OK: 216 MiB in 55 packages [2022-10-26T20:36:55.251Z] Removing intermediate container b5ac490712b1 [2022-10-26T20:36:55.251Z] ---> ca0756ad20ea [2022-10-26T20:36:55.251Z] Step 8/12 : COPY go.mod vendor* ./ [2022-10-26T20:36:55.251Z] ---> 4a9527b3c48d [2022-10-26T20:36:55.251Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:36:55.509Z] ---> Running in 9ba7c5663b1d [2022-10-26T20:37:17.506Z] Removing intermediate container 9ba7c5663b1d [2022-10-26T20:37:17.506Z] ---> 11f2b6ce7f03 [2022-10-26T20:37:17.506Z] Step 10/12 : COPY . . [2022-10-26T20:37:18.440Z] ---> 03610e38f587 [2022-10-26T20:37:18.440Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:37:18.440Z] ---> Running in 667e05178347 [2022-10-26T20:37:18.698Z] Removing intermediate container 667e05178347 [2022-10-26T20:37:18.698Z] ---> 9ebcbf57a9ae [2022-10-26T20:37:18.698Z] Step 12/12 : RUN $MAKE [2022-10-26T20:37:18.698Z] ---> Running in 5eddfeed0e49 [2022-10-26T20:37:19.263Z] noop [2022-10-26T20:37:19.830Z] Removing intermediate container 5eddfeed0e49 [2022-10-26T20:37:19.830Z] ---> 6d66bfb5fec9 [2022-10-26T20:37:19.830Z] Successfully built 6d66bfb5fec9 [2022-10-26T20:37:19.830Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:37:20.131Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:37:20.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:37:20.196Z] prd-ubuntu20.04-docker-8c-8g-117314 does not seem to be running inside a container [2022-10-26T20:37:20.225Z] $ 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:37:20.721Z] $ docker top d3f5180ad50f293dc0cf32603cfbab6c33ec9da30618b992e5e24bd2bba24e05 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:37:21.057Z] + go version [2022-10-26T20:37:21.057Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T20:37:21.065Z] $ docker stop --time=1 d3f5180ad50f293dc0cf32603cfbab6c33ec9da30618b992e5e24bd2bba24e05 [2022-10-26T20:37:22.303Z] $ docker rm -f d3f5180ad50f293dc0cf32603cfbab6c33ec9da30618b992e5e24bd2bba24e05 [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:37:22.695Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:37:22.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:37:22.760Z] prd-ubuntu20.04-docker-8c-8g-117314 does not seem to be running inside a container [2022-10-26T20:37:22.787Z] $ 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:37:23.154Z] $ docker top 99897f74b181b428f0146180f926297d59e7965642c98c0a4cf16f22c3b66c29 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:37:23.495Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:37:23.787Z] + make test [2022-10-26T20:37:23.787Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:37:24.047Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-26T20:37:32.151Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-26T20:37:33.087Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.046s coverage: 65.7% of statements [2022-10-26T20:37:41.190Z] 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:37:41.190Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:37:43.090Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:37:43.090Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:37:43.090Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:37:43.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:37:43.109Z] $ docker stop --time=1 99897f74b181b428f0146180f926297d59e7965642c98c0a4cf16f22c3b66c29 [2022-10-26T20:37:45.554Z] $ docker rm -f 99897f74b181b428f0146180f926297d59e7965642c98c0a4cf16f22c3b66c29 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:37:45.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:37:46.026Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T20:37:46.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:37:46.716Z] + ls -al . [2022-10-26T20:37:46.716Z] total 204 [2022-10-26T20:37:46.716Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:37 . [2022-10-26T20:37:46.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:36 .. [2022-10-26T20:37:46.716Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:37 .git [2022-10-26T20:37:46.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:36 .github [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 20:36 .gitignore [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:36 .golangci.yml [2022-10-26T20:37:46.716Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:36 .semver [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 20:36 Attribution.txt [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 20:36 CHANGELOG.md [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 1709 Oct 26 20:36 Dockerfile [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:36 GOVERNANCE.md [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 20:36 Jenkinsfile [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:36 LICENSE [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 20:36 Makefile [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 20:36 OWNERS.md [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 20:36 README.md [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:36 VERSION [2022-10-26T20:37:46.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:36 bin [2022-10-26T20:37:46.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:36 cmd [2022-10-26T20:37:46.716Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 20:37 coverage.out [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 20:36 go.mod [2022-10-26T20:37:46.716Z] -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 20:36 go.sum [2022-10-26T20:37:46.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:36 internal [2022-10-26T20:37:46.717Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:36 snap [2022-10-26T20:37:46.717Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 20:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:37:47.023Z] + 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=1baba3f0330e43e27ddf533a45f96232cf710628 --label arch=amd64 --label version=0.0.0 . [2022-10-26T20:37:47.023Z] Sending build context to Docker daemon 23.31MB [2022-10-26T20:37:47.023Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:37:47.023Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-26T20:37:47.023Z] ---> 6d66bfb5fec9 [2022-10-26T20:37:47.023Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:37:47.281Z] ---> Running in f84430fb6464 [2022-10-26T20:37:47.281Z] Removing intermediate container f84430fb6464 [2022-10-26T20:37:47.281Z] ---> 533fbd1517b1 [2022-10-26T20:37:47.281Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:37:47.539Z] ---> Running in 8952195805cd [2022-10-26T20:37:47.539Z] Removing intermediate container 8952195805cd [2022-10-26T20:37:47.539Z] ---> a9effba514ae [2022-10-26T20:37:47.539Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:37:47.539Z] ---> Running in 737353754f52 [2022-10-26T20:37:47.539Z] Removing intermediate container 737353754f52 [2022-10-26T20:37:47.539Z] ---> dae2412926c4 [2022-10-26T20:37:47.539Z] Step 6/25 : WORKDIR /device-virtual-go [2022-10-26T20:37:47.539Z] ---> Running in 9ae479a11c0e [2022-10-26T20:37:47.797Z] Removing intermediate container 9ae479a11c0e [2022-10-26T20:37:47.797Z] ---> 015e2c74c2f1 [2022-10-26T20:37:47.797Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:37:47.797Z] ---> Running in c3cb2fc048b2 [2022-10-26T20:37:48.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:37:48.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:37:48.312Z] OK: 216 MiB in 55 packages [2022-10-26T20:37:48.570Z] Removing intermediate container c3cb2fc048b2 [2022-10-26T20:37:48.570Z] ---> 5135e8de433a [2022-10-26T20:37:48.570Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-26T20:37:48.828Z] ---> e86d6226cbb7 [2022-10-26T20:37:48.828Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:37:48.828Z] ---> Running in f58b1d9f6266 [2022-10-26T20:37:49.396Z] Removing intermediate container f58b1d9f6266 [2022-10-26T20:37:49.396Z] ---> 524eeacb229d [2022-10-26T20:37:49.396Z] Step 10/25 : COPY . . [2022-10-26T20:37:49.973Z] ---> 4c0c4f66a96a [2022-10-26T20:37:49.973Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:37:50.233Z] ---> Running in 011adbacca0a [2022-10-26T20:37:50.233Z] Removing intermediate container 011adbacca0a [2022-10-26T20:37:50.233Z] ---> c26d4a46533b [2022-10-26T20:37:50.233Z] Step 12/25 : RUN $MAKE [2022-10-26T20:37:50.233Z] ---> Running in 9981c7268151 [2022-10-26T20:37:50.492Z] 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:38:12.439Z] Removing intermediate container 9981c7268151 [2022-10-26T20:38:12.439Z] ---> 498a35006bfd [2022-10-26T20:38:12.439Z] Step 13/25 : FROM alpine:3.16 [2022-10-26T20:38:12.439Z] 3.16: Pulling from library/alpine [2022-10-26T20:38:12.439Z] 213ec9aee27d: Already exists [2022-10-26T20:38:12.439Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:38:12.439Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:38:12.439Z] ---> 9c6f07244728 [2022-10-26T20:38:12.439Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-26T20:38:12.439Z] ---> Running in f3f4dd39a084 [2022-10-26T20:38:12.439Z] Removing intermediate container f3f4dd39a084 [2022-10-26T20:38:12.439Z] ---> 924932c4a441 [2022-10-26T20:38:12.439Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:38:12.439Z] ---> Running in 4ae44fe7b706 [2022-10-26T20:38:12.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:38:12.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:38:12.439Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:38:12.439Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:38:12.439Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:38:12.439Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:38:12.439Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:38:12.439Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:38:12.439Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:38:12.439Z] OK: 8 MiB in 20 packages [2022-10-26T20:38:13.007Z] Removing intermediate container 4ae44fe7b706 [2022-10-26T20:38:13.007Z] ---> caccd0638aea [2022-10-26T20:38:13.007Z] Step 16/25 : WORKDIR / [2022-10-26T20:38:13.007Z] ---> Running in 0ee8aebdc1a1 [2022-10-26T20:38:13.007Z] Removing intermediate container 0ee8aebdc1a1 [2022-10-26T20:38:13.007Z] ---> 95c2e1d97cb9 [2022-10-26T20:38:13.007Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-26T20:38:13.265Z] ---> 174e62223e1a [2022-10-26T20:38:13.265Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-26T20:38:13.265Z] ---> 62b0f07c437b [2022-10-26T20:38:13.265Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-10-26T20:38:14.197Z] ---> 4d2d89f1333e [2022-10-26T20:38:14.197Z] Step 20/25 : EXPOSE 59900 [2022-10-26T20:38:14.197Z] ---> Running in 1b4a5fcf5f44 [2022-10-26T20:38:14.197Z] Removing intermediate container 1b4a5fcf5f44 [2022-10-26T20:38:14.197Z] ---> 36d252b36d95 [2022-10-26T20:38:14.197Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-10-26T20:38:14.197Z] ---> Running in b2408b2458d0 [2022-10-26T20:38:14.455Z] Removing intermediate container b2408b2458d0 [2022-10-26T20:38:14.455Z] ---> e613c317625c [2022-10-26T20:38:14.455Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:38:14.455Z] ---> Running in 941ec313c6f0 [2022-10-26T20:38:14.455Z] Removing intermediate container 941ec313c6f0 [2022-10-26T20:38:14.455Z] ---> dea554aeb76e [2022-10-26T20:38:14.455Z] Step 23/25 : LABEL arch=amd64 [2022-10-26T20:38:14.455Z] ---> Running in 8e9b47ff3118 [2022-10-26T20:38:14.455Z] Removing intermediate container 8e9b47ff3118 [2022-10-26T20:38:14.455Z] ---> bff758dab776 [2022-10-26T20:38:14.455Z] Step 24/25 : LABEL git_sha=1baba3f0330e43e27ddf533a45f96232cf710628 [2022-10-26T20:38:14.455Z] ---> Running in 38aa16b857b0 [2022-10-26T20:38:14.713Z] Removing intermediate container 38aa16b857b0 [2022-10-26T20:38:14.713Z] ---> 9cfb5efa9476 [2022-10-26T20:38:14.713Z] Step 25/25 : LABEL version=0.0.0 [2022-10-26T20:38:14.713Z] ---> Running in d4828bda31b5 [2022-10-26T20:38:14.713Z] Removing intermediate container d4828bda31b5 [2022-10-26T20:38:14.713Z] ---> 78941489ffcc [2022-10-26T20:38:14.713Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:38:14.713Z] Successfully built 78941489ffcc [2022-10-26T20:38:14.713Z] 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:38:15.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:38:15.127Z] [2022-10-26T20:38:15.127Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:38:15.420Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:38:15.420Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T20:38:15.420Z] 5eb5b503b376: Pulling fs layer [2022-10-26T20:38:15.420Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T20:38:15.420Z] ec43610c2a17: Pulling fs layer [2022-10-26T20:38:15.420Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T20:38:15.420Z] 33b1e0a273af: Pulling fs layer [2022-10-26T20:38:15.420Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T20:38:15.420Z] 2f39f015ded8: Pulling fs layer [2022-10-26T20:38:15.420Z] 33b1e0a273af: Waiting [2022-10-26T20:38:15.420Z] 5d3b04190fa2: Waiting [2022-10-26T20:38:15.420Z] 2f39f015ded8: Waiting [2022-10-26T20:38:15.420Z] 3a2ae6a8a46f: Waiting [2022-10-26T20:38:15.420Z] 5c69ac0246d0: Download complete [2022-10-26T20:38:15.420Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T20:38:15.420Z] 3a2ae6a8a46f: Download complete [2022-10-26T20:38:15.420Z] 33b1e0a273af: Verifying Checksum [2022-10-26T20:38:15.420Z] 33b1e0a273af: Download complete [2022-10-26T20:38:15.680Z] 5d3b04190fa2: Download complete [2022-10-26T20:38:15.680Z] ec43610c2a17: Download complete [2022-10-26T20:38:15.680Z] 5eb5b503b376: Verifying Checksum [2022-10-26T20:38:15.680Z] 5eb5b503b376: Download complete [2022-10-26T20:38:16.248Z] 2f39f015ded8: Download complete [2022-10-26T20:38:17.181Z] 5eb5b503b376: Pull complete [2022-10-26T20:38:17.181Z] 5c69ac0246d0: Pull complete [2022-10-26T20:38:17.745Z] ec43610c2a17: Pull complete [2022-10-26T20:38:17.745Z] 3a2ae6a8a46f: Pull complete [2022-10-26T20:38:18.309Z] 33b1e0a273af: Pull complete [2022-10-26T20:38:18.309Z] 5d3b04190fa2: Pull complete [2022-10-26T20:38:22.489Z] 2f39f015ded8: Pull complete [2022-10-26T20:38:22.489Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T20:38:22.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:38:22.489Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:38:22.562Z] prd-ubuntu20.04-docker-8c-8g-117314 does not seem to be running inside a container [2022-10-26T20:38:22.598Z] $ 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:38:26.681Z] $ docker top 3913adf3e5eaa386c2ca71269cb285e00050e808c054812287c910f67c07cb96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:38:27.051Z] ---> job-cost.sh [2022-10-26T20:38:27.051Z] lf-activate-venv: SKIPPING [2022-10-26T20:38:27.051Z] INFO: No Stack... [2022-10-26T20:38:27.309Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:38:27.570Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:38:27.854Z] + cat /w/workspace/foundry_device-virtual-go_PR-317/archives/cost.csv [2022-10-26T20:38:27.854Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:38:27.866Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] [2022-10-26T20:38:27.871Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] did not exist. Created. [2022-10-26T20:38:27.871Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:38:28.169Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T20:38:28.196Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:38:28.203Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:38:28.221Z] $ docker stop --time=1 3913adf3e5eaa386c2ca71269cb285e00050e808c054812287c910f67c07cb96 [2022-10-26T20:38:29.373Z] $ docker rm -f 3913adf3e5eaa386c2ca71269cb285e00050e808c054812287c910f67c07cb96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T20:38:47.434Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117319 in /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] { [Pipeline] ws [2022-10-26T20:38:47.447Z] Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout [2022-10-26T20:38:47.513Z] The recommended git tool is: git [2022-10-26T20:38:59.227Z] using credential edgex-jenkins-ssh [2022-10-26T20:38:59.245Z] Cloning the remote Git repository [2022-10-26T20:38:59.325Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T20:38:59.456Z] > git init /w/workspace/device-virtual-go/5 # timeout=10 [2022-10-26T20:38:59.759Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T20:38:59.762Z] > git --version # timeout=10 [2022-10-26T20:38:59.815Z] > git --version # 'git version 2.25.1' [2022-10-26T20:38:59.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:38:59.907Z] Verifying host key using known hosts file [2022-10-26T20:39:00.294Z] 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:39:00.310Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:39:02.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-26T20:39:02.748Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:39:04.771Z] Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit 1baba3f0330e43e27ddf533a45f96232cf710628 [2022-10-26T20:39:05.063Z] Merge succeeded, producing 1baba3f0330e43e27ddf533a45f96232cf710628 [2022-10-26T20:39:05.063Z] Checking out Revision 1baba3f0330e43e27ddf533a45f96232cf710628 (PR-317) [2022-10-26T20:39:03.943Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-26T20:39:04.000Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-26T20:39:04.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:39:04.009Z] Verifying host key using known hosts file [2022-10-26T20:39:04.017Z] 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:39:04.036Z] > 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:39:04.800Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:39:04.829Z] > git checkout -f 1baba3f0330e43e27ddf533a45f96232cf710628 # timeout=10 [2022-10-26T20:39:04.934Z] > git remote # timeout=10 [2022-10-26T20:39:04.957Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T20:39:04.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:39:04.988Z] Verifying host key using known hosts file [2022-10-26T20:39:04.993Z] 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:39:05.005Z] > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 [2022-10-26T20:39:05.038Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T20:39:05.074Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:39:05.092Z] > git checkout -f 1baba3f0330e43e27ddf533a45f96232cf710628 # timeout=10 [2022-10-26T20:39:08.790Z] 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:39:09.694Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T20:39:09.694Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:39:09.694Z] Dload Upload Total Spent Left Speed [2022-10-26T20:39:09.694Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 175k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh [2022-10-26T20:39:10.374Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T20:39:10.740Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T20:39:10.740Z] + sudo tee /etc/docker/daemon.new [2022-10-26T20:39:10.740Z] { [2022-10-26T20:39:10.740Z] "registry-mirrors": [ [2022-10-26T20:39:10.740Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T20:39:10.740Z] ], [2022-10-26T20:39:10.740Z] "bip": "10.250.0.254/24", [2022-10-26T20:39:10.740Z] "hosts": [ [2022-10-26T20:39:10.740Z] "tcp://0.0.0.0:5555", [2022-10-26T20:39:10.740Z] "unix:///var/run/docker.sock" [2022-10-26T20:39:10.740Z] ], [2022-10-26T20:39:10.740Z] "mtu": 1458, [2022-10-26T20:39:10.740Z] "selinux-enabled": true, [2022-10-26T20:39:10.740Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T20:39:10.740Z] } [Pipeline] sh [2022-10-26T20:39:11.108Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T20:39:11.467Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:39:29.817Z] provisioning config files... [2022-10-26T20:39:29.857Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config2231653145791608229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:39:30.225Z] ---> docker-login.sh [2022-10-26T20:39:30.225Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:39:30.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:39:30.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:39:30.821Z] Configure a credential helper to remove this warning. See [2022-10-26T20:39:30.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:39:30.821Z] [2022-10-26T20:39:30.821Z] Login Succeeded [2022-10-26T20:39:30.821Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:39:31.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:39:31.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:39:31.415Z] Configure a credential helper to remove this warning. See [2022-10-26T20:39:31.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:39:31.415Z] [2022-10-26T20:39:31.415Z] Login Succeeded [2022-10-26T20:39:31.415Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:39:31.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:39:31.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:39:31.694Z] Configure a credential helper to remove this warning. See [2022-10-26T20:39:31.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:39:31.694Z] [2022-10-26T20:39:31.694Z] Login Succeeded [2022-10-26T20:39:31.694Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:39:31.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:39:32.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:39:32.248Z] Configure a credential helper to remove this warning. See [2022-10-26T20:39:32.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:39:32.248Z] [2022-10-26T20:39:32.248Z] Login Succeeded [2022-10-26T20:39:32.248Z] docker.io [2022-10-26T20:39:32.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:39:32.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:39:32.794Z] Configure a credential helper to remove this warning. See [2022-10-26T20:39:32.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:39:32.794Z] [2022-10-26T20:39:32.794Z] Login Succeeded [2022-10-26T20:39:32.794Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:39:32.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:39:32.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:39:32.998Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:39:33.006Z] ========================================================= [2022-10-26T20:39:33.006Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T20:39:33.006Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:39:33.358Z] + 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:39:33.630Z] Sending build context to Docker daemon 11.8MB [2022-10-26T20:39:33.904Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:39:33.904Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T20:39:33.904Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T20:39:33.904Z] 9b18e9b68314: Pulling fs layer [2022-10-26T20:39:33.904Z] d32db5db7311: Pulling fs layer [2022-10-26T20:39:33.904Z] d0c4b47475fc: Pulling fs layer [2022-10-26T20:39:33.904Z] 5831b945b038: Pulling fs layer [2022-10-26T20:39:33.904Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T20:39:33.904Z] e10730c5d714: Pulling fs layer [2022-10-26T20:39:33.904Z] 5dd5c2283517: Pulling fs layer [2022-10-26T20:39:33.904Z] d5ac0230b979: Pulling fs layer [2022-10-26T20:39:33.904Z] e10730c5d714: Waiting [2022-10-26T20:39:33.904Z] 5dd5c2283517: Waiting [2022-10-26T20:39:33.904Z] 5831b945b038: Waiting [2022-10-26T20:39:33.904Z] d5ac0230b979: Waiting [2022-10-26T20:39:33.904Z] 86bbec2aaacd: Waiting [2022-10-26T20:39:33.904Z] d0c4b47475fc: Verifying Checksum [2022-10-26T20:39:33.904Z] d0c4b47475fc: Download complete [2022-10-26T20:39:33.904Z] d32db5db7311: Verifying Checksum [2022-10-26T20:39:33.904Z] d32db5db7311: Download complete [2022-10-26T20:39:34.188Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T20:39:34.188Z] 86bbec2aaacd: Download complete [2022-10-26T20:39:34.188Z] e10730c5d714: Verifying Checksum [2022-10-26T20:39:34.188Z] e10730c5d714: Download complete [2022-10-26T20:39:34.188Z] 9b18e9b68314: Download complete [2022-10-26T20:39:35.163Z] 9b18e9b68314: Pull complete [2022-10-26T20:39:35.434Z] d5ac0230b979: Verifying Checksum [2022-10-26T20:39:35.434Z] d5ac0230b979: Download complete [2022-10-26T20:39:35.722Z] d32db5db7311: Pull complete [2022-10-26T20:39:36.002Z] d0c4b47475fc: Pull complete [2022-10-26T20:39:36.597Z] 5dd5c2283517: Download complete [2022-10-26T20:39:37.566Z] 5831b945b038: Verifying Checksum [2022-10-26T20:39:37.566Z] 5831b945b038: Download complete [2022-10-26T20:39:49.955Z] 5831b945b038: Pull complete [2022-10-26T20:39:50.225Z] 86bbec2aaacd: Pull complete [2022-10-26T20:39:50.496Z] e10730c5d714: Pull complete [2022-10-26T20:39:57.204Z] 5dd5c2283517: Pull complete [2022-10-26T20:39:59.174Z] d5ac0230b979: Pull complete [2022-10-26T20:39:59.174Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T20:39:59.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T20:39:59.174Z] ---> 59b3b1a385d4 [2022-10-26T20:39:59.174Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:40:00.614Z] ---> Running in b8a9fb8b84cf [2022-10-26T20:40:00.907Z] Removing intermediate container b8a9fb8b84cf [2022-10-26T20:40:00.907Z] ---> 1cf4b2492dbc [2022-10-26T20:40:00.907Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:40:01.335Z] ---> Running in 6901e6f8b69a [2022-10-26T20:40:02.773Z] Removing intermediate container 6901e6f8b69a [2022-10-26T20:40:02.773Z] ---> c255e00580bb [2022-10-26T20:40:02.773Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:40:03.056Z] ---> Running in badb918074c6 [2022-10-26T20:40:03.331Z] Removing intermediate container badb918074c6 [2022-10-26T20:40:03.331Z] ---> 1f4861060752 [2022-10-26T20:40:03.331Z] Step 6/12 : WORKDIR /device-virtual-go [2022-10-26T20:40:03.331Z] ---> Running in f6ae90487de1 [2022-10-26T20:40:03.699Z] Removing intermediate container f6ae90487de1 [2022-10-26T20:40:03.699Z] ---> 3df8e20cad8c [2022-10-26T20:40:03.699Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:40:03.699Z] ---> Running in a411af7cb62f [2022-10-26T20:40:05.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:40:05.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:40:06.868Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:40:06.868Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T20:40:06.868Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:40:06.868Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:40:06.868Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:40:06.868Z] OK: 226 MiB in 55 packages [2022-10-26T20:40:07.846Z] Removing intermediate container a411af7cb62f [2022-10-26T20:40:07.846Z] ---> 77ec7695a464 [2022-10-26T20:40:07.846Z] Step 8/12 : COPY go.mod vendor* ./ [2022-10-26T20:40:08.464Z] ---> 37583d5dc3e1 [2022-10-26T20:40:08.464Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:40:08.464Z] ---> Running in 9384b20b4628 [2022-10-26T20:41:16.574Z] Removing intermediate container 9384b20b4628 [2022-10-26T20:41:16.574Z] ---> ddf664a34793 [2022-10-26T20:41:16.574Z] Step 10/12 : COPY . . [2022-10-26T20:41:16.574Z] ---> b2d3c3871053 [2022-10-26T20:41:16.574Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:41:16.574Z] ---> Running in 165f3ae6f496 [2022-10-26T20:41:16.574Z] Removing intermediate container 165f3ae6f496 [2022-10-26T20:41:16.574Z] ---> cb43ee3f0d65 [2022-10-26T20:41:16.574Z] Step 12/12 : RUN $MAKE [2022-10-26T20:41:16.574Z] ---> Running in 60f34fb0e7ca [2022-10-26T20:41:16.574Z] noop [2022-10-26T20:41:16.574Z] Removing intermediate container 60f34fb0e7ca [2022-10-26T20:41:16.574Z] ---> 21e01a19f396 [2022-10-26T20:41:16.574Z] Successfully built 21e01a19f396 [2022-10-26T20:41:16.574Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:41:16.938Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:41:16.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:41:17.155Z] prd-ubuntu20.04-docker-arm64-4c-16g-117319 does not seem to be running inside a container [2022-10-26T20:41:17.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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:41:18.652Z] $ docker top 147336bf59e7f985dd31bb47dd6d68628deed6295228066c08fdfcdd78229984 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:41:19.557Z] + go version [2022-10-26T20:41:19.557Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T20:41:19.586Z] $ docker stop --time=1 147336bf59e7f985dd31bb47dd6d68628deed6295228066c08fdfcdd78229984 [2022-10-26T20:41:21.372Z] $ docker rm -f 147336bf59e7f985dd31bb47dd6d68628deed6295228066c08fdfcdd78229984 [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:41:21.961Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:41:21.961Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:41:22.160Z] prd-ubuntu20.04-docker-arm64-4c-16g-117319 does not seem to be running inside a container [2022-10-26T20:41:22.254Z] $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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:41:23.660Z] $ docker top 44490c4da09b373981e68e7e30a406bb231f6490477bb27567c6c04579fba1e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:41:24.532Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/5 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:41:25.200Z] + make test [2022-10-26T20:41:25.200Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:41:27.153Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-26T20:43:18.916Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-26T20:43:18.916Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.150s coverage: 65.7% of statements [2022-10-26T20:43:18.916Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T20:43:18.916Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:43:33.978Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:43:33.978Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:43:33.978Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:43:33.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:43:34.016Z] $ docker stop --time=1 44490c4da09b373981e68e7e30a406bb231f6490477bb27567c6c04579fba1e7 [2022-10-26T20:43:35.972Z] $ docker rm -f 44490c4da09b373981e68e7e30a406bb231f6490477bb27567c6c04579fba1e7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:43:37.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:43:37.031Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T20:43:37.610Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:43:37.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:43:38.326Z] + ls -al . [2022-10-26T20:43:38.326Z] total 200 [2022-10-26T20:43:38.326Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:41 . [2022-10-26T20:43:38.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:38 .. [2022-10-26T20:43:38.326Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:39 .git [2022-10-26T20:43:38.326Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:39 .github [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 20:39 .gitignore [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:39 .golangci.yml [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 20:39 Attribution.txt [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 20:39 CHANGELOG.md [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 1709 Oct 26 20:39 Dockerfile [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:39 GOVERNANCE.md [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 20:39 Jenkinsfile [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:39 LICENSE [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 20:39 Makefile [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 20:39 OWNERS.md [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 20:39 README.md [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:36 VERSION [2022-10-26T20:43:38.326Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:39 bin [2022-10-26T20:43:38.326Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:39 cmd [2022-10-26T20:43:38.326Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 20:43 coverage.out [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 20:39 go.mod [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 20:39 go.sum [2022-10-26T20:43:38.326Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:39 internal [2022-10-26T20:43:38.326Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:39 snap [2022-10-26T20:43:38.326Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 20:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:43:38.691Z] + 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=1baba3f0330e43e27ddf533a45f96232cf710628 --label arch=arm64 --label version=0.0.0 . [2022-10-26T20:43:38.961Z] Sending build context to Docker daemon 11.84MB [2022-10-26T20:43:39.231Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:43:39.231Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-26T20:43:39.231Z] ---> 21e01a19f396 [2022-10-26T20:43:39.231Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:43:39.231Z] ---> Running in 7ab0d5b804c7 [2022-10-26T20:43:39.824Z] Removing intermediate container 7ab0d5b804c7 [2022-10-26T20:43:39.824Z] ---> 168aeeab8dd0 [2022-10-26T20:43:39.824Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:43:39.824Z] ---> Running in b1ea57364961 [2022-10-26T20:43:40.097Z] Removing intermediate container b1ea57364961 [2022-10-26T20:43:40.097Z] ---> faef1cef6a79 [2022-10-26T20:43:40.097Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:43:40.097Z] ---> Running in 43e524226047 [2022-10-26T20:43:40.693Z] Removing intermediate container 43e524226047 [2022-10-26T20:43:40.693Z] ---> 76a6a3a17244 [2022-10-26T20:43:40.693Z] Step 6/25 : WORKDIR /device-virtual-go [2022-10-26T20:43:40.693Z] ---> Running in 5ccaa278a3f5 [2022-10-26T20:43:40.966Z] Removing intermediate container 5ccaa278a3f5 [2022-10-26T20:43:40.966Z] ---> 64d5dba129d2 [2022-10-26T20:43:40.966Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:43:41.240Z] ---> Running in e5ca5691be81 [2022-10-26T20:43:42.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:43:42.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:43:43.918Z] OK: 226 MiB in 55 packages [2022-10-26T20:43:44.910Z] Removing intermediate container e5ca5691be81 [2022-10-26T20:43:44.910Z] ---> 9a47216323ad [2022-10-26T20:43:44.910Z] Step 8/25 : COPY go.mod vendor* ./ [2022-10-26T20:43:45.506Z] ---> b3d0da110a71 [2022-10-26T20:43:45.506Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:43:45.791Z] ---> Running in 41b9555e7b90 [2022-10-26T20:43:48.405Z] Removing intermediate container 41b9555e7b90 [2022-10-26T20:43:48.405Z] ---> bb847a5c1d04 [2022-10-26T20:43:48.405Z] Step 10/25 : COPY . . [2022-10-26T20:43:49.375Z] ---> e90b4ec08eed [2022-10-26T20:43:49.375Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:43:49.375Z] ---> Running in d49fce0c5697 [2022-10-26T20:43:49.967Z] Removing intermediate container d49fce0c5697 [2022-10-26T20:43:49.967Z] ---> 3e1ec92d2841 [2022-10-26T20:43:49.967Z] Step 12/25 : RUN $MAKE [2022-10-26T20:43:49.967Z] ---> Running in 59d85368f217 [2022-10-26T20:43:50.944Z] 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:46:43.048Z] Removing intermediate container 59d85368f217 [2022-10-26T20:46:43.048Z] ---> 6b2cb6b27ddd [2022-10-26T20:46:43.048Z] Step 13/25 : FROM alpine:3.16 [2022-10-26T20:46:43.048Z] 3.16: Pulling from library/alpine [2022-10-26T20:46:43.048Z] 9b18e9b68314: Already exists [2022-10-26T20:46:43.048Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:46:43.048Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:46:43.048Z] ---> a6215f271958 [2022-10-26T20:46:43.048Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-26T20:46:43.048Z] ---> Running in c402151376df [2022-10-26T20:46:43.048Z] Removing intermediate container c402151376df [2022-10-26T20:46:43.048Z] ---> 777f394f4d91 [2022-10-26T20:46:43.048Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:46:43.048Z] ---> Running in 968328de3b4b [2022-10-26T20:46:43.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:46:43.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:46:43.048Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:46:43.048Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:46:43.048Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:46:43.048Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:46:43.048Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:46:43.048Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:46:43.048Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:46:43.048Z] OK: 8 MiB in 20 packages [2022-10-26T20:46:43.048Z] Removing intermediate container 968328de3b4b [2022-10-26T20:46:43.048Z] ---> 723d87a88727 [2022-10-26T20:46:43.048Z] Step 16/25 : WORKDIR / [2022-10-26T20:46:43.048Z] ---> Running in 3bd3b414ce6e [2022-10-26T20:46:43.048Z] Removing intermediate container 3bd3b414ce6e [2022-10-26T20:46:43.048Z] ---> fa39d7bf38c4 [2022-10-26T20:46:43.048Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-26T20:46:43.048Z] ---> 4bc16b2a800c [2022-10-26T20:46:43.048Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-26T20:46:43.048Z] ---> 9c36483949de [2022-10-26T20:46:43.048Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2022-10-26T20:46:43.048Z] ---> 5618d9423ce5 [2022-10-26T20:46:43.048Z] Step 20/25 : EXPOSE 59900 [2022-10-26T20:46:43.048Z] ---> Running in ba335413ee3a [2022-10-26T20:46:43.048Z] Removing intermediate container ba335413ee3a [2022-10-26T20:46:43.048Z] ---> 4043f02b6629 [2022-10-26T20:46:43.048Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2022-10-26T20:46:43.048Z] ---> Running in ca06642b2ce8 [2022-10-26T20:46:43.048Z] Removing intermediate container ca06642b2ce8 [2022-10-26T20:46:43.048Z] ---> 150cf522a957 [2022-10-26T20:46:43.048Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:46:43.048Z] ---> Running in 014584ecb863 [2022-10-26T20:46:43.048Z] Removing intermediate container 014584ecb863 [2022-10-26T20:46:43.048Z] ---> 6f7fddbb7584 [2022-10-26T20:46:43.048Z] Step 23/25 : LABEL arch=arm64 [2022-10-26T20:46:43.048Z] ---> Running in e7a2577d86eb [2022-10-26T20:46:43.048Z] Removing intermediate container e7a2577d86eb [2022-10-26T20:46:43.048Z] ---> 55506fa96fe4 [2022-10-26T20:46:43.048Z] Step 24/25 : LABEL git_sha=1baba3f0330e43e27ddf533a45f96232cf710628 [2022-10-26T20:46:43.048Z] ---> Running in 3f2aaa876d57 [2022-10-26T20:46:43.048Z] Removing intermediate container 3f2aaa876d57 [2022-10-26T20:46:43.048Z] ---> 5f25079de47e [2022-10-26T20:46:43.048Z] Step 25/25 : LABEL version=0.0.0 [2022-10-26T20:46:43.048Z] ---> Running in 5186cae9fe69 [2022-10-26T20:46:43.048Z] Removing intermediate container 5186cae9fe69 [2022-10-26T20:46:43.048Z] ---> e8d9f052abe2 [2022-10-26T20:46:43.048Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:46:43.048Z] Successfully built e8d9f052abe2 [2022-10-26T20:46:43.048Z] 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:46:43.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:46:43.492Z] [2022-10-26T20:46:43.492Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:46:43.835Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:46:43.835Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T20:46:43.835Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T20:46:43.835Z] 04944245beec: Pulling fs layer [2022-10-26T20:46:43.835Z] 699f458cf7ca: Pulling fs layer [2022-10-26T20:46:43.835Z] 765212b225bb: Pulling fs layer [2022-10-26T20:46:43.835Z] f23df028b6ca: Pulling fs layer [2022-10-26T20:46:43.835Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T20:46:43.835Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T20:46:43.835Z] f23df028b6ca: Waiting [2022-10-26T20:46:43.835Z] d65c8cfc05b1: Waiting [2022-10-26T20:46:43.835Z] 2437ff75d9bd: Waiting [2022-10-26T20:46:43.835Z] 765212b225bb: Waiting [2022-10-26T20:46:44.105Z] 04944245beec: Verifying Checksum [2022-10-26T20:46:44.105Z] 04944245beec: Download complete [2022-10-26T20:46:44.105Z] 765212b225bb: Verifying Checksum [2022-10-26T20:46:44.105Z] 765212b225bb: Download complete [2022-10-26T20:46:44.105Z] f23df028b6ca: Download complete [2022-10-26T20:46:44.105Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T20:46:44.105Z] d65c8cfc05b1: Download complete [2022-10-26T20:46:44.377Z] 699f458cf7ca: Verifying Checksum [2022-10-26T20:46:44.645Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T20:46:44.645Z] 8998bd30e6a1: Download complete [2022-10-26T20:46:47.252Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T20:46:47.252Z] 2437ff75d9bd: Download complete [2022-10-26T20:46:48.663Z] 8998bd30e6a1: Pull complete [2022-10-26T20:46:49.248Z] 04944245beec: Pull complete [2022-10-26T20:46:50.658Z] 699f458cf7ca: Pull complete [2022-10-26T20:46:50.658Z] 765212b225bb: Pull complete [2022-10-26T20:46:51.244Z] f23df028b6ca: Pull complete [2022-10-26T20:46:51.513Z] d65c8cfc05b1: Pull complete [2022-10-26T20:47:06.508Z] 2437ff75d9bd: Pull complete [2022-10-26T20:47:06.508Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T20:47:06.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:47:06.508Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:47:06.699Z] prd-ubuntu20.04-docker-arm64-4c-16g-117319 does not seem to be running inside a container [2022-10-26T20:47:06.774Z] $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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:47:09.670Z] $ docker top 3b394956392d691c236c0b650b29c83fb2890b64969faacb1266c2f1d28986b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:47:10.527Z] ---> job-cost.sh [2022-10-26T20:47:10.527Z] lf-activate-venv: SKIPPING [2022-10-26T20:47:10.527Z] INFO: No Stack... [2022-10-26T20:47:10.795Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T20:47:11.764Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:47:12.409Z] + cat /w/workspace/device-virtual-go/5/archives/cost.csv [2022-10-26T20:47:12.409Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:47:12.477Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] [2022-10-26T20:47:12.486Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] did not exist. Created. [2022-10-26T20:47:12.486Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:47:13.157Z] /w/workspace/device-virtual-go/5@tmp/durable-257215d9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T20:47:13.823Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T20:47:13.850Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T20:47:13.901Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:47:13.908Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:47:13.932Z] $ docker stop --time=1 3b394956392d691c236c0b650b29c83fb2890b64969faacb1266c2f1d28986b1 [2022-10-26T20:47:15.437Z] $ docker rm -f 3b394956392d691c236c0b650b29c83fb2890b64969faacb1266c2f1d28986b1 [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:47:15.813Z] provisioning config files... [2022-10-26T20:47:15.820Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config14355156618227892267tmp [Pipeline] { [Pipeline] sh [2022-10-26T20:47:16.112Z] + set +x [2022-10-26T20:47:16.112Z] + curl -s https://codecov.io/bash [2022-10-26T20:47:16.112Z] + bash -s -- [2022-10-26T20:47:16.112Z] [2022-10-26T20:47:16.112Z] _____ _ [2022-10-26T20:47:16.112Z] / ____| | | [2022-10-26T20:47:16.112Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T20:47:16.112Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T20:47:16.112Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T20:47:16.113Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T20:47:16.113Z] Bash-1.0.6 [2022-10-26T20:47:16.113Z] [2022-10-26T20:47:16.113Z] [2022-10-26T20:47:16.113Z] ==> git version 2.25.1 found [2022-10-26T20:47:16.113Z] ==> 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:47:16.113Z] Release-Date: 2020-01-08 [2022-10-26T20:47:16.113Z] 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:47:16.113Z] 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:47:16.113Z] ==> Jenkins CI detected. [2022-10-26T20:47:16.113Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-317 [2022-10-26T20:47:16.113Z] project root: . [2022-10-26T20:47:16.113Z] --> token set from env [2022-10-26T20:47:16.113Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T20:47:16.113Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T20:47:16.113Z] ==> Python coveragepy not found [2022-10-26T20:47:16.113Z] ==> Searching for coverage reports in: [2022-10-26T20:47:16.113Z] + . [2022-10-26T20:47:16.113Z] -> Found 1 reports [2022-10-26T20:47:16.113Z] ==> Detecting git/mercurial file structure [2022-10-26T20:47:16.113Z] ==> Reading reports [2022-10-26T20:47:16.113Z] + ./coverage.out bytes=44128 [2022-10-26T20:47:16.113Z] ==> Appending adjustments [2022-10-26T20:47:16.113Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T20:47:16.371Z] + Found adjustments [2022-10-26T20:47:16.371Z] ==> Gzipping contents [2022-10-26T20:47:16.371Z] 8.0K /tmp/codecov.4Zt7cK.gz [2022-10-26T20:47:16.371Z] ==> Uploading reports [2022-10-26T20:47:16.371Z] url: https://codecov.io [2022-10-26T20:47:16.371Z] query: branch=PR-317&commit=1baba3f0330e43e27ddf533a45f96232cf710628&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= [2022-10-26T20:47:16.371Z] -> Pinging Codecov [2022-10-26T20:47:16.371Z] 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=1baba3f0330e43e27ddf533a45f96232cf710628&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= [2022-10-26T20:47:16.630Z] -> Uploading to [2022-10-26T20:47:16.630Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/5E52B4B073DB2E39498172D8E973AA87/1baba3f0330e43e27ddf533a45f96232cf710628/1fced7d7-2e90-40ff-899d-be457aff0b59.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T204716Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3d16affbb8f3d78a9072afcec11b2f73906d6a84d267d2a9fad78de7ba81d0f [2022-10-26T20:47:16.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:47:16.630Z] Dload Upload Total Spent Left Speed [2022-10-26T20:47:16.889Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5478 0 0 100 5478 0 24900 --:--:-- --:--:-- --:--:-- 24900 [2022-10-26T20:47:16.889Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/1baba3f0330e43e27ddf533a45f96232cf710628 [Pipeline] } [2022-10-26T20:47:16.895Z] 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:47:17.548Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-317/archives ] [2022-10-26T20:47:17.548Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T20:47:17.548Z] total 16 [2022-10-26T20:47:17.548Z] drwxr-xr-x 3 root root 4096 Oct 26 20:38 . [2022-10-26T20:47:17.548Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:38 .. [2022-10-26T20:47:17.548Z] drwxr-xr-x 2 root root 4096 Oct 26 20:38 cost [2022-10-26T20:47:17.548Z] -rw-r--r-- 1 root root 89 Oct 26 20:38 cost.csv [2022-10-26T20:47:17.548Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T20:47:17.548Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives [2022-10-26T20:47:17.548Z] total 16 [2022-10-26T20:47:17.548Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:38 . [2022-10-26T20:47:17.548Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:38 .. [2022-10-26T20:47:17.548Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:38 cost [2022-10-26T20:47:17.548Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 26 20:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:47:17.832Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:47:18.686Z] ---> package-listing.sh [2022-10-26T20:47:18.686Z] ++ facter osfamily [2022-10-26T20:47:18.686Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T20:47:18.945Z] + OS_FAMILY=debian [2022-10-26T20:47:18.945Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-317 [2022-10-26T20:47:18.945Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T20:47:18.945Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T20:47:18.945Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T20:47:18.945Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T20:47:18.945Z] + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' [2022-10-26T20:47:18.945Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T20:47:18.945Z] + case "${OS_FAMILY}" in [2022-10-26T20:47:18.945Z] + dpkg -l [2022-10-26T20:47:18.945Z] + grep '^ii' [2022-10-26T20:47:18.945Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T20:47:18.945Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T20:47:18.945Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T20:47:18.945Z] + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' [2022-10-26T20:47:18.945Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-317/archives/ [2022-10-26T20:47:18.945Z] + 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:47:18.954Z] 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:47:19.231Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:47:19.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:47:19.796Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:47:19.860Z] prd-ubuntu20.04-docker-8c-8g-117314 does not seem to be running inside a container [2022-10-26T20:47:19.886Z] $ 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:47:20.095Z] $ docker top f27d95245cc27c59a4e195bf56d567d70ff61bc7e3295d8478855f19807b04a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:47:20.448Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T20:47:20.731Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T20:47:21.025Z] + ls /var/log/sa-host [2022-10-26T20:47:21.025Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:47:21.095Z] provisioning config files... [2022-10-26T20:47:21.103Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config8318430920579773275tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:47:21.115Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:47:21.396Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T20:47:21.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:47:21.745Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T20:47:21.753Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:47:22.036Z] ---> sudo-logs.sh [2022-10-26T20:47:22.036Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T20:47:22.057Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:47:22.335Z] ---> job-cost.sh [2022-10-26T20:47:22.335Z] lf-activate-venv: SKIPPING [2022-10-26T20:47:22.335Z] DEBUG: total: 0.2199999988079071 [2022-10-26T20:47:22.335Z] INFO: Retrieving Stack Cost... [2022-10-26T20:47:22.903Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:47:23.470Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T20:47:23.481Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:47:23.764Z] ---> logs-deploy.sh [2022-10-26T20:47:23.764Z] lf-activate-venv: SKIPPING [2022-10-26T20:47:23.764Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-317/5 [2022-10-26T20:47:23.764Z] INFO: archiving workspace using pattern(s): [2022-10-26T20:47:24.700Z] Archives upload complete. [2022-10-26T20:47:24.700Z] INFO: archiving logs to Nexus [2022-10-26T20:47:25.267Z] ---> uname -a: [2022-10-26T20:47:25.267Z] Linux prd-ubuntu20-04-docker-8c-8g-117314 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-26T20:47:25.267Z] [2022-10-26T20:47:25.267Z] [2022-10-26T20:47:25.267Z] ---> lscpu: [2022-10-26T20:47:25.267Z] Architecture: x86_64 [2022-10-26T20:47:25.267Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-26T20:47:25.267Z] Byte Order: Little Endian [2022-10-26T20:47:25.267Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-26T20:47:25.267Z] CPU(s): 8 [2022-10-26T20:47:25.267Z] On-line CPU(s) list: 0-7 [2022-10-26T20:47:25.267Z] Thread(s) per core: 1 [2022-10-26T20:47:25.267Z] Core(s) per socket: 1 [2022-10-26T20:47:25.267Z] Socket(s): 8 [2022-10-26T20:47:25.267Z] NUMA node(s): 1 [2022-10-26T20:47:25.268Z] Vendor ID: AuthenticAMD [2022-10-26T20:47:25.268Z] CPU family: 23 [2022-10-26T20:47:25.268Z] Model: 49 [2022-10-26T20:47:25.268Z] Model name: AMD EPYC-Rome Processor [2022-10-26T20:47:25.268Z] Stepping: 0 [2022-10-26T20:47:25.268Z] CPU MHz: 2799.988 [2022-10-26T20:47:25.268Z] BogoMIPS: 5599.97 [2022-10-26T20:47:25.268Z] Virtualization: AMD-V [2022-10-26T20:47:25.268Z] Hypervisor vendor: KVM [2022-10-26T20:47:25.268Z] Virtualization type: full [2022-10-26T20:47:25.268Z] L1d cache: 256 KiB [2022-10-26T20:47:25.268Z] L1i cache: 256 KiB [2022-10-26T20:47:25.268Z] L2 cache: 4 MiB [2022-10-26T20:47:25.268Z] L3 cache: 128 MiB [2022-10-26T20:47:25.268Z] NUMA node0 CPU(s): 0-7 [2022-10-26T20:47:25.268Z] Vulnerability Itlb multihit: Not affected [2022-10-26T20:47:25.268Z] Vulnerability L1tf: Not affected [2022-10-26T20:47:25.268Z] Vulnerability Mds: Not affected [2022-10-26T20:47:25.268Z] Vulnerability Meltdown: Not affected [2022-10-26T20:47:25.268Z] Vulnerability Mmio stale data: Not affected [2022-10-26T20:47:25.268Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-26T20:47:25.268Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-26T20:47:25.268Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-26T20:47:25.268Z] Vulnerability Srbds: Not affected [2022-10-26T20:47:25.268Z] Vulnerability Tsx async abort: Not affected [2022-10-26T20:47:25.268Z] 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:47:25.268Z] [2022-10-26T20:47:25.268Z] [2022-10-26T20:47:25.268Z] ---> nproc: [2022-10-26T20:47:25.268Z] 8 [2022-10-26T20:47:25.268Z] [2022-10-26T20:47:25.268Z]