Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 476f8fe53201fee1938bf38d508323121d922085 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-ssh17584297439638585629.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-ssh3264610256676727880.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6059885644036114171.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-ssh11874407053333632506.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13123168482144731373.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 Running on prd-ubuntu20.04-docker-8c-8g-7514 in /w/workspace/exfoundry_device-virtual-go_main [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/exfoundry_device-virtual-go_main # 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 Avoid second fetch Checking out Revision 476f8fe53201fee1938bf38d508323121d922085 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 476f8fe53201fee1938bf38d508323121d922085 # timeout=10 Commit message: "Merge pull request #312 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" > git rev-list --no-walk 38745b3e9e40de14badf8d6af86e73ac7698b39c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T12:24:30.504Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T12:24:30.544Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T12:24:30.554Z] ========================================================= [2022-10-10T12:24:30.554Z] EdgeX Global Pipelines Version Info [2022-10-10T12:24:30.554Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:24:31.267Z] ------------------- [2022-10-10T12:24:31.267Z] stable info: [2022-10-10T12:24:31.267Z] ------------------- [2022-10-10T12:24:31.267Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T12:24:31.267Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T12:24:31.267Z] Message: update stable to v1.0.239 [2022-10-10T12:24:31.842Z] ------------------- [2022-10-10T12:24:31.842Z] experimental info: [2022-10-10T12:24:31.842Z] ------------------- [2022-10-10T12:24:31.842Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T12:24:31.842Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T12:24:31.842Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T12:24:32.005Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-10T12:24:32.015Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-10T12:24:32.032Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T12:24:32.046Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T12:24:32.056Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T12:24:32.066Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T12:24:32.080Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T12:24:32.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T12:24:32.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T12:24:32.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T12:24:32.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T12:24:32.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-10T12:24:32.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T12:24:32.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T12:24:32.187Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T12:24:32.203Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T12:24:32.219Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T12:24:32.232Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T12:24:32.242Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T12:24:32.253Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T12:24:32.265Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T12:24:32.277Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T12:24:32.288Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T12:24:32.299Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T12:24:32.313Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T12:24:32.326Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T12:24:32.341Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T12:24:32.352Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-10-10T12:24:32.364Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-10-10T12:24:32.375Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-10-10T12:24:32.388Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 476f8fe53201fee1938bf38d508323121d922085 [Pipeline] echo [2022-10-10T12:24:32.403Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 476f8fe [Pipeline] echo [2022-10-10T12:24:32.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T12:24:32.461Z] provisioning config files... [2022-10-10T12:24:32.476Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15968905570009300691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:24:32.782Z] ---> docker-login.sh [2022-10-10T12:24:32.782Z] nexus3.edgexfoundry.org:10001 [2022-10-10T12:24:33.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:24:33.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:24:33.304Z] Configure a credential helper to remove this warning. See [2022-10-10T12:24:33.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:24:33.304Z] [2022-10-10T12:24:33.304Z] Login Succeeded [2022-10-10T12:24:33.304Z] nexus3.edgexfoundry.org:10002 [2022-10-10T12:24:33.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:24:33.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:24:33.304Z] Configure a credential helper to remove this warning. See [2022-10-10T12:24:33.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:24:33.304Z] [2022-10-10T12:24:33.304Z] Login Succeeded [2022-10-10T12:24:33.304Z] nexus3.edgexfoundry.org:10003 [2022-10-10T12:24:33.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:24:33.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:24:33.564Z] Configure a credential helper to remove this warning. See [2022-10-10T12:24:33.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:24:33.564Z] [2022-10-10T12:24:33.564Z] Login Succeeded [2022-10-10T12:24:33.564Z] nexus3.edgexfoundry.org:10004 [2022-10-10T12:24:33.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:24:33.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:24:33.564Z] Configure a credential helper to remove this warning. See [2022-10-10T12:24:33.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:24:33.564Z] [2022-10-10T12:24:33.564Z] Login Succeeded [2022-10-10T12:24:33.564Z] docker.io [2022-10-10T12:24:33.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:24:34.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:24:34.134Z] Configure a credential helper to remove this warning. See [2022-10-10T12:24:34.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:24:34.134Z] [2022-10-10T12:24:34.134Z] Login Succeeded [2022-10-10T12:24:34.134Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T12:24:34.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T12:24:34.535Z] + git rev-list -1 --merges 476f8fe53201fee1938bf38d508323121d922085~1..476f8fe53201fee1938bf38d508323121d922085 [Pipeline] echo [2022-10-10T12:24:34.564Z] -----------> git rev-list -1 --merges 476f8fe53201fee1938bf38d508323121d922085~1..476f8fe53201fee1938bf38d508323121d922085 476f8fe53201fee1938bf38d508323121d922085 [2022-10-10T12:24:34.564Z] 476f8fe53201fee1938bf38d508323121d922085 [false] [Pipeline] sh [2022-10-10T12:24:34.850Z] + git log --format=format:%s -1 476f8fe53201fee1938bf38d508323121d922085 [Pipeline] echo [2022-10-10T12:24:34.864Z] ========================================================= [2022-10-10T12:24:34.864Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T12:24:34.864Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T12:24:35.180Z] + git log --format=format:%s -1 476f8fe53201fee1938bf38d508323121d922085 [Pipeline] echo [2022-10-10T12:24:35.190Z] [semverPrep] GIT_COMMIT: 476f8fe53201fee1938bf38d508323121d922085, Commit Message: Merge pull request #312 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37 [Pipeline] echo [2022-10-10T12:24:35.198Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T12:24:35.565Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T12:24:35.565Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T12:24:35.565Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T12:24:35.565Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T12:24:35.565Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-10-10T12:24:35.565Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T12:24:35.565Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:24:35.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T12:24:35.963Z] [2022-10-10T12:24:35.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:24:36.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T12:24:36.267Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T12:24:36.267Z] b85a868b505f: Pulling fs layer [2022-10-10T12:24:36.267Z] e2be974225ed: Pulling fs layer [2022-10-10T12:24:36.267Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T12:24:36.267Z] 988bab9f4d93: Pulling fs layer [2022-10-10T12:24:36.267Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T12:24:36.267Z] eaf3925da568: Pulling fs layer [2022-10-10T12:24:36.267Z] bab4dde63d76: Pulling fs layer [2022-10-10T12:24:36.267Z] bde34c3a00c8: Pulling fs layer [2022-10-10T12:24:36.267Z] b352a97aabf1: Pulling fs layer [2022-10-10T12:24:36.267Z] 988bab9f4d93: Waiting [2022-10-10T12:24:36.267Z] eaf3925da568: Waiting [2022-10-10T12:24:36.267Z] 1469e6f7b9e6: Waiting [2022-10-10T12:24:36.267Z] 4872d77fe225: Pulling fs layer [2022-10-10T12:24:36.267Z] bab4dde63d76: Waiting [2022-10-10T12:24:36.267Z] bde34c3a00c8: Waiting [2022-10-10T12:24:36.267Z] b352a97aabf1: Waiting [2022-10-10T12:24:36.267Z] 5851b861e8e6: Pulling fs layer [2022-10-10T12:24:36.267Z] 4872d77fe225: Waiting [2022-10-10T12:24:36.267Z] e2be974225ed: Download complete [2022-10-10T12:24:36.267Z] 988bab9f4d93: Verifying Checksum [2022-10-10T12:24:36.267Z] 988bab9f4d93: Download complete [2022-10-10T12:24:36.528Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T12:24:36.528Z] 339a4e72a1f5: Download complete [2022-10-10T12:24:36.528Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T12:24:36.528Z] 1469e6f7b9e6: Download complete [2022-10-10T12:24:36.528Z] eaf3925da568: Verifying Checksum [2022-10-10T12:24:36.528Z] eaf3925da568: Download complete [2022-10-10T12:24:36.528Z] bde34c3a00c8: Verifying Checksum [2022-10-10T12:24:36.528Z] bde34c3a00c8: Download complete [2022-10-10T12:24:36.528Z] b352a97aabf1: Download complete [2022-10-10T12:24:36.528Z] 4872d77fe225: Download complete [2022-10-10T12:24:36.528Z] 5851b861e8e6: Verifying Checksum [2022-10-10T12:24:36.528Z] 5851b861e8e6: Download complete [2022-10-10T12:24:36.528Z] b85a868b505f: Download complete [2022-10-10T12:24:36.788Z] bab4dde63d76: Verifying Checksum [2022-10-10T12:24:36.788Z] bab4dde63d76: Download complete [2022-10-10T12:24:37.730Z] b85a868b505f: Pull complete [2022-10-10T12:24:37.990Z] e2be974225ed: Pull complete [2022-10-10T12:24:38.559Z] 339a4e72a1f5: Pull complete [2022-10-10T12:24:38.559Z] 988bab9f4d93: Pull complete [2022-10-10T12:24:38.818Z] 1469e6f7b9e6: Pull complete [2022-10-10T12:24:38.818Z] eaf3925da568: Pull complete [2022-10-10T12:24:40.724Z] bab4dde63d76: Pull complete [2022-10-10T12:24:40.724Z] bde34c3a00c8: Pull complete [2022-10-10T12:24:40.724Z] b352a97aabf1: Pull complete [2022-10-10T12:24:40.984Z] 4872d77fe225: Pull complete [2022-10-10T12:24:40.984Z] 5851b861e8e6: Pull complete [2022-10-10T12:24:40.984Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T12:24:40.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T12:24:40.984Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:24:41.082Z] prd-ubuntu20.04-docker-8c-8g-7514 does not seem to be running inside a container [2022-10-10T12:24:41.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T12:24:42.438Z] $ docker top da36003507388dec43cac2904cd54a7041e76f055cbddadf6019a7bc3cc1a40e -eo pid,comm [2022-10-10T12:24:42.502Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-10T12:24:42.502Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T12:24:42.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T12:24:42.529Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T12:24:42.641Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T12:24:42.631Z] $ docker exec da36003507388dec43cac2904cd54a7041e76f055cbddadf6019a7bc3cc1a40e ssh-agent [2022-10-10T12:24:42.753Z] SSH_AUTH_SOCK=/tmp/ssh-SOBBDgvhVQWL/agent.31 [2022-10-10T12:24:42.753Z] SSH_AGENT_PID=37 [2022-10-10T12:24:42.760Z] Running ssh-add (command line suppressed) [2022-10-10T12:24:42.849Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8616579697398771208.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8616579697398771208.key) [2022-10-10T12:24:42.875Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T12:24:43.165Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T12:24:43.170Z] $ docker exec --env ******** --env ******** da36003507388dec43cac2904cd54a7041e76f055cbddadf6019a7bc3cc1a40e ssh-agent -k [2022-10-10T12:24:43.277Z] unset SSH_AUTH_SOCK; [2022-10-10T12:24:43.278Z] unset SSH_AGENT_PID; [2022-10-10T12:24:43.278Z] echo Agent pid 37 killed; [2022-10-10T12:24:43.301Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T12:24:43.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T12:24:43.325Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T12:24:43.445Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T12:24:43.435Z] $ docker exec da36003507388dec43cac2904cd54a7041e76f055cbddadf6019a7bc3cc1a40e ssh-agent [2022-10-10T12:24:43.566Z] SSH_AUTH_SOCK=/tmp/ssh-yU0MbUJXHqj5/agent.69 [2022-10-10T12:24:43.566Z] SSH_AGENT_PID=75 [2022-10-10T12:24:43.571Z] Running ssh-add (command line suppressed) [2022-10-10T12:24:43.662Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6148875915251383618.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6148875915251383618.key) [2022-10-10T12:24:43.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T12:24:43.975Z] + git semver init [2022-10-10T12:24:44.234Z] 2022-10-10 12:24:44,152 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T12:24:44.234Z] 2022-10-10 12:24:44,152 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2022-10-10T12:24:44.234Z] 2022-10-10 12:24:44,153 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-10-10T12:24:44.234Z] 2022-10-10 12:24:44,153 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-10-10T12:24:45.606Z] 2022-10-10 12:24:45,270 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2022-10-10T12:24:45.606Z] 2022-10-10 12:24:45,271 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2022-10-10T12:24:45.606Z] 2022-10-10 12:24:45,271 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-10-10T12:24:45.606Z] 2022-10-10 12:24:45,271 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-10-10T12:24:45.606Z] 2.3.0-dev.23 [Pipeline] } [2022-10-10T12:24:45.604Z] $ docker exec --env ******** --env ******** da36003507388dec43cac2904cd54a7041e76f055cbddadf6019a7bc3cc1a40e ssh-agent -k [2022-10-10T12:24:45.694Z] unset SSH_AUTH_SOCK; [2022-10-10T12:24:45.695Z] unset SSH_AGENT_PID; [2022-10-10T12:24:45.696Z] echo Agent pid 75 killed; [2022-10-10T12:24:45.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T12:24:46.012Z] + git semver [Pipeline] } [2022-10-10T12:24:46.272Z] $ docker stop --time=1 da36003507388dec43cac2904cd54a7041e76f055cbddadf6019a7bc3cc1a40e [2022-10-10T12:24:47.638Z] $ docker rm -f da36003507388dec43cac2904cd54a7041e76f055cbddadf6019a7bc3cc1a40e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T12:24:47.991Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T12:24:48.213Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T12:24:48.215Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.23 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T12:24:48.362Z] provisioning config files... [2022-10-10T12:24:48.370Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17914454700798006948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:24:48.674Z] ---> docker-login.sh [2022-10-10T12:24:48.674Z] nexus3.edgexfoundry.org:10001 [2022-10-10T12:24:48.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:24:48.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:24:48.674Z] Configure a credential helper to remove this warning. See [2022-10-10T12:24:48.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:24:48.674Z] [2022-10-10T12:24:48.674Z] Login Succeeded [2022-10-10T12:24:48.674Z] nexus3.edgexfoundry.org:10002 [2022-10-10T12:24:48.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:24:48.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:24:48.933Z] Configure a credential helper to remove this warning. See [2022-10-10T12:24:48.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:24:48.933Z] [2022-10-10T12:24:48.933Z] Login Succeeded [2022-10-10T12:24:48.933Z] nexus3.edgexfoundry.org:10003 [2022-10-10T12:24:48.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:24:48.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:24:48.933Z] Configure a credential helper to remove this warning. See [2022-10-10T12:24:48.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:24:48.933Z] [2022-10-10T12:24:48.933Z] Login Succeeded [2022-10-10T12:24:48.933Z] nexus3.edgexfoundry.org:10004 [2022-10-10T12:24:48.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:24:49.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:24:49.194Z] Configure a credential helper to remove this warning. See [2022-10-10T12:24:49.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:24:49.194Z] [2022-10-10T12:24:49.194Z] Login Succeeded [2022-10-10T12:24:49.194Z] docker.io [2022-10-10T12:24:49.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:24:49.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:24:49.459Z] Configure a credential helper to remove this warning. See [2022-10-10T12:24:49.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:24:49.459Z] [2022-10-10T12:24:49.459Z] Login Succeeded [2022-10-10T12:24:49.459Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T12:24:49.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T12:24:49.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T12:24:49.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T12:24:49.559Z] ========================================================= [2022-10-10T12:24:49.559Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T12:24:49.559Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:24:49.873Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T12:24:49.874Z] Sending build context to Docker daemon 23.17MB [2022-10-10T12:24:49.874Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T12:24:49.874Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T12:24:49.874Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T12:24:49.874Z] 2408cc74d12b: Pulling fs layer [2022-10-10T12:24:49.874Z] ea60b727a1ce: Pulling fs layer [2022-10-10T12:24:49.874Z] 30c4a7721957: Pulling fs layer [2022-10-10T12:24:49.874Z] 370296b7ddb6: Pulling fs layer [2022-10-10T12:24:49.874Z] 7c6cee850709: Pulling fs layer [2022-10-10T12:24:49.874Z] aa9baa53a306: Pulling fs layer [2022-10-10T12:24:49.874Z] 8b309c321861: Pulling fs layer [2022-10-10T12:24:49.874Z] d8d76fd02f46: Pulling fs layer [2022-10-10T12:24:49.874Z] fa31f396de31: Pulling fs layer [2022-10-10T12:24:49.874Z] 370296b7ddb6: Waiting [2022-10-10T12:24:49.874Z] 7c6cee850709: Waiting [2022-10-10T12:24:49.874Z] aa9baa53a306: Waiting [2022-10-10T12:24:49.874Z] fa31f396de31: Waiting [2022-10-10T12:24:49.874Z] 8b309c321861: Waiting [2022-10-10T12:24:49.874Z] d8d76fd02f46: Waiting [2022-10-10T12:24:50.136Z] 30c4a7721957: Verifying Checksum [2022-10-10T12:24:50.136Z] 30c4a7721957: Download complete [2022-10-10T12:24:50.136Z] ea60b727a1ce: Verifying Checksum [2022-10-10T12:24:50.136Z] ea60b727a1ce: Download complete [2022-10-10T12:24:50.136Z] 7c6cee850709: Verifying Checksum [2022-10-10T12:24:50.136Z] 7c6cee850709: Download complete [2022-10-10T12:24:50.136Z] aa9baa53a306: Verifying Checksum [2022-10-10T12:24:50.136Z] aa9baa53a306: Download complete [2022-10-10T12:24:50.136Z] 2408cc74d12b: Verifying Checksum [2022-10-10T12:24:50.136Z] 2408cc74d12b: Download complete [2022-10-10T12:24:50.136Z] 8b309c321861: Verifying Checksum [2022-10-10T12:24:50.136Z] 8b309c321861: Download complete [2022-10-10T12:24:50.412Z] 2408cc74d12b: Pull complete [2022-10-10T12:24:50.412Z] ea60b727a1ce: Pull complete [2022-10-10T12:24:50.412Z] 30c4a7721957: Pull complete [2022-10-10T12:24:50.677Z] fa31f396de31: Verifying Checksum [2022-10-10T12:24:50.677Z] fa31f396de31: Download complete [2022-10-10T12:24:50.935Z] d8d76fd02f46: Verifying Checksum [2022-10-10T12:24:50.935Z] d8d76fd02f46: Download complete [2022-10-10T12:24:50.935Z] 370296b7ddb6: Verifying Checksum [2022-10-10T12:24:50.935Z] 370296b7ddb6: Download complete [2022-10-10T12:24:55.147Z] 370296b7ddb6: Pull complete [2022-10-10T12:24:55.147Z] 7c6cee850709: Pull complete [2022-10-10T12:24:55.147Z] aa9baa53a306: Pull complete [2022-10-10T12:24:55.147Z] 8b309c321861: Pull complete [2022-10-10T12:24:57.047Z] d8d76fd02f46: Pull complete [2022-10-10T12:24:57.993Z] fa31f396de31: Pull complete [2022-10-10T12:24:57.993Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T12:24:57.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T12:24:57.993Z] ---> cef68f9685f8 [2022-10-10T12:24:57.993Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T12:24:59.900Z] ---> Running in e5796d84dd1b [2022-10-10T12:24:59.900Z] Removing intermediate container e5796d84dd1b [2022-10-10T12:24:59.900Z] ---> 39138882a881 [2022-10-10T12:24:59.900Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T12:24:59.900Z] ---> Running in 33458acf627b [2022-10-10T12:24:59.900Z] Removing intermediate container 33458acf627b [2022-10-10T12:24:59.900Z] ---> 1c360091ccee [2022-10-10T12:24:59.900Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T12:24:59.900Z] ---> Running in 0c003548f448 [2022-10-10T12:24:59.900Z] Removing intermediate container 0c003548f448 [2022-10-10T12:24:59.900Z] ---> 1724015fcf4a [2022-10-10T12:24:59.900Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-10T12:24:59.900Z] ---> Running in cd0a8898489c [2022-10-10T12:25:00.160Z] Removing intermediate container cd0a8898489c [2022-10-10T12:25:00.160Z] ---> 098499a2d26c [2022-10-10T12:25:00.160Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T12:25:00.160Z] ---> Running in e80bad48f500 [2022-10-10T12:25:00.727Z] Removing intermediate container e80bad48f500 [2022-10-10T12:25:00.727Z] ---> b3adef74c08f [2022-10-10T12:25:00.727Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T12:25:00.727Z] ---> Running in 555be114278c [2022-10-10T12:25:00.986Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T12:25:01.925Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T12:25:02.497Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T12:25:02.497Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T12:25:02.497Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T12:25:02.497Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T12:25:02.756Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T12:25:02.756Z] OK: 216 MiB in 55 packages [2022-10-10T12:25:03.320Z] Still waiting to schedule task [2022-10-10T12:25:03.320Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-10T12:25:03.323Z] Removing intermediate container 555be114278c [2022-10-10T12:25:03.323Z] ---> 26968f719747 [2022-10-10T12:25:03.323Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-10T12:25:03.323Z] ---> f463c6727236 [2022-10-10T12:25:03.323Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T12:25:03.323Z] ---> Running in 532bd01a9e50 [2022-10-10T12:25:21.425Z] Removing intermediate container 532bd01a9e50 [2022-10-10T12:25:21.425Z] ---> 3d2f7bc2c6f0 [2022-10-10T12:25:21.425Z] Step 11/13 : COPY . . [2022-10-10T12:25:21.425Z] ---> 46a6c8e723dc [2022-10-10T12:25:21.425Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T12:25:21.425Z] ---> Running in aca43b306d43 [2022-10-10T12:25:21.425Z] Removing intermediate container aca43b306d43 [2022-10-10T12:25:21.425Z] ---> 79adf7d58dfd [2022-10-10T12:25:21.425Z] Step 13/13 : RUN $MAKE [2022-10-10T12:25:21.425Z] ---> Running in 79705475d1ab [2022-10-10T12:25:21.425Z] noop [2022-10-10T12:25:21.425Z] Removing intermediate container 79705475d1ab [2022-10-10T12:25:21.425Z] ---> 28a0e7bc0a24 [2022-10-10T12:25:21.425Z] Successfully built 28a0e7bc0a24 [2022-10-10T12:25:21.425Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:25:21.742Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T12:25:21.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:25:21.807Z] prd-ubuntu20.04-docker-8c-8g-7514 does not seem to be running inside a container [2022-10-10T12:25:21.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** ci-base-image-x86_64 cat [2022-10-10T12:25:22.242Z] $ docker top 44c6f33f810b3eef9c9cf336eff588c522cd4be1f85a254a5b6c81fd40210d27 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T12:25:22.586Z] + go version [2022-10-10T12:25:22.586Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T12:25:22.595Z] $ docker stop --time=1 44c6f33f810b3eef9c9cf336eff588c522cd4be1f85a254a5b6c81fd40210d27 [2022-10-10T12:25:23.952Z] $ docker rm -f 44c6f33f810b3eef9c9cf336eff588c522cd4be1f85a254a5b6c81fd40210d27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:25:24.333Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T12:25:24.333Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:25:24.403Z] prd-ubuntu20.04-docker-8c-8g-7514 does not seem to be running inside a container [2022-10-10T12:25:24.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** ci-base-image-x86_64 cat [2022-10-10T12:25:24.823Z] $ docker top c863bb87c828847057bf249e493654fa9d593ba03e8ae0ce438a26992b115521 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T12:25:25.178Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2022-10-10T12:25:25.472Z] + make test [2022-10-10T12:25:25.472Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-10T12:25:26.039Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-10T12:25:36.020Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-10T12:25:36.589Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.039s coverage: 65.7% of statements [2022-10-10T12:25:44.704Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-10T12:25:44.704Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T12:25:46.605Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T12:25:46.605Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T12:25:46.605Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T12:25:46.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T12:25:46.890Z] $ docker stop --time=1 c863bb87c828847057bf249e493654fa9d593ba03e8ae0ce438a26992b115521 [2022-10-10T12:25:48.665Z] $ docker rm -f c863bb87c828847057bf249e493654fa9d593ba03e8ae0ce438a26992b115521 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T12:25:49.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T12:25:49.137Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T12:25:49.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T12:25:49.939Z] + ls -al . [2022-10-10T12:25:49.939Z] total 200 [2022-10-10T12:25:49.939Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 12:25 . [2022-10-10T12:25:49.939Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 12:24 .. [2022-10-10T12:25:49.939Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 12:25 .git [2022-10-10T12:25:49.939Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 12:24 .github [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 10 12:24 .gitignore [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 12:24 .golangci.yml [2022-10-10T12:25:49.939Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 12:24 .semver [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 10 12:24 Attribution.txt [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 10 12:24 CHANGELOG.md [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 10 12:24 Dockerfile [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 12:24 GOVERNANCE.md [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 10 12:24 Jenkinsfile [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 12:24 LICENSE [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 10 12:24 Makefile [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 10 12:24 OWNERS.md [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 10 12:24 README.md [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 12:24 VERSION [2022-10-10T12:25:49.939Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 12:24 bin [2022-10-10T12:25:49.939Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 12:24 cmd [2022-10-10T12:25:49.939Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 10 12:25 coverage.out [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 10 12:24 go.mod [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 10 12:24 go.sum [2022-10-10T12:25:49.939Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 12:24 internal [2022-10-10T12:25:49.939Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 12:24 snap [2022-10-10T12:25:49.939Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 10 12:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:25:50.240Z] + 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=476f8fe53201fee1938bf38d508323121d922085 --label arch=amd64 --label version=2.3.0-dev.23 . [2022-10-10T12:25:50.240Z] Sending build context to Docker daemon 23.22MB [2022-10-10T12:25:50.240Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T12:25:50.240Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-10T12:25:50.240Z] ---> 28a0e7bc0a24 [2022-10-10T12:25:50.240Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T12:25:50.499Z] ---> Running in 99c2adc0409b [2022-10-10T12:25:50.499Z] Removing intermediate container 99c2adc0409b [2022-10-10T12:25:50.499Z] ---> 2fbee8867ab8 [2022-10-10T12:25:50.499Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T12:25:50.499Z] ---> Running in 67e15546001d [2022-10-10T12:25:50.757Z] Removing intermediate container 67e15546001d [2022-10-10T12:25:50.757Z] ---> a6c9a9d32c45 [2022-10-10T12:25:50.757Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-10T12:25:50.757Z] ---> Running in e81cf784dab1 [2022-10-10T12:25:50.757Z] Removing intermediate container e81cf784dab1 [2022-10-10T12:25:50.757Z] ---> 539ded676a52 [2022-10-10T12:25:50.757Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-10T12:25:50.757Z] ---> Running in 2bbdace12400 [2022-10-10T12:25:51.015Z] Removing intermediate container 2bbdace12400 [2022-10-10T12:25:51.015Z] ---> d98c61221631 [2022-10-10T12:25:51.015Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T12:25:51.015Z] ---> Running in 8c4ebb17dfba [2022-10-10T12:25:51.582Z] Removing intermediate container 8c4ebb17dfba [2022-10-10T12:25:51.582Z] ---> d903d14fd123 [2022-10-10T12:25:51.582Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T12:25:51.582Z] ---> Running in 790e12eedd67 [2022-10-10T12:25:51.841Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T12:25:52.778Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T12:25:53.036Z] OK: 216 MiB in 55 packages [2022-10-10T12:25:53.603Z] Removing intermediate container 790e12eedd67 [2022-10-10T12:25:53.603Z] ---> b99c556df19c [2022-10-10T12:25:53.603Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-10T12:25:53.603Z] ---> 40a37fc66da8 [2022-10-10T12:25:53.603Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T12:25:53.603Z] ---> Running in 87b318e816ac [2022-10-10T12:25:54.540Z] Removing intermediate container 87b318e816ac [2022-10-10T12:25:54.540Z] ---> 6a8faa9f8601 [2022-10-10T12:25:54.540Z] Step 11/27 : COPY . . [2022-10-10T12:25:54.799Z] ---> 9fd44117fb41 [2022-10-10T12:25:54.799Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T12:25:55.057Z] ---> Running in 490c3bcdc873 [2022-10-10T12:25:55.057Z] Removing intermediate container 490c3bcdc873 [2022-10-10T12:25:55.057Z] ---> 8b7508eebe15 [2022-10-10T12:25:55.057Z] Step 13/27 : RUN $MAKE [2022-10-10T12:25:55.057Z] ---> Running in 481f3e249efb [2022-10-10T12:25:55.355Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-10-10T12:26:17.394Z] Removing intermediate container 481f3e249efb [2022-10-10T12:26:17.394Z] ---> 327775bd466f [2022-10-10T12:26:17.394Z] Step 14/27 : FROM alpine:3.16 [2022-10-10T12:26:17.394Z] 3.16: Pulling from library/alpine [2022-10-10T12:26:17.394Z] 213ec9aee27d: Pulling fs layer [2022-10-10T12:26:17.394Z] 213ec9aee27d: Verifying Checksum [2022-10-10T12:26:17.394Z] 213ec9aee27d: Download complete [2022-10-10T12:26:17.394Z] 213ec9aee27d: Pull complete [2022-10-10T12:26:17.394Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T12:26:17.394Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T12:26:17.394Z] ---> 9c6f07244728 [2022-10-10T12:26:17.394Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-10T12:26:17.394Z] ---> Running in d2291bcfeb50 [2022-10-10T12:26:17.394Z] Removing intermediate container d2291bcfeb50 [2022-10-10T12:26:17.394Z] ---> 362c1f47ee55 [2022-10-10T12:26:17.394Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T12:26:17.394Z] ---> Running in 491bc3695ed0 [2022-10-10T12:26:17.394Z] Removing intermediate container 491bc3695ed0 [2022-10-10T12:26:17.394Z] ---> 1f542798ea89 [2022-10-10T12:26:17.394Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T12:26:17.654Z] ---> Running in 2c8e93be2bac [2022-10-10T12:26:17.913Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T12:26:18.849Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T12:26:19.110Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T12:26:19.110Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T12:26:19.369Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T12:26:19.370Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T12:26:19.370Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T12:26:19.629Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T12:26:19.629Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T12:26:19.629Z] OK: 8 MiB in 20 packages [2022-10-10T12:26:20.197Z] Removing intermediate container 2c8e93be2bac [2022-10-10T12:26:20.197Z] ---> 5ab17b67422e [2022-10-10T12:26:20.197Z] Step 18/27 : WORKDIR / [2022-10-10T12:26:20.197Z] ---> Running in 34c746e1d182 [2022-10-10T12:26:20.197Z] Removing intermediate container 34c746e1d182 [2022-10-10T12:26:20.197Z] ---> 93ba9b80882e [2022-10-10T12:26:20.197Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-10T12:26:20.457Z] ---> 7573fd19c9f4 [2022-10-10T12:26:20.457Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-10T12:26:20.457Z] ---> 03db7050c5ac [2022-10-10T12:26:20.457Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-10T12:26:21.026Z] ---> a3ecf7f5860a [2022-10-10T12:26:21.026Z] Step 22/27 : EXPOSE 59900 [2022-10-10T12:26:21.026Z] ---> Running in bc4d37cf6c3a [2022-10-10T12:26:21.284Z] Removing intermediate container bc4d37cf6c3a [2022-10-10T12:26:21.284Z] ---> d74382c0b6af [2022-10-10T12:26:21.284Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-10T12:26:21.284Z] ---> Running in 7552a6e1b56a [2022-10-10T12:26:21.284Z] Removing intermediate container 7552a6e1b56a [2022-10-10T12:26:21.284Z] ---> ff08f132a2f0 [2022-10-10T12:26:21.284Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T12:26:21.284Z] ---> Running in d2f68dc16305 [2022-10-10T12:26:21.543Z] Removing intermediate container d2f68dc16305 [2022-10-10T12:26:21.543Z] ---> 90de769fa356 [2022-10-10T12:26:21.543Z] Step 25/27 : LABEL arch=amd64 [2022-10-10T12:26:21.543Z] ---> Running in 3ededba6b55f [2022-10-10T12:26:21.543Z] Removing intermediate container 3ededba6b55f [2022-10-10T12:26:21.543Z] ---> cb4c56be1823 [2022-10-10T12:26:21.543Z] Step 26/27 : LABEL git_sha=476f8fe53201fee1938bf38d508323121d922085 [2022-10-10T12:26:21.543Z] ---> Running in 093a0640db5a [2022-10-10T12:26:21.802Z] Removing intermediate container 093a0640db5a [2022-10-10T12:26:21.802Z] ---> e7222c90033b [2022-10-10T12:26:21.802Z] Step 27/27 : LABEL version=2.3.0-dev.23 [2022-10-10T12:26:21.803Z] ---> Running in bf6e3e891668 [2022-10-10T12:26:21.803Z] Removing intermediate container bf6e3e891668 [2022-10-10T12:26:21.803Z] ---> 1ab2728a9716 [2022-10-10T12:26:21.803Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T12:26:21.803Z] Successfully built 1ab2728a9716 [2022-10-10T12:26:21.803Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T12:26:21.904Z] provisioning config files... [2022-10-10T12:26:21.916Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13211688078273746750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:26:22.213Z] ---> docker-login.sh [2022-10-10T12:26:22.213Z] nexus3.edgexfoundry.org:10001 [2022-10-10T12:26:22.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:26:22.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:26:22.213Z] Configure a credential helper to remove this warning. See [2022-10-10T12:26:22.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:26:22.213Z] [2022-10-10T12:26:22.213Z] Login Succeeded [2022-10-10T12:26:22.213Z] nexus3.edgexfoundry.org:10002 [2022-10-10T12:26:22.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:26:22.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:26:22.213Z] Configure a credential helper to remove this warning. See [2022-10-10T12:26:22.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:26:22.213Z] [2022-10-10T12:26:22.213Z] Login Succeeded [2022-10-10T12:26:22.213Z] nexus3.edgexfoundry.org:10003 [2022-10-10T12:26:22.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:26:22.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:26:22.471Z] Configure a credential helper to remove this warning. See [2022-10-10T12:26:22.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:26:22.471Z] [2022-10-10T12:26:22.471Z] Login Succeeded [2022-10-10T12:26:22.471Z] nexus3.edgexfoundry.org:10004 [2022-10-10T12:26:22.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:26:22.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:26:22.471Z] Configure a credential helper to remove this warning. See [2022-10-10T12:26:22.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:26:22.471Z] [2022-10-10T12:26:22.471Z] Login Succeeded [2022-10-10T12:26:22.471Z] docker.io [2022-10-10T12:26:22.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:26:22.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:26:22.990Z] Configure a credential helper to remove this warning. See [2022-10-10T12:26:22.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:26:22.990Z] [2022-10-10T12:26:22.990Z] Login Succeeded [2022-10-10T12:26:22.990Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T12:26:22.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-10T12:26:23.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T12:26:23.055Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-10-10T12:26:23.055Z] 476f8fe53201fee1938bf38d508323121d922085 [2022-10-10T12:26:23.055Z] latest [2022-10-10T12:26:23.055Z] 2.3.0-dev.23 [2022-10-10T12:26:23.055Z] 476f8fe53201fee1938bf38d508323121d922085-2.3.0-dev.23 [2022-10-10T12:26:23.055Z] main [2022-10-10T12:26:23.055Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:23.383Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:476f8fe53201fee1938bf38d508323121d922085 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:23.688Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:476f8fe53201fee1938bf38d508323121d922085 [2022-10-10T12:26:23.688Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-10-10T12:26:23.688Z] 545d79c7937f: Preparing [2022-10-10T12:26:23.688Z] 1d12d2cf7f26: Preparing [2022-10-10T12:26:23.688Z] 34968816022d: Preparing [2022-10-10T12:26:23.688Z] 62f68ae95a50: Preparing [2022-10-10T12:26:23.688Z] 25de0049a3ff: Preparing [2022-10-10T12:26:23.688Z] 994393dc58e7: Preparing [2022-10-10T12:26:23.688Z] 994393dc58e7: Waiting [2022-10-10T12:26:23.688Z] 25de0049a3ff: Pushed [2022-10-10T12:26:23.688Z] 1d12d2cf7f26: Pushed [2022-10-10T12:26:23.688Z] 34968816022d: Pushed [2022-10-10T12:26:23.688Z] 994393dc58e7: Layer already exists [2022-10-10T12:26:23.949Z] 62f68ae95a50: Pushed [2022-10-10T12:26:26.484Z] 545d79c7937f: Pushed [2022-10-10T12:26:26.484Z] 476f8fe53201fee1938bf38d508323121d922085: digest: sha256:79a764809fefa084dae4e34a51bbfcd0376ffc02d34984c3a3e54e5af4ff5bd4 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:26.813Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:27.132Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-10-10T12:26:27.132Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-10-10T12:26:27.132Z] 545d79c7937f: Preparing [2022-10-10T12:26:27.132Z] 1d12d2cf7f26: Preparing [2022-10-10T12:26:27.132Z] 34968816022d: Preparing [2022-10-10T12:26:27.132Z] 62f68ae95a50: Preparing [2022-10-10T12:26:27.132Z] 25de0049a3ff: Preparing [2022-10-10T12:26:27.132Z] 994393dc58e7: Preparing [2022-10-10T12:26:27.132Z] 994393dc58e7: Waiting [2022-10-10T12:26:27.132Z] 62f68ae95a50: Layer already exists [2022-10-10T12:26:27.132Z] 545d79c7937f: Layer already exists [2022-10-10T12:26:27.132Z] 34968816022d: Layer already exists [2022-10-10T12:26:27.132Z] 25de0049a3ff: Layer already exists [2022-10-10T12:26:27.132Z] 1d12d2cf7f26: Layer already exists [2022-10-10T12:26:27.132Z] 994393dc58e7: Layer already exists [2022-10-10T12:26:27.132Z] latest: digest: sha256:79a764809fefa084dae4e34a51bbfcd0376ffc02d34984c3a3e54e5af4ff5bd4 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:27.456Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:27.759Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.23 [2022-10-10T12:26:27.760Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-10-10T12:26:27.760Z] 545d79c7937f: Preparing [2022-10-10T12:26:27.760Z] 1d12d2cf7f26: Preparing [2022-10-10T12:26:27.760Z] 34968816022d: Preparing [2022-10-10T12:26:27.760Z] 62f68ae95a50: Preparing [2022-10-10T12:26:27.760Z] 25de0049a3ff: Preparing [2022-10-10T12:26:27.760Z] 994393dc58e7: Preparing [2022-10-10T12:26:27.760Z] 994393dc58e7: Waiting [2022-10-10T12:26:27.760Z] 34968816022d: Layer already exists [2022-10-10T12:26:27.760Z] 62f68ae95a50: Layer already exists [2022-10-10T12:26:27.760Z] 25de0049a3ff: Layer already exists [2022-10-10T12:26:27.760Z] 545d79c7937f: Layer already exists [2022-10-10T12:26:27.760Z] 1d12d2cf7f26: Layer already exists [2022-10-10T12:26:27.760Z] 994393dc58e7: Layer already exists [2022-10-10T12:26:27.760Z] 2.3.0-dev.23: digest: sha256:79a764809fefa084dae4e34a51bbfcd0376ffc02d34984c3a3e54e5af4ff5bd4 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:28.076Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:476f8fe53201fee1938bf38d508323121d922085-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:28.389Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:476f8fe53201fee1938bf38d508323121d922085-2.3.0-dev.23 [2022-10-10T12:26:28.389Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-10-10T12:26:28.389Z] 545d79c7937f: Preparing [2022-10-10T12:26:28.389Z] 1d12d2cf7f26: Preparing [2022-10-10T12:26:28.389Z] 34968816022d: Preparing [2022-10-10T12:26:28.389Z] 62f68ae95a50: Preparing [2022-10-10T12:26:28.389Z] 25de0049a3ff: Preparing [2022-10-10T12:26:28.389Z] 994393dc58e7: Preparing [2022-10-10T12:26:28.389Z] 994393dc58e7: Waiting [2022-10-10T12:26:28.389Z] 1d12d2cf7f26: Layer already exists [2022-10-10T12:26:28.389Z] 545d79c7937f: Layer already exists [2022-10-10T12:26:28.389Z] 25de0049a3ff: Layer already exists [2022-10-10T12:26:28.389Z] 34968816022d: Layer already exists [2022-10-10T12:26:28.389Z] 62f68ae95a50: Layer already exists [2022-10-10T12:26:28.389Z] 994393dc58e7: Layer already exists [2022-10-10T12:26:28.389Z] 476f8fe53201fee1938bf38d508323121d922085-2.3.0-dev.23: digest: sha256:79a764809fefa084dae4e34a51bbfcd0376ffc02d34984c3a3e54e5af4ff5bd4 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:28.707Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:29.012Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-10-10T12:26:29.012Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-10-10T12:26:29.012Z] 545d79c7937f: Preparing [2022-10-10T12:26:29.012Z] 1d12d2cf7f26: Preparing [2022-10-10T12:26:29.012Z] 34968816022d: Preparing [2022-10-10T12:26:29.012Z] 62f68ae95a50: Preparing [2022-10-10T12:26:29.012Z] 25de0049a3ff: Preparing [2022-10-10T12:26:29.012Z] 994393dc58e7: Preparing [2022-10-10T12:26:29.012Z] 994393dc58e7: Waiting [2022-10-10T12:26:29.012Z] 62f68ae95a50: Layer already exists [2022-10-10T12:26:29.012Z] 1d12d2cf7f26: Layer already exists [2022-10-10T12:26:29.012Z] 34968816022d: Layer already exists [2022-10-10T12:26:29.012Z] 545d79c7937f: Layer already exists [2022-10-10T12:26:29.012Z] 25de0049a3ff: Layer already exists [2022-10-10T12:26:29.012Z] 994393dc58e7: Layer already exists [2022-10-10T12:26:29.012Z] main: digest: sha256:79a764809fefa084dae4e34a51bbfcd0376ffc02d34984c3a3e54e5af4ff5bd4 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-10T12:26:29.046Z] ===================================================== [Pipeline] echo [2022-10-10T12:26:29.051Z] taggedImages: [2022-10-10T12:26:29.051Z] - nexus3.edgexfoundry.org:10004/device-virtual:476f8fe53201fee1938bf38d508323121d922085 [2022-10-10T12:26:29.051Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-10-10T12:26:29.051Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.23 [2022-10-10T12:26:29.051Z] - nexus3.edgexfoundry.org:10004/device-virtual:476f8fe53201fee1938bf38d508323121d922085-2.3.0-dev.23 [2022-10-10T12:26:29.051Z] - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:29.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T12:26:29.411Z] [2022-10-10T12:26:29.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:26:29.712Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T12:26:29.712Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T12:26:29.712Z] 5eb5b503b376: Pulling fs layer [2022-10-10T12:26:29.712Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T12:26:29.712Z] ec43610c2a17: Pulling fs layer [2022-10-10T12:26:29.712Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T12:26:29.712Z] 33b1e0a273af: Pulling fs layer [2022-10-10T12:26:29.712Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T12:26:29.712Z] 2f39f015ded8: Pulling fs layer [2022-10-10T12:26:29.712Z] 3a2ae6a8a46f: Waiting [2022-10-10T12:26:29.712Z] 33b1e0a273af: Waiting [2022-10-10T12:26:29.712Z] 5d3b04190fa2: Waiting [2022-10-10T12:26:29.712Z] 2f39f015ded8: Waiting [2022-10-10T12:26:29.712Z] 5c69ac0246d0: Download complete [2022-10-10T12:26:29.712Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T12:26:29.712Z] 3a2ae6a8a46f: Download complete [2022-10-10T12:26:29.712Z] 33b1e0a273af: Verifying Checksum [2022-10-10T12:26:29.712Z] 33b1e0a273af: Download complete [2022-10-10T12:26:29.712Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T12:26:29.712Z] 5d3b04190fa2: Download complete [2022-10-10T12:26:29.712Z] ec43610c2a17: Verifying Checksum [2022-10-10T12:26:29.712Z] ec43610c2a17: Download complete [2022-10-10T12:26:29.970Z] 5eb5b503b376: Verifying Checksum [2022-10-10T12:26:29.970Z] 5eb5b503b376: Download complete [2022-10-10T12:26:30.539Z] 2f39f015ded8: Download complete [2022-10-10T12:26:31.105Z] 5eb5b503b376: Pull complete [2022-10-10T12:26:31.362Z] 5c69ac0246d0: Pull complete [2022-10-10T12:26:31.930Z] ec43610c2a17: Pull complete [2022-10-10T12:26:31.930Z] 3a2ae6a8a46f: Pull complete [2022-10-10T12:26:31.930Z] 33b1e0a273af: Pull complete [2022-10-10T12:26:32.188Z] 5d3b04190fa2: Pull complete [2022-10-10T12:26:36.372Z] 2f39f015ded8: Pull complete [2022-10-10T12:26:36.372Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T12:26:36.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T12:26:36.372Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:26:36.448Z] prd-ubuntu20.04-docker-8c-8g-7514 does not seem to be running inside a container [2022-10-10T12:26:36.485Z] $ 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/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T12:26:36.756Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7515 in /w/workspace/exfoundry_device-virtual-go_main [2022-10-10T12:26:38.234Z] $ docker top 65f710165e33e2ad68f9258d5c3246518c6262eb1b199bbce4c419da0663699e -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-10-10T12:26:38.400Z] Running in /w/workspace/device-virtual-go/59 [Pipeline] { [Pipeline] checkout [2022-10-10T12:26:38.428Z] The recommended git tool is: git [2022-10-10T12:26:38.655Z] ---> job-cost.sh [2022-10-10T12:26:38.655Z] lf-activate-venv: SKIPPING [2022-10-10T12:26:38.655Z] INFO: No Stack... [2022-10-10T12:26:38.915Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T12:26:39.175Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T12:26:39.472Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-10-10T12:26:39.472Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T12:26:39.485Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-59-stack-cost] [2022-10-10T12:26:39.497Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-59-stack-cost] did not exist. Created. [2022-10-10T12:26:39.497Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T12:26:39.803Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T12:26:39.827Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T12:26:39.835Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-59-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T12:26:39.855Z] $ docker stop --time=1 65f710165e33e2ad68f9258d5c3246518c6262eb1b199bbce4c419da0663699e [2022-10-10T12:26:41.032Z] $ docker rm -f 65f710165e33e2ad68f9258d5c3246518c6262eb1b199bbce4c419da0663699e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T12:26:43.264Z] using credential edgex-jenkins-ssh [2022-10-10T12:26:43.282Z] Cloning the remote Git repository [2022-10-10T12:26:43.327Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-10T12:26:43.397Z] > git init /w/workspace/device-virtual-go/59 # timeout=10 [2022-10-10T12:26:43.533Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-10T12:26:43.535Z] > git --version # timeout=10 [2022-10-10T12:26:43.555Z] > git --version # 'git version 2.25.1' [2022-10-10T12:26:43.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T12:26:43.606Z] Verifying host key using known hosts file [2022-10-10T12:26:43.796Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T12:26:43.810Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T12:26:46.703Z] Avoid second fetch [2022-10-10T12:26:46.703Z] Checking out Revision 476f8fe53201fee1938bf38d508323121d922085 (main) [2022-10-10T12:26:45.861Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-10T12:26:45.887Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T12:26:46.720Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T12:26:46.737Z] > git checkout -f 476f8fe53201fee1938bf38d508323121d922085 # timeout=10 [2022-10-10T12:26:47.199Z] Commit message: "Merge pull request #312 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T12:26:48.134Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T12:26:48.134Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T12:26:48.134Z] Dload Upload Total Spent Left Speed [2022-10-10T12:26:48.134Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 83 12602 83 10505 0 0 72951 0 --:--:-- --:--:-- --:--:-- 72448 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 86315 [Pipeline] sh [2022-10-10T12:26:48.725Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T12:26:49.051Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T12:26:49.051Z] + sudo tee /etc/docker/daemon.new [2022-10-10T12:26:49.051Z] { [2022-10-10T12:26:49.051Z] "registry-mirrors": [ [2022-10-10T12:26:49.051Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T12:26:49.051Z] ], [2022-10-10T12:26:49.051Z] "bip": "10.250.0.254/24", [2022-10-10T12:26:49.051Z] "hosts": [ [2022-10-10T12:26:49.051Z] "tcp://0.0.0.0:5555", [2022-10-10T12:26:49.051Z] "unix:///var/run/docker.sock" [2022-10-10T12:26:49.051Z] ], [2022-10-10T12:26:49.051Z] "mtu": 1458, [2022-10-10T12:26:49.051Z] "selinux-enabled": true, [2022-10-10T12:26:49.051Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T12:26:49.051Z] } [Pipeline] sh [2022-10-10T12:26:49.396Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T12:26:49.726Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T12:27:08.051Z] provisioning config files... [2022-10-10T12:27:08.089Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/59@tmp/config625756958080617806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:27:08.475Z] ---> docker-login.sh [2022-10-10T12:27:08.475Z] nexus3.edgexfoundry.org:10001 [2022-10-10T12:27:08.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:27:09.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:27:09.016Z] Configure a credential helper to remove this warning. See [2022-10-10T12:27:09.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:27:09.016Z] [2022-10-10T12:27:09.016Z] Login Succeeded [2022-10-10T12:27:09.016Z] nexus3.edgexfoundry.org:10002 [2022-10-10T12:27:09.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:27:09.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:27:09.557Z] Configure a credential helper to remove this warning. See [2022-10-10T12:27:09.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:27:09.557Z] [2022-10-10T12:27:09.557Z] Login Succeeded [2022-10-10T12:27:09.557Z] nexus3.edgexfoundry.org:10003 [2022-10-10T12:27:09.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:27:09.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:27:09.830Z] Configure a credential helper to remove this warning. See [2022-10-10T12:27:09.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:27:09.830Z] [2022-10-10T12:27:09.830Z] Login Succeeded [2022-10-10T12:27:09.830Z] nexus3.edgexfoundry.org:10004 [2022-10-10T12:27:10.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:27:10.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:27:10.101Z] Configure a credential helper to remove this warning. See [2022-10-10T12:27:10.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:27:10.101Z] [2022-10-10T12:27:10.101Z] Login Succeeded [2022-10-10T12:27:10.101Z] docker.io [2022-10-10T12:27:10.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:27:10.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:27:10.958Z] Configure a credential helper to remove this warning. See [2022-10-10T12:27:10.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:27:10.958Z] [2022-10-10T12:27:10.958Z] Login Succeeded [2022-10-10T12:27:10.958Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T12:27:10.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T12:27:11.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T12:27:11.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T12:27:11.130Z] ========================================================= [2022-10-10T12:27:11.130Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T12:27:11.130Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:27:11.473Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T12:27:11.743Z] Sending build context to Docker daemon 11.73MB [2022-10-10T12:27:12.016Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T12:27:12.017Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T12:27:12.017Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T12:27:12.017Z] b3c136eddcbf: Pulling fs layer [2022-10-10T12:27:12.017Z] c0a3192eca97: Pulling fs layer [2022-10-10T12:27:12.017Z] a050256f5b6f: Pulling fs layer [2022-10-10T12:27:12.017Z] 656be50a0ddc: Pulling fs layer [2022-10-10T12:27:12.017Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T12:27:12.017Z] f607e4fc86c3: Pulling fs layer [2022-10-10T12:27:12.017Z] 4d572c569a2c: Pulling fs layer [2022-10-10T12:27:12.017Z] fcf976331f73: Pulling fs layer [2022-10-10T12:27:12.017Z] 2bbca73fdf42: Waiting [2022-10-10T12:27:12.017Z] f607e4fc86c3: Waiting [2022-10-10T12:27:12.017Z] 4d572c569a2c: Waiting [2022-10-10T12:27:12.017Z] fcf976331f73: Waiting [2022-10-10T12:27:12.017Z] 656be50a0ddc: Waiting [2022-10-10T12:27:12.017Z] a050256f5b6f: Verifying Checksum [2022-10-10T12:27:12.017Z] a050256f5b6f: Download complete [2022-10-10T12:27:12.017Z] c0a3192eca97: Verifying Checksum [2022-10-10T12:27:12.017Z] c0a3192eca97: Download complete [2022-10-10T12:27:12.017Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T12:27:12.017Z] 2bbca73fdf42: Download complete [2022-10-10T12:27:12.289Z] f607e4fc86c3: Verifying Checksum [2022-10-10T12:27:12.289Z] f607e4fc86c3: Download complete [2022-10-10T12:27:12.289Z] b3c136eddcbf: Download complete [2022-10-10T12:27:12.889Z] b3c136eddcbf: Pull complete [2022-10-10T12:27:13.509Z] fcf976331f73: Verifying Checksum [2022-10-10T12:27:13.509Z] fcf976331f73: Download complete [2022-10-10T12:27:13.509Z] c0a3192eca97: Pull complete [2022-10-10T12:27:13.784Z] a050256f5b6f: Pull complete [2022-10-10T12:27:14.383Z] 4d572c569a2c: Verifying Checksum [2022-10-10T12:27:14.383Z] 4d572c569a2c: Download complete [2022-10-10T12:27:14.975Z] 656be50a0ddc: Verifying Checksum [2022-10-10T12:27:14.975Z] 656be50a0ddc: Download complete [2022-10-10T12:27:27.311Z] 656be50a0ddc: Pull complete [2022-10-10T12:27:27.311Z] 2bbca73fdf42: Pull complete [2022-10-10T12:27:27.311Z] f607e4fc86c3: Pull complete [2022-10-10T12:27:33.980Z] 4d572c569a2c: Pull complete [2022-10-10T12:27:35.396Z] fcf976331f73: Pull complete [2022-10-10T12:27:35.396Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T12:27:35.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T12:27:35.396Z] ---> 3970a7415f9e [2022-10-10T12:27:35.396Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T12:27:36.812Z] ---> Running in b1881e4e3884 [2022-10-10T12:27:36.812Z] Removing intermediate container b1881e4e3884 [2022-10-10T12:27:36.812Z] ---> 18ddfee2e258 [2022-10-10T12:27:36.812Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T12:27:36.812Z] ---> Running in b2fb93ee5c81 [2022-10-10T12:27:37.081Z] Removing intermediate container b2fb93ee5c81 [2022-10-10T12:27:37.081Z] ---> 253eb51e9453 [2022-10-10T12:27:37.081Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T12:27:37.350Z] ---> Running in 7feb17064d5c [2022-10-10T12:27:37.619Z] Removing intermediate container 7feb17064d5c [2022-10-10T12:27:37.619Z] ---> e1103e980286 [2022-10-10T12:27:37.620Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-10T12:27:37.620Z] ---> Running in 7e287b4f0f14 [2022-10-10T12:27:37.973Z] Removing intermediate container 7e287b4f0f14 [2022-10-10T12:27:37.973Z] ---> 71df4b35e574 [2022-10-10T12:27:37.973Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T12:27:38.267Z] ---> Running in beeec9ec2916 [2022-10-10T12:27:40.245Z] Removing intermediate container beeec9ec2916 [2022-10-10T12:27:40.245Z] ---> a500604b75e8 [2022-10-10T12:27:40.245Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T12:27:40.245Z] ---> Running in ba4a19b44f5b [2022-10-10T12:27:40.830Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T12:27:41.787Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T12:27:42.747Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T12:27:42.747Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T12:27:42.747Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T12:27:43.015Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T12:27:43.015Z] Executing busybox-1.35.0-r13.trigger [2022-10-10T12:27:43.294Z] OK: 226 MiB in 55 packages [2022-10-10T12:27:44.255Z] Removing intermediate container ba4a19b44f5b [2022-10-10T12:27:44.255Z] ---> 6b6b7aa4a69f [2022-10-10T12:27:44.255Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-10T12:27:44.523Z] ---> cc8bce577286 [2022-10-10T12:27:44.523Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T12:27:44.793Z] ---> Running in b6dc25675b71 [2022-10-10T12:28:31.688Z] Removing intermediate container b6dc25675b71 [2022-10-10T12:28:31.688Z] ---> 6fe7fcfbae47 [2022-10-10T12:28:31.688Z] Step 11/13 : COPY . . [2022-10-10T12:28:32.274Z] ---> 670169bddcaf [2022-10-10T12:28:32.274Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T12:28:32.274Z] ---> Running in 695dad9b6630 [2022-10-10T12:28:32.542Z] Removing intermediate container 695dad9b6630 [2022-10-10T12:28:32.542Z] ---> a34967776cac [2022-10-10T12:28:32.542Z] Step 13/13 : RUN $MAKE [2022-10-10T12:28:32.813Z] ---> Running in a7ca9f5ea2e9 [2022-10-10T12:28:33.775Z] noop [2022-10-10T12:28:34.042Z] Removing intermediate container a7ca9f5ea2e9 [2022-10-10T12:28:34.042Z] ---> 47260f04c70d [2022-10-10T12:28:34.309Z] Successfully built 47260f04c70d [2022-10-10T12:28:34.309Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:28:34.658Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T12:28:34.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:28:34.837Z] prd-ubuntu20.04-docker-arm64-4c-16g-7515 does not seem to be running inside a container [2022-10-10T12:28:34.900Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/59 -v /w/workspace/device-virtual-go/59:/w/workspace/device-virtual-go/59:rw,z -v /w/workspace/device-virtual-go/59@tmp:/w/workspace/device-virtual-go/59@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 ******** ci-base-image-arm64 cat [2022-10-10T12:28:36.672Z] $ docker top 5568ad973a77395572e6915e776724bed588edef508c787cd6fbd096112c886f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T12:28:37.499Z] + go version [2022-10-10T12:28:37.499Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T12:28:37.521Z] $ docker stop --time=1 5568ad973a77395572e6915e776724bed588edef508c787cd6fbd096112c886f [2022-10-10T12:28:39.102Z] $ docker rm -f 5568ad973a77395572e6915e776724bed588edef508c787cd6fbd096112c886f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:28:39.638Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T12:28:39.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:28:39.795Z] prd-ubuntu20.04-docker-arm64-4c-16g-7515 does not seem to be running inside a container [2022-10-10T12:28:39.854Z] $ 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/59 -v /w/workspace/device-virtual-go/59:/w/workspace/device-virtual-go/59:rw,z -v /w/workspace/device-virtual-go/59@tmp:/w/workspace/device-virtual-go/59@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 ******** ci-base-image-arm64 cat [2022-10-10T12:28:40.991Z] $ docker top f549161d3cf812fd136acfd3807d0b4c592be194e313b53c99ebf16251202df2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T12:28:41.488Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/59 [Pipeline] fileExists [Pipeline] sh [2022-10-10T12:28:42.080Z] + make test [2022-10-10T12:28:42.348Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-10T12:28:44.290Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-10T12:30:05.915Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-10T12:30:05.915Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.129s coverage: 65.7% of statements [2022-10-10T12:30:05.915Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T12:30:05.915Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T12:30:24.126Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T12:30:24.126Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T12:30:24.126Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T12:30:24.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T12:30:24.165Z] $ docker stop --time=1 f549161d3cf812fd136acfd3807d0b4c592be194e313b53c99ebf16251202df2 [2022-10-10T12:30:25.890Z] $ docker rm -f f549161d3cf812fd136acfd3807d0b4c592be194e313b53c99ebf16251202df2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T12:30:26.778Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T12:30:26.800Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T12:30:27.204Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T12:30:27.581Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T12:30:27.892Z] + ls -al . [2022-10-10T12:30:27.892Z] total 196 [2022-10-10T12:30:27.892Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 12:28 . [2022-10-10T12:30:27.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 12:26 .. [2022-10-10T12:30:27.892Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 12:26 .git [2022-10-10T12:30:27.892Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 12:26 .github [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 10 12:26 .gitignore [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 12:26 .golangci.yml [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 10 12:26 Attribution.txt [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 10 12:26 CHANGELOG.md [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 10 12:26 Dockerfile [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 12:26 GOVERNANCE.md [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 10 12:26 Jenkinsfile [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 12:26 LICENSE [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 10 12:26 Makefile [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 10 12:26 OWNERS.md [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 10 12:26 README.md [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 12:24 VERSION [2022-10-10T12:30:27.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 12:26 bin [2022-10-10T12:30:27.892Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 12:26 cmd [2022-10-10T12:30:27.892Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 10 12:30 coverage.out [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 10 12:26 go.mod [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 10 12:26 go.sum [2022-10-10T12:30:27.892Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 12:26 internal [2022-10-10T12:30:27.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 12:26 snap [2022-10-10T12:30:27.892Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 10 12:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:30:28.228Z] + 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=476f8fe53201fee1938bf38d508323121d922085 --label arch=arm64 --label version=2.3.0-dev.23 . [2022-10-10T12:30:28.493Z] Sending build context to Docker daemon 11.77MB [2022-10-10T12:30:28.493Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T12:30:28.493Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-10T12:30:28.493Z] ---> 47260f04c70d [2022-10-10T12:30:28.493Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T12:30:28.765Z] ---> Running in f39cd0784f7a [2022-10-10T12:30:29.032Z] Removing intermediate container f39cd0784f7a [2022-10-10T12:30:29.032Z] ---> de89377d8a9f [2022-10-10T12:30:29.032Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T12:30:29.032Z] ---> Running in 85190beb47d2 [2022-10-10T12:30:29.300Z] Removing intermediate container 85190beb47d2 [2022-10-10T12:30:29.300Z] ---> 8ee2992ac1d1 [2022-10-10T12:30:29.300Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-10T12:30:29.300Z] ---> Running in 7fc4e49ac19a [2022-10-10T12:30:29.575Z] Removing intermediate container 7fc4e49ac19a [2022-10-10T12:30:29.575Z] ---> 256febe10f87 [2022-10-10T12:30:29.575Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-10T12:30:29.843Z] ---> Running in 7d09d8854e2c [2022-10-10T12:30:30.109Z] Removing intermediate container 7d09d8854e2c [2022-10-10T12:30:30.109Z] ---> 22ab25947c2b [2022-10-10T12:30:30.109Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T12:30:30.109Z] ---> Running in cf3e7100638d [2022-10-10T12:30:32.055Z] Removing intermediate container cf3e7100638d [2022-10-10T12:30:32.055Z] ---> f50e1a71137e [2022-10-10T12:30:32.055Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T12:30:32.055Z] ---> Running in da712b5bb637 [2022-10-10T12:30:32.638Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T12:30:33.601Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T12:30:34.561Z] OK: 226 MiB in 55 packages [2022-10-10T12:30:35.150Z] Removing intermediate container da712b5bb637 [2022-10-10T12:30:35.150Z] ---> 4291e03aeafc [2022-10-10T12:30:35.150Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-10T12:30:36.110Z] ---> 91047fa592d9 [2022-10-10T12:30:36.110Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T12:30:36.110Z] ---> Running in 841fb3a8a4fe [2022-10-10T12:30:38.057Z] Removing intermediate container 841fb3a8a4fe [2022-10-10T12:30:38.058Z] ---> 8e69f0d3eb6c [2022-10-10T12:30:38.058Z] Step 11/27 : COPY . . [2022-10-10T12:30:39.015Z] ---> c2b5fa9ecd11 [2022-10-10T12:30:39.015Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T12:30:39.015Z] ---> Running in fdea38b2ced6 [2022-10-10T12:30:39.283Z] Removing intermediate container fdea38b2ced6 [2022-10-10T12:30:39.283Z] ---> 9df3858e46bd [2022-10-10T12:30:39.283Z] Step 13/27 : RUN $MAKE [2022-10-10T12:30:39.283Z] ---> Running in b18a333afb91 [2022-10-10T12:30:40.248Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.23" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-10-10T12:33:16.995Z] Removing intermediate container b18a333afb91 [2022-10-10T12:33:16.995Z] ---> 4fe02edcb289 [2022-10-10T12:33:16.995Z] Step 14/27 : FROM alpine:3.16 [2022-10-10T12:33:16.995Z] 3.16: Pulling from library/alpine [2022-10-10T12:33:16.995Z] 9b18e9b68314: Pulling fs layer [2022-10-10T12:33:16.995Z] 9b18e9b68314: Verifying Checksum [2022-10-10T12:33:16.995Z] 9b18e9b68314: Download complete [2022-10-10T12:33:16.995Z] 9b18e9b68314: Pull complete [2022-10-10T12:33:16.995Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T12:33:16.995Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T12:33:16.995Z] ---> a6215f271958 [2022-10-10T12:33:16.995Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-10T12:33:16.995Z] ---> Running in e7c8d5d6c3cd [2022-10-10T12:33:16.995Z] Removing intermediate container e7c8d5d6c3cd [2022-10-10T12:33:16.995Z] ---> 3ba1bddc3f1d [2022-10-10T12:33:16.995Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T12:33:16.995Z] ---> Running in c51e5e573e1d [2022-10-10T12:33:16.995Z] Removing intermediate container c51e5e573e1d [2022-10-10T12:33:16.995Z] ---> 09e05b63f646 [2022-10-10T12:33:16.995Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T12:33:16.995Z] ---> Running in 0e42d772e084 [2022-10-10T12:33:16.995Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T12:33:16.995Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T12:33:16.995Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T12:33:16.995Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T12:33:16.995Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T12:33:16.995Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T12:33:16.995Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T12:33:16.995Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T12:33:16.995Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T12:33:16.995Z] OK: 8 MiB in 20 packages [2022-10-10T12:33:16.995Z] Removing intermediate container 0e42d772e084 [2022-10-10T12:33:16.995Z] ---> a3cbc2e74a46 [2022-10-10T12:33:16.995Z] Step 18/27 : WORKDIR / [2022-10-10T12:33:16.995Z] ---> Running in 35c03d744bf3 [2022-10-10T12:33:16.995Z] Removing intermediate container 35c03d744bf3 [2022-10-10T12:33:16.995Z] ---> 4fb61880cf8e [2022-10-10T12:33:16.996Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-10T12:33:16.996Z] ---> 6cc048a0982e [2022-10-10T12:33:16.996Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-10T12:33:16.996Z] ---> e29ff66f7f3e [2022-10-10T12:33:16.996Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-10T12:33:16.996Z] ---> 1779ac7d8ce9 [2022-10-10T12:33:16.996Z] Step 22/27 : EXPOSE 59900 [2022-10-10T12:33:16.996Z] ---> Running in f04dc3231d15 [2022-10-10T12:33:16.996Z] Removing intermediate container f04dc3231d15 [2022-10-10T12:33:16.996Z] ---> 81cc348ab481 [2022-10-10T12:33:16.996Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-10T12:33:17.260Z] ---> Running in c2dd55f1ef05 [2022-10-10T12:33:17.526Z] Removing intermediate container c2dd55f1ef05 [2022-10-10T12:33:17.526Z] ---> 48ec86140db0 [2022-10-10T12:33:17.526Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T12:33:17.526Z] ---> Running in 9cc789a9bfb6 [2022-10-10T12:33:17.792Z] Removing intermediate container 9cc789a9bfb6 [2022-10-10T12:33:17.792Z] ---> 26cf0ee61675 [2022-10-10T12:33:17.792Z] Step 25/27 : LABEL arch=arm64 [2022-10-10T12:33:17.792Z] ---> Running in 9baa79af96cb [2022-10-10T12:33:18.060Z] Removing intermediate container 9baa79af96cb [2022-10-10T12:33:18.060Z] ---> b242f283d9b6 [2022-10-10T12:33:18.060Z] Step 26/27 : LABEL git_sha=476f8fe53201fee1938bf38d508323121d922085 [2022-10-10T12:33:18.328Z] ---> Running in 442ebc980ab3 [2022-10-10T12:33:18.594Z] Removing intermediate container 442ebc980ab3 [2022-10-10T12:33:18.594Z] ---> 4daa52a8a6db [2022-10-10T12:33:18.594Z] Step 27/27 : LABEL version=2.3.0-dev.23 [2022-10-10T12:33:18.594Z] ---> Running in e1624f4892c9 [2022-10-10T12:33:18.873Z] Removing intermediate container e1624f4892c9 [2022-10-10T12:33:18.873Z] ---> fd721ec38941 [2022-10-10T12:33:18.873Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T12:33:18.873Z] Successfully built fd721ec38941 [2022-10-10T12:33:18.873Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T12:33:18.981Z] provisioning config files... [2022-10-10T12:33:18.995Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/59@tmp/config1485084600367347434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:33:19.320Z] ---> docker-login.sh [2022-10-10T12:33:19.320Z] nexus3.edgexfoundry.org:10001 [2022-10-10T12:33:19.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:33:19.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:33:19.589Z] Configure a credential helper to remove this warning. See [2022-10-10T12:33:19.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:33:19.589Z] [2022-10-10T12:33:19.589Z] Login Succeeded [2022-10-10T12:33:19.589Z] nexus3.edgexfoundry.org:10002 [2022-10-10T12:33:19.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:33:19.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:33:19.856Z] Configure a credential helper to remove this warning. See [2022-10-10T12:33:19.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:33:19.856Z] [2022-10-10T12:33:19.856Z] Login Succeeded [2022-10-10T12:33:19.856Z] nexus3.edgexfoundry.org:10003 [2022-10-10T12:33:20.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:33:20.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:33:20.123Z] Configure a credential helper to remove this warning. See [2022-10-10T12:33:20.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:33:20.123Z] [2022-10-10T12:33:20.123Z] Login Succeeded [2022-10-10T12:33:20.123Z] nexus3.edgexfoundry.org:10004 [2022-10-10T12:33:20.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:33:20.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:33:20.668Z] Configure a credential helper to remove this warning. See [2022-10-10T12:33:20.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:33:20.668Z] [2022-10-10T12:33:20.668Z] Login Succeeded [2022-10-10T12:33:20.668Z] docker.io [2022-10-10T12:33:20.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T12:33:21.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T12:33:21.197Z] Configure a credential helper to remove this warning. See [2022-10-10T12:33:21.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T12:33:21.197Z] [2022-10-10T12:33:21.197Z] Login Succeeded [2022-10-10T12:33:21.197Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T12:33:21.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-10T12:33:21.241Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T12:33:21.263Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-10-10T12:33:21.263Z] 476f8fe53201fee1938bf38d508323121d922085 [2022-10-10T12:33:21.263Z] latest [2022-10-10T12:33:21.263Z] 2.3.0-dev.23 [2022-10-10T12:33:21.263Z] 476f8fe53201fee1938bf38d508323121d922085-2.3.0-dev.23 [2022-10-10T12:33:21.263Z] main [2022-10-10T12:33:21.263Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:21.605Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:476f8fe53201fee1938bf38d508323121d922085 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:21.931Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:476f8fe53201fee1938bf38d508323121d922085 [2022-10-10T12:33:21.931Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-10-10T12:33:21.931Z] f7820a2a341d: Preparing [2022-10-10T12:33:21.931Z] c659c2363955: Preparing [2022-10-10T12:33:21.931Z] b91fc4db81da: Preparing [2022-10-10T12:33:21.931Z] 5bc7f9487a0e: Preparing [2022-10-10T12:33:21.931Z] 1c5808a15f27: Preparing [2022-10-10T12:33:21.931Z] 5d3e392a13a0: Preparing [2022-10-10T12:33:21.931Z] 5d3e392a13a0: Waiting [2022-10-10T12:33:22.195Z] 1c5808a15f27: Pushed [2022-10-10T12:33:22.195Z] c659c2363955: Pushed [2022-10-10T12:33:22.195Z] b91fc4db81da: Pushed [2022-10-10T12:33:22.195Z] 5d3e392a13a0: Layer already exists [2022-10-10T12:33:22.778Z] 5bc7f9487a0e: Pushed [2022-10-10T12:33:28.114Z] f7820a2a341d: Pushed [2022-10-10T12:33:28.114Z] 476f8fe53201fee1938bf38d508323121d922085: digest: sha256:0b112f25a528175abb62cff67572e53db368c0d1b2f77e9fc20f74be79f51d2f size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:28.448Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:28.783Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-10-10T12:33:28.783Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-10-10T12:33:28.783Z] f7820a2a341d: Preparing [2022-10-10T12:33:28.783Z] c659c2363955: Preparing [2022-10-10T12:33:28.783Z] b91fc4db81da: Preparing [2022-10-10T12:33:28.783Z] 5bc7f9487a0e: Preparing [2022-10-10T12:33:28.783Z] 1c5808a15f27: Preparing [2022-10-10T12:33:28.783Z] 5d3e392a13a0: Preparing [2022-10-10T12:33:28.783Z] 5d3e392a13a0: Waiting [2022-10-10T12:33:28.783Z] f7820a2a341d: Layer already exists [2022-10-10T12:33:28.783Z] 5bc7f9487a0e: Layer already exists [2022-10-10T12:33:28.783Z] b91fc4db81da: Layer already exists [2022-10-10T12:33:28.783Z] c659c2363955: Layer already exists [2022-10-10T12:33:28.783Z] 1c5808a15f27: Layer already exists [2022-10-10T12:33:28.783Z] 5d3e392a13a0: Layer already exists [2022-10-10T12:33:29.047Z] latest: digest: sha256:0b112f25a528175abb62cff67572e53db368c0d1b2f77e9fc20f74be79f51d2f size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:29.380Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:29.709Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.23 [2022-10-10T12:33:29.709Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-10-10T12:33:29.709Z] f7820a2a341d: Preparing [2022-10-10T12:33:29.709Z] c659c2363955: Preparing [2022-10-10T12:33:29.709Z] b91fc4db81da: Preparing [2022-10-10T12:33:29.709Z] 5bc7f9487a0e: Preparing [2022-10-10T12:33:29.709Z] 1c5808a15f27: Preparing [2022-10-10T12:33:29.709Z] 5d3e392a13a0: Preparing [2022-10-10T12:33:29.709Z] 5d3e392a13a0: Waiting [2022-10-10T12:33:29.709Z] f7820a2a341d: Layer already exists [2022-10-10T12:33:29.709Z] c659c2363955: Layer already exists [2022-10-10T12:33:29.709Z] b91fc4db81da: Layer already exists [2022-10-10T12:33:29.709Z] 1c5808a15f27: Layer already exists [2022-10-10T12:33:29.709Z] 5bc7f9487a0e: Layer already exists [2022-10-10T12:33:29.709Z] 5d3e392a13a0: Layer already exists [2022-10-10T12:33:29.709Z] 2.3.0-dev.23: digest: sha256:0b112f25a528175abb62cff67572e53db368c0d1b2f77e9fc20f74be79f51d2f size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:30.051Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:476f8fe53201fee1938bf38d508323121d922085-2.3.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:30.387Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:476f8fe53201fee1938bf38d508323121d922085-2.3.0-dev.23 [2022-10-10T12:33:30.388Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-10-10T12:33:30.388Z] f7820a2a341d: Preparing [2022-10-10T12:33:30.388Z] c659c2363955: Preparing [2022-10-10T12:33:30.388Z] b91fc4db81da: Preparing [2022-10-10T12:33:30.388Z] 5bc7f9487a0e: Preparing [2022-10-10T12:33:30.388Z] 1c5808a15f27: Preparing [2022-10-10T12:33:30.388Z] 5d3e392a13a0: Preparing [2022-10-10T12:33:30.388Z] 5d3e392a13a0: Waiting [2022-10-10T12:33:30.388Z] 1c5808a15f27: Layer already exists [2022-10-10T12:33:30.388Z] c659c2363955: Layer already exists [2022-10-10T12:33:30.388Z] f7820a2a341d: Layer already exists [2022-10-10T12:33:30.388Z] b91fc4db81da: Layer already exists [2022-10-10T12:33:30.388Z] 5bc7f9487a0e: Layer already exists [2022-10-10T12:33:30.388Z] 5d3e392a13a0: Layer already exists [2022-10-10T12:33:30.388Z] 476f8fe53201fee1938bf38d508323121d922085-2.3.0-dev.23: digest: sha256:0b112f25a528175abb62cff67572e53db368c0d1b2f77e9fc20f74be79f51d2f size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:30.788Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:31.136Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-10-10T12:33:31.136Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-10-10T12:33:31.136Z] f7820a2a341d: Preparing [2022-10-10T12:33:31.136Z] c659c2363955: Preparing [2022-10-10T12:33:31.136Z] b91fc4db81da: Preparing [2022-10-10T12:33:31.136Z] 5bc7f9487a0e: Preparing [2022-10-10T12:33:31.136Z] 1c5808a15f27: Preparing [2022-10-10T12:33:31.136Z] 5d3e392a13a0: Preparing [2022-10-10T12:33:31.136Z] 5d3e392a13a0: Waiting [2022-10-10T12:33:31.136Z] c659c2363955: Layer already exists [2022-10-10T12:33:31.136Z] 1c5808a15f27: Layer already exists [2022-10-10T12:33:31.136Z] b91fc4db81da: Layer already exists [2022-10-10T12:33:31.136Z] 5bc7f9487a0e: Layer already exists [2022-10-10T12:33:31.136Z] f7820a2a341d: Layer already exists [2022-10-10T12:33:31.136Z] 5d3e392a13a0: Layer already exists [2022-10-10T12:33:31.136Z] main: digest: sha256:0b112f25a528175abb62cff67572e53db368c0d1b2f77e9fc20f74be79f51d2f size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-10T12:33:31.455Z] ===================================================== [Pipeline] echo [2022-10-10T12:33:31.461Z] taggedImages: [2022-10-10T12:33:31.462Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:476f8fe53201fee1938bf38d508323121d922085 [2022-10-10T12:33:31.462Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-10-10T12:33:31.462Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.23 [2022-10-10T12:33:31.462Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:476f8fe53201fee1938bf38d508323121d922085-2.3.0-dev.23 [2022-10-10T12:33:31.462Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:31.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T12:33:31.825Z] [2022-10-10T12:33:31.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:33:32.164Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T12:33:32.164Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T12:33:32.164Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T12:33:32.164Z] 04944245beec: Pulling fs layer [2022-10-10T12:33:32.164Z] 699f458cf7ca: Pulling fs layer [2022-10-10T12:33:32.164Z] 765212b225bb: Pulling fs layer [2022-10-10T12:33:32.164Z] f23df028b6ca: Pulling fs layer [2022-10-10T12:33:32.164Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T12:33:32.164Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T12:33:32.164Z] 765212b225bb: Waiting [2022-10-10T12:33:32.164Z] f23df028b6ca: Waiting [2022-10-10T12:33:32.164Z] d65c8cfc05b1: Waiting [2022-10-10T12:33:32.437Z] 04944245beec: Verifying Checksum [2022-10-10T12:33:32.437Z] 04944245beec: Download complete [2022-10-10T12:33:32.437Z] 765212b225bb: Verifying Checksum [2022-10-10T12:33:32.437Z] 765212b225bb: Download complete [2022-10-10T12:33:32.437Z] f23df028b6ca: Download complete [2022-10-10T12:33:32.437Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T12:33:32.437Z] d65c8cfc05b1: Download complete [2022-10-10T12:33:32.437Z] 699f458cf7ca: Verifying Checksum [2022-10-10T12:33:32.437Z] 699f458cf7ca: Download complete [2022-10-10T12:33:33.025Z] 8998bd30e6a1: Download complete [2022-10-10T12:33:34.966Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T12:33:34.966Z] 2437ff75d9bd: Download complete [2022-10-10T12:33:36.904Z] 8998bd30e6a1: Pull complete [2022-10-10T12:33:37.170Z] 04944245beec: Pull complete [2022-10-10T12:33:38.575Z] 699f458cf7ca: Pull complete [2022-10-10T12:33:38.575Z] 765212b225bb: Pull complete [2022-10-10T12:33:39.156Z] f23df028b6ca: Pull complete [2022-10-10T12:33:39.422Z] d65c8cfc05b1: Pull complete [2022-10-10T12:33:54.393Z] 2437ff75d9bd: Pull complete [2022-10-10T12:33:54.394Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T12:33:54.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T12:33:54.394Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:33:54.578Z] prd-ubuntu20.04-docker-arm64-4c-16g-7515 does not seem to be running inside a container [2022-10-10T12:33:54.641Z] $ 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/59 -v /w/workspace/device-virtual-go/59:/w/workspace/device-virtual-go/59:rw,z -v /w/workspace/device-virtual-go/59@tmp:/w/workspace/device-virtual-go/59@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T12:33:56.964Z] $ docker top 3bd4712482e0389dfe1a7c257db5cfd6a98fadac4727a2a0298e7a534fca6f93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:33:57.478Z] ---> job-cost.sh [2022-10-10T12:33:57.743Z] lf-activate-venv: SKIPPING [2022-10-10T12:33:57.743Z] INFO: No Stack... [2022-10-10T12:33:58.007Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T12:33:58.960Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T12:33:59.588Z] + cat /w/workspace/device-virtual-go/59/archives/cost.csv [2022-10-10T12:33:59.589Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T12:33:59.649Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-59-stack-cost] [2022-10-10T12:33:59.655Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-59-stack-cost] did not exist. Created. [2022-10-10T12:33:59.655Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T12:33:59.990Z] /w/workspace/device-virtual-go/59@tmp/durable-503149e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T12:34:00.325Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T12:34:00.341Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T12:34:00.387Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T12:34:00.396Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-59-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T12:34:00.413Z] $ docker stop --time=1 3bd4712482e0389dfe1a7c257db5cfd6a98fadac4727a2a0298e7a534fca6f93 [2022-10-10T12:34:01.874Z] $ docker rm -f 3bd4712482e0389dfe1a7c257db5cfd6a98fadac4727a2a0298e7a534fca6f93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-10T12:34:02.270Z] provisioning config files... [2022-10-10T12:34:02.277Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6540206603082118644tmp [Pipeline] { [Pipeline] sh [2022-10-10T12:34:02.575Z] + set +x [2022-10-10T12:34:02.575Z] + curl -s https://codecov.io/bash [2022-10-10T12:34:02.575Z] + bash -s -- [2022-10-10T12:34:02.575Z] [2022-10-10T12:34:02.575Z] _____ _ [2022-10-10T12:34:02.575Z] / ____| | | [2022-10-10T12:34:02.575Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T12:34:02.575Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T12:34:02.575Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T12:34:02.575Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T12:34:02.575Z] Bash-1.0.6 [2022-10-10T12:34:02.575Z] [2022-10-10T12:34:02.575Z] [2022-10-10T12:34:02.575Z] ==> git version 2.25.1 found [2022-10-10T12:34:02.575Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-10T12:34:02.575Z] Release-Date: 2020-01-08 [2022-10-10T12:34:02.575Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-10T12:34:02.575Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T12:34:02.575Z] ==> Jenkins CI detected. [2022-10-10T12:34:02.575Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-10-10T12:34:02.575Z] project root: . [2022-10-10T12:34:02.575Z] --> token set from env [2022-10-10T12:34:02.575Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T12:34:02.575Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T12:34:02.575Z] ==> Python coveragepy not found [2022-10-10T12:34:02.575Z] ==> Searching for coverage reports in: [2022-10-10T12:34:02.575Z] + . [2022-10-10T12:34:02.575Z] -> Found 1 reports [2022-10-10T12:34:02.575Z] ==> Detecting git/mercurial file structure [2022-10-10T12:34:02.834Z] ==> Reading reports [2022-10-10T12:34:02.834Z] + ./coverage.out bytes=44128 [2022-10-10T12:34:02.834Z] ==> Appending adjustments [2022-10-10T12:34:02.834Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T12:34:02.834Z] + Found adjustments [2022-10-10T12:34:02.834Z] ==> Gzipping contents [2022-10-10T12:34:02.834Z] 8.0K /tmp/codecov.S2bV7i.gz [2022-10-10T12:34:02.834Z] ==> Uploading reports [2022-10-10T12:34:02.834Z] url: https://codecov.io [2022-10-10T12:34:02.834Z] query: branch=main&commit=476f8fe53201fee1938bf38d508323121d922085&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-10T12:34:02.834Z] -> Pinging Codecov [2022-10-10T12:34:02.834Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=476f8fe53201fee1938bf38d508323121d922085&build=59&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F59%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-10T12:34:03.095Z] -> Uploading to [2022-10-10T12:34:03.095Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/5E52B4B073DB2E39498172D8E973AA87/476f8fe53201fee1938bf38d508323121d922085/8460c3ab-e790-4c74-824a-738e803eeea3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T123402Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b715ff34c6bd14074a2e9867454d3461c5e3853d851f446ce7fa07cf3ec3dd24 [2022-10-10T12:34:03.095Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T12:34:03.095Z] Dload Upload Total Spent Left Speed [2022-10-10T12:34:03.355Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5477 0 0 100 5477 0 22174 --:--:-- --:--:-- --:--:-- 22174 [2022-10-10T12:34:03.355Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/476f8fe53201fee1938bf38d508323121d922085 [Pipeline] } [2022-10-10T12:34:03.362Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-10-10T12:34:03.557Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-10-10T12:34:03.567Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:34:03.858Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-10T12:34:03.858Z] [2022-10-10T12:34:03.858Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:34:04.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-10T12:34:04.147Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-10-10T12:34:04.147Z] df9b9388f04a: Pulling fs layer [2022-10-10T12:34:04.147Z] 52dc419b0ee2: Pulling fs layer [2022-10-10T12:34:04.147Z] 25bc292e5bac: Pulling fs layer [2022-10-10T12:34:04.147Z] 114826534d7a: Pulling fs layer [2022-10-10T12:34:04.147Z] 4657fd5d0bcf: Pulling fs layer [2022-10-10T12:34:04.147Z] 6ad1cebc031e: Pulling fs layer [2022-10-10T12:34:04.147Z] 8a3aa393b2d8: Pulling fs layer [2022-10-10T12:34:04.147Z] 4657fd5d0bcf: Waiting [2022-10-10T12:34:04.147Z] 6ad1cebc031e: Waiting [2022-10-10T12:34:04.147Z] 8a3aa393b2d8: Waiting [2022-10-10T12:34:04.147Z] 114826534d7a: Waiting [2022-10-10T12:34:04.147Z] 25bc292e5bac: Download complete [2022-10-10T12:34:04.147Z] 52dc419b0ee2: Verifying Checksum [2022-10-10T12:34:04.147Z] 52dc419b0ee2: Download complete [2022-10-10T12:34:04.147Z] 4657fd5d0bcf: Verifying Checksum [2022-10-10T12:34:04.147Z] 4657fd5d0bcf: Download complete [2022-10-10T12:34:04.147Z] df9b9388f04a: Verifying Checksum [2022-10-10T12:34:04.147Z] df9b9388f04a: Download complete [2022-10-10T12:34:04.407Z] 6ad1cebc031e: Verifying Checksum [2022-10-10T12:34:04.407Z] 6ad1cebc031e: Download complete [2022-10-10T12:34:04.407Z] df9b9388f04a: Pull complete [2022-10-10T12:34:04.407Z] 52dc419b0ee2: Pull complete [2022-10-10T12:34:04.669Z] 25bc292e5bac: Pull complete [2022-10-10T12:34:04.928Z] 114826534d7a: Verifying Checksum [2022-10-10T12:34:04.928Z] 114826534d7a: Download complete [2022-10-10T12:34:05.186Z] 8a3aa393b2d8: Verifying Checksum [2022-10-10T12:34:05.186Z] 8a3aa393b2d8: Download complete [2022-10-10T12:34:09.374Z] 114826534d7a: Pull complete [2022-10-10T12:34:09.374Z] 4657fd5d0bcf: Pull complete [2022-10-10T12:34:09.374Z] 6ad1cebc031e: Pull complete [2022-10-10T12:34:11.901Z] 8a3aa393b2d8: Pull complete [2022-10-10T12:34:11.901Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-10-10T12:34:11.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-10T12:34:11.901Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:34:11.974Z] prd-ubuntu20.04-docker-8c-8g-7514 does not seem to be running inside a container [2022-10-10T12:34:12.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-10-10T12:34:14.247Z] $ docker top c1bd805632037923857ea4bc93bebe535b373455dc38346dee6ee0e8eb31eb5f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-10-10T12:34:14.309Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2022-10-10T12:34:14.597Z] + set -o pipefail [2022-10-10T12:34:14.598Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2022-10-10T12:34:19.869Z] [2022-10-10T12:34:19.870Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-10-10T12:34:19.870Z] [2022-10-10T12:34:19.870Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/b36fa61f-c346-457e-aabe-fab3bbdc5478 [2022-10-10T12:34:19.870Z] [2022-10-10T12:34:19.870Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-10-10T12:34:19.870Z] [2022-10-10T12:34:19.870Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-10-10T12:34:19.870Z] [2022-10-10T12:34:20.128Z] [2022-10-10T12:34:20.128Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-10-10T12:34:20.128Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-10-10T12:34:20.128Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-10-10T12:34:20.143Z] $ docker stop --time=1 c1bd805632037923857ea4bc93bebe535b373455dc38346dee6ee0e8eb31eb5f [2022-10-10T12:34:22.443Z] $ docker rm -f c1bd805632037923857ea4bc93bebe535b373455dc38346dee6ee0e8eb31eb5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T12:34:23.136Z] + git log --format=format:%s -1 476f8fe53201fee1938bf38d508323121d922085 [Pipeline] sh [2022-10-10T12:34:23.424Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T12:34:23.424Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:34:23.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T12:34:23.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:34:23.795Z] prd-ubuntu20.04-docker-8c-8g-7514 does not seem to be running inside a container [2022-10-10T12:34:23.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T12:34:24.269Z] $ docker top 0a1cf9ca416d91c6fff38a488f9851e29bbaab58dc54b1b3ce40d3ca40b876c4 -eo pid,comm [2022-10-10T12:34:24.321Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-10T12:34:24.321Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T12:34:24.350Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T12:34:24.350Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T12:34:24.487Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T12:34:24.494Z] $ docker exec 0a1cf9ca416d91c6fff38a488f9851e29bbaab58dc54b1b3ce40d3ca40b876c4 ssh-agent [2022-10-10T12:34:24.593Z] SSH_AUTH_SOCK=/tmp/ssh-hFvwROAqwdrh/agent.32 [2022-10-10T12:34:24.593Z] SSH_AGENT_PID=38 [2022-10-10T12:34:24.602Z] Running ssh-add (command line suppressed) [2022-10-10T12:34:24.719Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13806617211109278340.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13806617211109278340.key) [2022-10-10T12:34:24.729Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T12:34:25.017Z] + git semver tag [2022-10-10T12:34:25.277Z] 2022-10-10 12:34:25,251 [run_tag] DEBUG tag force:False [2022-10-10T12:34:25.277Z] 2022-10-10 12:34:25,252 [check_head_tag] DEBUG check head tag [2022-10-10T12:34:25.277Z] 2022-10-10 12:34:25,253 [execute] INFO git cat-file --batch-check [2022-10-10T12:34:25.277Z] 2022-10-10 12:34:25,254 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-10-10T12:34:25.277Z] 2022-10-10 12:34:25,258 [execute] INFO git cat-file --batch [2022-10-10T12:34:25.277Z] 2022-10-10 12:34:25,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-10-10T12:34:25.277Z] 2022-10-10 12:34:25,271 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-10-10T12:34:25.277Z] 2022-10-10 12:34:25,271 [execute] INFO git tag -a v2.3.0-dev.23 -m v2.3.0-dev.23 [2022-10-10T12:34:25.277Z] 2022-10-10 12:34:25,271 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.23', '-m', 'v2.3.0-dev.23'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-10-10T12:34:25.277Z] 2022-10-10 12:34:25,277 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-10-10T12:34:25.277Z] 2.3.0-dev.23 [Pipeline] } [2022-10-10T12:34:25.552Z] $ docker exec --env ******** --env ******** 0a1cf9ca416d91c6fff38a488f9851e29bbaab58dc54b1b3ce40d3ca40b876c4 ssh-agent -k [2022-10-10T12:34:25.651Z] unset SSH_AUTH_SOCK; [2022-10-10T12:34:25.652Z] unset SSH_AGENT_PID; [2022-10-10T12:34:25.652Z] echo Agent pid 38 killed; [2022-10-10T12:34:25.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T12:34:25.970Z] + git semver [Pipeline] } [2022-10-10T12:34:26.248Z] $ docker stop --time=1 0a1cf9ca416d91c6fff38a488f9851e29bbaab58dc54b1b3ce40d3ca40b876c4 [2022-10-10T12:34:27.556Z] $ docker rm -f 0a1cf9ca416d91c6fff38a488f9851e29bbaab58dc54b1b3ce40d3ca40b876c4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:34:27.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-10T12:34:27.936Z] [2022-10-10T12:34:27.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:34:28.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-10T12:34:28.234Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-10-10T12:34:28.234Z] ab5ef0e58194: Pulling fs layer [2022-10-10T12:34:28.234Z] 9712f1f96733: Pulling fs layer [2022-10-10T12:34:28.234Z] 63f879dbbcfc: Pulling fs layer [2022-10-10T12:34:28.234Z] 0d9ebad4ef96: Pulling fs layer [2022-10-10T12:34:28.234Z] e9a5061849ea: Pulling fs layer [2022-10-10T12:34:28.234Z] d747dcd14b5f: Pulling fs layer [2022-10-10T12:34:28.234Z] 2de7ff778b66: Pulling fs layer [2022-10-10T12:34:28.234Z] d747dcd14b5f: Waiting [2022-10-10T12:34:28.234Z] 2de7ff778b66: Waiting [2022-10-10T12:34:28.234Z] 0d9ebad4ef96: Waiting [2022-10-10T12:34:28.234Z] e9a5061849ea: Waiting [2022-10-10T12:34:28.234Z] 9712f1f96733: Verifying Checksum [2022-10-10T12:34:28.234Z] 9712f1f96733: Download complete [2022-10-10T12:34:28.494Z] 63f879dbbcfc: Verifying Checksum [2022-10-10T12:34:28.494Z] 63f879dbbcfc: Download complete [2022-10-10T12:34:28.759Z] e9a5061849ea: Verifying Checksum [2022-10-10T12:34:28.759Z] e9a5061849ea: Download complete [2022-10-10T12:34:28.759Z] d747dcd14b5f: Verifying Checksum [2022-10-10T12:34:29.018Z] ab5ef0e58194: Verifying Checksum [2022-10-10T12:34:29.018Z] ab5ef0e58194: Download complete [2022-10-10T12:34:29.018Z] 0d9ebad4ef96: Verifying Checksum [2022-10-10T12:34:29.018Z] 0d9ebad4ef96: Download complete [2022-10-10T12:34:29.018Z] 2de7ff778b66: Verifying Checksum [2022-10-10T12:34:29.018Z] 2de7ff778b66: Download complete [2022-10-10T12:34:32.302Z] ab5ef0e58194: Pull complete [2022-10-10T12:34:32.302Z] 9712f1f96733: Pull complete [2022-10-10T12:34:32.560Z] 63f879dbbcfc: Pull complete [2022-10-10T12:34:36.749Z] 0d9ebad4ef96: Pull complete [2022-10-10T12:34:37.009Z] e9a5061849ea: Pull complete [2022-10-10T12:34:37.009Z] d747dcd14b5f: Pull complete [2022-10-10T12:34:38.387Z] 2de7ff778b66: Pull complete [2022-10-10T12:34:38.387Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-10-10T12:34:38.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-10T12:34:38.387Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:34:38.473Z] prd-ubuntu20.04-docker-8c-8g-7514 does not seem to be running inside a container [2022-10-10T12:34:38.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-10-10T12:34:40.916Z] $ docker top f45dc51b530b73b4dee4dfda007d1422fd5b0e28fd08549eb4e5759ccb607684 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-10-10T12:34:40.979Z] provisioning config files... [2022-10-10T12:34:40.986Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6314020803525174727tmp [2022-10-10T12:34:40.994Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9411846823359688116tmp [2022-10-10T12:34:41.003Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12400458558193269662tmp [Pipeline] { [Pipeline] echo [2022-10-10T12:34:41.018Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:34:41.300Z] ---> sigul-configuration.sh [2022-10-10T12:34:41.300Z] gpg: directory `/root/.gnupg' created [2022-10-10T12:34:41.300Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-10-10T12:34:41.300Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-10-10T12:34:41.300Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-10-10T12:34:41.300Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-10-10T12:34:41.300Z] gpg: CAST5 encrypted data [2022-10-10T12:34:41.300Z] gpg: encrypted with 1 passphrase [2022-10-10T12:34:41.300Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-10-10T12:34:41.586Z] + mkdir /home/jenkins [2022-10-10T12:34:41.586Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-10-10T12:34:41.870Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-10-10T12:34:41.881Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:34:42.164Z] ---> sigul-install.sh [2022-10-10T12:34:42.164Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-10-10T12:34:42.451Z] + git tag --list [2022-10-10T12:34:42.451Z] v1.0.0 [2022-10-10T12:34:42.451Z] v1.1.0 [2022-10-10T12:34:42.451Z] v1.1.1 [2022-10-10T12:34:42.451Z] v1.2.1 [2022-10-10T12:34:42.451Z] v1.2.2 [2022-10-10T12:34:42.451Z] v1.2.3 [2022-10-10T12:34:42.451Z] v1.3.0 [2022-10-10T12:34:42.451Z] v1.3.1 [2022-10-10T12:34:42.451Z] v2.0.0 [2022-10-10T12:34:42.451Z] v2.1.0 [2022-10-10T12:34:42.451Z] v2.1.1 [2022-10-10T12:34:42.451Z] v2.1.1-dev.1 [2022-10-10T12:34:42.451Z] v2.1.1-dev.2 [2022-10-10T12:34:42.451Z] v2.2.0 [2022-10-10T12:34:42.451Z] v2.2.1-dev.1 [2022-10-10T12:34:42.451Z] v2.2.1-dev.2 [2022-10-10T12:34:42.451Z] v2.2.1-dev.3 [2022-10-10T12:34:42.451Z] v2.2.1-dev.4 [2022-10-10T12:34:42.451Z] v2.2.1-dev.5 [2022-10-10T12:34:42.451Z] v2.2.1-dev.6 [2022-10-10T12:34:42.451Z] v2.2.1-dev.7 [2022-10-10T12:34:42.451Z] v2.2.1-dev.8 [2022-10-10T12:34:42.451Z] v2.3.0-dev.10 [2022-10-10T12:34:42.451Z] v2.3.0-dev.11 [2022-10-10T12:34:42.451Z] v2.3.0-dev.12 [2022-10-10T12:34:42.451Z] v2.3.0-dev.13 [2022-10-10T12:34:42.451Z] v2.3.0-dev.14 [2022-10-10T12:34:42.451Z] v2.3.0-dev.15 [2022-10-10T12:34:42.451Z] v2.3.0-dev.16 [2022-10-10T12:34:42.451Z] v2.3.0-dev.17 [2022-10-10T12:34:42.451Z] v2.3.0-dev.18 [2022-10-10T12:34:42.451Z] v2.3.0-dev.19 [2022-10-10T12:34:42.451Z] v2.3.0-dev.20 [2022-10-10T12:34:42.451Z] v2.3.0-dev.21 [2022-10-10T12:34:42.451Z] v2.3.0-dev.22 [2022-10-10T12:34:42.451Z] v2.3.0-dev.23 [2022-10-10T12:34:42.451Z] v2.3.0-dev.8 [2022-10-10T12:34:42.451Z] v2.3.0-dev.9 [Pipeline] sh [2022-10-10T12:34:42.735Z] + lftools sign git-tag v2.3.0-dev.23 [2022-10-10T12:34:43.302Z] Signing Git tag with Sigul... [2022-10-10T12:34:43.302Z] Signing v2.3.0-dev.23 [Pipeline] echo [2022-10-10T12:34:43.878Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:34:44.161Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-10-10T12:34:44.167Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-10-10T12:34:44.195Z] $ docker stop --time=1 f45dc51b530b73b4dee4dfda007d1422fd5b0e28fd08549eb4e5759ccb607684 [2022-10-10T12:34:45.547Z] $ docker rm -f f45dc51b530b73b4dee4dfda007d1422fd5b0e28fd08549eb4e5759ccb607684 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-10-10T12:34:45.951Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T12:34:45.951Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:34:46.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T12:34:46.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:34:46.320Z] prd-ubuntu20.04-docker-8c-8g-7514 does not seem to be running inside a container [2022-10-10T12:34:46.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T12:34:46.776Z] $ docker top 16232d68e8301ce7d5484a23d1d700293166f30a6202b33f0a3ac77b3907f158 -eo pid,comm [2022-10-10T12:34:46.823Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-10T12:34:46.823Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T12:34:46.861Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T12:34:46.861Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T12:34:46.987Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T12:34:46.995Z] $ docker exec 16232d68e8301ce7d5484a23d1d700293166f30a6202b33f0a3ac77b3907f158 ssh-agent [2022-10-10T12:34:47.120Z] SSH_AUTH_SOCK=/tmp/ssh-573kocrRQJp9/agent.32 [2022-10-10T12:34:47.120Z] SSH_AGENT_PID=38 [2022-10-10T12:34:47.125Z] Running ssh-add (command line suppressed) [2022-10-10T12:34:47.244Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10081513440704888772.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10081513440704888772.key) [2022-10-10T12:34:47.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T12:34:47.538Z] + git semver bump pre [2022-10-10T12:34:47.797Z] 2022-10-10 12:34:47,756 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-10-10T12:34:47.797Z] 2022-10-10 12:34:47,757 [bump_version] DEBUG bumping version:2.3.0-dev.23 on axis:pre with prefix:dev [2022-10-10T12:34:47.797Z] 2022-10-10 12:34:47,757 [bump_version] DEBUG bumped version:2.3.0-dev.24 [2022-10-10T12:34:47.797Z] 2022-10-10 12:34:47,757 [write_version] DEBUG write version:2.3.0-dev.24 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2022-10-10T12:34:47.797Z] 2022-10-10 12:34:47,757 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-10-10T12:34:47.797Z] 2022-10-10 12:34:47,757 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-10-10T12:34:47.797Z] 2022-10-10 12:34:47,760 [execute] INFO git cat-file --batch-check [2022-10-10T12:34:47.797Z] 2022-10-10 12:34:47,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T12:34:47.797Z] 2022-10-10 12:34:47,766 [execute] INFO git cat-file --batch [2022-10-10T12:34:47.797Z] 2022-10-10 12:34:47,767 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T12:34:47.797Z] 2022-10-10 12:34:47,772 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-10-10T12:34:47.797Z] 2.3.0-dev.24 [Pipeline] } [2022-10-10T12:34:47.812Z] $ docker exec --env ******** --env ******** 16232d68e8301ce7d5484a23d1d700293166f30a6202b33f0a3ac77b3907f158 ssh-agent -k [2022-10-10T12:34:47.908Z] unset SSH_AUTH_SOCK; [2022-10-10T12:34:47.908Z] unset SSH_AGENT_PID; [2022-10-10T12:34:47.908Z] echo Agent pid 38 killed; [2022-10-10T12:34:47.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T12:34:48.222Z] + git semver [Pipeline] } [2022-10-10T12:34:48.501Z] $ docker stop --time=1 16232d68e8301ce7d5484a23d1d700293166f30a6202b33f0a3ac77b3907f158 [2022-10-10T12:34:49.845Z] $ docker rm -f 16232d68e8301ce7d5484a23d1d700293166f30a6202b33f0a3ac77b3907f158 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T12:34:50.184Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T12:34:50.184Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:34:50.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T12:34:50.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:34:50.558Z] prd-ubuntu20.04-docker-8c-8g-7514 does not seem to be running inside a container [2022-10-10T12:34:50.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T12:34:50.970Z] $ docker top af4ae5a3f2016ad8f1514d743ae7f8a58d89a3811f13b55385ccd54c9d3ec5e6 -eo pid,comm [2022-10-10T12:34:51.017Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-10T12:34:51.017Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T12:34:51.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T12:34:51.050Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T12:34:51.175Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T12:34:51.182Z] $ docker exec af4ae5a3f2016ad8f1514d743ae7f8a58d89a3811f13b55385ccd54c9d3ec5e6 ssh-agent [2022-10-10T12:34:51.291Z] SSH_AUTH_SOCK=/tmp/ssh-Z9UHskAAILsV/agent.32 [2022-10-10T12:34:51.291Z] SSH_AGENT_PID=38 [2022-10-10T12:34:51.296Z] Running ssh-add (command line suppressed) [2022-10-10T12:34:51.419Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3169998217844618659.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3169998217844618659.key) [2022-10-10T12:34:51.426Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T12:34:51.714Z] + git semver push [2022-10-10T12:34:51.973Z] 2022-10-10 12:34:51,899 [run_push] DEBUG push [2022-10-10T12:34:51.973Z] 2022-10-10 12:34:51,900 [execute] INFO git cat-file --batch-check [2022-10-10T12:34:51.973Z] 2022-10-10 12:34:51,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T12:34:51.973Z] 2022-10-10 12:34:51,904 [execute] INFO git rev-list 2b9f19c81ceefc3d5c2003e886f8f51f0c6574cb -- [2022-10-10T12:34:51.973Z] 2022-10-10 12:34:51,904 [execute] DEBUG Popen(['git', 'rev-list', '2b9f19c81ceefc3d5c2003e886f8f51f0c6574cb', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-10T12:34:51.973Z] 2022-10-10 12:34:51,914 [execute] INFO git fetch -v origin [2022-10-10T12:34:51.973Z] 2022-10-10 12:34:51,914 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-10-10T12:34:52.543Z] 2022-10-10 12:34:52,513 [run_push] DEBUG no remote changes detected [2022-10-10T12:34:52.543Z] 2022-10-10 12:34:52,513 [execute] INFO git push origin semver [2022-10-10T12:34:52.543Z] 2022-10-10 12:34:52,514 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-10T12:34:53.480Z] 2022-10-10 12:34:53,467 [run_push] DEBUG push all version tags [2022-10-10T12:34:53.480Z] 2022-10-10 12:34:53,467 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-10-10T12:34:53.480Z] 2022-10-10 12:34:53,468 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-10-10T12:34:54.419Z] 2022-10-10 12:34:54,243 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-10-10T12:34:54.419Z] 2.3.0-dev.24 [Pipeline] } [2022-10-10T12:34:54.434Z] $ docker exec --env ******** --env ******** af4ae5a3f2016ad8f1514d743ae7f8a58d89a3811f13b55385ccd54c9d3ec5e6 ssh-agent -k [2022-10-10T12:34:54.532Z] unset SSH_AUTH_SOCK; [2022-10-10T12:34:54.532Z] unset SSH_AGENT_PID; [2022-10-10T12:34:54.532Z] echo Agent pid 38 killed; [2022-10-10T12:34:54.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T12:34:54.836Z] + git semver [Pipeline] } [2022-10-10T12:34:55.113Z] $ docker stop --time=1 af4ae5a3f2016ad8f1514d743ae7f8a58d89a3811f13b55385ccd54c9d3ec5e6 [2022-10-10T12:34:56.396Z] $ docker rm -f af4ae5a3f2016ad8f1514d743ae7f8a58d89a3811f13b55385ccd54c9d3ec5e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-10T12:34:56.946Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-10-10T12:34:56.946Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-10-10T12:34:56.946Z] total 16 [2022-10-10T12:34:56.946Z] drwxr-xr-x 3 root root 4096 Oct 10 12:26 . [2022-10-10T12:34:56.946Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 12:34 .. [2022-10-10T12:34:56.946Z] drwxr-xr-x 2 root root 4096 Oct 10 12:26 cost [2022-10-10T12:34:56.946Z] -rw-r--r-- 1 root root 88 Oct 10 12:26 cost.csv [2022-10-10T12:34:56.946Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-10-10T12:34:56.946Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-10-10T12:34:56.946Z] total 16 [2022-10-10T12:34:56.946Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 12:26 . [2022-10-10T12:34:56.946Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 12:34 .. [2022-10-10T12:34:56.946Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 12:26 cost [2022-10-10T12:34:56.946Z] -rw-r--r-- 1 jenkins jenkins 88 Oct 10 12:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:34:57.233Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:34:58.096Z] ---> package-listing.sh [2022-10-10T12:34:58.096Z] ++ facter osfamily [2022-10-10T12:34:58.096Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T12:34:58.356Z] + OS_FAMILY=debian [2022-10-10T12:34:58.356Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-10-10T12:34:58.356Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T12:34:58.356Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T12:34:58.356Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T12:34:58.356Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T12:34:58.356Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-10-10T12:34:58.356Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T12:34:58.356Z] + case "${OS_FAMILY}" in [2022-10-10T12:34:58.356Z] + dpkg -l [2022-10-10T12:34:58.356Z] + grep '^ii' [2022-10-10T12:34:58.356Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T12:34:58.356Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T12:34:58.356Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T12:34:58.356Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-10-10T12:34:58.356Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-10-10T12:34:58.356Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2022-10-10T12:34:58.364Z] 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T12:34:58.640Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T12:34:59.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T12:34:59.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T12:34:59.262Z] prd-ubuntu20.04-docker-8c-8g-7514 does not seem to be running inside a container [2022-10-10T12:34:59.293Z] $ 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/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T12:34:59.548Z] $ docker top 5cb1f705d6f87569f80a8ff8a8f0aee3d0f8192a88ae9a2f35ab1eb3df337d2f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T12:34:59.941Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T12:35:00.278Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T12:35:00.610Z] + ls /var/log/sa-host [2022-10-10T12:35:00.610Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T12:35:00.763Z] provisioning config files... [2022-10-10T12:35:00.770Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8831195797897598604tmp [Pipeline] { [Pipeline] echo [2022-10-10T12:35:00.779Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:35:01.056Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T12:35:01.062Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:35:01.377Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T12:35:01.385Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:35:01.666Z] ---> sudo-logs.sh [2022-10-10T12:35:01.666Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T12:35:01.688Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:35:01.968Z] ---> job-cost.sh [2022-10-10T12:35:01.968Z] lf-activate-venv: SKIPPING [2022-10-10T12:35:01.968Z] DEBUG: total: 0.2199999988079071 [2022-10-10T12:35:01.968Z] INFO: Retrieving Stack Cost... [2022-10-10T12:35:02.534Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T12:35:02.792Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T12:35:02.802Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T12:35:03.084Z] ---> logs-deploy.sh [2022-10-10T12:35:03.084Z] lf-activate-venv: SKIPPING [2022-10-10T12:35:03.084Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/59 [2022-10-10T12:35:03.084Z] INFO: archiving workspace using pattern(s): [2022-10-10T12:35:04.022Z] Archives upload complete. [2022-10-10T12:35:04.282Z] INFO: archiving logs to Nexus