Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b2aaf32d0f62f9c14c83812b914ce9a372d510a0 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-ssh4744207587431111429.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11895900559759260868.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh3614233141505210295.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh14970111071905479975.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-ssh3130639983924677050.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.20 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-4361 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 b2aaf32d0f62f9c14c83812b914ce9a372d510a0 (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 b2aaf32d0f62f9c14c83812b914ce9a372d510a0 # timeout=10 Commit message: "Merge pull request #421 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.15" > git rev-list --no-walk cfe6b7cbfc6d8a9cc8c7e16fd14f45c89ec438aa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-23T11:35:54.758Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-23T11:35:54.823Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-23T11:35:54.843Z] ========================================================= [2023-08-23T11:35:54.843Z] EdgeX Global Pipelines Version Info [2023-08-23T11:35:54.843Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:35:55.553Z] ------------------- [2023-08-23T11:35:55.554Z] stable info: [2023-08-23T11:35:55.554Z] ------------------- [2023-08-23T11:35:55.554Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-23T11:35:55.554Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-23T11:35:55.554Z] Message: update stable to v1.0.253 [2023-08-23T11:35:56.124Z] ------------------- [2023-08-23T11:35:56.124Z] experimental info: [2023-08-23T11:35:56.124Z] ------------------- [2023-08-23T11:35:56.125Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-23T11:35:56.125Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-23T11:35:56.125Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-23T11:35:56.309Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-08-23T11:35:56.320Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-08-23T11:35:56.334Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-23T11:35:56.345Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-23T11:35:56.356Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-23T11:35:56.370Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-23T11:35:56.381Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-23T11:35:56.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-23T11:35:56.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-23T11:35:56.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-23T11:35:56.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-23T11:35:56.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-08-23T11:35:56.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-23T11:35:56.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-23T11:35:56.494Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-23T11:35:56.503Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-23T11:35:56.513Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-23T11:35:56.521Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-23T11:35:56.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-23T11:35:56.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-23T11:35:56.556Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-23T11:35:56.566Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-23T11:35:56.575Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-23T11:35:56.583Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-23T11:35:56.593Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-23T11:35:56.608Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-23T11:35:56.624Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-23T11:35:56.644Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-23T11:35:56.663Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-23T11:35:56.678Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-23T11:35:56.688Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [Pipeline] echo [2023-08-23T11:35:56.700Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b2aaf32 [Pipeline] echo [2023-08-23T11:35:56.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T11:35:56.759Z] provisioning config files... [2023-08-23T11:35:56.773Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13841176541965015688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:35:57.072Z] ---> docker-login.sh [2023-08-23T11:35:57.072Z] nexus3.edgexfoundry.org:10001 [2023-08-23T11:35:57.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:35:57.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:35:57.337Z] Configure a credential helper to remove this warning. See [2023-08-23T11:35:57.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:35:57.337Z] [2023-08-23T11:35:57.337Z] Login Succeeded [2023-08-23T11:35:57.337Z] nexus3.edgexfoundry.org:10002 [2023-08-23T11:35:57.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:35:57.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:35:57.597Z] Configure a credential helper to remove this warning. See [2023-08-23T11:35:57.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:35:57.597Z] [2023-08-23T11:35:57.597Z] Login Succeeded [2023-08-23T11:35:57.597Z] nexus3.edgexfoundry.org:10003 [2023-08-23T11:35:57.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:35:57.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:35:57.597Z] Configure a credential helper to remove this warning. See [2023-08-23T11:35:57.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:35:57.597Z] [2023-08-23T11:35:57.597Z] Login Succeeded [2023-08-23T11:35:57.597Z] nexus3.edgexfoundry.org:10004 [2023-08-23T11:35:57.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:35:57.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:35:57.863Z] Configure a credential helper to remove this warning. See [2023-08-23T11:35:57.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:35:57.863Z] [2023-08-23T11:35:57.863Z] Login Succeeded [2023-08-23T11:35:57.863Z] docker.io [2023-08-23T11:35:57.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:35:58.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:35:58.123Z] Configure a credential helper to remove this warning. See [2023-08-23T11:35:58.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:35:58.123Z] [2023-08-23T11:35:58.123Z] Login Succeeded [2023-08-23T11:35:58.123Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T11:35:58.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-23T11:35:58.503Z] + git rev-list -1 --merges b2aaf32d0f62f9c14c83812b914ce9a372d510a0~1..b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [Pipeline] echo [2023-08-23T11:35:58.570Z] -----------> git rev-list -1 --merges b2aaf32d0f62f9c14c83812b914ce9a372d510a0~1..b2aaf32d0f62f9c14c83812b914ce9a372d510a0 b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [2023-08-23T11:35:58.570Z] b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [false] [Pipeline] sh [2023-08-23T11:35:58.860Z] + git log --format=format:%s -1 b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [Pipeline] echo [2023-08-23T11:35:58.876Z] ========================================================= [2023-08-23T11:35:58.876Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-23T11:35:58.876Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T11:35:59.221Z] + git log --format=format:%s -1 b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [Pipeline] echo [2023-08-23T11:35:59.232Z] [semverPrep] GIT_COMMIT: b2aaf32d0f62f9c14c83812b914ce9a372d510a0, Commit Message: Merge pull request #421 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.15 [Pipeline] echo [2023-08-23T11:35:59.240Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-23T11:35:59.592Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-23T11:35:59.592Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-23T11:35:59.592Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-23T11:35:59.592Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-23T11:35:59.592Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-23T11:35:59.592Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-23T11:35:59.592Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:36:00.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T11:36:00.004Z] [2023-08-23T11:36:00.004Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:36:00.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T11:36:00.299Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-23T11:36:00.299Z] b85a868b505f: Pulling fs layer [2023-08-23T11:36:00.299Z] e2be974225ed: Pulling fs layer [2023-08-23T11:36:00.299Z] 339a4e72a1f5: Pulling fs layer [2023-08-23T11:36:00.299Z] 988bab9f4d93: Pulling fs layer [2023-08-23T11:36:00.299Z] 1469e6f7b9e6: Pulling fs layer [2023-08-23T11:36:00.299Z] 988bab9f4d93: Waiting [2023-08-23T11:36:00.299Z] eaf3925da568: Pulling fs layer [2023-08-23T11:36:00.299Z] bab4dde63d76: Pulling fs layer [2023-08-23T11:36:00.299Z] bde34c3a00c8: Pulling fs layer [2023-08-23T11:36:00.299Z] eaf3925da568: Waiting [2023-08-23T11:36:00.299Z] b352a97aabf1: Pulling fs layer [2023-08-23T11:36:00.299Z] 1469e6f7b9e6: Waiting [2023-08-23T11:36:00.299Z] 4872d77fe225: Pulling fs layer [2023-08-23T11:36:00.299Z] bab4dde63d76: Waiting [2023-08-23T11:36:00.299Z] 5851b861e8e6: Pulling fs layer [2023-08-23T11:36:00.299Z] b352a97aabf1: Waiting [2023-08-23T11:36:00.299Z] 4872d77fe225: Waiting [2023-08-23T11:36:00.299Z] e2be974225ed: Verifying Checksum [2023-08-23T11:36:00.299Z] e2be974225ed: Download complete [2023-08-23T11:36:00.299Z] 988bab9f4d93: Verifying Checksum [2023-08-23T11:36:00.299Z] 988bab9f4d93: Download complete [2023-08-23T11:36:00.299Z] 1469e6f7b9e6: Verifying Checksum [2023-08-23T11:36:00.299Z] 1469e6f7b9e6: Download complete [2023-08-23T11:36:00.299Z] 339a4e72a1f5: Verifying Checksum [2023-08-23T11:36:00.299Z] 339a4e72a1f5: Download complete [2023-08-23T11:36:00.299Z] eaf3925da568: Verifying Checksum [2023-08-23T11:36:00.299Z] eaf3925da568: Download complete [2023-08-23T11:36:00.559Z] bde34c3a00c8: Verifying Checksum [2023-08-23T11:36:00.559Z] bde34c3a00c8: Download complete [2023-08-23T11:36:00.559Z] b352a97aabf1: Verifying Checksum [2023-08-23T11:36:00.559Z] b352a97aabf1: Download complete [2023-08-23T11:36:00.559Z] 4872d77fe225: Download complete [2023-08-23T11:36:00.559Z] 5851b861e8e6: Download complete [2023-08-23T11:36:00.559Z] b85a868b505f: Verifying Checksum [2023-08-23T11:36:00.559Z] b85a868b505f: Download complete [2023-08-23T11:36:00.817Z] bab4dde63d76: Verifying Checksum [2023-08-23T11:36:00.817Z] bab4dde63d76: Download complete [2023-08-23T11:36:01.756Z] b85a868b505f: Pull complete [2023-08-23T11:36:02.014Z] e2be974225ed: Pull complete [2023-08-23T11:36:02.582Z] 339a4e72a1f5: Pull complete [2023-08-23T11:36:02.582Z] 988bab9f4d93: Pull complete [2023-08-23T11:36:02.843Z] 1469e6f7b9e6: Pull complete [2023-08-23T11:36:02.843Z] eaf3925da568: Pull complete [2023-08-23T11:36:04.748Z] bab4dde63d76: Pull complete [2023-08-23T11:36:04.748Z] bde34c3a00c8: Pull complete [2023-08-23T11:36:04.748Z] b352a97aabf1: Pull complete [2023-08-23T11:36:04.748Z] 4872d77fe225: Pull complete [2023-08-23T11:36:04.748Z] 5851b861e8e6: Pull complete [2023-08-23T11:36:05.008Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-23T11:36:05.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T11:36:05.008Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:36:05.110Z] prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container [2023-08-23T11:36:05.156Z] $ 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-08-23T11:36:08.291Z] $ docker top e2038d0c9dff65dba429bc4f262f583aa69562092045e8d7bf9cc2980427db4c -eo pid,comm [2023-08-23T11:36:08.344Z] 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-08-23T11:36:08.344Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-23T11:36:08.379Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-23T11:36:08.379Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-23T11:36:08.514Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-23T11:36:08.521Z] $ docker exec e2038d0c9dff65dba429bc4f262f583aa69562092045e8d7bf9cc2980427db4c ssh-agent [2023-08-23T11:36:08.619Z] SSH_AUTH_SOCK=/tmp/ssh-83lkouXggyWV/agent.32 [2023-08-23T11:36:08.619Z] SSH_AGENT_PID=38 [2023-08-23T11:36:08.625Z] Running ssh-add (command line suppressed) [2023-08-23T11:36:08.737Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10755851055882380148.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10755851055882380148.key) [2023-08-23T11:36:08.748Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-23T11:36:09.035Z] + git tag --points-at HEAD [Pipeline] } [2023-08-23T11:36:09.054Z] $ docker exec --env ******** --env ******** e2038d0c9dff65dba429bc4f262f583aa69562092045e8d7bf9cc2980427db4c ssh-agent -k [2023-08-23T11:36:09.155Z] unset SSH_AUTH_SOCK; [2023-08-23T11:36:09.155Z] unset SSH_AGENT_PID; [2023-08-23T11:36:09.155Z] echo Agent pid 38 killed; [2023-08-23T11:36:09.161Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-23T11:36:09.182Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-23T11:36:09.182Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-23T11:36:09.328Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-23T11:36:09.334Z] $ docker exec e2038d0c9dff65dba429bc4f262f583aa69562092045e8d7bf9cc2980427db4c ssh-agent [2023-08-23T11:36:09.452Z] SSH_AUTH_SOCK=/tmp/ssh-Rxn3Fg3ZwVKK/agent.71 [2023-08-23T11:36:09.452Z] SSH_AGENT_PID=77 [2023-08-23T11:36:09.456Z] Running ssh-add (command line suppressed) [2023-08-23T11:36:09.570Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7041602788253884845.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7041602788253884845.key) [2023-08-23T11:36:09.580Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-23T11:36:09.869Z] + git semver init [2023-08-23T11:36:10.128Z] 2023-08-23 11:36:10,065 [run_init] DEBUG init version:0.0.0 force:False [2023-08-23T11:36:10.128Z] 2023-08-23 11:36:10,066 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-08-23T11:36:10.128Z] 2023-08-23 11:36:10,067 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-08-23T11:36:10.128Z] 2023-08-23 11:36:10,068 [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-08-23T11:36:11.072Z] 2023-08-23 11:36:11,060 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-08-23T11:36:11.073Z] 2023-08-23 11:36:11,060 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-08-23T11:36:11.073Z] 2023-08-23 11:36:11,061 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-23T11:36:11.073Z] 2023-08-23 11:36:11,061 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-23T11:36:11.073Z] 3.1.0-dev.7 [Pipeline] } [2023-08-23T11:36:11.344Z] $ docker exec --env ******** --env ******** e2038d0c9dff65dba429bc4f262f583aa69562092045e8d7bf9cc2980427db4c ssh-agent -k [2023-08-23T11:36:11.455Z] unset SSH_AUTH_SOCK; [2023-08-23T11:36:11.456Z] unset SSH_AGENT_PID; [2023-08-23T11:36:11.456Z] echo Agent pid 77 killed; [2023-08-23T11:36:11.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-23T11:36:11.757Z] + git semver [Pipeline] } [2023-08-23T11:36:12.033Z] $ docker stop --time=1 e2038d0c9dff65dba429bc4f262f583aa69562092045e8d7bf9cc2980427db4c [2023-08-23T11:36:13.329Z] $ docker rm -f --volumes e2038d0c9dff65dba429bc4f262f583aa69562092045e8d7bf9cc2980427db4c [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T11:36:13.672Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-23T11:36:13.899Z] Stashed 1 file(s) [Pipeline] echo [2023-08-23T11:36:13.902Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [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-08-23T11:36:14.072Z] provisioning config files... [2023-08-23T11:36:14.082Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14878762470361367181tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:36:14.378Z] ---> docker-login.sh [2023-08-23T11:36:14.378Z] nexus3.edgexfoundry.org:10001 [2023-08-23T11:36:14.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:36:14.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:36:14.378Z] Configure a credential helper to remove this warning. See [2023-08-23T11:36:14.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:36:14.378Z] [2023-08-23T11:36:14.378Z] Login Succeeded [2023-08-23T11:36:14.378Z] nexus3.edgexfoundry.org:10002 [2023-08-23T11:36:14.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:36:14.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:36:14.378Z] Configure a credential helper to remove this warning. See [2023-08-23T11:36:14.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:36:14.378Z] [2023-08-23T11:36:14.378Z] Login Succeeded [2023-08-23T11:36:14.378Z] nexus3.edgexfoundry.org:10003 [2023-08-23T11:36:14.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:36:14.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:36:14.638Z] Configure a credential helper to remove this warning. See [2023-08-23T11:36:14.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:36:14.638Z] [2023-08-23T11:36:14.638Z] Login Succeeded [2023-08-23T11:36:14.638Z] nexus3.edgexfoundry.org:10004 [2023-08-23T11:36:14.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:36:14.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:36:14.638Z] Configure a credential helper to remove this warning. See [2023-08-23T11:36:14.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:36:14.638Z] [2023-08-23T11:36:14.638Z] Login Succeeded [2023-08-23T11:36:14.638Z] docker.io [2023-08-23T11:36:14.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:36:14.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:36:14.897Z] Configure a credential helper to remove this warning. See [2023-08-23T11:36:14.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:36:14.897Z] [2023-08-23T11:36:14.897Z] Login Succeeded [2023-08-23T11:36:14.897Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T11:36:14.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-23T11:36:14.963Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T11:36:14.974Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T11:36:14.981Z] ========================================================= [2023-08-23T11:36:14.981Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-23T11:36:14.981Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:36:15.297Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-23T11:36:15.297Z] Sending build context to Docker daemon 23.57MB [2023-08-23T11:36:15.297Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T11:36:15.297Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-23T11:36:15.559Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-23T11:36:15.559Z] 4db1b89c0bd1: Pulling fs layer [2023-08-23T11:36:15.559Z] 6911f1a30b25: Pulling fs layer [2023-08-23T11:36:15.559Z] e194b8c5c2a9: Pulling fs layer [2023-08-23T11:36:15.559Z] 6863d3e3a2b1: Pulling fs layer [2023-08-23T11:36:15.559Z] ec0bb842ea78: Pulling fs layer [2023-08-23T11:36:15.559Z] 40a00589a448: Pulling fs layer [2023-08-23T11:36:15.559Z] 6c08303d61cc: Pulling fs layer [2023-08-23T11:36:15.559Z] 798269fcf238: Pulling fs layer [2023-08-23T11:36:15.559Z] 6863d3e3a2b1: Waiting [2023-08-23T11:36:15.559Z] 6c08303d61cc: Waiting [2023-08-23T11:36:15.559Z] 798269fcf238: Waiting [2023-08-23T11:36:15.559Z] ec0bb842ea78: Waiting [2023-08-23T11:36:15.559Z] 40a00589a448: Waiting [2023-08-23T11:36:15.559Z] 6911f1a30b25: Download complete [2023-08-23T11:36:15.559Z] 6863d3e3a2b1: Verifying Checksum [2023-08-23T11:36:15.559Z] 6863d3e3a2b1: Download complete [2023-08-23T11:36:15.559Z] ec0bb842ea78: Verifying Checksum [2023-08-23T11:36:15.559Z] ec0bb842ea78: Download complete [2023-08-23T11:36:15.559Z] 4db1b89c0bd1: Verifying Checksum [2023-08-23T11:36:15.559Z] 4db1b89c0bd1: Download complete [2023-08-23T11:36:15.559Z] 40a00589a448: Verifying Checksum [2023-08-23T11:36:15.559Z] 40a00589a448: Download complete [2023-08-23T11:36:15.821Z] 4db1b89c0bd1: Pull complete [2023-08-23T11:36:15.821Z] 6911f1a30b25: Pull complete [2023-08-23T11:36:16.080Z] 798269fcf238: Download complete [2023-08-23T11:36:16.341Z] e194b8c5c2a9: Verifying Checksum [2023-08-23T11:36:16.341Z] e194b8c5c2a9: Download complete [2023-08-23T11:36:16.341Z] 6c08303d61cc: Verifying Checksum [2023-08-23T11:36:16.341Z] 6c08303d61cc: Download complete [2023-08-23T11:36:19.625Z] e194b8c5c2a9: Pull complete [2023-08-23T11:36:19.884Z] 6863d3e3a2b1: Pull complete [2023-08-23T11:36:19.884Z] ec0bb842ea78: Pull complete [2023-08-23T11:36:19.884Z] 40a00589a448: Pull complete [2023-08-23T11:36:22.413Z] 6c08303d61cc: Pull complete [2023-08-23T11:36:23.348Z] 798269fcf238: Pull complete [2023-08-23T11:36:23.348Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-23T11:36:23.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-23T11:36:23.348Z] ---> ec979cd7f677 [2023-08-23T11:36:23.348Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-23T11:36:28.624Z] ---> Running in 6f5541d094b5 [2023-08-23T11:36:28.624Z] Removing intermediate container 6f5541d094b5 [2023-08-23T11:36:28.624Z] ---> bf8e4eb3c7c3 [2023-08-23T11:36:28.624Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-23T11:36:28.624Z] ---> Running in fcc51fa15a09 [2023-08-23T11:36:28.884Z] Removing intermediate container fcc51fa15a09 [2023-08-23T11:36:28.884Z] ---> bfd92e35c11c [2023-08-23T11:36:28.884Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-23T11:36:28.884Z] ---> Running in 34452574bfd8 [2023-08-23T11:36:28.884Z] Removing intermediate container 34452574bfd8 [2023-08-23T11:36:28.884Z] ---> 5d2c200fa3dc [2023-08-23T11:36:28.884Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-23T11:36:28.884Z] ---> Running in f859fd85c647 [2023-08-23T11:36:29.022Z] Still waiting to schedule task [2023-08-23T11:36:29.022Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-23T11:36:29.144Z] Removing intermediate container f859fd85c647 [2023-08-23T11:36:29.144Z] ---> 73da68d58466 [2023-08-23T11:36:29.144Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T11:36:29.144Z] ---> Running in 76cde3e0fc6b [2023-08-23T11:36:29.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T11:36:29.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T11:36:29.925Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-23T11:36:29.925Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-23T11:36:29.925Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-23T11:36:29.925Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-23T11:36:29.925Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T11:36:29.925Z] OK: 269 MiB in 57 packages [2023-08-23T11:36:30.492Z] Removing intermediate container 76cde3e0fc6b [2023-08-23T11:36:30.492Z] ---> 04497527f69e [2023-08-23T11:36:30.492Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-23T11:36:30.492Z] ---> 266f312e1e54 [2023-08-23T11:36:30.492Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T11:36:30.492Z] ---> Running in 59ed2cc92398 [2023-08-23T11:37:17.201Z] Removing intermediate container 59ed2cc92398 [2023-08-23T11:37:17.201Z] ---> acc1237794a8 [2023-08-23T11:37:17.201Z] Step 10/12 : COPY . . [2023-08-23T11:37:17.201Z] ---> d925f8651e58 [2023-08-23T11:37:17.201Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T11:37:17.201Z] ---> Running in 1f18b5c06509 [2023-08-23T11:37:17.462Z] Removing intermediate container 1f18b5c06509 [2023-08-23T11:37:17.462Z] ---> 3b1340b6194f [2023-08-23T11:37:17.462Z] Step 12/12 : RUN $MAKE [2023-08-23T11:37:17.462Z] ---> Running in 21a2c7b83386 [2023-08-23T11:37:17.721Z] noop [2023-08-23T11:37:17.981Z] Removing intermediate container 21a2c7b83386 [2023-08-23T11:37:17.981Z] ---> 66aaff712eaf [2023-08-23T11:37:17.981Z] Successfully built 66aaff712eaf [2023-08-23T11:37:17.981Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:37:18.297Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-23T11:37:18.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:37:18.370Z] prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container [2023-08-23T11:37:18.401Z] $ 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-08-23T11:37:18.731Z] $ docker top bd58f986fc3268c222b21b159f4dffbadfa795379573981d5c57eb56c8f70be0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T11:37:19.070Z] + go version [2023-08-23T11:37:19.070Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-23T11:37:19.082Z] $ docker stop --time=1 bd58f986fc3268c222b21b159f4dffbadfa795379573981d5c57eb56c8f70be0 [2023-08-23T11:37:20.417Z] $ docker rm -f --volumes bd58f986fc3268c222b21b159f4dffbadfa795379573981d5c57eb56c8f70be0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:37:20.836Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-23T11:37:20.836Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:37:20.903Z] prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container [2023-08-23T11:37:20.934Z] $ 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-08-23T11:37:21.269Z] $ docker top ecd8b40b61cc0e5082a5c13b61fbe4d5760f16c085e6fcc3e0eb3303161b6639 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T11:37:21.608Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-23T11:37:21.901Z] + make test [2023-08-23T11:37:21.901Z] go test ./... -coverprofile=coverage.out [2023-08-23T11:37:27.170Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-23T11:37:37.135Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-23T11:37:37.135Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.6% of statements [2023-08-23T11:37:43.691Z] go vet ./... [2023-08-23T11:37:47.875Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-23T11:37:47.875Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-23T11:37:47.875Z] ./bin/test-attribution-txt.sh [2023-08-23T11:37:47.875Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-23T11:37:47.875Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-23T11:37:47.875Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-23T11:37:47.875Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-23T11:37:47.875Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-23T11:37:47.875Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-23T11:37:47.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-23T11:37:47.899Z] $ docker stop --time=1 ecd8b40b61cc0e5082a5c13b61fbe4d5760f16c085e6fcc3e0eb3303161b6639 [2023-08-23T11:37:52.397Z] $ docker rm -f --volumes ecd8b40b61cc0e5082a5c13b61fbe4d5760f16c085e6fcc3e0eb3303161b6639 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T11:37:52.874Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-23T11:37:52.928Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-23T11:37:53.460Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-23T11:37:53.748Z] + ls -al . [2023-08-23T11:37:53.748Z] total 204 [2023-08-23T11:37:53.748Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 11:37 . [2023-08-23T11:37:53.748Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 11:35 .. [2023-08-23T11:37:53.748Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 11:36 .git [2023-08-23T11:37:53.748Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:35 .github [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 23 11:35 .gitignore [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 11:35 .golangci.yml [2023-08-23T11:37:53.748Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 11:36 .semver [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 23 11:35 Attribution.txt [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 23 11:35 CHANGELOG.md [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 23 11:35 Dockerfile [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 11:35 GOVERNANCE.md [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 23 11:35 Jenkinsfile [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 23 11:35 LICENSE [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 23 11:35 Makefile [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 23 11:35 OWNERS.md [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 23 11:35 README.md [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 23 11:36 VERSION [2023-08-23T11:37:53.748Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 11:35 bin [2023-08-23T11:37:53.748Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:35 cmd [2023-08-23T11:37:53.748Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 23 11:37 coverage.out [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 23 11:35 go.mod [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 23 11:35 go.sum [2023-08-23T11:37:53.748Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:35 internal [2023-08-23T11:37:53.748Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 11:35 snap [2023-08-23T11:37:53.748Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 23 11:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:37:54.054Z] + 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=b2aaf32d0f62f9c14c83812b914ce9a372d510a0 --label arch=amd64 --label version=3.1.0-dev.7 . [2023-08-23T11:37:54.054Z] Sending build context to Docker daemon 23.61MB [2023-08-23T11:37:54.054Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T11:37:54.054Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-23T11:37:54.054Z] ---> 66aaff712eaf [2023-08-23T11:37:54.054Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-23T11:37:54.621Z] ---> Running in a0120149b072 [2023-08-23T11:37:54.622Z] Removing intermediate container a0120149b072 [2023-08-23T11:37:54.622Z] ---> 940bb859dd97 [2023-08-23T11:37:54.622Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-23T11:37:54.622Z] ---> Running in 1512ef325b52 [2023-08-23T11:37:54.622Z] Removing intermediate container 1512ef325b52 [2023-08-23T11:37:54.622Z] ---> 21862d2088e5 [2023-08-23T11:37:54.622Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-23T11:37:54.622Z] ---> Running in 2e1eeed588b9 [2023-08-23T11:37:54.622Z] Removing intermediate container 2e1eeed588b9 [2023-08-23T11:37:54.622Z] ---> e1e6e5adfe80 [2023-08-23T11:37:54.622Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-23T11:37:54.622Z] ---> Running in 21541f7d3421 [2023-08-23T11:37:54.880Z] Removing intermediate container 21541f7d3421 [2023-08-23T11:37:54.880Z] ---> 9153401b0c0b [2023-08-23T11:37:54.880Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T11:37:54.880Z] ---> Running in 81b60e214983 [2023-08-23T11:37:55.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T11:37:55.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T11:37:55.672Z] OK: 269 MiB in 57 packages [2023-08-23T11:37:55.932Z] Removing intermediate container 81b60e214983 [2023-08-23T11:37:55.932Z] ---> 3a09b5124013 [2023-08-23T11:37:55.932Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-23T11:37:55.932Z] ---> 13f56e98fa9f [2023-08-23T11:37:55.932Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T11:37:55.932Z] ---> Running in 4519b2c2e2ca [2023-08-23T11:37:56.937Z] Removing intermediate container 4519b2c2e2ca [2023-08-23T11:37:56.937Z] ---> 481bb2f0f9a3 [2023-08-23T11:37:56.937Z] Step 10/25 : COPY . . [2023-08-23T11:37:57.935Z] ---> 31228bb69f15 [2023-08-23T11:37:57.935Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T11:37:57.935Z] ---> Running in 76cf15454233 [2023-08-23T11:37:57.935Z] Removing intermediate container 76cf15454233 [2023-08-23T11:37:57.935Z] ---> 9cee49bae0d9 [2023-08-23T11:37:57.935Z] Step 12/25 : RUN $MAKE [2023-08-23T11:37:57.935Z] ---> Running in fc785a2acbdf [2023-08-23T11:37:58.217Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.15" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-23T11:38:01.504Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4362 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-08-23T11:38:01.518Z] Running in /w/workspace/device-virtual-go/133 [Pipeline] { [Pipeline] checkout [2023-08-23T11:38:01.550Z] The recommended git tool is: git [2023-08-23T11:38:06.424Z] using credential edgex-jenkins-ssh [2023-08-23T11:38:06.440Z] Cloning the remote Git repository [2023-08-23T11:38:06.486Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-08-23T11:38:06.583Z] > git init /w/workspace/device-virtual-go/133 # timeout=10 [2023-08-23T11:38:06.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-08-23T11:38:06.720Z] > git --version # timeout=10 [2023-08-23T11:38:06.741Z] > git --version # 'git version 2.25.1' [2023-08-23T11:38:06.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-23T11:38:06.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-23T11:38:08.836Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-08-23T11:38:08.856Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-23T11:38:09.656Z] Avoid second fetch [2023-08-23T11:38:09.657Z] Checking out Revision b2aaf32d0f62f9c14c83812b914ce9a372d510a0 (main) [2023-08-23T11:38:10.168Z] Commit message: "Merge pull request #421 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.15" [2023-08-23T11:38:09.675Z] > git config core.sparsecheckout # timeout=10 [2023-08-23T11:38:09.736Z] > git checkout -f b2aaf32d0f62f9c14c83812b914ce9a372d510a0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T11:38:11.128Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-23T11:38:11.128Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T11:38:11.128Z] Dload Upload Total Spent Left Speed [2023-08-23T11:38:11.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 90286 0 --:--:-- --:--:-- --:--:-- 89552 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2023-08-23T11:38:11.776Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-23T11:38:12.103Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-23T11:38:12.103Z] + sudo tee /etc/docker/daemon.new [2023-08-23T11:38:12.103Z] { [2023-08-23T11:38:12.103Z] "registry-mirrors": [ [2023-08-23T11:38:12.103Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-23T11:38:12.103Z] ], [2023-08-23T11:38:12.103Z] "bip": "10.250.0.254/24", [2023-08-23T11:38:12.103Z] "hosts": [ [2023-08-23T11:38:12.103Z] "tcp://0.0.0.0:5555", [2023-08-23T11:38:12.103Z] "unix:///var/run/docker.sock" [2023-08-23T11:38:12.103Z] ], [2023-08-23T11:38:12.103Z] "mtu": 1458, [2023-08-23T11:38:12.103Z] "selinux-enabled": true, [2023-08-23T11:38:12.103Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-23T11:38:12.103Z] } [Pipeline] sh [2023-08-23T11:38:12.433Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-23T11:38:12.762Z] + sudo service docker restart [2023-08-23T11:38:20.161Z] Removing intermediate container fc785a2acbdf [2023-08-23T11:38:20.161Z] ---> 5df4c9c43a95 [2023-08-23T11:38:20.161Z] Step 13/25 : FROM alpine:3.17 [2023-08-23T11:38:20.161Z] 3.17: Pulling from library/alpine [2023-08-23T11:38:20.161Z] 9398808236ff: Pulling fs layer [2023-08-23T11:38:20.161Z] 9398808236ff: Verifying Checksum [2023-08-23T11:38:20.161Z] 9398808236ff: Download complete [2023-08-23T11:38:20.428Z] 9398808236ff: Pull complete [2023-08-23T11:38:20.428Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-23T11:38:20.428Z] Status: Downloaded newer image for alpine:3.17 [2023-08-23T11:38:20.428Z] ---> 1e0b8b5322fc [2023-08-23T11:38:20.428Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-23T11:38:20.690Z] ---> Running in 6981d36851d7 [2023-08-23T11:38:20.690Z] Removing intermediate container 6981d36851d7 [2023-08-23T11:38:20.690Z] ---> b9d8b36ad52e [2023-08-23T11:38:20.690Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-23T11:38:20.690Z] ---> Running in 5c559e4f4551 [2023-08-23T11:38:20.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-23T11:38:21.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-23T11:38:21.469Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-23T11:38:21.469Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T11:38:21.469Z] OK: 7 MiB in 16 packages [2023-08-23T11:38:21.726Z] Removing intermediate container 5c559e4f4551 [2023-08-23T11:38:21.726Z] ---> 221b0f5c0b1c [2023-08-23T11:38:21.726Z] Step 16/25 : WORKDIR / [2023-08-23T11:38:21.726Z] ---> Running in 743e6e828f43 [2023-08-23T11:38:21.983Z] Removing intermediate container 743e6e828f43 [2023-08-23T11:38:21.983Z] ---> 008c281d129d [2023-08-23T11:38:21.983Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-23T11:38:21.983Z] ---> 0ea5e5e361c5 [2023-08-23T11:38:21.983Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-23T11:38:22.241Z] ---> 686dd354e6ea [2023-08-23T11:38:22.241Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-23T11:38:23.354Z] ---> a86f0b809bab [2023-08-23T11:38:23.354Z] Step 20/25 : EXPOSE 59900 [2023-08-23T11:38:23.354Z] ---> Running in a469105f1146 [2023-08-23T11:38:23.354Z] Removing intermediate container a469105f1146 [2023-08-23T11:38:23.354Z] ---> 3870fa07fe6b [2023-08-23T11:38:23.354Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-23T11:38:23.354Z] ---> Running in 9880c0613504 [2023-08-23T11:38:23.354Z] Removing intermediate container 9880c0613504 [2023-08-23T11:38:23.354Z] ---> 3c5a1ddb3c87 [2023-08-23T11:38:23.354Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-23T11:38:23.354Z] ---> Running in 96743361afea [2023-08-23T11:38:23.354Z] Removing intermediate container 96743361afea [2023-08-23T11:38:23.354Z] ---> b2a237e91d08 [2023-08-23T11:38:23.354Z] Step 23/25 : LABEL arch=amd64 [2023-08-23T11:38:23.354Z] ---> Running in 0f2cbf1e28d0 [2023-08-23T11:38:23.612Z] Removing intermediate container 0f2cbf1e28d0 [2023-08-23T11:38:23.612Z] ---> 71097563306d [2023-08-23T11:38:23.612Z] Step 24/25 : LABEL git_sha=b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [2023-08-23T11:38:23.612Z] ---> Running in dfd6b437b779 [2023-08-23T11:38:23.612Z] Removing intermediate container dfd6b437b779 [2023-08-23T11:38:23.612Z] ---> 77ee5318ee51 [2023-08-23T11:38:23.612Z] Step 25/25 : LABEL version=3.1.0-dev.7 [2023-08-23T11:38:23.612Z] ---> Running in c4c6f8c6e2c8 [2023-08-23T11:38:23.612Z] Removing intermediate container c4c6f8c6e2c8 [2023-08-23T11:38:23.612Z] ---> 790d1764eeea [2023-08-23T11:38:23.612Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-23T11:38:23.612Z] Successfully built 790d1764eeea [2023-08-23T11:38:23.612Z] 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-08-23T11:38:23.733Z] provisioning config files... [2023-08-23T11:38:23.740Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4135163572802615049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:38:24.034Z] ---> docker-login.sh [2023-08-23T11:38:24.035Z] nexus3.edgexfoundry.org:10001 [2023-08-23T11:38:24.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:38:24.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:38:24.035Z] Configure a credential helper to remove this warning. See [2023-08-23T11:38:24.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:38:24.035Z] [2023-08-23T11:38:24.035Z] Login Succeeded [2023-08-23T11:38:24.035Z] nexus3.edgexfoundry.org:10002 [2023-08-23T11:38:24.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:38:24.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:38:24.035Z] Configure a credential helper to remove this warning. See [2023-08-23T11:38:24.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:38:24.035Z] [2023-08-23T11:38:24.035Z] Login Succeeded [2023-08-23T11:38:24.293Z] nexus3.edgexfoundry.org:10003 [2023-08-23T11:38:24.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:38:24.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:38:24.293Z] Configure a credential helper to remove this warning. See [2023-08-23T11:38:24.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:38:24.293Z] [2023-08-23T11:38:24.293Z] Login Succeeded [2023-08-23T11:38:24.293Z] nexus3.edgexfoundry.org:10004 [2023-08-23T11:38:24.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:38:24.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:38:24.293Z] Configure a credential helper to remove this warning. See [2023-08-23T11:38:24.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:38:24.293Z] [2023-08-23T11:38:24.293Z] Login Succeeded [2023-08-23T11:38:24.293Z] docker.io [2023-08-23T11:38:24.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:38:24.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:38:24.553Z] Configure a credential helper to remove this warning. See [2023-08-23T11:38:24.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:38:24.553Z] [2023-08-23T11:38:24.553Z] Login Succeeded [2023-08-23T11:38:24.553Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T11:38:24.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-23T11:38:24.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T11:38:24.616Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-08-23T11:38:24.616Z] b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [2023-08-23T11:38:24.616Z] latest [2023-08-23T11:38:24.616Z] 3.1.0-dev.7 [2023-08-23T11:38:24.616Z] b2aaf32d0f62f9c14c83812b914ce9a372d510a0-3.1.0-dev.7 [2023-08-23T11:38:24.616Z] main [2023-08-23T11:38:24.616Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:38:24.948Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:38:25.314Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [2023-08-23T11:38:25.314Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-23T11:38:25.314Z] b8371f0c90ee: Preparing [2023-08-23T11:38:25.314Z] 43eb7af768e4: Preparing [2023-08-23T11:38:25.314Z] ccc417362102: Preparing [2023-08-23T11:38:25.314Z] 6b7a02eb5ed3: Preparing [2023-08-23T11:38:25.314Z] 36b50b131297: Preparing [2023-08-23T11:38:25.314Z] 36b50b131297: Layer already exists [2023-08-23T11:38:25.314Z] 43eb7af768e4: Pushed [2023-08-23T11:38:25.314Z] 6b7a02eb5ed3: Pushed [2023-08-23T11:38:25.314Z] ccc417362102: Pushed [2023-08-23T11:38:28.605Z] b8371f0c90ee: Pushed [2023-08-23T11:38:28.605Z] b2aaf32d0f62f9c14c83812b914ce9a372d510a0: digest: sha256:f6de3baa423ea0a5c37816500c4c6138019c3e28a7e93f17e58ca93104865174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:38:28.925Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:38:29.235Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-08-23T11:38:29.235Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-23T11:38:29.235Z] b8371f0c90ee: Preparing [2023-08-23T11:38:29.235Z] 43eb7af768e4: Preparing [2023-08-23T11:38:29.235Z] ccc417362102: Preparing [2023-08-23T11:38:29.235Z] 6b7a02eb5ed3: Preparing [2023-08-23T11:38:29.235Z] 36b50b131297: Preparing [2023-08-23T11:38:29.235Z] 6b7a02eb5ed3: Layer already exists [2023-08-23T11:38:29.235Z] 36b50b131297: Layer already exists [2023-08-23T11:38:29.235Z] ccc417362102: Layer already exists [2023-08-23T11:38:29.235Z] 43eb7af768e4: Layer already exists [2023-08-23T11:38:29.235Z] b8371f0c90ee: Layer already exists [2023-08-23T11:38:29.235Z] latest: digest: sha256:f6de3baa423ea0a5c37816500c4c6138019c3e28a7e93f17e58ca93104865174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:38:29.542Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:38:29.847Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.7 [2023-08-23T11:38:29.847Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-23T11:38:29.847Z] b8371f0c90ee: Preparing [2023-08-23T11:38:29.847Z] 43eb7af768e4: Preparing [2023-08-23T11:38:29.847Z] ccc417362102: Preparing [2023-08-23T11:38:29.847Z] 6b7a02eb5ed3: Preparing [2023-08-23T11:38:29.847Z] 36b50b131297: Preparing [2023-08-23T11:38:29.847Z] 43eb7af768e4: Layer already exists [2023-08-23T11:38:29.847Z] b8371f0c90ee: Layer already exists [2023-08-23T11:38:29.847Z] 36b50b131297: Layer already exists [2023-08-23T11:38:29.847Z] 6b7a02eb5ed3: Layer already exists [2023-08-23T11:38:29.847Z] ccc417362102: Layer already exists [2023-08-23T11:38:29.847Z] 3.1.0-dev.7: digest: sha256:f6de3baa423ea0a5c37816500c4c6138019c3e28a7e93f17e58ca93104865174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:38:30.152Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b2aaf32d0f62f9c14c83812b914ce9a372d510a0-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:38:30.463Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:b2aaf32d0f62f9c14c83812b914ce9a372d510a0-3.1.0-dev.7 [2023-08-23T11:38:30.463Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-23T11:38:30.463Z] b8371f0c90ee: Preparing [2023-08-23T11:38:30.463Z] 43eb7af768e4: Preparing [2023-08-23T11:38:30.463Z] ccc417362102: Preparing [2023-08-23T11:38:30.463Z] 6b7a02eb5ed3: Preparing [2023-08-23T11:38:30.463Z] 36b50b131297: Preparing [2023-08-23T11:38:30.463Z] b8371f0c90ee: Layer already exists [2023-08-23T11:38:30.463Z] 6b7a02eb5ed3: Layer already exists [2023-08-23T11:38:30.463Z] 43eb7af768e4: Layer already exists [2023-08-23T11:38:30.463Z] ccc417362102: Layer already exists [2023-08-23T11:38:30.463Z] 36b50b131297: Layer already exists [2023-08-23T11:38:30.463Z] b2aaf32d0f62f9c14c83812b914ce9a372d510a0-3.1.0-dev.7: digest: sha256:f6de3baa423ea0a5c37816500c4c6138019c3e28a7e93f17e58ca93104865174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:38:30.774Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T11:38:31.001Z] provisioning config files... [2023-08-23T11:38:31.022Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/133@tmp/config11158406563887826677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:38:31.077Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-08-23T11:38:31.077Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-23T11:38:31.077Z] b8371f0c90ee: Preparing [2023-08-23T11:38:31.077Z] 43eb7af768e4: Preparing [2023-08-23T11:38:31.077Z] ccc417362102: Preparing [2023-08-23T11:38:31.077Z] 6b7a02eb5ed3: Preparing [2023-08-23T11:38:31.077Z] 36b50b131297: Preparing [2023-08-23T11:38:31.077Z] b8371f0c90ee: Layer already exists [2023-08-23T11:38:31.077Z] ccc417362102: Layer already exists [2023-08-23T11:38:31.077Z] 6b7a02eb5ed3: Layer already exists [2023-08-23T11:38:31.077Z] 43eb7af768e4: Layer already exists [2023-08-23T11:38:31.077Z] 36b50b131297: Layer already exists [2023-08-23T11:38:31.077Z] main: digest: sha256:f6de3baa423ea0a5c37816500c4c6138019c3e28a7e93f17e58ca93104865174 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-23T11:38:31.145Z] ===================================================== [Pipeline] echo [2023-08-23T11:38:31.156Z] taggedImages: [2023-08-23T11:38:31.156Z] - nexus3.edgexfoundry.org:10004/device-virtual:b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [2023-08-23T11:38:31.156Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-08-23T11:38:31.156Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.7 [2023-08-23T11:38:31.156Z] - nexus3.edgexfoundry.org:10004/device-virtual:b2aaf32d0f62f9c14c83812b914ce9a372d510a0-3.1.0-dev.7 [2023-08-23T11:38:31.156Z] - 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-08-23T11:38:31.362Z] ---> docker-login.sh [2023-08-23T11:38:31.362Z] nexus3.edgexfoundry.org:10001 [2023-08-23T11:38:31.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T11:38:31.523Z] [2023-08-23T11:38:31.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:38:31.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:38:31.822Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T11:38:31.822Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-23T11:38:31.822Z] 5eb5b503b376: Pulling fs layer [2023-08-23T11:38:31.822Z] 5c69ac0246d0: Pulling fs layer [2023-08-23T11:38:31.822Z] ec43610c2a17: Pulling fs layer [2023-08-23T11:38:31.822Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-23T11:38:31.822Z] 33b1e0a273af: Pulling fs layer [2023-08-23T11:38:31.822Z] 5d3b04190fa2: Pulling fs layer [2023-08-23T11:38:31.822Z] 2f39f015ded8: Pulling fs layer [2023-08-23T11:38:31.822Z] 33b1e0a273af: Waiting [2023-08-23T11:38:31.822Z] 5d3b04190fa2: Waiting [2023-08-23T11:38:31.822Z] 2f39f015ded8: Waiting [2023-08-23T11:38:31.822Z] 5c69ac0246d0: Verifying Checksum [2023-08-23T11:38:31.822Z] 5c69ac0246d0: Download complete [2023-08-23T11:38:31.822Z] 3a2ae6a8a46f: Download complete [2023-08-23T11:38:31.822Z] 33b1e0a273af: Verifying Checksum [2023-08-23T11:38:31.822Z] 33b1e0a273af: Download complete [2023-08-23T11:38:31.822Z] ec43610c2a17: Verifying Checksum [2023-08-23T11:38:31.822Z] ec43610c2a17: Download complete [2023-08-23T11:38:31.822Z] 5d3b04190fa2: Download complete [2023-08-23T11:38:31.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:38:31.908Z] Configure a credential helper to remove this warning. See [2023-08-23T11:38:31.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:38:31.908Z] [2023-08-23T11:38:31.908Z] Login Succeeded [2023-08-23T11:38:31.908Z] nexus3.edgexfoundry.org:10002 [2023-08-23T11:38:32.080Z] 5eb5b503b376: Verifying Checksum [2023-08-23T11:38:32.080Z] 5eb5b503b376: Download complete [2023-08-23T11:38:32.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:38:32.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:38:32.447Z] Configure a credential helper to remove this warning. See [2023-08-23T11:38:32.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:38:32.447Z] [2023-08-23T11:38:32.447Z] Login Succeeded [2023-08-23T11:38:32.447Z] nexus3.edgexfoundry.org:10003 [2023-08-23T11:38:32.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:38:32.645Z] 2f39f015ded8: Download complete [2023-08-23T11:38:32.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:38:32.716Z] Configure a credential helper to remove this warning. See [2023-08-23T11:38:32.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:38:32.716Z] [2023-08-23T11:38:32.716Z] Login Succeeded [2023-08-23T11:38:32.716Z] nexus3.edgexfoundry.org:10004 [2023-08-23T11:38:32.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:38:32.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:38:32.984Z] Configure a credential helper to remove this warning. See [2023-08-23T11:38:32.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:38:32.984Z] [2023-08-23T11:38:32.984Z] Login Succeeded [2023-08-23T11:38:32.984Z] docker.io [2023-08-23T11:38:33.209Z] 5eb5b503b376: Pull complete [2023-08-23T11:38:33.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:38:33.467Z] 5c69ac0246d0: Pull complete [2023-08-23T11:38:33.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:38:33.520Z] Configure a credential helper to remove this warning. See [2023-08-23T11:38:33.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:38:33.520Z] [2023-08-23T11:38:33.520Z] Login Succeeded [2023-08-23T11:38:33.520Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T11:38:33.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-23T11:38:33.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T11:38:33.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T11:38:33.804Z] ========================================================= [2023-08-23T11:38:33.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-23T11:38:33.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:38:34.034Z] ec43610c2a17: Pull complete [2023-08-23T11:38:34.034Z] 3a2ae6a8a46f: Pull complete [2023-08-23T11:38:34.160Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-23T11:38:34.293Z] 33b1e0a273af: Pull complete [2023-08-23T11:38:34.293Z] 5d3b04190fa2: Pull complete [2023-08-23T11:38:34.430Z] Sending build context to Docker daemon 11.91MB [2023-08-23T11:38:34.705Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T11:38:34.705Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-23T11:38:34.705Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-23T11:38:34.705Z] edb6bdbacee9: Pulling fs layer [2023-08-23T11:38:34.705Z] 5f9638ab2659: Pulling fs layer [2023-08-23T11:38:34.705Z] 8d51d6327a98: Pulling fs layer [2023-08-23T11:38:34.705Z] 8b374f2dd631: Pulling fs layer [2023-08-23T11:38:34.705Z] ec14aa9079de: Pulling fs layer [2023-08-23T11:38:34.705Z] 2f466654f4bb: Pulling fs layer [2023-08-23T11:38:34.705Z] 554e91adad29: Pulling fs layer [2023-08-23T11:38:34.705Z] 8b374f2dd631: Waiting [2023-08-23T11:38:34.705Z] ec14aa9079de: Waiting [2023-08-23T11:38:34.705Z] 554e91adad29: Waiting [2023-08-23T11:38:34.705Z] 2f466654f4bb: Waiting [2023-08-23T11:38:34.705Z] 5f9638ab2659: Verifying Checksum [2023-08-23T11:38:34.705Z] 5f9638ab2659: Download complete [2023-08-23T11:38:34.705Z] 8b374f2dd631: Verifying Checksum [2023-08-23T11:38:34.705Z] 8b374f2dd631: Download complete [2023-08-23T11:38:34.973Z] ec14aa9079de: Verifying Checksum [2023-08-23T11:38:34.973Z] ec14aa9079de: Download complete [2023-08-23T11:38:34.973Z] edb6bdbacee9: Verifying Checksum [2023-08-23T11:38:34.973Z] edb6bdbacee9: Download complete [2023-08-23T11:38:35.949Z] edb6bdbacee9: Pull complete [2023-08-23T11:38:36.217Z] 554e91adad29: Verifying Checksum [2023-08-23T11:38:36.217Z] 554e91adad29: Download complete [2023-08-23T11:38:36.217Z] 5f9638ab2659: Pull complete [2023-08-23T11:38:37.188Z] 8d51d6327a98: Verifying Checksum [2023-08-23T11:38:37.188Z] 8d51d6327a98: Download complete [2023-08-23T11:38:37.188Z] 2f466654f4bb: Download complete [2023-08-23T11:38:39.555Z] 2f39f015ded8: Pull complete [2023-08-23T11:38:39.556Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-23T11:38:39.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T11:38:39.556Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:38:39.653Z] prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container [2023-08-23T11:38:39.689Z] $ 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-08-23T11:38:45.042Z] $ docker top 3c530206f3f2ef565adc1b39139c05349a938e017d04abe12016db1c8050d5c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:38:45.439Z] ---> job-cost.sh [2023-08-23T11:38:45.439Z] lf-activate-venv: SKIPPING [2023-08-23T11:38:45.439Z] INFO: No Stack... [2023-08-23T11:38:45.697Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-23T11:38:45.957Z] INFO: Archiving Costs [Pipeline] sh [2023-08-23T11:38:46.247Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-08-23T11:38:46.247Z] + cut -d, -f6 [Pipeline] lock [2023-08-23T11:38:46.261Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-133-stack-cost] [2023-08-23T11:38:46.267Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-133-stack-cost] did not exist. Created. [2023-08-23T11:38:46.267Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-23T11:38:46.567Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-23T11:38:46.599Z] Stashed 1 file(s) [Pipeline] } [2023-08-23T11:38:46.605Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-23T11:38:46.626Z] $ docker stop --time=1 3c530206f3f2ef565adc1b39139c05349a938e017d04abe12016db1c8050d5c3 [2023-08-23T11:38:47.776Z] $ docker rm -f --volumes 3c530206f3f2ef565adc1b39139c05349a938e017d04abe12016db1c8050d5c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-23T11:38:49.510Z] 8d51d6327a98: Pull complete [2023-08-23T11:38:49.510Z] 8b374f2dd631: Pull complete [2023-08-23T11:38:49.510Z] ec14aa9079de: Pull complete [2023-08-23T11:38:54.886Z] 2f466654f4bb: Pull complete [2023-08-23T11:38:57.474Z] 554e91adad29: Pull complete [2023-08-23T11:38:57.474Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-23T11:38:57.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-23T11:38:57.474Z] ---> 1e15ea492957 [2023-08-23T11:38:57.474Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-23T11:38:59.511Z] ---> Running in ed992526d544 [2023-08-23T11:38:59.511Z] Removing intermediate container ed992526d544 [2023-08-23T11:38:59.511Z] ---> f962b952b386 [2023-08-23T11:38:59.511Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-23T11:38:59.511Z] ---> Running in 77e5b41daabf [2023-08-23T11:38:59.780Z] Removing intermediate container 77e5b41daabf [2023-08-23T11:38:59.780Z] ---> bca76544777c [2023-08-23T11:38:59.780Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-23T11:38:59.780Z] ---> Running in 500c226be16c [2023-08-23T11:39:00.363Z] Removing intermediate container 500c226be16c [2023-08-23T11:39:00.363Z] ---> eaee0d98bb80 [2023-08-23T11:39:00.363Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-23T11:39:00.363Z] ---> Running in 075f8660b7fa [2023-08-23T11:39:00.632Z] Removing intermediate container 075f8660b7fa [2023-08-23T11:39:00.632Z] ---> da1baddcead8 [2023-08-23T11:39:00.632Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T11:39:00.632Z] ---> Running in b40f8fa5a1da [2023-08-23T11:39:01.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-23T11:39:02.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T11:39:03.144Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-23T11:39:03.411Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-23T11:39:03.411Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-23T11:39:03.412Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-23T11:39:03.412Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T11:39:03.412Z] OK: 268 MiB in 57 packages [2023-08-23T11:39:04.375Z] Removing intermediate container b40f8fa5a1da [2023-08-23T11:39:04.375Z] ---> 5de52124de29 [2023-08-23T11:39:04.375Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-23T11:39:04.960Z] ---> 8290fbe912f8 [2023-08-23T11:39:04.960Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T11:39:04.960Z] ---> Running in f5e92434b048 [2023-08-23T11:40:12.830Z] Removing intermediate container f5e92434b048 [2023-08-23T11:40:12.830Z] ---> 54f557d3c50a [2023-08-23T11:40:12.830Z] Step 10/12 : COPY . . [2023-08-23T11:40:12.830Z] ---> f80914b4fd4c [2023-08-23T11:40:12.830Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T11:40:12.830Z] ---> Running in 3e3204c5c42b [2023-08-23T11:40:12.830Z] Removing intermediate container 3e3204c5c42b [2023-08-23T11:40:12.830Z] ---> f4402c087936 [2023-08-23T11:40:12.830Z] Step 12/12 : RUN $MAKE [2023-08-23T11:40:12.830Z] ---> Running in 8ccfc7c70c2b [2023-08-23T11:40:12.830Z] noop [2023-08-23T11:40:12.830Z] Removing intermediate container 8ccfc7c70c2b [2023-08-23T11:40:12.830Z] ---> 27f440d95cb9 [2023-08-23T11:40:12.830Z] Successfully built 27f440d95cb9 [2023-08-23T11:40:12.830Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:40:13.180Z] + docker inspect -f . ci-base-image-arm64 [2023-08-23T11:40:13.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:40:13.374Z] prd-ubuntu20.04-docker-arm64-4c-16g-4362 does not seem to be running inside a container [2023-08-23T11:40:13.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/133 -v /w/workspace/device-virtual-go/133:/w/workspace/device-virtual-go/133:rw,z -v /w/workspace/device-virtual-go/133@tmp:/w/workspace/device-virtual-go/133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-23T11:40:16.383Z] $ docker top 242156d3c7bc6e1521414d1ffbe171473e6752e7ad175ebc1ac44bcb0992cffb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T11:40:17.202Z] + go version [2023-08-23T11:40:17.202Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-23T11:40:17.221Z] $ docker stop --time=1 242156d3c7bc6e1521414d1ffbe171473e6752e7ad175ebc1ac44bcb0992cffb [2023-08-23T11:40:18.816Z] $ docker rm -f --volumes 242156d3c7bc6e1521414d1ffbe171473e6752e7ad175ebc1ac44bcb0992cffb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:40:19.323Z] + docker inspect -f . ci-base-image-arm64 [2023-08-23T11:40:19.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:40:19.493Z] prd-ubuntu20.04-docker-arm64-4c-16g-4362 does not seem to be running inside a container [2023-08-23T11:40:19.553Z] $ 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/133 -v /w/workspace/device-virtual-go/133:/w/workspace/device-virtual-go/133:rw,z -v /w/workspace/device-virtual-go/133@tmp:/w/workspace/device-virtual-go/133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-23T11:40:20.654Z] $ docker top e96a8ec6cc22f981e96511dd35ad4a85ad676aaec701101f804a0798dfb9619e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T11:40:21.145Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/133 [Pipeline] fileExists [Pipeline] sh [2023-08-23T11:40:21.736Z] + make test [2023-08-23T11:40:21.736Z] go test ./... -coverprofile=coverage.out [2023-08-23T11:40:53.964Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-23T11:42:45.634Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-23T11:42:45.634Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.089s coverage: 58.4% of statements [2023-08-23T11:42:45.634Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-23T11:42:45.634Z] go vet ./... [2023-08-23T11:43:12.324Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-23T11:43:12.324Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-23T11:43:12.324Z] ./bin/test-attribution-txt.sh [2023-08-23T11:43:12.324Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-23T11:43:12.324Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-23T11:43:12.324Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-23T11:43:12.324Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-23T11:43:12.324Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-23T11:43:12.324Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-23T11:43:12.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-23T11:43:12.356Z] $ docker stop --time=1 e96a8ec6cc22f981e96511dd35ad4a85ad676aaec701101f804a0798dfb9619e [2023-08-23T11:43:14.124Z] $ docker rm -f --volumes e96a8ec6cc22f981e96511dd35ad4a85ad676aaec701101f804a0798dfb9619e [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T11:43:15.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-23T11:43:15.248Z] Warning: overwriting stash ‘coverage-report’ [2023-08-23T11:43:15.647Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-23T11:43:16.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-23T11:43:16.377Z] + ls -al . [2023-08-23T11:43:16.377Z] total 200 [2023-08-23T11:43:16.377Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 11:40 . [2023-08-23T11:43:16.377Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 11:38 .. [2023-08-23T11:43:16.377Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 11:38 .git [2023-08-23T11:43:16.377Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:38 .github [2023-08-23T11:43:16.377Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 23 11:38 .gitignore [2023-08-23T11:43:16.377Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 23 11:38 .golangci.yml [2023-08-23T11:43:16.377Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 23 11:38 Attribution.txt [2023-08-23T11:43:16.377Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 23 11:38 CHANGELOG.md [2023-08-23T11:43:16.377Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 23 11:38 Dockerfile [2023-08-23T11:43:16.377Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 11:38 GOVERNANCE.md [2023-08-23T11:43:16.377Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 23 11:38 Jenkinsfile [2023-08-23T11:43:16.377Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 23 11:38 LICENSE [2023-08-23T11:43:16.377Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 23 11:38 Makefile [2023-08-23T11:43:16.377Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 23 11:38 OWNERS.md [2023-08-23T11:43:16.377Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 23 11:38 README.md [2023-08-23T11:43:16.378Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 23 11:36 VERSION [2023-08-23T11:43:16.378Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 11:38 bin [2023-08-23T11:43:16.378Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:38 cmd [2023-08-23T11:43:16.378Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 23 11:42 coverage.out [2023-08-23T11:43:16.378Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 23 11:38 go.mod [2023-08-23T11:43:16.378Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 23 11:38 go.sum [2023-08-23T11:43:16.378Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 11:38 internal [2023-08-23T11:43:16.378Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 11:38 snap [2023-08-23T11:43:16.378Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 23 11:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:43:16.709Z] + 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=b2aaf32d0f62f9c14c83812b914ce9a372d510a0 --label arch=arm64 --label version=3.1.0-dev.7 . [2023-08-23T11:43:16.977Z] Sending build context to Docker daemon 11.95MB [2023-08-23T11:43:16.977Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-23T11:43:16.977Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-23T11:43:16.977Z] ---> 27f440d95cb9 [2023-08-23T11:43:16.977Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-23T11:43:17.242Z] ---> Running in 44a099b1c5b7 [2023-08-23T11:43:17.508Z] Removing intermediate container 44a099b1c5b7 [2023-08-23T11:43:17.508Z] ---> 41e256b5216f [2023-08-23T11:43:17.508Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-23T11:43:17.508Z] ---> Running in 4baf966565c3 [2023-08-23T11:43:17.774Z] Removing intermediate container 4baf966565c3 [2023-08-23T11:43:17.774Z] ---> 9197937d070d [2023-08-23T11:43:17.774Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-23T11:43:17.774Z] ---> Running in a864420af5ae [2023-08-23T11:43:18.040Z] Removing intermediate container a864420af5ae [2023-08-23T11:43:18.040Z] ---> 7b6c5d89737c [2023-08-23T11:43:18.040Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-23T11:43:18.040Z] ---> Running in 0dfb2a6de4a8 [2023-08-23T11:43:18.313Z] Removing intermediate container 0dfb2a6de4a8 [2023-08-23T11:43:18.313Z] ---> 939cf6182c65 [2023-08-23T11:43:18.313Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-23T11:43:18.579Z] ---> Running in 8f7ca365437a [2023-08-23T11:43:19.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-23T11:43:20.117Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T11:43:21.072Z] OK: 268 MiB in 57 packages [2023-08-23T11:43:21.657Z] Removing intermediate container 8f7ca365437a [2023-08-23T11:43:21.657Z] ---> 86f6d5a1c0e7 [2023-08-23T11:43:21.657Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-23T11:43:22.238Z] ---> a26f20eed09b [2023-08-23T11:43:22.238Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-23T11:43:22.238Z] ---> Running in 158143270b66 [2023-08-23T11:43:26.489Z] Removing intermediate container 158143270b66 [2023-08-23T11:43:26.489Z] ---> 86d53e29b61a [2023-08-23T11:43:26.489Z] Step 10/25 : COPY . . [2023-08-23T11:43:26.755Z] ---> 58ec87419244 [2023-08-23T11:43:26.755Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-23T11:43:27.022Z] ---> Running in 99049ee3369f [2023-08-23T11:43:27.290Z] Removing intermediate container 99049ee3369f [2023-08-23T11:43:27.290Z] ---> bca8c008fc59 [2023-08-23T11:43:27.290Z] Step 12/25 : RUN $MAKE [2023-08-23T11:43:27.290Z] ---> Running in 5dfe8dc0b121 [2023-08-23T11:43:28.249Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.15" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-23T11:45:34.930Z] Removing intermediate container 5dfe8dc0b121 [2023-08-23T11:45:34.930Z] ---> e9c08b2e83b3 [2023-08-23T11:45:34.930Z] Step 13/25 : FROM alpine:3.17 [2023-08-23T11:45:34.930Z] 3.17: Pulling from library/alpine [2023-08-23T11:45:34.930Z] 4060ece20d7a: Pulling fs layer [2023-08-23T11:45:34.930Z] 4060ece20d7a: Verifying Checksum [2023-08-23T11:45:34.930Z] 4060ece20d7a: Download complete [2023-08-23T11:45:34.930Z] 4060ece20d7a: Pull complete [2023-08-23T11:45:34.930Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-23T11:45:34.930Z] Status: Downloaded newer image for alpine:3.17 [2023-08-23T11:45:34.930Z] ---> 8650cd65339b [2023-08-23T11:45:34.930Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-23T11:45:34.930Z] ---> Running in 994b99a09b89 [2023-08-23T11:45:34.930Z] Removing intermediate container 994b99a09b89 [2023-08-23T11:45:34.930Z] ---> 264fa45e9dd9 [2023-08-23T11:45:34.930Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-23T11:45:34.930Z] ---> Running in 6bc55b1c9ffb [2023-08-23T11:45:35.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-23T11:45:36.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-23T11:45:37.428Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-23T11:45:37.428Z] Executing busybox-1.35.0-r29.trigger [2023-08-23T11:45:37.428Z] OK: 8 MiB in 16 packages [2023-08-23T11:45:38.011Z] Removing intermediate container 6bc55b1c9ffb [2023-08-23T11:45:38.011Z] ---> fc3d7d209985 [2023-08-23T11:45:38.011Z] Step 16/25 : WORKDIR / [2023-08-23T11:45:38.279Z] ---> Running in 8c4353794e11 [2023-08-23T11:45:38.546Z] Removing intermediate container 8c4353794e11 [2023-08-23T11:45:38.546Z] ---> 92c540376388 [2023-08-23T11:45:38.546Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-23T11:45:38.813Z] ---> 4616d3048c84 [2023-08-23T11:45:38.813Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-23T11:45:39.396Z] ---> c6defe1a41b5 [2023-08-23T11:45:39.396Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-23T11:45:40.803Z] ---> 11002e267651 [2023-08-23T11:45:40.803Z] Step 20/25 : EXPOSE 59900 [2023-08-23T11:45:40.803Z] ---> Running in a19a78fd8d2c [2023-08-23T11:45:41.069Z] Removing intermediate container a19a78fd8d2c [2023-08-23T11:45:41.069Z] ---> ad0444052c28 [2023-08-23T11:45:41.069Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-23T11:45:41.069Z] ---> Running in ea2560d82d82 [2023-08-23T11:45:41.339Z] Removing intermediate container ea2560d82d82 [2023-08-23T11:45:41.339Z] ---> ab0e3bdc902f [2023-08-23T11:45:41.339Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-23T11:45:41.607Z] ---> Running in 58f6b6f97dab [2023-08-23T11:45:41.874Z] Removing intermediate container 58f6b6f97dab [2023-08-23T11:45:41.874Z] ---> 27b78baee5c4 [2023-08-23T11:45:41.874Z] Step 23/25 : LABEL arch=arm64 [2023-08-23T11:45:41.874Z] ---> Running in 1dfe0cbf6732 [2023-08-23T11:45:42.140Z] Removing intermediate container 1dfe0cbf6732 [2023-08-23T11:45:42.140Z] ---> 7edd383abb72 [2023-08-23T11:45:42.140Z] Step 24/25 : LABEL git_sha=b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [2023-08-23T11:45:42.140Z] ---> Running in be79e57519bc [2023-08-23T11:45:42.407Z] Removing intermediate container be79e57519bc [2023-08-23T11:45:42.407Z] ---> 87a769014cb3 [2023-08-23T11:45:42.407Z] Step 25/25 : LABEL version=3.1.0-dev.7 [2023-08-23T11:45:42.407Z] ---> Running in a6cdaf35f78b [2023-08-23T11:45:42.674Z] Removing intermediate container a6cdaf35f78b [2023-08-23T11:45:42.674Z] ---> 700aba8038d0 [2023-08-23T11:45:42.674Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-23T11:45:42.674Z] Successfully built 700aba8038d0 [2023-08-23T11:45:42.940Z] 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-08-23T11:45:43.038Z] provisioning config files... [2023-08-23T11:45:43.051Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/133@tmp/config4144386953122418702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:45:43.385Z] ---> docker-login.sh [2023-08-23T11:45:43.385Z] nexus3.edgexfoundry.org:10001 [2023-08-23T11:45:43.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:45:43.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:45:43.652Z] Configure a credential helper to remove this warning. See [2023-08-23T11:45:43.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:45:43.652Z] [2023-08-23T11:45:43.652Z] Login Succeeded [2023-08-23T11:45:43.652Z] nexus3.edgexfoundry.org:10002 [2023-08-23T11:45:43.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:45:43.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:45:43.920Z] Configure a credential helper to remove this warning. See [2023-08-23T11:45:43.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:45:43.920Z] [2023-08-23T11:45:43.920Z] Login Succeeded [2023-08-23T11:45:43.920Z] nexus3.edgexfoundry.org:10003 [2023-08-23T11:45:44.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:45:44.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:45:44.454Z] Configure a credential helper to remove this warning. See [2023-08-23T11:45:44.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:45:44.454Z] [2023-08-23T11:45:44.454Z] Login Succeeded [2023-08-23T11:45:44.454Z] nexus3.edgexfoundry.org:10004 [2023-08-23T11:45:44.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:45:44.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:45:44.722Z] Configure a credential helper to remove this warning. See [2023-08-23T11:45:44.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:45:44.722Z] [2023-08-23T11:45:44.722Z] Login Succeeded [2023-08-23T11:45:44.722Z] docker.io [2023-08-23T11:45:44.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-23T11:45:45.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-23T11:45:45.249Z] Configure a credential helper to remove this warning. See [2023-08-23T11:45:45.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-23T11:45:45.249Z] [2023-08-23T11:45:45.249Z] Login Succeeded [2023-08-23T11:45:45.249Z] ---> docker-login.sh ends [Pipeline] } [2023-08-23T11:45:45.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-23T11:45:45.290Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-23T11:45:45.310Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-08-23T11:45:45.310Z] b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [2023-08-23T11:45:45.310Z] latest [2023-08-23T11:45:45.310Z] 3.1.0-dev.7 [2023-08-23T11:45:45.310Z] b2aaf32d0f62f9c14c83812b914ce9a372d510a0-3.1.0-dev.7 [2023-08-23T11:45:45.310Z] main [2023-08-23T11:45:45.310Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:45:45.640Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:45:45.967Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [2023-08-23T11:45:45.967Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-23T11:45:45.967Z] 04973b2884c6: Preparing [2023-08-23T11:45:45.967Z] 95e57bd011e9: Preparing [2023-08-23T11:45:45.967Z] f52a256698cf: Preparing [2023-08-23T11:45:45.967Z] 666247e948f8: Preparing [2023-08-23T11:45:45.967Z] d2d9d24a8c2a: Preparing [2023-08-23T11:45:45.967Z] d2d9d24a8c2a: Layer already exists [2023-08-23T11:45:46.233Z] f52a256698cf: Pushed [2023-08-23T11:45:46.233Z] 666247e948f8: Pushed [2023-08-23T11:45:46.233Z] 95e57bd011e9: Pushed [2023-08-23T11:45:51.554Z] 04973b2884c6: Pushed [2023-08-23T11:45:51.554Z] b2aaf32d0f62f9c14c83812b914ce9a372d510a0: digest: sha256:acd42f5fade7039ad1ad424c3636d1304270d3153437fc6ac4f658f0d232ed7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:45:51.949Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:45:52.287Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-08-23T11:45:52.287Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-23T11:45:52.287Z] 04973b2884c6: Preparing [2023-08-23T11:45:52.287Z] 95e57bd011e9: Preparing [2023-08-23T11:45:52.287Z] f52a256698cf: Preparing [2023-08-23T11:45:52.288Z] 666247e948f8: Preparing [2023-08-23T11:45:52.288Z] d2d9d24a8c2a: Preparing [2023-08-23T11:45:52.288Z] 666247e948f8: Layer already exists [2023-08-23T11:45:52.288Z] d2d9d24a8c2a: Layer already exists [2023-08-23T11:45:52.288Z] 04973b2884c6: Layer already exists [2023-08-23T11:45:52.288Z] f52a256698cf: Layer already exists [2023-08-23T11:45:52.288Z] 95e57bd011e9: Layer already exists [2023-08-23T11:45:52.288Z] latest: digest: sha256:acd42f5fade7039ad1ad424c3636d1304270d3153437fc6ac4f658f0d232ed7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:45:52.907Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:45:53.254Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.7 [2023-08-23T11:45:53.254Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-23T11:45:53.254Z] 04973b2884c6: Preparing [2023-08-23T11:45:53.254Z] 95e57bd011e9: Preparing [2023-08-23T11:45:53.254Z] f52a256698cf: Preparing [2023-08-23T11:45:53.254Z] 666247e948f8: Preparing [2023-08-23T11:45:53.254Z] d2d9d24a8c2a: Preparing [2023-08-23T11:45:53.254Z] 04973b2884c6: Layer already exists [2023-08-23T11:45:53.254Z] d2d9d24a8c2a: Layer already exists [2023-08-23T11:45:53.254Z] 95e57bd011e9: Layer already exists [2023-08-23T11:45:53.254Z] f52a256698cf: Layer already exists [2023-08-23T11:45:53.254Z] 666247e948f8: Layer already exists [2023-08-23T11:45:53.254Z] 3.1.0-dev.7: digest: sha256:acd42f5fade7039ad1ad424c3636d1304270d3153437fc6ac4f658f0d232ed7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:45:53.611Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b2aaf32d0f62f9c14c83812b914ce9a372d510a0-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:45:53.943Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b2aaf32d0f62f9c14c83812b914ce9a372d510a0-3.1.0-dev.7 [2023-08-23T11:45:53.943Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-23T11:45:53.943Z] 04973b2884c6: Preparing [2023-08-23T11:45:53.943Z] 95e57bd011e9: Preparing [2023-08-23T11:45:53.943Z] f52a256698cf: Preparing [2023-08-23T11:45:53.943Z] 666247e948f8: Preparing [2023-08-23T11:45:53.943Z] d2d9d24a8c2a: Preparing [2023-08-23T11:45:53.943Z] 95e57bd011e9: Layer already exists [2023-08-23T11:45:53.943Z] 04973b2884c6: Layer already exists [2023-08-23T11:45:53.943Z] 666247e948f8: Layer already exists [2023-08-23T11:45:53.943Z] d2d9d24a8c2a: Layer already exists [2023-08-23T11:45:53.943Z] f52a256698cf: Layer already exists [2023-08-23T11:45:53.943Z] b2aaf32d0f62f9c14c83812b914ce9a372d510a0-3.1.0-dev.7: digest: sha256:acd42f5fade7039ad1ad424c3636d1304270d3153437fc6ac4f658f0d232ed7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:45:54.283Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:45:54.645Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-08-23T11:45:54.645Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-23T11:45:54.645Z] 04973b2884c6: Preparing [2023-08-23T11:45:54.645Z] 95e57bd011e9: Preparing [2023-08-23T11:45:54.645Z] f52a256698cf: Preparing [2023-08-23T11:45:54.645Z] 666247e948f8: Preparing [2023-08-23T11:45:54.645Z] d2d9d24a8c2a: Preparing [2023-08-23T11:45:54.645Z] d2d9d24a8c2a: Layer already exists [2023-08-23T11:45:54.645Z] f52a256698cf: Layer already exists [2023-08-23T11:45:54.645Z] 04973b2884c6: Layer already exists [2023-08-23T11:45:54.645Z] 666247e948f8: Layer already exists [2023-08-23T11:45:54.645Z] 95e57bd011e9: Layer already exists [2023-08-23T11:45:54.909Z] main: digest: sha256:acd42f5fade7039ad1ad424c3636d1304270d3153437fc6ac4f658f0d232ed7f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-23T11:45:54.955Z] ===================================================== [Pipeline] echo [2023-08-23T11:45:54.962Z] taggedImages: [2023-08-23T11:45:54.962Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [2023-08-23T11:45:54.962Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-08-23T11:45:54.962Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.7 [2023-08-23T11:45:54.962Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b2aaf32d0f62f9c14c83812b914ce9a372d510a0-3.1.0-dev.7 [2023-08-23T11:45:54.962Z] - 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-08-23T11:45:55.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T11:45:55.328Z] [2023-08-23T11:45:55.328Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:45:55.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T11:45:55.661Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-23T11:45:55.661Z] 8998bd30e6a1: Pulling fs layer [2023-08-23T11:45:55.661Z] 04944245beec: Pulling fs layer [2023-08-23T11:45:55.661Z] 699f458cf7ca: Pulling fs layer [2023-08-23T11:45:55.661Z] 765212b225bb: Pulling fs layer [2023-08-23T11:45:55.661Z] f23df028b6ca: Pulling fs layer [2023-08-23T11:45:55.661Z] d65c8cfc05b1: Pulling fs layer [2023-08-23T11:45:55.661Z] 2437ff75d9bd: Pulling fs layer [2023-08-23T11:45:55.661Z] 765212b225bb: Waiting [2023-08-23T11:45:55.661Z] f23df028b6ca: Waiting [2023-08-23T11:45:55.661Z] d65c8cfc05b1: Waiting [2023-08-23T11:45:55.661Z] 2437ff75d9bd: Waiting [2023-08-23T11:45:55.929Z] 04944245beec: Verifying Checksum [2023-08-23T11:45:55.929Z] 765212b225bb: Verifying Checksum [2023-08-23T11:45:55.929Z] 765212b225bb: Download complete [2023-08-23T11:45:55.929Z] f23df028b6ca: Verifying Checksum [2023-08-23T11:45:55.929Z] f23df028b6ca: Download complete [2023-08-23T11:45:55.929Z] d65c8cfc05b1: Verifying Checksum [2023-08-23T11:45:55.929Z] d65c8cfc05b1: Download complete [2023-08-23T11:45:56.196Z] 699f458cf7ca: Verifying Checksum [2023-08-23T11:45:56.196Z] 699f458cf7ca: Download complete [2023-08-23T11:45:56.462Z] 8998bd30e6a1: Verifying Checksum [2023-08-23T11:45:56.462Z] 8998bd30e6a1: Download complete [2023-08-23T11:45:59.039Z] 2437ff75d9bd: Verifying Checksum [2023-08-23T11:45:59.039Z] 2437ff75d9bd: Download complete [2023-08-23T11:46:00.436Z] 8998bd30e6a1: Pull complete [2023-08-23T11:46:00.701Z] 04944245beec: Pull complete [2023-08-23T11:46:02.107Z] 699f458cf7ca: Pull complete [2023-08-23T11:46:02.107Z] 765212b225bb: Pull complete [2023-08-23T11:46:03.518Z] f23df028b6ca: Pull complete [2023-08-23T11:46:03.518Z] d65c8cfc05b1: Pull complete [2023-08-23T11:46:18.511Z] 2437ff75d9bd: Pull complete [2023-08-23T11:46:18.511Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-23T11:46:18.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-23T11:46:18.512Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:46:18.692Z] prd-ubuntu20.04-docker-arm64-4c-16g-4362 does not seem to be running inside a container [2023-08-23T11:46:18.753Z] $ 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/133 -v /w/workspace/device-virtual-go/133:/w/workspace/device-virtual-go/133:rw,z -v /w/workspace/device-virtual-go/133@tmp:/w/workspace/device-virtual-go/133@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-23T11:46:21.183Z] $ docker top 3cf06090d44d03128a1b0c283f6f21861ce2f6842b007dca673ffef343cc3aed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:46:21.988Z] ---> job-cost.sh [2023-08-23T11:46:21.988Z] lf-activate-venv: SKIPPING [2023-08-23T11:46:21.988Z] INFO: No Stack... [2023-08-23T11:46:22.253Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-23T11:46:23.205Z] INFO: Archiving Costs [Pipeline] sh [2023-08-23T11:46:23.518Z] + + cutcat -d, /w/workspace/device-virtual-go/133/archives/cost.csv -f6 [2023-08-23T11:46:23.518Z] [Pipeline] lock [2023-08-23T11:46:23.579Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-133-stack-cost] [2023-08-23T11:46:23.585Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-133-stack-cost] did not exist. Created. [2023-08-23T11:46:23.585Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-23T11:46:23.909Z] /w/workspace/device-virtual-go/133@tmp/durable-5591a676/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-23T11:46:24.238Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-23T11:46:24.256Z] Warning: overwriting stash ‘stack-cost’ [2023-08-23T11:46:24.306Z] Stashed 1 file(s) [Pipeline] } [2023-08-23T11:46:24.312Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-23T11:46:24.328Z] $ docker stop --time=1 3cf06090d44d03128a1b0c283f6f21861ce2f6842b007dca673ffef343cc3aed [2023-08-23T11:46:25.786Z] $ docker rm -f --volumes 3cf06090d44d03128a1b0c283f6f21861ce2f6842b007dca673ffef343cc3aed [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-08-23T11:46:26.202Z] provisioning config files... [2023-08-23T11:46:26.209Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9545047225605710175tmp [Pipeline] { [Pipeline] sh [2023-08-23T11:46:26.508Z] + set +x [2023-08-23T11:46:26.509Z] + curl -s https://codecov.io/bash [2023-08-23T11:46:26.509Z] + bash -s -- [2023-08-23T11:46:26.509Z] [2023-08-23T11:46:26.509Z] _____ _ [2023-08-23T11:46:26.509Z] / ____| | | [2023-08-23T11:46:26.509Z] | | ___ __| | ___ ___ _____ __ [2023-08-23T11:46:26.509Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-23T11:46:26.509Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-23T11:46:26.509Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-23T11:46:26.509Z] Bash-1.0.6 [2023-08-23T11:46:26.509Z] [2023-08-23T11:46:26.509Z] [2023-08-23T11:46:26.509Z] ==> git version 2.25.1 found [2023-08-23T11:46:26.509Z] ==> 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-08-23T11:46:26.509Z] Release-Date: 2020-01-08 [2023-08-23T11:46:26.509Z] 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-08-23T11:46:26.509Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-23T11:46:26.509Z] ==> Jenkins CI detected. [2023-08-23T11:46:26.509Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-08-23T11:46:26.509Z] project root: . [2023-08-23T11:46:26.509Z] --> token set from env [2023-08-23T11:46:26.509Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-23T11:46:26.769Z] ==> Running gcov in . (disable via -X gcov) [2023-08-23T11:46:26.769Z] ==> Python coveragepy not found [2023-08-23T11:46:26.769Z] ==> Searching for coverage reports in: [2023-08-23T11:46:26.769Z] + . [2023-08-23T11:46:26.769Z] -> Found 1 reports [2023-08-23T11:46:26.769Z] ==> Detecting git/mercurial file structure [2023-08-23T11:46:26.769Z] ==> Reading reports [2023-08-23T11:46:26.769Z] + ./coverage.out bytes=43063 [2023-08-23T11:46:26.769Z] ==> Appending adjustments [2023-08-23T11:46:26.769Z] https://docs.codecov.io/docs/fixing-reports [2023-08-23T11:46:26.769Z] + Found adjustments [2023-08-23T11:46:26.769Z] ==> Gzipping contents [2023-08-23T11:46:26.769Z] 8.0K /tmp/codecov.rgs9Fy.gz [2023-08-23T11:46:26.769Z] ==> Uploading reports [2023-08-23T11:46:26.769Z] url: https://codecov.io [2023-08-23T11:46:26.769Z] query: branch=main&commit=b2aaf32d0f62f9c14c83812b914ce9a372d510a0&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-23T11:46:26.769Z] -> Pinging Codecov [2023-08-23T11:46:26.769Z] 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=b2aaf32d0f62f9c14c83812b914ce9a372d510a0&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-23T11:46:27.028Z] -> Uploading to [2023-08-23T11:46:27.028Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-23/5E52B4B073DB2E39498172D8E973AA87/b2aaf32d0f62f9c14c83812b914ce9a372d510a0/1af51a42-4061-4b37-b12a-56045378573c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230823%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230823T114626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4098637054e0d87ef2960b6835809763c0da0eb2a90a851b2e235c306147af6a [2023-08-23T11:46:27.028Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-23T11:46:27.028Z] Dload Upload Total Spent Left Speed [2023-08-23T11:46:27.287Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23351 --:--:-- --:--:-- --:--:-- 23351 [2023-08-23T11:46:27.287Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [Pipeline] } [2023-08-23T11:46:27.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-23T11:46:27.502Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-23T11:46:27.514Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:46:27.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-23T11:46:27.814Z] [2023-08-23T11:46:27.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:46:28.107Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-23T11:46:28.107Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-23T11:46:28.107Z] df9b9388f04a: Pulling fs layer [2023-08-23T11:46:28.107Z] 52dc419b0ee2: Pulling fs layer [2023-08-23T11:46:28.107Z] 25bc292e5bac: Pulling fs layer [2023-08-23T11:46:28.107Z] 114826534d7a: Pulling fs layer [2023-08-23T11:46:28.107Z] 4657fd5d0bcf: Pulling fs layer [2023-08-23T11:46:28.107Z] 6ad1cebc031e: Pulling fs layer [2023-08-23T11:46:28.107Z] 8a3aa393b2d8: Pulling fs layer [2023-08-23T11:46:28.107Z] 4657fd5d0bcf: Waiting [2023-08-23T11:46:28.107Z] 114826534d7a: Waiting [2023-08-23T11:46:28.107Z] 6ad1cebc031e: Waiting [2023-08-23T11:46:28.107Z] 25bc292e5bac: Verifying Checksum [2023-08-23T11:46:28.107Z] 25bc292e5bac: Download complete [2023-08-23T11:46:28.107Z] 52dc419b0ee2: Verifying Checksum [2023-08-23T11:46:28.107Z] 52dc419b0ee2: Download complete [2023-08-23T11:46:28.107Z] 4657fd5d0bcf: Download complete [2023-08-23T11:46:28.107Z] df9b9388f04a: Verifying Checksum [2023-08-23T11:46:28.107Z] df9b9388f04a: Download complete [2023-08-23T11:46:28.366Z] df9b9388f04a: Pull complete [2023-08-23T11:46:28.366Z] 6ad1cebc031e: Verifying Checksum [2023-08-23T11:46:28.366Z] 6ad1cebc031e: Download complete [2023-08-23T11:46:28.366Z] 52dc419b0ee2: Pull complete [2023-08-23T11:46:28.625Z] 25bc292e5bac: Pull complete [2023-08-23T11:46:28.883Z] 114826534d7a: Verifying Checksum [2023-08-23T11:46:28.883Z] 114826534d7a: Download complete [2023-08-23T11:46:29.141Z] 8a3aa393b2d8: Verifying Checksum [2023-08-23T11:46:29.141Z] 8a3aa393b2d8: Download complete [2023-08-23T11:46:33.329Z] 114826534d7a: Pull complete [2023-08-23T11:46:33.329Z] 4657fd5d0bcf: Pull complete [2023-08-23T11:46:33.587Z] 6ad1cebc031e: Pull complete [2023-08-23T11:46:36.868Z] 8a3aa393b2d8: Pull complete [2023-08-23T11:46:36.868Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-23T11:46:36.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-23T11:46:36.868Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:46:36.955Z] prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container [2023-08-23T11:46:36.982Z] $ 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-08-23T11:46:41.806Z] $ docker top 8f98a8c8bfd9b7e4e71c465eba182220ebe432c474ea1b8fa6468f953678b1a9 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-23T11:46:41.888Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-08-23T11:46:42.165Z] + set -o pipefail [2023-08-23T11:46:42.165Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-08-23T11:46:48.740Z] [2023-08-23T11:46:48.740Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-08-23T11:46:48.740Z] [2023-08-23T11:46:48.740Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/7d6213b9-0792-4503-b0a8-9993d118beaa [2023-08-23T11:46:48.740Z] [2023-08-23T11:46:48.740Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-23T11:46:48.740Z] [2023-08-23T11:46:48.740Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-23T11:46:48.740Z] [2023-08-23T11:46:48.740Z] [2023-08-23T11:46:48.740Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-23T11:46:48.740Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-23T11:46:48.740Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-23T11:46:48.753Z] $ docker stop --time=1 8f98a8c8bfd9b7e4e71c465eba182220ebe432c474ea1b8fa6468f953678b1a9 [2023-08-23T11:46:52.881Z] $ docker rm -f --volumes 8f98a8c8bfd9b7e4e71c465eba182220ebe432c474ea1b8fa6468f953678b1a9 [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-08-23T11:46:53.635Z] + git log --format=format:%s -1 b2aaf32d0f62f9c14c83812b914ce9a372d510a0 [Pipeline] sh [2023-08-23T11:46:53.928Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-23T11:46:53.928Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:46:54.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T11:46:54.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:46:54.308Z] prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container [2023-08-23T11:46:54.343Z] $ 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-08-23T11:46:54.766Z] $ docker top 04fe54ca4cda4eac98ca4045940cb71a43d2b00c7b8b24645178f679da670e30 -eo pid,comm [2023-08-23T11:46:54.815Z] 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-08-23T11:46:54.815Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-23T11:46:54.852Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-23T11:46:54.852Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-23T11:46:54.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-23T11:46:54.972Z] $ docker exec 04fe54ca4cda4eac98ca4045940cb71a43d2b00c7b8b24645178f679da670e30 ssh-agent [2023-08-23T11:46:55.089Z] SSH_AUTH_SOCK=/tmp/ssh-LZ0MJYNquasQ/agent.32 [2023-08-23T11:46:55.089Z] SSH_AGENT_PID=38 [2023-08-23T11:46:55.096Z] Running ssh-add (command line suppressed) [2023-08-23T11:46:55.208Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2702917181124967722.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2702917181124967722.key) [2023-08-23T11:46:55.221Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-23T11:46:55.506Z] + git semver tag [2023-08-23T11:46:55.766Z] 2023-08-23 11:46:55,673 [run_tag] DEBUG tag force:False [2023-08-23T11:46:55.766Z] 2023-08-23 11:46:55,673 [check_head_tag] DEBUG check head tag [2023-08-23T11:46:55.766Z] 2023-08-23 11:46:55,674 [execute] INFO git cat-file --batch-check [2023-08-23T11:46:55.766Z] 2023-08-23 11:46:55,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-08-23T11:46:55.766Z] 2023-08-23 11:46:55,678 [execute] INFO git cat-file --batch [2023-08-23T11:46:55.766Z] 2023-08-23 11:46:55,679 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-08-23T11:46:55.766Z] 2023-08-23 11:46:55,689 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-23T11:46:55.766Z] 2023-08-23 11:46:55,689 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 [2023-08-23T11:46:55.766Z] 2023-08-23 11:46:55,689 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-23T11:46:55.766Z] 2023-08-23 11:46:55,695 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-23T11:46:55.766Z] 3.1.0-dev.7 [Pipeline] } [2023-08-23T11:46:55.778Z] $ docker exec --env ******** --env ******** 04fe54ca4cda4eac98ca4045940cb71a43d2b00c7b8b24645178f679da670e30 ssh-agent -k [2023-08-23T11:46:55.879Z] unset SSH_AUTH_SOCK; [2023-08-23T11:46:55.880Z] unset SSH_AGENT_PID; [2023-08-23T11:46:55.880Z] echo Agent pid 38 killed; [2023-08-23T11:46:55.889Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-23T11:46:56.190Z] + git semver [Pipeline] } [2023-08-23T11:46:56.464Z] $ docker stop --time=1 04fe54ca4cda4eac98ca4045940cb71a43d2b00c7b8b24645178f679da670e30 [2023-08-23T11:46:57.776Z] $ docker rm -f --volumes 04fe54ca4cda4eac98ca4045940cb71a43d2b00c7b8b24645178f679da670e30 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:46:58.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-23T11:46:58.168Z] [2023-08-23T11:46:58.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:46:58.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-23T11:46:58.468Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-23T11:46:58.468Z] ab5ef0e58194: Pulling fs layer [2023-08-23T11:46:58.468Z] 9712f1f96733: Pulling fs layer [2023-08-23T11:46:58.468Z] 63f879dbbcfc: Pulling fs layer [2023-08-23T11:46:58.468Z] 0d9ebad4ef96: Pulling fs layer [2023-08-23T11:46:58.468Z] e9a5061849ea: Pulling fs layer [2023-08-23T11:46:58.468Z] d747dcd14b5f: Pulling fs layer [2023-08-23T11:46:58.468Z] 2de7ff778b66: Pulling fs layer [2023-08-23T11:46:58.468Z] 0d9ebad4ef96: Waiting [2023-08-23T11:46:58.468Z] e9a5061849ea: Waiting [2023-08-23T11:46:58.468Z] d747dcd14b5f: Waiting [2023-08-23T11:46:58.468Z] 2de7ff778b66: Waiting [2023-08-23T11:46:58.468Z] 9712f1f96733: Download complete [2023-08-23T11:46:59.036Z] 63f879dbbcfc: Verifying Checksum [2023-08-23T11:46:59.036Z] 63f879dbbcfc: Download complete [2023-08-23T11:46:59.036Z] 0d9ebad4ef96: Verifying Checksum [2023-08-23T11:46:59.036Z] 0d9ebad4ef96: Download complete [2023-08-23T11:46:59.036Z] d747dcd14b5f: Download complete [2023-08-23T11:46:59.036Z] e9a5061849ea: Verifying Checksum [2023-08-23T11:46:59.036Z] e9a5061849ea: Download complete [2023-08-23T11:46:59.036Z] ab5ef0e58194: Download complete [2023-08-23T11:46:59.036Z] 2de7ff778b66: Verifying Checksum [2023-08-23T11:46:59.036Z] 2de7ff778b66: Download complete [2023-08-23T11:47:02.318Z] ab5ef0e58194: Pull complete [2023-08-23T11:47:02.318Z] 9712f1f96733: Pull complete [2023-08-23T11:47:02.884Z] 63f879dbbcfc: Pull complete [2023-08-23T11:47:07.074Z] 0d9ebad4ef96: Pull complete [2023-08-23T11:47:07.074Z] e9a5061849ea: Pull complete [2023-08-23T11:47:07.074Z] d747dcd14b5f: Pull complete [2023-08-23T11:47:08.455Z] 2de7ff778b66: Pull complete [2023-08-23T11:47:08.455Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-23T11:47:08.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-23T11:47:08.455Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:47:08.555Z] prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container [2023-08-23T11:47:08.589Z] $ 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-08-23T11:47:15.067Z] $ docker top 52195a3869fae14efbfcb6404dee8243c820cb3ecc89a2a1a1dde255b34725ca -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-23T11:47:15.137Z] provisioning config files... [2023-08-23T11:47:15.143Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10047741162399348780tmp [2023-08-23T11:47:15.151Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2168797638327195935tmp [2023-08-23T11:47:15.160Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17552430579646005481tmp [Pipeline] { [Pipeline] echo [2023-08-23T11:47:15.176Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:47:15.458Z] ---> sigul-configuration.sh [2023-08-23T11:47:15.458Z] gpg: directory `/root/.gnupg' created [2023-08-23T11:47:15.458Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-23T11:47:15.458Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-23T11:47:15.458Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-23T11:47:15.458Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-23T11:47:15.458Z] gpg: CAST5 encrypted data [2023-08-23T11:47:15.458Z] gpg: encrypted with 1 passphrase [2023-08-23T11:47:15.458Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-23T11:47:15.744Z] + mkdir /home/jenkins [2023-08-23T11:47:15.744Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-23T11:47:16.028Z] + 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-08-23T11:47:16.035Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:47:16.320Z] ---> sigul-install.sh [2023-08-23T11:47:16.320Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-23T11:47:16.605Z] + git tag --list [2023-08-23T11:47:16.605Z] v1.0.0 [2023-08-23T11:47:16.605Z] v1.1.0 [2023-08-23T11:47:16.605Z] v1.1.1 [2023-08-23T11:47:16.605Z] v1.2.1 [2023-08-23T11:47:16.605Z] v1.2.2 [2023-08-23T11:47:16.605Z] v1.2.3 [2023-08-23T11:47:16.605Z] v1.3.0 [2023-08-23T11:47:16.605Z] v1.3.1 [2023-08-23T11:47:16.605Z] v2.0.0 [2023-08-23T11:47:16.605Z] v2.1.0 [2023-08-23T11:47:16.605Z] v2.1.1 [2023-08-23T11:47:16.605Z] v2.2.0 [2023-08-23T11:47:16.605Z] v2.3.0 [2023-08-23T11:47:16.605Z] v3.0 [2023-08-23T11:47:16.605Z] v3.0.0 [2023-08-23T11:47:16.605Z] v3.1.0-dev.1 [2023-08-23T11:47:16.605Z] v3.1.0-dev.2 [2023-08-23T11:47:16.605Z] v3.1.0-dev.3 [2023-08-23T11:47:16.605Z] v3.1.0-dev.4 [2023-08-23T11:47:16.605Z] v3.1.0-dev.5 [2023-08-23T11:47:16.605Z] v3.1.0-dev.6 [2023-08-23T11:47:16.605Z] v3.1.0-dev.7 [Pipeline] sh [2023-08-23T11:47:16.895Z] + lftools sign git-tag v3.1.0-dev.7 [2023-08-23T11:47:17.462Z] Signing Git tag with Sigul... [2023-08-23T11:47:17.462Z] Signing v3.1.0-dev.7 [Pipeline] echo [2023-08-23T11:47:17.732Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:47:18.015Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-23T11:47:18.023Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-23T11:47:18.042Z] $ docker stop --time=1 52195a3869fae14efbfcb6404dee8243c820cb3ecc89a2a1a1dde255b34725ca [2023-08-23T11:47:19.339Z] $ docker rm -f --volumes 52195a3869fae14efbfcb6404dee8243c820cb3ecc89a2a1a1dde255b34725ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-23T11:47:19.823Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-23T11:47:19.823Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:47:20.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T11:47:20.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:47:20.251Z] prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container [2023-08-23T11:47:20.285Z] $ 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-08-23T11:47:20.663Z] $ docker top f3aa4731753734179668c803b9b7551193ea73cb917b1777a323980aaa85812f -eo pid,comm [2023-08-23T11:47:20.733Z] 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-08-23T11:47:20.733Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-23T11:47:20.771Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-23T11:47:20.772Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-23T11:47:20.891Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-23T11:47:20.895Z] $ docker exec f3aa4731753734179668c803b9b7551193ea73cb917b1777a323980aaa85812f ssh-agent [2023-08-23T11:47:21.008Z] SSH_AUTH_SOCK=/tmp/ssh-TqQgN32qrTUf/agent.33 [2023-08-23T11:47:21.008Z] SSH_AGENT_PID=39 [2023-08-23T11:47:21.013Z] Running ssh-add (command line suppressed) [2023-08-23T11:47:21.144Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3756071386701800536.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3756071386701800536.key) [2023-08-23T11:47:21.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-23T11:47:21.446Z] + git semver bump pre [2023-08-23T11:47:21.704Z] 2023-08-23 11:47:21,703 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-23T11:47:21.704Z] 2023-08-23 11:47:21,703 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev [2023-08-23T11:47:21.704Z] 2023-08-23 11:47:21,703 [bump_version] DEBUG bumped version:3.1.0-dev.8 [2023-08-23T11:47:21.704Z] 2023-08-23 11:47:21,703 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-08-23T11:47:21.704Z] 2023-08-23 11:47:21,703 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-23T11:47:21.704Z] 2023-08-23 11:47:21,703 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-23T11:47:21.704Z] 2023-08-23 11:47:21,705 [execute] INFO git cat-file --batch-check [2023-08-23T11:47:21.963Z] 2023-08-23 11:47:21,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-23T11:47:21.963Z] 2023-08-23 11:47:21,711 [execute] INFO git cat-file --batch [2023-08-23T11:47:21.963Z] 2023-08-23 11:47:21,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-23T11:47:21.963Z] 2023-08-23 11:47:21,717 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-23T11:47:21.963Z] 3.1.0-dev.8 [Pipeline] } [2023-08-23T11:47:21.973Z] $ docker exec --env ******** --env ******** f3aa4731753734179668c803b9b7551193ea73cb917b1777a323980aaa85812f ssh-agent -k [2023-08-23T11:47:22.069Z] unset SSH_AUTH_SOCK; [2023-08-23T11:47:22.069Z] unset SSH_AGENT_PID; [2023-08-23T11:47:22.069Z] echo Agent pid 39 killed; [2023-08-23T11:47:22.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-23T11:47:22.376Z] + git semver [Pipeline] } [2023-08-23T11:47:22.648Z] $ docker stop --time=1 f3aa4731753734179668c803b9b7551193ea73cb917b1777a323980aaa85812f [2023-08-23T11:47:23.934Z] $ docker rm -f --volumes f3aa4731753734179668c803b9b7551193ea73cb917b1777a323980aaa85812f [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-23T11:47:24.288Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-23T11:47:24.288Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:47:24.586Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-23T11:47:24.586Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:47:24.658Z] prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container [2023-08-23T11:47:24.690Z] $ 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-08-23T11:47:25.054Z] $ docker top b45610706926e7315f5236f7ec5a3cb3021c41bfc60c09450cfb694d07f204f5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-23T11:47:25.133Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-23T11:47:25.133Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-23T11:47:25.260Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-23T11:47:25.264Z] $ docker exec b45610706926e7315f5236f7ec5a3cb3021c41bfc60c09450cfb694d07f204f5 ssh-agent [2023-08-23T11:47:25.389Z] SSH_AUTH_SOCK=/tmp/ssh-5a52i0rh6zR0/agent.32 [2023-08-23T11:47:25.389Z] SSH_AGENT_PID=38 [2023-08-23T11:47:25.394Z] Running ssh-add (command line suppressed) [2023-08-23T11:47:25.514Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3355622782889681608.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3355622782889681608.key) [2023-08-23T11:47:25.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-23T11:47:25.819Z] + git semver push [2023-08-23T11:47:26.078Z] 2023-08-23 11:47:26,006 [run_push] DEBUG push [2023-08-23T11:47:26.078Z] 2023-08-23 11:47:26,006 [execute] INFO git cat-file --batch-check [2023-08-23T11:47:26.078Z] 2023-08-23 11:47:26,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-23T11:47:26.078Z] 2023-08-23 11:47:26,011 [execute] INFO git rev-list 3a56a8bbf39352806f574252f6ae33bd49c5b5d8 -- [2023-08-23T11:47:26.078Z] 2023-08-23 11:47:26,011 [execute] DEBUG Popen(['git', 'rev-list', '3a56a8bbf39352806f574252f6ae33bd49c5b5d8', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-23T11:47:26.078Z] 2023-08-23 11:47:26,021 [execute] INFO git fetch -v origin [2023-08-23T11:47:26.078Z] 2023-08-23 11:47:26,022 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-23T11:47:26.644Z] 2023-08-23 11:47:26,480 [run_push] DEBUG no remote changes detected [2023-08-23T11:47:26.644Z] 2023-08-23 11:47:26,480 [execute] INFO git push origin semver [2023-08-23T11:47:26.644Z] 2023-08-23 11:47:26,481 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-23T11:47:27.583Z] 2023-08-23 11:47:27,215 [run_push] DEBUG push all version tags [2023-08-23T11:47:27.583Z] 2023-08-23 11:47:27,216 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-23T11:47:27.583Z] 2023-08-23 11:47:27,216 [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-08-23T11:47:28.153Z] 2023-08-23 11:47:27,962 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-23T11:47:28.153Z] 3.1.0-dev.8 [Pipeline] } [2023-08-23T11:47:28.163Z] $ docker exec --env ******** --env ******** b45610706926e7315f5236f7ec5a3cb3021c41bfc60c09450cfb694d07f204f5 ssh-agent -k [2023-08-23T11:47:28.252Z] unset SSH_AUTH_SOCK; [2023-08-23T11:47:28.252Z] unset SSH_AGENT_PID; [2023-08-23T11:47:28.252Z] echo Agent pid 38 killed; [2023-08-23T11:47:28.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-23T11:47:28.560Z] + git semver [Pipeline] } [2023-08-23T11:47:28.832Z] $ docker stop --time=1 b45610706926e7315f5236f7ec5a3cb3021c41bfc60c09450cfb694d07f204f5 [2023-08-23T11:47:30.140Z] $ docker rm -f --volumes b45610706926e7315f5236f7ec5a3cb3021c41bfc60c09450cfb694d07f204f5 [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-08-23T11:47:30.739Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-08-23T11:47:30.739Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-23T11:47:30.739Z] total 16 [2023-08-23T11:47:30.739Z] drwxr-xr-x 3 root root 4096 Aug 23 11:38 . [2023-08-23T11:47:30.739Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 11:47 .. [2023-08-23T11:47:30.739Z] drwxr-xr-x 2 root root 4096 Aug 23 11:38 cost [2023-08-23T11:47:30.739Z] -rw-r--r-- 1 root root 89 Aug 23 11:38 cost.csv [2023-08-23T11:47:30.739Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-23T11:47:30.739Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-23T11:47:30.739Z] total 16 [2023-08-23T11:47:30.739Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 11:38 . [2023-08-23T11:47:30.739Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 11:47 .. [2023-08-23T11:47:30.739Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 11:38 cost [2023-08-23T11:47:30.739Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 23 11:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:47:31.111Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:47:32.028Z] ---> package-listing.sh [2023-08-23T11:47:32.028Z] ++ facter osfamily [2023-08-23T11:47:32.028Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-23T11:47:32.327Z] + OS_FAMILY=debian [2023-08-23T11:47:32.327Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-08-23T11:47:32.327Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-23T11:47:32.327Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-23T11:47:32.327Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-23T11:47:32.327Z] + PACKAGES=/tmp/packages_start.txt [2023-08-23T11:47:32.327Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-08-23T11:47:32.327Z] + PACKAGES=/tmp/packages_end.txt [2023-08-23T11:47:32.327Z] + case "${OS_FAMILY}" in [2023-08-23T11:47:32.327Z] + dpkg -l [2023-08-23T11:47:32.327Z] + grep '^ii' [2023-08-23T11:47:32.327Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-23T11:47:32.327Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-23T11:47:32.327Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-23T11:47:32.327Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-08-23T11:47:32.327Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-08-23T11:47:32.327Z] + 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-08-23T11:47:32.336Z] 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-08-23T11:47:32.613Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-23T11:47:33.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-23T11:47:33.172Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-23T11:47:33.252Z] prd-ubuntu20.04-docker-8c-8g-4361 does not seem to be running inside a container [2023-08-23T11:47:33.286Z] $ 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-08-23T11:47:33.526Z] $ docker top de735b67a96333d71d65a17f5fde2d325eddfd396ad21d08ecf60572bc5bb2fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-23T11:47:33.871Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-23T11:47:34.158Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-23T11:47:34.444Z] + ls /var/log/sa-host [2023-08-23T11:47:34.444Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-23T11:47:34.588Z] provisioning config files... [2023-08-23T11:47:34.596Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11830586852386233529tmp [Pipeline] { [Pipeline] echo [2023-08-23T11:47:34.607Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:47:34.889Z] ---> create-netrc.sh [Pipeline] } [2023-08-23T11:47:34.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:47:35.217Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-23T11:47:35.226Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:47:35.509Z] ---> sudo-logs.sh [2023-08-23T11:47:35.510Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-23T11:47:35.532Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:47:35.814Z] ---> job-cost.sh [2023-08-23T11:47:35.814Z] lf-activate-venv: SKIPPING [2023-08-23T11:47:35.814Z] DEBUG: total: 0.2199999988079071 [2023-08-23T11:47:35.814Z] INFO: Retrieving Stack Cost... [2023-08-23T11:47:36.395Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-23T11:47:36.655Z] INFO: Archiving Costs [Pipeline] echo [2023-08-23T11:47:36.666Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-23T11:47:36.952Z] ---> logs-deploy.sh [2023-08-23T11:47:36.953Z] lf-activate-venv: SKIPPING [2023-08-23T11:47:36.953Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/133 [2023-08-23T11:47:36.953Z] INFO: archiving workspace using pattern(s): [2023-08-23T11:47:37.890Z] Archives upload complete. [2023-08-23T11:47:38.149Z] INFO: archiving logs to Nexus