Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1522ab26941e845286473a63852d2df7c1cc35f3 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-ssh12718939853362628648.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh18137648738131869147.key > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15449210946512593857.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh5676742973038503835.key > 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-ssh16341476262296392783.key > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6173 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 > 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 1522ab26941e845286473a63852d2df7c1cc35f3 (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 1522ab26941e845286473a63852d2df7c1cc35f3 # timeout=10 Commit message: "refactor!: Replace internal topics from config with new constants (#340)" > git rev-list --no-walk 3a5423f0b5727ef686932519f865aa3ff45a9adc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T18:40:52.755Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T18:40:52.796Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T18:40:52.806Z] ========================================================= [2023-02-15T18:40:52.806Z] EdgeX Global Pipelines Version Info [2023-02-15T18:40:52.806Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:40:53.891Z] ------------------- [2023-02-15T18:40:53.891Z] stable info: [2023-02-15T18:40:53.891Z] ------------------- [2023-02-15T18:40:53.891Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T18:40:53.891Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:40:53.891Z] Message: update stable to v1.0.244 [2023-02-15T18:40:54.151Z] ------------------- [2023-02-15T18:40:54.151Z] experimental info: [2023-02-15T18:40:54.151Z] ------------------- [2023-02-15T18:40:54.151Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T18:40:54.151Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:40:54.151Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T18:40:54.283Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-15T18:40:54.291Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-15T18:40:54.299Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T18:40:54.307Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T18:40:54.318Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T18:40:54.326Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T18:40:54.334Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T18:40:54.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T18:40:54.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T18:40:54.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T18:40:54.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T18:40:54.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-15T18:40:54.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T18:40:54.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T18:40:54.404Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:40:54.412Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:40:54.424Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:40:54.435Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:40:54.443Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T18:40:54.451Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T18:40:54.459Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T18:40:54.467Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T18:40:54.478Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T18:40:54.486Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T18:40:54.494Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T18:40:54.502Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T18:40:54.511Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T18:40:54.520Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-15T18:40:54.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-15T18:40:54.546Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-15T18:40:54.555Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1522ab26941e845286473a63852d2df7c1cc35f3 [Pipeline] echo [2023-02-15T18:40:54.565Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1522ab2 [Pipeline] echo [2023-02-15T18:40:54.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:40:54.620Z] provisioning config files... [2023-02-15T18:40:54.633Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17404741579722374266tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:40:54.954Z] ---> docker-login.sh [2023-02-15T18:40:54.954Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:40:55.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:55.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:55.898Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:55.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:55.898Z] [2023-02-15T18:40:55.898Z] Login Succeeded [2023-02-15T18:40:55.898Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:40:55.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:55.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:55.898Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:55.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:55.898Z] [2023-02-15T18:40:55.898Z] Login Succeeded [2023-02-15T18:40:56.157Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:40:56.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:56.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:56.157Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:56.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:56.157Z] [2023-02-15T18:40:56.157Z] Login Succeeded [2023-02-15T18:40:56.157Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:40:56.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:56.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:56.157Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:56.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:56.157Z] [2023-02-15T18:40:56.157Z] Login Succeeded [2023-02-15T18:40:56.157Z] docker.io [2023-02-15T18:40:56.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:40:56.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:40:56.683Z] Configure a credential helper to remove this warning. See [2023-02-15T18:40:56.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:40:56.683Z] [2023-02-15T18:40:56.683Z] Login Succeeded [2023-02-15T18:40:56.683Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:40:56.693Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T18:40:57.047Z] + git rev-list -1 --merges 1522ab26941e845286473a63852d2df7c1cc35f3~1..1522ab26941e845286473a63852d2df7c1cc35f3 [Pipeline] echo [2023-02-15T18:40:57.110Z] -----------> git rev-list -1 --merges 1522ab26941e845286473a63852d2df7c1cc35f3~1..1522ab26941e845286473a63852d2df7c1cc35f3 1522ab26941e845286473a63852d2df7c1cc35f3 [false] [Pipeline] sh [2023-02-15T18:40:57.397Z] + git log --format=format:%s -1 1522ab26941e845286473a63852d2df7c1cc35f3 [Pipeline] echo [2023-02-15T18:40:57.410Z] ========================================================= [2023-02-15T18:40:57.410Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T18:40:57.410Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:40:57.731Z] + git log --format=format:%s -1 1522ab26941e845286473a63852d2df7c1cc35f3 [Pipeline] echo [2023-02-15T18:40:57.741Z] [semverPrep] GIT_COMMIT: 1522ab26941e845286473a63852d2df7c1cc35f3, Commit Message: refactor!: Replace internal topics from config with new constants (#340) [Pipeline] echo [2023-02-15T18:40:57.749Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T18:40:58.094Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:40:58.094Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T18:40:58.094Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T18:40:58.094Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T18:40:58.094Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T18:40:58.094Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T18:40:58.094Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:40:58.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:40:58.465Z] [2023-02-15T18:40:58.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:40:58.774Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:40:58.774Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T18:40:58.774Z] b85a868b505f: Pulling fs layer [2023-02-15T18:40:58.774Z] e2be974225ed: Pulling fs layer [2023-02-15T18:40:58.774Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T18:40:58.774Z] 988bab9f4d93: Pulling fs layer [2023-02-15T18:40:58.774Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T18:40:58.774Z] eaf3925da568: Pulling fs layer [2023-02-15T18:40:58.774Z] bab4dde63d76: Pulling fs layer [2023-02-15T18:40:58.774Z] bde34c3a00c8: Pulling fs layer [2023-02-15T18:40:58.774Z] b352a97aabf1: Pulling fs layer [2023-02-15T18:40:58.774Z] 4872d77fe225: Pulling fs layer [2023-02-15T18:40:58.774Z] 5851b861e8e6: Pulling fs layer [2023-02-15T18:40:58.774Z] bab4dde63d76: Waiting [2023-02-15T18:40:58.774Z] bde34c3a00c8: Waiting [2023-02-15T18:40:58.774Z] 988bab9f4d93: Waiting [2023-02-15T18:40:58.774Z] b352a97aabf1: Waiting [2023-02-15T18:40:58.774Z] 4872d77fe225: Waiting [2023-02-15T18:40:58.774Z] 5851b861e8e6: Waiting [2023-02-15T18:40:58.774Z] 1469e6f7b9e6: Waiting [2023-02-15T18:40:58.774Z] eaf3925da568: Waiting [2023-02-15T18:40:58.774Z] e2be974225ed: Download complete [2023-02-15T18:40:58.774Z] 988bab9f4d93: Verifying Checksum [2023-02-15T18:40:58.774Z] 988bab9f4d93: Download complete [2023-02-15T18:40:59.043Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T18:40:59.043Z] 1469e6f7b9e6: Download complete [2023-02-15T18:40:59.043Z] eaf3925da568: Download complete [2023-02-15T18:40:59.043Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T18:40:59.043Z] 339a4e72a1f5: Download complete [2023-02-15T18:40:59.043Z] bde34c3a00c8: Verifying Checksum [2023-02-15T18:40:59.043Z] bde34c3a00c8: Download complete [2023-02-15T18:40:59.309Z] b352a97aabf1: Verifying Checksum [2023-02-15T18:40:59.309Z] b352a97aabf1: Download complete [2023-02-15T18:40:59.309Z] 4872d77fe225: Verifying Checksum [2023-02-15T18:40:59.309Z] 4872d77fe225: Download complete [2023-02-15T18:40:59.309Z] 5851b861e8e6: Verifying Checksum [2023-02-15T18:40:59.309Z] 5851b861e8e6: Download complete [2023-02-15T18:40:59.309Z] b85a868b505f: Verifying Checksum [2023-02-15T18:40:59.309Z] b85a868b505f: Download complete [2023-02-15T18:40:59.568Z] bab4dde63d76: Verifying Checksum [2023-02-15T18:40:59.568Z] bab4dde63d76: Download complete [2023-02-15T18:41:00.504Z] b85a868b505f: Pull complete [2023-02-15T18:41:00.764Z] e2be974225ed: Pull complete [2023-02-15T18:41:01.331Z] 339a4e72a1f5: Pull complete [2023-02-15T18:41:01.331Z] 988bab9f4d93: Pull complete [2023-02-15T18:41:01.590Z] 1469e6f7b9e6: Pull complete [2023-02-15T18:41:01.590Z] eaf3925da568: Pull complete [2023-02-15T18:41:03.502Z] bab4dde63d76: Pull complete [2023-02-15T18:41:03.770Z] bde34c3a00c8: Pull complete [2023-02-15T18:41:03.770Z] b352a97aabf1: Pull complete [2023-02-15T18:41:03.770Z] 4872d77fe225: Pull complete [2023-02-15T18:41:04.037Z] 5851b861e8e6: Pull complete [2023-02-15T18:41:04.037Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T18:41:04.037Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:41:04.037Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:41:04.147Z] prd-ubuntu20.04-docker-8c-8g-6173 does not seem to be running inside a container [2023-02-15T18:41:04.180Z] $ 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 [2023-02-15T18:41:07.287Z] $ docker top a37908dc657d8221106dec2b2a05c1012e085abb28a7fad497f4e902d10a7273 -eo pid,comm [2023-02-15T18:41:07.341Z] 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). [2023-02-15T18:41:07.341Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:41:07.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:41:07.375Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:41:07.490Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:41:07.498Z] $ docker exec a37908dc657d8221106dec2b2a05c1012e085abb28a7fad497f4e902d10a7273 ssh-agent [2023-02-15T18:41:07.610Z] SSH_AUTH_SOCK=/tmp/ssh-8ZiprFsP2Mio/agent.32 [2023-02-15T18:41:07.610Z] SSH_AGENT_PID=38 [2023-02-15T18:41:07.617Z] Running ssh-add (command line suppressed) [2023-02-15T18:41:07.746Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8431250129872748144.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8431250129872748144.key) [2023-02-15T18:41:07.756Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:41:08.040Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T18:41:08.057Z] $ docker exec --env ******** --env ******** a37908dc657d8221106dec2b2a05c1012e085abb28a7fad497f4e902d10a7273 ssh-agent -k [2023-02-15T18:41:08.164Z] unset SSH_AUTH_SOCK; [2023-02-15T18:41:08.165Z] unset SSH_AGENT_PID; [2023-02-15T18:41:08.165Z] echo Agent pid 38 killed; [2023-02-15T18:41:08.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T18:41:08.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:41:08.197Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:41:08.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:41:08.325Z] $ docker exec a37908dc657d8221106dec2b2a05c1012e085abb28a7fad497f4e902d10a7273 ssh-agent [2023-02-15T18:41:08.438Z] SSH_AUTH_SOCK=/tmp/ssh-EHq5mbDuZZLR/agent.70 [2023-02-15T18:41:08.438Z] SSH_AGENT_PID=77 [2023-02-15T18:41:08.442Z] Running ssh-add (command line suppressed) [2023-02-15T18:41:08.552Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9753037611414879113.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9753037611414879113.key) [2023-02-15T18:41:08.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:41:08.859Z] + git semver init [2023-02-15T18:41:09.118Z] 2023-02-15 18:41:09,047 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T18:41:09.118Z] 2023-02-15 18:41:09,048 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-02-15T18:41:09.118Z] 2023-02-15 18:41:09,048 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-02-15T18:41:09.118Z] 2023-02-15 18:41:09,048 [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) [2023-02-15T18:41:10.510Z] 2023-02-15 18:41:10,345 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-02-15T18:41:10.510Z] 2023-02-15 18:41:10,345 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-02-15T18:41:10.510Z] 2023-02-15 18:41:10,345 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-15T18:41:10.510Z] 2023-02-15 18:41:10,346 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-15T18:41:10.510Z] 3.0.0-dev.12 [Pipeline] } [2023-02-15T18:41:10.525Z] $ docker exec --env ******** --env ******** a37908dc657d8221106dec2b2a05c1012e085abb28a7fad497f4e902d10a7273 ssh-agent -k [2023-02-15T18:41:10.636Z] unset SSH_AUTH_SOCK; [2023-02-15T18:41:10.636Z] unset SSH_AGENT_PID; [2023-02-15T18:41:10.636Z] echo Agent pid 77 killed; [2023-02-15T18:41:10.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:41:10.942Z] + git semver [Pipeline] } [2023-02-15T18:41:11.219Z] $ docker stop --time=1 a37908dc657d8221106dec2b2a05c1012e085abb28a7fad497f4e902d10a7273 [2023-02-15T18:41:12.549Z] $ docker rm -f --volumes a37908dc657d8221106dec2b2a05c1012e085abb28a7fad497f4e902d10a7273 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:41:12.895Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T18:41:13.124Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T18:41:13.127Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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 [2023-02-15T18:41:13.239Z] provisioning config files... [2023-02-15T18:41:13.261Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3682316634945273870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:41:13.558Z] ---> docker-login.sh [2023-02-15T18:41:13.558Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:41:13.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:41:13.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:41:13.558Z] Configure a credential helper to remove this warning. See [2023-02-15T18:41:13.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:41:13.558Z] [2023-02-15T18:41:13.558Z] Login Succeeded [2023-02-15T18:41:13.558Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:41:13.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:41:13.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:41:13.558Z] Configure a credential helper to remove this warning. See [2023-02-15T18:41:13.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:41:13.558Z] [2023-02-15T18:41:13.558Z] Login Succeeded [2023-02-15T18:41:13.558Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:41:13.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:41:13.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:41:13.818Z] Configure a credential helper to remove this warning. See [2023-02-15T18:41:13.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:41:13.818Z] [2023-02-15T18:41:13.818Z] Login Succeeded [2023-02-15T18:41:13.818Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:41:13.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:41:13.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:41:13.818Z] Configure a credential helper to remove this warning. See [2023-02-15T18:41:13.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:41:13.818Z] [2023-02-15T18:41:13.818Z] Login Succeeded [2023-02-15T18:41:13.818Z] docker.io [2023-02-15T18:41:14.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:41:14.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:41:14.351Z] Configure a credential helper to remove this warning. See [2023-02-15T18:41:14.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:41:14.351Z] [2023-02-15T18:41:14.351Z] Login Succeeded [2023-02-15T18:41:14.351Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:41:14.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:41:14.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:41:14.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:41:14.457Z] ========================================================= [2023-02-15T18:41:14.457Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T18:41:14.457Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:41:14.778Z] + 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 . [2023-02-15T18:41:15.040Z] Sending build context to Docker daemon 23.36MB [2023-02-15T18:41:15.040Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:41:15.040Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T18:41:15.040Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T18:41:15.040Z] 213ec9aee27d: Pulling fs layer [2023-02-15T18:41:15.040Z] 4583459ba037: Pulling fs layer [2023-02-15T18:41:15.040Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T18:41:15.040Z] 53926ce57604: Pulling fs layer [2023-02-15T18:41:15.040Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T18:41:15.040Z] 22ff95d597cd: Pulling fs layer [2023-02-15T18:41:15.040Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T18:41:15.040Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T18:41:15.040Z] a7acece74701: Pulling fs layer [2023-02-15T18:41:15.040Z] 96b7cbca73a9: Waiting [2023-02-15T18:41:15.040Z] 12d6caf4c0d1: Waiting [2023-02-15T18:41:15.040Z] a7acece74701: Waiting [2023-02-15T18:41:15.040Z] 53926ce57604: Waiting [2023-02-15T18:41:15.040Z] 21b2b0c7a3f4: Waiting [2023-02-15T18:41:15.040Z] 22ff95d597cd: Waiting [2023-02-15T18:41:15.040Z] 213ec9aee27d: Verifying Checksum [2023-02-15T18:41:15.313Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T18:41:15.313Z] 93c1e223e6f2: Download complete [2023-02-15T18:41:15.313Z] 213ec9aee27d: Pull complete [2023-02-15T18:41:15.313Z] 21b2b0c7a3f4: Download complete [2023-02-15T18:41:15.313Z] 4583459ba037: Verifying Checksum [2023-02-15T18:41:15.313Z] 4583459ba037: Download complete [2023-02-15T18:41:15.313Z] 22ff95d597cd: Verifying Checksum [2023-02-15T18:41:15.313Z] 22ff95d597cd: Download complete [2023-02-15T18:41:15.313Z] 4583459ba037: Pull complete [2023-02-15T18:41:15.585Z] 93c1e223e6f2: Pull complete [2023-02-15T18:41:15.859Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T18:41:15.859Z] 12d6caf4c0d1: Download complete [2023-02-15T18:41:16.490Z] 53926ce57604: Verifying Checksum [2023-02-15T18:41:16.490Z] 53926ce57604: Download complete [2023-02-15T18:41:16.757Z] a7acece74701: Verifying Checksum [2023-02-15T18:41:16.757Z] a7acece74701: Download complete [2023-02-15T18:41:17.016Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T18:41:17.016Z] 96b7cbca73a9: Download complete [2023-02-15T18:41:21.206Z] 53926ce57604: Pull complete [2023-02-15T18:41:21.206Z] 21b2b0c7a3f4: Pull complete [2023-02-15T18:41:21.206Z] 22ff95d597cd: Pull complete [2023-02-15T18:41:21.464Z] 12d6caf4c0d1: Pull complete [2023-02-15T18:41:24.002Z] 96b7cbca73a9: Pull complete [2023-02-15T18:41:24.569Z] a7acece74701: Pull complete [2023-02-15T18:41:24.569Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T18:41:24.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T18:41:24.569Z] ---> db6d94c90886 [2023-02-15T18:41:24.569Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:41:28.202Z] Still waiting to schedule task [2023-02-15T18:41:28.203Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-15T18:41:32.736Z] ---> Running in 0160cb42b17d [2023-02-15T18:41:32.736Z] Removing intermediate container 0160cb42b17d [2023-02-15T18:41:32.736Z] ---> 261df36bdb28 [2023-02-15T18:41:32.736Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:41:32.736Z] ---> Running in dcbc16061341 [2023-02-15T18:41:32.737Z] Removing intermediate container dcbc16061341 [2023-02-15T18:41:32.737Z] ---> 512cc706ef4a [2023-02-15T18:41:32.737Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:41:32.737Z] ---> Running in a52d6cd2eb31 [2023-02-15T18:41:32.997Z] Removing intermediate container a52d6cd2eb31 [2023-02-15T18:41:32.997Z] ---> d9b81ae7fac4 [2023-02-15T18:41:32.997Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-15T18:41:33.256Z] ---> Running in 2d75daf4d577 [2023-02-15T18:41:33.514Z] Removing intermediate container 2d75daf4d577 [2023-02-15T18:41:33.514Z] ---> b4eec8418b5d [2023-02-15T18:41:33.514Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:41:33.773Z] ---> Running in 3344083e24de [2023-02-15T18:41:34.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:41:34.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:41:34.914Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T18:41:34.914Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T18:41:34.914Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T18:41:34.914Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T18:41:34.914Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:41:34.914Z] OK: 216 MiB in 55 packages [2023-02-15T18:41:35.851Z] Removing intermediate container 3344083e24de [2023-02-15T18:41:35.851Z] ---> 90d4feb42e62 [2023-02-15T18:41:35.851Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-15T18:41:36.110Z] ---> 8ceaa516817c [2023-02-15T18:41:36.110Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:41:36.110Z] ---> Running in 922e548ab9c3 [2023-02-15T18:42:22.807Z] Removing intermediate container 922e548ab9c3 [2023-02-15T18:42:22.807Z] ---> d77b4898f1e0 [2023-02-15T18:42:22.807Z] Step 10/12 : COPY . . [2023-02-15T18:42:22.807Z] ---> 8ca640ff1b34 [2023-02-15T18:42:22.807Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:42:22.807Z] ---> Running in 23985113dfab [2023-02-15T18:42:22.807Z] Removing intermediate container 23985113dfab [2023-02-15T18:42:22.807Z] ---> 85b1ed13fbbf [2023-02-15T18:42:22.807Z] Step 12/12 : RUN $MAKE [2023-02-15T18:42:22.807Z] ---> Running in ab6b3a69678f [2023-02-15T18:42:22.807Z] noop [2023-02-15T18:42:22.807Z] Removing intermediate container ab6b3a69678f [2023-02-15T18:42:22.807Z] ---> 69ff6f5cb30d [2023-02-15T18:42:22.807Z] Successfully built 69ff6f5cb30d [2023-02-15T18:42:22.807Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:23.128Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:42:23.128Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:42:23.199Z] prd-ubuntu20.04-docker-8c-8g-6173 does not seem to be running inside a container [2023-02-15T18:42:23.242Z] $ 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 [2023-02-15T18:42:23.598Z] $ docker top 3b3ef51f782b2cb9da6d732889ec1b7933f0a17037368b7cb7e94fe1a7b3d331 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:42:23.936Z] + go version [2023-02-15T18:42:23.936Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T18:42:23.948Z] $ docker stop --time=1 3b3ef51f782b2cb9da6d732889ec1b7933f0a17037368b7cb7e94fe1a7b3d331 [2023-02-15T18:42:25.591Z] $ docker rm -f --volumes 3b3ef51f782b2cb9da6d732889ec1b7933f0a17037368b7cb7e94fe1a7b3d331 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:26.115Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:42:26.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:42:26.190Z] prd-ubuntu20.04-docker-8c-8g-6173 does not seem to be running inside a container [2023-02-15T18:42:26.227Z] $ 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 [2023-02-15T18:42:26.611Z] $ docker top 9d1d944953022c45cb8283b7880aae50376f5a0fdf300f6d621bdb988f2a5075 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:42:26.951Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:42:27.243Z] + make test [2023-02-15T18:42:27.243Z] go test ./... -coverprofile=coverage.out [2023-02-15T18:42:27.502Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-15T18:42:37.465Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-15T18:42:38.042Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2023-02-15T18:42:46.157Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T18:42:46.157Z] go vet ./... [2023-02-15T18:42:49.439Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T18:42:49.439Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T18:42:49.439Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T18:42:49.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T18:42:49.467Z] $ docker stop --time=1 9d1d944953022c45cb8283b7880aae50376f5a0fdf300f6d621bdb988f2a5075 [2023-02-15T18:42:52.031Z] $ docker rm -f --volumes 9d1d944953022c45cb8283b7880aae50376f5a0fdf300f6d621bdb988f2a5075 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:42:52.492Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T18:42:52.544Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T18:42:53.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T18:42:53.337Z] + ls -al . [2023-02-15T18:42:53.337Z] total 192 [2023-02-15T18:42:53.337Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 18:42 . [2023-02-15T18:42:53.337Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:40 .. [2023-02-15T18:42:53.337Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:42 .git [2023-02-15T18:42:53.337Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:40 .github [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 15 18:40 .gitignore [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 18:40 .golangci.yml [2023-02-15T18:42:53.337Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:41 .semver [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 8641 Feb 15 18:40 Attribution.txt [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 15 18:40 CHANGELOG.md [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 15 18:40 Dockerfile [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:40 GOVERNANCE.md [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 15 18:40 Jenkinsfile [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 18:40 LICENSE [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 15 18:40 Makefile [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 15 18:40 OWNERS.md [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 15 18:40 README.md [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 18:41 VERSION [2023-02-15T18:42:53.337Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:40 bin [2023-02-15T18:42:53.337Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:40 cmd [2023-02-15T18:42:53.337Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 15 18:42 coverage.out [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 15 18:40 go.mod [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 15 18:40 go.sum [2023-02-15T18:42:53.337Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:40 internal [2023-02-15T18:42:53.337Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:40 snap [2023-02-15T18:42:53.337Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 15 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:53.734Z] + 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=1522ab26941e845286473a63852d2df7c1cc35f3 --label arch=amd64 --label version=3.0.0-dev.12 . [2023-02-15T18:42:53.734Z] Sending build context to Docker daemon 23.41MB [2023-02-15T18:42:53.734Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:42:53.734Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T18:42:53.734Z] ---> 69ff6f5cb30d [2023-02-15T18:42:53.734Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:42:53.996Z] ---> Running in e50fc6ca0e94 [2023-02-15T18:42:54.260Z] Removing intermediate container e50fc6ca0e94 [2023-02-15T18:42:54.260Z] ---> 8805fa4bd2b6 [2023-02-15T18:42:54.260Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:42:54.260Z] ---> Running in b2935d6ad5ae [2023-02-15T18:42:54.260Z] Removing intermediate container b2935d6ad5ae [2023-02-15T18:42:54.260Z] ---> b9fc693e8a0c [2023-02-15T18:42:54.260Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:42:54.260Z] ---> Running in aa8e457c5a47 [2023-02-15T18:42:54.260Z] Removing intermediate container aa8e457c5a47 [2023-02-15T18:42:54.260Z] ---> adc2912b6c66 [2023-02-15T18:42:54.260Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-15T18:42:54.260Z] ---> Running in a29dcf66c345 [2023-02-15T18:42:54.522Z] Removing intermediate container a29dcf66c345 [2023-02-15T18:42:54.522Z] ---> 8f7b96395995 [2023-02-15T18:42:54.522Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:42:54.522Z] ---> Running in fe9de5e399f1 [2023-02-15T18:42:54.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:42:54.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:42:55.043Z] OK: 216 MiB in 55 packages [2023-02-15T18:42:55.305Z] Removing intermediate container fe9de5e399f1 [2023-02-15T18:42:55.305Z] ---> 5959c3c6c9a7 [2023-02-15T18:42:55.305Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-15T18:42:55.563Z] ---> a7a67c9f65e7 [2023-02-15T18:42:55.563Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:42:55.563Z] ---> Running in 4b6e6a03874d [2023-02-15T18:42:56.498Z] Removing intermediate container 4b6e6a03874d [2023-02-15T18:42:56.498Z] ---> f13f693b0f72 [2023-02-15T18:42:56.498Z] Step 10/25 : COPY . . [2023-02-15T18:42:57.466Z] ---> 8b36918cd234 [2023-02-15T18:42:57.466Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:42:57.466Z] ---> Running in 39c52af5c5c2 [2023-02-15T18:42:57.466Z] Removing intermediate container 39c52af5c5c2 [2023-02-15T18:42:57.466Z] ---> 17c9e56e28c7 [2023-02-15T18:42:57.466Z] Step 12/25 : RUN $MAKE [2023-02-15T18:42:57.466Z] ---> Running in 97f96885d2eb [2023-02-15T18:42:57.724Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-15T18:43:19.838Z] Removing intermediate container 97f96885d2eb [2023-02-15T18:43:19.838Z] ---> 3ba31da56a91 [2023-02-15T18:43:19.838Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T18:43:19.838Z] 3.16: Pulling from library/alpine [2023-02-15T18:43:19.838Z] ef5531b6e74e: Pulling fs layer [2023-02-15T18:43:19.838Z] ef5531b6e74e: Verifying Checksum [2023-02-15T18:43:19.838Z] ef5531b6e74e: Download complete [2023-02-15T18:43:19.838Z] ef5531b6e74e: Pull complete [2023-02-15T18:43:19.838Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T18:43:19.838Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T18:43:19.838Z] ---> dfd21b5a31f5 [2023-02-15T18:43:19.838Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-15T18:43:19.838Z] ---> Running in 971d3ba54d0c [2023-02-15T18:43:20.096Z] Removing intermediate container 971d3ba54d0c [2023-02-15T18:43:20.096Z] ---> 89baae42aa8e [2023-02-15T18:43:20.096Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T18:43:20.096Z] ---> Running in 9c2d25742c79 [2023-02-15T18:43:20.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:43:20.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:43:20.618Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T18:43:20.618Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:43:20.618Z] OK: 6 MiB in 15 packages [2023-02-15T18:43:20.876Z] Removing intermediate container 9c2d25742c79 [2023-02-15T18:43:20.876Z] ---> b0203ae5b85e [2023-02-15T18:43:20.876Z] Step 16/25 : WORKDIR / [2023-02-15T18:43:20.876Z] ---> Running in f3320e667bff [2023-02-15T18:43:20.876Z] Removing intermediate container f3320e667bff [2023-02-15T18:43:20.876Z] ---> a8fa61df023f [2023-02-15T18:43:20.876Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-15T18:43:21.136Z] ---> f575a8a43b7e [2023-02-15T18:43:21.136Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-15T18:43:21.136Z] ---> 86fb46661733 [2023-02-15T18:43:21.136Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-15T18:43:22.121Z] ---> 860801ab639a [2023-02-15T18:43:22.121Z] Step 20/25 : EXPOSE 59900 [2023-02-15T18:43:22.121Z] ---> Running in cd77f4ae2786 [2023-02-15T18:43:22.121Z] Removing intermediate container cd77f4ae2786 [2023-02-15T18:43:22.121Z] ---> 81276665ac6f [2023-02-15T18:43:22.121Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-15T18:43:22.121Z] ---> Running in 36eb26130d18 [2023-02-15T18:43:22.121Z] Removing intermediate container 36eb26130d18 [2023-02-15T18:43:22.121Z] ---> 597336c72883 [2023-02-15T18:43:22.121Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T18:43:22.121Z] ---> Running in f6049fb96354 [2023-02-15T18:43:22.380Z] Removing intermediate container f6049fb96354 [2023-02-15T18:43:22.380Z] ---> d1acba413c4c [2023-02-15T18:43:22.380Z] Step 23/25 : LABEL arch=amd64 [2023-02-15T18:43:22.380Z] ---> Running in 27cbcaf09b61 [2023-02-15T18:43:22.380Z] Removing intermediate container 27cbcaf09b61 [2023-02-15T18:43:22.380Z] ---> 36f49ee4ac9c [2023-02-15T18:43:22.380Z] Step 24/25 : LABEL git_sha=1522ab26941e845286473a63852d2df7c1cc35f3 [2023-02-15T18:43:22.380Z] ---> Running in b21d6a2f365d [2023-02-15T18:43:22.380Z] Removing intermediate container b21d6a2f365d [2023-02-15T18:43:22.380Z] ---> 99bc99f6714f [2023-02-15T18:43:22.380Z] Step 25/25 : LABEL version=3.0.0-dev.12 [2023-02-15T18:43:22.639Z] ---> Running in 81f65d7cee11 [2023-02-15T18:43:22.639Z] Removing intermediate container 81f65d7cee11 [2023-02-15T18:43:22.639Z] ---> 9ab1ee486142 [2023-02-15T18:43:22.639Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T18:43:22.639Z] Successfully built 9ab1ee486142 [2023-02-15T18:43:22.639Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:43:22.719Z] provisioning config files... [2023-02-15T18:43:22.726Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11526232096654544379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:43:23.026Z] ---> docker-login.sh [2023-02-15T18:43:23.026Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:43:23.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:43:23.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:43:23.026Z] Configure a credential helper to remove this warning. See [2023-02-15T18:43:23.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:43:23.026Z] [2023-02-15T18:43:23.026Z] Login Succeeded [2023-02-15T18:43:23.026Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:43:23.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:43:23.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:43:23.026Z] Configure a credential helper to remove this warning. See [2023-02-15T18:43:23.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:43:23.026Z] [2023-02-15T18:43:23.026Z] Login Succeeded [2023-02-15T18:43:23.026Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:43:23.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:43:23.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:43:23.285Z] Configure a credential helper to remove this warning. See [2023-02-15T18:43:23.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:43:23.285Z] [2023-02-15T18:43:23.285Z] Login Succeeded [2023-02-15T18:43:23.285Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:43:23.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:43:23.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:43:23.285Z] Configure a credential helper to remove this warning. See [2023-02-15T18:43:23.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:43:23.285Z] [2023-02-15T18:43:23.285Z] Login Succeeded [2023-02-15T18:43:23.285Z] docker.io [2023-02-15T18:43:23.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:43:23.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:43:23.802Z] Configure a credential helper to remove this warning. See [2023-02-15T18:43:23.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:43:23.802Z] [2023-02-15T18:43:23.802Z] Login Succeeded [2023-02-15T18:43:23.802Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:43:23.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T18:43:23.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:43:23.870Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-02-15T18:43:23.870Z] 1522ab26941e845286473a63852d2df7c1cc35f3 [2023-02-15T18:43:23.870Z] latest [2023-02-15T18:43:23.870Z] 3.0.0-dev.12 [2023-02-15T18:43:23.870Z] 1522ab26941e845286473a63852d2df7c1cc35f3-3.0.0-dev.12 [2023-02-15T18:43:23.870Z] main [2023-02-15T18:43:23.870Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:24.197Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1522ab26941e845286473a63852d2df7c1cc35f3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:24.521Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1522ab26941e845286473a63852d2df7c1cc35f3 [2023-02-15T18:43:24.521Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-15T18:43:24.521Z] 464ecc252ba3: Preparing [2023-02-15T18:43:24.521Z] 7890803f25e2: Preparing [2023-02-15T18:43:24.521Z] 933bd3e1d5cb: Preparing [2023-02-15T18:43:24.521Z] 5f033d708f26: Preparing [2023-02-15T18:43:24.521Z] aa5968d388b8: Preparing [2023-02-15T18:43:24.521Z] aa5968d388b8: Layer already exists [2023-02-15T18:43:24.521Z] 5f033d708f26: Pushed [2023-02-15T18:43:24.521Z] 933bd3e1d5cb: Pushed [2023-02-15T18:43:24.521Z] 7890803f25e2: Pushed [2023-02-15T18:43:27.057Z] 464ecc252ba3: Pushed [2023-02-15T18:43:27.057Z] 1522ab26941e845286473a63852d2df7c1cc35f3: digest: sha256:f8f3054af977c8305b7941895b8f10cb9aa02c944aa3d04740f0b569e4e1d27e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:27.372Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:27.682Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-02-15T18:43:27.682Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-15T18:43:27.682Z] 464ecc252ba3: Preparing [2023-02-15T18:43:27.682Z] 7890803f25e2: Preparing [2023-02-15T18:43:27.682Z] 933bd3e1d5cb: Preparing [2023-02-15T18:43:27.682Z] 5f033d708f26: Preparing [2023-02-15T18:43:27.682Z] aa5968d388b8: Preparing [2023-02-15T18:43:27.682Z] 5f033d708f26: Layer already exists [2023-02-15T18:43:27.682Z] 7890803f25e2: Layer already exists [2023-02-15T18:43:27.682Z] aa5968d388b8: Layer already exists [2023-02-15T18:43:27.682Z] 464ecc252ba3: Layer already exists [2023-02-15T18:43:27.682Z] 933bd3e1d5cb: Layer already exists [2023-02-15T18:43:27.682Z] latest: digest: sha256:f8f3054af977c8305b7941895b8f10cb9aa02c944aa3d04740f0b569e4e1d27e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:28.002Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:28.314Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.12 [2023-02-15T18:43:28.314Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-15T18:43:28.314Z] 464ecc252ba3: Preparing [2023-02-15T18:43:28.314Z] 7890803f25e2: Preparing [2023-02-15T18:43:28.314Z] 933bd3e1d5cb: Preparing [2023-02-15T18:43:28.314Z] 5f033d708f26: Preparing [2023-02-15T18:43:28.314Z] aa5968d388b8: Preparing [2023-02-15T18:43:28.314Z] 464ecc252ba3: Layer already exists [2023-02-15T18:43:28.314Z] aa5968d388b8: Layer already exists [2023-02-15T18:43:28.314Z] 7890803f25e2: Layer already exists [2023-02-15T18:43:28.314Z] 933bd3e1d5cb: Layer already exists [2023-02-15T18:43:28.314Z] 5f033d708f26: Layer already exists [2023-02-15T18:43:28.314Z] 3.0.0-dev.12: digest: sha256:f8f3054af977c8305b7941895b8f10cb9aa02c944aa3d04740f0b569e4e1d27e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:28.637Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:1522ab26941e845286473a63852d2df7c1cc35f3-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:28.951Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:1522ab26941e845286473a63852d2df7c1cc35f3-3.0.0-dev.12 [2023-02-15T18:43:28.951Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-15T18:43:28.951Z] 464ecc252ba3: Preparing [2023-02-15T18:43:28.951Z] 7890803f25e2: Preparing [2023-02-15T18:43:28.951Z] 933bd3e1d5cb: Preparing [2023-02-15T18:43:28.951Z] 5f033d708f26: Preparing [2023-02-15T18:43:28.951Z] aa5968d388b8: Preparing [2023-02-15T18:43:28.951Z] 5f033d708f26: Layer already exists [2023-02-15T18:43:28.951Z] aa5968d388b8: Layer already exists [2023-02-15T18:43:28.951Z] 933bd3e1d5cb: Layer already exists [2023-02-15T18:43:28.951Z] 464ecc252ba3: Layer already exists [2023-02-15T18:43:28.951Z] 7890803f25e2: Layer already exists [2023-02-15T18:43:28.951Z] 1522ab26941e845286473a63852d2df7c1cc35f3-3.0.0-dev.12: digest: sha256:f8f3054af977c8305b7941895b8f10cb9aa02c944aa3d04740f0b569e4e1d27e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:29.261Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:29.574Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-02-15T18:43:29.574Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-15T18:43:29.574Z] 464ecc252ba3: Preparing [2023-02-15T18:43:29.574Z] 7890803f25e2: Preparing [2023-02-15T18:43:29.574Z] 933bd3e1d5cb: Preparing [2023-02-15T18:43:29.574Z] 5f033d708f26: Preparing [2023-02-15T18:43:29.574Z] aa5968d388b8: Preparing [2023-02-15T18:43:29.574Z] 933bd3e1d5cb: Layer already exists [2023-02-15T18:43:29.574Z] aa5968d388b8: Layer already exists [2023-02-15T18:43:29.574Z] 7890803f25e2: Layer already exists [2023-02-15T18:43:29.574Z] 5f033d708f26: Layer already exists [2023-02-15T18:43:29.574Z] 464ecc252ba3: Layer already exists [2023-02-15T18:43:29.574Z] main: digest: sha256:f8f3054af977c8305b7941895b8f10cb9aa02c944aa3d04740f0b569e4e1d27e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T18:43:29.626Z] ===================================================== [Pipeline] echo [2023-02-15T18:43:29.639Z] taggedImages: [2023-02-15T18:43:29.639Z] - nexus3.edgexfoundry.org:10004/device-virtual:1522ab26941e845286473a63852d2df7c1cc35f3 [2023-02-15T18:43:29.639Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-02-15T18:43:29.639Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.12 [2023-02-15T18:43:29.639Z] - nexus3.edgexfoundry.org:10004/device-virtual:1522ab26941e845286473a63852d2df7c1cc35f3-3.0.0-dev.12 [2023-02-15T18:43:29.639Z] - 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 [2023-02-15T18:43:30.017Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:43:30.017Z] [2023-02-15T18:43:30.017Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:30.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:43:30.320Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T18:43:30.320Z] 5eb5b503b376: Pulling fs layer [2023-02-15T18:43:30.320Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T18:43:30.320Z] ec43610c2a17: Pulling fs layer [2023-02-15T18:43:30.320Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T18:43:30.320Z] 33b1e0a273af: Pulling fs layer [2023-02-15T18:43:30.320Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T18:43:30.320Z] 2f39f015ded8: Pulling fs layer [2023-02-15T18:43:30.320Z] 33b1e0a273af: Waiting [2023-02-15T18:43:30.320Z] 3a2ae6a8a46f: Waiting [2023-02-15T18:43:30.320Z] 5d3b04190fa2: Waiting [2023-02-15T18:43:30.320Z] 5c69ac0246d0: Download complete [2023-02-15T18:43:30.320Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T18:43:30.320Z] 3a2ae6a8a46f: Download complete [2023-02-15T18:43:30.593Z] 33b1e0a273af: Verifying Checksum [2023-02-15T18:43:30.593Z] 33b1e0a273af: Download complete [2023-02-15T18:43:30.593Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T18:43:30.593Z] 5d3b04190fa2: Download complete [2023-02-15T18:43:30.593Z] ec43610c2a17: Verifying Checksum [2023-02-15T18:43:30.593Z] ec43610c2a17: Download complete [2023-02-15T18:43:30.867Z] 5eb5b503b376: Verifying Checksum [2023-02-15T18:43:30.868Z] 5eb5b503b376: Download complete [2023-02-15T18:43:31.437Z] 2f39f015ded8: Verifying Checksum [2023-02-15T18:43:31.437Z] 2f39f015ded8: Download complete [2023-02-15T18:43:32.003Z] 5eb5b503b376: Pull complete [2023-02-15T18:43:32.260Z] 5c69ac0246d0: Pull complete [2023-02-15T18:43:32.519Z] ec43610c2a17: Pull complete [2023-02-15T18:43:32.780Z] 3a2ae6a8a46f: Pull complete [2023-02-15T18:43:33.038Z] 33b1e0a273af: Pull complete [2023-02-15T18:43:33.038Z] 5d3b04190fa2: Pull complete [2023-02-15T18:43:38.313Z] 2f39f015ded8: Pull complete [2023-02-15T18:43:38.313Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T18:43:38.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:43:38.313Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:43:38.400Z] prd-ubuntu20.04-docker-8c-8g-6173 does not seem to be running inside a container [2023-02-15T18:43:38.440Z] $ 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 [2023-02-15T18:43:42.804Z] $ docker top b1b2ef994aa06cd928a04f01c51b98c683c8479bac777949ea45c726392fdb6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:43:43.154Z] ---> job-cost.sh [2023-02-15T18:43:43.154Z] lf-activate-venv: SKIPPING [2023-02-15T18:43:43.154Z] INFO: No Stack... [2023-02-15T18:43:43.412Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:43:43.977Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:43:44.265Z] + cut -d, -f6 [2023-02-15T18:43:44.265Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock [2023-02-15T18:43:44.279Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-83-stack-cost] [2023-02-15T18:43:44.290Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-83-stack-cost] did not exist. Created. [2023-02-15T18:43:44.290Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:43:44.593Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T18:43:44.625Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:43:44.635Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:43:44.656Z] $ docker stop --time=1 b1b2ef994aa06cd928a04f01c51b98c683c8479bac777949ea45c726392fdb6b [2023-02-15T18:43:45.808Z] $ docker rm -f --volumes b1b2ef994aa06cd928a04f01c51b98c683c8479bac777949ea45c726392fdb6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T18:44:48.893Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6184 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-02-15T18:44:48.909Z] Running in /w/workspace/device-virtual-go/83 [Pipeline] { [Pipeline] checkout [2023-02-15T18:44:48.944Z] The recommended git tool is: git [2023-02-15T18:44:55.407Z] using credential edgex-jenkins-ssh [2023-02-15T18:44:55.434Z] Cloning the remote Git repository [2023-02-15T18:44:55.498Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-15T18:44:55.595Z] > git init /w/workspace/device-virtual-go/83 # timeout=10 [2023-02-15T18:44:55.775Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-15T18:44:55.776Z] > git --version # timeout=10 [2023-02-15T18:44:55.801Z] > git --version # 'git version 2.25.1' [2023-02-15T18:44:55.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:44:55.873Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:44:58.386Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-15T18:44:58.423Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:44:59.514Z] Avoid second fetch [2023-02-15T18:44:59.515Z] Checking out Revision 1522ab26941e845286473a63852d2df7c1cc35f3 (main) [2023-02-15T18:45:00.172Z] Commit message: "refactor!: Replace internal topics from config with new constants (#340)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:44:59.537Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:44:59.559Z] > git checkout -f 1522ab26941e845286473a63852d2df7c1cc35f3 # timeout=10 [2023-02-15T18:45:01.028Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T18:45:01.028Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:45:01.028Z] Dload Upload Total Spent Left Speed [2023-02-15T18:45:01.028Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-02-15T18:45:01.777Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T18:45:02.123Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T18:45:02.123Z] + sudo tee /etc/docker/daemon.new [2023-02-15T18:45:02.123Z] { [2023-02-15T18:45:02.123Z] "registry-mirrors": [ [2023-02-15T18:45:02.123Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T18:45:02.123Z] ], [2023-02-15T18:45:02.123Z] "bip": "10.250.0.254/24", [2023-02-15T18:45:02.123Z] "hosts": [ [2023-02-15T18:45:02.123Z] "tcp://0.0.0.0:5555", [2023-02-15T18:45:02.123Z] "unix:///var/run/docker.sock" [2023-02-15T18:45:02.123Z] ], [2023-02-15T18:45:02.123Z] "mtu": 1458, [2023-02-15T18:45:02.123Z] "selinux-enabled": true, [2023-02-15T18:45:02.123Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T18:45:02.123Z] } [Pipeline] sh [2023-02-15T18:45:02.477Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T18:45:02.828Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:45:21.180Z] provisioning config files... [2023-02-15T18:45:21.220Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/83@tmp/config17914595907669324190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:45:21.615Z] ---> docker-login.sh [2023-02-15T18:45:21.615Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:45:22.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:45:22.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:45:22.496Z] Configure a credential helper to remove this warning. See [2023-02-15T18:45:22.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:45:22.496Z] [2023-02-15T18:45:22.496Z] Login Succeeded [2023-02-15T18:45:22.496Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:45:22.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:45:22.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:45:22.773Z] Configure a credential helper to remove this warning. See [2023-02-15T18:45:22.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:45:22.773Z] [2023-02-15T18:45:22.773Z] Login Succeeded [2023-02-15T18:45:22.773Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:45:23.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:45:23.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:45:23.326Z] Configure a credential helper to remove this warning. See [2023-02-15T18:45:23.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:45:23.326Z] [2023-02-15T18:45:23.326Z] Login Succeeded [2023-02-15T18:45:23.326Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:45:23.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:45:23.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:45:23.609Z] Configure a credential helper to remove this warning. See [2023-02-15T18:45:23.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:45:23.609Z] [2023-02-15T18:45:23.609Z] Login Succeeded [2023-02-15T18:45:23.609Z] docker.io [2023-02-15T18:45:23.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:45:24.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:45:24.158Z] Configure a credential helper to remove this warning. See [2023-02-15T18:45:24.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:45:24.158Z] [2023-02-15T18:45:24.158Z] Login Succeeded [2023-02-15T18:45:24.434Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:45:24.452Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:45:24.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:45:24.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:45:24.882Z] ========================================================= [2023-02-15T18:45:24.882Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T18:45:24.882Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:45:25.256Z] + 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 . [2023-02-15T18:45:25.531Z] Sending build context to Docker daemon 11.83MB [2023-02-15T18:45:25.807Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:45:25.807Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T18:45:25.807Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T18:45:25.807Z] 9b18e9b68314: Pulling fs layer [2023-02-15T18:45:25.807Z] 35d82f9e3411: Pulling fs layer [2023-02-15T18:45:25.807Z] e16973657156: Pulling fs layer [2023-02-15T18:45:25.807Z] fc693d55d65f: Pulling fs layer [2023-02-15T18:45:25.807Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T18:45:25.807Z] dda99020689f: Pulling fs layer [2023-02-15T18:45:25.807Z] db1c61fa0a46: Pulling fs layer [2023-02-15T18:45:25.807Z] 891c053d2c06: Pulling fs layer [2023-02-15T18:45:25.807Z] fc693d55d65f: Waiting [2023-02-15T18:45:25.807Z] 7e9fc2657dce: Waiting [2023-02-15T18:45:25.807Z] dda99020689f: Waiting [2023-02-15T18:45:25.807Z] db1c61fa0a46: Waiting [2023-02-15T18:45:25.807Z] 891c053d2c06: Waiting [2023-02-15T18:45:26.085Z] e16973657156: Verifying Checksum [2023-02-15T18:45:26.085Z] e16973657156: Download complete [2023-02-15T18:45:26.085Z] 35d82f9e3411: Verifying Checksum [2023-02-15T18:45:26.085Z] 35d82f9e3411: Download complete [2023-02-15T18:45:26.085Z] 7e9fc2657dce: Download complete [2023-02-15T18:45:26.085Z] dda99020689f: Download complete [2023-02-15T18:45:26.085Z] 9b18e9b68314: Download complete [2023-02-15T18:45:27.087Z] 9b18e9b68314: Pull complete [2023-02-15T18:45:27.366Z] 35d82f9e3411: Pull complete [2023-02-15T18:45:27.982Z] e16973657156: Pull complete [2023-02-15T18:45:27.982Z] 891c053d2c06: Verifying Checksum [2023-02-15T18:45:27.982Z] 891c053d2c06: Download complete [2023-02-15T18:45:31.153Z] db1c61fa0a46: Verifying Checksum [2023-02-15T18:45:31.153Z] db1c61fa0a46: Download complete [2023-02-15T18:45:31.442Z] fc693d55d65f: Verifying Checksum [2023-02-15T18:45:31.442Z] fc693d55d65f: Download complete [2023-02-15T18:45:46.524Z] fc693d55d65f: Pull complete [2023-02-15T18:45:46.524Z] 7e9fc2657dce: Pull complete [2023-02-15T18:45:46.524Z] dda99020689f: Pull complete [2023-02-15T18:45:51.928Z] db1c61fa0a46: Pull complete [2023-02-15T18:45:53.357Z] 891c053d2c06: Pull complete [2023-02-15T18:45:53.357Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T18:45:53.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T18:45:53.357Z] ---> f96f9c87975a [2023-02-15T18:45:53.357Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:45:57.717Z] ---> Running in 0f2eedd00a4d [2023-02-15T18:45:58.083Z] Removing intermediate container 0f2eedd00a4d [2023-02-15T18:45:58.083Z] ---> 718cc45bf59a [2023-02-15T18:45:58.083Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:45:58.374Z] ---> Running in 5bb219362e69 [2023-02-15T18:45:59.352Z] Removing intermediate container 5bb219362e69 [2023-02-15T18:45:59.352Z] ---> 1e7d420f0435 [2023-02-15T18:45:59.352Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:45:59.352Z] ---> Running in c0997584e816 [2023-02-15T18:45:59.958Z] Removing intermediate container c0997584e816 [2023-02-15T18:45:59.958Z] ---> c21dafb283dd [2023-02-15T18:45:59.958Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-15T18:45:59.958Z] ---> Running in ddf5e488b0dc [2023-02-15T18:46:00.227Z] Removing intermediate container ddf5e488b0dc [2023-02-15T18:46:00.227Z] ---> 1a19d0b4ae9a [2023-02-15T18:46:00.227Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:46:00.497Z] ---> Running in 79944b6c301c [2023-02-15T18:46:01.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:46:02.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:46:03.027Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T18:46:03.027Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T18:46:03.027Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T18:46:03.027Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T18:46:03.297Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:46:03.297Z] OK: 226 MiB in 55 packages [2023-02-15T18:46:04.270Z] Removing intermediate container 79944b6c301c [2023-02-15T18:46:04.270Z] ---> 1d930f35946d [2023-02-15T18:46:04.270Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-15T18:46:04.870Z] ---> fec6b064a987 [2023-02-15T18:46:04.870Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:46:05.157Z] ---> Running in 3ebba26d03ae [2023-02-15T18:47:41.942Z] Removing intermediate container 3ebba26d03ae [2023-02-15T18:47:41.942Z] ---> 0c6fb156d1aa [2023-02-15T18:47:41.942Z] Step 10/12 : COPY . . [2023-02-15T18:47:41.942Z] ---> 8ee2d7eae8f5 [2023-02-15T18:47:41.942Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:47:41.942Z] ---> Running in f52a631cfe32 [2023-02-15T18:47:41.942Z] Removing intermediate container f52a631cfe32 [2023-02-15T18:47:41.942Z] ---> 2da75a130365 [2023-02-15T18:47:41.942Z] Step 12/12 : RUN $MAKE [2023-02-15T18:47:41.942Z] ---> Running in 980faa47709a [2023-02-15T18:47:41.942Z] noop [2023-02-15T18:47:41.942Z] Removing intermediate container 980faa47709a [2023-02-15T18:47:41.942Z] ---> ea1b7c7dd41d [2023-02-15T18:47:41.942Z] Successfully built ea1b7c7dd41d [2023-02-15T18:47:41.942Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:47:42.302Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:47:42.302Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:47:42.531Z] prd-ubuntu20.04-docker-arm64-4c-16g-6184 does not seem to be running inside a container [2023-02-15T18:47:42.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/83 -v /w/workspace/device-virtual-go/83:/w/workspace/device-virtual-go/83:rw,z -v /w/workspace/device-virtual-go/83@tmp:/w/workspace/device-virtual-go/83@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 ******** ci-base-image-arm64 cat [2023-02-15T18:47:43.940Z] $ docker top a8583ef69042308251492200fe7bfa28319aaaf383bc8a1a564579a3536d9bbf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:47:44.820Z] + go version [2023-02-15T18:47:44.820Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T18:47:44.847Z] $ docker stop --time=1 a8583ef69042308251492200fe7bfa28319aaaf383bc8a1a564579a3536d9bbf [2023-02-15T18:47:46.552Z] $ docker rm -f --volumes a8583ef69042308251492200fe7bfa28319aaaf383bc8a1a564579a3536d9bbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:47:47.157Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:47:47.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:47:47.376Z] prd-ubuntu20.04-docker-arm64-4c-16g-6184 does not seem to be running inside a container [2023-02-15T18:47:47.461Z] $ 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/83 -v /w/workspace/device-virtual-go/83:/w/workspace/device-virtual-go/83:rw,z -v /w/workspace/device-virtual-go/83@tmp:/w/workspace/device-virtual-go/83@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 ******** ci-base-image-arm64 cat [2023-02-15T18:47:48.794Z] $ docker top b5a310ef9bc077ccd672f75977aca7bbb56158a16a6cebea255f01f52a582ab3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:47:49.671Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/83 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:47:50.341Z] + make test [2023-02-15T18:47:50.341Z] go test ./... -coverprofile=coverage.out [2023-02-15T18:47:51.970Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-15T18:49:45.747Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-15T18:49:46.335Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.149s coverage: 65.7% of statements [2023-02-15T18:49:46.605Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T18:49:46.606Z] go vet ./... [2023-02-15T18:50:18.897Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T18:50:18.897Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T18:50:18.897Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T18:50:18.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T18:50:18.936Z] $ docker stop --time=1 b5a310ef9bc077ccd672f75977aca7bbb56158a16a6cebea255f01f52a582ab3 [2023-02-15T18:50:20.865Z] $ docker rm -f --volumes b5a310ef9bc077ccd672f75977aca7bbb56158a16a6cebea255f01f52a582ab3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:50:21.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T18:50:21.947Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T18:50:22.572Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:50:22.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T18:50:23.548Z] + ls -al . [2023-02-15T18:50:23.548Z] total 188 [2023-02-15T18:50:23.548Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:47 . [2023-02-15T18:50:23.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:44 .. [2023-02-15T18:50:23.548Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:44 .git [2023-02-15T18:50:23.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:44 .github [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 15 18:44 .gitignore [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 18:44 .golangci.yml [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 8641 Feb 15 18:44 Attribution.txt [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 15 18:44 CHANGELOG.md [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 15 18:44 Dockerfile [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:44 GOVERNANCE.md [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 15 18:44 Jenkinsfile [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 18:44 LICENSE [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 15 18:44 Makefile [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 15 18:44 OWNERS.md [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 15 18:44 README.md [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 15 18:41 VERSION [2023-02-15T18:50:23.548Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:44 bin [2023-02-15T18:50:23.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:44 cmd [2023-02-15T18:50:23.548Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 15 18:49 coverage.out [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 3252 Feb 15 18:44 go.mod [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 32588 Feb 15 18:44 go.sum [2023-02-15T18:50:23.548Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:44 internal [2023-02-15T18:50:23.548Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:44 snap [2023-02-15T18:50:23.548Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 15 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:50:23.904Z] + 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=1522ab26941e845286473a63852d2df7c1cc35f3 --label arch=arm64 --label version=3.0.0-dev.12 . [2023-02-15T18:50:24.515Z] Sending build context to Docker daemon 11.87MB [2023-02-15T18:50:24.515Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:50:24.515Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-15T18:50:24.515Z] ---> ea1b7c7dd41d [2023-02-15T18:50:24.515Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T18:50:24.515Z] ---> Running in a2fe2f6905a3 [2023-02-15T18:50:25.110Z] Removing intermediate container a2fe2f6905a3 [2023-02-15T18:50:25.110Z] ---> f1875f9ab23b [2023-02-15T18:50:25.110Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T18:50:25.110Z] ---> Running in 7e409cdc1a06 [2023-02-15T18:50:25.381Z] Removing intermediate container 7e409cdc1a06 [2023-02-15T18:50:25.381Z] ---> d9baff6a453e [2023-02-15T18:50:25.381Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-15T18:50:25.651Z] ---> Running in a44b50f3b49c [2023-02-15T18:50:25.924Z] Removing intermediate container a44b50f3b49c [2023-02-15T18:50:25.924Z] ---> e90f5c659038 [2023-02-15T18:50:25.924Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-15T18:50:25.924Z] ---> Running in aa9bae2c8523 [2023-02-15T18:50:26.514Z] Removing intermediate container aa9bae2c8523 [2023-02-15T18:50:26.514Z] ---> c56501639658 [2023-02-15T18:50:26.514Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T18:50:26.514Z] ---> Running in 48b7c20fd140 [2023-02-15T18:50:27.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:50:28.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:50:29.504Z] OK: 226 MiB in 55 packages [2023-02-15T18:50:30.482Z] Removing intermediate container 48b7c20fd140 [2023-02-15T18:50:30.482Z] ---> f686f0fd502f [2023-02-15T18:50:30.482Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-15T18:50:30.756Z] ---> 7cbdb0967bac [2023-02-15T18:50:30.756Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:50:31.030Z] ---> Running in 6c80e9dd455f [2023-02-15T18:50:34.390Z] Removing intermediate container 6c80e9dd455f [2023-02-15T18:50:34.390Z] ---> a4889939798c [2023-02-15T18:50:34.390Z] Step 10/25 : COPY . . [2023-02-15T18:50:36.993Z] ---> 71b32abe5783 [2023-02-15T18:50:36.993Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T18:50:37.263Z] ---> Running in c493518de7ae [2023-02-15T18:50:37.533Z] Removing intermediate container c493518de7ae [2023-02-15T18:50:37.533Z] ---> b0a22b38ce34 [2023-02-15T18:50:37.533Z] Step 12/25 : RUN $MAKE [2023-02-15T18:50:37.533Z] ---> Running in dd3e6f257dd7 [2023-02-15T18:50:38.500Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-15T18:53:15.305Z] Removing intermediate container dd3e6f257dd7 [2023-02-15T18:53:15.305Z] ---> 2060d90b65a2 [2023-02-15T18:53:15.305Z] Step 13/25 : FROM alpine:3.16 [2023-02-15T18:53:15.305Z] 3.16: Pulling from library/alpine [2023-02-15T18:53:15.305Z] 3760b48202b3: Pulling fs layer [2023-02-15T18:53:15.305Z] 3760b48202b3: Download complete [2023-02-15T18:53:15.305Z] 3760b48202b3: Pull complete [2023-02-15T18:53:15.305Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T18:53:15.305Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T18:53:15.305Z] ---> 4c81e5bf8899 [2023-02-15T18:53:15.305Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-15T18:53:15.305Z] ---> Running in 11b555a0f4ea [2023-02-15T18:53:15.305Z] Removing intermediate container 11b555a0f4ea [2023-02-15T18:53:15.305Z] ---> dc2ffb2ec15b [2023-02-15T18:53:15.305Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-15T18:53:15.305Z] ---> Running in dcc7e1de9bd3 [2023-02-15T18:53:15.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:53:15.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:53:15.305Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T18:53:15.305Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T18:53:15.305Z] OK: 5 MiB in 15 packages [2023-02-15T18:53:15.305Z] Removing intermediate container dcc7e1de9bd3 [2023-02-15T18:53:15.305Z] ---> 1a5200209b38 [2023-02-15T18:53:15.305Z] Step 16/25 : WORKDIR / [2023-02-15T18:53:15.305Z] ---> Running in f616db7e3e82 [2023-02-15T18:53:15.305Z] Removing intermediate container f616db7e3e82 [2023-02-15T18:53:15.305Z] ---> 0a4a90064133 [2023-02-15T18:53:15.305Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-15T18:53:15.305Z] ---> ebeece4c9ead [2023-02-15T18:53:15.305Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-15T18:53:15.896Z] ---> a91205381166 [2023-02-15T18:53:15.896Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-15T18:53:17.328Z] ---> a6e498422a42 [2023-02-15T18:53:17.328Z] Step 20/25 : EXPOSE 59900 [2023-02-15T18:53:17.328Z] ---> Running in 82769ef615d4 [2023-02-15T18:53:17.599Z] Removing intermediate container 82769ef615d4 [2023-02-15T18:53:17.599Z] ---> 6e93d3a22f3c [2023-02-15T18:53:17.599Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-15T18:53:17.599Z] ---> Running in 15d55b344bda [2023-02-15T18:53:17.873Z] Removing intermediate container 15d55b344bda [2023-02-15T18:53:17.873Z] ---> 314c4ca196da [2023-02-15T18:53:17.873Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T18:53:18.140Z] ---> Running in 704225f72030 [2023-02-15T18:53:18.406Z] Removing intermediate container 704225f72030 [2023-02-15T18:53:18.406Z] ---> 0b794b8c68ff [2023-02-15T18:53:18.406Z] Step 23/25 : LABEL arch=arm64 [2023-02-15T18:53:18.406Z] ---> Running in 54e6964cf7fc [2023-02-15T18:53:18.675Z] Removing intermediate container 54e6964cf7fc [2023-02-15T18:53:18.675Z] ---> fc0708489d27 [2023-02-15T18:53:18.675Z] Step 24/25 : LABEL git_sha=1522ab26941e845286473a63852d2df7c1cc35f3 [2023-02-15T18:53:18.944Z] ---> Running in 55629ddf7e82 [2023-02-15T18:53:19.212Z] Removing intermediate container 55629ddf7e82 [2023-02-15T18:53:19.212Z] ---> 2a53310ec681 [2023-02-15T18:53:19.212Z] Step 25/25 : LABEL version=3.0.0-dev.12 [2023-02-15T18:53:19.212Z] ---> Running in 01fbe0e3c9a7 [2023-02-15T18:53:19.481Z] Removing intermediate container 01fbe0e3c9a7 [2023-02-15T18:53:19.481Z] ---> c40896491940 [2023-02-15T18:53:19.481Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T18:53:19.749Z] Successfully built c40896491940 [2023-02-15T18:53:19.749Z] 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 [2023-02-15T18:53:19.888Z] provisioning config files... [2023-02-15T18:53:19.904Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/83@tmp/config8059349885691692190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:53:20.261Z] ---> docker-login.sh [2023-02-15T18:53:20.261Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:53:20.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:53:20.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:53:20.529Z] Configure a credential helper to remove this warning. See [2023-02-15T18:53:20.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:53:20.529Z] [2023-02-15T18:53:20.529Z] Login Succeeded [2023-02-15T18:53:20.529Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:53:20.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:53:21.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:53:21.067Z] Configure a credential helper to remove this warning. See [2023-02-15T18:53:21.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:53:21.067Z] [2023-02-15T18:53:21.067Z] Login Succeeded [2023-02-15T18:53:21.067Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:53:21.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:53:21.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:53:21.335Z] Configure a credential helper to remove this warning. See [2023-02-15T18:53:21.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:53:21.335Z] [2023-02-15T18:53:21.335Z] Login Succeeded [2023-02-15T18:53:21.335Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:53:21.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:53:21.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:53:21.871Z] Configure a credential helper to remove this warning. See [2023-02-15T18:53:21.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:53:21.871Z] [2023-02-15T18:53:21.871Z] Login Succeeded [2023-02-15T18:53:21.871Z] docker.io [2023-02-15T18:53:22.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:53:22.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:53:22.405Z] Configure a credential helper to remove this warning. See [2023-02-15T18:53:22.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:53:22.405Z] [2023-02-15T18:53:22.405Z] Login Succeeded [2023-02-15T18:53:22.405Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:53:22.420Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T18:53:22.459Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:53:22.482Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-02-15T18:53:22.482Z] 1522ab26941e845286473a63852d2df7c1cc35f3 [2023-02-15T18:53:22.482Z] latest [2023-02-15T18:53:22.482Z] 3.0.0-dev.12 [2023-02-15T18:53:22.482Z] 1522ab26941e845286473a63852d2df7c1cc35f3-3.0.0-dev.12 [2023-02-15T18:53:22.482Z] main [2023-02-15T18:53:22.482Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:53:22.845Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1522ab26941e845286473a63852d2df7c1cc35f3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:53:23.209Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1522ab26941e845286473a63852d2df7c1cc35f3 [2023-02-15T18:53:23.209Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-15T18:53:23.209Z] b999f2e2d963: Preparing [2023-02-15T18:53:23.209Z] 524d7461d655: Preparing [2023-02-15T18:53:23.209Z] 94be9694d5ed: Preparing [2023-02-15T18:53:23.209Z] 926a9619a762: Preparing [2023-02-15T18:53:23.209Z] f70ee36035b9: Preparing [2023-02-15T18:53:23.209Z] f70ee36035b9: Layer already exists [2023-02-15T18:53:23.479Z] 524d7461d655: Pushed [2023-02-15T18:53:23.479Z] 926a9619a762: Pushed [2023-02-15T18:53:23.479Z] 94be9694d5ed: Pushed [2023-02-15T18:53:30.160Z] b999f2e2d963: Pushed [2023-02-15T18:53:30.160Z] 1522ab26941e845286473a63852d2df7c1cc35f3: digest: sha256:a77c9023808cd8b5ee863c3d472e52278035498ec3fc3f5702932c71def6cc45 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:53:30.598Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:53:31.043Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-02-15T18:53:31.043Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-15T18:53:31.043Z] b999f2e2d963: Preparing [2023-02-15T18:53:31.043Z] 524d7461d655: Preparing [2023-02-15T18:53:31.043Z] 94be9694d5ed: Preparing [2023-02-15T18:53:31.043Z] 926a9619a762: Preparing [2023-02-15T18:53:31.043Z] f70ee36035b9: Preparing [2023-02-15T18:53:31.043Z] f70ee36035b9: Layer already exists [2023-02-15T18:53:31.043Z] b999f2e2d963: Layer already exists [2023-02-15T18:53:31.043Z] 926a9619a762: Layer already exists [2023-02-15T18:53:31.043Z] 94be9694d5ed: Layer already exists [2023-02-15T18:53:31.043Z] 524d7461d655: Layer already exists [2023-02-15T18:53:31.316Z] latest: digest: sha256:a77c9023808cd8b5ee863c3d472e52278035498ec3fc3f5702932c71def6cc45 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:53:31.699Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:53:32.071Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.12 [2023-02-15T18:53:32.071Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-15T18:53:32.071Z] b999f2e2d963: Preparing [2023-02-15T18:53:32.071Z] 524d7461d655: Preparing [2023-02-15T18:53:32.071Z] 94be9694d5ed: Preparing [2023-02-15T18:53:32.071Z] 926a9619a762: Preparing [2023-02-15T18:53:32.071Z] f70ee36035b9: Preparing [2023-02-15T18:53:32.071Z] b999f2e2d963: Layer already exists [2023-02-15T18:53:32.071Z] 94be9694d5ed: Layer already exists [2023-02-15T18:53:32.071Z] f70ee36035b9: Layer already exists [2023-02-15T18:53:32.071Z] 524d7461d655: Layer already exists [2023-02-15T18:53:32.071Z] 926a9619a762: Layer already exists [2023-02-15T18:53:32.345Z] 3.0.0-dev.12: digest: sha256:a77c9023808cd8b5ee863c3d472e52278035498ec3fc3f5702932c71def6cc45 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:53:32.746Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:1522ab26941e845286473a63852d2df7c1cc35f3-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:53:33.108Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:1522ab26941e845286473a63852d2df7c1cc35f3-3.0.0-dev.12 [2023-02-15T18:53:33.108Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-15T18:53:33.108Z] b999f2e2d963: Preparing [2023-02-15T18:53:33.108Z] 524d7461d655: Preparing [2023-02-15T18:53:33.108Z] 94be9694d5ed: Preparing [2023-02-15T18:53:33.108Z] 926a9619a762: Preparing [2023-02-15T18:53:33.108Z] f70ee36035b9: Preparing [2023-02-15T18:53:33.108Z] f70ee36035b9: Layer already exists [2023-02-15T18:53:33.108Z] 926a9619a762: Layer already exists [2023-02-15T18:53:33.108Z] 524d7461d655: Layer already exists [2023-02-15T18:53:33.108Z] 94be9694d5ed: Layer already exists [2023-02-15T18:53:33.108Z] b999f2e2d963: Layer already exists [2023-02-15T18:53:33.377Z] 1522ab26941e845286473a63852d2df7c1cc35f3-3.0.0-dev.12: digest: sha256:a77c9023808cd8b5ee863c3d472e52278035498ec3fc3f5702932c71def6cc45 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:53:33.742Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:53:34.102Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-02-15T18:53:34.102Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-15T18:53:34.102Z] b999f2e2d963: Preparing [2023-02-15T18:53:34.102Z] 524d7461d655: Preparing [2023-02-15T18:53:34.102Z] 94be9694d5ed: Preparing [2023-02-15T18:53:34.102Z] 926a9619a762: Preparing [2023-02-15T18:53:34.102Z] f70ee36035b9: Preparing [2023-02-15T18:53:34.102Z] b999f2e2d963: Layer already exists [2023-02-15T18:53:34.102Z] 926a9619a762: Layer already exists [2023-02-15T18:53:34.102Z] 94be9694d5ed: Layer already exists [2023-02-15T18:53:34.102Z] f70ee36035b9: Layer already exists [2023-02-15T18:53:34.102Z] 524d7461d655: Layer already exists [2023-02-15T18:53:34.371Z] main: digest: sha256:a77c9023808cd8b5ee863c3d472e52278035498ec3fc3f5702932c71def6cc45 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-15T18:53:34.423Z] ===================================================== [Pipeline] echo [2023-02-15T18:53:34.429Z] taggedImages: [2023-02-15T18:53:34.429Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1522ab26941e845286473a63852d2df7c1cc35f3 [2023-02-15T18:53:34.429Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-02-15T18:53:34.429Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.12 [2023-02-15T18:53:34.429Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:1522ab26941e845286473a63852d2df7c1cc35f3-3.0.0-dev.12 [2023-02-15T18:53:34.429Z] - 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 [2023-02-15T18:53:34.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:53:34.805Z] [2023-02-15T18:53:34.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:53:35.159Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:53:35.430Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T18:53:35.430Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T18:53:35.430Z] 04944245beec: Pulling fs layer [2023-02-15T18:53:35.430Z] 699f458cf7ca: Pulling fs layer [2023-02-15T18:53:35.430Z] 765212b225bb: Pulling fs layer [2023-02-15T18:53:35.430Z] f23df028b6ca: Pulling fs layer [2023-02-15T18:53:35.430Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T18:53:35.430Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T18:53:35.430Z] 765212b225bb: Waiting [2023-02-15T18:53:35.430Z] f23df028b6ca: Waiting [2023-02-15T18:53:35.430Z] d65c8cfc05b1: Waiting [2023-02-15T18:53:35.430Z] 2437ff75d9bd: Waiting [2023-02-15T18:53:35.430Z] 04944245beec: Verifying Checksum [2023-02-15T18:53:35.430Z] 04944245beec: Download complete [2023-02-15T18:53:35.430Z] 765212b225bb: Verifying Checksum [2023-02-15T18:53:35.430Z] 765212b225bb: Download complete [2023-02-15T18:53:35.705Z] f23df028b6ca: Verifying Checksum [2023-02-15T18:53:35.705Z] f23df028b6ca: Download complete [2023-02-15T18:53:35.705Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T18:53:35.705Z] d65c8cfc05b1: Download complete [2023-02-15T18:53:35.705Z] 699f458cf7ca: Verifying Checksum [2023-02-15T18:53:35.705Z] 699f458cf7ca: Download complete [2023-02-15T18:53:35.977Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T18:53:35.977Z] 8998bd30e6a1: Download complete [2023-02-15T18:53:38.572Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T18:53:38.572Z] 2437ff75d9bd: Download complete [2023-02-15T18:53:39.987Z] 8998bd30e6a1: Pull complete [2023-02-15T18:53:40.581Z] 04944245beec: Pull complete [2023-02-15T18:53:41.997Z] 699f458cf7ca: Pull complete [2023-02-15T18:53:42.265Z] 765212b225bb: Pull complete [2023-02-15T18:53:42.850Z] f23df028b6ca: Pull complete [2023-02-15T18:53:43.117Z] d65c8cfc05b1: Pull complete [2023-02-15T18:53:58.117Z] 2437ff75d9bd: Pull complete [2023-02-15T18:53:58.117Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T18:53:58.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:53:58.117Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:53:58.346Z] prd-ubuntu20.04-docker-arm64-4c-16g-6184 does not seem to be running inside a container [2023-02-15T18:53:58.437Z] $ 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/83 -v /w/workspace/device-virtual-go/83:/w/workspace/device-virtual-go/83:rw,z -v /w/workspace/device-virtual-go/83@tmp:/w/workspace/device-virtual-go/83@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:arm64 cat [2023-02-15T18:54:01.277Z] $ docker top cf462269356d323fd53c85ff625867ae6003644980a0c4d16820eeeb58eb7e04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:54:02.151Z] ---> job-cost.sh [2023-02-15T18:54:02.151Z] lf-activate-venv: SKIPPING [2023-02-15T18:54:02.151Z] INFO: No Stack... [2023-02-15T18:54:02.736Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T18:54:03.703Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:54:04.356Z] + cat /w/workspace/device-virtual-go/83/archives/cost.csv [2023-02-15T18:54:04.356Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T18:54:04.451Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-83-stack-cost] [2023-02-15T18:54:04.456Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-83-stack-cost] did not exist. Created. [2023-02-15T18:54:04.456Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:54:05.128Z] /w/workspace/device-virtual-go/83@tmp/durable-ff4b48a8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T18:54:05.806Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T18:54:05.831Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T18:54:05.892Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:54:05.901Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:54:05.924Z] $ docker stop --time=1 cf462269356d323fd53c85ff625867ae6003644980a0c4d16820eeeb58eb7e04 [2023-02-15T18:54:07.524Z] $ docker rm -f --volumes cf462269356d323fd53c85ff625867ae6003644980a0c4d16820eeeb58eb7e04 [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 [2023-02-15T18:54:07.930Z] provisioning config files... [2023-02-15T18:54:07.937Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17206472332793478521tmp [Pipeline] { [Pipeline] sh [2023-02-15T18:54:08.225Z] + set +x [2023-02-15T18:54:08.225Z] + curl -s https://codecov.io/bash [2023-02-15T18:54:08.225Z] + bash -s -- [2023-02-15T18:54:08.225Z] [2023-02-15T18:54:08.225Z] _____ _ [2023-02-15T18:54:08.225Z] / ____| | | [2023-02-15T18:54:08.225Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T18:54:08.225Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T18:54:08.225Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T18:54:08.225Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T18:54:08.225Z] Bash-1.0.6 [2023-02-15T18:54:08.225Z] [2023-02-15T18:54:08.225Z] [2023-02-15T18:54:08.225Z] ==> git version 2.25.1 found [2023-02-15T18:54:08.225Z] ==> 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 [2023-02-15T18:54:08.225Z] Release-Date: 2020-01-08 [2023-02-15T18:54:08.225Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-15T18:54:08.225Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T18:54:08.225Z] ==> Jenkins CI detected. [2023-02-15T18:54:08.225Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-02-15T18:54:08.225Z] project root: . [2023-02-15T18:54:08.225Z] --> token set from env [2023-02-15T18:54:08.225Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T18:54:08.225Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T18:54:08.225Z] ==> Python coveragepy not found [2023-02-15T18:54:08.225Z] ==> Searching for coverage reports in: [2023-02-15T18:54:08.225Z] + . [2023-02-15T18:54:08.225Z] -> Found 1 reports [2023-02-15T18:54:08.225Z] ==> Detecting git/mercurial file structure [2023-02-15T18:54:08.225Z] ==> Reading reports [2023-02-15T18:54:08.225Z] + ./coverage.out bytes=44128 [2023-02-15T18:54:08.484Z] ==> Appending adjustments [2023-02-15T18:54:08.484Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T18:54:08.484Z] + Found adjustments [2023-02-15T18:54:08.484Z] ==> Gzipping contents [2023-02-15T18:54:08.484Z] 8.0K /tmp/codecov.P58JXP.gz [2023-02-15T18:54:08.484Z] ==> Uploading reports [2023-02-15T18:54:08.484Z] url: https://codecov.io [2023-02-15T18:54:08.484Z] query: branch=main&commit=1522ab26941e845286473a63852d2df7c1cc35f3&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-15T18:54:08.484Z] -> Pinging Codecov [2023-02-15T18:54:08.484Z] 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=1522ab26941e845286473a63852d2df7c1cc35f3&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-15T18:54:08.742Z] -> Uploading to [2023-02-15T18:54:08.742Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/5E52B4B073DB2E39498172D8E973AA87/1522ab26941e845286473a63852d2df7c1cc35f3/d0b0fa5b-daaa-4528-b9ea-1748f6335398.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T185408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62d82de5ac5b3ea97c1a9218a465d087b24b6f6aa6ea72647481fd8dae905695 [2023-02-15T18:54:08.742Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:54:08.742Z] Dload Upload Total Spent Left Speed [2023-02-15T18:54:09.059Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5490 0 0 100 5490 0 27044 --:--:-- --:--:-- --:--:-- 26911 100 5490 0 0 100 5490 0 17766 --:--:-- --:--:-- --:--:-- 17709 [2023-02-15T18:54:09.059Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/1522ab26941e845286473a63852d2df7c1cc35f3 [Pipeline] } [2023-02-15T18:54:09.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-15T18:54:09.196Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-15T18:54:09.207Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:54:09.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T18:54:09.504Z] [2023-02-15T18:54:09.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:54:09.808Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T18:54:09.808Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-15T18:54:09.808Z] df9b9388f04a: Pulling fs layer [2023-02-15T18:54:09.808Z] 52dc419b0ee2: Pulling fs layer [2023-02-15T18:54:09.808Z] 25bc292e5bac: Pulling fs layer [2023-02-15T18:54:09.808Z] 114826534d7a: Pulling fs layer [2023-02-15T18:54:09.808Z] 4657fd5d0bcf: Pulling fs layer [2023-02-15T18:54:09.808Z] 6ad1cebc031e: Pulling fs layer [2023-02-15T18:54:09.808Z] 8a3aa393b2d8: Pulling fs layer [2023-02-15T18:54:09.808Z] 114826534d7a: Waiting [2023-02-15T18:54:09.808Z] 8a3aa393b2d8: Waiting [2023-02-15T18:54:09.808Z] 4657fd5d0bcf: Waiting [2023-02-15T18:54:09.808Z] 6ad1cebc031e: Waiting [2023-02-15T18:54:09.808Z] 25bc292e5bac: Download complete [2023-02-15T18:54:09.808Z] 52dc419b0ee2: Download complete [2023-02-15T18:54:09.808Z] 4657fd5d0bcf: Verifying Checksum [2023-02-15T18:54:09.808Z] 4657fd5d0bcf: Download complete [2023-02-15T18:54:09.808Z] df9b9388f04a: Download complete [2023-02-15T18:54:10.068Z] df9b9388f04a: Pull complete [2023-02-15T18:54:10.342Z] 6ad1cebc031e: Verifying Checksum [2023-02-15T18:54:10.342Z] 6ad1cebc031e: Download complete [2023-02-15T18:54:10.342Z] 52dc419b0ee2: Pull complete [2023-02-15T18:54:10.342Z] 25bc292e5bac: Pull complete [2023-02-15T18:54:11.364Z] 114826534d7a: Verifying Checksum [2023-02-15T18:54:11.364Z] 114826534d7a: Download complete [2023-02-15T18:54:11.364Z] 8a3aa393b2d8: Verifying Checksum [2023-02-15T18:54:11.364Z] 8a3aa393b2d8: Download complete [2023-02-15T18:54:15.552Z] 114826534d7a: Pull complete [2023-02-15T18:54:15.552Z] 4657fd5d0bcf: Pull complete [2023-02-15T18:54:15.552Z] 6ad1cebc031e: Pull complete [2023-02-15T18:54:18.838Z] 8a3aa393b2d8: Pull complete [2023-02-15T18:54:18.838Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-15T18:54:18.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-15T18:54:18.838Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:54:18.921Z] prd-ubuntu20.04-docker-8c-8g-6173 does not seem to be running inside a container [2023-02-15T18:54:18.957Z] $ 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 [2023-02-15T18:54:22.438Z] $ docker top b7e48443ce6d3f408d51bc877ec0208b00b0c8c8339b253f78a4d3dc8360cf20 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-15T18:54:22.507Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-02-15T18:54:22.786Z] + set -o pipefail [2023-02-15T18:54:22.786Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-02-15T18:54:29.367Z] [2023-02-15T18:54:29.367Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-02-15T18:54:29.367Z] [2023-02-15T18:54:29.367Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/816963f6-a22c-40ab-9c86-a911d127ffd9 [2023-02-15T18:54:29.367Z] [2023-02-15T18:54:29.367Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-02-15T18:54:29.367Z] [2023-02-15T18:54:29.367Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-15T18:54:29.367Z] [2023-02-15T18:54:30.769Z] [2023-02-15T18:54:30.769Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-15T18:54:30.769Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-15T18:54:30.769Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-15T18:54:30.786Z] $ docker stop --time=1 b7e48443ce6d3f408d51bc877ec0208b00b0c8c8339b253f78a4d3dc8360cf20 [2023-02-15T18:54:33.997Z] $ docker rm -f --volumes b7e48443ce6d3f408d51bc877ec0208b00b0c8c8339b253f78a4d3dc8360cf20 [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 [2023-02-15T18:54:34.726Z] + git log --format=format:%s -1 1522ab26941e845286473a63852d2df7c1cc35f3 [Pipeline] sh [2023-02-15T18:54:35.017Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:54:35.017Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:54:35.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:54:35.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:54:35.389Z] prd-ubuntu20.04-docker-8c-8g-6173 does not seem to be running inside a container [2023-02-15T18:54:35.419Z] $ 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 [2023-02-15T18:54:35.821Z] $ docker top 8e81f07241739de86004a2b914175693418c7196b0caee901a78aa24ca478b0a -eo pid,comm [2023-02-15T18:54:35.867Z] 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). [2023-02-15T18:54:35.867Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:54:35.906Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:54:35.906Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:54:36.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:54:36.014Z] $ docker exec 8e81f07241739de86004a2b914175693418c7196b0caee901a78aa24ca478b0a ssh-agent [2023-02-15T18:54:36.123Z] SSH_AUTH_SOCK=/tmp/ssh-OetRu9p0PgK8/agent.32 [2023-02-15T18:54:36.123Z] SSH_AGENT_PID=38 [2023-02-15T18:54:36.128Z] Running ssh-add (command line suppressed) [2023-02-15T18:54:36.235Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_845415352757695345.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_845415352757695345.key) [2023-02-15T18:54:36.245Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:54:36.532Z] + git semver tag [2023-02-15T18:54:36.792Z] 2023-02-15 18:54:36,762 [run_tag] DEBUG tag force:False [2023-02-15T18:54:36.792Z] 2023-02-15 18:54:36,762 [check_head_tag] DEBUG check head tag [2023-02-15T18:54:36.792Z] 2023-02-15 18:54:36,763 [execute] INFO git cat-file --batch-check [2023-02-15T18:54:36.792Z] 2023-02-15 18:54:36,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-02-15T18:54:36.792Z] 2023-02-15 18:54:36,768 [execute] INFO git cat-file --batch [2023-02-15T18:54:36.792Z] 2023-02-15 18:54:36,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-02-15T18:54:36.792Z] 2023-02-15 18:54:36,792 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-15T18:54:36.792Z] 2023-02-15 18:54:36,793 [execute] INFO git tag -a v3.0.0-dev.12 -m v3.0.0-dev.12 [2023-02-15T18:54:36.792Z] 2023-02-15 18:54:36,793 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.12', '-m', 'v3.0.0-dev.12'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:54:37.051Z] 2023-02-15 18:54:36,799 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-15T18:54:37.051Z] 3.0.0-dev.12 [Pipeline] } [2023-02-15T18:54:37.065Z] $ docker exec --env ******** --env ******** 8e81f07241739de86004a2b914175693418c7196b0caee901a78aa24ca478b0a ssh-agent -k [2023-02-15T18:54:37.185Z] unset SSH_AUTH_SOCK; [2023-02-15T18:54:37.185Z] unset SSH_AGENT_PID; [2023-02-15T18:54:37.185Z] echo Agent pid 38 killed; [2023-02-15T18:54:37.191Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:54:37.487Z] + git semver [Pipeline] } [2023-02-15T18:54:37.764Z] $ docker stop --time=1 8e81f07241739de86004a2b914175693418c7196b0caee901a78aa24ca478b0a [2023-02-15T18:54:39.036Z] $ docker rm -f --volumes 8e81f07241739de86004a2b914175693418c7196b0caee901a78aa24ca478b0a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:54:39.461Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T18:54:39.461Z] [2023-02-15T18:54:39.461Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:54:39.765Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T18:54:39.765Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-15T18:54:39.765Z] ab5ef0e58194: Pulling fs layer [2023-02-15T18:54:39.765Z] 9712f1f96733: Pulling fs layer [2023-02-15T18:54:39.765Z] 63f879dbbcfc: Pulling fs layer [2023-02-15T18:54:39.765Z] 0d9ebad4ef96: Pulling fs layer [2023-02-15T18:54:39.765Z] e9a5061849ea: Pulling fs layer [2023-02-15T18:54:39.765Z] d747dcd14b5f: Pulling fs layer [2023-02-15T18:54:39.765Z] 2de7ff778b66: Pulling fs layer [2023-02-15T18:54:39.765Z] e9a5061849ea: Waiting [2023-02-15T18:54:39.765Z] 2de7ff778b66: Waiting [2023-02-15T18:54:39.765Z] d747dcd14b5f: Waiting [2023-02-15T18:54:39.765Z] 9712f1f96733: Verifying Checksum [2023-02-15T18:54:40.769Z] 63f879dbbcfc: Verifying Checksum [2023-02-15T18:54:40.769Z] 63f879dbbcfc: Download complete [2023-02-15T18:54:41.085Z] e9a5061849ea: Verifying Checksum [2023-02-15T18:54:41.085Z] e9a5061849ea: Download complete [2023-02-15T18:54:41.361Z] 0d9ebad4ef96: Verifying Checksum [2023-02-15T18:54:41.361Z] 0d9ebad4ef96: Download complete [2023-02-15T18:54:41.361Z] d747dcd14b5f: Download complete [2023-02-15T18:54:41.361Z] ab5ef0e58194: Verifying Checksum [2023-02-15T18:54:41.361Z] ab5ef0e58194: Download complete [2023-02-15T18:54:41.361Z] 2de7ff778b66: Verifying Checksum [2023-02-15T18:54:41.361Z] 2de7ff778b66: Download complete [2023-02-15T18:54:44.641Z] ab5ef0e58194: Pull complete [2023-02-15T18:54:44.641Z] 9712f1f96733: Pull complete [2023-02-15T18:54:45.204Z] 63f879dbbcfc: Pull complete [2023-02-15T18:54:49.385Z] 0d9ebad4ef96: Pull complete [2023-02-15T18:54:49.385Z] e9a5061849ea: Pull complete [2023-02-15T18:54:49.643Z] d747dcd14b5f: Pull complete [2023-02-15T18:54:51.017Z] 2de7ff778b66: Pull complete [2023-02-15T18:54:51.017Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-15T18:54:51.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-15T18:54:51.017Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:54:51.092Z] prd-ubuntu20.04-docker-8c-8g-6173 does not seem to be running inside a container [2023-02-15T18:54:51.129Z] $ 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 [2023-02-15T18:54:56.321Z] $ docker top 3e93c3e2cccedc0eb6ef52dc073176b4b148b4718e76ae7ab54d3c5334448ba6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:54:56.400Z] provisioning config files... [2023-02-15T18:54:56.407Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1369136321866082823tmp [2023-02-15T18:54:56.416Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9678824380957897102tmp [2023-02-15T18:54:56.427Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12238659154967496545tmp [Pipeline] { [Pipeline] echo [2023-02-15T18:54:56.444Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:54:56.726Z] ---> sigul-configuration.sh [2023-02-15T18:54:56.726Z] gpg: directory `/root/.gnupg' created [2023-02-15T18:54:56.726Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-15T18:54:56.726Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-15T18:54:56.726Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-15T18:54:56.726Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-15T18:54:56.726Z] gpg: CAST5 encrypted data [2023-02-15T18:54:56.726Z] gpg: encrypted with 1 passphrase [2023-02-15T18:54:56.726Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-15T18:54:57.013Z] + mkdir /home/jenkins [2023-02-15T18:54:57.013Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-15T18:54:57.302Z] + 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 [2023-02-15T18:54:57.312Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:54:57.596Z] ---> sigul-install.sh [2023-02-15T18:54:57.596Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-15T18:54:57.884Z] + git tag --list [2023-02-15T18:54:57.884Z] v1.0.0 [2023-02-15T18:54:57.884Z] v1.1.0 [2023-02-15T18:54:57.884Z] v1.1.1 [2023-02-15T18:54:57.884Z] v1.2.1 [2023-02-15T18:54:57.884Z] v1.2.2 [2023-02-15T18:54:57.884Z] v1.2.3 [2023-02-15T18:54:57.884Z] v1.3.0 [2023-02-15T18:54:57.884Z] v1.3.1 [2023-02-15T18:54:57.884Z] v2.0.0 [2023-02-15T18:54:57.884Z] v2.1.0 [2023-02-15T18:54:57.884Z] v2.1.1 [2023-02-15T18:54:57.884Z] v2.1.1-dev.1 [2023-02-15T18:54:57.884Z] v2.1.1-dev.2 [2023-02-15T18:54:57.884Z] v2.2.0 [2023-02-15T18:54:57.884Z] v2.2.1-dev.1 [2023-02-15T18:54:57.884Z] v2.2.1-dev.2 [2023-02-15T18:54:57.884Z] v2.2.1-dev.3 [2023-02-15T18:54:57.884Z] v2.2.1-dev.4 [2023-02-15T18:54:57.884Z] v2.2.1-dev.5 [2023-02-15T18:54:57.884Z] v2.2.1-dev.6 [2023-02-15T18:54:57.884Z] v2.2.1-dev.7 [2023-02-15T18:54:57.884Z] v2.2.1-dev.8 [2023-02-15T18:54:57.884Z] v2.3.0 [2023-02-15T18:54:57.884Z] v2.3.0-dev.10 [2023-02-15T18:54:57.884Z] v2.3.0-dev.11 [2023-02-15T18:54:57.884Z] v2.3.0-dev.12 [2023-02-15T18:54:57.884Z] v2.3.0-dev.13 [2023-02-15T18:54:57.884Z] v2.3.0-dev.14 [2023-02-15T18:54:57.884Z] v2.3.0-dev.15 [2023-02-15T18:54:57.884Z] v2.3.0-dev.16 [2023-02-15T18:54:57.884Z] v2.3.0-dev.17 [2023-02-15T18:54:57.884Z] v2.3.0-dev.18 [2023-02-15T18:54:57.884Z] v2.3.0-dev.19 [2023-02-15T18:54:57.884Z] v2.3.0-dev.20 [2023-02-15T18:54:57.884Z] v2.3.0-dev.21 [2023-02-15T18:54:57.884Z] v2.3.0-dev.22 [2023-02-15T18:54:57.884Z] v2.3.0-dev.23 [2023-02-15T18:54:57.884Z] v2.3.0-dev.24 [2023-02-15T18:54:57.884Z] v2.3.0-dev.25 [2023-02-15T18:54:57.884Z] v2.3.0-dev.26 [2023-02-15T18:54:57.884Z] v2.3.0-dev.27 [2023-02-15T18:54:57.884Z] v2.3.0-dev.28 [2023-02-15T18:54:57.884Z] v2.3.0-dev.29 [2023-02-15T18:54:57.884Z] v2.3.0-dev.30 [2023-02-15T18:54:57.884Z] v2.3.0-dev.8 [2023-02-15T18:54:57.884Z] v2.3.0-dev.9 [2023-02-15T18:54:57.884Z] v3.0.0-dev.1 [2023-02-15T18:54:57.884Z] v3.0.0-dev.10 [2023-02-15T18:54:57.884Z] v3.0.0-dev.11 [2023-02-15T18:54:57.884Z] v3.0.0-dev.12 [2023-02-15T18:54:57.884Z] v3.0.0-dev.2 [2023-02-15T18:54:57.884Z] v3.0.0-dev.3 [2023-02-15T18:54:57.884Z] v3.0.0-dev.4 [2023-02-15T18:54:57.884Z] v3.0.0-dev.5 [2023-02-15T18:54:57.884Z] v3.0.0-dev.6 [2023-02-15T18:54:57.884Z] v3.0.0-dev.7 [2023-02-15T18:54:57.884Z] v3.0.0-dev.8 [2023-02-15T18:54:57.884Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-15T18:54:58.176Z] + lftools sign git-tag v3.0.0-dev.12 [2023-02-15T18:54:58.745Z] Signing Git tag with Sigul... [2023-02-15T18:54:58.745Z] Signing v3.0.0-dev.12 [Pipeline] echo [2023-02-15T18:54:59.013Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:54:59.294Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-15T18:54:59.301Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-15T18:54:59.325Z] $ docker stop --time=1 3e93c3e2cccedc0eb6ef52dc073176b4b148b4718e76ae7ab54d3c5334448ba6 [2023-02-15T18:55:00.621Z] $ docker rm -f --volumes 3e93c3e2cccedc0eb6ef52dc073176b4b148b4718e76ae7ab54d3c5334448ba6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-15T18:55:01.018Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:55:01.018Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:55:01.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:55:01.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:55:01.383Z] prd-ubuntu20.04-docker-8c-8g-6173 does not seem to be running inside a container [2023-02-15T18:55:01.424Z] $ 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 [2023-02-15T18:55:01.779Z] $ docker top b7cd8db72e5021c7b56e86d009ffe79cd3ddff57ccea818c5b12b292ffe2c7c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:55:01.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:55:01.860Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:55:01.977Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:55:01.984Z] $ docker exec b7cd8db72e5021c7b56e86d009ffe79cd3ddff57ccea818c5b12b292ffe2c7c6 ssh-agent [2023-02-15T18:55:02.099Z] SSH_AUTH_SOCK=/tmp/ssh-D2pIQaGwYjGa/agent.31 [2023-02-15T18:55:02.099Z] SSH_AGENT_PID=37 [2023-02-15T18:55:02.104Z] Running ssh-add (command line suppressed) [2023-02-15T18:55:02.218Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14705901282008474898.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14705901282008474898.key) [2023-02-15T18:55:02.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:55:02.516Z] + git semver bump pre [2023-02-15T18:55:02.775Z] 2023-02-15 18:55:02,718 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-15T18:55:02.775Z] 2023-02-15 18:55:02,718 [bump_version] DEBUG bumping version:3.0.0-dev.12 on axis:pre with prefix:dev [2023-02-15T18:55:02.775Z] 2023-02-15 18:55:02,719 [bump_version] DEBUG bumped version:3.0.0-dev.13 [2023-02-15T18:55:02.775Z] 2023-02-15 18:55:02,719 [write_version] DEBUG write version:3.0.0-dev.13 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-02-15T18:55:02.775Z] 2023-02-15 18:55:02,719 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-15T18:55:02.775Z] 2023-02-15 18:55:02,719 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-15T18:55:02.775Z] 2023-02-15 18:55:02,720 [execute] INFO git cat-file --batch-check [2023-02-15T18:55:02.775Z] 2023-02-15 18:55:02,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:55:02.775Z] 2023-02-15 18:55:02,727 [execute] INFO git cat-file --batch [2023-02-15T18:55:02.775Z] 2023-02-15 18:55:02,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:55:02.775Z] 2023-02-15 18:55:02,733 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-15T18:55:02.775Z] 3.0.0-dev.13 [Pipeline] } [2023-02-15T18:55:02.792Z] $ docker exec --env ******** --env ******** b7cd8db72e5021c7b56e86d009ffe79cd3ddff57ccea818c5b12b292ffe2c7c6 ssh-agent -k [2023-02-15T18:55:02.893Z] unset SSH_AUTH_SOCK; [2023-02-15T18:55:02.893Z] unset SSH_AGENT_PID; [2023-02-15T18:55:02.893Z] echo Agent pid 37 killed; [2023-02-15T18:55:02.899Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:55:03.197Z] + git semver [Pipeline] } [2023-02-15T18:55:03.512Z] $ docker stop --time=1 b7cd8db72e5021c7b56e86d009ffe79cd3ddff57ccea818c5b12b292ffe2c7c6 [2023-02-15T18:55:04.808Z] $ docker rm -f --volumes b7cd8db72e5021c7b56e86d009ffe79cd3ddff57ccea818c5b12b292ffe2c7c6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:55:05.147Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:55:05.148Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:55:05.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:55:05.449Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:55:05.516Z] prd-ubuntu20.04-docker-8c-8g-6173 does not seem to be running inside a container [2023-02-15T18:55:05.550Z] $ 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 [2023-02-15T18:55:05.890Z] $ docker top 80387718e85dcb5e9aee7a795adeec19118c56408f5b4fa82f26075476f06454 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:55:05.980Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:55:05.980Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:55:06.095Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:55:06.103Z] $ docker exec 80387718e85dcb5e9aee7a795adeec19118c56408f5b4fa82f26075476f06454 ssh-agent [2023-02-15T18:55:06.206Z] SSH_AUTH_SOCK=/tmp/ssh-SVLa0wbWei7Q/agent.32 [2023-02-15T18:55:06.206Z] SSH_AGENT_PID=38 [2023-02-15T18:55:06.210Z] Running ssh-add (command line suppressed) [2023-02-15T18:55:06.323Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2073913050521085602.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2073913050521085602.key) [2023-02-15T18:55:06.332Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:55:06.616Z] + git semver push [2023-02-15T18:55:06.876Z] 2023-02-15 18:55:06,805 [run_push] DEBUG push [2023-02-15T18:55:06.876Z] 2023-02-15 18:55:06,806 [execute] INFO git cat-file --batch-check [2023-02-15T18:55:06.876Z] 2023-02-15 18:55:06,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:55:06.876Z] 2023-02-15 18:55:06,810 [execute] INFO git rev-list e861ce9cb3953a9bcf6b5156ca04e89b8e7e7eed -- [2023-02-15T18:55:06.876Z] 2023-02-15 18:55:06,811 [execute] DEBUG Popen(['git', 'rev-list', 'e861ce9cb3953a9bcf6b5156ca04e89b8e7e7eed', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:55:06.876Z] 2023-02-15 18:55:06,820 [execute] INFO git fetch -v origin [2023-02-15T18:55:06.876Z] 2023-02-15 18:55:06,820 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-15T18:55:07.811Z] 2023-02-15 18:55:07,462 [run_push] DEBUG no remote changes detected [2023-02-15T18:55:07.811Z] 2023-02-15 18:55:07,463 [execute] INFO git push origin semver [2023-02-15T18:55:07.811Z] 2023-02-15 18:55:07,463 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:55:08.748Z] 2023-02-15 18:55:08,405 [run_push] DEBUG push all version tags [2023-02-15T18:55:08.748Z] 2023-02-15 18:55:08,406 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-15T18:55:08.748Z] 2023-02-15 18:55:08,406 [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) [2023-02-15T18:55:09.318Z] 2023-02-15 18:55:09,297 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-15T18:55:09.318Z] 3.0.0-dev.13 [Pipeline] } [2023-02-15T18:55:09.333Z] $ docker exec --env ******** --env ******** 80387718e85dcb5e9aee7a795adeec19118c56408f5b4fa82f26075476f06454 ssh-agent -k [2023-02-15T18:55:09.440Z] unset SSH_AUTH_SOCK; [2023-02-15T18:55:09.440Z] unset SSH_AGENT_PID; [2023-02-15T18:55:09.440Z] echo Agent pid 38 killed; [2023-02-15T18:55:09.448Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:55:09.749Z] + git semver [Pipeline] } [2023-02-15T18:55:10.026Z] $ docker stop --time=1 80387718e85dcb5e9aee7a795adeec19118c56408f5b4fa82f26075476f06454 [2023-02-15T18:55:11.310Z] $ docker rm -f --volumes 80387718e85dcb5e9aee7a795adeec19118c56408f5b4fa82f26075476f06454 [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 [2023-02-15T18:55:11.819Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-02-15T18:55:11.819Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-02-15T18:55:11.819Z] total 16 [2023-02-15T18:55:11.819Z] drwxr-xr-x 3 root root 4096 Feb 15 18:43 . [2023-02-15T18:55:11.819Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:54 .. [2023-02-15T18:55:11.819Z] drwxr-xr-x 2 root root 4096 Feb 15 18:43 cost [2023-02-15T18:55:11.819Z] -rw-r--r-- 1 root root 88 Feb 15 18:43 cost.csv [2023-02-15T18:55:11.819Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-02-15T18:55:11.819Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-02-15T18:55:11.819Z] total 16 [2023-02-15T18:55:11.819Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:43 . [2023-02-15T18:55:11.819Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:54 .. [2023-02-15T18:55:11.819Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 18:43 cost [2023-02-15T18:55:11.819Z] -rw-r--r-- 1 jenkins jenkins 88 Feb 15 18:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:55:12.106Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:55:12.971Z] ---> package-listing.sh [2023-02-15T18:55:12.971Z] ++ facter osfamily [2023-02-15T18:55:12.971Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T18:55:13.230Z] + OS_FAMILY=debian [2023-02-15T18:55:13.230Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-02-15T18:55:13.230Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T18:55:13.230Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T18:55:13.230Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T18:55:13.230Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T18:55:13.230Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-02-15T18:55:13.230Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T18:55:13.231Z] + case "${OS_FAMILY}" in [2023-02-15T18:55:13.231Z] + dpkg -l [2023-02-15T18:55:13.231Z] + grep '^ii' [2023-02-15T18:55:13.231Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T18:55:13.231Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T18:55:13.231Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T18:55:13.231Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-02-15T18:55:13.231Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-02-15T18:55:13.231Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2023-02-15T18:55:13.242Z] 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 [2023-02-15T18:55:13.518Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:55:14.093Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:55:14.093Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:55:14.235Z] prd-ubuntu20.04-docker-8c-8g-6173 does not seem to be running inside a container [2023-02-15T18:55:14.322Z] $ 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 [2023-02-15T18:55:14.569Z] $ docker top 06db1dd9b2d43d5a673a81be6b5287a2157d468088097655a0abc0b580ce1452 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:55:14.933Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T18:55:15.220Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T18:55:15.507Z] + ls /var/log/sa-host [2023-02-15T18:55:15.507Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:55:15.581Z] provisioning config files... [2023-02-15T18:55:15.591Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10977280368209833497tmp [Pipeline] { [Pipeline] echo [2023-02-15T18:55:15.607Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:55:15.891Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T18:55:15.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:55:16.231Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T18:55:16.239Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:55:16.523Z] ---> sudo-logs.sh [2023-02-15T18:55:16.523Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T18:55:16.558Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:55:16.845Z] ---> job-cost.sh [2023-02-15T18:55:16.845Z] lf-activate-venv: SKIPPING [2023-02-15T18:55:16.845Z] DEBUG: total: 0.2199999988079071 [2023-02-15T18:55:16.845Z] INFO: Retrieving Stack Cost... [2023-02-15T18:55:17.104Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:55:17.670Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T18:55:17.684Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:55:17.969Z] ---> logs-deploy.sh [2023-02-15T18:55:17.969Z] lf-activate-venv: SKIPPING [2023-02-15T18:55:17.969Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/83 [2023-02-15T18:55:17.969Z] INFO: archiving workspace using pattern(s): [2023-02-15T18:55:18.908Z] Archives upload complete. [2023-02-15T18:55:18.908Z] INFO: archiving logs to Nexus