Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 683d4d4593ac2673fe0867fafc4d548e8a0f2104 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-ssh7117602084817388095.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh2174119319470629276.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh7552519009655390607.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh16740363957948832794.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-ssh3762263056091383507.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-3231 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 683d4d4593ac2673fe0867fafc4d548e8a0f2104 (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 683d4d4593ac2673fe0867fafc4d548e8a0f2104 # timeout=10 Commit message: "Merge pull request #419 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.11" > git rev-list --no-walk 44ea940b6983f01deb2d5d696dcb34f27705cfc3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T12:17:31.467Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T12:17:31.528Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T12:17:31.548Z] ========================================================= [2023-08-09T12:17:31.548Z] EdgeX Global Pipelines Version Info [2023-08-09T12:17:31.548Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:17:32.280Z] ------------------- [2023-08-09T12:17:32.280Z] stable info: [2023-08-09T12:17:32.280Z] ------------------- [2023-08-09T12:17:32.280Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T12:17:32.280Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T12:17:32.280Z] Message: update stable to v1.0.250 [2023-08-09T12:17:32.850Z] ------------------- [2023-08-09T12:17:32.851Z] experimental info: [2023-08-09T12:17:32.851Z] ------------------- [2023-08-09T12:17:32.851Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T12:17:32.851Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T12:17:32.851Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T12:17:33.015Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-08-09T12:17:33.028Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-08-09T12:17:33.040Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T12:17:33.052Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T12:17:33.065Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T12:17:33.078Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T12:17:33.090Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T12:17:33.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-09T12:17:33.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T12:17:33.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T12:17:33.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T12:17:33.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-08-09T12:17:33.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T12:17:33.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T12:17:33.195Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T12:17:33.207Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T12:17:33.222Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T12:17:33.233Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T12:17:33.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T12:17:33.262Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T12:17:33.279Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-09T12:17:33.298Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-09T12:17:33.315Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T12:17:33.325Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T12:17:33.339Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T12:17:33.354Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T12:17:33.372Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T12:17:33.391Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-09T12:17:33.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-09T12:17:33.422Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-09T12:17:33.433Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 683d4d4593ac2673fe0867fafc4d548e8a0f2104 [Pipeline] echo [2023-08-09T12:17:33.445Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 683d4d4 [Pipeline] echo [2023-08-09T12:17:33.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T12:17:33.499Z] provisioning config files... [2023-08-09T12:17:33.512Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6424022730281083237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:17:33.814Z] ---> docker-login.sh [2023-08-09T12:17:33.814Z] nexus3.edgexfoundry.org:10001 [2023-08-09T12:17:33.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:17:34.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:17:34.385Z] Configure a credential helper to remove this warning. See [2023-08-09T12:17:34.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:17:34.385Z] [2023-08-09T12:17:34.385Z] Login Succeeded [2023-08-09T12:17:34.385Z] nexus3.edgexfoundry.org:10002 [2023-08-09T12:17:34.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:17:34.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:17:34.385Z] Configure a credential helper to remove this warning. See [2023-08-09T12:17:34.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:17:34.385Z] [2023-08-09T12:17:34.385Z] Login Succeeded [2023-08-09T12:17:34.385Z] nexus3.edgexfoundry.org:10003 [2023-08-09T12:17:34.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:17:34.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:17:34.385Z] Configure a credential helper to remove this warning. See [2023-08-09T12:17:34.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:17:34.385Z] [2023-08-09T12:17:34.385Z] Login Succeeded [2023-08-09T12:17:34.385Z] nexus3.edgexfoundry.org:10004 [2023-08-09T12:17:34.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:17:34.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:17:34.648Z] Configure a credential helper to remove this warning. See [2023-08-09T12:17:34.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:17:34.648Z] [2023-08-09T12:17:34.648Z] Login Succeeded [2023-08-09T12:17:34.648Z] docker.io [2023-08-09T12:17:34.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:17:34.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:17:34.907Z] Configure a credential helper to remove this warning. See [2023-08-09T12:17:34.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:17:34.907Z] [2023-08-09T12:17:34.907Z] Login Succeeded [2023-08-09T12:17:34.907Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T12:17:34.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T12:17:35.291Z] + git rev-list -1 --merges 683d4d4593ac2673fe0867fafc4d548e8a0f2104~1..683d4d4593ac2673fe0867fafc4d548e8a0f2104 [Pipeline] echo [2023-08-09T12:17:35.331Z] -----------> git rev-list -1 --merges 683d4d4593ac2673fe0867fafc4d548e8a0f2104~1..683d4d4593ac2673fe0867fafc4d548e8a0f2104 683d4d4593ac2673fe0867fafc4d548e8a0f2104 [2023-08-09T12:17:35.331Z] 683d4d4593ac2673fe0867fafc4d548e8a0f2104 [false] [Pipeline] sh [2023-08-09T12:17:35.618Z] + git log --format=format:%s -1 683d4d4593ac2673fe0867fafc4d548e8a0f2104 [Pipeline] echo [2023-08-09T12:17:35.657Z] ========================================================= [2023-08-09T12:17:35.657Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T12:17:35.657Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T12:17:35.979Z] + git log --format=format:%s -1 683d4d4593ac2673fe0867fafc4d548e8a0f2104 [Pipeline] echo [2023-08-09T12:17:35.991Z] [semverPrep] GIT_COMMIT: 683d4d4593ac2673fe0867fafc4d548e8a0f2104, Commit Message: Merge pull request #419 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.11 [Pipeline] echo [2023-08-09T12:17:35.999Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T12:17:36.364Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T12:17:36.364Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T12:17:36.364Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T12:17:36.364Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T12:17:36.364Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T12:17:36.364Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T12:17:36.364Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:17:36.780Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T12:17:36.780Z] [2023-08-09T12:17:36.780Z] 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-09T12:17:37.079Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T12:17:37.079Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T12:17:37.079Z] b85a868b505f: Pulling fs layer [2023-08-09T12:17:37.079Z] e2be974225ed: Pulling fs layer [2023-08-09T12:17:37.079Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T12:17:37.079Z] 988bab9f4d93: Pulling fs layer [2023-08-09T12:17:37.079Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T12:17:37.079Z] eaf3925da568: Pulling fs layer [2023-08-09T12:17:37.079Z] bab4dde63d76: Pulling fs layer [2023-08-09T12:17:37.079Z] bde34c3a00c8: Pulling fs layer [2023-08-09T12:17:37.079Z] b352a97aabf1: Pulling fs layer [2023-08-09T12:17:37.079Z] 4872d77fe225: Pulling fs layer [2023-08-09T12:17:37.079Z] 5851b861e8e6: Pulling fs layer [2023-08-09T12:17:37.079Z] bab4dde63d76: Waiting [2023-08-09T12:17:37.079Z] bde34c3a00c8: Waiting [2023-08-09T12:17:37.079Z] b352a97aabf1: Waiting [2023-08-09T12:17:37.079Z] 4872d77fe225: Waiting [2023-08-09T12:17:37.079Z] 5851b861e8e6: Waiting [2023-08-09T12:17:37.079Z] 988bab9f4d93: Waiting [2023-08-09T12:17:37.079Z] 1469e6f7b9e6: Waiting [2023-08-09T12:17:37.079Z] eaf3925da568: Waiting [2023-08-09T12:17:37.079Z] e2be974225ed: Download complete [2023-08-09T12:17:37.079Z] 988bab9f4d93: Download complete [2023-08-09T12:17:37.079Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T12:17:37.079Z] 1469e6f7b9e6: Download complete [2023-08-09T12:17:37.079Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T12:17:37.079Z] 339a4e72a1f5: Download complete [2023-08-09T12:17:37.338Z] eaf3925da568: Verifying Checksum [2023-08-09T12:17:37.338Z] eaf3925da568: Download complete [2023-08-09T12:17:37.338Z] bde34c3a00c8: Verifying Checksum [2023-08-09T12:17:37.338Z] bde34c3a00c8: Download complete [2023-08-09T12:17:37.338Z] b352a97aabf1: Download complete [2023-08-09T12:17:37.338Z] 4872d77fe225: Verifying Checksum [2023-08-09T12:17:37.338Z] 4872d77fe225: Download complete [2023-08-09T12:17:37.338Z] 5851b861e8e6: Verifying Checksum [2023-08-09T12:17:37.338Z] 5851b861e8e6: Download complete [2023-08-09T12:17:37.338Z] b85a868b505f: Verifying Checksum [2023-08-09T12:17:37.338Z] b85a868b505f: Download complete [2023-08-09T12:17:37.596Z] bab4dde63d76: Verifying Checksum [2023-08-09T12:17:37.596Z] bab4dde63d76: Download complete [2023-08-09T12:17:38.531Z] b85a868b505f: Pull complete [2023-08-09T12:17:38.531Z] e2be974225ed: Pull complete [2023-08-09T12:17:39.099Z] 339a4e72a1f5: Pull complete [2023-08-09T12:17:39.099Z] 988bab9f4d93: Pull complete [2023-08-09T12:17:39.358Z] 1469e6f7b9e6: Pull complete [2023-08-09T12:17:39.358Z] eaf3925da568: Pull complete [2023-08-09T12:17:41.262Z] bab4dde63d76: Pull complete [2023-08-09T12:17:41.262Z] bde34c3a00c8: Pull complete [2023-08-09T12:17:41.262Z] b352a97aabf1: Pull complete [2023-08-09T12:17:41.262Z] 4872d77fe225: Pull complete [2023-08-09T12:17:41.262Z] 5851b861e8e6: Pull complete [2023-08-09T12:17:41.521Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T12:17:41.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T12:17:41.521Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:17:41.625Z] prd-ubuntu20.04-docker-8c-8g-3231 does not seem to be running inside a container [2023-08-09T12:17:41.654Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T12:17:44.172Z] $ docker top beb47ce851e732e731db953280ff8fa03a5235b126ec6578ea8842d5366c4252 -eo pid,comm [2023-08-09T12:17:44.233Z] 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-09T12:17:44.233Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T12:17:44.271Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T12:17:44.271Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T12:17:44.379Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T12:17:44.381Z] $ docker exec beb47ce851e732e731db953280ff8fa03a5235b126ec6578ea8842d5366c4252 ssh-agent [2023-08-09T12:17:44.506Z] SSH_AUTH_SOCK=/tmp/ssh-t6ctbElNZBdN/agent.32 [2023-08-09T12:17:44.506Z] SSH_AGENT_PID=39 [2023-08-09T12:17:44.514Z] Running ssh-add (command line suppressed) [2023-08-09T12:17:44.625Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5298687790606933708.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5298687790606933708.key) [2023-08-09T12:17:44.643Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T12:17:44.927Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T12:17:44.944Z] $ docker exec --env ******** --env ******** beb47ce851e732e731db953280ff8fa03a5235b126ec6578ea8842d5366c4252 ssh-agent -k [2023-08-09T12:17:45.065Z] unset SSH_AUTH_SOCK; [2023-08-09T12:17:45.066Z] unset SSH_AGENT_PID; [2023-08-09T12:17:45.066Z] echo Agent pid 39 killed; [2023-08-09T12:17:45.076Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T12:17:45.095Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T12:17:45.095Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T12:17:45.220Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T12:17:45.222Z] $ docker exec beb47ce851e732e731db953280ff8fa03a5235b126ec6578ea8842d5366c4252 ssh-agent [2023-08-09T12:17:45.346Z] SSH_AUTH_SOCK=/tmp/ssh-p8vPI585PTQL/agent.71 [2023-08-09T12:17:45.346Z] SSH_AGENT_PID=77 [2023-08-09T12:17:45.352Z] Running ssh-add (command line suppressed) [2023-08-09T12:17:45.464Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5280860754457915025.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5280860754457915025.key) [2023-08-09T12:17:45.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T12:17:45.766Z] + git semver init [2023-08-09T12:17:46.025Z] 2023-08-09 12:17:45,944 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T12:17:46.025Z] 2023-08-09 12:17:45,944 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-08-09T12:17:46.025Z] 2023-08-09 12:17:45,945 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-08-09T12:17:46.025Z] 2023-08-09 12:17:45,945 [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-09T12:17:47.402Z] 2023-08-09 12:17:47,004 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-08-09T12:17:47.402Z] 2023-08-09 12:17:47,004 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-08-09T12:17:47.402Z] 2023-08-09 12:17:47,004 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-09T12:17:47.402Z] 2023-08-09 12:17:47,004 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-09T12:17:47.402Z] 3.1.0-dev.5 [Pipeline] } [2023-08-09T12:17:47.412Z] $ docker exec --env ******** --env ******** beb47ce851e732e731db953280ff8fa03a5235b126ec6578ea8842d5366c4252 ssh-agent -k [2023-08-09T12:17:47.513Z] unset SSH_AUTH_SOCK; [2023-08-09T12:17:47.513Z] unset SSH_AGENT_PID; [2023-08-09T12:17:47.513Z] echo Agent pid 77 killed; [2023-08-09T12:17:47.524Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T12:17:47.829Z] + git semver [Pipeline] } [2023-08-09T12:17:48.103Z] $ docker stop --time=1 beb47ce851e732e731db953280ff8fa03a5235b126ec6578ea8842d5366c4252 [2023-08-09T12:17:49.429Z] $ docker rm -f --volumes beb47ce851e732e731db953280ff8fa03a5235b126ec6578ea8842d5366c4252 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T12:17:49.775Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T12:17:49.974Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T12:17:49.977Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.5 [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-09T12:17:50.128Z] provisioning config files... [2023-08-09T12:17:50.138Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17733121224189038207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:17:50.438Z] ---> docker-login.sh [2023-08-09T12:17:50.438Z] nexus3.edgexfoundry.org:10001 [2023-08-09T12:17:50.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:17:50.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:17:50.438Z] Configure a credential helper to remove this warning. See [2023-08-09T12:17:50.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:17:50.438Z] [2023-08-09T12:17:50.438Z] Login Succeeded [2023-08-09T12:17:50.438Z] nexus3.edgexfoundry.org:10002 [2023-08-09T12:17:50.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:17:50.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:17:50.438Z] Configure a credential helper to remove this warning. See [2023-08-09T12:17:50.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:17:50.438Z] [2023-08-09T12:17:50.438Z] Login Succeeded [2023-08-09T12:17:50.438Z] nexus3.edgexfoundry.org:10003 [2023-08-09T12:17:50.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:17:50.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:17:50.697Z] Configure a credential helper to remove this warning. See [2023-08-09T12:17:50.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:17:50.697Z] [2023-08-09T12:17:50.697Z] Login Succeeded [2023-08-09T12:17:50.697Z] nexus3.edgexfoundry.org:10004 [2023-08-09T12:17:50.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:17:50.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:17:50.697Z] Configure a credential helper to remove this warning. See [2023-08-09T12:17:50.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:17:50.697Z] [2023-08-09T12:17:50.697Z] Login Succeeded [2023-08-09T12:17:50.697Z] docker.io [2023-08-09T12:17:50.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:17:50.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:17:50.957Z] Configure a credential helper to remove this warning. See [2023-08-09T12:17:50.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:17:50.957Z] [2023-08-09T12:17:50.957Z] Login Succeeded [2023-08-09T12:17:50.957Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T12:17:50.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T12:17:51.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T12:17:51.040Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T12:17:51.046Z] ========================================================= [2023-08-09T12:17:51.046Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T12:17:51.046Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:17:51.355Z] + 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-09T12:17:51.355Z] Sending build context to Docker daemon 23.54MB [2023-08-09T12:17:51.355Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T12:17:51.355Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T12:17:51.615Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T12:17:51.615Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T12:17:51.615Z] 6911f1a30b25: Pulling fs layer [2023-08-09T12:17:51.615Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T12:17:51.615Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T12:17:51.615Z] ec0bb842ea78: Pulling fs layer [2023-08-09T12:17:51.615Z] 40a00589a448: Pulling fs layer [2023-08-09T12:17:51.615Z] 6c08303d61cc: Pulling fs layer [2023-08-09T12:17:51.615Z] 798269fcf238: Pulling fs layer [2023-08-09T12:17:51.615Z] 40a00589a448: Waiting [2023-08-09T12:17:51.615Z] 6c08303d61cc: Waiting [2023-08-09T12:17:51.615Z] 798269fcf238: Waiting [2023-08-09T12:17:51.615Z] ec0bb842ea78: Waiting [2023-08-09T12:17:51.615Z] 6863d3e3a2b1: Waiting [2023-08-09T12:17:51.615Z] 6911f1a30b25: Download complete [2023-08-09T12:17:51.615Z] 6863d3e3a2b1: Verifying Checksum [2023-08-09T12:17:51.615Z] 6863d3e3a2b1: Download complete [2023-08-09T12:17:51.615Z] ec0bb842ea78: Verifying Checksum [2023-08-09T12:17:51.615Z] ec0bb842ea78: Download complete [2023-08-09T12:17:51.615Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T12:17:51.615Z] 4db1b89c0bd1: Download complete [2023-08-09T12:17:51.615Z] 40a00589a448: Verifying Checksum [2023-08-09T12:17:51.615Z] 40a00589a448: Download complete [2023-08-09T12:17:51.615Z] 4db1b89c0bd1: Pull complete [2023-08-09T12:17:51.876Z] 6911f1a30b25: Pull complete [2023-08-09T12:17:52.136Z] 798269fcf238: Verifying Checksum [2023-08-09T12:17:52.136Z] 798269fcf238: Download complete [2023-08-09T12:17:52.136Z] e194b8c5c2a9: Verifying Checksum [2023-08-09T12:17:52.136Z] e194b8c5c2a9: Download complete [2023-08-09T12:17:52.394Z] 6c08303d61cc: Verifying Checksum [2023-08-09T12:17:52.394Z] 6c08303d61cc: Download complete [2023-08-09T12:17:55.677Z] e194b8c5c2a9: Pull complete [2023-08-09T12:17:55.677Z] 6863d3e3a2b1: Pull complete [2023-08-09T12:17:55.677Z] ec0bb842ea78: Pull complete [2023-08-09T12:17:55.677Z] 40a00589a448: Pull complete [2023-08-09T12:17:57.577Z] 6c08303d61cc: Pull complete [2023-08-09T12:17:58.512Z] 798269fcf238: Pull complete [2023-08-09T12:17:58.513Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T12:17:58.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T12:17:58.513Z] ---> ec979cd7f677 [2023-08-09T12:17:58.513Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T12:18:02.701Z] ---> Running in 18773b09d7e0 [2023-08-09T12:18:02.701Z] Removing intermediate container 18773b09d7e0 [2023-08-09T12:18:02.701Z] ---> 61ddb1c525bb [2023-08-09T12:18:02.701Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T12:18:02.701Z] ---> Running in 74ba521fd217 [2023-08-09T12:18:02.701Z] Removing intermediate container 74ba521fd217 [2023-08-09T12:18:02.702Z] ---> 4e1da87b5600 [2023-08-09T12:18:02.702Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T12:18:02.702Z] ---> Running in ea5e1b98c6dc [2023-08-09T12:18:02.702Z] Removing intermediate container ea5e1b98c6dc [2023-08-09T12:18:02.702Z] ---> 19bb14232b69 [2023-08-09T12:18:02.702Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-09T12:18:02.702Z] ---> Running in b0da75dab2b6 [2023-08-09T12:18:02.702Z] Removing intermediate container b0da75dab2b6 [2023-08-09T12:18:02.702Z] ---> cdd692d6b96c [2023-08-09T12:18:02.702Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T12:18:02.702Z] ---> Running in 0cfda3111db1 [2023-08-09T12:18:02.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T12:18:02.959Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T12:18:03.217Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T12:18:03.218Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T12:18:03.218Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T12:18:03.218Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T12:18:03.218Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T12:18:03.477Z] OK: 269 MiB in 57 packages [2023-08-09T12:18:03.736Z] Removing intermediate container 0cfda3111db1 [2023-08-09T12:18:03.736Z] ---> b2ca0b4b2f05 [2023-08-09T12:18:03.736Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-09T12:18:03.995Z] ---> 665da37ff349 [2023-08-09T12:18:03.995Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T12:18:03.995Z] ---> Running in d4570833dbd4 [2023-08-09T12:18:05.086Z] Still waiting to schedule task [2023-08-09T12:18:05.086Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-09T12:18:42.705Z] Removing intermediate container d4570833dbd4 [2023-08-09T12:18:42.705Z] ---> cc0a9fc83dc7 [2023-08-09T12:18:42.705Z] Step 10/12 : COPY . . [2023-08-09T12:18:42.705Z] ---> fe826ac98e81 [2023-08-09T12:18:42.705Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T12:18:42.705Z] ---> Running in e210a32f4deb [2023-08-09T12:18:42.705Z] Removing intermediate container e210a32f4deb [2023-08-09T12:18:42.705Z] ---> 4d4113fe76d6 [2023-08-09T12:18:42.705Z] Step 12/12 : RUN $MAKE [2023-08-09T12:18:42.705Z] ---> Running in 493d21cd7d9b [2023-08-09T12:18:42.705Z] noop [2023-08-09T12:18:42.705Z] Removing intermediate container 493d21cd7d9b [2023-08-09T12:18:42.705Z] ---> a16c3e3aeefa [2023-08-09T12:18:42.705Z] Successfully built a16c3e3aeefa [2023-08-09T12:18:42.705Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:18:43.009Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T12:18:43.009Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:18:43.073Z] prd-ubuntu20.04-docker-8c-8g-3231 does not seem to be running inside a container [2023-08-09T12:18:43.109Z] $ 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 ******** ci-base-image-x86_64 cat [2023-08-09T12:18:43.459Z] $ docker top 0f4e4d0b3bfa4e6e040f67b5d8b67202f9b83aede708ba92d16b1e267743a45d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T12:18:43.796Z] + go version [2023-08-09T12:18:43.796Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T12:18:43.811Z] $ docker stop --time=1 0f4e4d0b3bfa4e6e040f67b5d8b67202f9b83aede708ba92d16b1e267743a45d [2023-08-09T12:18:45.076Z] $ docker rm -f --volumes 0f4e4d0b3bfa4e6e040f67b5d8b67202f9b83aede708ba92d16b1e267743a45d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:18:45.481Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T12:18:45.482Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:18:45.548Z] prd-ubuntu20.04-docker-8c-8g-3231 does not seem to be running inside a container [2023-08-09T12:18:45.588Z] $ 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 ******** ci-base-image-x86_64 cat [2023-08-09T12:18:45.892Z] $ docker top b88f42ea88b975667dcec00f26af1355883f6976ec92afbbef6133fd696e3613 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T12:18:46.225Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-09T12:18:46.523Z] + make test [2023-08-09T12:18:46.523Z] go test ./... -coverprofile=coverage.out [2023-08-09T12:18:50.703Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-09T12:19:00.668Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-09T12:19:00.668Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.6% of statements [2023-08-09T12:19:05.942Z] go vet ./... [2023-08-09T12:19:09.221Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T12:19:09.221Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T12:19:09.221Z] ./bin/test-attribution-txt.sh [2023-08-09T12:19:09.479Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-09T12:19:09.479Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-09T12:19:09.479Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-09T12:19:09.479Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-09T12:19:09.479Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-09T12:19:09.479Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-09T12:19:09.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T12:19:09.506Z] $ docker stop --time=1 b88f42ea88b975667dcec00f26af1355883f6976ec92afbbef6133fd696e3613 [2023-08-09T12:19:12.330Z] $ docker rm -f --volumes b88f42ea88b975667dcec00f26af1355883f6976ec92afbbef6133fd696e3613 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T12:19:12.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T12:19:12.822Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T12:19:13.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T12:19:13.583Z] + ls -al . [2023-08-09T12:19:13.583Z] total 204 [2023-08-09T12:19:13.583Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 12:18 . [2023-08-09T12:19:13.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 12:17 .. [2023-08-09T12:19:13.583Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 12:17 .git [2023-08-09T12:19:13.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 12:17 .github [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 9 12:17 .gitignore [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 12:17 .golangci.yml [2023-08-09T12:19:13.583Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 12:17 .semver [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 9 12:17 Attribution.txt [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 9 12:17 CHANGELOG.md [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 9 12:17 Dockerfile [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 12:17 GOVERNANCE.md [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 12:17 Jenkinsfile [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 12:17 LICENSE [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 9 12:17 Makefile [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 9 12:17 OWNERS.md [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 9 12:17 README.md [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 12:17 VERSION [2023-08-09T12:19:13.583Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 12:17 bin [2023-08-09T12:19:13.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 12:17 cmd [2023-08-09T12:19:13.583Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 9 12:19 coverage.out [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 9 12:17 go.mod [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 9 12:17 go.sum [2023-08-09T12:19:13.583Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 12:17 internal [2023-08-09T12:19:13.583Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 12:17 snap [2023-08-09T12:19:13.583Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 9 12:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:13.877Z] + 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=683d4d4593ac2673fe0867fafc4d548e8a0f2104 --label arch=amd64 --label version=3.1.0-dev.5 . [2023-08-09T12:19:13.877Z] Sending build context to Docker daemon 23.58MB [2023-08-09T12:19:13.877Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T12:19:13.877Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-09T12:19:13.877Z] ---> a16c3e3aeefa [2023-08-09T12:19:13.877Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T12:19:14.136Z] ---> Running in 89ae9271ff6b [2023-08-09T12:19:14.136Z] Removing intermediate container 89ae9271ff6b [2023-08-09T12:19:14.136Z] ---> f9bb813d037d [2023-08-09T12:19:14.136Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T12:19:14.136Z] ---> Running in 3c165e2fbf57 [2023-08-09T12:19:14.396Z] Removing intermediate container 3c165e2fbf57 [2023-08-09T12:19:14.396Z] ---> c19c8514aac9 [2023-08-09T12:19:14.396Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-09T12:19:14.396Z] ---> Running in 9e0d4a764f25 [2023-08-09T12:19:14.396Z] Removing intermediate container 9e0d4a764f25 [2023-08-09T12:19:14.396Z] ---> 09d89d275b47 [2023-08-09T12:19:14.396Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-09T12:19:14.396Z] ---> Running in 48a9655a3bc6 [2023-08-09T12:19:14.396Z] Removing intermediate container 48a9655a3bc6 [2023-08-09T12:19:14.396Z] ---> d2f6b98d0cad [2023-08-09T12:19:14.396Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T12:19:14.396Z] ---> Running in c55b247592f0 [2023-08-09T12:19:14.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T12:19:14.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T12:19:15.170Z] OK: 269 MiB in 57 packages [2023-08-09T12:19:15.427Z] Removing intermediate container c55b247592f0 [2023-08-09T12:19:15.427Z] ---> fd1ba3c49838 [2023-08-09T12:19:15.427Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-09T12:19:15.427Z] ---> e45fc7aae48e [2023-08-09T12:19:15.427Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T12:19:15.427Z] ---> Running in ede131237b2a [2023-08-09T12:19:16.361Z] Removing intermediate container ede131237b2a [2023-08-09T12:19:16.361Z] ---> 92eba8ce4ea8 [2023-08-09T12:19:16.361Z] Step 10/25 : COPY . . [2023-08-09T12:19:16.926Z] ---> 2debd89afd9b [2023-08-09T12:19:16.926Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T12:19:16.926Z] ---> Running in 41f7d484a314 [2023-08-09T12:19:16.926Z] Removing intermediate container 41f7d484a314 [2023-08-09T12:19:16.926Z] ---> 77d68df5781a [2023-08-09T12:19:16.926Z] Step 12/25 : RUN $MAKE [2023-08-09T12:19:16.926Z] ---> Running in b758e82cfe07 [2023-08-09T12:19:17.184Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.11" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-09T12:19:33.679Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3232 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2023-08-09T12:19:33.691Z] Running in /w/workspace/device-virtual-go/131 [Pipeline] { [Pipeline] checkout [2023-08-09T12:19:33.725Z] The recommended git tool is: git [2023-08-09T12:19:35.273Z] Removing intermediate container b758e82cfe07 [2023-08-09T12:19:35.273Z] ---> 735436ac65ee [2023-08-09T12:19:35.273Z] Step 13/25 : FROM alpine:3.17 [2023-08-09T12:19:35.532Z] 3.17: Pulling from library/alpine [2023-08-09T12:19:35.790Z] 9398808236ff: Pulling fs layer [2023-08-09T12:19:36.085Z] 9398808236ff: Verifying Checksum [2023-08-09T12:19:36.085Z] 9398808236ff: Download complete [2023-08-09T12:19:36.085Z] 9398808236ff: Pull complete [2023-08-09T12:19:36.085Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T12:19:36.085Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T12:19:36.085Z] ---> 1e0b8b5322fc [2023-08-09T12:19:36.085Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-09T12:19:36.346Z] ---> Running in 44f2d84562ea [2023-08-09T12:19:36.346Z] Removing intermediate container 44f2d84562ea [2023-08-09T12:19:36.346Z] ---> 547a36b76cf8 [2023-08-09T12:19:36.346Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-09T12:19:36.346Z] ---> Running in f31d1fb8acc3 [2023-08-09T12:19:36.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T12:19:36.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T12:19:37.242Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T12:19:37.242Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T12:19:37.242Z] OK: 7 MiB in 16 packages [2023-08-09T12:19:37.510Z] Removing intermediate container f31d1fb8acc3 [2023-08-09T12:19:37.510Z] ---> a26d12f5f447 [2023-08-09T12:19:37.510Z] Step 16/25 : WORKDIR / [2023-08-09T12:19:37.510Z] ---> Running in ffd98e3290d1 [2023-08-09T12:19:37.510Z] Removing intermediate container ffd98e3290d1 [2023-08-09T12:19:37.510Z] ---> d5204dbdc9b7 [2023-08-09T12:19:37.510Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-09T12:19:37.789Z] ---> e63565331774 [2023-08-09T12:19:37.789Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-09T12:19:37.789Z] ---> be8bf0f9c898 [2023-08-09T12:19:37.789Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-09T12:19:38.419Z] ---> ecfacf12efa8 [2023-08-09T12:19:38.419Z] Step 20/25 : EXPOSE 59900 [2023-08-09T12:19:38.419Z] ---> Running in 3ddc6da360f8 [2023-08-09T12:19:38.419Z] Removing intermediate container 3ddc6da360f8 [2023-08-09T12:19:38.419Z] ---> 0c6ca67d1747 [2023-08-09T12:19:38.419Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-09T12:19:38.664Z] using credential edgex-jenkins-ssh [2023-08-09T12:19:38.679Z] Cloning the remote Git repository [2023-08-09T12:19:38.685Z] ---> Running in 3eebcd9f366e [2023-08-09T12:19:38.685Z] Removing intermediate container 3eebcd9f366e [2023-08-09T12:19:38.685Z] ---> b50826ca882d [2023-08-09T12:19:38.685Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T12:19:38.685Z] ---> Running in 407e1f309386 [2023-08-09T12:19:38.685Z] Removing intermediate container 407e1f309386 [2023-08-09T12:19:38.685Z] ---> 53191c64bcd5 [2023-08-09T12:19:38.685Z] Step 23/25 : LABEL arch=amd64 [2023-08-09T12:19:38.685Z] ---> Running in cdc356b01888 [2023-08-09T12:19:38.685Z] Removing intermediate container cdc356b01888 [2023-08-09T12:19:38.685Z] ---> f398f1845615 [2023-08-09T12:19:38.685Z] Step 24/25 : LABEL git_sha=683d4d4593ac2673fe0867fafc4d548e8a0f2104 [2023-08-09T12:19:38.685Z] ---> Running in 11aa88af4872 [2023-08-09T12:19:38.944Z] Removing intermediate container 11aa88af4872 [2023-08-09T12:19:38.944Z] ---> a43fcaedfb26 [2023-08-09T12:19:38.944Z] Step 25/25 : LABEL version=3.1.0-dev.5 [2023-08-09T12:19:38.944Z] ---> Running in b7ffc3b3c36e [2023-08-09T12:19:38.944Z] Removing intermediate container b7ffc3b3c36e [2023-08-09T12:19:38.944Z] ---> b900bdc75f0e [2023-08-09T12:19:38.944Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T12:19:38.944Z] Successfully built b900bdc75f0e [2023-08-09T12:19:38.944Z] 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-09T12:19:39.072Z] provisioning config files... [2023-08-09T12:19:39.081Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11568769560376132059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:19:39.383Z] ---> docker-login.sh [2023-08-09T12:19:39.383Z] nexus3.edgexfoundry.org:10001 [2023-08-09T12:19:39.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:19:39.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:19:39.383Z] Configure a credential helper to remove this warning. See [2023-08-09T12:19:39.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:19:39.383Z] [2023-08-09T12:19:39.383Z] Login Succeeded [2023-08-09T12:19:39.383Z] nexus3.edgexfoundry.org:10002 [2023-08-09T12:19:39.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:19:39.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:19:39.383Z] Configure a credential helper to remove this warning. See [2023-08-09T12:19:39.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:19:39.383Z] [2023-08-09T12:19:39.383Z] Login Succeeded [2023-08-09T12:19:39.383Z] nexus3.edgexfoundry.org:10003 [2023-08-09T12:19:39.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:19:39.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:19:39.642Z] Configure a credential helper to remove this warning. See [2023-08-09T12:19:39.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:19:39.642Z] [2023-08-09T12:19:39.642Z] Login Succeeded [2023-08-09T12:19:39.642Z] nexus3.edgexfoundry.org:10004 [2023-08-09T12:19:39.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:19:39.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:19:39.642Z] Configure a credential helper to remove this warning. See [2023-08-09T12:19:39.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:19:39.642Z] [2023-08-09T12:19:39.642Z] Login Succeeded [2023-08-09T12:19:39.642Z] docker.io [2023-08-09T12:19:38.726Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-08-09T12:19:38.812Z] > git init /w/workspace/device-virtual-go/131 # timeout=10 [2023-08-09T12:19:38.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-08-09T12:19:38.949Z] > git --version # timeout=10 [2023-08-09T12:19:38.968Z] > git --version # 'git version 2.25.1' [2023-08-09T12:19:38.970Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T12:19:39.107Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T12:19:39.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:19:39.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:19:39.902Z] Configure a credential helper to remove this warning. See [2023-08-09T12:19:39.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:19:39.902Z] [2023-08-09T12:19:39.902Z] Login Succeeded [2023-08-09T12:19:39.902Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T12:19:39.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T12:19:39.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T12:19:39.959Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-08-09T12:19:39.959Z] 683d4d4593ac2673fe0867fafc4d548e8a0f2104 [2023-08-09T12:19:39.959Z] latest [2023-08-09T12:19:39.959Z] 3.1.0-dev.5 [2023-08-09T12:19:39.959Z] 683d4d4593ac2673fe0867fafc4d548e8a0f2104-3.1.0-dev.5 [2023-08-09T12:19:39.959Z] main [2023-08-09T12:19:39.959Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:40.274Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:683d4d4593ac2673fe0867fafc4d548e8a0f2104 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:40.581Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:683d4d4593ac2673fe0867fafc4d548e8a0f2104 [2023-08-09T12:19:40.581Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-09T12:19:40.581Z] 7adee25b1ce7: Preparing [2023-08-09T12:19:40.581Z] a3dac09769f7: Preparing [2023-08-09T12:19:40.581Z] 0832d3efd09c: Preparing [2023-08-09T12:19:40.581Z] b2c63beb5d22: Preparing [2023-08-09T12:19:40.581Z] 36b50b131297: Preparing [2023-08-09T12:19:40.581Z] 36b50b131297: Layer already exists [2023-08-09T12:19:40.581Z] b2c63beb5d22: Pushed [2023-08-09T12:19:40.581Z] a3dac09769f7: Pushed [2023-08-09T12:19:40.581Z] 0832d3efd09c: Pushed [2023-08-09T12:19:41.912Z] Avoid second fetch [2023-08-09T12:19:41.913Z] Checking out Revision 683d4d4593ac2673fe0867fafc4d548e8a0f2104 (main) [2023-08-09T12:19:41.104Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-08-09T12:19:41.127Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T12:19:41.930Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T12:19:42.006Z] > git checkout -f 683d4d4593ac2673fe0867fafc4d548e8a0f2104 # timeout=10 [2023-08-09T12:19:42.448Z] Commit message: "Merge pull request #419 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.11" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T12:19:43.422Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T12:19:43.422Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T12:19:43.422Z] Dload Upload Total Spent Left Speed [2023-08-09T12:19:43.422Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-08-09T12:19:43.871Z] 7adee25b1ce7: Pushed [2023-08-09T12:19:43.871Z] 683d4d4593ac2673fe0867fafc4d548e8a0f2104: digest: sha256:895deadd4938d08761714b88e6a1e6b8e97c321d427985e53f1613852e5046fd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:44.036Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T12:19:44.176Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:44.361Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-09T12:19:44.362Z] + sudo tee /etc/docker/daemon.new [2023-08-09T12:19:44.362Z] { [2023-08-09T12:19:44.362Z] "registry-mirrors": [ [2023-08-09T12:19:44.362Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T12:19:44.362Z] ], [2023-08-09T12:19:44.362Z] "bip": "10.250.0.254/24", [2023-08-09T12:19:44.362Z] "hosts": [ [2023-08-09T12:19:44.362Z] "tcp://0.0.0.0:5555", [2023-08-09T12:19:44.362Z] "unix:///var/run/docker.sock" [2023-08-09T12:19:44.362Z] ], [2023-08-09T12:19:44.362Z] "mtu": 1458, [2023-08-09T12:19:44.362Z] "selinux-enabled": true, [2023-08-09T12:19:44.362Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T12:19:44.362Z] } [Pipeline] sh [2023-08-09T12:19:44.480Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-08-09T12:19:44.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-09T12:19:44.480Z] 7adee25b1ce7: Preparing [2023-08-09T12:19:44.480Z] a3dac09769f7: Preparing [2023-08-09T12:19:44.480Z] 0832d3efd09c: Preparing [2023-08-09T12:19:44.480Z] b2c63beb5d22: Preparing [2023-08-09T12:19:44.480Z] 36b50b131297: Preparing [2023-08-09T12:19:44.480Z] 7adee25b1ce7: Layer already exists [2023-08-09T12:19:44.480Z] 0832d3efd09c: Layer already exists [2023-08-09T12:19:44.480Z] a3dac09769f7: Layer already exists [2023-08-09T12:19:44.480Z] b2c63beb5d22: Layer already exists [2023-08-09T12:19:44.480Z] 36b50b131297: Layer already exists [2023-08-09T12:19:44.480Z] latest: digest: sha256:895deadd4938d08761714b88e6a1e6b8e97c321d427985e53f1613852e5046fd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:44.690Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T12:19:44.788Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:45.024Z] + sudo service docker restart [2023-08-09T12:19:45.091Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.5 [2023-08-09T12:19:45.092Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-09T12:19:45.092Z] 7adee25b1ce7: Preparing [2023-08-09T12:19:45.092Z] a3dac09769f7: Preparing [2023-08-09T12:19:45.092Z] 0832d3efd09c: Preparing [2023-08-09T12:19:45.092Z] b2c63beb5d22: Preparing [2023-08-09T12:19:45.092Z] 36b50b131297: Preparing [2023-08-09T12:19:45.092Z] 0832d3efd09c: Layer already exists [2023-08-09T12:19:45.092Z] a3dac09769f7: Layer already exists [2023-08-09T12:19:45.092Z] 7adee25b1ce7: Layer already exists [2023-08-09T12:19:45.092Z] b2c63beb5d22: Layer already exists [2023-08-09T12:19:45.092Z] 36b50b131297: Layer already exists [2023-08-09T12:19:45.092Z] 3.1.0-dev.5: digest: sha256:895deadd4938d08761714b88e6a1e6b8e97c321d427985e53f1613852e5046fd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:45.401Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:683d4d4593ac2673fe0867fafc4d548e8a0f2104-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:45.705Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:683d4d4593ac2673fe0867fafc4d548e8a0f2104-3.1.0-dev.5 [2023-08-09T12:19:45.705Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-09T12:19:45.705Z] 7adee25b1ce7: Preparing [2023-08-09T12:19:45.705Z] a3dac09769f7: Preparing [2023-08-09T12:19:45.705Z] 0832d3efd09c: Preparing [2023-08-09T12:19:45.705Z] b2c63beb5d22: Preparing [2023-08-09T12:19:45.705Z] 36b50b131297: Preparing [2023-08-09T12:19:45.705Z] 7adee25b1ce7: Layer already exists [2023-08-09T12:19:45.705Z] a3dac09769f7: Layer already exists [2023-08-09T12:19:45.705Z] b2c63beb5d22: Layer already exists [2023-08-09T12:19:45.705Z] 0832d3efd09c: Layer already exists [2023-08-09T12:19:45.705Z] 36b50b131297: Layer already exists [2023-08-09T12:19:45.705Z] 683d4d4593ac2673fe0867fafc4d548e8a0f2104-3.1.0-dev.5: digest: sha256:895deadd4938d08761714b88e6a1e6b8e97c321d427985e53f1613852e5046fd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:46.014Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:46.321Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-08-09T12:19:46.321Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-08-09T12:19:46.321Z] 7adee25b1ce7: Preparing [2023-08-09T12:19:46.321Z] a3dac09769f7: Preparing [2023-08-09T12:19:46.321Z] 0832d3efd09c: Preparing [2023-08-09T12:19:46.321Z] b2c63beb5d22: Preparing [2023-08-09T12:19:46.321Z] 36b50b131297: Preparing [2023-08-09T12:19:46.321Z] a3dac09769f7: Layer already exists [2023-08-09T12:19:46.321Z] 0832d3efd09c: Layer already exists [2023-08-09T12:19:46.321Z] 7adee25b1ce7: Layer already exists [2023-08-09T12:19:46.321Z] b2c63beb5d22: Layer already exists [2023-08-09T12:19:46.321Z] 36b50b131297: Layer already exists [2023-08-09T12:19:46.321Z] main: digest: sha256:895deadd4938d08761714b88e6a1e6b8e97c321d427985e53f1613852e5046fd size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T12:19:46.379Z] ===================================================== [Pipeline] echo [2023-08-09T12:19:46.387Z] taggedImages: [2023-08-09T12:19:46.387Z] - nexus3.edgexfoundry.org:10004/device-virtual:683d4d4593ac2673fe0867fafc4d548e8a0f2104 [2023-08-09T12:19:46.387Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-08-09T12:19:46.387Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.5 [2023-08-09T12:19:46.387Z] - nexus3.edgexfoundry.org:10004/device-virtual:683d4d4593ac2673fe0867fafc4d548e8a0f2104-3.1.0-dev.5 [2023-08-09T12:19:46.387Z] - 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-09T12:19:46.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T12:19:46.752Z] [2023-08-09T12:19:46.752Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:19:47.047Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T12:19:47.047Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T12:19:47.047Z] 5eb5b503b376: Pulling fs layer [2023-08-09T12:19:47.047Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T12:19:47.047Z] ec43610c2a17: Pulling fs layer [2023-08-09T12:19:47.047Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T12:19:47.047Z] 33b1e0a273af: Pulling fs layer [2023-08-09T12:19:47.047Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T12:19:47.047Z] 2f39f015ded8: Pulling fs layer [2023-08-09T12:19:47.047Z] 3a2ae6a8a46f: Waiting [2023-08-09T12:19:47.047Z] 33b1e0a273af: Waiting [2023-08-09T12:19:47.047Z] 5d3b04190fa2: Waiting [2023-08-09T12:19:47.047Z] 5c69ac0246d0: Verifying Checksum [2023-08-09T12:19:47.047Z] 5c69ac0246d0: Download complete [2023-08-09T12:19:47.047Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-09T12:19:47.047Z] 3a2ae6a8a46f: Download complete [2023-08-09T12:19:47.047Z] 33b1e0a273af: Verifying Checksum [2023-08-09T12:19:47.047Z] 33b1e0a273af: Download complete [2023-08-09T12:19:47.047Z] 5d3b04190fa2: Verifying Checksum [2023-08-09T12:19:47.047Z] 5d3b04190fa2: Download complete [2023-08-09T12:19:47.047Z] ec43610c2a17: Verifying Checksum [2023-08-09T12:19:47.047Z] ec43610c2a17: Download complete [2023-08-09T12:19:47.307Z] 5eb5b503b376: Verifying Checksum [2023-08-09T12:19:47.307Z] 5eb5b503b376: Download complete [2023-08-09T12:19:47.872Z] 2f39f015ded8: Download complete [2023-08-09T12:19:48.437Z] 5eb5b503b376: Pull complete [2023-08-09T12:19:48.438Z] 5c69ac0246d0: Pull complete [2023-08-09T12:19:49.001Z] ec43610c2a17: Pull complete [2023-08-09T12:19:49.001Z] 3a2ae6a8a46f: Pull complete [2023-08-09T12:19:49.259Z] 33b1e0a273af: Pull complete [2023-08-09T12:19:49.259Z] 5d3b04190fa2: Pull complete [2023-08-09T12:19:53.442Z] 2f39f015ded8: Pull complete [2023-08-09T12:19:53.442Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T12:19:53.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T12:19:53.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:19:53.517Z] prd-ubuntu20.04-docker-8c-8g-3231 does not seem to be running inside a container [2023-08-09T12:19:53.552Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T12:19:56.536Z] $ docker top 8f68e64ebf603508089f1c5f1efcb75fa7ddbfdb3f40393c540247ae8afa4689 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:19:56.908Z] ---> job-cost.sh [2023-08-09T12:19:56.908Z] lf-activate-venv: SKIPPING [2023-08-09T12:19:56.908Z] INFO: No Stack... [2023-08-09T12:19:57.168Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T12:19:57.427Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T12:19:57.714Z] + cut -d, -f6 [2023-08-09T12:19:57.714Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock [2023-08-09T12:19:57.726Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-131-stack-cost] [2023-08-09T12:19:57.734Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-131-stack-cost] did not exist. Created. [2023-08-09T12:19:57.734Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T12:19:58.032Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T12:19:58.058Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T12:19:58.067Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-131-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T12:19:58.093Z] $ docker stop --time=1 8f68e64ebf603508089f1c5f1efcb75fa7ddbfdb3f40393c540247ae8afa4689 [2023-08-09T12:19:59.222Z] $ docker rm -f --volumes 8f68e64ebf603508089f1c5f1efcb75fa7ddbfdb3f40393c540247ae8afa4689 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T12:20:07.147Z] provisioning config files... [2023-08-09T12:20:07.168Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/131@tmp/config12887376738865744512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:20:07.513Z] ---> docker-login.sh [2023-08-09T12:20:07.513Z] nexus3.edgexfoundry.org:10001 [2023-08-09T12:20:07.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:20:08.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:20:08.053Z] Configure a credential helper to remove this warning. See [2023-08-09T12:20:08.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:20:08.053Z] [2023-08-09T12:20:08.053Z] Login Succeeded [2023-08-09T12:20:08.053Z] nexus3.edgexfoundry.org:10002 [2023-08-09T12:20:08.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:20:08.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:20:08.320Z] Configure a credential helper to remove this warning. See [2023-08-09T12:20:08.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:20:08.320Z] [2023-08-09T12:20:08.320Z] Login Succeeded [2023-08-09T12:20:08.320Z] nexus3.edgexfoundry.org:10003 [2023-08-09T12:20:08.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:20:08.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:20:08.588Z] Configure a credential helper to remove this warning. See [2023-08-09T12:20:08.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:20:08.588Z] [2023-08-09T12:20:08.588Z] Login Succeeded [2023-08-09T12:20:08.588Z] nexus3.edgexfoundry.org:10004 [2023-08-09T12:20:08.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:20:08.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:20:08.854Z] Configure a credential helper to remove this warning. See [2023-08-09T12:20:08.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:20:08.854Z] [2023-08-09T12:20:08.854Z] Login Succeeded [2023-08-09T12:20:09.121Z] docker.io [2023-08-09T12:20:09.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:20:09.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:20:09.387Z] Configure a credential helper to remove this warning. See [2023-08-09T12:20:09.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:20:09.387Z] [2023-08-09T12:20:09.387Z] Login Succeeded [2023-08-09T12:20:09.387Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T12:20:09.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T12:20:09.618Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T12:20:09.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T12:20:09.639Z] ========================================================= [2023-08-09T12:20:09.639Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T12:20:09.639Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:20:09.980Z] + 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-09T12:20:10.248Z] Sending build context to Docker daemon 11.9MB [2023-08-09T12:20:10.248Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T12:20:10.248Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T12:20:10.529Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T12:20:10.529Z] edb6bdbacee9: Pulling fs layer [2023-08-09T12:20:10.529Z] 5f9638ab2659: Pulling fs layer [2023-08-09T12:20:10.529Z] 8d51d6327a98: Pulling fs layer [2023-08-09T12:20:10.529Z] 8b374f2dd631: Pulling fs layer [2023-08-09T12:20:10.529Z] ec14aa9079de: Pulling fs layer [2023-08-09T12:20:10.529Z] 2f466654f4bb: Pulling fs layer [2023-08-09T12:20:10.529Z] 554e91adad29: Pulling fs layer [2023-08-09T12:20:10.529Z] 8b374f2dd631: Waiting [2023-08-09T12:20:10.529Z] ec14aa9079de: Waiting [2023-08-09T12:20:10.529Z] 2f466654f4bb: Waiting [2023-08-09T12:20:10.529Z] 554e91adad29: Waiting [2023-08-09T12:20:10.529Z] 5f9638ab2659: Verifying Checksum [2023-08-09T12:20:10.529Z] 5f9638ab2659: Download complete [2023-08-09T12:20:10.529Z] 8b374f2dd631: Download complete [2023-08-09T12:20:10.529Z] ec14aa9079de: Download complete [2023-08-09T12:20:10.529Z] edb6bdbacee9: Verifying Checksum [2023-08-09T12:20:10.529Z] edb6bdbacee9: Download complete [2023-08-09T12:20:11.947Z] edb6bdbacee9: Pull complete [2023-08-09T12:20:12.215Z] 554e91adad29: Verifying Checksum [2023-08-09T12:20:12.215Z] 554e91adad29: Download complete [2023-08-09T12:20:12.494Z] 5f9638ab2659: Pull complete [2023-08-09T12:20:13.461Z] 2f466654f4bb: Verifying Checksum [2023-08-09T12:20:13.461Z] 2f466654f4bb: Download complete [2023-08-09T12:20:13.461Z] 8d51d6327a98: Verifying Checksum [2023-08-09T12:20:13.461Z] 8d51d6327a98: Download complete [2023-08-09T12:20:23.552Z] 8d51d6327a98: Pull complete [2023-08-09T12:20:23.819Z] 8b374f2dd631: Pull complete [2023-08-09T12:20:24.087Z] ec14aa9079de: Pull complete [2023-08-09T12:20:32.308Z] 2f466654f4bb: Pull complete [2023-08-09T12:20:34.260Z] 554e91adad29: Pull complete [2023-08-09T12:20:34.260Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T12:20:34.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T12:20:34.260Z] ---> 1e15ea492957 [2023-08-09T12:20:34.260Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T12:20:35.675Z] ---> Running in 6226a7bc72a8 [2023-08-09T12:20:35.940Z] Removing intermediate container 6226a7bc72a8 [2023-08-09T12:20:35.940Z] ---> 97e143972415 [2023-08-09T12:20:35.940Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T12:20:35.940Z] ---> Running in 868ec5adc2b8 [2023-08-09T12:20:36.214Z] Removing intermediate container 868ec5adc2b8 [2023-08-09T12:20:36.214Z] ---> 18941c502ea9 [2023-08-09T12:20:36.214Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T12:20:36.480Z] ---> Running in d2565c37ac50 [2023-08-09T12:20:36.748Z] Removing intermediate container d2565c37ac50 [2023-08-09T12:20:36.748Z] ---> 0a4ac34247e1 [2023-08-09T12:20:36.748Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-09T12:20:36.748Z] ---> Running in b116d16d7190 [2023-08-09T12:20:37.018Z] Removing intermediate container b116d16d7190 [2023-08-09T12:20:37.018Z] ---> 2904ad445deb [2023-08-09T12:20:37.018Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T12:20:37.018Z] ---> Running in e419e2e71ba5 [2023-08-09T12:20:38.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T12:20:38.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T12:20:39.738Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T12:20:39.738Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T12:20:39.738Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T12:20:39.738Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T12:20:39.738Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T12:20:39.738Z] OK: 268 MiB in 57 packages [2023-08-09T12:20:40.725Z] Removing intermediate container e419e2e71ba5 [2023-08-09T12:20:40.725Z] ---> e4d111a79d23 [2023-08-09T12:20:40.725Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-09T12:20:41.320Z] ---> 7264bcc47923 [2023-08-09T12:20:41.320Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T12:20:41.320Z] ---> Running in 975f3ba3e575 [2023-08-09T12:21:52.911Z] Removing intermediate container 975f3ba3e575 [2023-08-09T12:21:52.911Z] ---> d101610dbe0a [2023-08-09T12:21:52.911Z] Step 10/12 : COPY . . [2023-08-09T12:21:52.911Z] ---> 44934e57d9f8 [2023-08-09T12:21:52.911Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T12:21:52.911Z] ---> Running in c0c5205fe787 [2023-08-09T12:21:52.911Z] Removing intermediate container c0c5205fe787 [2023-08-09T12:21:52.911Z] ---> bdc0fe54479c [2023-08-09T12:21:52.911Z] Step 12/12 : RUN $MAKE [2023-08-09T12:21:52.911Z] ---> Running in 51d5bdc69f64 [2023-08-09T12:21:52.911Z] noop [2023-08-09T12:21:52.911Z] Removing intermediate container 51d5bdc69f64 [2023-08-09T12:21:52.911Z] ---> 0c04fe386030 [2023-08-09T12:21:52.911Z] Successfully built 0c04fe386030 [2023-08-09T12:21:52.911Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:21:53.273Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T12:21:53.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:21:53.476Z] prd-ubuntu20.04-docker-arm64-4c-16g-3232 does not seem to be running inside a container [2023-08-09T12:21:53.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/131 -v /w/workspace/device-virtual-go/131:/w/workspace/device-virtual-go/131:rw,z -v /w/workspace/device-virtual-go/131@tmp:/w/workspace/device-virtual-go/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T12:21:54.717Z] $ docker top 5273b632fa41851e03792e78a4a83aeef4ec6a670cf0b62aa43839cbd964f928 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T12:21:55.534Z] + go version [2023-08-09T12:21:55.534Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T12:21:55.556Z] $ docker stop --time=1 5273b632fa41851e03792e78a4a83aeef4ec6a670cf0b62aa43839cbd964f928 [2023-08-09T12:21:57.141Z] $ docker rm -f --volumes 5273b632fa41851e03792e78a4a83aeef4ec6a670cf0b62aa43839cbd964f928 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:21:57.690Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T12:21:57.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:21:57.866Z] prd-ubuntu20.04-docker-arm64-4c-16g-3232 does not seem to be running inside a container [2023-08-09T12:21:57.937Z] $ 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/131 -v /w/workspace/device-virtual-go/131:/w/workspace/device-virtual-go/131:rw,z -v /w/workspace/device-virtual-go/131@tmp:/w/workspace/device-virtual-go/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-09T12:21:59.045Z] $ docker top 4a179068d86582071a3c19fad12dd72326bca85538969ffe9b30d74cb7541def -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T12:21:59.547Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/131 [Pipeline] fileExists [Pipeline] sh [2023-08-09T12:21:59.881Z] + make test [2023-08-09T12:22:00.150Z] go test ./... -coverprofile=coverage.out [2023-08-09T12:22:32.367Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-09T12:24:24.037Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-09T12:24:24.037Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.086s coverage: 58.4% of statements [2023-08-09T12:24:24.037Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T12:24:24.037Z] go vet ./... [2023-08-09T12:24:56.337Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T12:24:56.337Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T12:24:56.337Z] ./bin/test-attribution-txt.sh [2023-08-09T12:24:56.337Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-09T12:24:56.337Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-09T12:24:56.337Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-09T12:24:56.337Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-09T12:24:56.337Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-09T12:24:56.337Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-09T12:24:56.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T12:24:56.373Z] $ docker stop --time=1 4a179068d86582071a3c19fad12dd72326bca85538969ffe9b30d74cb7541def [2023-08-09T12:24:58.133Z] $ docker rm -f --volumes 4a179068d86582071a3c19fad12dd72326bca85538969ffe9b30d74cb7541def [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T12:24:59.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T12:24:59.205Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T12:24:59.611Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T12:24:59.971Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T12:25:00.285Z] + ls -al . [2023-08-09T12:25:00.285Z] total 200 [2023-08-09T12:25:00.285Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 12:22 . [2023-08-09T12:25:00.285Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 12:19 .. [2023-08-09T12:25:00.285Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 12:19 .git [2023-08-09T12:25:00.285Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 12:19 .github [2023-08-09T12:25:00.285Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 9 12:19 .gitignore [2023-08-09T12:25:00.285Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 12:19 .golangci.yml [2023-08-09T12:25:00.285Z] -rw-rw-r-- 1 jenkins jenkins 8950 Aug 9 12:19 Attribution.txt [2023-08-09T12:25:00.285Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 9 12:19 CHANGELOG.md [2023-08-09T12:25:00.285Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 9 12:19 Dockerfile [2023-08-09T12:25:00.286Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 12:19 GOVERNANCE.md [2023-08-09T12:25:00.286Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 9 12:19 Jenkinsfile [2023-08-09T12:25:00.286Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 12:19 LICENSE [2023-08-09T12:25:00.286Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 9 12:19 Makefile [2023-08-09T12:25:00.286Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 9 12:19 OWNERS.md [2023-08-09T12:25:00.286Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 9 12:19 README.md [2023-08-09T12:25:00.286Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 9 12:17 VERSION [2023-08-09T12:25:00.286Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 12:19 bin [2023-08-09T12:25:00.286Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 12:19 cmd [2023-08-09T12:25:00.286Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 9 12:24 coverage.out [2023-08-09T12:25:00.286Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 9 12:19 go.mod [2023-08-09T12:25:00.286Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 9 12:19 go.sum [2023-08-09T12:25:00.286Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 12:19 internal [2023-08-09T12:25:00.286Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 12:19 snap [2023-08-09T12:25:00.286Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 9 12:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:25:00.618Z] + 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=683d4d4593ac2673fe0867fafc4d548e8a0f2104 --label arch=arm64 --label version=3.1.0-dev.5 . [2023-08-09T12:25:00.884Z] Sending build context to Docker daemon 11.94MB [2023-08-09T12:25:00.884Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T12:25:00.884Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-09T12:25:00.884Z] ---> 0c04fe386030 [2023-08-09T12:25:00.884Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T12:25:01.150Z] ---> Running in 7241d0504e60 [2023-08-09T12:25:01.416Z] Removing intermediate container 7241d0504e60 [2023-08-09T12:25:01.416Z] ---> e9858415ef01 [2023-08-09T12:25:01.416Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T12:25:01.416Z] ---> Running in 28aa1a832a79 [2023-08-09T12:25:01.683Z] Removing intermediate container 28aa1a832a79 [2023-08-09T12:25:01.683Z] ---> e1b7fb5148f0 [2023-08-09T12:25:01.683Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-09T12:25:01.683Z] ---> Running in f678334e6a35 [2023-08-09T12:25:01.953Z] Removing intermediate container f678334e6a35 [2023-08-09T12:25:01.953Z] ---> 4538c014346e [2023-08-09T12:25:01.953Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-09T12:25:01.953Z] ---> Running in e67d4b06ddfd [2023-08-09T12:25:02.241Z] Removing intermediate container e67d4b06ddfd [2023-08-09T12:25:02.241Z] ---> 2a1951093013 [2023-08-09T12:25:02.241Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T12:25:02.510Z] ---> Running in 3c2fe19d8e8d [2023-08-09T12:25:03.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T12:25:04.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T12:25:05.003Z] OK: 268 MiB in 57 packages [2023-08-09T12:25:05.584Z] Removing intermediate container 3c2fe19d8e8d [2023-08-09T12:25:05.584Z] ---> cc46ed545a4f [2023-08-09T12:25:05.584Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-09T12:25:06.166Z] ---> 63f23d70cd32 [2023-08-09T12:25:06.166Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T12:25:06.166Z] ---> Running in dd19e95541d3 [2023-08-09T12:25:11.494Z] Removing intermediate container dd19e95541d3 [2023-08-09T12:25:11.494Z] ---> b5d662d1b40a [2023-08-09T12:25:11.494Z] Step 10/25 : COPY . . [2023-08-09T12:25:12.078Z] ---> 2f066236ad21 [2023-08-09T12:25:12.078Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T12:25:12.346Z] ---> Running in 5304b9d7cc82 [2023-08-09T12:25:12.614Z] Removing intermediate container 5304b9d7cc82 [2023-08-09T12:25:12.614Z] ---> 5fe9fe9e08c4 [2023-08-09T12:25:12.614Z] Step 12/25 : RUN $MAKE [2023-08-09T12:25:12.614Z] ---> Running in ca735db25df3 [2023-08-09T12:25:13.573Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.11" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-09T12:27:20.270Z] Removing intermediate container ca735db25df3 [2023-08-09T12:27:20.270Z] ---> 0082714f768a [2023-08-09T12:27:20.270Z] Step 13/25 : FROM alpine:3.17 [2023-08-09T12:27:20.270Z] 3.17: Pulling from library/alpine [2023-08-09T12:27:20.270Z] 4060ece20d7a: Pulling fs layer [2023-08-09T12:27:20.270Z] 4060ece20d7a: Verifying Checksum [2023-08-09T12:27:20.270Z] 4060ece20d7a: Download complete [2023-08-09T12:27:20.270Z] 4060ece20d7a: Pull complete [2023-08-09T12:27:20.270Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T12:27:20.270Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T12:27:20.270Z] ---> 8650cd65339b [2023-08-09T12:27:20.270Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-09T12:27:20.537Z] ---> Running in 8d576e45b925 [2023-08-09T12:27:20.805Z] Removing intermediate container 8d576e45b925 [2023-08-09T12:27:20.805Z] ---> 278a26e2f65c [2023-08-09T12:27:20.805Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-09T12:27:20.805Z] ---> Running in 0b05211de293 [2023-08-09T12:27:21.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T12:27:22.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T12:27:23.304Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T12:27:23.304Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T12:27:23.304Z] OK: 8 MiB in 16 packages [2023-08-09T12:27:25.246Z] Removing intermediate container 0b05211de293 [2023-08-09T12:27:25.246Z] ---> ff0f4782ad83 [2023-08-09T12:27:25.246Z] Step 16/25 : WORKDIR / [2023-08-09T12:27:25.246Z] ---> Running in f925640e5647 [2023-08-09T12:27:25.515Z] Removing intermediate container f925640e5647 [2023-08-09T12:27:25.515Z] ---> 50867456b2bc [2023-08-09T12:27:25.515Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-09T12:27:26.098Z] ---> d25b519afc34 [2023-08-09T12:27:26.098Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-09T12:27:26.365Z] ---> 02d6a07495ac [2023-08-09T12:27:26.365Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-09T12:27:27.770Z] ---> 6d1dcce91eeb [2023-08-09T12:27:27.770Z] Step 20/25 : EXPOSE 59900 [2023-08-09T12:27:27.770Z] ---> Running in 246dc7c63fe1 [2023-08-09T12:27:28.038Z] Removing intermediate container 246dc7c63fe1 [2023-08-09T12:27:28.038Z] ---> c90f1ddf9a58 [2023-08-09T12:27:28.038Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-09T12:27:28.038Z] ---> Running in 1109da04a8aa [2023-08-09T12:27:28.307Z] Removing intermediate container 1109da04a8aa [2023-08-09T12:27:28.307Z] ---> da35ea3a9d18 [2023-08-09T12:27:28.307Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-09T12:27:28.307Z] ---> Running in 77df2a6dc30e [2023-08-09T12:27:28.574Z] Removing intermediate container 77df2a6dc30e [2023-08-09T12:27:28.575Z] ---> 9865343b688f [2023-08-09T12:27:28.575Z] Step 23/25 : LABEL arch=arm64 [2023-08-09T12:27:28.848Z] ---> Running in 27245cb113bf [2023-08-09T12:27:28.848Z] Removing intermediate container 27245cb113bf [2023-08-09T12:27:28.848Z] ---> 412282513cdf [2023-08-09T12:27:28.848Z] Step 24/25 : LABEL git_sha=683d4d4593ac2673fe0867fafc4d548e8a0f2104 [2023-08-09T12:27:29.114Z] ---> Running in a87f64f855ce [2023-08-09T12:27:29.380Z] Removing intermediate container a87f64f855ce [2023-08-09T12:27:29.380Z] ---> a4ea1162e6cf [2023-08-09T12:27:29.380Z] Step 25/25 : LABEL version=3.1.0-dev.5 [2023-08-09T12:27:29.380Z] ---> Running in 0a0b13b85e1c [2023-08-09T12:27:29.645Z] Removing intermediate container 0a0b13b85e1c [2023-08-09T12:27:29.645Z] ---> 1110991b40eb [2023-08-09T12:27:29.645Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T12:27:29.645Z] Successfully built 1110991b40eb [2023-08-09T12:27:29.645Z] 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-09T12:27:29.760Z] provisioning config files... [2023-08-09T12:27:29.773Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/131@tmp/config6737196391835924043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:27:30.103Z] ---> docker-login.sh [2023-08-09T12:27:30.103Z] nexus3.edgexfoundry.org:10001 [2023-08-09T12:27:30.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:27:30.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:27:30.371Z] Configure a credential helper to remove this warning. See [2023-08-09T12:27:30.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:27:30.371Z] [2023-08-09T12:27:30.371Z] Login Succeeded [2023-08-09T12:27:30.371Z] nexus3.edgexfoundry.org:10002 [2023-08-09T12:27:30.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:27:30.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:27:30.637Z] Configure a credential helper to remove this warning. See [2023-08-09T12:27:30.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:27:30.637Z] [2023-08-09T12:27:30.637Z] Login Succeeded [2023-08-09T12:27:30.637Z] nexus3.edgexfoundry.org:10003 [2023-08-09T12:27:30.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:27:30.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:27:30.905Z] Configure a credential helper to remove this warning. See [2023-08-09T12:27:30.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:27:30.905Z] [2023-08-09T12:27:30.905Z] Login Succeeded [2023-08-09T12:27:30.905Z] nexus3.edgexfoundry.org:10004 [2023-08-09T12:27:31.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:27:31.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:27:31.437Z] Configure a credential helper to remove this warning. See [2023-08-09T12:27:31.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:27:31.437Z] [2023-08-09T12:27:31.437Z] Login Succeeded [2023-08-09T12:27:31.437Z] docker.io [2023-08-09T12:27:31.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T12:27:31.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T12:27:31.706Z] Configure a credential helper to remove this warning. See [2023-08-09T12:27:31.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T12:27:31.706Z] [2023-08-09T12:27:31.706Z] Login Succeeded [2023-08-09T12:27:31.706Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T12:27:31.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T12:27:31.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T12:27:31.761Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-08-09T12:27:31.761Z] 683d4d4593ac2673fe0867fafc4d548e8a0f2104 [2023-08-09T12:27:31.761Z] latest [2023-08-09T12:27:31.761Z] 3.1.0-dev.5 [2023-08-09T12:27:31.761Z] 683d4d4593ac2673fe0867fafc4d548e8a0f2104-3.1.0-dev.5 [2023-08-09T12:27:31.761Z] main [2023-08-09T12:27:31.761Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:27:32.089Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:683d4d4593ac2673fe0867fafc4d548e8a0f2104 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:27:32.421Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:683d4d4593ac2673fe0867fafc4d548e8a0f2104 [2023-08-09T12:27:32.421Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-09T12:27:32.421Z] f4ac57fd60d3: Preparing [2023-08-09T12:27:32.421Z] 2e6a86dbbdb1: Preparing [2023-08-09T12:27:32.421Z] 9c717ad3e80c: Preparing [2023-08-09T12:27:32.421Z] babf27bc4d3a: Preparing [2023-08-09T12:27:32.421Z] d2d9d24a8c2a: Preparing [2023-08-09T12:27:32.421Z] d2d9d24a8c2a: Layer already exists [2023-08-09T12:27:32.689Z] 2e6a86dbbdb1: Pushed [2023-08-09T12:27:32.689Z] 9c717ad3e80c: Pushed [2023-08-09T12:27:32.689Z] babf27bc4d3a: Pushed [2023-08-09T12:27:38.014Z] f4ac57fd60d3: Pushed [2023-08-09T12:27:38.279Z] 683d4d4593ac2673fe0867fafc4d548e8a0f2104: digest: sha256:0c60bc1eefd94e66e216b3be4348fc0b6e09875178020788e58fcac934bafedf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:27:38.616Z] + 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-09T12:27:38.949Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-08-09T12:27:38.949Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-09T12:27:38.949Z] f4ac57fd60d3: Preparing [2023-08-09T12:27:38.949Z] 2e6a86dbbdb1: Preparing [2023-08-09T12:27:38.949Z] 9c717ad3e80c: Preparing [2023-08-09T12:27:38.949Z] babf27bc4d3a: Preparing [2023-08-09T12:27:38.949Z] d2d9d24a8c2a: Preparing [2023-08-09T12:27:38.949Z] babf27bc4d3a: Layer already exists [2023-08-09T12:27:38.949Z] d2d9d24a8c2a: Layer already exists [2023-08-09T12:27:38.949Z] 2e6a86dbbdb1: Layer already exists [2023-08-09T12:27:38.949Z] 9c717ad3e80c: Layer already exists [2023-08-09T12:27:38.949Z] f4ac57fd60d3: Layer already exists [2023-08-09T12:27:38.949Z] latest: digest: sha256:0c60bc1eefd94e66e216b3be4348fc0b6e09875178020788e58fcac934bafedf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:27:39.287Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:27:39.663Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.5 [2023-08-09T12:27:39.663Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-09T12:27:39.663Z] f4ac57fd60d3: Preparing [2023-08-09T12:27:39.663Z] 2e6a86dbbdb1: Preparing [2023-08-09T12:27:39.663Z] 9c717ad3e80c: Preparing [2023-08-09T12:27:39.663Z] babf27bc4d3a: Preparing [2023-08-09T12:27:39.663Z] d2d9d24a8c2a: Preparing [2023-08-09T12:27:39.663Z] 9c717ad3e80c: Layer already exists [2023-08-09T12:27:39.663Z] 2e6a86dbbdb1: Layer already exists [2023-08-09T12:27:39.663Z] f4ac57fd60d3: Layer already exists [2023-08-09T12:27:39.663Z] d2d9d24a8c2a: Layer already exists [2023-08-09T12:27:39.663Z] babf27bc4d3a: Layer already exists [2023-08-09T12:27:39.663Z] 3.1.0-dev.5: digest: sha256:0c60bc1eefd94e66e216b3be4348fc0b6e09875178020788e58fcac934bafedf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:27:40.074Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:683d4d4593ac2673fe0867fafc4d548e8a0f2104-3.1.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:27:40.415Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:683d4d4593ac2673fe0867fafc4d548e8a0f2104-3.1.0-dev.5 [2023-08-09T12:27:40.415Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-09T12:27:40.415Z] f4ac57fd60d3: Preparing [2023-08-09T12:27:40.415Z] 2e6a86dbbdb1: Preparing [2023-08-09T12:27:40.415Z] 9c717ad3e80c: Preparing [2023-08-09T12:27:40.415Z] babf27bc4d3a: Preparing [2023-08-09T12:27:40.415Z] d2d9d24a8c2a: Preparing [2023-08-09T12:27:40.415Z] d2d9d24a8c2a: Layer already exists [2023-08-09T12:27:40.415Z] f4ac57fd60d3: Layer already exists [2023-08-09T12:27:40.415Z] babf27bc4d3a: Layer already exists [2023-08-09T12:27:40.415Z] 9c717ad3e80c: Layer already exists [2023-08-09T12:27:40.415Z] 2e6a86dbbdb1: Layer already exists [2023-08-09T12:27:40.415Z] 683d4d4593ac2673fe0867fafc4d548e8a0f2104-3.1.0-dev.5: digest: sha256:0c60bc1eefd94e66e216b3be4348fc0b6e09875178020788e58fcac934bafedf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:27:40.768Z] + 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-09T12:27:41.103Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-08-09T12:27:41.103Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-08-09T12:27:41.103Z] f4ac57fd60d3: Preparing [2023-08-09T12:27:41.103Z] 2e6a86dbbdb1: Preparing [2023-08-09T12:27:41.103Z] 9c717ad3e80c: Preparing [2023-08-09T12:27:41.103Z] babf27bc4d3a: Preparing [2023-08-09T12:27:41.103Z] d2d9d24a8c2a: Preparing [2023-08-09T12:27:41.103Z] 2e6a86dbbdb1: Layer already exists [2023-08-09T12:27:41.103Z] d2d9d24a8c2a: Layer already exists [2023-08-09T12:27:41.103Z] f4ac57fd60d3: Layer already exists [2023-08-09T12:27:41.103Z] babf27bc4d3a: Layer already exists [2023-08-09T12:27:41.103Z] 9c717ad3e80c: Layer already exists [2023-08-09T12:27:41.103Z] main: digest: sha256:0c60bc1eefd94e66e216b3be4348fc0b6e09875178020788e58fcac934bafedf size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-09T12:27:41.150Z] ===================================================== [Pipeline] echo [2023-08-09T12:27:41.157Z] taggedImages: [2023-08-09T12:27:41.157Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:683d4d4593ac2673fe0867fafc4d548e8a0f2104 [2023-08-09T12:27:41.157Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-08-09T12:27:41.157Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.5 [2023-08-09T12:27:41.157Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:683d4d4593ac2673fe0867fafc4d548e8a0f2104-3.1.0-dev.5 [2023-08-09T12:27:41.157Z] - 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-09T12:27:41.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T12:27:41.525Z] [2023-08-09T12:27:41.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:27:41.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T12:27:41.873Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T12:27:41.873Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T12:27:41.873Z] 04944245beec: Pulling fs layer [2023-08-09T12:27:41.873Z] 699f458cf7ca: Pulling fs layer [2023-08-09T12:27:41.874Z] 765212b225bb: Pulling fs layer [2023-08-09T12:27:41.874Z] f23df028b6ca: Pulling fs layer [2023-08-09T12:27:41.874Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T12:27:41.874Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T12:27:41.874Z] 765212b225bb: Waiting [2023-08-09T12:27:41.874Z] f23df028b6ca: Waiting [2023-08-09T12:27:41.874Z] d65c8cfc05b1: Waiting [2023-08-09T12:27:41.874Z] 2437ff75d9bd: Waiting [2023-08-09T12:27:42.155Z] 04944245beec: Verifying Checksum [2023-08-09T12:27:42.155Z] 04944245beec: Download complete [2023-08-09T12:27:42.155Z] 765212b225bb: Verifying Checksum [2023-08-09T12:27:42.155Z] 765212b225bb: Download complete [2023-08-09T12:27:42.155Z] d65c8cfc05b1: Verifying Checksum [2023-08-09T12:27:42.155Z] d65c8cfc05b1: Download complete [2023-08-09T12:27:42.155Z] 699f458cf7ca: Verifying Checksum [2023-08-09T12:27:42.155Z] 699f458cf7ca: Download complete [2023-08-09T12:27:42.736Z] 8998bd30e6a1: Verifying Checksum [2023-08-09T12:27:42.736Z] 8998bd30e6a1: Download complete [2023-08-09T12:27:44.688Z] 2437ff75d9bd: Download complete [2023-08-09T12:27:46.626Z] 8998bd30e6a1: Pull complete [2023-08-09T12:27:46.626Z] 04944245beec: Pull complete [2023-08-09T12:27:48.027Z] 699f458cf7ca: Pull complete [2023-08-09T12:27:48.295Z] 765212b225bb: Pull complete [2023-08-09T12:27:48.893Z] f23df028b6ca: Pull complete [2023-08-09T12:27:49.159Z] d65c8cfc05b1: Pull complete [2023-08-09T12:28:04.143Z] 2437ff75d9bd: Pull complete [2023-08-09T12:28:04.143Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T12:28:04.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T12:28:04.143Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:28:04.334Z] prd-ubuntu20.04-docker-arm64-4c-16g-3232 does not seem to be running inside a container [2023-08-09T12:28:04.399Z] $ 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/131 -v /w/workspace/device-virtual-go/131:/w/workspace/device-virtual-go/131:rw,z -v /w/workspace/device-virtual-go/131@tmp:/w/workspace/device-virtual-go/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-09T12:28:06.684Z] $ docker top 2865df81420e86a5c94765630c606ae2691104cc3c204dd15392c93dee4558b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:28:07.185Z] ---> job-cost.sh [2023-08-09T12:28:07.449Z] lf-activate-venv: SKIPPING [2023-08-09T12:28:07.449Z] INFO: No Stack... [2023-08-09T12:28:07.713Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T12:28:08.667Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T12:28:08.975Z] + cat /w/workspace/device-virtual-go/131/archives/cost.csv [2023-08-09T12:28:08.975Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T12:28:09.031Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-131-stack-cost] [2023-08-09T12:28:09.039Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-131-stack-cost] did not exist. Created. [2023-08-09T12:28:09.039Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T12:28:09.368Z] /w/workspace/device-virtual-go/131@tmp/durable-78ac1b5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T12:28:09.703Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T12:28:09.722Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T12:28:09.772Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T12:28:09.778Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-131-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T12:28:09.796Z] $ docker stop --time=1 2865df81420e86a5c94765630c606ae2691104cc3c204dd15392c93dee4558b4 [2023-08-09T12:28:11.243Z] $ docker rm -f --volumes 2865df81420e86a5c94765630c606ae2691104cc3c204dd15392c93dee4558b4 [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-09T12:28:11.611Z] provisioning config files... [2023-08-09T12:28:11.619Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config18199901738503724453tmp [Pipeline] { [Pipeline] sh [2023-08-09T12:28:11.910Z] + set +x [2023-08-09T12:28:11.910Z] + + curl -sbash https://codecov.io/bash -s [2023-08-09T12:28:11.910Z] -- [2023-08-09T12:28:11.910Z] [2023-08-09T12:28:11.910Z] _____ _ [2023-08-09T12:28:11.910Z] / ____| | | [2023-08-09T12:28:11.910Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T12:28:11.910Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T12:28:11.910Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T12:28:11.910Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T12:28:11.910Z] Bash-1.0.6 [2023-08-09T12:28:11.910Z] [2023-08-09T12:28:11.910Z] [2023-08-09T12:28:11.910Z] ==> git version 2.25.1 found [2023-08-09T12:28:11.910Z] ==> 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-09T12:28:11.910Z] Release-Date: 2020-01-08 [2023-08-09T12:28:11.910Z] 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-09T12:28:11.910Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T12:28:11.910Z] ==> Jenkins CI detected. [2023-08-09T12:28:11.910Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-08-09T12:28:11.910Z] project root: . [2023-08-09T12:28:11.910Z] --> token set from env [2023-08-09T12:28:11.910Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T12:28:11.910Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T12:28:11.910Z] ==> Python coveragepy not found [2023-08-09T12:28:11.910Z] ==> Searching for coverage reports in: [2023-08-09T12:28:11.910Z] + . [2023-08-09T12:28:11.910Z] -> Found 1 reports [2023-08-09T12:28:11.910Z] ==> Detecting git/mercurial file structure [2023-08-09T12:28:11.910Z] ==> Reading reports [2023-08-09T12:28:11.910Z] + ./coverage.out bytes=43063 [2023-08-09T12:28:11.910Z] ==> Appending adjustments [2023-08-09T12:28:11.910Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T12:28:12.168Z] + Found adjustments [2023-08-09T12:28:12.168Z] ==> Gzipping contents [2023-08-09T12:28:12.168Z] 8.0K /tmp/codecov.So4nTg.gz [2023-08-09T12:28:12.168Z] ==> Uploading reports [2023-08-09T12:28:12.168Z] url: https://codecov.io [2023-08-09T12:28:12.168Z] query: branch=main&commit=683d4d4593ac2673fe0867fafc4d548e8a0f2104&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T12:28:12.168Z] -> Pinging Codecov [2023-08-09T12:28:12.168Z] 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=683d4d4593ac2673fe0867fafc4d548e8a0f2104&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-09T12:28:12.168Z] -> Uploading to [2023-08-09T12:28:12.168Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/5E52B4B073DB2E39498172D8E973AA87/683d4d4593ac2673fe0867fafc4d548e8a0f2104/ea431f9c-7b79-430d-afd1-5b2f69ab78ec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T122812Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a90065f96436525a570bbdcba6e3ad4e1cec5121cdb0b249abbf30590e5f85f0 [2023-08-09T12:28:12.168Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T12:28:12.168Z] Dload Upload Total Spent Left Speed [2023-08-09T12:28:12.425Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 27000 --:--:-- --:--:-- --:--:-- 27000 [2023-08-09T12:28:12.425Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/683d4d4593ac2673fe0867fafc4d548e8a0f2104 [Pipeline] } [2023-08-09T12:28:12.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-09T12:28:12.634Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-09T12:28:12.647Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:28:12.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T12:28:12.942Z] [2023-08-09T12:28:12.942Z] 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-09T12:28:13.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T12:28:13.235Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-09T12:28:13.235Z] df9b9388f04a: Pulling fs layer [2023-08-09T12:28:13.235Z] 52dc419b0ee2: Pulling fs layer [2023-08-09T12:28:13.235Z] 25bc292e5bac: Pulling fs layer [2023-08-09T12:28:13.235Z] 114826534d7a: Pulling fs layer [2023-08-09T12:28:13.235Z] 4657fd5d0bcf: Pulling fs layer [2023-08-09T12:28:13.235Z] 6ad1cebc031e: Pulling fs layer [2023-08-09T12:28:13.235Z] 8a3aa393b2d8: Pulling fs layer [2023-08-09T12:28:13.235Z] 8a3aa393b2d8: Waiting [2023-08-09T12:28:13.235Z] 4657fd5d0bcf: Waiting [2023-08-09T12:28:13.235Z] 6ad1cebc031e: Waiting [2023-08-09T12:28:13.235Z] 114826534d7a: Waiting [2023-08-09T12:28:13.235Z] 25bc292e5bac: Verifying Checksum [2023-08-09T12:28:13.235Z] 25bc292e5bac: Download complete [2023-08-09T12:28:13.235Z] 52dc419b0ee2: Verifying Checksum [2023-08-09T12:28:13.235Z] 52dc419b0ee2: Download complete [2023-08-09T12:28:13.235Z] 4657fd5d0bcf: Verifying Checksum [2023-08-09T12:28:13.235Z] 4657fd5d0bcf: Download complete [2023-08-09T12:28:13.235Z] df9b9388f04a: Download complete [2023-08-09T12:28:13.495Z] 6ad1cebc031e: Verifying Checksum [2023-08-09T12:28:13.495Z] 6ad1cebc031e: Download complete [2023-08-09T12:28:13.495Z] df9b9388f04a: Pull complete [2023-08-09T12:28:13.495Z] 52dc419b0ee2: Pull complete [2023-08-09T12:28:13.495Z] 25bc292e5bac: Pull complete [2023-08-09T12:28:14.061Z] 114826534d7a: Verifying Checksum [2023-08-09T12:28:14.061Z] 114826534d7a: Download complete [2023-08-09T12:28:14.061Z] 8a3aa393b2d8: Verifying Checksum [2023-08-09T12:28:14.061Z] 8a3aa393b2d8: Download complete [2023-08-09T12:28:17.364Z] 114826534d7a: Pull complete [2023-08-09T12:28:17.364Z] 4657fd5d0bcf: Pull complete [2023-08-09T12:28:17.621Z] 6ad1cebc031e: Pull complete [2023-08-09T12:28:20.143Z] 8a3aa393b2d8: Pull complete [2023-08-09T12:28:20.143Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-09T12:28:20.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-09T12:28:20.143Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:28:20.211Z] prd-ubuntu20.04-docker-8c-8g-3231 does not seem to be running inside a container [2023-08-09T12:28:20.246Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-09T12:28:24.261Z] $ docker top f499ced6453a74f494475bd07f82131092bd74036dfe6351a91b4d4dde2b34d4 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-09T12:28:24.313Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-08-09T12:28:24.590Z] + set -o pipefail [2023-08-09T12:28:24.590Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-08-09T12:28:29.853Z] [2023-08-09T12:28:29.853Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-08-09T12:28:29.853Z] [2023-08-09T12:28:29.853Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/81ff176a-1273-4cac-9ce7-cef32f5b7106 [2023-08-09T12:28:29.853Z] [2023-08-09T12:28:29.853Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-09T12:28:29.853Z] [2023-08-09T12:28:29.853Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-09T12:28:29.853Z] [2023-08-09T12:28:29.853Z] [2023-08-09T12:28:29.853Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-09T12:28:29.853Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-09T12:28:29.853Z] More details here: https://snyk.co/ue1NS [2023-08-09T12:28:29.853Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-08-09T12:28:29.853Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-08-09T12:28:29.869Z] $ docker stop --time=1 f499ced6453a74f494475bd07f82131092bd74036dfe6351a91b4d4dde2b34d4 [2023-08-09T12:28:33.324Z] $ docker rm -f --volumes f499ced6453a74f494475bd07f82131092bd74036dfe6351a91b4d4dde2b34d4 [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-09T12:28:33.990Z] + git log --format=format:%s -1 683d4d4593ac2673fe0867fafc4d548e8a0f2104 [Pipeline] sh [2023-08-09T12:28:34.277Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T12:28:34.277Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:28:34.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T12:28:34.574Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:28:34.652Z] prd-ubuntu20.04-docker-8c-8g-3231 does not seem to be running inside a container [2023-08-09T12:28:34.686Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T12:28:35.584Z] $ docker top 26f624686e034ab9714f3505090e8ecb0cecaeccecfe7ee4f8937d11804ec634 -eo pid,comm [2023-08-09T12:28:35.624Z] 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-09T12:28:35.624Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T12:28:35.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T12:28:35.664Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T12:28:35.779Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T12:28:35.787Z] $ docker exec 26f624686e034ab9714f3505090e8ecb0cecaeccecfe7ee4f8937d11804ec634 ssh-agent [2023-08-09T12:28:35.902Z] SSH_AUTH_SOCK=/tmp/ssh-QFMmFDX9DIyv/agent.31 [2023-08-09T12:28:35.902Z] SSH_AGENT_PID=37 [2023-08-09T12:28:35.907Z] Running ssh-add (command line suppressed) [2023-08-09T12:28:36.016Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5395071468136653034.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5395071468136653034.key) [2023-08-09T12:28:36.023Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T12:28:36.310Z] + git semver tag [2023-08-09T12:28:36.569Z] 2023-08-09 12:28:36,508 [run_tag] DEBUG tag force:False [2023-08-09T12:28:36.569Z] 2023-08-09 12:28:36,508 [check_head_tag] DEBUG check head tag [2023-08-09T12:28:36.569Z] 2023-08-09 12:28:36,509 [execute] INFO git cat-file --batch-check [2023-08-09T12:28:36.569Z] 2023-08-09 12:28:36,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T12:28:36.569Z] 2023-08-09 12:28:36,512 [execute] INFO git cat-file --batch [2023-08-09T12:28:36.569Z] 2023-08-09 12:28:36,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-08-09T12:28:36.569Z] 2023-08-09 12:28:36,523 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-09T12:28:36.569Z] 2023-08-09 12:28:36,523 [execute] INFO git tag -a v3.1.0-dev.5 -m v3.1.0-dev.5 [2023-08-09T12:28:36.569Z] 2023-08-09 12:28:36,524 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.5', '-m', 'v3.1.0-dev.5'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-09T12:28:36.569Z] 2023-08-09 12:28:36,529 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-09T12:28:36.569Z] 3.1.0-dev.5 [Pipeline] } [2023-08-09T12:28:36.585Z] $ docker exec --env ******** --env ******** 26f624686e034ab9714f3505090e8ecb0cecaeccecfe7ee4f8937d11804ec634 ssh-agent -k [2023-08-09T12:28:36.683Z] unset SSH_AUTH_SOCK; [2023-08-09T12:28:36.684Z] unset SSH_AGENT_PID; [2023-08-09T12:28:36.684Z] echo Agent pid 37 killed; [2023-08-09T12:28:36.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T12:28:36.985Z] + git semver [Pipeline] } [2023-08-09T12:28:37.260Z] $ docker stop --time=1 26f624686e034ab9714f3505090e8ecb0cecaeccecfe7ee4f8937d11804ec634 [2023-08-09T12:28:38.518Z] $ docker rm -f --volumes 26f624686e034ab9714f3505090e8ecb0cecaeccecfe7ee4f8937d11804ec634 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:28:38.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T12:28:38.902Z] [2023-08-09T12:28:38.902Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:28:39.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T12:28:39.201Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-09T12:28:39.201Z] ab5ef0e58194: Pulling fs layer [2023-08-09T12:28:39.201Z] 9712f1f96733: Pulling fs layer [2023-08-09T12:28:39.201Z] 63f879dbbcfc: Pulling fs layer [2023-08-09T12:28:39.201Z] 0d9ebad4ef96: Pulling fs layer [2023-08-09T12:28:39.201Z] e9a5061849ea: Pulling fs layer [2023-08-09T12:28:39.201Z] d747dcd14b5f: Pulling fs layer [2023-08-09T12:28:39.201Z] 2de7ff778b66: Pulling fs layer [2023-08-09T12:28:39.201Z] e9a5061849ea: Waiting [2023-08-09T12:28:39.201Z] 2de7ff778b66: Waiting [2023-08-09T12:28:39.201Z] 0d9ebad4ef96: Waiting [2023-08-09T12:28:39.201Z] 9712f1f96733: Verifying Checksum [2023-08-09T12:28:39.201Z] 9712f1f96733: Download complete [2023-08-09T12:28:39.460Z] 63f879dbbcfc: Verifying Checksum [2023-08-09T12:28:39.460Z] 63f879dbbcfc: Download complete [2023-08-09T12:28:39.719Z] e9a5061849ea: Verifying Checksum [2023-08-09T12:28:39.719Z] e9a5061849ea: Download complete [2023-08-09T12:28:39.719Z] ab5ef0e58194: Verifying Checksum [2023-08-09T12:28:39.719Z] ab5ef0e58194: Download complete [2023-08-09T12:28:39.719Z] d747dcd14b5f: Download complete [2023-08-09T12:28:39.719Z] 0d9ebad4ef96: Verifying Checksum [2023-08-09T12:28:39.719Z] 0d9ebad4ef96: Download complete [2023-08-09T12:28:39.719Z] 2de7ff778b66: Verifying Checksum [2023-08-09T12:28:39.719Z] 2de7ff778b66: Download complete [2023-08-09T12:28:42.276Z] ab5ef0e58194: Pull complete [2023-08-09T12:28:42.276Z] 9712f1f96733: Pull complete [2023-08-09T12:28:42.843Z] 63f879dbbcfc: Pull complete [2023-08-09T12:28:46.126Z] 0d9ebad4ef96: Pull complete [2023-08-09T12:28:46.384Z] e9a5061849ea: Pull complete [2023-08-09T12:28:46.384Z] d747dcd14b5f: Pull complete [2023-08-09T12:28:47.317Z] 2de7ff778b66: Pull complete [2023-08-09T12:28:47.317Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-09T12:28:47.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-09T12:28:47.317Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:28:47.393Z] prd-ubuntu20.04-docker-8c-8g-3231 does not seem to be running inside a container [2023-08-09T12:28:47.427Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-09T12:28:51.440Z] $ docker top bfca7820e88a66dcc1ffad8f444f822161fd327f3322711c8b8f9ec65b257a56 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-09T12:28:51.495Z] provisioning config files... [2023-08-09T12:28:51.501Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17202595154579789779tmp [2023-08-09T12:28:51.509Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11734815906190466076tmp [2023-08-09T12:28:51.517Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config406376365337714539tmp [Pipeline] { [Pipeline] echo [2023-08-09T12:28:51.530Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:28:51.809Z] ---> sigul-configuration.sh [2023-08-09T12:28:51.809Z] gpg: directory `/root/.gnupg' created [2023-08-09T12:28:51.809Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-09T12:28:51.809Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-09T12:28:51.809Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-09T12:28:51.809Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-09T12:28:51.809Z] gpg: CAST5 encrypted data [2023-08-09T12:28:51.809Z] gpg: encrypted with 1 passphrase [2023-08-09T12:28:51.809Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-09T12:28:52.098Z] + mkdir /home/jenkins [2023-08-09T12:28:52.098Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-09T12:28:52.381Z] + 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-09T12:28:52.390Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:28:52.671Z] ---> sigul-install.sh [2023-08-09T12:28:52.671Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-09T12:28:52.952Z] + git tag --list [2023-08-09T12:28:52.952Z] v1.0.0 [2023-08-09T12:28:52.952Z] v1.1.0 [2023-08-09T12:28:52.952Z] v1.1.1 [2023-08-09T12:28:52.952Z] v1.2.1 [2023-08-09T12:28:52.952Z] v1.2.2 [2023-08-09T12:28:52.952Z] v1.2.3 [2023-08-09T12:28:52.952Z] v1.3.0 [2023-08-09T12:28:52.952Z] v1.3.1 [2023-08-09T12:28:52.952Z] v2.0.0 [2023-08-09T12:28:52.952Z] v2.1.0 [2023-08-09T12:28:52.952Z] v2.1.1 [2023-08-09T12:28:52.952Z] v2.2.0 [2023-08-09T12:28:52.952Z] v2.3.0 [2023-08-09T12:28:52.952Z] v3.0 [2023-08-09T12:28:52.952Z] v3.0.0 [2023-08-09T12:28:52.952Z] v3.1.0-dev.1 [2023-08-09T12:28:52.952Z] v3.1.0-dev.2 [2023-08-09T12:28:52.952Z] v3.1.0-dev.3 [2023-08-09T12:28:52.952Z] v3.1.0-dev.4 [2023-08-09T12:28:52.952Z] v3.1.0-dev.5 [Pipeline] sh [2023-08-09T12:28:53.237Z] + lftools sign git-tag v3.1.0-dev.5 [2023-08-09T12:28:53.803Z] Signing Git tag with Sigul... [2023-08-09T12:28:53.803Z] Signing v3.1.0-dev.5 [Pipeline] echo [2023-08-09T12:28:54.377Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:28:54.659Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-09T12:28:54.666Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-09T12:28:54.690Z] $ docker stop --time=1 bfca7820e88a66dcc1ffad8f444f822161fd327f3322711c8b8f9ec65b257a56 [2023-08-09T12:28:55.950Z] $ docker rm -f --volumes bfca7820e88a66dcc1ffad8f444f822161fd327f3322711c8b8f9ec65b257a56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-09T12:28:56.365Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T12:28:56.365Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:28:56.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T12:28:56.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:28:56.742Z] prd-ubuntu20.04-docker-8c-8g-3231 does not seem to be running inside a container [2023-08-09T12:28:56.779Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T12:28:57.104Z] $ docker top a374e517e777d832c11104161f32fe65f9814e3c06e64ea0e95619f227994eee -eo pid,comm [2023-08-09T12:28:57.144Z] 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-09T12:28:57.144Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T12:28:57.177Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T12:28:57.177Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T12:28:57.286Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T12:28:57.295Z] $ docker exec a374e517e777d832c11104161f32fe65f9814e3c06e64ea0e95619f227994eee ssh-agent [2023-08-09T12:28:57.390Z] SSH_AUTH_SOCK=/tmp/ssh-GFRywMPtTA3M/agent.32 [2023-08-09T12:28:57.390Z] SSH_AGENT_PID=38 [2023-08-09T12:28:57.395Z] Running ssh-add (command line suppressed) [2023-08-09T12:28:57.500Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4238894346692705065.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4238894346692705065.key) [2023-08-09T12:28:57.507Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T12:28:57.795Z] + git semver bump pre [2023-08-09T12:28:58.054Z] 2023-08-09 12:28:57,954 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-09T12:28:58.054Z] 2023-08-09 12:28:57,954 [bump_version] DEBUG bumping version:3.1.0-dev.5 on axis:pre with prefix:dev [2023-08-09T12:28:58.054Z] 2023-08-09 12:28:57,954 [bump_version] DEBUG bumped version:3.1.0-dev.6 [2023-08-09T12:28:58.054Z] 2023-08-09 12:28:57,954 [write_version] DEBUG write version:3.1.0-dev.6 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-08-09T12:28:58.054Z] 2023-08-09 12:28:57,954 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-09T12:28:58.054Z] 2023-08-09 12:28:57,954 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-09T12:28:58.054Z] 2023-08-09 12:28:57,956 [execute] INFO git cat-file --batch-check [2023-08-09T12:28:58.054Z] 2023-08-09 12:28:57,956 [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-09T12:28:58.054Z] 2023-08-09 12:28:57,961 [execute] INFO git cat-file --batch [2023-08-09T12:28:58.054Z] 2023-08-09 12:28:57,961 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T12:28:58.054Z] 2023-08-09 12:28:57,966 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-09T12:28:58.054Z] 3.1.0-dev.6 [Pipeline] } [2023-08-09T12:28:58.068Z] $ docker exec --env ******** --env ******** a374e517e777d832c11104161f32fe65f9814e3c06e64ea0e95619f227994eee ssh-agent -k [2023-08-09T12:28:58.168Z] unset SSH_AUTH_SOCK; [2023-08-09T12:28:58.168Z] unset SSH_AGENT_PID; [2023-08-09T12:28:58.168Z] echo Agent pid 38 killed; [2023-08-09T12:28:58.172Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T12:28:58.485Z] + git semver [Pipeline] } [2023-08-09T12:28:58.764Z] $ docker stop --time=1 a374e517e777d832c11104161f32fe65f9814e3c06e64ea0e95619f227994eee [2023-08-09T12:29:00.022Z] $ docker rm -f --volumes a374e517e777d832c11104161f32fe65f9814e3c06e64ea0e95619f227994eee [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T12:29:00.352Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T12:29:00.352Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:29:00.653Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T12:29:00.653Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:29:00.721Z] prd-ubuntu20.04-docker-8c-8g-3231 does not seem to be running inside a container [2023-08-09T12:29:00.759Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-09T12:29:01.060Z] $ docker top cb991206a71de42945cd93b81bd8bcf96a449a5c0532874cb1b9592a81e095c4 -eo pid,comm [2023-08-09T12:29:01.101Z] 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-09T12:29:01.101Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T12:29:01.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T12:29:01.142Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T12:29:01.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T12:29:01.259Z] $ docker exec cb991206a71de42945cd93b81bd8bcf96a449a5c0532874cb1b9592a81e095c4 ssh-agent [2023-08-09T12:29:01.361Z] SSH_AUTH_SOCK=/tmp/ssh-KrVlDTOPqri3/agent.32 [2023-08-09T12:29:01.361Z] SSH_AGENT_PID=38 [2023-08-09T12:29:01.366Z] Running ssh-add (command line suppressed) [2023-08-09T12:29:01.475Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7600816479914751819.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7600816479914751819.key) [2023-08-09T12:29:01.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T12:29:01.767Z] + git semver push [2023-08-09T12:29:02.025Z] 2023-08-09 12:29:01,932 [run_push] DEBUG push [2023-08-09T12:29:02.025Z] 2023-08-09 12:29:01,933 [execute] INFO git cat-file --batch-check [2023-08-09T12:29:02.025Z] 2023-08-09 12:29:01,933 [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-09T12:29:02.025Z] 2023-08-09 12:29:01,937 [execute] INFO git rev-list bf5b64db62933b1679b0dda59317cbcbb37456f7 -- [2023-08-09T12:29:02.025Z] 2023-08-09 12:29:01,937 [execute] DEBUG Popen(['git', 'rev-list', 'bf5b64db62933b1679b0dda59317cbcbb37456f7', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-09T12:29:02.025Z] 2023-08-09 12:29:01,946 [execute] INFO git fetch -v origin [2023-08-09T12:29:02.025Z] 2023-08-09 12:29:01,947 [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-09T12:29:02.590Z] 2023-08-09 12:29:02,513 [run_push] DEBUG no remote changes detected [2023-08-09T12:29:02.590Z] 2023-08-09 12:29:02,514 [execute] INFO git push origin semver [2023-08-09T12:29:02.590Z] 2023-08-09 12:29:02,514 [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-09T12:29:03.526Z] 2023-08-09 12:29:03,409 [run_push] DEBUG push all version tags [2023-08-09T12:29:03.526Z] 2023-08-09 12:29:03,410 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-09T12:29:03.526Z] 2023-08-09 12:29:03,410 [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-09T12:29:04.463Z] 2023-08-09 12:29:04,208 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-08-09T12:29:04.463Z] 3.1.0-dev.6 [Pipeline] } [2023-08-09T12:29:04.479Z] $ docker exec --env ******** --env ******** cb991206a71de42945cd93b81bd8bcf96a449a5c0532874cb1b9592a81e095c4 ssh-agent -k [2023-08-09T12:29:04.571Z] unset SSH_AUTH_SOCK; [2023-08-09T12:29:04.571Z] unset SSH_AGENT_PID; [2023-08-09T12:29:04.572Z] echo Agent pid 38 killed; [2023-08-09T12:29:04.571Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T12:29:04.867Z] + git semver [Pipeline] } [2023-08-09T12:29:05.148Z] $ docker stop --time=1 cb991206a71de42945cd93b81bd8bcf96a449a5c0532874cb1b9592a81e095c4 [2023-08-09T12:29:06.387Z] $ docker rm -f --volumes cb991206a71de42945cd93b81bd8bcf96a449a5c0532874cb1b9592a81e095c4 [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-09T12:29:06.980Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-08-09T12:29:06.980Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-09T12:29:06.980Z] total 16 [2023-08-09T12:29:06.980Z] drwxr-xr-x 3 root root 4096 Aug 9 12:19 . [2023-08-09T12:29:06.980Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 12:28 .. [2023-08-09T12:29:06.980Z] drwxr-xr-x 2 root root 4096 Aug 9 12:19 cost [2023-08-09T12:29:06.980Z] -rw-r--r-- 1 root root 89 Aug 9 12:19 cost.csv [2023-08-09T12:29:06.980Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-09T12:29:06.980Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-08-09T12:29:06.980Z] total 16 [2023-08-09T12:29:06.980Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 12:19 . [2023-08-09T12:29:06.980Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 12:28 .. [2023-08-09T12:29:06.980Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 12:19 cost [2023-08-09T12:29:06.980Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 9 12:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:29:07.269Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:29:08.126Z] ---> package-listing.sh [2023-08-09T12:29:08.126Z] ++ facter osfamily [2023-08-09T12:29:08.126Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T12:29:08.386Z] + OS_FAMILY=debian [2023-08-09T12:29:08.386Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-08-09T12:29:08.386Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T12:29:08.386Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T12:29:08.386Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T12:29:08.386Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T12:29:08.386Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-08-09T12:29:08.386Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T12:29:08.386Z] + case "${OS_FAMILY}" in [2023-08-09T12:29:08.386Z] + dpkg -l [2023-08-09T12:29:08.386Z] + grep '^ii' [2023-08-09T12:29:08.386Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T12:29:08.386Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T12:29:08.386Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T12:29:08.386Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-08-09T12:29:08.386Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-08-09T12:29:08.386Z] + 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-09T12:29:08.395Z] 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-09T12:29:08.672Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T12:29:09.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T12:29:09.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T12:29:09.299Z] prd-ubuntu20.04-docker-8c-8g-3231 does not seem to be running inside a container [2023-08-09T12:29:09.359Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-09T12:29:09.583Z] $ docker top a98af09ebc6f50e9c99d133cf2c00084209f4d49e6cc5d842f4ca0bd09c32dec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T12:29:09.973Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T12:29:10.271Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T12:29:10.552Z] + ls /var/log/sa-host [2023-08-09T12:29:10.552Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T12:29:10.696Z] provisioning config files... [2023-08-09T12:29:10.705Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8130707816564808714tmp [Pipeline] { [Pipeline] echo [2023-08-09T12:29:10.716Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:29:11.001Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T12:29:11.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:29:11.342Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T12:29:11.351Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:29:11.642Z] ---> sudo-logs.sh [2023-08-09T12:29:11.642Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T12:29:11.666Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:29:11.951Z] ---> job-cost.sh [2023-08-09T12:29:11.951Z] lf-activate-venv: SKIPPING [2023-08-09T12:29:11.951Z] DEBUG: total: 0.2199999988079071 [2023-08-09T12:29:11.951Z] INFO: Retrieving Stack Cost... [2023-08-09T12:29:12.519Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T12:29:12.778Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T12:29:12.790Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T12:29:13.072Z] ---> logs-deploy.sh [2023-08-09T12:29:13.072Z] lf-activate-venv: SKIPPING [2023-08-09T12:29:13.072Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/131 [2023-08-09T12:29:13.072Z] INFO: archiving workspace using pattern(s): [2023-08-09T12:29:14.007Z] Archives upload complete. [2023-08-09T12:29:14.007Z] INFO: archiving logs to Nexus