Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 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-ssh472384077668471981.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh14144285564989382951.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17333578305002862051.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh2585514429156362445.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-ssh15999751335902650703.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6008 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 > 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 Avoid second fetch Checking out Revision b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 (main) Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#427)" > git config core.sparsecheckout # timeout=10 > git checkout -f b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 # timeout=10 > git rev-list --no-walk 3e7277aeb6c2165bba0097e742148e8cd729522a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T21:48:08.067Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T21:48:08.123Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T21:48:08.138Z] ========================================================= [2023-09-12T21:48:08.138Z] EdgeX Global Pipelines Version Info [2023-09-12T21:48:08.138Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:48:08.847Z] ------------------- [2023-09-12T21:48:08.847Z] stable info: [2023-09-12T21:48:08.847Z] ------------------- [2023-09-12T21:48:08.847Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T21:48:08.847Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:48:08.847Z] Message: update stable to v1.0.254 [2023-09-12T21:48:09.417Z] ------------------- [2023-09-12T21:48:09.417Z] experimental info: [2023-09-12T21:48:09.417Z] ------------------- [2023-09-12T21:48:09.417Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T21:48:09.417Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:48:09.417Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T21:48:09.577Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-09-12T21:48:09.592Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-09-12T21:48:09.606Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T21:48:09.620Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T21:48:09.633Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T21:48:09.645Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T21:48:09.658Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T21:48:09.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T21:48:09.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T21:48:09.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T21:48:09.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T21:48:09.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-09-12T21:48:09.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T21:48:09.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T21:48:09.760Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:48:09.775Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:48:09.791Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:48:09.805Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:48:09.819Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T21:48:09.837Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T21:48:09.855Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-12T21:48:09.872Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-12T21:48:09.890Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T21:48:09.905Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T21:48:09.923Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T21:48:09.942Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T21:48:09.959Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T21:48:09.976Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-12T21:48:09.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-12T21:48:10.016Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-12T21:48:10.036Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] echo [2023-09-12T21:48:10.054Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b41150d [Pipeline] echo [2023-09-12T21:48:10.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:48:10.118Z] provisioning config files... [2023-09-12T21:48:10.133Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8272782654508942324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:48:10.436Z] ---> docker-login.sh [2023-09-12T21:48:10.436Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:48:10.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:10.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:10.696Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:10.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:10.696Z] [2023-09-12T21:48:10.696Z] Login Succeeded [2023-09-12T21:48:10.696Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:48:10.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:10.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:10.696Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:10.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:10.696Z] [2023-09-12T21:48:10.696Z] Login Succeeded [2023-09-12T21:48:10.696Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:48:10.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:10.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:10.956Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:10.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:10.956Z] [2023-09-12T21:48:10.956Z] Login Succeeded [2023-09-12T21:48:10.956Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:48:10.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:10.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:10.956Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:10.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:10.956Z] [2023-09-12T21:48:10.956Z] Login Succeeded [2023-09-12T21:48:10.956Z] docker.io [2023-09-12T21:48:10.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:11.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:11.526Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:11.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:11.526Z] [2023-09-12T21:48:11.526Z] Login Succeeded [2023-09-12T21:48:11.526Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:48:11.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T21:48:11.897Z] + git rev-list -1 --merges b41150d8f29f1474a4d4d35e5cf0bbe8d5784310~1..b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] echo [2023-09-12T21:48:11.948Z] -----------> git rev-list -1 --merges b41150d8f29f1474a4d4d35e5cf0bbe8d5784310~1..b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [false] [Pipeline] sh [2023-09-12T21:48:12.239Z] + git log --format=format:%s -1 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] echo [2023-09-12T21:48:12.258Z] ========================================================= [2023-09-12T21:48:12.258Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T21:48:12.258Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:48:12.595Z] + git log --format=format:%s -1 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] echo [2023-09-12T21:48:12.606Z] [semverPrep] GIT_COMMIT: b41150d8f29f1474a4d4d35e5cf0bbe8d5784310, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#427) [Pipeline] echo [2023-09-12T21:48:12.615Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T21:48:12.966Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T21:48:12.966Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T21:48:12.966Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T21:48:12.966Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T21:48:12.966Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T21:48:12.966Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T21:48:12.966Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:48:13.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:48:13.328Z] [2023-09-12T21:48:13.328Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:48:13.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:48:13.628Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T21:48:13.628Z] b85a868b505f: Pulling fs layer [2023-09-12T21:48:13.628Z] e2be974225ed: Pulling fs layer [2023-09-12T21:48:13.628Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T21:48:13.628Z] 988bab9f4d93: Pulling fs layer [2023-09-12T21:48:13.628Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T21:48:13.628Z] eaf3925da568: Pulling fs layer [2023-09-12T21:48:13.628Z] bab4dde63d76: Pulling fs layer [2023-09-12T21:48:13.628Z] bde34c3a00c8: Pulling fs layer [2023-09-12T21:48:13.628Z] b352a97aabf1: Pulling fs layer [2023-09-12T21:48:13.628Z] 4872d77fe225: Pulling fs layer [2023-09-12T21:48:13.628Z] 5851b861e8e6: Pulling fs layer [2023-09-12T21:48:13.628Z] 988bab9f4d93: Waiting [2023-09-12T21:48:13.628Z] 1469e6f7b9e6: Waiting [2023-09-12T21:48:13.628Z] bab4dde63d76: Waiting [2023-09-12T21:48:13.628Z] 4872d77fe225: Waiting [2023-09-12T21:48:13.628Z] bde34c3a00c8: Waiting [2023-09-12T21:48:13.628Z] b352a97aabf1: Waiting [2023-09-12T21:48:13.628Z] 5851b861e8e6: Waiting [2023-09-12T21:48:13.628Z] eaf3925da568: Waiting [2023-09-12T21:48:13.628Z] e2be974225ed: Verifying Checksum [2023-09-12T21:48:13.628Z] e2be974225ed: Download complete [2023-09-12T21:48:13.628Z] 988bab9f4d93: Verifying Checksum [2023-09-12T21:48:13.628Z] 988bab9f4d93: Download complete [2023-09-12T21:48:13.628Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T21:48:13.628Z] 1469e6f7b9e6: Download complete [2023-09-12T21:48:13.628Z] eaf3925da568: Verifying Checksum [2023-09-12T21:48:13.628Z] eaf3925da568: Download complete [2023-09-12T21:48:13.628Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T21:48:13.628Z] 339a4e72a1f5: Download complete [2023-09-12T21:48:13.886Z] bde34c3a00c8: Verifying Checksum [2023-09-12T21:48:13.886Z] bde34c3a00c8: Download complete [2023-09-12T21:48:13.886Z] b352a97aabf1: Download complete [2023-09-12T21:48:13.886Z] 4872d77fe225: Verifying Checksum [2023-09-12T21:48:13.886Z] 4872d77fe225: Download complete [2023-09-12T21:48:13.886Z] 5851b861e8e6: Verifying Checksum [2023-09-12T21:48:13.886Z] 5851b861e8e6: Download complete [2023-09-12T21:48:13.886Z] b85a868b505f: Verifying Checksum [2023-09-12T21:48:13.886Z] b85a868b505f: Download complete [2023-09-12T21:48:14.144Z] bab4dde63d76: Verifying Checksum [2023-09-12T21:48:14.144Z] bab4dde63d76: Download complete [2023-09-12T21:48:15.078Z] b85a868b505f: Pull complete [2023-09-12T21:48:15.078Z] e2be974225ed: Pull complete [2023-09-12T21:48:15.338Z] 339a4e72a1f5: Pull complete [2023-09-12T21:48:15.598Z] 988bab9f4d93: Pull complete [2023-09-12T21:48:15.598Z] 1469e6f7b9e6: Pull complete [2023-09-12T21:48:15.856Z] eaf3925da568: Pull complete [2023-09-12T21:48:17.232Z] bab4dde63d76: Pull complete [2023-09-12T21:48:17.493Z] bde34c3a00c8: Pull complete [2023-09-12T21:48:17.493Z] b352a97aabf1: Pull complete [2023-09-12T21:48:17.493Z] 4872d77fe225: Pull complete [2023-09-12T21:48:17.752Z] 5851b861e8e6: Pull complete [2023-09-12T21:48:17.752Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T21:48:17.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:48:17.752Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:48:17.838Z] prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container [2023-09-12T21:48:17.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T21:48:20.115Z] $ docker top a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa -eo pid,comm [2023-09-12T21:48:20.192Z] 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-09-12T21:48:20.192Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T21:48:20.240Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:48:20.240Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:48:20.351Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:48:20.333Z] $ docker exec a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa ssh-agent [2023-09-12T21:48:20.459Z] SSH_AUTH_SOCK=/tmp/ssh-rrnMfv7HMU5P/agent.33 [2023-09-12T21:48:20.459Z] SSH_AGENT_PID=39 [2023-09-12T21:48:20.464Z] Running ssh-add (command line suppressed) [2023-09-12T21:48:20.543Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8825099724215073949.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8825099724215073949.key) [2023-09-12T21:48:20.578Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:48:20.864Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T21:48:20.854Z] $ docker exec --env ******** --env ******** a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa ssh-agent -k [2023-09-12T21:48:20.958Z] unset SSH_AUTH_SOCK; [2023-09-12T21:48:20.959Z] unset SSH_AGENT_PID; [2023-09-12T21:48:20.959Z] echo Agent pid 39 killed; [2023-09-12T21:48:20.990Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T21:48:21.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:48:21.018Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:48:21.134Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:48:21.116Z] $ docker exec a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa ssh-agent [2023-09-12T21:48:21.231Z] SSH_AUTH_SOCK=/tmp/ssh-661Dm4EaEBaz/agent.72 [2023-09-12T21:48:21.231Z] SSH_AGENT_PID=78 [2023-09-12T21:48:21.236Z] Running ssh-add (command line suppressed) [2023-09-12T21:48:21.307Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3254902018135693987.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3254902018135693987.key) [2023-09-12T21:48:21.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:48:21.630Z] + git semver init [2023-09-12T21:48:21.889Z] 2023-09-12 21:48:21,791 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T21:48:21.889Z] 2023-09-12 21:48:21,792 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-12T21:48:21.889Z] 2023-09-12 21:48:21,792 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2023-09-12T21:48:21.889Z] 2023-09-12 21:48:21,792 [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-09-12T21:48:23.269Z] 2023-09-12 21:48:22,838 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2023-09-12T21:48:23.269Z] 2023-09-12 21:48:22,839 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2023-09-12T21:48:23.269Z] 2023-09-12 21:48:22,839 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-12T21:48:23.269Z] 2023-09-12 21:48:22,839 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-12T21:48:23.269Z] 3.1.0-dev.12 [Pipeline] } [2023-09-12T21:48:23.259Z] $ docker exec --env ******** --env ******** a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa ssh-agent -k [2023-09-12T21:48:23.359Z] unset SSH_AUTH_SOCK; [2023-09-12T21:48:23.360Z] unset SSH_AGENT_PID; [2023-09-12T21:48:23.360Z] echo Agent pid 78 killed; [2023-09-12T21:48:23.392Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T21:48:23.689Z] + git semver [Pipeline] } [2023-09-12T21:48:23.944Z] $ docker stop --time=1 a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa [2023-09-12T21:48:25.601Z] $ docker rm -f --volumes a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:48:26.010Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T21:48:26.221Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T21:48:26.224Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.12 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:48:26.384Z] provisioning config files... [2023-09-12T21:48:26.394Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10014558873739370768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:48:26.692Z] ---> docker-login.sh [2023-09-12T21:48:26.692Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:48:26.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:26.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:26.692Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:26.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:26.692Z] [2023-09-12T21:48:26.692Z] Login Succeeded [2023-09-12T21:48:26.692Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:48:26.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:26.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:26.954Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:26.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:26.954Z] [2023-09-12T21:48:26.954Z] Login Succeeded [2023-09-12T21:48:26.954Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:48:26.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:26.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:26.954Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:26.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:26.954Z] [2023-09-12T21:48:26.954Z] Login Succeeded [2023-09-12T21:48:26.954Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:48:26.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:27.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:27.212Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:27.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:27.212Z] [2023-09-12T21:48:27.212Z] Login Succeeded [2023-09-12T21:48:27.212Z] docker.io [2023-09-12T21:48:27.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:27.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:27.472Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:27.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:27.472Z] [2023-09-12T21:48:27.472Z] Login Succeeded [2023-09-12T21:48:27.472Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:48:27.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T21:48:27.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:48:27.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:48:27.579Z] ========================================================= [2023-09-12T21:48:27.579Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T21:48:27.579Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:48:27.900Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T21:48:27.900Z] Sending build context to Docker daemon 23.59MB [2023-09-12T21:48:27.900Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:48:27.900Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T21:48:28.472Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T21:48:28.472Z] 7264a8db6415: Pulling fs layer [2023-09-12T21:48:28.472Z] c4d48a809fc2: Pulling fs layer [2023-09-12T21:48:28.472Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T21:48:28.472Z] ad3a456e5733: Pulling fs layer [2023-09-12T21:48:28.472Z] 9e4f439ed901: Pulling fs layer [2023-09-12T21:48:28.472Z] feaf6a47b606: Pulling fs layer [2023-09-12T21:48:28.472Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T21:48:28.472Z] 8ac70367396e: Pulling fs layer [2023-09-12T21:48:28.472Z] 6db16350a2e2: Pulling fs layer [2023-09-12T21:48:28.472Z] 9250d5d63582: Pulling fs layer [2023-09-12T21:48:28.472Z] feaf6a47b606: Waiting [2023-09-12T21:48:28.472Z] 5e8b037d7d82: Waiting [2023-09-12T21:48:28.472Z] 8ac70367396e: Waiting [2023-09-12T21:48:28.472Z] 9250d5d63582: Waiting [2023-09-12T21:48:28.472Z] 6db16350a2e2: Waiting [2023-09-12T21:48:28.472Z] ad3a456e5733: Waiting [2023-09-12T21:48:28.472Z] 9e4f439ed901: Waiting [2023-09-12T21:48:28.472Z] c4d48a809fc2: Download complete [2023-09-12T21:48:28.472Z] ad3a456e5733: Verifying Checksum [2023-09-12T21:48:28.472Z] 9e4f439ed901: Verifying Checksum [2023-09-12T21:48:28.472Z] 9e4f439ed901: Download complete [2023-09-12T21:48:28.472Z] 7264a8db6415: Verifying Checksum [2023-09-12T21:48:28.472Z] 7264a8db6415: Download complete [2023-09-12T21:48:28.472Z] feaf6a47b606: Verifying Checksum [2023-09-12T21:48:28.472Z] feaf6a47b606: Download complete [2023-09-12T21:48:28.734Z] 8ac70367396e: Verifying Checksum [2023-09-12T21:48:28.734Z] 8ac70367396e: Download complete [2023-09-12T21:48:28.734Z] 7264a8db6415: Pull complete [2023-09-12T21:48:28.734Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T21:48:28.734Z] 4f1c88b9dad5: Download complete [2023-09-12T21:48:28.734Z] 6db16350a2e2: Verifying Checksum [2023-09-12T21:48:28.734Z] 6db16350a2e2: Download complete [2023-09-12T21:48:28.993Z] c4d48a809fc2: Pull complete [2023-09-12T21:48:29.254Z] 9250d5d63582: Verifying Checksum [2023-09-12T21:48:29.254Z] 9250d5d63582: Download complete [2023-09-12T21:48:29.254Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T21:48:29.254Z] 5e8b037d7d82: Download complete [2023-09-12T21:48:32.539Z] 4f1c88b9dad5: Pull complete [2023-09-12T21:48:32.797Z] ad3a456e5733: Pull complete [2023-09-12T21:48:32.797Z] 9e4f439ed901: Pull complete [2023-09-12T21:48:32.797Z] feaf6a47b606: Pull complete [2023-09-12T21:48:35.326Z] 5e8b037d7d82: Pull complete [2023-09-12T21:48:35.584Z] 8ac70367396e: Pull complete [2023-09-12T21:48:35.843Z] 6db16350a2e2: Pull complete [2023-09-12T21:48:36.407Z] 9250d5d63582: Pull complete [2023-09-12T21:48:36.407Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T21:48:36.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T21:48:36.407Z] ---> fa269f55d9b9 [2023-09-12T21:48:36.407Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:48:41.336Z] Still waiting to schedule task [2023-09-12T21:48:41.336Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-12T21:48:41.676Z] ---> Running in a1133a83db30 [2023-09-12T21:48:41.676Z] Removing intermediate container a1133a83db30 [2023-09-12T21:48:41.676Z] ---> 5591d2a51e85 [2023-09-12T21:48:41.676Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:48:41.935Z] ---> Running in 08b47134a6eb [2023-09-12T21:48:41.935Z] Removing intermediate container 08b47134a6eb [2023-09-12T21:48:41.935Z] ---> 541c0c7b38c7 [2023-09-12T21:48:41.935Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:48:41.935Z] ---> Running in e4572d3af853 [2023-09-12T21:48:41.935Z] Removing intermediate container e4572d3af853 [2023-09-12T21:48:41.935Z] ---> c8197a359ec5 [2023-09-12T21:48:41.935Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-12T21:48:41.935Z] ---> Running in 0e31f6b462f1 [2023-09-12T21:48:42.193Z] Removing intermediate container 0e31f6b462f1 [2023-09-12T21:48:42.193Z] ---> 4c5575acc4e8 [2023-09-12T21:48:42.193Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:48:42.193Z] ---> Running in 5a54f0d12c40 [2023-09-12T21:48:42.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:48:42.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:48:42.970Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T21:48:42.970Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T21:48:42.970Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T21:48:42.970Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T21:48:42.970Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:48:42.970Z] OK: 270 MiB in 60 packages [2023-09-12T21:48:43.907Z] Removing intermediate container 5a54f0d12c40 [2023-09-12T21:48:43.907Z] ---> 0cda426f7fc4 [2023-09-12T21:48:43.907Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-12T21:48:43.907Z] ---> 2c57bcc38908 [2023-09-12T21:48:43.907Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:48:43.907Z] ---> Running in ce1e70acda4f [2023-09-12T21:49:32.944Z] Removing intermediate container ce1e70acda4f [2023-09-12T21:49:32.944Z] ---> 329eda0ea290 [2023-09-12T21:49:32.944Z] Step 10/12 : COPY . . [2023-09-12T21:49:32.944Z] ---> b9c9d9d8e965 [2023-09-12T21:49:32.944Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:49:32.944Z] ---> Running in e25d0b4febf7 [2023-09-12T21:49:33.202Z] Removing intermediate container e25d0b4febf7 [2023-09-12T21:49:33.202Z] ---> 3d2640faf202 [2023-09-12T21:49:33.202Z] Step 12/12 : RUN $MAKE [2023-09-12T21:49:33.202Z] ---> Running in f8b946c0b040 [2023-09-12T21:49:33.460Z] noop [2023-09-12T21:49:33.719Z] Removing intermediate container f8b946c0b040 [2023-09-12T21:49:33.719Z] ---> 668467be274f [2023-09-12T21:49:33.719Z] Successfully built 668467be274f [2023-09-12T21:49:33.719Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:49:34.042Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T21:49:34.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:49:34.112Z] prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container [2023-09-12T21:49:34.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T21:49:34.456Z] $ docker top e2ad229324d81507d7fcdc3e1a22975ae98ade12dfb63f8f7648512431b600ab -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:49:34.824Z] + go version [2023-09-12T21:49:34.824Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T21:49:34.820Z] $ docker stop --time=1 e2ad229324d81507d7fcdc3e1a22975ae98ade12dfb63f8f7648512431b600ab [2023-09-12T21:49:36.136Z] $ docker rm -f --volumes e2ad229324d81507d7fcdc3e1a22975ae98ade12dfb63f8f7648512431b600ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:49:36.540Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T21:49:36.540Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:49:36.606Z] prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container [2023-09-12T21:49:36.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T21:49:37.029Z] $ docker top a4791f55ae048dce5439eb8e4c83c1525117aeac7ec80b0cf7aedc89d91e6924 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:49:37.394Z] + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-12T21:49:37.695Z] + make test [2023-09-12T21:49:37.695Z] go test ./... -coverprofile=coverage.out [2023-09-12T21:49:39.126Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-12T21:49:49.090Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-12T21:49:49.090Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.6% of statements [2023-09-12T21:49:54.345Z] go vet ./... [2023-09-12T21:49:57.637Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T21:49:57.637Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T21:49:57.637Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T21:49:57.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T21:49:57.666Z] $ docker stop --time=1 a4791f55ae048dce5439eb8e4c83c1525117aeac7ec80b0cf7aedc89d91e6924 [2023-09-12T21:50:01.730Z] $ docker rm -f --volumes a4791f55ae048dce5439eb8e4c83c1525117aeac7ec80b0cf7aedc89d91e6924 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:50:02.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T21:50:02.264Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T21:50:02.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T21:50:03.072Z] + ls -al . [2023-09-12T21:50:03.072Z] total 204 [2023-09-12T21:50:03.072Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 21:49 . [2023-09-12T21:50:03.072Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:48 .. [2023-09-12T21:50:03.072Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:49 .git [2023-09-12T21:50:03.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:48 .github [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 12 21:48 .gitignore [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:48 .golangci.yml [2023-09-12T21:50:03.072Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:48 .semver [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 12 21:48 Attribution.txt [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 12 21:48 CHANGELOG.md [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 12 21:48 Dockerfile [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:48 GOVERNANCE.md [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 12 21:48 Jenkinsfile [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:48 LICENSE [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 12 21:48 Makefile [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 12 21:48 OWNERS.md [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 12 21:48 README.md [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 21:48 VERSION [2023-09-12T21:50:03.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:48 bin [2023-09-12T21:50:03.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:48 cmd [2023-09-12T21:50:03.072Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 12 21:49 coverage.out [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 3636 Sep 12 21:48 go.mod [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 33427 Sep 12 21:48 go.sum [2023-09-12T21:50:03.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:48 internal [2023-09-12T21:50:03.072Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:48 snap [2023-09-12T21:50:03.072Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 12 21:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:03.461Z] + 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=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 --label arch=amd64 --label version=3.1.0-dev.12 . [2023-09-12T21:50:03.461Z] Sending build context to Docker daemon 23.63MB [2023-09-12T21:50:03.461Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:50:03.461Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T21:50:03.461Z] ---> 668467be274f [2023-09-12T21:50:03.461Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:50:03.722Z] ---> Running in 7348f9f947d2 [2023-09-12T21:50:03.981Z] Removing intermediate container 7348f9f947d2 [2023-09-12T21:50:03.981Z] ---> 02803546ed76 [2023-09-12T21:50:03.981Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:50:03.981Z] ---> Running in 103fae3475fe [2023-09-12T21:50:03.981Z] Removing intermediate container 103fae3475fe [2023-09-12T21:50:03.981Z] ---> 242d7734df2f [2023-09-12T21:50:03.981Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:50:03.981Z] ---> Running in 2ee27dd5909e [2023-09-12T21:50:03.981Z] Removing intermediate container 2ee27dd5909e [2023-09-12T21:50:03.981Z] ---> 2ce3e41bcaf7 [2023-09-12T21:50:03.981Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-12T21:50:03.981Z] ---> Running in 7570a09f6f87 [2023-09-12T21:50:04.240Z] Removing intermediate container 7570a09f6f87 [2023-09-12T21:50:04.240Z] ---> cecd45c98509 [2023-09-12T21:50:04.240Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:50:04.240Z] ---> Running in 70b0274c7812 [2023-09-12T21:50:04.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:50:04.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:50:04.757Z] OK: 270 MiB in 60 packages [2023-09-12T21:50:05.014Z] Removing intermediate container 70b0274c7812 [2023-09-12T21:50:05.014Z] ---> cc7742f0a9a4 [2023-09-12T21:50:05.014Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-12T21:50:05.274Z] ---> d381b6bbae8d [2023-09-12T21:50:05.274Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:50:05.274Z] ---> Running in bef8ee9b79d0 [2023-09-12T21:50:05.841Z] Removing intermediate container bef8ee9b79d0 [2023-09-12T21:50:05.841Z] ---> af7b4e7d31ed [2023-09-12T21:50:05.841Z] Step 10/25 : COPY . . [2023-09-12T21:50:06.776Z] ---> b18b9e235c61 [2023-09-12T21:50:06.776Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:50:07.034Z] ---> Running in 20615ee6ec4d [2023-09-12T21:50:07.972Z] Removing intermediate container 20615ee6ec4d [2023-09-12T21:50:07.972Z] ---> ef0e23853372 [2023-09-12T21:50:07.972Z] Step 12/25 : RUN $MAKE [2023-09-12T21:50:08.231Z] ---> Running in 7c2185929e8b [2023-09-12T21:50:08.490Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-12T21:50:30.585Z] Removing intermediate container 7c2185929e8b [2023-09-12T21:50:30.585Z] ---> 76289ea6aeb8 [2023-09-12T21:50:30.586Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T21:50:30.586Z] 3.18: Pulling from library/alpine [2023-09-12T21:50:30.586Z] 7264a8db6415: Already exists [2023-09-12T21:50:30.586Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T21:50:30.586Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T21:50:30.586Z] ---> 7e01a0d0a1dc [2023-09-12T21:50:30.586Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-12T21:50:30.586Z] ---> Running in 84627eca161a [2023-09-12T21:50:30.586Z] Removing intermediate container 84627eca161a [2023-09-12T21:50:30.586Z] ---> f783146cb0d9 [2023-09-12T21:50:30.586Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T21:50:30.586Z] ---> Running in 75c1bdaa0032 [2023-09-12T21:50:30.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:50:30.586Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:50:30.586Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T21:50:30.586Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:50:30.586Z] OK: 7 MiB in 16 packages [2023-09-12T21:50:30.586Z] Removing intermediate container 75c1bdaa0032 [2023-09-12T21:50:30.586Z] ---> efc667606c03 [2023-09-12T21:50:30.586Z] Step 16/25 : WORKDIR / [2023-09-12T21:50:30.586Z] ---> Running in b5ef1d8fec30 [2023-09-12T21:50:30.586Z] Removing intermediate container b5ef1d8fec30 [2023-09-12T21:50:30.586Z] ---> 582a917210b6 [2023-09-12T21:50:30.586Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-12T21:50:30.586Z] ---> 92440002d7f3 [2023-09-12T21:50:30.586Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-12T21:50:30.586Z] ---> 339915c5751e [2023-09-12T21:50:30.586Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-12T21:50:31.151Z] ---> dc13d685243c [2023-09-12T21:50:31.151Z] Step 20/25 : EXPOSE 59900 [2023-09-12T21:50:31.151Z] ---> Running in ecf92207e6c0 [2023-09-12T21:50:31.151Z] Removing intermediate container ecf92207e6c0 [2023-09-12T21:50:31.151Z] ---> 738815afd5d2 [2023-09-12T21:50:31.151Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-12T21:50:31.151Z] ---> Running in ed1e5f8223dc [2023-09-12T21:50:31.409Z] Removing intermediate container ed1e5f8223dc [2023-09-12T21:50:31.409Z] ---> 4c936c5413e6 [2023-09-12T21:50:31.409Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T21:50:31.409Z] ---> Running in c4ae796de988 [2023-09-12T21:50:31.409Z] Removing intermediate container c4ae796de988 [2023-09-12T21:50:31.410Z] ---> 6984064ecc57 [2023-09-12T21:50:31.410Z] Step 23/25 : LABEL arch=amd64 [2023-09-12T21:50:31.410Z] ---> Running in 134b6d3a98cd [2023-09-12T21:50:31.410Z] Removing intermediate container 134b6d3a98cd [2023-09-12T21:50:31.410Z] ---> 08eec6a53370 [2023-09-12T21:50:31.410Z] Step 24/25 : LABEL git_sha=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [2023-09-12T21:50:31.668Z] ---> Running in 4c4b51ba3043 [2023-09-12T21:50:31.668Z] Removing intermediate container 4c4b51ba3043 [2023-09-12T21:50:31.668Z] ---> 8ddb229f960e [2023-09-12T21:50:31.668Z] Step 25/25 : LABEL version=3.1.0-dev.12 [2023-09-12T21:50:31.668Z] ---> Running in 5974bf6cdff8 [2023-09-12T21:50:31.668Z] Removing intermediate container 5974bf6cdff8 [2023-09-12T21:50:31.668Z] ---> fb58693aa9fa [2023-09-12T21:50:31.668Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T21:50:31.668Z] Successfully built fb58693aa9fa [2023-09-12T21:50:31.668Z] 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-09-12T21:50:31.748Z] provisioning config files... [2023-09-12T21:50:31.757Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8626711076461156558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:50:32.055Z] ---> docker-login.sh [2023-09-12T21:50:32.055Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:50:32.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:50:32.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:50:32.055Z] Configure a credential helper to remove this warning. See [2023-09-12T21:50:32.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:50:32.055Z] [2023-09-12T21:50:32.055Z] Login Succeeded [2023-09-12T21:50:32.055Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:50:32.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:50:32.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:50:32.314Z] Configure a credential helper to remove this warning. See [2023-09-12T21:50:32.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:50:32.314Z] [2023-09-12T21:50:32.314Z] Login Succeeded [2023-09-12T21:50:32.314Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:50:32.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:50:32.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:50:32.314Z] Configure a credential helper to remove this warning. See [2023-09-12T21:50:32.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:50:32.314Z] [2023-09-12T21:50:32.314Z] Login Succeeded [2023-09-12T21:50:32.314Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:50:32.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:50:32.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:50:32.573Z] Configure a credential helper to remove this warning. See [2023-09-12T21:50:32.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:50:32.573Z] [2023-09-12T21:50:32.573Z] Login Succeeded [2023-09-12T21:50:32.573Z] docker.io [2023-09-12T21:50:32.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:50:32.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:50:32.832Z] Configure a credential helper to remove this warning. See [2023-09-12T21:50:32.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:50:32.832Z] [2023-09-12T21:50:32.832Z] Login Succeeded [2023-09-12T21:50:32.832Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:50:32.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T21:50:32.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:50:32.905Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2023-09-12T21:50:32.905Z] b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [2023-09-12T21:50:32.905Z] latest [2023-09-12T21:50:32.905Z] 3.1.0-dev.12 [2023-09-12T21:50:32.905Z] b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 [2023-09-12T21:50:32.905Z] main [2023-09-12T21:50:32.905Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:33.221Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:33.530Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [2023-09-12T21:50:33.530Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-12T21:50:33.530Z] 32b71d8dbb68: Preparing [2023-09-12T21:50:33.530Z] 4a26df6e1de9: Preparing [2023-09-12T21:50:33.530Z] 55cff8661adb: Preparing [2023-09-12T21:50:33.530Z] 762757fd45fe: Preparing [2023-09-12T21:50:33.530Z] 4693057ce236: Preparing [2023-09-12T21:50:33.530Z] 4693057ce236: Layer already exists [2023-09-12T21:50:33.530Z] 4a26df6e1de9: Pushed [2023-09-12T21:50:33.530Z] 762757fd45fe: Pushed [2023-09-12T21:50:33.530Z] 55cff8661adb: Pushed [2023-09-12T21:50:36.062Z] 32b71d8dbb68: Pushed [2023-09-12T21:50:36.321Z] b41150d8f29f1474a4d4d35e5cf0bbe8d5784310: digest: sha256:634c602cbd70db293db42382b95ca139ae240c66830bd17eef24439b33485650 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:36.630Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:36.931Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-12T21:50:36.932Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-12T21:50:36.932Z] 32b71d8dbb68: Preparing [2023-09-12T21:50:36.932Z] 4a26df6e1de9: Preparing [2023-09-12T21:50:36.932Z] 55cff8661adb: Preparing [2023-09-12T21:50:36.932Z] 762757fd45fe: Preparing [2023-09-12T21:50:36.932Z] 4693057ce236: Preparing [2023-09-12T21:50:36.932Z] 4693057ce236: Layer already exists [2023-09-12T21:50:36.932Z] 32b71d8dbb68: Layer already exists [2023-09-12T21:50:36.932Z] 762757fd45fe: Layer already exists [2023-09-12T21:50:36.932Z] 4a26df6e1de9: Layer already exists [2023-09-12T21:50:36.932Z] 55cff8661adb: Layer already exists [2023-09-12T21:50:36.932Z] latest: digest: sha256:634c602cbd70db293db42382b95ca139ae240c66830bd17eef24439b33485650 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:37.241Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:37.542Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.12 [2023-09-12T21:50:37.542Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-12T21:50:37.542Z] 32b71d8dbb68: Preparing [2023-09-12T21:50:37.542Z] 4a26df6e1de9: Preparing [2023-09-12T21:50:37.542Z] 55cff8661adb: Preparing [2023-09-12T21:50:37.542Z] 762757fd45fe: Preparing [2023-09-12T21:50:37.542Z] 4693057ce236: Preparing [2023-09-12T21:50:37.542Z] 4693057ce236: Layer already exists [2023-09-12T21:50:37.542Z] 762757fd45fe: Layer already exists [2023-09-12T21:50:37.542Z] 55cff8661adb: Layer already exists [2023-09-12T21:50:37.542Z] 4a26df6e1de9: Layer already exists [2023-09-12T21:50:37.542Z] 32b71d8dbb68: Layer already exists [2023-09-12T21:50:37.542Z] 3.1.0-dev.12: digest: sha256:634c602cbd70db293db42382b95ca139ae240c66830bd17eef24439b33485650 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:37.852Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:38.153Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 [2023-09-12T21:50:38.153Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-12T21:50:38.153Z] 32b71d8dbb68: Preparing [2023-09-12T21:50:38.153Z] 4a26df6e1de9: Preparing [2023-09-12T21:50:38.153Z] 55cff8661adb: Preparing [2023-09-12T21:50:38.153Z] 762757fd45fe: Preparing [2023-09-12T21:50:38.153Z] 4693057ce236: Preparing [2023-09-12T21:50:38.153Z] 55cff8661adb: Layer already exists [2023-09-12T21:50:38.153Z] 4a26df6e1de9: Layer already exists [2023-09-12T21:50:38.153Z] 762757fd45fe: Layer already exists [2023-09-12T21:50:38.154Z] 32b71d8dbb68: Layer already exists [2023-09-12T21:50:38.154Z] 4693057ce236: Layer already exists [2023-09-12T21:50:38.154Z] b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12: digest: sha256:634c602cbd70db293db42382b95ca139ae240c66830bd17eef24439b33485650 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:38.469Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:38.775Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2023-09-12T21:50:38.776Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2023-09-12T21:50:38.776Z] 32b71d8dbb68: Preparing [2023-09-12T21:50:38.776Z] 4a26df6e1de9: Preparing [2023-09-12T21:50:38.776Z] 55cff8661adb: Preparing [2023-09-12T21:50:38.776Z] 762757fd45fe: Preparing [2023-09-12T21:50:38.776Z] 4693057ce236: Preparing [2023-09-12T21:50:38.776Z] 762757fd45fe: Layer already exists [2023-09-12T21:50:38.776Z] 55cff8661adb: Layer already exists [2023-09-12T21:50:38.776Z] 4a26df6e1de9: Layer already exists [2023-09-12T21:50:38.776Z] 32b71d8dbb68: Layer already exists [2023-09-12T21:50:38.776Z] 4693057ce236: Layer already exists [2023-09-12T21:50:38.776Z] main: digest: sha256:634c602cbd70db293db42382b95ca139ae240c66830bd17eef24439b33485650 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T21:50:38.825Z] ===================================================== [Pipeline] echo [2023-09-12T21:50:38.833Z] taggedImages: [2023-09-12T21:50:38.833Z] - nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [2023-09-12T21:50:38.833Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2023-09-12T21:50:38.833Z] - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.12 [2023-09-12T21:50:38.833Z] - nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 [2023-09-12T21:50:38.833Z] - 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-09-12T21:50:39.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:50:39.220Z] [2023-09-12T21:50:39.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:39.522Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:50:39.522Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T21:50:39.522Z] 5eb5b503b376: Pulling fs layer [2023-09-12T21:50:39.522Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T21:50:39.522Z] ec43610c2a17: Pulling fs layer [2023-09-12T21:50:39.522Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T21:50:39.522Z] 33b1e0a273af: Pulling fs layer [2023-09-12T21:50:39.522Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T21:50:39.522Z] 2f39f015ded8: Pulling fs layer [2023-09-12T21:50:39.522Z] 3a2ae6a8a46f: Waiting [2023-09-12T21:50:39.522Z] 33b1e0a273af: Waiting [2023-09-12T21:50:39.522Z] 5d3b04190fa2: Waiting [2023-09-12T21:50:39.522Z] 2f39f015ded8: Waiting [2023-09-12T21:50:39.522Z] 5c69ac0246d0: Download complete [2023-09-12T21:50:39.522Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T21:50:39.522Z] 3a2ae6a8a46f: Download complete [2023-09-12T21:50:39.522Z] 33b1e0a273af: Verifying Checksum [2023-09-12T21:50:39.522Z] 33b1e0a273af: Download complete [2023-09-12T21:50:39.522Z] ec43610c2a17: Verifying Checksum [2023-09-12T21:50:39.522Z] ec43610c2a17: Download complete [2023-09-12T21:50:39.783Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T21:50:39.783Z] 5d3b04190fa2: Download complete [2023-09-12T21:50:39.783Z] 5eb5b503b376: Verifying Checksum [2023-09-12T21:50:39.783Z] 5eb5b503b376: Download complete [2023-09-12T21:50:40.350Z] 2f39f015ded8: Download complete [2023-09-12T21:50:40.914Z] 5eb5b503b376: Pull complete [2023-09-12T21:50:41.171Z] 5c69ac0246d0: Pull complete [2023-09-12T21:50:41.429Z] ec43610c2a17: Pull complete [2023-09-12T21:50:41.429Z] 3a2ae6a8a46f: Pull complete [2023-09-12T21:50:41.687Z] 33b1e0a273af: Pull complete [2023-09-12T21:50:41.687Z] 5d3b04190fa2: Pull complete [2023-09-12T21:50:45.867Z] 2f39f015ded8: Pull complete [2023-09-12T21:50:45.868Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T21:50:45.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:50:45.868Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:50:45.946Z] prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container [2023-09-12T21:50:45.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T21:50:49.342Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6014 in /w/workspace/exfoundry_device-virtual-go_main [2023-09-12T21:50:49.672Z] $ docker top 7257c27c1e0f6d04837aded8b625bf24177c7bcfd17cf18fc9e35a9793e84a55 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-09-12T21:50:49.773Z] Running in /w/workspace/device-virtual-go/138 [Pipeline] { [Pipeline] checkout [2023-09-12T21:50:49.808Z] The recommended git tool is: git [2023-09-12T21:50:50.024Z] ---> job-cost.sh [2023-09-12T21:50:50.024Z] lf-activate-venv: SKIPPING [2023-09-12T21:50:50.024Z] INFO: No Stack... [2023-09-12T21:50:50.591Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T21:50:50.852Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T21:50:51.138Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2023-09-12T21:50:51.139Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T21:50:51.153Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] [2023-09-12T21:50:51.159Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] did not exist. Created. [2023-09-12T21:50:51.159Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T21:50:51.464Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T21:50:51.500Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T21:50:51.507Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T21:50:51.549Z] $ docker stop --time=1 7257c27c1e0f6d04837aded8b625bf24177c7bcfd17cf18fc9e35a9793e84a55 [2023-09-12T21:50:52.701Z] $ docker rm -f --volumes 7257c27c1e0f6d04837aded8b625bf24177c7bcfd17cf18fc9e35a9793e84a55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T21:50:56.293Z] using credential edgex-jenkins-ssh [2023-09-12T21:50:56.314Z] Cloning the remote Git repository [2023-09-12T21:50:56.363Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-09-12T21:50:56.471Z] > git init /w/workspace/device-virtual-go/138 # timeout=10 [2023-09-12T21:50:56.630Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-09-12T21:50:56.631Z] > git --version # timeout=10 [2023-09-12T21:50:56.653Z] > git --version # 'git version 2.25.1' [2023-09-12T21:50:56.656Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:50:56.813Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T21:50:59.775Z] Avoid second fetch [2023-09-12T21:50:59.776Z] Checking out Revision b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 (main) [2023-09-12T21:50:58.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-09-12T21:50:58.861Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T21:50:59.791Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T21:50:59.880Z] > git checkout -f b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 # timeout=10 [2023-09-12T21:51:00.359Z] Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#427)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:51:01.206Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T21:51:01.206Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T21:51:01.206Z] Dload Upload Total Spent Left Speed [2023-09-12T21:51:01.206Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-09-12T21:51:01.949Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T21:51:02.282Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T21:51:02.282Z] + sudo tee /etc/docker/daemon.new [2023-09-12T21:51:02.282Z] { [2023-09-12T21:51:02.282Z] "registry-mirrors": [ [2023-09-12T21:51:02.282Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T21:51:02.282Z] ], [2023-09-12T21:51:02.282Z] "bip": "10.250.0.254/24", [2023-09-12T21:51:02.282Z] "hosts": [ [2023-09-12T21:51:02.282Z] "tcp://0.0.0.0:5555", [2023-09-12T21:51:02.282Z] "unix:///var/run/docker.sock" [2023-09-12T21:51:02.282Z] ], [2023-09-12T21:51:02.282Z] "mtu": 1458, [2023-09-12T21:51:02.282Z] "selinux-enabled": true, [2023-09-12T21:51:02.283Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T21:51:02.283Z] } [Pipeline] sh [2023-09-12T21:51:02.617Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T21:51:02.957Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:51:21.225Z] provisioning config files... [2023-09-12T21:51:21.254Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/138@tmp/config7756699088297207960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:51:21.619Z] ---> docker-login.sh [2023-09-12T21:51:21.619Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:51:22.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:51:22.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:51:22.859Z] Configure a credential helper to remove this warning. See [2023-09-12T21:51:22.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:51:22.859Z] [2023-09-12T21:51:22.859Z] Login Succeeded [2023-09-12T21:51:22.859Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:51:23.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:51:23.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:51:23.132Z] Configure a credential helper to remove this warning. See [2023-09-12T21:51:23.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:51:23.132Z] [2023-09-12T21:51:23.132Z] Login Succeeded [2023-09-12T21:51:23.132Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:51:23.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:51:23.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:51:23.672Z] Configure a credential helper to remove this warning. See [2023-09-12T21:51:23.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:51:23.672Z] [2023-09-12T21:51:23.672Z] Login Succeeded [2023-09-12T21:51:23.672Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:51:23.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:51:23.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:51:23.944Z] Configure a credential helper to remove this warning. See [2023-09-12T21:51:23.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:51:23.944Z] [2023-09-12T21:51:23.944Z] Login Succeeded [2023-09-12T21:51:23.944Z] docker.io [2023-09-12T21:51:24.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:51:24.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:51:24.484Z] Configure a credential helper to remove this warning. See [2023-09-12T21:51:24.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:51:24.484Z] [2023-09-12T21:51:24.484Z] Login Succeeded [2023-09-12T21:51:24.484Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:51:24.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T21:51:24.800Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:51:24.816Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:51:24.827Z] ========================================================= [2023-09-12T21:51:24.827Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T21:51:24.827Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:51:25.171Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T21:51:25.443Z] Sending build context to Docker daemon 11.93MB [2023-09-12T21:51:25.443Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:51:25.443Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T21:51:25.715Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T21:51:25.715Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T21:51:25.715Z] 5d54e960e981: Pulling fs layer [2023-09-12T21:51:25.715Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T21:51:25.715Z] f0e02332f6b5: Pulling fs layer [2023-09-12T21:51:25.715Z] 66412af1f25a: Pulling fs layer [2023-09-12T21:51:25.715Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T21:51:25.715Z] 9a37bb91b891: Pulling fs layer [2023-09-12T21:51:25.715Z] a29adfc67d43: Pulling fs layer [2023-09-12T21:51:25.715Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T21:51:25.715Z] f0e02332f6b5: Waiting [2023-09-12T21:51:25.715Z] 66412af1f25a: Waiting [2023-09-12T21:51:25.715Z] 1baf3a5c0e64: Waiting [2023-09-12T21:51:25.715Z] 9a37bb91b891: Waiting [2023-09-12T21:51:25.715Z] a29adfc67d43: Waiting [2023-09-12T21:51:25.715Z] d5de9f91c1a4: Waiting [2023-09-12T21:51:25.715Z] 5d54e960e981: Verifying Checksum [2023-09-12T21:51:25.715Z] 5d54e960e981: Download complete [2023-09-12T21:51:25.715Z] f0e02332f6b5: Verifying Checksum [2023-09-12T21:51:25.715Z] f0e02332f6b5: Download complete [2023-09-12T21:51:25.715Z] 66412af1f25a: Verifying Checksum [2023-09-12T21:51:25.715Z] 66412af1f25a: Download complete [2023-09-12T21:51:25.986Z] 9fda8d8052c6: Download complete [2023-09-12T21:51:26.257Z] 9a37bb91b891: Verifying Checksum [2023-09-12T21:51:26.257Z] 9a37bb91b891: Download complete [2023-09-12T21:51:26.858Z] a29adfc67d43: Verifying Checksum [2023-09-12T21:51:26.858Z] a29adfc67d43: Download complete [2023-09-12T21:51:26.858Z] 9fda8d8052c6: Pull complete [2023-09-12T21:51:27.829Z] 5d54e960e981: Pull complete [2023-09-12T21:51:27.829Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T21:51:27.829Z] d5de9f91c1a4: Download complete [2023-09-12T21:51:27.829Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T21:51:27.829Z] c4a7e357bf2a: Download complete [2023-09-12T21:51:28.800Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T21:51:28.800Z] 1baf3a5c0e64: Download complete [2023-09-12T21:51:41.181Z] c4a7e357bf2a: Pull complete [2023-09-12T21:51:41.181Z] f0e02332f6b5: Pull complete [2023-09-12T21:51:41.181Z] 66412af1f25a: Pull complete [2023-09-12T21:51:47.875Z] 1baf3a5c0e64: Pull complete [2023-09-12T21:51:48.884Z] 9a37bb91b891: Pull complete [2023-09-12T21:51:50.359Z] a29adfc67d43: Pull complete [2023-09-12T21:51:52.319Z] d5de9f91c1a4: Pull complete [2023-09-12T21:51:52.319Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T21:51:52.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T21:51:52.319Z] ---> 746ca1b523b5 [2023-09-12T21:51:52.319Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:51:54.285Z] ---> Running in 74c38b72e78e [2023-09-12T21:51:54.556Z] Removing intermediate container 74c38b72e78e [2023-09-12T21:51:54.556Z] ---> 371b0127f44e [2023-09-12T21:51:54.556Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:51:54.556Z] ---> Running in 664b339529bd [2023-09-12T21:51:54.836Z] Removing intermediate container 664b339529bd [2023-09-12T21:51:54.836Z] ---> 05fde17a7072 [2023-09-12T21:51:54.836Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:51:55.104Z] ---> Running in 22c19e879d92 [2023-09-12T21:51:55.374Z] Removing intermediate container 22c19e879d92 [2023-09-12T21:51:55.374Z] ---> 59dde7fc0354 [2023-09-12T21:51:55.374Z] Step 6/12 : WORKDIR /device-virtual-go [2023-09-12T21:51:55.374Z] ---> Running in 547f3d4822ee [2023-09-12T21:51:55.643Z] Removing intermediate container 547f3d4822ee [2023-09-12T21:51:55.643Z] ---> c8fa78861012 [2023-09-12T21:51:55.643Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:51:55.916Z] ---> Running in 38653f405414 [2023-09-12T21:51:57.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:51:57.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:51:58.588Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T21:51:58.588Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T21:51:58.588Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T21:51:58.856Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T21:51:58.856Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:51:58.856Z] OK: 272 MiB in 60 packages [2023-09-12T21:52:00.276Z] Removing intermediate container 38653f405414 [2023-09-12T21:52:00.276Z] ---> 8e218af470a1 [2023-09-12T21:52:00.276Z] Step 8/12 : COPY go.mod vendor* ./ [2023-09-12T21:52:00.546Z] ---> e2a67c65616c [2023-09-12T21:52:00.546Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:52:00.546Z] ---> Running in 4f20c7bf8300 [2023-09-12T21:53:22.202Z] Removing intermediate container 4f20c7bf8300 [2023-09-12T21:53:22.202Z] ---> e06b1b772548 [2023-09-12T21:53:22.202Z] Step 10/12 : COPY . . [2023-09-12T21:53:22.202Z] ---> 676c388f7c78 [2023-09-12T21:53:22.202Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:53:22.202Z] ---> Running in c2d858ac875a [2023-09-12T21:53:22.202Z] Removing intermediate container c2d858ac875a [2023-09-12T21:53:22.202Z] ---> 4eaa10c5938b [2023-09-12T21:53:22.202Z] Step 12/12 : RUN $MAKE [2023-09-12T21:53:22.202Z] ---> Running in 1f5a498ddfaf [2023-09-12T21:53:22.202Z] noop [2023-09-12T21:53:22.202Z] Removing intermediate container 1f5a498ddfaf [2023-09-12T21:53:22.202Z] ---> 3303cf6c9642 [2023-09-12T21:53:22.202Z] Successfully built 3303cf6c9642 [2023-09-12T21:53:22.202Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:53:22.566Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T21:53:22.566Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:53:22.805Z] prd-ubuntu20.04-docker-arm64-4c-16g-6014 does not seem to be running inside a container [2023-09-12T21:53:22.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/138 -v /w/workspace/device-virtual-go/138:/w/workspace/device-virtual-go/138:rw,z -v /w/workspace/device-virtual-go/138@tmp:/w/workspace/device-virtual-go/138@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-09-12T21:53:24.203Z] $ docker top 8127d3010a235976e1491abaf0351461fde3df3237315fae585c880240004606 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:53:25.054Z] + go version [2023-09-12T21:53:25.054Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T21:53:25.091Z] $ docker stop --time=1 8127d3010a235976e1491abaf0351461fde3df3237315fae585c880240004606 [2023-09-12T21:53:26.770Z] $ docker rm -f --volumes 8127d3010a235976e1491abaf0351461fde3df3237315fae585c880240004606 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:53:27.305Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T21:53:27.305Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:53:27.493Z] prd-ubuntu20.04-docker-arm64-4c-16g-6014 does not seem to be running inside a container [2023-09-12T21:53:27.816Z] $ 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/138 -v /w/workspace/device-virtual-go/138:/w/workspace/device-virtual-go/138:rw,z -v /w/workspace/device-virtual-go/138@tmp:/w/workspace/device-virtual-go/138@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-09-12T21:53:29.025Z] $ docker top 0193430b26ebdca9f44e778151d4cc852401cefeaa2d8e21dd8b45f284699913 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:53:29.855Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/138 [Pipeline] fileExists [Pipeline] sh [2023-09-12T21:53:30.510Z] + make test [2023-09-12T21:53:30.510Z] go test ./... -coverprofile=coverage.out [2023-09-12T21:53:34.770Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-09-12T21:55:26.441Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-09-12T21:55:26.441Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.074s coverage: 58.4% of statements [2023-09-12T21:55:27.026Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T21:55:27.026Z] go vet ./... [2023-09-12T21:55:59.403Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T21:55:59.403Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T21:55:59.403Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T21:55:59.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T21:55:59.453Z] $ docker stop --time=1 0193430b26ebdca9f44e778151d4cc852401cefeaa2d8e21dd8b45f284699913 [2023-09-12T21:56:01.412Z] $ docker rm -f --volumes 0193430b26ebdca9f44e778151d4cc852401cefeaa2d8e21dd8b45f284699913 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:56:02.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T21:56:02.709Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T21:56:03.328Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:56:03.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T21:56:04.052Z] + ls -al . [2023-09-12T21:56:04.052Z] total 200 [2023-09-12T21:56:04.052Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:53 . [2023-09-12T21:56:04.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:50 .. [2023-09-12T21:56:04.052Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:50 .git [2023-09-12T21:56:04.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:50 .github [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 337 Sep 12 21:50 .gitignore [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:50 .golangci.yml [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 9708 Sep 12 21:50 Attribution.txt [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 14372 Sep 12 21:50 CHANGELOG.md [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 1646 Sep 12 21:50 Dockerfile [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:50 GOVERNANCE.md [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 660 Sep 12 21:50 Jenkinsfile [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:50 LICENSE [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 1947 Sep 12 21:50 Makefile [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 623 Sep 12 21:50 OWNERS.md [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 4111 Sep 12 21:50 README.md [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 21:48 VERSION [2023-09-12T21:56:04.052Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:50 bin [2023-09-12T21:56:04.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:50 cmd [2023-09-12T21:56:04.052Z] -rw-r--r-- 1 jenkins jenkins 43063 Sep 12 21:55 coverage.out [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 3636 Sep 12 21:50 go.mod [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 33427 Sep 12 21:50 go.sum [2023-09-12T21:56:04.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:50 internal [2023-09-12T21:56:04.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:50 snap [2023-09-12T21:56:04.052Z] -rw-rw-r-- 1 jenkins jenkins 235 Sep 12 21:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:56:04.405Z] + 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=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 --label arch=arm64 --label version=3.1.0-dev.12 . [2023-09-12T21:56:04.676Z] Sending build context to Docker daemon 11.98MB [2023-09-12T21:56:04.951Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:56:04.951Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-12T21:56:04.951Z] ---> 3303cf6c9642 [2023-09-12T21:56:04.951Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:56:04.951Z] ---> Running in caa1a5b3e3ea [2023-09-12T21:56:05.538Z] Removing intermediate container caa1a5b3e3ea [2023-09-12T21:56:05.538Z] ---> abc33c02fe01 [2023-09-12T21:56:05.538Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:56:05.538Z] ---> Running in 3c702342378c [2023-09-12T21:56:05.807Z] Removing intermediate container 3c702342378c [2023-09-12T21:56:05.807Z] ---> ecf545d9efaa [2023-09-12T21:56:05.807Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:56:05.807Z] ---> Running in dfc080a00a78 [2023-09-12T21:56:06.076Z] Removing intermediate container dfc080a00a78 [2023-09-12T21:56:06.076Z] ---> 48bb43a7259d [2023-09-12T21:56:06.076Z] Step 6/25 : WORKDIR /device-virtual-go [2023-09-12T21:56:06.345Z] ---> Running in f25ad6892f9c [2023-09-12T21:56:06.615Z] Removing intermediate container f25ad6892f9c [2023-09-12T21:56:06.615Z] ---> 8d5817ecb300 [2023-09-12T21:56:06.615Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:56:06.615Z] ---> Running in 31942a061394 [2023-09-12T21:56:08.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:56:08.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:56:09.457Z] OK: 272 MiB in 60 packages [2023-09-12T21:56:10.421Z] Removing intermediate container 31942a061394 [2023-09-12T21:56:10.421Z] ---> a0df4c3d4e6b [2023-09-12T21:56:10.421Z] Step 8/25 : COPY go.mod vendor* ./ [2023-09-12T21:56:11.008Z] ---> e23352f67d7a [2023-09-12T21:56:11.008Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:56:11.009Z] ---> Running in 6d0848c0bd91 [2023-09-12T21:56:13.600Z] Removing intermediate container 6d0848c0bd91 [2023-09-12T21:56:13.600Z] ---> 645be315dfe3 [2023-09-12T21:56:13.600Z] Step 10/25 : COPY . . [2023-09-12T21:56:15.135Z] ---> b1c9650e88ad [2023-09-12T21:56:15.135Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:56:15.135Z] ---> Running in c0cc08ce2e61 [2023-09-12T21:56:15.405Z] Removing intermediate container c0cc08ce2e61 [2023-09-12T21:56:15.405Z] ---> 77404248ebe2 [2023-09-12T21:56:15.405Z] Step 12/25 : RUN $MAKE [2023-09-12T21:56:15.405Z] ---> Running in e0519bf3b5a8 [2023-09-12T21:56:16.373Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-09-12T21:58:38.160Z] Removing intermediate container e0519bf3b5a8 [2023-09-12T21:58:38.160Z] ---> 5779c0bf9528 [2023-09-12T21:58:38.160Z] Step 13/25 : FROM alpine:3.18 [2023-09-12T21:58:38.160Z] 3.18: Pulling from library/alpine [2023-09-12T21:58:38.160Z] 9fda8d8052c6: Already exists [2023-09-12T21:58:38.160Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T21:58:38.160Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T21:58:38.160Z] ---> f6648c04cd6c [2023-09-12T21:58:38.160Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-09-12T21:58:38.160Z] ---> Running in 5367096b0112 [2023-09-12T21:58:38.160Z] Removing intermediate container 5367096b0112 [2023-09-12T21:58:38.160Z] ---> 9ba86b9aee20 [2023-09-12T21:58:38.160Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-09-12T21:58:38.160Z] ---> Running in 5bcc44ade773 [2023-09-12T21:58:38.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:58:38.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:58:38.160Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T21:58:38.160Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:58:38.160Z] OK: 8 MiB in 16 packages [2023-09-12T21:58:38.160Z] Removing intermediate container 5bcc44ade773 [2023-09-12T21:58:38.160Z] ---> e9e1772ca9b0 [2023-09-12T21:58:38.160Z] Step 16/25 : WORKDIR / [2023-09-12T21:58:38.160Z] ---> Running in 448c4a587597 [2023-09-12T21:58:38.160Z] Removing intermediate container 448c4a587597 [2023-09-12T21:58:38.160Z] ---> 06c1cbc9f20e [2023-09-12T21:58:38.160Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-09-12T21:58:38.160Z] ---> 8695ac688ce5 [2023-09-12T21:58:38.160Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-09-12T21:58:38.160Z] ---> 60455fa7f473 [2023-09-12T21:58:38.160Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-09-12T21:58:38.160Z] ---> 3472e2922cb4 [2023-09-12T21:58:38.160Z] Step 20/25 : EXPOSE 59900 [2023-09-12T21:58:38.160Z] ---> Running in 8394ba3aac3b [2023-09-12T21:58:38.160Z] Removing intermediate container 8394ba3aac3b [2023-09-12T21:58:38.160Z] ---> f2cd79c9da15 [2023-09-12T21:58:38.160Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-09-12T21:58:38.160Z] ---> Running in 17bdfbb9aee9 [2023-09-12T21:58:38.160Z] Removing intermediate container 17bdfbb9aee9 [2023-09-12T21:58:38.160Z] ---> 876b38dfd603 [2023-09-12T21:58:38.160Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T21:58:38.160Z] ---> Running in 467539a08418 [2023-09-12T21:58:38.160Z] Removing intermediate container 467539a08418 [2023-09-12T21:58:38.160Z] ---> 7ba600981413 [2023-09-12T21:58:38.160Z] Step 23/25 : LABEL arch=arm64 [2023-09-12T21:58:38.160Z] ---> Running in ba44b6a91546 [2023-09-12T21:58:38.160Z] Removing intermediate container ba44b6a91546 [2023-09-12T21:58:38.160Z] ---> ad4c30907b96 [2023-09-12T21:58:38.160Z] Step 24/25 : LABEL git_sha=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [2023-09-12T21:58:38.160Z] ---> Running in 23404391223c [2023-09-12T21:58:38.160Z] Removing intermediate container 23404391223c [2023-09-12T21:58:38.160Z] ---> 1fcf85ab3d63 [2023-09-12T21:58:38.160Z] Step 25/25 : LABEL version=3.1.0-dev.12 [2023-09-12T21:58:38.160Z] ---> Running in c371bdd118a9 [2023-09-12T21:58:38.160Z] Removing intermediate container c371bdd118a9 [2023-09-12T21:58:38.160Z] ---> 362fedb806f7 [2023-09-12T21:58:38.160Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T21:58:38.160Z] Successfully built 362fedb806f7 [2023-09-12T21:58:38.160Z] 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-09-12T21:58:38.272Z] provisioning config files... [2023-09-12T21:58:38.285Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/138@tmp/config10499828675116215692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:58:38.623Z] ---> docker-login.sh [2023-09-12T21:58:38.623Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:58:38.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:58:38.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:58:38.893Z] Configure a credential helper to remove this warning. See [2023-09-12T21:58:38.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:58:38.893Z] [2023-09-12T21:58:38.893Z] Login Succeeded [2023-09-12T21:58:38.893Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:58:39.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:58:39.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:58:39.160Z] Configure a credential helper to remove this warning. See [2023-09-12T21:58:39.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:58:39.160Z] [2023-09-12T21:58:39.160Z] Login Succeeded [2023-09-12T21:58:39.160Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:58:39.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:58:39.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:58:39.696Z] Configure a credential helper to remove this warning. See [2023-09-12T21:58:39.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:58:39.696Z] [2023-09-12T21:58:39.696Z] Login Succeeded [2023-09-12T21:58:39.696Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:58:39.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:58:39.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:58:39.962Z] Configure a credential helper to remove this warning. See [2023-09-12T21:58:39.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:58:39.962Z] [2023-09-12T21:58:39.962Z] Login Succeeded [2023-09-12T21:58:39.962Z] docker.io [2023-09-12T21:58:40.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:58:40.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:58:40.495Z] Configure a credential helper to remove this warning. See [2023-09-12T21:58:40.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:58:40.495Z] [2023-09-12T21:58:40.495Z] Login Succeeded [2023-09-12T21:58:40.495Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:58:40.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T21:58:40.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:58:40.570Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2023-09-12T21:58:40.570Z] b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [2023-09-12T21:58:40.570Z] latest [2023-09-12T21:58:40.570Z] 3.1.0-dev.12 [2023-09-12T21:58:40.570Z] b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 [2023-09-12T21:58:40.570Z] main [2023-09-12T21:58:40.570Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:40.921Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:41.264Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [2023-09-12T21:58:41.264Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-12T21:58:41.264Z] 87bd0fac7ffd: Preparing [2023-09-12T21:58:41.264Z] ff144387787c: Preparing [2023-09-12T21:58:41.264Z] c45ecca5554e: Preparing [2023-09-12T21:58:41.264Z] 2f3be18e2e5a: Preparing [2023-09-12T21:58:41.264Z] b2191e2be29d: Preparing [2023-09-12T21:58:41.264Z] b2191e2be29d: Layer already exists [2023-09-12T21:58:41.532Z] ff144387787c: Pushed [2023-09-12T21:58:41.532Z] 2f3be18e2e5a: Pushed [2023-09-12T21:58:41.532Z] c45ecca5554e: Pushed [2023-09-12T21:58:46.878Z] 87bd0fac7ffd: Pushed [2023-09-12T21:58:47.145Z] b41150d8f29f1474a4d4d35e5cf0bbe8d5784310: digest: sha256:c4260d72b1c8f79e3b3fcea94fc0b848d12736a16ffd99d46423836e51841e1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:47.501Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:47.847Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-12T21:58:47.847Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-12T21:58:47.847Z] 87bd0fac7ffd: Preparing [2023-09-12T21:58:47.847Z] ff144387787c: Preparing [2023-09-12T21:58:47.847Z] c45ecca5554e: Preparing [2023-09-12T21:58:47.847Z] 2f3be18e2e5a: Preparing [2023-09-12T21:58:47.847Z] b2191e2be29d: Preparing [2023-09-12T21:58:47.847Z] 87bd0fac7ffd: Layer already exists [2023-09-12T21:58:47.847Z] ff144387787c: Layer already exists [2023-09-12T21:58:47.847Z] 2f3be18e2e5a: Layer already exists [2023-09-12T21:58:47.847Z] b2191e2be29d: Layer already exists [2023-09-12T21:58:47.847Z] c45ecca5554e: Layer already exists [2023-09-12T21:58:47.847Z] latest: digest: sha256:c4260d72b1c8f79e3b3fcea94fc0b848d12736a16ffd99d46423836e51841e1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:48.468Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:48.811Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.12 [2023-09-12T21:58:48.811Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-12T21:58:48.811Z] 87bd0fac7ffd: Preparing [2023-09-12T21:58:48.811Z] ff144387787c: Preparing [2023-09-12T21:58:48.811Z] c45ecca5554e: Preparing [2023-09-12T21:58:48.811Z] 2f3be18e2e5a: Preparing [2023-09-12T21:58:48.811Z] b2191e2be29d: Preparing [2023-09-12T21:58:48.811Z] 2f3be18e2e5a: Layer already exists [2023-09-12T21:58:48.811Z] b2191e2be29d: Layer already exists [2023-09-12T21:58:48.811Z] c45ecca5554e: Layer already exists [2023-09-12T21:58:48.811Z] ff144387787c: Layer already exists [2023-09-12T21:58:48.811Z] 87bd0fac7ffd: Layer already exists [2023-09-12T21:58:48.811Z] 3.1.0-dev.12: digest: sha256:c4260d72b1c8f79e3b3fcea94fc0b848d12736a16ffd99d46423836e51841e1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:49.247Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:49.609Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 [2023-09-12T21:58:49.610Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-12T21:58:49.610Z] 87bd0fac7ffd: Preparing [2023-09-12T21:58:49.610Z] ff144387787c: Preparing [2023-09-12T21:58:49.610Z] c45ecca5554e: Preparing [2023-09-12T21:58:49.610Z] 2f3be18e2e5a: Preparing [2023-09-12T21:58:49.610Z] b2191e2be29d: Preparing [2023-09-12T21:58:49.610Z] ff144387787c: Layer already exists [2023-09-12T21:58:49.610Z] b2191e2be29d: Layer already exists [2023-09-12T21:58:49.610Z] 87bd0fac7ffd: Layer already exists [2023-09-12T21:58:49.610Z] 2f3be18e2e5a: Layer already exists [2023-09-12T21:58:49.610Z] c45ecca5554e: Layer already exists [2023-09-12T21:58:49.610Z] b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12: digest: sha256:c4260d72b1c8f79e3b3fcea94fc0b848d12736a16ffd99d46423836e51841e1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:49.970Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:50.332Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2023-09-12T21:58:50.332Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2023-09-12T21:58:50.332Z] 87bd0fac7ffd: Preparing [2023-09-12T21:58:50.332Z] ff144387787c: Preparing [2023-09-12T21:58:50.332Z] c45ecca5554e: Preparing [2023-09-12T21:58:50.332Z] 2f3be18e2e5a: Preparing [2023-09-12T21:58:50.332Z] b2191e2be29d: Preparing [2023-09-12T21:58:50.332Z] b2191e2be29d: Layer already exists [2023-09-12T21:58:50.332Z] 2f3be18e2e5a: Layer already exists [2023-09-12T21:58:50.332Z] 87bd0fac7ffd: Layer already exists [2023-09-12T21:58:50.332Z] ff144387787c: Layer already exists [2023-09-12T21:58:50.332Z] c45ecca5554e: Layer already exists [2023-09-12T21:58:50.332Z] main: digest: sha256:c4260d72b1c8f79e3b3fcea94fc0b848d12736a16ffd99d46423836e51841e1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-12T21:58:50.659Z] ===================================================== [Pipeline] echo [2023-09-12T21:58:50.666Z] taggedImages: [2023-09-12T21:58:50.666Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [2023-09-12T21:58:50.666Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2023-09-12T21:58:50.666Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.12 [2023-09-12T21:58:50.666Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 [2023-09-12T21:58:50.666Z] - 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-09-12T21:58:51.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:58:51.039Z] [2023-09-12T21:58:51.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:58:51.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:58:51.376Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T21:58:51.376Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T21:58:51.376Z] 04944245beec: Pulling fs layer [2023-09-12T21:58:51.376Z] 699f458cf7ca: Pulling fs layer [2023-09-12T21:58:51.376Z] 765212b225bb: Pulling fs layer [2023-09-12T21:58:51.376Z] f23df028b6ca: Pulling fs layer [2023-09-12T21:58:51.376Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T21:58:51.377Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T21:58:51.377Z] 765212b225bb: Waiting [2023-09-12T21:58:51.377Z] f23df028b6ca: Waiting [2023-09-12T21:58:51.377Z] d65c8cfc05b1: Waiting [2023-09-12T21:58:51.377Z] 2437ff75d9bd: Waiting [2023-09-12T21:58:51.647Z] 04944245beec: Verifying Checksum [2023-09-12T21:58:51.647Z] 04944245beec: Download complete [2023-09-12T21:58:51.647Z] 765212b225bb: Verifying Checksum [2023-09-12T21:58:51.647Z] 765212b225bb: Download complete [2023-09-12T21:58:51.647Z] f23df028b6ca: Verifying Checksum [2023-09-12T21:58:51.647Z] f23df028b6ca: Download complete [2023-09-12T21:58:51.647Z] d65c8cfc05b1: Download complete [2023-09-12T21:58:51.914Z] 699f458cf7ca: Verifying Checksum [2023-09-12T21:58:51.914Z] 699f458cf7ca: Download complete [2023-09-12T21:58:52.184Z] 8998bd30e6a1: Download complete [2023-09-12T21:58:54.770Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T21:58:54.770Z] 2437ff75d9bd: Download complete [2023-09-12T21:58:56.181Z] 8998bd30e6a1: Pull complete [2023-09-12T21:58:56.447Z] 04944245beec: Pull complete [2023-09-12T21:58:57.852Z] 699f458cf7ca: Pull complete [2023-09-12T21:58:58.118Z] 765212b225bb: Pull complete [2023-09-12T21:58:58.698Z] f23df028b6ca: Pull complete [2023-09-12T21:58:58.965Z] d65c8cfc05b1: Pull complete [2023-09-12T21:59:13.948Z] 2437ff75d9bd: Pull complete [2023-09-12T21:59:13.948Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T21:59:13.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:59:13.948Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:59:14.145Z] prd-ubuntu20.04-docker-arm64-4c-16g-6014 does not seem to be running inside a container [2023-09-12T21:59:14.234Z] $ 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/138 -v /w/workspace/device-virtual-go/138:/w/workspace/device-virtual-go/138:rw,z -v /w/workspace/device-virtual-go/138@tmp:/w/workspace/device-virtual-go/138@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-09-12T21:59:17.072Z] $ docker top c27eb67fa8dcc73cae6a23ed68d157c5ef7354ccaf310d2160f48eeb69143053 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:59:17.891Z] ---> job-cost.sh [2023-09-12T21:59:17.891Z] lf-activate-venv: SKIPPING [2023-09-12T21:59:17.891Z] INFO: No Stack... [2023-09-12T21:59:18.156Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T21:59:19.115Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T21:59:19.431Z] + cat /w/workspace/device-virtual-go/138/archives/cost.csv [2023-09-12T21:59:19.431Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T21:59:19.505Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] [2023-09-12T21:59:19.512Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] did not exist. Created. [2023-09-12T21:59:19.512Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T21:59:19.855Z] /w/workspace/device-virtual-go/138@tmp/durable-e3689f6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T21:59:20.219Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T21:59:20.242Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T21:59:20.299Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T21:59:20.305Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T21:59:20.348Z] $ docker stop --time=1 c27eb67fa8dcc73cae6a23ed68d157c5ef7354ccaf310d2160f48eeb69143053 [2023-09-12T21:59:21.870Z] $ docker rm -f --volumes c27eb67fa8dcc73cae6a23ed68d157c5ef7354ccaf310d2160f48eeb69143053 [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-09-12T21:59:22.219Z] provisioning config files... [2023-09-12T21:59:22.226Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1348547743895711219tmp [Pipeline] { [Pipeline] sh [2023-09-12T21:59:22.521Z] + set +x [2023-09-12T21:59:22.521Z] + curl -s https://codecov.io/bash [2023-09-12T21:59:22.521Z] + bash -s -- [2023-09-12T21:59:22.521Z] [2023-09-12T21:59:22.521Z] _____ _ [2023-09-12T21:59:22.521Z] / ____| | | [2023-09-12T21:59:22.521Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T21:59:22.521Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T21:59:22.521Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T21:59:22.521Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T21:59:22.521Z] Bash-1.0.6 [2023-09-12T21:59:22.521Z] [2023-09-12T21:59:22.521Z] [2023-09-12T21:59:22.521Z] ==> git version 2.25.1 found [2023-09-12T21:59:22.521Z] ==> 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-09-12T21:59:22.521Z] Release-Date: 2020-01-08 [2023-09-12T21:59:22.521Z] 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-09-12T21:59:22.521Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T21:59:22.521Z] ==> Jenkins CI detected. [2023-09-12T21:59:22.521Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2023-09-12T21:59:22.521Z] project root: . [2023-09-12T21:59:22.521Z] --> token set from env [2023-09-12T21:59:22.521Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T21:59:22.521Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T21:59:22.521Z] ==> Python coveragepy not found [2023-09-12T21:59:22.521Z] ==> Searching for coverage reports in: [2023-09-12T21:59:22.521Z] + . [2023-09-12T21:59:22.521Z] -> Found 1 reports [2023-09-12T21:59:22.521Z] ==> Detecting git/mercurial file structure [2023-09-12T21:59:22.521Z] ==> Reading reports [2023-09-12T21:59:22.521Z] + ./coverage.out bytes=43063 [2023-09-12T21:59:22.521Z] ==> Appending adjustments [2023-09-12T21:59:22.521Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T21:59:22.779Z] + Found adjustments [2023-09-12T21:59:22.779Z] ==> Gzipping contents [2023-09-12T21:59:22.779Z] 8.0K /tmp/codecov.pkzR8p.gz [2023-09-12T21:59:22.779Z] ==> Uploading reports [2023-09-12T21:59:22.779Z] url: https://codecov.io [2023-09-12T21:59:22.779Z] query: branch=main&commit=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T21:59:22.779Z] -> Pinging Codecov [2023-09-12T21:59:22.779Z] 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=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-12T21:59:22.779Z] -> Uploading to [2023-09-12T21:59:22.779Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/5E52B4B073DB2E39498172D8E973AA87/b41150d8f29f1474a4d4d35e5cf0bbe8d5784310/b7e218f5-6321-40b8-be9d-3f80b424332b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T215922Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1bc5fe54bb60c3b59292e29fa476ce84737227a7d684adc0bedb3024b17bcd22 [2023-09-12T21:59:22.779Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T21:59:22.779Z] Dload Upload Total Spent Left Speed [2023-09-12T21:59:23.037Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 26584 --:--:-- --:--:-- --:--:-- 26584 [2023-09-12T21:59:23.038Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] } [2023-09-12T21:59:23.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-12T21:59:23.218Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-12T21:59:23.227Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:23.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T21:59:23.531Z] [2023-09-12T21:59:23.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:23.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T21:59:23.837Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-12T21:59:23.837Z] df9b9388f04a: Pulling fs layer [2023-09-12T21:59:23.837Z] 52dc419b0ee2: Pulling fs layer [2023-09-12T21:59:23.837Z] 25bc292e5bac: Pulling fs layer [2023-09-12T21:59:23.837Z] 114826534d7a: Pulling fs layer [2023-09-12T21:59:23.837Z] 4657fd5d0bcf: Pulling fs layer [2023-09-12T21:59:23.837Z] 6ad1cebc031e: Pulling fs layer [2023-09-12T21:59:23.837Z] 8a3aa393b2d8: Pulling fs layer [2023-09-12T21:59:23.837Z] 114826534d7a: Waiting [2023-09-12T21:59:23.837Z] 4657fd5d0bcf: Waiting [2023-09-12T21:59:23.837Z] 6ad1cebc031e: Waiting [2023-09-12T21:59:23.837Z] 8a3aa393b2d8: Waiting [2023-09-12T21:59:23.837Z] 25bc292e5bac: Verifying Checksum [2023-09-12T21:59:23.837Z] 25bc292e5bac: Download complete [2023-09-12T21:59:23.837Z] 52dc419b0ee2: Verifying Checksum [2023-09-12T21:59:23.837Z] 52dc419b0ee2: Download complete [2023-09-12T21:59:23.837Z] 4657fd5d0bcf: Download complete [2023-09-12T21:59:23.837Z] df9b9388f04a: Verifying Checksum [2023-09-12T21:59:23.837Z] df9b9388f04a: Download complete [2023-09-12T21:59:24.096Z] df9b9388f04a: Pull complete [2023-09-12T21:59:24.096Z] 6ad1cebc031e: Download complete [2023-09-12T21:59:24.096Z] 52dc419b0ee2: Pull complete [2023-09-12T21:59:24.096Z] 25bc292e5bac: Pull complete [2023-09-12T21:59:24.663Z] 114826534d7a: Verifying Checksum [2023-09-12T21:59:24.663Z] 114826534d7a: Download complete [2023-09-12T21:59:24.663Z] 8a3aa393b2d8: Verifying Checksum [2023-09-12T21:59:24.663Z] 8a3aa393b2d8: Download complete [2023-09-12T21:59:27.942Z] 114826534d7a: Pull complete [2023-09-12T21:59:27.942Z] 4657fd5d0bcf: Pull complete [2023-09-12T21:59:27.942Z] 6ad1cebc031e: Pull complete [2023-09-12T21:59:30.469Z] 8a3aa393b2d8: Pull complete [2023-09-12T21:59:30.469Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-12T21:59:30.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-12T21:59:30.469Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:59:30.551Z] prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container [2023-09-12T21:59:30.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-12T21:59:34.874Z] $ docker top 154e4afa5806c1a1c37d5c0edd3771954c1b7dfe60c085894287fb62544a4172 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-12T21:59:34.962Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh [2023-09-12T21:59:35.243Z] + set -o pipefail [2023-09-12T21:59:35.243Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' [2023-09-12T21:59:41.803Z] [2023-09-12T21:59:41.803Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2023-09-12T21:59:41.803Z] [2023-09-12T21:59:41.803Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/e455364f-e709-47f0-b70b-49c98a70d910 [2023-09-12T21:59:41.803Z] [2023-09-12T21:59:41.803Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-12T21:59:41.803Z] [2023-09-12T21:59:41.803Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-12T21:59:41.803Z] [2023-09-12T21:59:41.803Z] [2023-09-12T21:59:41.803Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-12T21:59:41.803Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-12T21:59:41.803Z] More details here: https://snyk.co/ue1NS [2023-09-12T21:59:41.803Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-09-12T21:59:41.803Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-09-12T21:59:41.796Z] $ docker stop --time=1 154e4afa5806c1a1c37d5c0edd3771954c1b7dfe60c085894287fb62544a4172 [2023-09-12T21:59:44.816Z] $ docker rm -f --volumes 154e4afa5806c1a1c37d5c0edd3771954c1b7dfe60c085894287fb62544a4172 [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-09-12T21:59:45.568Z] + git log --format=format:%s -1 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] sh [2023-09-12T21:59:45.856Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T21:59:45.856Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:46.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:59:46.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:59:46.228Z] prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container [2023-09-12T21:59:46.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T21:59:46.650Z] $ docker top a5e703b53e2417a3f63b3b6de2e8e25035313f151635702818453a26c90e3156 -eo pid,comm [2023-09-12T21:59:46.714Z] 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-09-12T21:59:46.714Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T21:59:46.752Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:59:46.752Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:59:46.864Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:59:46.850Z] $ docker exec a5e703b53e2417a3f63b3b6de2e8e25035313f151635702818453a26c90e3156 ssh-agent [2023-09-12T21:59:46.961Z] SSH_AUTH_SOCK=/tmp/ssh-gHvR0HjVAI88/agent.32 [2023-09-12T21:59:46.961Z] SSH_AGENT_PID=38 [2023-09-12T21:59:46.965Z] Running ssh-add (command line suppressed) [2023-09-12T21:59:47.059Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13892457231513070478.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13892457231513070478.key) [2023-09-12T21:59:47.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:59:47.375Z] + git semver tag [2023-09-12T21:59:47.634Z] 2023-09-12 21:59:47,538 [run_tag] DEBUG tag force:False [2023-09-12T21:59:47.634Z] 2023-09-12 21:59:47,538 [check_head_tag] DEBUG check head tag [2023-09-12T21:59:47.635Z] 2023-09-12 21:59:47,539 [execute] INFO git cat-file --batch-check [2023-09-12T21:59:47.635Z] 2023-09-12 21:59:47,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T21:59:47.635Z] 2023-09-12 21:59:47,543 [execute] INFO git cat-file --batch [2023-09-12T21:59:47.635Z] 2023-09-12 21:59:47,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2023-09-12T21:59:47.635Z] 2023-09-12 21:59:47,555 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-12T21:59:47.635Z] 2023-09-12 21:59:47,556 [execute] INFO git tag -a v3.1.0-dev.12 -m v3.1.0-dev.12 [2023-09-12T21:59:47.635Z] 2023-09-12 21:59:47,556 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.12', '-m', 'v3.1.0-dev.12'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-12T21:59:47.635Z] 2023-09-12 21:59:47,560 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-12T21:59:47.635Z] 3.1.0-dev.12 [Pipeline] } [2023-09-12T21:59:47.626Z] $ docker exec --env ******** --env ******** a5e703b53e2417a3f63b3b6de2e8e25035313f151635702818453a26c90e3156 ssh-agent -k [2023-09-12T21:59:47.722Z] unset SSH_AUTH_SOCK; [2023-09-12T21:59:47.722Z] unset SSH_AGENT_PID; [2023-09-12T21:59:47.722Z] echo Agent pid 38 killed; [2023-09-12T21:59:47.748Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T21:59:48.042Z] + git semver [Pipeline] } [2023-09-12T21:59:48.293Z] $ docker stop --time=1 a5e703b53e2417a3f63b3b6de2e8e25035313f151635702818453a26c90e3156 [2023-09-12T21:59:49.556Z] $ docker rm -f --volumes a5e703b53e2417a3f63b3b6de2e8e25035313f151635702818453a26c90e3156 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:49.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T21:59:49.956Z] [2023-09-12T21:59:49.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:50.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T21:59:50.250Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-12T21:59:50.250Z] ab5ef0e58194: Pulling fs layer [2023-09-12T21:59:50.250Z] 9712f1f96733: Pulling fs layer [2023-09-12T21:59:50.250Z] 63f879dbbcfc: Pulling fs layer [2023-09-12T21:59:50.250Z] 0d9ebad4ef96: Pulling fs layer [2023-09-12T21:59:50.250Z] e9a5061849ea: Pulling fs layer [2023-09-12T21:59:50.250Z] d747dcd14b5f: Pulling fs layer [2023-09-12T21:59:50.250Z] 2de7ff778b66: Pulling fs layer [2023-09-12T21:59:50.250Z] 0d9ebad4ef96: Waiting [2023-09-12T21:59:50.250Z] d747dcd14b5f: Waiting [2023-09-12T21:59:50.250Z] 2de7ff778b66: Waiting [2023-09-12T21:59:50.250Z] 9712f1f96733: Verifying Checksum [2023-09-12T21:59:50.250Z] 9712f1f96733: Download complete [2023-09-12T21:59:50.509Z] 63f879dbbcfc: Verifying Checksum [2023-09-12T21:59:50.509Z] 63f879dbbcfc: Download complete [2023-09-12T21:59:50.766Z] e9a5061849ea: Verifying Checksum [2023-09-12T21:59:50.766Z] e9a5061849ea: Download complete [2023-09-12T21:59:50.766Z] 0d9ebad4ef96: Verifying Checksum [2023-09-12T21:59:50.766Z] 0d9ebad4ef96: Download complete [2023-09-12T21:59:50.766Z] d747dcd14b5f: Verifying Checksum [2023-09-12T21:59:50.766Z] d747dcd14b5f: Download complete [2023-09-12T21:59:50.766Z] ab5ef0e58194: Verifying Checksum [2023-09-12T21:59:50.766Z] ab5ef0e58194: Download complete [2023-09-12T21:59:50.766Z] 2de7ff778b66: Verifying Checksum [2023-09-12T21:59:50.766Z] 2de7ff778b66: Download complete [2023-09-12T21:59:53.289Z] ab5ef0e58194: Pull complete [2023-09-12T21:59:53.289Z] 9712f1f96733: Pull complete [2023-09-12T21:59:53.853Z] 63f879dbbcfc: Pull complete [2023-09-12T21:59:57.139Z] 0d9ebad4ef96: Pull complete [2023-09-12T21:59:57.397Z] e9a5061849ea: Pull complete [2023-09-12T21:59:57.397Z] d747dcd14b5f: Pull complete [2023-09-12T21:59:58.330Z] 2de7ff778b66: Pull complete [2023-09-12T21:59:58.330Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-12T21:59:58.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-12T21:59:58.330Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:59:58.408Z] prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container [2023-09-12T21:59:58.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-12T22:00:02.831Z] $ docker top 7b6cd17986cbc81ed8396665aab48511f09e5f5da59261cc9a49576a76b90aca -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:00:02.912Z] provisioning config files... [2023-09-12T22:00:02.919Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7247161683024030911tmp [2023-09-12T22:00:02.928Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7445734462188891697tmp [2023-09-12T22:00:02.935Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11385249344821577294tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:00:02.950Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:03.228Z] ---> sigul-configuration.sh [2023-09-12T22:00:03.228Z] gpg: directory `/root/.gnupg' created [2023-09-12T22:00:03.228Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-12T22:00:03.228Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-12T22:00:03.228Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-12T22:00:03.228Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-12T22:00:03.228Z] gpg: CAST5 encrypted data [2023-09-12T22:00:03.228Z] gpg: encrypted with 1 passphrase [2023-09-12T22:00:03.228Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-12T22:00:03.510Z] + mkdir /home/jenkins [2023-09-12T22:00:03.510Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-12T22:00:03.795Z] + 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-09-12T22:00:03.803Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:04.088Z] ---> sigul-install.sh [2023-09-12T22:00:04.088Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-12T22:00:04.382Z] + git tag --list [2023-09-12T22:00:04.382Z] v1.0.0 [2023-09-12T22:00:04.382Z] v1.1.0 [2023-09-12T22:00:04.382Z] v1.1.1 [2023-09-12T22:00:04.382Z] v1.2.1 [2023-09-12T22:00:04.382Z] v1.2.2 [2023-09-12T22:00:04.382Z] v1.2.3 [2023-09-12T22:00:04.382Z] v1.3.0 [2023-09-12T22:00:04.382Z] v1.3.1 [2023-09-12T22:00:04.382Z] v2.0.0 [2023-09-12T22:00:04.382Z] v2.1.0 [2023-09-12T22:00:04.382Z] v2.1.1 [2023-09-12T22:00:04.382Z] v2.2.0 [2023-09-12T22:00:04.382Z] v2.3.0 [2023-09-12T22:00:04.382Z] v3.0 [2023-09-12T22:00:04.382Z] v3.0.0 [2023-09-12T22:00:04.382Z] v3.1.0-dev.1 [2023-09-12T22:00:04.382Z] v3.1.0-dev.10 [2023-09-12T22:00:04.382Z] v3.1.0-dev.11 [2023-09-12T22:00:04.382Z] v3.1.0-dev.12 [2023-09-12T22:00:04.382Z] v3.1.0-dev.2 [2023-09-12T22:00:04.382Z] v3.1.0-dev.3 [2023-09-12T22:00:04.382Z] v3.1.0-dev.4 [2023-09-12T22:00:04.382Z] v3.1.0-dev.5 [2023-09-12T22:00:04.382Z] v3.1.0-dev.6 [2023-09-12T22:00:04.382Z] v3.1.0-dev.7 [2023-09-12T22:00:04.382Z] v3.1.0-dev.8 [2023-09-12T22:00:04.382Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-12T22:00:04.667Z] + lftools sign git-tag v3.1.0-dev.12 [2023-09-12T22:00:05.234Z] Signing Git tag with Sigul... [2023-09-12T22:00:05.234Z] Signing v3.1.0-dev.12 [Pipeline] echo [2023-09-12T22:00:05.500Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:05.780Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-12T22:00:05.788Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-12T22:00:05.789Z] $ docker stop --time=1 7b6cd17986cbc81ed8396665aab48511f09e5f5da59261cc9a49576a76b90aca [2023-09-12T22:00:07.070Z] $ docker rm -f --volumes 7b6cd17986cbc81ed8396665aab48511f09e5f5da59261cc9a49576a76b90aca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-12T22:00:07.506Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:00:07.506Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:00:07.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:00:07.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:00:07.870Z] prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container [2023-09-12T22:00:07.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T22:00:08.207Z] $ docker top d260b5a11e6920af6f6146996e12265c397ecfb7a6cccdd645e8d733fea0a43c -eo pid,comm [2023-09-12T22:00:08.265Z] 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-09-12T22:00:08.265Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:00:08.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:00:08.372Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:00:08.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:00:08.468Z] $ docker exec d260b5a11e6920af6f6146996e12265c397ecfb7a6cccdd645e8d733fea0a43c ssh-agent [2023-09-12T22:00:08.597Z] SSH_AUTH_SOCK=/tmp/ssh-QjSM3feyLI7C/agent.32 [2023-09-12T22:00:08.598Z] SSH_AGENT_PID=38 [2023-09-12T22:00:08.602Z] Running ssh-add (command line suppressed) [2023-09-12T22:00:08.692Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5168408086942894178.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5168408086942894178.key) [2023-09-12T22:00:08.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:00:09.007Z] + git semver bump pre [2023-09-12T22:00:09.266Z] 2023-09-12 22:00:09,146 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-12T22:00:09.266Z] 2023-09-12 22:00:09,146 [bump_version] DEBUG bumping version:3.1.0-dev.12 on axis:pre with prefix:dev [2023-09-12T22:00:09.266Z] 2023-09-12 22:00:09,146 [bump_version] DEBUG bumped version:3.1.0-dev.13 [2023-09-12T22:00:09.266Z] 2023-09-12 22:00:09,146 [write_version] DEBUG write version:3.1.0-dev.13 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2023-09-12T22:00:09.266Z] 2023-09-12 22:00:09,146 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-12T22:00:09.266Z] 2023-09-12 22:00:09,146 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-12T22:00:09.266Z] 2023-09-12 22:00:09,148 [execute] INFO git cat-file --batch-check [2023-09-12T22:00:09.266Z] 2023-09-12 22:00:09,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:00:09.266Z] 2023-09-12 22:00:09,153 [execute] INFO git cat-file --batch [2023-09-12T22:00:09.266Z] 2023-09-12 22:00:09,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:00:09.266Z] 2023-09-12 22:00:09,157 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-12T22:00:09.266Z] 3.1.0-dev.13 [Pipeline] } [2023-09-12T22:00:09.258Z] $ docker exec --env ******** --env ******** d260b5a11e6920af6f6146996e12265c397ecfb7a6cccdd645e8d733fea0a43c ssh-agent -k [2023-09-12T22:00:09.356Z] unset SSH_AUTH_SOCK; [2023-09-12T22:00:09.356Z] unset SSH_AGENT_PID; [2023-09-12T22:00:09.357Z] echo Agent pid 38 killed; [2023-09-12T22:00:09.380Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:00:09.685Z] + git semver [Pipeline] } [2023-09-12T22:00:10.054Z] $ docker stop --time=1 d260b5a11e6920af6f6146996e12265c397ecfb7a6cccdd645e8d733fea0a43c [2023-09-12T22:00:11.323Z] $ docker rm -f --volumes d260b5a11e6920af6f6146996e12265c397ecfb7a6cccdd645e8d733fea0a43c [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T22:00:11.685Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T22:00:11.685Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:00:11.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T22:00:11.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:00:12.062Z] prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container [2023-09-12T22:00:12.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T22:00:12.385Z] $ docker top f8461f5a7fecd6587a052a0be6fc3ea5f47665f60c1ac68bb76f73164b514ff5 -eo pid,comm [2023-09-12T22:00:12.452Z] 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-09-12T22:00:12.452Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T22:00:12.482Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T22:00:12.482Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T22:00:12.604Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T22:00:12.590Z] $ docker exec f8461f5a7fecd6587a052a0be6fc3ea5f47665f60c1ac68bb76f73164b514ff5 ssh-agent [2023-09-12T22:00:12.713Z] SSH_AUTH_SOCK=/tmp/ssh-t8OhldCzpHfq/agent.32 [2023-09-12T22:00:12.713Z] SSH_AGENT_PID=38 [2023-09-12T22:00:12.717Z] Running ssh-add (command line suppressed) [2023-09-12T22:00:12.797Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16916547012964704284.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16916547012964704284.key) [2023-09-12T22:00:12.826Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T22:00:13.107Z] + git semver push [2023-09-12T22:00:13.365Z] 2023-09-12 22:00:13,270 [run_push] DEBUG push [2023-09-12T22:00:13.365Z] 2023-09-12 22:00:13,271 [execute] INFO git cat-file --batch-check [2023-09-12T22:00:13.365Z] 2023-09-12 22:00:13,271 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T22:00:13.365Z] 2023-09-12 22:00:13,274 [execute] INFO git rev-list 93bc7bde6f1bf74126f28c7ebd3d98dcd7a7b893 -- [2023-09-12T22:00:13.365Z] 2023-09-12 22:00:13,275 [execute] DEBUG Popen(['git', 'rev-list', '93bc7bde6f1bf74126f28c7ebd3d98dcd7a7b893', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:00:13.365Z] 2023-09-12 22:00:13,283 [execute] INFO git fetch -v origin [2023-09-12T22:00:13.365Z] 2023-09-12 22:00:13,283 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-12T22:00:13.931Z] 2023-09-12 22:00:13,738 [run_push] DEBUG no remote changes detected [2023-09-12T22:00:13.931Z] 2023-09-12 22:00:13,738 [execute] INFO git push origin semver [2023-09-12T22:00:13.931Z] 2023-09-12 22:00:13,739 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-12T22:00:14.864Z] 2023-09-12 22:00:14,624 [run_push] DEBUG push all version tags [2023-09-12T22:00:14.864Z] 2023-09-12 22:00:14,625 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-12T22:00:14.864Z] 2023-09-12 22:00:14,625 [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-09-12T22:00:15.431Z] 2023-09-12 22:00:15,376 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2023-09-12T22:00:15.431Z] 3.1.0-dev.13 [Pipeline] } [2023-09-12T22:00:15.423Z] $ docker exec --env ******** --env ******** f8461f5a7fecd6587a052a0be6fc3ea5f47665f60c1ac68bb76f73164b514ff5 ssh-agent -k [2023-09-12T22:00:15.520Z] unset SSH_AUTH_SOCK; [2023-09-12T22:00:15.520Z] unset SSH_AGENT_PID; [2023-09-12T22:00:15.520Z] echo Agent pid 38 killed; [2023-09-12T22:00:15.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T22:00:15.845Z] + git semver [Pipeline] } [2023-09-12T22:00:16.097Z] $ docker stop --time=1 f8461f5a7fecd6587a052a0be6fc3ea5f47665f60c1ac68bb76f73164b514ff5 [2023-09-12T22:00:17.357Z] $ docker rm -f --volumes f8461f5a7fecd6587a052a0be6fc3ea5f47665f60c1ac68bb76f73164b514ff5 [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-09-12T22:00:17.914Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2023-09-12T22:00:17.914Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-12T22:00:17.914Z] total 16 [2023-09-12T22:00:17.914Z] drwxr-xr-x 3 root root 4096 Sep 12 21:50 . [2023-09-12T22:00:17.914Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:00 .. [2023-09-12T22:00:17.914Z] drwxr-xr-x 2 root root 4096 Sep 12 21:50 cost [2023-09-12T22:00:17.914Z] -rw-r--r-- 1 root root 89 Sep 12 21:50 cost.csv [2023-09-12T22:00:17.914Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-12T22:00:17.914Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2023-09-12T22:00:17.914Z] total 16 [2023-09-12T22:00:17.914Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:50 . [2023-09-12T22:00:17.914Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:00 .. [2023-09-12T22:00:17.914Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 21:50 cost [2023-09-12T22:00:17.914Z] -rw-r--r-- 1 jenkins jenkins 89 Sep 12 21:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:18.205Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:19.065Z] ---> package-listing.sh [2023-09-12T22:00:19.065Z] ++ facter osfamily [2023-09-12T22:00:19.065Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T22:00:19.324Z] + OS_FAMILY=debian [2023-09-12T22:00:19.324Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2023-09-12T22:00:19.324Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T22:00:19.324Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T22:00:19.324Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T22:00:19.324Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T22:00:19.324Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-12T22:00:19.324Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T22:00:19.324Z] + case "${OS_FAMILY}" in [2023-09-12T22:00:19.324Z] + dpkg -l [2023-09-12T22:00:19.324Z] + grep '^ii' [2023-09-12T22:00:19.324Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T22:00:19.324Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T22:00:19.324Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T22:00:19.324Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2023-09-12T22:00:19.324Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2023-09-12T22:00:19.324Z] + 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-09-12T22:00:19.421Z] 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-09-12T22:00:19.716Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:00:20.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:00:20.352Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:00:20.423Z] prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container [2023-09-12T22:00:20.432Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T22:00:20.673Z] $ docker top 26d7088cfe8a91945898caf0e89c63e74ab89b76268a606f664409ed7cba6543 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:00:21.016Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T22:00:21.295Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T22:00:21.580Z] + ls /var/log/sa-host [2023-09-12T22:00:21.580Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:00:21.653Z] provisioning config files... [2023-09-12T22:00:21.660Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7791193325818124494tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:00:21.670Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:21.949Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T22:00:21.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:22.273Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T22:00:22.282Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:22.560Z] ---> sudo-logs.sh [2023-09-12T22:00:22.560Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T22:00:22.583Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:22.863Z] ---> job-cost.sh [2023-09-12T22:00:22.863Z] lf-activate-venv: SKIPPING [2023-09-12T22:00:22.863Z] DEBUG: total: 0.2199999988079071 [2023-09-12T22:00:22.863Z] INFO: Retrieving Stack Cost... [2023-09-12T22:00:23.122Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:00:23.690Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T22:00:23.702Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:23.986Z] ---> logs-deploy.sh [2023-09-12T22:00:23.986Z] lf-activate-venv: SKIPPING [2023-09-12T22:00:23.986Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/138 [2023-09-12T22:00:23.986Z] INFO: archiving workspace using pattern(s): [2023-09-12T22:00:24.931Z] Archives upload complete. [2023-09-12T22:00:24.931Z] INFO: archiving logs to Nexus