Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 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-ssh17342037779227245424.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-ssh1495591792408131599.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-ssh17532750208875207230.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-ssh9667605506841786169.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-ssh4384259669092202882.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-5002 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 bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 (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 bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 # timeout=10 Commit message: "feat!: Use latest SDK for MessageBus Request API (#337)" > git rev-list --no-walk b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-07T22:44:39.859Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-07T22:44:39.916Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-07T22:44:39.932Z] ========================================================= [2023-02-07T22:44:39.932Z] EdgeX Global Pipelines Version Info [2023-02-07T22:44:39.932Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:44:40.633Z] ------------------- [2023-02-07T22:44:40.633Z] stable info: [2023-02-07T22:44:40.633Z] ------------------- [2023-02-07T22:44:40.633Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-07T22:44:40.633Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:44:40.633Z] Message: update stable to v1.0.244 [2023-02-07T22:44:41.208Z] ------------------- [2023-02-07T22:44:41.208Z] experimental info: [2023-02-07T22:44:41.208Z] ------------------- [2023-02-07T22:44:41.208Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-07T22:44:41.208Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:44:41.208Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-07T22:44:41.381Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-02-07T22:44:41.392Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-02-07T22:44:41.404Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-07T22:44:41.416Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-07T22:44:41.426Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-07T22:44:41.438Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-07T22:44:41.450Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-07T22:44:41.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-07T22:44:41.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-07T22:44:41.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-07T22:44:41.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-07T22:44:41.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-02-07T22:44:41.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-07T22:44:41.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-07T22:44:41.548Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:44:41.556Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:44:41.565Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:44:41.577Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:44:41.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-07T22:44:41.600Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-07T22:44:41.614Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-07T22:44:41.632Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-07T22:44:41.644Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-07T22:44:41.658Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-07T22:44:41.669Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-07T22:44:41.682Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-07T22:44:41.694Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-07T22:44:41.709Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-07T22:44:41.717Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-07T22:44:41.726Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-07T22:44:41.734Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [Pipeline] echo [2023-02-07T22:44:41.742Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc2d63b [Pipeline] echo [2023-02-07T22:44:41.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:44:41.792Z] provisioning config files... [2023-02-07T22:44:41.805Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6777607442754955022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:44:42.102Z] ---> docker-login.sh [2023-02-07T22:44:42.102Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:44:42.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:44:42.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:44:42.361Z] Configure a credential helper to remove this warning. See [2023-02-07T22:44:42.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:44:42.361Z] [2023-02-07T22:44:42.361Z] Login Succeeded [2023-02-07T22:44:42.361Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:44:42.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:44:42.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:44:42.620Z] Configure a credential helper to remove this warning. See [2023-02-07T22:44:42.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:44:42.620Z] [2023-02-07T22:44:42.620Z] Login Succeeded [2023-02-07T22:44:42.620Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:44:42.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:44:42.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:44:42.620Z] Configure a credential helper to remove this warning. See [2023-02-07T22:44:42.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:44:42.620Z] [2023-02-07T22:44:42.620Z] Login Succeeded [2023-02-07T22:44:42.620Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:44:42.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:44:42.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:44:42.878Z] Configure a credential helper to remove this warning. See [2023-02-07T22:44:42.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:44:42.878Z] [2023-02-07T22:44:42.878Z] Login Succeeded [2023-02-07T22:44:42.878Z] docker.io [2023-02-07T22:44:42.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:44:43.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:44:43.137Z] Configure a credential helper to remove this warning. See [2023-02-07T22:44:43.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:44:43.137Z] [2023-02-07T22:44:43.137Z] Login Succeeded [2023-02-07T22:44:43.137Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:44:43.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-07T22:44:43.513Z] + git rev-list -1 --merges bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1~1..bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [Pipeline] echo [2023-02-07T22:44:43.562Z] -----------> git rev-list -1 --merges bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1~1..bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [false] [Pipeline] sh [2023-02-07T22:44:43.851Z] + git log --format=format:%s -1 bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [Pipeline] echo [2023-02-07T22:44:43.864Z] ========================================================= [2023-02-07T22:44:43.864Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T22:44:43.864Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:44:44.178Z] + git log --format=format:%s -1 bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [Pipeline] echo [2023-02-07T22:44:44.189Z] [semverPrep] GIT_COMMIT: bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1, Commit Message: feat!: Use latest SDK for MessageBus Request API (#337) [Pipeline] echo [2023-02-07T22:44:44.197Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-07T22:44:44.544Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:44:44.544Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-07T22:44:44.544Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-07T22:44:44.544Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-07T22:44:44.544Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-07T22:44:44.544Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-07T22:44:44.544Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:44:44.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:44:44.944Z] [2023-02-07T22:44:44.944Z] 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-07T22:44:45.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:44:45.242Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-07T22:44:45.242Z] b85a868b505f: Pulling fs layer [2023-02-07T22:44:45.242Z] e2be974225ed: Pulling fs layer [2023-02-07T22:44:45.242Z] 339a4e72a1f5: Pulling fs layer [2023-02-07T22:44:45.242Z] 988bab9f4d93: Pulling fs layer [2023-02-07T22:44:45.242Z] 1469e6f7b9e6: Pulling fs layer [2023-02-07T22:44:45.242Z] eaf3925da568: Pulling fs layer [2023-02-07T22:44:45.242Z] bab4dde63d76: Pulling fs layer [2023-02-07T22:44:45.242Z] bde34c3a00c8: Pulling fs layer [2023-02-07T22:44:45.242Z] b352a97aabf1: Pulling fs layer [2023-02-07T22:44:45.242Z] 4872d77fe225: Pulling fs layer [2023-02-07T22:44:45.242Z] 5851b861e8e6: Pulling fs layer [2023-02-07T22:44:45.242Z] 988bab9f4d93: Waiting [2023-02-07T22:44:45.242Z] 4872d77fe225: Waiting [2023-02-07T22:44:45.242Z] 5851b861e8e6: Waiting [2023-02-07T22:44:45.242Z] bde34c3a00c8: Waiting [2023-02-07T22:44:45.242Z] bab4dde63d76: Waiting [2023-02-07T22:44:45.242Z] b352a97aabf1: Waiting [2023-02-07T22:44:45.242Z] 1469e6f7b9e6: Waiting [2023-02-07T22:44:45.242Z] e2be974225ed: Download complete [2023-02-07T22:44:45.242Z] 988bab9f4d93: Verifying Checksum [2023-02-07T22:44:45.242Z] 988bab9f4d93: Download complete [2023-02-07T22:44:45.504Z] 1469e6f7b9e6: Verifying Checksum [2023-02-07T22:44:45.504Z] 1469e6f7b9e6: Download complete [2023-02-07T22:44:45.504Z] 339a4e72a1f5: Verifying Checksum [2023-02-07T22:44:45.504Z] 339a4e72a1f5: Download complete [2023-02-07T22:44:45.765Z] eaf3925da568: Verifying Checksum [2023-02-07T22:44:45.765Z] eaf3925da568: Download complete [2023-02-07T22:44:45.765Z] bde34c3a00c8: Verifying Checksum [2023-02-07T22:44:45.765Z] bde34c3a00c8: Download complete [2023-02-07T22:44:45.765Z] b352a97aabf1: Verifying Checksum [2023-02-07T22:44:45.765Z] b352a97aabf1: Download complete [2023-02-07T22:44:45.765Z] 4872d77fe225: Download complete [2023-02-07T22:44:45.765Z] 5851b861e8e6: Download complete [2023-02-07T22:44:45.765Z] b85a868b505f: Verifying Checksum [2023-02-07T22:44:45.765Z] b85a868b505f: Download complete [2023-02-07T22:44:46.023Z] bab4dde63d76: Verifying Checksum [2023-02-07T22:44:46.023Z] bab4dde63d76: Download complete [2023-02-07T22:44:46.959Z] b85a868b505f: Pull complete [2023-02-07T22:44:47.217Z] e2be974225ed: Pull complete [2023-02-07T22:44:47.477Z] 339a4e72a1f5: Pull complete [2023-02-07T22:44:47.477Z] 988bab9f4d93: Pull complete [2023-02-07T22:44:47.735Z] 1469e6f7b9e6: Pull complete [2023-02-07T22:44:47.993Z] eaf3925da568: Pull complete [2023-02-07T22:44:49.376Z] bab4dde63d76: Pull complete [2023-02-07T22:44:49.634Z] bde34c3a00c8: Pull complete [2023-02-07T22:44:49.634Z] b352a97aabf1: Pull complete [2023-02-07T22:44:49.634Z] 4872d77fe225: Pull complete [2023-02-07T22:44:49.893Z] 5851b861e8e6: Pull complete [2023-02-07T22:44:49.893Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-07T22:44:49.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:44:49.893Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:44:49.990Z] prd-ubuntu20.04-docker-8c-8g-5002 does not seem to be running inside a container [2023-02-07T22:44:50.020Z] $ 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-07T22:44:52.040Z] $ docker top 23e7eea582022ac339dc83c6f62664762826c443b72d38c72131c4d526c7ad23 -eo pid,comm [2023-02-07T22:44:52.097Z] 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-07T22:44:52.097Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:44:52.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:44:52.136Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:44:52.258Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:44:52.260Z] $ docker exec 23e7eea582022ac339dc83c6f62664762826c443b72d38c72131c4d526c7ad23 ssh-agent [2023-02-07T22:44:52.368Z] SSH_AUTH_SOCK=/tmp/ssh-Fdnvr8LCJ7js/agent.32 [2023-02-07T22:44:52.368Z] SSH_AGENT_PID=38 [2023-02-07T22:44:52.374Z] Running ssh-add (command line suppressed) [2023-02-07T22:44:52.488Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13697488995619088947.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13697488995619088947.key) [2023-02-07T22:44:52.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:44:52.790Z] + git tag --points-at HEAD [Pipeline] } [2023-02-07T22:44:52.800Z] $ docker exec --env ******** --env ******** 23e7eea582022ac339dc83c6f62664762826c443b72d38c72131c4d526c7ad23 ssh-agent -k [2023-02-07T22:44:52.884Z] unset SSH_AUTH_SOCK; [2023-02-07T22:44:52.884Z] unset SSH_AGENT_PID; [2023-02-07T22:44:52.885Z] echo Agent pid 38 killed; [2023-02-07T22:44:52.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-07T22:44:52.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:44:52.926Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:44:53.024Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:44:53.024Z] $ docker exec 23e7eea582022ac339dc83c6f62664762826c443b72d38c72131c4d526c7ad23 ssh-agent [2023-02-07T22:44:53.119Z] SSH_AUTH_SOCK=/tmp/ssh-MVSStgQCYOZZ/agent.70 [2023-02-07T22:44:53.119Z] SSH_AGENT_PID=75 [2023-02-07T22:44:53.124Z] Running ssh-add (command line suppressed) [2023-02-07T22:44:53.234Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12789774023042194544.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12789774023042194544.key) [2023-02-07T22:44:53.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:44:53.535Z] + git semver init [2023-02-07T22:44:53.795Z] 2023-02-07 22:44:53,757 [run_init] DEBUG init version:0.0.0 force:False [2023-02-07T22:44:53.795Z] 2023-02-07 22:44:53,758 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-02-07T22:44:53.795Z] 2023-02-07 22:44:53,759 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-02-07T22:44:53.795Z] 2023-02-07 22:44:53,760 [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-07T22:44:55.179Z] 2023-02-07 22:44:55,122 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-02-07T22:44:55.179Z] 2023-02-07 22:44:55,123 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-02-07T22:44:55.179Z] 2023-02-07 22:44:55,123 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-07T22:44:55.179Z] 2023-02-07 22:44:55,123 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-07T22:44:55.179Z] 3.0.0-dev.9 [Pipeline] } [2023-02-07T22:44:55.186Z] $ docker exec --env ******** --env ******** 23e7eea582022ac339dc83c6f62664762826c443b72d38c72131c4d526c7ad23 ssh-agent -k [2023-02-07T22:44:55.283Z] unset SSH_AUTH_SOCK; [2023-02-07T22:44:55.284Z] unset SSH_AGENT_PID; [2023-02-07T22:44:55.284Z] echo Agent pid 75 killed; [2023-02-07T22:44:55.296Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:44:55.596Z] + git semver [Pipeline] } [2023-02-07T22:44:55.867Z] $ docker stop --time=1 23e7eea582022ac339dc83c6f62664762826c443b72d38c72131c4d526c7ad23 [2023-02-07T22:44:57.386Z] $ docker rm -f --volumes 23e7eea582022ac339dc83c6f62664762826c443b72d38c72131c4d526c7ad23 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:44:57.723Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-07T22:44:57.915Z] Stashed 1 file(s) [Pipeline] echo [2023-02-07T22:44:57.921Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.9 [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-07T22:44:58.040Z] provisioning config files... [2023-02-07T22:44:58.048Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17399565673298080882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:44:58.345Z] ---> docker-login.sh [2023-02-07T22:44:58.346Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:44:58.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:44:58.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:44:58.346Z] Configure a credential helper to remove this warning. See [2023-02-07T22:44:58.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:44:58.346Z] [2023-02-07T22:44:58.346Z] Login Succeeded [2023-02-07T22:44:58.346Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:44:58.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:44:58.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:44:58.605Z] Configure a credential helper to remove this warning. See [2023-02-07T22:44:58.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:44:58.605Z] [2023-02-07T22:44:58.605Z] Login Succeeded [2023-02-07T22:44:58.605Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:44:58.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:44:58.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:44:58.605Z] Configure a credential helper to remove this warning. See [2023-02-07T22:44:58.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:44:58.605Z] [2023-02-07T22:44:58.605Z] Login Succeeded [2023-02-07T22:44:58.605Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:44:58.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:44:58.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:44:58.605Z] Configure a credential helper to remove this warning. See [2023-02-07T22:44:58.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:44:58.605Z] [2023-02-07T22:44:58.605Z] Login Succeeded [2023-02-07T22:44:58.605Z] docker.io [2023-02-07T22:44:58.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:44:59.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:44:59.124Z] Configure a credential helper to remove this warning. See [2023-02-07T22:44:59.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:44:59.124Z] [2023-02-07T22:44:59.124Z] Login Succeeded [2023-02-07T22:44:59.124Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:44:59.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:44:59.209Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:44:59.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:44:59.233Z] ========================================================= [2023-02-07T22:44:59.233Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-07T22:44:59.233Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:44:59.544Z] + 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-07T22:44:59.545Z] Sending build context to Docker daemon 23.34MB [2023-02-07T22:44:59.545Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:44:59.545Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-07T22:44:59.545Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-07T22:44:59.545Z] 213ec9aee27d: Pulling fs layer [2023-02-07T22:44:59.545Z] 4583459ba037: Pulling fs layer [2023-02-07T22:44:59.545Z] 93c1e223e6f2: Pulling fs layer [2023-02-07T22:44:59.545Z] 53926ce57604: Pulling fs layer [2023-02-07T22:44:59.545Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-07T22:44:59.545Z] 22ff95d597cd: Pulling fs layer [2023-02-07T22:44:59.545Z] 12d6caf4c0d1: Pulling fs layer [2023-02-07T22:44:59.545Z] 96b7cbca73a9: Pulling fs layer [2023-02-07T22:44:59.545Z] a7acece74701: Pulling fs layer [2023-02-07T22:44:59.545Z] 21b2b0c7a3f4: Waiting [2023-02-07T22:44:59.545Z] 22ff95d597cd: Waiting [2023-02-07T22:44:59.545Z] 12d6caf4c0d1: Waiting [2023-02-07T22:44:59.545Z] 96b7cbca73a9: Waiting [2023-02-07T22:44:59.545Z] a7acece74701: Waiting [2023-02-07T22:44:59.545Z] 53926ce57604: Waiting [2023-02-07T22:44:59.809Z] 93c1e223e6f2: Verifying Checksum [2023-02-07T22:44:59.809Z] 93c1e223e6f2: Download complete [2023-02-07T22:44:59.809Z] 4583459ba037: Download complete [2023-02-07T22:44:59.809Z] 21b2b0c7a3f4: Download complete [2023-02-07T22:44:59.809Z] 22ff95d597cd: Verifying Checksum [2023-02-07T22:44:59.809Z] 22ff95d597cd: Download complete [2023-02-07T22:44:59.809Z] 213ec9aee27d: Verifying Checksum [2023-02-07T22:44:59.809Z] 213ec9aee27d: Download complete [2023-02-07T22:44:59.809Z] 12d6caf4c0d1: Download complete [2023-02-07T22:44:59.809Z] 213ec9aee27d: Pull complete [2023-02-07T22:45:00.082Z] 4583459ba037: Pull complete [2023-02-07T22:45:00.082Z] 93c1e223e6f2: Pull complete [2023-02-07T22:45:01.623Z] 53926ce57604: Verifying Checksum [2023-02-07T22:45:01.623Z] 53926ce57604: Download complete [2023-02-07T22:45:01.623Z] a7acece74701: Verifying Checksum [2023-02-07T22:45:01.623Z] a7acece74701: Download complete [2023-02-07T22:45:01.623Z] 96b7cbca73a9: Verifying Checksum [2023-02-07T22:45:01.623Z] 96b7cbca73a9: Download complete [2023-02-07T22:45:04.917Z] 53926ce57604: Pull complete [2023-02-07T22:45:04.917Z] 21b2b0c7a3f4: Pull complete [2023-02-07T22:45:05.177Z] 22ff95d597cd: Pull complete [2023-02-07T22:45:05.177Z] 12d6caf4c0d1: Pull complete [2023-02-07T22:45:07.077Z] 96b7cbca73a9: Pull complete [2023-02-07T22:45:08.012Z] a7acece74701: Pull complete [2023-02-07T22:45:08.012Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-07T22:45:08.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-07T22:45:08.012Z] ---> db6d94c90886 [2023-02-07T22:45:08.012Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:45:11.301Z] ---> Running in a902dd402a86 [2023-02-07T22:45:11.302Z] Removing intermediate container a902dd402a86 [2023-02-07T22:45:11.302Z] ---> a6b5db022d5f [2023-02-07T22:45:11.302Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:45:11.302Z] ---> Running in 8d2a5ea81735 [2023-02-07T22:45:11.302Z] Removing intermediate container 8d2a5ea81735 [2023-02-07T22:45:11.302Z] ---> 2b3b5f42c6e7 [2023-02-07T22:45:11.302Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:45:11.302Z] ---> Running in f65d44fa30d7 [2023-02-07T22:45:11.563Z] Removing intermediate container f65d44fa30d7 [2023-02-07T22:45:11.563Z] ---> 1f75f4b63e6e [2023-02-07T22:45:11.563Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-07T22:45:11.563Z] ---> Running in 0554c2ee8ce6 [2023-02-07T22:45:11.821Z] Removing intermediate container 0554c2ee8ce6 [2023-02-07T22:45:11.821Z] ---> 0e1d54fb0a57 [2023-02-07T22:45:11.821Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:45:11.821Z] ---> Running in 6c3547e0a09b [2023-02-07T22:45:12.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:45:12.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:45:12.338Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T22:45:12.338Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-07T22:45:12.338Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T22:45:12.338Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T22:45:12.338Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:45:12.338Z] OK: 216 MiB in 55 packages [2023-02-07T22:45:12.905Z] Removing intermediate container 6c3547e0a09b [2023-02-07T22:45:12.905Z] ---> 5be4f5ae272b [2023-02-07T22:45:12.905Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-07T22:45:12.905Z] ---> b52f6c25e4a3 [2023-02-07T22:45:12.905Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:45:12.905Z] ---> Running in 02fe940bde5f [2023-02-07T22:45:13.006Z] Still waiting to schedule task [2023-02-07T22:45:13.006Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5001’ is offline [2023-02-07T22:45:59.625Z] Removing intermediate container 02fe940bde5f [2023-02-07T22:45:59.625Z] ---> 5008b5b5d343 [2023-02-07T22:45:59.625Z] Step 10/12 : COPY . . [2023-02-07T22:45:59.625Z] ---> c962434438ef [2023-02-07T22:45:59.625Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:45:59.625Z] ---> Running in e4ba727a8936 [2023-02-07T22:45:59.625Z] Removing intermediate container e4ba727a8936 [2023-02-07T22:45:59.625Z] ---> a813edd915fb [2023-02-07T22:45:59.625Z] Step 12/12 : RUN $MAKE [2023-02-07T22:45:59.625Z] ---> Running in d1062ff67bc3 [2023-02-07T22:45:59.625Z] noop [2023-02-07T22:45:59.625Z] Removing intermediate container d1062ff67bc3 [2023-02-07T22:45:59.625Z] ---> 76fdcb71d995 [2023-02-07T22:45:59.625Z] Successfully built 76fdcb71d995 [2023-02-07T22:45:59.625Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:45:59.933Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:45:59.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:46:00.006Z] prd-ubuntu20.04-docker-8c-8g-5002 does not seem to be running inside a container [2023-02-07T22:46:00.042Z] $ 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-07T22:46:00.663Z] $ docker top 196df62116801d66697ccb31fe0deba4dcc0091b582e31ae5aed02a9bf10db15 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:46:01.071Z] + go version [2023-02-07T22:46:01.071Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-07T22:46:01.134Z] $ docker stop --time=1 196df62116801d66697ccb31fe0deba4dcc0091b582e31ae5aed02a9bf10db15 [2023-02-07T22:46:02.404Z] $ docker rm -f --volumes 196df62116801d66697ccb31fe0deba4dcc0091b582e31ae5aed02a9bf10db15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:46:02.816Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:46:02.816Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:46:02.890Z] prd-ubuntu20.04-docker-8c-8g-5002 does not seem to be running inside a container [2023-02-07T22:46:02.924Z] $ 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-07T22:46:03.274Z] $ docker top 98f74e6688f083fe6cbeba7d73e02f18e7c83346b15a95378baee03bf958cf97 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:46:03.599Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:46:03.894Z] + make test [2023-02-07T22:46:03.894Z] go test ./... -coverprofile=coverage.out [2023-02-07T22:46:04.151Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-07T22:46:14.178Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-07T22:46:14.178Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements [2023-02-07T22:46:20.743Z] 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-07T22:46:20.743Z] go vet ./... [2023-02-07T22:46:24.041Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:46:24.041Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:46:24.041Z] ./bin/test-attribution-txt.sh [2023-02-07T22:46:24.041Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:46:24.041Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:46:24.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:46:24.072Z] $ docker stop --time=1 98f74e6688f083fe6cbeba7d73e02f18e7c83346b15a95378baee03bf958cf97 [2023-02-07T22:46:26.310Z] $ docker rm -f --volumes 98f74e6688f083fe6cbeba7d73e02f18e7c83346b15a95378baee03bf958cf97 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:46:26.741Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:46:26.794Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-07T22:46:27.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:46:27.619Z] + ls -al . [2023-02-07T22:46:27.619Z] total 192 [2023-02-07T22:46:27.619Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 22:46 . [2023-02-07T22:46:27.619Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:44 .. [2023-02-07T22:46:27.619Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:46 .git [2023-02-07T22:46:27.619Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:44 .github [2023-02-07T22:46:27.619Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 7 22:44 .gitignore [2023-02-07T22:46:27.619Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:44 .golangci.yml [2023-02-07T22:46:27.619Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:44 .semver [2023-02-07T22:46:27.619Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 7 22:44 Attribution.txt [2023-02-07T22:46:27.619Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 7 22:44 CHANGELOG.md [2023-02-07T22:46:27.620Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 7 22:44 Dockerfile [2023-02-07T22:46:27.620Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:44 GOVERNANCE.md [2023-02-07T22:46:27.620Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 7 22:44 Jenkinsfile [2023-02-07T22:46:27.620Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:44 LICENSE [2023-02-07T22:46:27.620Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 7 22:44 Makefile [2023-02-07T22:46:27.620Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 7 22:44 OWNERS.md [2023-02-07T22:46:27.620Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 7 22:44 README.md [2023-02-07T22:46:27.620Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 7 22:44 VERSION [2023-02-07T22:46:27.620Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:44 bin [2023-02-07T22:46:27.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:44 cmd [2023-02-07T22:46:27.620Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 7 22:46 coverage.out [2023-02-07T22:46:27.620Z] -rw-rw-r-- 1 jenkins jenkins 3251 Feb 7 22:44 go.mod [2023-02-07T22:46:27.620Z] -rw-rw-r-- 1 jenkins jenkins 32586 Feb 7 22:44 go.sum [2023-02-07T22:46:27.620Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:44 internal [2023-02-07T22:46:27.620Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:44 snap [2023-02-07T22:46:27.620Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 7 22:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:46:27.929Z] + 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=bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 --label arch=amd64 --label version=3.0.0-dev.9 . [2023-02-07T22:46:27.929Z] Sending build context to Docker daemon 23.38MB [2023-02-07T22:46:27.929Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:46:27.929Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-07T22:46:27.929Z] ---> 76fdcb71d995 [2023-02-07T22:46:27.929Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:46:28.187Z] ---> Running in 07d9cad93a19 [2023-02-07T22:46:28.446Z] Removing intermediate container 07d9cad93a19 [2023-02-07T22:46:28.446Z] ---> cf4f499348f0 [2023-02-07T22:46:28.446Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:46:28.446Z] ---> Running in 0705191c1e51 [2023-02-07T22:46:28.446Z] Removing intermediate container 0705191c1e51 [2023-02-07T22:46:28.446Z] ---> b964b632dbd7 [2023-02-07T22:46:28.446Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:46:28.446Z] ---> Running in bcde7fa23b33 [2023-02-07T22:46:28.446Z] Removing intermediate container bcde7fa23b33 [2023-02-07T22:46:28.446Z] ---> d9326f4c5b8a [2023-02-07T22:46:28.446Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-07T22:46:28.446Z] ---> Running in 2c3b546ef5be [2023-02-07T22:46:28.703Z] Removing intermediate container 2c3b546ef5be [2023-02-07T22:46:28.703Z] ---> c11ba0482619 [2023-02-07T22:46:28.703Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:46:28.703Z] ---> Running in 0d936295ed4d [2023-02-07T22:46:28.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:46:28.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:46:29.221Z] OK: 216 MiB in 55 packages [2023-02-07T22:46:29.789Z] Removing intermediate container 0d936295ed4d [2023-02-07T22:46:29.789Z] ---> 581529cf834b [2023-02-07T22:46:29.789Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-07T22:46:30.056Z] ---> fe3171b50949 [2023-02-07T22:46:30.056Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:46:30.056Z] ---> Running in 6929e973e121 [2023-02-07T22:46:31.959Z] Removing intermediate container 6929e973e121 [2023-02-07T22:46:31.959Z] ---> c86098099826 [2023-02-07T22:46:31.959Z] Step 10/25 : COPY . . [2023-02-07T22:46:32.525Z] ---> e80532663d50 [2023-02-07T22:46:32.526Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:46:32.526Z] ---> Running in b7faef2017f7 [2023-02-07T22:46:32.786Z] Removing intermediate container b7faef2017f7 [2023-02-07T22:46:32.786Z] ---> d44f59e30e02 [2023-02-07T22:46:32.786Z] Step 12/25 : RUN $MAKE [2023-02-07T22:46:32.786Z] ---> Running in 70dad9418eae [2023-02-07T22:46:33.352Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-07T22:46:47.570Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5007 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-02-07T22:46:47.583Z] Running in /w/workspace/device-virtual-go/80 [Pipeline] { [Pipeline] checkout [2023-02-07T22:46:47.633Z] The recommended git tool is: git [2023-02-07T22:46:55.571Z] Removing intermediate container 70dad9418eae [2023-02-07T22:46:55.571Z] ---> 4052743c3eb4 [2023-02-07T22:46:55.571Z] Step 13/25 : FROM alpine:3.16 [2023-02-07T22:46:55.571Z] 3.16: Pulling from library/alpine [2023-02-07T22:46:55.571Z] ca7dd9ec2225: Pulling fs layer [2023-02-07T22:46:55.571Z] ca7dd9ec2225: Verifying Checksum [2023-02-07T22:46:55.571Z] ca7dd9ec2225: Download complete [2023-02-07T22:46:55.571Z] ca7dd9ec2225: Pull complete [2023-02-07T22:46:55.906Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T22:46:55.906Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T22:46:55.906Z] ---> bfe296a52501 [2023-02-07T22:46:55.906Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-07T22:46:56.184Z] ---> Running in 1dd33984b47c [2023-02-07T22:46:56.184Z] Removing intermediate container 1dd33984b47c [2023-02-07T22:46:56.184Z] ---> ec150b0a8228 [2023-02-07T22:46:56.184Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:46:56.444Z] ---> Running in c093ac4d1c39 [2023-02-07T22:46:56.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:46:56.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:46:57.217Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:46:57.217Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:46:57.217Z] OK: 6 MiB in 15 packages [2023-02-07T22:46:58.161Z] Removing intermediate container c093ac4d1c39 [2023-02-07T22:46:58.161Z] ---> 96eb1d1e6743 [2023-02-07T22:46:58.161Z] Step 16/25 : WORKDIR / [2023-02-07T22:46:58.161Z] ---> Running in 6ff9c55999b1 [2023-02-07T22:46:58.560Z] using credential edgex-jenkins-ssh [2023-02-07T22:46:58.581Z] Cloning the remote Git repository [2023-02-07T22:46:58.728Z] Removing intermediate container 6ff9c55999b1 [2023-02-07T22:46:58.728Z] ---> d63b18838534 [2023-02-07T22:46:58.728Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-07T22:46:59.293Z] ---> 8daeeffde07b [2023-02-07T22:46:59.293Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-07T22:46:58.663Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-02-07T22:46:58.777Z] > git init /w/workspace/device-virtual-go/80 # timeout=10 [2023-02-07T22:46:59.029Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-02-07T22:46:59.031Z] > git --version # timeout=10 [2023-02-07T22:46:59.073Z] > git --version # 'git version 2.25.1' [2023-02-07T22:46:59.075Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:46:59.173Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:46:59.861Z] ---> 2601f168d24a [2023-02-07T22:46:59.861Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-07T22:47:00.801Z] ---> 6ec4d1e5844b [2023-02-07T22:47:00.801Z] Step 20/25 : EXPOSE 59900 [2023-02-07T22:47:00.801Z] ---> Running in 8b93cbc91968 [2023-02-07T22:47:01.060Z] Removing intermediate container 8b93cbc91968 [2023-02-07T22:47:01.060Z] ---> 6158cad0c75d [2023-02-07T22:47:01.060Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-07T22:47:01.318Z] ---> Running in e6e7fda48111 [2023-02-07T22:47:01.318Z] Removing intermediate container e6e7fda48111 [2023-02-07T22:47:01.318Z] ---> 79fd03e6760f [2023-02-07T22:47:01.318Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T22:47:01.578Z] ---> Running in 21867340b481 [2023-02-07T22:47:01.838Z] Removing intermediate container 21867340b481 [2023-02-07T22:47:01.838Z] ---> d6434d8313e7 [2023-02-07T22:47:01.838Z] Step 23/25 : LABEL arch=amd64 [2023-02-07T22:47:01.838Z] ---> Running in 51f58be881c1 [2023-02-07T22:47:02.405Z] Removing intermediate container 51f58be881c1 [2023-02-07T22:47:02.405Z] ---> 66c3986b75d3 [2023-02-07T22:47:02.405Z] Step 24/25 : LABEL git_sha=bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [2023-02-07T22:47:02.663Z] ---> Running in a2a310e8c890 [2023-02-07T22:47:02.860Z] Avoid second fetch [2023-02-07T22:47:01.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-02-07T22:47:01.398Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:47:02.860Z] Checking out Revision bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 (main) [2023-02-07T22:47:02.921Z] Removing intermediate container a2a310e8c890 [2023-02-07T22:47:02.921Z] ---> adcabc7ddbae [2023-02-07T22:47:02.921Z] Step 25/25 : LABEL version=3.0.0-dev.9 [2023-02-07T22:47:02.922Z] ---> Running in aeb06a1b09cc [2023-02-07T22:47:03.200Z] Removing intermediate container aeb06a1b09cc [2023-02-07T22:47:03.200Z] ---> 5eb774ccf9f7 [2023-02-07T22:47:03.200Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:47:03.200Z] Successfully built 5eb774ccf9f7 [2023-02-07T22:47:03.459Z] 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-07T22:47:03.575Z] provisioning config files... [2023-02-07T22:47:03.582Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16225963783838479953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:47:03.868Z] Commit message: "feat!: Use latest SDK for MessageBus Request API (#337)" [2023-02-07T22:47:03.876Z] ---> docker-login.sh [2023-02-07T22:47:03.876Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:47:03.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:03.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:03.876Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:03.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:03.876Z] [2023-02-07T22:47:03.876Z] Login Succeeded [2023-02-07T22:47:03.876Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:47:04.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:04.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:04.135Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:04.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:04.135Z] [2023-02-07T22:47:04.135Z] Login Succeeded [2023-02-07T22:47:04.135Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:47:04.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:04.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:04.135Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:04.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:04.135Z] [2023-02-07T22:47:04.135Z] Login Succeeded [2023-02-07T22:47:04.135Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:47:04.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:47:04.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:04.393Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:04.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:04.393Z] [2023-02-07T22:47:04.393Z] Login Succeeded [2023-02-07T22:47:04.393Z] docker.io [2023-02-07T22:47:04.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:02.893Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T22:47:02.923Z] > git checkout -f bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 # timeout=10 [2023-02-07T22:47:04.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:04.651Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:04.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:04.651Z] [2023-02-07T22:47:04.651Z] Login Succeeded [2023-02-07T22:47:04.651Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:47:04.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:47:04.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:47:04.724Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-02-07T22:47:04.725Z] bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [2023-02-07T22:47:04.725Z] latest [2023-02-07T22:47:04.725Z] 3.0.0-dev.9 [2023-02-07T22:47:04.725Z] bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1-3.0.0-dev.9 [2023-02-07T22:47:04.725Z] main [2023-02-07T22:47:04.725Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:04.962Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-07T22:47:04.962Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:47:04.962Z] Dload Upload Total Spent Left Speed [2023-02-07T22:47:04.962Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 132k 0 --:--:-- --:--:-- --:--:-- 133k [2023-02-07T22:47:05.051Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:05.351Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [2023-02-07T22:47:05.351Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-07T22:47:05.351Z] 926c36599a84: Preparing [2023-02-07T22:47:05.351Z] 1de21978a5aa: Preparing [2023-02-07T22:47:05.351Z] 07186e8bf1e7: Preparing [2023-02-07T22:47:05.351Z] eb01dc71c4c7: Preparing [2023-02-07T22:47:05.351Z] e5e13b0c77cb: Preparing [2023-02-07T22:47:05.351Z] e5e13b0c77cb: Layer already exists [2023-02-07T22:47:05.351Z] 1de21978a5aa: Pushed [2023-02-07T22:47:05.351Z] 07186e8bf1e7: Pushed [2023-02-07T22:47:05.351Z] eb01dc71c4c7: Pushed [Pipeline] sh [2023-02-07T22:47:05.972Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-07T22:47:06.311Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-02-07T22:47:06.311Z] /etc/docker/daemon.json [2023-02-07T22:47:06.311Z] { [2023-02-07T22:47:06.311Z] "registry-mirrors": [ [2023-02-07T22:47:06.311Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-07T22:47:06.311Z] ], [2023-02-07T22:47:06.311Z] "bip": "10.250.0.254/24", [2023-02-07T22:47:06.311Z] "hosts": [ [2023-02-07T22:47:06.311Z] "tcp://0.0.0.0:5555", [2023-02-07T22:47:06.311Z] "unix:///var/run/docker.sock" [2023-02-07T22:47:06.311Z] ], [2023-02-07T22:47:06.311Z] "mtu": 1458, [2023-02-07T22:47:06.311Z] "selinux-enabled": true, [2023-02-07T22:47:06.311Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-07T22:47:06.311Z] } [Pipeline] sh [2023-02-07T22:47:06.667Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-07T22:47:07.019Z] + sudo service docker restart [2023-02-07T22:47:07.890Z] 926c36599a84: Pushed [2023-02-07T22:47:07.890Z] bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1: digest: sha256:64cd41af5911b8e6ba85cc58bc3d9289c70046704f3684c72ac2bebf4a75c925 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:08.214Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:08.535Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-02-07T22:47:08.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-07T22:47:08.535Z] 926c36599a84: Preparing [2023-02-07T22:47:08.535Z] 1de21978a5aa: Preparing [2023-02-07T22:47:08.535Z] 07186e8bf1e7: Preparing [2023-02-07T22:47:08.535Z] eb01dc71c4c7: Preparing [2023-02-07T22:47:08.535Z] e5e13b0c77cb: Preparing [2023-02-07T22:47:08.535Z] e5e13b0c77cb: Layer already exists [2023-02-07T22:47:08.535Z] eb01dc71c4c7: Layer already exists [2023-02-07T22:47:08.535Z] 1de21978a5aa: Layer already exists [2023-02-07T22:47:08.535Z] 07186e8bf1e7: Layer already exists [2023-02-07T22:47:08.535Z] 926c36599a84: Layer already exists [2023-02-07T22:47:08.535Z] latest: digest: sha256:64cd41af5911b8e6ba85cc58bc3d9289c70046704f3684c72ac2bebf4a75c925 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:08.861Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:09.184Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.9 [2023-02-07T22:47:09.184Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-07T22:47:09.184Z] 926c36599a84: Preparing [2023-02-07T22:47:09.184Z] 1de21978a5aa: Preparing [2023-02-07T22:47:09.184Z] 07186e8bf1e7: Preparing [2023-02-07T22:47:09.184Z] eb01dc71c4c7: Preparing [2023-02-07T22:47:09.184Z] e5e13b0c77cb: Preparing [2023-02-07T22:47:09.184Z] 1de21978a5aa: Layer already exists [2023-02-07T22:47:09.184Z] eb01dc71c4c7: Layer already exists [2023-02-07T22:47:09.184Z] 926c36599a84: Layer already exists [2023-02-07T22:47:09.184Z] e5e13b0c77cb: Layer already exists [2023-02-07T22:47:09.184Z] 07186e8bf1e7: Layer already exists [2023-02-07T22:47:09.184Z] 3.0.0-dev.9: digest: sha256:64cd41af5911b8e6ba85cc58bc3d9289c70046704f3684c72ac2bebf4a75c925 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:09.499Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:09.805Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1-3.0.0-dev.9 [2023-02-07T22:47:09.805Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-07T22:47:09.805Z] 926c36599a84: Preparing [2023-02-07T22:47:09.805Z] 1de21978a5aa: Preparing [2023-02-07T22:47:09.805Z] 07186e8bf1e7: Preparing [2023-02-07T22:47:09.805Z] eb01dc71c4c7: Preparing [2023-02-07T22:47:09.805Z] e5e13b0c77cb: Preparing [2023-02-07T22:47:09.805Z] 1de21978a5aa: Layer already exists [2023-02-07T22:47:09.805Z] eb01dc71c4c7: Layer already exists [2023-02-07T22:47:09.805Z] 07186e8bf1e7: Layer already exists [2023-02-07T22:47:09.805Z] 926c36599a84: Layer already exists [2023-02-07T22:47:09.805Z] e5e13b0c77cb: Layer already exists [2023-02-07T22:47:09.805Z] bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1-3.0.0-dev.9: digest: sha256:64cd41af5911b8e6ba85cc58bc3d9289c70046704f3684c72ac2bebf4a75c925 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:10.123Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:10.433Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-02-07T22:47:10.433Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-02-07T22:47:10.433Z] 926c36599a84: Preparing [2023-02-07T22:47:10.433Z] 1de21978a5aa: Preparing [2023-02-07T22:47:10.433Z] 07186e8bf1e7: Preparing [2023-02-07T22:47:10.433Z] eb01dc71c4c7: Preparing [2023-02-07T22:47:10.433Z] e5e13b0c77cb: Preparing [2023-02-07T22:47:10.433Z] 07186e8bf1e7: Layer already exists [2023-02-07T22:47:10.433Z] 1de21978a5aa: Layer already exists [2023-02-07T22:47:10.433Z] 926c36599a84: Layer already exists [2023-02-07T22:47:10.433Z] e5e13b0c77cb: Layer already exists [2023-02-07T22:47:10.433Z] eb01dc71c4c7: Layer already exists [2023-02-07T22:47:10.433Z] main: digest: sha256:64cd41af5911b8e6ba85cc58bc3d9289c70046704f3684c72ac2bebf4a75c925 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:47:10.469Z] ===================================================== [Pipeline] echo [2023-02-07T22:47:10.475Z] taggedImages: [2023-02-07T22:47:10.475Z] - nexus3.edgexfoundry.org:10004/device-virtual:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [2023-02-07T22:47:10.475Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-02-07T22:47:10.475Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.9 [2023-02-07T22:47:10.475Z] - nexus3.edgexfoundry.org:10004/device-virtual:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1-3.0.0-dev.9 [2023-02-07T22:47:10.475Z] - 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-07T22:47:10.843Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:47:10.843Z] [2023-02-07T22:47:10.843Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:11.155Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:47:11.421Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-07T22:47:11.421Z] 5eb5b503b376: Pulling fs layer [2023-02-07T22:47:11.421Z] 5c69ac0246d0: Pulling fs layer [2023-02-07T22:47:11.421Z] ec43610c2a17: Pulling fs layer [2023-02-07T22:47:11.421Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-07T22:47:11.421Z] 33b1e0a273af: Pulling fs layer [2023-02-07T22:47:11.421Z] 5d3b04190fa2: Pulling fs layer [2023-02-07T22:47:11.421Z] 2f39f015ded8: Pulling fs layer [2023-02-07T22:47:11.421Z] 3a2ae6a8a46f: Waiting [2023-02-07T22:47:11.421Z] 33b1e0a273af: Waiting [2023-02-07T22:47:11.421Z] 5d3b04190fa2: Waiting [2023-02-07T22:47:11.687Z] 5c69ac0246d0: Verifying Checksum [2023-02-07T22:47:11.687Z] 5c69ac0246d0: Download complete [2023-02-07T22:47:11.687Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-07T22:47:11.687Z] 3a2ae6a8a46f: Download complete [2023-02-07T22:47:11.687Z] 33b1e0a273af: Verifying Checksum [2023-02-07T22:47:11.687Z] 33b1e0a273af: Download complete [2023-02-07T22:47:11.961Z] 5d3b04190fa2: Download complete [2023-02-07T22:47:11.961Z] ec43610c2a17: Verifying Checksum [2023-02-07T22:47:11.961Z] ec43610c2a17: Download complete [2023-02-07T22:47:12.228Z] 5eb5b503b376: Verifying Checksum [2023-02-07T22:47:12.228Z] 5eb5b503b376: Download complete [2023-02-07T22:47:12.811Z] 2f39f015ded8: Download complete [2023-02-07T22:47:13.377Z] 5eb5b503b376: Pull complete [2023-02-07T22:47:13.377Z] 5c69ac0246d0: Pull complete [2023-02-07T22:47:13.945Z] ec43610c2a17: Pull complete [2023-02-07T22:47:14.218Z] 3a2ae6a8a46f: Pull complete [2023-02-07T22:47:14.475Z] 33b1e0a273af: Pull complete [2023-02-07T22:47:14.475Z] 5d3b04190fa2: Pull complete [2023-02-07T22:47:18.657Z] 2f39f015ded8: Pull complete [2023-02-07T22:47:18.657Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-07T22:47:18.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:47:18.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:47:18.726Z] prd-ubuntu20.04-docker-8c-8g-5002 does not seem to be running inside a container [2023-02-07T22:47:18.758Z] $ 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-07T22:47:23.507Z] $ docker top e62e8ba9039125ce597b0d2321790e1331ebb715cd94206547a859522a2af3ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:47:23.924Z] ---> job-cost.sh [2023-02-07T22:47:23.924Z] lf-activate-venv: SKIPPING [2023-02-07T22:47:23.924Z] INFO: No Stack... [2023-02-07T22:47:24.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:47:24.444Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:47:24.734Z] + + cut -d, -f6 [2023-02-07T22:47:24.734Z] cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock [2023-02-07T22:47:24.750Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-80-stack-cost] [2023-02-07T22:47:24.757Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-80-stack-cost] did not exist. Created. [2023-02-07T22:47:24.757Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:47:25.053Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-07T22:47:25.074Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:47:25.080Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:47:25.105Z] $ docker stop --time=1 e62e8ba9039125ce597b0d2321790e1331ebb715cd94206547a859522a2af3ee [2023-02-07T22:47:26.617Z] $ docker rm -f --volumes e62e8ba9039125ce597b0d2321790e1331ebb715cd94206547a859522a2af3ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider [2023-02-07T22:47:26.741Z] provisioning config files... [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-02-07T22:47:26.773Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/80@tmp/config14649838097851236536tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:47:27.139Z] ---> docker-login.sh [2023-02-07T22:47:27.139Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:47:27.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:27.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:27.730Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:27.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:27.730Z] [2023-02-07T22:47:27.730Z] Login Succeeded [2023-02-07T22:47:27.730Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:47:28.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:28.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:28.000Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:28.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:28.000Z] [2023-02-07T22:47:28.000Z] Login Succeeded [2023-02-07T22:47:28.268Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:47:28.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:28.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:28.538Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:28.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:28.538Z] [2023-02-07T22:47:28.538Z] Login Succeeded [2023-02-07T22:47:28.538Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:47:28.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:28.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:28.865Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:28.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:28.865Z] [2023-02-07T22:47:28.865Z] Login Succeeded [2023-02-07T22:47:28.865Z] docker.io [2023-02-07T22:47:29.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:29.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:29.405Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:29.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:29.405Z] [2023-02-07T22:47:29.405Z] Login Succeeded [2023-02-07T22:47:29.405Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:47:29.420Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:47:29.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:47:29.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:47:29.715Z] ========================================================= [2023-02-07T22:47:29.715Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-07T22:47:29.715Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:30.091Z] + 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-07T22:47:30.366Z] Sending build context to Docker daemon 11.82MB [2023-02-07T22:47:30.641Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:47:30.641Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-07T22:47:30.641Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-07T22:47:30.641Z] 9b18e9b68314: Pulling fs layer [2023-02-07T22:47:30.641Z] 35d82f9e3411: Pulling fs layer [2023-02-07T22:47:30.641Z] e16973657156: Pulling fs layer [2023-02-07T22:47:30.641Z] fc693d55d65f: Pulling fs layer [2023-02-07T22:47:30.641Z] 7e9fc2657dce: Pulling fs layer [2023-02-07T22:47:30.641Z] dda99020689f: Pulling fs layer [2023-02-07T22:47:30.641Z] db1c61fa0a46: Pulling fs layer [2023-02-07T22:47:30.641Z] 891c053d2c06: Pulling fs layer [2023-02-07T22:47:30.641Z] 7e9fc2657dce: Waiting [2023-02-07T22:47:30.641Z] db1c61fa0a46: Waiting [2023-02-07T22:47:30.641Z] dda99020689f: Waiting [2023-02-07T22:47:30.641Z] 891c053d2c06: Waiting [2023-02-07T22:47:30.641Z] fc693d55d65f: Waiting [2023-02-07T22:47:30.918Z] e16973657156: Verifying Checksum [2023-02-07T22:47:30.918Z] e16973657156: Download complete [2023-02-07T22:47:30.918Z] 35d82f9e3411: Verifying Checksum [2023-02-07T22:47:30.918Z] 35d82f9e3411: Download complete [2023-02-07T22:47:30.918Z] 7e9fc2657dce: Verifying Checksum [2023-02-07T22:47:30.918Z] 7e9fc2657dce: Download complete [2023-02-07T22:47:30.918Z] dda99020689f: Download complete [2023-02-07T22:47:30.918Z] 9b18e9b68314: Download complete [2023-02-07T22:47:32.346Z] 891c053d2c06: Verifying Checksum [2023-02-07T22:47:32.346Z] 891c053d2c06: Download complete [2023-02-07T22:47:33.495Z] 9b18e9b68314: Pull complete [2023-02-07T22:47:33.495Z] db1c61fa0a46: Verifying Checksum [2023-02-07T22:47:33.495Z] db1c61fa0a46: Download complete [2023-02-07T22:47:34.148Z] 35d82f9e3411: Pull complete [2023-02-07T22:47:34.436Z] e16973657156: Pull complete [2023-02-07T22:47:34.436Z] fc693d55d65f: Verifying Checksum [2023-02-07T22:47:34.437Z] fc693d55d65f: Download complete [2023-02-07T22:47:49.931Z] fc693d55d65f: Pull complete [2023-02-07T22:47:49.931Z] 7e9fc2657dce: Pull complete [2023-02-07T22:47:49.931Z] dda99020689f: Pull complete [2023-02-07T22:47:56.630Z] db1c61fa0a46: Pull complete [2023-02-07T22:47:58.057Z] 891c053d2c06: Pull complete [2023-02-07T22:47:59.499Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-07T22:47:59.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-07T22:47:59.499Z] ---> f96f9c87975a [2023-02-07T22:47:59.499Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:48:00.939Z] ---> Running in 0e9ee83f4093 [2023-02-07T22:48:01.540Z] Removing intermediate container 0e9ee83f4093 [2023-02-07T22:48:01.540Z] ---> 8b004f491c4e [2023-02-07T22:48:01.540Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:48:01.540Z] ---> Running in 6b0f42512638 [2023-02-07T22:48:01.813Z] Removing intermediate container 6b0f42512638 [2023-02-07T22:48:01.813Z] ---> 8d091985eb09 [2023-02-07T22:48:01.813Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:48:01.813Z] ---> Running in 700a570f6667 [2023-02-07T22:48:02.409Z] Removing intermediate container 700a570f6667 [2023-02-07T22:48:02.409Z] ---> 01d63ba5b289 [2023-02-07T22:48:02.409Z] Step 6/12 : WORKDIR /device-virtual-go [2023-02-07T22:48:02.409Z] ---> Running in 8afcd9844619 [2023-02-07T22:48:02.683Z] Removing intermediate container 8afcd9844619 [2023-02-07T22:48:02.683Z] ---> 6f1c5cd51468 [2023-02-07T22:48:02.683Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:48:02.683Z] ---> Running in 3890428a96fd [2023-02-07T22:48:04.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:48:04.375Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:48:05.347Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T22:48:05.347Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-07T22:48:05.347Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T22:48:05.621Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T22:48:05.621Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:48:05.621Z] OK: 226 MiB in 55 packages [2023-02-07T22:48:06.596Z] Removing intermediate container 3890428a96fd [2023-02-07T22:48:06.596Z] ---> 6c54a5ccf9da [2023-02-07T22:48:06.596Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-07T22:48:07.191Z] ---> 349723958448 [2023-02-07T22:48:07.191Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:48:07.191Z] ---> Running in 5650166535eb [2023-02-07T22:49:28.987Z] Removing intermediate container 5650166535eb [2023-02-07T22:49:28.987Z] ---> 6f17d58ace13 [2023-02-07T22:49:28.987Z] Step 10/12 : COPY . . [2023-02-07T22:49:28.987Z] ---> 9b4165289550 [2023-02-07T22:49:28.987Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:49:28.987Z] ---> Running in 5aa9e5abe168 [2023-02-07T22:49:28.987Z] Removing intermediate container 5aa9e5abe168 [2023-02-07T22:49:28.987Z] ---> 22b0ed44b88e [2023-02-07T22:49:28.987Z] Step 12/12 : RUN $MAKE [2023-02-07T22:49:28.987Z] ---> Running in bdcb415b565b [2023-02-07T22:49:28.987Z] noop [2023-02-07T22:49:28.987Z] Removing intermediate container bdcb415b565b [2023-02-07T22:49:28.987Z] ---> 8d598aeec68b [2023-02-07T22:49:28.987Z] Successfully built 8d598aeec68b [2023-02-07T22:49:28.987Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:49:29.392Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:49:29.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:49:29.626Z] prd-ubuntu20.04-docker-arm64-4c-16g-5007 does not seem to be running inside a container [2023-02-07T22:49:29.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/80 -v /w/workspace/device-virtual-go/80:/w/workspace/device-virtual-go/80:rw,z -v /w/workspace/device-virtual-go/80@tmp:/w/workspace/device-virtual-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T22:49:31.008Z] $ docker top ccc7704e07aa918ba85cd037341b5c8e49fca81fbc1e99a02c3b577dd5417581 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:49:31.860Z] + go version [2023-02-07T22:49:31.860Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-07T22:49:31.891Z] $ docker stop --time=1 ccc7704e07aa918ba85cd037341b5c8e49fca81fbc1e99a02c3b577dd5417581 [2023-02-07T22:49:33.541Z] $ docker rm -f --volumes ccc7704e07aa918ba85cd037341b5c8e49fca81fbc1e99a02c3b577dd5417581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:49:34.093Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:49:34.093Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:49:34.289Z] prd-ubuntu20.04-docker-arm64-4c-16g-5007 does not seem to be running inside a container [2023-02-07T22:49:34.383Z] $ 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/80 -v /w/workspace/device-virtual-go/80:/w/workspace/device-virtual-go/80:rw,z -v /w/workspace/device-virtual-go/80@tmp:/w/workspace/device-virtual-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T22:49:35.674Z] $ docker top 7a40d11d8e7a0ca7c9fe92be4a394f2284a9f8af2357c025bc50b138199baace -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:49:36.549Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/80 [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:49:37.218Z] + make test [2023-02-07T22:49:37.218Z] go test ./... -coverprofile=coverage.out [2023-02-07T22:49:39.175Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-02-07T22:51:16.164Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-02-07T22:51:16.164Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.149s coverage: 65.7% of statements [2023-02-07T22:51:16.164Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-07T22:51:16.164Z] go vet ./... [2023-02-07T22:51:38.252Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:51:38.252Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:51:38.252Z] ./bin/test-attribution-txt.sh [2023-02-07T22:51:38.252Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:51:38.252Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:51:38.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:51:38.301Z] $ docker stop --time=1 7a40d11d8e7a0ca7c9fe92be4a394f2284a9f8af2357c025bc50b138199baace [2023-02-07T22:51:40.156Z] $ docker rm -f --volumes 7a40d11d8e7a0ca7c9fe92be4a394f2284a9f8af2357c025bc50b138199baace [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:51:41.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:51:41.177Z] Warning: overwriting stash ‘coverage-report’ [2023-02-07T22:51:41.721Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:51:42.091Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:51:42.421Z] + ls -al . [2023-02-07T22:51:42.421Z] total 188 [2023-02-07T22:51:42.421Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:49 . [2023-02-07T22:51:42.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:46 .. [2023-02-07T22:51:42.421Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:47 .git [2023-02-07T22:51:42.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:47 .github [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 337 Feb 7 22:47 .gitignore [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:47 .golangci.yml [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 8423 Feb 7 22:47 Attribution.txt [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 11367 Feb 7 22:47 CHANGELOG.md [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 1646 Feb 7 22:47 Dockerfile [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:47 GOVERNANCE.md [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 660 Feb 7 22:47 Jenkinsfile [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:47 LICENSE [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 1661 Feb 7 22:47 Makefile [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 623 Feb 7 22:47 OWNERS.md [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 3578 Feb 7 22:47 README.md [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 7 22:44 VERSION [2023-02-07T22:51:42.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:47 bin [2023-02-07T22:51:42.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:47 cmd [2023-02-07T22:51:42.421Z] -rw-r--r-- 1 jenkins jenkins 44128 Feb 7 22:51 coverage.out [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 3251 Feb 7 22:47 go.mod [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 32586 Feb 7 22:47 go.sum [2023-02-07T22:51:42.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:47 internal [2023-02-07T22:51:42.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:47 snap [2023-02-07T22:51:42.421Z] -rw-rw-r-- 1 jenkins jenkins 235 Feb 7 22:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:51:42.770Z] + 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=bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 --label arch=arm64 --label version=3.0.0-dev.9 . [2023-02-07T22:51:43.039Z] Sending build context to Docker daemon 11.86MB [2023-02-07T22:51:43.039Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:51:43.039Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-07T22:51:43.039Z] ---> 8d598aeec68b [2023-02-07T22:51:43.039Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:51:43.307Z] ---> Running in e2158c261049 [2023-02-07T22:51:43.896Z] Removing intermediate container e2158c261049 [2023-02-07T22:51:43.897Z] ---> 0b719f084a79 [2023-02-07T22:51:43.897Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:51:43.897Z] ---> Running in 52e8dc87cd71 [2023-02-07T22:51:44.167Z] Removing intermediate container 52e8dc87cd71 [2023-02-07T22:51:44.167Z] ---> 74ebc33b5b69 [2023-02-07T22:51:44.167Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:51:44.167Z] ---> Running in c94275f096ef [2023-02-07T22:51:44.756Z] Removing intermediate container c94275f096ef [2023-02-07T22:51:44.756Z] ---> 5c2f64dbef4b [2023-02-07T22:51:44.756Z] Step 6/25 : WORKDIR /device-virtual-go [2023-02-07T22:51:44.756Z] ---> Running in 5fee5d79bedb [2023-02-07T22:51:45.032Z] Removing intermediate container 5fee5d79bedb [2023-02-07T22:51:45.032Z] ---> 9e828c985cb4 [2023-02-07T22:51:45.032Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:51:45.032Z] ---> Running in a19aadb897e7 [2023-02-07T22:51:46.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:51:46.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:51:48.160Z] OK: 226 MiB in 55 packages [2023-02-07T22:51:49.138Z] Removing intermediate container a19aadb897e7 [2023-02-07T22:51:49.138Z] ---> f38e3994a51d [2023-02-07T22:51:49.138Z] Step 8/25 : COPY go.mod vendor* ./ [2023-02-07T22:51:49.728Z] ---> f2fcf1e671d1 [2023-02-07T22:51:49.728Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:51:49.728Z] ---> Running in 4e2a41f08c1d [2023-02-07T22:51:53.100Z] Removing intermediate container 4e2a41f08c1d [2023-02-07T22:51:53.100Z] ---> 585b41ef5a41 [2023-02-07T22:51:53.100Z] Step 10/25 : COPY . . [2023-02-07T22:51:54.068Z] ---> 610aaca054ef [2023-02-07T22:51:54.068Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:51:54.068Z] ---> Running in 1e002067c3aa [2023-02-07T22:51:54.338Z] Removing intermediate container 1e002067c3aa [2023-02-07T22:51:54.338Z] ---> 10110cc308ac [2023-02-07T22:51:54.338Z] Step 12/25 : RUN $MAKE [2023-02-07T22:51:54.338Z] ---> Running in 5c15af0da109 [2023-02-07T22:51:55.769Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.9" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-02-07T22:54:36.660Z] Removing intermediate container 5c15af0da109 [2023-02-07T22:54:36.660Z] ---> 1ffd77c745dc [2023-02-07T22:54:36.660Z] Step 13/25 : FROM alpine:3.16 [2023-02-07T22:54:36.660Z] 3.16: Pulling from library/alpine [2023-02-07T22:54:36.660Z] 6875df1f5354: Pulling fs layer [2023-02-07T22:54:36.660Z] 6875df1f5354: Download complete [2023-02-07T22:54:36.660Z] 6875df1f5354: Pull complete [2023-02-07T22:54:36.660Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T22:54:36.660Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T22:54:36.660Z] ---> 2b4661558fb8 [2023-02-07T22:54:36.660Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-02-07T22:54:36.660Z] ---> Running in 73a2dbc0b5ba [2023-02-07T22:54:36.660Z] Removing intermediate container 73a2dbc0b5ba [2023-02-07T22:54:36.660Z] ---> 8434389191b8 [2023-02-07T22:54:36.660Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:54:36.660Z] ---> Running in 487ab9578c10 [2023-02-07T22:54:36.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:54:36.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:54:36.660Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:54:36.660Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:54:36.660Z] OK: 5 MiB in 15 packages [2023-02-07T22:54:36.660Z] Removing intermediate container 487ab9578c10 [2023-02-07T22:54:36.660Z] ---> 93aab58918fa [2023-02-07T22:54:36.660Z] Step 16/25 : WORKDIR / [2023-02-07T22:54:36.660Z] ---> Running in f8c7ee01d2a6 [2023-02-07T22:54:36.660Z] Removing intermediate container f8c7ee01d2a6 [2023-02-07T22:54:36.660Z] ---> 3ef574e42dc6 [2023-02-07T22:54:36.660Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-02-07T22:54:36.660Z] ---> 9ebac6c3f263 [2023-02-07T22:54:36.660Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-02-07T22:54:36.660Z] ---> 9919a5741cb2 [2023-02-07T22:54:36.660Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-02-07T22:54:36.660Z] ---> 0bc841aa3c10 [2023-02-07T22:54:36.660Z] Step 20/25 : EXPOSE 59900 [2023-02-07T22:54:36.660Z] ---> Running in 6bb17ed41545 [2023-02-07T22:54:36.660Z] Removing intermediate container 6bb17ed41545 [2023-02-07T22:54:36.660Z] ---> 1ca358a4a050 [2023-02-07T22:54:36.660Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-02-07T22:54:36.660Z] ---> Running in ebf860dac00f [2023-02-07T22:54:36.660Z] Removing intermediate container ebf860dac00f [2023-02-07T22:54:36.660Z] ---> cc55b8650367 [2023-02-07T22:54:36.660Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T22:54:36.660Z] ---> Running in 4695d95e408a [2023-02-07T22:54:36.660Z] Removing intermediate container 4695d95e408a [2023-02-07T22:54:36.660Z] ---> a07acb2b12ae [2023-02-07T22:54:36.660Z] Step 23/25 : LABEL arch=arm64 [2023-02-07T22:54:36.660Z] ---> Running in c5ab0a12af67 [2023-02-07T22:54:36.660Z] Removing intermediate container c5ab0a12af67 [2023-02-07T22:54:36.660Z] ---> 0572465ad06a [2023-02-07T22:54:36.660Z] Step 24/25 : LABEL git_sha=bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [2023-02-07T22:54:36.660Z] ---> Running in 6bf4ee4e8e84 [2023-02-07T22:54:36.660Z] Removing intermediate container 6bf4ee4e8e84 [2023-02-07T22:54:36.660Z] ---> eb678c7021e1 [2023-02-07T22:54:36.660Z] Step 25/25 : LABEL version=3.0.0-dev.9 [2023-02-07T22:54:36.660Z] ---> Running in 7f97ad39e66c [2023-02-07T22:54:36.660Z] Removing intermediate container 7f97ad39e66c [2023-02-07T22:54:36.660Z] ---> 62715ba6f0a0 [2023-02-07T22:54:36.660Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:54:36.660Z] Successfully built 62715ba6f0a0 [2023-02-07T22:54:36.660Z] 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-07T22:54:36.745Z] provisioning config files... [2023-02-07T22:54:36.764Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/80@tmp/config11647181681082699559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:54:37.113Z] ---> docker-login.sh [2023-02-07T22:54:37.113Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:54:37.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:54:37.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:54:37.382Z] Configure a credential helper to remove this warning. See [2023-02-07T22:54:37.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:54:37.382Z] [2023-02-07T22:54:37.382Z] Login Succeeded [2023-02-07T22:54:37.382Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:54:37.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:54:37.922Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:54:37.922Z] Configure a credential helper to remove this warning. See [2023-02-07T22:54:37.922Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:54:37.922Z] [2023-02-07T22:54:37.922Z] Login Succeeded [2023-02-07T22:54:37.922Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:54:38.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:54:38.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:54:38.193Z] Configure a credential helper to remove this warning. See [2023-02-07T22:54:38.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:54:38.193Z] [2023-02-07T22:54:38.193Z] Login Succeeded [2023-02-07T22:54:38.193Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:54:38.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:54:38.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:54:38.785Z] Configure a credential helper to remove this warning. See [2023-02-07T22:54:38.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:54:38.785Z] [2023-02-07T22:54:38.785Z] Login Succeeded [2023-02-07T22:54:38.785Z] docker.io [2023-02-07T22:54:39.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:54:39.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:54:39.325Z] Configure a credential helper to remove this warning. See [2023-02-07T22:54:39.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:54:39.325Z] [2023-02-07T22:54:39.325Z] Login Succeeded [2023-02-07T22:54:39.325Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:54:39.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:54:39.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:54:39.381Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-02-07T22:54:39.381Z] bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [2023-02-07T22:54:39.381Z] latest [2023-02-07T22:54:39.381Z] 3.0.0-dev.9 [2023-02-07T22:54:39.381Z] bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1-3.0.0-dev.9 [2023-02-07T22:54:39.381Z] main [2023-02-07T22:54:39.381Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:54:39.744Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:54:40.094Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [2023-02-07T22:54:40.095Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-07T22:54:40.095Z] 78b0be1e4893: Preparing [2023-02-07T22:54:40.095Z] d9708750ab78: Preparing [2023-02-07T22:54:40.095Z] 0bd0e4dcf372: Preparing [2023-02-07T22:54:40.095Z] 84b0654b891a: Preparing [2023-02-07T22:54:40.095Z] 17bec77d7fdc: Preparing [2023-02-07T22:54:40.095Z] 17bec77d7fdc: Layer already exists [2023-02-07T22:54:40.364Z] 84b0654b891a: Pushed [2023-02-07T22:54:40.364Z] 0bd0e4dcf372: Pushed [2023-02-07T22:54:40.364Z] d9708750ab78: Pushed [2023-02-07T22:54:45.728Z] 78b0be1e4893: Pushed [2023-02-07T22:54:45.728Z] bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1: digest: sha256:9e28e1a8ab7852c42bcaac1b620a86be65c890312a7354bb3507edb265fe71d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:54:46.094Z] + 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-07T22:54:46.450Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-02-07T22:54:46.450Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-07T22:54:46.450Z] 78b0be1e4893: Preparing [2023-02-07T22:54:46.450Z] d9708750ab78: Preparing [2023-02-07T22:54:46.450Z] 0bd0e4dcf372: Preparing [2023-02-07T22:54:46.450Z] 84b0654b891a: Preparing [2023-02-07T22:54:46.450Z] 17bec77d7fdc: Preparing [2023-02-07T22:54:46.450Z] 0bd0e4dcf372: Layer already exists [2023-02-07T22:54:46.450Z] 78b0be1e4893: Layer already exists [2023-02-07T22:54:46.450Z] d9708750ab78: Layer already exists [2023-02-07T22:54:46.450Z] 84b0654b891a: Layer already exists [2023-02-07T22:54:46.450Z] 17bec77d7fdc: Layer already exists [2023-02-07T22:54:46.721Z] latest: digest: sha256:9e28e1a8ab7852c42bcaac1b620a86be65c890312a7354bb3507edb265fe71d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:54:47.077Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:54:47.444Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.9 [2023-02-07T22:54:47.444Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-07T22:54:47.444Z] 78b0be1e4893: Preparing [2023-02-07T22:54:47.444Z] d9708750ab78: Preparing [2023-02-07T22:54:47.444Z] 0bd0e4dcf372: Preparing [2023-02-07T22:54:47.444Z] 84b0654b891a: Preparing [2023-02-07T22:54:47.444Z] 17bec77d7fdc: Preparing [2023-02-07T22:54:47.444Z] d9708750ab78: Layer already exists [2023-02-07T22:54:47.444Z] 0bd0e4dcf372: Layer already exists [2023-02-07T22:54:47.444Z] 84b0654b891a: Layer already exists [2023-02-07T22:54:47.444Z] 78b0be1e4893: Layer already exists [2023-02-07T22:54:47.444Z] 17bec77d7fdc: Layer already exists [2023-02-07T22:54:47.713Z] 3.0.0-dev.9: digest: sha256:9e28e1a8ab7852c42bcaac1b620a86be65c890312a7354bb3507edb265fe71d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:54:48.113Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1-3.0.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:54:48.477Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1-3.0.0-dev.9 [2023-02-07T22:54:48.477Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-07T22:54:48.477Z] 78b0be1e4893: Preparing [2023-02-07T22:54:48.477Z] d9708750ab78: Preparing [2023-02-07T22:54:48.477Z] 0bd0e4dcf372: Preparing [2023-02-07T22:54:48.477Z] 84b0654b891a: Preparing [2023-02-07T22:54:48.477Z] 17bec77d7fdc: Preparing [2023-02-07T22:54:48.477Z] 0bd0e4dcf372: Layer already exists [2023-02-07T22:54:48.477Z] d9708750ab78: Layer already exists [2023-02-07T22:54:48.477Z] 78b0be1e4893: Layer already exists [2023-02-07T22:54:48.477Z] 17bec77d7fdc: Layer already exists [2023-02-07T22:54:48.477Z] 84b0654b891a: Layer already exists [2023-02-07T22:54:48.757Z] bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1-3.0.0-dev.9: digest: sha256:9e28e1a8ab7852c42bcaac1b620a86be65c890312a7354bb3507edb265fe71d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:54:49.138Z] + 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-07T22:54:49.512Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-02-07T22:54:49.512Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-02-07T22:54:49.512Z] 78b0be1e4893: Preparing [2023-02-07T22:54:49.512Z] d9708750ab78: Preparing [2023-02-07T22:54:49.512Z] 0bd0e4dcf372: Preparing [2023-02-07T22:54:49.512Z] 84b0654b891a: Preparing [2023-02-07T22:54:49.512Z] 17bec77d7fdc: Preparing [2023-02-07T22:54:49.512Z] 17bec77d7fdc: Layer already exists [2023-02-07T22:54:49.512Z] d9708750ab78: Layer already exists [2023-02-07T22:54:49.512Z] 84b0654b891a: Layer already exists [2023-02-07T22:54:49.512Z] 78b0be1e4893: Layer already exists [2023-02-07T22:54:49.512Z] 0bd0e4dcf372: Layer already exists [2023-02-07T22:54:49.786Z] main: digest: sha256:9e28e1a8ab7852c42bcaac1b620a86be65c890312a7354bb3507edb265fe71d3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:54:49.842Z] ===================================================== [Pipeline] echo [2023-02-07T22:54:49.850Z] taggedImages: [2023-02-07T22:54:49.850Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [2023-02-07T22:54:49.850Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-02-07T22:54:49.850Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.9 [2023-02-07T22:54:49.850Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1-3.0.0-dev.9 [2023-02-07T22:54:49.850Z] - 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-07T22:54:50.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:54:50.219Z] [2023-02-07T22:54:50.219Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:54:50.579Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:54:50.853Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-07T22:54:50.853Z] 8998bd30e6a1: Pulling fs layer [2023-02-07T22:54:50.853Z] 04944245beec: Pulling fs layer [2023-02-07T22:54:50.853Z] 699f458cf7ca: Pulling fs layer [2023-02-07T22:54:50.853Z] 765212b225bb: Pulling fs layer [2023-02-07T22:54:50.853Z] f23df028b6ca: Pulling fs layer [2023-02-07T22:54:50.853Z] d65c8cfc05b1: Pulling fs layer [2023-02-07T22:54:50.853Z] 2437ff75d9bd: Pulling fs layer [2023-02-07T22:54:50.853Z] 765212b225bb: Waiting [2023-02-07T22:54:50.853Z] f23df028b6ca: Waiting [2023-02-07T22:54:50.853Z] d65c8cfc05b1: Waiting [2023-02-07T22:54:50.853Z] 2437ff75d9bd: Waiting [2023-02-07T22:54:50.853Z] 04944245beec: Verifying Checksum [2023-02-07T22:54:50.853Z] 04944245beec: Download complete [2023-02-07T22:54:50.853Z] 765212b225bb: Verifying Checksum [2023-02-07T22:54:50.853Z] 765212b225bb: Download complete [2023-02-07T22:54:50.853Z] f23df028b6ca: Verifying Checksum [2023-02-07T22:54:50.853Z] f23df028b6ca: Download complete [2023-02-07T22:54:51.125Z] d65c8cfc05b1: Verifying Checksum [2023-02-07T22:54:51.125Z] d65c8cfc05b1: Download complete [2023-02-07T22:54:51.125Z] 699f458cf7ca: Verifying Checksum [2023-02-07T22:54:51.125Z] 699f458cf7ca: Download complete [2023-02-07T22:54:51.716Z] 8998bd30e6a1: Verifying Checksum [2023-02-07T22:54:51.716Z] 8998bd30e6a1: Download complete [2023-02-07T22:54:54.332Z] 2437ff75d9bd: Verifying Checksum [2023-02-07T22:54:54.332Z] 2437ff75d9bd: Download complete [2023-02-07T22:54:55.747Z] 8998bd30e6a1: Pull complete [2023-02-07T22:54:56.335Z] 04944245beec: Pull complete [2023-02-07T22:54:57.753Z] 699f458cf7ca: Pull complete [2023-02-07T22:54:58.022Z] 765212b225bb: Pull complete [2023-02-07T22:54:58.988Z] f23df028b6ca: Pull complete [2023-02-07T22:54:58.988Z] d65c8cfc05b1: Pull complete [2023-02-07T22:55:13.991Z] 2437ff75d9bd: Pull complete [2023-02-07T22:55:13.991Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-07T22:55:13.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:55:13.991Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:55:14.220Z] prd-ubuntu20.04-docker-arm64-4c-16g-5007 does not seem to be running inside a container [2023-02-07T22:55:14.317Z] $ 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/80 -v /w/workspace/device-virtual-go/80:/w/workspace/device-virtual-go/80:rw,z -v /w/workspace/device-virtual-go/80@tmp:/w/workspace/device-virtual-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-07T22:55:17.167Z] $ docker top 341dfe634a9c1da9e5e0e7fee4be4ca921ba81322c86e4e9592d5e86dcdb2a09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:55:18.085Z] ---> job-cost.sh [2023-02-07T22:55:18.085Z] lf-activate-venv: SKIPPING [2023-02-07T22:55:18.085Z] INFO: No Stack... [2023-02-07T22:55:18.672Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-07T22:55:19.256Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:55:19.900Z] + cat /w/workspace/device-virtual-go/80/archives/cost.csv [2023-02-07T22:55:19.900Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T22:55:19.941Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-80-stack-cost] [2023-02-07T22:55:19.946Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-80-stack-cost] did not exist. Created. [2023-02-07T22:55:19.946Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:55:20.618Z] /w/workspace/device-virtual-go/80@tmp/durable-67fe590e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-07T22:55:21.285Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-07T22:55:21.301Z] Warning: overwriting stash ‘stack-cost’ [2023-02-07T22:55:21.357Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:55:21.364Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:55:21.396Z] $ docker stop --time=1 341dfe634a9c1da9e5e0e7fee4be4ca921ba81322c86e4e9592d5e86dcdb2a09 [2023-02-07T22:55:22.960Z] $ docker rm -f --volumes 341dfe634a9c1da9e5e0e7fee4be4ca921ba81322c86e4e9592d5e86dcdb2a09 [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-07T22:55:23.400Z] provisioning config files... [2023-02-07T22:55:23.406Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16741079427024994435tmp [Pipeline] { [Pipeline] sh [2023-02-07T22:55:23.700Z] + set +x [2023-02-07T22:55:23.700Z] + bash -s+ -- [2023-02-07T22:55:23.700Z] curl -s https://codecov.io/bash [2023-02-07T22:55:23.700Z] [2023-02-07T22:55:23.700Z] _____ _ [2023-02-07T22:55:23.700Z] / ____| | | [2023-02-07T22:55:23.700Z] | | ___ __| | ___ ___ _____ __ [2023-02-07T22:55:23.700Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-07T22:55:23.700Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-07T22:55:23.700Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-07T22:55:23.700Z] Bash-1.0.6 [2023-02-07T22:55:23.700Z] [2023-02-07T22:55:23.700Z] [2023-02-07T22:55:23.700Z] ==> git version 2.25.1 found [2023-02-07T22:55:23.700Z] ==> 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-07T22:55:23.700Z] Release-Date: 2020-01-08 [2023-02-07T22:55:23.700Z] 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-07T22:55:23.700Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-07T22:55:23.700Z] ==> Jenkins CI detected. [2023-02-07T22:55:23.700Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-02-07T22:55:23.700Z] project root: . [2023-02-07T22:55:23.700Z] --> token set from env [2023-02-07T22:55:23.700Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-07T22:55:23.700Z] ==> Running gcov in . (disable via -X gcov) [2023-02-07T22:55:23.700Z] ==> Python coveragepy not found [2023-02-07T22:55:23.700Z] ==> Searching for coverage reports in: [2023-02-07T22:55:23.700Z] + . [2023-02-07T22:55:23.701Z] -> Found 1 reports [2023-02-07T22:55:23.701Z] ==> Detecting git/mercurial file structure [2023-02-07T22:55:23.959Z] ==> Reading reports [2023-02-07T22:55:23.959Z] + ./coverage.out bytes=44128 [2023-02-07T22:55:23.959Z] ==> Appending adjustments [2023-02-07T22:55:23.959Z] https://docs.codecov.io/docs/fixing-reports [2023-02-07T22:55:23.959Z] + Found adjustments [2023-02-07T22:55:23.959Z] ==> Gzipping contents [2023-02-07T22:55:23.959Z] 8.0K /tmp/codecov.0EKS5f.gz [2023-02-07T22:55:23.959Z] ==> Uploading reports [2023-02-07T22:55:23.959Z] url: https://codecov.io [2023-02-07T22:55:23.959Z] query: branch=main&commit=bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-07T22:55:23.959Z] -> Pinging Codecov [2023-02-07T22:55:23.959Z] 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=bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-07T22:55:24.220Z] -> Uploading to [2023-02-07T22:55:24.220Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-07/5E52B4B073DB2E39498172D8E973AA87/bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1/c3c5a896-c114-4fae-8998-97c127307498.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T225524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6253348c1e3efad258fcee53d659fb079be0546981b4b00958c95eca2c6eafa2 [2023-02-07T22:55:24.220Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:55:24.220Z] Dload Upload Total Spent Left Speed [2023-02-07T22:55:24.480Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5493 0 0 100 5493 0 16397 --:--:-- --:--:-- --:--:-- 16397 [2023-02-07T22:55:24.480Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [Pipeline] } [2023-02-07T22:55:24.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-07T22:55:24.659Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-07T22:55:24.669Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:24.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-07T22:55:24.964Z] [2023-02-07T22:55:24.964Z] 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-07T22:55:25.269Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-07T22:55:25.269Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-07T22:55:25.269Z] df9b9388f04a: Pulling fs layer [2023-02-07T22:55:25.269Z] 52dc419b0ee2: Pulling fs layer [2023-02-07T22:55:25.269Z] 25bc292e5bac: Pulling fs layer [2023-02-07T22:55:25.269Z] 114826534d7a: Pulling fs layer [2023-02-07T22:55:25.269Z] 4657fd5d0bcf: Pulling fs layer [2023-02-07T22:55:25.269Z] 6ad1cebc031e: Pulling fs layer [2023-02-07T22:55:25.269Z] 8a3aa393b2d8: Pulling fs layer [2023-02-07T22:55:25.269Z] 114826534d7a: Waiting [2023-02-07T22:55:25.269Z] 4657fd5d0bcf: Waiting [2023-02-07T22:55:25.269Z] 6ad1cebc031e: Waiting [2023-02-07T22:55:25.269Z] 8a3aa393b2d8: Waiting [2023-02-07T22:55:25.269Z] 25bc292e5bac: Download complete [2023-02-07T22:55:25.269Z] 52dc419b0ee2: Verifying Checksum [2023-02-07T22:55:25.269Z] 52dc419b0ee2: Download complete [2023-02-07T22:55:25.269Z] 4657fd5d0bcf: Verifying Checksum [2023-02-07T22:55:25.269Z] 4657fd5d0bcf: Download complete [2023-02-07T22:55:25.269Z] df9b9388f04a: Verifying Checksum [2023-02-07T22:55:25.269Z] df9b9388f04a: Download complete [2023-02-07T22:55:25.549Z] df9b9388f04a: Pull complete [2023-02-07T22:55:25.549Z] 52dc419b0ee2: Pull complete [2023-02-07T22:55:25.549Z] 25bc292e5bac: Pull complete [2023-02-07T22:55:25.826Z] 6ad1cebc031e: Verifying Checksum [2023-02-07T22:55:25.826Z] 6ad1cebc031e: Download complete [2023-02-07T22:55:26.832Z] 114826534d7a: Verifying Checksum [2023-02-07T22:55:26.832Z] 114826534d7a: Download complete [2023-02-07T22:55:27.089Z] 8a3aa393b2d8: Verifying Checksum [2023-02-07T22:55:27.089Z] 8a3aa393b2d8: Download complete [2023-02-07T22:55:30.372Z] 114826534d7a: Pull complete [2023-02-07T22:55:30.372Z] 4657fd5d0bcf: Pull complete [2023-02-07T22:55:30.372Z] 6ad1cebc031e: Pull complete [2023-02-07T22:55:32.900Z] 8a3aa393b2d8: Pull complete [2023-02-07T22:55:32.900Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-07T22:55:32.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-07T22:55:32.900Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:55:32.982Z] prd-ubuntu20.04-docker-8c-8g-5002 does not seem to be running inside a container [2023-02-07T22:55:33.019Z] $ 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-07T22:55:36.216Z] $ docker top 5dac1085c3107337eb78670172ba86bd53f051e5047bf86d609ccd1a7059ad39 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-07T22:55:36.273Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-02-07T22:55:36.553Z] + set -o pipefail [2023-02-07T22:55:36.553Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-02-07T22:55:40.748Z] [2023-02-07T22:55:40.748Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-02-07T22:55:40.748Z] [2023-02-07T22:55:40.748Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/cb457922-4249-4904-9c7d-500da29e9de9 [2023-02-07T22:55:40.748Z] [2023-02-07T22:55:40.748Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-02-07T22:55:40.748Z] [2023-02-07T22:55:40.748Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-07T22:55:40.748Z] [2023-02-07T22:55:41.007Z] [2023-02-07T22:55:41.007Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-07T22:55:41.007Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-07T22:55:41.007Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-07T22:55:41.026Z] $ docker stop --time=1 5dac1085c3107337eb78670172ba86bd53f051e5047bf86d609ccd1a7059ad39 [2023-02-07T22:55:43.334Z] $ docker rm -f --volumes 5dac1085c3107337eb78670172ba86bd53f051e5047bf86d609ccd1a7059ad39 [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-07T22:55:44.003Z] + git log --format=format:%s -1 bc2d63b9ed6b53ff0a8b22c7d9a53b96689a65a1 [Pipeline] sh [2023-02-07T22:55:44.294Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:55:44.294Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:44.595Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:55:44.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:55:44.670Z] prd-ubuntu20.04-docker-8c-8g-5002 does not seem to be running inside a container [2023-02-07T22:55:44.710Z] $ 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-07T22:55:45.094Z] $ docker top e2cafde1796c321d9f2f442173d71e8f34e6caf2fb67c5d846e35862f5747837 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:55:45.179Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:55:45.179Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:55:45.302Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:55:45.312Z] $ docker exec e2cafde1796c321d9f2f442173d71e8f34e6caf2fb67c5d846e35862f5747837 ssh-agent [2023-02-07T22:55:45.419Z] SSH_AUTH_SOCK=/tmp/ssh-9nwXwk5dgU1p/agent.33 [2023-02-07T22:55:45.419Z] SSH_AGENT_PID=39 [2023-02-07T22:55:45.423Z] Running ssh-add (command line suppressed) [2023-02-07T22:55:45.560Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8183410945494890521.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8183410945494890521.key) [2023-02-07T22:55:45.568Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:55:45.856Z] + git semver tag [2023-02-07T22:55:46.114Z] 2023-02-07 22:55:46,080 [run_tag] DEBUG tag force:False [2023-02-07T22:55:46.114Z] 2023-02-07 22:55:46,080 [check_head_tag] DEBUG check head tag [2023-02-07T22:55:46.114Z] 2023-02-07 22:55:46,081 [execute] INFO git cat-file --batch-check [2023-02-07T22:55:46.114Z] 2023-02-07 22:55:46,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-02-07T22:55:46.114Z] 2023-02-07 22:55:46,086 [execute] INFO git cat-file --batch [2023-02-07T22:55:46.114Z] 2023-02-07 22:55:46,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-02-07T22:55:46.114Z] 2023-02-07 22:55:46,106 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-07T22:55:46.114Z] 2023-02-07 22:55:46,106 [execute] INFO git tag -a v3.0.0-dev.9 -m v3.0.0-dev.9 [2023-02-07T22:55:46.114Z] 2023-02-07 22:55:46,106 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.9', '-m', 'v3.0.0-dev.9'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:55:46.114Z] 2023-02-07 22:55:46,112 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-07T22:55:46.114Z] 3.0.0-dev.9 [Pipeline] } [2023-02-07T22:55:46.387Z] $ docker exec --env ******** --env ******** e2cafde1796c321d9f2f442173d71e8f34e6caf2fb67c5d846e35862f5747837 ssh-agent -k [2023-02-07T22:55:46.497Z] unset SSH_AUTH_SOCK; [2023-02-07T22:55:46.497Z] unset SSH_AGENT_PID; [2023-02-07T22:55:46.497Z] echo Agent pid 39 killed; [2023-02-07T22:55:46.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:55:46.811Z] + git semver [Pipeline] } [2023-02-07T22:55:47.093Z] $ docker stop --time=1 e2cafde1796c321d9f2f442173d71e8f34e6caf2fb67c5d846e35862f5747837 [2023-02-07T22:55:48.394Z] $ docker rm -f --volumes e2cafde1796c321d9f2f442173d71e8f34e6caf2fb67c5d846e35862f5747837 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:48.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-07T22:55:48.783Z] [2023-02-07T22:55:48.783Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:49.089Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-07T22:55:49.089Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-07T22:55:49.089Z] ab5ef0e58194: Pulling fs layer [2023-02-07T22:55:49.089Z] 9712f1f96733: Pulling fs layer [2023-02-07T22:55:49.089Z] 63f879dbbcfc: Pulling fs layer [2023-02-07T22:55:49.089Z] 0d9ebad4ef96: Pulling fs layer [2023-02-07T22:55:49.089Z] e9a5061849ea: Pulling fs layer [2023-02-07T22:55:49.089Z] d747dcd14b5f: Pulling fs layer [2023-02-07T22:55:49.089Z] 2de7ff778b66: Pulling fs layer [2023-02-07T22:55:49.089Z] 0d9ebad4ef96: Waiting [2023-02-07T22:55:49.089Z] e9a5061849ea: Waiting [2023-02-07T22:55:49.089Z] d747dcd14b5f: Waiting [2023-02-07T22:55:49.089Z] 2de7ff778b66: Waiting [2023-02-07T22:55:49.089Z] 9712f1f96733: Verifying Checksum [2023-02-07T22:55:49.089Z] 9712f1f96733: Download complete [2023-02-07T22:55:50.105Z] 63f879dbbcfc: Verifying Checksum [2023-02-07T22:55:50.105Z] 63f879dbbcfc: Download complete [2023-02-07T22:55:50.385Z] e9a5061849ea: Verifying Checksum [2023-02-07T22:55:50.385Z] e9a5061849ea: Download complete [2023-02-07T22:55:50.653Z] d747dcd14b5f: Download complete [2023-02-07T22:55:50.653Z] ab5ef0e58194: Verifying Checksum [2023-02-07T22:55:50.653Z] ab5ef0e58194: Download complete [2023-02-07T22:55:50.653Z] 0d9ebad4ef96: Verifying Checksum [2023-02-07T22:55:50.653Z] 0d9ebad4ef96: Download complete [2023-02-07T22:55:50.912Z] 2de7ff778b66: Verifying Checksum [2023-02-07T22:55:50.912Z] 2de7ff778b66: Download complete [2023-02-07T22:55:53.438Z] ab5ef0e58194: Pull complete [2023-02-07T22:55:53.438Z] 9712f1f96733: Pull complete [2023-02-07T22:55:54.368Z] 63f879dbbcfc: Pull complete [2023-02-07T22:55:58.554Z] 0d9ebad4ef96: Pull complete [2023-02-07T22:55:58.554Z] e9a5061849ea: Pull complete [2023-02-07T22:55:58.554Z] d747dcd14b5f: Pull complete [2023-02-07T22:55:59.489Z] 2de7ff778b66: Pull complete [2023-02-07T22:55:59.489Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-07T22:55:59.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-07T22:55:59.489Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:55:59.578Z] prd-ubuntu20.04-docker-8c-8g-5002 does not seem to be running inside a container [2023-02-07T22:55:59.632Z] $ 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-07T22:56:02.360Z] $ docker top 917d5f0aa814b7e40ea3cf6b3fa0d6b041fd71584b7c2a4626ff8b364fed2495 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:56:02.423Z] provisioning config files... [2023-02-07T22:56:02.429Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1276101668562286808tmp [2023-02-07T22:56:02.436Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15762761411294077493tmp [2023-02-07T22:56:02.443Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12030818434425672834tmp [Pipeline] { [Pipeline] echo [2023-02-07T22:56:02.458Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:02.745Z] ---> sigul-configuration.sh [2023-02-07T22:56:02.745Z] gpg: directory `/root/.gnupg' created [2023-02-07T22:56:02.745Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-07T22:56:02.745Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-07T22:56:02.745Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-07T22:56:02.745Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-07T22:56:02.745Z] gpg: CAST5 encrypted data [2023-02-07T22:56:02.745Z] gpg: encrypted with 1 passphrase [2023-02-07T22:56:02.745Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-07T22:56:03.043Z] + mkdir /home/jenkins [2023-02-07T22:56:03.043Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-07T22:56:03.327Z] + 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-07T22:56:03.336Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:03.614Z] ---> sigul-install.sh [2023-02-07T22:56:03.614Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-07T22:56:03.898Z] + git tag --list [2023-02-07T22:56:03.898Z] v1.0.0 [2023-02-07T22:56:03.898Z] v1.1.0 [2023-02-07T22:56:03.898Z] v1.1.1 [2023-02-07T22:56:03.898Z] v1.2.1 [2023-02-07T22:56:03.898Z] v1.2.2 [2023-02-07T22:56:03.898Z] v1.2.3 [2023-02-07T22:56:03.898Z] v1.3.0 [2023-02-07T22:56:03.898Z] v1.3.1 [2023-02-07T22:56:03.898Z] v2.0.0 [2023-02-07T22:56:03.898Z] v2.1.0 [2023-02-07T22:56:03.898Z] v2.1.1 [2023-02-07T22:56:03.898Z] v2.1.1-dev.1 [2023-02-07T22:56:03.898Z] v2.1.1-dev.2 [2023-02-07T22:56:03.898Z] v2.2.0 [2023-02-07T22:56:03.898Z] v2.2.1-dev.1 [2023-02-07T22:56:03.898Z] v2.2.1-dev.2 [2023-02-07T22:56:03.898Z] v2.2.1-dev.3 [2023-02-07T22:56:03.898Z] v2.2.1-dev.4 [2023-02-07T22:56:03.898Z] v2.2.1-dev.5 [2023-02-07T22:56:03.898Z] v2.2.1-dev.6 [2023-02-07T22:56:03.898Z] v2.2.1-dev.7 [2023-02-07T22:56:03.898Z] v2.2.1-dev.8 [2023-02-07T22:56:03.898Z] v2.3.0 [2023-02-07T22:56:03.898Z] v2.3.0-dev.10 [2023-02-07T22:56:03.898Z] v2.3.0-dev.11 [2023-02-07T22:56:03.898Z] v2.3.0-dev.12 [2023-02-07T22:56:03.898Z] v2.3.0-dev.13 [2023-02-07T22:56:03.898Z] v2.3.0-dev.14 [2023-02-07T22:56:03.898Z] v2.3.0-dev.15 [2023-02-07T22:56:03.898Z] v2.3.0-dev.16 [2023-02-07T22:56:03.898Z] v2.3.0-dev.17 [2023-02-07T22:56:03.898Z] v2.3.0-dev.18 [2023-02-07T22:56:03.898Z] v2.3.0-dev.19 [2023-02-07T22:56:03.898Z] v2.3.0-dev.20 [2023-02-07T22:56:03.898Z] v2.3.0-dev.21 [2023-02-07T22:56:03.898Z] v2.3.0-dev.22 [2023-02-07T22:56:03.898Z] v2.3.0-dev.23 [2023-02-07T22:56:03.898Z] v2.3.0-dev.24 [2023-02-07T22:56:03.898Z] v2.3.0-dev.25 [2023-02-07T22:56:03.898Z] v2.3.0-dev.26 [2023-02-07T22:56:03.898Z] v2.3.0-dev.27 [2023-02-07T22:56:03.898Z] v2.3.0-dev.28 [2023-02-07T22:56:03.898Z] v2.3.0-dev.29 [2023-02-07T22:56:03.898Z] v2.3.0-dev.30 [2023-02-07T22:56:03.898Z] v2.3.0-dev.8 [2023-02-07T22:56:03.898Z] v2.3.0-dev.9 [2023-02-07T22:56:03.898Z] v3.0.0-dev.1 [2023-02-07T22:56:03.898Z] v3.0.0-dev.2 [2023-02-07T22:56:03.898Z] v3.0.0-dev.3 [2023-02-07T22:56:03.898Z] v3.0.0-dev.4 [2023-02-07T22:56:03.898Z] v3.0.0-dev.5 [2023-02-07T22:56:03.898Z] v3.0.0-dev.6 [2023-02-07T22:56:03.898Z] v3.0.0-dev.7 [2023-02-07T22:56:03.898Z] v3.0.0-dev.8 [2023-02-07T22:56:03.898Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-07T22:56:04.191Z] + lftools sign git-tag v3.0.0-dev.9 [2023-02-07T22:56:04.773Z] Signing Git tag with Sigul... [2023-02-07T22:56:04.773Z] Signing v3.0.0-dev.9 [Pipeline] echo [2023-02-07T22:56:05.041Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:05.339Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-07T22:56:05.346Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-07T22:56:05.370Z] $ docker stop --time=1 917d5f0aa814b7e40ea3cf6b3fa0d6b041fd71584b7c2a4626ff8b364fed2495 [2023-02-07T22:56:06.645Z] $ docker rm -f --volumes 917d5f0aa814b7e40ea3cf6b3fa0d6b041fd71584b7c2a4626ff8b364fed2495 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-07T22:56:07.038Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:56:07.038Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:07.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:56:07.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:56:07.420Z] prd-ubuntu20.04-docker-8c-8g-5002 does not seem to be running inside a container [2023-02-07T22:56:07.462Z] $ 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-07T22:56:07.792Z] $ docker top d69169cd545741d995764c996e5f376d7264dbce3d51f2b97322ca96cc4a575b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:56:07.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:56:07.872Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:56:07.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:56:07.993Z] $ docker exec d69169cd545741d995764c996e5f376d7264dbce3d51f2b97322ca96cc4a575b ssh-agent [2023-02-07T22:56:08.094Z] SSH_AUTH_SOCK=/tmp/ssh-zVCgWqYoyGgR/agent.32 [2023-02-07T22:56:08.094Z] SSH_AGENT_PID=38 [2023-02-07T22:56:08.099Z] Running ssh-add (command line suppressed) [2023-02-07T22:56:08.213Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7549043499699715184.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7549043499699715184.key) [2023-02-07T22:56:08.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:56:08.512Z] + git semver bump pre [2023-02-07T22:56:08.773Z] 2023-02-07 22:56:08,727 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-07T22:56:08.773Z] 2023-02-07 22:56:08,727 [bump_version] DEBUG bumping version:3.0.0-dev.9 on axis:pre with prefix:dev [2023-02-07T22:56:08.773Z] 2023-02-07 22:56:08,727 [bump_version] DEBUG bumped version:3.0.0-dev.10 [2023-02-07T22:56:08.773Z] 2023-02-07 22:56:08,727 [write_version] DEBUG write version:3.0.0-dev.10 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-02-07T22:56:08.773Z] 2023-02-07 22:56:08,727 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-07T22:56:08.773Z] 2023-02-07 22:56:08,728 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-07T22:56:08.773Z] 2023-02-07 22:56:08,730 [execute] INFO git cat-file --batch-check [2023-02-07T22:56:08.773Z] 2023-02-07 22:56:08,730 [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-07T22:56:08.773Z] 2023-02-07 22:56:08,736 [execute] INFO git cat-file --batch [2023-02-07T22:56:08.773Z] 2023-02-07 22:56:08,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:56:08.773Z] 2023-02-07 22:56:08,742 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-07T22:56:08.773Z] 3.0.0-dev.10 [Pipeline] } [2023-02-07T22:56:08.792Z] $ docker exec --env ******** --env ******** d69169cd545741d995764c996e5f376d7264dbce3d51f2b97322ca96cc4a575b ssh-agent -k [2023-02-07T22:56:08.894Z] unset SSH_AUTH_SOCK; [2023-02-07T22:56:08.894Z] unset SSH_AGENT_PID; [2023-02-07T22:56:08.894Z] echo Agent pid 38 killed; [2023-02-07T22:56:08.901Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:56:09.205Z] + git semver [Pipeline] } [2023-02-07T22:56:09.494Z] $ docker stop --time=1 d69169cd545741d995764c996e5f376d7264dbce3d51f2b97322ca96cc4a575b [2023-02-07T22:56:10.760Z] $ docker rm -f --volumes d69169cd545741d995764c996e5f376d7264dbce3d51f2b97322ca96cc4a575b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:56:11.096Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:56:11.096Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:11.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:56:11.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:56:11.469Z] prd-ubuntu20.04-docker-8c-8g-5002 does not seem to be running inside a container [2023-02-07T22:56:11.507Z] $ 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-07T22:56:11.814Z] $ docker top 655060eabe6fa3d4a725c889a07faf4cdd2635f13621cd00c693351101c1c5bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:56:11.893Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:56:11.893Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:56:11.993Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:56:12.005Z] $ docker exec 655060eabe6fa3d4a725c889a07faf4cdd2635f13621cd00c693351101c1c5bc ssh-agent [2023-02-07T22:56:12.117Z] SSH_AUTH_SOCK=/tmp/ssh-1RiB0aPHTqnO/agent.31 [2023-02-07T22:56:12.117Z] SSH_AGENT_PID=37 [2023-02-07T22:56:12.122Z] Running ssh-add (command line suppressed) [2023-02-07T22:56:12.231Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3887829323735259255.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3887829323735259255.key) [2023-02-07T22:56:12.236Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:56:12.520Z] + git semver push [2023-02-07T22:56:12.778Z] 2023-02-07 22:56:12,694 [run_push] DEBUG push [2023-02-07T22:56:12.778Z] 2023-02-07 22:56:12,694 [execute] INFO git cat-file --batch-check [2023-02-07T22:56:12.778Z] 2023-02-07 22:56:12,695 [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-07T22:56:12.778Z] 2023-02-07 22:56:12,699 [execute] INFO git rev-list 9e2fb2c95e5d1ff9eaced5838a9e93e775fc70cf -- [2023-02-07T22:56:12.778Z] 2023-02-07 22:56:12,699 [execute] DEBUG Popen(['git', 'rev-list', '9e2fb2c95e5d1ff9eaced5838a9e93e775fc70cf', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:56:12.778Z] 2023-02-07 22:56:12,707 [execute] INFO git fetch -v origin [2023-02-07T22:56:12.778Z] 2023-02-07 22:56:12,708 [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-07T22:56:13.345Z] 2023-02-07 22:56:13,295 [run_push] DEBUG no remote changes detected [2023-02-07T22:56:13.345Z] 2023-02-07 22:56:13,295 [execute] INFO git push origin semver [2023-02-07T22:56:13.345Z] 2023-02-07 22:56:13,296 [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-07T22:56:14.280Z] 2023-02-07 22:56:14,164 [run_push] DEBUG push all version tags [2023-02-07T22:56:14.280Z] 2023-02-07 22:56:14,165 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-07T22:56:14.280Z] 2023-02-07 22:56:14,165 [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-07T22:56:15.217Z] 2023-02-07 22:56:15,002 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-02-07T22:56:15.217Z] 3.0.0-dev.10 [Pipeline] } [2023-02-07T22:56:15.268Z] $ docker exec --env ******** --env ******** 655060eabe6fa3d4a725c889a07faf4cdd2635f13621cd00c693351101c1c5bc ssh-agent -k [2023-02-07T22:56:15.372Z] unset SSH_AUTH_SOCK; [2023-02-07T22:56:15.373Z] unset SSH_AGENT_PID; [2023-02-07T22:56:15.373Z] echo Agent pid 37 killed; [2023-02-07T22:56:15.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:56:15.747Z] + git semver [Pipeline] } [2023-02-07T22:56:16.087Z] $ docker stop --time=1 655060eabe6fa3d4a725c889a07faf4cdd2635f13621cd00c693351101c1c5bc [2023-02-07T22:56:17.340Z] $ docker rm -f --volumes 655060eabe6fa3d4a725c889a07faf4cdd2635f13621cd00c693351101c1c5bc [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-07T22:56:17.867Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-02-07T22:56:17.867Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-02-07T22:56:17.867Z] total 16 [2023-02-07T22:56:17.867Z] drwxr-xr-x 3 root root 4096 Feb 7 22:47 . [2023-02-07T22:56:17.867Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:56 .. [2023-02-07T22:56:17.867Z] drwxr-xr-x 2 root root 4096 Feb 7 22:47 cost [2023-02-07T22:56:17.867Z] -rw-r--r-- 1 root root 88 Feb 7 22:47 cost.csv [2023-02-07T22:56:17.867Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-02-07T22:56:17.867Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-02-07T22:56:17.867Z] total 16 [2023-02-07T22:56:17.867Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:47 . [2023-02-07T22:56:17.867Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:56 .. [2023-02-07T22:56:17.867Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 22:47 cost [2023-02-07T22:56:17.867Z] -rw-r--r-- 1 jenkins jenkins 88 Feb 7 22:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:18.168Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:19.023Z] ---> package-listing.sh [2023-02-07T22:56:19.023Z] ++ facter osfamily [2023-02-07T22:56:19.023Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-07T22:56:19.281Z] + OS_FAMILY=debian [2023-02-07T22:56:19.281Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-02-07T22:56:19.281Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-07T22:56:19.281Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-07T22:56:19.281Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-07T22:56:19.281Z] + PACKAGES=/tmp/packages_start.txt [2023-02-07T22:56:19.281Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-02-07T22:56:19.281Z] + PACKAGES=/tmp/packages_end.txt [2023-02-07T22:56:19.281Z] + case "${OS_FAMILY}" in [2023-02-07T22:56:19.281Z] + dpkg -l [2023-02-07T22:56:19.281Z] + grep '^ii' [2023-02-07T22:56:19.281Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-07T22:56:19.281Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-07T22:56:19.281Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-07T22:56:19.281Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-02-07T22:56:19.281Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-02-07T22:56:19.281Z] + 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-07T22:56:19.292Z] 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-07T22:56:19.569Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:20.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:56:20.130Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:56:20.199Z] prd-ubuntu20.04-docker-8c-8g-5002 does not seem to be running inside a container [2023-02-07T22:56:20.236Z] $ 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-07T22:56:20.430Z] $ docker top d8cce87281e760dfcdfb297aec53cf932f35b4c8a6281eb2f180bae0fd121218 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:56:20.762Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-07T22:56:21.042Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-07T22:56:21.328Z] + ls /var/log/sa-host [2023-02-07T22:56:21.328Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:56:21.401Z] provisioning config files... [2023-02-07T22:56:21.415Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13906309358369067889tmp [Pipeline] { [Pipeline] echo [2023-02-07T22:56:21.436Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:21.752Z] ---> create-netrc.sh [Pipeline] } [2023-02-07T22:56:21.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:22.163Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-07T22:56:22.187Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:22.606Z] ---> sudo-logs.sh [2023-02-07T22:56:22.606Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-07T22:56:22.651Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:22.978Z] ---> job-cost.sh [2023-02-07T22:56:22.978Z] lf-activate-venv: SKIPPING [2023-02-07T22:56:22.978Z] DEBUG: total: 0.2199999988079071 [2023-02-07T22:56:22.978Z] INFO: Retrieving Stack Cost... [2023-02-07T22:56:24.360Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:56:24.620Z] INFO: Archiving Costs [Pipeline] echo [2023-02-07T22:56:24.634Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:24.918Z] ---> logs-deploy.sh [2023-02-07T22:56:24.918Z] lf-activate-venv: SKIPPING [2023-02-07T22:56:24.918Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/80 [2023-02-07T22:56:24.918Z] INFO: archiving workspace using pattern(s): [2023-02-07T22:56:25.853Z] Archives upload complete. [2023-02-07T22:56:25.853Z] INFO: archiving logs to Nexus