Pull request #305 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 lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 55baadd97b2491ed3c22238d812226204efb8613+e9e78a70a342ea66ab18edf5d69a1655646d3b52 (6613179e84a1ffb7b55653df75490044b57307d7) 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-ssh5001502131667913253.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5659589614634025374.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-305/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-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17444903922629566015.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh16792220248273423770.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-305/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-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11517908009401131733.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-673’ Running on prd-ubuntu20.04-docker-8c-8g-676 in /w/workspace/foundry_device-virtual-go_PR-305 [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-305 # 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/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit 55baadd97b2491ed3c22238d812226204efb8613 Merge succeeded, producing 55baadd97b2491ed3c22238d812226204efb8613 Checking out Revision 55baadd97b2491ed3c22238d812226204efb8613 (PR-305) > git config core.sparsecheckout # timeout=10 > git checkout -f 55baadd97b2491ed3c22238d812226204efb8613 # 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 e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55baadd97b2491ed3c22238d812226204efb8613 # timeout=10 Commit message: "feat: Add NATS Subject configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T22:52:33.057Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T22:52:33.117Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T22:52:33.133Z] ========================================================= [2022-09-22T22:52:33.133Z] EdgeX Global Pipelines Version Info [2022-09-22T22:52:33.133Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:52:33.882Z] ------------------- [2022-09-22T22:52:33.882Z] stable info: [2022-09-22T22:52:33.882Z] ------------------- [2022-09-22T22:52:33.882Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T22:52:33.882Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T22:52:33.882Z] Message: update stable to v1.0.239 > git rev-list --no-walk c492918df114aea48d87c626b4428d7f9950dc90 # timeout=10 [2022-09-22T22:52:34.452Z] ------------------- [2022-09-22T22:52:34.452Z] experimental info: [2022-09-22T22:52:34.452Z] ------------------- [2022-09-22T22:52:34.452Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T22:52:34.452Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T22:52:34.452Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T22:52:34.608Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-09-22T22:52:34.621Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-09-22T22:52:34.630Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T22:52:34.641Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T22:52:34.653Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T22:52:34.664Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T22:52:34.675Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T22:52:34.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-22T22:52:34.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T22:52:34.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T22:52:34.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T22:52:34.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-09-22T22:52:34.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T22:52:34.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T22:52:34.765Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T22:52:34.775Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T22:52:34.786Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T22:52:34.799Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T22:52:34.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T22:52:34.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T22:52:34.832Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-22T22:52:34.843Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-22T22:52:34.854Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T22:52:34.865Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T22:52:34.876Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T22:52:34.888Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T22:52:34.899Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T22:52:34.911Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo [2022-09-22T22:52:34.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo [2022-09-22T22:52:34.934Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo [2022-09-22T22:52:34.945Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55baadd97b2491ed3c22238d812226204efb8613 [Pipeline] echo [2022-09-22T22:52:34.958Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55baadd [Pipeline] echo [2022-09-22T22:52:34.972Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T22:52:35.013Z] provisioning config files... [2022-09-22T22:52:35.026Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config1486508152426341290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:52:35.325Z] ---> docker-login.sh [2022-09-22T22:52:35.325Z] nexus3.edgexfoundry.org:10001 [2022-09-22T22:52:35.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:35.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:35.585Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:35.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:35.585Z] [2022-09-22T22:52:35.585Z] Login Succeeded [2022-09-22T22:52:35.585Z] nexus3.edgexfoundry.org:10002 [2022-09-22T22:52:35.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:35.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:35.585Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:35.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:35.585Z] [2022-09-22T22:52:35.585Z] Login Succeeded [2022-09-22T22:52:35.585Z] nexus3.edgexfoundry.org:10003 [2022-09-22T22:52:35.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:35.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:35.846Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:35.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:35.846Z] [2022-09-22T22:52:35.846Z] Login Succeeded [2022-09-22T22:52:35.846Z] nexus3.edgexfoundry.org:10004 [2022-09-22T22:52:35.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:35.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:35.846Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:35.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:35.846Z] [2022-09-22T22:52:35.846Z] Login Succeeded [2022-09-22T22:52:35.846Z] docker.io [2022-09-22T22:52:36.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:36.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:36.366Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:36.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:36.366Z] [2022-09-22T22:52:36.366Z] Login Succeeded [2022-09-22T22:52:36.366Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T22:52:36.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T22:52:36.757Z] + git rev-list -1 --merges 55baadd97b2491ed3c22238d812226204efb8613~1..55baadd97b2491ed3c22238d812226204efb8613 [Pipeline] echo [2022-09-22T22:52:36.825Z] -----------> git rev-list -1 --merges 55baadd97b2491ed3c22238d812226204efb8613~1..55baadd97b2491ed3c22238d812226204efb8613 55baadd97b2491ed3c22238d812226204efb8613 [false] [Pipeline] sh [2022-09-22T22:52:37.116Z] + git log --format=format:%s -1 55baadd97b2491ed3c22238d812226204efb8613 [Pipeline] echo [2022-09-22T22:52:37.130Z] ========================================================= [2022-09-22T22:52:37.130Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T22:52:37.130Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T22:52:37.441Z] + git log --format=format:%s -1 55baadd97b2491ed3c22238d812226204efb8613 [Pipeline] echo [2022-09-22T22:52:37.453Z] [semverPrep] GIT_COMMIT: 55baadd97b2491ed3c22238d812226204efb8613, Commit Message: feat: Add NATS Subject configuration [Pipeline] echo [2022-09-22T22:52:37.461Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T22:52:37.803Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T22:52:37.803Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T22:52:37.803Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T22:52:37.803Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T22:52:37.803Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T22:52:37.803Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T22:52:37.803Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:52:38.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:52:38.150Z] [2022-09-22T22:52:38.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:52:38.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:52:38.448Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T22:52:38.448Z] b85a868b505f: Pulling fs layer [2022-09-22T22:52:38.448Z] e2be974225ed: Pulling fs layer [2022-09-22T22:52:38.448Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T22:52:38.448Z] 988bab9f4d93: Pulling fs layer [2022-09-22T22:52:38.448Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T22:52:38.448Z] eaf3925da568: Pulling fs layer [2022-09-22T22:52:38.448Z] bab4dde63d76: Pulling fs layer [2022-09-22T22:52:38.448Z] bde34c3a00c8: Pulling fs layer [2022-09-22T22:52:38.448Z] b352a97aabf1: Pulling fs layer [2022-09-22T22:52:38.448Z] 4872d77fe225: Pulling fs layer [2022-09-22T22:52:38.448Z] 5851b861e8e6: Pulling fs layer [2022-09-22T22:52:38.448Z] bab4dde63d76: Waiting [2022-09-22T22:52:38.448Z] bde34c3a00c8: Waiting [2022-09-22T22:52:38.448Z] b352a97aabf1: Waiting [2022-09-22T22:52:38.448Z] 988bab9f4d93: Waiting [2022-09-22T22:52:38.448Z] 5851b861e8e6: Waiting [2022-09-22T22:52:38.448Z] 1469e6f7b9e6: Waiting [2022-09-22T22:52:38.448Z] eaf3925da568: Waiting [2022-09-22T22:52:38.448Z] 4872d77fe225: Waiting [2022-09-22T22:52:38.449Z] e2be974225ed: Download complete [2022-09-22T22:52:38.449Z] 988bab9f4d93: Download complete [2022-09-22T22:52:38.449Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T22:52:38.449Z] 1469e6f7b9e6: Download complete [2022-09-22T22:52:38.708Z] eaf3925da568: Verifying Checksum [2022-09-22T22:52:38.708Z] eaf3925da568: Download complete [2022-09-22T22:52:38.708Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T22:52:38.708Z] 339a4e72a1f5: Download complete [2022-09-22T22:52:38.708Z] bde34c3a00c8: Verifying Checksum [2022-09-22T22:52:38.708Z] bde34c3a00c8: Download complete [2022-09-22T22:52:38.708Z] b352a97aabf1: Download complete [2022-09-22T22:52:38.708Z] 4872d77fe225: Verifying Checksum [2022-09-22T22:52:38.708Z] 4872d77fe225: Download complete [2022-09-22T22:52:38.708Z] 5851b861e8e6: Verifying Checksum [2022-09-22T22:52:38.708Z] 5851b861e8e6: Download complete [2022-09-22T22:52:38.708Z] b85a868b505f: Verifying Checksum [2022-09-22T22:52:38.708Z] b85a868b505f: Download complete [2022-09-22T22:52:38.967Z] bab4dde63d76: Verifying Checksum [2022-09-22T22:52:38.967Z] bab4dde63d76: Download complete [2022-09-22T22:52:39.905Z] b85a868b505f: Pull complete [2022-09-22T22:52:39.905Z] e2be974225ed: Pull complete [2022-09-22T22:52:40.473Z] 339a4e72a1f5: Pull complete [2022-09-22T22:52:40.473Z] 988bab9f4d93: Pull complete [2022-09-22T22:52:40.732Z] 1469e6f7b9e6: Pull complete [2022-09-22T22:52:40.732Z] eaf3925da568: Pull complete [2022-09-22T22:52:42.638Z] bab4dde63d76: Pull complete [2022-09-22T22:52:42.638Z] bde34c3a00c8: Pull complete [2022-09-22T22:52:42.638Z] b352a97aabf1: Pull complete [2022-09-22T22:52:42.638Z] 4872d77fe225: Pull complete [2022-09-22T22:52:42.638Z] 5851b861e8e6: Pull complete [2022-09-22T22:52:42.638Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T22:52:42.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:52:42.638Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:52:42.709Z] prd-ubuntu20.04-docker-8c-8g-676 does not seem to be running inside a container [2022-09-22T22:52:42.743Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-22T22:52:45.096Z] $ docker top e2b6ba7358140734d35594515c430867a893cdba595fe5da61cd4911e5330b58 -eo pid,comm [2022-09-22T22:52:45.149Z] 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-09-22T22:52:45.149Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T22:52:45.183Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T22:52:45.183Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T22:52:45.280Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T22:52:45.282Z] $ docker exec e2b6ba7358140734d35594515c430867a893cdba595fe5da61cd4911e5330b58 ssh-agent [2022-09-22T22:52:45.380Z] SSH_AUTH_SOCK=/tmp/ssh-BZcZoxdKdMeG/agent.33 [2022-09-22T22:52:45.380Z] SSH_AGENT_PID=40 [2022-09-22T22:52:45.387Z] Running ssh-add (command line suppressed) [2022-09-22T22:52:45.481Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_14708996633503329417.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_14708996633503329417.key) [2022-09-22T22:52:45.496Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T22:52:45.783Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T22:52:45.792Z] $ docker exec --env ******** --env ******** e2b6ba7358140734d35594515c430867a893cdba595fe5da61cd4911e5330b58 ssh-agent -k [2022-09-22T22:52:45.882Z] unset SSH_AUTH_SOCK; [2022-09-22T22:52:45.882Z] unset SSH_AGENT_PID; [2022-09-22T22:52:45.882Z] echo Agent pid 40 killed; [2022-09-22T22:52:45.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T22:52:45.916Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T22:52:45.916Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T22:52:46.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T22:52:46.024Z] $ docker exec e2b6ba7358140734d35594515c430867a893cdba595fe5da61cd4911e5330b58 ssh-agent [2022-09-22T22:52:46.115Z] SSH_AUTH_SOCK=/tmp/ssh-llh0S01cMh5X/agent.72 [2022-09-22T22:52:46.115Z] SSH_AGENT_PID=77 [2022-09-22T22:52:46.119Z] Running ssh-add (command line suppressed) [2022-09-22T22:52:46.224Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_3743682915393619311.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_3743682915393619311.key) [2022-09-22T22:52:46.238Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T22:52:46.523Z] + git semver init [2022-09-22T22:52:46.783Z] 2022-09-22 22:52:46,695 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T22:52:46.783Z] 2022-09-22 22:52:46,696 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-305/.semver [2022-09-22T22:52:46.783Z] 2022-09-22 22:52:46,696 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-305/.semver [2022-09-22T22:52:46.783Z] 2022-09-22 22:52:46,696 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-305/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-305, universal_newlines=False, shell=None, istream=None) [2022-09-22T22:52:48.161Z] 2022-09-22 22:52:47,886 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-305/.git/info/exclude [2022-09-22T22:52:48.162Z] 2022-09-22 22:52:47,886 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 with force:False [2022-09-22T22:52:48.162Z] 2022-09-22 22:52:47,887 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 [2022-09-22T22:52:48.162Z] 2022-09-22 22:52:47,889 [execute] INFO git cat-file --batch-check [2022-09-22T22:52:48.162Z] 2022-09-22 22:52:47,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T22:52:48.162Z] 2022-09-22 22:52:47,893 [execute] INFO git cat-file --batch [2022-09-22T22:52:48.162Z] 2022-09-22 22:52:47,893 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T22:52:48.162Z] 2022-09-22 22:52:47,897 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 [2022-09-22T22:52:48.162Z] 0.0.0 [Pipeline] } [2022-09-22T22:52:48.170Z] $ docker exec --env ******** --env ******** e2b6ba7358140734d35594515c430867a893cdba595fe5da61cd4911e5330b58 ssh-agent -k [2022-09-22T22:52:48.260Z] unset SSH_AUTH_SOCK; [2022-09-22T22:52:48.261Z] unset SSH_AGENT_PID; [2022-09-22T22:52:48.261Z] echo Agent pid 77 killed; [2022-09-22T22:52:48.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T22:52:48.576Z] + git semver [Pipeline] } [2022-09-22T22:52:48.847Z] $ docker stop --time=1 e2b6ba7358140734d35594515c430867a893cdba595fe5da61cd4911e5330b58 [2022-09-22T22:52:50.125Z] $ docker rm -f e2b6ba7358140734d35594515c430867a893cdba595fe5da61cd4911e5330b58 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T22:52:50.463Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T22:52:50.650Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T22:52:50.652Z] [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-09-22T22:52:50.751Z] provisioning config files... [2022-09-22T22:52:50.762Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config8071029512777553235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:52:51.054Z] ---> docker-login.sh [2022-09-22T22:52:51.054Z] nexus3.edgexfoundry.org:10001 [2022-09-22T22:52:51.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:51.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:51.054Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:51.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:51.054Z] [2022-09-22T22:52:51.054Z] Login Succeeded [2022-09-22T22:52:51.054Z] nexus3.edgexfoundry.org:10002 [2022-09-22T22:52:51.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:51.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:51.054Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:51.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:51.054Z] [2022-09-22T22:52:51.054Z] Login Succeeded [2022-09-22T22:52:51.054Z] nexus3.edgexfoundry.org:10003 [2022-09-22T22:52:51.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:51.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:51.313Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:51.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:51.313Z] [2022-09-22T22:52:51.313Z] Login Succeeded [2022-09-22T22:52:51.313Z] nexus3.edgexfoundry.org:10004 [2022-09-22T22:52:51.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:51.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:51.313Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:51.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:51.313Z] [2022-09-22T22:52:51.313Z] Login Succeeded [2022-09-22T22:52:51.313Z] docker.io [2022-09-22T22:52:51.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:52:51.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:52:51.835Z] Configure a credential helper to remove this warning. See [2022-09-22T22:52:51.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:52:51.835Z] [2022-09-22T22:52:51.835Z] Login Succeeded [2022-09-22T22:52:51.835Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T22:52:51.842Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T22:52:51.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:52:51.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:52:51.913Z] ========================================================= [2022-09-22T22:52:51.913Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T22:52:51.913Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:52:52.214Z] + 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-09-22T22:52:52.214Z] Sending build context to Docker daemon 23.16MB [2022-09-22T22:52:52.214Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:52:52.214Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T22:52:52.473Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T22:52:52.473Z] 2408cc74d12b: Pulling fs layer [2022-09-22T22:52:52.473Z] ea60b727a1ce: Pulling fs layer [2022-09-22T22:52:52.473Z] 30c4a7721957: Pulling fs layer [2022-09-22T22:52:52.473Z] 370296b7ddb6: Pulling fs layer [2022-09-22T22:52:52.473Z] 7c6cee850709: Pulling fs layer [2022-09-22T22:52:52.473Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T22:52:52.473Z] d94ebbe4e438: Pulling fs layer [2022-09-22T22:52:52.473Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T22:52:52.473Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T22:52:52.473Z] 370296b7ddb6: Waiting [2022-09-22T22:52:52.473Z] 7c6cee850709: Waiting [2022-09-22T22:52:52.473Z] 39a5fcdaea64: Waiting [2022-09-22T22:52:52.473Z] 59ccb84bbe0f: Waiting [2022-09-22T22:52:52.473Z] d94ebbe4e438: Waiting [2022-09-22T22:52:52.473Z] 30c4a7721957: Verifying Checksum [2022-09-22T22:52:52.473Z] 30c4a7721957: Download complete [2022-09-22T22:52:52.473Z] ea60b727a1ce: Download complete [2022-09-22T22:52:52.473Z] 7c6cee850709: Verifying Checksum [2022-09-22T22:52:52.473Z] 7c6cee850709: Download complete [2022-09-22T22:52:52.473Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T22:52:52.473Z] 39a5fcdaea64: Download complete [2022-09-22T22:52:52.473Z] 2408cc74d12b: Download complete [2022-09-22T22:52:52.473Z] d94ebbe4e438: Download complete [2022-09-22T22:52:52.473Z] 2408cc74d12b: Pull complete [2022-09-22T22:52:52.732Z] ea60b727a1ce: Pull complete [2022-09-22T22:52:52.732Z] 30c4a7721957: Pull complete [2022-09-22T22:52:52.992Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T22:52:52.992Z] 59ccb84bbe0f: Download complete [2022-09-22T22:52:53.558Z] 370296b7ddb6: Verifying Checksum [2022-09-22T22:52:53.558Z] 370296b7ddb6: Download complete [2022-09-22T22:52:53.558Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T22:52:56.839Z] 370296b7ddb6: Pull complete [2022-09-22T22:52:56.839Z] 7c6cee850709: Pull complete [2022-09-22T22:52:56.839Z] 39a5fcdaea64: Pull complete [2022-09-22T22:52:56.839Z] d94ebbe4e438: Pull complete [2022-09-22T22:52:58.735Z] bcfd1f05c69d: Pull complete [2022-09-22T22:52:59.299Z] 59ccb84bbe0f: Pull complete [2022-09-22T22:52:59.299Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T22:52:59.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T22:52:59.299Z] ---> a4fb48ad2a94 [2022-09-22T22:52:59.299Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:53:04.572Z] ---> Running in f25348188dc1 [2022-09-22T22:53:04.572Z] Removing intermediate container f25348188dc1 [2022-09-22T22:53:04.572Z] ---> 839f6b5dd95d [2022-09-22T22:53:04.572Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:53:04.572Z] ---> Running in 8a130ec19c4c [2022-09-22T22:53:04.572Z] Removing intermediate container 8a130ec19c4c [2022-09-22T22:53:04.572Z] ---> e0bcd4bfdffd [2022-09-22T22:53:04.572Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:53:04.572Z] ---> Running in 17b756b6b167 [2022-09-22T22:53:04.830Z] Removing intermediate container 17b756b6b167 [2022-09-22T22:53:04.830Z] ---> 3e23356e61ad [2022-09-22T22:53:04.830Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-22T22:53:04.830Z] ---> Running in 86315840568c [2022-09-22T22:53:04.830Z] Removing intermediate container 86315840568c [2022-09-22T22:53:04.830Z] ---> abd89edafdca [2022-09-22T22:53:04.830Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:53:04.830Z] ---> Running in 7347507e1112 [2022-09-22T22:53:05.397Z] Removing intermediate container 7347507e1112 [2022-09-22T22:53:05.397Z] ---> 48e27ebbea94 [2022-09-22T22:53:05.397Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:53:05.397Z] ---> Running in bef67830882c [2022-09-22T22:53:05.656Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:53:05.727Z] Still waiting to schedule task [2022-09-22T22:53:05.727Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-674’ [2022-09-22T22:53:06.591Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:53:06.851Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T22:53:07.109Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T22:53:07.109Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T22:53:07.109Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T22:53:07.391Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T22:53:07.391Z] OK: 216 MiB in 55 packages [2022-09-22T22:53:07.653Z] Removing intermediate container bef67830882c [2022-09-22T22:53:07.653Z] ---> 5076120b1a9d [2022-09-22T22:53:07.653Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-22T22:53:07.912Z] ---> 98d88bbd5cfc [2022-09-22T22:53:07.912Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:53:07.912Z] ---> Running in 359e865e42b3 [2022-09-22T22:53:29.878Z] Removing intermediate container 359e865e42b3 [2022-09-22T22:53:29.878Z] ---> 71e5cb19097c [2022-09-22T22:53:29.878Z] Step 11/13 : COPY . . [2022-09-22T22:53:29.878Z] ---> 7dba11970b61 [2022-09-22T22:53:29.878Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:53:29.878Z] ---> Running in f3db4041ce5f [2022-09-22T22:53:29.878Z] Removing intermediate container f3db4041ce5f [2022-09-22T22:53:29.878Z] ---> ea86c7f9dfb9 [2022-09-22T22:53:29.878Z] Step 13/13 : RUN $MAKE [2022-09-22T22:53:29.878Z] ---> Running in 2a37160c11bf [2022-09-22T22:53:29.878Z] noop [2022-09-22T22:53:29.878Z] Removing intermediate container 2a37160c11bf [2022-09-22T22:53:29.878Z] ---> 50d736b8fb48 [2022-09-22T22:53:29.878Z] Successfully built 50d736b8fb48 [2022-09-22T22:53:29.878Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:53:30.186Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T22:53:30.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:53:30.246Z] prd-ubuntu20.04-docker-8c-8g-676 does not seem to be running inside a container [2022-09-22T22:53:30.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T22:53:30.611Z] $ docker top 065f8e43ef4e4d502b3bbfea54e2eb1c42df9e4e175622c798f72cc5b132cb72 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:53:30.956Z] + go version [2022-09-22T22:53:30.956Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T22:53:30.964Z] $ docker stop --time=1 065f8e43ef4e4d502b3bbfea54e2eb1c42df9e4e175622c798f72cc5b132cb72 [2022-09-22T22:53:32.231Z] $ docker rm -f 065f8e43ef4e4d502b3bbfea54e2eb1c42df9e4e175622c798f72cc5b132cb72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:53:32.623Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T22:53:32.623Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:53:32.682Z] prd-ubuntu20.04-docker-8c-8g-676 does not seem to be running inside a container [2022-09-22T22:53:32.707Z] $ 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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T22:53:33.030Z] $ docker top ea32ae11a35d3f8c065caf04127880fa997f15b6be20f8018725409d53386c46 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:53:33.376Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-305 [Pipeline] fileExists [Pipeline] sh [2022-09-22T22:53:33.670Z] + make test [2022-09-22T22:53:33.670Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-22T22:53:33.928Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-22T22:53:43.894Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-22T22:53:43.894Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-09-22T22:53:49.157Z] 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-09-22T22:53:49.157Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T22:53:52.440Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T22:53:52.440Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T22:53:52.440Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T22:53:52.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T22:53:52.468Z] $ docker stop --time=1 ea32ae11a35d3f8c065caf04127880fa997f15b6be20f8018725409d53386c46 [2022-09-22T22:53:55.334Z] $ docker rm -f ea32ae11a35d3f8c065caf04127880fa997f15b6be20f8018725409d53386c46 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T22:53:55.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T22:53:55.816Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T22:53:56.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T22:53:56.547Z] + ls -al . [2022-09-22T22:53:56.547Z] total 200 [2022-09-22T22:53:56.547Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 22:53 . [2022-09-22T22:53:56.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:52 .. [2022-09-22T22:53:56.547Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:53 .git [2022-09-22T22:53:56.547Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:52 .github [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 22:52 .gitignore [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:52 .golangci.yml [2022-09-22T22:53:56.547Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:52 .semver [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 8527 Sep 22 22:52 Attribution.txt [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 22 22:52 CHANGELOG.md [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 22 22:52 Dockerfile [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:52 GOVERNANCE.md [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 22:52 Jenkinsfile [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:52 LICENSE [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 22 22:52 Makefile [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 22:52 OWNERS.md [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 22 22:52 README.md [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:52 VERSION [2022-09-22T22:53:56.547Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:52 bin [2022-09-22T22:53:56.547Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:52 cmd [2022-09-22T22:53:56.547Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 22 22:53 coverage.out [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 3399 Sep 22 22:52 go.mod [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 37521 Sep 22 22:52 go.sum [2022-09-22T22:53:56.547Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:52 internal [2022-09-22T22:53:56.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:52 snap [2022-09-22T22:53:56.547Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 22:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:53:56.885Z] + 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=55baadd97b2491ed3c22238d812226204efb8613 --label arch=amd64 --label version=0.0.0 . [2022-09-22T22:53:56.885Z] Sending build context to Docker daemon 23.21MB [2022-09-22T22:53:56.885Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:53:56.885Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-22T22:53:56.885Z] ---> 50d736b8fb48 [2022-09-22T22:53:56.885Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:53:57.453Z] ---> Running in 345e08530ed0 [2022-09-22T22:53:57.453Z] Removing intermediate container 345e08530ed0 [2022-09-22T22:53:57.453Z] ---> 37e09efaa194 [2022-09-22T22:53:57.453Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:53:57.453Z] ---> Running in acf2d881e9a8 [2022-09-22T22:53:57.453Z] Removing intermediate container acf2d881e9a8 [2022-09-22T22:53:57.453Z] ---> 808ea7533229 [2022-09-22T22:53:57.453Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:53:57.453Z] ---> Running in 1a93d5f9bb2a [2022-09-22T22:53:57.453Z] Removing intermediate container 1a93d5f9bb2a [2022-09-22T22:53:57.453Z] ---> 2f7a31789f50 [2022-09-22T22:53:57.453Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-22T22:53:57.712Z] ---> Running in f7a4b657cd67 [2022-09-22T22:53:57.712Z] Removing intermediate container f7a4b657cd67 [2022-09-22T22:53:57.712Z] ---> 5a23bf5cdc1c [2022-09-22T22:53:57.712Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:53:57.712Z] ---> Running in fb86765501ef [2022-09-22T22:53:58.280Z] Removing intermediate container fb86765501ef [2022-09-22T22:53:58.280Z] ---> ece8686e83e7 [2022-09-22T22:53:58.280Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:53:58.280Z] ---> Running in 78a400d09d25 [2022-09-22T22:53:58.540Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:53:59.477Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:53:59.747Z] OK: 216 MiB in 55 packages [2022-09-22T22:54:00.006Z] Removing intermediate container 78a400d09d25 [2022-09-22T22:54:00.006Z] ---> 078bdec69c52 [2022-09-22T22:54:00.006Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-22T22:54:00.006Z] ---> 7888f197eeb5 [2022-09-22T22:54:00.006Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:54:00.006Z] ---> Running in b592ee8cb4de [2022-09-22T22:54:00.940Z] Removing intermediate container b592ee8cb4de [2022-09-22T22:54:00.940Z] ---> 718658097ff4 [2022-09-22T22:54:00.940Z] Step 11/27 : COPY . . [2022-09-22T22:54:01.507Z] ---> 7b8fb9d55f55 [2022-09-22T22:54:01.507Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:54:01.507Z] ---> Running in 9de5fa101068 [2022-09-22T22:54:01.507Z] Removing intermediate container 9de5fa101068 [2022-09-22T22:54:01.507Z] ---> aca020e3b27f [2022-09-22T22:54:01.507Z] Step 13/27 : RUN $MAKE [2022-09-22T22:54:01.507Z] ---> Running in 04aebdff4d7b [2022-09-22T22:54:01.766Z] 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-09-22T22:54:23.685Z] Removing intermediate container 04aebdff4d7b [2022-09-22T22:54:23.685Z] ---> 3f2eef2eb1b5 [2022-09-22T22:54:23.685Z] Step 14/27 : FROM alpine:3.16 [2022-09-22T22:54:23.685Z] 3.16: Pulling from library/alpine [2022-09-22T22:54:23.685Z] 213ec9aee27d: Pulling fs layer [2022-09-22T22:54:23.685Z] 213ec9aee27d: Verifying Checksum [2022-09-22T22:54:23.685Z] 213ec9aee27d: Download complete [2022-09-22T22:54:23.685Z] 213ec9aee27d: Pull complete [2022-09-22T22:54:23.685Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T22:54:23.685Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T22:54:23.685Z] ---> 9c6f07244728 [2022-09-22T22:54:23.685Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-22T22:54:23.685Z] ---> Running in 42ad48aa8f67 [2022-09-22T22:54:23.685Z] Removing intermediate container 42ad48aa8f67 [2022-09-22T22:54:23.685Z] ---> 7c99cba979ef [2022-09-22T22:54:23.685Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:54:23.685Z] ---> Running in 8b35a935e488 [2022-09-22T22:54:24.255Z] Removing intermediate container 8b35a935e488 [2022-09-22T22:54:24.255Z] ---> a1b980bbd7c1 [2022-09-22T22:54:24.255Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T22:54:24.255Z] ---> Running in 64f0dd16f75e [2022-09-22T22:54:24.514Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:54:25.450Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:54:25.708Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T22:54:25.708Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T22:54:25.967Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T22:54:25.967Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T22:54:25.967Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T22:54:26.226Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T22:54:26.226Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T22:54:26.226Z] OK: 8 MiB in 20 packages [2022-09-22T22:54:26.793Z] Removing intermediate container 64f0dd16f75e [2022-09-22T22:54:26.793Z] ---> 313130f0ce1f [2022-09-22T22:54:26.793Z] Step 18/27 : WORKDIR / [2022-09-22T22:54:26.793Z] ---> Running in dff773793c1c [2022-09-22T22:54:26.793Z] Removing intermediate container dff773793c1c [2022-09-22T22:54:26.793Z] ---> 2ae7a5ca6a26 [2022-09-22T22:54:26.793Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-22T22:54:27.051Z] ---> 54923b148ea5 [2022-09-22T22:54:27.051Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-22T22:54:27.051Z] ---> 8044394b43eb [2022-09-22T22:54:27.051Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-22T22:54:27.988Z] ---> 65e578889b1d [2022-09-22T22:54:27.988Z] Step 22/27 : EXPOSE 59900 [2022-09-22T22:54:27.988Z] ---> Running in c430806ec5c0 [2022-09-22T22:54:27.988Z] Removing intermediate container c430806ec5c0 [2022-09-22T22:54:27.988Z] ---> c61c787b9eec [2022-09-22T22:54:27.988Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-22T22:54:27.988Z] ---> Running in 2f8e04ea7c69 [2022-09-22T22:54:28.246Z] Removing intermediate container 2f8e04ea7c69 [2022-09-22T22:54:28.246Z] ---> 34d7cf8acb9c [2022-09-22T22:54:28.246Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T22:54:28.246Z] ---> Running in 06a524e60975 [2022-09-22T22:54:28.246Z] Removing intermediate container 06a524e60975 [2022-09-22T22:54:28.246Z] ---> e1f637505ff3 [2022-09-22T22:54:28.246Z] Step 25/27 : LABEL arch=amd64 [2022-09-22T22:54:28.246Z] ---> Running in 11d4a0bca6f8 [2022-09-22T22:54:28.505Z] Removing intermediate container 11d4a0bca6f8 [2022-09-22T22:54:28.505Z] ---> 6d7ac4526500 [2022-09-22T22:54:28.505Z] Step 26/27 : LABEL git_sha=55baadd97b2491ed3c22238d812226204efb8613 [2022-09-22T22:54:28.505Z] ---> Running in d924d97c6d01 [2022-09-22T22:54:28.505Z] Removing intermediate container d924d97c6d01 [2022-09-22T22:54:28.505Z] ---> a78b7d9334e2 [2022-09-22T22:54:28.505Z] Step 27/27 : LABEL version=0.0.0 [2022-09-22T22:54:28.505Z] ---> Running in 5703c813235f [2022-09-22T22:54:28.505Z] Removing intermediate container 5703c813235f [2022-09-22T22:54:28.505Z] ---> 52988b298168 [2022-09-22T22:54:28.505Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T22:54:28.505Z] Successfully built 52988b298168 [2022-09-22T22:54:28.505Z] 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-09-22T22:54:28.935Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:54:28.936Z] [2022-09-22T22:54:28.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:54:29.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:54:29.233Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T22:54:29.233Z] 5eb5b503b376: Pulling fs layer [2022-09-22T22:54:29.233Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T22:54:29.233Z] ec43610c2a17: Pulling fs layer [2022-09-22T22:54:29.233Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T22:54:29.233Z] 33b1e0a273af: Pulling fs layer [2022-09-22T22:54:29.233Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T22:54:29.233Z] 2f39f015ded8: Pulling fs layer [2022-09-22T22:54:29.233Z] 3a2ae6a8a46f: Waiting [2022-09-22T22:54:29.233Z] 33b1e0a273af: Waiting [2022-09-22T22:54:29.233Z] 5d3b04190fa2: Waiting [2022-09-22T22:54:29.233Z] 2f39f015ded8: Waiting [2022-09-22T22:54:29.233Z] 5c69ac0246d0: Download complete [2022-09-22T22:54:29.233Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T22:54:29.233Z] 3a2ae6a8a46f: Download complete [2022-09-22T22:54:29.233Z] 33b1e0a273af: Verifying Checksum [2022-09-22T22:54:29.233Z] 33b1e0a273af: Download complete [2022-09-22T22:54:29.233Z] 5d3b04190fa2: Verifying Checksum [2022-09-22T22:54:29.233Z] 5d3b04190fa2: Download complete [2022-09-22T22:54:29.233Z] ec43610c2a17: Verifying Checksum [2022-09-22T22:54:29.233Z] ec43610c2a17: Download complete [2022-09-22T22:54:29.491Z] 5eb5b503b376: Verifying Checksum [2022-09-22T22:54:29.491Z] 5eb5b503b376: Download complete [2022-09-22T22:54:30.058Z] 2f39f015ded8: Verifying Checksum [2022-09-22T22:54:30.058Z] 2f39f015ded8: Download complete [2022-09-22T22:54:30.625Z] 5eb5b503b376: Pull complete [2022-09-22T22:54:30.625Z] 5c69ac0246d0: Pull complete [2022-09-22T22:54:31.189Z] ec43610c2a17: Pull complete [2022-09-22T22:54:31.189Z] 3a2ae6a8a46f: Pull complete [2022-09-22T22:54:31.456Z] 33b1e0a273af: Pull complete [2022-09-22T22:54:31.456Z] 5d3b04190fa2: Pull complete [2022-09-22T22:54:35.644Z] 2f39f015ded8: Pull complete [2022-09-22T22:54:35.644Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T22:54:35.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:54:35.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:54:35.724Z] prd-ubuntu20.04-docker-8c-8g-676 does not seem to be running inside a container [2022-09-22T22:54:35.756Z] $ 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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T22:54:41.271Z] $ docker top 43fb033250905456da67ec506448610ee69e8eeb3457991202db0682fff048fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:54:41.671Z] ---> job-cost.sh [2022-09-22T22:54:41.671Z] lf-activate-venv: SKIPPING [2022-09-22T22:54:41.671Z] INFO: No Stack... [2022-09-22T22:54:41.930Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T22:54:42.498Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T22:54:42.789Z] + cat /w/workspace/foundry_device-virtual-go_PR-305/archives/cost.csv [2022-09-22T22:54:42.789Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T22:54:42.803Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-3-stack-cost] [2022-09-22T22:54:42.810Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-3-stack-cost] did not exist. Created. [2022-09-22T22:54:42.810Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T22:54:43.111Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T22:54:43.143Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T22:54:43.150Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T22:54:43.166Z] $ docker stop --time=1 43fb033250905456da67ec506448610ee69e8eeb3457991202db0682fff048fa [2022-09-22T22:54:44.312Z] $ docker rm -f 43fb033250905456da67ec506448610ee69e8eeb3457991202db0682fff048fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T22:55:57.180Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-678 in /w/workspace/foundry_device-virtual-go_PR-305 [Pipeline] { [Pipeline] ws [2022-09-22T22:55:57.192Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2022-09-22T22:55:57.224Z] The recommended git tool is: git [2022-09-22T22:56:03.144Z] using credential edgex-jenkins-ssh [2022-09-22T22:56:03.160Z] Cloning the remote Git repository [2022-09-22T22:56:03.206Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-09-22T22:56:03.291Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2022-09-22T22:56:03.443Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-22T22:56:03.444Z] > git --version # timeout=10 [2022-09-22T22:56:03.470Z] > git --version # 'git version 2.25.1' [2022-09-22T22:56:03.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T22:56:03.527Z] Verifying host key using known hosts file [2022-09-22T22:56:03.735Z] 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-09-22T22:56:03.750Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T22:56:05.959Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-22T22:56:05.989Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T22:56:06.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-09-22T22:56:07.003Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-09-22T22:56:07.004Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T22:56:07.010Z] Verifying host key using known hosts file [2022-09-22T22:56:07.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-09-22T22:56:07.028Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T22:56:07.650Z] Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit 55baadd97b2491ed3c22238d812226204efb8613 [2022-09-22T22:56:07.887Z] Merge succeeded, producing 55baadd97b2491ed3c22238d812226204efb8613 [2022-09-22T22:56:07.887Z] Checking out Revision 55baadd97b2491ed3c22238d812226204efb8613 (PR-305) [2022-09-22T22:56:07.668Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T22:56:07.687Z] > git checkout -f 55baadd97b2491ed3c22238d812226204efb8613 # timeout=10 [2022-09-22T22:56:07.769Z] > git remote # timeout=10 [2022-09-22T22:56:07.794Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T22:56:07.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T22:56:07.819Z] Verifying host key using known hosts file [2022-09-22T22:56:07.822Z] 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-09-22T22:56:07.831Z] > git merge e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 [2022-09-22T22:56:07.859Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T22:56:07.894Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T22:56:07.906Z] > git checkout -f 55baadd97b2491ed3c22238d812226204efb8613 # timeout=10 [2022-09-22T22:56:11.405Z] Commit message: "feat: Add NATS Subject configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T22:56:12.217Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T22:56:12.217Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T22:56:12.217Z] Dload Upload Total Spent Left Speed [2022-09-22T22:56:12.217Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh [2022-09-22T22:56:12.768Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T22:56:13.107Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T22:56:13.107Z] + sudo tee /etc/docker/daemon.new [2022-09-22T22:56:13.107Z] { [2022-09-22T22:56:13.107Z] "registry-mirrors": [ [2022-09-22T22:56:13.107Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T22:56:13.107Z] ], [2022-09-22T22:56:13.107Z] "bip": "10.250.0.254/24", [2022-09-22T22:56:13.107Z] "hosts": [ [2022-09-22T22:56:13.107Z] "tcp://0.0.0.0:5555", [2022-09-22T22:56:13.107Z] "unix:///var/run/docker.sock" [2022-09-22T22:56:13.107Z] ], [2022-09-22T22:56:13.107Z] "mtu": 1458, [2022-09-22T22:56:13.107Z] "selinux-enabled": true, [2022-09-22T22:56:13.107Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T22:56:13.107Z] } [Pipeline] sh [2022-09-22T22:56:13.444Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T22:56:13.778Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T22:56:32.063Z] provisioning config files... [2022-09-22T22:56:32.089Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config8715675014009366577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:56:32.481Z] ---> docker-login.sh [2022-09-22T22:56:32.481Z] nexus3.edgexfoundry.org:10001 [2022-09-22T22:56:33.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:56:33.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:56:33.089Z] Configure a credential helper to remove this warning. See [2022-09-22T22:56:33.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:56:33.089Z] [2022-09-22T22:56:33.089Z] Login Succeeded [2022-09-22T22:56:33.089Z] nexus3.edgexfoundry.org:10002 [2022-09-22T22:56:33.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:56:33.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:56:33.632Z] Configure a credential helper to remove this warning. See [2022-09-22T22:56:33.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:56:33.632Z] [2022-09-22T22:56:33.632Z] Login Succeeded [2022-09-22T22:56:33.632Z] nexus3.edgexfoundry.org:10003 [2022-09-22T22:56:33.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:56:33.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:56:33.904Z] Configure a credential helper to remove this warning. See [2022-09-22T22:56:33.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:56:33.904Z] [2022-09-22T22:56:33.904Z] Login Succeeded [2022-09-22T22:56:33.904Z] nexus3.edgexfoundry.org:10004 [2022-09-22T22:56:34.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:56:34.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:56:34.175Z] Configure a credential helper to remove this warning. See [2022-09-22T22:56:34.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:56:34.176Z] [2022-09-22T22:56:34.176Z] Login Succeeded [2022-09-22T22:56:34.176Z] docker.io [2022-09-22T22:56:34.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:56:35.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:56:35.037Z] Configure a credential helper to remove this warning. See [2022-09-22T22:56:35.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:56:35.037Z] [2022-09-22T22:56:35.037Z] Login Succeeded [2022-09-22T22:56:35.037Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T22:56:35.052Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T22:56:35.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:56:35.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:56:35.238Z] ========================================================= [2022-09-22T22:56:35.238Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T22:56:35.238Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:56:35.582Z] + 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-09-22T22:56:35.852Z] Sending build context to Docker daemon 11.73MB [2022-09-22T22:56:35.852Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:56:35.852Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T22:56:36.120Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T22:56:36.120Z] b3c136eddcbf: Pulling fs layer [2022-09-22T22:56:36.120Z] c0a3192eca97: Pulling fs layer [2022-09-22T22:56:36.120Z] a050256f5b6f: Pulling fs layer [2022-09-22T22:56:36.120Z] 656be50a0ddc: Pulling fs layer [2022-09-22T22:56:36.120Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T22:56:36.120Z] 46d945488cbd: Pulling fs layer [2022-09-22T22:56:36.120Z] 8a5474983e97: Pulling fs layer [2022-09-22T22:56:36.120Z] 329c88fbcd65: Pulling fs layer [2022-09-22T22:56:36.120Z] 46d945488cbd: Waiting [2022-09-22T22:56:36.120Z] 8a5474983e97: Waiting [2022-09-22T22:56:36.120Z] 656be50a0ddc: Waiting [2022-09-22T22:56:36.120Z] 2bbca73fdf42: Waiting [2022-09-22T22:56:36.120Z] a050256f5b6f: Download complete [2022-09-22T22:56:36.120Z] c0a3192eca97: Verifying Checksum [2022-09-22T22:56:36.120Z] c0a3192eca97: Download complete [2022-09-22T22:56:36.120Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T22:56:36.120Z] 2bbca73fdf42: Download complete [2022-09-22T22:56:36.120Z] 46d945488cbd: Download complete [2022-09-22T22:56:36.120Z] b3c136eddcbf: Verifying Checksum [2022-09-22T22:56:36.120Z] b3c136eddcbf: Download complete [2022-09-22T22:56:37.111Z] b3c136eddcbf: Pull complete [2022-09-22T22:56:37.382Z] 329c88fbcd65: Verifying Checksum [2022-09-22T22:56:37.382Z] 329c88fbcd65: Download complete [2022-09-22T22:56:37.652Z] c0a3192eca97: Pull complete [2022-09-22T22:56:37.922Z] a050256f5b6f: Pull complete [2022-09-22T22:56:38.521Z] 8a5474983e97: Verifying Checksum [2022-09-22T22:56:38.521Z] 8a5474983e97: Download complete [2022-09-22T22:56:39.108Z] 656be50a0ddc: Download complete [2022-09-22T22:56:51.446Z] 656be50a0ddc: Pull complete [2022-09-22T22:56:51.446Z] 2bbca73fdf42: Pull complete [2022-09-22T22:56:51.446Z] 46d945488cbd: Pull complete [2022-09-22T22:56:58.113Z] 8a5474983e97: Pull complete [2022-09-22T22:57:00.711Z] 329c88fbcd65: Pull complete [2022-09-22T22:57:00.711Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T22:57:00.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T22:57:00.711Z] ---> ff4287adb874 [2022-09-22T22:57:00.711Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:57:02.661Z] ---> Running in a5fbea203a54 [2022-09-22T22:57:02.661Z] Removing intermediate container a5fbea203a54 [2022-09-22T22:57:02.661Z] ---> ad84fc34435f [2022-09-22T22:57:02.661Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:57:02.661Z] ---> Running in 80d918d3632a [2022-09-22T22:57:03.250Z] Removing intermediate container 80d918d3632a [2022-09-22T22:57:03.250Z] ---> 1a947c27c4b1 [2022-09-22T22:57:03.250Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:57:03.250Z] ---> Running in 47834ba695a0 [2022-09-22T22:57:03.537Z] Removing intermediate container 47834ba695a0 [2022-09-22T22:57:03.537Z] ---> 00f20d3a5afe [2022-09-22T22:57:03.537Z] Step 6/13 : WORKDIR /device-virtual-go [2022-09-22T22:57:03.537Z] ---> Running in f2bd57e5fab0 [2022-09-22T22:57:03.832Z] Removing intermediate container f2bd57e5fab0 [2022-09-22T22:57:03.832Z] ---> 2e25e130438b [2022-09-22T22:57:03.832Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:57:04.105Z] ---> Running in 42b1820d0032 [2022-09-22T22:57:06.320Z] Removing intermediate container 42b1820d0032 [2022-09-22T22:57:06.320Z] ---> 6429ff09669d [2022-09-22T22:57:06.320Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:57:06.320Z] ---> Running in e425b7bf9db9 [2022-09-22T22:57:06.907Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T22:57:07.870Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T22:57:08.830Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T22:57:08.830Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T22:57:09.097Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T22:57:09.097Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T22:57:09.364Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T22:57:09.364Z] OK: 226 MiB in 55 packages [2022-09-22T22:57:10.326Z] Removing intermediate container e425b7bf9db9 [2022-09-22T22:57:10.326Z] ---> 24badc084110 [2022-09-22T22:57:10.326Z] Step 9/13 : COPY go.mod vendor* ./ [2022-09-22T22:57:10.908Z] ---> 7005b85a398a [2022-09-22T22:57:10.908Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:57:10.908Z] ---> Running in 7b4d6e4aa6ac [2022-09-22T22:57:57.757Z] Removing intermediate container 7b4d6e4aa6ac [2022-09-22T22:57:57.757Z] ---> a711ced83a92 [2022-09-22T22:57:57.757Z] Step 11/13 : COPY . . [2022-09-22T22:57:58.340Z] ---> c7e06c385d98 [2022-09-22T22:57:58.340Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:57:58.340Z] ---> Running in dd2d11214a15 [2022-09-22T22:57:58.609Z] Removing intermediate container dd2d11214a15 [2022-09-22T22:57:58.609Z] ---> 35b33d04d12c [2022-09-22T22:57:58.609Z] Step 13/13 : RUN $MAKE [2022-09-22T22:57:58.609Z] ---> Running in 8580e91cb2e0 [2022-09-22T22:57:59.568Z] noop [2022-09-22T22:58:00.152Z] Removing intermediate container 8580e91cb2e0 [2022-09-22T22:58:00.152Z] ---> ac1e0e02cd4a [2022-09-22T22:58:00.152Z] Successfully built ac1e0e02cd4a [2022-09-22T22:58:00.152Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:58:00.509Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T22:58:00.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:58:00.682Z] prd-ubuntu20.04-docker-arm64-4c-16g-678 does not seem to be running inside a container [2022-09-22T22:58:00.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T22:58:01.958Z] $ docker top a04250cf871003b4660f5589b9bd8ab4003f6e4717b8a7addfea1f9645735595 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:58:02.775Z] + go version [2022-09-22T22:58:02.775Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T22:58:02.797Z] $ docker stop --time=1 a04250cf871003b4660f5589b9bd8ab4003f6e4717b8a7addfea1f9645735595 [2022-09-22T22:58:04.390Z] $ docker rm -f a04250cf871003b4660f5589b9bd8ab4003f6e4717b8a7addfea1f9645735595 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:58:04.919Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T22:58:04.919Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:58:05.079Z] prd-ubuntu20.04-docker-arm64-4c-16g-678 does not seem to be running inside a container [2022-09-22T22:58:05.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T22:58:06.228Z] $ docker top fc09134c90b1fdc9abe1a95ef9cc01895ca254012f798bb85e9a5daaa8b6d011 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:58:06.727Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh [2022-09-22T22:58:07.057Z] + make test [2022-09-22T22:58:07.323Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-09-22T22:58:09.268Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-09-22T22:59:30.885Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-09-22T22:59:32.863Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.146s coverage: 65.7% of statements [2022-09-22T22:59:33.139Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T22:59:33.139Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T22:59:55.263Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T22:59:55.263Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T22:59:55.263Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T22:59:55.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T22:59:55.293Z] $ docker stop --time=1 fc09134c90b1fdc9abe1a95ef9cc01895ca254012f798bb85e9a5daaa8b6d011 [2022-09-22T22:59:57.045Z] $ docker rm -f fc09134c90b1fdc9abe1a95ef9cc01895ca254012f798bb85e9a5daaa8b6d011 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T22:59:57.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T22:59:57.978Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T22:59:58.432Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T22:59:58.810Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T22:59:59.126Z] + ls -al . [2022-09-22T22:59:59.126Z] total 196 [2022-09-22T22:59:59.126Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:58 . [2022-09-22T22:59:59.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:56 .. [2022-09-22T22:59:59.126Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:56 .git [2022-09-22T22:59:59.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:56 .github [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 22:56 .gitignore [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:56 .golangci.yml [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 8527 Sep 22 22:56 Attribution.txt [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 9649 Sep 22 22:56 CHANGELOG.md [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 2034 Sep 22 22:56 Dockerfile [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:56 GOVERNANCE.md [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 22:56 Jenkinsfile [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:56 LICENSE [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 2457 Sep 22 22:56 Makefile [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 22:56 OWNERS.md [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 3578 Sep 22 22:56 README.md [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:52 VERSION [2022-09-22T22:59:59.126Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:56 bin [2022-09-22T22:59:59.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:56 cmd [2022-09-22T22:59:59.126Z] -rw-r--r-- 1 jenkins jenkins 44128 Sep 22 22:59 coverage.out [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 3399 Sep 22 22:56 go.mod [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 37521 Sep 22 22:56 go.sum [2022-09-22T22:59:59.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:56 internal [2022-09-22T22:59:59.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:56 snap [2022-09-22T22:59:59.126Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 22:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:59:59.459Z] + 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=55baadd97b2491ed3c22238d812226204efb8613 --label arch=arm64 --label version=0.0.0 . [2022-09-22T22:59:59.727Z] Sending build context to Docker daemon 11.78MB [2022-09-22T22:59:59.727Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:59:59.727Z] Step 2/27 : FROM ${BASE} AS builder [2022-09-22T22:59:59.727Z] ---> ac1e0e02cd4a [2022-09-22T22:59:59.727Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:59:59.994Z] ---> Running in 36b000c9336c [2022-09-22T23:00:00.260Z] Removing intermediate container 36b000c9336c [2022-09-22T23:00:00.260Z] ---> 2dd81434816e [2022-09-22T23:00:00.260Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T23:00:00.260Z] ---> Running in c573c30c1da3 [2022-09-22T23:00:00.843Z] Removing intermediate container c573c30c1da3 [2022-09-22T23:00:00.843Z] ---> df3b37b86d99 [2022-09-22T23:00:00.843Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:00:00.843Z] ---> Running in 706d1fb25f21 [2022-09-22T23:00:01.109Z] Removing intermediate container 706d1fb25f21 [2022-09-22T23:00:01.109Z] ---> f6698f3dc48e [2022-09-22T23:00:01.109Z] Step 6/27 : WORKDIR /device-virtual-go [2022-09-22T23:00:01.109Z] ---> Running in 176387a7ca03 [2022-09-22T23:00:01.376Z] Removing intermediate container 176387a7ca03 [2022-09-22T23:00:01.376Z] ---> 579231b49a9a [2022-09-22T23:00:01.376Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:00:01.376Z] ---> Running in ff21a572d549 [2022-09-22T23:00:03.327Z] Removing intermediate container ff21a572d549 [2022-09-22T23:00:03.327Z] ---> af998d480f9d [2022-09-22T23:00:03.327Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T23:00:03.327Z] ---> Running in f17657934adf [2022-09-22T23:00:03.911Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:00:04.866Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:00:05.822Z] OK: 226 MiB in 55 packages [2022-09-22T23:00:06.779Z] Removing intermediate container f17657934adf [2022-09-22T23:00:06.779Z] ---> 66c304921765 [2022-09-22T23:00:06.779Z] Step 9/27 : COPY go.mod vendor* ./ [2022-09-22T23:00:07.053Z] ---> 5020041ad2b6 [2022-09-22T23:00:07.053Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:00:07.053Z] ---> Running in 3fb2c0eac9cb [2022-09-22T23:00:08.998Z] Removing intermediate container 3fb2c0eac9cb [2022-09-22T23:00:08.998Z] ---> 37a049a41f5a [2022-09-22T23:00:08.998Z] Step 11/27 : COPY . . [2022-09-22T23:00:09.956Z] ---> 62820cd0d5c5 [2022-09-22T23:00:09.956Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:00:10.222Z] ---> Running in 2469ce8206f8 [2022-09-22T23:00:10.489Z] Removing intermediate container 2469ce8206f8 [2022-09-22T23:00:10.489Z] ---> 4dddcceb0144 [2022-09-22T23:00:10.489Z] Step 13/27 : RUN $MAKE [2022-09-22T23:00:10.489Z] ---> Running in e434e08ef44d [2022-09-22T23:00:11.447Z] 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-09-22T23:02:48.157Z] Removing intermediate container e434e08ef44d [2022-09-22T23:02:48.157Z] ---> 74b58440b5ae [2022-09-22T23:02:48.157Z] Step 14/27 : FROM alpine:3.16 [2022-09-22T23:02:48.157Z] 3.16: Pulling from library/alpine [2022-09-22T23:02:48.157Z] 9b18e9b68314: Pulling fs layer [2022-09-22T23:02:48.157Z] 9b18e9b68314: Verifying Checksum [2022-09-22T23:02:48.157Z] 9b18e9b68314: Download complete [2022-09-22T23:02:48.157Z] 9b18e9b68314: Pull complete [2022-09-22T23:02:48.157Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T23:02:48.157Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T23:02:48.157Z] ---> a6215f271958 [2022-09-22T23:02:48.157Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-09-22T23:02:48.157Z] ---> Running in b33d5229a980 [2022-09-22T23:02:48.157Z] Removing intermediate container b33d5229a980 [2022-09-22T23:02:48.157Z] ---> 3d76d65bde4c [2022-09-22T23:02:48.157Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:02:48.157Z] ---> Running in 35eea7a44f3c [2022-09-22T23:02:48.157Z] Removing intermediate container 35eea7a44f3c [2022-09-22T23:02:48.157Z] ---> d7fcce284692 [2022-09-22T23:02:48.157Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T23:02:48.431Z] ---> Running in 29ff029d4181 [2022-09-22T23:02:49.394Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:02:50.356Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:02:50.938Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T23:02:51.204Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T23:02:51.204Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T23:02:51.204Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T23:02:51.471Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T23:02:51.471Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T23:02:51.471Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T23:02:51.738Z] OK: 8 MiB in 20 packages [2022-09-22T23:02:52.708Z] Removing intermediate container 29ff029d4181 [2022-09-22T23:02:52.708Z] ---> 1c9eb7c83cac [2022-09-22T23:02:52.708Z] Step 18/27 : WORKDIR / [2022-09-22T23:02:52.708Z] ---> Running in b6b59a566735 [2022-09-22T23:02:52.977Z] Removing intermediate container b6b59a566735 [2022-09-22T23:02:52.977Z] ---> 7f7b41d1fe51 [2022-09-22T23:02:52.977Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-09-22T23:02:53.247Z] ---> 981c1f916486 [2022-09-22T23:02:53.247Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-09-22T23:02:53.832Z] ---> d42fb30cc6ac [2022-09-22T23:02:53.832Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-09-22T23:02:55.244Z] ---> 0b07745a6660 [2022-09-22T23:02:55.244Z] Step 22/27 : EXPOSE 59900 [2022-09-22T23:02:55.244Z] ---> Running in 8dbb41894c75 [2022-09-22T23:02:55.510Z] Removing intermediate container 8dbb41894c75 [2022-09-22T23:02:55.510Z] ---> 5b8315338bbf [2022-09-22T23:02:55.510Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-09-22T23:02:55.510Z] ---> Running in 825cf14086a7 [2022-09-22T23:02:55.780Z] Removing intermediate container 825cf14086a7 [2022-09-22T23:02:55.780Z] ---> 5d29527b97d1 [2022-09-22T23:02:55.780Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T23:02:56.047Z] ---> Running in 9fb4b8b0f0f0 [2022-09-22T23:02:56.313Z] Removing intermediate container 9fb4b8b0f0f0 [2022-09-22T23:02:56.313Z] ---> cc0323249ce0 [2022-09-22T23:02:56.313Z] Step 25/27 : LABEL arch=arm64 [2022-09-22T23:02:56.313Z] ---> Running in 748509df584e [2022-09-22T23:02:56.581Z] Removing intermediate container 748509df584e [2022-09-22T23:02:56.581Z] ---> 727556d79abb [2022-09-22T23:02:56.581Z] Step 26/27 : LABEL git_sha=55baadd97b2491ed3c22238d812226204efb8613 [2022-09-22T23:02:56.581Z] ---> Running in 523eada8fa97 [2022-09-22T23:02:56.847Z] Removing intermediate container 523eada8fa97 [2022-09-22T23:02:56.847Z] ---> 0fd7de5ebb7d [2022-09-22T23:02:56.847Z] Step 27/27 : LABEL version=0.0.0 [2022-09-22T23:02:56.847Z] ---> Running in 5f05da50f66a [2022-09-22T23:02:57.113Z] Removing intermediate container 5f05da50f66a [2022-09-22T23:02:57.113Z] ---> 7fd92bc50696 [2022-09-22T23:02:57.113Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T23:02:57.379Z] Successfully built 7fd92bc50696 [2022-09-22T23:02:57.379Z] 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-09-22T23:02:57.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:02:57.786Z] [2022-09-22T23:02:57.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:02:58.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:02:58.114Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T23:02:58.114Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T23:02:58.114Z] 04944245beec: Pulling fs layer [2022-09-22T23:02:58.114Z] 699f458cf7ca: Pulling fs layer [2022-09-22T23:02:58.114Z] 765212b225bb: Pulling fs layer [2022-09-22T23:02:58.114Z] f23df028b6ca: Pulling fs layer [2022-09-22T23:02:58.114Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T23:02:58.114Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T23:02:58.114Z] 765212b225bb: Waiting [2022-09-22T23:02:58.114Z] f23df028b6ca: Waiting [2022-09-22T23:02:58.114Z] d65c8cfc05b1: Waiting [2022-09-22T23:02:58.114Z] 2437ff75d9bd: Waiting [2022-09-22T23:02:58.382Z] 04944245beec: Verifying Checksum [2022-09-22T23:02:58.382Z] 04944245beec: Download complete [2022-09-22T23:02:58.382Z] 765212b225bb: Verifying Checksum [2022-09-22T23:02:58.382Z] 765212b225bb: Download complete [2022-09-22T23:02:58.382Z] f23df028b6ca: Download complete [2022-09-22T23:02:58.382Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T23:02:58.382Z] d65c8cfc05b1: Download complete [2022-09-22T23:02:58.650Z] 699f458cf7ca: Verifying Checksum [2022-09-22T23:02:58.650Z] 699f458cf7ca: Download complete [2022-09-22T23:02:58.918Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T23:02:58.918Z] 8998bd30e6a1: Download complete [2022-09-22T23:03:01.510Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T23:03:01.510Z] 2437ff75d9bd: Download complete [2022-09-22T23:03:02.918Z] 8998bd30e6a1: Pull complete [2022-09-22T23:03:03.502Z] 04944245beec: Pull complete [2022-09-22T23:03:04.907Z] 699f458cf7ca: Pull complete [2022-09-22T23:03:05.174Z] 765212b225bb: Pull complete [2022-09-22T23:03:06.135Z] f23df028b6ca: Pull complete [2022-09-22T23:03:06.135Z] d65c8cfc05b1: Pull complete [2022-09-22T23:03:21.123Z] 2437ff75d9bd: Pull complete [2022-09-22T23:03:21.123Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T23:03:21.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:03:21.123Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:03:21.297Z] prd-ubuntu20.04-docker-arm64-4c-16g-678 does not seem to be running inside a container [2022-09-22T23:03:21.349Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-22T23:03:24.108Z] $ docker top 4f657579dfdb4769fb5ab374314bdbb84b7d97f9bb8974cfb7ee2a216b2e0395 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:03:24.949Z] ---> job-cost.sh [2022-09-22T23:03:24.949Z] lf-activate-venv: SKIPPING [2022-09-22T23:03:24.949Z] INFO: No Stack... [2022-09-22T23:03:25.216Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T23:03:26.175Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T23:03:26.811Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [2022-09-22T23:03:26.811Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T23:03:26.848Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-3-stack-cost] [2022-09-22T23:03:26.854Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-3-stack-cost] did not exist. Created. [2022-09-22T23:03:26.854Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T23:03:27.508Z] /w/workspace/device-virtual-go/3@tmp/durable-759ab9c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T23:03:28.153Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T23:03:28.175Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T23:03:28.212Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T23:03:28.221Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T23:03:28.235Z] $ docker stop --time=1 4f657579dfdb4769fb5ab374314bdbb84b7d97f9bb8974cfb7ee2a216b2e0395 [2022-09-22T23:03:29.954Z] $ docker rm -f 4f657579dfdb4769fb5ab374314bdbb84b7d97f9bb8974cfb7ee2a216b2e0395 [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-09-22T23:03:30.267Z] provisioning config files... [2022-09-22T23:03:30.272Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config15637427708410503266tmp [Pipeline] { [Pipeline] sh [2022-09-22T23:03:30.561Z] + set +x [2022-09-22T23:03:30.561Z] + curl -s https://codecov.io/bash [2022-09-22T23:03:30.561Z] + bash -s -- [2022-09-22T23:03:30.561Z] [2022-09-22T23:03:30.561Z] _____ _ [2022-09-22T23:03:30.561Z] / ____| | | [2022-09-22T23:03:30.561Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T23:03:30.561Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T23:03:30.561Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T23:03:30.561Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T23:03:30.561Z] Bash-1.0.6 [2022-09-22T23:03:30.561Z] [2022-09-22T23:03:30.561Z] [2022-09-22T23:03:30.561Z] ==> git version 2.25.1 found [2022-09-22T23:03:30.561Z] ==> 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-09-22T23:03:30.561Z] Release-Date: 2020-01-08 [2022-09-22T23:03:30.561Z] 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-09-22T23:03:30.561Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T23:03:30.561Z] ==> Jenkins CI detected. [2022-09-22T23:03:30.561Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-305 [2022-09-22T23:03:30.561Z] project root: . [2022-09-22T23:03:30.561Z] --> token set from env [2022-09-22T23:03:30.561Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T23:03:30.561Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T23:03:30.561Z] ==> Python coveragepy not found [2022-09-22T23:03:30.561Z] ==> Searching for coverage reports in: [2022-09-22T23:03:30.561Z] + . [2022-09-22T23:03:30.561Z] -> Found 1 reports [2022-09-22T23:03:30.561Z] ==> Detecting git/mercurial file structure [2022-09-22T23:03:30.561Z] ==> Reading reports [2022-09-22T23:03:30.561Z] + ./coverage.out bytes=44128 [2022-09-22T23:03:30.561Z] ==> Appending adjustments [2022-09-22T23:03:30.561Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T23:03:30.822Z] + Found adjustments [2022-09-22T23:03:30.822Z] ==> Gzipping contents [2022-09-22T23:03:30.822Z] 8.0K /tmp/codecov.eZNIEc.gz [2022-09-22T23:03:30.822Z] ==> Uploading reports [2022-09-22T23:03:30.822Z] url: https://codecov.io [2022-09-22T23:03:30.822Z] query: branch=PR-305&commit=55baadd97b2491ed3c22238d812226204efb8613&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= [2022-09-22T23:03:30.822Z] -> Pinging Codecov [2022-09-22T23:03:30.822Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-305&commit=55baadd97b2491ed3c22238d812226204efb8613&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= [2022-09-22T23:03:31.081Z] -> Uploading to [2022-09-22T23:03:31.081Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/5E52B4B073DB2E39498172D8E973AA87/55baadd97b2491ed3c22238d812226204efb8613/c7d5e41e-51b8-48f0-9367-c0e8a45cdd6b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T230330Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=411904e2d412033129694a0d84749ecf09dd54bd97e4423a246f9a1a2997c44e [2022-09-22T23:03:31.081Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T23:03:31.081Z] Dload Upload Total Spent Left Speed [2022-09-22T23:03:31.339Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5505 0 0 100 5505 0 24251 --:--:-- --:--:-- --:--:-- 24251 [2022-09-22T23:03:31.339Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/55baadd97b2491ed3c22238d812226204efb8613 [Pipeline] } [2022-09-22T23:03:31.346Z] 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-09-22T23:03:31.989Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-305/archives ] [2022-09-22T23:03:31.989Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives [2022-09-22T23:03:31.989Z] total 16 [2022-09-22T23:03:31.989Z] drwxr-xr-x 3 root root 4096 Sep 22 22:54 . [2022-09-22T23:03:31.989Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:54 .. [2022-09-22T23:03:31.989Z] drwxr-xr-x 2 root root 4096 Sep 22 22:54 cost [2022-09-22T23:03:31.989Z] -rw-r--r-- 1 root root 89 Sep 22 22:54 cost.csv [2022-09-22T23:03:31.989Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-305/archives [2022-09-22T23:03:31.989Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives [2022-09-22T23:03:31.989Z] total 16 [2022-09-22T23:03:31.989Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:54 . [2022-09-22T23:03:31.989Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:54 .. [2022-09-22T23:03:31.989Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 22:54 cost [2022-09-22T23:03:31.989Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 22 22:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:03:32.280Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:03:33.138Z] ---> package-listing.sh [2022-09-22T23:03:33.138Z] ++ facter osfamily [2022-09-22T23:03:33.138Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T23:03:33.397Z] + OS_FAMILY=debian [2022-09-22T23:03:33.397Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-305 [2022-09-22T23:03:33.397Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T23:03:33.397Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T23:03:33.397Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T23:03:33.397Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T23:03:33.397Z] + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' [2022-09-22T23:03:33.397Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T23:03:33.397Z] + case "${OS_FAMILY}" in [2022-09-22T23:03:33.397Z] + dpkg -l [2022-09-22T23:03:33.397Z] + grep '^ii' [2022-09-22T23:03:33.397Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T23:03:33.397Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T23:03:33.397Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T23:03:33.397Z] + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' [2022-09-22T23:03:33.397Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-305/archives/ [2022-09-22T23:03:33.397Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-305/archives/ [Pipeline] echo [2022-09-22T23:03:33.406Z] 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-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T23:03:33.681Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:03:34.240Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:03:34.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:03:34.299Z] prd-ubuntu20.04-docker-8c-8g-676 does not seem to be running inside a container [2022-09-22T23:03:34.327Z] $ 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-305/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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@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-09-22T23:03:34.975Z] $ docker top 91183e3b1a4cfe206a28d6b7bf7615095173770a9f35d466ef71c36576ca747b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:03:35.318Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T23:03:35.607Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T23:03:35.890Z] + ls /var/log/sa-host [2022-09-22T23:03:35.891Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:03:35.950Z] provisioning config files... [2022-09-22T23:03:35.958Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config6017216762867416267tmp [Pipeline] { [Pipeline] echo [2022-09-22T23:03:35.969Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:03:36.250Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T23:03:36.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:03:36.583Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T23:03:36.591Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:03:36.872Z] ---> sudo-logs.sh [2022-09-22T23:03:36.872Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T23:03:36.897Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:03:37.177Z] ---> job-cost.sh [2022-09-22T23:03:37.177Z] lf-activate-venv: SKIPPING [2022-09-22T23:03:37.177Z] DEBUG: total: 0.2199999988079071 [2022-09-22T23:03:37.177Z] INFO: Retrieving Stack Cost... [2022-09-22T23:03:37.436Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T23:03:38.003Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T23:03:38.014Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:03:38.294Z] ---> logs-deploy.sh [2022-09-22T23:03:38.294Z] lf-activate-venv: SKIPPING [2022-09-22T23:03:38.294Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-305/3 [2022-09-22T23:03:38.294Z] INFO: archiving workspace using pattern(s): [2022-09-22T23:03:39.232Z] Archives upload complete. [2022-09-22T23:03:39.232Z] INFO: archiving logs to Nexus